@qwik.dev/devtools 0.1.1 → 0.2.0

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.
Files changed (822) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -2
  3. package/dist/plugin/index.d.ts +7 -0
  4. package/dist/plugin/index.js +8659 -0
  5. package/dist/ui/_virtual/index.qwik.cjs +6 -0
  6. package/dist/ui/_virtual/index.qwik.mjs +7 -0
  7. package/dist/ui/components/DevtoolsButton/DevtoolsButton.qwik.cjs +87 -4
  8. package/dist/ui/components/DevtoolsButton/DevtoolsButton.qwik.mjs +88 -5
  9. package/dist/ui/components/DevtoolsPanel/DevtoolsPanel.qwik.cjs +7 -6
  10. package/dist/ui/components/DevtoolsPanel/DevtoolsPanel.qwik.mjs +8 -7
  11. package/dist/ui/components/Tab/Tab.qwik.cjs +2 -2
  12. package/dist/ui/components/Tab/Tab.qwik.mjs +2 -2
  13. package/dist/ui/components/TabContent/TabContent.qwik.cjs +2 -2
  14. package/dist/ui/components/TabContent/TabContent.qwik.mjs +2 -2
  15. package/dist/ui/components/ThemeToggle/ThemeToggle.qwik.cjs +64 -0
  16. package/dist/ui/components/ThemeToggle/ThemeToggle.qwik.mjs +64 -0
  17. package/dist/ui/components/ThemeToggle/themToggle.css.qwik.cjs +3 -0
  18. package/dist/ui/components/ThemeToggle/themToggle.css.qwik.mjs +4 -0
  19. package/dist/ui/components/ThemeToggle/theme-script.qwik.cjs +17 -0
  20. package/dist/ui/components/ThemeToggle/theme-script.qwik.mjs +17 -0
  21. package/dist/ui/components/Tree/Tree.qwik.cjs +126 -0
  22. package/dist/ui/components/Tree/Tree.qwik.mjs +126 -0
  23. package/dist/ui/components/Tree/filterVnode.qwik.cjs +66 -0
  24. package/dist/ui/components/Tree/filterVnode.qwik.mjs +66 -0
  25. package/dist/ui/components/Tree/type.qwik.cjs +4 -0
  26. package/dist/ui/components/Tree/type.qwik.mjs +4 -0
  27. package/dist/ui/components/Tree/vnode.qwik.cjs +24 -0
  28. package/dist/ui/components/Tree/vnode.qwik.mjs +24 -0
  29. package/dist/ui/components/router-head/theme-script.qwik.cjs +4 -0
  30. package/dist/ui/components/router-head/theme-script.qwik.mjs +4 -0
  31. package/dist/ui/devtools.qwik.cjs +159 -109
  32. package/dist/ui/devtools.qwik.mjs +161 -111
  33. package/dist/ui/features/Assets/Assets.qwik.cjs +4 -4
  34. package/dist/ui/features/Assets/Assets.qwik.mjs +4 -4
  35. package/dist/ui/features/Overview/Overview.qwik.cjs +46 -24
  36. package/dist/ui/features/Overview/Overview.qwik.mjs +47 -25
  37. package/dist/ui/features/Packages/Packages.qwik.cjs +5 -5
  38. package/dist/ui/features/Packages/Packages.qwik.mjs +5 -5
  39. package/dist/ui/features/Packages/components/InstallButton/InstallButton.qwik.cjs +2 -2
  40. package/dist/ui/features/Packages/components/InstallButton/InstallButton.qwik.mjs +2 -2
  41. package/dist/ui/features/RenderTree/RenderTree.qwik.cjs +332 -0
  42. package/dist/ui/features/RenderTree/RenderTree.qwik.mjs +332 -0
  43. package/dist/ui/features/RenderTree/data.qwik.cjs +28 -0
  44. package/dist/ui/features/RenderTree/data.qwik.mjs +28 -0
  45. package/dist/ui/features/RenderTree/formatTreeData.qwik.cjs +247 -0
  46. package/dist/ui/features/RenderTree/formatTreeData.qwik.mjs +247 -0
  47. package/dist/ui/features/RenderTree/transfromqseq.qwik.cjs +91 -0
  48. package/dist/ui/features/RenderTree/transfromqseq.qwik.mjs +91 -0
  49. package/dist/ui/features/Routes/Routes.qwik.cjs +8 -10
  50. package/dist/ui/features/Routes/Routes.qwik.mjs +8 -10
  51. package/dist/ui/features/inspect/Inspect.qwik.cjs +17 -0
  52. package/dist/ui/features/inspect/Inspect.qwik.mjs +17 -0
  53. package/dist/ui/features/inspect/constant.qwik.cjs +4 -0
  54. package/dist/ui/features/inspect/constant.qwik.mjs +4 -0
  55. package/dist/ui/global.css.qwik.cjs +1255 -1
  56. package/dist/ui/global.css.qwik.mjs +1255 -1
  57. package/dist/ui/lib-types/kit/src/constants.d.ts +15 -0
  58. package/dist/ui/lib-types/kit/src/index.d.ts +1 -0
  59. package/dist/ui/lib-types/kit/src/types.d.ts +22 -0
  60. package/dist/ui/lib-types/ui/src/components/DevtoolsButton/DevtoolsButton.d.ts +1 -1
  61. package/dist/ui/lib-types/ui/src/components/DevtoolsPanel/DevtoolsPanel.d.ts +1 -1
  62. package/dist/ui/lib-types/ui/src/components/Tab/Tab.d.ts +1 -1
  63. package/dist/ui/lib-types/ui/src/components/ThemeToggle/ThemeToggle.d.ts +5 -0
  64. package/dist/ui/lib-types/ui/src/components/ThemeToggle/theme-script.d.ts +1 -0
  65. package/dist/ui/lib-types/ui/src/components/Tree/Tree.d.ts +22 -0
  66. package/dist/ui/lib-types/ui/src/components/Tree/constant.d.ts +1 -0
  67. package/dist/ui/lib-types/ui/src/components/Tree/filterVnode.d.ts +3 -0
  68. package/dist/ui/lib-types/ui/src/components/Tree/type.d.ts +3 -0
  69. package/dist/ui/lib-types/ui/src/components/Tree/vnode.d.ts +3 -0
  70. package/dist/ui/lib-types/ui/src/components/router-head/theme-script.d.ts +1 -0
  71. package/dist/ui/lib-types/ui/src/entry.dev.d.ts +2 -2
  72. package/dist/ui/lib-types/ui/src/entry.ssr.d.ts +1 -1
  73. package/dist/ui/lib-types/ui/src/features/Assets/Assets.d.ts +1 -1
  74. package/dist/ui/lib-types/ui/src/features/Overview/Overview.d.ts +1 -1
  75. package/dist/ui/lib-types/ui/src/features/Packages/components/InstallButton/InstallButton.d.ts +2 -2
  76. package/dist/ui/lib-types/ui/src/features/RenderTree/RenderTree.d.ts +1 -0
  77. package/dist/ui/lib-types/ui/src/features/RenderTree/data.d.ts +4 -0
  78. package/dist/ui/lib-types/ui/src/features/RenderTree/formatTreeData.d.ts +148 -0
  79. package/dist/ui/lib-types/ui/src/features/RenderTree/transfromqseq.d.ts +7 -0
  80. package/dist/ui/lib-types/ui/src/features/Routes/Routes.d.ts +1 -1
  81. package/dist/ui/lib-types/ui/src/features/inspect/Inspect.d.ts +1 -0
  82. package/dist/ui/lib-types/ui/src/features/inspect/constant.d.ts +1 -0
  83. package/dist/ui/lib-types/ui/src/hooks/useDebouncer.d.ts +1 -1
  84. package/dist/ui/lib-types/ui/src/index.d.ts +1 -1
  85. package/dist/ui/lib-types/ui/src/types/state.d.ts +5 -4
  86. package/dist/ui/lib-types/ui/src/utils/heplerState.d.ts +2 -0
  87. package/dist/ui/lib-types/ui/src/utils/location.d.ts +1 -0
  88. package/dist/ui/lib-types/ui/src/utils/type.d.ts +2 -0
  89. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/bs.qwik.qwik.cjs +34 -0
  90. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/bs.qwik.qwik.mjs +34 -0
  91. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.cjs +130 -0
  92. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs +130 -0
  93. package/dist/ui/node_modules/.pnpm/@shikijs_core@3.8.1/node_modules/@shikijs/core/dist/index.qwik.cjs +1947 -0
  94. package/dist/ui/node_modules/.pnpm/@shikijs_core@3.8.1/node_modules/@shikijs/core/dist/index.qwik.mjs +1947 -0
  95. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/index.qwik.cjs +439 -0
  96. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/index.qwik.mjs +439 -0
  97. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.qwik.cjs +10 -0
  98. package/dist/ui/node_modules/.pnpm/@shikijs_engine-oniguruma@3.8.1/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.qwik.mjs +10 -0
  99. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/abap.qwik.cjs +6 -0
  100. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/abap.qwik.mjs +7 -0
  101. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/actionscript-3.qwik.cjs +6 -0
  102. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/actionscript-3.qwik.mjs +7 -0
  103. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ada.qwik.cjs +6 -0
  104. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ada.qwik.mjs +7 -0
  105. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-expression.qwik.cjs +6 -0
  106. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-expression.qwik.mjs +7 -0
  107. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-html.qwik.cjs +16 -0
  108. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-html.qwik.mjs +17 -0
  109. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-style.qwik.cjs +8 -0
  110. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-style.qwik.mjs +9 -0
  111. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-template.qwik.cjs +10 -0
  112. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-inline-template.qwik.mjs +11 -0
  113. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-let-declaration.qwik.cjs +8 -0
  114. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-let-declaration.qwik.mjs +9 -0
  115. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template-blocks.qwik.cjs +10 -0
  116. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template-blocks.qwik.mjs +11 -0
  117. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template.qwik.cjs +8 -0
  118. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-template.qwik.mjs +9 -0
  119. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-ts.qwik.cjs +18 -0
  120. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/angular-ts.qwik.mjs +19 -0
  121. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apache.qwik.cjs +6 -0
  122. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apache.qwik.mjs +7 -0
  123. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apex.qwik.cjs +6 -0
  124. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apex.qwik.mjs +7 -0
  125. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apl.qwik.cjs +16 -0
  126. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/apl.qwik.mjs +17 -0
  127. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/applescript.qwik.cjs +6 -0
  128. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/applescript.qwik.mjs +7 -0
  129. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ara.qwik.cjs +6 -0
  130. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ara.qwik.mjs +7 -0
  131. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asciidoc.qwik.cjs +6 -0
  132. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asciidoc.qwik.mjs +7 -0
  133. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asm.qwik.cjs +6 -0
  134. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/asm.qwik.mjs +7 -0
  135. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/astro.qwik.cjs +18 -0
  136. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/astro.qwik.mjs +19 -0
  137. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/awk.qwik.cjs +6 -0
  138. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/awk.qwik.mjs +7 -0
  139. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ballerina.qwik.cjs +6 -0
  140. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ballerina.qwik.mjs +7 -0
  141. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bat.qwik.cjs +6 -0
  142. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bat.qwik.mjs +7 -0
  143. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/beancount.qwik.cjs +6 -0
  144. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/beancount.qwik.mjs +7 -0
  145. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/berry.qwik.cjs +6 -0
  146. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/berry.qwik.mjs +7 -0
  147. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bibtex.qwik.cjs +6 -0
  148. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bibtex.qwik.mjs +7 -0
  149. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bicep.qwik.cjs +6 -0
  150. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bicep.qwik.mjs +7 -0
  151. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/blade.qwik.cjs +20 -0
  152. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/blade.qwik.mjs +21 -0
  153. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bsl.qwik.cjs +8 -0
  154. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/bsl.qwik.mjs +9 -0
  155. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/c.qwik.cjs +6 -0
  156. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/c.qwik.mjs +7 -0
  157. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cadence.qwik.cjs +6 -0
  158. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cadence.qwik.mjs +7 -0
  159. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cairo.qwik.cjs +8 -0
  160. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cairo.qwik.mjs +9 -0
  161. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clarity.qwik.cjs +6 -0
  162. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clarity.qwik.mjs +7 -0
  163. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clojure.qwik.cjs +6 -0
  164. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/clojure.qwik.mjs +7 -0
  165. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cmake.qwik.cjs +6 -0
  166. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cmake.qwik.mjs +7 -0
  167. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cobol.qwik.cjs +10 -0
  168. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cobol.qwik.mjs +11 -0
  169. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeowners.qwik.cjs +6 -0
  170. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeowners.qwik.mjs +7 -0
  171. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeql.qwik.cjs +6 -0
  172. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/codeql.qwik.mjs +7 -0
  173. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coffee.qwik.cjs +8 -0
  174. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coffee.qwik.mjs +9 -0
  175. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/common-lisp.qwik.cjs +6 -0
  176. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/common-lisp.qwik.mjs +7 -0
  177. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coq.qwik.cjs +6 -0
  178. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/coq.qwik.mjs +7 -0
  179. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp-macro.qwik.cjs +12 -0
  180. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp-macro.qwik.mjs +13 -0
  181. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp.qwik.cjs +14 -0
  182. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cpp.qwik.mjs +15 -0
  183. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/crystal.qwik.cjs +18 -0
  184. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/crystal.qwik.mjs +19 -0
  185. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csharp.qwik.cjs +6 -0
  186. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csharp.qwik.mjs +7 -0
  187. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/css.qwik.cjs +6 -0
  188. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/css.qwik.mjs +7 -0
  189. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csv.qwik.cjs +6 -0
  190. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/csv.qwik.mjs +7 -0
  191. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cue.qwik.cjs +6 -0
  192. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cue.qwik.mjs +7 -0
  193. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cypher.qwik.cjs +6 -0
  194. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/cypher.qwik.mjs +7 -0
  195. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/d.qwik.cjs +6 -0
  196. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/d.qwik.mjs +7 -0
  197. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dart.qwik.cjs +6 -0
  198. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dart.qwik.mjs +7 -0
  199. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dax.qwik.cjs +6 -0
  200. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dax.qwik.mjs +7 -0
  201. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/desktop.qwik.cjs +6 -0
  202. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/desktop.qwik.mjs +7 -0
  203. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/diff.qwik.cjs +6 -0
  204. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/diff.qwik.mjs +7 -0
  205. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/docker.qwik.cjs +6 -0
  206. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/docker.qwik.mjs +7 -0
  207. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dotenv.qwik.cjs +6 -0
  208. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dotenv.qwik.mjs +7 -0
  209. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dream-maker.qwik.cjs +6 -0
  210. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/dream-maker.qwik.mjs +7 -0
  211. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/edge.qwik.cjs +12 -0
  212. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/edge.qwik.mjs +13 -0
  213. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elixir.qwik.cjs +8 -0
  214. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elixir.qwik.mjs +9 -0
  215. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elm.qwik.cjs +8 -0
  216. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/elm.qwik.mjs +9 -0
  217. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/emacs-lisp.qwik.cjs +6 -0
  218. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/emacs-lisp.qwik.mjs +7 -0
  219. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erb.qwik.cjs +10 -0
  220. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erb.qwik.mjs +11 -0
  221. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erlang.qwik.cjs +8 -0
  222. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/erlang.qwik.mjs +9 -0
  223. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-css.qwik.cjs +12 -0
  224. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-css.qwik.mjs +13 -0
  225. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-glsl.qwik.cjs +12 -0
  226. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-glsl.qwik.mjs +13 -0
  227. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-html.qwik.cjs +12 -0
  228. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-html.qwik.mjs +13 -0
  229. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-sql.qwik.cjs +10 -0
  230. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-sql.qwik.mjs +11 -0
  231. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-xml.qwik.cjs +8 -0
  232. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/es-tag-xml.qwik.mjs +9 -0
  233. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fennel.qwik.cjs +6 -0
  234. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fennel.qwik.mjs +7 -0
  235. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fish.qwik.cjs +6 -0
  236. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fish.qwik.mjs +7 -0
  237. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fluent.qwik.cjs +6 -0
  238. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fluent.qwik.mjs +7 -0
  239. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-fixed-form.qwik.cjs +8 -0
  240. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-fixed-form.qwik.mjs +9 -0
  241. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-free-form.qwik.cjs +6 -0
  242. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fortran-free-form.qwik.mjs +7 -0
  243. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fsharp.qwik.cjs +8 -0
  244. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/fsharp.qwik.mjs +9 -0
  245. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdresource.qwik.cjs +10 -0
  246. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdresource.qwik.mjs +11 -0
  247. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdscript.qwik.cjs +6 -0
  248. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdscript.qwik.mjs +7 -0
  249. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdshader.qwik.cjs +6 -0
  250. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gdshader.qwik.mjs +7 -0
  251. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/genie.qwik.cjs +6 -0
  252. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/genie.qwik.mjs +7 -0
  253. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gherkin.qwik.cjs +6 -0
  254. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gherkin.qwik.mjs +7 -0
  255. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-commit.qwik.cjs +8 -0
  256. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-commit.qwik.mjs +9 -0
  257. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-rebase.qwik.cjs +8 -0
  258. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/git-rebase.qwik.mjs +9 -0
  259. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gleam.qwik.cjs +6 -0
  260. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gleam.qwik.mjs +7 -0
  261. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-js.qwik.cjs +14 -0
  262. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-js.qwik.mjs +15 -0
  263. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-ts.qwik.cjs +14 -0
  264. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glimmer-ts.qwik.mjs +15 -0
  265. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glsl.qwik.cjs +8 -0
  266. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/glsl.qwik.mjs +9 -0
  267. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gnuplot.qwik.cjs +6 -0
  268. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/gnuplot.qwik.mjs +7 -0
  269. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/go.qwik.cjs +6 -0
  270. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/go.qwik.mjs +7 -0
  271. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/graphql.qwik.cjs +14 -0
  272. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/graphql.qwik.mjs +15 -0
  273. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/groovy.qwik.cjs +6 -0
  274. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/groovy.qwik.mjs +7 -0
  275. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hack.qwik.cjs +10 -0
  276. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hack.qwik.mjs +11 -0
  277. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haml.qwik.cjs +10 -0
  278. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haml.qwik.mjs +11 -0
  279. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/handlebars.qwik.cjs +14 -0
  280. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/handlebars.qwik.mjs +15 -0
  281. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haskell.qwik.cjs +6 -0
  282. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haskell.qwik.mjs +7 -0
  283. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haxe.qwik.cjs +6 -0
  284. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/haxe.qwik.mjs +7 -0
  285. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hcl.qwik.cjs +6 -0
  286. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hcl.qwik.mjs +7 -0
  287. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hjson.qwik.cjs +6 -0
  288. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hjson.qwik.mjs +7 -0
  289. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hlsl.qwik.cjs +6 -0
  290. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hlsl.qwik.mjs +7 -0
  291. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html-derivative.qwik.cjs +8 -0
  292. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html-derivative.qwik.mjs +9 -0
  293. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html.qwik.cjs +10 -0
  294. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/html.qwik.mjs +11 -0
  295. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/http.qwik.cjs +14 -0
  296. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/http.qwik.mjs +15 -0
  297. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hxml.qwik.cjs +8 -0
  298. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hxml.qwik.mjs +9 -0
  299. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hy.qwik.cjs +6 -0
  300. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/hy.qwik.mjs +7 -0
  301. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/imba.qwik.cjs +6 -0
  302. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/imba.qwik.mjs +7 -0
  303. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ini.qwik.cjs +6 -0
  304. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ini.qwik.mjs +7 -0
  305. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/java.qwik.cjs +6 -0
  306. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/java.qwik.mjs +7 -0
  307. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/javascript.qwik.cjs +6 -0
  308. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/javascript.qwik.mjs +7 -0
  309. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja-html.qwik.cjs +8 -0
  310. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja-html.qwik.mjs +9 -0
  311. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja.qwik.cjs +8 -0
  312. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jinja.qwik.mjs +9 -0
  313. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jison.qwik.cjs +8 -0
  314. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jison.qwik.mjs +9 -0
  315. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json.qwik.cjs +6 -0
  316. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json.qwik.mjs +7 -0
  317. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json5.qwik.cjs +6 -0
  318. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/json5.qwik.mjs +7 -0
  319. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonc.qwik.cjs +6 -0
  320. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonc.qwik.mjs +7 -0
  321. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonl.qwik.cjs +6 -0
  322. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonl.qwik.mjs +7 -0
  323. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonnet.qwik.cjs +6 -0
  324. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsonnet.qwik.mjs +7 -0
  325. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jssm.qwik.cjs +6 -0
  326. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jssm.qwik.mjs +7 -0
  327. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsx.qwik.cjs +6 -0
  328. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/jsx.qwik.mjs +7 -0
  329. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/julia.qwik.cjs +16 -0
  330. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/julia.qwik.mjs +17 -0
  331. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kotlin.qwik.cjs +6 -0
  332. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kotlin.qwik.mjs +7 -0
  333. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kusto.qwik.cjs +6 -0
  334. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/kusto.qwik.mjs +7 -0
  335. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/latex.qwik.cjs +8 -0
  336. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/latex.qwik.mjs +9 -0
  337. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lean.qwik.cjs +6 -0
  338. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lean.qwik.mjs +7 -0
  339. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/less.qwik.cjs +6 -0
  340. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/less.qwik.mjs +7 -0
  341. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/liquid.qwik.cjs +14 -0
  342. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/liquid.qwik.mjs +15 -0
  343. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/llvm.qwik.cjs +6 -0
  344. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/llvm.qwik.mjs +7 -0
  345. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/log.qwik.cjs +6 -0
  346. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/log.qwik.mjs +7 -0
  347. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/logo.qwik.cjs +6 -0
  348. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/logo.qwik.mjs +7 -0
  349. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lua.qwik.cjs +8 -0
  350. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/lua.qwik.mjs +9 -0
  351. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/luau.qwik.cjs +6 -0
  352. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/luau.qwik.mjs +7 -0
  353. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/make.qwik.cjs +6 -0
  354. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/make.qwik.mjs +7 -0
  355. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown-vue.qwik.cjs +6 -0
  356. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown-vue.qwik.mjs +7 -0
  357. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown.qwik.cjs +6 -0
  358. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/markdown.qwik.mjs +7 -0
  359. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/marko.qwik.cjs +14 -0
  360. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/marko.qwik.mjs +15 -0
  361. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/matlab.qwik.cjs +6 -0
  362. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/matlab.qwik.mjs +7 -0
  363. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdc.qwik.cjs +12 -0
  364. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdc.qwik.mjs +13 -0
  365. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdx.qwik.cjs +6 -0
  366. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mdx.qwik.mjs +7 -0
  367. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mermaid.qwik.cjs +6 -0
  368. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mermaid.qwik.mjs +7 -0
  369. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mipsasm.qwik.cjs +6 -0
  370. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mipsasm.qwik.mjs +7 -0
  371. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mojo.qwik.cjs +6 -0
  372. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/mojo.qwik.mjs +7 -0
  373. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/move.qwik.cjs +6 -0
  374. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/move.qwik.mjs +7 -0
  375. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/narrat.qwik.cjs +6 -0
  376. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/narrat.qwik.mjs +7 -0
  377. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nextflow.qwik.cjs +6 -0
  378. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nextflow.qwik.mjs +7 -0
  379. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nginx.qwik.cjs +8 -0
  380. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nginx.qwik.mjs +9 -0
  381. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nim.qwik.cjs +20 -0
  382. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nim.qwik.mjs +21 -0
  383. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nix.qwik.cjs +6 -0
  384. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nix.qwik.mjs +7 -0
  385. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nushell.qwik.cjs +6 -0
  386. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/nushell.qwik.mjs +7 -0
  387. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-c.qwik.cjs +6 -0
  388. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-c.qwik.mjs +7 -0
  389. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-cpp.qwik.cjs +6 -0
  390. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/objective-cpp.qwik.mjs +7 -0
  391. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ocaml.qwik.cjs +6 -0
  392. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ocaml.qwik.mjs +7 -0
  393. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pascal.qwik.cjs +6 -0
  394. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pascal.qwik.mjs +7 -0
  395. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/perl.qwik.cjs +16 -0
  396. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/perl.qwik.mjs +17 -0
  397. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/php.qwik.cjs +18 -0
  398. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/php.qwik.mjs +19 -0
  399. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/plsql.qwik.cjs +6 -0
  400. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/plsql.qwik.mjs +7 -0
  401. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/po.qwik.cjs +6 -0
  402. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/po.qwik.mjs +7 -0
  403. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/polar.qwik.cjs +6 -0
  404. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/polar.qwik.mjs +7 -0
  405. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/postcss.qwik.cjs +6 -0
  406. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/postcss.qwik.mjs +7 -0
  407. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powerquery.qwik.cjs +6 -0
  408. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powerquery.qwik.mjs +7 -0
  409. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powershell.qwik.cjs +6 -0
  410. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/powershell.qwik.mjs +7 -0
  411. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prisma.qwik.cjs +6 -0
  412. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prisma.qwik.mjs +7 -0
  413. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prolog.qwik.cjs +6 -0
  414. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/prolog.qwik.mjs +7 -0
  415. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/proto.qwik.cjs +6 -0
  416. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/proto.qwik.mjs +7 -0
  417. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pug.qwik.cjs +12 -0
  418. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/pug.qwik.mjs +13 -0
  419. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/puppet.qwik.cjs +6 -0
  420. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/puppet.qwik.mjs +7 -0
  421. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/purescript.qwik.cjs +6 -0
  422. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/purescript.qwik.mjs +7 -0
  423. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/python.qwik.cjs +6 -0
  424. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/python.qwik.mjs +7 -0
  425. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qml.qwik.cjs +8 -0
  426. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qml.qwik.mjs +9 -0
  427. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qmldir.qwik.cjs +6 -0
  428. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qmldir.qwik.mjs +7 -0
  429. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qss.qwik.cjs +6 -0
  430. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/qss.qwik.mjs +7 -0
  431. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/r.qwik.cjs +6 -0
  432. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/r.qwik.mjs +7 -0
  433. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/racket.qwik.cjs +6 -0
  434. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/racket.qwik.mjs +7 -0
  435. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/raku.qwik.cjs +6 -0
  436. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/raku.qwik.mjs +7 -0
  437. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/razor.qwik.cjs +10 -0
  438. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/razor.qwik.mjs +11 -0
  439. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/reg.qwik.cjs +6 -0
  440. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/reg.qwik.mjs +7 -0
  441. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/regexp.qwik.cjs +6 -0
  442. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/regexp.qwik.mjs +7 -0
  443. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rel.qwik.cjs +6 -0
  444. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rel.qwik.mjs +7 -0
  445. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/riscv.qwik.cjs +6 -0
  446. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/riscv.qwik.mjs +7 -0
  447. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rst.qwik.cjs +22 -0
  448. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rst.qwik.mjs +23 -0
  449. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ruby.qwik.cjs +30 -0
  450. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ruby.qwik.mjs +31 -0
  451. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rust.qwik.cjs +6 -0
  452. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/rust.qwik.mjs +7 -0
  453. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sas.qwik.cjs +8 -0
  454. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sas.qwik.mjs +9 -0
  455. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sass.qwik.cjs +6 -0
  456. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sass.qwik.mjs +7 -0
  457. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scala.qwik.cjs +6 -0
  458. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scala.qwik.mjs +7 -0
  459. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scheme.qwik.cjs +6 -0
  460. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scheme.qwik.mjs +7 -0
  461. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scss.qwik.cjs +8 -0
  462. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/scss.qwik.mjs +9 -0
  463. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sdbl.qwik.cjs +6 -0
  464. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sdbl.qwik.mjs +7 -0
  465. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shaderlab.qwik.cjs +8 -0
  466. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shaderlab.qwik.mjs +9 -0
  467. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellscript.qwik.cjs +6 -0
  468. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellscript.qwik.mjs +7 -0
  469. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellsession.qwik.cjs +8 -0
  470. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/shellsession.qwik.mjs +9 -0
  471. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/smalltalk.qwik.cjs +6 -0
  472. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/smalltalk.qwik.mjs +7 -0
  473. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/solidity.qwik.cjs +6 -0
  474. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/solidity.qwik.mjs +7 -0
  475. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/soy.qwik.cjs +8 -0
  476. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/soy.qwik.mjs +9 -0
  477. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sparql.qwik.cjs +8 -0
  478. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sparql.qwik.mjs +9 -0
  479. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/splunk.qwik.cjs +6 -0
  480. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/splunk.qwik.mjs +7 -0
  481. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sql.qwik.cjs +6 -0
  482. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/sql.qwik.mjs +7 -0
  483. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ssh-config.qwik.cjs +6 -0
  484. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ssh-config.qwik.mjs +7 -0
  485. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stata.qwik.cjs +8 -0
  486. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stata.qwik.mjs +9 -0
  487. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stylus.qwik.cjs +6 -0
  488. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/stylus.qwik.mjs +7 -0
  489. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/svelte.qwik.cjs +14 -0
  490. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/svelte.qwik.mjs +15 -0
  491. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/swift.qwik.cjs +6 -0
  492. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/swift.qwik.mjs +7 -0
  493. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/system-verilog.qwik.cjs +6 -0
  494. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/system-verilog.qwik.mjs +7 -0
  495. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/systemd.qwik.cjs +6 -0
  496. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/systemd.qwik.mjs +7 -0
  497. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/talonscript.qwik.cjs +6 -0
  498. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/talonscript.qwik.mjs +7 -0
  499. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tasl.qwik.cjs +6 -0
  500. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tasl.qwik.mjs +7 -0
  501. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tcl.qwik.cjs +6 -0
  502. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tcl.qwik.mjs +7 -0
  503. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/templ.qwik.cjs +12 -0
  504. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/templ.qwik.mjs +13 -0
  505. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/terraform.qwik.cjs +6 -0
  506. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/terraform.qwik.mjs +7 -0
  507. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tex.qwik.cjs +8 -0
  508. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tex.qwik.mjs +9 -0
  509. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/toml.qwik.cjs +6 -0
  510. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/toml.qwik.mjs +7 -0
  511. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ts-tags.qwik.cjs +18 -0
  512. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/ts-tags.qwik.mjs +19 -0
  513. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsv.qwik.cjs +6 -0
  514. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsv.qwik.mjs +7 -0
  515. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsx.qwik.cjs +6 -0
  516. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/tsx.qwik.mjs +7 -0
  517. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/turtle.qwik.cjs +6 -0
  518. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/turtle.qwik.mjs +7 -0
  519. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/twig.qwik.cjs +18 -0
  520. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/twig.qwik.mjs +19 -0
  521. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typescript.qwik.cjs +6 -0
  522. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typescript.qwik.mjs +7 -0
  523. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typespec.qwik.cjs +6 -0
  524. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typespec.qwik.mjs +7 -0
  525. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typst.qwik.cjs +6 -0
  526. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/typst.qwik.mjs +7 -0
  527. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/v.qwik.cjs +6 -0
  528. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/v.qwik.mjs +7 -0
  529. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vala.qwik.cjs +6 -0
  530. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vala.qwik.mjs +7 -0
  531. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vb.qwik.cjs +6 -0
  532. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vb.qwik.mjs +7 -0
  533. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/verilog.qwik.cjs +6 -0
  534. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/verilog.qwik.mjs +7 -0
  535. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vhdl.qwik.cjs +6 -0
  536. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vhdl.qwik.mjs +7 -0
  537. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/viml.qwik.cjs +6 -0
  538. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/viml.qwik.mjs +7 -0
  539. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-directives.qwik.cjs +6 -0
  540. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-directives.qwik.mjs +7 -0
  541. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-html.qwik.cjs +10 -0
  542. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-html.qwik.mjs +11 -0
  543. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-interpolations.qwik.cjs +6 -0
  544. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-interpolations.qwik.mjs +7 -0
  545. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.qwik.cjs +8 -0
  546. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.qwik.mjs +9 -0
  547. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-vine.qwik.cjs +20 -0
  548. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue-vine.qwik.mjs +21 -0
  549. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue.qwik.cjs +26 -0
  550. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vue.qwik.mjs +27 -0
  551. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vyper.qwik.cjs +6 -0
  552. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/vyper.qwik.mjs +7 -0
  553. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wasm.qwik.cjs +6 -0
  554. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wasm.qwik.mjs +7 -0
  555. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wenyan.qwik.cjs +6 -0
  556. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wenyan.qwik.mjs +7 -0
  557. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wgsl.qwik.cjs +6 -0
  558. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wgsl.qwik.mjs +7 -0
  559. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wikitext.qwik.cjs +6 -0
  560. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wikitext.qwik.mjs +7 -0
  561. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wit.qwik.cjs +6 -0
  562. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wit.qwik.mjs +7 -0
  563. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wolfram.qwik.cjs +6 -0
  564. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/wolfram.qwik.mjs +7 -0
  565. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xml.qwik.cjs +8 -0
  566. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xml.qwik.mjs +9 -0
  567. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xsl.qwik.cjs +8 -0
  568. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/xsl.qwik.mjs +9 -0
  569. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/yaml.qwik.cjs +6 -0
  570. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/yaml.qwik.mjs +7 -0
  571. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zenscript.qwik.cjs +6 -0
  572. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zenscript.qwik.mjs +7 -0
  573. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zig.qwik.cjs +6 -0
  574. package/dist/ui/node_modules/.pnpm/@shikijs_langs@3.8.1/node_modules/@shikijs/langs/dist/zig.qwik.mjs +7 -0
  575. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/andromeeda.qwik.cjs +3 -0
  576. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/andromeeda.qwik.mjs +4 -0
  577. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/aurora-x.qwik.cjs +3 -0
  578. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/aurora-x.qwik.mjs +4 -0
  579. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/ayu-dark.qwik.cjs +3 -0
  580. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/ayu-dark.qwik.mjs +4 -0
  581. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-frappe.qwik.cjs +3 -0
  582. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-frappe.qwik.mjs +4 -0
  583. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-latte.qwik.cjs +3 -0
  584. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-latte.qwik.mjs +4 -0
  585. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-macchiato.qwik.cjs +3 -0
  586. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-macchiato.qwik.mjs +4 -0
  587. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-mocha.qwik.cjs +3 -0
  588. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/catppuccin-mocha.qwik.mjs +4 -0
  589. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dark-plus.qwik.cjs +3 -0
  590. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dark-plus.qwik.mjs +4 -0
  591. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula-soft.qwik.cjs +3 -0
  592. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula-soft.qwik.mjs +4 -0
  593. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula.qwik.cjs +3 -0
  594. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/dracula.qwik.mjs +4 -0
  595. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-dark.qwik.cjs +3 -0
  596. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-dark.qwik.mjs +4 -0
  597. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-light.qwik.cjs +3 -0
  598. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/everforest-light.qwik.mjs +4 -0
  599. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-default.qwik.cjs +3 -0
  600. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-default.qwik.mjs +4 -0
  601. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-dimmed.qwik.cjs +3 -0
  602. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-dimmed.qwik.mjs +4 -0
  603. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-high-contrast.qwik.cjs +3 -0
  604. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark-high-contrast.qwik.mjs +4 -0
  605. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark.qwik.cjs +3 -0
  606. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-dark.qwik.mjs +4 -0
  607. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-default.qwik.cjs +3 -0
  608. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-default.qwik.mjs +4 -0
  609. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-high-contrast.qwik.cjs +3 -0
  610. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light-high-contrast.qwik.mjs +4 -0
  611. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light.qwik.cjs +3 -0
  612. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/github-light.qwik.mjs +4 -0
  613. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.qwik.cjs +3 -0
  614. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.qwik.mjs +4 -0
  615. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.qwik.cjs +3 -0
  616. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.qwik.mjs +4 -0
  617. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.qwik.cjs +3 -0
  618. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.qwik.mjs +4 -0
  619. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-hard.qwik.cjs +3 -0
  620. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-hard.qwik.mjs +4 -0
  621. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-medium.qwik.cjs +3 -0
  622. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-medium.qwik.mjs +4 -0
  623. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-soft.qwik.cjs +3 -0
  624. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/gruvbox-light-soft.qwik.mjs +4 -0
  625. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/houston.qwik.cjs +3 -0
  626. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/houston.qwik.mjs +4 -0
  627. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-dragon.qwik.cjs +3 -0
  628. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-dragon.qwik.mjs +4 -0
  629. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-lotus.qwik.cjs +3 -0
  630. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-lotus.qwik.mjs +4 -0
  631. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-wave.qwik.cjs +3 -0
  632. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/kanagawa-wave.qwik.mjs +4 -0
  633. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/laserwave.qwik.cjs +3 -0
  634. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/laserwave.qwik.mjs +4 -0
  635. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/light-plus.qwik.cjs +3 -0
  636. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/light-plus.qwik.mjs +4 -0
  637. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-darker.qwik.cjs +3 -0
  638. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-darker.qwik.mjs +4 -0
  639. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-lighter.qwik.cjs +3 -0
  640. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-lighter.qwik.mjs +4 -0
  641. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-ocean.qwik.cjs +3 -0
  642. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-ocean.qwik.mjs +4 -0
  643. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-palenight.qwik.cjs +3 -0
  644. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme-palenight.qwik.mjs +4 -0
  645. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme.qwik.cjs +3 -0
  646. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/material-theme.qwik.mjs +4 -0
  647. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-dark.qwik.cjs +3 -0
  648. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-dark.qwik.mjs +4 -0
  649. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-light.qwik.cjs +3 -0
  650. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/min-light.qwik.mjs +4 -0
  651. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/monokai.qwik.cjs +3 -0
  652. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/monokai.qwik.mjs +4 -0
  653. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/night-owl.qwik.cjs +3 -0
  654. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/night-owl.qwik.mjs +4 -0
  655. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/nord.qwik.cjs +3 -0
  656. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/nord.qwik.mjs +4 -0
  657. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-dark-pro.qwik.cjs +3 -0
  658. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-dark-pro.qwik.mjs +4 -0
  659. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-light.qwik.cjs +3 -0
  660. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/one-light.qwik.mjs +4 -0
  661. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/plastic.qwik.cjs +3 -0
  662. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/plastic.qwik.mjs +4 -0
  663. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/poimandres.qwik.cjs +3 -0
  664. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/poimandres.qwik.mjs +4 -0
  665. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/red.qwik.cjs +3 -0
  666. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/red.qwik.mjs +4 -0
  667. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-dawn.qwik.cjs +3 -0
  668. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-dawn.qwik.mjs +4 -0
  669. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-moon.qwik.cjs +3 -0
  670. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine-moon.qwik.mjs +4 -0
  671. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine.qwik.cjs +3 -0
  672. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/rose-pine.qwik.mjs +4 -0
  673. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-dark.qwik.cjs +3 -0
  674. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-dark.qwik.mjs +4 -0
  675. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-ochin.qwik.cjs +3 -0
  676. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/slack-ochin.qwik.mjs +4 -0
  677. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/snazzy-light.qwik.cjs +3 -0
  678. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/snazzy-light.qwik.mjs +4 -0
  679. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-dark.qwik.cjs +3 -0
  680. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-dark.qwik.mjs +4 -0
  681. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-light.qwik.cjs +3 -0
  682. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/solarized-light.qwik.mjs +4 -0
  683. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/synthwave-84.qwik.cjs +3 -0
  684. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/synthwave-84.qwik.mjs +4 -0
  685. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/tokyo-night.qwik.cjs +3 -0
  686. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/tokyo-night.qwik.mjs +4 -0
  687. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vesper.qwik.cjs +3 -0
  688. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vesper.qwik.mjs +4 -0
  689. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-black.qwik.cjs +3 -0
  690. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-black.qwik.mjs +4 -0
  691. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-dark.qwik.cjs +3 -0
  692. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-dark.qwik.mjs +4 -0
  693. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-light.qwik.cjs +3 -0
  694. package/dist/ui/node_modules/.pnpm/@shikijs_themes@3.8.1/node_modules/@shikijs/themes/dist/vitesse-light.qwik.mjs +4 -0
  695. package/dist/ui/node_modules/.pnpm/@shikijs_types@3.8.1/node_modules/@shikijs/types/dist/index.qwik.cjs +9 -0
  696. package/dist/ui/node_modules/.pnpm/@shikijs_types@3.8.1/node_modules/@shikijs/types/dist/index.qwik.mjs +9 -0
  697. package/dist/ui/node_modules/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.qwik.cjs +3119 -0
  698. package/dist/ui/node_modules/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.qwik.mjs +3119 -0
  699. package/dist/ui/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.cjs +54 -47
  700. package/dist/ui/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.mjs +54 -47
  701. package/dist/ui/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.cjs +137 -131
  702. package/dist/ui/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.mjs +137 -132
  703. package/dist/ui/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.qwik.cjs +16 -0
  704. package/dist/ui/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.qwik.mjs +16 -0
  705. package/dist/ui/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.qwik.cjs +257 -0
  706. package/dist/ui/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.qwik.mjs +257 -0
  707. package/dist/ui/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.qwik.cjs +111 -0
  708. package/dist/ui/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.qwik.mjs +111 -0
  709. package/dist/ui/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.qwik.cjs +10 -0
  710. package/dist/ui/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.qwik.mjs +10 -0
  711. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.qwik.cjs +23 -0
  712. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.qwik.mjs +23 -0
  713. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.qwik.cjs +6 -0
  714. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.qwik.mjs +6 -0
  715. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.qwik.cjs +136 -0
  716. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.qwik.mjs +136 -0
  717. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.qwik.cjs +25 -0
  718. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.qwik.mjs +25 -0
  719. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.qwik.cjs +7 -0
  720. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.qwik.mjs +7 -0
  721. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.qwik.cjs +6 -0
  722. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.qwik.mjs +6 -0
  723. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.qwik.cjs +13 -0
  724. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.qwik.mjs +13 -0
  725. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.qwik.cjs +61 -0
  726. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.qwik.mjs +61 -0
  727. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.qwik.cjs +91 -0
  728. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.qwik.mjs +91 -0
  729. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.qwik.cjs +10 -0
  730. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.qwik.mjs +10 -0
  731. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.qwik.cjs +49 -0
  732. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.qwik.mjs +49 -0
  733. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.qwik.cjs +23 -0
  734. package/dist/ui/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.qwik.mjs +23 -0
  735. package/dist/ui/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.qwik.cjs +10 -0
  736. package/dist/ui/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.qwik.mjs +10 -0
  737. package/dist/ui/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.qwik.cjs +25 -0
  738. package/dist/ui/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.qwik.mjs +25 -0
  739. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.cjs +1 -1
  740. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.mjs +1 -1
  741. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.cjs +1 -1
  742. package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.mjs +1 -1
  743. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.qwik.cjs +13 -0
  744. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.qwik.mjs +13 -0
  745. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.qwik.cjs +61 -0
  746. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.qwik.mjs +61 -0
  747. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.qwik.cjs +40 -0
  748. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.qwik.mjs +40 -0
  749. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.qwik.cjs +368 -0
  750. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.qwik.mjs +368 -0
  751. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.qwik.cjs +6 -0
  752. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.qwik.mjs +6 -0
  753. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.qwik.cjs +566 -0
  754. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.qwik.mjs +566 -0
  755. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.qwik.cjs +7 -0
  756. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.qwik.mjs +7 -0
  757. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.qwik.cjs +6 -0
  758. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.qwik.mjs +6 -0
  759. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.qwik.cjs +25 -0
  760. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.qwik.mjs +25 -0
  761. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.qwik.cjs +41 -0
  762. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.qwik.mjs +41 -0
  763. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.qwik.cjs +29 -0
  764. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.qwik.mjs +29 -0
  765. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.qwik.cjs +13 -0
  766. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.qwik.mjs +13 -0
  767. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.qwik.cjs +25 -0
  768. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.qwik.mjs +25 -0
  769. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.qwik.cjs +20 -0
  770. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.qwik.mjs +20 -0
  771. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.qwik.cjs +19 -0
  772. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.qwik.mjs +19 -0
  773. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.qwik.cjs +11 -0
  774. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.qwik.mjs +11 -0
  775. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.qwik.cjs +11 -0
  776. package/dist/ui/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.qwik.mjs +11 -0
  777. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/bundle-full.qwik.cjs +45 -0
  778. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/bundle-full.qwik.mjs +48 -0
  779. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/langs.qwik.cjs +1341 -0
  780. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/langs.qwik.mjs +1340 -0
  781. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/themes.qwik.cjs +368 -0
  782. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/themes.qwik.mjs +367 -0
  783. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/wasm.qwik.cjs +6 -0
  784. package/dist/ui/node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/wasm.qwik.mjs +6 -0
  785. package/dist/ui/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.qwik.cjs +6 -0
  786. package/dist/ui/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.qwik.mjs +6 -0
  787. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.qwik.cjs +13 -0
  788. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.qwik.mjs +13 -0
  789. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.qwik.cjs +51 -0
  790. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.qwik.mjs +51 -0
  791. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.qwik.cjs +8 -0
  792. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.qwik.mjs +8 -0
  793. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.qwik.cjs +25 -0
  794. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.qwik.mjs +25 -0
  795. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.qwik.cjs +8 -0
  796. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.qwik.mjs +8 -0
  797. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.qwik.cjs +8 -0
  798. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.qwik.mjs +8 -0
  799. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.qwik.cjs +27 -0
  800. package/dist/ui/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.qwik.mjs +27 -0
  801. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.qwik.mjs +4 -4
  802. package/dist/ui/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.qwik.mjs +1 -1
  803. package/dist/ui/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.qwik.cjs +22 -0
  804. package/dist/ui/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.qwik.mjs +22 -0
  805. package/dist/ui/packages/kit/src/client.qwik.mjs +1 -1
  806. package/dist/ui/packages/kit/src/constants.qwik.cjs +18 -0
  807. package/dist/ui/packages/kit/src/constants.qwik.mjs +19 -1
  808. package/dist/ui/packages/kit/src/context.qwik.mjs +1 -1
  809. package/dist/ui/utils/location.qwik.cjs +10 -0
  810. package/dist/ui/utils/location.qwik.mjs +10 -0
  811. package/dist/ui/utils/type.qwik.cjs +14 -0
  812. package/dist/ui/utils/type.qwik.mjs +14 -0
  813. package/package.json +15 -9
  814. package/dist/plugin/index.cjs +0 -10543
  815. package/dist/plugin/index.mjs +0 -10531
  816. package/dist/ui/lib-types/ui/src/features/Components/Components.d.ts +0 -1
  817. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.cjs +0 -60
  818. package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs +0 -60
  819. /package/dist/ui/node_modules/.pnpm/{@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__ → @qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__}/node_modules/@qwikest/icons/lib/lu.qwik.qwik.cjs +0 -0
  820. /package/dist/ui/node_modules/.pnpm/{@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__ → @qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__}/node_modules/@qwikest/icons/lib/lu.qwik.qwik.mjs +0 -0
  821. /package/dist/ui/node_modules/.pnpm/{vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_ → vite-hot-client@2.0.4_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0_}/node_modules/vite-hot-client/dist/index.qwik.cjs +0 -0
  822. /package/dist/ui/node_modules/.pnpm/{vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_ → vite-hot-client@2.0.4_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0_}/node_modules/vite-hot-client/dist/index.qwik.mjs +0 -0
@@ -0,0 +1,3119 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
+ var _a, _b;
5
+ function clone(something) {
6
+ return doClone(something);
7
+ }
8
+ function doClone(something) {
9
+ if (Array.isArray(something)) {
10
+ return cloneArray(something);
11
+ }
12
+ if (something instanceof RegExp) {
13
+ return something;
14
+ }
15
+ if (typeof something === "object") {
16
+ return cloneObj(something);
17
+ }
18
+ return something;
19
+ }
20
+ function cloneArray(arr) {
21
+ let r = [];
22
+ for (let i = 0, len = arr.length; i < len; i++) {
23
+ r[i] = doClone(arr[i]);
24
+ }
25
+ return r;
26
+ }
27
+ function cloneObj(obj) {
28
+ let r = {};
29
+ for (let key in obj) {
30
+ r[key] = doClone(obj[key]);
31
+ }
32
+ return r;
33
+ }
34
+ function mergeObjects(target, ...sources) {
35
+ sources.forEach((source) => {
36
+ for (let key in source) {
37
+ target[key] = source[key];
38
+ }
39
+ });
40
+ return target;
41
+ }
42
+ function basename(path) {
43
+ const idx = ~path.lastIndexOf("/") || ~path.lastIndexOf("\\");
44
+ if (idx === 0) {
45
+ return path;
46
+ } else if (~idx === path.length - 1) {
47
+ return basename(path.substring(0, path.length - 1));
48
+ } else {
49
+ return path.substr(~idx + 1);
50
+ }
51
+ }
52
+ var CAPTURING_REGEX_SOURCE = /\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;
53
+ var RegexSource = class {
54
+ static hasCaptures(regexSource) {
55
+ if (regexSource === null) {
56
+ return false;
57
+ }
58
+ CAPTURING_REGEX_SOURCE.lastIndex = 0;
59
+ return CAPTURING_REGEX_SOURCE.test(regexSource);
60
+ }
61
+ static replaceCaptures(regexSource, captureSource, captureIndices) {
62
+ return regexSource.replace(CAPTURING_REGEX_SOURCE, (match, index, commandIndex, command) => {
63
+ let capture = captureIndices[parseInt(index || commandIndex, 10)];
64
+ if (capture) {
65
+ let result = captureSource.substring(capture.start, capture.end);
66
+ while (result[0] === ".") {
67
+ result = result.substring(1);
68
+ }
69
+ switch (command) {
70
+ case "downcase":
71
+ return result.toLowerCase();
72
+ case "upcase":
73
+ return result.toUpperCase();
74
+ default:
75
+ return result;
76
+ }
77
+ } else {
78
+ return match;
79
+ }
80
+ });
81
+ }
82
+ };
83
+ function strcmp(a, b) {
84
+ if (a < b) {
85
+ return -1;
86
+ }
87
+ if (a > b) {
88
+ return 1;
89
+ }
90
+ return 0;
91
+ }
92
+ function strArrCmp(a, b) {
93
+ if (a === null && b === null) {
94
+ return 0;
95
+ }
96
+ if (!a) {
97
+ return -1;
98
+ }
99
+ if (!b) {
100
+ return 1;
101
+ }
102
+ let len1 = a.length;
103
+ let len2 = b.length;
104
+ if (len1 === len2) {
105
+ for (let i = 0; i < len1; i++) {
106
+ let res = strcmp(a[i], b[i]);
107
+ if (res !== 0) {
108
+ return res;
109
+ }
110
+ }
111
+ return 0;
112
+ }
113
+ return len1 - len2;
114
+ }
115
+ function isValidHexColor(hex) {
116
+ if (/^#[0-9a-f]{6}$/i.test(hex)) {
117
+ return true;
118
+ }
119
+ if (/^#[0-9a-f]{8}$/i.test(hex)) {
120
+ return true;
121
+ }
122
+ if (/^#[0-9a-f]{3}$/i.test(hex)) {
123
+ return true;
124
+ }
125
+ if (/^#[0-9a-f]{4}$/i.test(hex)) {
126
+ return true;
127
+ }
128
+ return false;
129
+ }
130
+ function escapeRegExpCharacters(value) {
131
+ return value.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, "\\$&");
132
+ }
133
+ var CachedFn = class {
134
+ constructor(fn) {
135
+ __publicField(this, "cache", /* @__PURE__ */ new Map());
136
+ this.fn = fn;
137
+ }
138
+ get(key) {
139
+ if (this.cache.has(key)) {
140
+ return this.cache.get(key);
141
+ }
142
+ const value = this.fn(key);
143
+ this.cache.set(key, value);
144
+ return value;
145
+ }
146
+ };
147
+ var Theme = class {
148
+ constructor(_colorMap, _defaults, _root) {
149
+ __publicField(this, "_cachedMatchRoot", new CachedFn(
150
+ (scopeName) => this._root.match(scopeName)
151
+ ));
152
+ this._colorMap = _colorMap;
153
+ this._defaults = _defaults;
154
+ this._root = _root;
155
+ }
156
+ static createFromRawTheme(source, colorMap) {
157
+ return this.createFromParsedTheme(parseTheme(source), colorMap);
158
+ }
159
+ static createFromParsedTheme(source, colorMap) {
160
+ return resolveParsedThemeRules(source, colorMap);
161
+ }
162
+ getColorMap() {
163
+ return this._colorMap.getColorMap();
164
+ }
165
+ getDefaults() {
166
+ return this._defaults;
167
+ }
168
+ match(scopePath) {
169
+ if (scopePath === null) {
170
+ return this._defaults;
171
+ }
172
+ const scopeName = scopePath.scopeName;
173
+ const matchingTrieElements = this._cachedMatchRoot.get(scopeName);
174
+ const effectiveRule = matchingTrieElements.find(
175
+ (v) => _scopePathMatchesParentScopes(scopePath.parent, v.parentScopes)
176
+ );
177
+ if (!effectiveRule) {
178
+ return null;
179
+ }
180
+ return new StyleAttributes(
181
+ effectiveRule.fontStyle,
182
+ effectiveRule.foreground,
183
+ effectiveRule.background
184
+ );
185
+ }
186
+ };
187
+ var ScopeStack = class _ScopeStack {
188
+ constructor(parent, scopeName) {
189
+ this.parent = parent;
190
+ this.scopeName = scopeName;
191
+ }
192
+ static push(path, scopeNames) {
193
+ for (const name of scopeNames) {
194
+ path = new _ScopeStack(path, name);
195
+ }
196
+ return path;
197
+ }
198
+ static from(...segments) {
199
+ let result = null;
200
+ for (let i = 0; i < segments.length; i++) {
201
+ result = new _ScopeStack(result, segments[i]);
202
+ }
203
+ return result;
204
+ }
205
+ push(scopeName) {
206
+ return new _ScopeStack(this, scopeName);
207
+ }
208
+ getSegments() {
209
+ let item = this;
210
+ const result = [];
211
+ while (item) {
212
+ result.push(item.scopeName);
213
+ item = item.parent;
214
+ }
215
+ result.reverse();
216
+ return result;
217
+ }
218
+ toString() {
219
+ return this.getSegments().join(" ");
220
+ }
221
+ extends(other) {
222
+ if (this === other) {
223
+ return true;
224
+ }
225
+ if (this.parent === null) {
226
+ return false;
227
+ }
228
+ return this.parent.extends(other);
229
+ }
230
+ getExtensionIfDefined(base) {
231
+ const result = [];
232
+ let item = this;
233
+ while (item && item !== base) {
234
+ result.push(item.scopeName);
235
+ item = item.parent;
236
+ }
237
+ return item === base ? result.reverse() : void 0;
238
+ }
239
+ };
240
+ function _scopePathMatchesParentScopes(scopePath, parentScopes) {
241
+ if (parentScopes.length === 0) {
242
+ return true;
243
+ }
244
+ for (let index = 0; index < parentScopes.length; index++) {
245
+ let scopePattern = parentScopes[index];
246
+ let scopeMustMatch = false;
247
+ if (scopePattern === ">") {
248
+ if (index === parentScopes.length - 1) {
249
+ return false;
250
+ }
251
+ scopePattern = parentScopes[++index];
252
+ scopeMustMatch = true;
253
+ }
254
+ while (scopePath) {
255
+ if (_matchesScope(scopePath.scopeName, scopePattern)) {
256
+ break;
257
+ }
258
+ if (scopeMustMatch) {
259
+ return false;
260
+ }
261
+ scopePath = scopePath.parent;
262
+ }
263
+ if (!scopePath) {
264
+ return false;
265
+ }
266
+ scopePath = scopePath.parent;
267
+ }
268
+ return true;
269
+ }
270
+ function _matchesScope(scopeName, scopePattern) {
271
+ return scopePattern === scopeName || scopeName.startsWith(scopePattern) && scopeName[scopePattern.length] === ".";
272
+ }
273
+ var StyleAttributes = class {
274
+ constructor(fontStyle, foregroundId, backgroundId) {
275
+ this.fontStyle = fontStyle;
276
+ this.foregroundId = foregroundId;
277
+ this.backgroundId = backgroundId;
278
+ }
279
+ };
280
+ function parseTheme(source) {
281
+ if (!source) {
282
+ return [];
283
+ }
284
+ if (!source.settings || !Array.isArray(source.settings)) {
285
+ return [];
286
+ }
287
+ let settings = source.settings;
288
+ let result = [], resultLen = 0;
289
+ for (let i = 0, len = settings.length; i < len; i++) {
290
+ let entry = settings[i];
291
+ if (!entry.settings) {
292
+ continue;
293
+ }
294
+ let scopes;
295
+ if (typeof entry.scope === "string") {
296
+ let _scope = entry.scope;
297
+ _scope = _scope.replace(/^[,]+/, "");
298
+ _scope = _scope.replace(/[,]+$/, "");
299
+ scopes = _scope.split(",");
300
+ } else if (Array.isArray(entry.scope)) {
301
+ scopes = entry.scope;
302
+ } else {
303
+ scopes = [""];
304
+ }
305
+ let fontStyle = -1;
306
+ if (typeof entry.settings.fontStyle === "string") {
307
+ fontStyle = 0;
308
+ let segments = entry.settings.fontStyle.split(" ");
309
+ for (let j = 0, lenJ = segments.length; j < lenJ; j++) {
310
+ let segment = segments[j];
311
+ switch (segment) {
312
+ case "italic":
313
+ fontStyle = fontStyle | 1;
314
+ break;
315
+ case "bold":
316
+ fontStyle = fontStyle | 2;
317
+ break;
318
+ case "underline":
319
+ fontStyle = fontStyle | 4;
320
+ break;
321
+ case "strikethrough":
322
+ fontStyle = fontStyle | 8;
323
+ break;
324
+ }
325
+ }
326
+ }
327
+ let foreground = null;
328
+ if (typeof entry.settings.foreground === "string" && isValidHexColor(entry.settings.foreground)) {
329
+ foreground = entry.settings.foreground;
330
+ }
331
+ let background = null;
332
+ if (typeof entry.settings.background === "string" && isValidHexColor(entry.settings.background)) {
333
+ background = entry.settings.background;
334
+ }
335
+ for (let j = 0, lenJ = scopes.length; j < lenJ; j++) {
336
+ let _scope = scopes[j].trim();
337
+ let segments = _scope.split(" ");
338
+ let scope = segments[segments.length - 1];
339
+ let parentScopes = null;
340
+ if (segments.length > 1) {
341
+ parentScopes = segments.slice(0, segments.length - 1);
342
+ parentScopes.reverse();
343
+ }
344
+ result[resultLen++] = new ParsedThemeRule(
345
+ scope,
346
+ parentScopes,
347
+ i,
348
+ fontStyle,
349
+ foreground,
350
+ background
351
+ );
352
+ }
353
+ }
354
+ return result;
355
+ }
356
+ var ParsedThemeRule = class {
357
+ constructor(scope, parentScopes, index, fontStyle, foreground, background) {
358
+ this.scope = scope;
359
+ this.parentScopes = parentScopes;
360
+ this.index = index;
361
+ this.fontStyle = fontStyle;
362
+ this.foreground = foreground;
363
+ this.background = background;
364
+ }
365
+ };
366
+ var FontStyle = /* @__PURE__ */ ((FontStyle2) => {
367
+ FontStyle2[FontStyle2["NotSet"] = -1] = "NotSet";
368
+ FontStyle2[FontStyle2["None"] = 0] = "None";
369
+ FontStyle2[FontStyle2["Italic"] = 1] = "Italic";
370
+ FontStyle2[FontStyle2["Bold"] = 2] = "Bold";
371
+ FontStyle2[FontStyle2["Underline"] = 4] = "Underline";
372
+ FontStyle2[FontStyle2["Strikethrough"] = 8] = "Strikethrough";
373
+ return FontStyle2;
374
+ })(FontStyle || {});
375
+ function resolveParsedThemeRules(parsedThemeRules, _colorMap) {
376
+ parsedThemeRules.sort((a, b) => {
377
+ let r = strcmp(a.scope, b.scope);
378
+ if (r !== 0) {
379
+ return r;
380
+ }
381
+ r = strArrCmp(a.parentScopes, b.parentScopes);
382
+ if (r !== 0) {
383
+ return r;
384
+ }
385
+ return a.index - b.index;
386
+ });
387
+ let defaultFontStyle = 0;
388
+ let defaultForeground = "#000000";
389
+ let defaultBackground = "#ffffff";
390
+ while (parsedThemeRules.length >= 1 && parsedThemeRules[0].scope === "") {
391
+ let incomingDefaults = parsedThemeRules.shift();
392
+ if (incomingDefaults.fontStyle !== -1) {
393
+ defaultFontStyle = incomingDefaults.fontStyle;
394
+ }
395
+ if (incomingDefaults.foreground !== null) {
396
+ defaultForeground = incomingDefaults.foreground;
397
+ }
398
+ if (incomingDefaults.background !== null) {
399
+ defaultBackground = incomingDefaults.background;
400
+ }
401
+ }
402
+ let colorMap = new ColorMap(_colorMap);
403
+ let defaults = new StyleAttributes(defaultFontStyle, colorMap.getId(defaultForeground), colorMap.getId(defaultBackground));
404
+ let root = new ThemeTrieElement(new ThemeTrieElementRule(0, null, -1, 0, 0), []);
405
+ for (let i = 0, len = parsedThemeRules.length; i < len; i++) {
406
+ let rule = parsedThemeRules[i];
407
+ root.insert(0, rule.scope, rule.parentScopes, rule.fontStyle, colorMap.getId(rule.foreground), colorMap.getId(rule.background));
408
+ }
409
+ return new Theme(colorMap, defaults, root);
410
+ }
411
+ var ColorMap = class {
412
+ constructor(_colorMap) {
413
+ __publicField(this, "_isFrozen");
414
+ __publicField(this, "_lastColorId");
415
+ __publicField(this, "_id2color");
416
+ __publicField(this, "_color2id");
417
+ this._lastColorId = 0;
418
+ this._id2color = [];
419
+ this._color2id = /* @__PURE__ */ Object.create(null);
420
+ if (Array.isArray(_colorMap)) {
421
+ this._isFrozen = true;
422
+ for (let i = 0, len = _colorMap.length; i < len; i++) {
423
+ this._color2id[_colorMap[i]] = i;
424
+ this._id2color[i] = _colorMap[i];
425
+ }
426
+ } else {
427
+ this._isFrozen = false;
428
+ }
429
+ }
430
+ getId(color) {
431
+ if (color === null) {
432
+ return 0;
433
+ }
434
+ color = color.toUpperCase();
435
+ let value = this._color2id[color];
436
+ if (value) {
437
+ return value;
438
+ }
439
+ if (this._isFrozen) {
440
+ throw new Error(`Missing color in color map - ${color}`);
441
+ }
442
+ value = ++this._lastColorId;
443
+ this._color2id[color] = value;
444
+ this._id2color[value] = color;
445
+ return value;
446
+ }
447
+ getColorMap() {
448
+ return this._id2color.slice(0);
449
+ }
450
+ };
451
+ var emptyParentScopes = Object.freeze([]);
452
+ var ThemeTrieElementRule = class _ThemeTrieElementRule {
453
+ constructor(scopeDepth, parentScopes, fontStyle, foreground, background) {
454
+ __publicField(this, "scopeDepth");
455
+ __publicField(this, "parentScopes");
456
+ __publicField(this, "fontStyle");
457
+ __publicField(this, "foreground");
458
+ __publicField(this, "background");
459
+ this.scopeDepth = scopeDepth;
460
+ this.parentScopes = parentScopes || emptyParentScopes;
461
+ this.fontStyle = fontStyle;
462
+ this.foreground = foreground;
463
+ this.background = background;
464
+ }
465
+ clone() {
466
+ return new _ThemeTrieElementRule(this.scopeDepth, this.parentScopes, this.fontStyle, this.foreground, this.background);
467
+ }
468
+ static cloneArr(arr) {
469
+ let r = [];
470
+ for (let i = 0, len = arr.length; i < len; i++) {
471
+ r[i] = arr[i].clone();
472
+ }
473
+ return r;
474
+ }
475
+ acceptOverwrite(scopeDepth, fontStyle, foreground, background) {
476
+ if (this.scopeDepth > scopeDepth) {
477
+ console.log("how did this happen?");
478
+ } else {
479
+ this.scopeDepth = scopeDepth;
480
+ }
481
+ if (fontStyle !== -1) {
482
+ this.fontStyle = fontStyle;
483
+ }
484
+ if (foreground !== 0) {
485
+ this.foreground = foreground;
486
+ }
487
+ if (background !== 0) {
488
+ this.background = background;
489
+ }
490
+ }
491
+ };
492
+ var ThemeTrieElement = class _ThemeTrieElement {
493
+ constructor(_mainRule, rulesWithParentScopes = [], _children = {}) {
494
+ __publicField(this, "_rulesWithParentScopes");
495
+ this._mainRule = _mainRule;
496
+ this._children = _children;
497
+ this._rulesWithParentScopes = rulesWithParentScopes;
498
+ }
499
+ static _cmpBySpecificity(a, b) {
500
+ if (a.scopeDepth !== b.scopeDepth) {
501
+ return b.scopeDepth - a.scopeDepth;
502
+ }
503
+ let aParentIndex = 0;
504
+ let bParentIndex = 0;
505
+ while (true) {
506
+ if (a.parentScopes[aParentIndex] === ">") {
507
+ aParentIndex++;
508
+ }
509
+ if (b.parentScopes[bParentIndex] === ">") {
510
+ bParentIndex++;
511
+ }
512
+ if (aParentIndex >= a.parentScopes.length || bParentIndex >= b.parentScopes.length) {
513
+ break;
514
+ }
515
+ const parentScopeLengthDiff = b.parentScopes[bParentIndex].length - a.parentScopes[aParentIndex].length;
516
+ if (parentScopeLengthDiff !== 0) {
517
+ return parentScopeLengthDiff;
518
+ }
519
+ aParentIndex++;
520
+ bParentIndex++;
521
+ }
522
+ return b.parentScopes.length - a.parentScopes.length;
523
+ }
524
+ match(scope) {
525
+ if (scope !== "") {
526
+ let dotIndex = scope.indexOf(".");
527
+ let head;
528
+ let tail;
529
+ if (dotIndex === -1) {
530
+ head = scope;
531
+ tail = "";
532
+ } else {
533
+ head = scope.substring(0, dotIndex);
534
+ tail = scope.substring(dotIndex + 1);
535
+ }
536
+ if (this._children.hasOwnProperty(head)) {
537
+ return this._children[head].match(tail);
538
+ }
539
+ }
540
+ const rules = this._rulesWithParentScopes.concat(this._mainRule);
541
+ rules.sort(_ThemeTrieElement._cmpBySpecificity);
542
+ return rules;
543
+ }
544
+ insert(scopeDepth, scope, parentScopes, fontStyle, foreground, background) {
545
+ if (scope === "") {
546
+ this._doInsertHere(scopeDepth, parentScopes, fontStyle, foreground, background);
547
+ return;
548
+ }
549
+ let dotIndex = scope.indexOf(".");
550
+ let head;
551
+ let tail;
552
+ if (dotIndex === -1) {
553
+ head = scope;
554
+ tail = "";
555
+ } else {
556
+ head = scope.substring(0, dotIndex);
557
+ tail = scope.substring(dotIndex + 1);
558
+ }
559
+ let child;
560
+ if (this._children.hasOwnProperty(head)) {
561
+ child = this._children[head];
562
+ } else {
563
+ child = new _ThemeTrieElement(this._mainRule.clone(), ThemeTrieElementRule.cloneArr(this._rulesWithParentScopes));
564
+ this._children[head] = child;
565
+ }
566
+ child.insert(scopeDepth + 1, tail, parentScopes, fontStyle, foreground, background);
567
+ }
568
+ _doInsertHere(scopeDepth, parentScopes, fontStyle, foreground, background) {
569
+ if (parentScopes === null) {
570
+ this._mainRule.acceptOverwrite(scopeDepth, fontStyle, foreground, background);
571
+ return;
572
+ }
573
+ for (let i = 0, len = this._rulesWithParentScopes.length; i < len; i++) {
574
+ let rule = this._rulesWithParentScopes[i];
575
+ if (strArrCmp(rule.parentScopes, parentScopes) === 0) {
576
+ rule.acceptOverwrite(scopeDepth, fontStyle, foreground, background);
577
+ return;
578
+ }
579
+ }
580
+ if (fontStyle === -1) {
581
+ fontStyle = this._mainRule.fontStyle;
582
+ }
583
+ if (foreground === 0) {
584
+ foreground = this._mainRule.foreground;
585
+ }
586
+ if (background === 0) {
587
+ background = this._mainRule.background;
588
+ }
589
+ this._rulesWithParentScopes.push(new ThemeTrieElementRule(scopeDepth, parentScopes, fontStyle, foreground, background));
590
+ }
591
+ };
592
+ var EncodedTokenMetadata = class _EncodedTokenMetadata {
593
+ static toBinaryStr(encodedTokenAttributes) {
594
+ return encodedTokenAttributes.toString(2).padStart(32, "0");
595
+ }
596
+ static print(encodedTokenAttributes) {
597
+ const languageId = _EncodedTokenMetadata.getLanguageId(encodedTokenAttributes);
598
+ const tokenType = _EncodedTokenMetadata.getTokenType(encodedTokenAttributes);
599
+ const fontStyle = _EncodedTokenMetadata.getFontStyle(encodedTokenAttributes);
600
+ const foreground = _EncodedTokenMetadata.getForeground(encodedTokenAttributes);
601
+ const background = _EncodedTokenMetadata.getBackground(encodedTokenAttributes);
602
+ console.log({
603
+ languageId,
604
+ tokenType,
605
+ fontStyle,
606
+ foreground,
607
+ background
608
+ });
609
+ }
610
+ static getLanguageId(encodedTokenAttributes) {
611
+ return (encodedTokenAttributes & 255) >>> 0;
612
+ }
613
+ static getTokenType(encodedTokenAttributes) {
614
+ return (encodedTokenAttributes & 768) >>> 8;
615
+ }
616
+ static containsBalancedBrackets(encodedTokenAttributes) {
617
+ return (encodedTokenAttributes & 1024) !== 0;
618
+ }
619
+ static getFontStyle(encodedTokenAttributes) {
620
+ return (encodedTokenAttributes & 30720) >>> 11;
621
+ }
622
+ static getForeground(encodedTokenAttributes) {
623
+ return (encodedTokenAttributes & 16744448) >>> 15;
624
+ }
625
+ static getBackground(encodedTokenAttributes) {
626
+ return (encodedTokenAttributes & 4278190080) >>> 24;
627
+ }
628
+ /**
629
+ * Updates the fields in `metadata`.
630
+ * A value of `0`, `NotSet` or `null` indicates that the corresponding field should be left as is.
631
+ */
632
+ static set(encodedTokenAttributes, languageId, tokenType, containsBalancedBrackets, fontStyle, foreground, background) {
633
+ let _languageId = _EncodedTokenMetadata.getLanguageId(encodedTokenAttributes);
634
+ let _tokenType = _EncodedTokenMetadata.getTokenType(encodedTokenAttributes);
635
+ let _containsBalancedBracketsBit = _EncodedTokenMetadata.containsBalancedBrackets(encodedTokenAttributes) ? 1 : 0;
636
+ let _fontStyle = _EncodedTokenMetadata.getFontStyle(encodedTokenAttributes);
637
+ let _foreground = _EncodedTokenMetadata.getForeground(encodedTokenAttributes);
638
+ let _background = _EncodedTokenMetadata.getBackground(encodedTokenAttributes);
639
+ if (languageId !== 0) {
640
+ _languageId = languageId;
641
+ }
642
+ if (tokenType !== 8) {
643
+ _tokenType = fromOptionalTokenType(tokenType);
644
+ }
645
+ if (containsBalancedBrackets !== null) {
646
+ _containsBalancedBracketsBit = containsBalancedBrackets ? 1 : 0;
647
+ }
648
+ if (fontStyle !== -1) {
649
+ _fontStyle = fontStyle;
650
+ }
651
+ if (foreground !== 0) {
652
+ _foreground = foreground;
653
+ }
654
+ if (background !== 0) {
655
+ _background = background;
656
+ }
657
+ return (_languageId << 0 | _tokenType << 8 | _containsBalancedBracketsBit << 10 | _fontStyle << 11 | _foreground << 15 | _background << 24) >>> 0;
658
+ }
659
+ };
660
+ function toOptionalTokenType(standardType) {
661
+ return standardType;
662
+ }
663
+ function fromOptionalTokenType(standardType) {
664
+ return standardType;
665
+ }
666
+ function createMatchers(selector, matchesName) {
667
+ const results = [];
668
+ const tokenizer = newTokenizer(selector);
669
+ let token = tokenizer.next();
670
+ while (token !== null) {
671
+ let priority = 0;
672
+ if (token.length === 2 && token.charAt(1) === ":") {
673
+ switch (token.charAt(0)) {
674
+ case "R":
675
+ priority = 1;
676
+ break;
677
+ case "L":
678
+ priority = -1;
679
+ break;
680
+ default:
681
+ console.log(`Unknown priority ${token} in scope selector`);
682
+ }
683
+ token = tokenizer.next();
684
+ }
685
+ let matcher = parseConjunction();
686
+ results.push({ matcher, priority });
687
+ if (token !== ",") {
688
+ break;
689
+ }
690
+ token = tokenizer.next();
691
+ }
692
+ return results;
693
+ function parseOperand() {
694
+ if (token === "-") {
695
+ token = tokenizer.next();
696
+ const expressionToNegate = parseOperand();
697
+ return (matcherInput) => !!expressionToNegate && !expressionToNegate(matcherInput);
698
+ }
699
+ if (token === "(") {
700
+ token = tokenizer.next();
701
+ const expressionInParents = parseInnerExpression();
702
+ if (token === ")") {
703
+ token = tokenizer.next();
704
+ }
705
+ return expressionInParents;
706
+ }
707
+ if (isIdentifier(token)) {
708
+ const identifiers = [];
709
+ do {
710
+ identifiers.push(token);
711
+ token = tokenizer.next();
712
+ } while (isIdentifier(token));
713
+ return (matcherInput) => matchesName(identifiers, matcherInput);
714
+ }
715
+ return null;
716
+ }
717
+ function parseConjunction() {
718
+ const matchers = [];
719
+ let matcher = parseOperand();
720
+ while (matcher) {
721
+ matchers.push(matcher);
722
+ matcher = parseOperand();
723
+ }
724
+ return (matcherInput) => matchers.every((matcher2) => matcher2(matcherInput));
725
+ }
726
+ function parseInnerExpression() {
727
+ const matchers = [];
728
+ let matcher = parseConjunction();
729
+ while (matcher) {
730
+ matchers.push(matcher);
731
+ if (token === "|" || token === ",") {
732
+ do {
733
+ token = tokenizer.next();
734
+ } while (token === "|" || token === ",");
735
+ } else {
736
+ break;
737
+ }
738
+ matcher = parseConjunction();
739
+ }
740
+ return (matcherInput) => matchers.some((matcher2) => matcher2(matcherInput));
741
+ }
742
+ }
743
+ function isIdentifier(token) {
744
+ return !!token && !!token.match(/[\w\.:]+/);
745
+ }
746
+ function newTokenizer(input) {
747
+ let regex = /([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g;
748
+ let match = regex.exec(input);
749
+ return {
750
+ next: () => {
751
+ if (!match) {
752
+ return null;
753
+ }
754
+ const res = match[0];
755
+ match = regex.exec(input);
756
+ return res;
757
+ }
758
+ };
759
+ }
760
+ function disposeOnigString(str) {
761
+ if (typeof str.dispose === "function") {
762
+ str.dispose();
763
+ }
764
+ }
765
+ var TopLevelRuleReference = class {
766
+ constructor(scopeName) {
767
+ this.scopeName = scopeName;
768
+ }
769
+ toKey() {
770
+ return this.scopeName;
771
+ }
772
+ };
773
+ var TopLevelRepositoryRuleReference = class {
774
+ constructor(scopeName, ruleName) {
775
+ this.scopeName = scopeName;
776
+ this.ruleName = ruleName;
777
+ }
778
+ toKey() {
779
+ return `${this.scopeName}#${this.ruleName}`;
780
+ }
781
+ };
782
+ var ExternalReferenceCollector = class {
783
+ constructor() {
784
+ __publicField(this, "_references", []);
785
+ __publicField(this, "_seenReferenceKeys", /* @__PURE__ */ new Set());
786
+ __publicField(this, "visitedRule", /* @__PURE__ */ new Set());
787
+ }
788
+ get references() {
789
+ return this._references;
790
+ }
791
+ add(reference) {
792
+ const key = reference.toKey();
793
+ if (this._seenReferenceKeys.has(key)) {
794
+ return;
795
+ }
796
+ this._seenReferenceKeys.add(key);
797
+ this._references.push(reference);
798
+ }
799
+ };
800
+ var ScopeDependencyProcessor = class {
801
+ constructor(repo, initialScopeName) {
802
+ __publicField(this, "seenFullScopeRequests", /* @__PURE__ */ new Set());
803
+ __publicField(this, "seenPartialScopeRequests", /* @__PURE__ */ new Set());
804
+ __publicField(this, "Q");
805
+ this.repo = repo;
806
+ this.initialScopeName = initialScopeName;
807
+ this.seenFullScopeRequests.add(this.initialScopeName);
808
+ this.Q = [new TopLevelRuleReference(this.initialScopeName)];
809
+ }
810
+ processQueue() {
811
+ const q = this.Q;
812
+ this.Q = [];
813
+ const deps = new ExternalReferenceCollector();
814
+ for (const dep of q) {
815
+ collectReferencesOfReference(dep, this.initialScopeName, this.repo, deps);
816
+ }
817
+ for (const dep of deps.references) {
818
+ if (dep instanceof TopLevelRuleReference) {
819
+ if (this.seenFullScopeRequests.has(dep.scopeName)) {
820
+ continue;
821
+ }
822
+ this.seenFullScopeRequests.add(dep.scopeName);
823
+ this.Q.push(dep);
824
+ } else {
825
+ if (this.seenFullScopeRequests.has(dep.scopeName)) {
826
+ continue;
827
+ }
828
+ if (this.seenPartialScopeRequests.has(dep.toKey())) {
829
+ continue;
830
+ }
831
+ this.seenPartialScopeRequests.add(dep.toKey());
832
+ this.Q.push(dep);
833
+ }
834
+ }
835
+ }
836
+ };
837
+ function collectReferencesOfReference(reference, baseGrammarScopeName, repo, result) {
838
+ const selfGrammar = repo.lookup(reference.scopeName);
839
+ if (!selfGrammar) {
840
+ if (reference.scopeName === baseGrammarScopeName) {
841
+ throw new Error(`No grammar provided for <${baseGrammarScopeName}>`);
842
+ }
843
+ return;
844
+ }
845
+ const baseGrammar = repo.lookup(baseGrammarScopeName);
846
+ if (reference instanceof TopLevelRuleReference) {
847
+ collectExternalReferencesInTopLevelRule({ baseGrammar, selfGrammar }, result);
848
+ } else {
849
+ collectExternalReferencesInTopLevelRepositoryRule(
850
+ reference.ruleName,
851
+ { baseGrammar, selfGrammar, repository: selfGrammar.repository },
852
+ result
853
+ );
854
+ }
855
+ const injections = repo.injections(reference.scopeName);
856
+ if (injections) {
857
+ for (const injection of injections) {
858
+ result.add(new TopLevelRuleReference(injection));
859
+ }
860
+ }
861
+ }
862
+ function collectExternalReferencesInTopLevelRepositoryRule(ruleName, context, result) {
863
+ if (context.repository && context.repository[ruleName]) {
864
+ const rule = context.repository[ruleName];
865
+ collectExternalReferencesInRules([rule], context, result);
866
+ }
867
+ }
868
+ function collectExternalReferencesInTopLevelRule(context, result) {
869
+ if (context.selfGrammar.patterns && Array.isArray(context.selfGrammar.patterns)) {
870
+ collectExternalReferencesInRules(
871
+ context.selfGrammar.patterns,
872
+ { ...context, repository: context.selfGrammar.repository },
873
+ result
874
+ );
875
+ }
876
+ if (context.selfGrammar.injections) {
877
+ collectExternalReferencesInRules(
878
+ Object.values(context.selfGrammar.injections),
879
+ { ...context, repository: context.selfGrammar.repository },
880
+ result
881
+ );
882
+ }
883
+ }
884
+ function collectExternalReferencesInRules(rules, context, result) {
885
+ for (const rule of rules) {
886
+ if (result.visitedRule.has(rule)) {
887
+ continue;
888
+ }
889
+ result.visitedRule.add(rule);
890
+ const patternRepository = rule.repository ? mergeObjects({}, context.repository, rule.repository) : context.repository;
891
+ if (Array.isArray(rule.patterns)) {
892
+ collectExternalReferencesInRules(rule.patterns, { ...context, repository: patternRepository }, result);
893
+ }
894
+ const include = rule.include;
895
+ if (!include) {
896
+ continue;
897
+ }
898
+ const reference = parseInclude(include);
899
+ switch (reference.kind) {
900
+ case 0:
901
+ collectExternalReferencesInTopLevelRule({ ...context, selfGrammar: context.baseGrammar }, result);
902
+ break;
903
+ case 1:
904
+ collectExternalReferencesInTopLevelRule(context, result);
905
+ break;
906
+ case 2:
907
+ collectExternalReferencesInTopLevelRepositoryRule(reference.ruleName, { ...context, repository: patternRepository }, result);
908
+ break;
909
+ case 3:
910
+ case 4:
911
+ const selfGrammar = reference.scopeName === context.selfGrammar.scopeName ? context.selfGrammar : reference.scopeName === context.baseGrammar.scopeName ? context.baseGrammar : void 0;
912
+ if (selfGrammar) {
913
+ const newContext = { baseGrammar: context.baseGrammar, selfGrammar, repository: patternRepository };
914
+ if (reference.kind === 4) {
915
+ collectExternalReferencesInTopLevelRepositoryRule(reference.ruleName, newContext, result);
916
+ } else {
917
+ collectExternalReferencesInTopLevelRule(newContext, result);
918
+ }
919
+ } else {
920
+ if (reference.kind === 4) {
921
+ result.add(new TopLevelRepositoryRuleReference(reference.scopeName, reference.ruleName));
922
+ } else {
923
+ result.add(new TopLevelRuleReference(reference.scopeName));
924
+ }
925
+ }
926
+ break;
927
+ }
928
+ }
929
+ }
930
+ var BaseReference = class {
931
+ constructor() {
932
+ __publicField(this, "kind", 0);
933
+ }
934
+ };
935
+ var SelfReference = class {
936
+ constructor() {
937
+ __publicField(this, "kind", 1);
938
+ }
939
+ };
940
+ var RelativeReference = class {
941
+ constructor(ruleName) {
942
+ __publicField(this, "kind", 2);
943
+ this.ruleName = ruleName;
944
+ }
945
+ };
946
+ var TopLevelReference = class {
947
+ constructor(scopeName) {
948
+ __publicField(this, "kind", 3);
949
+ this.scopeName = scopeName;
950
+ }
951
+ };
952
+ var TopLevelRepositoryReference = class {
953
+ constructor(scopeName, ruleName) {
954
+ __publicField(this, "kind", 4);
955
+ this.scopeName = scopeName;
956
+ this.ruleName = ruleName;
957
+ }
958
+ };
959
+ function parseInclude(include) {
960
+ if (include === "$base") {
961
+ return new BaseReference();
962
+ } else if (include === "$self") {
963
+ return new SelfReference();
964
+ }
965
+ const indexOfSharp = include.indexOf("#");
966
+ if (indexOfSharp === -1) {
967
+ return new TopLevelReference(include);
968
+ } else if (indexOfSharp === 0) {
969
+ return new RelativeReference(include.substring(1));
970
+ } else {
971
+ const scopeName = include.substring(0, indexOfSharp);
972
+ const ruleName = include.substring(indexOfSharp + 1);
973
+ return new TopLevelRepositoryReference(scopeName, ruleName);
974
+ }
975
+ }
976
+ var HAS_BACK_REFERENCES = /\\(\d+)/;
977
+ var BACK_REFERENCING_END = /\\(\d+)/g;
978
+ var endRuleId = -1;
979
+ var whileRuleId = -2;
980
+ function ruleIdFromNumber(id) {
981
+ return id;
982
+ }
983
+ function ruleIdToNumber(id) {
984
+ return id;
985
+ }
986
+ var Rule = class {
987
+ constructor($location, id, name, contentName) {
988
+ __publicField(this, "$location");
989
+ __publicField(this, "id");
990
+ __publicField(this, "_nameIsCapturing");
991
+ __publicField(this, "_name");
992
+ __publicField(this, "_contentNameIsCapturing");
993
+ __publicField(this, "_contentName");
994
+ this.$location = $location;
995
+ this.id = id;
996
+ this._name = name || null;
997
+ this._nameIsCapturing = RegexSource.hasCaptures(this._name);
998
+ this._contentName = contentName || null;
999
+ this._contentNameIsCapturing = RegexSource.hasCaptures(this._contentName);
1000
+ }
1001
+ get debugName() {
1002
+ const location = this.$location ? `${basename(this.$location.filename)}:${this.$location.line}` : "unknown";
1003
+ return `${this.constructor.name}#${this.id} @ ${location}`;
1004
+ }
1005
+ getName(lineText, captureIndices) {
1006
+ if (!this._nameIsCapturing || this._name === null || lineText === null || captureIndices === null) {
1007
+ return this._name;
1008
+ }
1009
+ return RegexSource.replaceCaptures(this._name, lineText, captureIndices);
1010
+ }
1011
+ getContentName(lineText, captureIndices) {
1012
+ if (!this._contentNameIsCapturing || this._contentName === null) {
1013
+ return this._contentName;
1014
+ }
1015
+ return RegexSource.replaceCaptures(this._contentName, lineText, captureIndices);
1016
+ }
1017
+ };
1018
+ var CaptureRule = class extends Rule {
1019
+ constructor($location, id, name, contentName, retokenizeCapturedWithRuleId) {
1020
+ super($location, id, name, contentName);
1021
+ __publicField(this, "retokenizeCapturedWithRuleId");
1022
+ this.retokenizeCapturedWithRuleId = retokenizeCapturedWithRuleId;
1023
+ }
1024
+ dispose() {
1025
+ }
1026
+ collectPatterns(grammar, out) {
1027
+ throw new Error("Not supported!");
1028
+ }
1029
+ compile(grammar, endRegexSource) {
1030
+ throw new Error("Not supported!");
1031
+ }
1032
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1033
+ throw new Error("Not supported!");
1034
+ }
1035
+ };
1036
+ var MatchRule = class extends Rule {
1037
+ constructor($location, id, name, match, captures) {
1038
+ super($location, id, name, null);
1039
+ __publicField(this, "_match");
1040
+ __publicField(this, "captures");
1041
+ __publicField(this, "_cachedCompiledPatterns");
1042
+ this._match = new RegExpSource(match, this.id);
1043
+ this.captures = captures;
1044
+ this._cachedCompiledPatterns = null;
1045
+ }
1046
+ dispose() {
1047
+ if (this._cachedCompiledPatterns) {
1048
+ this._cachedCompiledPatterns.dispose();
1049
+ this._cachedCompiledPatterns = null;
1050
+ }
1051
+ }
1052
+ get debugMatchRegExp() {
1053
+ return `${this._match.source}`;
1054
+ }
1055
+ collectPatterns(grammar, out) {
1056
+ out.push(this._match);
1057
+ }
1058
+ compile(grammar, endRegexSource) {
1059
+ return this._getCachedCompiledPatterns(grammar).compile(grammar);
1060
+ }
1061
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1062
+ return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
1063
+ }
1064
+ _getCachedCompiledPatterns(grammar) {
1065
+ if (!this._cachedCompiledPatterns) {
1066
+ this._cachedCompiledPatterns = new RegExpSourceList();
1067
+ this.collectPatterns(grammar, this._cachedCompiledPatterns);
1068
+ }
1069
+ return this._cachedCompiledPatterns;
1070
+ }
1071
+ };
1072
+ var IncludeOnlyRule = class extends Rule {
1073
+ constructor($location, id, name, contentName, patterns) {
1074
+ super($location, id, name, contentName);
1075
+ __publicField(this, "hasMissingPatterns");
1076
+ __publicField(this, "patterns");
1077
+ __publicField(this, "_cachedCompiledPatterns");
1078
+ this.patterns = patterns.patterns;
1079
+ this.hasMissingPatterns = patterns.hasMissingPatterns;
1080
+ this._cachedCompiledPatterns = null;
1081
+ }
1082
+ dispose() {
1083
+ if (this._cachedCompiledPatterns) {
1084
+ this._cachedCompiledPatterns.dispose();
1085
+ this._cachedCompiledPatterns = null;
1086
+ }
1087
+ }
1088
+ collectPatterns(grammar, out) {
1089
+ for (const pattern of this.patterns) {
1090
+ const rule = grammar.getRule(pattern);
1091
+ rule.collectPatterns(grammar, out);
1092
+ }
1093
+ }
1094
+ compile(grammar, endRegexSource) {
1095
+ return this._getCachedCompiledPatterns(grammar).compile(grammar);
1096
+ }
1097
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1098
+ return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
1099
+ }
1100
+ _getCachedCompiledPatterns(grammar) {
1101
+ if (!this._cachedCompiledPatterns) {
1102
+ this._cachedCompiledPatterns = new RegExpSourceList();
1103
+ this.collectPatterns(grammar, this._cachedCompiledPatterns);
1104
+ }
1105
+ return this._cachedCompiledPatterns;
1106
+ }
1107
+ };
1108
+ var BeginEndRule = class extends Rule {
1109
+ constructor($location, id, name, contentName, begin, beginCaptures, end, endCaptures, applyEndPatternLast, patterns) {
1110
+ super($location, id, name, contentName);
1111
+ __publicField(this, "_begin");
1112
+ __publicField(this, "beginCaptures");
1113
+ __publicField(this, "_end");
1114
+ __publicField(this, "endHasBackReferences");
1115
+ __publicField(this, "endCaptures");
1116
+ __publicField(this, "applyEndPatternLast");
1117
+ __publicField(this, "hasMissingPatterns");
1118
+ __publicField(this, "patterns");
1119
+ __publicField(this, "_cachedCompiledPatterns");
1120
+ this._begin = new RegExpSource(begin, this.id);
1121
+ this.beginCaptures = beginCaptures;
1122
+ this._end = new RegExpSource(end ? end : "￿", -1);
1123
+ this.endHasBackReferences = this._end.hasBackReferences;
1124
+ this.endCaptures = endCaptures;
1125
+ this.applyEndPatternLast = applyEndPatternLast || false;
1126
+ this.patterns = patterns.patterns;
1127
+ this.hasMissingPatterns = patterns.hasMissingPatterns;
1128
+ this._cachedCompiledPatterns = null;
1129
+ }
1130
+ dispose() {
1131
+ if (this._cachedCompiledPatterns) {
1132
+ this._cachedCompiledPatterns.dispose();
1133
+ this._cachedCompiledPatterns = null;
1134
+ }
1135
+ }
1136
+ get debugBeginRegExp() {
1137
+ return `${this._begin.source}`;
1138
+ }
1139
+ get debugEndRegExp() {
1140
+ return `${this._end.source}`;
1141
+ }
1142
+ getEndWithResolvedBackReferences(lineText, captureIndices) {
1143
+ return this._end.resolveBackReferences(lineText, captureIndices);
1144
+ }
1145
+ collectPatterns(grammar, out) {
1146
+ out.push(this._begin);
1147
+ }
1148
+ compile(grammar, endRegexSource) {
1149
+ return this._getCachedCompiledPatterns(grammar, endRegexSource).compile(grammar);
1150
+ }
1151
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1152
+ return this._getCachedCompiledPatterns(grammar, endRegexSource).compileAG(grammar, allowA, allowG);
1153
+ }
1154
+ _getCachedCompiledPatterns(grammar, endRegexSource) {
1155
+ if (!this._cachedCompiledPatterns) {
1156
+ this._cachedCompiledPatterns = new RegExpSourceList();
1157
+ for (const pattern of this.patterns) {
1158
+ const rule = grammar.getRule(pattern);
1159
+ rule.collectPatterns(grammar, this._cachedCompiledPatterns);
1160
+ }
1161
+ if (this.applyEndPatternLast) {
1162
+ this._cachedCompiledPatterns.push(this._end.hasBackReferences ? this._end.clone() : this._end);
1163
+ } else {
1164
+ this._cachedCompiledPatterns.unshift(this._end.hasBackReferences ? this._end.clone() : this._end);
1165
+ }
1166
+ }
1167
+ if (this._end.hasBackReferences) {
1168
+ if (this.applyEndPatternLast) {
1169
+ this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length() - 1, endRegexSource);
1170
+ } else {
1171
+ this._cachedCompiledPatterns.setSource(0, endRegexSource);
1172
+ }
1173
+ }
1174
+ return this._cachedCompiledPatterns;
1175
+ }
1176
+ };
1177
+ var BeginWhileRule = class extends Rule {
1178
+ constructor($location, id, name, contentName, begin, beginCaptures, _while, whileCaptures, patterns) {
1179
+ super($location, id, name, contentName);
1180
+ __publicField(this, "_begin");
1181
+ __publicField(this, "beginCaptures");
1182
+ __publicField(this, "whileCaptures");
1183
+ __publicField(this, "_while");
1184
+ __publicField(this, "whileHasBackReferences");
1185
+ __publicField(this, "hasMissingPatterns");
1186
+ __publicField(this, "patterns");
1187
+ __publicField(this, "_cachedCompiledPatterns");
1188
+ __publicField(this, "_cachedCompiledWhilePatterns");
1189
+ this._begin = new RegExpSource(begin, this.id);
1190
+ this.beginCaptures = beginCaptures;
1191
+ this.whileCaptures = whileCaptures;
1192
+ this._while = new RegExpSource(_while, whileRuleId);
1193
+ this.whileHasBackReferences = this._while.hasBackReferences;
1194
+ this.patterns = patterns.patterns;
1195
+ this.hasMissingPatterns = patterns.hasMissingPatterns;
1196
+ this._cachedCompiledPatterns = null;
1197
+ this._cachedCompiledWhilePatterns = null;
1198
+ }
1199
+ dispose() {
1200
+ if (this._cachedCompiledPatterns) {
1201
+ this._cachedCompiledPatterns.dispose();
1202
+ this._cachedCompiledPatterns = null;
1203
+ }
1204
+ if (this._cachedCompiledWhilePatterns) {
1205
+ this._cachedCompiledWhilePatterns.dispose();
1206
+ this._cachedCompiledWhilePatterns = null;
1207
+ }
1208
+ }
1209
+ get debugBeginRegExp() {
1210
+ return `${this._begin.source}`;
1211
+ }
1212
+ get debugWhileRegExp() {
1213
+ return `${this._while.source}`;
1214
+ }
1215
+ getWhileWithResolvedBackReferences(lineText, captureIndices) {
1216
+ return this._while.resolveBackReferences(lineText, captureIndices);
1217
+ }
1218
+ collectPatterns(grammar, out) {
1219
+ out.push(this._begin);
1220
+ }
1221
+ compile(grammar, endRegexSource) {
1222
+ return this._getCachedCompiledPatterns(grammar).compile(grammar);
1223
+ }
1224
+ compileAG(grammar, endRegexSource, allowA, allowG) {
1225
+ return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
1226
+ }
1227
+ _getCachedCompiledPatterns(grammar) {
1228
+ if (!this._cachedCompiledPatterns) {
1229
+ this._cachedCompiledPatterns = new RegExpSourceList();
1230
+ for (const pattern of this.patterns) {
1231
+ const rule = grammar.getRule(pattern);
1232
+ rule.collectPatterns(grammar, this._cachedCompiledPatterns);
1233
+ }
1234
+ }
1235
+ return this._cachedCompiledPatterns;
1236
+ }
1237
+ compileWhile(grammar, endRegexSource) {
1238
+ return this._getCachedCompiledWhilePatterns(grammar, endRegexSource).compile(grammar);
1239
+ }
1240
+ compileWhileAG(grammar, endRegexSource, allowA, allowG) {
1241
+ return this._getCachedCompiledWhilePatterns(grammar, endRegexSource).compileAG(grammar, allowA, allowG);
1242
+ }
1243
+ _getCachedCompiledWhilePatterns(grammar, endRegexSource) {
1244
+ if (!this._cachedCompiledWhilePatterns) {
1245
+ this._cachedCompiledWhilePatterns = new RegExpSourceList();
1246
+ this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences ? this._while.clone() : this._while);
1247
+ }
1248
+ if (this._while.hasBackReferences) {
1249
+ this._cachedCompiledWhilePatterns.setSource(0, endRegexSource ? endRegexSource : "￿");
1250
+ }
1251
+ return this._cachedCompiledWhilePatterns;
1252
+ }
1253
+ };
1254
+ var RuleFactory = class _RuleFactory {
1255
+ static createCaptureRule(helper, $location, name, contentName, retokenizeCapturedWithRuleId) {
1256
+ return helper.registerRule((id) => {
1257
+ return new CaptureRule($location, id, name, contentName, retokenizeCapturedWithRuleId);
1258
+ });
1259
+ }
1260
+ static getCompiledRuleId(desc, helper, repository) {
1261
+ if (!desc.id) {
1262
+ helper.registerRule((id) => {
1263
+ desc.id = id;
1264
+ if (desc.match) {
1265
+ return new MatchRule(
1266
+ desc.$vscodeTextmateLocation,
1267
+ desc.id,
1268
+ desc.name,
1269
+ desc.match,
1270
+ _RuleFactory._compileCaptures(desc.captures, helper, repository)
1271
+ );
1272
+ }
1273
+ if (typeof desc.begin === "undefined") {
1274
+ if (desc.repository) {
1275
+ repository = mergeObjects({}, repository, desc.repository);
1276
+ }
1277
+ let patterns = desc.patterns;
1278
+ if (typeof patterns === "undefined" && desc.include) {
1279
+ patterns = [{ include: desc.include }];
1280
+ }
1281
+ return new IncludeOnlyRule(
1282
+ desc.$vscodeTextmateLocation,
1283
+ desc.id,
1284
+ desc.name,
1285
+ desc.contentName,
1286
+ _RuleFactory._compilePatterns(patterns, helper, repository)
1287
+ );
1288
+ }
1289
+ if (desc.while) {
1290
+ return new BeginWhileRule(
1291
+ desc.$vscodeTextmateLocation,
1292
+ desc.id,
1293
+ desc.name,
1294
+ desc.contentName,
1295
+ desc.begin,
1296
+ _RuleFactory._compileCaptures(desc.beginCaptures || desc.captures, helper, repository),
1297
+ desc.while,
1298
+ _RuleFactory._compileCaptures(desc.whileCaptures || desc.captures, helper, repository),
1299
+ _RuleFactory._compilePatterns(desc.patterns, helper, repository)
1300
+ );
1301
+ }
1302
+ return new BeginEndRule(
1303
+ desc.$vscodeTextmateLocation,
1304
+ desc.id,
1305
+ desc.name,
1306
+ desc.contentName,
1307
+ desc.begin,
1308
+ _RuleFactory._compileCaptures(desc.beginCaptures || desc.captures, helper, repository),
1309
+ desc.end,
1310
+ _RuleFactory._compileCaptures(desc.endCaptures || desc.captures, helper, repository),
1311
+ desc.applyEndPatternLast,
1312
+ _RuleFactory._compilePatterns(desc.patterns, helper, repository)
1313
+ );
1314
+ });
1315
+ }
1316
+ return desc.id;
1317
+ }
1318
+ static _compileCaptures(captures, helper, repository) {
1319
+ let r = [];
1320
+ if (captures) {
1321
+ let maximumCaptureId = 0;
1322
+ for (const captureId in captures) {
1323
+ if (captureId === "$vscodeTextmateLocation") {
1324
+ continue;
1325
+ }
1326
+ const numericCaptureId = parseInt(captureId, 10);
1327
+ if (numericCaptureId > maximumCaptureId) {
1328
+ maximumCaptureId = numericCaptureId;
1329
+ }
1330
+ }
1331
+ for (let i = 0; i <= maximumCaptureId; i++) {
1332
+ r[i] = null;
1333
+ }
1334
+ for (const captureId in captures) {
1335
+ if (captureId === "$vscodeTextmateLocation") {
1336
+ continue;
1337
+ }
1338
+ const numericCaptureId = parseInt(captureId, 10);
1339
+ let retokenizeCapturedWithRuleId = 0;
1340
+ if (captures[captureId].patterns) {
1341
+ retokenizeCapturedWithRuleId = _RuleFactory.getCompiledRuleId(captures[captureId], helper, repository);
1342
+ }
1343
+ r[numericCaptureId] = _RuleFactory.createCaptureRule(helper, captures[captureId].$vscodeTextmateLocation, captures[captureId].name, captures[captureId].contentName, retokenizeCapturedWithRuleId);
1344
+ }
1345
+ }
1346
+ return r;
1347
+ }
1348
+ static _compilePatterns(patterns, helper, repository) {
1349
+ let r = [];
1350
+ if (patterns) {
1351
+ for (let i = 0, len = patterns.length; i < len; i++) {
1352
+ const pattern = patterns[i];
1353
+ let ruleId = -1;
1354
+ if (pattern.include) {
1355
+ const reference = parseInclude(pattern.include);
1356
+ switch (reference.kind) {
1357
+ case 0:
1358
+ case 1:
1359
+ ruleId = _RuleFactory.getCompiledRuleId(repository[pattern.include], helper, repository);
1360
+ break;
1361
+ case 2:
1362
+ let localIncludedRule = repository[reference.ruleName];
1363
+ if (localIncludedRule) {
1364
+ ruleId = _RuleFactory.getCompiledRuleId(localIncludedRule, helper, repository);
1365
+ }
1366
+ break;
1367
+ case 3:
1368
+ case 4:
1369
+ const externalGrammarName = reference.scopeName;
1370
+ const externalGrammarInclude = reference.kind === 4 ? reference.ruleName : null;
1371
+ const externalGrammar = helper.getExternalGrammar(externalGrammarName, repository);
1372
+ if (externalGrammar) {
1373
+ if (externalGrammarInclude) {
1374
+ let externalIncludedRule = externalGrammar.repository[externalGrammarInclude];
1375
+ if (externalIncludedRule) {
1376
+ ruleId = _RuleFactory.getCompiledRuleId(externalIncludedRule, helper, externalGrammar.repository);
1377
+ }
1378
+ } else {
1379
+ ruleId = _RuleFactory.getCompiledRuleId(externalGrammar.repository.$self, helper, externalGrammar.repository);
1380
+ }
1381
+ }
1382
+ break;
1383
+ }
1384
+ } else {
1385
+ ruleId = _RuleFactory.getCompiledRuleId(pattern, helper, repository);
1386
+ }
1387
+ if (ruleId !== -1) {
1388
+ const rule = helper.getRule(ruleId);
1389
+ let skipRule = false;
1390
+ if (rule instanceof IncludeOnlyRule || rule instanceof BeginEndRule || rule instanceof BeginWhileRule) {
1391
+ if (rule.hasMissingPatterns && rule.patterns.length === 0) {
1392
+ skipRule = true;
1393
+ }
1394
+ }
1395
+ if (skipRule) {
1396
+ continue;
1397
+ }
1398
+ r.push(ruleId);
1399
+ }
1400
+ }
1401
+ }
1402
+ return {
1403
+ patterns: r,
1404
+ hasMissingPatterns: (patterns ? patterns.length : 0) !== r.length
1405
+ };
1406
+ }
1407
+ };
1408
+ var RegExpSource = class _RegExpSource {
1409
+ constructor(regExpSource, ruleId) {
1410
+ __publicField(this, "source");
1411
+ __publicField(this, "ruleId");
1412
+ __publicField(this, "hasAnchor");
1413
+ __publicField(this, "hasBackReferences");
1414
+ __publicField(this, "_anchorCache");
1415
+ if (regExpSource && typeof regExpSource === "string") {
1416
+ const len = regExpSource.length;
1417
+ let lastPushedPos = 0;
1418
+ let output = [];
1419
+ let hasAnchor = false;
1420
+ for (let pos = 0; pos < len; pos++) {
1421
+ const ch = regExpSource.charAt(pos);
1422
+ if (ch === "\\") {
1423
+ if (pos + 1 < len) {
1424
+ const nextCh = regExpSource.charAt(pos + 1);
1425
+ if (nextCh === "z") {
1426
+ output.push(regExpSource.substring(lastPushedPos, pos));
1427
+ output.push("$(?!\\n)(?<!\\n)");
1428
+ lastPushedPos = pos + 2;
1429
+ } else if (nextCh === "A" || nextCh === "G") {
1430
+ hasAnchor = true;
1431
+ }
1432
+ pos++;
1433
+ }
1434
+ }
1435
+ }
1436
+ this.hasAnchor = hasAnchor;
1437
+ if (lastPushedPos === 0) {
1438
+ this.source = regExpSource;
1439
+ } else {
1440
+ output.push(regExpSource.substring(lastPushedPos, len));
1441
+ this.source = output.join("");
1442
+ }
1443
+ } else {
1444
+ this.hasAnchor = false;
1445
+ this.source = regExpSource;
1446
+ }
1447
+ if (this.hasAnchor) {
1448
+ this._anchorCache = this._buildAnchorCache();
1449
+ } else {
1450
+ this._anchorCache = null;
1451
+ }
1452
+ this.ruleId = ruleId;
1453
+ if (typeof this.source === "string") {
1454
+ this.hasBackReferences = HAS_BACK_REFERENCES.test(this.source);
1455
+ } else {
1456
+ this.hasBackReferences = false;
1457
+ }
1458
+ }
1459
+ clone() {
1460
+ return new _RegExpSource(this.source, this.ruleId);
1461
+ }
1462
+ setSource(newSource) {
1463
+ if (this.source === newSource) {
1464
+ return;
1465
+ }
1466
+ this.source = newSource;
1467
+ if (this.hasAnchor) {
1468
+ this._anchorCache = this._buildAnchorCache();
1469
+ }
1470
+ }
1471
+ resolveBackReferences(lineText, captureIndices) {
1472
+ if (typeof this.source !== "string") {
1473
+ throw new Error("This method should only be called if the source is a string");
1474
+ }
1475
+ let capturedValues = captureIndices.map((capture) => {
1476
+ return lineText.substring(capture.start, capture.end);
1477
+ });
1478
+ BACK_REFERENCING_END.lastIndex = 0;
1479
+ return this.source.replace(BACK_REFERENCING_END, (match, g1) => {
1480
+ return escapeRegExpCharacters(capturedValues[parseInt(g1, 10)] || "");
1481
+ });
1482
+ }
1483
+ _buildAnchorCache() {
1484
+ if (typeof this.source !== "string") {
1485
+ throw new Error("This method should only be called if the source is a string");
1486
+ }
1487
+ let A0_G0_result = [];
1488
+ let A0_G1_result = [];
1489
+ let A1_G0_result = [];
1490
+ let A1_G1_result = [];
1491
+ let pos, len, ch, nextCh;
1492
+ for (pos = 0, len = this.source.length; pos < len; pos++) {
1493
+ ch = this.source.charAt(pos);
1494
+ A0_G0_result[pos] = ch;
1495
+ A0_G1_result[pos] = ch;
1496
+ A1_G0_result[pos] = ch;
1497
+ A1_G1_result[pos] = ch;
1498
+ if (ch === "\\") {
1499
+ if (pos + 1 < len) {
1500
+ nextCh = this.source.charAt(pos + 1);
1501
+ if (nextCh === "A") {
1502
+ A0_G0_result[pos + 1] = "￿";
1503
+ A0_G1_result[pos + 1] = "￿";
1504
+ A1_G0_result[pos + 1] = "A";
1505
+ A1_G1_result[pos + 1] = "A";
1506
+ } else if (nextCh === "G") {
1507
+ A0_G0_result[pos + 1] = "￿";
1508
+ A0_G1_result[pos + 1] = "G";
1509
+ A1_G0_result[pos + 1] = "￿";
1510
+ A1_G1_result[pos + 1] = "G";
1511
+ } else {
1512
+ A0_G0_result[pos + 1] = nextCh;
1513
+ A0_G1_result[pos + 1] = nextCh;
1514
+ A1_G0_result[pos + 1] = nextCh;
1515
+ A1_G1_result[pos + 1] = nextCh;
1516
+ }
1517
+ pos++;
1518
+ }
1519
+ }
1520
+ }
1521
+ return {
1522
+ A0_G0: A0_G0_result.join(""),
1523
+ A0_G1: A0_G1_result.join(""),
1524
+ A1_G0: A1_G0_result.join(""),
1525
+ A1_G1: A1_G1_result.join("")
1526
+ };
1527
+ }
1528
+ resolveAnchors(allowA, allowG) {
1529
+ if (!this.hasAnchor || !this._anchorCache || typeof this.source !== "string") {
1530
+ return this.source;
1531
+ }
1532
+ if (allowA) {
1533
+ if (allowG) {
1534
+ return this._anchorCache.A1_G1;
1535
+ } else {
1536
+ return this._anchorCache.A1_G0;
1537
+ }
1538
+ } else {
1539
+ if (allowG) {
1540
+ return this._anchorCache.A0_G1;
1541
+ } else {
1542
+ return this._anchorCache.A0_G0;
1543
+ }
1544
+ }
1545
+ }
1546
+ };
1547
+ var RegExpSourceList = class {
1548
+ constructor() {
1549
+ __publicField(this, "_items");
1550
+ __publicField(this, "_hasAnchors");
1551
+ __publicField(this, "_cached");
1552
+ __publicField(this, "_anchorCache");
1553
+ this._items = [];
1554
+ this._hasAnchors = false;
1555
+ this._cached = null;
1556
+ this._anchorCache = {
1557
+ A0_G0: null,
1558
+ A0_G1: null,
1559
+ A1_G0: null,
1560
+ A1_G1: null
1561
+ };
1562
+ }
1563
+ dispose() {
1564
+ this._disposeCaches();
1565
+ }
1566
+ _disposeCaches() {
1567
+ if (this._cached) {
1568
+ this._cached.dispose();
1569
+ this._cached = null;
1570
+ }
1571
+ if (this._anchorCache.A0_G0) {
1572
+ this._anchorCache.A0_G0.dispose();
1573
+ this._anchorCache.A0_G0 = null;
1574
+ }
1575
+ if (this._anchorCache.A0_G1) {
1576
+ this._anchorCache.A0_G1.dispose();
1577
+ this._anchorCache.A0_G1 = null;
1578
+ }
1579
+ if (this._anchorCache.A1_G0) {
1580
+ this._anchorCache.A1_G0.dispose();
1581
+ this._anchorCache.A1_G0 = null;
1582
+ }
1583
+ if (this._anchorCache.A1_G1) {
1584
+ this._anchorCache.A1_G1.dispose();
1585
+ this._anchorCache.A1_G1 = null;
1586
+ }
1587
+ }
1588
+ push(item) {
1589
+ this._items.push(item);
1590
+ this._hasAnchors = this._hasAnchors || item.hasAnchor;
1591
+ }
1592
+ unshift(item) {
1593
+ this._items.unshift(item);
1594
+ this._hasAnchors = this._hasAnchors || item.hasAnchor;
1595
+ }
1596
+ length() {
1597
+ return this._items.length;
1598
+ }
1599
+ setSource(index, newSource) {
1600
+ if (this._items[index].source !== newSource) {
1601
+ this._disposeCaches();
1602
+ this._items[index].setSource(newSource);
1603
+ }
1604
+ }
1605
+ compile(onigLib) {
1606
+ if (!this._cached) {
1607
+ let regExps = this._items.map((e) => e.source);
1608
+ this._cached = new CompiledRule(onigLib, regExps, this._items.map((e) => e.ruleId));
1609
+ }
1610
+ return this._cached;
1611
+ }
1612
+ compileAG(onigLib, allowA, allowG) {
1613
+ if (!this._hasAnchors) {
1614
+ return this.compile(onigLib);
1615
+ } else {
1616
+ if (allowA) {
1617
+ if (allowG) {
1618
+ if (!this._anchorCache.A1_G1) {
1619
+ this._anchorCache.A1_G1 = this._resolveAnchors(onigLib, allowA, allowG);
1620
+ }
1621
+ return this._anchorCache.A1_G1;
1622
+ } else {
1623
+ if (!this._anchorCache.A1_G0) {
1624
+ this._anchorCache.A1_G0 = this._resolveAnchors(onigLib, allowA, allowG);
1625
+ }
1626
+ return this._anchorCache.A1_G0;
1627
+ }
1628
+ } else {
1629
+ if (allowG) {
1630
+ if (!this._anchorCache.A0_G1) {
1631
+ this._anchorCache.A0_G1 = this._resolveAnchors(onigLib, allowA, allowG);
1632
+ }
1633
+ return this._anchorCache.A0_G1;
1634
+ } else {
1635
+ if (!this._anchorCache.A0_G0) {
1636
+ this._anchorCache.A0_G0 = this._resolveAnchors(onigLib, allowA, allowG);
1637
+ }
1638
+ return this._anchorCache.A0_G0;
1639
+ }
1640
+ }
1641
+ }
1642
+ }
1643
+ _resolveAnchors(onigLib, allowA, allowG) {
1644
+ let regExps = this._items.map((e) => e.resolveAnchors(allowA, allowG));
1645
+ return new CompiledRule(onigLib, regExps, this._items.map((e) => e.ruleId));
1646
+ }
1647
+ };
1648
+ var CompiledRule = class {
1649
+ constructor(onigLib, regExps, rules) {
1650
+ __publicField(this, "scanner");
1651
+ this.regExps = regExps;
1652
+ this.rules = rules;
1653
+ this.scanner = onigLib.createOnigScanner(regExps);
1654
+ }
1655
+ dispose() {
1656
+ if (typeof this.scanner.dispose === "function") {
1657
+ this.scanner.dispose();
1658
+ }
1659
+ }
1660
+ toString() {
1661
+ const r = [];
1662
+ for (let i = 0, len = this.rules.length; i < len; i++) {
1663
+ r.push(" - " + this.rules[i] + ": " + this.regExps[i]);
1664
+ }
1665
+ return r.join("\n");
1666
+ }
1667
+ findNextMatchSync(string, startPosition, options) {
1668
+ const result = this.scanner.findNextMatchSync(string, startPosition, options);
1669
+ if (!result) {
1670
+ return null;
1671
+ }
1672
+ return {
1673
+ ruleId: this.rules[result.index],
1674
+ captureIndices: result.captureIndices
1675
+ };
1676
+ }
1677
+ };
1678
+ var BasicScopeAttributes = class {
1679
+ constructor(languageId, tokenType) {
1680
+ this.languageId = languageId;
1681
+ this.tokenType = tokenType;
1682
+ }
1683
+ };
1684
+ var BasicScopeAttributesProvider = (_a = class {
1685
+ constructor(initialLanguageId, embeddedLanguages) {
1686
+ __publicField(this, "_defaultAttributes");
1687
+ __publicField(this, "_embeddedLanguagesMatcher");
1688
+ __publicField(this, "_getBasicScopeAttributes", new CachedFn((scopeName) => {
1689
+ const languageId = this._scopeToLanguage(scopeName);
1690
+ const standardTokenType = this._toStandardTokenType(scopeName);
1691
+ return new BasicScopeAttributes(languageId, standardTokenType);
1692
+ }));
1693
+ this._defaultAttributes = new BasicScopeAttributes(
1694
+ initialLanguageId,
1695
+ 8
1696
+ /* NotSet */
1697
+ );
1698
+ this._embeddedLanguagesMatcher = new ScopeMatcher(Object.entries(embeddedLanguages || {}));
1699
+ }
1700
+ getDefaultAttributes() {
1701
+ return this._defaultAttributes;
1702
+ }
1703
+ getBasicScopeAttributes(scopeName) {
1704
+ if (scopeName === null) {
1705
+ return _a._NULL_SCOPE_METADATA;
1706
+ }
1707
+ return this._getBasicScopeAttributes.get(scopeName);
1708
+ }
1709
+ /**
1710
+ * Given a produced TM scope, return the language that token describes or null if unknown.
1711
+ * e.g. source.html => html, source.css.embedded.html => css, punctuation.definition.tag.html => null
1712
+ */
1713
+ _scopeToLanguage(scope) {
1714
+ return this._embeddedLanguagesMatcher.match(scope) || 0;
1715
+ }
1716
+ _toStandardTokenType(scopeName) {
1717
+ const m = scopeName.match(_a.STANDARD_TOKEN_TYPE_REGEXP);
1718
+ if (!m) {
1719
+ return 8;
1720
+ }
1721
+ switch (m[1]) {
1722
+ case "comment":
1723
+ return 1;
1724
+ case "string":
1725
+ return 2;
1726
+ case "regex":
1727
+ return 3;
1728
+ case "meta.embedded":
1729
+ return 0;
1730
+ }
1731
+ throw new Error("Unexpected match for standard token type!");
1732
+ }
1733
+ }, __publicField(_a, "_NULL_SCOPE_METADATA", new BasicScopeAttributes(0, 0)), __publicField(_a, "STANDARD_TOKEN_TYPE_REGEXP", /\b(comment|string|regex|meta\.embedded)\b/), _a);
1734
+ var ScopeMatcher = class {
1735
+ constructor(values) {
1736
+ __publicField(this, "values");
1737
+ __publicField(this, "scopesRegExp");
1738
+ if (values.length === 0) {
1739
+ this.values = null;
1740
+ this.scopesRegExp = null;
1741
+ } else {
1742
+ this.values = new Map(values);
1743
+ const escapedScopes = values.map(
1744
+ ([scopeName, value]) => escapeRegExpCharacters(scopeName)
1745
+ );
1746
+ escapedScopes.sort();
1747
+ escapedScopes.reverse();
1748
+ this.scopesRegExp = new RegExp(
1749
+ `^((${escapedScopes.join(")|(")}))($|\\.)`,
1750
+ ""
1751
+ );
1752
+ }
1753
+ }
1754
+ match(scope) {
1755
+ if (!this.scopesRegExp) {
1756
+ return void 0;
1757
+ }
1758
+ const m = scope.match(this.scopesRegExp);
1759
+ if (!m) {
1760
+ return void 0;
1761
+ }
1762
+ return this.values.get(m[1]);
1763
+ }
1764
+ };
1765
+ ({
1766
+ InDebugMode: typeof process !== "undefined" && !!process.env["VSCODE_TEXTMATE_DEBUG"]
1767
+ });
1768
+ var TokenizeStringResult = class {
1769
+ constructor(stack, stoppedEarly) {
1770
+ this.stack = stack;
1771
+ this.stoppedEarly = stoppedEarly;
1772
+ }
1773
+ };
1774
+ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTokens, checkWhileConditions, timeLimit) {
1775
+ const lineLength = lineText.content.length;
1776
+ let STOP = false;
1777
+ let anchorPosition = -1;
1778
+ if (checkWhileConditions) {
1779
+ const whileCheckResult = _checkWhileConditions(
1780
+ grammar,
1781
+ lineText,
1782
+ isFirstLine,
1783
+ linePos,
1784
+ stack,
1785
+ lineTokens
1786
+ );
1787
+ stack = whileCheckResult.stack;
1788
+ linePos = whileCheckResult.linePos;
1789
+ isFirstLine = whileCheckResult.isFirstLine;
1790
+ anchorPosition = whileCheckResult.anchorPosition;
1791
+ }
1792
+ const startTime = Date.now();
1793
+ while (!STOP) {
1794
+ if (timeLimit !== 0) {
1795
+ const elapsedTime = Date.now() - startTime;
1796
+ if (elapsedTime > timeLimit) {
1797
+ return new TokenizeStringResult(stack, true);
1798
+ }
1799
+ }
1800
+ scanNext();
1801
+ }
1802
+ return new TokenizeStringResult(stack, false);
1803
+ function scanNext() {
1804
+ const r = matchRuleOrInjections(
1805
+ grammar,
1806
+ lineText,
1807
+ isFirstLine,
1808
+ linePos,
1809
+ stack,
1810
+ anchorPosition
1811
+ );
1812
+ if (!r) {
1813
+ lineTokens.produce(stack, lineLength);
1814
+ STOP = true;
1815
+ return;
1816
+ }
1817
+ const captureIndices = r.captureIndices;
1818
+ const matchedRuleId = r.matchedRuleId;
1819
+ const hasAdvanced = captureIndices && captureIndices.length > 0 ? captureIndices[0].end > linePos : false;
1820
+ if (matchedRuleId === endRuleId) {
1821
+ const poppedRule = stack.getRule(grammar);
1822
+ lineTokens.produce(stack, captureIndices[0].start);
1823
+ stack = stack.withContentNameScopesList(stack.nameScopesList);
1824
+ handleCaptures(
1825
+ grammar,
1826
+ lineText,
1827
+ isFirstLine,
1828
+ stack,
1829
+ lineTokens,
1830
+ poppedRule.endCaptures,
1831
+ captureIndices
1832
+ );
1833
+ lineTokens.produce(stack, captureIndices[0].end);
1834
+ const popped = stack;
1835
+ stack = stack.parent;
1836
+ anchorPosition = popped.getAnchorPos();
1837
+ if (!hasAdvanced && popped.getEnterPos() === linePos) {
1838
+ stack = popped;
1839
+ lineTokens.produce(stack, lineLength);
1840
+ STOP = true;
1841
+ return;
1842
+ }
1843
+ } else {
1844
+ const _rule = grammar.getRule(matchedRuleId);
1845
+ lineTokens.produce(stack, captureIndices[0].start);
1846
+ const beforePush = stack;
1847
+ const scopeName = _rule.getName(lineText.content, captureIndices);
1848
+ const nameScopesList = stack.contentNameScopesList.pushAttributed(
1849
+ scopeName,
1850
+ grammar
1851
+ );
1852
+ stack = stack.push(
1853
+ matchedRuleId,
1854
+ linePos,
1855
+ anchorPosition,
1856
+ captureIndices[0].end === lineLength,
1857
+ null,
1858
+ nameScopesList,
1859
+ nameScopesList
1860
+ );
1861
+ if (_rule instanceof BeginEndRule) {
1862
+ const pushedRule = _rule;
1863
+ handleCaptures(
1864
+ grammar,
1865
+ lineText,
1866
+ isFirstLine,
1867
+ stack,
1868
+ lineTokens,
1869
+ pushedRule.beginCaptures,
1870
+ captureIndices
1871
+ );
1872
+ lineTokens.produce(stack, captureIndices[0].end);
1873
+ anchorPosition = captureIndices[0].end;
1874
+ const contentName = pushedRule.getContentName(
1875
+ lineText.content,
1876
+ captureIndices
1877
+ );
1878
+ const contentNameScopesList = nameScopesList.pushAttributed(
1879
+ contentName,
1880
+ grammar
1881
+ );
1882
+ stack = stack.withContentNameScopesList(contentNameScopesList);
1883
+ if (pushedRule.endHasBackReferences) {
1884
+ stack = stack.withEndRule(
1885
+ pushedRule.getEndWithResolvedBackReferences(
1886
+ lineText.content,
1887
+ captureIndices
1888
+ )
1889
+ );
1890
+ }
1891
+ if (!hasAdvanced && beforePush.hasSameRuleAs(stack)) {
1892
+ stack = stack.pop();
1893
+ lineTokens.produce(stack, lineLength);
1894
+ STOP = true;
1895
+ return;
1896
+ }
1897
+ } else if (_rule instanceof BeginWhileRule) {
1898
+ const pushedRule = _rule;
1899
+ handleCaptures(
1900
+ grammar,
1901
+ lineText,
1902
+ isFirstLine,
1903
+ stack,
1904
+ lineTokens,
1905
+ pushedRule.beginCaptures,
1906
+ captureIndices
1907
+ );
1908
+ lineTokens.produce(stack, captureIndices[0].end);
1909
+ anchorPosition = captureIndices[0].end;
1910
+ const contentName = pushedRule.getContentName(
1911
+ lineText.content,
1912
+ captureIndices
1913
+ );
1914
+ const contentNameScopesList = nameScopesList.pushAttributed(
1915
+ contentName,
1916
+ grammar
1917
+ );
1918
+ stack = stack.withContentNameScopesList(contentNameScopesList);
1919
+ if (pushedRule.whileHasBackReferences) {
1920
+ stack = stack.withEndRule(
1921
+ pushedRule.getWhileWithResolvedBackReferences(
1922
+ lineText.content,
1923
+ captureIndices
1924
+ )
1925
+ );
1926
+ }
1927
+ if (!hasAdvanced && beforePush.hasSameRuleAs(stack)) {
1928
+ stack = stack.pop();
1929
+ lineTokens.produce(stack, lineLength);
1930
+ STOP = true;
1931
+ return;
1932
+ }
1933
+ } else {
1934
+ const matchingRule = _rule;
1935
+ handleCaptures(
1936
+ grammar,
1937
+ lineText,
1938
+ isFirstLine,
1939
+ stack,
1940
+ lineTokens,
1941
+ matchingRule.captures,
1942
+ captureIndices
1943
+ );
1944
+ lineTokens.produce(stack, captureIndices[0].end);
1945
+ stack = stack.pop();
1946
+ if (!hasAdvanced) {
1947
+ stack = stack.safePop();
1948
+ lineTokens.produce(stack, lineLength);
1949
+ STOP = true;
1950
+ return;
1951
+ }
1952
+ }
1953
+ }
1954
+ if (captureIndices[0].end > linePos) {
1955
+ linePos = captureIndices[0].end;
1956
+ isFirstLine = false;
1957
+ }
1958
+ }
1959
+ }
1960
+ function _checkWhileConditions(grammar, lineText, isFirstLine, linePos, stack, lineTokens) {
1961
+ let anchorPosition = stack.beginRuleCapturedEOL ? 0 : -1;
1962
+ const whileRules = [];
1963
+ for (let node = stack; node; node = node.pop()) {
1964
+ const nodeRule = node.getRule(grammar);
1965
+ if (nodeRule instanceof BeginWhileRule) {
1966
+ whileRules.push({
1967
+ rule: nodeRule,
1968
+ stack: node
1969
+ });
1970
+ }
1971
+ }
1972
+ for (let whileRule = whileRules.pop(); whileRule; whileRule = whileRules.pop()) {
1973
+ const { ruleScanner, findOptions } = prepareRuleWhileSearch(whileRule.rule, grammar, whileRule.stack.endRule, isFirstLine, linePos === anchorPosition);
1974
+ const r = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
1975
+ if (r) {
1976
+ const matchedRuleId = r.ruleId;
1977
+ if (matchedRuleId !== whileRuleId) {
1978
+ stack = whileRule.stack.pop();
1979
+ break;
1980
+ }
1981
+ if (r.captureIndices && r.captureIndices.length) {
1982
+ lineTokens.produce(whileRule.stack, r.captureIndices[0].start);
1983
+ handleCaptures(grammar, lineText, isFirstLine, whileRule.stack, lineTokens, whileRule.rule.whileCaptures, r.captureIndices);
1984
+ lineTokens.produce(whileRule.stack, r.captureIndices[0].end);
1985
+ anchorPosition = r.captureIndices[0].end;
1986
+ if (r.captureIndices[0].end > linePos) {
1987
+ linePos = r.captureIndices[0].end;
1988
+ isFirstLine = false;
1989
+ }
1990
+ }
1991
+ } else {
1992
+ stack = whileRule.stack.pop();
1993
+ break;
1994
+ }
1995
+ }
1996
+ return { stack, linePos, anchorPosition, isFirstLine };
1997
+ }
1998
+ function matchRuleOrInjections(grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
1999
+ const matchResult = matchRule(grammar, lineText, isFirstLine, linePos, stack, anchorPosition);
2000
+ const injections = grammar.getInjections();
2001
+ if (injections.length === 0) {
2002
+ return matchResult;
2003
+ }
2004
+ const injectionResult = matchInjections(injections, grammar, lineText, isFirstLine, linePos, stack, anchorPosition);
2005
+ if (!injectionResult) {
2006
+ return matchResult;
2007
+ }
2008
+ if (!matchResult) {
2009
+ return injectionResult;
2010
+ }
2011
+ const matchResultScore = matchResult.captureIndices[0].start;
2012
+ const injectionResultScore = injectionResult.captureIndices[0].start;
2013
+ if (injectionResultScore < matchResultScore || injectionResult.priorityMatch && injectionResultScore === matchResultScore) {
2014
+ return injectionResult;
2015
+ }
2016
+ return matchResult;
2017
+ }
2018
+ function matchRule(grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
2019
+ const rule = stack.getRule(grammar);
2020
+ const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar, stack.endRule, isFirstLine, linePos === anchorPosition);
2021
+ const r = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
2022
+ if (r) {
2023
+ return {
2024
+ captureIndices: r.captureIndices,
2025
+ matchedRuleId: r.ruleId
2026
+ };
2027
+ }
2028
+ return null;
2029
+ }
2030
+ function matchInjections(injections, grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
2031
+ let bestMatchRating = Number.MAX_VALUE;
2032
+ let bestMatchCaptureIndices = null;
2033
+ let bestMatchRuleId;
2034
+ let bestMatchResultPriority = 0;
2035
+ const scopes = stack.contentNameScopesList.getScopeNames();
2036
+ for (let i = 0, len = injections.length; i < len; i++) {
2037
+ const injection = injections[i];
2038
+ if (!injection.matcher(scopes)) {
2039
+ continue;
2040
+ }
2041
+ const rule = grammar.getRule(injection.ruleId);
2042
+ const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar, null, isFirstLine, linePos === anchorPosition);
2043
+ const matchResult = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
2044
+ if (!matchResult) {
2045
+ continue;
2046
+ }
2047
+ const matchRating = matchResult.captureIndices[0].start;
2048
+ if (matchRating >= bestMatchRating) {
2049
+ continue;
2050
+ }
2051
+ bestMatchRating = matchRating;
2052
+ bestMatchCaptureIndices = matchResult.captureIndices;
2053
+ bestMatchRuleId = matchResult.ruleId;
2054
+ bestMatchResultPriority = injection.priority;
2055
+ if (bestMatchRating === linePos) {
2056
+ break;
2057
+ }
2058
+ }
2059
+ if (bestMatchCaptureIndices) {
2060
+ return {
2061
+ priorityMatch: bestMatchResultPriority === -1,
2062
+ captureIndices: bestMatchCaptureIndices,
2063
+ matchedRuleId: bestMatchRuleId
2064
+ };
2065
+ }
2066
+ return null;
2067
+ }
2068
+ function prepareRuleSearch(rule, grammar, endRegexSource, allowA, allowG) {
2069
+ const ruleScanner = rule.compileAG(grammar, endRegexSource, allowA, allowG);
2070
+ return {
2071
+ ruleScanner,
2072
+ findOptions: 0
2073
+ /* None */
2074
+ };
2075
+ }
2076
+ function prepareRuleWhileSearch(rule, grammar, endRegexSource, allowA, allowG) {
2077
+ const ruleScanner = rule.compileWhileAG(grammar, endRegexSource, allowA, allowG);
2078
+ return {
2079
+ ruleScanner,
2080
+ findOptions: 0
2081
+ /* None */
2082
+ };
2083
+ }
2084
+ function handleCaptures(grammar, lineText, isFirstLine, stack, lineTokens, captures, captureIndices) {
2085
+ if (captures.length === 0) {
2086
+ return;
2087
+ }
2088
+ const lineTextContent = lineText.content;
2089
+ const len = Math.min(captures.length, captureIndices.length);
2090
+ const localStack = [];
2091
+ const maxEnd = captureIndices[0].end;
2092
+ for (let i = 0; i < len; i++) {
2093
+ const captureRule = captures[i];
2094
+ if (captureRule === null) {
2095
+ continue;
2096
+ }
2097
+ const captureIndex = captureIndices[i];
2098
+ if (captureIndex.length === 0) {
2099
+ continue;
2100
+ }
2101
+ if (captureIndex.start > maxEnd) {
2102
+ break;
2103
+ }
2104
+ while (localStack.length > 0 && localStack[localStack.length - 1].endPos <= captureIndex.start) {
2105
+ lineTokens.produceFromScopes(localStack[localStack.length - 1].scopes, localStack[localStack.length - 1].endPos);
2106
+ localStack.pop();
2107
+ }
2108
+ if (localStack.length > 0) {
2109
+ lineTokens.produceFromScopes(localStack[localStack.length - 1].scopes, captureIndex.start);
2110
+ } else {
2111
+ lineTokens.produce(stack, captureIndex.start);
2112
+ }
2113
+ if (captureRule.retokenizeCapturedWithRuleId) {
2114
+ const scopeName = captureRule.getName(lineTextContent, captureIndices);
2115
+ const nameScopesList = stack.contentNameScopesList.pushAttributed(scopeName, grammar);
2116
+ const contentName = captureRule.getContentName(lineTextContent, captureIndices);
2117
+ const contentNameScopesList = nameScopesList.pushAttributed(contentName, grammar);
2118
+ const stackClone = stack.push(captureRule.retokenizeCapturedWithRuleId, captureIndex.start, -1, false, null, nameScopesList, contentNameScopesList);
2119
+ const onigSubStr = grammar.createOnigString(lineTextContent.substring(0, captureIndex.end));
2120
+ _tokenizeString(
2121
+ grammar,
2122
+ onigSubStr,
2123
+ isFirstLine && captureIndex.start === 0,
2124
+ captureIndex.start,
2125
+ stackClone,
2126
+ lineTokens,
2127
+ false,
2128
+ /* no time limit */
2129
+ 0
2130
+ );
2131
+ disposeOnigString(onigSubStr);
2132
+ continue;
2133
+ }
2134
+ const captureRuleScopeName = captureRule.getName(lineTextContent, captureIndices);
2135
+ if (captureRuleScopeName !== null) {
2136
+ const base = localStack.length > 0 ? localStack[localStack.length - 1].scopes : stack.contentNameScopesList;
2137
+ const captureRuleScopesList = base.pushAttributed(captureRuleScopeName, grammar);
2138
+ localStack.push(new LocalStackElement(captureRuleScopesList, captureIndex.end));
2139
+ }
2140
+ }
2141
+ while (localStack.length > 0) {
2142
+ lineTokens.produceFromScopes(localStack[localStack.length - 1].scopes, localStack[localStack.length - 1].endPos);
2143
+ localStack.pop();
2144
+ }
2145
+ }
2146
+ var LocalStackElement = class {
2147
+ constructor(scopes, endPos) {
2148
+ __publicField(this, "scopes");
2149
+ __publicField(this, "endPos");
2150
+ this.scopes = scopes;
2151
+ this.endPos = endPos;
2152
+ }
2153
+ };
2154
+ function createGrammar(scopeName, grammar, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, onigLib) {
2155
+ return new Grammar(
2156
+ scopeName,
2157
+ grammar,
2158
+ initialLanguage,
2159
+ embeddedLanguages,
2160
+ tokenTypes,
2161
+ balancedBracketSelectors,
2162
+ grammarRepository,
2163
+ onigLib
2164
+ );
2165
+ }
2166
+ function collectInjections(result, selector, rule, ruleFactoryHelper, grammar) {
2167
+ const matchers = createMatchers(selector, nameMatcher);
2168
+ const ruleId = RuleFactory.getCompiledRuleId(rule, ruleFactoryHelper, grammar.repository);
2169
+ for (const matcher of matchers) {
2170
+ result.push({
2171
+ debugSelector: selector,
2172
+ matcher: matcher.matcher,
2173
+ ruleId,
2174
+ grammar,
2175
+ priority: matcher.priority
2176
+ });
2177
+ }
2178
+ }
2179
+ function nameMatcher(identifers, scopes) {
2180
+ if (scopes.length < identifers.length) {
2181
+ return false;
2182
+ }
2183
+ let lastIndex = 0;
2184
+ return identifers.every((identifier) => {
2185
+ for (let i = lastIndex; i < scopes.length; i++) {
2186
+ if (scopesAreMatching(scopes[i], identifier)) {
2187
+ lastIndex = i + 1;
2188
+ return true;
2189
+ }
2190
+ }
2191
+ return false;
2192
+ });
2193
+ }
2194
+ function scopesAreMatching(thisScopeName, scopeName) {
2195
+ if (!thisScopeName) {
2196
+ return false;
2197
+ }
2198
+ if (thisScopeName === scopeName) {
2199
+ return true;
2200
+ }
2201
+ const len = scopeName.length;
2202
+ return thisScopeName.length > len && thisScopeName.substr(0, len) === scopeName && thisScopeName[len] === ".";
2203
+ }
2204
+ var Grammar = class {
2205
+ constructor(_rootScopeName, grammar, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, _onigLib) {
2206
+ __publicField(this, "_rootId");
2207
+ __publicField(this, "_lastRuleId");
2208
+ __publicField(this, "_ruleId2desc");
2209
+ __publicField(this, "_includedGrammars");
2210
+ __publicField(this, "_grammarRepository");
2211
+ __publicField(this, "_grammar");
2212
+ __publicField(this, "_injections");
2213
+ __publicField(this, "_basicScopeAttributesProvider");
2214
+ __publicField(this, "_tokenTypeMatchers");
2215
+ this._rootScopeName = _rootScopeName;
2216
+ this.balancedBracketSelectors = balancedBracketSelectors;
2217
+ this._onigLib = _onigLib;
2218
+ this._basicScopeAttributesProvider = new BasicScopeAttributesProvider(
2219
+ initialLanguage,
2220
+ embeddedLanguages
2221
+ );
2222
+ this._rootId = -1;
2223
+ this._lastRuleId = 0;
2224
+ this._ruleId2desc = [null];
2225
+ this._includedGrammars = {};
2226
+ this._grammarRepository = grammarRepository;
2227
+ this._grammar = initGrammar(grammar, null);
2228
+ this._injections = null;
2229
+ this._tokenTypeMatchers = [];
2230
+ if (tokenTypes) {
2231
+ for (const selector of Object.keys(tokenTypes)) {
2232
+ const matchers = createMatchers(selector, nameMatcher);
2233
+ for (const matcher of matchers) {
2234
+ this._tokenTypeMatchers.push({
2235
+ matcher: matcher.matcher,
2236
+ type: tokenTypes[selector]
2237
+ });
2238
+ }
2239
+ }
2240
+ }
2241
+ }
2242
+ get themeProvider() {
2243
+ return this._grammarRepository;
2244
+ }
2245
+ dispose() {
2246
+ for (const rule of this._ruleId2desc) {
2247
+ if (rule) {
2248
+ rule.dispose();
2249
+ }
2250
+ }
2251
+ }
2252
+ createOnigScanner(sources) {
2253
+ return this._onigLib.createOnigScanner(sources);
2254
+ }
2255
+ createOnigString(sources) {
2256
+ return this._onigLib.createOnigString(sources);
2257
+ }
2258
+ getMetadataForScope(scope) {
2259
+ return this._basicScopeAttributesProvider.getBasicScopeAttributes(scope);
2260
+ }
2261
+ _collectInjections() {
2262
+ const grammarRepository = {
2263
+ lookup: (scopeName2) => {
2264
+ if (scopeName2 === this._rootScopeName) {
2265
+ return this._grammar;
2266
+ }
2267
+ return this.getExternalGrammar(scopeName2);
2268
+ },
2269
+ injections: (scopeName2) => {
2270
+ return this._grammarRepository.injections(scopeName2);
2271
+ }
2272
+ };
2273
+ const result = [];
2274
+ const scopeName = this._rootScopeName;
2275
+ const grammar = grammarRepository.lookup(scopeName);
2276
+ if (grammar) {
2277
+ const rawInjections = grammar.injections;
2278
+ if (rawInjections) {
2279
+ for (let expression in rawInjections) {
2280
+ collectInjections(
2281
+ result,
2282
+ expression,
2283
+ rawInjections[expression],
2284
+ this,
2285
+ grammar
2286
+ );
2287
+ }
2288
+ }
2289
+ const injectionScopeNames = this._grammarRepository.injections(scopeName);
2290
+ if (injectionScopeNames) {
2291
+ injectionScopeNames.forEach((injectionScopeName) => {
2292
+ const injectionGrammar = this.getExternalGrammar(injectionScopeName);
2293
+ if (injectionGrammar) {
2294
+ const selector = injectionGrammar.injectionSelector;
2295
+ if (selector) {
2296
+ collectInjections(
2297
+ result,
2298
+ selector,
2299
+ injectionGrammar,
2300
+ this,
2301
+ injectionGrammar
2302
+ );
2303
+ }
2304
+ }
2305
+ });
2306
+ }
2307
+ }
2308
+ result.sort((i1, i2) => i1.priority - i2.priority);
2309
+ return result;
2310
+ }
2311
+ getInjections() {
2312
+ if (this._injections === null) {
2313
+ this._injections = this._collectInjections();
2314
+ }
2315
+ return this._injections;
2316
+ }
2317
+ registerRule(factory) {
2318
+ const id = ++this._lastRuleId;
2319
+ const result = factory(ruleIdFromNumber(id));
2320
+ this._ruleId2desc[id] = result;
2321
+ return result;
2322
+ }
2323
+ getRule(ruleId) {
2324
+ return this._ruleId2desc[ruleIdToNumber(ruleId)];
2325
+ }
2326
+ getExternalGrammar(scopeName, repository) {
2327
+ if (this._includedGrammars[scopeName]) {
2328
+ return this._includedGrammars[scopeName];
2329
+ } else if (this._grammarRepository) {
2330
+ const rawIncludedGrammar = this._grammarRepository.lookup(scopeName);
2331
+ if (rawIncludedGrammar) {
2332
+ this._includedGrammars[scopeName] = initGrammar(
2333
+ rawIncludedGrammar,
2334
+ repository && repository.$base
2335
+ );
2336
+ return this._includedGrammars[scopeName];
2337
+ }
2338
+ }
2339
+ return void 0;
2340
+ }
2341
+ tokenizeLine(lineText, prevState, timeLimit = 0) {
2342
+ const r = this._tokenize(lineText, prevState, false, timeLimit);
2343
+ return {
2344
+ tokens: r.lineTokens.getResult(r.ruleStack, r.lineLength),
2345
+ ruleStack: r.ruleStack,
2346
+ stoppedEarly: r.stoppedEarly
2347
+ };
2348
+ }
2349
+ tokenizeLine2(lineText, prevState, timeLimit = 0) {
2350
+ const r = this._tokenize(lineText, prevState, true, timeLimit);
2351
+ return {
2352
+ tokens: r.lineTokens.getBinaryResult(r.ruleStack, r.lineLength),
2353
+ ruleStack: r.ruleStack,
2354
+ stoppedEarly: r.stoppedEarly
2355
+ };
2356
+ }
2357
+ _tokenize(lineText, prevState, emitBinaryTokens, timeLimit) {
2358
+ if (this._rootId === -1) {
2359
+ this._rootId = RuleFactory.getCompiledRuleId(
2360
+ this._grammar.repository.$self,
2361
+ this,
2362
+ this._grammar.repository
2363
+ );
2364
+ this.getInjections();
2365
+ }
2366
+ let isFirstLine;
2367
+ if (!prevState || prevState === StateStackImpl.NULL) {
2368
+ isFirstLine = true;
2369
+ const rawDefaultMetadata = this._basicScopeAttributesProvider.getDefaultAttributes();
2370
+ const defaultStyle = this.themeProvider.getDefaults();
2371
+ const defaultMetadata = EncodedTokenMetadata.set(
2372
+ 0,
2373
+ rawDefaultMetadata.languageId,
2374
+ rawDefaultMetadata.tokenType,
2375
+ null,
2376
+ defaultStyle.fontStyle,
2377
+ defaultStyle.foregroundId,
2378
+ defaultStyle.backgroundId
2379
+ );
2380
+ const rootScopeName = this.getRule(this._rootId).getName(
2381
+ null,
2382
+ null
2383
+ );
2384
+ let scopeList;
2385
+ if (rootScopeName) {
2386
+ scopeList = AttributedScopeStack.createRootAndLookUpScopeName(
2387
+ rootScopeName,
2388
+ defaultMetadata,
2389
+ this
2390
+ );
2391
+ } else {
2392
+ scopeList = AttributedScopeStack.createRoot(
2393
+ "unknown",
2394
+ defaultMetadata
2395
+ );
2396
+ }
2397
+ prevState = new StateStackImpl(
2398
+ null,
2399
+ this._rootId,
2400
+ -1,
2401
+ -1,
2402
+ false,
2403
+ null,
2404
+ scopeList,
2405
+ scopeList
2406
+ );
2407
+ } else {
2408
+ isFirstLine = false;
2409
+ prevState.reset();
2410
+ }
2411
+ lineText = lineText + "\n";
2412
+ const onigLineText = this.createOnigString(lineText);
2413
+ const lineLength = onigLineText.content.length;
2414
+ const lineTokens = new LineTokens(
2415
+ emitBinaryTokens,
2416
+ lineText,
2417
+ this._tokenTypeMatchers,
2418
+ this.balancedBracketSelectors
2419
+ );
2420
+ const r = _tokenizeString(
2421
+ this,
2422
+ onigLineText,
2423
+ isFirstLine,
2424
+ 0,
2425
+ prevState,
2426
+ lineTokens,
2427
+ true,
2428
+ timeLimit
2429
+ );
2430
+ disposeOnigString(onigLineText);
2431
+ return {
2432
+ lineLength,
2433
+ lineTokens,
2434
+ ruleStack: r.stack,
2435
+ stoppedEarly: r.stoppedEarly
2436
+ };
2437
+ }
2438
+ };
2439
+ function initGrammar(grammar, base) {
2440
+ grammar = clone(grammar);
2441
+ grammar.repository = grammar.repository || {};
2442
+ grammar.repository.$self = {
2443
+ $vscodeTextmateLocation: grammar.$vscodeTextmateLocation,
2444
+ patterns: grammar.patterns,
2445
+ name: grammar.scopeName
2446
+ };
2447
+ grammar.repository.$base = base || grammar.repository.$self;
2448
+ return grammar;
2449
+ }
2450
+ var AttributedScopeStack = class _AttributedScopeStack {
2451
+ /**
2452
+ * Invariant:
2453
+ * ```
2454
+ * if (parent && !scopePath.extends(parent.scopePath)) {
2455
+ * throw new Error();
2456
+ * }
2457
+ * ```
2458
+ */
2459
+ constructor(parent, scopePath, tokenAttributes) {
2460
+ this.parent = parent;
2461
+ this.scopePath = scopePath;
2462
+ this.tokenAttributes = tokenAttributes;
2463
+ }
2464
+ static fromExtension(namesScopeList, contentNameScopesList) {
2465
+ let current = namesScopeList;
2466
+ let scopeNames = namesScopeList?.scopePath ?? null;
2467
+ for (const frame of contentNameScopesList) {
2468
+ scopeNames = ScopeStack.push(scopeNames, frame.scopeNames);
2469
+ current = new _AttributedScopeStack(current, scopeNames, frame.encodedTokenAttributes);
2470
+ }
2471
+ return current;
2472
+ }
2473
+ static createRoot(scopeName, tokenAttributes) {
2474
+ return new _AttributedScopeStack(null, new ScopeStack(null, scopeName), tokenAttributes);
2475
+ }
2476
+ static createRootAndLookUpScopeName(scopeName, tokenAttributes, grammar) {
2477
+ const rawRootMetadata = grammar.getMetadataForScope(scopeName);
2478
+ const scopePath = new ScopeStack(null, scopeName);
2479
+ const rootStyle = grammar.themeProvider.themeMatch(scopePath);
2480
+ const resolvedTokenAttributes = _AttributedScopeStack.mergeAttributes(
2481
+ tokenAttributes,
2482
+ rawRootMetadata,
2483
+ rootStyle
2484
+ );
2485
+ return new _AttributedScopeStack(null, scopePath, resolvedTokenAttributes);
2486
+ }
2487
+ get scopeName() {
2488
+ return this.scopePath.scopeName;
2489
+ }
2490
+ toString() {
2491
+ return this.getScopeNames().join(" ");
2492
+ }
2493
+ equals(other) {
2494
+ return _AttributedScopeStack.equals(this, other);
2495
+ }
2496
+ static equals(a, b) {
2497
+ do {
2498
+ if (a === b) {
2499
+ return true;
2500
+ }
2501
+ if (!a && !b) {
2502
+ return true;
2503
+ }
2504
+ if (!a || !b) {
2505
+ return false;
2506
+ }
2507
+ if (a.scopeName !== b.scopeName || a.tokenAttributes !== b.tokenAttributes) {
2508
+ return false;
2509
+ }
2510
+ a = a.parent;
2511
+ b = b.parent;
2512
+ } while (true);
2513
+ }
2514
+ static mergeAttributes(existingTokenAttributes, basicScopeAttributes, styleAttributes) {
2515
+ let fontStyle = -1;
2516
+ let foreground = 0;
2517
+ let background = 0;
2518
+ if (styleAttributes !== null) {
2519
+ fontStyle = styleAttributes.fontStyle;
2520
+ foreground = styleAttributes.foregroundId;
2521
+ background = styleAttributes.backgroundId;
2522
+ }
2523
+ return EncodedTokenMetadata.set(
2524
+ existingTokenAttributes,
2525
+ basicScopeAttributes.languageId,
2526
+ basicScopeAttributes.tokenType,
2527
+ null,
2528
+ fontStyle,
2529
+ foreground,
2530
+ background
2531
+ );
2532
+ }
2533
+ pushAttributed(scopePath, grammar) {
2534
+ if (scopePath === null) {
2535
+ return this;
2536
+ }
2537
+ if (scopePath.indexOf(" ") === -1) {
2538
+ return _AttributedScopeStack._pushAttributed(this, scopePath, grammar);
2539
+ }
2540
+ const scopes = scopePath.split(/ /g);
2541
+ let result = this;
2542
+ for (const scope of scopes) {
2543
+ result = _AttributedScopeStack._pushAttributed(result, scope, grammar);
2544
+ }
2545
+ return result;
2546
+ }
2547
+ static _pushAttributed(target, scopeName, grammar) {
2548
+ const rawMetadata = grammar.getMetadataForScope(scopeName);
2549
+ const newPath = target.scopePath.push(scopeName);
2550
+ const scopeThemeMatchResult = grammar.themeProvider.themeMatch(newPath);
2551
+ const metadata = _AttributedScopeStack.mergeAttributes(
2552
+ target.tokenAttributes,
2553
+ rawMetadata,
2554
+ scopeThemeMatchResult
2555
+ );
2556
+ return new _AttributedScopeStack(target, newPath, metadata);
2557
+ }
2558
+ getScopeNames() {
2559
+ return this.scopePath.getSegments();
2560
+ }
2561
+ getExtensionIfDefined(base) {
2562
+ const result = [];
2563
+ let self = this;
2564
+ while (self && self !== base) {
2565
+ result.push({
2566
+ encodedTokenAttributes: self.tokenAttributes,
2567
+ scopeNames: self.scopePath.getExtensionIfDefined(self.parent?.scopePath ?? null)
2568
+ });
2569
+ self = self.parent;
2570
+ }
2571
+ return self === base ? result.reverse() : void 0;
2572
+ }
2573
+ };
2574
+ var StateStackImpl = (_b = class {
2575
+ /**
2576
+ * Invariant:
2577
+ * ```
2578
+ * if (contentNameScopesList !== nameScopesList && contentNameScopesList?.parent !== nameScopesList) {
2579
+ * throw new Error();
2580
+ * }
2581
+ * if (this.parent && !nameScopesList.extends(this.parent.contentNameScopesList)) {
2582
+ * throw new Error();
2583
+ * }
2584
+ * ```
2585
+ */
2586
+ constructor(parent, ruleId, enterPos, anchorPos, beginRuleCapturedEOL, endRule, nameScopesList, contentNameScopesList) {
2587
+ __publicField(this, "_stackElementBrand");
2588
+ /**
2589
+ * The position on the current line where this state was pushed.
2590
+ * This is relevant only while tokenizing a line, to detect endless loops.
2591
+ * Its value is meaningless across lines.
2592
+ */
2593
+ __publicField(this, "_enterPos");
2594
+ /**
2595
+ * The captured anchor position when this stack element was pushed.
2596
+ * This is relevant only while tokenizing a line, to restore the anchor position when popping.
2597
+ * Its value is meaningless across lines.
2598
+ */
2599
+ __publicField(this, "_anchorPos");
2600
+ /**
2601
+ * The depth of the stack.
2602
+ */
2603
+ __publicField(this, "depth");
2604
+ this.parent = parent;
2605
+ this.ruleId = ruleId;
2606
+ this.beginRuleCapturedEOL = beginRuleCapturedEOL;
2607
+ this.endRule = endRule;
2608
+ this.nameScopesList = nameScopesList;
2609
+ this.contentNameScopesList = contentNameScopesList;
2610
+ this.depth = this.parent ? this.parent.depth + 1 : 1;
2611
+ this._enterPos = enterPos;
2612
+ this._anchorPos = anchorPos;
2613
+ }
2614
+ equals(other) {
2615
+ if (other === null) {
2616
+ return false;
2617
+ }
2618
+ return _b._equals(this, other);
2619
+ }
2620
+ static _equals(a, b) {
2621
+ if (a === b) {
2622
+ return true;
2623
+ }
2624
+ if (!this._structuralEquals(a, b)) {
2625
+ return false;
2626
+ }
2627
+ return AttributedScopeStack.equals(a.contentNameScopesList, b.contentNameScopesList);
2628
+ }
2629
+ /**
2630
+ * A structural equals check. Does not take into account `scopes`.
2631
+ */
2632
+ static _structuralEquals(a, b) {
2633
+ do {
2634
+ if (a === b) {
2635
+ return true;
2636
+ }
2637
+ if (!a && !b) {
2638
+ return true;
2639
+ }
2640
+ if (!a || !b) {
2641
+ return false;
2642
+ }
2643
+ if (a.depth !== b.depth || a.ruleId !== b.ruleId || a.endRule !== b.endRule) {
2644
+ return false;
2645
+ }
2646
+ a = a.parent;
2647
+ b = b.parent;
2648
+ } while (true);
2649
+ }
2650
+ clone() {
2651
+ return this;
2652
+ }
2653
+ static _reset(el) {
2654
+ while (el) {
2655
+ el._enterPos = -1;
2656
+ el._anchorPos = -1;
2657
+ el = el.parent;
2658
+ }
2659
+ }
2660
+ reset() {
2661
+ _b._reset(this);
2662
+ }
2663
+ pop() {
2664
+ return this.parent;
2665
+ }
2666
+ safePop() {
2667
+ if (this.parent) {
2668
+ return this.parent;
2669
+ }
2670
+ return this;
2671
+ }
2672
+ push(ruleId, enterPos, anchorPos, beginRuleCapturedEOL, endRule, nameScopesList, contentNameScopesList) {
2673
+ return new _b(
2674
+ this,
2675
+ ruleId,
2676
+ enterPos,
2677
+ anchorPos,
2678
+ beginRuleCapturedEOL,
2679
+ endRule,
2680
+ nameScopesList,
2681
+ contentNameScopesList
2682
+ );
2683
+ }
2684
+ getEnterPos() {
2685
+ return this._enterPos;
2686
+ }
2687
+ getAnchorPos() {
2688
+ return this._anchorPos;
2689
+ }
2690
+ getRule(grammar) {
2691
+ return grammar.getRule(this.ruleId);
2692
+ }
2693
+ toString() {
2694
+ const r = [];
2695
+ this._writeString(r, 0);
2696
+ return "[" + r.join(",") + "]";
2697
+ }
2698
+ _writeString(res, outIndex) {
2699
+ if (this.parent) {
2700
+ outIndex = this.parent._writeString(res, outIndex);
2701
+ }
2702
+ res[outIndex++] = `(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`;
2703
+ return outIndex;
2704
+ }
2705
+ withContentNameScopesList(contentNameScopeStack) {
2706
+ if (this.contentNameScopesList === contentNameScopeStack) {
2707
+ return this;
2708
+ }
2709
+ return this.parent.push(
2710
+ this.ruleId,
2711
+ this._enterPos,
2712
+ this._anchorPos,
2713
+ this.beginRuleCapturedEOL,
2714
+ this.endRule,
2715
+ this.nameScopesList,
2716
+ contentNameScopeStack
2717
+ );
2718
+ }
2719
+ withEndRule(endRule) {
2720
+ if (this.endRule === endRule) {
2721
+ return this;
2722
+ }
2723
+ return new _b(
2724
+ this.parent,
2725
+ this.ruleId,
2726
+ this._enterPos,
2727
+ this._anchorPos,
2728
+ this.beginRuleCapturedEOL,
2729
+ endRule,
2730
+ this.nameScopesList,
2731
+ this.contentNameScopesList
2732
+ );
2733
+ }
2734
+ // Used to warn of endless loops
2735
+ hasSameRuleAs(other) {
2736
+ let el = this;
2737
+ while (el && el._enterPos === other._enterPos) {
2738
+ if (el.ruleId === other.ruleId) {
2739
+ return true;
2740
+ }
2741
+ el = el.parent;
2742
+ }
2743
+ return false;
2744
+ }
2745
+ toStateStackFrame() {
2746
+ return {
2747
+ ruleId: ruleIdToNumber(this.ruleId),
2748
+ beginRuleCapturedEOL: this.beginRuleCapturedEOL,
2749
+ endRule: this.endRule,
2750
+ nameScopesList: this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList ?? null) ?? [],
2751
+ contentNameScopesList: this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList) ?? []
2752
+ };
2753
+ }
2754
+ static pushFrame(self, frame) {
2755
+ const namesScopeList = AttributedScopeStack.fromExtension(self?.nameScopesList ?? null, frame.nameScopesList);
2756
+ return new _b(
2757
+ self,
2758
+ ruleIdFromNumber(frame.ruleId),
2759
+ frame.enterPos ?? -1,
2760
+ frame.anchorPos ?? -1,
2761
+ frame.beginRuleCapturedEOL,
2762
+ frame.endRule,
2763
+ namesScopeList,
2764
+ AttributedScopeStack.fromExtension(namesScopeList, frame.contentNameScopesList)
2765
+ );
2766
+ }
2767
+ }, // TODO remove me
2768
+ __publicField(_b, "NULL", new _b(
2769
+ null,
2770
+ 0,
2771
+ 0,
2772
+ 0,
2773
+ false,
2774
+ null,
2775
+ null,
2776
+ null
2777
+ )), _b);
2778
+ var BalancedBracketSelectors = class {
2779
+ constructor(balancedBracketScopes, unbalancedBracketScopes) {
2780
+ __publicField(this, "balancedBracketScopes");
2781
+ __publicField(this, "unbalancedBracketScopes");
2782
+ __publicField(this, "allowAny", false);
2783
+ this.balancedBracketScopes = balancedBracketScopes.flatMap(
2784
+ (selector) => {
2785
+ if (selector === "*") {
2786
+ this.allowAny = true;
2787
+ return [];
2788
+ }
2789
+ return createMatchers(selector, nameMatcher).map((m) => m.matcher);
2790
+ }
2791
+ );
2792
+ this.unbalancedBracketScopes = unbalancedBracketScopes.flatMap(
2793
+ (selector) => createMatchers(selector, nameMatcher).map((m) => m.matcher)
2794
+ );
2795
+ }
2796
+ get matchesAlways() {
2797
+ return this.allowAny && this.unbalancedBracketScopes.length === 0;
2798
+ }
2799
+ get matchesNever() {
2800
+ return this.balancedBracketScopes.length === 0 && !this.allowAny;
2801
+ }
2802
+ match(scopes) {
2803
+ for (const excluder of this.unbalancedBracketScopes) {
2804
+ if (excluder(scopes)) {
2805
+ return false;
2806
+ }
2807
+ }
2808
+ for (const includer of this.balancedBracketScopes) {
2809
+ if (includer(scopes)) {
2810
+ return true;
2811
+ }
2812
+ }
2813
+ return this.allowAny;
2814
+ }
2815
+ };
2816
+ var LineTokens = class {
2817
+ constructor(emitBinaryTokens, lineText, tokenTypeOverrides, balancedBracketSelectors) {
2818
+ __publicField(this, "_emitBinaryTokens");
2819
+ /**
2820
+ * defined only if `false`.
2821
+ */
2822
+ __publicField(this, "_lineText");
2823
+ /**
2824
+ * used only if `_emitBinaryTokens` is false.
2825
+ */
2826
+ __publicField(this, "_tokens");
2827
+ /**
2828
+ * used only if `_emitBinaryTokens` is true.
2829
+ */
2830
+ __publicField(this, "_binaryTokens");
2831
+ __publicField(this, "_lastTokenEndIndex");
2832
+ __publicField(this, "_tokenTypeOverrides");
2833
+ this.balancedBracketSelectors = balancedBracketSelectors;
2834
+ this._emitBinaryTokens = emitBinaryTokens;
2835
+ this._tokenTypeOverrides = tokenTypeOverrides;
2836
+ {
2837
+ this._lineText = null;
2838
+ }
2839
+ this._tokens = [];
2840
+ this._binaryTokens = [];
2841
+ this._lastTokenEndIndex = 0;
2842
+ }
2843
+ produce(stack, endIndex) {
2844
+ this.produceFromScopes(stack.contentNameScopesList, endIndex);
2845
+ }
2846
+ produceFromScopes(scopesList, endIndex) {
2847
+ if (this._lastTokenEndIndex >= endIndex) {
2848
+ return;
2849
+ }
2850
+ if (this._emitBinaryTokens) {
2851
+ let metadata = scopesList?.tokenAttributes ?? 0;
2852
+ let containsBalancedBrackets = false;
2853
+ if (this.balancedBracketSelectors?.matchesAlways) {
2854
+ containsBalancedBrackets = true;
2855
+ }
2856
+ if (this._tokenTypeOverrides.length > 0 || this.balancedBracketSelectors && !this.balancedBracketSelectors.matchesAlways && !this.balancedBracketSelectors.matchesNever) {
2857
+ const scopes2 = scopesList?.getScopeNames() ?? [];
2858
+ for (const tokenType of this._tokenTypeOverrides) {
2859
+ if (tokenType.matcher(scopes2)) {
2860
+ metadata = EncodedTokenMetadata.set(
2861
+ metadata,
2862
+ 0,
2863
+ toOptionalTokenType(tokenType.type),
2864
+ null,
2865
+ -1,
2866
+ 0,
2867
+ 0
2868
+ );
2869
+ }
2870
+ }
2871
+ if (this.balancedBracketSelectors) {
2872
+ containsBalancedBrackets = this.balancedBracketSelectors.match(scopes2);
2873
+ }
2874
+ }
2875
+ if (containsBalancedBrackets) {
2876
+ metadata = EncodedTokenMetadata.set(
2877
+ metadata,
2878
+ 0,
2879
+ 8,
2880
+ containsBalancedBrackets,
2881
+ -1,
2882
+ 0,
2883
+ 0
2884
+ );
2885
+ }
2886
+ if (this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 1] === metadata) {
2887
+ this._lastTokenEndIndex = endIndex;
2888
+ return;
2889
+ }
2890
+ this._binaryTokens.push(this._lastTokenEndIndex);
2891
+ this._binaryTokens.push(metadata);
2892
+ this._lastTokenEndIndex = endIndex;
2893
+ return;
2894
+ }
2895
+ const scopes = scopesList?.getScopeNames() ?? [];
2896
+ this._tokens.push({
2897
+ startIndex: this._lastTokenEndIndex,
2898
+ endIndex,
2899
+ // value: lineText.substring(lastTokenEndIndex, endIndex),
2900
+ scopes
2901
+ });
2902
+ this._lastTokenEndIndex = endIndex;
2903
+ }
2904
+ getResult(stack, lineLength) {
2905
+ if (this._tokens.length > 0 && this._tokens[this._tokens.length - 1].startIndex === lineLength - 1) {
2906
+ this._tokens.pop();
2907
+ }
2908
+ if (this._tokens.length === 0) {
2909
+ this._lastTokenEndIndex = -1;
2910
+ this.produce(stack, lineLength);
2911
+ this._tokens[this._tokens.length - 1].startIndex = 0;
2912
+ }
2913
+ return this._tokens;
2914
+ }
2915
+ getBinaryResult(stack, lineLength) {
2916
+ if (this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 2] === lineLength - 1) {
2917
+ this._binaryTokens.pop();
2918
+ this._binaryTokens.pop();
2919
+ }
2920
+ if (this._binaryTokens.length === 0) {
2921
+ this._lastTokenEndIndex = -1;
2922
+ this.produce(stack, lineLength);
2923
+ this._binaryTokens[this._binaryTokens.length - 2] = 0;
2924
+ }
2925
+ const result = new Uint32Array(this._binaryTokens.length);
2926
+ for (let i = 0, len = this._binaryTokens.length; i < len; i++) {
2927
+ result[i] = this._binaryTokens[i];
2928
+ }
2929
+ return result;
2930
+ }
2931
+ };
2932
+ var SyncRegistry = class {
2933
+ constructor(theme, _onigLib) {
2934
+ __publicField(this, "_grammars", /* @__PURE__ */ new Map());
2935
+ __publicField(this, "_rawGrammars", /* @__PURE__ */ new Map());
2936
+ __publicField(this, "_injectionGrammars", /* @__PURE__ */ new Map());
2937
+ __publicField(this, "_theme");
2938
+ this._onigLib = _onigLib;
2939
+ this._theme = theme;
2940
+ }
2941
+ dispose() {
2942
+ for (const grammar of this._grammars.values()) {
2943
+ grammar.dispose();
2944
+ }
2945
+ }
2946
+ setTheme(theme) {
2947
+ this._theme = theme;
2948
+ }
2949
+ getColorMap() {
2950
+ return this._theme.getColorMap();
2951
+ }
2952
+ /**
2953
+ * Add `grammar` to registry and return a list of referenced scope names
2954
+ */
2955
+ addGrammar(grammar, injectionScopeNames) {
2956
+ this._rawGrammars.set(grammar.scopeName, grammar);
2957
+ if (injectionScopeNames) {
2958
+ this._injectionGrammars.set(grammar.scopeName, injectionScopeNames);
2959
+ }
2960
+ }
2961
+ /**
2962
+ * Lookup a raw grammar.
2963
+ */
2964
+ lookup(scopeName) {
2965
+ return this._rawGrammars.get(scopeName);
2966
+ }
2967
+ /**
2968
+ * Returns the injections for the given grammar
2969
+ */
2970
+ injections(targetScope) {
2971
+ return this._injectionGrammars.get(targetScope);
2972
+ }
2973
+ /**
2974
+ * Get the default theme settings
2975
+ */
2976
+ getDefaults() {
2977
+ return this._theme.getDefaults();
2978
+ }
2979
+ /**
2980
+ * Match a scope in the theme.
2981
+ */
2982
+ themeMatch(scopePath) {
2983
+ return this._theme.match(scopePath);
2984
+ }
2985
+ /**
2986
+ * Lookup a grammar.
2987
+ */
2988
+ grammarForScopeName(scopeName, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors) {
2989
+ if (!this._grammars.has(scopeName)) {
2990
+ let rawGrammar = this._rawGrammars.get(scopeName);
2991
+ if (!rawGrammar) {
2992
+ return null;
2993
+ }
2994
+ this._grammars.set(scopeName, createGrammar(
2995
+ scopeName,
2996
+ rawGrammar,
2997
+ initialLanguage,
2998
+ embeddedLanguages,
2999
+ tokenTypes,
3000
+ balancedBracketSelectors,
3001
+ this,
3002
+ this._onigLib
3003
+ ));
3004
+ }
3005
+ return this._grammars.get(scopeName);
3006
+ }
3007
+ };
3008
+ var Registry$1 = class Registry {
3009
+ constructor(options) {
3010
+ __publicField(this, "_options");
3011
+ __publicField(this, "_syncRegistry");
3012
+ __publicField(this, "_ensureGrammarCache");
3013
+ this._options = options;
3014
+ this._syncRegistry = new SyncRegistry(
3015
+ Theme.createFromRawTheme(options.theme, options.colorMap),
3016
+ options.onigLib
3017
+ );
3018
+ this._ensureGrammarCache = /* @__PURE__ */ new Map();
3019
+ }
3020
+ dispose() {
3021
+ this._syncRegistry.dispose();
3022
+ }
3023
+ /**
3024
+ * Change the theme. Once called, no previous `ruleStack` should be used anymore.
3025
+ */
3026
+ setTheme(theme, colorMap) {
3027
+ this._syncRegistry.setTheme(Theme.createFromRawTheme(theme, colorMap));
3028
+ }
3029
+ /**
3030
+ * Returns a lookup array for color ids.
3031
+ */
3032
+ getColorMap() {
3033
+ return this._syncRegistry.getColorMap();
3034
+ }
3035
+ /**
3036
+ * Load the grammar for `scopeName` and all referenced included grammars asynchronously.
3037
+ * Please do not use language id 0.
3038
+ */
3039
+ loadGrammarWithEmbeddedLanguages(initialScopeName, initialLanguage, embeddedLanguages) {
3040
+ return this.loadGrammarWithConfiguration(initialScopeName, initialLanguage, { embeddedLanguages });
3041
+ }
3042
+ /**
3043
+ * Load the grammar for `scopeName` and all referenced included grammars asynchronously.
3044
+ * Please do not use language id 0.
3045
+ */
3046
+ loadGrammarWithConfiguration(initialScopeName, initialLanguage, configuration) {
3047
+ return this._loadGrammar(
3048
+ initialScopeName,
3049
+ initialLanguage,
3050
+ configuration.embeddedLanguages,
3051
+ configuration.tokenTypes,
3052
+ new BalancedBracketSelectors(
3053
+ configuration.balancedBracketSelectors || [],
3054
+ configuration.unbalancedBracketSelectors || []
3055
+ )
3056
+ );
3057
+ }
3058
+ /**
3059
+ * Load the grammar for `scopeName` and all referenced included grammars asynchronously.
3060
+ */
3061
+ loadGrammar(initialScopeName) {
3062
+ return this._loadGrammar(initialScopeName, 0, null, null, null);
3063
+ }
3064
+ _loadGrammar(initialScopeName, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors) {
3065
+ const dependencyProcessor = new ScopeDependencyProcessor(this._syncRegistry, initialScopeName);
3066
+ while (dependencyProcessor.Q.length > 0) {
3067
+ dependencyProcessor.Q.map((request) => this._loadSingleGrammar(request.scopeName));
3068
+ dependencyProcessor.processQueue();
3069
+ }
3070
+ return this._grammarForScopeName(
3071
+ initialScopeName,
3072
+ initialLanguage,
3073
+ embeddedLanguages,
3074
+ tokenTypes,
3075
+ balancedBracketSelectors
3076
+ );
3077
+ }
3078
+ _loadSingleGrammar(scopeName) {
3079
+ if (!this._ensureGrammarCache.has(scopeName)) {
3080
+ this._doLoadSingleGrammar(scopeName);
3081
+ this._ensureGrammarCache.set(scopeName, true);
3082
+ }
3083
+ }
3084
+ _doLoadSingleGrammar(scopeName) {
3085
+ const grammar = this._options.loadGrammar(scopeName);
3086
+ if (grammar) {
3087
+ const injections = typeof this._options.getInjections === "function" ? this._options.getInjections(scopeName) : void 0;
3088
+ this._syncRegistry.addGrammar(grammar, injections);
3089
+ }
3090
+ }
3091
+ /**
3092
+ * Adds a rawGrammar.
3093
+ */
3094
+ addGrammar(rawGrammar, injections = [], initialLanguage = 0, embeddedLanguages = null) {
3095
+ this._syncRegistry.addGrammar(rawGrammar, injections);
3096
+ return this._grammarForScopeName(rawGrammar.scopeName, initialLanguage, embeddedLanguages);
3097
+ }
3098
+ /**
3099
+ * Get the grammar for `scopeName`. The grammar must first be created via `loadGrammar` or `addGrammar`.
3100
+ */
3101
+ _grammarForScopeName(scopeName, initialLanguage = 0, embeddedLanguages = null, tokenTypes = null, balancedBracketSelectors = null) {
3102
+ return this._syncRegistry.grammarForScopeName(
3103
+ scopeName,
3104
+ initialLanguage,
3105
+ embeddedLanguages,
3106
+ tokenTypes,
3107
+ balancedBracketSelectors
3108
+ );
3109
+ }
3110
+ };
3111
+ var INITIAL = StateStackImpl.NULL;
3112
+ export {
3113
+ EncodedTokenMetadata,
3114
+ FontStyle,
3115
+ INITIAL,
3116
+ Registry$1 as Registry,
3117
+ Theme,
3118
+ disposeOnigString
3119
+ };