@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,236 @@
|
|
|
1
|
+
import { jsx as s, jsxs as n, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
+
import { a as C, D as T, b as M, d as D, e as S, G as F, f as L, t as R, L as j, g as z } from "./embedded-DS7udW2I.js";
|
|
3
|
+
import { useState as g, useCallback as P, useEffect as U } from "react";
|
|
4
|
+
function u({
|
|
5
|
+
title: r,
|
|
6
|
+
items: d
|
|
7
|
+
}) {
|
|
8
|
+
return d.length ? /* @__PURE__ */ n("section", { className: "space-y-2", children: [
|
|
9
|
+
/* @__PURE__ */ s("h3", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: r }),
|
|
10
|
+
/* @__PURE__ */ s("div", { className: "divide-y divide-border rounded-xl border border-border bg-muted/20 px-3", children: d.map((l, m) => /* @__PURE__ */ n("div", { className: "flex items-center gap-3 py-2.5 text-sm", children: [
|
|
11
|
+
/* @__PURE__ */ n("div", { className: "min-w-0 flex-1", children: [
|
|
12
|
+
/* @__PURE__ */ s("div", { className: "truncate font-medium", children: l.name }),
|
|
13
|
+
l.detail ? /* @__PURE__ */ s("div", { className: "truncate text-xs text-muted-foreground", children: l.detail }) : null
|
|
14
|
+
] }),
|
|
15
|
+
/* @__PURE__ */ s("span", { className: "shrink-0 font-mono text-xs tabular-nums text-muted-foreground", children: c(l.tokens) })
|
|
16
|
+
] }, `${l.name}-${m}`)) })
|
|
17
|
+
] }) : null;
|
|
18
|
+
}
|
|
19
|
+
function c(r) {
|
|
20
|
+
return r == null || !Number.isFinite(r) ? "—" : r < 1e3 ? Math.round(r).toLocaleString() : r < 1e6 ? `${(r / 1e3).toFixed(r < 1e4 ? 1 : 0)}k` : `${(r / 1e6).toFixed(r < 1e7 ? 1 : 0)}m`;
|
|
21
|
+
}
|
|
22
|
+
function G({
|
|
23
|
+
session: r,
|
|
24
|
+
open: d,
|
|
25
|
+
onOpenChange: l
|
|
26
|
+
}) {
|
|
27
|
+
var k;
|
|
28
|
+
const m = r.sessionId, [e, v] = g(null), [x, p] = g(!1), [b, N] = g(null), h = P(async () => {
|
|
29
|
+
if (m) {
|
|
30
|
+
p(!0), N(null);
|
|
31
|
+
try {
|
|
32
|
+
v(await C(`/api/sessions/${m}/token-usage`));
|
|
33
|
+
} catch (t) {
|
|
34
|
+
N(t instanceof Error ? t.message : "Couldn’t load token usage");
|
|
35
|
+
} finally {
|
|
36
|
+
p(!1);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}, [m]);
|
|
40
|
+
U(() => {
|
|
41
|
+
!d || e || x || h();
|
|
42
|
+
}, [h, x, d, e]);
|
|
43
|
+
const y = (e == null ? void 0 : e.categories.reduce((t, o) => t + o.tokens, 0)) ?? 0, w = Math.max(y, (e == null ? void 0 : e.context.used) ?? 0, 1), f = (e == null ? void 0 : e.context.percent) ?? ((e == null ? void 0 : e.context.used) != null && e.context.max ? e.context.used / e.context.max * 100 : null), a = e == null ? void 0 : e.details, i = a == null ? void 0 : a.messageBreakdown;
|
|
44
|
+
return /* @__PURE__ */ s(
|
|
45
|
+
T,
|
|
46
|
+
{
|
|
47
|
+
open: d,
|
|
48
|
+
onOpenChange: (t) => {
|
|
49
|
+
l(t), t && e && h();
|
|
50
|
+
},
|
|
51
|
+
children: /* @__PURE__ */ n(
|
|
52
|
+
M,
|
|
53
|
+
{
|
|
54
|
+
className: "max-h-[88dvh] overflow-hidden sm:max-w-xl",
|
|
55
|
+
innerClassName: "flex max-h-[88dvh] flex-col gap-0 p-0",
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ n(D, { className: "border-b border-border px-5 pb-4 pt-5 text-left", children: [
|
|
58
|
+
/* @__PURE__ */ n(S, { className: "flex items-center gap-2", children: [
|
|
59
|
+
/* @__PURE__ */ s(F, { className: "size-5" }),
|
|
60
|
+
"Session token usage"
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ n(L, { children: [
|
|
63
|
+
"Current context and cumulative model traffic for ",
|
|
64
|
+
R(r),
|
|
65
|
+
"."
|
|
66
|
+
] })
|
|
67
|
+
] }),
|
|
68
|
+
/* @__PURE__ */ s("div", { className: "min-h-0 flex-1 space-y-5 overflow-y-auto px-5 pb-6", children: x && !e ? /* @__PURE__ */ n("div", { className: "flex items-center justify-center gap-2 py-16 text-sm text-muted-foreground", children: [
|
|
69
|
+
/* @__PURE__ */ s(j, { className: "size-4 animate-spin" }),
|
|
70
|
+
"Reading session usage…"
|
|
71
|
+
] }) : b && !e ? /* @__PURE__ */ s("div", { className: "rounded-xl border border-destructive/30 bg-destructive/5 p-4 text-sm text-destructive", children: b }) : e && !e.available ? /* @__PURE__ */ n("div", { className: "rounded-2xl border border-border bg-muted/30 p-5", children: [
|
|
72
|
+
/* @__PURE__ */ s("div", { className: "font-medium", children: "Token data isn’t available for this agent yet" }),
|
|
73
|
+
/* @__PURE__ */ s("p", { className: "mt-1 text-sm text-muted-foreground", children: e.note })
|
|
74
|
+
] }) : e ? /* @__PURE__ */ n($, { children: [
|
|
75
|
+
/* @__PURE__ */ n("section", { className: "space-y-3 pt-1", children: [
|
|
76
|
+
/* @__PURE__ */ n("div", { className: "flex items-end justify-between gap-4", children: [
|
|
77
|
+
/* @__PURE__ */ n("div", { children: [
|
|
78
|
+
/* @__PURE__ */ s("div", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: "Current context" }),
|
|
79
|
+
/* @__PURE__ */ n("div", { className: "mt-1 text-3xl font-semibold tracking-tight tabular-nums", children: [
|
|
80
|
+
c(e.context.used),
|
|
81
|
+
e.context.max != null ? /* @__PURE__ */ n("span", { className: "ml-1 text-base font-normal text-muted-foreground", children: [
|
|
82
|
+
"/ ",
|
|
83
|
+
c(e.context.max)
|
|
84
|
+
] }) : null
|
|
85
|
+
] })
|
|
86
|
+
] }),
|
|
87
|
+
f != null ? /* @__PURE__ */ n("div", { className: "text-right", children: [
|
|
88
|
+
/* @__PURE__ */ n("div", { className: "text-xl font-semibold tabular-nums", children: [
|
|
89
|
+
Math.round(f),
|
|
90
|
+
"%"
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ n("div", { className: "text-xs text-muted-foreground", children: [
|
|
93
|
+
c(e.context.free),
|
|
94
|
+
" free"
|
|
95
|
+
] })
|
|
96
|
+
] }) : null
|
|
97
|
+
] }),
|
|
98
|
+
e.context.max != null && e.context.used != null ? /* @__PURE__ */ s("div", { className: "h-2 overflow-hidden rounded-full bg-muted", "aria-hidden": "true", children: /* @__PURE__ */ s(
|
|
99
|
+
"div",
|
|
100
|
+
{
|
|
101
|
+
className: "h-full rounded-full bg-foreground transition-[width]",
|
|
102
|
+
style: { width: `${Math.min(100, Math.max(0, f ?? 0))}%` }
|
|
103
|
+
}
|
|
104
|
+
) }) : null
|
|
105
|
+
] }),
|
|
106
|
+
e.categories.length ? /* @__PURE__ */ n("section", { className: "space-y-3", children: [
|
|
107
|
+
/* @__PURE__ */ s("div", { className: "flex h-3 overflow-hidden rounded-full bg-muted", "aria-hidden": "true", children: e.categories.map((t, o) => /* @__PURE__ */ s(
|
|
108
|
+
"span",
|
|
109
|
+
{
|
|
110
|
+
style: {
|
|
111
|
+
width: `${t.tokens / w * 100}%`,
|
|
112
|
+
backgroundColor: t.color || `hsl(${o * 47 % 360} 70% 60%)`
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
`${t.name}-${o}`
|
|
116
|
+
)) }),
|
|
117
|
+
/* @__PURE__ */ s("div", { className: "grid gap-1 sm:grid-cols-2", children: e.categories.map((t, o) => /* @__PURE__ */ n(
|
|
118
|
+
"div",
|
|
119
|
+
{
|
|
120
|
+
className: "flex min-w-0 items-center gap-2 rounded-lg px-2 py-1.5 text-sm",
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ s(
|
|
123
|
+
"span",
|
|
124
|
+
{
|
|
125
|
+
className: "size-2.5 shrink-0 rounded-sm",
|
|
126
|
+
style: {
|
|
127
|
+
backgroundColor: t.color || `hsl(${o * 47 % 360} 70% 60%)`
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
),
|
|
131
|
+
/* @__PURE__ */ s("span", { className: "min-w-0 flex-1 truncate", children: t.name }),
|
|
132
|
+
/* @__PURE__ */ n("span", { className: "shrink-0 font-mono text-xs tabular-nums text-muted-foreground", children: [
|
|
133
|
+
c(t.tokens),
|
|
134
|
+
t.accuracy === "estimated" ? " ~" : ""
|
|
135
|
+
] })
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
`${t.name}-${o}`
|
|
139
|
+
)) })
|
|
140
|
+
] }) : null,
|
|
141
|
+
e.totals ? /* @__PURE__ */ n("section", { className: "space-y-2", children: [
|
|
142
|
+
/* @__PURE__ */ s("h3", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Session totals" }),
|
|
143
|
+
/* @__PURE__ */ s("div", { className: "grid grid-cols-2 gap-2 sm:grid-cols-3", children: [
|
|
144
|
+
["Input", e.totals.input],
|
|
145
|
+
["Output", e.totals.output],
|
|
146
|
+
["Cache read", e.totals.cacheRead],
|
|
147
|
+
["Cache write", e.totals.cacheWrite],
|
|
148
|
+
["Reasoning", e.totals.reasoning],
|
|
149
|
+
["All traffic", e.totals.total]
|
|
150
|
+
].map(([t, o]) => /* @__PURE__ */ n("div", { className: "rounded-xl border border-border bg-muted/25 p-3", children: [
|
|
151
|
+
/* @__PURE__ */ s("div", { className: "text-xs text-muted-foreground", children: t }),
|
|
152
|
+
/* @__PURE__ */ s("div", { className: "mt-1 font-mono text-base font-semibold tabular-nums", children: c(o) })
|
|
153
|
+
] }, String(t))) })
|
|
154
|
+
] }) : null,
|
|
155
|
+
/* @__PURE__ */ s(
|
|
156
|
+
u,
|
|
157
|
+
{
|
|
158
|
+
title: "Skills",
|
|
159
|
+
items: (((k = a == null ? void 0 : a.skills) == null ? void 0 : k.items) ?? []).map((t) => ({
|
|
160
|
+
name: t.name,
|
|
161
|
+
detail: t.source,
|
|
162
|
+
tokens: t.tokens
|
|
163
|
+
}))
|
|
164
|
+
}
|
|
165
|
+
),
|
|
166
|
+
/* @__PURE__ */ s(
|
|
167
|
+
u,
|
|
168
|
+
{
|
|
169
|
+
title: "System prompt",
|
|
170
|
+
items: ((a == null ? void 0 : a.systemPromptSections) ?? []).map((t) => ({
|
|
171
|
+
name: t.name,
|
|
172
|
+
tokens: t.tokens
|
|
173
|
+
}))
|
|
174
|
+
}
|
|
175
|
+
),
|
|
176
|
+
/* @__PURE__ */ s(
|
|
177
|
+
u,
|
|
178
|
+
{
|
|
179
|
+
title: "MCP tools",
|
|
180
|
+
items: ((a == null ? void 0 : a.mcpTools) ?? []).map((t) => ({
|
|
181
|
+
name: t.name,
|
|
182
|
+
detail: `${t.serverName}${t.isLoaded === !1 ? " · deferred" : ""}`,
|
|
183
|
+
tokens: t.tokens
|
|
184
|
+
}))
|
|
185
|
+
}
|
|
186
|
+
),
|
|
187
|
+
/* @__PURE__ */ s(
|
|
188
|
+
u,
|
|
189
|
+
{
|
|
190
|
+
title: "Memory files",
|
|
191
|
+
items: ((a == null ? void 0 : a.memoryFiles) ?? []).map((t) => ({
|
|
192
|
+
name: t.path,
|
|
193
|
+
detail: t.type,
|
|
194
|
+
tokens: t.tokens
|
|
195
|
+
}))
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
i ? /* @__PURE__ */ s(
|
|
199
|
+
u,
|
|
200
|
+
{
|
|
201
|
+
title: "Messages",
|
|
202
|
+
items: [
|
|
203
|
+
{ name: "User messages", tokens: i.userMessageTokens },
|
|
204
|
+
{ name: "Assistant messages", tokens: i.assistantMessageTokens },
|
|
205
|
+
{ name: "Tool calls", tokens: i.toolCallTokens },
|
|
206
|
+
{ name: "Tool results", tokens: i.toolResultTokens },
|
|
207
|
+
{ name: "Attachments", tokens: i.attachmentTokens }
|
|
208
|
+
].filter((t) => t.tokens > 0)
|
|
209
|
+
}
|
|
210
|
+
) : null,
|
|
211
|
+
/* @__PURE__ */ n("div", { className: "rounded-xl bg-muted/40 p-3 text-xs leading-relaxed text-muted-foreground", children: [
|
|
212
|
+
/* @__PURE__ */ n("div", { className: "mb-1 flex items-center gap-2 font-medium text-foreground", children: [
|
|
213
|
+
/* @__PURE__ */ s(
|
|
214
|
+
"span",
|
|
215
|
+
{
|
|
216
|
+
className: z(
|
|
217
|
+
"size-2 rounded-full",
|
|
218
|
+
e.accuracy === "reported" ? "bg-emerald-500" : "bg-amber-500"
|
|
219
|
+
)
|
|
220
|
+
}
|
|
221
|
+
),
|
|
222
|
+
e.accuracy === "reported" ? "Provider-reported breakdown" : "Reported totals · estimated categories"
|
|
223
|
+
] }),
|
|
224
|
+
e.note,
|
|
225
|
+
e.model ? ` Model: ${e.model}.` : ""
|
|
226
|
+
] })
|
|
227
|
+
] }) : null })
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
}
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
export {
|
|
235
|
+
G as default
|
|
236
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import a from "./hlsl-Bk8TCZNL.js";
|
|
2
|
+
const e = Object.freeze(JSON.parse('{"displayName":"ShaderLab","name":"shaderlab","patterns":[{"begin":"//","end":"$","name":"comment.line.double-slash.shaderlab"},{"match":"\\\\b(?i:Range|Float|Int|Color|Vector|2D|3D|Cube|Any)\\\\b","name":"support.type.basic.shaderlab"},{"include":"#numbers"},{"match":"\\\\b(?i:Shader|Properties|SubShader|Pass|Category)\\\\b","name":"storage.type.structure.shaderlab"},{"match":"\\\\b(?i:Name|Tags|Fallback|CustomEditor|Cull|ZWrite|ZTest|Offset|Blend|BlendOp|ColorMask|AlphaToMask|LOD|Lighting|Stencil|Ref|ReadMask|WriteMask|Comp|CompBack|CompFront|Fail|ZFail|UsePass|GrabPass|Dependency|Material|Diffuse|Ambient|Shininess|Specular|Emission|Fog|Mode|Density|SeparateSpecular|SetTexture|Combine|ConstantColor|Matrix|AlphaTest|ColorMaterial|BindChannels|Bind)\\\\b","name":"support.type.propertyname.shaderlab"},{"match":"\\\\b(?i:Back|Front|On|Off|[ABGR]{1,3}|AmbientAndDiffuse|Emission)\\\\b","name":"support.constant.property-value.shaderlab"},{"match":"\\\\b(?i:Less|Greater|LEqual|GEqual|Equal|NotEqual|Always|Never)\\\\b","name":"support.constant.property-value.comparisonfunction.shaderlab"},{"match":"\\\\b(?i:Keep|Zero|Replace|IncrSat|DecrSat|Invert|IncrWrap|DecrWrap)\\\\b","name":"support.constant.property-value.stenciloperation.shaderlab"},{"match":"\\\\b(?i:Previous|Primary|Texture|Constant|Lerp|Double|Quad|Alpha)\\\\b","name":"support.constant.property-value.texturecombiners.shaderlab"},{"match":"\\\\b(?i:Global|Linear|Exp2?)\\\\b","name":"support.constant.property-value.fog.shaderlab"},{"match":"\\\\b(?i:Vertex|Normal|Tangent|TexCoord0|TexCoord1)\\\\b","name":"support.constant.property-value.bindchannels.shaderlab"},{"match":"\\\\b(?i:Add|Sub|RevSub|Min|Max|LogicalClear|LogicalSet|LogicalCopyInverted|LogicalCopy|LogicalNoop|LogicalInvert|LogicalAnd|LogicalNand|LogicalOr|LogicalNor|LogicalXor|LogicalEquiv|LogicalAndReverse|LogicalAndInverted|LogicalOrReverse|LogicalOrInverted)\\\\b","name":"support.constant.property-value.blendoperations.shaderlab"},{"match":"\\\\b(?i:One|Zero|SrcColor|SrcAlpha|DstColor|DstAlpha|OneMinusSrcColor|OneMinusSrcAlpha|OneMinusDstColor|OneMinusDstAlpha)\\\\b","name":"support.constant.property-value.blendfactors.shaderlab"},{"match":"\\\\[([A-Z_a-z][0-9A-Z_a-z]*)](?!\\\\s*[A-Z_a-z][0-9A-Z_a-z]*\\\\s*\\\\(\\")","name":"support.variable.reference.shaderlab"},{"begin":"(\\\\[)","end":"(])","name":"meta.attribute.shaderlab","patterns":[{"match":"\\\\G([A-Za-z]+)\\\\b","name":"support.type.attributename.shaderlab"},{"include":"#numbers"}]},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(","name":"support.variable.declaration.shaderlab"},{"begin":"\\\\b(CG(?:PROGRAM|INCLUDE))\\\\b","beginCaptures":{"1":{"name":"keyword.other"}},"end":"\\\\b(ENDCG)\\\\b","endCaptures":{"1":{"name":"keyword.other"}},"name":"meta.cgblock","patterns":[{"include":"#hlsl-embedded"}]},{"begin":"\\\\b(HLSL(?:PROGRAM|INCLUDE))\\\\b","beginCaptures":{"1":{"name":"keyword.other"}},"end":"\\\\b(ENDHLSL)\\\\b","endCaptures":{"1":{"name":"keyword.other"}},"name":"meta.hlslblock","patterns":[{"include":"#hlsl-embedded"}]},{"begin":"\\"","end":"\\"","name":"string.quoted.double.shaderlab"}],"repository":{"hlsl-embedded":{"patterns":[{"include":"source.hlsl"},{"match":"\\\\b(fixed([1-4](x[1-4])?)?)\\\\b","name":"storage.type.basic.shaderlab"},{"match":"\\\\b(UNITY_MATRIX_MVP?|UNITY_MATRIX_M|UNITY_MATRIX_V|UNITY_MATRIX_P|UNITY_MATRIX_VP|UNITY_MATRIX_T_MV|UNITY_MATRIX_I_V|UNITY_MATRIX_IT_MV|_Object2World|_World2Object|unity_ObjectToWorld|unity_WorldToObject)\\\\b","name":"support.variable.transformations.shaderlab"},{"match":"\\\\b(_WorldSpaceCameraPos|_ProjectionParams|_ScreenParams|_ZBufferParams|unity_OrthoParams|unity_CameraProjection|unity_CameraInvProjection|unity_CameraWorldClipPlanes)\\\\b","name":"support.variable.camera.shaderlab"},{"match":"\\\\b((?:_|_Sin|_Cos|unity_Delta)Time)\\\\b","name":"support.variable.time.shaderlab"},{"match":"\\\\b(_LightColor0|_WorldSpaceLightPos0|_LightMatrix0|unity_4LightPosX0|unity_4LightPosY0|unity_4LightPosZ0|unity_4LightAtten0|unity_LightColor|_LightColor|unity_LightPosition|unity_LightAtten|unity_SpotDirection)\\\\b","name":"support.variable.lighting.shaderlab"},{"match":"\\\\b(unity_AmbientSky|unity_AmbientEquator|unity_AmbientGround|UNITY_LIGHTMODEL_AMBIENT|unity_FogColor|unity_FogParams)\\\\b","name":"support.variable.fog.shaderlab"},{"match":"\\\\b(unity_LODFade)\\\\b","name":"support.variable.various.shaderlab"},{"match":"\\\\b(SHADER_API_(?:D3D9|D3D11|GLCORE|OPENGL|GLES3??|METAL|D3D11_9X|PSSL|XBOXONE|PSP2|WIIU|MOBILE|GLSL))\\\\b","name":"support.variable.preprocessor.targetplatform.shaderlab"},{"match":"\\\\b(SHADER_TARGET)\\\\b","name":"support.variable.preprocessor.targetmodel.shaderlab"},{"match":"\\\\b(UNITY_VERSION)\\\\b","name":"support.variable.preprocessor.unityversion.shaderlab"},{"match":"\\\\b(UNITY_(?:BRANCH|FLATTEN|NO_SCREENSPACE_SHADOWS|NO_LINEAR_COLORSPACE|NO_RGBM|NO_DXT5nm|FRAMEBUFFER_FETCH_AVAILABLE|USE_RGBA_FOR_POINT_SHADOWS|ATTEN_CHANNEL|HALF_TEXEL_OFFSET|UV_STARTS_AT_TOP|MIGHT_NOT_HAVE_DEPTH_Texture|NEAR_CLIP_VALUE|VPOS_TYPE|CAN_COMPILE_TESSELLATION|COMPILER_HLSL|COMPILER_HLSL2GLSL|COMPILER_CG|REVERSED_Z))\\\\b","name":"support.variable.preprocessor.platformdifference.shaderlab"},{"match":"\\\\b(UNITY_PASS_(?:FORWARDBASE|FORWARDADD|DEFERRED|SHADOWCASTER|PREPASSBASE|PREPASSFINAL))\\\\b","name":"support.variable.preprocessor.texture2D.shaderlab"},{"match":"\\\\b(appdata_(?:base|tan|full|img))\\\\b","name":"support.class.structures.shaderlab"},{"match":"\\\\b(SurfaceOutputStandardSpecular|SurfaceOutputStandard|SurfaceOutput|Input)\\\\b","name":"support.class.surface.shaderlab"}]},"numbers":{"patterns":[{"match":"\\\\b([0-9]+\\\\.?[0-9]*)\\\\b","name":"constant.numeric.shaderlab"}]}},"scopeName":"source.shaderlab","embeddedLangs":["hlsl"],"aliases":["shader"]}')), t = [
|
|
3
|
+
...a,
|
|
4
|
+
e
|
|
5
|
+
];
|
|
6
|
+
export {
|
|
7
|
+
t as default
|
|
8
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const d = `input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="color"]),
|
|
2
|
+
textarea,
|
|
3
|
+
[contenteditable]:not([contenteditable="false"]) {
|
|
4
|
+
font-size: 16px !important;
|
|
5
|
+
}`, c = "data-omg-touch-text-size";
|
|
6
|
+
function l() {
|
|
7
|
+
var t;
|
|
8
|
+
return typeof window < "u" && ((t = window.matchMedia) == null ? void 0 : t.call(window, "(pointer: coarse)").matches) === !0;
|
|
9
|
+
}
|
|
10
|
+
function f(t) {
|
|
11
|
+
if (t.querySelector(`style[${c}]`)) return;
|
|
12
|
+
const e = document.createElement("style");
|
|
13
|
+
e.setAttribute(c, ""), e.textContent = d, t.appendChild(e);
|
|
14
|
+
}
|
|
15
|
+
function a(t, e, n = 0) {
|
|
16
|
+
if (!(n > 4))
|
|
17
|
+
for (const r of t.querySelectorAll("*")) {
|
|
18
|
+
const o = r.shadowRoot;
|
|
19
|
+
o && (f(o), e(o), a(o, e, n + 1));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function p(t) {
|
|
23
|
+
if (!t || !l()) return () => {
|
|
24
|
+
};
|
|
25
|
+
let e = 0;
|
|
26
|
+
const n = new MutationObserver(() => u()), r = /* @__PURE__ */ new WeakSet(), o = (s) => {
|
|
27
|
+
r.has(s) || (r.add(s), n.observe(s, { childList: !0, subtree: !0 }));
|
|
28
|
+
}, i = () => {
|
|
29
|
+
e = 0, a(t, o);
|
|
30
|
+
}, u = () => {
|
|
31
|
+
e || (e = requestAnimationFrame(i));
|
|
32
|
+
};
|
|
33
|
+
return i(), n.observe(t, { childList: !0, subtree: !0 }), () => {
|
|
34
|
+
n.disconnect(), e && cancelAnimationFrame(e);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
p
|
|
39
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"')}])([^\\\\t\\\\n\\\\r \\"\\\\&');->\`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|('))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;\`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\['\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`)), n = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
n as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import s from "./shellscript-InADTalH.js";
|
|
2
|
+
const e = Object.freeze(JSON.parse('{"displayName":"Shell Session","fileTypes":["sh-session"],"name":"shellsession","patterns":[{"captures":{"1":{"name":"entity.other.prompt-prefix.shell-session"},"2":{"name":"punctuation.separator.prompt.shell-session"},"3":{"name":"source.shell","patterns":[{"include":"source.shell"}]}},"match":"^(?:((?:\\\\(\\\\S+\\\\)\\\\s*)?(?:sh\\\\S*?|\\\\w+\\\\S+[:@]\\\\S+(?:\\\\s+\\\\S+)?|\\\\[\\\\S+?[:@]\\\\N+?].*?))\\\\s*)?([#$%>❯➜\\\\p{Greek}])\\\\s+(.*)$"},{"match":"^.+$","name":"meta.output.shell-session"}],"scopeName":"text.shell-session","embeddedLangs":["shellscript"],"aliases":["console"]}')), t = [
|
|
3
|
+
...s,
|
|
4
|
+
e
|
|
5
|
+
];
|
|
6
|
+
export {
|
|
7
|
+
t as default
|
|
8
|
+
};
|