@aquera/nile-elements 0.0.124 → 0.0.126

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 (202) hide show
  1. package/README.md +6 -0
  2. package/dist/abap-1e9762d1.esm.js +1 -0
  3. package/dist/abap-3b3fe406.cjs.js +2 -0
  4. package/dist/abap-3b3fe406.cjs.js.map +1 -0
  5. package/dist/{angular-ts-a70761c6.cjs.js → angular-ts-32bbcd01.cjs.js} +2 -2
  6. package/dist/{angular-ts-a70761c6.cjs.js.map → angular-ts-32bbcd01.cjs.js.map} +1 -1
  7. package/dist/catppuccin-frappe-c0734345.esm.js +1 -0
  8. package/dist/catppuccin-frappe-eb77e95d.cjs.js +2 -0
  9. package/dist/catppuccin-frappe-eb77e95d.cjs.js.map +1 -0
  10. package/dist/catppuccin-latte-471f76fc.cjs.js +2 -0
  11. package/dist/catppuccin-latte-471f76fc.cjs.js.map +1 -0
  12. package/dist/catppuccin-latte-d798493f.esm.js +1 -0
  13. package/dist/catppuccin-macchiato-7ac78e7e.cjs.js +2 -0
  14. package/dist/catppuccin-macchiato-7ac78e7e.cjs.js.map +1 -0
  15. package/dist/catppuccin-macchiato-d78b2ec2.esm.js +1 -0
  16. package/dist/catppuccin-mocha-3b00f8d6.cjs.js +2 -0
  17. package/dist/catppuccin-mocha-3b00f8d6.cjs.js.map +1 -0
  18. package/dist/catppuccin-mocha-6a189a57.esm.js +1 -0
  19. package/dist/cobol-4ed2b235.esm.js +1 -0
  20. package/dist/cobol-c428fca2.cjs.js +2 -0
  21. package/dist/cobol-c428fca2.cjs.js.map +1 -0
  22. package/dist/{cpp-8812199e.cjs.js → cpp-c2442fe2.cjs.js} +2 -2
  23. package/dist/{cpp-8812199e.cjs.js.map → cpp-c2442fe2.cjs.js.map} +1 -1
  24. package/dist/{crystal-5458e62a.cjs.js → crystal-1913e34d.cjs.js} +2 -2
  25. package/dist/{crystal-5458e62a.cjs.js.map → crystal-1913e34d.cjs.js.map} +1 -1
  26. package/dist/{edge-cb04b11b.cjs.js → edge-ef9e682b.cjs.js} +2 -2
  27. package/dist/{edge-cb04b11b.cjs.js.map → edge-ef9e682b.cjs.js.map} +1 -1
  28. package/dist/{elm-53a0b5b4.cjs.js → elm-7fd07d47.cjs.js} +2 -2
  29. package/dist/{elm-53a0b5b4.cjs.js.map → elm-7fd07d47.cjs.js.map} +1 -1
  30. package/dist/{erb-1bc4721c.cjs.js → erb-c813c1f2.cjs.js} +2 -2
  31. package/dist/{erb-1bc4721c.cjs.js.map → erb-c813c1f2.cjs.js.map} +1 -1
  32. package/dist/{fortran-fixed-form-00a9d08f.cjs.js → fortran-fixed-form-c39bf051.cjs.js} +2 -2
  33. package/dist/{fortran-fixed-form-00a9d08f.cjs.js.map → fortran-fixed-form-c39bf051.cjs.js.map} +1 -1
  34. package/dist/{fsharp-661f4f18.cjs.js → fsharp-ba007c9c.cjs.js} +2 -2
  35. package/dist/{fsharp-661f4f18.cjs.js.map → fsharp-ba007c9c.cjs.js.map} +1 -1
  36. package/dist/{gdresource-8fb6a6ad.cjs.js → gdresource-f3068367.cjs.js} +2 -2
  37. package/dist/{gdresource-8fb6a6ad.cjs.js.map → gdresource-f3068367.cjs.js.map} +1 -1
  38. package/dist/{git-commit-9373b48b.cjs.js → git-commit-372b638c.cjs.js} +2 -2
  39. package/dist/{git-commit-9373b48b.cjs.js.map → git-commit-372b638c.cjs.js.map} +1 -1
  40. package/dist/{git-rebase-c3fa2bb9.cjs.js → git-rebase-2cc6f2a3.cjs.js} +2 -2
  41. package/dist/{git-rebase-c3fa2bb9.cjs.js.map → git-rebase-2cc6f2a3.cjs.js.map} +1 -1
  42. package/dist/go-4c55ae2b.esm.js +1 -0
  43. package/dist/go-9bee484b.cjs.js +2 -0
  44. package/dist/go-9bee484b.cjs.js.map +1 -0
  45. package/dist/{graphql-1541cb3c.cjs.js → graphql-74f146e1.cjs.js} +2 -2
  46. package/dist/{graphql-1541cb3c.cjs.js.map → graphql-74f146e1.cjs.js.map} +1 -1
  47. package/dist/{handlebars-39ab86cd.cjs.js → handlebars-864fcb12.cjs.js} +2 -2
  48. package/dist/{handlebars-39ab86cd.cjs.js.map → handlebars-864fcb12.cjs.js.map} +1 -1
  49. package/dist/{http-1cf9a3de.cjs.js → http-08501497.cjs.js} +2 -2
  50. package/dist/{http-1cf9a3de.cjs.js.map → http-08501497.cjs.js.map} +1 -1
  51. package/dist/{hxml-6d54d760.cjs.js → hxml-bbac80e4.cjs.js} +2 -2
  52. package/dist/{hxml-6d54d760.cjs.js.map → hxml-bbac80e4.cjs.js.map} +1 -1
  53. package/dist/hy-431f15f8.cjs.js +2 -0
  54. package/dist/hy-431f15f8.cjs.js.map +1 -0
  55. package/dist/hy-5e43d6c1.esm.js +1 -0
  56. package/dist/index.cjs.js +1 -1
  57. package/dist/index.esm.js +1 -1
  58. package/dist/{julia-0152d8b9.cjs.js → julia-689ac552.cjs.js} +2 -2
  59. package/dist/{julia-0152d8b9.cjs.js.map → julia-689ac552.cjs.js.map} +1 -1
  60. package/dist/{latex-33ebd2ce.cjs.js → latex-4d76e817.cjs.js} +2 -2
  61. package/dist/{latex-33ebd2ce.cjs.js.map → latex-4d76e817.cjs.js.map} +1 -1
  62. package/dist/luau-0b166b7a.cjs.js +2 -0
  63. package/dist/luau-0b166b7a.cjs.js.map +1 -0
  64. package/dist/luau-7d7eaa97.esm.js +1 -0
  65. package/dist/{marko-23ca6223.cjs.js → marko-2880d4ee.cjs.js} +2 -2
  66. package/dist/{marko-23ca6223.cjs.js.map → marko-2880d4ee.cjs.js.map} +1 -1
  67. package/dist/mdc-13285ad6.esm.js +1 -0
  68. package/dist/mdc-a3fe82c5.cjs.js +2 -0
  69. package/dist/mdc-a3fe82c5.cjs.js.map +1 -0
  70. package/dist/{mdx-01dab0d1.cjs.js → mdx-a859ee84.cjs.js} +2 -2
  71. package/dist/{mdx-01dab0d1.cjs.js.map → mdx-a859ee84.cjs.js.map} +1 -1
  72. package/dist/{mdx-0782bcd8.esm.js → mdx-bf2a8fe9.esm.js} +1 -1
  73. package/dist/nextflow-35e5a63d.esm.js +1 -0
  74. package/dist/nextflow-c666e91b.cjs.js +2 -0
  75. package/dist/nextflow-c666e91b.cjs.js.map +1 -0
  76. package/dist/{nginx-1aabec59.cjs.js → nginx-7bc0fc82.cjs.js} +2 -2
  77. package/dist/{nginx-1aabec59.cjs.js.map → nginx-7bc0fc82.cjs.js.map} +1 -1
  78. package/dist/nile-code-editor/extensionSetup.cjs.js +1 -1
  79. package/dist/nile-code-editor/extensionSetup.cjs.js.map +1 -1
  80. package/dist/nile-code-editor/extensionSetup.esm.js +1 -1
  81. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  82. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  83. package/dist/nile-code-editor/nile-code-editor.esm.js +2 -2
  84. package/dist/nile-highlighter/nile-highlighter.cjs.js +1 -1
  85. package/dist/nile-highlighter/nile-highlighter.cjs.js.map +1 -1
  86. package/dist/nile-highlighter/nile-highlighter.esm.js +1 -1
  87. package/dist/nile-tour/index.cjs.js +2 -0
  88. package/dist/nile-tour/index.cjs.js.map +1 -0
  89. package/dist/nile-tour/index.esm.js +1 -0
  90. package/dist/nile-tour/nile-tour.cjs.js +10 -0
  91. package/dist/nile-tour/nile-tour.cjs.js.map +1 -0
  92. package/dist/nile-tour/nile-tour.css.cjs.js +2 -0
  93. package/dist/nile-tour/nile-tour.css.cjs.js.map +1 -0
  94. package/dist/nile-tour/nile-tour.css.esm.js +93 -0
  95. package/dist/nile-tour/nile-tour.esm.js +15 -0
  96. package/dist/{nim-55b3acf7.cjs.js → nim-1cf0460c.cjs.js} +2 -2
  97. package/dist/{nim-55b3acf7.cjs.js.map → nim-1cf0460c.cjs.js.map} +1 -1
  98. package/dist/one-dark-pro-9477257e.cjs.js +2 -0
  99. package/dist/one-dark-pro-9477257e.cjs.js.map +1 -0
  100. package/dist/one-dark-pro-deb4f5e9.esm.js +1 -0
  101. package/dist/{razor-57f13c4a.cjs.js → razor-0acc551a.cjs.js} +2 -2
  102. package/dist/{razor-57f13c4a.cjs.js.map → razor-0acc551a.cjs.js.map} +1 -1
  103. package/dist/{rst-4226018b.cjs.js → rst-6b792481.cjs.js} +2 -2
  104. package/dist/{rst-4226018b.cjs.js.map → rst-6b792481.cjs.js.map} +1 -1
  105. package/dist/{ruby-4306ddd1.cjs.js → ruby-578b1ee6.cjs.js} +2 -2
  106. package/dist/{ruby-4306ddd1.cjs.js.map → ruby-578b1ee6.cjs.js.map} +1 -1
  107. package/dist/{shaderlab-2234cd06.cjs.js → shaderlab-606f022b.cjs.js} +2 -2
  108. package/dist/{shaderlab-2234cd06.cjs.js.map → shaderlab-606f022b.cjs.js.map} +1 -1
  109. package/dist/{shellsession-cd95727e.cjs.js → shellsession-cb0df007.cjs.js} +2 -2
  110. package/dist/{shellsession-cd95727e.cjs.js.map → shellsession-cb0df007.cjs.js.map} +1 -1
  111. package/dist/{sparql-197a828d.cjs.js → sparql-589e0308.cjs.js} +2 -2
  112. package/dist/{sparql-197a828d.cjs.js.map → sparql-589e0308.cjs.js.map} +1 -1
  113. package/dist/src/index.d.ts +1 -0
  114. package/dist/src/index.js +1 -0
  115. package/dist/src/index.js.map +1 -1
  116. package/dist/src/nile-code-editor/extensionSetup.js +1 -2
  117. package/dist/src/nile-code-editor/extensionSetup.js.map +1 -1
  118. package/dist/src/nile-code-editor/nile-code-editor.d.ts +7 -1
  119. package/dist/src/nile-code-editor/nile-code-editor.js +85 -5
  120. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  121. package/dist/src/nile-tour/index.d.ts +1 -0
  122. package/dist/src/nile-tour/index.js +2 -0
  123. package/dist/src/nile-tour/index.js.map +1 -0
  124. package/dist/src/nile-tour/nile-tour.css.d.ts +12 -0
  125. package/dist/src/nile-tour/nile-tour.css.js +105 -0
  126. package/dist/src/nile-tour/nile-tour.css.js.map +1 -0
  127. package/dist/src/nile-tour/nile-tour.d.ts +47 -0
  128. package/dist/src/nile-tour/nile-tour.js +96 -0
  129. package/dist/src/nile-tour/nile-tour.js.map +1 -0
  130. package/dist/{svelte-5a90df12.cjs.js → svelte-2ae868b6.cjs.js} +2 -2
  131. package/dist/{svelte-5a90df12.cjs.js.map → svelte-2ae868b6.cjs.js.map} +1 -1
  132. package/dist/{svelte-cb8564e6.esm.js → svelte-ac03a3ac.esm.js} +1 -1
  133. package/dist/{system-verilog-c1c6377f.esm.js → system-verilog-2d49210f.esm.js} +1 -1
  134. package/dist/{system-verilog-b3e652eb.cjs.js → system-verilog-7d2d7268.cjs.js} +2 -2
  135. package/dist/{system-verilog-b3e652eb.cjs.js.map → system-verilog-7d2d7268.cjs.js.map} +1 -1
  136. package/dist/{templ-4425132d.cjs.js → templ-2a2d64b7.cjs.js} +2 -2
  137. package/dist/{templ-4425132d.cjs.js.map → templ-2a2d64b7.cjs.js.map} +1 -1
  138. package/dist/{templ-13492ead.esm.js → templ-f2d0dadd.esm.js} +1 -1
  139. package/dist/{tex-d609b400.cjs.js → tex-8addc455.cjs.js} +2 -2
  140. package/dist/{tex-d609b400.cjs.js.map → tex-8addc455.cjs.js.map} +1 -1
  141. package/dist/{ts-tags-ba7eb9e3.cjs.js → ts-tags-e56ee3ee.cjs.js} +2 -2
  142. package/dist/{ts-tags-ba7eb9e3.cjs.js.map → ts-tags-e56ee3ee.cjs.js.map} +1 -1
  143. package/dist/tsconfig.tsbuildinfo +1 -1
  144. package/dist/{twig-e9bb57f2.cjs.js → twig-911808dc.cjs.js} +2 -2
  145. package/dist/{twig-e9bb57f2.cjs.js.map → twig-911808dc.cjs.js.map} +1 -1
  146. package/dist/{vue-16d91bfa.cjs.js → vue-9b06428b.cjs.js} +2 -2
  147. package/dist/{vue-16d91bfa.cjs.js.map → vue-9b06428b.cjs.js.map} +1 -1
  148. package/dist/{vue-html-432cdd7f.cjs.js → vue-html-ca1dd5bf.cjs.js} +2 -2
  149. package/dist/{vue-html-432cdd7f.cjs.js.map → vue-html-ca1dd5bf.cjs.js.map} +1 -1
  150. package/dist/wikitext-b9a7e67b.cjs.js +2 -0
  151. package/dist/wikitext-b9a7e67b.cjs.js.map +1 -0
  152. package/dist/wikitext-c06489b3.esm.js +1 -0
  153. package/package.json +5 -3
  154. package/src/index.ts +2 -1
  155. package/src/nile-code-editor/extensionSetup.ts +0 -2
  156. package/src/nile-code-editor/nile-code-editor.ts +88 -8
  157. package/src/nile-tour/index.ts +1 -0
  158. package/src/nile-tour/nile-tour.css.ts +107 -0
  159. package/src/nile-tour/nile-tour.ts +119 -0
  160. package/vscode-html-custom-data.json +17 -2
  161. package/dist/abap-511af2a5.cjs.js +0 -2
  162. package/dist/abap-511af2a5.cjs.js.map +0 -1
  163. package/dist/abap-f2ab40d0.esm.js +0 -1
  164. package/dist/cairo-014ad724.cjs.js +0 -2
  165. package/dist/cairo-014ad724.cjs.js.map +0 -1
  166. package/dist/cairo-9be40999.esm.js +0 -1
  167. package/dist/catppuccin-frappe-52a52bb1.cjs.js +0 -2
  168. package/dist/catppuccin-frappe-52a52bb1.cjs.js.map +0 -1
  169. package/dist/catppuccin-frappe-dbc3161e.esm.js +0 -1
  170. package/dist/catppuccin-latte-d8a0f6a8.cjs.js +0 -2
  171. package/dist/catppuccin-latte-d8a0f6a8.cjs.js.map +0 -1
  172. package/dist/catppuccin-latte-e7591143.esm.js +0 -1
  173. package/dist/catppuccin-macchiato-19a7795e.cjs.js +0 -2
  174. package/dist/catppuccin-macchiato-19a7795e.cjs.js.map +0 -1
  175. package/dist/catppuccin-macchiato-283b424a.esm.js +0 -1
  176. package/dist/catppuccin-mocha-165e830c.esm.js +0 -1
  177. package/dist/catppuccin-mocha-9f9ec5f6.cjs.js +0 -2
  178. package/dist/catppuccin-mocha-9f9ec5f6.cjs.js.map +0 -1
  179. package/dist/cobol-8517cfc1.esm.js +0 -1
  180. package/dist/cobol-922d57ed.cjs.js +0 -2
  181. package/dist/cobol-922d57ed.cjs.js.map +0 -1
  182. package/dist/go-85139440.esm.js +0 -1
  183. package/dist/go-d5ed1b82.cjs.js +0 -2
  184. package/dist/go-d5ed1b82.cjs.js.map +0 -1
  185. package/dist/hy-33aa9c6f.cjs.js +0 -2
  186. package/dist/hy-33aa9c6f.cjs.js.map +0 -1
  187. package/dist/hy-a7a6e9c3.esm.js +0 -1
  188. package/dist/luau-19444703.cjs.js +0 -2
  189. package/dist/luau-19444703.cjs.js.map +0 -1
  190. package/dist/luau-b564b070.esm.js +0 -1
  191. package/dist/mdc-05d87356.esm.js +0 -1
  192. package/dist/mdc-56aefda2.cjs.js +0 -2
  193. package/dist/mdc-56aefda2.cjs.js.map +0 -1
  194. package/dist/nextflow-11e4899f.esm.js +0 -1
  195. package/dist/nextflow-2a4bf0cc.cjs.js +0 -2
  196. package/dist/nextflow-2a4bf0cc.cjs.js.map +0 -1
  197. package/dist/one-dark-pro-3bcc58f7.cjs.js +0 -2
  198. package/dist/one-dark-pro-3bcc58f7.cjs.js.map +0 -1
  199. package/dist/one-dark-pro-4fce25f8.esm.js +0 -1
  200. package/dist/wikitext-2748811a.cjs.js +0 -2
  201. package/dist/wikitext-2748811a.cjs.js.map +0 -1
  202. package/dist/wikitext-c9071578.esm.js +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"nginx-1aabec59.cjs.js","sources":["../../../node_modules/shiki/dist/langs/nginx.mjs"],"sourcesContent":["import lua from './lua.mjs'\n\nconst lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"Nginx\\\",\\\"fileTypes\\\":[\\\"conf.erb\\\",\\\"conf\\\",\\\"ngx\\\",\\\"nginx.conf\\\",\\\"mime.types\\\",\\\"fastcgi_params\\\",\\\"scgi_params\\\",\\\"uwsgi_params\\\"],\\\"foldingStartMarker\\\":\\\"\\\\\\\\{\\\\\\\\s*$\\\",\\\"foldingStopMarker\\\":\\\"^\\\\\\\\s*\\\\\\\\}\\\",\\\"name\\\":\\\"nginx\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\#.*\\\",\\\"name\\\":\\\"comment.line.number-sign\\\"},{\\\"begin\\\":\\\"\\\\\\\\b((?:content|rewrite|access|init_worker|init|set|log|balancer|ssl_(?:client_hello|session_fetch|certificate))_by_lua(?:_block)?)\\\\\\\\s*\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"contentName\\\":\\\"meta.embedded.block.lua\\\",\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.lua.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.lua\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b((?:content|rewrite|access|init_worker|init|set|log|balancer|ssl_(?:client_hello|session_fetch|certificate))_by_lua)\\\\\\\\s*'\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"contentName\\\":\\\"meta.embedded.block.lua\\\",\\\"end\\\":\\\"'\\\",\\\"name\\\":\\\"meta.context.lua.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.lua\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(events) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.events.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(http) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.http.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(mail) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.mail.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(stream) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.stream.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(server) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.server.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(location) +([\\\\\\\\^]?~[\\\\\\\\*]?|=) +(.*?)\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.operator.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"string.regexp.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.location.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(location) +(.*?)\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.context.location.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.location.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(limit_except) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.limit_except.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(if) +\\\\\\\\(\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\)\\\",\\\"name\\\":\\\"meta.context.if.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#if_condition\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(upstream) +(.*?)\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.context.location.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.upstream.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(types) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.types.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(map) +(\\\\\\\\$)([A-Za-z0-9_]+) +(\\\\\\\\$)([A-Za-z0-9_]+) *\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"variable.parameter.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"5\\\":{\\\"name\\\":\\\"variable.other.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.map.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"},{\\\"match\\\":\\\";\\\",\\\"name\\\":\\\"punctuation.terminator.nginx\\\"},{\\\"match\\\":\\\"\\\\\\\\#.*\\\",\\\"name\\\":\\\"comment.line.number-sign\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\{\\\",\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.block.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(return)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(rewrite)\\\\\\\\s+\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\"(last|break|redirect|permanent)?(;)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.other.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(server)\\\\\\\\s+\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#server_parameters\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(internal|empty_gif|f4f|flv|hls|mp4|break|status|stub_status|ip_hash|ntlm|least_conn|upstream_conf|least_conn|zone_sync)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\"(;|$)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}}},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(accept_)(mutex|mutex_delay)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(debug_)(connection|points)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(error_)(log|page)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(ssl_)(engine|buffer_size|certificate|certificate_key|ciphers|client_certificate|conf_command|crl|dhparam|early_data|ecdh_curve|ocsp|ocsp_cache|ocsp_responder|password_file|prefer_server_ciphers|protocols|reject_handshake|session_cache|session_ticket_key|session_tickets|session_timeout|stapling|stapling_file|stapling_responder|stapling_verify|trusted_certificate|verify_client|verify_depth|alpn|handshake_timeout|preread)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(worker_)(aio_requests|connections|cpu_affinity|priority|processes|rlimit_core|rlimit_nofile|shutdown_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(auth_)(delay|basic|basic_user_file|jwt|jwt_claim_set|jwt_header_set|jwt_key_cache|jwt_key_file|jwt_key_request|jwt_leeway|jwt_type|jwt_require|request|request_set|http|http_header|http_pass_client_cert|http_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(client_)(body_buffer_size|body_in_file_only|body_in_single_buffer|body_temp_path|body_timeout|header_buffer_size|header_timeout|max_body_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(keepalive_)(disable|requests|time|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(limit_)(rate|rate_after|conn|conn_dry_run|conn_log_level|conn_status|conn_zone|zone|req|req_dry_run|req_log_level|req_status|req_zone)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(lingering_)(close|time|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(log_)(not_found|subrequest|format)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(max_)(ranges|errors)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(msie_)(padding|refresh)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(open_)(file_cache|file_cache_errors|file_cache_min_uses|file_cache_valid|log_file_cache)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(send_)(lowat|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(server_)(name|name_in_redirect|names_hash_bucket_size|names_hash_max_size|tokens)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(tcp_)(nodelay|nopush)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(types_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(variables_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(add_)(before_body|after_body|header|trailer)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(status_)(zone|format)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(autoindex_)(exact_size|format|localtime)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(ancient_)(browser|browser_value)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(modern_)(browser|browser_value)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(charset_)(map|types)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(dav_)(access|methods)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(fastcgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|catch_stderr|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|index|intercept_errors|keep_conn|limit_rate|max_temp_file_size|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_lowat|send_timeout|socket_keepalive|split_path_info|store|store_access|temp_file_write_size|temp_path)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(geoip_)(country|city|org|proxy|proxy_recursive)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(grpc_)(bind|buffer_size|connect_timeout|hide_header|ignore_headers|intercept_errors|next_upstream|next_upstream_timeout|next_upstream_tries|pass|pass_header|read_timeout|send_timeout|set_header|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(gzip_)(buffers|comp_level|disable|http_version|min_length|proxied|types|vary|static)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(hls_)(buffers|forward_args|fragment|mp4_buffer_size|mp4_max_buffer_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(image_)(filter|filter_buffer|filter_interlace|filter_jpeg_quality|filter_sharpen|filter_transparency|filter_webp_quality)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(map_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(memcached_)(bind|buffer_size|connect_timeout|gzip_flag|next_upstream|next_upstream_timeout|next_upstream_tries|pass|read_timeout|send_timeout|socket_keepalive)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(mp4_)(buffer_size|max_buffer_size|limit_rate|limit_rate_after|start_key_frame)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(perl_)(modules|require|set)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(proxy_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_convert_head|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|cookie_domain|cookie_flags|cookie_path|force_ranges|headers_hash_bucket_size|headers_hash_max_size|hide_header|http_version|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|method|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|redirect|request_buffering|send_lowat|send_timeout|set_body|set_header|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path|buffer|pass_error_message|protocol|smtp_auth|timeout|protocol_timeout|download_rate|half_close|requests|responses|session_drop|ssl|upload_rate)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(real_)(ip_header|ip_recursive)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(referer_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(scgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|store|store_access|temp_file_write_size|temp_path)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(secure_)(link|link_md5|link_secret)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(session_)(log|log_format|log_zone)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(ssi_)(last_modified|min_file_chunk|silent_errors|types|value_length)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(sub_)(filter|filter_last_modified|filter_once|filter_types)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(health_)(check|check_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(userid_)(domain|expires|flags|mark|name|p3p|path|service)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(uwsgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|modifier1|modifier2|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(http2_)(body_preread_size|chunk_size|idle_timeout|max_concurrent_pushes|max_concurrent_streams|max_field_size|max_header_size|max_requests|push|push_preload|recv_buffer_size|recv_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(http3_)(hq|max_concurrent_streams|stream_buffer_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(quic_)(active_connection_id_limit|bpf|gso|host_key|retry)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(xslt_)(last_modified|param|string_param|stylesheet|types)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(imap_)(auth|capabilities|client_buffer)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(pop3_)(auth|capabilities)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(smtp_)(auth|capabilities|client_buffer|greeting_delay)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(preread_)(buffer_size|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(mqtt_)(preread|buffers|rewrite_buffer_size|set_connect)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(zone_)(sync_buffers|sync_connect_retry_interval|sync_connect_timeout|sync_interval|sync_recv_buffer_size|sync_server|sync_ssl|sync_ssl_certificate|sync_ssl_certificate_key|sync_ssl_ciphers|sync_ssl_conf_command|sync_ssl_crl|sync_ssl_name|sync_ssl_password_file|sync_ssl_protocols|sync_ssl_server_name|sync_ssl_trusted_certificate|sync_ssl_verify|sync_ssl_verify_depth|sync_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(otel_)(exporter|service_name|trace|trace_context|span_name|span_attr)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(js_)(body_filter|content|fetch_buffer_size|fetch_ciphers|fetch_max_response_buffer_size|fetch_protocols|fetch_timeout|fetch_trusted_certificate|fetch_verify|fetch_verify_depth|header_filter|import|include|path|periodic|preload_object|set|shared_dict_zone|var|access|filter|preread)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(daemon|env|include|pid|use|user|aio|alias|directio|etag|listen|resolver|root|satisfy|sendfile|allow|deny|api|autoindex|charset|geo|gunzip|gzip|expires|index|keyval|mirror|perl|set|slice|ssi|ssl|zone|state|hash|keepalive|queue|random|sticky|match|userid|http2|http3|protocol|timeout|xclient|starttls|mqtt|load_module|lock_file|master_process|multi_accept|pcre_jit|thread_pool|timer_resolution|working_directory|absolute_redirect|aio_write|chunked_transfer_encoding|connection_pool_size|default_type|directio_alignment|disable_symlinks|if_modified_since|ignore_invalid_headers|large_client_header_buffers|merge_slashes|output_buffers|port_in_redirect|postpone_output|read_ahead|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver_timeout|sendfile_max_chunk|subrequest_output_buffer_size|try_files|underscores_in_headers|addition_types|override_charset|source_charset|create_full_put_path|min_delete_depth|f4f_buffer_size|gunzip_buffers|internal_redirect|keyval_zone|access_log|mirror_request_body|random_index|set_real_ip_from|valid_referers|rewrite_log|uninitialized_variable_warn|split_clients|least_time|sticky_cookie_insert|xml_entities|google_perftools_profiles)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(\\\\\\\\w+)\\\\\\\\s+\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.unknown.nginx\\\"}},\\\"end\\\":\\\"(;|$)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b([a-z]+\\\\\\\\/[A-Za-z0-9\\\\\\\\-\\\\\\\\.+]+)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.mediatype.nginx\\\"}},\\\"end\\\":\\\"(;)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]}],\\\"repository\\\":{\\\"if_condition\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#variables\\\"},{\\\"match\\\":\\\"!?\\\\\\\\~\\\\\\\\*?\\\\\\\\s\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"match\\\":\\\"!?-[fdex]\\\\\\\\s\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"match\\\":\\\"!?=[^=]\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"include\\\":\\\"#regexp_and_string\\\"}]},\\\"regexp_and_string\\\":{\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\^.*?\\\\\\\\$\\\",\\\"name\\\":\\\"string.regexp.nginx\\\"},{\\\"begin\\\":\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\"\\\",\\\"name\\\":\\\"string.quoted.double.nginx\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\[\\\\\\\"'nt\\\\\\\\\\\\\\\\]\\\",\\\"name\\\":\\\"constant.character.escape.nginx\\\"},{\\\"include\\\":\\\"#variables\\\"}]},{\\\"begin\\\":\\\"'\\\",\\\"end\\\":\\\"'\\\",\\\"name\\\":\\\"string.quoted.single.nginx\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\[\\\\\\\"'nt\\\\\\\\\\\\\\\\]\\\",\\\"name\\\":\\\"constant.character.escape.nginx\\\"},{\\\"include\\\":\\\"#variables\\\"}]}]},\\\"server_parameters\\\":{\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"variable.parameter.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.operator.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"constant.numeric.nginx\\\"}},\\\"match\\\":\\\"(?:^|\\\\\\\\s)(weight|max_conn|max_fails|fail_timeout|slow_start)(=)(\\\\\\\\d[\\\\\\\\d\\\\\\\\.]*[bBkKmMgGtTsShHdD]?)(?:\\\\\\\\s|;|$)\\\"},{\\\"include\\\":\\\"#values\\\"}]},\\\"values\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#variables\\\"},{\\\"match\\\":\\\"\\\\\\\\#.*\\\",\\\"name\\\":\\\"comment.line.number-sign\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.numeric.nginx\\\"}},\\\"match\\\":\\\"(?<=\\\\\\\\G|\\\\\\\\s)(=?\\\\\\\\d[0-9\\\\\\\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\\\\\\\t ;])\\\"},{\\\"match\\\":\\\"(?<=\\\\\\\\G|\\\\\\\\s)(on|off|true|false)(?=[\\\\\\\\t ;])\\\",\\\"name\\\":\\\"constant.language.nginx\\\"},{\\\"match\\\":\\\"(?<=\\\\\\\\G|\\\\\\\\s)(kqueue|rtsig|epoll|\\\\\\\\/dev\\\\\\\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\\\\\\\t ;])\\\",\\\"name\\\":\\\"constant.language.nginx\\\"},{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\.* |\\\\\\\\~\\\\\\\\*|\\\\\\\\~|!\\\\\\\\~\\\\\\\\*|!\\\\\\\\~\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"include\\\":\\\"#regexp_and_string\\\"}]},\\\"variables\\\":{\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"variable.other.nginx\\\"}},\\\"match\\\":\\\"(\\\\\\\\$)([A-Za-z0-9_]+)\\\\\\\\b\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"variable.other.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"}},\\\"match\\\":\\\"(\\\\\\\\$\\\\\\\\{)([A-Za-z0-9_]+)(\\\\\\\\})\\\"}]}},\\\"scopeName\\\":\\\"source.nginx\\\",\\\"embeddedLangs\\\":[\\\"lua\\\"]}\"))\n\nexport default [\n...lua,\nlang\n]\n"],"names":["nginx","concat","_toConsumableArray","lua","Object","freeze","JSON","parse"],"mappings":"ozCAIeA,CAAA,IAAAC,MAAA,CAAAC,kBAAA,CACZC,IAHUC,MAAOC,CAAAA,MAAAA,CAAOC,IAAKC,CAAAA,KAAAA,CAAM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"nginx-7bc0fc82.cjs.js","sources":["../../../node_modules/shiki/dist/langs/nginx.mjs"],"sourcesContent":["import lua from './lua.mjs'\n\nconst lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"Nginx\\\",\\\"fileTypes\\\":[\\\"conf.erb\\\",\\\"conf\\\",\\\"ngx\\\",\\\"nginx.conf\\\",\\\"mime.types\\\",\\\"fastcgi_params\\\",\\\"scgi_params\\\",\\\"uwsgi_params\\\"],\\\"foldingStartMarker\\\":\\\"\\\\\\\\{\\\\\\\\s*$\\\",\\\"foldingStopMarker\\\":\\\"^\\\\\\\\s*\\\\\\\\}\\\",\\\"name\\\":\\\"nginx\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\#.*\\\",\\\"name\\\":\\\"comment.line.number-sign\\\"},{\\\"begin\\\":\\\"\\\\\\\\b((?:content|rewrite|access|init_worker|init|set|log|balancer|ssl_(?:client_hello|session_fetch|certificate))_by_lua(?:_block)?)\\\\\\\\s*\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"contentName\\\":\\\"meta.embedded.block.lua\\\",\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.lua.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.lua\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b((?:content|rewrite|access|init_worker|init|set|log|balancer|ssl_(?:client_hello|session_fetch|certificate))_by_lua)\\\\\\\\s*'\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"contentName\\\":\\\"meta.embedded.block.lua\\\",\\\"end\\\":\\\"'\\\",\\\"name\\\":\\\"meta.context.lua.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.lua\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(events) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.events.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(http) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.http.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(mail) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.mail.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(stream) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.stream.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(server) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.server.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(location) +([\\\\\\\\^]?~[\\\\\\\\*]?|=) +(.*?)\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.operator.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"string.regexp.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.location.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(location) +(.*?)\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.context.location.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.location.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(limit_except) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.limit_except.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(if) +\\\\\\\\(\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\)\\\",\\\"name\\\":\\\"meta.context.if.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#if_condition\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(upstream) +(.*?)\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.context.location.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.upstream.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(types) +\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.types.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(map) +(\\\\\\\\$)([A-Za-z0-9_]+) +(\\\\\\\\$)([A-Za-z0-9_]+) *\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"storage.type.directive.context.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"variable.parameter.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"5\\\":{\\\"name\\\":\\\"variable.other.nginx\\\"}},\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.context.map.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"},{\\\"match\\\":\\\";\\\",\\\"name\\\":\\\"punctuation.terminator.nginx\\\"},{\\\"match\\\":\\\"\\\\\\\\#.*\\\",\\\"name\\\":\\\"comment.line.number-sign\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\{\\\",\\\"end\\\":\\\"\\\\\\\\}\\\",\\\"name\\\":\\\"meta.block.nginx\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(return)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(rewrite)\\\\\\\\s+\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\"(last|break|redirect|permanent)?(;)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.other.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(server)\\\\\\\\s+\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#server_parameters\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(internal|empty_gif|f4f|flv|hls|mp4|break|status|stub_status|ip_hash|ntlm|least_conn|upstream_conf|least_conn|zone_sync)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\"(;|$)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}}},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(accept_)(mutex|mutex_delay)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(debug_)(connection|points)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(error_)(log|page)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(ssl_)(engine|buffer_size|certificate|certificate_key|ciphers|client_certificate|conf_command|crl|dhparam|early_data|ecdh_curve|ocsp|ocsp_cache|ocsp_responder|password_file|prefer_server_ciphers|protocols|reject_handshake|session_cache|session_ticket_key|session_tickets|session_timeout|stapling|stapling_file|stapling_responder|stapling_verify|trusted_certificate|verify_client|verify_depth|alpn|handshake_timeout|preread)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(worker_)(aio_requests|connections|cpu_affinity|priority|processes|rlimit_core|rlimit_nofile|shutdown_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(auth_)(delay|basic|basic_user_file|jwt|jwt_claim_set|jwt_header_set|jwt_key_cache|jwt_key_file|jwt_key_request|jwt_leeway|jwt_type|jwt_require|request|request_set|http|http_header|http_pass_client_cert|http_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(client_)(body_buffer_size|body_in_file_only|body_in_single_buffer|body_temp_path|body_timeout|header_buffer_size|header_timeout|max_body_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(keepalive_)(disable|requests|time|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(limit_)(rate|rate_after|conn|conn_dry_run|conn_log_level|conn_status|conn_zone|zone|req|req_dry_run|req_log_level|req_status|req_zone)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(lingering_)(close|time|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(log_)(not_found|subrequest|format)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(max_)(ranges|errors)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(msie_)(padding|refresh)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(open_)(file_cache|file_cache_errors|file_cache_min_uses|file_cache_valid|log_file_cache)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(send_)(lowat|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(server_)(name|name_in_redirect|names_hash_bucket_size|names_hash_max_size|tokens)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(tcp_)(nodelay|nopush)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(types_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(variables_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(add_)(before_body|after_body|header|trailer)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(status_)(zone|format)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(autoindex_)(exact_size|format|localtime)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(ancient_)(browser|browser_value)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(modern_)(browser|browser_value)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(charset_)(map|types)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(dav_)(access|methods)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(fastcgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|catch_stderr|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|index|intercept_errors|keep_conn|limit_rate|max_temp_file_size|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_lowat|send_timeout|socket_keepalive|split_path_info|store|store_access|temp_file_write_size|temp_path)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(geoip_)(country|city|org|proxy|proxy_recursive)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(grpc_)(bind|buffer_size|connect_timeout|hide_header|ignore_headers|intercept_errors|next_upstream|next_upstream_timeout|next_upstream_tries|pass|pass_header|read_timeout|send_timeout|set_header|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(gzip_)(buffers|comp_level|disable|http_version|min_length|proxied|types|vary|static)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(hls_)(buffers|forward_args|fragment|mp4_buffer_size|mp4_max_buffer_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(image_)(filter|filter_buffer|filter_interlace|filter_jpeg_quality|filter_sharpen|filter_transparency|filter_webp_quality)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(map_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(memcached_)(bind|buffer_size|connect_timeout|gzip_flag|next_upstream|next_upstream_timeout|next_upstream_tries|pass|read_timeout|send_timeout|socket_keepalive)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(mp4_)(buffer_size|max_buffer_size|limit_rate|limit_rate_after|start_key_frame)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(perl_)(modules|require|set)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(proxy_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_convert_head|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|cookie_domain|cookie_flags|cookie_path|force_ranges|headers_hash_bucket_size|headers_hash_max_size|hide_header|http_version|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|method|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|redirect|request_buffering|send_lowat|send_timeout|set_body|set_header|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path|buffer|pass_error_message|protocol|smtp_auth|timeout|protocol_timeout|download_rate|half_close|requests|responses|session_drop|ssl|upload_rate)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(real_)(ip_header|ip_recursive)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(referer_)(hash_bucket_size|hash_max_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(scgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|store|store_access|temp_file_write_size|temp_path)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(secure_)(link|link_md5|link_secret)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(session_)(log|log_format|log_zone)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(ssi_)(last_modified|min_file_chunk|silent_errors|types|value_length)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(sub_)(filter|filter_last_modified|filter_once|filter_types)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(health_)(check|check_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(userid_)(domain|expires|flags|mark|name|p3p|path|service)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(uwsgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|modifier1|modifier2|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(http2_)(body_preread_size|chunk_size|idle_timeout|max_concurrent_pushes|max_concurrent_streams|max_field_size|max_header_size|max_requests|push|push_preload|recv_buffer_size|recv_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(http3_)(hq|max_concurrent_streams|stream_buffer_size)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(quic_)(active_connection_id_limit|bpf|gso|host_key|retry)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(xslt_)(last_modified|param|string_param|stylesheet|types)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(imap_)(auth|capabilities|client_buffer)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(pop3_)(auth|capabilities)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(smtp_)(auth|capabilities|client_buffer|greeting_delay)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(preread_)(buffer_size|timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(mqtt_)(preread|buffers|rewrite_buffer_size|set_connect)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(zone_)(sync_buffers|sync_connect_retry_interval|sync_connect_timeout|sync_interval|sync_recv_buffer_size|sync_server|sync_ssl|sync_ssl_certificate|sync_ssl_certificate_key|sync_ssl_ciphers|sync_ssl_conf_command|sync_ssl_crl|sync_ssl_name|sync_ssl_password_file|sync_ssl_protocols|sync_ssl_server_name|sync_ssl_trusted_certificate|sync_ssl_verify|sync_ssl_verify_depth|sync_timeout)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(otel_)(exporter|service_name|trace|trace_context|span_name|span_attr)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(js_)(body_filter|content|fetch_buffer_size|fetch_ciphers|fetch_max_response_buffer_size|fetch_protocols|fetch_timeout|fetch_trusted_certificate|fetch_verify|fetch_verify_depth|header_filter|import|include|path|periodic|preload_object|set|shared_dict_zone|var|access|filter|preread)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"4\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"([\\\\\\\"'\\\\\\\\s]|^)(daemon|env|include|pid|use|user|aio|alias|directio|etag|listen|resolver|root|satisfy|sendfile|allow|deny|api|autoindex|charset|geo|gunzip|gzip|expires|index|keyval|mirror|perl|set|slice|ssi|ssl|zone|state|hash|keepalive|queue|random|sticky|match|userid|http2|http3|protocol|timeout|xclient|starttls|mqtt|load_module|lock_file|master_process|multi_accept|pcre_jit|thread_pool|timer_resolution|working_directory|absolute_redirect|aio_write|chunked_transfer_encoding|connection_pool_size|default_type|directio_alignment|disable_symlinks|if_modified_since|ignore_invalid_headers|large_client_header_buffers|merge_slashes|output_buffers|port_in_redirect|postpone_output|read_ahead|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver_timeout|sendfile_max_chunk|subrequest_output_buffer_size|try_files|underscores_in_headers|addition_types|override_charset|source_charset|create_full_put_path|min_delete_depth|f4f_buffer_size|gunzip_buffers|internal_redirect|keyval_zone|access_log|mirror_request_body|random_index|set_real_ip_from|valid_referers|rewrite_log|uninitialized_variable_warn|split_clients|least_time|sticky_cookie_insert|xml_entities|google_perftools_profiles)([\\\\\\\"'\\\\\\\\s]|$)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"keyword.directive.nginx\\\"}},\\\"end\\\":\\\";\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b(\\\\\\\\w+)\\\\\\\\s+\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.directive.unknown.nginx\\\"}},\\\"end\\\":\\\"(;|$)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\b([a-z]+\\\\\\\\/[A-Za-z0-9\\\\\\\\-\\\\\\\\.+]+)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.mediatype.nginx\\\"}},\\\"end\\\":\\\"(;)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.terminator.nginx\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#values\\\"}]}],\\\"repository\\\":{\\\"if_condition\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#variables\\\"},{\\\"match\\\":\\\"!?\\\\\\\\~\\\\\\\\*?\\\\\\\\s\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"match\\\":\\\"!?-[fdex]\\\\\\\\s\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"match\\\":\\\"!?=[^=]\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"include\\\":\\\"#regexp_and_string\\\"}]},\\\"regexp_and_string\\\":{\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\^.*?\\\\\\\\$\\\",\\\"name\\\":\\\"string.regexp.nginx\\\"},{\\\"begin\\\":\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\"\\\",\\\"name\\\":\\\"string.quoted.double.nginx\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\[\\\\\\\"'nt\\\\\\\\\\\\\\\\]\\\",\\\"name\\\":\\\"constant.character.escape.nginx\\\"},{\\\"include\\\":\\\"#variables\\\"}]},{\\\"begin\\\":\\\"'\\\",\\\"end\\\":\\\"'\\\",\\\"name\\\":\\\"string.quoted.single.nginx\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\[\\\\\\\"'nt\\\\\\\\\\\\\\\\]\\\",\\\"name\\\":\\\"constant.character.escape.nginx\\\"},{\\\"include\\\":\\\"#variables\\\"}]}]},\\\"server_parameters\\\":{\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"variable.parameter.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.operator.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"constant.numeric.nginx\\\"}},\\\"match\\\":\\\"(?:^|\\\\\\\\s)(weight|max_conn|max_fails|fail_timeout|slow_start)(=)(\\\\\\\\d[\\\\\\\\d\\\\\\\\.]*[bBkKmMgGtTsShHdD]?)(?:\\\\\\\\s|;|$)\\\"},{\\\"include\\\":\\\"#values\\\"}]},\\\"values\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#variables\\\"},{\\\"match\\\":\\\"\\\\\\\\#.*\\\",\\\"name\\\":\\\"comment.line.number-sign\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.numeric.nginx\\\"}},\\\"match\\\":\\\"(?<=\\\\\\\\G|\\\\\\\\s)(=?\\\\\\\\d[0-9\\\\\\\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\\\\\\\t ;])\\\"},{\\\"match\\\":\\\"(?<=\\\\\\\\G|\\\\\\\\s)(on|off|true|false)(?=[\\\\\\\\t ;])\\\",\\\"name\\\":\\\"constant.language.nginx\\\"},{\\\"match\\\":\\\"(?<=\\\\\\\\G|\\\\\\\\s)(kqueue|rtsig|epoll|\\\\\\\\/dev\\\\\\\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\\\\\\\t ;])\\\",\\\"name\\\":\\\"constant.language.nginx\\\"},{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\.* |\\\\\\\\~\\\\\\\\*|\\\\\\\\~|!\\\\\\\\~\\\\\\\\*|!\\\\\\\\~\\\",\\\"name\\\":\\\"keyword.operator.nginx\\\"},{\\\"include\\\":\\\"#regexp_and_string\\\"}]},\\\"variables\\\":{\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"variable.other.nginx\\\"}},\\\"match\\\":\\\"(\\\\\\\\$)([A-Za-z0-9_]+)\\\\\\\\b\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"},\\\"2\\\":{\\\"name\\\":\\\"variable.other.nginx\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.definition.variable.nginx\\\"}},\\\"match\\\":\\\"(\\\\\\\\$\\\\\\\\{)([A-Za-z0-9_]+)(\\\\\\\\})\\\"}]}},\\\"scopeName\\\":\\\"source.nginx\\\",\\\"embeddedLangs\\\":[\\\"lua\\\"]}\"))\n\nexport default [\n...lua,\nlang\n]\n"],"names":["nginx","concat","_toConsumableArray","lua","Object","freeze","JSON","parse"],"mappings":"ozCAIeA,CAAA,IAAAC,MAAA,CAAAC,kBAAA,CACZC,IAHUC,MAAOC,CAAAA,MAAAA,CAAOC,IAAKC,CAAAA,KAAAA,CAAM","x_google_ignoreList":[0]}
@@ -3,5 +3,5 @@ System.register([],function(_export,_context){"use strict";var t,e,i,n,h,l,o,f,_
3
3
  if(n){var _e228=t.wordAt(_r143.value.from);if(!_e228||_e228.from!=_r143.value.from||_e228.to!=_r143.value.to){_i195=_i196,_r142=_r143;return 0;}// continue
4
4
  }return{v:_r143.value};}if(_i196)return{v:null};_r143=new Ff(t.doc,e,0,Math.max(0,s[s.length-1].from-1)),_i196=!0;_i195=_i196,_r142=_r143;},_ret2;for(var _i195=!1,_r142=new Ff(t.doc,e,s[s.length-1].to);;){_ret2=_loop14(_i195,_r142);if(_ret2===0)continue;if(_ret2)return _ret2.v;}}(t,s);return!!r&&(e(t.update({selection:t.selection.addRange(B.range(r.from,r.to),!1),effects:Ur.scrollIntoView(r.to)})),!0);},preventDefault:!0}];ja=/*#__PURE__*/function(){function ja(t){var _this79=this;_classCallCheck(this,ja);this.view=t;var e=this.query=t.state.field(va).query.spec;function i(t,e,i){return Hf("button",{"class":"cm-button",name:t,onclick:e,type:"button"},i);}this.commit=this.commit.bind(this),this.searchField=Hf("input",{value:e.search,placeholder:za(t,"Find"),"aria-label":za(t,"Find"),"class":"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Hf("input",{value:e.replace,placeholder:za(t,"Replace"),"aria-label":za(t,"Replace"),"class":"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Hf("input",{type:"checkbox",name:"case",form:"",checked:e.caseSensitive,onchange:this.commit}),this.reField=Hf("input",{type:"checkbox",name:"re",form:"",checked:e.regexp,onchange:this.commit}),this.wordField=Hf("input",{type:"checkbox",name:"word",form:"",checked:e.wholeWord,onchange:this.commit}),this.dom=Hf("div",{onkeydown:function onkeydown(t){return _this79.keydown(t);},"class":"cm-search"},[this.searchField,i("next",function(){return Aa(t);},[za(t,"next")]),i("prev",function(){return Ca(t);},[za(t,"previous")]),i("select",function(){return Da(t);},[za(t,"all")]),Hf("label",null,[this.caseField,za(t,"match case")]),Hf("label",null,[this.reField,za(t,"regexp")]),Hf("label",null,[this.wordField,za(t,"by word")])].concat(_toConsumableArray(t.state.readOnly?[]:[Hf("br"),this.replaceField,i("replace",function(){return Oa(t);},[za(t,"replace")]),i("replaceAll",function(){return Ea(t);},[za(t,"replace all")])]),[Hf("button",{name:"close",onclick:function onclick(){return Na(t);},"aria-label":za(t,"close"),type:"button"},["×"])]));}return _createClass(ja,[{key:"commit",value:function commit(){var t=new ua({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:wa.of(t)}));}},{key:"keydown",value:function keydown(t){var e,i,s;e=this.view,i=t,s="search-panel",nn(en(e.state),i,e,s)?t.preventDefault():13==t.keyCode&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?Ca:Aa)(this.view)):13==t.keyCode&&t.target==this.replaceField&&(t.preventDefault(),Oa(this.view));}},{key:"update",value:function update(t){var _iterator192=_createForOfIteratorHelper(t.transactions),_step192;try{for(_iterator192.s();!(_step192=_iterator192.n()).done;){var _e229=_step192.value;var _iterator193=_createForOfIteratorHelper(_e229.effects),_step193;try{for(_iterator193.s();!(_step193=_iterator193.n()).done;){var _t266=_step193.value;_t266.is(wa)&&!_t266.value.eq(this.query)&&this.setQuery(_t266.value);}}catch(err){_iterator193.e(err);}finally{_iterator193.f();}}}catch(err){_iterator192.e(err);}finally{_iterator192.f();}}},{key:"setQuery",value:function setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord;}},{key:"mount",value:function mount(){this.searchField.select();}},{key:"pos",get:function get(){return 80;}},{key:"top",get:function get(){return this.view.state.facet(oa).top;}}]);}();Pa=30;Ha=/[\s\.,:;?!]/;Va=Ur.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}});Fa=[va,_.low(xa),Va];qa=/*#__PURE__*/function(){function qa(t,e,i){_classCallCheck(this,qa);this.state=t,this.pos=e,this.explicit=i,this.abortListeners=[];}return _createClass(qa,[{key:"tokenBefore",value:function tokenBefore(t){var e=Fl(this.state).resolveInner(this.pos,-1);for(;e&&t.indexOf(e.name)<0;)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null;}},{key:"matchBefore",value:function matchBefore(t){var e=this.state.doc.lineAt(this.pos),i=Math.max(e.from,this.pos-250),s=e.text.slice(i-e.from,this.pos-e.from),r=s.search(Xa(t,!1));return r<0?null:{from:i+r,to:this.pos,text:s.slice(r)};}},{key:"aborted",get:function get(){return null==this.abortListeners;}},{key:"addEventListener",value:function addEventListener(t,e){"abort"==t&&this.abortListeners&&this.abortListeners.push(e);}}]);}();Ka=/*#__PURE__*/_createClass(function Ka(t,e,i,s){_classCallCheck(this,Ka);this.completion=t,this.source=e,this.match=i,this.score=s;});Ya=ut.define();Qa=new WeakMap();tc=ct.define();ec=ct.define();ic=/*#__PURE__*/function(){function ic(t){_classCallCheck(this,ic);this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(var _e231=0;_e231<t.length;){var _i197=v(t,_e231),_s183=y(_i197);this.chars.push(_i197);var _r144=t.slice(_e231,_e231+_s183),_n112=_r144.toUpperCase();this.folded.push(v(_n112==_r144?_r144.toLowerCase():_n112,0)),_e231+=_s183;}this.astral=t.length!=this.chars.length;}return _createClass(ic,[{key:"ret",value:function ret(t,e){return this.score=t,this.matched=e,this;}},{key:"match",value:function match(t){if(0==this.pattern.length)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;var e=this.chars,i=this.folded,s=this.any,r=this.precise,n=this.byWord;if(1==e.length){var _s184=v(t,0),_r145=y(_s184),_n113=_r145==t.length?0:-100;if(_s184==e[0]);else{if(_s184!=i[0])return null;_n113+=-200;}return this.ret(_n113,[0,_r145]);}var h=t.indexOf(this.pattern);if(0==h)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);var l=e.length,o=0;if(h<0){for(var _r146=0,_n114=Math.min(t.length,200);_r146<_n114&&o<l;){var _n115=v(t,_r146);_n115!=e[o]&&_n115!=i[o]||(s[o++]=_r146),_r146+=y(_n115);}if(o<l)return null;}var u=0,f=0,a=!1,c=0,d=-1,p=-1,m=/[a-z]/.test(t),g=!0;for(var _s185=0,_o44=Math.min(t.length,200),_w3=0;_s185<_o44&&f<l;){var _o45=v(t,_s185);h<0&&(u<l&&_o45==e[u]&&(r[u++]=_s185),c<l&&(_o45==e[c]||_o45==i[c]?(0==c&&(d=_s185),p=_s185+1,c++):c=0));var _b2=void 0,_M2=_o45<255?_o45>=48&&_o45<=57||_o45>=97&&_o45<=122?2:_o45>=65&&_o45<=90?1:0:(_b2=k(_o45))!=_b2.toLowerCase()?1:_b2!=_b2.toUpperCase()?2:0;(!_s185||1==_M2&&m||0==_w3&&0!=_M2)&&(e[f]==_o45||i[f]==_o45&&(a=!0)?n[f++]=_s185:n.length&&(g=!1)),_w3=_M2,_s185+=y(_o45);}return f==l&&0==n[0]&&g?this.result((a?-200:0)-100,n,t):c==l&&0==d?this.ret(-200-t.length+(p==t.length?0:-100),[0,p]):h>-1?this.ret(-700-t.length,[h,h+this.pattern.length]):c==l?this.ret(-900-t.length,[d,p]):f==l?this.result((a?-200:0)-100-700+(g?0:-1100),n,t):2==e.length?null:this.result((s[0]?-700:0)-200-1100,s,t);}},{key:"result",value:function result(t,e,i){var s=[],r=0;var _iterator195=_createForOfIteratorHelper(e),_step195;try{for(_iterator195.s();!(_step195=_iterator195.n()).done;){var _t270=_step195.value;var _e232=_t270+(this.astral?y(v(i,_t270)):1);r&&s[r-1]==_t270?s[r-1]=_e232:(s[r++]=_t270,s[r++]=_e232);}}catch(err){_iterator195.e(err);}finally{_iterator195.f();}return this.ret(t-i.length,s);}}]);}();sc=/*#__PURE__*/function(){function sc(t){_classCallCheck(this,sc);this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase();}return _createClass(sc,[{key:"match",value:function match(t){if(t.length<this.pattern.length)return null;var e=t.slice(0,this.pattern.length),i=e==this.pattern?0:e.toLowerCase()==this.folded?-200:null;return null==i?null:(this.matched=[0,e.length],this.score=i+(t.length==this.pattern.length?0:-100),this);}}]);}();rc=$.define({combine:function combine(t){return At(t,{activateOnTyping:!0,activateOnCompletion:function activateOnCompletion(){return!1;},activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:function tooltipClass(){return"";},optionClass:function optionClass(){return"";},aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:hc,filterStrict:!1,compareCompletions:function compareCompletions(t,e){return t.label.localeCompare(e.label);},interactionDelay:75,updateSyncTime:100},{defaultKeymap:function defaultKeymap(t,e){return t&&e;},closeOnBlur:function closeOnBlur(t,e){return t&&e;},icons:function icons(t,e){return t&&e;},tooltipClass:function tooltipClass(t,e){return function(i){return nc(t(i),e(i));};},optionClass:function optionClass(t,e){return function(i){return nc(t(i),e(i));};},addToOptions:function addToOptions(t,e){return t.concat(e);},filterStrict:function filterStrict(t,e){return t||e;}});}});oc=/*#__PURE__*/function(){function oc(t,e,i){var _this80=this;_classCallCheck(this,oc);this.view=t,this.stateField=e,this.applyCompletion=i,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:function read(){return _this80.measureInfo();},write:function write(t){return _this80.placeInfo(t);},key:this},this.space=null,this.currentClass="";var s=t.state.field(e),_s$open=s.open,r=_s$open.options,n=_s$open.selected,h=t.state.facet(rc);this.optionContent=function(t){var e=t.addToOptions.slice();return t.icons&&e.push({render:function render(t){var _e$classList;var e=document.createElement("div");return e.classList.add("cm-completionIcon"),t.type&&(_e$classList=e.classList).add.apply(_e$classList,_toConsumableArray(t.type.split(/\s+/g).map(function(t){return"cm-completionIcon-"+t;}))),e.setAttribute("aria-hidden","true"),e;},position:20}),e.push({render:function render(t,e,i,s){var r=document.createElement("span");r.className="cm-completionLabel";var n=t.displayLabel||t.label,h=0;for(var _t273=0;_t273<s.length;){var _e233=s[_t273++],_i198=s[_t273++];_e233>h&&r.appendChild(document.createTextNode(n.slice(h,_e233)));var _l67=r.appendChild(document.createElement("span"));_l67.appendChild(document.createTextNode(n.slice(_e233,_i198))),_l67.className="cm-completionMatchedText",h=_i198;}return h<n.length&&r.appendChild(document.createTextNode(n.slice(h))),r;},position:50},{render:function render(t){if(!t.detail)return null;var e=document.createElement("span");return e.className="cm-completionDetail",e.textContent=t.detail,e;},position:80}),e.sort(function(t,e){return t.position-e.position;}).map(function(t){return t.render;});}(h),this.optionClass=h.optionClass,this.tooltipClass=h.tooltipClass,this.range=lc(r.length,n,h.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",function(i){var s=t.state.field(e).open.options;for(var _e234,_r147=i.target;_r147&&_r147!=_this80.dom;_r147=_r147.parentNode)if("LI"==_r147.nodeName&&(_e234=/-(\d+)$/.exec(_r147.id))&&+_e234[1]<s.length)return _this80.applyCompletion(t,s[+_e234[1]]),void i.preventDefault();}),this.dom.addEventListener("focusout",function(e){var i=t.state.field(_this80.stateField,!1);i&&i.tooltip&&t.state.facet(rc).closeOnBlur&&e.relatedTarget!=t.contentDOM&&t.dispatch({effects:ec.of(null)});}),this.showOptions(r,s.id);}return _createClass(oc,[{key:"mount",value:function mount(){this.updateSel();}},{key:"showOptions",value:function showOptions(t,e){var _this81=this;this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,e,this.range)),this.list.addEventListener("scroll",function(){_this81.info&&_this81.view.requestMeasure(_this81.placeInfoReq);});}},{key:"update",value:function update(t){var e;var i=t.state.field(this.stateField),s=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),i!=s){var _i$open=i.open,_r148=_i$open.options,_n116=_i$open.selected,_h77=_i$open.disabled;s.open&&s.open.options==_r148||(this.range=lc(_r148.length,_n116,t.state.facet(rc).maxRenderedOptions),this.showOptions(_r148,i.id)),this.updateSel(),_h77!=(null===(e=s.open)||void 0===e?void 0:e.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!_h77);}}},{key:"updateTooltipClass",value:function updateTooltipClass(t){var e=this.tooltipClass(t);if(e!=this.currentClass){var _iterator196=_createForOfIteratorHelper(this.currentClass.split(" ")),_step196;try{for(_iterator196.s();!(_step196=_iterator196.n()).done;){var _t274=_step196.value;_t274&&this.dom.classList.remove(_t274);}}catch(err){_iterator196.e(err);}finally{_iterator196.f();}var _iterator197=_createForOfIteratorHelper(e.split(" ")),_step197;try{for(_iterator197.s();!(_step197=_iterator197.n()).done;){var _t275=_step197.value;_t275&&this.dom.classList.add(_t275);}}catch(err){_iterator197.e(err);}finally{_iterator197.f();}this.currentClass=e;}}},{key:"positioned",value:function positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq);}},{key:"updateSel",value:function updateSel(){var _this82=this;var t=this.view.state.field(this.stateField),e=t.open;if((e.selected>-1&&e.selected<this.range.from||e.selected>=this.range.to)&&(this.range=lc(e.options.length,e.selected,this.view.state.facet(rc).maxRenderedOptions),this.showOptions(e.options,t.id)),this.updateSelectedOption(e.selected)){this.destroyInfo();var _i199=e.options[e.selected].completion,_s186=_i199.info;if(!_s186)return;var _r149="string"==typeof _s186?document.createTextNode(_s186):_s186(_i199);if(!_r149)return;"then"in _r149?_r149.then(function(e){e&&_this82.view.state.field(_this82.stateField,!1)==t&&_this82.addInfoPane(e,_i199);})["catch"](function(t){return Ui(_this82.view.state,t,"completion info");}):this.addInfoPane(_r149,_i199);}}},{key:"addInfoPane",value:function addInfoPane(t,e){this.destroyInfo();var i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",null!=t.nodeType)i.appendChild(t),this.infoDestroy=null;else{var _e235=t.dom,_s187=t.destroy;i.appendChild(_e235),this.infoDestroy=_s187||null;}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq);}},{key:"updateSelectedOption",value:function updateSelectedOption(t){var e=null;for(var _i200=this.list.firstChild,_s188=this.range.from;_i200;_i200=_i200.nextSibling,_s188++)"LI"==_i200.nodeName&&_i200.id?_s188==t?_i200.hasAttribute("aria-selected")||(_i200.setAttribute("aria-selected","true"),e=_i200):_i200.hasAttribute("aria-selected")&&_i200.removeAttribute("aria-selected"):_s188--;return e&&function(t,e){var i=t.getBoundingClientRect(),s=e.getBoundingClientRect(),r=i.height/t.offsetHeight;s.top<i.top?t.scrollTop-=(i.top-s.top)/r:s.bottom>i.bottom&&(t.scrollTop+=(s.bottom-i.bottom)/r);}(this.list,e),e;}},{key:"measureInfo",value:function measureInfo(){var t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;var e=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),s=t.getBoundingClientRect(),r=this.space;if(!r){var _t276=this.dom.ownerDocument.defaultView||window;r={left:0,top:0,right:_t276.innerWidth,bottom:_t276.innerHeight};}return s.top>Math.min(r.bottom,e.bottom)-10||s.bottom<Math.max(r.top,e.top)+10?null:this.view.state.facet(rc).positionInfo(this.view,e,s,i,r,this.dom);}},{key:"placeInfo",value:function placeInfo(t){this.info&&(t?(t.style&&(this.info.style.cssText=t.style),this.info.className="cm-tooltip cm-completionInfo "+(t["class"]||"")):this.info.style.cssText="top: -1e6px");}},{key:"createListBox",value:function createListBox(t,e,i){var s=document.createElement("ul");s.id=e,s.setAttribute("role","listbox"),s.setAttribute("aria-expanded","true"),s.setAttribute("aria-label",this.view.state.phrase("Completions"));var r=null;for(var _n117=i.from;_n117<i.to;_n117++){var _t$_n=t[_n117],_h78=_t$_n.completion,_l68=_t$_n.match,_o46=_h78.section;if(_o46){var _t277="string"==typeof _o46?_o46:_o46.name;if(_t277!=r&&(_n117>i.from||0==i.from))if(r=_t277,"string"!=typeof _o46&&_o46.header)s.appendChild(_o46.header(_o46));else{s.appendChild(document.createElement("completion-section")).textContent=_t277;}}var _u43=s.appendChild(document.createElement("li"));_u43.id=e+"-"+_n117,_u43.setAttribute("role","option");var _f24=this.optionClass(_h78);_f24&&(_u43.className=_f24);var _iterator198=_createForOfIteratorHelper(this.optionContent),_step198;try{for(_iterator198.s();!(_step198=_iterator198.n()).done;){var _t278=_step198.value;var _e236=_t278(_h78,this.view.state,this.view,_l68);_e236&&_u43.appendChild(_e236);}}catch(err){_iterator198.e(err);}finally{_iterator198.f();}}return i.from&&s.classList.add("cm-completionListIncompleteTop"),i.to<t.length&&s.classList.add("cm-completionListIncompleteBottom"),s;}},{key:"destroyInfo",value:function destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null);}},{key:"destroy",value:function destroy(){this.destroyInfo();}}]);}();ac=/*#__PURE__*/function(){function ac(t,e,i,s,r,n){_classCallCheck(this,ac);this.options=t,this.attrs=e,this.tooltip=i,this.timestamp=s,this.selected=r,this.disabled=n;}return _createClass(ac,[{key:"setSelected",value:function setSelected(t,e){return t==this.selected||t>=this.options.length?this:new ac(this.options,pc(e,t),this.tooltip,this.timestamp,t,this.disabled);}},{key:"map",value:function map(t){return new ac(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled);}}],[{key:"build",value:function build(t,e,i,s,r){var n=function(t,e){var i=[],s=null,r=function r(t){i.push(t);var e=t.completion.section;if(e){s||(s=[]);var _t279="string"==typeof e?e:e.name;s.some(function(e){return e.name==_t279;})||s.push("string"==typeof e?{name:_t279}:e);}},n=e.facet(rc);var _iterator199=_createForOfIteratorHelper(t),_step199;try{for(_iterator199.s();!(_step199=_iterator199.n()).done;){var _s189=_step199.value;if(_s189.hasResult()){var _t281=_s189.result.getMatch;if(!1===_s189.result.filter){var _iterator203=_createForOfIteratorHelper(_s189.result.options),_step203;try{for(_iterator203.s();!(_step203=_iterator203.n()).done;){var _e239=_step203.value;r(new Ka(_e239,_s189.source,_t281?_t281(_e239):[],1e9-i.length));}}catch(err){_iterator203.e(err);}finally{_iterator203.f();}}else{var _i203=void 0,_h79=e.sliceDoc(_s189.from,_s189.to),_l69=n.filterStrict?new sc(_h79):new ic(_h79);var _iterator204=_createForOfIteratorHelper(_s189.result.options),_step204;try{for(_iterator204.s();!(_step204=_iterator204.n()).done;){var _e240=_step204.value;if(_i203=_l69.match(_e240.label)){var _n118=_e240.displayLabel?_t281?_t281(_e240,_i203.matched):[]:_i203.matched;r(new Ka(_e240,_s189.source,_n118,_i203.score+(_e240.boost||0)));}}}catch(err){_iterator204.e(err);}finally{_iterator204.f();}}}}}catch(err){_iterator199.e(err);}finally{_iterator199.f();}if(s){var _t280=Object.create(null),_e237=0,_r150=function _r150(t,e){var i,s;return(null!==(i=t.rank)&&void 0!==i?i:1e9)-(null!==(s=e.rank)&&void 0!==s?s:1e9)||(t.name<e.name?-1:1);};var _iterator200=_createForOfIteratorHelper(s.sort(_r150)),_step200;try{for(_iterator200.s();!(_step200=_iterator200.n()).done;){var _i201=_step200.value;_e237-=1e5,_t280[_i201.name]=_e237;}}catch(err){_iterator200.e(err);}finally{_iterator200.f();}var _iterator201=_createForOfIteratorHelper(i),_step201;try{for(_iterator201.s();!(_step201=_iterator201.n()).done;){var _e238=_step201.value;var _i202=_e238.completion.section;_i202&&(_e238.score+=_t280["string"==typeof _i202?_i202:_i202.name]);}}catch(err){_iterator201.e(err);}finally{_iterator201.f();}}var h=[],l=null,o=n.compareCompletions;var _iterator202=_createForOfIteratorHelper(i.sort(function(t,e){return e.score-t.score||o(t.completion,e.completion);})),_step202;try{for(_iterator202.s();!(_step202=_iterator202.n()).done;){var _t282=_step202.value;var _e241=_t282.completion;!l||l.label!=_e241.label||l.detail!=_e241.detail||null!=l.type&&null!=_e241.type&&l.type!=_e241.type||l.apply!=_e241.apply||l.boost!=_e241.boost?h.push(_t282):fc(_t282.completion)>fc(l)&&(h[h.length-1]=_t282),l=_t282.completion;}}catch(err){_iterator202.e(err);}finally{_iterator202.f();}return h;}(t,e);if(!n.length)return s&&t.some(function(t){return 1==t.state;})?new ac(s.options,s.attrs,s.tooltip,s.timestamp,s.selected,!0):null;var h=e.facet(rc).selectOnOpen?0:-1;if(s&&s.selected!=h&&-1!=s.selected){var _t283=s.options[s.selected].completion;for(var _e242=0;_e242<n.length;_e242++)if(n[_e242].completion==_t283){h=_e242;break;}}return new ac(n,pc(i,h),{pos:t.reduce(function(t,e){return e.hasResult()?Math.min(t,e.from):t;},1e8),create:xc,above:r.aboveCursor},s?s.timestamp:Date.now(),h,!1);}}]);}();cc=/*#__PURE__*/function(){function cc(t,e,i){_classCallCheck(this,cc);this.active=t,this.id=e,this.open=i;}return _createClass(cc,[{key:"update",value:function update(t){var _this83=this;var e=t.state,i=e.facet(rc),s=(i.override||e.languageDataAt("autocomplete",_a(e)).map(Za)).map(function(e){return(_this83.active.find(function(t){return t.source==e;})||new wc(e,_this83.active.some(function(t){return 0!=t.state;})?1:0)).update(t,i);});s.length==this.active.length&&s.every(function(t,e){return t==_this83.active[e];})&&(s=this.active);var r=this.open;r&&t.docChanged&&(r=r.map(t.changes)),t.selection||s.some(function(e){return e.hasResult()&&t.changes.touchesRange(e.from,e.to);})||!function(t,e){if(t==e)return!0;for(var _i204=0,_s190=0;;){for(;_i204<t.length&&!t[_i204].hasResult;)_i204++;for(;_s190<e.length&&!e[_s190].hasResult;)_s190++;var _r151=_i204==t.length,_n119=_s190==e.length;if(_r151||_n119)return _r151==_n119;if(t[_i204++].result!=e[_s190++].result)return!1;}}(s,this.active)?r=ac.build(s,e,this.id,r,i):r&&r.disabled&&!s.some(function(t){return 1==t.state;})&&(r=null),!r&&s.every(function(t){return 1!=t.state;})&&s.some(function(t){return t.hasResult();})&&(s=s.map(function(t){return t.hasResult()?new wc(t.source,0):t;}));var _iterator205=_createForOfIteratorHelper(t.effects),_step205;try{for(_iterator205.s();!(_step205=_iterator205.n()).done;){var _e243=_step205.value;_e243.is(kc)&&(r=r&&r.setSelected(_e243.value,this.id));}}catch(err){_iterator205.e(err);}finally{_iterator205.f();}return s==this.active&&r==this.open?this:new cc(s,this.id,r);}},{key:"tooltip",get:function get(){return this.open?this.open.tooltip:null;}},{key:"attrs",get:function get(){return this.open?this.open.attrs:dc;}}],[{key:"start",value:function start(){return new cc(mc,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null);}}]);}();dc={"aria-autocomplete":"list"};mc=[];wc=/*#__PURE__*/function(){function wc(t,e){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:-1;_classCallCheck(this,wc);this.source=t,this.state=e,this.explicitPos=i;}return _createClass(wc,[{key:"hasResult",value:function hasResult(){return!1;}},{key:"update",value:function update(t,e){var i=gc(t,e),s=this;i?s=s.handleUserEvent(t,i,e):t.docChanged?s=s.handleChange(t):t.selection&&0!=s.state&&(s=new wc(s.source,0));var _iterator206=_createForOfIteratorHelper(t.effects),_step206;try{for(_iterator206.s();!(_step206=_iterator206.n()).done;){var _e244=_step206.value;if(_e244.is(tc))s=new wc(s.source,1,_e244.value?_a(t.state):-1);else if(_e244.is(ec))s=new wc(s.source,0);else if(_e244.is(vc)){var _iterator207=_createForOfIteratorHelper(_e244.value),_step207;try{for(_iterator207.s();!(_step207=_iterator207.n()).done;){var _t284=_step207.value;_t284.source==s.source&&(s=_t284);}}catch(err){_iterator207.e(err);}finally{_iterator207.f();}}}}catch(err){_iterator206.e(err);}finally{_iterator206.f();}return s;}},{key:"handleUserEvent",value:function handleUserEvent(t,e,i){return"delete"!=e&&i.activateOnTyping?new wc(this.source,1):this.map(t.changes);}},{key:"handleChange",value:function handleChange(t){return t.changes.touchesRange(_a(t.startState))?new wc(this.source,0):this.map(t.changes);}},{key:"map",value:function map(t){return t.empty||this.explicitPos<0?this:new wc(this.source,this.state,t.mapPos(this.explicitPos));}}]);}();bc=/*#__PURE__*/function(_wc){function bc(t,e,i,s,r){var _this84;_classCallCheck(this,bc);_this84=_callSuper(this,bc,[t,2,e]),_this84.result=i,_this84.from=s,_this84.to=r;return _this84;}_inherits(bc,_wc);return _createClass(bc,[{key:"hasResult",value:function hasResult(){return!0;}},{key:"handleUserEvent",value:function handleUserEvent(t,e,i){var s;var r=this.result;r.map&&!t.changes.empty&&(r=r.map(r,t.changes));var n=t.changes.mapPos(this.from),h=t.changes.mapPos(this.to,1),l=_a(t.state);if((this.explicitPos<0?l<=n:l<this.from)||l>h||!r||"delete"==e&&_a(t.startState)==this.from)return new wc(this.source,"input"==e&&i.activateOnTyping?1:0);var o=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos);return function(t,e,i,s){if(!t)return!1;var r=e.sliceDoc(i,s);return"function"==typeof t?t(r,i,s,e):Xa(t,!0).test(r);}(r.validFor,t.state,n,h)?new bc(this.source,o,r,n,h):r.update&&(r=r.update(r,n,h,new qa(t.state,l,o>=0)))?new bc(this.source,o,r,r.from,null!==(s=r.to)&&void 0!==s?s:_a(t.state)):new wc(this.source,1,o);}},{key:"handleChange",value:function handleChange(t){return t.changes.touchesRange(this.from,this.to)?new wc(this.source,0):this.map(t.changes);}},{key:"map",value:function map(t){if(t.empty)return this;return(this.result.map?this.result.map(this.result,t):this.result)?new bc(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1)):new wc(this.source,0);}}]);}(wc);vc=ct.define({map:function map(t,e){return t.map(function(t){return t.map(e);});}});kc=ct.define();yc=F.define({create:function create(){return cc.start();},update:function update(t,e){return t.update(e);},provide:function provide(t){return[Kn.from(t,function(t){return t.tooltip;}),Ur.contentAttributes.from(t,function(t){return t.attrs;})];}});xc=uc(yc,Mc);Ac=/*#__PURE__*/_createClass(function Ac(t,e){_classCallCheck(this,Ac);this.active=t,this.context=e,this.time=Date.now(),this.updates=[],this.done=void 0;});Cc=_i.fromClass(/*#__PURE__*/function(){function _class12(t){_classCallCheck(this,_class12);this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;var _iterator208=_createForOfIteratorHelper(t.state.field(yc).active),_step208;try{for(_iterator208.s();!(_step208=_iterator208.n()).done;){var _e245=_step208.value;1==_e245.state&&this.startQuery(_e245);}}catch(err){_iterator208.e(err);}finally{_iterator208.f();}}return _createClass(_class12,[{key:"update",value:function update(t){var _this85=this;var e=t.state.field(yc),i=t.state.facet(rc);if(!t.selectionSet&&!t.docChanged&&t.startState.field(yc)==e)return;var s=t.transactions.some(function(t){return(t.selection||t.docChanged)&&!gc(t,i);});for(var _e246=0;_e246<this.running.length;_e246++){var _i206$updates;var _i206=this.running[_e246];if(s||_i206.updates.length+t.transactions.length>50&&Date.now()-_i206.time>1e3){var _iterator209=_createForOfIteratorHelper(_i206.context.abortListeners),_step209;try{for(_iterator209.s();!(_step209=_iterator209.n()).done;){var _t285=_step209.value;try{_t285();}catch(t){Ui(this.view.state,t);}}}catch(err){_iterator209.e(err);}finally{_iterator209.f();}_i206.context.abortListeners=null,this.running.splice(_e246--,1);}else(_i206$updates=_i206.updates).push.apply(_i206$updates,_toConsumableArray(t.transactions));}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(function(t){return t.effects.some(function(t){return t.is(tc);});})&&(this.pendingStart=!0);var r=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(function(t){return 1==t.state&&!_this85.running.some(function(e){return e.active.source==t.source;});})?setTimeout(function(){return _this85.startUpdate();},r):-1,0!=this.composing){var _iterator210=_createForOfIteratorHelper(t.transactions),_step210;try{for(_iterator210.s();!(_step210=_iterator210.n()).done;){var _e247=_step210.value;"input"==gc(_e247,i)?this.composing=2:2==this.composing&&_e247.selection&&(this.composing=3);}}catch(err){_iterator210.e(err);}finally{_iterator210.f();}}}},{key:"startUpdate",value:function startUpdate(){var _this86=this;this.debounceUpdate=-1,this.pendingStart=!1;var t=this.view.state,e=t.field(yc);var _iterator211=_createForOfIteratorHelper(e.active),_step211;try{var _loop15=function _loop15(){var t=_step211.value;1!=t.state||_this86.running.some(function(e){return e.active.source==t.source;})||_this86.startQuery(t);};for(_iterator211.s();!(_step211=_iterator211.n()).done;){_loop15();}}catch(err){_iterator211.e(err);}finally{_iterator211.f();}}},{key:"startQuery",value:function startQuery(t){var _this87=this;var e=this.view.state,i=_a(e),s=new qa(e,i,t.explicitPos==i),r=new Ac(t,s);this.running.push(r),Promise.resolve(t.source(s)).then(function(t){r.context.aborted||(r.done=t||null,_this87.scheduleAccept());},function(t){_this87.view.dispatch({effects:ec.of(null)}),Ui(_this87.view.state,t);});}},{key:"scheduleAccept",value:function scheduleAccept(){var _this88=this;this.running.every(function(t){return void 0!==t.done;})?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(function(){return _this88.accept();},this.view.state.facet(rc).updateSyncTime));}},{key:"accept",value:function accept(){var _this89=this;var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;var e=[],i=this.view.state.facet(rc);var _loop16=function _loop16(_s192){var r=_this89.running[_s192];if(void 0===r.done){_s191=_s192;return 0;}// continue
5
5
  if(_this89.running.splice(_s192--,1),r.done){var _s193=new bc(r.active.source,r.active.explicitPos,r.done,r.done.from,null!==(t=r.done.to)&&void 0!==t?t:_a(r.updates.length?r.updates[0].startState:_this89.view.state));var _iterator212=_createForOfIteratorHelper(r.updates),_step212;try{for(_iterator212.s();!(_step212=_iterator212.n()).done;){var _t286=_step212.value;_s193=_s193.update(_t286,i);}}catch(err){_iterator212.e(err);}finally{_iterator212.f();}if(_s193.hasResult()){e.push(_s193);_s191=_s192;return 0;// continue
6
- }}var n=_this89.view.state.field(yc).active.find(function(t){return t.source==r.active.source;});if(n&&1==n.state)if(null==r.done){var _t287=new wc(r.active.source,0);var _iterator213=_createForOfIteratorHelper(r.updates),_step213;try{for(_iterator213.s();!(_step213=_iterator213.n()).done;){var _e248=_step213.value;_t287=_t287.update(_e248,i);}}catch(err){_iterator213.e(err);}finally{_iterator213.f();}1!=_t287.state&&e.push(_t287);}else _this89.startQuery(n);_s191=_s192;},_ret3;for(var _s191=0;_s191<this.running.length;_s191++){_ret3=_loop16(_s191);if(_ret3===0)continue;}e.length&&this.view.dispatch({effects:vc.of(e)});}}]);}(),{eventHandlers:{blur:function blur(t){var _this90=this;var e=this.view.state.field(yc,!1);if(e&&e.tooltip&&this.view.state.facet(rc).closeOnBlur){var _i207=e.open&&eh(this.view,e.open.tooltip);_i207&&_i207.dom.contains(t.relatedTarget)||setTimeout(function(){return _this90.view.dispatch({effects:ec.of(null)});},10);}},compositionstart:function compositionstart(){this.composing=1;},compositionend:function compositionend(){var _this91=this;3==this.composing&&setTimeout(function(){return _this91.view.dispatch({effects:tc.of(!1)});},20),this.composing=0;}}});Dc="object"==(typeof navigator==="undefined"?"undefined":_typeof(navigator))&&/Win/.test(navigator.platform);Oc=_.highest(Ur.domEventHandlers({keydown:function keydown(t,e){var i=e.state.field(yc,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&(!Dc||!t.altKey)||t.metaKey)return!1;var s=i.open.options[i.open.selected],r=i.active.find(function(t){return t.source==s.source;}),n=s.completion.commitCharacters||r.result.commitCharacters;return n&&n.indexOf(t.key)>-1&&Mc(e,s),!1;}}));Ec=Ur.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});Ic=/*#__PURE__*/_createClass(function Ic(t,e,i,s){_classCallCheck(this,Ic);this.field=t,this.line=e,this.from=i,this.to=s;});Rc=/*#__PURE__*/function(){function Rc(t,e,i){_classCallCheck(this,Rc);this.field=t,this.from=e,this.to=i;}return _createClass(Rc,[{key:"map",value:function map(t){var e=t.mapPos(this.from,-1,x.TrackDel),i=t.mapPos(this.to,1,x.TrackDel);return null==e||null==i?null:new Rc(this.field,e,i);}}]);}();Tc=/*#__PURE__*/function(){function Tc(t,e){_classCallCheck(this,Tc);this.lines=t,this.fieldPositions=e;}return _createClass(Tc,[{key:"instantiate",value:function instantiate(t,e){var i=[],s=[e],r=t.doc.lineAt(e),n=/^\s*/.exec(r.text)[0];var _iterator214=_createForOfIteratorHelper(this.lines),_step214;try{for(_iterator214.s();!(_step214=_iterator214.n()).done;){var _r152=_step214.value;if(i.length){var _i208=n,_h80=/^\t*/.exec(_r152)[0].length;for(var _e249=0;_e249<_h80;_e249++)_i208+=t.facet(eo);s.push(e+_i208.length-_h80),_r152=_i208+_r152.slice(_h80);}i.push(_r152),e+=_r152.length+1;}}catch(err){_iterator214.e(err);}finally{_iterator214.f();}var h=this.fieldPositions.map(function(t){return new Rc(t.field,s[t.line]+t.from,s[t.line]+t.to);});return{text:i,ranges:h};}}],[{key:"parse",value:function parse(t){var e,i=[],s=[],r=[];var _iterator215=_createForOfIteratorHelper(t.split(/\r\n?|\n/)),_step215;try{for(_iterator215.s();!(_step215=_iterator215.n()).done;){var _n120=_step215.value;for(;e=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(_n120);){var _t288=e[1]?+e[1]:null,_h81=e[2]||e[3]||"",_l70=-1;for(var _e250=0;_e250<i.length;_e250++)(null!=_t288?i[_e250].seq==_t288:_h81&&i[_e250].name==_h81)&&(_l70=_e250);if(_l70<0){var _e251=0;for(;_e251<i.length&&(null==_t288||null!=i[_e251].seq&&i[_e251].seq<_t288);)_e251++;i.splice(_e251,0,{seq:_t288,name:_h81}),_l70=_e251;var _iterator216=_createForOfIteratorHelper(r),_step216;try{for(_iterator216.s();!(_step216=_iterator216.n()).done;){var _t289=_step216.value;_t289.field>=_l70&&_t289.field++;}}catch(err){_iterator216.e(err);}finally{_iterator216.f();}}r.push(new Ic(_l70,s.length,e.index,e.index+_h81.length)),_n120=_n120.slice(0,e.index)+_h81+_n120.slice(e.index+e[0].length);}for(var _t290;_t290=/\\([{}])/.exec(_n120);){_n120=_n120.slice(0,_t290.index)+_t290[1]+_n120.slice(_t290.index+_t290[0].length);var _iterator217=_createForOfIteratorHelper(r),_step217;try{for(_iterator217.s();!(_step217=_iterator217.n()).done;){var _e252=_step217.value;_e252.line==s.length&&_e252.from>_t290.index&&(_e252.from--,_e252.to--);}}catch(err){_iterator217.e(err);}finally{_iterator217.f();}}s.push(_n120);}}catch(err){_iterator215.e(err);}finally{_iterator215.f();}return new Tc(s,r);}}]);}();Bc=ni.widget({widget:new(/*#__PURE__*/function(_si8){function _class13(){_classCallCheck(this,_class13);return _callSuper(this,_class13,arguments);}_inherits(_class13,_si8);return _createClass(_class13,[{key:"toDOM",value:function toDOM(){var t=document.createElement("span");return t.className="cm-snippetFieldPosition",t;}},{key:"ignoreEvent",value:function ignoreEvent(){return!1;}}]);}(si))()});Lc=ni.mark({"class":"cm-snippetField"});Nc=/*#__PURE__*/function(){function Nc(t,e){_classCallCheck(this,Nc);this.ranges=t,this.active=e,this.deco=ni.set(t.map(function(t){return(t.from==t.to?Bc:Lc).range(t.from,t.to);}));}return _createClass(Nc,[{key:"map",value:function map(t){var e=[];var _iterator218=_createForOfIteratorHelper(this.ranges),_step218;try{for(_iterator218.s();!(_step218=_iterator218.n()).done;){var _i209=_step218.value;var _s194=_i209.map(t);if(!_s194)return null;e.push(_s194);}}catch(err){_iterator218.e(err);}finally{_iterator218.f();}return new Nc(e,this.active);}},{key:"selectionInsideField",value:function selectionInsideField(t){var _this92=this;return t.ranges.every(function(t){return _this92.ranges.some(function(e){return e.field==_this92.active&&e.from<=t.from&&e.to>=t.to;});});}}]);}();$c=ct.define({map:function map(t,e){return t&&t.map(e);}});jc=ct.define();zc=F.define({create:function create(){return null;},update:function update(t,e){var _iterator219=_createForOfIteratorHelper(e.effects),_step219;try{for(_iterator219.s();!(_step219=_iterator219.n()).done;){var _i210=_step219.value;if(_i210.is($c))return _i210.value;if(_i210.is(jc)&&t)return new Nc(t.ranges,_i210.value);}}catch(err){_iterator219.e(err);}finally{_iterator219.f();}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t;},provide:function provide(t){return Ur.decorations.from(t,function(t){return t?t.deco:ni.none;});}});Vc=[{key:"Tab",run:Wc(1),shift:Wc(-1)},{key:"Escape",run:function run(_ref58){var t=_ref58.state,e=_ref58.dispatch;return!!t.field(zc,!1)&&(e(t.update({effects:$c.of(null)})),!0);}}];Fc=$.define({combine:function combine(t){return t.length?t[0]:Vc;}});qc=_.highest(Zr.compute([Fc],function(t){return t.facet(Fc);}));Jc=Ur.domEventHandlers({mousedown:function mousedown(t,e){var i,s=e.state.field(zc,!1);if(!s||null==(i=e.posAtCoords({x:t.clientX,y:t.clientY})))return!1;var r=s.ranges.find(function(t){return t.from<=i&&t.to>=i;});return!(!r||r.field==s.active)&&(e.dispatch({selection:Pc(s.ranges,r.field),effects:$c.of(s.ranges.some(function(t){return t.field>r.field;})?new Nc(s.ranges,r.field):null),scrollIntoView:!0}),!0);}});Gc={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]};Kc=ct.define({map:function map(t,e){var i=e.mapPos(t,-1,x.TrackAfter);return null==i?void 0:i;}});_c=new(/*#__PURE__*/function(_Ct3){function _class14(){_classCallCheck(this,_class14);return _callSuper(this,_class14,arguments);}_inherits(_class14,_Ct3);return _createClass(_class14);}(Ct))();_c.startSide=1,_c.endSide=-1;Xc=F.define({create:function create(){return It.empty;},update:function update(t,e){if(t=t.map(e.changes),e.selection){var _i212=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:function filter(t){return t>=_i212.from&&t<=_i212.to;}});}var _iterator220=_createForOfIteratorHelper(e.effects),_step220;try{for(_iterator220.s();!(_step220=_iterator220.n()).done;){var _i213=_step220.value;_i213.is(Kc)&&(t=t.update({add:[_c.range(_i213.value,_i213.value+1)]}));}}catch(err){_iterator220.e(err);}finally{_iterator220.f();}return t;}});Yc="()[]{}<>";td="object"==(typeof navigator==="undefined"?"undefined":_typeof(navigator))&&/Android\b/.test(navigator.userAgent);ed=Ur.inputHandler.of(function(t,e,i,s){if((td?t.composing:t.compositionStarted)||t.state.readOnly)return!1;var r=t.state.selection.main;if(s.length>2||2==s.length&&1==y(v(s,0))||e!=r.from||i!=r.to)return!1;var n=function(t,e){var i=Zc(t,t.selection.main.head),s=i.brackets||Gc.brackets;var _iterator221=_createForOfIteratorHelper(s),_step221;try{for(_iterator221.s();!(_step221=_iterator221.n()).done;){var _r153=_step221.value;var _n121=Qc(v(_r153,0));if(e==_r153)return _n121==_r153?ld(t,_r153,s.indexOf(_r153+_r153+_r153)>-1,i):nd(t,_r153,_n121,i.before||Gc.before);if(e==_n121&&sd(t,t.selection.main.from))return hd(t,_r153,_n121);}}catch(err){_iterator221.e(err);}finally{_iterator221.f();}return null;}(t.state,s);return!!n&&(t.dispatch(n),!0);});id=[{key:"Backspace",run:function run(_ref59){var t=_ref59.state,e=_ref59.dispatch;if(t.readOnly)return!1;var i=Zc(t,t.selection.main.head).brackets||Gc.brackets,s=null,r=t.changeByRange(function(e){if(e.empty){var _s195=function(t,e){var i=t.sliceString(e-2,e);return y(v(i,0))==i.length?i:i.slice(1);}(t.doc,e.head);var _iterator222=_createForOfIteratorHelper(i),_step222;try{for(_iterator222.s();!(_step222=_iterator222.n()).done;){var _r154=_step222.value;if(_r154==_s195&&rd(t.doc,e.head)==Qc(v(_r154,0)))return{changes:{from:e.head-_r154.length,to:e.head+_r154.length},range:B.cursor(e.head-_r154.length)};}}catch(err){_iterator222.e(err);}finally{_iterator222.f();}}return{range:s=e};});return s||e(t.update(r,{scrollIntoView:!0,userEvent:"delete.backward"})),!s;}}];ad=[{key:"Ctrl-Space",run:function run(t){return!!t.state.field(yc,!1)&&(t.dispatch({effects:tc.of(!0)}),!0);}},{key:"Escape",run:function run(t){var e=t.state.field(yc,!1);return!(!e||!e.active.some(function(t){return 0!=t.state;}))&&(t.dispatch({effects:ec.of(null)}),!0);}},{key:"ArrowDown",run:Sc(!0)},{key:"ArrowUp",run:Sc(!1)},{key:"PageDown",run:Sc(!0,"page")},{key:"PageUp",run:Sc(!1,"page")},{key:"Enter",run:function run(t){var e=t.state.field(yc,!1);return!(t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(rc).interactionDelay)&&Mc(t,e.open.options[e.open.selected]);}}];cd=_.highest(Zr.computeN([rc],function(t){return t.facet(rc).defaultKeymap?[ad]:[];}));dd=/*#__PURE__*/_createClass(function dd(t,e,i){_classCallCheck(this,dd);this.from=t,this.to=e,this.diagnostic=i;});pd=/*#__PURE__*/function(){function pd(t,e,i){_classCallCheck(this,pd);this.diagnostics=t,this.panel=e,this.selected=i;}return _createClass(pd,null,[{key:"init",value:function init(t,e,i){var s=t,r=i.facet(Ad).markerFilter;r&&(s=r(s,i));var n=ni.set(s.map(function(t){return t.from==t.to||t.from==t.to-1&&i.doc.lineAt(t.from).to==t.from?ni.widget({widget:new Od(t),diagnostic:t}).range(t.from):ni.mark({attributes:{"class":"cm-lintRange cm-lintRange-"+t.severity+(t.markClass?" "+t.markClass:"")},diagnostic:t,inclusive:!0}).range(t.from,t.to);}),!0);return new pd(n,e,md(n));}}]);}();gd=ct.define();wd=ct.define();bd=ct.define();vd=F.define({create:function create(){return new pd(ni.none,null,null);},update:function update(t,e){if(e.docChanged){var _i215=t.diagnostics.map(e.changes),_s197=null;if(t.selected){var _r156=e.changes.mapPos(t.selected.from,1);_s197=md(_i215,t.selected.diagnostic,_r156)||md(_i215,null,_r156);}t=new pd(_i215,t.panel,_s197);}var _iterator224=_createForOfIteratorHelper(e.effects),_step224;try{for(_iterator224.s();!(_step224=_iterator224.n()).done;){var _i216=_step224.value;_i216.is(gd)?t=pd.init(_i216.value,t.panel,e.state):_i216.is(wd)?t=new pd(t.diagnostics,_i216.value?Id.open:null,t.selected):_i216.is(bd)&&(t=new pd(t.diagnostics,t.panel,_i216.value));}}catch(err){_iterator224.e(err);}finally{_iterator224.f();}return t;},provide:function provide(t){return[oh.from(t,function(t){return t.panel;}),Ur.decorations.from(t,function(t){return t.diagnostics;})];}});kd=ni.mark({"class":"cm-lintRange cm-lintRange-active",inclusive:!0});xd=function xd(t){var e=t.state.field(vd,!1);return!(!e||!e.panel)&&(t.dispatch({effects:wd.of(!1)}),!0);};Sd=[{key:"Mod-Shift-m",run:function run(t){var e=t.state.field(vd,!1);var i,s;e&&e.panel||t.dispatch({effects:(i=t.state,s=[wd.of(!0)],i.field(vd,!1)?s:s.concat(ct.appendConfig.of(Bd)))});var r=rh(t,Id.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0;},preventDefault:!0},{key:"F8",run:function run(t){var e=t.state.field(vd,!1);if(!e)return!1;var i=t.state.selection.main,s=e.diagnostics.iter(i.to+1);return!(!s.value&&(s=e.diagnostics.iter(0),!s.value||s.from==i.from&&s.to==i.to))&&(t.dispatch({selection:{anchor:s.from,head:s.to},scrollIntoView:!0}),!0);}}];Ad=$.define({combine:function combine(t){return Object.assign({sources:t.map(function(t){return t.source;}).filter(function(t){return null!=t;})},At(t.map(function(t){return t.config;}),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:function hideOn(){return null;}},{needsRefresh:function needsRefresh(t,e){return t?e?function(i){return t(i)||e(i);}:t:e;}}));}});Od=/*#__PURE__*/function(_si9){function Od(t){var _this93;_classCallCheck(this,Od);_this93=_callSuper(this,Od),_this93.diagnostic=t;return _this93;}_inherits(Od,_si9);return _createClass(Od,[{key:"eq",value:function eq(t){return t.diagnostic==this.diagnostic;}},{key:"toDOM",value:function toDOM(){return Hf("span",{"class":"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity});}}]);}(si);Ed=/*#__PURE__*/_createClass(function Ed(t,e){_classCallCheck(this,Ed);this.diagnostic=e,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Dd(t,e,!0),this.dom.id=this.id,this.dom.setAttribute("role","option");});Id=/*#__PURE__*/function(){function Id(t){var _this94=this;_classCallCheck(this,Id);this.view=t,this.items=[];this.list=Hf("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:function onkeydown(e){if(27==e.keyCode)xd(_this94.view),_this94.view.focus();else if(38==e.keyCode||33==e.keyCode)_this94.moveSelection((_this94.selectedIndex-1+_this94.items.length)%_this94.items.length);else if(40==e.keyCode||34==e.keyCode)_this94.moveSelection((_this94.selectedIndex+1)%_this94.items.length);else if(36==e.keyCode)_this94.moveSelection(0);else if(35==e.keyCode)_this94.moveSelection(_this94.items.length-1);else if(13==e.keyCode)_this94.view.focus();else{if(!(e.keyCode>=65&&e.keyCode<=90&&_this94.selectedIndex>=0))return;{var _i218=_this94.items[_this94.selectedIndex].diagnostic,_s198=Cd(_i218.actions);for(var _r157=0;_r157<_s198.length;_r157++)if(_s198[_r157].toUpperCase().charCodeAt(0)==e.keyCode){var _e255=md(_this94.view.state.field(vd).diagnostics,_i218);_e255&&_i218.actions[_r157].apply(t,_e255.from,_e255.to);}}}e.preventDefault();},onclick:function onclick(t){for(var _e256=0;_e256<_this94.items.length;_e256++)_this94.items[_e256].dom.contains(t.target)&&_this94.moveSelection(_e256);}}),this.dom=Hf("div",{"class":"cm-panel-lint"},this.list,Hf("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:function onclick(){return xd(_this94.view);}},"×")),this.update();}return _createClass(Id,[{key:"selectedIndex",get:function get(){var t=this.view.state.field(vd).selected;if(!t)return-1;for(var _e257=0;_e257<this.items.length;_e257++)if(this.items[_e257].diagnostic==t.diagnostic)return _e257;return-1;}},{key:"update",value:function update(){var _this95=this;var _this$view$state$fiel=this.view.state.field(vd),t=_this$view$state$fiel.diagnostics,e=_this$view$state$fiel.selected,i=0,s=!1,r=null;for(t.between(0,this.view.state.doc.length,function(t,n,_ref62){var h=_ref62.spec;var l,o=-1;for(var _t293=i;_t293<_this95.items.length;_t293++)if(_this95.items[_t293].diagnostic==h.diagnostic){o=_t293;break;}o<0?(l=new Ed(_this95.view,h.diagnostic),_this95.items.splice(i,0,l),s=!0):(l=_this95.items[o],o>i&&(_this95.items.splice(i,o-i),s=!0)),e&&l.diagnostic==e.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),r=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),i++;});i<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)s=!0,this.items.pop();0==this.items.length&&(this.items.push(new Ed(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),s=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:function read(){return{sel:r.dom.getBoundingClientRect(),panel:_this95.list.getBoundingClientRect()};},write:function write(_ref63){var t=_ref63.sel,e=_ref63.panel;var i=e.height/_this95.list.offsetHeight;t.top<e.top?_this95.list.scrollTop-=(e.top-t.top)/i:t.bottom>e.bottom&&(_this95.list.scrollTop+=(t.bottom-e.bottom)/i);}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),s&&this.sync();}},{key:"sync",value:function sync(){var t=this.list.firstChild;function e(){var e=t;t=e.nextSibling,e.remove();}var _iterator226=_createForOfIteratorHelper(this.items),_step226;try{for(_iterator226.s();!(_step226=_iterator226.n()).done;){var _i219=_step226.value;if(_i219.dom.parentNode==this.list){for(;t!=_i219.dom;)e();t=_i219.dom.nextSibling;}else this.list.insertBefore(_i219.dom,t);}}catch(err){_iterator226.e(err);}finally{_iterator226.f();}for(;t;)e();}},{key:"moveSelection",value:function moveSelection(t){if(this.selectedIndex<0)return;var e=md(this.view.state.field(vd).diagnostics,this.items[t].diagnostic);e&&this.view.dispatch({selection:{anchor:e.from,head:e.to},scrollIntoView:!0,effects:bd.of(e)});}}],[{key:"open",value:function open(t){return new Id(t);}}]);}();Td=Ur.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Rd("#d11")},".cm-lintRange-warning":{backgroundImage:Rd("orange")},".cm-lintRange-info":{backgroundImage:Rd("#999")},".cm-lintRange-hint":{backgroundImage:Rd("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});Bd=[vd,Ur.decorations.compute([vd],function(t){var _t$field=t.field(vd),e=_t$field.selected,i=_t$field.panel;return e&&i&&e.from!=e.to?ni.set([kd.range(e.from,e.to)]):ni.none;}),th(yd,{hideOn:function hideOn(t,e){var i=e.pos,s=e.end||i,r=t.state.facet(Ad).hideOn(t,i,s);if(null!=r)return r;var n=t.startState.doc.lineAt(e.pos);return!(!t.effects.some(function(t){return t.is(gd);})&&!t.changes.touchesRange(n.from,Math.max(n.to,s)));}}),Td];Ld=function Ld(t){return void 0===t||t;};_export("u",Nd=function Nd(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var e=[];Ld(t.defaultKeymap)&&e.push.apply(e,_toConsumableArray(Pf)),Ld(t.closeBracketsKeymap)&&e.push.apply(e,id),Ld(t.searchKeymap)&&e.push.apply(e,$a),Ld(t.historyKeymap)&&e.push.apply(e,qu),Ld(t.foldKeymap)&&e.push.apply(e,Ro),Ld(t.lintKeymap)&&e.push.apply(e,Sd);var i=[];return Ld(t.lineNumbers)&&i.push(Dh()),Ld(t.highlightActiveLineGutter)&&i.push(Ih),Ld(t.highlightSpecialChars)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[En.of(t),In||(In=_i.fromClass(/*#__PURE__*/function(){function _class15(t){_classCallCheck(this,_class15);this.view=t,this.decorations=ni.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(En)),this.decorations=this.decorator.createDeco(t);}return _createClass(_class15,[{key:"makeDecorator",value:function makeDecorator(t){var _this96=this;return new Sn({regexp:t.specialChars,decoration:function decoration(e,i,s){var r=i.state.doc,n=v(e[0],0);if(9==n){var _t294=r.lineAt(s),_e258=i.state.tabSize,_n122=Vt(_t294.text,_e258,s-_t294.from);return ni.replace({widget:new Tn((_e258-_n122%_e258)*_this96.view.defaultCharacterWidth/_this96.view.scaleX)});}return _this96.decorationCache[n]||(_this96.decorationCache[n]=ni.replace({widget:new Rn(t,n)}));},boundary:t.replaceTabs?void 0:/[^]/});}},{key:"update",value:function update(t){var e=t.state.facet(En);t.startState.facet(En)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations);}}]);}(),{decorations:function decorations(t){return t.decorations;}}))];}()),Ld(t.history)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[Du,Cu.of(t),Ur.domEventHandlers({beforeinput:function beforeinput(t,e){var i="historyUndo"==t.inputType?Eu:"historyRedo"==t.inputType?Iu:null;return!!i&&(t.preventDefault(),i(e));}})];}()),Ld(t.foldGutter)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var e=Object.assign(Object.assign({},zo),t),i=new Po(e,!0),s=new Po(e,!1),r=_i.fromClass(/*#__PURE__*/function(){function _class16(t){_classCallCheck(this,_class16);this.from=t.viewport.from,this.markers=this.buildMarkers(t);}return _createClass(_class16,[{key:"update",value:function update(t){(t.docChanged||t.viewportChanged||t.startState.facet(Ql)!=t.state.facet(Ql)||t.startState.field(Co,!1)!=t.state.field(Co,!1)||Fl(t.startState)!=Fl(t.state)||e.foldingChanged(t))&&(this.markers=this.buildMarkers(t.view));}},{key:"buildMarkers",value:function buildMarkers(t){var e=new Rt();var _iterator227=_createForOfIteratorHelper(t.viewportLineBlocks),_step227;try{for(_iterator227.s();!(_step227=_iterator227.n()).done;){var _r158=_step227.value;var _n123=Do(t.state,_r158.from,_r158.to)?s:yo(t.state,_r158.from,_r158.to)?i:null;_n123&&e.add(_r158.from,_r158.from,_n123);}}catch(err){_iterator227.e(err);}finally{_iterator227.f();}return e.finish();}}]);}()),n=e.domEventHandlers;return[r,dh({"class":"cm-foldGutter",markers:function markers(t){var e;return(null===(e=t.plugin(r))||void 0===e?void 0:e.markers)||It.empty;},initialSpacer:function initialSpacer(){return new Po(e,!1);},domEventHandlers:Object.assign(Object.assign({},n),{click:function click(t,e,i){if(n.click&&n.click(t,e,i))return!0;var s=Do(t.state,e.from,e.to);if(s)return t.dispatch({effects:So.of(s)}),!0;var r=yo(t.state,e.from,e.to);return!!r&&(t.dispatch({effects:xo.of(r)}),!0);}})}),Lo()];}()),Ld(t.drawSelection)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[dn.of(t),mn,wn,vn,Wi.of(!0)];}()),Ld(t.dropCursor)&&i.push([yn,Mn]),Ld(t.allowMultipleSelections)&&i.push(St.allowMultipleSelections.of(!0)),Ld(t.indentOnInput)&&i.push(St.transactionFilter.of(function(t){if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;var e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;var i=t.newDoc,s=t.newSelection.main.head,r=i.lineAt(s);if(s>r.from+200)return t;var n=i.sliceString(r.from,s);if(!e.some(function(t){return t.test(n);}))return t;var h=t.state,l=-1,o=[];var _iterator228=_createForOfIteratorHelper(h.selection.ranges),_step228;try{for(_iterator228.s();!(_step228=_iterator228.n()).done;){var _t295=_step228.value.head;var _e259=h.doc.lineAt(_t295);if(_e259.from==l)continue;l=_e259.from;var _i220=ro(h,_e259.from);if(null==_i220)continue;var _s199=/^\s*/.exec(_e259.text)[0],_r159=so(h,_i220);_s199!=_r159&&o.push({from:_e259.from,to:_e259.from+_s199.length,insert:_r159});}}catch(err){_iterator228.e(err);}finally{_iterator228.f();}return o.length?[t,{changes:o,sequential:!0}]:t;})),Ld(t.syntaxHighlighting)&&i.push(function(t,e){var i,s=[Jo];return t instanceof Wo&&(t.module&&s.push(Ur.styleModule.of(t.module)),i=t.themeType),(null==e?void 0:e.fallback)?s.push(Fo.of(t)):i?s.push(Vo.computeN([Ur.darkTheme],function(e){return e.facet(Ur.darkTheme)==("dark"==i)?[t]:[];})):s.push(Vo.of(t)),s;}(Go,{fallback:!0})),Ld(t.bracketMatching)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[Yo.of(t),iu];}()),Ld(t.closeBrackets)&&i.push([ed,Xc]),Ld(t.autocompletion)&&i.push(fd()),Ld(t.rectangularSelection)&&i.push(function(t){var e=(null==t?void 0:t.eventFilter)||function(t){return t.altKey&&0==t.button;};return Ur.mouseSelectionStyle.of(function(t,i){return e(i)?jn(t,i):null;});}()),Ld(t.crosshairCursor)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var _zn=_slicedToArray(zn[t.key||"Alt"],2),e=_zn[0],i=_zn[1],s=_i.fromClass(/*#__PURE__*/function(){function _class17(t){_classCallCheck(this,_class17);this.view=t,this.isDown=!1;}return _createClass(_class17,[{key:"set",value:function set(t){this.isDown!=t&&(this.isDown=t,this.view.update([]));}}]);}(),{eventObservers:{keydown:function keydown(t){this.set(t.keyCode==e||i(t));},keyup:function keyup(t){t.keyCode!=e&&i(t)||this.set(!1);},mousemove:function mousemove(t){this.set(i(t));}}});return[s,Ur.contentAttributes.of(function(t){var e;return(null===(e=t.plugin(s))||void 0===e?void 0:e.isDown)?Pn:null;})];}()),Ld(t.highlightActiveLine)&&i.push(Ln),Ld(t.highlightSelectionMatches)&&i.push(function(t){var e=[la,ha];return t&&e.push(ia.of(t)),e;}()),t.tabSize&&"number"==typeof t.tabSize&&i.push(eo.of(" ".repeat(t.tabSize))),i.concat([Zr.of(e.flat())]).filter(Boolean);});}};});
6
+ }}var n=_this89.view.state.field(yc).active.find(function(t){return t.source==r.active.source;});if(n&&1==n.state)if(null==r.done){var _t287=new wc(r.active.source,0);var _iterator213=_createForOfIteratorHelper(r.updates),_step213;try{for(_iterator213.s();!(_step213=_iterator213.n()).done;){var _e248=_step213.value;_t287=_t287.update(_e248,i);}}catch(err){_iterator213.e(err);}finally{_iterator213.f();}1!=_t287.state&&e.push(_t287);}else _this89.startQuery(n);_s191=_s192;},_ret3;for(var _s191=0;_s191<this.running.length;_s191++){_ret3=_loop16(_s191);if(_ret3===0)continue;}e.length&&this.view.dispatch({effects:vc.of(e)});}}]);}(),{eventHandlers:{blur:function blur(t){var _this90=this;var e=this.view.state.field(yc,!1);if(e&&e.tooltip&&this.view.state.facet(rc).closeOnBlur){var _i207=e.open&&eh(this.view,e.open.tooltip);_i207&&_i207.dom.contains(t.relatedTarget)||setTimeout(function(){return _this90.view.dispatch({effects:ec.of(null)});},10);}},compositionstart:function compositionstart(){this.composing=1;},compositionend:function compositionend(){var _this91=this;3==this.composing&&setTimeout(function(){return _this91.view.dispatch({effects:tc.of(!1)});},20),this.composing=0;}}});Dc="object"==(typeof navigator==="undefined"?"undefined":_typeof(navigator))&&/Win/.test(navigator.platform);Oc=_.highest(Ur.domEventHandlers({keydown:function keydown(t,e){var i=e.state.field(yc,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&(!Dc||!t.altKey)||t.metaKey)return!1;var s=i.open.options[i.open.selected],r=i.active.find(function(t){return t.source==s.source;}),n=s.completion.commitCharacters||r.result.commitCharacters;return n&&n.indexOf(t.key)>-1&&Mc(e,s),!1;}}));Ec=Ur.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});Ic=/*#__PURE__*/_createClass(function Ic(t,e,i,s){_classCallCheck(this,Ic);this.field=t,this.line=e,this.from=i,this.to=s;});Rc=/*#__PURE__*/function(){function Rc(t,e,i){_classCallCheck(this,Rc);this.field=t,this.from=e,this.to=i;}return _createClass(Rc,[{key:"map",value:function map(t){var e=t.mapPos(this.from,-1,x.TrackDel),i=t.mapPos(this.to,1,x.TrackDel);return null==e||null==i?null:new Rc(this.field,e,i);}}]);}();Tc=/*#__PURE__*/function(){function Tc(t,e){_classCallCheck(this,Tc);this.lines=t,this.fieldPositions=e;}return _createClass(Tc,[{key:"instantiate",value:function instantiate(t,e){var i=[],s=[e],r=t.doc.lineAt(e),n=/^\s*/.exec(r.text)[0];var _iterator214=_createForOfIteratorHelper(this.lines),_step214;try{for(_iterator214.s();!(_step214=_iterator214.n()).done;){var _r152=_step214.value;if(i.length){var _i208=n,_h80=/^\t*/.exec(_r152)[0].length;for(var _e249=0;_e249<_h80;_e249++)_i208+=t.facet(eo);s.push(e+_i208.length-_h80),_r152=_i208+_r152.slice(_h80);}i.push(_r152),e+=_r152.length+1;}}catch(err){_iterator214.e(err);}finally{_iterator214.f();}var h=this.fieldPositions.map(function(t){return new Rc(t.field,s[t.line]+t.from,s[t.line]+t.to);});return{text:i,ranges:h};}}],[{key:"parse",value:function parse(t){var e,i=[],s=[],r=[];var _iterator215=_createForOfIteratorHelper(t.split(/\r\n?|\n/)),_step215;try{for(_iterator215.s();!(_step215=_iterator215.n()).done;){var _n120=_step215.value;for(;e=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(_n120);){var _t288=e[1]?+e[1]:null,_h81=e[2]||e[3]||"",_l70=-1;for(var _e250=0;_e250<i.length;_e250++)(null!=_t288?i[_e250].seq==_t288:_h81&&i[_e250].name==_h81)&&(_l70=_e250);if(_l70<0){var _e251=0;for(;_e251<i.length&&(null==_t288||null!=i[_e251].seq&&i[_e251].seq<_t288);)_e251++;i.splice(_e251,0,{seq:_t288,name:_h81}),_l70=_e251;var _iterator216=_createForOfIteratorHelper(r),_step216;try{for(_iterator216.s();!(_step216=_iterator216.n()).done;){var _t289=_step216.value;_t289.field>=_l70&&_t289.field++;}}catch(err){_iterator216.e(err);}finally{_iterator216.f();}}r.push(new Ic(_l70,s.length,e.index,e.index+_h81.length)),_n120=_n120.slice(0,e.index)+_h81+_n120.slice(e.index+e[0].length);}for(var _t290;_t290=/\\([{}])/.exec(_n120);){_n120=_n120.slice(0,_t290.index)+_t290[1]+_n120.slice(_t290.index+_t290[0].length);var _iterator217=_createForOfIteratorHelper(r),_step217;try{for(_iterator217.s();!(_step217=_iterator217.n()).done;){var _e252=_step217.value;_e252.line==s.length&&_e252.from>_t290.index&&(_e252.from--,_e252.to--);}}catch(err){_iterator217.e(err);}finally{_iterator217.f();}}s.push(_n120);}}catch(err){_iterator215.e(err);}finally{_iterator215.f();}return new Tc(s,r);}}]);}();Bc=ni.widget({widget:new(/*#__PURE__*/function(_si8){function _class13(){_classCallCheck(this,_class13);return _callSuper(this,_class13,arguments);}_inherits(_class13,_si8);return _createClass(_class13,[{key:"toDOM",value:function toDOM(){var t=document.createElement("span");return t.className="cm-snippetFieldPosition",t;}},{key:"ignoreEvent",value:function ignoreEvent(){return!1;}}]);}(si))()});Lc=ni.mark({"class":"cm-snippetField"});Nc=/*#__PURE__*/function(){function Nc(t,e){_classCallCheck(this,Nc);this.ranges=t,this.active=e,this.deco=ni.set(t.map(function(t){return(t.from==t.to?Bc:Lc).range(t.from,t.to);}));}return _createClass(Nc,[{key:"map",value:function map(t){var e=[];var _iterator218=_createForOfIteratorHelper(this.ranges),_step218;try{for(_iterator218.s();!(_step218=_iterator218.n()).done;){var _i209=_step218.value;var _s194=_i209.map(t);if(!_s194)return null;e.push(_s194);}}catch(err){_iterator218.e(err);}finally{_iterator218.f();}return new Nc(e,this.active);}},{key:"selectionInsideField",value:function selectionInsideField(t){var _this92=this;return t.ranges.every(function(t){return _this92.ranges.some(function(e){return e.field==_this92.active&&e.from<=t.from&&e.to>=t.to;});});}}]);}();$c=ct.define({map:function map(t,e){return t&&t.map(e);}});jc=ct.define();zc=F.define({create:function create(){return null;},update:function update(t,e){var _iterator219=_createForOfIteratorHelper(e.effects),_step219;try{for(_iterator219.s();!(_step219=_iterator219.n()).done;){var _i210=_step219.value;if(_i210.is($c))return _i210.value;if(_i210.is(jc)&&t)return new Nc(t.ranges,_i210.value);}}catch(err){_iterator219.e(err);}finally{_iterator219.f();}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t;},provide:function provide(t){return Ur.decorations.from(t,function(t){return t?t.deco:ni.none;});}});Vc=[{key:"Tab",run:Wc(1),shift:Wc(-1)},{key:"Escape",run:function run(_ref58){var t=_ref58.state,e=_ref58.dispatch;return!!t.field(zc,!1)&&(e(t.update({effects:$c.of(null)})),!0);}}];Fc=$.define({combine:function combine(t){return t.length?t[0]:Vc;}});qc=_.highest(Zr.compute([Fc],function(t){return t.facet(Fc);}));Jc=Ur.domEventHandlers({mousedown:function mousedown(t,e){var i,s=e.state.field(zc,!1);if(!s||null==(i=e.posAtCoords({x:t.clientX,y:t.clientY})))return!1;var r=s.ranges.find(function(t){return t.from<=i&&t.to>=i;});return!(!r||r.field==s.active)&&(e.dispatch({selection:Pc(s.ranges,r.field),effects:$c.of(s.ranges.some(function(t){return t.field>r.field;})?new Nc(s.ranges,r.field):null),scrollIntoView:!0}),!0);}});Gc={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]};Kc=ct.define({map:function map(t,e){var i=e.mapPos(t,-1,x.TrackAfter);return null==i?void 0:i;}});_c=new(/*#__PURE__*/function(_Ct3){function _class14(){_classCallCheck(this,_class14);return _callSuper(this,_class14,arguments);}_inherits(_class14,_Ct3);return _createClass(_class14);}(Ct))();_c.startSide=1,_c.endSide=-1;Xc=F.define({create:function create(){return It.empty;},update:function update(t,e){if(t=t.map(e.changes),e.selection){var _i212=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:function filter(t){return t>=_i212.from&&t<=_i212.to;}});}var _iterator220=_createForOfIteratorHelper(e.effects),_step220;try{for(_iterator220.s();!(_step220=_iterator220.n()).done;){var _i213=_step220.value;_i213.is(Kc)&&(t=t.update({add:[_c.range(_i213.value,_i213.value+1)]}));}}catch(err){_iterator220.e(err);}finally{_iterator220.f();}return t;}});Yc="()[]{}<>";td="object"==(typeof navigator==="undefined"?"undefined":_typeof(navigator))&&/Android\b/.test(navigator.userAgent);ed=Ur.inputHandler.of(function(t,e,i,s){if((td?t.composing:t.compositionStarted)||t.state.readOnly)return!1;var r=t.state.selection.main;if(s.length>2||2==s.length&&1==y(v(s,0))||e!=r.from||i!=r.to)return!1;var n=function(t,e){var i=Zc(t,t.selection.main.head),s=i.brackets||Gc.brackets;var _iterator221=_createForOfIteratorHelper(s),_step221;try{for(_iterator221.s();!(_step221=_iterator221.n()).done;){var _r153=_step221.value;var _n121=Qc(v(_r153,0));if(e==_r153)return _n121==_r153?ld(t,_r153,s.indexOf(_r153+_r153+_r153)>-1,i):nd(t,_r153,_n121,i.before||Gc.before);if(e==_n121&&sd(t,t.selection.main.from))return hd(t,_r153,_n121);}}catch(err){_iterator221.e(err);}finally{_iterator221.f();}return null;}(t.state,s);return!!n&&(t.dispatch(n),!0);});id=[{key:"Backspace",run:function run(_ref59){var t=_ref59.state,e=_ref59.dispatch;if(t.readOnly)return!1;var i=Zc(t,t.selection.main.head).brackets||Gc.brackets,s=null,r=t.changeByRange(function(e){if(e.empty){var _s195=function(t,e){var i=t.sliceString(e-2,e);return y(v(i,0))==i.length?i:i.slice(1);}(t.doc,e.head);var _iterator222=_createForOfIteratorHelper(i),_step222;try{for(_iterator222.s();!(_step222=_iterator222.n()).done;){var _r154=_step222.value;if(_r154==_s195&&rd(t.doc,e.head)==Qc(v(_r154,0)))return{changes:{from:e.head-_r154.length,to:e.head+_r154.length},range:B.cursor(e.head-_r154.length)};}}catch(err){_iterator222.e(err);}finally{_iterator222.f();}}return{range:s=e};});return s||e(t.update(r,{scrollIntoView:!0,userEvent:"delete.backward"})),!s;}}];ad=[{key:"Ctrl-Space",run:function run(t){return!!t.state.field(yc,!1)&&(t.dispatch({effects:tc.of(!0)}),!0);}},{key:"Escape",run:function run(t){var e=t.state.field(yc,!1);return!(!e||!e.active.some(function(t){return 0!=t.state;}))&&(t.dispatch({effects:ec.of(null)}),!0);}},{key:"ArrowDown",run:Sc(!0)},{key:"ArrowUp",run:Sc(!1)},{key:"PageDown",run:Sc(!0,"page")},{key:"PageUp",run:Sc(!1,"page")},{key:"Enter",run:function run(t){var e=t.state.field(yc,!1);return!(t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(rc).interactionDelay)&&Mc(t,e.open.options[e.open.selected]);}}];cd=_.highest(Zr.computeN([rc],function(t){return t.facet(rc).defaultKeymap?[ad]:[];}));dd=/*#__PURE__*/_createClass(function dd(t,e,i){_classCallCheck(this,dd);this.from=t,this.to=e,this.diagnostic=i;});pd=/*#__PURE__*/function(){function pd(t,e,i){_classCallCheck(this,pd);this.diagnostics=t,this.panel=e,this.selected=i;}return _createClass(pd,null,[{key:"init",value:function init(t,e,i){var s=t,r=i.facet(Ad).markerFilter;r&&(s=r(s,i));var n=ni.set(s.map(function(t){return t.from==t.to||t.from==t.to-1&&i.doc.lineAt(t.from).to==t.from?ni.widget({widget:new Od(t),diagnostic:t}).range(t.from):ni.mark({attributes:{"class":"cm-lintRange cm-lintRange-"+t.severity+(t.markClass?" "+t.markClass:"")},diagnostic:t,inclusive:!0}).range(t.from,t.to);}),!0);return new pd(n,e,md(n));}}]);}();gd=ct.define();wd=ct.define();bd=ct.define();vd=F.define({create:function create(){return new pd(ni.none,null,null);},update:function update(t,e){if(e.docChanged){var _i215=t.diagnostics.map(e.changes),_s197=null;if(t.selected){var _r156=e.changes.mapPos(t.selected.from,1);_s197=md(_i215,t.selected.diagnostic,_r156)||md(_i215,null,_r156);}t=new pd(_i215,t.panel,_s197);}var _iterator224=_createForOfIteratorHelper(e.effects),_step224;try{for(_iterator224.s();!(_step224=_iterator224.n()).done;){var _i216=_step224.value;_i216.is(gd)?t=pd.init(_i216.value,t.panel,e.state):_i216.is(wd)?t=new pd(t.diagnostics,_i216.value?Id.open:null,t.selected):_i216.is(bd)&&(t=new pd(t.diagnostics,t.panel,_i216.value));}}catch(err){_iterator224.e(err);}finally{_iterator224.f();}return t;},provide:function provide(t){return[oh.from(t,function(t){return t.panel;}),Ur.decorations.from(t,function(t){return t.diagnostics;})];}});kd=ni.mark({"class":"cm-lintRange cm-lintRange-active",inclusive:!0});xd=function xd(t){var e=t.state.field(vd,!1);return!(!e||!e.panel)&&(t.dispatch({effects:wd.of(!1)}),!0);};Sd=[{key:"Mod-Shift-m",run:function run(t){var e=t.state.field(vd,!1);var i,s;e&&e.panel||t.dispatch({effects:(i=t.state,s=[wd.of(!0)],i.field(vd,!1)?s:s.concat(ct.appendConfig.of(Bd)))});var r=rh(t,Id.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0;},preventDefault:!0},{key:"F8",run:function run(t){var e=t.state.field(vd,!1);if(!e)return!1;var i=t.state.selection.main,s=e.diagnostics.iter(i.to+1);return!(!s.value&&(s=e.diagnostics.iter(0),!s.value||s.from==i.from&&s.to==i.to))&&(t.dispatch({selection:{anchor:s.from,head:s.to},scrollIntoView:!0}),!0);}}];Ad=$.define({combine:function combine(t){return Object.assign({sources:t.map(function(t){return t.source;}).filter(function(t){return null!=t;})},At(t.map(function(t){return t.config;}),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:function hideOn(){return null;}},{needsRefresh:function needsRefresh(t,e){return t?e?function(i){return t(i)||e(i);}:t:e;}}));}});Od=/*#__PURE__*/function(_si9){function Od(t){var _this93;_classCallCheck(this,Od);_this93=_callSuper(this,Od),_this93.diagnostic=t;return _this93;}_inherits(Od,_si9);return _createClass(Od,[{key:"eq",value:function eq(t){return t.diagnostic==this.diagnostic;}},{key:"toDOM",value:function toDOM(){return Hf("span",{"class":"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity});}}]);}(si);Ed=/*#__PURE__*/_createClass(function Ed(t,e){_classCallCheck(this,Ed);this.diagnostic=e,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Dd(t,e,!0),this.dom.id=this.id,this.dom.setAttribute("role","option");});Id=/*#__PURE__*/function(){function Id(t){var _this94=this;_classCallCheck(this,Id);this.view=t,this.items=[];this.list=Hf("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:function onkeydown(e){if(27==e.keyCode)xd(_this94.view),_this94.view.focus();else if(38==e.keyCode||33==e.keyCode)_this94.moveSelection((_this94.selectedIndex-1+_this94.items.length)%_this94.items.length);else if(40==e.keyCode||34==e.keyCode)_this94.moveSelection((_this94.selectedIndex+1)%_this94.items.length);else if(36==e.keyCode)_this94.moveSelection(0);else if(35==e.keyCode)_this94.moveSelection(_this94.items.length-1);else if(13==e.keyCode)_this94.view.focus();else{if(!(e.keyCode>=65&&e.keyCode<=90&&_this94.selectedIndex>=0))return;{var _i218=_this94.items[_this94.selectedIndex].diagnostic,_s198=Cd(_i218.actions);for(var _r157=0;_r157<_s198.length;_r157++)if(_s198[_r157].toUpperCase().charCodeAt(0)==e.keyCode){var _e255=md(_this94.view.state.field(vd).diagnostics,_i218);_e255&&_i218.actions[_r157].apply(t,_e255.from,_e255.to);}}}e.preventDefault();},onclick:function onclick(t){for(var _e256=0;_e256<_this94.items.length;_e256++)_this94.items[_e256].dom.contains(t.target)&&_this94.moveSelection(_e256);}}),this.dom=Hf("div",{"class":"cm-panel-lint"},this.list,Hf("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:function onclick(){return xd(_this94.view);}},"×")),this.update();}return _createClass(Id,[{key:"selectedIndex",get:function get(){var t=this.view.state.field(vd).selected;if(!t)return-1;for(var _e257=0;_e257<this.items.length;_e257++)if(this.items[_e257].diagnostic==t.diagnostic)return _e257;return-1;}},{key:"update",value:function update(){var _this95=this;var _this$view$state$fiel=this.view.state.field(vd),t=_this$view$state$fiel.diagnostics,e=_this$view$state$fiel.selected,i=0,s=!1,r=null;for(t.between(0,this.view.state.doc.length,function(t,n,_ref62){var h=_ref62.spec;var l,o=-1;for(var _t293=i;_t293<_this95.items.length;_t293++)if(_this95.items[_t293].diagnostic==h.diagnostic){o=_t293;break;}o<0?(l=new Ed(_this95.view,h.diagnostic),_this95.items.splice(i,0,l),s=!0):(l=_this95.items[o],o>i&&(_this95.items.splice(i,o-i),s=!0)),e&&l.diagnostic==e.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),r=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),i++;});i<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)s=!0,this.items.pop();0==this.items.length&&(this.items.push(new Ed(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),s=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:function read(){return{sel:r.dom.getBoundingClientRect(),panel:_this95.list.getBoundingClientRect()};},write:function write(_ref63){var t=_ref63.sel,e=_ref63.panel;var i=e.height/_this95.list.offsetHeight;t.top<e.top?_this95.list.scrollTop-=(e.top-t.top)/i:t.bottom>e.bottom&&(_this95.list.scrollTop+=(t.bottom-e.bottom)/i);}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),s&&this.sync();}},{key:"sync",value:function sync(){var t=this.list.firstChild;function e(){var e=t;t=e.nextSibling,e.remove();}var _iterator226=_createForOfIteratorHelper(this.items),_step226;try{for(_iterator226.s();!(_step226=_iterator226.n()).done;){var _i219=_step226.value;if(_i219.dom.parentNode==this.list){for(;t!=_i219.dom;)e();t=_i219.dom.nextSibling;}else this.list.insertBefore(_i219.dom,t);}}catch(err){_iterator226.e(err);}finally{_iterator226.f();}for(;t;)e();}},{key:"moveSelection",value:function moveSelection(t){if(this.selectedIndex<0)return;var e=md(this.view.state.field(vd).diagnostics,this.items[t].diagnostic);e&&this.view.dispatch({selection:{anchor:e.from,head:e.to},scrollIntoView:!0,effects:bd.of(e)});}}],[{key:"open",value:function open(t){return new Id(t);}}]);}();Td=Ur.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Rd("#d11")},".cm-lintRange-warning":{backgroundImage:Rd("orange")},".cm-lintRange-info":{backgroundImage:Rd("#999")},".cm-lintRange-hint":{backgroundImage:Rd("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});Bd=[vd,Ur.decorations.compute([vd],function(t){var _t$field=t.field(vd),e=_t$field.selected,i=_t$field.panel;return e&&i&&e.from!=e.to?ni.set([kd.range(e.from,e.to)]):ni.none;}),th(yd,{hideOn:function hideOn(t,e){var i=e.pos,s=e.end||i,r=t.state.facet(Ad).hideOn(t,i,s);if(null!=r)return r;var n=t.startState.doc.lineAt(e.pos);return!(!t.effects.some(function(t){return t.is(gd);})&&!t.changes.touchesRange(n.from,Math.max(n.to,s)));}}),Td];Ld=function Ld(t){return void 0===t||t;};_export("u",Nd=function Nd(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var e=[];Ld(t.defaultKeymap)&&e.push.apply(e,_toConsumableArray(Pf)),Ld(t.closeBracketsKeymap)&&e.push.apply(e,id),Ld(t.searchKeymap)&&e.push.apply(e,$a),Ld(t.historyKeymap)&&e.push.apply(e,qu),Ld(t.foldKeymap)&&e.push.apply(e,Ro),Ld(t.lintKeymap)&&e.push.apply(e,Sd);var i=[];return Ld(t.highlightActiveLineGutter)&&i.push(Ih),Ld(t.highlightSpecialChars)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[En.of(t),In||(In=_i.fromClass(/*#__PURE__*/function(){function _class15(t){_classCallCheck(this,_class15);this.view=t,this.decorations=ni.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(En)),this.decorations=this.decorator.createDeco(t);}return _createClass(_class15,[{key:"makeDecorator",value:function makeDecorator(t){var _this96=this;return new Sn({regexp:t.specialChars,decoration:function decoration(e,i,s){var r=i.state.doc,n=v(e[0],0);if(9==n){var _t294=r.lineAt(s),_e258=i.state.tabSize,_n122=Vt(_t294.text,_e258,s-_t294.from);return ni.replace({widget:new Tn((_e258-_n122%_e258)*_this96.view.defaultCharacterWidth/_this96.view.scaleX)});}return _this96.decorationCache[n]||(_this96.decorationCache[n]=ni.replace({widget:new Rn(t,n)}));},boundary:t.replaceTabs?void 0:/[^]/});}},{key:"update",value:function update(t){var e=t.state.facet(En);t.startState.facet(En)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations);}}]);}(),{decorations:function decorations(t){return t.decorations;}}))];}()),Ld(t.history)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[Du,Cu.of(t),Ur.domEventHandlers({beforeinput:function beforeinput(t,e){var i="historyUndo"==t.inputType?Eu:"historyRedo"==t.inputType?Iu:null;return!!i&&(t.preventDefault(),i(e));}})];}()),Ld(t.foldGutter)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var e=Object.assign(Object.assign({},zo),t),i=new Po(e,!0),s=new Po(e,!1),r=_i.fromClass(/*#__PURE__*/function(){function _class16(t){_classCallCheck(this,_class16);this.from=t.viewport.from,this.markers=this.buildMarkers(t);}return _createClass(_class16,[{key:"update",value:function update(t){(t.docChanged||t.viewportChanged||t.startState.facet(Ql)!=t.state.facet(Ql)||t.startState.field(Co,!1)!=t.state.field(Co,!1)||Fl(t.startState)!=Fl(t.state)||e.foldingChanged(t))&&(this.markers=this.buildMarkers(t.view));}},{key:"buildMarkers",value:function buildMarkers(t){var e=new Rt();var _iterator227=_createForOfIteratorHelper(t.viewportLineBlocks),_step227;try{for(_iterator227.s();!(_step227=_iterator227.n()).done;){var _r158=_step227.value;var _n123=Do(t.state,_r158.from,_r158.to)?s:yo(t.state,_r158.from,_r158.to)?i:null;_n123&&e.add(_r158.from,_r158.from,_n123);}}catch(err){_iterator227.e(err);}finally{_iterator227.f();}return e.finish();}}]);}()),n=e.domEventHandlers;return[r,dh({"class":"cm-foldGutter",markers:function markers(t){var e;return(null===(e=t.plugin(r))||void 0===e?void 0:e.markers)||It.empty;},initialSpacer:function initialSpacer(){return new Po(e,!1);},domEventHandlers:Object.assign(Object.assign({},n),{click:function click(t,e,i){if(n.click&&n.click(t,e,i))return!0;var s=Do(t.state,e.from,e.to);if(s)return t.dispatch({effects:So.of(s)}),!0;var r=yo(t.state,e.from,e.to);return!!r&&(t.dispatch({effects:xo.of(r)}),!0);}})}),Lo()];}()),Ld(t.drawSelection)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[dn.of(t),mn,wn,vn,Wi.of(!0)];}()),Ld(t.dropCursor)&&i.push([yn,Mn]),Ld(t.allowMultipleSelections)&&i.push(St.allowMultipleSelections.of(!0)),Ld(t.indentOnInput)&&i.push(St.transactionFilter.of(function(t){if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;var e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;var i=t.newDoc,s=t.newSelection.main.head,r=i.lineAt(s);if(s>r.from+200)return t;var n=i.sliceString(r.from,s);if(!e.some(function(t){return t.test(n);}))return t;var h=t.state,l=-1,o=[];var _iterator228=_createForOfIteratorHelper(h.selection.ranges),_step228;try{for(_iterator228.s();!(_step228=_iterator228.n()).done;){var _t295=_step228.value.head;var _e259=h.doc.lineAt(_t295);if(_e259.from==l)continue;l=_e259.from;var _i220=ro(h,_e259.from);if(null==_i220)continue;var _s199=/^\s*/.exec(_e259.text)[0],_r159=so(h,_i220);_s199!=_r159&&o.push({from:_e259.from,to:_e259.from+_s199.length,insert:_r159});}}catch(err){_iterator228.e(err);}finally{_iterator228.f();}return o.length?[t,{changes:o,sequential:!0}]:t;})),Ld(t.syntaxHighlighting)&&i.push(function(t,e){var i,s=[Jo];return t instanceof Wo&&(t.module&&s.push(Ur.styleModule.of(t.module)),i=t.themeType),(null==e?void 0:e.fallback)?s.push(Fo.of(t)):i?s.push(Vo.computeN([Ur.darkTheme],function(e){return e.facet(Ur.darkTheme)==("dark"==i)?[t]:[];})):s.push(Vo.of(t)),s;}(Go,{fallback:!0})),Ld(t.bracketMatching)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return[Yo.of(t),iu];}()),Ld(t.closeBrackets)&&i.push([ed,Xc]),Ld(t.autocompletion)&&i.push(fd()),Ld(t.rectangularSelection)&&i.push(function(t){var e=(null==t?void 0:t.eventFilter)||function(t){return t.altKey&&0==t.button;};return Ur.mouseSelectionStyle.of(function(t,i){return e(i)?jn(t,i):null;});}()),Ld(t.crosshairCursor)&&i.push(function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var _zn=_slicedToArray(zn[t.key||"Alt"],2),e=_zn[0],i=_zn[1],s=_i.fromClass(/*#__PURE__*/function(){function _class17(t){_classCallCheck(this,_class17);this.view=t,this.isDown=!1;}return _createClass(_class17,[{key:"set",value:function set(t){this.isDown!=t&&(this.isDown=t,this.view.update([]));}}]);}(),{eventObservers:{keydown:function keydown(t){this.set(t.keyCode==e||i(t));},keyup:function keyup(t){t.keyCode!=e&&i(t)||this.set(!1);},mousemove:function mousemove(t){this.set(i(t));}}});return[s,Ur.contentAttributes.of(function(t){var e;return(null===(e=t.plugin(s))||void 0===e?void 0:e.isDown)?Pn:null;})];}()),Ld(t.highlightActiveLine)&&i.push(Ln),Ld(t.highlightSelectionMatches)&&i.push(function(t){var e=[la,ha];return t&&e.push(ia.of(t)),e;}()),t.tabSize&&"number"==typeof t.tabSize&&i.push(eo.of(" ".repeat(t.tabSize))),i.concat([Zr.of(e.flat())]).filter(Boolean);});}};});
7
7
  //# sourceMappingURL=extensionSetup.cjs.js.map