mycode-cli 0.11.0__tar.gz → 0.11.1__tar.gz

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 (401) hide show
  1. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/PKG-INFO +3 -2
  2. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/README.md +1 -0
  3. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/pyproject.toml +2 -2
  4. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/config.py +21 -1
  5. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/runtime.py +1 -0
  6. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/routers/chat.py +3 -5
  7. mycode_cli-0.11.0/src/mycode_cli/server/static/assets/EditDiff-LAalWeeU.js → mycode_cli-0.11.1/src/mycode_cli/server/static/assets/EditDiff-BW1xrdoV.js +1 -1
  8. mycode_cli-0.11.0/src/mycode_cli/server/static/assets/engine-compile-cjbCYuu9.js → mycode_cli-0.11.1/src/mycode_cli/server/static/assets/engine-compile-CJhJiwYv.js +1 -1
  9. mycode_cli-0.11.0/src/mycode_cli/server/static/assets/highlighter-CnUeqpj0.js → mycode_cli-0.11.1/src/mycode_cli/server/static/assets/highlighter-C2aKLjRQ.js +1 -1
  10. mycode_cli-0.11.1/src/mycode_cli/server/static/assets/index-BBMqDYCh.css +1 -0
  11. mycode_cli-0.11.1/src/mycode_cli/server/static/assets/index-BfFaZKNv.js +368 -0
  12. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/index.html +2 -2
  13. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/tui/chat.py +2 -2
  14. mycode_cli-0.11.0/src/mycode_cli/server/static/assets/index-C3Ih75U7.css +0 -1
  15. mycode_cli-0.11.0/src/mycode_cli/server/static/assets/index-_Mo0CKIt.js +0 -368
  16. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/.gitignore +0 -0
  17. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/LICENSE +0 -0
  18. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/hatch_build.py +0 -0
  19. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/__init__.py +0 -0
  20. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/main.py +0 -0
  21. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/permissions.py +0 -0
  22. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/__init__.py +0 -0
  23. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/app.py +0 -0
  24. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/deps.py +0 -0
  25. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/routers/__init__.py +0 -0
  26. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/routers/sessions.py +0 -0
  27. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/routers/settings.py +0 -0
  28. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/routers/workspaces.py +0 -0
  29. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/run_manager.py +0 -0
  30. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/schemas.py +0 -0
  31. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  32. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  33. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  34. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  35. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  36. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  37. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  38. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  39. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  40. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  41. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  42. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  43. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  44. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  45. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  46. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  47. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  48. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  49. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  50. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  51. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  52. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  53. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  54. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  55. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  56. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  57. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  58. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  59. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  60. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  61. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  62. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  63. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  64. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  65. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  66. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  67. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  68. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  69. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  70. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  71. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  72. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  73. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  74. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  75. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  76. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  77. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  78. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  79. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  80. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  81. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  82. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  83. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  84. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  85. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  86. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  87. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  88. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  89. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  90. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/abap-CLvhMVsD.js +0 -0
  91. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/actionscript-3--17pq3dv.js +0 -0
  92. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ada-C5qYipkI.js +0 -0
  93. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/andromeeda-vGVdxbeo.js +0 -0
  94. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/angular-html-Jkkxos3q.js +0 -0
  95. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/angular-ts-Dhh1UKvY.js +0 -0
  96. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/apache-U0d_L8uA.js +0 -0
  97. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/apex-CGTLDQj6.js +0 -0
  98. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/apl-DofiDXc-.js +0 -0
  99. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/applescript-CCn79oCD.js +0 -0
  100. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ara-4CJ0cIlV.js +0 -0
  101. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/asciidoc-DE70LPWp.js +0 -0
  102. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/asm-Cmm7eHzH.js +0 -0
  103. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/astro-CkvdhIAJ.js +0 -0
  104. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/aurora-x-CDeNXAV0.js +0 -0
  105. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/awk-BWXHIvNe.js +0 -0
  106. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ayu-dark-DluEY0Gj.js +0 -0
  107. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ayu-light-C3h-C4tm.js +0 -0
  108. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ayu-mirage-Bqwy1Gya.js +0 -0
  109. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ballerina-B7ZEbQpA.js +0 -0
  110. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/bat-Bo4NYOV-.js +0 -0
  111. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/beancount-D-usSTwE.js +0 -0
  112. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/berry-DKpUyyne.js +0 -0
  113. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/bibtex-Ci_nEsc7.js +0 -0
  114. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/bicep-CUHmPFLl.js +0 -0
  115. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/bird2-C2hNVINV.js +0 -0
  116. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/blade-D__6Z9s9.js +0 -0
  117. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/bsl-BkkzgIyY.js +0 -0
  118. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/c-Wt1voDr2.js +0 -0
  119. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/c3-CnJL0r0V.js +0 -0
  120. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/cadence-CQ2zXKGN.js +0 -0
  121. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/cairo-DLTphjLi.js +0 -0
  122. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/catppuccin-frappe-3VR1Za6u.js +0 -0
  123. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/catppuccin-latte-DwIHMF0Q.js +0 -0
  124. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/catppuccin-macchiato-DYnBP6_5.js +0 -0
  125. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/catppuccin-mocha-DYhrFGRu.js +0 -0
  126. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/clarity-SemFz856.js +0 -0
  127. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/clojure-DqKBuwfJ.js +0 -0
  128. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/cmake-Bj61d0ZC.js +0 -0
  129. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/cobol-By99cTah.js +0 -0
  130. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/codeowners-C8r90Shi.js +0 -0
  131. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/codeql-oeQT6MSM.js +0 -0
  132. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/coffee-CThvmt4R.js +0 -0
  133. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/common-lisp-Cv5bFMCO.js +0 -0
  134. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/coq-BrsZFFmf.js +0 -0
  135. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/cpp-CSisbjOA.js +0 -0
  136. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/crystal-CnoV_bOm.js +0 -0
  137. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/csharp-Ct8U2NOr.js +0 -0
  138. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/css-CA8lF1T0.js +0 -0
  139. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/csv-Dx-8-gkx.js +0 -0
  140. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/cue-CE9AQfxI.js +0 -0
  141. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/cypher-ClKdZ_lG.js +0 -0
  142. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/d-qD-0Kul2.js +0 -0
  143. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/dark-plus-Cs2F2srj.js +0 -0
  144. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/dart-DkHntEIa.js +0 -0
  145. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/dax-BkyTk9wS.js +0 -0
  146. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/desktop-Dlh5hvp9.js +0 -0
  147. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/diff-woXpYk--.js +0 -0
  148. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/docker-IyjqRm3v.js +0 -0
  149. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/dotenv-_5a1GRtc.js +0 -0
  150. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/dracula-BHWKrbxM.js +0 -0
  151. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/dracula-soft-5eyTD99u.js +0 -0
  152. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/dream-maker-DW3nJb8Q.js +0 -0
  153. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/edge-CHwPm-XV.js +0 -0
  154. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/elixir-CWHDJuHM.js +0 -0
  155. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/elm-dREJmIFz.js +0 -0
  156. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/emacs-lisp-C9PiwqqW.js +0 -0
  157. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/erb-BT2FSELU.js +0 -0
  158. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/erlang-Cphh6RMH.js +0 -0
  159. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/everforest-dark-sB-x3p7T.js +0 -0
  160. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/everforest-light-Df2xbC6M.js +0 -0
  161. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/fennel-DQxkIbk2.js +0 -0
  162. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/fish-BJitypiv.js +0 -0
  163. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/fluent-C03EYrpw.js +0 -0
  164. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/fortran-fixed-form-DEKoE2YW.js +0 -0
  165. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/fortran-free-form-CYNrtFtB.js +0 -0
  166. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/fsharp-D13ZGOAj.js +0 -0
  167. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gdresource-C0sCabJj.js +0 -0
  168. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gdscript-Cp2uCuqX.js +0 -0
  169. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gdshader-CBce3t8t.js +0 -0
  170. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/genie-CV2tkWYe.js +0 -0
  171. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gherkin-DExj1W_8.js +0 -0
  172. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/git-commit-BSykSTBG.js +0 -0
  173. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/git-rebase-B44mJPta.js +0 -0
  174. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/github-dark-C-LZuMrd.js +0 -0
  175. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/github-dark-default-DXG-b-1a.js +0 -0
  176. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/github-dark-dimmed-Bx1FflLF.js +0 -0
  177. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/github-dark-high-contrast-B_tTalzw.js +0 -0
  178. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/github-light-EUqPIrTm.js +0 -0
  179. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/github-light-default-BXViO-2h.js +0 -0
  180. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/github-light-high-contrast-B68TUdTA.js +0 -0
  181. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gleam-CSRkHgEL.js +0 -0
  182. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/glimmer-js-rjrsCEwg.js +0 -0
  183. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/glimmer-ts-B6WVWV5o.js +0 -0
  184. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/glsl-Dv5r7kPw.js +0 -0
  185. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gn-ilITqXS6.js +0 -0
  186. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gnuplot-7GGW24-e.js +0 -0
  187. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/go-BJwz_mda.js +0 -0
  188. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/graphql-CB4jsw2E.js +0 -0
  189. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/groovy-CacY0gHj.js +0 -0
  190. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gruvbox-dark-hard-C820rvS2.js +0 -0
  191. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gruvbox-dark-medium-BPjhmG05.js +0 -0
  192. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gruvbox-dark-soft-MrdJrrXF.js +0 -0
  193. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gruvbox-light-hard-BC_s9l72.js +0 -0
  194. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gruvbox-light-medium-BAWPOn9u.js +0 -0
  195. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/gruvbox-light-soft-BSMLrYjP.js +0 -0
  196. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/hack-WqWnv1tE.js +0 -0
  197. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/haml-DYeSPR5E.js +0 -0
  198. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/handlebars-Bu1eSG8Z.js +0 -0
  199. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/haskell-D8IpX4py.js +0 -0
  200. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/haxe-OTjmBuCE.js +0 -0
  201. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/hcl-Dh228itO.js +0 -0
  202. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/hjson-CxZEssPk.js +0 -0
  203. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/hlsl-Cvrh5tZx.js +0 -0
  204. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/horizon-CE9ld1lL.js +0 -0
  205. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/horizon-bright-Br1oVSNq.js +0 -0
  206. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/houston-CsvMBhTu.js +0 -0
  207. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/html-DjHL45Qa.js +0 -0
  208. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/html-derivative-BU3x0Qsu.js +0 -0
  209. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/http-Cyd7bS_S.js +0 -0
  210. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/hurl-CWPsiEpf.js +0 -0
  211. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/hxml-B0Qn7Nwc.js +0 -0
  212. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/hy-CZbG8q4J.js +0 -0
  213. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/imba-DsUTQ-LC.js +0 -0
  214. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ini-B5eOa1yu.js +0 -0
  215. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/java-CGc3VwQr.js +0 -0
  216. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/javascript-CUt1pgmJ.js +0 -0
  217. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/jinja-CEztI1Tk.js +0 -0
  218. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/jison-imPNup1l.js +0 -0
  219. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/json-Bg9ijW3F.js +0 -0
  220. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/json5-BR5RXkoi.js +0 -0
  221. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/jsonc-CYpm1nAK.js +0 -0
  222. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/jsonl-CmCQp5Yx.js +0 -0
  223. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/jsonnet-CJTPZ8u_.js +0 -0
  224. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/jssm-DXw9l8Rf.js +0 -0
  225. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/jsx-CY6oMTks.js +0 -0
  226. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/julia-CNItCTbb.js +0 -0
  227. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/just-jjkdu6mQ.js +0 -0
  228. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/kanagawa-dragon-CXtmUGW6.js +0 -0
  229. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/kanagawa-lotus-BN08jTvb.js +0 -0
  230. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/kanagawa-wave-CTweb8Dz.js +0 -0
  231. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/kdl-CsD5j6eV.js +0 -0
  232. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/kotlin-DhhofPvG.js +0 -0
  233. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/kusto-BUv0MjJC.js +0 -0
  234. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/laserwave-C_8bwKvT.js +0 -0
  235. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/latex-C76IGIMI.js +0 -0
  236. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/lean-CewbzKMR.js +0 -0
  237. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/less-DVTAwKKz.js +0 -0
  238. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/light-plus-DVQuIRkW.js +0 -0
  239. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/liquid-C9yyKiYi.js +0 -0
  240. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/llvm-Cm23YOpf.js +0 -0
  241. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/log-BNLmms1o.js +0 -0
  242. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/logo-Cluzi2Zq.js +0 -0
  243. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/lua-BjLEUjKY.js +0 -0
  244. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/luau-CNKltnaQ.js +0 -0
  245. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/make-Dixweg8N.js +0 -0
  246. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/markdown-BYOwaDjH.js +0 -0
  247. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/marko-ec6q-ucw.js +0 -0
  248. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/material-theme-Bm3Qr25_.js +0 -0
  249. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/material-theme-darker-2IIEA8gg.js +0 -0
  250. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/material-theme-lighter-uhdI0v04.js +0 -0
  251. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/material-theme-ocean-CHQ94UKr.js +0 -0
  252. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/material-theme-palenight-B5W6OYN7.js +0 -0
  253. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/matlab-D7qyCx1q.js +0 -0
  254. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/mdc-BavjQPUD.js +0 -0
  255. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/mdx-DQZ5AkYe.js +0 -0
  256. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/mermaid-Bk4SNUv9.js +0 -0
  257. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/min-dark-BSWPekZh.js +0 -0
  258. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/min-light-DDpmG2fV.js +0 -0
  259. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/mipsasm-BMqwQI7S.js +0 -0
  260. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/mojo-BgCJLMeH.js +0 -0
  261. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/monokai-CdkpiU2Y.js +0 -0
  262. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/moonbit-CaWjb8XO.js +0 -0
  263. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/move-B1IS1UjX.js +0 -0
  264. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/narrat-_X_XdTYD.js +0 -0
  265. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/nextflow-Bbiyy34d.js +0 -0
  266. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/nextflow-groovy-Dc_ddanL.js +0 -0
  267. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/nginx-Bhc82uuv.js +0 -0
  268. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/night-owl-DhmEMT88.js +0 -0
  269. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/night-owl-light-eJ-hLW7d.js +0 -0
  270. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/nim-DIpKdLL3.js +0 -0
  271. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/nix-IvuFDN5E.js +0 -0
  272. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/nord-Cb4Vim4T.js +0 -0
  273. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/nushell-DcLAeLz5.js +0 -0
  274. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/objective-c-D1A_Heim.js +0 -0
  275. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/objective-cpp-BsSzOQcm.js +0 -0
  276. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ocaml-O90oeIOV.js +0 -0
  277. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/odin-B1RWQWA5.js +0 -0
  278. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/one-dark-pro-CLwyXe_n.js +0 -0
  279. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/one-light-D7Lr4KcI.js +0 -0
  280. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/openscad-BUDT5pXO.js +0 -0
  281. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/pascal-4ZHwLPI5.js +0 -0
  282. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/perl-BV7QKbRD.js +0 -0
  283. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/php-C0fIbeYq.js +0 -0
  284. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/pierre-dark-PhHPzmGe.js +0 -0
  285. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/pierre-light-DN22GkGi.js +0 -0
  286. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/pkl-ot-7Btpt.js +0 -0
  287. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/plastic-DQwYfKfQ.js +0 -0
  288. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/plsql-DGHpHOYJ.js +0 -0
  289. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/po-BiJDBrnU.js +0 -0
  290. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/poimandres-DRFjx7u4.js +0 -0
  291. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/polar-C7UOKdEL.js +0 -0
  292. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/postcss-BXeXVLqQ.js +0 -0
  293. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/powerquery-DNMTfnFr.js +0 -0
  294. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/powershell-DshXNtvi.js +0 -0
  295. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/prisma-BsRQq5mF.js +0 -0
  296. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/prolog-iXnhIJG7.js +0 -0
  297. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/proto-DB4EqR-F.js +0 -0
  298. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/pug-BfZ7847f.js +0 -0
  299. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/puppet-CDv2pdJW.js +0 -0
  300. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/purescript-9MfHhQsQ.js +0 -0
  301. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/python-gzcpVVnB.js +0 -0
  302. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/qml-BdUV3aTS.js +0 -0
  303. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/qmldir-DCQb3MpD.js +0 -0
  304. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/qss-Fe1Jh2GI.js +0 -0
  305. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/r-8R7vtdQc.js +0 -0
  306. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/racket-DcIDlBhZ.js +0 -0
  307. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/raku-B3gFvitq.js +0 -0
  308. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/razor-CIstp9EF.js +0 -0
  309. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/red-CJ3rzSJv.js +0 -0
  310. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/reg-CRGYupPL.js +0 -0
  311. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/regexp-Omp9DhTb.js +0 -0
  312. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rel-BtDbiS_P.js +0 -0
  313. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/riscv-Ckw8ddFX.js +0 -0
  314. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rolldown-runtime-QTnfLwEv.js +0 -0
  315. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ron-VUp2lXgN.js +0 -0
  316. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rose-pine-BthvhNj6.js +0 -0
  317. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rose-pine-dawn-Dg85fqjY.js +0 -0
  318. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rose-pine-moon-hon4tzzS.js +0 -0
  319. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rosmsg-CAekHB0j.js +0 -0
  320. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rst-CsTSTjeR.js +0 -0
  321. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ruby-B9XnubfT.js +0 -0
  322. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/rust-Cfkwpbl8.js +0 -0
  323. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/sas-C-6xvSOT.js +0 -0
  324. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/sass-DXrisJhu.js +0 -0
  325. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/scala-DKOlJaKm.js +0 -0
  326. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/scheme-DQCgrYNe.js +0 -0
  327. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/scss-DmHWXjTt.js +0 -0
  328. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/sdbl-bTVj8UrX.js +0 -0
  329. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/shaderlab-TOUzSsQk.js +0 -0
  330. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/shellscript-DwcUjJBL.js +0 -0
  331. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/shellsession-CPZkydE6.js +0 -0
  332. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/slack-dark-DnToyrRv.js +0 -0
  333. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/slack-ochin-B2OO5cIa.js +0 -0
  334. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/smalltalk-B16xEiuN.js +0 -0
  335. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/snazzy-light-4G7pJPwS.js +0 -0
  336. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/solarized-dark-DV17i1UV.js +0 -0
  337. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/solarized-light-DSh2HLQt.js +0 -0
  338. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/solidity-CKzVLygQ.js +0 -0
  339. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/soy-CQkG5Mdb.js +0 -0
  340. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/sparql-D_iOobhT.js +0 -0
  341. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/splunk-BC2Px7Mm.js +0 -0
  342. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/sql-DVgP7kNR.js +0 -0
  343. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ssh-config-BgfXC-Er.js +0 -0
  344. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/stata-jIc8T1G_.js +0 -0
  345. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/stylus-B6D30XZt.js +0 -0
  346. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/surrealql-IeLNQw0f.js +0 -0
  347. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/svelte-D-pZgLEg.js +0 -0
  348. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/swift-DonLKvLd.js +0 -0
  349. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/synthwave-84-nFMaYfgc.js +0 -0
  350. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/system-verilog-DJ5XKQeo.js +0 -0
  351. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/systemd-BxMlprV5.js +0 -0
  352. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/talonscript-CohzipZa.js +0 -0
  353. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/tasl-DMoTqEGO.js +0 -0
  354. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/tcl-CZd0xW_V.js +0 -0
  355. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/templ-O6P4mZUV.js +0 -0
  356. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/terraform-DswuEJGm.js +0 -0
  357. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/tex-D8QMumu5.js +0 -0
  358. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/tokyo-night-oM2G3aXe.js +0 -0
  359. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/toml-CcmNWLt0.js +0 -0
  360. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/ts-tags-BHdwdDhd.js +0 -0
  361. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/tsv-sltzmVWM.js +0 -0
  362. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/tsx-5Eka4NBX.js +0 -0
  363. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/turtle-ByJddavk.js +0 -0
  364. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/twig-CwE6Fi-8.js +0 -0
  365. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/typescript-DOu2WMV5.js +0 -0
  366. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/typespec-B88KGewJ.js +0 -0
  367. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/typst-DI99ib-x.js +0 -0
  368. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/v-DETTlOr0.js +0 -0
  369. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vala-zf12oZj6.js +0 -0
  370. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vb-Djn5o6TS.js +0 -0
  371. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/verilog-CiiDBU1e.js +0 -0
  372. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vesper-D5bVUKB1.js +0 -0
  373. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vhdl-BroJfC0k.js +0 -0
  374. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/viml-DvXPmvsu.js +0 -0
  375. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vitesse-black-fwtXNY1n.js +0 -0
  376. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vitesse-dark-BZCL-v6S.js +0 -0
  377. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vitesse-light-VbXTXTou.js +0 -0
  378. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vue-D4DC7ZOC.js +0 -0
  379. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vue-html-BeluIYX0.js +0 -0
  380. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vue-vine-DIv93V4i.js +0 -0
  381. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/vyper-CgoNMtux.js +0 -0
  382. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/wasm-BnjxR4X6.js +0 -0
  383. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/wasm-ByWQv1Qj.js +0 -0
  384. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/wenyan-C8pVoKbM.js +0 -0
  385. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/wgsl-BsKzXJz4.js +0 -0
  386. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/wikitext-ClFFjSW2.js +0 -0
  387. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/wit-DdvCle-K.js +0 -0
  388. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/wolfram-DLL8P-h_.js +0 -0
  389. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/xml-DIqSwXR3.js +0 -0
  390. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/xsl-Ct_-YIAy.js +0 -0
  391. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/yaml-DTtCYNlS.js +0 -0
  392. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/zenscript-BnlCZFoB.js +0 -0
  393. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/assets/zig-CMLA9XwU.js +0 -0
  394. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/favicon_slashes.svg +0 -0
  395. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/fonts/OFL.txt +0 -0
  396. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/fonts/SourceCodePro-Variable.woff2 +0 -0
  397. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/server/static/fonts/SourceSans3-Variable.woff2 +0 -0
  398. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/system_prompt.py +0 -0
  399. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/tui/__init__.py +0 -0
  400. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/tui/render.py +0 -0
  401. {mycode_cli-0.11.0 → mycode_cli-0.11.1}/src/mycode_cli/tui/theme.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mycode-cli
3
- Version: 0.11.0
3
+ Version: 0.11.1
4
4
  Summary: Minimal coding agent CLI and web UI built on mycode-sdk.
5
5
  Project-URL: Homepage, https://github.com/legibet/mycode
6
6
  Project-URL: Repository, https://github.com/legibet/mycode
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: Software Development
23
23
  Requires-Python: >=3.12
24
24
  Requires-Dist: fastapi>=0.139.0
25
- Requires-Dist: mycode-sdk==0.11.0
25
+ Requires-Dist: mycode-sdk==0.11.1
26
26
  Requires-Dist: prompt-toolkit>=3.0.52
27
27
  Requires-Dist: pyyaml>=6.0.3
28
28
  Requires-Dist: rich>=15.0.0
@@ -82,6 +82,7 @@ API keys are discovered automatically from environment variables (see Providers)
82
82
  | DeepSeek | `deepseek` | `DEEPSEEK_API_KEY` |
83
83
  | Z.AI | `zai` | `ZAI_API_KEY` |
84
84
  | OpenRouter | `openrouter` | `OPENROUTER_API_KEY` |
85
+ | xAI | `xai` | `XAI_API_KEY` |
85
86
  | OpenAI-compatible | `openai_chat` | — |
86
87
 
87
88
  Run `/model` in tui to see the available models.
@@ -50,6 +50,7 @@ API keys are discovered automatically from environment variables (see Providers)
50
50
  | DeepSeek | `deepseek` | `DEEPSEEK_API_KEY` |
51
51
  | Z.AI | `zai` | `ZAI_API_KEY` |
52
52
  | OpenRouter | `openrouter` | `OPENROUTER_API_KEY` |
53
+ | xAI | `xai` | `XAI_API_KEY` |
53
54
  | OpenAI-compatible | `openai_chat` | — |
54
55
 
55
56
  Run `/model` in tui to see the available models.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "mycode-cli"
7
- version = "0.11.0"
7
+ version = "0.11.1"
8
8
  description = "Minimal coding agent CLI and web UI built on mycode-sdk."
9
9
  requires-python = ">=3.12"
10
10
  license = "MIT"
@@ -26,7 +26,7 @@ classifiers = [
26
26
  ]
27
27
  keywords = ["agent", "cli", "llm", "coding-agent", "fastapi"]
28
28
  dependencies = [
29
- "mycode-sdk==0.11.0",
29
+ "mycode-sdk==0.11.1",
30
30
  "fastapi>=0.139.0",
31
31
  "uvicorn[standard]>=0.51.0",
32
32
  "rich>=15.0.0",
@@ -11,6 +11,7 @@ from typing import Any, Literal
11
11
 
12
12
  from mycode.models import resolve_model_metadata
13
13
  from mycode.providers import (
14
+ OpenAIChatAdapter,
14
15
  get_provider_adapter,
15
16
  is_supported_provider,
16
17
  list_env_discoverable_providers,
@@ -61,6 +62,9 @@ class ProviderConfig:
61
62
  api_key_env_var: str | None = None
62
63
  base_url: str | None = None
63
64
  reasoning_effort: str | None = None
65
+ # Opt-in for generic openai_chat endpoints that accept the standard
66
+ # top-level reasoning_effort param. Ignored for other provider types.
67
+ supports_reasoning_effort: bool = False
64
68
 
65
69
 
66
70
  @dataclass(frozen=True)
@@ -94,6 +98,7 @@ class ResolvedProvider:
94
98
  reasoning_effort: str | None
95
99
  provider_name: str | None = None
96
100
  model_config: ModelConfig | None = None
101
+ supports_reasoning_effort: bool = False
97
102
 
98
103
 
99
104
  def resolve_mycode_home() -> Path:
@@ -347,6 +352,12 @@ def _validate_provider_config(name: str, raw: Any) -> dict[str, Any]:
347
352
  normalize_reasoning_effort(effort)
348
353
  out["reasoning_effort"] = effort
349
354
 
355
+ supports_effort = raw.get("supports_reasoning_effort")
356
+ if supports_effort is not None:
357
+ if not isinstance(supports_effort, bool):
358
+ raise ValueError(f"provider {name!r}: supports_reasoning_effort must be a boolean")
359
+ out["supports_reasoning_effort"] = supports_effort
360
+
350
361
  raw_models = raw.get("models")
351
362
  if raw_models is not None:
352
363
  models = _validate_model_config_entries(name, raw_models)
@@ -422,6 +433,8 @@ def get_settings(cwd: str | None = None) -> Settings:
422
433
  merged["base_url"] = raw.get("base_url") or None
423
434
  if "reasoning_effort" in raw:
424
435
  merged["reasoning_effort"] = raw.get("reasoning_effort") or None
436
+ if "supports_reasoning_effort" in raw:
437
+ merged["supports_reasoning_effort"] = raw.get("supports_reasoning_effort")
425
438
 
426
439
  raw_providers[name] = merged
427
440
 
@@ -536,6 +549,7 @@ def _build_providers(raw_providers: dict[str, dict[str, Any]]) -> dict[str, Prov
536
549
  api_key_env_var=raw.get("api_key_env_var") or None,
537
550
  base_url=raw.get("base_url") or None,
538
551
  reasoning_effort=normalize_reasoning_effort(raw.get("reasoning_effort")),
552
+ supports_reasoning_effort=bool(as_bool(raw.get("supports_reasoning_effort"))),
539
553
  )
540
554
 
541
555
  return providers
@@ -698,10 +712,15 @@ def _resolve_provider_runtime(
698
712
  supports_reasoning=model_config.supports_reasoning if model_config else None,
699
713
  )
700
714
  adapter = get_provider_adapter(provider_type)
715
+ # Whether this endpoint accepts the effort knob: the adapter declares it
716
+ # natively, or a generic openai_chat provider opts in via config.
717
+ supports_effort = adapter.supports_reasoning_effort or bool(
718
+ provider_config and provider_config.supports_reasoning_effort and isinstance(adapter, OpenAIChatAdapter)
719
+ )
701
720
  reasoning_effort = gate_reasoning_effort(
702
721
  configured_effort,
703
722
  supports_reasoning=meta.supports_reasoning,
704
- adapter_supports_effort=adapter.supports_reasoning_effort,
723
+ adapter_supports_effort=supports_effort,
705
724
  )
706
725
 
707
726
  resolved_api_key = api_key
@@ -729,4 +748,5 @@ def _resolve_provider_runtime(
729
748
  api_base=resolved_api_base,
730
749
  reasoning_effort=reasoning_effort,
731
750
  model_config=model_config,
751
+ supports_reasoning_effort=supports_effort,
732
752
  )
@@ -38,6 +38,7 @@ def build_agent(
38
38
  api_key=resolved_provider.api_key,
39
39
  api_base=resolved_provider.api_base,
40
40
  reasoning_effort=reasoning_effort if reasoning_effort is not None else resolved_provider.reasoning_effort,
41
+ supports_reasoning_effort=resolved_provider.supports_reasoning_effort,
41
42
  max_tokens=model_config.max_output_tokens if model_config else None,
42
43
  context_window=model_config.context_window if model_config else None,
43
44
  supports_reasoning=model_config.supports_reasoning if model_config else None,
@@ -29,7 +29,7 @@ from mycode.messages import (
29
29
  text_block,
30
30
  )
31
31
  from mycode.models import resolve_model_metadata
32
- from mycode.providers import get_provider_adapter, provider_default_models
32
+ from mycode.providers import provider_default_models
33
33
  from mycode.utils import resolve_path
34
34
  from mycode_cli.config import (
35
35
  REASONING_EFFORT_OPTIONS,
@@ -210,12 +210,11 @@ async def chat(chat: ChatRequest, store: StoreDep, runs: RunManagerDep) -> ChatR
210
210
  if "document" in content_types and not model_meta.supports_pdf_input:
211
211
  raise HTTPException(status_code=400, detail="current model does not support PDF input")
212
212
 
213
- adapter = get_provider_adapter(resolved.provider)
214
213
  configured_effort = request_effort if request_effort is not None else resolved.reasoning_effort
215
214
  reasoning_effort = gate_reasoning_effort(
216
215
  configured_effort,
217
216
  supports_reasoning=model_meta.supports_reasoning,
218
- adapter_supports_effort=adapter.supports_reasoning_effort,
217
+ adapter_supports_effort=resolved.supports_reasoning_effort,
219
218
  )
220
219
 
221
220
  async with runs.session_operation(session_id):
@@ -408,7 +407,6 @@ async def get_config(cwd: Annotated[str | None, Query()] = None) -> dict[str, An
408
407
  image_models: list[str] = []
409
408
  pdf_models: list[str] = []
410
409
  reasoning_models: list[str] = []
411
- adapter = get_provider_adapter(provider.provider)
412
410
  for model in models:
413
411
  model_config = provider_config.models.get(model) if provider_config else None
414
412
  model_meta = resolve_model_metadata(
@@ -425,7 +423,7 @@ async def get_config(cwd: Annotated[str | None, Query()] = None) -> dict[str, An
425
423
  if model_meta.supports_pdf_input:
426
424
  pdf_models.append(model)
427
425
 
428
- if adapter.supports_reasoning_effort:
426
+ if provider.supports_reasoning_effort:
429
427
  info["supports_reasoning_effort"] = True
430
428
  info["reasoning_models"] = reasoning_models
431
429
  info["reasoning_effort"] = provider.reasoning_effort
@@ -1,4 +1,4 @@
1
- import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{a as t,i as n,n as r,o as i,r as a,s as o,t as s}from"./engine-compile-cjbCYuu9.js";import{d as c,n as l,t as u,u as d}from"./index-_Mo0CKIt.js";var f={position:`absolute`,top:0,bottom:0,textAlign:`center`},p={display:`contents`};function m(){return null}var h=`diffs-container`,g=/(?=^From [a-f0-9]+ .+$)/m,_=/(?=^diff --git)/gm,v=/(?=^---\s+\S)/gm,y=/(?=^@@ )/gm,b=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@(?: (.*))?/m,x=/(?<=\n)/,S=/^(---|\+\+\+)\s+([^\t\r\n]+)/,C=/^(---|\+\+\+)\s+[ab]\/([^\t\r\n]+)/,w=/^diff --git (?:"a\/(.+?)"|a\/(.+?)) (?:"b\/(.+?)"|b\/(.+?))$/,T=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i,E=`header-prefix`,D=`header-metadata`,O=`header-custom`,k={dark:`pierre-dark`,light:`pierre-light`},ee=`data-theme-css`,te=`data-unsafe-css`,ne={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,hunkSeparatorHeight:32,fileGap:8},re=Object.freeze({fromStart:0,fromEnd:0}),ie={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},ae={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0};function A(e){return`annotation-${`side`in e?`${e.side}-`:``}${e.lineNumber}`}var j=d();function oe(e,t){return typeof window>`u`&&t!=null?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`template`,{shadowrootmode:`open`,dangerouslySetInnerHTML:{__html:t}}),e]}):(0,j.jsx)(j.Fragment,{children:e})}var M=e(c(),1),se=(0,M.createContext)(void 0);function ce(){return(0,M.useContext)(se)}var N=new Map,le=new Map,ue=new Map,de=new Set;function fe(e,t){e=Array.isArray(e)?e:[e];for(let n of e){let e;if(typeof n==`string`){if(e=N.get(n),e==null)throw Error(`loadResolvedThemes: ${n} is not resolved, you must resolve it before calling loadResolvedThemes`)}else e=n,n=n.name,N.has(n)||N.set(n,e);de.has(n)||(de.add(n),t.loadThemeSync(e))}}var P=new Map,pe=new Map,me=new Map,he=new Set;function ge(e,t){e=Array.isArray(e)?e:[e];for(let n of e){if(he.has(n.name))continue;let e=P.get(n.name);e??(e=n,P.set(n.name,e)),he.add(e.name),t.loadLanguageSync(e.data)}}function _e(){return typeof WorkerGlobalScope<`u`&&typeof self<`u`&&self instanceof WorkerGlobalScope}var ve=Object.fromEntries([{id:`andromeeda`,displayName:`Andromeeda`,type:`dark`,import:(()=>l(()=>import(`./andromeeda-vGVdxbeo.js`),[]))},{id:`aurora-x`,displayName:`Aurora X`,type:`dark`,import:(()=>l(()=>import(`./aurora-x-CDeNXAV0.js`),[]))},{id:`ayu-dark`,displayName:`Ayu Dark`,type:`dark`,import:(()=>l(()=>import(`./ayu-dark-DluEY0Gj.js`),[]))},{id:`ayu-light`,displayName:`Ayu Light`,type:`light`,import:(()=>l(()=>import(`./ayu-light-C3h-C4tm.js`),[]))},{id:`ayu-mirage`,displayName:`Ayu Mirage`,type:`dark`,import:(()=>l(()=>import(`./ayu-mirage-Bqwy1Gya.js`),[]))},{id:`catppuccin-frappe`,displayName:`Catppuccin Frappé`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-frappe-3VR1Za6u.js`),[]))},{id:`catppuccin-latte`,displayName:`Catppuccin Latte`,type:`light`,import:(()=>l(()=>import(`./catppuccin-latte-DwIHMF0Q.js`),[]))},{id:`catppuccin-macchiato`,displayName:`Catppuccin Macchiato`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-macchiato-DYnBP6_5.js`),[]))},{id:`catppuccin-mocha`,displayName:`Catppuccin Mocha`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-mocha-DYhrFGRu.js`),[]))},{id:`dark-plus`,displayName:`Dark Plus`,type:`dark`,import:(()=>l(()=>import(`./dark-plus-Cs2F2srj.js`),[]))},{id:`dracula`,displayName:`Dracula Theme`,type:`dark`,import:(()=>l(()=>import(`./dracula-BHWKrbxM.js`),[]))},{id:`dracula-soft`,displayName:`Dracula Theme Soft`,type:`dark`,import:(()=>l(()=>import(`./dracula-soft-5eyTD99u.js`),[]))},{id:`everforest-dark`,displayName:`Everforest Dark`,type:`dark`,import:(()=>l(()=>import(`./everforest-dark-sB-x3p7T.js`),[]))},{id:`everforest-light`,displayName:`Everforest Light`,type:`light`,import:(()=>l(()=>import(`./everforest-light-Df2xbC6M.js`),[]))},{id:`github-dark`,displayName:`GitHub Dark`,type:`dark`,import:(()=>l(()=>import(`./github-dark-C-LZuMrd.js`),[]))},{id:`github-dark-default`,displayName:`GitHub Dark Default`,type:`dark`,import:(()=>l(()=>import(`./github-dark-default-DXG-b-1a.js`),[]))},{id:`github-dark-dimmed`,displayName:`GitHub Dark Dimmed`,type:`dark`,import:(()=>l(()=>import(`./github-dark-dimmed-Bx1FflLF.js`),[]))},{id:`github-dark-high-contrast`,displayName:`GitHub Dark High Contrast`,type:`dark`,import:(()=>l(()=>import(`./github-dark-high-contrast-B_tTalzw.js`),[]))},{id:`github-light`,displayName:`GitHub Light`,type:`light`,import:(()=>l(()=>import(`./github-light-EUqPIrTm.js`),[]))},{id:`github-light-default`,displayName:`GitHub Light Default`,type:`light`,import:(()=>l(()=>import(`./github-light-default-BXViO-2h.js`),[]))},{id:`github-light-high-contrast`,displayName:`GitHub Light High Contrast`,type:`light`,import:(()=>l(()=>import(`./github-light-high-contrast-B68TUdTA.js`),[]))},{id:`gruvbox-dark-hard`,displayName:`Gruvbox Dark Hard`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-hard-C820rvS2.js`),[]))},{id:`gruvbox-dark-medium`,displayName:`Gruvbox Dark Medium`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-medium-BPjhmG05.js`),[]))},{id:`gruvbox-dark-soft`,displayName:`Gruvbox Dark Soft`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-soft-MrdJrrXF.js`),[]))},{id:`gruvbox-light-hard`,displayName:`Gruvbox Light Hard`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-hard-BC_s9l72.js`),[]))},{id:`gruvbox-light-medium`,displayName:`Gruvbox Light Medium`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-medium-BAWPOn9u.js`),[]))},{id:`gruvbox-light-soft`,displayName:`Gruvbox Light Soft`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-soft-BSMLrYjP.js`),[]))},{id:`horizon`,displayName:`Horizon`,type:`dark`,import:(()=>l(()=>import(`./horizon-CE9ld1lL.js`),[]))},{id:`horizon-bright`,displayName:`Horizon Bright`,type:`dark`,import:(()=>l(()=>import(`./horizon-bright-Br1oVSNq.js`),[]))},{id:`houston`,displayName:`Houston`,type:`dark`,import:(()=>l(()=>import(`./houston-CsvMBhTu.js`),[]))},{id:`kanagawa-dragon`,displayName:`Kanagawa Dragon`,type:`dark`,import:(()=>l(()=>import(`./kanagawa-dragon-CXtmUGW6.js`),[]))},{id:`kanagawa-lotus`,displayName:`Kanagawa Lotus`,type:`light`,import:(()=>l(()=>import(`./kanagawa-lotus-BN08jTvb.js`),[]))},{id:`kanagawa-wave`,displayName:`Kanagawa Wave`,type:`dark`,import:(()=>l(()=>import(`./kanagawa-wave-CTweb8Dz.js`),[]))},{id:`laserwave`,displayName:`LaserWave`,type:`dark`,import:(()=>l(()=>import(`./laserwave-C_8bwKvT.js`),[]))},{id:`light-plus`,displayName:`Light Plus`,type:`light`,import:(()=>l(()=>import(`./light-plus-DVQuIRkW.js`),[]))},{id:`material-theme`,displayName:`Material Theme`,type:`dark`,import:(()=>l(()=>import(`./material-theme-Bm3Qr25_.js`),[]))},{id:`material-theme-darker`,displayName:`Material Theme Darker`,type:`dark`,import:(()=>l(()=>import(`./material-theme-darker-2IIEA8gg.js`),[]))},{id:`material-theme-lighter`,displayName:`Material Theme Lighter`,type:`light`,import:(()=>l(()=>import(`./material-theme-lighter-uhdI0v04.js`),[]))},{id:`material-theme-ocean`,displayName:`Material Theme Ocean`,type:`dark`,import:(()=>l(()=>import(`./material-theme-ocean-CHQ94UKr.js`),[]))},{id:`material-theme-palenight`,displayName:`Material Theme Palenight`,type:`dark`,import:(()=>l(()=>import(`./material-theme-palenight-B5W6OYN7.js`),[]))},{id:`min-dark`,displayName:`Min Dark`,type:`dark`,import:(()=>l(()=>import(`./min-dark-BSWPekZh.js`),[]))},{id:`min-light`,displayName:`Min Light`,type:`light`,import:(()=>l(()=>import(`./min-light-DDpmG2fV.js`),[]))},{id:`monokai`,displayName:`Monokai`,type:`dark`,import:(()=>l(()=>import(`./monokai-CdkpiU2Y.js`),[]))},{id:`night-owl`,displayName:`Night Owl`,type:`dark`,import:(()=>l(()=>import(`./night-owl-DhmEMT88.js`),[]))},{id:`night-owl-light`,displayName:`Night Owl Light`,type:`light`,import:(()=>l(()=>import(`./night-owl-light-eJ-hLW7d.js`),[]))},{id:`nord`,displayName:`Nord`,type:`dark`,import:(()=>l(()=>import(`./nord-Cb4Vim4T.js`),[]))},{id:`one-dark-pro`,displayName:`One Dark Pro`,type:`dark`,import:(()=>l(()=>import(`./one-dark-pro-CLwyXe_n.js`),[]))},{id:`one-light`,displayName:`One Light`,type:`light`,import:(()=>l(()=>import(`./one-light-D7Lr4KcI.js`),[]))},{id:`plastic`,displayName:`Plastic`,type:`dark`,import:(()=>l(()=>import(`./plastic-DQwYfKfQ.js`),[]))},{id:`poimandres`,displayName:`Poimandres`,type:`dark`,import:(()=>l(()=>import(`./poimandres-DRFjx7u4.js`),[]))},{id:`red`,displayName:`Red`,type:`dark`,import:(()=>l(()=>import(`./red-CJ3rzSJv.js`),[]))},{id:`rose-pine`,displayName:`Rosé Pine`,type:`dark`,import:(()=>l(()=>import(`./rose-pine-BthvhNj6.js`),[]))},{id:`rose-pine-dawn`,displayName:`Rosé Pine Dawn`,type:`light`,import:(()=>l(()=>import(`./rose-pine-dawn-Dg85fqjY.js`),[]))},{id:`rose-pine-moon`,displayName:`Rosé Pine Moon`,type:`dark`,import:(()=>l(()=>import(`./rose-pine-moon-hon4tzzS.js`),[]))},{id:`slack-dark`,displayName:`Slack Dark`,type:`dark`,import:(()=>l(()=>import(`./slack-dark-DnToyrRv.js`),[]))},{id:`slack-ochin`,displayName:`Slack Ochin`,type:`light`,import:(()=>l(()=>import(`./slack-ochin-B2OO5cIa.js`),[]))},{id:`snazzy-light`,displayName:`Snazzy Light`,type:`light`,import:(()=>l(()=>import(`./snazzy-light-4G7pJPwS.js`),[]))},{id:`solarized-dark`,displayName:`Solarized Dark`,type:`dark`,import:(()=>l(()=>import(`./solarized-dark-DV17i1UV.js`),[]))},{id:`solarized-light`,displayName:`Solarized Light`,type:`light`,import:(()=>l(()=>import(`./solarized-light-DSh2HLQt.js`),[]))},{id:`synthwave-84`,displayName:`Synthwave '84`,type:`dark`,import:(()=>l(()=>import(`./synthwave-84-nFMaYfgc.js`),[]))},{id:`tokyo-night`,displayName:`Tokyo Night`,type:`dark`,import:(()=>l(()=>import(`./tokyo-night-oM2G3aXe.js`),[]))},{id:`vesper`,displayName:`Vesper`,type:`dark`,import:(()=>l(()=>import(`./vesper-D5bVUKB1.js`),[]))},{id:`vitesse-black`,displayName:`Vitesse Black`,type:`dark`,import:(()=>l(()=>import(`./vitesse-black-fwtXNY1n.js`),[]))},{id:`vitesse-dark`,displayName:`Vitesse Dark`,type:`dark`,import:(()=>l(()=>import(`./vitesse-dark-BZCL-v6S.js`),[]))},{id:`vitesse-light`,displayName:`Vitesse Light`,type:`light`,import:(()=>l(()=>import(`./vitesse-light-VbXTXTou.js`),[]))}].map(e=>[e.id,e.import])),ye=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function be(){return 2147483648}function xe(){return typeof performance<`u`?performance.now():Date.now()}var Se=(e,t)=>e+(t-e%t)%t;async function Ce(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}function a(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)}function o(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}function s(e){let t=r.HEAPU8.length;e>>>=0;let n=be();if(e>n)return!1;for(let r=1;r<=4;r*=2){let i=t*(1+.2/r);if(i=Math.min(i,e+100663296),o(Math.min(n,Se(Math.max(e,i),65536))))return!0}return!1}let c=typeof TextDecoder<`u`?new TextDecoder(`utf8`):void 0;function l(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&c)return c.decode(e.subarray(t,i));let a=``;for(;t<i;){let n=e[t++];if(!(n&128)){a+=String.fromCharCode(n);continue}let r=e[t++]&63;if((n&224)==192){a+=String.fromCharCode((n&31)<<6|r);continue}let i=e[t++]&63;if(n=(n&240)==224?(n&15)<<12|r<<6|i:(n&7)<<18|r<<12|i<<6|e[t++]&63,n<65536)a+=String.fromCharCode(n);else{let e=n-65536;a+=String.fromCharCode(55296|e>>10,56320|e&1023)}}return a}function u(e,t){return e?l(r.HEAPU8,e,t):``}let d={emscripten_get_now:xe,emscripten_memcpy_big:a,emscripten_resize_heap:s,fd_write:()=>0};async function f(){let n=await e({env:d,wasi_snapshot_preview1:d});t=n.memory,i(t.buffer),Object.assign(r,n),r.UTF8ToString=u}return await f(),r}var we=Object.defineProperty,Te=(e,t,n)=>t in e?we(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t,n)=>Te(e,typeof t==`symbol`?t:t+``,n),I=null;function Ee(e){throw new ye(e.UTF8ToString(e.getLastOnigError()))}var De=class e{constructor(t){F(this,`utf16Length`),F(this,`utf8Length`),F(this,`utf16Value`),F(this,`utf8Value`),F(this,`utf16OffsetToUtf8`),F(this,`utf8OffsetToUtf16`);let n=t.length,r=e._utf8ByteLength(t),i=r!==n,a=i?new Uint32Array(n+1):null;i&&(a[n]=r);let o=i?new Uint32Array(r+1):null;i&&(o[r]=n);let s=new Uint8Array(r),c=0;for(let e=0;e<n;e++){let r=t.charCodeAt(e),l=r,u=!1;if(r>=55296&&r<=56319&&e+1<n){let n=t.charCodeAt(e+1);n>=56320&&n<=57343&&(l=(r-55296<<10)+65536|n-56320,u=!0)}i&&(a[e]=c,u&&(a[e+1]=c),l<=127?o[c+0]=e:l<=2047?(o[c+0]=e,o[c+1]=e):l<=65535?(o[c+0]=e,o[c+1]=e,o[c+2]=e):(o[c+0]=e,o[c+1]=e,o[c+2]=e,o[c+3]=e)),l<=127?s[c++]=l:l<=2047?(s[c++]=192|(l&1984)>>>6,s[c++]=128|(l&63)>>>0):l<=65535?(s[c++]=224|(l&61440)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0):(s[c++]=240|(l&1835008)>>>18,s[c++]=128|(l&258048)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0),u&&e++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=s,this.utf16OffsetToUtf8=a,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,o=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,o&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}},Oe=class e{constructor(t){if(F(this,`id`,++e.LAST_ID),F(this,`_onigBinding`),F(this,`content`),F(this,`utf16Length`),F(this,`utf8Length`),F(this,`utf16OffsetToUtf8`),F(this,`utf8OffsetToUtf16`),F(this,`ptr`),!I)throw new ye(`Must invoke loadWasm first.`);this._onigBinding=I,this.content=t;let n=new De(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||=I.omalloc(1e4),e._sharedPtrInUse=!0,I.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(I)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};F(Oe,`LAST_ID`,0),F(Oe,`_sharedPtr`,0),F(Oe,`_sharedPtrInUse`,!1);var ke=Oe,Ae=class{constructor(e){if(F(this,`_onigBinding`),F(this,`_ptr`),!I)throw new ye(`Must invoke loadWasm first.`);let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new De(e[r]);t[r]=i.createString(I),n[r]=i.utf8Length}let r=I.omalloc(4*e.length);I.HEAPU32.set(t,r/4);let i=I.omalloc(4*e.length);I.HEAPU32.set(n,i/4);let a=I.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)I.ofree(t[n]);I.ofree(i),I.ofree(r),a===0&&Ee(I),this._onigBinding=I,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if(typeof n==`number`&&(r=n),typeof e==`string`){e=new ke(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(a===0)return null;let o=i.HEAPU32,s=a/4,c=o[s++],l=o[s++],u=[];for(let t=0;t<l;t++){let n=e.convertUtf8OffsetToUtf16(o[s++]),r=e.convertUtf8OffsetToUtf16(o[s++]);u[t]={start:n,end:r,length:r-n}}return{index:c,captureIndices:u}}};function je(e){return typeof e.instantiator==`function`}function Me(e){return typeof e.default==`function`}function Ne(e){return e.data!==void 0}function Pe(e){return typeof Response<`u`&&e instanceof Response}function Fe(e){return typeof ArrayBuffer<`u`&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<`u`&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer||typeof Uint32Array<`u`&&e instanceof Uint32Array}var Ie;function Le(e){if(Ie)return Ie;async function t(){I=await Ce(async t=>{let n=e;return n=await n,typeof n==`function`&&(n=await n(t)),typeof n==`function`&&(n=await n(t)),je(n)?n=await n.instantiator(t):Me(n)?n=await n.default(t):(Ne(n)&&(n=n.data),Pe(n)?n=typeof WebAssembly.instantiateStreaming==`function`?await ze(n)(t):await Be(n)(t):Fe(n)||n instanceof WebAssembly.Module?n=await Re(n)(t):`default`in n&&n.default instanceof WebAssembly.Module&&(n=await Re(n.default)(t))),`instance`in n&&(n=n.instance),`exports`in n&&(n=n.exports),n})}return Ie=t(),Ie}function Re(e){return t=>WebAssembly.instantiate(e,t)}function ze(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Be(e){return async t=>{let n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function Ve(e){return e&&await Le(e),{createScanner(e){return new Ae(e.map(e=>typeof e==`string`?e:e.source))},createString(e){return new ke(e)}}}var He=a({langs:r,themes:ve,engine:()=>Ve(l(()=>import(`./wasm-BnjxR4X6.js`),[]))}),{codeToHtml:Ue,codeToHast:We,codeToTokens:Ge,codeToTokensBase:Ke,codeToTokensWithThemes:qe,getSingletonHighlighter:Je,getLastGrammarState:Ye}=n(He,{guessEmbeddedLanguages:t});async function Xe(e){if(_e())throw Error(`resolveLanguage("${e}") cannot be called from a worker context. Languages must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);let t=pe.get(e);if(t!=null)return t;try{let t=me.get(e);if(t==null&&Object.prototype.hasOwnProperty.call(r,e)&&(t=r[e]),t==null)throw Error(`resolveLanguage: "${e}" not found in bundled or custom languages`);let n=t().then(({default:t})=>{let n={name:e,data:t};return P.has(e)||P.set(e,n),n});return pe.set(e,n),await n}finally{pe.delete(e)}}function Ze(e){return P.get(e)??Xe(e)}async function Qe(e){if(_e())throw Error(`resolveTheme("${e}") cannot be called from a worker context. Themes must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);let t=le.get(e);if(t!=null)return t;try{let t=ue.get(e)??ve[e];if(t==null)throw Error(`resolveTheme: No valid loader for ${e}`);let n=t().then(t=>$e(e,`default`in t?t.default:t));le.set(e,n);let r=await n;if(r.name!==e)throw Error(`resolvedTheme: themeName: ${e} does not match theme.name: ${r.name}`);return N.set(r.name,r),r}finally{le.delete(e)}}function $e(e,t){return N.get(e)??(t=i(t),N.set(e,t),t)}function et(e){return N.get(e)??Qe(e)}function tt(e,t){if(ue.has(e)){console.error(`SharedHighlight.registerCustomTheme: theme name already registered`,e);return}ue.set(e,t)}var L;async function nt({themes:e,langs:t,preferredHighlighter:n=`shiki-js`}){L??=He({themes:[],langs:[`text`],engine:n===`shiki-wasm`?Ve(l(()=>import(`./wasm-BnjxR4X6.js`),[])):s()});let r=it(L)?await L:L;L=r;let i=[];for(let e of t){if(e===`text`||e===`ansi`)continue;let t=Ze(e);`then`in t?i.push(t):ge(t,r)}let a=[];for(let t of e){let e=et(t);`then`in e?a.push(e):fe(e,L)}return(i.length>0||a.length>0)&&await Promise.all([Promise.all(i).then(e=>{ge(e,r)}),Promise.all(a).then(e=>{fe(e,r)})]),r}function rt(){if(L!=null&&!(`then`in L))return L}function it(e=L){return e!=null&&`then`in e}tt(`pierre-dark`,async()=>{let{default:e}=await l(async()=>{let{default:e}=await import(`./pierre-dark-PhHPzmGe.js`);return{default:e}},[]);return{...e,name:`pierre-dark`}}),tt(`pierre-light`,async()=>{let{default:e}=await l(async()=>{let{default:e}=await import(`./pierre-light-DN22GkGi.js`);return{default:e}},[]);return{...e,name:`pierre-light`}});function at(e=k){let t=[];return typeof e==`string`?t.push(e):(t.push(e.dark),t.push(e.light)),t}function ot(e,t){return e==null||t==null||typeof e==`string`||typeof t==`string`?e===t:e.dark===t.dark&&e.light===t.light}var R=new Map,z={"1c":`1c`,abap:`abap`,as:`actionscript-3`,ada:`ada`,adb:`ada`,ads:`ada`,adoc:`asciidoc`,asciidoc:`asciidoc`,"component.html":`angular-html`,"component.ts":`angular-ts`,conf:`nginx`,htaccess:`apache`,cls:`tex`,trigger:`apex`,apl:`apl`,applescript:`applescript`,scpt:`applescript`,ara:`ara`,asm:`asm`,s:`riscv`,astro:`astro`,awk:`awk`,bal:`ballerina`,sh:`zsh`,bash:`zsh`,bat:`cmd`,cmd:`cmd`,be:`berry`,beancount:`beancount`,bib:`bibtex`,bicep:`bicep`,"blade.php":`blade`,bsl:`bsl`,c:`c`,h:`objective-cpp`,cs:`csharp`,cpp:`cpp`,hpp:`cpp`,cc:`cpp`,cxx:`cpp`,hh:`cpp`,cdc:`cdc`,cairo:`cairo`,clar:`clarity`,clj:`clojure`,cljs:`clojure`,cljc:`clojure`,soy:`soy`,cmake:`cmake`,"CMakeLists.txt":`cmake`,cob:`cobol`,cbl:`cobol`,cobol:`cobol`,CODEOWNERS:`codeowners`,ql:`ql`,coffee:`coffeescript`,lisp:`lisp`,cl:`lisp`,lsp:`lisp`,log:`log`,v:`verilog`,cql:`cql`,cr:`crystal`,css:`css`,csv:`csv`,cue:`cue`,cypher:`cypher`,cyp:`cypher`,d:`d`,dart:`dart`,dax:`dax`,desktop:`desktop`,diff:`diff`,patch:`diff`,Dockerfile:`dockerfile`,dockerfile:`dockerfile`,env:`dotenv`,dm:`dream-maker`,edge:`edge`,el:`emacs-lisp`,ex:`elixir`,exs:`elixir`,elm:`elm`,erb:`erb`,erl:`erlang`,hrl:`erlang`,f:`fortran-fixed-form`,for:`fortran-fixed-form`,fs:`fsharp`,fsi:`fsharp`,fsx:`fsharp`,f03:`f03`,f08:`f08`,f18:`f18`,f77:`f77`,f90:`fortran-free-form`,f95:`fortran-free-form`,fnl:`fennel`,fish:`fish`,ftl:`ftl`,tres:`gdresource`,res:`gdresource`,gd:`gdscript`,gdshader:`gdshader`,gs:`genie`,feature:`gherkin`,COMMIT_EDITMSG:`git-commit`,"git-rebase-todo":`git-rebase`,gjs:`glimmer-js`,gleam:`gleam`,gts:`glimmer-ts`,glsl:`glsl`,vert:`glsl`,frag:`glsl`,shader:`shaderlab`,gp:`gnuplot`,plt:`gnuplot`,gnuplot:`gnuplot`,go:`go`,graphql:`graphql`,gql:`graphql`,groovy:`groovy`,gvy:`groovy`,hack:`hack`,haml:`haml`,hbs:`handlebars`,handlebars:`handlebars`,hs:`haskell`,lhs:`haskell`,hx:`haxe`,hcl:`hcl`,hjson:`hjson`,hlsl:`hlsl`,fx:`hlsl`,html:`html`,htm:`html`,http:`http`,rest:`http`,hxml:`hxml`,hy:`hy`,imba:`imba`,ini:`ini`,cfg:`ini`,jade:`pug`,pug:`pug`,java:`java`,js:`javascript`,mjs:`javascript`,cjs:`javascript`,jinja:`jinja`,jinja2:`jinja`,j2:`jinja`,jison:`jison`,jl:`julia`,json:`json`,json5:`json5`,jsonc:`jsonc`,jsonl:`jsonl`,jsonnet:`jsonnet`,libsonnet:`jsonnet`,jssm:`jssm`,jsx:`jsx`,kt:`kotlin`,kts:`kts`,kql:`kusto`,tex:`tex`,ltx:`tex`,lean:`lean4`,less:`less`,liquid:`liquid`,lit:`lit`,ll:`llvm`,logo:`logo`,lua:`lua`,luau:`luau`,Makefile:`makefile`,mk:`makefile`,makefile:`makefile`,md:`markdown`,markdown:`markdown`,marko:`marko`,m:`wolfram`,mat:`matlab`,mdc:`mdc`,mdx:`mdx`,wiki:`wikitext`,mediawiki:`wikitext`,mmd:`mermaid`,mermaid:`mermaid`,mips:`mipsasm`,mojo:`mojo`,"🔥":`mojo`,move:`move`,nar:`narrat`,nf:`nextflow`,nim:`nim`,nims:`nim`,nimble:`nim`,nix:`nix`,nu:`nushell`,mm:`objective-cpp`,ml:`ocaml`,mli:`ocaml`,mll:`ocaml`,mly:`ocaml`,pas:`pascal`,p:`pascal`,pl:`prolog`,pm:`perl`,t:`perl`,raku:`raku`,p6:`raku`,pl6:`raku`,php:`php`,phtml:`php`,pls:`plsql`,sql:`sql`,po:`po`,polar:`polar`,pcss:`postcss`,pot:`pot`,potx:`potx`,pq:`powerquery`,pqm:`powerquery`,ps1:`powershell`,psm1:`powershell`,psd1:`powershell`,prisma:`prisma`,pro:`prolog`,P:`prolog`,properties:`properties`,proto:`protobuf`,pp:`puppet`,purs:`purescript`,py:`python`,pyw:`python`,pyi:`python`,qml:`qml`,qmldir:`qmldir`,qss:`qss`,r:`r`,R:`r`,rkt:`racket`,rktl:`racket`,razor:`razor`,cshtml:`razor`,rb:`ruby`,rbw:`ruby`,reg:`reg`,regex:`regexp`,rel:`rel`,rs:`rust`,rst:`rst`,rake:`ruby`,gemspec:`ruby`,sas:`sas`,sass:`sass`,scala:`scala`,sc:`scala`,scm:`scheme`,ss:`scheme`,sld:`scheme`,scss:`scss`,sdbl:`sdbl`,shadergraph:`shader`,st:`smalltalk`,sol:`solidity`,sparql:`sparql`,rq:`sparql`,spl:`splunk`,config:`ssh-config`,do:`stata`,ado:`stata`,dta:`stata`,styl:`stylus`,stylus:`stylus`,svelte:`svelte`,swift:`swift`,sv:`system-verilog`,svh:`system-verilog`,service:`systemd`,socket:`systemd`,device:`systemd`,timer:`systemd`,talon:`talonscript`,tasl:`tasl`,tcl:`tcl`,templ:`templ`,tf:`tf`,tfvars:`tfvars`,toml:`toml`,ts:`typescript`,tsp:`typespec`,tsv:`tsv`,tsx:`tsx`,ttl:`turtle`,twig:`twig`,typ:`typst`,vv:`v`,vala:`vala`,vapi:`vala`,vb:`vb`,vbs:`vb`,bas:`vb`,vh:`verilog`,vhd:`vhdl`,vhdl:`vhdl`,vim:`vimscript`,vue:`vue`,"vine.ts":`vue-vine`,vy:`vyper`,wasm:`wasm`,wat:`wasm`,wy:`文言`,wgsl:`wgsl`,wit:`wit`,wl:`wolfram`,nb:`wolfram`,xml:`xml`,xsl:`xsl`,xslt:`xsl`,yaml:`yaml`,yml:`yml`,zs:`zenscript`,zig:`zig`,zsh:`zsh`,sty:`tex`};function B(e){if(R.has(e))return R.get(e)??`text`;if(z[e]!=null)return z[e];let t=e.match(/\.([^/\\]+\.[^/\\]+)$/);if(t!=null){if(R.has(t[1]))return R.get(t[1])??`text`;if(z[t[1]]!=null)return z[t[1]]??`text`}let n=e.match(/\.([^.]+)$/)?.[1]??``;return R.has(n)?R.get(n)??`text`:z[n]??`text`}function V(e){return e.replace(/\n$|\r\n$/,``)}function H(e){return{type:`text`,value:e}}function U({tagName:e,children:t=[],properties:n={}}){return{type:`element`,tagName:e,properties:n,children:t}}function st({name:e,width:t=16,height:n=16,properties:r}){return U({tagName:`svg`,properties:{width:t,height:n,viewBox:`0 0 16 16`,...r},children:[U({tagName:`use`,properties:{href:`#${e.replace(/^#/,``)}`}})]})}function ct(e){let t=e.children[0];for(;t!=null;){if(t.type===`element`&&t.tagName===`code`)return t;t=`children`in t?t.children[0]:null}}function lt(e){return U({tagName:`div`,properties:{"data-gutter":``},children:e})}function ut(e,t,n,r={}){return U({tagName:`div`,properties:{"data-line-type":e,"data-column-number":t,"data-line-index":n,...r},children:t==null?void 0:[U({tagName:`span`,properties:{"data-line-number-content":``},children:[H(`${t}`)]})]})}function W(e,t,n){return U({tagName:`div`,properties:{"data-gutter-buffer":t,"data-buffer-size":n,"data-line-type":t===`annotation`?void 0:e,style:t===`annotation`?`grid-row: span ${n};`:`grid-row: span ${n};min-height:calc(${n} * 1lh);`}})}function dt(e,t,n){let r=typeof n.lineInfo==`function`?n.lineInfo(t):n.lineInfo[t-1];if(r==null){let r=`processLine: line ${t}, contains no state.lineInfo`;throw console.error(r,{node:e,line:t,state:n}),Error(r)}return e.tagName=`div`,e.properties[`data-line`]=r.lineNumber,e.properties[`data-alt-line`]=r.altLineNumber,e.properties[`data-line-type`]=r.type,e.properties[`data-line-index`]=r.lineIndex,e.children.length===0&&e.children.push(H(`
1
+ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{a as t,i as n,n as r,o as i,r as a,s as o,t as s}from"./engine-compile-CJhJiwYv.js";import{d as c,n as l,t as u,u as d}from"./index-BfFaZKNv.js";var f={position:`absolute`,top:0,bottom:0,textAlign:`center`},p={display:`contents`};function m(){return null}var h=`diffs-container`,g=/(?=^From [a-f0-9]+ .+$)/m,_=/(?=^diff --git)/gm,v=/(?=^---\s+\S)/gm,y=/(?=^@@ )/gm,b=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@(?: (.*))?/m,x=/(?<=\n)/,S=/^(---|\+\+\+)\s+([^\t\r\n]+)/,C=/^(---|\+\+\+)\s+[ab]\/([^\t\r\n]+)/,w=/^diff --git (?:"a\/(.+?)"|a\/(.+?)) (?:"b\/(.+?)"|b\/(.+?))$/,T=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i,E=`header-prefix`,D=`header-metadata`,O=`header-custom`,k={dark:`pierre-dark`,light:`pierre-light`},ee=`data-theme-css`,te=`data-unsafe-css`,ne={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,hunkSeparatorHeight:32,fileGap:8},re=Object.freeze({fromStart:0,fromEnd:0}),ie={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},ae={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0};function A(e){return`annotation-${`side`in e?`${e.side}-`:``}${e.lineNumber}`}var j=d();function oe(e,t){return typeof window>`u`&&t!=null?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`template`,{shadowrootmode:`open`,dangerouslySetInnerHTML:{__html:t}}),e]}):(0,j.jsx)(j.Fragment,{children:e})}var M=e(c(),1),se=(0,M.createContext)(void 0);function ce(){return(0,M.useContext)(se)}var N=new Map,le=new Map,ue=new Map,de=new Set;function fe(e,t){e=Array.isArray(e)?e:[e];for(let n of e){let e;if(typeof n==`string`){if(e=N.get(n),e==null)throw Error(`loadResolvedThemes: ${n} is not resolved, you must resolve it before calling loadResolvedThemes`)}else e=n,n=n.name,N.has(n)||N.set(n,e);de.has(n)||(de.add(n),t.loadThemeSync(e))}}var P=new Map,pe=new Map,me=new Map,he=new Set;function ge(e,t){e=Array.isArray(e)?e:[e];for(let n of e){if(he.has(n.name))continue;let e=P.get(n.name);e??(e=n,P.set(n.name,e)),he.add(e.name),t.loadLanguageSync(e.data)}}function _e(){return typeof WorkerGlobalScope<`u`&&typeof self<`u`&&self instanceof WorkerGlobalScope}var ve=Object.fromEntries([{id:`andromeeda`,displayName:`Andromeeda`,type:`dark`,import:(()=>l(()=>import(`./andromeeda-vGVdxbeo.js`),[]))},{id:`aurora-x`,displayName:`Aurora X`,type:`dark`,import:(()=>l(()=>import(`./aurora-x-CDeNXAV0.js`),[]))},{id:`ayu-dark`,displayName:`Ayu Dark`,type:`dark`,import:(()=>l(()=>import(`./ayu-dark-DluEY0Gj.js`),[]))},{id:`ayu-light`,displayName:`Ayu Light`,type:`light`,import:(()=>l(()=>import(`./ayu-light-C3h-C4tm.js`),[]))},{id:`ayu-mirage`,displayName:`Ayu Mirage`,type:`dark`,import:(()=>l(()=>import(`./ayu-mirage-Bqwy1Gya.js`),[]))},{id:`catppuccin-frappe`,displayName:`Catppuccin Frappé`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-frappe-3VR1Za6u.js`),[]))},{id:`catppuccin-latte`,displayName:`Catppuccin Latte`,type:`light`,import:(()=>l(()=>import(`./catppuccin-latte-DwIHMF0Q.js`),[]))},{id:`catppuccin-macchiato`,displayName:`Catppuccin Macchiato`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-macchiato-DYnBP6_5.js`),[]))},{id:`catppuccin-mocha`,displayName:`Catppuccin Mocha`,type:`dark`,import:(()=>l(()=>import(`./catppuccin-mocha-DYhrFGRu.js`),[]))},{id:`dark-plus`,displayName:`Dark Plus`,type:`dark`,import:(()=>l(()=>import(`./dark-plus-Cs2F2srj.js`),[]))},{id:`dracula`,displayName:`Dracula Theme`,type:`dark`,import:(()=>l(()=>import(`./dracula-BHWKrbxM.js`),[]))},{id:`dracula-soft`,displayName:`Dracula Theme Soft`,type:`dark`,import:(()=>l(()=>import(`./dracula-soft-5eyTD99u.js`),[]))},{id:`everforest-dark`,displayName:`Everforest Dark`,type:`dark`,import:(()=>l(()=>import(`./everforest-dark-sB-x3p7T.js`),[]))},{id:`everforest-light`,displayName:`Everforest Light`,type:`light`,import:(()=>l(()=>import(`./everforest-light-Df2xbC6M.js`),[]))},{id:`github-dark`,displayName:`GitHub Dark`,type:`dark`,import:(()=>l(()=>import(`./github-dark-C-LZuMrd.js`),[]))},{id:`github-dark-default`,displayName:`GitHub Dark Default`,type:`dark`,import:(()=>l(()=>import(`./github-dark-default-DXG-b-1a.js`),[]))},{id:`github-dark-dimmed`,displayName:`GitHub Dark Dimmed`,type:`dark`,import:(()=>l(()=>import(`./github-dark-dimmed-Bx1FflLF.js`),[]))},{id:`github-dark-high-contrast`,displayName:`GitHub Dark High Contrast`,type:`dark`,import:(()=>l(()=>import(`./github-dark-high-contrast-B_tTalzw.js`),[]))},{id:`github-light`,displayName:`GitHub Light`,type:`light`,import:(()=>l(()=>import(`./github-light-EUqPIrTm.js`),[]))},{id:`github-light-default`,displayName:`GitHub Light Default`,type:`light`,import:(()=>l(()=>import(`./github-light-default-BXViO-2h.js`),[]))},{id:`github-light-high-contrast`,displayName:`GitHub Light High Contrast`,type:`light`,import:(()=>l(()=>import(`./github-light-high-contrast-B68TUdTA.js`),[]))},{id:`gruvbox-dark-hard`,displayName:`Gruvbox Dark Hard`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-hard-C820rvS2.js`),[]))},{id:`gruvbox-dark-medium`,displayName:`Gruvbox Dark Medium`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-medium-BPjhmG05.js`),[]))},{id:`gruvbox-dark-soft`,displayName:`Gruvbox Dark Soft`,type:`dark`,import:(()=>l(()=>import(`./gruvbox-dark-soft-MrdJrrXF.js`),[]))},{id:`gruvbox-light-hard`,displayName:`Gruvbox Light Hard`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-hard-BC_s9l72.js`),[]))},{id:`gruvbox-light-medium`,displayName:`Gruvbox Light Medium`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-medium-BAWPOn9u.js`),[]))},{id:`gruvbox-light-soft`,displayName:`Gruvbox Light Soft`,type:`light`,import:(()=>l(()=>import(`./gruvbox-light-soft-BSMLrYjP.js`),[]))},{id:`horizon`,displayName:`Horizon`,type:`dark`,import:(()=>l(()=>import(`./horizon-CE9ld1lL.js`),[]))},{id:`horizon-bright`,displayName:`Horizon Bright`,type:`dark`,import:(()=>l(()=>import(`./horizon-bright-Br1oVSNq.js`),[]))},{id:`houston`,displayName:`Houston`,type:`dark`,import:(()=>l(()=>import(`./houston-CsvMBhTu.js`),[]))},{id:`kanagawa-dragon`,displayName:`Kanagawa Dragon`,type:`dark`,import:(()=>l(()=>import(`./kanagawa-dragon-CXtmUGW6.js`),[]))},{id:`kanagawa-lotus`,displayName:`Kanagawa Lotus`,type:`light`,import:(()=>l(()=>import(`./kanagawa-lotus-BN08jTvb.js`),[]))},{id:`kanagawa-wave`,displayName:`Kanagawa Wave`,type:`dark`,import:(()=>l(()=>import(`./kanagawa-wave-CTweb8Dz.js`),[]))},{id:`laserwave`,displayName:`LaserWave`,type:`dark`,import:(()=>l(()=>import(`./laserwave-C_8bwKvT.js`),[]))},{id:`light-plus`,displayName:`Light Plus`,type:`light`,import:(()=>l(()=>import(`./light-plus-DVQuIRkW.js`),[]))},{id:`material-theme`,displayName:`Material Theme`,type:`dark`,import:(()=>l(()=>import(`./material-theme-Bm3Qr25_.js`),[]))},{id:`material-theme-darker`,displayName:`Material Theme Darker`,type:`dark`,import:(()=>l(()=>import(`./material-theme-darker-2IIEA8gg.js`),[]))},{id:`material-theme-lighter`,displayName:`Material Theme Lighter`,type:`light`,import:(()=>l(()=>import(`./material-theme-lighter-uhdI0v04.js`),[]))},{id:`material-theme-ocean`,displayName:`Material Theme Ocean`,type:`dark`,import:(()=>l(()=>import(`./material-theme-ocean-CHQ94UKr.js`),[]))},{id:`material-theme-palenight`,displayName:`Material Theme Palenight`,type:`dark`,import:(()=>l(()=>import(`./material-theme-palenight-B5W6OYN7.js`),[]))},{id:`min-dark`,displayName:`Min Dark`,type:`dark`,import:(()=>l(()=>import(`./min-dark-BSWPekZh.js`),[]))},{id:`min-light`,displayName:`Min Light`,type:`light`,import:(()=>l(()=>import(`./min-light-DDpmG2fV.js`),[]))},{id:`monokai`,displayName:`Monokai`,type:`dark`,import:(()=>l(()=>import(`./monokai-CdkpiU2Y.js`),[]))},{id:`night-owl`,displayName:`Night Owl`,type:`dark`,import:(()=>l(()=>import(`./night-owl-DhmEMT88.js`),[]))},{id:`night-owl-light`,displayName:`Night Owl Light`,type:`light`,import:(()=>l(()=>import(`./night-owl-light-eJ-hLW7d.js`),[]))},{id:`nord`,displayName:`Nord`,type:`dark`,import:(()=>l(()=>import(`./nord-Cb4Vim4T.js`),[]))},{id:`one-dark-pro`,displayName:`One Dark Pro`,type:`dark`,import:(()=>l(()=>import(`./one-dark-pro-CLwyXe_n.js`),[]))},{id:`one-light`,displayName:`One Light`,type:`light`,import:(()=>l(()=>import(`./one-light-D7Lr4KcI.js`),[]))},{id:`plastic`,displayName:`Plastic`,type:`dark`,import:(()=>l(()=>import(`./plastic-DQwYfKfQ.js`),[]))},{id:`poimandres`,displayName:`Poimandres`,type:`dark`,import:(()=>l(()=>import(`./poimandres-DRFjx7u4.js`),[]))},{id:`red`,displayName:`Red`,type:`dark`,import:(()=>l(()=>import(`./red-CJ3rzSJv.js`),[]))},{id:`rose-pine`,displayName:`Rosé Pine`,type:`dark`,import:(()=>l(()=>import(`./rose-pine-BthvhNj6.js`),[]))},{id:`rose-pine-dawn`,displayName:`Rosé Pine Dawn`,type:`light`,import:(()=>l(()=>import(`./rose-pine-dawn-Dg85fqjY.js`),[]))},{id:`rose-pine-moon`,displayName:`Rosé Pine Moon`,type:`dark`,import:(()=>l(()=>import(`./rose-pine-moon-hon4tzzS.js`),[]))},{id:`slack-dark`,displayName:`Slack Dark`,type:`dark`,import:(()=>l(()=>import(`./slack-dark-DnToyrRv.js`),[]))},{id:`slack-ochin`,displayName:`Slack Ochin`,type:`light`,import:(()=>l(()=>import(`./slack-ochin-B2OO5cIa.js`),[]))},{id:`snazzy-light`,displayName:`Snazzy Light`,type:`light`,import:(()=>l(()=>import(`./snazzy-light-4G7pJPwS.js`),[]))},{id:`solarized-dark`,displayName:`Solarized Dark`,type:`dark`,import:(()=>l(()=>import(`./solarized-dark-DV17i1UV.js`),[]))},{id:`solarized-light`,displayName:`Solarized Light`,type:`light`,import:(()=>l(()=>import(`./solarized-light-DSh2HLQt.js`),[]))},{id:`synthwave-84`,displayName:`Synthwave '84`,type:`dark`,import:(()=>l(()=>import(`./synthwave-84-nFMaYfgc.js`),[]))},{id:`tokyo-night`,displayName:`Tokyo Night`,type:`dark`,import:(()=>l(()=>import(`./tokyo-night-oM2G3aXe.js`),[]))},{id:`vesper`,displayName:`Vesper`,type:`dark`,import:(()=>l(()=>import(`./vesper-D5bVUKB1.js`),[]))},{id:`vitesse-black`,displayName:`Vitesse Black`,type:`dark`,import:(()=>l(()=>import(`./vitesse-black-fwtXNY1n.js`),[]))},{id:`vitesse-dark`,displayName:`Vitesse Dark`,type:`dark`,import:(()=>l(()=>import(`./vitesse-dark-BZCL-v6S.js`),[]))},{id:`vitesse-light`,displayName:`Vitesse Light`,type:`light`,import:(()=>l(()=>import(`./vitesse-light-VbXTXTou.js`),[]))}].map(e=>[e.id,e.import])),ye=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function be(){return 2147483648}function xe(){return typeof performance<`u`?performance.now():Date.now()}var Se=(e,t)=>e+(t-e%t)%t;async function Ce(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}function a(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)}function o(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}function s(e){let t=r.HEAPU8.length;e>>>=0;let n=be();if(e>n)return!1;for(let r=1;r<=4;r*=2){let i=t*(1+.2/r);if(i=Math.min(i,e+100663296),o(Math.min(n,Se(Math.max(e,i),65536))))return!0}return!1}let c=typeof TextDecoder<`u`?new TextDecoder(`utf8`):void 0;function l(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&c)return c.decode(e.subarray(t,i));let a=``;for(;t<i;){let n=e[t++];if(!(n&128)){a+=String.fromCharCode(n);continue}let r=e[t++]&63;if((n&224)==192){a+=String.fromCharCode((n&31)<<6|r);continue}let i=e[t++]&63;if(n=(n&240)==224?(n&15)<<12|r<<6|i:(n&7)<<18|r<<12|i<<6|e[t++]&63,n<65536)a+=String.fromCharCode(n);else{let e=n-65536;a+=String.fromCharCode(55296|e>>10,56320|e&1023)}}return a}function u(e,t){return e?l(r.HEAPU8,e,t):``}let d={emscripten_get_now:xe,emscripten_memcpy_big:a,emscripten_resize_heap:s,fd_write:()=>0};async function f(){let n=await e({env:d,wasi_snapshot_preview1:d});t=n.memory,i(t.buffer),Object.assign(r,n),r.UTF8ToString=u}return await f(),r}var we=Object.defineProperty,Te=(e,t,n)=>t in e?we(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t,n)=>Te(e,typeof t==`symbol`?t:t+``,n),I=null;function Ee(e){throw new ye(e.UTF8ToString(e.getLastOnigError()))}var De=class e{constructor(t){F(this,`utf16Length`),F(this,`utf8Length`),F(this,`utf16Value`),F(this,`utf8Value`),F(this,`utf16OffsetToUtf8`),F(this,`utf8OffsetToUtf16`);let n=t.length,r=e._utf8ByteLength(t),i=r!==n,a=i?new Uint32Array(n+1):null;i&&(a[n]=r);let o=i?new Uint32Array(r+1):null;i&&(o[r]=n);let s=new Uint8Array(r),c=0;for(let e=0;e<n;e++){let r=t.charCodeAt(e),l=r,u=!1;if(r>=55296&&r<=56319&&e+1<n){let n=t.charCodeAt(e+1);n>=56320&&n<=57343&&(l=(r-55296<<10)+65536|n-56320,u=!0)}i&&(a[e]=c,u&&(a[e+1]=c),l<=127?o[c+0]=e:l<=2047?(o[c+0]=e,o[c+1]=e):l<=65535?(o[c+0]=e,o[c+1]=e,o[c+2]=e):(o[c+0]=e,o[c+1]=e,o[c+2]=e,o[c+3]=e)),l<=127?s[c++]=l:l<=2047?(s[c++]=192|(l&1984)>>>6,s[c++]=128|(l&63)>>>0):l<=65535?(s[c++]=224|(l&61440)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0):(s[c++]=240|(l&1835008)>>>18,s[c++]=128|(l&258048)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0),u&&e++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=s,this.utf16OffsetToUtf8=a,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,o=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,o&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}},Oe=class e{constructor(t){if(F(this,`id`,++e.LAST_ID),F(this,`_onigBinding`),F(this,`content`),F(this,`utf16Length`),F(this,`utf8Length`),F(this,`utf16OffsetToUtf8`),F(this,`utf8OffsetToUtf16`),F(this,`ptr`),!I)throw new ye(`Must invoke loadWasm first.`);this._onigBinding=I,this.content=t;let n=new De(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||=I.omalloc(1e4),e._sharedPtrInUse=!0,I.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(I)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};F(Oe,`LAST_ID`,0),F(Oe,`_sharedPtr`,0),F(Oe,`_sharedPtrInUse`,!1);var ke=Oe,Ae=class{constructor(e){if(F(this,`_onigBinding`),F(this,`_ptr`),!I)throw new ye(`Must invoke loadWasm first.`);let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new De(e[r]);t[r]=i.createString(I),n[r]=i.utf8Length}let r=I.omalloc(4*e.length);I.HEAPU32.set(t,r/4);let i=I.omalloc(4*e.length);I.HEAPU32.set(n,i/4);let a=I.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)I.ofree(t[n]);I.ofree(i),I.ofree(r),a===0&&Ee(I),this._onigBinding=I,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if(typeof n==`number`&&(r=n),typeof e==`string`){e=new ke(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(a===0)return null;let o=i.HEAPU32,s=a/4,c=o[s++],l=o[s++],u=[];for(let t=0;t<l;t++){let n=e.convertUtf8OffsetToUtf16(o[s++]),r=e.convertUtf8OffsetToUtf16(o[s++]);u[t]={start:n,end:r,length:r-n}}return{index:c,captureIndices:u}}};function je(e){return typeof e.instantiator==`function`}function Me(e){return typeof e.default==`function`}function Ne(e){return e.data!==void 0}function Pe(e){return typeof Response<`u`&&e instanceof Response}function Fe(e){return typeof ArrayBuffer<`u`&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<`u`&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer||typeof Uint32Array<`u`&&e instanceof Uint32Array}var Ie;function Le(e){if(Ie)return Ie;async function t(){I=await Ce(async t=>{let n=e;return n=await n,typeof n==`function`&&(n=await n(t)),typeof n==`function`&&(n=await n(t)),je(n)?n=await n.instantiator(t):Me(n)?n=await n.default(t):(Ne(n)&&(n=n.data),Pe(n)?n=typeof WebAssembly.instantiateStreaming==`function`?await ze(n)(t):await Be(n)(t):Fe(n)||n instanceof WebAssembly.Module?n=await Re(n)(t):`default`in n&&n.default instanceof WebAssembly.Module&&(n=await Re(n.default)(t))),`instance`in n&&(n=n.instance),`exports`in n&&(n=n.exports),n})}return Ie=t(),Ie}function Re(e){return t=>WebAssembly.instantiate(e,t)}function ze(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Be(e){return async t=>{let n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function Ve(e){return e&&await Le(e),{createScanner(e){return new Ae(e.map(e=>typeof e==`string`?e:e.source))},createString(e){return new ke(e)}}}var He=a({langs:r,themes:ve,engine:()=>Ve(l(()=>import(`./wasm-BnjxR4X6.js`),[]))}),{codeToHtml:Ue,codeToHast:We,codeToTokens:Ge,codeToTokensBase:Ke,codeToTokensWithThemes:qe,getSingletonHighlighter:Je,getLastGrammarState:Ye}=n(He,{guessEmbeddedLanguages:t});async function Xe(e){if(_e())throw Error(`resolveLanguage("${e}") cannot be called from a worker context. Languages must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);let t=pe.get(e);if(t!=null)return t;try{let t=me.get(e);if(t==null&&Object.prototype.hasOwnProperty.call(r,e)&&(t=r[e]),t==null)throw Error(`resolveLanguage: "${e}" not found in bundled or custom languages`);let n=t().then(({default:t})=>{let n={name:e,data:t};return P.has(e)||P.set(e,n),n});return pe.set(e,n),await n}finally{pe.delete(e)}}function Ze(e){return P.get(e)??Xe(e)}async function Qe(e){if(_e())throw Error(`resolveTheme("${e}") cannot be called from a worker context. Themes must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);let t=le.get(e);if(t!=null)return t;try{let t=ue.get(e)??ve[e];if(t==null)throw Error(`resolveTheme: No valid loader for ${e}`);let n=t().then(t=>$e(e,`default`in t?t.default:t));le.set(e,n);let r=await n;if(r.name!==e)throw Error(`resolvedTheme: themeName: ${e} does not match theme.name: ${r.name}`);return N.set(r.name,r),r}finally{le.delete(e)}}function $e(e,t){return N.get(e)??(t=i(t),N.set(e,t),t)}function et(e){return N.get(e)??Qe(e)}function tt(e,t){if(ue.has(e)){console.error(`SharedHighlight.registerCustomTheme: theme name already registered`,e);return}ue.set(e,t)}var L;async function nt({themes:e,langs:t,preferredHighlighter:n=`shiki-js`}){L??=He({themes:[],langs:[`text`],engine:n===`shiki-wasm`?Ve(l(()=>import(`./wasm-BnjxR4X6.js`),[])):s()});let r=it(L)?await L:L;L=r;let i=[];for(let e of t){if(e===`text`||e===`ansi`)continue;let t=Ze(e);`then`in t?i.push(t):ge(t,r)}let a=[];for(let t of e){let e=et(t);`then`in e?a.push(e):fe(e,L)}return(i.length>0||a.length>0)&&await Promise.all([Promise.all(i).then(e=>{ge(e,r)}),Promise.all(a).then(e=>{fe(e,r)})]),r}function rt(){if(L!=null&&!(`then`in L))return L}function it(e=L){return e!=null&&`then`in e}tt(`pierre-dark`,async()=>{let{default:e}=await l(async()=>{let{default:e}=await import(`./pierre-dark-PhHPzmGe.js`);return{default:e}},[]);return{...e,name:`pierre-dark`}}),tt(`pierre-light`,async()=>{let{default:e}=await l(async()=>{let{default:e}=await import(`./pierre-light-DN22GkGi.js`);return{default:e}},[]);return{...e,name:`pierre-light`}});function at(e=k){let t=[];return typeof e==`string`?t.push(e):(t.push(e.dark),t.push(e.light)),t}function ot(e,t){return e==null||t==null||typeof e==`string`||typeof t==`string`?e===t:e.dark===t.dark&&e.light===t.light}var R=new Map,z={"1c":`1c`,abap:`abap`,as:`actionscript-3`,ada:`ada`,adb:`ada`,ads:`ada`,adoc:`asciidoc`,asciidoc:`asciidoc`,"component.html":`angular-html`,"component.ts":`angular-ts`,conf:`nginx`,htaccess:`apache`,cls:`tex`,trigger:`apex`,apl:`apl`,applescript:`applescript`,scpt:`applescript`,ara:`ara`,asm:`asm`,s:`riscv`,astro:`astro`,awk:`awk`,bal:`ballerina`,sh:`zsh`,bash:`zsh`,bat:`cmd`,cmd:`cmd`,be:`berry`,beancount:`beancount`,bib:`bibtex`,bicep:`bicep`,"blade.php":`blade`,bsl:`bsl`,c:`c`,h:`objective-cpp`,cs:`csharp`,cpp:`cpp`,hpp:`cpp`,cc:`cpp`,cxx:`cpp`,hh:`cpp`,cdc:`cdc`,cairo:`cairo`,clar:`clarity`,clj:`clojure`,cljs:`clojure`,cljc:`clojure`,soy:`soy`,cmake:`cmake`,"CMakeLists.txt":`cmake`,cob:`cobol`,cbl:`cobol`,cobol:`cobol`,CODEOWNERS:`codeowners`,ql:`ql`,coffee:`coffeescript`,lisp:`lisp`,cl:`lisp`,lsp:`lisp`,log:`log`,v:`verilog`,cql:`cql`,cr:`crystal`,css:`css`,csv:`csv`,cue:`cue`,cypher:`cypher`,cyp:`cypher`,d:`d`,dart:`dart`,dax:`dax`,desktop:`desktop`,diff:`diff`,patch:`diff`,Dockerfile:`dockerfile`,dockerfile:`dockerfile`,env:`dotenv`,dm:`dream-maker`,edge:`edge`,el:`emacs-lisp`,ex:`elixir`,exs:`elixir`,elm:`elm`,erb:`erb`,erl:`erlang`,hrl:`erlang`,f:`fortran-fixed-form`,for:`fortran-fixed-form`,fs:`fsharp`,fsi:`fsharp`,fsx:`fsharp`,f03:`f03`,f08:`f08`,f18:`f18`,f77:`f77`,f90:`fortran-free-form`,f95:`fortran-free-form`,fnl:`fennel`,fish:`fish`,ftl:`ftl`,tres:`gdresource`,res:`gdresource`,gd:`gdscript`,gdshader:`gdshader`,gs:`genie`,feature:`gherkin`,COMMIT_EDITMSG:`git-commit`,"git-rebase-todo":`git-rebase`,gjs:`glimmer-js`,gleam:`gleam`,gts:`glimmer-ts`,glsl:`glsl`,vert:`glsl`,frag:`glsl`,shader:`shaderlab`,gp:`gnuplot`,plt:`gnuplot`,gnuplot:`gnuplot`,go:`go`,graphql:`graphql`,gql:`graphql`,groovy:`groovy`,gvy:`groovy`,hack:`hack`,haml:`haml`,hbs:`handlebars`,handlebars:`handlebars`,hs:`haskell`,lhs:`haskell`,hx:`haxe`,hcl:`hcl`,hjson:`hjson`,hlsl:`hlsl`,fx:`hlsl`,html:`html`,htm:`html`,http:`http`,rest:`http`,hxml:`hxml`,hy:`hy`,imba:`imba`,ini:`ini`,cfg:`ini`,jade:`pug`,pug:`pug`,java:`java`,js:`javascript`,mjs:`javascript`,cjs:`javascript`,jinja:`jinja`,jinja2:`jinja`,j2:`jinja`,jison:`jison`,jl:`julia`,json:`json`,json5:`json5`,jsonc:`jsonc`,jsonl:`jsonl`,jsonnet:`jsonnet`,libsonnet:`jsonnet`,jssm:`jssm`,jsx:`jsx`,kt:`kotlin`,kts:`kts`,kql:`kusto`,tex:`tex`,ltx:`tex`,lean:`lean4`,less:`less`,liquid:`liquid`,lit:`lit`,ll:`llvm`,logo:`logo`,lua:`lua`,luau:`luau`,Makefile:`makefile`,mk:`makefile`,makefile:`makefile`,md:`markdown`,markdown:`markdown`,marko:`marko`,m:`wolfram`,mat:`matlab`,mdc:`mdc`,mdx:`mdx`,wiki:`wikitext`,mediawiki:`wikitext`,mmd:`mermaid`,mermaid:`mermaid`,mips:`mipsasm`,mojo:`mojo`,"🔥":`mojo`,move:`move`,nar:`narrat`,nf:`nextflow`,nim:`nim`,nims:`nim`,nimble:`nim`,nix:`nix`,nu:`nushell`,mm:`objective-cpp`,ml:`ocaml`,mli:`ocaml`,mll:`ocaml`,mly:`ocaml`,pas:`pascal`,p:`pascal`,pl:`prolog`,pm:`perl`,t:`perl`,raku:`raku`,p6:`raku`,pl6:`raku`,php:`php`,phtml:`php`,pls:`plsql`,sql:`sql`,po:`po`,polar:`polar`,pcss:`postcss`,pot:`pot`,potx:`potx`,pq:`powerquery`,pqm:`powerquery`,ps1:`powershell`,psm1:`powershell`,psd1:`powershell`,prisma:`prisma`,pro:`prolog`,P:`prolog`,properties:`properties`,proto:`protobuf`,pp:`puppet`,purs:`purescript`,py:`python`,pyw:`python`,pyi:`python`,qml:`qml`,qmldir:`qmldir`,qss:`qss`,r:`r`,R:`r`,rkt:`racket`,rktl:`racket`,razor:`razor`,cshtml:`razor`,rb:`ruby`,rbw:`ruby`,reg:`reg`,regex:`regexp`,rel:`rel`,rs:`rust`,rst:`rst`,rake:`ruby`,gemspec:`ruby`,sas:`sas`,sass:`sass`,scala:`scala`,sc:`scala`,scm:`scheme`,ss:`scheme`,sld:`scheme`,scss:`scss`,sdbl:`sdbl`,shadergraph:`shader`,st:`smalltalk`,sol:`solidity`,sparql:`sparql`,rq:`sparql`,spl:`splunk`,config:`ssh-config`,do:`stata`,ado:`stata`,dta:`stata`,styl:`stylus`,stylus:`stylus`,svelte:`svelte`,swift:`swift`,sv:`system-verilog`,svh:`system-verilog`,service:`systemd`,socket:`systemd`,device:`systemd`,timer:`systemd`,talon:`talonscript`,tasl:`tasl`,tcl:`tcl`,templ:`templ`,tf:`tf`,tfvars:`tfvars`,toml:`toml`,ts:`typescript`,tsp:`typespec`,tsv:`tsv`,tsx:`tsx`,ttl:`turtle`,twig:`twig`,typ:`typst`,vv:`v`,vala:`vala`,vapi:`vala`,vb:`vb`,vbs:`vb`,bas:`vb`,vh:`verilog`,vhd:`vhdl`,vhdl:`vhdl`,vim:`vimscript`,vue:`vue`,"vine.ts":`vue-vine`,vy:`vyper`,wasm:`wasm`,wat:`wasm`,wy:`文言`,wgsl:`wgsl`,wit:`wit`,wl:`wolfram`,nb:`wolfram`,xml:`xml`,xsl:`xsl`,xslt:`xsl`,yaml:`yaml`,yml:`yml`,zs:`zenscript`,zig:`zig`,zsh:`zsh`,sty:`tex`};function B(e){if(R.has(e))return R.get(e)??`text`;if(z[e]!=null)return z[e];let t=e.match(/\.([^/\\]+\.[^/\\]+)$/);if(t!=null){if(R.has(t[1]))return R.get(t[1])??`text`;if(z[t[1]]!=null)return z[t[1]]??`text`}let n=e.match(/\.([^.]+)$/)?.[1]??``;return R.has(n)?R.get(n)??`text`:z[n]??`text`}function V(e){return e.replace(/\n$|\r\n$/,``)}function H(e){return{type:`text`,value:e}}function U({tagName:e,children:t=[],properties:n={}}){return{type:`element`,tagName:e,properties:n,children:t}}function st({name:e,width:t=16,height:n=16,properties:r}){return U({tagName:`svg`,properties:{width:t,height:n,viewBox:`0 0 16 16`,...r},children:[U({tagName:`use`,properties:{href:`#${e.replace(/^#/,``)}`}})]})}function ct(e){let t=e.children[0];for(;t!=null;){if(t.type===`element`&&t.tagName===`code`)return t;t=`children`in t?t.children[0]:null}}function lt(e){return U({tagName:`div`,properties:{"data-gutter":``},children:e})}function ut(e,t,n,r={}){return U({tagName:`div`,properties:{"data-line-type":e,"data-column-number":t,"data-line-index":n,...r},children:t==null?void 0:[U({tagName:`span`,properties:{"data-line-number-content":``},children:[H(`${t}`)]})]})}function W(e,t,n){return U({tagName:`div`,properties:{"data-gutter-buffer":t,"data-buffer-size":n,"data-line-type":t===`annotation`?void 0:e,style:t===`annotation`?`grid-row: span ${n};`:`grid-row: span ${n};min-height:calc(${n} * 1lh);`}})}function dt(e,t,n){let r=typeof n.lineInfo==`function`?n.lineInfo(t):n.lineInfo[t-1];if(r==null){let r=`processLine: line ${t}, contains no state.lineInfo`;throw console.error(r,{node:e,line:t,state:n}),Error(r)}return e.tagName=`div`,e.properties[`data-line`]=r.lineNumber,e.properties[`data-alt-line`]=r.altLineNumber,e.properties[`data-line-type`]=r.type,e.properties[`data-line-index`]=r.lineIndex,e.children.length===0&&e.children.push(H(`
2
2
  `)),e}var ft=Symbol(`no-token`),pt=Symbol(`multiple-tokens`);function mt(e){let t=ht(e);if(t!=null)return t;let n=ft,r=[],i=[],a,o=()=>{if(i.length===0||a==null){i=[],a=void 0;return}if(i.length===1){let e=i[0];if(e?.type===`element`){_t(e,a);for(let t of e.children)gt(t)}else gt(e);r.push(e),i=[],a=void 0;return}for(let e of i)gt(e);r.push(U({tagName:`span`,properties:{"data-char":a},children:i})),i=[],a=void 0},s=e=>{if(e!==ft){if(e===pt){n=pt;return}if(n===ft){n=e;return}n!==e&&(n=pt)}};for(let t of e.children){let e=t.type===`element`?mt(t):ft;if(s(e),typeof e!=`number`){o(),r.push(t);continue}a!=null&&a!==e&&o(),a??=e,i.push(t)}return o(),e.children=r,n}function ht(e){let t=e.properties[`data-char`];if(typeof t==`number`)return t}function gt(e){if(e.type===`element`){e.properties[`data-char`]=void 0;for(let t of e.children)gt(t)}}function _t(e,t){e.properties[`data-char`]=t}function vt(e={}){let{classPrefix:t=`__shiki_`,classSuffix:n=``,classReplacer:r=e=>e}=e,i=new Map;function a(e){return Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function o(e){let o=typeof e==`string`?e:a(e),s=t+yt(o)+n;return s=r(s),i.has(s)||i.set(s,typeof e==`string`?e:{...e}),s}return{name:`@shikijs/transformers:style-to-class`,pre(e){if(!e.properties.style)return;let t=o(e.properties.style);delete e.properties.style,this.addClassToHast(e,t)},tokens(e){for(let t of e)for(let e of t){if(!e.htmlStyle)continue;let t=o(e.htmlStyle);e.htmlStyle={},e.htmlAttrs||={},e.htmlAttrs.class?e.htmlAttrs.class+=` ${t}`:e.htmlAttrs.class=t}},getClassRegistry(){return i},getCSS(){let e=``;for(let[t,n]of i.entries())e+=`.${t}{${typeof n==`string`?n:a(n)}}`;return e},clearRegistry(){i.clear()}}}function yt(e,t=0){let n=3735928559^t,r=1103547991^t;for(let t=0,i;t<e.length;t++)i=e.charCodeAt(t),n=Math.imul(n^i,2654435761),r=Math.imul(r^i,1597334677);return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>13,3266489909),(4294967296*(2097151&r)+(n>>>0)).toString(36).slice(0,6)}function bt(e=!1,t=!1){let n={lineInfo:[]},r=[{line(e){return delete e.properties.class,e},pre(t){let r=ct(t),i=[];if(r!=null){let t=1;for(let a of r.children)a.type===`element`&&(e&&mt(a),i.push(dt(a,t,n)),t++);r.children=i}return t},...e?{tokens(e){for(let t of e){let e=0;for(let n of t){let t=n;t.__lineChar??=e,e+=n.content.length}}},preprocess(e,t){t.mergeWhitespaces=`never`},span(e,t,n,r,i){if(i?.offset!=null&&i.content!=null){let t=i.__lineChar;return t!=null&&(e.properties[`data-char`]=t),e}return e}}:null}];return t&&r.push(St,xt),{state:n,transformers:r,toClass:xt}}var xt=vt({classPrefix:`hl-`}),St={name:`token-style-normalizer`,tokens(e){for(let t of e)for(let e of t){if(e.htmlStyle!=null)continue;let t={};e.color!=null&&(t.color=e.color),e.bgColor!=null&&(t[`background-color`]=e.bgColor),e.fontStyle!=null&&e.fontStyle!==0&&(e.fontStyle&1&&(t[`font-style`]=`italic`),e.fontStyle&2&&(t[`font-weight`]=`bold`),e.fontStyle&4&&(t[`text-decoration`]=`underline`)),Object.keys(t).length>0&&(e.htmlStyle=t)}}};function G(e){return`--${e===`token`?`diffs-token`:`diffs`}-`}function Ct({theme:e=k,highlighter:t,prefix:n}){let r=``;if(typeof e==`string`){let i=t.getTheme(e);r+=`color:${i.fg};`,r+=`background-color:${i.bg};`,r+=`${G(`global`)}fg:${i.fg};`,r+=`${G(`global`)}bg:${i.bg};`,r+=wt(i,n)}else{let n=t.getTheme(e.dark);r+=`${G(`global`)}dark:${n.fg};`,r+=`${G(`global`)}dark-bg:${n.bg};`,r+=wt(n,`dark`),n=t.getTheme(e.light),r+=`${G(`global`)}light:${n.fg};`,r+=`${G(`global`)}light-bg:${n.bg};`,r+=wt(n,`light`)}return r}function wt(e,t){t=t==null?``:`${t}-`;let n=``,r=e.colors?.[`gitDecoration.addedResourceForeground`]??e.colors?.[`terminal.ansiGreen`];r!=null&&(n+=`${G(`global`)}${t}addition-color:${r};`);let i=e.colors?.[`gitDecoration.deletedResourceForeground`]??e.colors?.[`terminal.ansiRed`];i!=null&&(n+=`${G(`global`)}${t}deletion-color:${i};`);let a=e.colors?.[`gitDecoration.modifiedResourceForeground`]??e.colors?.[`terminal.ansiBlue`];return a!=null&&(n+=`${G(`global`)}${t}modified-color:${a};`),n}function Tt(e){let t=e.children[0];for(;t!=null;){if(t.type===`element`&&t.tagName===`code`)return t.children;t=`children`in t?t.children[0]:null}throw console.error(e),Error(`getLineNodes: Unable to find children`)}function Et(e,t){return e?.cacheKey===t?.cacheKey&&e?.contents===t?.contents&&e?.name===t?.name&&e?.lang===t?.lang}function Dt(e,t){return ot(e.theme,t.theme)&&e.useTokenTransformer===t.useTokenTransformer&&e.tokenizeMaxLineLength===t.tokenizeMaxLineLength&&e.lineDiffType===t.lineDiffType&&e.maxLineDiffLength===t.maxLineDiffLength}function Ot(e){let t=e.lang??B(e.name),n=e.lang??(e.prevName==null?`text`:B(e.prevName));return t===`text`&&n===`text`}function K({diff:e,diffStyle:t,startingLine:n=0,totalLines:r=1/0,expandedHunks:i,collapsedContextThreshold:a=1,callback:o}){let s={finalHunk:e.hunks.at(-1),viewportStart:n,viewportEnd:n+r,isWindowedHighlight:n>0||r<1/0,splitCount:0,unifiedCount:0,shouldBreak(){if(!s.isWindowedHighlight)return!1;let e=s.unifiedCount>=n+r,i=s.splitCount>=n+r;return t===`unified`?e:(t===`split`||e)&&i},shouldSkip(e,r){if(!s.isWindowedHighlight)return!1;let i=s.unifiedCount+e<n,a=s.splitCount+r<n;return t===`unified`?i:(t===`split`||i)&&a},incrementCounts(e,n){(t===`unified`||t===`both`)&&(s.unifiedCount+=e),(t===`split`||t===`both`)&&(s.splitCount+=n)},isInWindow(e,n){if(!s.isWindowedHighlight)return!0;let r=s.isInUnifiedWindow(e),i=s.isInSplitWindow(n);return t===`unified`?r:t===`split`?i:r||i},isInUnifiedWindow(e){return!s.isWindowedHighlight||s.unifiedCount>=n-e&&s.unifiedCount<n+r},isInSplitWindow(e){return!s.isWindowedHighlight||s.splitCount>=n-e&&s.splitCount<n+r},emit(e,n=!1){return n||(t===`unified`?s.incrementCounts(1,0):t===`split`?s.incrementCounts(0,1):s.incrementCounts(1,1)),o(e)??!1}};hunkIterator:for(let[n,r]of e.hunks.entries()){if(s.shouldBreak())break;let o=kt(e.isPartial,r.collapsedBefore,i,n,a),c=(()=>{if(r!==s.finalHunk||!At(e))return;let t=e.additionLines.length-(r.additionLineIndex+r.additionCount),n=e.deletionLines.length-(r.deletionLineIndex+r.deletionCount);if(t!==n)throw Error(`iterateOverDiff: trailing context mismatch (additions=${t}, deletions=${n}) for ${e.name}`);let o=Math.min(t,n);return kt(e.isPartial,o,i,e.hunks.length,a)})(),l=o.fromStart+o.fromEnd;function u(e,n){return c==null||c.collapsedLines<=0||c.fromStart+c.fromEnd>0?0:t===`unified`?e===r.unifiedLineStart+r.unifiedLineCount-1?c.collapsedLines:0:n===r.splitLineStart+r.splitLineCount-1?c.collapsedLines:0}function d(){if(o.collapsedLines===0)return 0;let e=o.collapsedLines;return o.collapsedLines=0,e}if(s.shouldSkip(l,l))s.incrementCounts(l,l),d();else{let e=r.unifiedLineStart-o.rangeSize,t=r.splitLineStart-o.rangeSize,i=r.deletionLineIndex-o.rangeSize,a=r.additionLineIndex-o.rangeSize,c=r.deletionStart-o.rangeSize,l=r.additionStart-o.rangeSize,u=0;for(;u<o.fromStart;){if(s.isInWindow(0,0)){if(s.emit({hunkIndex:n,hunk:r,collapsedBefore:0,collapsedAfter:0,type:`context-expanded`,deletionLine:{lineNumber:c+u,lineIndex:i+u,noEOFCR:!1,unifiedLineIndex:e+u,splitLineIndex:t+u},additionLine:{unifiedLineIndex:e+u,splitLineIndex:t+u,lineIndex:a+u,lineNumber:l+u,noEOFCR:!1}}))break hunkIterator}else s.incrementCounts(1,1);u++}for(e=r.unifiedLineStart-o.fromEnd,t=r.splitLineStart-o.fromEnd,i=r.deletionLineIndex-o.fromEnd,a=r.additionLineIndex-o.fromEnd,c=r.deletionStart-o.fromEnd,l=r.additionStart-o.fromEnd,u=0;u<o.fromEnd;){if(s.isInWindow(0,0)){if(s.emit({hunkIndex:n,hunk:r,collapsedBefore:d(),collapsedAfter:0,type:`context-expanded`,deletionLine:{lineNumber:c+u,lineIndex:i+u,noEOFCR:!1,unifiedLineIndex:e+u,splitLineIndex:t+u},additionLine:{unifiedLineIndex:e+u,splitLineIndex:t+u,lineIndex:a+u,lineNumber:l+u,noEOFCR:!1}}))break hunkIterator}else s.incrementCounts(1,1);u++}}let f=r.unifiedLineStart,p=r.splitLineStart,m=r.deletionLineIndex,h=r.additionLineIndex,g=r.deletionStart,_=r.additionStart,v=r.hunkContent.at(-1);for(let e of r.hunkContent){if(s.shouldBreak())break hunkIterator;let i=e===v;if(e.type===`context`){if(s.shouldSkip(e.lines,e.lines))s.incrementCounts(e.lines,e.lines),d();else{let t=0;for(;t<e.lines;){if(s.isInWindow(0,0)){let a=i&&t===e.lines-1,o=f+t,c=p+t;if(s.emit({hunkIndex:n,hunk:r,collapsedBefore:d(),collapsedAfter:u(o,c),type:`context`,deletionLine:{lineNumber:g+t,lineIndex:m+t,noEOFCR:a&&r.noEOFCRDeletions,unifiedLineIndex:o,splitLineIndex:c},additionLine:{unifiedLineIndex:o,splitLineIndex:c,lineIndex:h+t,lineNumber:_+t,noEOFCR:a&&r.noEOFCRAdditions}}))break hunkIterator}else s.incrementCounts(1,1);t++}}f+=e.lines,p+=e.lines,m+=e.lines,h+=e.lines,g+=e.lines,_+=e.lines}else{let a=Math.max(e.deletions,e.additions),o=e.deletions+e.additions;if(!s.shouldSkip(o,a)){let c=jt(s,e,t);for(let[l,v]of c)for(let c=l;c<v;c++){let l=u(f+c,t===`unified`?p+(c<e.deletions?c:c-e.deletions):p+c);if(s.emit(Mt({hunkIndex:n,hunk:r,collapsedBefore:d(),collapsedAfter:l,diffStyle:t,index:c,unifiedLineIndex:f,splitLineIndex:p,additionLineIndex:h,deletionLineIndex:m,additionLineNumber:_,deletionLineNumber:g,content:e,isLastContent:i,unifiedCount:o,splitCount:a}),!0))break hunkIterator}}d(),s.incrementCounts(o,a),f+=o,p+=a,m+=e.deletions,h+=e.additions,g+=e.deletions,_+=e.additions}}if(c!=null){let{collapsedLines:t,fromStart:n,fromEnd:r}=c,i=n+r,a=0;for(;a<i;){if(s.shouldBreak())break hunkIterator;if(s.isInWindow(0,0)){let n=a===i-1;if(s.emit({hunkIndex:e.hunks.length,hunk:void 0,collapsedBefore:0,collapsedAfter:n?t:0,type:`context-expanded`,deletionLine:{lineNumber:g+a,lineIndex:m+a,noEOFCR:!1,unifiedLineIndex:f+a,splitLineIndex:p+a},additionLine:{unifiedLineIndex:f+a,splitLineIndex:p+a,lineIndex:h+a,lineNumber:_+a,noEOFCR:!1}}))break hunkIterator}else s.incrementCounts(1,1);a++}}}}function kt(e,t,n,r,i){if(t=Math.max(t,0),t===0||e)return{fromStart:0,fromEnd:0,rangeSize:t,collapsedLines:Math.max(t,0)};if(n===!0||t<=i)return{fromStart:t,fromEnd:0,rangeSize:t,collapsedLines:0};let a=n?.get(r),o=Math.min(Math.max(a?.fromStart??0,0),t),s=Math.min(Math.max(a?.fromEnd??0,0),t),c=o+s,l=c>=t;return{fromStart:l?t:o,fromEnd:l?0:s,rangeSize:t,collapsedLines:Math.max(t-c,0)}}function At(e){let t=e.hunks.at(-1);return t==null||e.isPartial||e.additionLines.length===0||e.deletionLines.length===0?!1:t.additionLineIndex+t.additionCount<e.additionLines.length||t.deletionLineIndex+t.deletionCount<e.deletionLines.length}function jt(e,t,n){if(!e.isWindowedHighlight)return[[0,n===`unified`?t.deletions+t.additions:Math.max(t.deletions,t.additions)]];let r=n!==`split`,i=n!==`unified`,a=n===`unified`?`unified`:`split`,o=[];function s(t,n){if(t+n<=e.viewportStart||t>=e.viewportEnd)return;let r=Math.max(0,e.viewportStart-t),i=Math.min(n,e.viewportEnd-t);return i>r?[r,i]:void 0}function c(e,n){return a===`split`?e:n===`additions`?[e[0]+t.deletions,e[1]+t.deletions]:e}function l(e,t){if(e==null)return;let[n,r]=c(e,t);r>n&&o.push([n,r])}if(r&&(l(s(e.unifiedCount,t.deletions),`deletions`),l(s(e.unifiedCount+t.deletions,t.additions),`additions`)),i&&(l(s(e.splitCount,t.deletions),`deletions`),l(s(e.splitCount,t.additions),`additions`)),o.length===0)return o;o.sort((e,t)=>e[0]-t[0]);let u=[o[0]];for(let[e,t]of o.slice(1)){let n=u[u.length-1];e<=n[1]?n[1]=Math.max(n[1],t):u.push([e,t])}return u}function Mt({hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:r,diffStyle:i,index:a,unifiedLineIndex:o,splitLineIndex:s,additionLineIndex:c,deletionLineIndex:l,additionLineNumber:u,deletionLineNumber:d,content:f,isLastContent:p,unifiedCount:m,splitCount:h}){let g=a<f.deletions?o+a:void 0,_=i===`unified`?a>=f.deletions?o+a:void 0:a<f.additions?o+f.deletions+a:void 0,v=i===`unified`?s+(a<f.deletions?a:a-f.deletions):s+a,y=a<f.deletions?l+a:void 0,b=a<f.deletions?d+a:void 0,x=i===`unified`?a>=f.deletions?c+(a-f.deletions):void 0:a<f.additions?c+a:void 0,S=i===`unified`?a>=f.deletions?u+(a-f.deletions):void 0:a<f.additions?u+a:void 0,C=i===`unified`?p&&a===f.deletions-1&&t.noEOFCRDeletions:p&&a===h-1&&t.noEOFCRDeletions,w=i===`unified`?p&&a===m-1&&t.noEOFCRAdditions:p&&a===h-1&&t.noEOFCRAdditions,T=y!=null&&b!=null&&g!=null?{lineNumber:b,lineIndex:y,noEOFCR:C,unifiedLineIndex:g,splitLineIndex:v}:void 0,E=x!=null&&S!=null&&_!=null?{unifiedLineIndex:_,splitLineIndex:v,lineIndex:x,lineNumber:S,noEOFCR:w}:void 0;if(T==null&&E!=null)return{type:`change`,hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:r,deletionLine:void 0,additionLine:E};if(T!=null&&E==null)return{type:`change`,hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:r,deletionLine:T,additionLine:void 0};if(T==null||E==null)throw Error(`iterateOverDiff: missing change line data`);return{type:`change`,hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:r,deletionLine:T,additionLine:E}}var q=class{diff(e,t,n={}){let r;typeof n==`function`?(r=n,n={}):`callback`in n&&(r=n.callback);let i=this.castInput(e,n),a=this.castInput(t,n),o=this.removeEmpty(this.tokenize(i,n)),s=this.removeEmpty(this.tokenize(a,n));return this.diffWithOptionsObj(o,s,n,r)}diffWithOptionsObj(e,t,n,r){let i=e=>{if(e=this.postProcess(e,n),r){setTimeout(function(){r(e)},0);return}else return e},a=t.length,o=e.length,s=1,c=a+o;n.maxEditLength!=null&&(c=Math.min(c,n.maxEditLength));let l=n.timeout??1/0,u=Date.now()+l,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],t,e,0,n);if(d[0].oldPos+1>=o&&f+1>=a)return i(this.buildValues(d[0].lastComponent,t,e));let p=-1/0,m=1/0,h=()=>{for(let r=Math.max(p,-s);r<=Math.min(m,s);r+=2){let s,c=d[r-1],l=d[r+1];c&&(d[r-1]=void 0);let u=!1;if(l){let e=l.oldPos-r;u=l&&0<=e&&e<a}let h=c&&c.oldPos+1<o;if(!u&&!h){d[r]=void 0;continue}if(s=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),f=this.extractCommon(s,t,e,r,n),s.oldPos+1>=o&&f+1>=a)return i(this.buildValues(s.lastComponent,t,e))||!0;d[r]=s,s.oldPos+1>=o&&(m=Math.min(m,r-1)),f+1>=a&&(p=Math.max(p,r+1))}s++};if(r)(function e(){setTimeout(function(){if(s>c||Date.now()>u)return r(void 0);h()||e()},0)})();else for(;s<=c&&Date.now()<=u;){let e=h();if(e)return e}}addToPath(e,t,n,r,i){let a=e.lastComponent;return a&&!i.oneChangePerToken&&a.added===t&&a.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:a.count+1,added:t,removed:n,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:a}}}extractCommon(e,t,n,r,i){let a=t.length,o=n.length,s=e.oldPos,c=s-r,l=0;for(;c+1<a&&s+1<o&&this.equals(n[s+1],t[c+1],i);)c++,s++,l++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!i.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=s,c}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join(``)}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){let r=[],i;for(;e;)r.push(e),i=e.previousComponent,delete e.previousComponent,e=i;r.reverse();let a=r.length,o=0,s=0,c=0;for(;o<a;o++){let e=r[o];if(e.removed)e.value=this.join(n.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(s,s+e.count);r=r.map(function(e,t){let r=n[c+t];return r.length>e.length?r:e}),e.value=this.join(r)}else e.value=this.join(t.slice(s,s+e.count));s+=e.count,e.added||(c+=e.count)}}return r}},Nt=new class extends q{};function Pt(e,t,n){return Nt.diff(e,t,n)}function Ft(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function It(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return``;for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function Lt(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function Rt(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function J(e,t){return Lt(e,t,``)}function zt(e,t){return Rt(e,t,``)}function Bt(e,t){return t.slice(0,Vt(e,t))}function Vt(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);let i=Array(r),a=0;i[0]=0;for(let e=1;e<r;e++){for(t[e]==t[a]?i[e]=i[a]:i[e]=a;a>0&&t[e]!=t[a];)a=i[a];t[e]==t[a]&&a++}a=0;for(let r=n;r<e.length;r++){for(;a>0&&e[r]!=t[a];)a=i[a];e[r]==t[a]&&a++}return a}function Y(e){let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function X(e){let t=e.match(/^\s*/);return t?t[0]:``}var Ht=`a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}`,Ut=RegExp(`[${Ht}]+|\\s+|[^${Ht}]`,`ug`);new class extends q{equals(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()}tokenize(e,t={}){let n;if(t.intlSegmenter){let r=t.intlSegmenter;if(r.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);n=[];for(let t of Array.from(r.segment(e))){let e=t.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}}else n=e.match(Ut)||[];let r=[],i=null;return n.forEach(e=>{/\s/.test(e)?i==null?r.push(e):r.push(r.pop()+e):i!=null&&/\s/.test(i)?r[r.length-1]==i?r.push(r.pop()+e):r.push(i+e):r.push(e),i=e}),r}join(e){return e.map((e,t)=>t==0?e:e.replace(/^\s+/,``)).join(``)}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,r=null,i=null;return e.forEach(e=>{e.added?r=e:e.removed?i=e:((r||i)&&Wt(n,i,r,e),n=e,r=null,i=null)}),(r||i)&&Wt(n,i,r,null),e}};function Wt(e,t,n,r){if(t&&n){let i=X(t.value),a=Y(t.value),o=X(n.value),s=Y(n.value);if(e){let r=Ft(i,o);e.value=Rt(e.value,o,r),t.value=J(t.value,r),n.value=J(n.value,r)}if(r){let e=It(a,s);r.value=Lt(r.value,s,e),t.value=zt(t.value,e),n.value=zt(n.value,e)}}else if(n){if(e){let e=X(n.value);n.value=n.value.substring(e.length)}if(r){let e=X(r.value);r.value=r.value.substring(e.length)}}else if(e&&r){let n=X(r.value),i=X(t.value),a=Y(t.value),o=Ft(n,i);t.value=J(t.value,o);let s=It(J(n,o),a);t.value=zt(t.value,s),r.value=Lt(r.value,n,s),e.value=Rt(e.value,n,n.slice(0,n.length-s.length))}else if(r){let e=X(r.value),n=Bt(Y(t.value),e);t.value=zt(t.value,n)}else if(e){let n=Bt(Y(e.value),X(t.value));t.value=J(t.value,n)}}var Gt=new class extends q{tokenize(e){let t=RegExp(`(\\r?\\n)|[${Ht}]+|[^\\S\\n\\r]+|[^${Ht}]`,`ug`);return e.match(t)||[]}};function Kt(e,t,n){return Gt.diff(e,t,n)}var qt=new class extends q{constructor(){super(...arguments),this.tokenize=Yt}equals(e,t,n){return n.ignoreWhitespace?((!n.newlineIsToken||!e.includes(`
3
3
  `))&&(e=e.trim()),(!n.newlineIsToken||!t.includes(`
4
4
  `))&&(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith(`
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-Jkkxos3q.js","assets/rolldown-runtime-QTnfLwEv.js","assets/html-DjHL45Qa.js","assets/javascript-CUt1pgmJ.js","assets/css-CA8lF1T0.js","assets/angular-ts-Dhh1UKvY.js","assets/scss-DmHWXjTt.js","assets/apl-DofiDXc-.js","assets/xml-DIqSwXR3.js","assets/java-CGc3VwQr.js","assets/json-Bg9ijW3F.js","assets/astro-CkvdhIAJ.js","assets/typescript-DOu2WMV5.js","assets/postcss-BXeXVLqQ.js","assets/tsx-5Eka4NBX.js","assets/blade-D__6Z9s9.js","assets/html-derivative-BU3x0Qsu.js","assets/sql-DVgP7kNR.js","assets/bsl-BkkzgIyY.js","assets/sdbl-bTVj8UrX.js","assets/c-Wt1voDr2.js","assets/cairo-DLTphjLi.js","assets/python-gzcpVVnB.js","assets/cobol-By99cTah.js","assets/coffee-CThvmt4R.js","assets/cpp-CSisbjOA.js","assets/regexp-Omp9DhTb.js","assets/glsl-Dv5r7kPw.js","assets/crystal-CnoV_bOm.js","assets/shellscript-DwcUjJBL.js","assets/edge-CHwPm-XV.js","assets/elixir-CWHDJuHM.js","assets/elm-dREJmIFz.js","assets/erb-BT2FSELU.js","assets/ruby-B9XnubfT.js","assets/haml-DYeSPR5E.js","assets/graphql-CB4jsw2E.js","assets/jsx-CY6oMTks.js","assets/lua-BjLEUjKY.js","assets/yaml-DTtCYNlS.js","assets/erlang-Cphh6RMH.js","assets/markdown-BYOwaDjH.js","assets/fortran-fixed-form-DEKoE2YW.js","assets/fortran-free-form-CYNrtFtB.js","assets/fsharp-D13ZGOAj.js","assets/gdresource-C0sCabJj.js","assets/gdshader-CBce3t8t.js","assets/gdscript-Cp2uCuqX.js","assets/git-commit-BSykSTBG.js","assets/diff-woXpYk--.js","assets/git-rebase-B44mJPta.js","assets/glimmer-js-rjrsCEwg.js","assets/glimmer-ts-B6WVWV5o.js","assets/hack-WqWnv1tE.js","assets/handlebars-Bu1eSG8Z.js","assets/http-Cyd7bS_S.js","assets/hurl-CWPsiEpf.js","assets/csv-Dx-8-gkx.js","assets/hxml-B0Qn7Nwc.js","assets/haxe-OTjmBuCE.js","assets/jinja-CEztI1Tk.js","assets/jison-imPNup1l.js","assets/julia-CNItCTbb.js","assets/r-8R7vtdQc.js","assets/just-jjkdu6mQ.js","assets/perl-BV7QKbRD.js","assets/latex-C76IGIMI.js","assets/tex-D8QMumu5.js","assets/liquid-C9yyKiYi.js","assets/marko-ec6q-ucw.js","assets/less-DVTAwKKz.js","assets/mdc-BavjQPUD.js","assets/nextflow-Bbiyy34d.js","assets/nextflow-groovy-Dc_ddanL.js","assets/nginx-Bhc82uuv.js","assets/nim-DIpKdLL3.js","assets/php-C0fIbeYq.js","assets/pug-BfZ7847f.js","assets/qml-BdUV3aTS.js","assets/razor-CIstp9EF.js","assets/csharp-Ct8U2NOr.js","assets/rst-CsTSTjeR.js","assets/cmake-Bj61d0ZC.js","assets/sas-C-6xvSOT.js","assets/shaderlab-TOUzSsQk.js","assets/hlsl-Cvrh5tZx.js","assets/shellsession-CPZkydE6.js","assets/soy-CQkG5Mdb.js","assets/sparql-D_iOobhT.js","assets/turtle-ByJddavk.js","assets/stata-jIc8T1G_.js","assets/surrealql-IeLNQw0f.js","assets/svelte-D-pZgLEg.js","assets/templ-O6P4mZUV.js","assets/go-BJwz_mda.js","assets/ts-tags-BHdwdDhd.js","assets/twig-CwE6Fi-8.js","assets/vue-D4DC7ZOC.js","assets/vue-html-BeluIYX0.js","assets/vue-vine-DIv93V4i.js","assets/stylus-B6D30XZt.js","assets/xsl-Ct_-YIAy.js"])))=>i.map(i=>d[i]);
2
- import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s}from"./index-_Mo0CKIt.js";var c={}.hasOwnProperty;function l(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&c.call(t,e)){let n=String(t[e]);i=c.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var u=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function d(e){return f(e)}function f(e){return Array.isArray(e)?p(e):e instanceof RegExp?e:typeof e==`object`?m(e):e}function p(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=f(e[n]);return t}function m(e){let t={};for(let n in e)t[n]=f(e[n]);return t}function h(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function g(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?g(e.substring(0,e.length-1)):e.substr(~t+1)}var _=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,v=class{static hasCaptures(e){return e===null?!1:(_.lastIndex=0,_.test(e))}static replaceCaptures(e,t,n){return e.replace(_,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(o){let e=t.substring(o.start,o.end);for(;e[0]===`.`;)e=e.substring(1);switch(a){case`downcase`:return e.toLowerCase();case`upcase`:return e.toUpperCase();default:return e}}else return e})}};function ee(e,t){return e<t?-1:+(e>t)}function te(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){let n=ee(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function ne(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function re(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var ie=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},ae=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(ue(e),t)}static createFromParsedTheme(e,t){return fe(e,t)}_cachedMatchRoot=new ie(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>se(e.parent,t.parentScopes));return n?new le(n.fontStyle,n.foreground,n.background):null}},oe=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(` `)}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function se(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===`>`){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!ce(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function ce(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var le=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function ue(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i=t[e];if(!i.settings)continue;let a;if(typeof i.scope==`string`){let e=i.scope;e=e.replace(/^[,]+/,``),e=e.replace(/[,]+$/,``),a=e.split(`,`)}else a=Array.isArray(i.scope)?i.scope:[``];let o=-1;if(typeof i.settings.fontStyle==`string`){o=0;let e=i.settings.fontStyle.split(` `);for(let t=0,n=e.length;t<n;t++)switch(e[t]){case`italic`:o|=1;break;case`bold`:o|=2;break;case`underline`:o|=4;break;case`strikethrough`:o|=8;break}}let s=null;typeof i.settings.foreground==`string`&&ne(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&ne(i.settings.background)&&(c=i.settings.background);for(let t=0,i=a.length;t<i;t++){let i=a[t].trim().split(` `),l=i[i.length-1],u=null;i.length>1&&(u=i.slice(0,i.length-1),u.reverse()),n[r++]=new de(l,u,e,o,s,c)}}return n}var de=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},y=(e=>(e[e.NotSet=-1]=`NotSet`,e[e.None=0]=`None`,e[e.Italic=1]=`Italic`,e[e.Bold=2]=`Bold`,e[e.Underline=4]=`Underline`,e[e.Strikethrough=8]=`Strikethrough`,e))(y||{});function fe(e,t){e.sort((e,t)=>{let n=ee(e.scope,t.scope);return n!==0||(n=te(e.parentScopes,t.parentScopes),n!==0)?n:e.index-t.index});let n=0,r=`#000000`,i=`#ffffff`;for(;e.length>=1&&e[0].scope===``;){let t=e.shift();t.fontStyle!==-1&&(n=t.fontStyle),t.foreground!==null&&(r=t.foreground),t.background!==null&&(i=t.background)}let a=new pe(t),o=new le(n,a.getId(r),a.getId(i)),s=new ge(new he(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];s.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new ae(a,o,s)}var pe=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},me=Object.freeze([]),he=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||me,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log(`how did this happen?`):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),r!==0&&(this.background=r)}},ge=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;e.parentScopes[n]===`>`&&n++,t.parentScopes[r]===`>`&&r++,!(n>=e.parentScopes.length||r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(i!==0)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(t!==``){let e=t.indexOf(`.`),n,r;if(e===-1?(n=t,r=``):(n=t.substring(0,e),r=t.substring(e+1)),this._children.hasOwnProperty(n))return this._children[n].match(r)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){if(n===``){this._doInsertHere(t,r,i,a,o);return}let s=n.indexOf(`.`),c,l;s===-1?(c=n,l=``):(c=n.substring(0,s),l=n.substring(s+1));let u;this._children.hasOwnProperty(c)?u=this._children[c]:(u=new e(this._mainRule.clone(),he.cloneArr(this._rulesWithParentScopes)),this._children[c]=u),u.insert(t+1,l,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(t===null){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(te(o.parentScopes,t)===0){o.acceptOverwrite(e,n,r,i);return}}n===-1&&(n=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new he(e,t,n,r,i))}},b=class e{static toBinaryStr(e){return e.toString(2).padStart(32,`0`)}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t),a=e.getForeground(t),o=e.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:a,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!=0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(t,n,r,i,a,o,s){let c=e.getLanguageId(t),l=e.getTokenType(t),u=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),f=e.getForeground(t),p=e.getBackground(t);return n!==0&&(c=n),r!==8&&(l=ve(r)),i!==null&&(u=+!!i),a!==-1&&(d=a),o!==0&&(f=o),s!==0&&(p=s),(c<<0|l<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function _e(e){return e}function ve(e){return e}function ye(e,t){let n=[],r=xe(e),i=r.next();for(;i!==null;){let e=0;if(i.length===2&&i.charAt(1)===`:`){switch(i.charAt(0)){case`R`:e=1;break;case`L`:e=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let t=o();if(n.push({matcher:t,priority:e}),i!==`,`)break;i=r.next()}return n;function a(){if(i===`-`){i=r.next();let e=a();return t=>!!e&&!e(t)}if(i===`(`){i=r.next();let e=s();return i===`)`&&(i=r.next()),e}if(be(i)){let e=[];do e.push(i),i=r.next();while(be(i));return n=>t(e,n)}return null}function o(){let e=[],t=a();for(;t;)e.push(t),t=a();return t=>e.every(e=>e(t))}function s(){let e=[],t=o();for(;t&&(e.push(t),i===`|`||i===`,`);){do i=r.next();while(i===`|`||i===`,`);t=o()}return t=>e.some(e=>e(t))}}function be(e){return!!e&&!!e.match(/[\w\.:]+/)}function xe(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;let r=n[0];return n=t.exec(e),r}}}function Se(e){typeof e.dispose==`function`&&e.dispose()}var Ce=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},we=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},Te=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},Ee=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Ce(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new Te;for(let n of e)De(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof Ce){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function De(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof Ce?ke({baseGrammar:a,selfGrammar:i},r):Oe(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new Ce(e))}function Oe(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];Ae([r],t,n)}}function ke(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Ae(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Ae(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Ae(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?h({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Ae(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=Ie(i);switch(a.kind){case 0:ke({...t,selfGrammar:t.baseGrammar},n);break;case 1:ke(t,n);break;case 2:Oe(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let r=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(r){let i={baseGrammar:t.baseGrammar,selfGrammar:r,repository:e};a.kind===4?Oe(a.ruleName,i,n):ke(i,n)}else a.kind===4?n.add(new we(a.scopeName,a.ruleName)):n.add(new Ce(a.scopeName));break}}}var je=class{kind=0},Me=class{kind=1},Ne=class{constructor(e){this.ruleName=e}kind=2},Pe=class{constructor(e){this.scopeName=e}kind=3},Fe=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Ie(e){if(e===`$base`)return new je;if(e===`$self`)return new Me;let t=e.indexOf(`#`);return t===-1?new Pe(e):t===0?new Ne(e.substring(1)):new Fe(e.substring(0,t),e.substring(t+1))}var Le=/\\(\d+)/,Re=/\\(\d+)/g,ze=-1,Be=-2;function Ve(e){return e}function He(e){return e}var x=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=v.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=v.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${g(this.$location.filename)}:${this.$location.line}`:`unknown`;return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:v.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:v.replaceCaptures(this._contentName,e,t)}},Ue=class extends x{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error(`Not supported!`)}compile(e,t){throw Error(`Not supported!`)}compileAG(e,t,n,r){throw Error(`Not supported!`)}},We=class extends x{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new S(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new C,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ge=class extends x{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new C,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ke=class extends x{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,o,s,c,l){super(e,t,n,r),this._begin=new S(i,this.id),this.beginCaptures=a,this._end=new S(o||`￿`,-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=c||!1,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new C;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},qe=class extends x{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,o,s,c){super(e,t,n,r),this._begin=new S(i,this.id),this.beginCaptures=a,this.whileCaptures=s,this._while=new S(o,Be),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null),this._cachedCompiledWhilePatterns&&=(this._cachedCompiledWhilePatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new C;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new C,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||`￿`),this._cachedCompiledWhilePatterns}},Je=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Ue(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new We(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=h({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new Ge(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new qe(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new Ke(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if(e===`$vscodeTextmateLocation`)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if(a===`$vscodeTextmateLocation`)continue;let o=parseInt(a,10),s=0;t[a].patterns&&(s=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,s)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],s=-1;if(o.include){let t=Ie(o.include);switch(t.kind){case 0:case 1:s=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(s=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,c=t.kind===4?t.ruleName:null,l=n.getExternalGrammar(a,r);if(l)if(c){let t=l.repository[c];t&&(s=e.getCompiledRuleId(t,n,l.repository))}else s=e.getCompiledRuleId(l.repository.$self,n,l.repository);break}}else s=e.getCompiledRuleId(o,n,r);if(s!==-1){let e=n.getRule(s),t=!1;if((e instanceof Ge||e instanceof Ke||e instanceof qe)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},S=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&typeof e==`string`){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if(e.charAt(a)===`\\`&&a+1<t){let t=e.charAt(a+1);t===`z`?(r.push(e.substring(n,a)),r.push(`$(?!\\n)(?<!\\n)`),n=a+2):(t===`A`||t===`G`)&&(i=!0),a++}this.hasAnchor=i,n===0?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(``))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,typeof this.source==`string`?this.hasBackReferences=Le.test(this.source):this.hasBackReferences=!1}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let n=t.map(t=>e.substring(t.start,t.end));return Re.lastIndex=0,this.source.replace(Re,(e,t)=>re(n[parseInt(t,10)]||``))}_buildAnchorCache(){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let e=[],t=[],n=[],r=[],i,a,o,s;for(i=0,a=this.source.length;i<a;i++)o=this.source.charAt(i),e[i]=o,t[i]=o,n[i]=o,r[i]=o,o===`\\`&&i+1<a&&(s=this.source.charAt(i+1),s===`A`?(e[i+1]=`￿`,t[i+1]=`￿`,n[i+1]=`A`,r[i+1]=`A`):s===`G`?(e[i+1]=`￿`,t[i+1]=`G`,n[i+1]=`￿`,r[i+1]=`G`):(e[i+1]=s,t[i+1]=s,n[i+1]=s,r[i+1]=s),i++);return{A0_G0:e.join(``),A0_G1:t.join(``),A1_G0:n.join(``),A1_G1:r.join(``)}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!=`string`?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},C=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&=(this._cached.dispose(),null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new Ye(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new Ye(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Ye=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose==`function`&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(` - `+this.rules[t]+`: `+this.regExps[t]);return e.join(`
2
+ import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s}from"./index-BfFaZKNv.js";var c={}.hasOwnProperty;function l(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&c.call(t,e)){let n=String(t[e]);i=c.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var u=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function d(e){return f(e)}function f(e){return Array.isArray(e)?p(e):e instanceof RegExp?e:typeof e==`object`?m(e):e}function p(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=f(e[n]);return t}function m(e){let t={};for(let n in e)t[n]=f(e[n]);return t}function h(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function g(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?g(e.substring(0,e.length-1)):e.substr(~t+1)}var _=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,v=class{static hasCaptures(e){return e===null?!1:(_.lastIndex=0,_.test(e))}static replaceCaptures(e,t,n){return e.replace(_,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(o){let e=t.substring(o.start,o.end);for(;e[0]===`.`;)e=e.substring(1);switch(a){case`downcase`:return e.toLowerCase();case`upcase`:return e.toUpperCase();default:return e}}else return e})}};function ee(e,t){return e<t?-1:+(e>t)}function te(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){let n=ee(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function ne(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function re(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var ie=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},ae=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(ue(e),t)}static createFromParsedTheme(e,t){return fe(e,t)}_cachedMatchRoot=new ie(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>se(e.parent,t.parentScopes));return n?new le(n.fontStyle,n.foreground,n.background):null}},oe=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(` `)}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function se(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===`>`){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!ce(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function ce(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var le=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function ue(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i=t[e];if(!i.settings)continue;let a;if(typeof i.scope==`string`){let e=i.scope;e=e.replace(/^[,]+/,``),e=e.replace(/[,]+$/,``),a=e.split(`,`)}else a=Array.isArray(i.scope)?i.scope:[``];let o=-1;if(typeof i.settings.fontStyle==`string`){o=0;let e=i.settings.fontStyle.split(` `);for(let t=0,n=e.length;t<n;t++)switch(e[t]){case`italic`:o|=1;break;case`bold`:o|=2;break;case`underline`:o|=4;break;case`strikethrough`:o|=8;break}}let s=null;typeof i.settings.foreground==`string`&&ne(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&ne(i.settings.background)&&(c=i.settings.background);for(let t=0,i=a.length;t<i;t++){let i=a[t].trim().split(` `),l=i[i.length-1],u=null;i.length>1&&(u=i.slice(0,i.length-1),u.reverse()),n[r++]=new de(l,u,e,o,s,c)}}return n}var de=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},y=(e=>(e[e.NotSet=-1]=`NotSet`,e[e.None=0]=`None`,e[e.Italic=1]=`Italic`,e[e.Bold=2]=`Bold`,e[e.Underline=4]=`Underline`,e[e.Strikethrough=8]=`Strikethrough`,e))(y||{});function fe(e,t){e.sort((e,t)=>{let n=ee(e.scope,t.scope);return n!==0||(n=te(e.parentScopes,t.parentScopes),n!==0)?n:e.index-t.index});let n=0,r=`#000000`,i=`#ffffff`;for(;e.length>=1&&e[0].scope===``;){let t=e.shift();t.fontStyle!==-1&&(n=t.fontStyle),t.foreground!==null&&(r=t.foreground),t.background!==null&&(i=t.background)}let a=new pe(t),o=new le(n,a.getId(r),a.getId(i)),s=new ge(new he(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];s.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new ae(a,o,s)}var pe=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},me=Object.freeze([]),he=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||me,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log(`how did this happen?`):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),r!==0&&(this.background=r)}},ge=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;e.parentScopes[n]===`>`&&n++,t.parentScopes[r]===`>`&&r++,!(n>=e.parentScopes.length||r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(i!==0)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(t!==``){let e=t.indexOf(`.`),n,r;if(e===-1?(n=t,r=``):(n=t.substring(0,e),r=t.substring(e+1)),this._children.hasOwnProperty(n))return this._children[n].match(r)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){if(n===``){this._doInsertHere(t,r,i,a,o);return}let s=n.indexOf(`.`),c,l;s===-1?(c=n,l=``):(c=n.substring(0,s),l=n.substring(s+1));let u;this._children.hasOwnProperty(c)?u=this._children[c]:(u=new e(this._mainRule.clone(),he.cloneArr(this._rulesWithParentScopes)),this._children[c]=u),u.insert(t+1,l,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(t===null){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(te(o.parentScopes,t)===0){o.acceptOverwrite(e,n,r,i);return}}n===-1&&(n=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new he(e,t,n,r,i))}},b=class e{static toBinaryStr(e){return e.toString(2).padStart(32,`0`)}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t),a=e.getForeground(t),o=e.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:a,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!=0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(t,n,r,i,a,o,s){let c=e.getLanguageId(t),l=e.getTokenType(t),u=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),f=e.getForeground(t),p=e.getBackground(t);return n!==0&&(c=n),r!==8&&(l=ve(r)),i!==null&&(u=+!!i),a!==-1&&(d=a),o!==0&&(f=o),s!==0&&(p=s),(c<<0|l<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function _e(e){return e}function ve(e){return e}function ye(e,t){let n=[],r=xe(e),i=r.next();for(;i!==null;){let e=0;if(i.length===2&&i.charAt(1)===`:`){switch(i.charAt(0)){case`R`:e=1;break;case`L`:e=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let t=o();if(n.push({matcher:t,priority:e}),i!==`,`)break;i=r.next()}return n;function a(){if(i===`-`){i=r.next();let e=a();return t=>!!e&&!e(t)}if(i===`(`){i=r.next();let e=s();return i===`)`&&(i=r.next()),e}if(be(i)){let e=[];do e.push(i),i=r.next();while(be(i));return n=>t(e,n)}return null}function o(){let e=[],t=a();for(;t;)e.push(t),t=a();return t=>e.every(e=>e(t))}function s(){let e=[],t=o();for(;t&&(e.push(t),i===`|`||i===`,`);){do i=r.next();while(i===`|`||i===`,`);t=o()}return t=>e.some(e=>e(t))}}function be(e){return!!e&&!!e.match(/[\w\.:]+/)}function xe(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;let r=n[0];return n=t.exec(e),r}}}function Se(e){typeof e.dispose==`function`&&e.dispose()}var Ce=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},we=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},Te=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},Ee=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Ce(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new Te;for(let n of e)De(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof Ce){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function De(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof Ce?ke({baseGrammar:a,selfGrammar:i},r):Oe(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new Ce(e))}function Oe(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];Ae([r],t,n)}}function ke(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Ae(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Ae(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Ae(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?h({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Ae(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=Ie(i);switch(a.kind){case 0:ke({...t,selfGrammar:t.baseGrammar},n);break;case 1:ke(t,n);break;case 2:Oe(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let r=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(r){let i={baseGrammar:t.baseGrammar,selfGrammar:r,repository:e};a.kind===4?Oe(a.ruleName,i,n):ke(i,n)}else a.kind===4?n.add(new we(a.scopeName,a.ruleName)):n.add(new Ce(a.scopeName));break}}}var je=class{kind=0},Me=class{kind=1},Ne=class{constructor(e){this.ruleName=e}kind=2},Pe=class{constructor(e){this.scopeName=e}kind=3},Fe=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Ie(e){if(e===`$base`)return new je;if(e===`$self`)return new Me;let t=e.indexOf(`#`);return t===-1?new Pe(e):t===0?new Ne(e.substring(1)):new Fe(e.substring(0,t),e.substring(t+1))}var Le=/\\(\d+)/,Re=/\\(\d+)/g,ze=-1,Be=-2;function Ve(e){return e}function He(e){return e}var x=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=v.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=v.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${g(this.$location.filename)}:${this.$location.line}`:`unknown`;return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:v.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:v.replaceCaptures(this._contentName,e,t)}},Ue=class extends x{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error(`Not supported!`)}compile(e,t){throw Error(`Not supported!`)}compileAG(e,t,n,r){throw Error(`Not supported!`)}},We=class extends x{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new S(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new C,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ge=class extends x{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new C,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ke=class extends x{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,o,s,c,l){super(e,t,n,r),this._begin=new S(i,this.id),this.beginCaptures=a,this._end=new S(o||`￿`,-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=c||!1,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new C;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},qe=class extends x{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,o,s,c){super(e,t,n,r),this._begin=new S(i,this.id),this.beginCaptures=a,this.whileCaptures=s,this._while=new S(o,Be),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null),this._cachedCompiledWhilePatterns&&=(this._cachedCompiledWhilePatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new C;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new C,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||`￿`),this._cachedCompiledWhilePatterns}},Je=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Ue(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new We(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=h({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new Ge(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new qe(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new Ke(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if(e===`$vscodeTextmateLocation`)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if(a===`$vscodeTextmateLocation`)continue;let o=parseInt(a,10),s=0;t[a].patterns&&(s=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,s)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],s=-1;if(o.include){let t=Ie(o.include);switch(t.kind){case 0:case 1:s=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(s=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,c=t.kind===4?t.ruleName:null,l=n.getExternalGrammar(a,r);if(l)if(c){let t=l.repository[c];t&&(s=e.getCompiledRuleId(t,n,l.repository))}else s=e.getCompiledRuleId(l.repository.$self,n,l.repository);break}}else s=e.getCompiledRuleId(o,n,r);if(s!==-1){let e=n.getRule(s),t=!1;if((e instanceof Ge||e instanceof Ke||e instanceof qe)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},S=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&typeof e==`string`){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if(e.charAt(a)===`\\`&&a+1<t){let t=e.charAt(a+1);t===`z`?(r.push(e.substring(n,a)),r.push(`$(?!\\n)(?<!\\n)`),n=a+2):(t===`A`||t===`G`)&&(i=!0),a++}this.hasAnchor=i,n===0?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(``))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,typeof this.source==`string`?this.hasBackReferences=Le.test(this.source):this.hasBackReferences=!1}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let n=t.map(t=>e.substring(t.start,t.end));return Re.lastIndex=0,this.source.replace(Re,(e,t)=>re(n[parseInt(t,10)]||``))}_buildAnchorCache(){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let e=[],t=[],n=[],r=[],i,a,o,s;for(i=0,a=this.source.length;i<a;i++)o=this.source.charAt(i),e[i]=o,t[i]=o,n[i]=o,r[i]=o,o===`\\`&&i+1<a&&(s=this.source.charAt(i+1),s===`A`?(e[i+1]=`￿`,t[i+1]=`￿`,n[i+1]=`A`,r[i+1]=`A`):s===`G`?(e[i+1]=`￿`,t[i+1]=`G`,n[i+1]=`￿`,r[i+1]=`G`):(e[i+1]=s,t[i+1]=s,n[i+1]=s,r[i+1]=s),i++);return{A0_G0:e.join(``),A0_G1:t.join(``),A1_G0:n.join(``),A1_G1:r.join(``)}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!=`string`?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},C=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&=(this._cached.dispose(),null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new Ye(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new Ye(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Ye=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose==`function`&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(` - `+this.rules[t]+`: `+this.regExps[t]);return e.join(`
3
3
  `)}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Xe=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Ze=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new Xe(e,8),this._embeddedLanguagesMatcher=new Qe(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Xe(0,0);_getBasicScopeAttributes=new ie(e=>new Xe(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case`comment`:return 1;case`string`:return 2;case`regex`:return 3;case`meta.embedded`:return 0}throw Error(`Unexpected match for standard token type!`)}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Qe=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>re(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(`)|(`)}))($|\\.)`,``)}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<`u`&&{}.VSCODE_TEXTMATE_DEBUG;var $e=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function et(e,t,n,r,i,a,o,s){let c=t.content.length,l=!1,u=-1;if(o){let o=tt(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,u=o.anchorPosition}let d=Date.now();for(;!l;){if(s!==0&&Date.now()-d>s)return new $e(i,!0);f()}return new $e(i,!1);function f(){let o=nt(e,t,n,r,i,u);if(!o){a.produce(i,c),l=!0;return}let s=o.captureIndices,d=o.matchedRuleId,f=s&&s.length>0?s[0].end>r:!1;if(d===ze){let o=i.getRule(e);a.produce(i,s[0].start),i=i.withContentNameScopesList(i.nameScopesList),w(e,t,n,i,a,o.endCaptures,s),a.produce(i,s[0].end);let d=i;if(i=i.parent,u=d.getAnchorPos(),!f&&d.getEnterPos()===r){i=d,a.produce(i,c),l=!0;return}}else{let o=e.getRule(d);a.produce(i,s[0].start);let p=i,m=o.getName(t.content,s),h=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(d,r,u,s[0].end===c,null,h,h),o instanceof Ke){let r=o;w(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.endHasBackReferences&&(i=i.withEndRule(r.getEndWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(o instanceof qe){let r=o;w(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.whileHasBackReferences&&(i=i.withEndRule(r.getWhileWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(w(e,t,n,i,a,o.captures,s),a.produce(i,s[0].end),i=i.pop(),!f){i=i.safePop(),a.produce(i,c),l=!0;return}}s[0].end>r&&(r=s[0].end,n=!1)}}function tt(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,s=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof qe&&s.push({rule:n,stack:t})}for(let c=s.pop();c;c=s.pop()){let{ruleScanner:s,findOptions:l}=ot(c.rule,e,c.stack.endRule,n,r===o),u=s.findNextMatchSync(t,r,l);if(u){if(u.ruleId!==Be){i=c.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(a.produce(c.stack,u.captureIndices[0].start),w(e,t,n,c.stack,a,c.rule.whileCaptures,u.captureIndices),a.produce(c.stack,u.captureIndices[0].end),o=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{i=c.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}function nt(e,t,n,r,i,a){let o=rt(e,t,n,r,i,a),s=e.getInjections();if(s.length===0)return o;let c=it(s,e,t,n,r,i,a);if(!c)return o;if(!o)return c;let l=o.captureIndices[0].start,u=c.captureIndices[0].start;return u<l||c.priorityMatch&&u===l?c:o}function rt(e,t,n,r,i,a){let{ruleScanner:o,findOptions:s}=at(i.getRule(e),e,i.endRule,n,r===a),c=o.findNextMatchSync(t,r,s);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function it(e,t,n,r,i,a,o){let s=Number.MAX_VALUE,c=null,l,u=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,f=e.length;a<f;a++){let f=e[a];if(!f.matcher(d))continue;let{ruleScanner:p,findOptions:m}=at(t.getRule(f.ruleId),t,null,r,i===o),h=p.findNextMatchSync(n,i,m);if(!h)continue;let g=h.captureIndices[0].start;if(!(g>=s)&&(s=g,c=h.captureIndices,l=h.ruleId,u=f.priority,s===i))break}return c?{priorityMatch:u===-1,captureIndices:c,matchedRuleId:l}:null}function at(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function ot(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}function w(e,t,n,r,i,a,o){if(a.length===0)return;let s=t.content,c=Math.min(a.length,o.length),l=[],u=o[0].end;for(let t=0;t<c;t++){let c=a[t];if(c===null)continue;let d=o[t];if(d.length===0)continue;if(d.start>u)break;for(;l.length>0&&l[l.length-1].endPos<=d.start;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?i.produceFromScopes(l[l.length-1].scopes,d.start):i.produce(r,d.start),c.retokenizeCapturedWithRuleId){let t=c.getName(s,o),a=r.contentNameScopesList.pushAttributed(t,e),l=c.getContentName(s,o),u=a.pushAttributed(l,e),f=r.push(c.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,u),p=e.createOnigString(s.substring(0,d.end));et(e,p,n&&d.start===0,d.start,f,i,!1,0),Se(p);continue}let f=c.getName(s,o);if(f!==null){let t=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(f,e);l.push(new st(t,d.end))}}for(;l.length>0;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var st=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function ct(e,t,n,r,i,a,o,s){return new ft(e,t,n,r,i,a,o,s)}function lt(e,t,n,r,i){let a=ye(t,ut),o=Je.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function ut(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(dt(t[r],e))return n=r+1,!0;return!1})}function dt(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]===`.`}var ft=class{constructor(e,t,n,r,i,a,o,s){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=s,this._basicScopeAttributesProvider=new Ze(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=pt(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i)){let t=ye(e,ut);for(let n of t)this._tokenTypeMatchers.push({matcher:n.matcher,type:i[e]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e={lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){let e=r.injections;if(e)for(let n in e)lt(t,n,e[n],this,r);let i=this._grammarRepository.injections(n);i&&i.forEach(e=>{let n=this.getExternalGrammar(e);if(n){let e=n.injectionSelector;e&&lt(t,e,n,this,n)}})}return t.sort((e,t)=>e.priority-t.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(Ve(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[He(e)]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=pt(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Je.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===mt.NULL){i=!0;let e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=b.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null),o;o=a?T.createRootAndLookUpScopeName(a,r,this):T.createRoot(`unknown`,r),t=new mt(null,this._rootId,-1,-1,!1,null,o,o)}else i=!1,t.reset();e+=`
4
4
  `;let a=this.createOnigString(e),o=a.content.length,s=new gt(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=et(this,a,i,0,t,s,!0,r);return Se(a),{lineLength:o,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function pt(e,t){return e=d(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var T=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(let t of n)i=oe.push(i,t.scopeNames),r=new e(r,i,t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new oe(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new oe(null,t),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(n,i,o);return new e(null,a,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(` `)}equals(t){return e.equals(this,t)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return n!==null&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),b.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(` `)===-1)return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},mt=class e{constructor(e,t,n,r,i,a,o,s){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=s,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new e(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:e._equals(this,t)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?T.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,o,s){return new e(this,t,n,r,i,a,o,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),`[`+e.join(`,`)+`]`}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:He(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let r=T.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,Ve(n.ruleId),n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,T.fromExtension(r,n.contentNameScopesList))}},ht=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>e===`*`?(this.allowAny=!0,[]):ye(e,ut).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>ye(e,ut).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},gt=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=b.set(n,0,_e(e.type),null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=b.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},_t=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,ct(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},vt=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new _t(ae.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(ae.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new ht(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new Ee(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n=typeof this._options.getInjections==`function`?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},yt=mt.NULL,bt=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],xt=/["&'<>`]/g,St=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ct=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,wt=/[|\\{}()[\]^$+*?.]/g,Tt=new WeakMap;function Et(e,t){if(e=e.replace(t.subset?Dt(t.subset):xt,r),t.subset||t.escapeOnly)return e;return e.replace(St,n).replace(Ct,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function Dt(e){let t=Tt.get(e);return t||(t=Ot(e),Tt.set(e,t)),t}function Ot(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(wt,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var kt=/[\dA-Fa-f]/;function At(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!kt.test(String.fromCharCode(t))?r:r+`;`}var jt=/\d/;function Mt(e,t,n){let r=`&#`+String(e);return n&&t&&!jt.test(String.fromCharCode(t))?r:r+`;`}var Nt=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),Pt={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},Ft=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],It={}.hasOwnProperty,Lt={},Rt;for(Rt in Pt)It.call(Pt,Rt)&&(Lt[Pt[Rt]]=Rt);var zt=/[^\dA-Za-z]/;function Bt(e,t,n,r){let i=String.fromCharCode(e);if(It.call(Lt,i)){let e=Lt[i],a=`&`+e;return n&&Nt.includes(e)&&!Ft.includes(e)&&(!r||t&&t!==61&&zt.test(String.fromCharCode(t)))?a:a+`;`}return``}function Vt(e,t,n){let r=At(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Bt(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=Mt(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function E(e,t){return Et(e,Object.assign({format:Vt},t))}var Ht=/^>|^->|<!--|-->|--!>|<!-$/g,Ut=[`>`],Wt=[`<`,`>`];function Gt(e,t,n,r){return r.settings.bogusComments?`<?`+E(e.value,Object.assign({},r.settings.characterReferences,{subset:Ut}))+`>`:`<!--`+e.value.replace(Ht,i)+`-->`;function i(e){return E(e,Object.assign({},r.settings.characterReferences,{subset:Wt}))}}function Kt(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}var D=Yt(1),qt=Yt(-1),Jt=[];function Yt(e){return n;function n(n,r,i){let a=n?n.children:Jt,o=(r||0)+e,s=a[o];if(!i)for(;s&&t(s);)o+=e,s=a[o];return s}}var Xt={}.hasOwnProperty;function Zt(e){return t;function t(t,n,r){return Xt.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var Qt=Zt({body:tn,caption:$t,colgroup:$t,dd:on,dt:an,head:$t,html:en,li:rn,optgroup:cn,option:ln,p:nn,rp:sn,rt:sn,tbody:dn,td:mn,tfoot:fn,th:mn,thead:un,tr:pn});function $t(e,n,r){let i=D(r,n,!0);return!i||i.type!==`comment`&&!(i.type===`text`&&t(i.value.charAt(0)))}function en(e,t,n){let r=D(n,t);return!r||r.type!==`comment`}function tn(e,t,n){let r=D(n,t);return!r||r.type!==`comment`}function nn(e,t,n){let r=D(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||!(n.type===`element`&&(n.tagName===`a`||n.tagName===`audio`||n.tagName===`del`||n.tagName===`ins`||n.tagName===`map`||n.tagName===`noscript`||n.tagName===`video`))}function rn(e,t,n){let r=D(n,t);return!r||r.type===`element`&&r.tagName===`li`}function an(e,t,n){let r=D(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function on(e,t,n){let r=D(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function sn(e,t,n){let r=D(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function cn(e,t,n){let r=D(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function ln(e,t,n){let r=D(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function un(e,t,n){let r=D(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function dn(e,t,n){let r=D(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function fn(e,t,n){return!D(n,t)}function pn(e,t,n){let r=D(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function mn(e,t,n){let r=D(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var hn=Zt({body:vn,colgroup:yn,head:_n,html:gn,tbody:bn});function gn(e){let t=D(e,-1);return!t||t.type!==`comment`}function _n(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function vn(e){let n=D(e,-1,!0);return!n||n.type!==`comment`&&!(n.type===`text`&&t(n.value.charAt(0)))&&!(n.type===`element`&&(n.tagName===`meta`||n.tagName===`link`||n.tagName===`script`||n.tagName===`style`||n.tagName===`template`))}function yn(e,t,n){let r=qt(n,t),i=D(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&Qt(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function bn(e,t,n){let r=qt(n,t),i=D(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&Qt(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var xn={name:[[`
5
5
  \f\r &/=>`.split(``),`
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"./engine-compile-cjbCYuu9.js";import{n as r}from"./index-_Mo0CKIt.js";var i=t({langs:e,themes:{"dark-plus":()=>r(()=>import(`./dark-plus-Cs2F2srj.js`),[]),"light-plus":()=>r(()=>import(`./light-plus-DVQuIRkW.js`),[])},engine:()=>n()}),a=null,o=new Map,s={golang:`go`,objectivec:`objective-c`,"objective-c++":`objective-cpp`,plaintext:`text`,vuejs:`vue`};function c(){return a||=i({themes:[`dark-plus`,`light-plus`],langs:[]}),a}c();function l(t){let n=String(t||``).trim().toLowerCase();if(!n)return`text`;let r=s[n]||n;return Object.hasOwn(e,r)?r:`text`}function u(e,t){if(e.getLoadedLanguages().includes(t))return Promise.resolve(t);if(!o.has(t))try{o.set(t,Promise.resolve(e.loadLanguage(t)).then(()=>t).catch(()=>(o.delete(t),`text`)))}catch{return Promise.resolve(`text`)}return o.get(t)??Promise.resolve(`text`)}function d(e,t,n){try{return e.codeToHtml(t,n)}catch{return null}}var f={themes:{dark:`dark-plus`,light:`light-plus`},defaultColor:!1};async function p(e,t){let n=l(t);if(n===`text`)return null;let r=await c(),i=await u(r,n);return i===`text`?null:d(r,e,{lang:i,...f})}export{p as highlightCode,l as resolveLanguage};
1
+ import{n as e,r as t,t as n}from"./engine-compile-CJhJiwYv.js";import{n as r}from"./index-BfFaZKNv.js";var i=t({langs:e,themes:{"dark-plus":()=>r(()=>import(`./dark-plus-Cs2F2srj.js`),[]),"light-plus":()=>r(()=>import(`./light-plus-DVQuIRkW.js`),[])},engine:()=>n()}),a=null,o=new Map,s={golang:`go`,objectivec:`objective-c`,"objective-c++":`objective-cpp`,plaintext:`text`,vuejs:`vue`};function c(){return a||=i({themes:[`dark-plus`,`light-plus`],langs:[]}),a}c();function l(t){let n=String(t||``).trim().toLowerCase();if(!n)return`text`;let r=s[n]||n;return Object.hasOwn(e,r)?r:`text`}function u(e,t){if(e.getLoadedLanguages().includes(t))return Promise.resolve(t);if(!o.has(t))try{o.set(t,Promise.resolve(e.loadLanguage(t)).then(()=>t).catch(()=>(o.delete(t),`text`)))}catch{return Promise.resolve(`text`)}return o.get(t)??Promise.resolve(`text`)}function d(e,t,n){try{return e.codeToHtml(t,n)}catch{return null}}var f={themes:{dark:`dark-plus`,light:`light-plus`},defaultColor:!1};async function p(e,t){let n=l(t);if(n===`text`)return null;let r=await c(),i=await u(r,n);return i===`text`?null:d(r,e,{lang:i,...f})}export{p as highlightCode,l as resolveLanguage};