monaco-editor 0.53.0 → 0.54.0-dev-20250910

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 (340) hide show
  1. package/dev/vs/assets/{css.worker.4040859e.js → css.worker.be279320.js} +6 -145
  2. package/dev/vs/assets/{editor.worker.50c051c0.js → editor.worker.9f8d1c9d.js} +6 -145
  3. package/dev/vs/assets/{html.worker.1a3caaf3.js → html.worker.70c7fa17.js} +6 -145
  4. package/dev/vs/assets/{json.worker.32db31cb.js → json.worker.1126f7cb.js} +6 -145
  5. package/dev/vs/assets/{ts.worker.77b7bdc2.js → ts.worker.527e4698.js} +6 -145
  6. package/dev/vs/basic-languages/monaco.contribution.js +1 -1
  7. package/dev/vs/{cssMode.71dc3162.js → cssMode.3f90eb9f.js} +1 -1
  8. package/dev/vs/editor/editor.main.js +6 -6
  9. package/dev/vs/{editor.api.001a2486.js → editor.api.3bba6e9b.js} +437 -550
  10. package/dev/vs/{freemarker2.1d1f763d.js → freemarker2.43257c38.js} +1 -1
  11. package/dev/vs/{handlebars.1c43a000.js → handlebars.71e72b10.js} +1 -1
  12. package/dev/vs/{html.50e520b0.js → html.7af2066d.js} +1 -1
  13. package/dev/vs/{htmlMode.57de31b3.js → htmlMode.dfce3cd7.js} +1 -1
  14. package/dev/vs/{javascript.00c827f5.js → javascript.db5c4373.js} +1 -1
  15. package/dev/vs/{jsonMode.3112352c.js → jsonMode.cfbcdbcd.js} +1 -1
  16. package/dev/vs/language/css/monaco.contribution.js +2 -2
  17. package/dev/vs/language/html/monaco.contribution.js +2 -2
  18. package/dev/vs/language/json/monaco.contribution.js +2 -2
  19. package/dev/vs/language/typescript/monaco.contribution.js +2 -2
  20. package/dev/vs/{liquid.a6046bb2.js → liquid.661f706b.js} +1 -1
  21. package/dev/vs/{lspLanguageFeatures.b4763a7b.js → lspLanguageFeatures.cc35fc35.js} +1 -1
  22. package/dev/vs/{mdx.4d70389f.js → mdx.b9191511.js} +1 -1
  23. package/dev/vs/nls.messages.de.js +2 -2
  24. package/dev/vs/nls.messages.es.js +2 -2
  25. package/dev/vs/nls.messages.fr.js +2 -2
  26. package/dev/vs/nls.messages.it.js +2 -2
  27. package/dev/vs/nls.messages.ja.js +2 -2
  28. package/dev/vs/nls.messages.ko.js +2 -2
  29. package/dev/vs/nls.messages.ru.js +2 -2
  30. package/dev/vs/nls.messages.zh-cn.js +2 -2
  31. package/dev/vs/nls.messages.zh-tw.js +2 -2
  32. package/dev/vs/{python.5153d5cc.js → python.285fdd13.js} +1 -1
  33. package/dev/vs/{razor.e138c602.js → razor.58ef723a.js} +1 -1
  34. package/dev/vs/style.css +26 -18
  35. package/dev/vs/{tsMode.0cda7d07.js → tsMode.9bdf2264.js} +1 -1
  36. package/dev/vs/{typescript.21e6b24c.js → typescript.f9965fbf.js} +1 -1
  37. package/dev/vs/{workers.8ff654dc.js → workers.1db2ca74.js} +1 -1
  38. package/dev/vs/{xml.97580f17.js → xml.7daeeb87.js} +1 -1
  39. package/dev/vs/{yaml.4437b505.js → yaml.5d7293a6.js} +1 -1
  40. package/dev/vs/{yaml.contribution.6f43d486.js → yaml.contribution.0e87c936.js} +18 -18
  41. package/esm/nls.keys.json +1 -1
  42. package/esm/nls.messages.de.js +2 -2
  43. package/esm/nls.messages.es.js +2 -2
  44. package/esm/nls.messages.fr.js +2 -2
  45. package/esm/nls.messages.it.js +2 -2
  46. package/esm/nls.messages.ja.js +2 -2
  47. package/esm/nls.messages.js +1 -1
  48. package/esm/nls.messages.json +1 -1
  49. package/esm/nls.messages.ko.js +2 -2
  50. package/esm/nls.messages.ru.js +2 -2
  51. package/esm/nls.messages.zh-cn.js +2 -2
  52. package/esm/nls.messages.zh-tw.js +2 -2
  53. package/esm/nls.metadata.json +0 -2
  54. package/esm/vs/base/browser/domSanitize.js +18 -8
  55. package/esm/vs/base/browser/domSanitize.js.map +1 -1
  56. package/esm/vs/base/browser/domStylesheets.js +3 -0
  57. package/esm/vs/base/browser/domStylesheets.js.map +1 -1
  58. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  59. package/esm/vs/base/browser/ui/dropdown/dropdown.js +1 -2
  60. package/esm/vs/base/browser/ui/dropdown/dropdown.js.map +1 -1
  61. package/esm/vs/base/common/async.js +6 -173
  62. package/esm/vs/base/common/async.js.map +1 -1
  63. package/esm/vs/base/common/fuzzyScorer.js +6 -3
  64. package/esm/vs/base/common/fuzzyScorer.js.map +1 -1
  65. package/esm/vs/base/common/strings.js +0 -3
  66. package/esm/vs/base/common/strings.js.map +1 -1
  67. package/esm/vs/basic-languages/_.contribution.js +1 -1
  68. package/esm/vs/basic-languages/abap/abap.contribution.js +1 -1
  69. package/esm/vs/basic-languages/abap/abap.js +1 -1
  70. package/esm/vs/basic-languages/apex/apex.contribution.js +1 -1
  71. package/esm/vs/basic-languages/apex/apex.js +1 -1
  72. package/esm/vs/basic-languages/azcli/azcli.contribution.js +1 -1
  73. package/esm/vs/basic-languages/azcli/azcli.js +1 -1
  74. package/esm/vs/basic-languages/bat/bat.contribution.js +1 -1
  75. package/esm/vs/basic-languages/bat/bat.js +1 -1
  76. package/esm/vs/basic-languages/bicep/bicep.contribution.js +1 -1
  77. package/esm/vs/basic-languages/bicep/bicep.js +1 -1
  78. package/esm/vs/basic-languages/cameligo/cameligo.contribution.js +1 -1
  79. package/esm/vs/basic-languages/cameligo/cameligo.js +1 -1
  80. package/esm/vs/basic-languages/clojure/clojure.contribution.js +1 -1
  81. package/esm/vs/basic-languages/clojure/clojure.js +1 -1
  82. package/esm/vs/basic-languages/coffee/coffee.contribution.js +1 -1
  83. package/esm/vs/basic-languages/coffee/coffee.js +1 -1
  84. package/esm/vs/basic-languages/cpp/cpp.contribution.js +1 -1
  85. package/esm/vs/basic-languages/cpp/cpp.js +1 -1
  86. package/esm/vs/basic-languages/csharp/csharp.contribution.js +1 -1
  87. package/esm/vs/basic-languages/csharp/csharp.js +1 -1
  88. package/esm/vs/basic-languages/csp/csp.contribution.js +1 -1
  89. package/esm/vs/basic-languages/csp/csp.js +1 -1
  90. package/esm/vs/basic-languages/css/css.contribution.js +1 -1
  91. package/esm/vs/basic-languages/css/css.js +1 -1
  92. package/esm/vs/basic-languages/cypher/cypher.contribution.js +1 -1
  93. package/esm/vs/basic-languages/cypher/cypher.js +1 -1
  94. package/esm/vs/basic-languages/dart/dart.contribution.js +1 -1
  95. package/esm/vs/basic-languages/dart/dart.js +1 -1
  96. package/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js +1 -1
  97. package/esm/vs/basic-languages/dockerfile/dockerfile.js +1 -1
  98. package/esm/vs/basic-languages/ecl/ecl.contribution.js +1 -1
  99. package/esm/vs/basic-languages/ecl/ecl.js +1 -1
  100. package/esm/vs/basic-languages/elixir/elixir.contribution.js +1 -1
  101. package/esm/vs/basic-languages/elixir/elixir.js +1 -1
  102. package/esm/vs/basic-languages/flow9/flow9.contribution.js +1 -1
  103. package/esm/vs/basic-languages/flow9/flow9.js +1 -1
  104. package/esm/vs/basic-languages/freemarker2/freemarker2.contribution.js +1 -1
  105. package/esm/vs/basic-languages/freemarker2/freemarker2.js +1 -1
  106. package/esm/vs/basic-languages/fsharp/fsharp.contribution.js +1 -1
  107. package/esm/vs/basic-languages/fsharp/fsharp.js +1 -1
  108. package/esm/vs/basic-languages/go/go.contribution.js +1 -1
  109. package/esm/vs/basic-languages/go/go.js +1 -1
  110. package/esm/vs/basic-languages/graphql/graphql.contribution.js +1 -1
  111. package/esm/vs/basic-languages/graphql/graphql.js +1 -1
  112. package/esm/vs/basic-languages/handlebars/handlebars.contribution.js +1 -1
  113. package/esm/vs/basic-languages/handlebars/handlebars.js +1 -1
  114. package/esm/vs/basic-languages/hcl/hcl.contribution.js +1 -1
  115. package/esm/vs/basic-languages/hcl/hcl.js +1 -1
  116. package/esm/vs/basic-languages/html/html.contribution.js +1 -1
  117. package/esm/vs/basic-languages/html/html.js +1 -1
  118. package/esm/vs/basic-languages/ini/ini.contribution.js +1 -1
  119. package/esm/vs/basic-languages/ini/ini.js +1 -1
  120. package/esm/vs/basic-languages/java/java.contribution.js +1 -1
  121. package/esm/vs/basic-languages/java/java.js +1 -1
  122. package/esm/vs/basic-languages/javascript/javascript.contribution.js +1 -1
  123. package/esm/vs/basic-languages/javascript/javascript.js +1 -1
  124. package/esm/vs/basic-languages/julia/julia.contribution.js +1 -1
  125. package/esm/vs/basic-languages/julia/julia.js +1 -1
  126. package/esm/vs/basic-languages/kotlin/kotlin.contribution.js +1 -1
  127. package/esm/vs/basic-languages/kotlin/kotlin.js +1 -1
  128. package/esm/vs/basic-languages/less/less.contribution.js +1 -1
  129. package/esm/vs/basic-languages/less/less.js +1 -1
  130. package/esm/vs/basic-languages/lexon/lexon.contribution.js +1 -1
  131. package/esm/vs/basic-languages/lexon/lexon.js +1 -1
  132. package/esm/vs/basic-languages/liquid/liquid.contribution.js +1 -1
  133. package/esm/vs/basic-languages/liquid/liquid.js +1 -1
  134. package/esm/vs/basic-languages/lua/lua.contribution.js +1 -1
  135. package/esm/vs/basic-languages/lua/lua.js +1 -1
  136. package/esm/vs/basic-languages/m3/m3.contribution.js +1 -1
  137. package/esm/vs/basic-languages/m3/m3.js +1 -1
  138. package/esm/vs/basic-languages/markdown/markdown.contribution.js +1 -1
  139. package/esm/vs/basic-languages/markdown/markdown.js +1 -1
  140. package/esm/vs/basic-languages/mdx/mdx.contribution.js +1 -1
  141. package/esm/vs/basic-languages/mdx/mdx.js +1 -1
  142. package/esm/vs/basic-languages/mips/mips.contribution.js +1 -1
  143. package/esm/vs/basic-languages/mips/mips.js +1 -1
  144. package/esm/vs/basic-languages/monaco.contribution.js +1 -1
  145. package/esm/vs/basic-languages/msdax/msdax.contribution.js +1 -1
  146. package/esm/vs/basic-languages/msdax/msdax.js +1 -1
  147. package/esm/vs/basic-languages/mysql/mysql.contribution.js +1 -1
  148. package/esm/vs/basic-languages/mysql/mysql.js +1 -1
  149. package/esm/vs/basic-languages/objective-c/objective-c.contribution.js +1 -1
  150. package/esm/vs/basic-languages/objective-c/objective-c.js +1 -1
  151. package/esm/vs/basic-languages/pascal/pascal.contribution.js +1 -1
  152. package/esm/vs/basic-languages/pascal/pascal.js +1 -1
  153. package/esm/vs/basic-languages/pascaligo/pascaligo.contribution.js +1 -1
  154. package/esm/vs/basic-languages/pascaligo/pascaligo.js +1 -1
  155. package/esm/vs/basic-languages/perl/perl.contribution.js +1 -1
  156. package/esm/vs/basic-languages/perl/perl.js +1 -1
  157. package/esm/vs/basic-languages/pgsql/pgsql.contribution.js +1 -1
  158. package/esm/vs/basic-languages/pgsql/pgsql.js +1 -1
  159. package/esm/vs/basic-languages/php/php.contribution.js +1 -1
  160. package/esm/vs/basic-languages/php/php.js +1 -1
  161. package/esm/vs/basic-languages/pla/pla.contribution.js +1 -1
  162. package/esm/vs/basic-languages/pla/pla.js +1 -1
  163. package/esm/vs/basic-languages/postiats/postiats.contribution.js +1 -1
  164. package/esm/vs/basic-languages/postiats/postiats.js +1 -1
  165. package/esm/vs/basic-languages/powerquery/powerquery.contribution.js +1 -1
  166. package/esm/vs/basic-languages/powerquery/powerquery.js +1 -1
  167. package/esm/vs/basic-languages/powershell/powershell.contribution.js +1 -1
  168. package/esm/vs/basic-languages/powershell/powershell.js +1 -1
  169. package/esm/vs/basic-languages/protobuf/protobuf.contribution.js +1 -1
  170. package/esm/vs/basic-languages/protobuf/protobuf.js +1 -1
  171. package/esm/vs/basic-languages/pug/pug.contribution.js +1 -1
  172. package/esm/vs/basic-languages/pug/pug.js +1 -1
  173. package/esm/vs/basic-languages/python/python.contribution.js +1 -1
  174. package/esm/vs/basic-languages/python/python.js +1 -1
  175. package/esm/vs/basic-languages/qsharp/qsharp.contribution.js +1 -1
  176. package/esm/vs/basic-languages/qsharp/qsharp.js +1 -1
  177. package/esm/vs/basic-languages/r/r.contribution.js +1 -1
  178. package/esm/vs/basic-languages/r/r.js +1 -1
  179. package/esm/vs/basic-languages/razor/razor.contribution.js +1 -1
  180. package/esm/vs/basic-languages/razor/razor.js +1 -1
  181. package/esm/vs/basic-languages/redis/redis.contribution.js +1 -1
  182. package/esm/vs/basic-languages/redis/redis.js +1 -1
  183. package/esm/vs/basic-languages/redshift/redshift.contribution.js +1 -1
  184. package/esm/vs/basic-languages/redshift/redshift.js +1 -1
  185. package/esm/vs/basic-languages/restructuredtext/restructuredtext.contribution.js +1 -1
  186. package/esm/vs/basic-languages/restructuredtext/restructuredtext.js +1 -1
  187. package/esm/vs/basic-languages/ruby/ruby.contribution.js +1 -1
  188. package/esm/vs/basic-languages/ruby/ruby.js +1 -1
  189. package/esm/vs/basic-languages/rust/rust.contribution.js +1 -1
  190. package/esm/vs/basic-languages/rust/rust.js +1 -1
  191. package/esm/vs/basic-languages/sb/sb.contribution.js +1 -1
  192. package/esm/vs/basic-languages/sb/sb.js +1 -1
  193. package/esm/vs/basic-languages/scala/scala.contribution.js +1 -1
  194. package/esm/vs/basic-languages/scala/scala.js +1 -1
  195. package/esm/vs/basic-languages/scheme/scheme.contribution.js +1 -1
  196. package/esm/vs/basic-languages/scheme/scheme.js +1 -1
  197. package/esm/vs/basic-languages/scss/scss.contribution.js +1 -1
  198. package/esm/vs/basic-languages/scss/scss.js +1 -1
  199. package/esm/vs/basic-languages/shell/shell.contribution.js +1 -1
  200. package/esm/vs/basic-languages/shell/shell.js +1 -1
  201. package/esm/vs/basic-languages/solidity/solidity.contribution.js +1 -1
  202. package/esm/vs/basic-languages/solidity/solidity.js +1 -1
  203. package/esm/vs/basic-languages/sophia/sophia.contribution.js +1 -1
  204. package/esm/vs/basic-languages/sophia/sophia.js +1 -1
  205. package/esm/vs/basic-languages/sparql/sparql.contribution.js +1 -1
  206. package/esm/vs/basic-languages/sparql/sparql.js +1 -1
  207. package/esm/vs/basic-languages/sql/sql.contribution.js +1 -1
  208. package/esm/vs/basic-languages/sql/sql.js +1 -1
  209. package/esm/vs/basic-languages/st/st.contribution.js +1 -1
  210. package/esm/vs/basic-languages/st/st.js +1 -1
  211. package/esm/vs/basic-languages/swift/swift.contribution.js +1 -1
  212. package/esm/vs/basic-languages/swift/swift.js +1 -1
  213. package/esm/vs/basic-languages/systemverilog/systemverilog.contribution.js +1 -1
  214. package/esm/vs/basic-languages/systemverilog/systemverilog.js +1 -1
  215. package/esm/vs/basic-languages/tcl/tcl.contribution.js +1 -1
  216. package/esm/vs/basic-languages/tcl/tcl.js +1 -1
  217. package/esm/vs/basic-languages/twig/twig.contribution.js +1 -1
  218. package/esm/vs/basic-languages/twig/twig.js +1 -1
  219. package/esm/vs/basic-languages/typescript/typescript.contribution.js +1 -1
  220. package/esm/vs/basic-languages/typescript/typescript.js +1 -1
  221. package/esm/vs/basic-languages/typespec/typespec.contribution.js +1 -1
  222. package/esm/vs/basic-languages/typespec/typespec.js +1 -1
  223. package/esm/vs/basic-languages/vb/vb.contribution.js +1 -1
  224. package/esm/vs/basic-languages/vb/vb.js +1 -1
  225. package/esm/vs/basic-languages/wgsl/wgsl.contribution.js +1 -1
  226. package/esm/vs/basic-languages/wgsl/wgsl.js +1 -1
  227. package/esm/vs/basic-languages/xml/xml.contribution.js +1 -1
  228. package/esm/vs/basic-languages/xml/xml.js +1 -1
  229. package/esm/vs/basic-languages/yaml/yaml.contribution.js +1 -1
  230. package/esm/vs/basic-languages/yaml/yaml.js +1 -1
  231. package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +23 -13
  232. package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js.map +1 -1
  233. package/esm/vs/editor/browser/services/hoverService/hover.css +1 -1
  234. package/esm/vs/editor/common/config/editorOptions.js +1 -1
  235. package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
  236. package/esm/vs/editor/common/viewModel/screenReaderSimpleModel.js.map +1 -1
  237. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +9 -4
  238. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
  239. package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +2 -2
  240. package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js.map +1 -1
  241. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +15 -10
  242. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js.map +1 -1
  243. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
  244. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +5 -4
  245. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
  246. package/esm/vs/editor/editor.api.d.ts +5 -3
  247. package/esm/vs/editor/editor.main.js +1 -1
  248. package/esm/vs/editor/editor.worker.js +1 -1
  249. package/esm/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  250. package/esm/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js.map +1 -1
  251. package/esm/vs/language/css/css.worker.js +1 -1
  252. package/esm/vs/language/css/cssMode.js +1 -1
  253. package/esm/vs/language/css/monaco.contribution.js +1 -1
  254. package/esm/vs/language/html/html.worker.js +1 -1
  255. package/esm/vs/language/html/htmlMode.js +1 -1
  256. package/esm/vs/language/html/monaco.contribution.js +1 -1
  257. package/esm/vs/language/json/json.worker.js +1 -1
  258. package/esm/vs/language/json/jsonMode.js +1 -1
  259. package/esm/vs/language/json/monaco.contribution.js +1 -1
  260. package/esm/vs/language/typescript/monaco.contribution.js +1 -1
  261. package/esm/vs/language/typescript/ts.worker.js +1 -1
  262. package/esm/vs/language/typescript/tsMode.js +1 -1
  263. package/esm/vs/platform/actionWidget/browser/actionList.js +2 -2
  264. package/esm/vs/platform/actionWidget/browser/actionList.js.map +1 -1
  265. package/esm/vs/platform/actionWidget/browser/actionWidget.css +11 -12
  266. package/esm/vs/platform/actions/browser/actionViewItemService.js.map +1 -1
  267. package/esm/vs/platform/actions/browser/toolbar.js +3 -3
  268. package/esm/vs/platform/actions/browser/toolbar.js.map +1 -1
  269. package/esm/vs/platform/contextkey/common/contextkeys.js +1 -2
  270. package/esm/vs/platform/contextkey/common/contextkeys.js.map +1 -1
  271. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  272. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  273. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  274. package/esm/vs/platform/list/browser/listService.js +27 -27
  275. package/esm/vs/platform/markers/common/markerService.js +2 -2
  276. package/esm/vs/platform/markers/common/markers.js +6 -6
  277. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  278. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  279. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  280. package/esm/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  281. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  282. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  283. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  284. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  285. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  286. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  287. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  288. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  289. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  290. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  291. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  292. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  293. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  294. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  295. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  296. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  297. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  298. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  299. package/min/vs/assets/{css.worker.4040859e.js → css.worker.be279320.js} +42 -42
  300. package/min/vs/assets/{editor.worker.50c051c0.js → editor.worker.9f8d1c9d.js} +14 -14
  301. package/min/vs/assets/{html.worker.1a3caaf3.js → html.worker.70c7fa17.js} +25 -25
  302. package/min/vs/assets/{json.worker.32db31cb.js → json.worker.1126f7cb.js} +36 -36
  303. package/min/vs/assets/{ts.worker.77b7bdc2.js → ts.worker.527e4698.js} +103 -103
  304. package/min/vs/basic-languages/monaco.contribution.js +1 -1
  305. package/min/vs/{cssMode.71dc3162.js → cssMode.3f90eb9f.js} +1 -1
  306. package/min/vs/editor/editor.main.js +1 -1
  307. package/min/vs/{editor.api.001a2486.js → editor.api.3bba6e9b.js} +159 -158
  308. package/min/vs/{freemarker2.1d1f763d.js → freemarker2.43257c38.js} +1 -1
  309. package/min/vs/{handlebars.1c43a000.js → handlebars.71e72b10.js} +1 -1
  310. package/min/vs/{html.50e520b0.js → html.7af2066d.js} +1 -1
  311. package/min/vs/{htmlMode.57de31b3.js → htmlMode.dfce3cd7.js} +1 -1
  312. package/min/vs/{javascript.00c827f5.js → javascript.db5c4373.js} +1 -1
  313. package/min/vs/{jsonMode.3112352c.js → jsonMode.cfbcdbcd.js} +4 -4
  314. package/min/vs/language/css/monaco.contribution.js +1 -1
  315. package/min/vs/language/html/monaco.contribution.js +1 -1
  316. package/min/vs/language/json/monaco.contribution.js +1 -1
  317. package/min/vs/language/typescript/monaco.contribution.js +1 -1
  318. package/min/vs/{liquid.a6046bb2.js → liquid.661f706b.js} +1 -1
  319. package/min/vs/{lspLanguageFeatures.b4763a7b.js → lspLanguageFeatures.cc35fc35.js} +1 -1
  320. package/min/vs/{mdx.4d70389f.js → mdx.b9191511.js} +1 -1
  321. package/min/vs/nls.messages.de.js +2 -2
  322. package/min/vs/nls.messages.es.js +2 -2
  323. package/min/vs/nls.messages.fr.js +2 -2
  324. package/min/vs/nls.messages.it.js +2 -2
  325. package/min/vs/nls.messages.ja.js +2 -2
  326. package/min/vs/nls.messages.ko.js +2 -2
  327. package/min/vs/nls.messages.ru.js +2 -2
  328. package/min/vs/nls.messages.zh-cn.js +2 -2
  329. package/min/vs/nls.messages.zh-tw.js +2 -2
  330. package/min/vs/{python.5153d5cc.js → python.285fdd13.js} +1 -1
  331. package/min/vs/{razor.e138c602.js → razor.58ef723a.js} +1 -1
  332. package/min/vs/style.css +1 -1
  333. package/min/vs/{tsMode.0cda7d07.js → tsMode.9bdf2264.js} +8 -8
  334. package/min/vs/{typescript.21e6b24c.js → typescript.f9965fbf.js} +1 -1
  335. package/min/vs/{workers.8ff654dc.js → workers.1db2ca74.js} +1 -1
  336. package/min/vs/{xml.97580f17.js → xml.7daeeb87.js} +1 -1
  337. package/min/vs/{yaml.4437b505.js → yaml.5d7293a6.js} +1 -1
  338. package/min/vs/{yaml.contribution.6f43d486.js → yaml.contribution.0e87c936.js} +1 -1
  339. package/monaco.d.ts +2 -2
  340. package/package.json +4 -4
@@ -1,38 +1,38 @@
1
- var Mh=Object.defineProperty;var Nh=(Qe,Ue,Me)=>Ue in Qe?Mh(Qe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Qe[Ue]=Me;var Se=(Qe,Ue,Me)=>(Nh(Qe,typeof Ue!="symbol"?Ue+"":Ue,Me),Me);(function(){var Co,Eo,Do,Ro;"use strict";class Qe{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?lt.isErrorNoTelemetry(t)?new lt(t.message+`
1
+ var Dh=Object.defineProperty;var Rh=(Ye,He,De)=>He in Ye?Dh(Ye,He,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ye[He]=De;var ke=(Ye,He,De)=>(Rh(Ye,typeof He!="symbol"?He+"":He,De),De);(function(){var Ao,Lo,Co,Eo;"use strict";class Ye{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?ot.isErrorNoTelemetry(t)?new ot(t.message+`
2
2
 
3
3
  `+t.stack):new Error(t.message+`
4
4
 
5
- `+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const Ue=new Qe;function Me(e){Mo(e)||Ue.onUnexpectedError(e)}function Hn(e){if(e instanceof Error){const{name:t,message:n,cause:i}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:lt.isErrorNoTelemetry(e),cause:i?Hn(i):void 0,code:e.code}}return e}const Un="Canceled";function Mo(e){return e instanceof Ji?!0:e instanceof Error&&e.name===Un&&e.message===Un}class Ji extends Error{constructor(){super(Un),this.name=this.message}}class lt extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof lt)return t;const n=new lt;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class ue extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,ue.prototype)}}function No(e,t){const n=this;let i=!1,r;return function(){if(i)return r;if(i=!0,t)try{r=e.apply(n,arguments)}finally{t()}else r=e.apply(n,arguments);return r}}function Io(e,t="Unreachable"){throw new Error(t)}function zo(e,t="unexpected state"){if(!e)throw typeof t=="string"?new ue(`Assertion Failed: ${t}`):t}function Qt(e){if(!e()){debugger;e(),Me(new ue("Assertion Failed"))}}function Yi(e,t){let n=0;for(;n<e.length-1;){const i=e[n],r=e[n+1];if(!t(i,r))return!1;n++}return!0}function Ho(e){return typeof e=="string"}function Uo(e){return!!e&&typeof e[Symbol.iterator]=="function"}var Zt;(function(e){function t(b){return!!b&&typeof b=="object"&&typeof b[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function i(){return n}e.empty=i;function*r(b){yield b}e.single=r;function s(b){return t(b)?b:r(b)}e.wrap=s;function a(b){return b||n}e.from=a;function*l(b){for(let g=b.length-1;g>=0;g--)yield b[g]}e.reverse=l;function o(b){return!b||b[Symbol.iterator]().next().done===!0}e.isEmpty=o;function u(b){return b[Symbol.iterator]().next().value}e.first=u;function c(b,g){let _=0;for(const N of b)if(g(N,_++))return!0;return!1}e.some=c;function d(b,g){let _=0;for(const N of b)if(!g(N,_++))return!1;return!0}e.every=d;function m(b,g){for(const _ of b)if(g(_))return _}e.find=m;function*f(b,g){for(const _ of b)g(_)&&(yield _)}e.filter=f;function*w(b,g){let _=0;for(const N of b)yield g(N,_++)}e.map=w;function*p(b,g){let _=0;for(const N of b)yield*g(N,_++)}e.flatMap=p;function*x(...b){for(const g of b)Uo(g)?yield*g:yield g}e.concat=x;function T(b,g,_){let N=_;for(const S of b)N=g(N,S);return N}e.reduce=T;function y(b){let g=0;for(const _ of b)g++;return g}e.length=y;function*L(b,g,_=b.length){for(g<-b.length&&(g=0),g<0&&(g+=b.length),_<0?_+=b.length:_>b.length&&(_=b.length);g<_;g++)yield b[g]}e.slice=L;function I(b,g=Number.POSITIVE_INFINITY){const _=[];if(g===0)return[_,b];const N=b[Symbol.iterator]();for(let S=0;S<g;S++){const v=N.next();if(v.done)return[_,e.empty()];_.push(v.value)}return[_,{[Symbol.iterator](){return N}}]}e.consume=I;async function H(b){const g=[];for await(const _ of b)g.push(_);return g}e.asyncToArray=H;async function W(b){let g=[];for await(const _ of b)g=g.concat(_);return g}e.asyncToArrayFlat=W})(Zt||(Zt={}));let We=null;function Wn(e){return We==null||We.trackDisposable(e),e}function Fn(e){We==null||We.markAsDisposed(e)}function Qi(e,t){We==null||We.setParent(e,t)}function Zi(e){if(Zt.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(i){t.push(i)}if(t.length===1)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function Wo(...e){return Kt(()=>Zi(e))}function Kt(e){const t=Wn({dispose:No(()=>{Fn(t),e()})});return t}const En=class{constructor(){this._toDispose=new Set,this._isDisposed=!1,Wn(this)}dispose(){this._isDisposed||(Fn(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Zi(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t||t===Ze.None)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return Qi(t,this),this._isDisposed?En.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}delete(t){if(!!t){if(t===this)throw new Error("Cannot dispose a disposable on itself!");this._toDispose.delete(t),t.dispose()}}};let Rt=En;(()=>{En.DISABLE_DISPOSED_WARNING=!1})();const $i=class{constructor(){this._store=new Rt,Wn(this),Qi(this._store,this)}dispose(){Fn(this),this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}};let Ze=$i;(()=>{$i.None=Object.freeze({dispose(){}})})();const At=class{constructor(t){this.element=t,this.next=At.Undefined,this.prev=At.Undefined}};let te=At;(()=>{At.Undefined=new At(void 0)})();class Fo{constructor(){this._first=te.Undefined,this._last=te.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===te.Undefined}clear(){let t=this._first;for(;t!==te.Undefined;){const n=t.next;t.prev=te.Undefined,t.next=te.Undefined,t=n}this._first=te.Undefined,this._last=te.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const i=new te(t);if(this._first===te.Undefined)this._first=i,this._last=i;else if(n){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==te.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==te.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==te.Undefined&&t.next!==te.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===te.Undefined&&t.next===te.Undefined?(this._first=te.Undefined,this._last=te.Undefined):t.next===te.Undefined?(this._last=this._last.prev,this._last.next=te.Undefined):t.prev===te.Undefined&&(this._first=this._first.next,this._first.prev=te.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==te.Undefined;)yield t.element,t=t.next}}const Po=globalThis.performance.now.bind(globalThis.performance);class en{static create(t){return new en(t)}constructor(t){this._now=t===!1?Date.now:Po,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var tn;(function(e){e.None=()=>Ze.None;function t(v,A){return m(v,()=>{},0,void 0,!0,void 0,A)}e.defer=t;function n(v){return(A,E=null,k)=>{let D=!1,M;return M=v(F=>{if(!D)return M?M.dispose():D=!0,A.call(E,F)},null,k),D&&M.dispose(),M}}e.once=n;function i(v,A){return e.once(e.filter(v,A))}e.onceIf=i;function r(v,A,E){return c((k,D=null,M)=>v(F=>k.call(D,A(F)),null,M),E)}e.map=r;function s(v,A,E){return c((k,D=null,M)=>v(F=>{A(F),k.call(D,F)},null,M),E)}e.forEach=s;function a(v,A,E){return c((k,D=null,M)=>v(F=>A(F)&&k.call(D,F),null,M),E)}e.filter=a;function l(v){return v}e.signal=l;function o(...v){return(A,E=null,k)=>{const D=Wo(...v.map(M=>M(F=>A.call(E,F))));return d(D,k)}}e.any=o;function u(v,A,E,k){let D=E;return r(v,M=>(D=A(D,M),D),k)}e.reduce=u;function c(v,A){let E;const k={onWillAddFirstListener(){E=v(D.fire,D)},onDidRemoveLastListener(){E==null||E.dispose()}},D=new Ae(k);return A==null||A.add(D),D.event}function d(v,A){return A instanceof Array?A.push(v):A&&A.add(v),v}function m(v,A,E=100,k=!1,D=!1,M,F){let B,U,V,K=0,ee;const le={leakWarningThreshold:M,onWillAddFirstListener(){B=v(zn=>{K++,U=A(U,zn),k&&!V&&(ke.fire(U),U=void 0),ee=()=>{const Rh=U;U=void 0,V=void 0,(!k||K>1)&&ke.fire(Rh),K=0},typeof E=="number"?(V&&clearTimeout(V),V=setTimeout(ee,E)):V===void 0&&(V=null,queueMicrotask(ee))})},onWillRemoveListener(){D&&K>0&&(ee==null||ee())},onDidRemoveLastListener(){ee=void 0,B.dispose()}},ke=new Ae(le);return F==null||F.add(ke),ke.event}e.debounce=m;function f(v,A=0,E){return e.debounce(v,(k,D)=>k?(k.push(D),k):[D],A,void 0,!0,void 0,E)}e.accumulate=f;function w(v,A=(k,D)=>k===D,E){let k=!0,D;return a(v,M=>{const F=k||!A(M,D);return k=!1,D=M,F},E)}e.latch=w;function p(v,A,E){return[e.filter(v,A,E),e.filter(v,k=>!A(k),E)]}e.split=p;function x(v,A=!1,E=[],k){let D=E.slice(),M=v(U=>{D?D.push(U):B.fire(U)});k&&k.add(M);const F=()=>{D==null||D.forEach(U=>B.fire(U)),D=null},B=new Ae({onWillAddFirstListener(){M||(M=v(U=>B.fire(U)),k&&k.add(M))},onDidAddFirstListener(){D&&(A?setTimeout(F):F())},onDidRemoveLastListener(){M&&M.dispose(),M=null}});return k&&k.add(B),B.event}e.buffer=x;function T(v,A){return(k,D,M)=>{const F=A(new L);return v(function(B){const U=F.evaluate(B);U!==y&&k.call(D,U)},void 0,M)}}e.chain=T;const y=Symbol("HaltChainable");class L{constructor(){this.steps=[]}map(A){return this.steps.push(A),this}forEach(A){return this.steps.push(E=>(A(E),E)),this}filter(A){return this.steps.push(E=>A(E)?E:y),this}reduce(A,E){let k=E;return this.steps.push(D=>(k=A(k,D),k)),this}latch(A=(E,k)=>E===k){let E=!0,k;return this.steps.push(D=>{const M=E||!A(D,k);return E=!1,k=D,M?D:y}),this}evaluate(A){for(const E of this.steps)if(A=E(A),A===y)break;return A}}function I(v,A,E=k=>k){const k=(...B)=>F.fire(E(...B)),D=()=>v.on(A,k),M=()=>v.removeListener(A,k),F=new Ae({onWillAddFirstListener:D,onDidRemoveLastListener:M});return F.event}e.fromNodeEventEmitter=I;function H(v,A,E=k=>k){const k=(...B)=>F.fire(E(...B)),D=()=>v.addEventListener(A,k),M=()=>v.removeEventListener(A,k),F=new Ae({onWillAddFirstListener:D,onDidRemoveLastListener:M});return F.event}e.fromDOMEventEmitter=H;function W(v,A){let E;const k=new Promise((D,M)=>{const F=n(v)(D,null,A);E=()=>F.dispose()});return k.cancel=E,k}e.toPromise=W;function b(v,A){return v(E=>A.fire(E))}e.forward=b;function g(v,A,E){return A(E),v(k=>A(k))}e.runAndSubscribe=g;class _{constructor(A,E){this._observable=A,this._counter=0,this._hasChanged=!1;const k={onWillAddFirstListener:()=>{A.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{A.removeObserver(this)}};this.emitter=new Ae(k),E&&E.add(this.emitter)}beginUpdate(A){this._counter++}handlePossibleChange(A){}handleChange(A,E){this._hasChanged=!0}endUpdate(A){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function N(v,A){return new _(v,A).emitter.event}e.fromObservable=N;function S(v){return(A,E,k)=>{let D=0,M=!1;const F={beginUpdate(){D++},endUpdate(){D--,D===0&&(v.reportChanges(),M&&(M=!1,A.call(E)))},handlePossibleChange(){},handleChange(){M=!0}};v.addObserver(F),v.reportChanges();const B={dispose(){v.removeObserver(F)}};return k instanceof Rt?k.add(B):Array.isArray(k)&&k.push(B),B}}e.fromObservableLight=S})(tn||(tn={}));const Lt=class{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${Lt._idPool++}`,Lt.all.add(this)}start(t){this._stopWatch=new en,this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}};let Pn=Lt;(()=>{Lt.all=new Set})(),(()=>{Lt._idPool=0})();let Bo=-1;const Dn=class{constructor(t,n,i=(Dn._idPool++).toString(16).padStart(3,"0")){this._errorHandler=t,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){var t;(t=this._stacks)==null||t.clear()}check(t,n){const i=this.threshold;if(i<=0||n<i)return;this._stacks||(this._stacks=new Map);const r=this._stacks.get(t.value)||0;if(this._stacks.set(t.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;const[s,a]=this.getMostFrequentStack(),l=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`;console.warn(l),console.warn(s);const o=new qo(l,s);this._errorHandler(o)}return()=>{const s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let t,n=0;for(const[i,r]of this._stacks)(!t||n<r)&&(t=[i,r],n=r);return t}};let Bn=Dn;(()=>{Dn._idPool=1})();class qn{static create(){var n;const t=new Error;return new qn((n=t.stack)!=null?n:"")}constructor(t){this.value=t}print(){console.warn(this.value.split(`
5
+ `+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const He=new Ye;function De(e){Do(e)||He.onUnexpectedError(e)}function In(e){if(e instanceof Error){const{name:t,message:n,cause:i}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:ot.isErrorNoTelemetry(e),cause:i?In(i):void 0,code:e.code}}return e}const zn="Canceled";function Do(e){return e instanceof Xi?!0:e instanceof Error&&e.name===zn&&e.message===zn}class Xi extends Error{constructor(){super(zn),this.name=this.message}}class ot extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof ot)return t;const n=new ot;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class ue extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,ue.prototype)}}function Ro(e,t){const n=this;let i=!1,r;return function(){if(i)return r;if(i=!0,t)try{r=e.apply(n,arguments)}finally{t()}else r=e.apply(n,arguments);return r}}function Mo(e,t="Unreachable"){throw new Error(t)}function No(e,t="unexpected state"){if(!e)throw typeof t=="string"?new ue(`Assertion Failed: ${t}`):t}function Yt(e){if(!e()){debugger;e(),De(new ue("Assertion Failed"))}}function Ji(e,t){let n=0;for(;n<e.length-1;){const i=e[n],r=e[n+1];if(!t(i,r))return!1;n++}return!0}function Io(e){return typeof e=="string"}function zo(e){return!!e&&typeof e[Symbol.iterator]=="function"}var Qt;(function(e){function t(b){return!!b&&typeof b=="object"&&typeof b[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function i(){return n}e.empty=i;function*r(b){yield b}e.single=r;function s(b){return t(b)?b:r(b)}e.wrap=s;function a(b){return b||n}e.from=a;function*l(b){for(let g=b.length-1;g>=0;g--)yield b[g]}e.reverse=l;function o(b){return!b||b[Symbol.iterator]().next().done===!0}e.isEmpty=o;function u(b){return b[Symbol.iterator]().next().value}e.first=u;function c(b,g){let _=0;for(const N of b)if(g(N,_++))return!0;return!1}e.some=c;function d(b,g){let _=0;for(const N of b)if(!g(N,_++))return!1;return!0}e.every=d;function m(b,g){for(const _ of b)if(g(_))return _}e.find=m;function*f(b,g){for(const _ of b)g(_)&&(yield _)}e.filter=f;function*w(b,g){let _=0;for(const N of b)yield g(N,_++)}e.map=w;function*p(b,g){let _=0;for(const N of b)yield*g(N,_++)}e.flatMap=p;function*x(...b){for(const g of b)zo(g)?yield*g:yield g}e.concat=x;function T(b,g,_){let N=_;for(const S of b)N=g(N,S);return N}e.reduce=T;function y(b){let g=0;for(const _ of b)g++;return g}e.length=y;function*L(b,g,_=b.length){for(g<-b.length&&(g=0),g<0&&(g+=b.length),_<0?_+=b.length:_>b.length&&(_=b.length);g<_;g++)yield b[g]}e.slice=L;function I(b,g=Number.POSITIVE_INFINITY){const _=[];if(g===0)return[_,b];const N=b[Symbol.iterator]();for(let S=0;S<g;S++){const v=N.next();if(v.done)return[_,e.empty()];_.push(v.value)}return[_,{[Symbol.iterator](){return N}}]}e.consume=I;async function H(b){const g=[];for await(const _ of b)g.push(_);return g}e.asyncToArray=H;async function W(b){let g=[];for await(const _ of b)g=g.concat(_);return g}e.asyncToArrayFlat=W})(Qt||(Qt={}));let Ue=null;function Hn(e){return Ue==null||Ue.trackDisposable(e),e}function Un(e){Ue==null||Ue.markAsDisposed(e)}function Yi(e,t){Ue==null||Ue.setParent(e,t)}function Qi(e){if(Qt.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(i){t.push(i)}if(t.length===1)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function Ho(...e){return Zt(()=>Qi(e))}function Zt(e){const t=Hn({dispose:Ro(()=>{Un(t),e()})});return t}const Ln=class{constructor(){this._toDispose=new Set,this._isDisposed=!1,Hn(this)}dispose(){this._isDisposed||(Un(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Qi(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t||t===Qe.None)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return Yi(t,this),this._isDisposed?Ln.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}delete(t){if(!!t){if(t===this)throw new Error("Cannot dispose a disposable on itself!");this._toDispose.delete(t),t.dispose()}}};let Dt=Ln;(()=>{Ln.DISABLE_DISPOSED_WARNING=!1})();const Gi=class{constructor(){this._store=new Dt,Hn(this),Yi(this._store,this)}dispose(){Un(this),this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}};let Qe=Gi;(()=>{Gi.None=Object.freeze({dispose(){}})})();const St=class{constructor(t){this.element=t,this.next=St.Undefined,this.prev=St.Undefined}};let te=St;(()=>{St.Undefined=new St(void 0)})();class Uo{constructor(){this._first=te.Undefined,this._last=te.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===te.Undefined}clear(){let t=this._first;for(;t!==te.Undefined;){const n=t.next;t.prev=te.Undefined,t.next=te.Undefined,t=n}this._first=te.Undefined,this._last=te.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const i=new te(t);if(this._first===te.Undefined)this._first=i,this._last=i;else if(n){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==te.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==te.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==te.Undefined&&t.next!==te.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===te.Undefined&&t.next===te.Undefined?(this._first=te.Undefined,this._last=te.Undefined):t.next===te.Undefined?(this._last=this._last.prev,this._last.next=te.Undefined):t.prev===te.Undefined&&(this._first=this._first.next,this._first.prev=te.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==te.Undefined;)yield t.element,t=t.next}}const Wo=globalThis.performance.now.bind(globalThis.performance);class Kt{static create(t){return new Kt(t)}constructor(t){this._now=t===!1?Date.now:Wo,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var Wn;(function(e){e.None=()=>Qe.None;function t(v,A){return m(v,()=>{},0,void 0,!0,void 0,A)}e.defer=t;function n(v){return(A,E=null,k)=>{let D=!1,M;return M=v(F=>{if(!D)return M?M.dispose():D=!0,A.call(E,F)},null,k),D&&M.dispose(),M}}e.once=n;function i(v,A){return e.once(e.filter(v,A))}e.onceIf=i;function r(v,A,E){return c((k,D=null,M)=>v(F=>k.call(D,A(F)),null,M),E)}e.map=r;function s(v,A,E){return c((k,D=null,M)=>v(F=>{A(F),k.call(D,F)},null,M),E)}e.forEach=s;function a(v,A,E){return c((k,D=null,M)=>v(F=>A(F)&&k.call(D,F),null,M),E)}e.filter=a;function l(v){return v}e.signal=l;function o(...v){return(A,E=null,k)=>{const D=Ho(...v.map(M=>M(F=>A.call(E,F))));return d(D,k)}}e.any=o;function u(v,A,E,k){let D=E;return r(v,M=>(D=A(D,M),D),k)}e.reduce=u;function c(v,A){let E;const k={onWillAddFirstListener(){E=v(D.fire,D)},onDidRemoveLastListener(){E==null||E.dispose()}},D=new Re(k);return A==null||A.add(D),D.event}function d(v,A){return A instanceof Array?A.push(v):A&&A.add(v),v}function m(v,A,E=100,k=!1,D=!1,M,F){let B,U,V,K=0,ee;const le={leakWarningThreshold:M,onWillAddFirstListener(){B=v(Nn=>{K++,U=A(U,Nn),k&&!V&&(xe.fire(U),U=void 0),ee=()=>{const Eh=U;U=void 0,V=void 0,(!k||K>1)&&xe.fire(Eh),K=0},typeof E=="number"?(V&&clearTimeout(V),V=setTimeout(ee,E)):V===void 0&&(V=null,queueMicrotask(ee))})},onWillRemoveListener(){D&&K>0&&(ee==null||ee())},onDidRemoveLastListener(){ee=void 0,B.dispose()}},xe=new Re(le);return F==null||F.add(xe),xe.event}e.debounce=m;function f(v,A=0,E){return e.debounce(v,(k,D)=>k?(k.push(D),k):[D],A,void 0,!0,void 0,E)}e.accumulate=f;function w(v,A=(k,D)=>k===D,E){let k=!0,D;return a(v,M=>{const F=k||!A(M,D);return k=!1,D=M,F},E)}e.latch=w;function p(v,A,E){return[e.filter(v,A,E),e.filter(v,k=>!A(k),E)]}e.split=p;function x(v,A=!1,E=[],k){let D=E.slice(),M=v(U=>{D?D.push(U):B.fire(U)});k&&k.add(M);const F=()=>{D==null||D.forEach(U=>B.fire(U)),D=null},B=new Re({onWillAddFirstListener(){M||(M=v(U=>B.fire(U)),k&&k.add(M))},onDidAddFirstListener(){D&&(A?setTimeout(F):F())},onDidRemoveLastListener(){M&&M.dispose(),M=null}});return k&&k.add(B),B.event}e.buffer=x;function T(v,A){return(k,D,M)=>{const F=A(new L);return v(function(B){const U=F.evaluate(B);U!==y&&k.call(D,U)},void 0,M)}}e.chain=T;const y=Symbol("HaltChainable");class L{constructor(){this.steps=[]}map(A){return this.steps.push(A),this}forEach(A){return this.steps.push(E=>(A(E),E)),this}filter(A){return this.steps.push(E=>A(E)?E:y),this}reduce(A,E){let k=E;return this.steps.push(D=>(k=A(k,D),k)),this}latch(A=(E,k)=>E===k){let E=!0,k;return this.steps.push(D=>{const M=E||!A(D,k);return E=!1,k=D,M?D:y}),this}evaluate(A){for(const E of this.steps)if(A=E(A),A===y)break;return A}}function I(v,A,E=k=>k){const k=(...B)=>F.fire(E(...B)),D=()=>v.on(A,k),M=()=>v.removeListener(A,k),F=new Re({onWillAddFirstListener:D,onDidRemoveLastListener:M});return F.event}e.fromNodeEventEmitter=I;function H(v,A,E=k=>k){const k=(...B)=>F.fire(E(...B)),D=()=>v.addEventListener(A,k),M=()=>v.removeEventListener(A,k),F=new Re({onWillAddFirstListener:D,onDidRemoveLastListener:M});return F.event}e.fromDOMEventEmitter=H;function W(v,A){let E;const k=new Promise((D,M)=>{const F=n(v)(D,null,A);E=()=>F.dispose()});return k.cancel=E,k}e.toPromise=W;function b(v,A){return v(E=>A.fire(E))}e.forward=b;function g(v,A,E){return A(E),v(k=>A(k))}e.runAndSubscribe=g;class _{constructor(A,E){this._observable=A,this._counter=0,this._hasChanged=!1;const k={onWillAddFirstListener:()=>{A.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{A.removeObserver(this)}};this.emitter=new Re(k),E&&E.add(this.emitter)}beginUpdate(A){this._counter++}handlePossibleChange(A){}handleChange(A,E){this._hasChanged=!0}endUpdate(A){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function N(v,A){return new _(v,A).emitter.event}e.fromObservable=N;function S(v){return(A,E,k)=>{let D=0,M=!1;const F={beginUpdate(){D++},endUpdate(){D--,D===0&&(v.reportChanges(),M&&(M=!1,A.call(E)))},handlePossibleChange(){},handleChange(){M=!0}};v.addObserver(F),v.reportChanges();const B={dispose(){v.removeObserver(F)}};return k instanceof Dt?k.add(B):Array.isArray(k)&&k.push(B),B}}e.fromObservableLight=S})(Wn||(Wn={}));const At=class{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${At._idPool++}`,At.all.add(this)}start(t){this._stopWatch=new Kt,this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}};let Fn=At;(()=>{At.all=new Set})(),(()=>{At._idPool=0})();let Fo=-1;const Cn=class{constructor(t,n,i=(Cn._idPool++).toString(16).padStart(3,"0")){this._errorHandler=t,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){var t;(t=this._stacks)==null||t.clear()}check(t,n){const i=this.threshold;if(i<=0||n<i)return;this._stacks||(this._stacks=new Map);const r=this._stacks.get(t.value)||0;if(this._stacks.set(t.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;const[s,a]=this.getMostFrequentStack(),l=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`;console.warn(l),console.warn(s);const o=new Po(l,s);this._errorHandler(o)}return()=>{const s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let t,n=0;for(const[i,r]of this._stacks)(!t||n<r)&&(t=[i,r],n=r);return t}};let Pn=Cn;(()=>{Cn._idPool=1})();class Bn{static create(){var n;const t=new Error;return new Bn((n=t.stack)!=null?n:"")}constructor(t){this.value=t}print(){console.warn(this.value.split(`
6
6
  `).slice(2).join(`
7
- `))}}class qo extends Error{constructor(t,n){super(t),this.name="ListenerLeakError",this.stack=n}}class Oo extends Error{constructor(t,n){super(t),this.name="ListenerRefusalError",this.stack=n}}class On{constructor(t){this.value=t}}const Vo=2;class Ae{constructor(t){var n,i,r,s,a,l;this._size=0,this._options=t,this._leakageMon=(n=this._options)!=null&&n.leakWarningThreshold?new Bn((i=t==null?void 0:t.onListenerError)!=null?i:Me,(s=(r=this._options)==null?void 0:r.leakWarningThreshold)!=null?s:Bo):void 0,this._perfMon=(a=this._options)!=null&&a._profName?new Pn(this._options._profName):void 0,this._deliveryQueue=(l=this._options)==null?void 0:l.deliveryQueue}dispose(){var t,n,i,r;this._disposed||(this._disposed=!0,((t=this._deliveryQueue)==null?void 0:t.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),(i=(n=this._options)==null?void 0:n.onDidRemoveLastListener)==null||i.call(n),(r=this._leakageMon)==null||r.dispose())}get event(){var t;return(t=this._event)!=null||(this._event=(n,i,r)=>{var o,u,c,d,m,f,w,p,x;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const T=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(T);const y=(o=this._leakageMon.getMostFrequentStack())!=null?o:["UNKNOWN stack",-1],L=new Oo(`${T}. HINT: Stack shows most frequent listener (${y[1]}-times)`,y[0]);return(((u=this._options)==null?void 0:u.onListenerError)||Me)(L),Ze.None}if(this._disposed)return Ze.None;i&&(n=n.bind(i));const s=new On(n);let a;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(s.stack=qn.create(),a=this._leakageMon.check(s.stack,this._size+1)),this._listeners?this._listeners instanceof On?((w=this._deliveryQueue)!=null||(this._deliveryQueue=new jo),this._listeners=[this._listeners,s]):this._listeners.push(s):((d=(c=this._options)==null?void 0:c.onWillAddFirstListener)==null||d.call(c,this),this._listeners=s,(f=(m=this._options)==null?void 0:m.onDidAddFirstListener)==null||f.call(m,this)),(x=(p=this._options)==null?void 0:p.onDidAddListener)==null||x.call(p,this),this._size++;const l=Kt(()=>{a==null||a(),this._removeListener(s)});return r instanceof Rt?r.add(l):Array.isArray(r)&&r.push(l),l}),this._event}_removeListener(t){var s,a,l,o;if((a=(s=this._options)==null?void 0:s.onWillRemoveListener)==null||a.call(s,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(o=(l=this._options)==null?void 0:l.onDidRemoveLastListener)==null||o.call(l,this),this._size=0;return}const n=this._listeners,i=n.indexOf(t);if(i===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[i]=void 0;const r=this._deliveryQueue.current===this;if(this._size*Vo<=n.length){let u=0;for(let c=0;c<n.length;c++)n[c]?n[u++]=n[c]:r&&u<this._deliveryQueue.end&&(this._deliveryQueue.end--,u<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=u}}_deliver(t,n){var r;if(!t)return;const i=((r=this._options)==null?void 0:r.onListenerError)||Me;if(!i){t.value(n);return}try{t.value(n)}catch(s){i(s)}}_deliverQueue(t){const n=t.current._listeners;for(;t.i<t.end;)this._deliver(n[t.i++],t.value);t.reset()}fire(t){var n,i,r,s;if((n=this._deliveryQueue)!=null&&n.current&&(this._deliverQueue(this._deliveryQueue),(i=this._perfMon)==null||i.stop()),(r=this._perfMon)==null||r.start(this._size),this._listeners)if(this._listeners instanceof On)this._deliver(this._listeners,t);else{const a=this._deliveryQueue;a.enqueue(this,t,this._listeners.length),this._deliverQueue(a)}(s=this._perfMon)==null||s.stop()}hasListeners(){return this._size>0}}class jo{constructor(){this.i=-1,this.end=0}enqueue(t,n,i){this.i=0,this.end=i,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function Go(){return globalThis._VSCODE_NLS_MESSAGES}function Ki(){return globalThis._VSCODE_NLS_LANGUAGE}const $o=Ki()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function er(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(i,r)=>{const s=r[0],a=t[s];let l=i;return typeof a=="string"?l=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(l=String(a)),l}),$o&&(n="\uFF3B"+n.replace(/[aouei]/g,"$&$&")+"\uFF3D"),n}function O(e,t,...n){return er(typeof e=="number"?Xo(e,t):t,n)}function Xo(e,t){var i;const n=(i=Go())==null?void 0:i[e];if(typeof n!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}const ut="en";let Vn=!1,jn=!1,Gn=!1,nn,$n=ut,tr=ut,Jo,Le;const Ke=globalThis;let se;typeof Ke.vscode<"u"&&typeof Ke.vscode.process<"u"?se=Ke.vscode.process:typeof process<"u"&&typeof((Co=process==null?void 0:process.versions)==null?void 0:Co.node)=="string"&&(se=process);const Yo=typeof((Eo=se==null?void 0:se.versions)==null?void 0:Eo.electron)=="string"&&(se==null?void 0:se.type)==="renderer";if(typeof se=="object"){Vn=se.platform==="win32",jn=se.platform==="darwin",Gn=se.platform==="linux",Gn&&!!se.env.SNAP&&se.env.SNAP_REVISION,!!se.env.CI||!!se.env.BUILD_ARTIFACTSTAGINGDIRECTORY||se.env.GITHUB_WORKSPACE,nn=ut,$n=ut;const e=se.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);nn=t.userLocale,tr=t.osLocale,$n=t.resolvedLanguage||ut,Jo=(Do=t.languagePack)==null?void 0:Do.translationsConfigFile}catch{}}else typeof navigator=="object"&&!Yo?(Le=navigator.userAgent,Vn=Le.indexOf("Windows")>=0,jn=Le.indexOf("Macintosh")>=0,(Le.indexOf("Macintosh")>=0||Le.indexOf("iPad")>=0||Le.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Gn=Le.indexOf("Linux")>=0,(Le==null?void 0:Le.indexOf("Mobi"))>=0,$n=Ki()||ut,nn=navigator.language.toLowerCase(),tr=nn):console.error("Unable to resolve platform.");const Mt=Vn,Qo=jn,Ne=Le,Zo=typeof Ke.postMessage=="function"&&!Ke.importScripts;(()=>{if(Zo){const e=[];Ke.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=e.length;i<r;i++){const s=e[i];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(i,1),s.callback();return}}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),Ke.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})();const Ko=!!(Ne&&Ne.indexOf("Chrome")>=0);Ne&&Ne.indexOf("Firefox")>=0,!Ko&&Ne&&Ne.indexOf("Safari")>=0,Ne&&Ne.indexOf("Edg/")>=0,Ne&&Ne.indexOf("Android")>=0;function el(e){return e}class tl{constructor(t,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof t=="function"?(this._fn=t,this._computeKey=el):(this._fn=n,this._computeKey=t.getCacheKey)}get(t){const n=this._computeKey(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(t)),this.lastCache}}var et;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Running=1]="Running",e[e.Completed=2]="Completed"})(et||(et={}));class Xn{constructor(t){this.executor=t,this._state=et.Uninitialized}get value(){if(this._state===et.Uninitialized){this._state=et.Running;try{this._value=this.executor()}catch(t){this._error=t}finally{this._state=et.Completed}}else if(this._state===et.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function nl(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function il(e){return e.source==="^"||e.source==="^$"||e.source==="$"||e.source==="^\\s*$"?!1:!!(e.exec("")&&e.lastIndex===0)}function rl(e){return e.split(/\r\n|\r|\n/)}function sl(e){for(let t=0,n=e.length;t<n;t++){const i=e.charCodeAt(t);if(i!==32&&i!==9)return t}return-1}function al(e,t=e.length-1){for(let n=t;n>=0;n--){const i=e.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function nr(e){return e>=65&&e<=90}function ol(e,t){const n=Math.min(e.length,t.length);let i;for(i=0;i<n;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return n}function ll(e,t){const n=Math.min(e.length,t.length);let i;const r=e.length-1,s=t.length-1;for(i=0;i<n;i++)if(e.charCodeAt(r-i)!==t.charCodeAt(s-i))return i;return n}function rn(e){return 55296<=e&&e<=56319}function Jn(e){return 56320<=e&&e<=57343}function ir(e,t){return(e-55296<<10)+(t-56320)+65536}function ul(e,t,n){const i=e.charCodeAt(n);if(rn(i)&&n+1<t){const r=e.charCodeAt(n+1);if(Jn(r))return ir(i,r)}return i}const cl=/^[\t\n\r\x20-\x7E]*$/;function hl(e){return cl.test(e)}const rt=class{static getInstance(){return rt._INSTANCE||(rt._INSTANCE=new rt),rt._INSTANCE}constructor(){this._data=dl()}getGraphemeBreakType(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;const n=this._data,i=n.length/3;let r=1;for(;r<=i;)if(t<n[3*r])r=2*r;else if(t>n[3*r+1])r=2*r+1;else return n[3*r+2];return 0}};let rr=rt;(()=>{rt._INSTANCE=null})();function dl(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}const He=class{static getInstance(t){return He.cache.get(Array.from(t))}static getLocales(){return He._locales.value}constructor(t){this.confusableDictionary=t}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}};let Nt=He;(()=>{He.ambiguousCharacterData=new Xn(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}'))})(),(()=>{He.cache=new tl({getCacheKey:JSON.stringify},t=>{function n(c){const d=new Map;for(let m=0;m<c.length;m+=2)d.set(c[m],c[m+1]);return d}function i(c,d){const m=new Map(c);for(const[f,w]of d)m.set(f,w);return m}function r(c,d){if(!c)return d;const m=new Map;for(const[f,w]of c)d.has(f)&&m.set(f,w);return m}const s=He.ambiguousCharacterData.value;let a=t.filter(c=>!c.startsWith("_")&&c in s);a.length===0&&(a=["_default"]);let l;for(const c of a){const d=n(s[c]);l=r(l,d)}const o=n(s._common),u=i(o,l);return new He(u)})})(),(()=>{He._locales=new Xn(()=>Object.keys(He.ambiguousCharacterData.value).filter(t=>!t.startsWith("_")))})();const Ct=class{static getRawData(){return JSON.parse('{"_common":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999],"cs":[173,8203,12288],"de":[173,8203,12288],"es":[8203,12288],"fr":[173,8203,12288],"it":[160,173,12288],"ja":[173],"ko":[173,12288],"pl":[173,8203,12288],"pt-BR":[173,8203,12288],"qps-ploc":[160,173,8203,12288],"ru":[173,12288],"tr":[160,173,8203,12288],"zh-hans":[160,173,8203,12288],"zh-hant":[173,12288]}')}static getData(){return this._data||(this._data=new Set([...Object.values(Ct.getRawData())].flat())),this._data}static isInvisibleCharacter(t){return Ct.getData().has(t)}static get codePoints(){return Ct.getData()}};let It=Ct;(()=>{Ct._data=void 0})();const Yn="default",ml="$initialize";class fl{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}}class sr{constructor(t,n,i,r){this.vsWorker=t,this.seq=n,this.res=i,this.err=r,this.type=1}}class pl{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}}class gl{constructor(t,n,i){this.vsWorker=t,this.req=n,this.event=i,this.type=3}}class bl{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class wl{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n,i){const r=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[r]={resolve:s,reject:a},this._send(new fl(this._workerId,r,t,n,i))})}listen(t,n,i){let r=null;const s=new Ae({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new pl(this._workerId,r,t,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new bl(this._workerId,r)),r=null}});return s.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}createProxyToRemoteChannel(t,n){const i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(or(s)?r[s]=a=>this.listen(t,s,a):ar(s)?r[s]=this.listen(t,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...a)=>(await(n==null?void 0:n()),this.sendMessage(t,s,a)))),r[s])};return new Proxy(Object.create(null),i)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let i=t.err;t.err.$isError&&(i=new Error,i.name=t.err.name,i.message=t.err.message,i.stack=t.err.stack),n.reject(i);return}n.resolve(t.res)}_handleRequestMessage(t){const n=t.req;this._handler.handleMessage(t.channel,t.method,t.args).then(r=>{this._send(new sr(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=Hn(r.detail)),this._send(new sr(this._workerId,n,void 0,Hn(r)))})}_handleSubscribeEventMessage(t){const n=t.req,i=this._handler.handleEvent(t.channel,t.eventName,t.arg)(r=>{this._send(new gl(this._workerId,n,r))});this._pendingEvents.set(n,i)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){const n=[];if(t.type===0)for(let i=0;i<t.args.length;i++)t.args[i]instanceof ArrayBuffer&&n.push(t.args[i]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}}function ar(e){return e[0]==="o"&&e[1]==="n"&&nr(e.charCodeAt(2))}function or(e){return/^onDynamic/.test(e)&&nr(e.charCodeAt(9))}class _l{constructor(t,n){this._localChannels=new Map,this._remoteChannels=new Map,this._protocol=new wl({sendMessage:(i,r)=>{t(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)}),this.requestHandler=n(this)}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n,i){if(t===Yn&&n===ml)return this.initialize(i[0]);const r=t===Yn?this.requestHandler:this._localChannels.get(t);if(!r)return Promise.reject(new Error(`Missing channel ${t} on worker thread`));if(typeof r[n]!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${t}`));try{return Promise.resolve(r[n].apply(r,i))}catch(s){return Promise.reject(s)}}_handleEvent(t,n,i){const r=t===Yn?this.requestHandler:this._localChannels.get(t);if(!r)throw new Error(`Missing channel ${t} on worker thread`);if(or(n)){const s=r[n].call(r,i);if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return s}if(ar(n)){const s=r[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(t){if(!this._remoteChannels.has(t)){const n=this._protocol.createProxyToRemoteChannel(t);this._remoteChannels.set(t,n)}return this._remoteChannels.get(t)}async initialize(t){this._protocol.setWorkerId(t)}}let lr=!1;function vl(e){if(lr)throw new Error("WebWorker already initialized!");lr=!0;const t=new _l(n=>globalThis.postMessage(n),n=>e(n));return globalThis.onmessage=n=>{t.onmessage(n.data)},t}class je{constructor(t,n,i,r){this.originalStart=t,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}const ur=typeof Buffer<"u";new Xn(()=>new Uint8Array(256));let Qn;class Zn{static wrap(t){return ur&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new Zn(t)}constructor(t){this.buffer=t,this.byteLength=this.buffer.byteLength}toString(){return ur?this.buffer.toString():(Qn||(Qn=new TextDecoder),Qn.decode(this.buffer))}}const cr="0123456789abcdef";function yl({buffer:e}){let t="";for(let n=0;n<e.length;n++){const i=e[n];t+=cr[i>>>4],t+=cr[i&15]}return t}function hr(e,t){return(t<<5)-t+e|0}function Tl(e,t){t=hr(149417,t);for(let n=0,i=e.length;n<i;n++)t=hr(e.charCodeAt(n),t);return t}function Kn(e,t,n=32){const i=n-t,r=~((1<<i)-1);return(e<<t|(r&e)>>>i)>>>0}function zt(e,t=32){return e instanceof ArrayBuffer?yl(Zn.wrap(new Uint8Array(e))):(e>>>0).toString(16).padStart(t/4,"0")}const Rn=class{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(t){const n=t.length;if(n===0)return;const i=this._buff;let r=this._buffLen,s=this._leftoverHighSurrogate,a,l;for(s!==0?(a=s,l=-1,s=0):(a=t.charCodeAt(0),l=0);;){let o=a;if(rn(a))if(l+1<n){const u=t.charCodeAt(l+1);Jn(u)?(l++,o=ir(a,u)):o=65533}else{s=a;break}else Jn(a)&&(o=65533);if(r=this._push(i,r,o),l++,l<n)a=t.charCodeAt(l);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(t,n,i){return i<128?t[n++]=i:i<2048?(t[n++]=192|(i&1984)>>>6,t[n++]=128|(i&63)>>>0):i<65536?(t[n++]=224|(i&61440)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0):(t[n++]=240|(i&1835008)>>>18,t[n++]=128|(i&258048)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,t[0]=t[64+0],t[1]=t[64+1],t[2]=t[64+2]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),zt(this._h0)+zt(this._h1)+zt(this._h2)+zt(this._h3)+zt(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,this._buff.subarray(this._buffLen).fill(0),this._buffLen>56&&(this._step(),this._buff.fill(0));const t=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(t/4294967296),!1),this._buffDV.setUint32(60,t%4294967296,!1),this._step()}_step(){const t=Rn._bigBlock32,n=this._buffDV;for(let d=0;d<64;d+=4)t.setUint32(d,n.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)t.setUint32(d,Kn(t.getUint32(d-12,!1)^t.getUint32(d-32,!1)^t.getUint32(d-56,!1)^t.getUint32(d-64,!1),1),!1);let i=this._h0,r=this._h1,s=this._h2,a=this._h3,l=this._h4,o,u,c;for(let d=0;d<80;d++)d<20?(o=r&s|~r&a,u=1518500249):d<40?(o=r^s^a,u=1859775393):d<60?(o=r&s|r&a|s&a,u=2400959708):(o=r^s^a,u=3395469782),c=Kn(i,5)+o+l+u+t.getUint32(d*4,!1)&4294967295,l=a,a=s,s=Kn(r,30),r=i,i=c;this._h0=this._h0+i&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+l&4294967295}};let dr=Rn;(()=>{Rn._bigBlock32=new DataView(new ArrayBuffer(320))})();class mr{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let i=0,r=t.length;i<r;i++)n[i]=t.charCodeAt(i);return n}}function xl(e,t,n){return new Ge(new mr(e),new mr(t)).ComputeDiff(n).changes}class ct{static Assert(t,n){if(!t)throw new Error(n)}}class ht{static Copy(t,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=t[n+a]}static Copy2(t,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=t[n+a]}}class fr{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new je(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Ge{constructor(t,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=t,this._modifiedSequence=n;const[r,s,a]=Ge._getElements(t),[l,o,u]=Ge._getElements(n);this._hasStrings=a&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=o,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(Ge._isStringArray(n)){const i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=Tl(n[r],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(t,n){if(!this.ElementsAreEqual(t,n))return!1;const i=Ge._getStrictElement(this._originalSequence,t),r=Ge._getStrictElement(this._modifiedSequence,n);return i===r}static _getStrictElement(t,n){return typeof t.getStrictElement=="function"?t.getStrictElement(n):null}OriginalElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,n,i,r,s){const a=[!1];let l=this.ComputeDiffRecursive(t,n,i,r,a);return s&&(l=this.PrettifyChanges(l)),{quitEarly:a[0],changes:l}}ComputeDiffRecursive(t,n,i,r,s){for(s[0]=!1;t<=n&&i<=r&&this.ElementsAreEqual(t,i);)t++,i++;for(;n>=t&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(t>n||i>r){let d;return i<=r?(ct.Assert(t===n+1,"originalStart should only be one more than originalEnd"),d=[new je(t,0,i,r-i+1)]):t<=n?(ct.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new je(t,n-t+1,i,0)]):(ct.Assert(t===n+1,"originalStart should only be one more than originalEnd"),ct.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const a=[0],l=[0],o=this.ComputeRecursionPoint(t,n,i,r,a,l,s),u=a[0],c=l[0];if(o!==null)return o;if(!s[0]){const d=this.ComputeDiffRecursive(t,u,i,c,s);let m=[];return s[0]?m=[new je(u+1,n-(u+1)+1,c+1,r-(c+1)+1)]:m=this.ComputeDiffRecursive(u+1,n,c+1,r,s),this.ConcatenateChanges(d,m)}return[new je(t,n-t+1,i,r-i+1)]}WALKTRACE(t,n,i,r,s,a,l,o,u,c,d,m,f,w,p,x,T,y){let L=null,I=null,H=new fr,W=n,b=i,g=f[0]-x[0]-r,_=-1073741824,N=this.m_forwardHistory.length-1;do{const S=g+t;S===W||S<b&&u[S-1]<u[S+1]?(d=u[S+1],w=d-g-r,d<_&&H.MarkNextChange(),_=d,H.AddModifiedElement(d+1,w),g=S+1-t):(d=u[S-1]+1,w=d-g-r,d<_&&H.MarkNextChange(),_=d-1,H.AddOriginalElement(d,w+1),g=S-1-t),N>=0&&(u=this.m_forwardHistory[N],t=u[0],W=1,b=u.length-1)}while(--N>=-1);if(L=H.getReverseChanges(),y[0]){let S=f[0]+1,v=x[0]+1;if(L!==null&&L.length>0){const A=L[L.length-1];S=Math.max(S,A.getOriginalEnd()),v=Math.max(v,A.getModifiedEnd())}I=[new je(S,m-S+1,v,p-v+1)]}else{H=new fr,W=a,b=l,g=f[0]-x[0]-o,_=1073741824,N=T?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const S=g+s;S===W||S<b&&c[S-1]>=c[S+1]?(d=c[S+1]-1,w=d-g-o,d>_&&H.MarkNextChange(),_=d+1,H.AddOriginalElement(d+1,w+1),g=S+1-s):(d=c[S-1],w=d-g-o,d>_&&H.MarkNextChange(),_=d,H.AddModifiedElement(d+1,w+1),g=S-1-s),N>=0&&(c=this.m_reverseHistory[N],s=c[0],W=1,b=c.length-1)}while(--N>=-1);I=H.getChanges()}return this.ConcatenateChanges(L,I)}ComputeRecursionPoint(t,n,i,r,s,a,l){let o=0,u=0,c=0,d=0,m=0,f=0;t--,i--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const w=n-t+(r-i),p=w+1,x=new Int32Array(p),T=new Int32Array(p),y=r-i,L=n-t,I=t-i,H=n-r,b=(L-y)%2===0;x[y]=t,T[L]=n,l[0]=!1;for(let g=1;g<=w/2+1;g++){let _=0,N=0;c=this.ClipDiagonalBound(y-g,g,y,p),d=this.ClipDiagonalBound(y+g,g,y,p);for(let v=c;v<=d;v+=2){v===c||v<d&&x[v-1]<x[v+1]?o=x[v+1]:o=x[v-1]+1,u=o-(v-y)-I;const A=o;for(;o<n&&u<r&&this.ElementsAreEqual(o+1,u+1);)o++,u++;if(x[v]=o,o+u>_+N&&(_=o,N=u),!b&&Math.abs(v-L)<=g-1&&o>=T[v])return s[0]=o,a[0]=u,A<=T[v]&&1447>0&&g<=1447+1?this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l):null}const S=(_-t+(N-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(_,S))return l[0]=!0,s[0]=_,a[0]=N,S>0&&1447>0&&g<=1447+1?this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l):(t++,i++,[new je(t,n-t+1,i,r-i+1)]);m=this.ClipDiagonalBound(L-g,g,L,p),f=this.ClipDiagonalBound(L+g,g,L,p);for(let v=m;v<=f;v+=2){v===m||v<f&&T[v-1]>=T[v+1]?o=T[v+1]-1:o=T[v-1],u=o-(v-L)-H;const A=o;for(;o>t&&u>i&&this.ElementsAreEqual(o,u);)o--,u--;if(T[v]=o,b&&Math.abs(v-y)<=g&&o<=x[v])return s[0]=o,a[0]=u,A>=x[v]&&1447>0&&g<=1447+1?this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l):null}if(g<=1447){let v=new Int32Array(d-c+2);v[0]=y-c+1,ht.Copy2(x,c,v,1,d-c+1),this.m_forwardHistory.push(v),v=new Int32Array(f-m+2),v[0]=L-m+1,ht.Copy2(T,m,v,1,f-m+1),this.m_reverseHistory.push(v)}}return this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l)}PrettifyChanges(t){for(let n=0;n<t.length;n++){const i=t[n],r=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){const u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}const o=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],o)){t[n]=o[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){const i=t[n];let r=0,s=0;if(n>0){const d=t[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}const a=i.originalLength>0,l=i.modifiedLength>0;let o=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){const m=i.originalStart-d,f=i.modifiedStart-d;if(m<r||f<s||a&&!this.OriginalElementsAreEqual(m,m+i.originalLength)||l&&!this.ModifiedElementsAreEqual(f,f+i.modifiedLength))break;const p=(m===r&&f===s?5:0)+this._boundaryScore(m,i.originalLength,f,i.modifiedLength);p>u&&(u=p,o=d)}i.originalStart-=o,i.modifiedStart-=o;const c=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],c)){t[n-1]=c[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=t.length;n<i;n++){const r=t[n-1],s=t[n],a=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,o=s.originalStart+s.originalLength,u=o-l,c=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,m=d-c;if(a<5&&u<20&&m<20){const f=this._findBetterContiguousSequence(l,u,c,m,a);if(f){const[w,p]=f;(w!==r.originalStart+r.originalLength||p!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=w-r.originalStart,r.modifiedLength=p-r.modifiedStart,s.originalStart=w+a,s.modifiedStart=p+a,s.originalLength=o-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,i,r,s){if(n<s||r<s)return null;const a=t+n-s+1,l=i+r-s+1;let o=0,u=0,c=0;for(let d=t;d<a;d++)for(let m=i;m<l;m++){const f=this._contiguousSequenceScore(d,m,s);f>0&&f>o&&(o=f,u=d,c=m)}return o>0?[u,c]:null}_contiguousSequenceScore(t,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;r+=this._originalStringElements[t+s].length}return r}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(t,n,i,r){const s=this._OriginalRegionIsBoundary(t,n)?1:0,a=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+a}ConcatenateChanges(t,n){const i=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],i)){const r=new Array(t.length+n.length-1);return ht.Copy(t,0,r,0,t.length-1),r[t.length-1]=i[0],ht.Copy(n,1,r,t.length,n.length-1),r}else{const r=new Array(t.length+n.length);return ht.Copy(t,0,r,0,t.length),ht.Copy(n,0,r,t.length,n.length),r}}ChangesOverlap(t,n,i){if(ct.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),ct.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const r=t.originalStart;let s=t.originalLength;const a=t.modifiedStart;let l=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-t.modifiedStart),i[0]=new je(r,s,a,l),!0}else return i[0]=null,!1}ClipDiagonalBound(t,n,i,r){if(t>=0&&t<r)return t;const s=i,a=r-i-1,l=n%2===0;if(t<0){const o=s%2===0;return l===o?0:1}else{const o=a%2===0;return l===o?r-1:r-2}}}class Y{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new Y(t,n)}delta(t=0,n=0){return this.with(Math.max(1,this.lineNumber+t),Math.max(1,this.column+n))}equals(t){return Y.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return Y.isBefore(this,t)}static isBefore(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column}isBeforeOrEqual(t){return Y.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column}static compare(t,n){const i=t.lineNumber|0,r=n.lineNumber|0;if(i===r){const s=t.column|0,a=n.column|0;return s-a}return i-r}clone(){return new Y(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new Y(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}}class P{constructor(t,n,i,r){t>i||t===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return P.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return P.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn||n.lineNumber===t.endLineNumber&&n.column>t.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return P.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)}strictContainsRange(t){return P.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return P.plusRange(this,t)}static plusRange(t,n){let i,r,s,a;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,r=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,a=t.endColumn),new P(i,r,s,a)}intersectRanges(t){return P.intersectRanges(this,t)}static intersectRanges(t,n){let i=t.startLineNumber,r=t.startColumn,s=t.endLineNumber,a=t.endColumn;const l=n.startLineNumber,o=n.startColumn,u=n.endLineNumber,c=n.endColumn;return i<l?(i=l,r=o):i===l&&(r=Math.max(r,o)),s>u?(s=u,a=c):s===u&&(a=Math.min(a,c)),i>s||i===s&&r>a?null:new P(i,r,s,a)}equalsRange(t){return P.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return P.getEndPosition(this)}static getEndPosition(t){return new Y(t.endLineNumber,t.endColumn)}getStartPosition(){return P.getStartPosition(this)}static getStartPosition(t){return new Y(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new P(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new P(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return P.collapseToStart(this)}static collapseToStart(t){return new P(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return P.collapseToEnd(this)}static collapseToEnd(t){return new P(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new P(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}isSingleLine(){return this.startLineNumber===this.endLineNumber}static fromPositions(t,n=t){return new P(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new P(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)}static areIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)}static areOnlyIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber-1||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn-1||n.endLineNumber<t.startLineNumber-1||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn-1)}static compareRangesUsingStarts(t,n){if(t&&n){const s=t.startLineNumber|0,a=n.startLineNumber|0;if(s===a){const l=t.startColumn|0,o=n.startColumn|0;if(l===o){const u=t.endLineNumber|0,c=n.endLineNumber|0;if(u===c){const d=t.endColumn|0,m=n.endColumn|0;return d-m}return u-c}return l-o}return s-a}return(t?1:0)-(n?1:0)}static compareRangesUsingEnds(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}}function pr(e){return e<0?0:e>255?255:e|0}function dt(e){return e<0?0:e>4294967295?4294967295:e|0}class ei{constructor(t){const n=pr(t);this._defaultValue=n,this._asciiMap=ei._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const i=pr(n);t>=0&&t<256?this._asciiMap[t]=i:this._map.set(t,i)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class kl{constructor(t,n,i){const r=new Uint8Array(t*n);for(let s=0,a=t*n;s<a;s++)r[s]=i;this._data=r,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,i){this._data[t*this.cols+n]=i}}class Sl{constructor(t){let n=0,i=0;for(let s=0,a=t.length;s<a;s++){const[l,o,u]=t[s];o>n&&(n=o),l>i&&(i=l),u>i&&(i=u)}n++,i++;const r=new kl(i,n,0);for(let s=0,a=t.length;s<a;s++){const[l,o,u]=t[s];r.set(l,o,u)}this._states=r,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}}let ti=null;function Al(){return ti===null&&(ti=new Sl([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),ti}let Ht=null;function Ll(){if(Ht===null){Ht=new ei(0);const e=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026|`;for(let n=0;n<e.length;n++)Ht.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)Ht.set(t.charCodeAt(n),2)}return Ht}class sn{static _createLink(t,n,i,r,s){let a=s-1;do{const l=n.charCodeAt(a);if(t.get(l)!==2)break;a--}while(a>r);if(r>0){const l=n.charCodeAt(r-1),o=n.charCodeAt(a);(l===40&&o===41||l===91&&o===93||l===123&&o===125)&&a--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(t,n=Al()){const i=Ll(),r=[];for(let s=1,a=t.getLineCount();s<=a;s++){const l=t.getLineContent(s),o=l.length;let u=0,c=0,d=0,m=1,f=!1,w=!1,p=!1,x=!1;for(;u<o;){let T=!1;const y=l.charCodeAt(u);if(m===13){let L;switch(y){case 40:f=!0,L=0;break;case 41:L=f?0:1;break;case 91:p=!0,w=!0,L=0;break;case 93:p=!1,L=w?0:1;break;case 123:x=!0,L=0;break;case 125:L=x?0:1;break;case 39:case 34:case 96:d===y?L=1:d===39||d===34||d===96?L=0:L=1;break;case 42:L=d===42?1:0;break;case 32:L=p?0:1;break;default:L=i.get(y)}L===1&&(r.push(sn._createLink(i,l,s,c,u)),T=!0)}else if(m===12){let L;y===91?(w=!0,L=0):L=i.get(y),L===1?T=!0:m=13}else m=n.nextState(m,y),m===0&&(T=!0);T&&(m=1,f=!1,w=!1,x=!1,c=u+1,d=y),u++}m===13&&r.push(sn._createLink(i,l,s,c,o))}return r}}function Cl(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:sn.computeLinks(e)}const Mn=class{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(t,n,i,r,s){if(t&&n){const a=this.doNavigateValueSet(n,s);if(a)return{range:t,value:a}}if(i&&r){const a=this.doNavigateValueSet(r,s);if(a)return{range:i,value:a}}return null}doNavigateValueSet(t,n){const i=this.numberReplace(t,n);return i!==null?i:this.textReplace(t,n)}numberReplace(t,n){const i=Math.pow(10,t.length-(t.lastIndexOf(".")+1));let r=Number(t);const s=parseFloat(t);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,i){let r=null;for(let s=0,a=t.length;r===null&&s<a;s++)r=this.valueSetReplace(t[s],n,i);return r}valueSetReplace(t,n,i){let r=t.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=t.length-1:r%=t.length,t[r]):null}};let ni=Mn;(()=>{Mn.INSTANCE=new Mn})();const gr=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var an;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof on?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:tn.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:gr})})(an||(an={}));class on{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?gr:(this._emitter||(this._emitter=new Ae),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class El{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new on),this._token}cancel(){this._token?this._token instanceof on&&this._token.cancel():this._token=an.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)==null||n.dispose(),this._token?this._token instanceof on&&this._token.dispose():this._token=an.None}}class ii{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const ln=new ii,ri=new ii,si=new ii,Dl=new Array(230),Rl=Object.create(null),Ml=Object.create(null);(function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],i=[];for(const r of t){const[s,a,l,o,u,c,d,m,f]=r;if(i[a]||(i[a]=!0,Rl[l]=a,Ml[l.toLowerCase()]=a),!n[o]){if(n[o]=!0,!u)throw new Error(`String representation missing for key code ${o} around scan code ${l}`);ln.define(o,u),ri.define(o,m||u),si.define(o,f||m||u)}c&&(Dl[c]=o)}})();var br;(function(e){function t(l){return ln.keyCodeToStr(l)}e.toString=t;function n(l){return ln.strToKeyCode(l)}e.fromString=n;function i(l){return ri.keyCodeToStr(l)}e.toUserSettingsUS=i;function r(l){return si.keyCodeToStr(l)}e.toUserSettingsGeneral=r;function s(l){return ri.strToKeyCode(l)||si.strToKeyCode(l)}e.fromUserSettings=s;function a(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return ln.keyCodeToStr(l)}e.toElectronAccelerator=a})(br||(br={}));function Nl(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}let mt;const ai=globalThis.vscode;if(typeof ai<"u"&&typeof ai.process<"u"){const e=ai.process;mt={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof((Ro=process==null?void 0:process.versions)==null?void 0:Ro.node)=="string"?mt={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:mt={get platform(){return Mt?"win32":Qo?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const un=mt.cwd,Il=mt.env,zl=mt.platform,Hl=65,Ul=97,Wl=90,Fl=122,tt=46,ae=47,de=92,Fe=58,Pl=63;class wr extends Error{constructor(t,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";const s=t.indexOf(".")!==-1?"property":"argument";let a=`The "${t}" ${s} ${r} of type ${n}`;a+=`. Received type ${typeof i}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function Bl(e,t){if(e===null||typeof e!="object")throw new wr(t,"Object",e)}function ie(e,t){if(typeof e!="string")throw new wr(t,"string",e)}const $e=zl==="win32";function G(e){return e===ae||e===de}function oi(e){return e===ae}function Pe(e){return e>=Hl&&e<=Wl||e>=Ul&&e<=Fl}function cn(e,t,n,i){let r="",s=0,a=-1,l=0,o=0;for(let u=0;u<=e.length;++u){if(u<e.length)o=e.charCodeAt(u);else{if(i(o))break;o=ae}if(i(o)){if(!(a===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==tt||r.charCodeAt(r.length-2)!==tt){if(r.length>2){const c=r.lastIndexOf(n);c===-1?(r="",s=0):(r=r.slice(0,c),s=r.length-1-r.lastIndexOf(n)),a=u,l=0;continue}else if(r.length!==0){r="",s=0,a=u,l=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${e.slice(a+1,u)}`:r=e.slice(a+1,u),s=u-a-1;a=u,l=0}else o===tt&&l!==-1?++l:l=-1}return r}function ql(e){return e?`${e[0]==="."?"":"."}${e}`:""}function _r(e,t){Bl(t,"pathObject");const n=t.dir||t.root,i=t.base||`${t.name||""}${ql(t.ext)}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const ce={resolve(...e){let t="",n="",i=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(s=e[r],ie(s,`paths[${r}]`),s.length===0)continue}else t.length===0?s=un():(s=Il[`=${t}`]||un(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===de)&&(s=`${t}\\`));const a=s.length;let l=0,o="",u=!1;const c=s.charCodeAt(0);if(a===1)G(c)&&(l=1,u=!0);else if(G(c))if(u=!0,G(s.charCodeAt(1))){let d=2,m=d;for(;d<a&&!G(s.charCodeAt(d));)d++;if(d<a&&d!==m){const f=s.slice(m,d);for(m=d;d<a&&G(s.charCodeAt(d));)d++;if(d<a&&d!==m){for(m=d;d<a&&!G(s.charCodeAt(d));)d++;(d===a||d!==m)&&(o=`\\\\${f}\\${s.slice(m,d)}`,l=d)}}}else l=1;else Pe(c)&&s.charCodeAt(1)===Fe&&(o=s.slice(0,2),l=2,a>2&&G(s.charCodeAt(2))&&(u=!0,l=3));if(o.length>0)if(t.length>0){if(o.toLowerCase()!==t.toLowerCase())continue}else t=o;if(i){if(t.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&t.length>0)break}return n=cn(n,!i,"\\",G),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){ie(e,"path");const t=e.length;if(t===0)return".";let n=0,i,r=!1;const s=e.charCodeAt(0);if(t===1)return oi(s)?"\\":e;if(G(s))if(r=!0,G(e.charCodeAt(1))){let l=2,o=l;for(;l<t&&!G(e.charCodeAt(l));)l++;if(l<t&&l!==o){const u=e.slice(o,l);for(o=l;l<t&&G(e.charCodeAt(l));)l++;if(l<t&&l!==o){for(o=l;l<t&&!G(e.charCodeAt(l));)l++;if(l===t)return`\\\\${u}\\${e.slice(o)}\\`;l!==o&&(i=`\\\\${u}\\${e.slice(o,l)}`,n=l)}}}else n=1;else Pe(s)&&e.charCodeAt(1)===Fe&&(i=e.slice(0,2),n=2,t>2&&G(e.charCodeAt(2))&&(r=!0,n=3));let a=n<t?cn(e.slice(n),!r,"\\",G):"";if(a.length===0&&!r&&(a="."),a.length>0&&G(e.charCodeAt(t-1))&&(a+="\\"),!r&&i===void 0&&e.includes(":")){if(a.length>=2&&Pe(a.charCodeAt(0))&&a.charCodeAt(1)===Fe)return`.\\${a}`;let l=e.indexOf(":");do if(l===t-1||G(e.charCodeAt(l+1)))return`.\\${a}`;while((l=e.indexOf(":",l+1))!==-1)}return i===void 0?r?`\\${a}`:a:r?`${i}\\${a}`:`${i}${a}`},isAbsolute(e){ie(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return G(n)||t>2&&Pe(n)&&e.charCodeAt(1)===Fe&&G(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s<e.length;++s){const a=e[s];ie(a,"path"),a.length>0&&(t===void 0?t=n=a:t+=`\\${a}`)}if(t===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&G(n.charCodeAt(0))){++r;const s=n.length;s>1&&G(n.charCodeAt(1))&&(++r,s>2&&(G(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<t.length&&G(t.charCodeAt(r));)r++;r>=2&&(t=`\\${t.slice(r)}`)}return ce.normalize(t)},relative(e,t){if(ie(e,"from"),ie(t,"to"),e===t)return"";const n=ce.resolve(e),i=ce.resolve(t);if(n===i||(e=n.toLowerCase(),t=i.toLowerCase(),e===t))return"";if(n.length!==e.length||i.length!==t.length){const w=n.split("\\"),p=i.split("\\");w[w.length-1]===""&&w.pop(),p[p.length-1]===""&&p.pop();const x=w.length,T=p.length,y=x<T?x:T;let L;for(L=0;L<y&&w[L].toLowerCase()===p[L].toLowerCase();L++);return L===0?i:L===y?T>y?p.slice(L).join("\\"):x>y?"..\\".repeat(x-1-L)+"..":"":"..\\".repeat(x-L)+p.slice(L).join("\\")}let r=0;for(;r<e.length&&e.charCodeAt(r)===de;)r++;let s=e.length;for(;s-1>r&&e.charCodeAt(s-1)===de;)s--;const a=s-r;let l=0;for(;l<t.length&&t.charCodeAt(l)===de;)l++;let o=t.length;for(;o-1>l&&t.charCodeAt(o-1)===de;)o--;const u=o-l,c=a<u?a:u;let d=-1,m=0;for(;m<c;m++){const w=e.charCodeAt(r+m);if(w!==t.charCodeAt(l+m))break;w===de&&(d=m)}if(m!==c){if(d===-1)return i}else{if(u>c){if(t.charCodeAt(l+m)===de)return i.slice(l+m+1);if(m===2)return i.slice(l+m)}a>c&&(e.charCodeAt(r+m)===de?d=m:m===2&&(d=3)),d===-1&&(d=0)}let f="";for(m=r+d+1;m<=s;++m)(m===s||e.charCodeAt(m)===de)&&(f+=f.length===0?"..":"\\..");return l+=d,f.length>0?`${f}${i.slice(l,o)}`:(i.charCodeAt(l)===de&&++l,i.slice(l,o))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=ce.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===de){if(t.charCodeAt(1)===de){const n=t.charCodeAt(2);if(n!==Pl&&n!==tt)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(Pe(t.charCodeAt(0))&&t.charCodeAt(1)===Fe&&t.charCodeAt(2)===de)return`\\\\?\\${t}`;return t},dirname(e){ie(e,"path");const t=e.length;if(t===0)return".";let n=-1,i=0;const r=e.charCodeAt(0);if(t===1)return G(r)?e:".";if(G(r)){if(n=i=1,G(e.charCodeAt(1))){let l=2,o=l;for(;l<t&&!G(e.charCodeAt(l));)l++;if(l<t&&l!==o){for(o=l;l<t&&G(e.charCodeAt(l));)l++;if(l<t&&l!==o){for(o=l;l<t&&!G(e.charCodeAt(l));)l++;if(l===t)return e;l!==o&&(n=i=l+1)}}}}else Pe(r)&&e.charCodeAt(1)===Fe&&(n=t>2&&G(e.charCodeAt(2))?3:2,i=n);let s=-1,a=!0;for(let l=t-1;l>=i;--l)if(G(e.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&ie(t,"suffix"),ie(e,"path");let n=0,i=-1,r=!0,s;if(e.length>=2&&Pe(e.charCodeAt(0))&&e.charCodeAt(1)===Fe&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(s=e.length-1;s>=n;--s){const o=e.charCodeAt(s);if(G(o)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===t.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=n;--s)if(G(e.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){ie(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===Fe&&Pe(e.charCodeAt(0))&&(t=i=2);for(let l=e.length-1;l>=t;--l){const o=e.charCodeAt(l);if(G(o)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),o===tt?n===-1?n=l:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===i+1?"":e.slice(n,r)},format:_r.bind(null,"\\"),parse(e){ie(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(n===1)return G(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(G(r)){if(i=1,G(e.charCodeAt(1))){let d=2,m=d;for(;d<n&&!G(e.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&G(e.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&!G(e.charCodeAt(d));)d++;d===n?i=d:d!==m&&(i=d+1)}}}}else if(Pe(r)&&e.charCodeAt(1)===Fe){if(n<=2)return t.root=t.dir=e,t;if(i=2,G(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let s=-1,a=i,l=-1,o=!0,u=e.length-1,c=0;for(;u>=i;--u){if(r=e.charCodeAt(u),G(r)){if(!o){a=u+1;break}continue}l===-1&&(o=!1,l=u+1),r===tt?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return l!==-1&&(s===-1||c===0||c===1&&s===l-1&&s===a+1?t.base=t.name=e.slice(a,l):(t.name=e.slice(a,s),t.base=e.slice(a,l),t.ext=e.slice(s,l))),a>0&&a!==i?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},Ol=(()=>{if($e){const e=/\\/g;return()=>{const t=un().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>un()})(),me={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=0&&!n;i--){const r=e[i];ie(r,`paths[${i}]`),r.length!==0&&(t=`${r}/${t}`,n=r.charCodeAt(0)===ae)}if(!n){const i=Ol();t=`${i}/${t}`,n=i.charCodeAt(0)===ae}return t=cn(t,!n,"/",oi),n?`/${t}`:t.length>0?t:"."},normalize(e){if(ie(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===ae,n=e.charCodeAt(e.length-1)===ae;return e=cn(e,!t,"/",oi),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return ie(e,"path"),e.length>0&&e.charCodeAt(0)===ae},join(...e){if(e.length===0)return".";const t=[];for(let n=0;n<e.length;++n){const i=e[n];ie(i,"path"),i.length>0&&t.push(i)}return t.length===0?".":me.normalize(t.join("/"))},relative(e,t){if(ie(e,"from"),ie(t,"to"),e===t||(e=me.resolve(e),t=me.resolve(t),e===t))return"";const n=1,i=e.length,r=i-n,s=1,a=t.length-s,l=r<a?r:a;let o=-1,u=0;for(;u<l;u++){const d=e.charCodeAt(n+u);if(d!==t.charCodeAt(s+u))break;d===ae&&(o=u)}if(u===l)if(a>l){if(t.charCodeAt(s+u)===ae)return t.slice(s+u+1);if(u===0)return t.slice(s+u)}else r>l&&(e.charCodeAt(n+u)===ae?o=u:u===0&&(o=0));let c="";for(u=n+o+1;u<=i;++u)(u===i||e.charCodeAt(u)===ae)&&(c+=c.length===0?"..":"/..");return`${c}${t.slice(s+o)}`},toNamespacedPath(e){return e},dirname(e){if(ie(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===ae;let n=-1,i=!0;for(let r=e.length-1;r>=1;--r)if(e.charCodeAt(r)===ae){if(!i){n=r;break}}else i=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&ie(t,"suffix"),ie(e,"path");let n=0,i=-1,r=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(s=e.length-1;s>=0;--s){const o=e.charCodeAt(s);if(o===ae){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===t.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===ae){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){ie(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let a=e.length-1;a>=0;--a){const l=e[a];if(l==="/"){if(!r){n=a+1;break}continue}i===-1&&(r=!1,i=a+1),l==="."?t===-1?t=a:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||i===-1||s===0||s===1&&t===i-1&&t===n+1?"":e.slice(t,i)},format:_r.bind(null,"/"),parse(e){ie(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===ae;let i;n?(t.root="/",i=1):i=0;let r=-1,s=0,a=-1,l=!0,o=e.length-1,u=0;for(;o>=i;--o){const c=e.charCodeAt(o);if(c===ae){if(!l){s=o+1;break}continue}a===-1&&(l=!1,a=o+1),c===tt?r===-1?r=o:u!==1&&(u=1):r!==-1&&(u=-1)}if(a!==-1){const c=s===0&&n?1:s;r===-1||u===0||u===1&&r===a-1&&r===s+1?t.base=t.name=e.slice(c,a):(t.name=e.slice(c,r),t.base=e.slice(c,a),t.ext=e.slice(r,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};me.win32=ce.win32=ce,me.posix=ce.posix=me,$e?ce.normalize:me.normalize,$e?ce.resolve:me.resolve,$e?ce.relative:me.relative,$e?ce.dirname:me.dirname,$e?ce.basename:me.basename,$e?ce.extname:me.extname,$e?ce.sep:me.sep;const Vl=/^\w[\w\d+.-]*$/,jl=/^\//,Gl=/^\/\//;function $l(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!Vl.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!jl.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Gl.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function Xl(e,t){return!e&&!t?"file":e}function Jl(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Ce&&(t=Ce+t):t=Ce;break}return t}const Z="",Ce="/",Yl=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class nt{static isUri(t){return t instanceof nt?!0:!t||typeof t!="object"?!1:typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function"}constructor(t,n,i,r,s,a=!1){typeof t=="object"?(this.scheme=t.scheme||Z,this.authority=t.authority||Z,this.path=t.path||Z,this.query=t.query||Z,this.fragment=t.fragment||Z):(this.scheme=Xl(t,a),this.authority=n||Z,this.path=Jl(this.scheme,i||Z),this.query=r||Z,this.fragment=s||Z,$l(this,a))}get fsPath(){return li(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:i,path:r,query:s,fragment:a}=t;return n===void 0?n=this.scheme:n===null&&(n=Z),i===void 0?i=this.authority:i===null&&(i=Z),r===void 0?r=this.path:r===null&&(r=Z),s===void 0?s=this.query:s===null&&(s=Z),a===void 0?a=this.fragment:a===null&&(a=Z),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&a===this.fragment?this:new ft(n,i,r,s,a)}static parse(t,n=!1){const i=Yl.exec(t);return i?new ft(i[2]||Z,hn(i[4]||Z),hn(i[5]||Z),hn(i[7]||Z),hn(i[9]||Z),n):new ft(Z,Z,Z,Z,Z)}static file(t){let n=Z;if(Mt&&(t=t.replace(/\\/g,Ce)),t[0]===Ce&&t[1]===Ce){const i=t.indexOf(Ce,2);i===-1?(n=t.substring(2),t=Ce):(n=t.substring(2,i),t=t.substring(i)||Ce)}return new ft("file",n,t,Z,Z)}static from(t,n){return new ft(t.scheme,t.authority,t.path,t.query,t.fragment,n)}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return Mt&&t.scheme==="file"?i=nt.file(ce.join(li(t,!0),...n)).path:i=me.join(t.path,...n),t.with({path:i})}toString(t=!1){return ui(this,t)}toJSON(){return this}static revive(t){var n,i;if(t){if(t instanceof nt)return t;{const r=new ft(t);return r._formatted=(n=t.external)!=null?n:null,r._fsPath=t._sep===vr&&(i=t.fsPath)!=null?i:null,r}}else return t}}const vr=Mt?1:void 0;class ft extends nt{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=li(this,!1)),this._fsPath}toString(t=!1){return t?ui(this,!0):(this._formatted||(this._formatted=ui(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=vr),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const yr={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function Tr(e,t,n){let i,r=-1;for(let s=0;s<e.length;s++){const a=e.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47||n&&a===91||n&&a===93||n&&a===58)r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i!==void 0&&(i+=e.charAt(s));else{i===void 0&&(i=e.substr(0,s));const l=yr[a];l!==void 0?(r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(e.substring(r))),i!==void 0?i:e}function Ql(e){let t;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);i===35||i===63?(t===void 0&&(t=e.substr(0,n)),t+=yr[i]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function li(e,t){let n;return e.authority&&e.path.length>1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,Mt&&(n=n.replace(/\//g,"\\")),n}function ui(e,t){const n=t?Ql:Tr;let i="",{scheme:r,authority:s,path:a,query:l,fragment:o}=e;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=Ce,i+=Ce),s){let u=s.indexOf("@");if(u!==-1){const c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?i+=n(c,!1,!1):(i+=n(c.substr(0,u),!1,!1),i+=":",i+=n(c.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const u=a.charCodeAt(1);u>=65&&u<=90&&(a=`/${String.fromCharCode(u+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const u=a.charCodeAt(0);u>=65&&u<=90&&(a=`${String.fromCharCode(u+32)}:${a.substr(2)}`)}i+=n(a,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),o&&(i+="#",i+=t?o:Tr(o,!1,!1)),i}function xr(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+xr(e.substr(3)):e}}const kr=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function hn(e){return e.match(kr)?e.replace(kr,t=>xr(t)):e}class ge extends P{constructor(t,n,i,r){super(t,n,i,r),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return ge.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new ge(this.startLineNumber,this.startColumn,t,n):new ge(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Y(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Y(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new ge(t,n,this.endLineNumber,this.endColumn):new ge(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new ge(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new ge(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new ge(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new ge(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let i=0,r=t.length;i<r;i++)if(!this.selectionsEqual(t[i],n[i]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber=="number"&&typeof t.selectionStartColumn=="number"&&typeof t.positionLineNumber=="number"&&typeof t.positionColumn=="number"}static createWithDirection(t,n,i,r,s){return s===0?new ge(t,n,i,r):new ge(i,r,t,n)}}const Sr=Object.create(null);function h(e,t){if(Ho(t)){const n=Sr[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return Sr[e]=t,{id:e}}const Zl={add:h("add",6e4),plus:h("plus",6e4),gistNew:h("gist-new",6e4),repoCreate:h("repo-create",6e4),lightbulb:h("lightbulb",60001),lightBulb:h("light-bulb",60001),repo:h("repo",60002),repoDelete:h("repo-delete",60002),gistFork:h("gist-fork",60003),repoForked:h("repo-forked",60003),gitPullRequest:h("git-pull-request",60004),gitPullRequestAbandoned:h("git-pull-request-abandoned",60004),recordKeys:h("record-keys",60005),keyboard:h("keyboard",60005),tag:h("tag",60006),gitPullRequestLabel:h("git-pull-request-label",60006),tagAdd:h("tag-add",60006),tagRemove:h("tag-remove",60006),person:h("person",60007),personFollow:h("person-follow",60007),personOutline:h("person-outline",60007),personFilled:h("person-filled",60007),gitBranch:h("git-branch",60008),gitBranchCreate:h("git-branch-create",60008),gitBranchDelete:h("git-branch-delete",60008),sourceControl:h("source-control",60008),mirror:h("mirror",60009),mirrorPublic:h("mirror-public",60009),star:h("star",60010),starAdd:h("star-add",60010),starDelete:h("star-delete",60010),starEmpty:h("star-empty",60010),comment:h("comment",60011),commentAdd:h("comment-add",60011),alert:h("alert",60012),warning:h("warning",60012),search:h("search",60013),searchSave:h("search-save",60013),logOut:h("log-out",60014),signOut:h("sign-out",60014),logIn:h("log-in",60015),signIn:h("sign-in",60015),eye:h("eye",60016),eyeUnwatch:h("eye-unwatch",60016),eyeWatch:h("eye-watch",60016),circleFilled:h("circle-filled",60017),primitiveDot:h("primitive-dot",60017),closeDirty:h("close-dirty",60017),debugBreakpoint:h("debug-breakpoint",60017),debugBreakpointDisabled:h("debug-breakpoint-disabled",60017),debugHint:h("debug-hint",60017),terminalDecorationSuccess:h("terminal-decoration-success",60017),primitiveSquare:h("primitive-square",60018),edit:h("edit",60019),pencil:h("pencil",60019),info:h("info",60020),issueOpened:h("issue-opened",60020),gistPrivate:h("gist-private",60021),gitForkPrivate:h("git-fork-private",60021),lock:h("lock",60021),mirrorPrivate:h("mirror-private",60021),close:h("close",60022),removeClose:h("remove-close",60022),x:h("x",60022),repoSync:h("repo-sync",60023),sync:h("sync",60023),clone:h("clone",60024),desktopDownload:h("desktop-download",60024),beaker:h("beaker",60025),microscope:h("microscope",60025),vm:h("vm",60026),deviceDesktop:h("device-desktop",60026),file:h("file",60027),fileText:h("file-text",60027),more:h("more",60028),ellipsis:h("ellipsis",60028),kebabHorizontal:h("kebab-horizontal",60028),mailReply:h("mail-reply",60029),reply:h("reply",60029),organization:h("organization",60030),organizationFilled:h("organization-filled",60030),organizationOutline:h("organization-outline",60030),newFile:h("new-file",60031),fileAdd:h("file-add",60031),newFolder:h("new-folder",60032),fileDirectoryCreate:h("file-directory-create",60032),trash:h("trash",60033),trashcan:h("trashcan",60033),history:h("history",60034),clock:h("clock",60034),folder:h("folder",60035),fileDirectory:h("file-directory",60035),symbolFolder:h("symbol-folder",60035),logoGithub:h("logo-github",60036),markGithub:h("mark-github",60036),github:h("github",60036),terminal:h("terminal",60037),console:h("console",60037),repl:h("repl",60037),zap:h("zap",60038),symbolEvent:h("symbol-event",60038),error:h("error",60039),stop:h("stop",60039),variable:h("variable",60040),symbolVariable:h("symbol-variable",60040),array:h("array",60042),symbolArray:h("symbol-array",60042),symbolModule:h("symbol-module",60043),symbolPackage:h("symbol-package",60043),symbolNamespace:h("symbol-namespace",60043),symbolObject:h("symbol-object",60043),symbolMethod:h("symbol-method",60044),symbolFunction:h("symbol-function",60044),symbolConstructor:h("symbol-constructor",60044),symbolBoolean:h("symbol-boolean",60047),symbolNull:h("symbol-null",60047),symbolNumeric:h("symbol-numeric",60048),symbolNumber:h("symbol-number",60048),symbolStructure:h("symbol-structure",60049),symbolStruct:h("symbol-struct",60049),symbolParameter:h("symbol-parameter",60050),symbolTypeParameter:h("symbol-type-parameter",60050),symbolKey:h("symbol-key",60051),symbolText:h("symbol-text",60051),symbolReference:h("symbol-reference",60052),goToFile:h("go-to-file",60052),symbolEnum:h("symbol-enum",60053),symbolValue:h("symbol-value",60053),symbolRuler:h("symbol-ruler",60054),symbolUnit:h("symbol-unit",60054),activateBreakpoints:h("activate-breakpoints",60055),archive:h("archive",60056),arrowBoth:h("arrow-both",60057),arrowDown:h("arrow-down",60058),arrowLeft:h("arrow-left",60059),arrowRight:h("arrow-right",60060),arrowSmallDown:h("arrow-small-down",60061),arrowSmallLeft:h("arrow-small-left",60062),arrowSmallRight:h("arrow-small-right",60063),arrowSmallUp:h("arrow-small-up",60064),arrowUp:h("arrow-up",60065),bell:h("bell",60066),bold:h("bold",60067),book:h("book",60068),bookmark:h("bookmark",60069),debugBreakpointConditionalUnverified:h("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:h("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:h("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:h("debug-breakpoint-data-unverified",60072),debugBreakpointData:h("debug-breakpoint-data",60073),debugBreakpointDataDisabled:h("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:h("debug-breakpoint-log-unverified",60074),debugBreakpointLog:h("debug-breakpoint-log",60075),debugBreakpointLogDisabled:h("debug-breakpoint-log-disabled",60075),briefcase:h("briefcase",60076),broadcast:h("broadcast",60077),browser:h("browser",60078),bug:h("bug",60079),calendar:h("calendar",60080),caseSensitive:h("case-sensitive",60081),check:h("check",60082),checklist:h("checklist",60083),chevronDown:h("chevron-down",60084),chevronLeft:h("chevron-left",60085),chevronRight:h("chevron-right",60086),chevronUp:h("chevron-up",60087),chromeClose:h("chrome-close",60088),chromeMaximize:h("chrome-maximize",60089),chromeMinimize:h("chrome-minimize",60090),chromeRestore:h("chrome-restore",60091),circleOutline:h("circle-outline",60092),circle:h("circle",60092),debugBreakpointUnverified:h("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:h("terminal-decoration-incomplete",60092),circleSlash:h("circle-slash",60093),circuitBoard:h("circuit-board",60094),clearAll:h("clear-all",60095),clippy:h("clippy",60096),closeAll:h("close-all",60097),cloudDownload:h("cloud-download",60098),cloudUpload:h("cloud-upload",60099),code:h("code",60100),collapseAll:h("collapse-all",60101),colorMode:h("color-mode",60102),commentDiscussion:h("comment-discussion",60103),creditCard:h("credit-card",60105),dash:h("dash",60108),dashboard:h("dashboard",60109),database:h("database",60110),debugContinue:h("debug-continue",60111),debugDisconnect:h("debug-disconnect",60112),debugPause:h("debug-pause",60113),debugRestart:h("debug-restart",60114),debugStart:h("debug-start",60115),debugStepInto:h("debug-step-into",60116),debugStepOut:h("debug-step-out",60117),debugStepOver:h("debug-step-over",60118),debugStop:h("debug-stop",60119),debug:h("debug",60120),deviceCameraVideo:h("device-camera-video",60121),deviceCamera:h("device-camera",60122),deviceMobile:h("device-mobile",60123),diffAdded:h("diff-added",60124),diffIgnored:h("diff-ignored",60125),diffModified:h("diff-modified",60126),diffRemoved:h("diff-removed",60127),diffRenamed:h("diff-renamed",60128),diff:h("diff",60129),diffSidebyside:h("diff-sidebyside",60129),discard:h("discard",60130),editorLayout:h("editor-layout",60131),emptyWindow:h("empty-window",60132),exclude:h("exclude",60133),extensions:h("extensions",60134),eyeClosed:h("eye-closed",60135),fileBinary:h("file-binary",60136),fileCode:h("file-code",60137),fileMedia:h("file-media",60138),filePdf:h("file-pdf",60139),fileSubmodule:h("file-submodule",60140),fileSymlinkDirectory:h("file-symlink-directory",60141),fileSymlinkFile:h("file-symlink-file",60142),fileZip:h("file-zip",60143),files:h("files",60144),filter:h("filter",60145),flame:h("flame",60146),foldDown:h("fold-down",60147),foldUp:h("fold-up",60148),fold:h("fold",60149),folderActive:h("folder-active",60150),folderOpened:h("folder-opened",60151),gear:h("gear",60152),gift:h("gift",60153),gistSecret:h("gist-secret",60154),gist:h("gist",60155),gitCommit:h("git-commit",60156),gitCompare:h("git-compare",60157),compareChanges:h("compare-changes",60157),gitMerge:h("git-merge",60158),githubAction:h("github-action",60159),githubAlt:h("github-alt",60160),globe:h("globe",60161),grabber:h("grabber",60162),graph:h("graph",60163),gripper:h("gripper",60164),heart:h("heart",60165),home:h("home",60166),horizontalRule:h("horizontal-rule",60167),hubot:h("hubot",60168),inbox:h("inbox",60169),issueReopened:h("issue-reopened",60171),issues:h("issues",60172),italic:h("italic",60173),jersey:h("jersey",60174),json:h("json",60175),kebabVertical:h("kebab-vertical",60176),key:h("key",60177),law:h("law",60178),lightbulbAutofix:h("lightbulb-autofix",60179),linkExternal:h("link-external",60180),link:h("link",60181),listOrdered:h("list-ordered",60182),listUnordered:h("list-unordered",60183),liveShare:h("live-share",60184),loading:h("loading",60185),location:h("location",60186),mailRead:h("mail-read",60187),mail:h("mail",60188),markdown:h("markdown",60189),megaphone:h("megaphone",60190),mention:h("mention",60191),milestone:h("milestone",60192),gitPullRequestMilestone:h("git-pull-request-milestone",60192),mortarBoard:h("mortar-board",60193),move:h("move",60194),multipleWindows:h("multiple-windows",60195),mute:h("mute",60196),noNewline:h("no-newline",60197),note:h("note",60198),octoface:h("octoface",60199),openPreview:h("open-preview",60200),package:h("package",60201),paintcan:h("paintcan",60202),pin:h("pin",60203),play:h("play",60204),run:h("run",60204),plug:h("plug",60205),preserveCase:h("preserve-case",60206),preview:h("preview",60207),project:h("project",60208),pulse:h("pulse",60209),question:h("question",60210),quote:h("quote",60211),radioTower:h("radio-tower",60212),reactions:h("reactions",60213),references:h("references",60214),refresh:h("refresh",60215),regex:h("regex",60216),remoteExplorer:h("remote-explorer",60217),remote:h("remote",60218),remove:h("remove",60219),replaceAll:h("replace-all",60220),replace:h("replace",60221),repoClone:h("repo-clone",60222),repoForcePush:h("repo-force-push",60223),repoPull:h("repo-pull",60224),repoPush:h("repo-push",60225),report:h("report",60226),requestChanges:h("request-changes",60227),rocket:h("rocket",60228),rootFolderOpened:h("root-folder-opened",60229),rootFolder:h("root-folder",60230),rss:h("rss",60231),ruby:h("ruby",60232),saveAll:h("save-all",60233),saveAs:h("save-as",60234),save:h("save",60235),screenFull:h("screen-full",60236),screenNormal:h("screen-normal",60237),searchStop:h("search-stop",60238),server:h("server",60240),settingsGear:h("settings-gear",60241),settings:h("settings",60242),shield:h("shield",60243),smiley:h("smiley",60244),sortPrecedence:h("sort-precedence",60245),splitHorizontal:h("split-horizontal",60246),splitVertical:h("split-vertical",60247),squirrel:h("squirrel",60248),starFull:h("star-full",60249),starHalf:h("star-half",60250),symbolClass:h("symbol-class",60251),symbolColor:h("symbol-color",60252),symbolConstant:h("symbol-constant",60253),symbolEnumMember:h("symbol-enum-member",60254),symbolField:h("symbol-field",60255),symbolFile:h("symbol-file",60256),symbolInterface:h("symbol-interface",60257),symbolKeyword:h("symbol-keyword",60258),symbolMisc:h("symbol-misc",60259),symbolOperator:h("symbol-operator",60260),symbolProperty:h("symbol-property",60261),wrench:h("wrench",60261),wrenchSubaction:h("wrench-subaction",60261),symbolSnippet:h("symbol-snippet",60262),tasklist:h("tasklist",60263),telescope:h("telescope",60264),textSize:h("text-size",60265),threeBars:h("three-bars",60266),thumbsdown:h("thumbsdown",60267),thumbsup:h("thumbsup",60268),tools:h("tools",60269),triangleDown:h("triangle-down",60270),triangleLeft:h("triangle-left",60271),triangleRight:h("triangle-right",60272),triangleUp:h("triangle-up",60273),twitter:h("twitter",60274),unfold:h("unfold",60275),unlock:h("unlock",60276),unmute:h("unmute",60277),unverified:h("unverified",60278),verified:h("verified",60279),versions:h("versions",60280),vmActive:h("vm-active",60281),vmOutline:h("vm-outline",60282),vmRunning:h("vm-running",60283),watch:h("watch",60284),whitespace:h("whitespace",60285),wholeWord:h("whole-word",60286),window:h("window",60287),wordWrap:h("word-wrap",60288),zoomIn:h("zoom-in",60289),zoomOut:h("zoom-out",60290),listFilter:h("list-filter",60291),listFlat:h("list-flat",60292),listSelection:h("list-selection",60293),selection:h("selection",60293),listTree:h("list-tree",60294),debugBreakpointFunctionUnverified:h("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:h("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:h("debug-breakpoint-function-disabled",60296),debugStackframeActive:h("debug-stackframe-active",60297),circleSmallFilled:h("circle-small-filled",60298),debugStackframeDot:h("debug-stackframe-dot",60298),terminalDecorationMark:h("terminal-decoration-mark",60298),debugStackframe:h("debug-stackframe",60299),debugStackframeFocused:h("debug-stackframe-focused",60299),debugBreakpointUnsupported:h("debug-breakpoint-unsupported",60300),symbolString:h("symbol-string",60301),debugReverseContinue:h("debug-reverse-continue",60302),debugStepBack:h("debug-step-back",60303),debugRestartFrame:h("debug-restart-frame",60304),debugAlt:h("debug-alt",60305),callIncoming:h("call-incoming",60306),callOutgoing:h("call-outgoing",60307),menu:h("menu",60308),expandAll:h("expand-all",60309),feedback:h("feedback",60310),gitPullRequestReviewer:h("git-pull-request-reviewer",60310),groupByRefType:h("group-by-ref-type",60311),ungroupByRefType:h("ungroup-by-ref-type",60312),account:h("account",60313),gitPullRequestAssignee:h("git-pull-request-assignee",60313),bellDot:h("bell-dot",60314),debugConsole:h("debug-console",60315),library:h("library",60316),output:h("output",60317),runAll:h("run-all",60318),syncIgnored:h("sync-ignored",60319),pinned:h("pinned",60320),githubInverted:h("github-inverted",60321),serverProcess:h("server-process",60322),serverEnvironment:h("server-environment",60323),pass:h("pass",60324),issueClosed:h("issue-closed",60324),stopCircle:h("stop-circle",60325),playCircle:h("play-circle",60326),record:h("record",60327),debugAltSmall:h("debug-alt-small",60328),vmConnect:h("vm-connect",60329),cloud:h("cloud",60330),merge:h("merge",60331),export:h("export",60332),graphLeft:h("graph-left",60333),magnet:h("magnet",60334),notebook:h("notebook",60335),redo:h("redo",60336),checkAll:h("check-all",60337),pinnedDirty:h("pinned-dirty",60338),passFilled:h("pass-filled",60339),circleLargeFilled:h("circle-large-filled",60340),circleLarge:h("circle-large",60341),circleLargeOutline:h("circle-large-outline",60341),combine:h("combine",60342),gather:h("gather",60342),table:h("table",60343),variableGroup:h("variable-group",60344),typeHierarchy:h("type-hierarchy",60345),typeHierarchySub:h("type-hierarchy-sub",60346),typeHierarchySuper:h("type-hierarchy-super",60347),gitPullRequestCreate:h("git-pull-request-create",60348),runAbove:h("run-above",60349),runBelow:h("run-below",60350),notebookTemplate:h("notebook-template",60351),debugRerun:h("debug-rerun",60352),workspaceTrusted:h("workspace-trusted",60353),workspaceUntrusted:h("workspace-untrusted",60354),workspaceUnknown:h("workspace-unknown",60355),terminalCmd:h("terminal-cmd",60356),terminalDebian:h("terminal-debian",60357),terminalLinux:h("terminal-linux",60358),terminalPowershell:h("terminal-powershell",60359),terminalTmux:h("terminal-tmux",60360),terminalUbuntu:h("terminal-ubuntu",60361),terminalBash:h("terminal-bash",60362),arrowSwap:h("arrow-swap",60363),copy:h("copy",60364),personAdd:h("person-add",60365),filterFilled:h("filter-filled",60366),wand:h("wand",60367),debugLineByLine:h("debug-line-by-line",60368),inspect:h("inspect",60369),layers:h("layers",60370),layersDot:h("layers-dot",60371),layersActive:h("layers-active",60372),compass:h("compass",60373),compassDot:h("compass-dot",60374),compassActive:h("compass-active",60375),azure:h("azure",60376),issueDraft:h("issue-draft",60377),gitPullRequestClosed:h("git-pull-request-closed",60378),gitPullRequestDraft:h("git-pull-request-draft",60379),debugAll:h("debug-all",60380),debugCoverage:h("debug-coverage",60381),runErrors:h("run-errors",60382),folderLibrary:h("folder-library",60383),debugContinueSmall:h("debug-continue-small",60384),beakerStop:h("beaker-stop",60385),graphLine:h("graph-line",60386),graphScatter:h("graph-scatter",60387),pieChart:h("pie-chart",60388),bracket:h("bracket",60175),bracketDot:h("bracket-dot",60389),bracketError:h("bracket-error",60390),lockSmall:h("lock-small",60391),azureDevops:h("azure-devops",60392),verifiedFilled:h("verified-filled",60393),newline:h("newline",60394),layout:h("layout",60395),layoutActivitybarLeft:h("layout-activitybar-left",60396),layoutActivitybarRight:h("layout-activitybar-right",60397),layoutPanelLeft:h("layout-panel-left",60398),layoutPanelCenter:h("layout-panel-center",60399),layoutPanelJustify:h("layout-panel-justify",60400),layoutPanelRight:h("layout-panel-right",60401),layoutPanel:h("layout-panel",60402),layoutSidebarLeft:h("layout-sidebar-left",60403),layoutSidebarRight:h("layout-sidebar-right",60404),layoutStatusbar:h("layout-statusbar",60405),layoutMenubar:h("layout-menubar",60406),layoutCentered:h("layout-centered",60407),target:h("target",60408),indent:h("indent",60409),recordSmall:h("record-small",60410),errorSmall:h("error-small",60411),terminalDecorationError:h("terminal-decoration-error",60411),arrowCircleDown:h("arrow-circle-down",60412),arrowCircleLeft:h("arrow-circle-left",60413),arrowCircleRight:h("arrow-circle-right",60414),arrowCircleUp:h("arrow-circle-up",60415),layoutSidebarRightOff:h("layout-sidebar-right-off",60416),layoutPanelOff:h("layout-panel-off",60417),layoutSidebarLeftOff:h("layout-sidebar-left-off",60418),blank:h("blank",60419),heartFilled:h("heart-filled",60420),map:h("map",60421),mapHorizontal:h("map-horizontal",60421),foldHorizontal:h("fold-horizontal",60421),mapFilled:h("map-filled",60422),mapHorizontalFilled:h("map-horizontal-filled",60422),foldHorizontalFilled:h("fold-horizontal-filled",60422),circleSmall:h("circle-small",60423),bellSlash:h("bell-slash",60424),bellSlashDot:h("bell-slash-dot",60425),commentUnresolved:h("comment-unresolved",60426),gitPullRequestGoToChanges:h("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:h("git-pull-request-new-changes",60428),searchFuzzy:h("search-fuzzy",60429),commentDraft:h("comment-draft",60430),send:h("send",60431),sparkle:h("sparkle",60432),insert:h("insert",60433),mic:h("mic",60434),thumbsdownFilled:h("thumbsdown-filled",60435),thumbsupFilled:h("thumbsup-filled",60436),coffee:h("coffee",60437),snake:h("snake",60438),game:h("game",60439),vr:h("vr",60440),chip:h("chip",60441),piano:h("piano",60442),music:h("music",60443),micFilled:h("mic-filled",60444),repoFetch:h("repo-fetch",60445),copilot:h("copilot",60446),lightbulbSparkle:h("lightbulb-sparkle",60447),robot:h("robot",60448),sparkleFilled:h("sparkle-filled",60449),diffSingle:h("diff-single",60450),diffMultiple:h("diff-multiple",60451),surroundWith:h("surround-with",60452),share:h("share",60453),gitStash:h("git-stash",60454),gitStashApply:h("git-stash-apply",60455),gitStashPop:h("git-stash-pop",60456),vscode:h("vscode",60457),vscodeInsiders:h("vscode-insiders",60458),codeOss:h("code-oss",60459),runCoverage:h("run-coverage",60460),runAllCoverage:h("run-all-coverage",60461),coverage:h("coverage",60462),githubProject:h("github-project",60463),mapVertical:h("map-vertical",60464),foldVertical:h("fold-vertical",60464),mapVerticalFilled:h("map-vertical-filled",60465),foldVerticalFilled:h("fold-vertical-filled",60465),goToSearch:h("go-to-search",60466),percentage:h("percentage",60467),sortPercentage:h("sort-percentage",60467),attach:h("attach",60468),goToEditingSession:h("go-to-editing-session",60469),editSession:h("edit-session",60470),codeReview:h("code-review",60471),copilotWarning:h("copilot-warning",60472),python:h("python",60473),copilotLarge:h("copilot-large",60474),copilotWarningLarge:h("copilot-warning-large",60475),keyboardTab:h("keyboard-tab",60476),copilotBlocked:h("copilot-blocked",60477),copilotNotConnected:h("copilot-not-connected",60478),flag:h("flag",60479),lightbulbEmpty:h("lightbulb-empty",60480),symbolMethodArrow:h("symbol-method-arrow",60481),copilotUnavailable:h("copilot-unavailable",60482),repoPinned:h("repo-pinned",60483),keyboardTabAbove:h("keyboard-tab-above",60484),keyboardTabBelow:h("keyboard-tab-below",60485),gitPullRequestDone:h("git-pull-request-done",60486),mcp:h("mcp",60487),extensionsLarge:h("extensions-large",60488),layoutPanelDock:h("layout-panel-dock",60489),layoutSidebarLeftDock:h("layout-sidebar-left-dock",60490),layoutSidebarRightDock:h("layout-sidebar-right-dock",60491),copilotInProgress:h("copilot-in-progress",60492),copilotError:h("copilot-error",60493),copilotSuccess:h("copilot-success",60494),chatSparkle:h("chat-sparkle",60495),searchSparkle:h("search-sparkle",60496),editSparkle:h("edit-sparkle",60497),copilotSnooze:h("copilot-snooze",60498),sendToRemoteAgent:h("send-to-remote-agent",60499),commentDiscussionSparkle:h("comment-discussion-sparkle",60500),chatSparkleWarning:h("chat-sparkle-warning",60501),chatSparkleError:h("chat-sparkle-error",60502)},Kl={dialogError:h("dialog-error","error"),dialogWarning:h("dialog-warning","warning"),dialogInfo:h("dialog-info","info"),dialogClose:h("dialog-close","close"),treeItemExpanded:h("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:h("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:h("tree-filter-on-type-off","list-selection"),treeFilterClear:h("tree-filter-clear","close"),treeItemLoading:h("tree-item-loading","loading"),menuSelection:h("menu-selection","check"),menuSubmenu:h("menu-submenu","chevron-right"),menuBarMore:h("menubar-more","more"),scrollbarButtonLeft:h("scrollbar-button-left","triangle-left"),scrollbarButtonRight:h("scrollbar-button-right","triangle-right"),scrollbarButtonUp:h("scrollbar-button-up","triangle-up"),scrollbarButtonDown:h("scrollbar-button-down","triangle-down"),toolBarMore:h("toolbar-more","more"),quickInputBack:h("quick-input-back","arrow-left"),dropDownButton:h("drop-down-button",60084),symbolCustomColor:h("symbol-customcolor",60252),exportIcon:h("export",60332),workspaceUnspecified:h("workspace-unspecified",60355),newLine:h("newline",60394),thumbsDownFilled:h("thumbsdown-filled",60435),thumbsUpFilled:h("thumbsup-filled",60436),gitFetch:h("git-fetch",60445),lightbulbSparkleAutofix:h("lightbulb-sparkle-autofix",60447),debugBreakpointPending:h("debug-breakpoint-pending",60377)},q={...Zl,...Kl};class eu{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Ae,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,n){return this._tokenizationSupports.set(t,n),this.handleChange([t]),Kt(()=>{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var r;(r=this._factories.get(t))==null||r.dispose();const i=new tu(this,t,n);return this._factories.set(t,i),Kt(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}async getOrCreate(t){const n=this.get(t);if(n)return n;const i=this._factories.get(t);return!i||i.isResolved?null:(await i.resolve(),this.get(t))}isResolved(t){if(this.get(t))return!0;const i=this._factories.get(t);return!!(!i||i.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class tu extends Ze{get isResolved(){return this._isResolved}constructor(t,n,i){super(),this._registry=t,this._languageId=n,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const t=await this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))}}class nu{constructor(t,n,i){this.offset=t,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Ar;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(Ar||(Ar={}));var Lr;(function(e){const t=new Map;t.set(0,q.symbolMethod),t.set(1,q.symbolFunction),t.set(2,q.symbolConstructor),t.set(3,q.symbolField),t.set(4,q.symbolVariable),t.set(5,q.symbolClass),t.set(6,q.symbolStruct),t.set(7,q.symbolInterface),t.set(8,q.symbolModule),t.set(9,q.symbolProperty),t.set(10,q.symbolEvent),t.set(11,q.symbolOperator),t.set(12,q.symbolUnit),t.set(13,q.symbolValue),t.set(15,q.symbolEnum),t.set(14,q.symbolConstant),t.set(15,q.symbolEnum),t.set(16,q.symbolEnumMember),t.set(17,q.symbolKeyword),t.set(28,q.symbolSnippet),t.set(18,q.symbolText),t.set(19,q.symbolColor),t.set(20,q.symbolFile),t.set(21,q.symbolReference),t.set(22,q.symbolCustomColor),t.set(23,q.symbolFolder),t.set(24,q.symbolTypeParameter),t.set(25,q.account),t.set(26,q.issues),t.set(27,q.tools);function n(a){let l=t.get(a);return l||(console.info("No codicon found for CompletionItemKind "+a),l=q.symbolProperty),l}e.toIcon=n;function i(a){switch(a){case 0:return O(721,"Method");case 1:return O(722,"Function");case 2:return O(723,"Constructor");case 3:return O(724,"Field");case 4:return O(725,"Variable");case 5:return O(726,"Class");case 6:return O(727,"Struct");case 7:return O(728,"Interface");case 8:return O(729,"Module");case 9:return O(730,"Property");case 10:return O(731,"Event");case 11:return O(732,"Operator");case 12:return O(733,"Unit");case 13:return O(734,"Value");case 14:return O(735,"Constant");case 15:return O(736,"Enum");case 16:return O(737,"Enum Member");case 17:return O(738,"Keyword");case 18:return O(739,"Text");case 19:return O(740,"Color");case 20:return O(741,"File");case 21:return O(742,"Reference");case 22:return O(743,"Custom Color");case 23:return O(744,"Folder");case 24:return O(745,"Type Parameter");case 25:return O(746,"User");case 26:return O(747,"Issue");case 27:return O(748,"Tool");case 28:return O(749,"Snippet");default:return""}}e.toLabel=i;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",28),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),r.set("tool",27);function s(a,l){let o=r.get(a);return typeof o>"u"&&!l&&(o=9),o}e.fromString=s})(Lr||(Lr={}));var Cr;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Cr||(Cr={}));var Er;(function(e){e[e.Code=1]="Code",e[e.Label=2]="Label"})(Er||(Er={}));var Dr;(function(e){e[e.Accepted=0]="Accepted",e[e.Rejected=1]="Rejected",e[e.Ignored=2]="Ignored"})(Dr||(Dr={}));var Rr;(function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"})(Rr||(Rr={}));var Mr;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Mr||(Mr={}));var Nr;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Nr||(Nr={})),17+"",O(750,"array"),16+"",O(751,"boolean"),4+"",O(752,"class"),13+"",O(753,"constant"),8+"",O(754,"constructor"),9+"",O(755,"enumeration"),21+"",O(756,"enumeration member"),23+"",O(757,"event"),7+"",O(758,"field"),0+"",O(759,"file"),11+"",O(760,"function"),10+"",O(761,"interface"),19+"",O(762,"key"),5+"",O(763,"method"),1+"",O(764,"module"),2+"",O(765,"namespace"),20+"",O(766,"null"),15+"",O(767,"number"),18+"",O(768,"object"),24+"",O(769,"operator"),3+"",O(770,"package"),6+"",O(771,"property"),14+"",O(772,"string"),22+"",O(773,"struct"),25+"",O(774,"type parameter"),12+"",O(775,"variable");var Ir;(function(e){const t=new Map;t.set(0,q.symbolFile),t.set(1,q.symbolModule),t.set(2,q.symbolNamespace),t.set(3,q.symbolPackage),t.set(4,q.symbolClass),t.set(5,q.symbolMethod),t.set(6,q.symbolProperty),t.set(7,q.symbolField),t.set(8,q.symbolConstructor),t.set(9,q.symbolEnum),t.set(10,q.symbolInterface),t.set(11,q.symbolFunction),t.set(12,q.symbolVariable),t.set(13,q.symbolConstant),t.set(14,q.symbolString),t.set(15,q.symbolNumber),t.set(16,q.symbolBoolean),t.set(17,q.symbolArray),t.set(18,q.symbolObject),t.set(19,q.symbolKey),t.set(20,q.symbolNull),t.set(21,q.symbolEnumMember),t.set(22,q.symbolStruct),t.set(23,q.symbolEvent),t.set(24,q.symbolOperator),t.set(25,q.symbolTypeParameter);function n(s){let a=t.get(s);return a||(console.info("No codicon found for SymbolKind "+s),a=q.symbolProperty),a}e.toIcon=n;const i=new Map;i.set(0,20),i.set(1,8),i.set(2,8),i.set(3,8),i.set(4,5),i.set(5,0),i.set(6,9),i.set(7,3),i.set(8,2),i.set(9,15),i.set(10,7),i.set(11,1),i.set(12,4),i.set(13,14),i.set(14,18),i.set(15,13),i.set(16,13),i.set(17,13),i.set(18,13),i.set(19,17),i.set(20,13),i.set(21,16),i.set(22,6),i.set(23,10),i.set(24,11),i.set(25,24);function r(s){let a=i.get(s);return a===void 0&&(console.info("No completion kind found for SymbolKind "+s),a=20),a}e.toCompletionKind=r})(Ir||(Ir={}));const Te=class{static fromValue(t){switch(t){case"comment":return Te.Comment;case"imports":return Te.Imports;case"region":return Te.Region}return new Te(t)}constructor(t){this.value=t}};let zr=Te;(()=>{Te.Comment=new Te("comment")})(),(()=>{Te.Imports=new Te("imports")})(),(()=>{Te.Region=new Te("region")})();var Hr;(function(e){e[e.AIGenerated=1]="AIGenerated"})(Hr||(Hr={}));var Ur;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Ur||(Ur={}));var Wr;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Wr||(Wr={}));var Fr;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Fr||(Fr={})),new eu;var Pr;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Pr||(Pr={}));var Br;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(Br||(Br={}));var qr;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(qr||(qr={}));var Or;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Tool=27]="Tool",e[e.Snippet=28]="Snippet"})(Or||(Or={}));var Vr;(function(e){e[e.Deprecated=1]="Deprecated"})(Vr||(Vr={}));var jr;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(jr||(jr={}));var Gr;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(Gr||(Gr={}));var $r;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})($r||($r={}));var Xr;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Xr||(Xr={}));var Jr;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Jr||(Jr={}));var Yr;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(Yr||(Yr={}));var Qr;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.allowOverflow=4]="allowOverflow",e[e.allowVariableLineHeights=5]="allowVariableLineHeights",e[e.allowVariableFonts=6]="allowVariableFonts",e[e.allowVariableFontsInAccessibilityMode=7]="allowVariableFontsInAccessibilityMode",e[e.ariaLabel=8]="ariaLabel",e[e.ariaRequired=9]="ariaRequired",e[e.autoClosingBrackets=10]="autoClosingBrackets",e[e.autoClosingComments=11]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=12]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=13]="autoClosingDelete",e[e.autoClosingOvertype=14]="autoClosingOvertype",e[e.autoClosingQuotes=15]="autoClosingQuotes",e[e.autoIndent=16]="autoIndent",e[e.autoIndentOnPaste=17]="autoIndentOnPaste",e[e.autoIndentOnPasteWithinString=18]="autoIndentOnPasteWithinString",e[e.automaticLayout=19]="automaticLayout",e[e.autoSurround=20]="autoSurround",e[e.bracketPairColorization=21]="bracketPairColorization",e[e.guides=22]="guides",e[e.codeLens=23]="codeLens",e[e.codeLensFontFamily=24]="codeLensFontFamily",e[e.codeLensFontSize=25]="codeLensFontSize",e[e.colorDecorators=26]="colorDecorators",e[e.colorDecoratorsLimit=27]="colorDecoratorsLimit",e[e.columnSelection=28]="columnSelection",e[e.comments=29]="comments",e[e.contextmenu=30]="contextmenu",e[e.copyWithSyntaxHighlighting=31]="copyWithSyntaxHighlighting",e[e.cursorBlinking=32]="cursorBlinking",e[e.cursorSmoothCaretAnimation=33]="cursorSmoothCaretAnimation",e[e.cursorStyle=34]="cursorStyle",e[e.cursorSurroundingLines=35]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=36]="cursorSurroundingLinesStyle",e[e.cursorWidth=37]="cursorWidth",e[e.cursorHeight=38]="cursorHeight",e[e.disableLayerHinting=39]="disableLayerHinting",e[e.disableMonospaceOptimizations=40]="disableMonospaceOptimizations",e[e.domReadOnly=41]="domReadOnly",e[e.dragAndDrop=42]="dragAndDrop",e[e.dropIntoEditor=43]="dropIntoEditor",e[e.editContext=44]="editContext",e[e.emptySelectionClipboard=45]="emptySelectionClipboard",e[e.experimentalGpuAcceleration=46]="experimentalGpuAcceleration",e[e.experimentalWhitespaceRendering=47]="experimentalWhitespaceRendering",e[e.extraEditorClassName=48]="extraEditorClassName",e[e.fastScrollSensitivity=49]="fastScrollSensitivity",e[e.find=50]="find",e[e.fixedOverflowWidgets=51]="fixedOverflowWidgets",e[e.folding=52]="folding",e[e.foldingStrategy=53]="foldingStrategy",e[e.foldingHighlight=54]="foldingHighlight",e[e.foldingImportsByDefault=55]="foldingImportsByDefault",e[e.foldingMaximumRegions=56]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=57]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=58]="fontFamily",e[e.fontInfo=59]="fontInfo",e[e.fontLigatures=60]="fontLigatures",e[e.fontSize=61]="fontSize",e[e.fontWeight=62]="fontWeight",e[e.fontVariations=63]="fontVariations",e[e.formatOnPaste=64]="formatOnPaste",e[e.formatOnType=65]="formatOnType",e[e.glyphMargin=66]="glyphMargin",e[e.gotoLocation=67]="gotoLocation",e[e.hideCursorInOverviewRuler=68]="hideCursorInOverviewRuler",e[e.hover=69]="hover",e[e.inDiffEditor=70]="inDiffEditor",e[e.inlineSuggest=71]="inlineSuggest",e[e.letterSpacing=72]="letterSpacing",e[e.lightbulb=73]="lightbulb",e[e.lineDecorationsWidth=74]="lineDecorationsWidth",e[e.lineHeight=75]="lineHeight",e[e.lineNumbers=76]="lineNumbers",e[e.lineNumbersMinChars=77]="lineNumbersMinChars",e[e.linkedEditing=78]="linkedEditing",e[e.links=79]="links",e[e.matchBrackets=80]="matchBrackets",e[e.minimap=81]="minimap",e[e.mouseStyle=82]="mouseStyle",e[e.mouseWheelScrollSensitivity=83]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=84]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=85]="multiCursorMergeOverlapping",e[e.multiCursorModifier=86]="multiCursorModifier",e[e.multiCursorPaste=87]="multiCursorPaste",e[e.multiCursorLimit=88]="multiCursorLimit",e[e.occurrencesHighlight=89]="occurrencesHighlight",e[e.occurrencesHighlightDelay=90]="occurrencesHighlightDelay",e[e.overtypeCursorStyle=91]="overtypeCursorStyle",e[e.overtypeOnPaste=92]="overtypeOnPaste",e[e.overviewRulerBorder=93]="overviewRulerBorder",e[e.overviewRulerLanes=94]="overviewRulerLanes",e[e.padding=95]="padding",e[e.pasteAs=96]="pasteAs",e[e.parameterHints=97]="parameterHints",e[e.peekWidgetDefaultFocus=98]="peekWidgetDefaultFocus",e[e.placeholder=99]="placeholder",e[e.definitionLinkOpensInPeek=100]="definitionLinkOpensInPeek",e[e.quickSuggestions=101]="quickSuggestions",e[e.quickSuggestionsDelay=102]="quickSuggestionsDelay",e[e.readOnly=103]="readOnly",e[e.readOnlyMessage=104]="readOnlyMessage",e[e.renameOnType=105]="renameOnType",e[e.renderRichScreenReaderContent=106]="renderRichScreenReaderContent",e[e.renderControlCharacters=107]="renderControlCharacters",e[e.renderFinalNewline=108]="renderFinalNewline",e[e.renderLineHighlight=109]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=110]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=111]="renderValidationDecorations",e[e.renderWhitespace=112]="renderWhitespace",e[e.revealHorizontalRightPadding=113]="revealHorizontalRightPadding",e[e.roundedSelection=114]="roundedSelection",e[e.rulers=115]="rulers",e[e.scrollbar=116]="scrollbar",e[e.scrollBeyondLastColumn=117]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=118]="scrollBeyondLastLine",e[e.scrollPredominantAxis=119]="scrollPredominantAxis",e[e.selectionClipboard=120]="selectionClipboard",e[e.selectionHighlight=121]="selectionHighlight",e[e.selectionHighlightMaxLength=122]="selectionHighlightMaxLength",e[e.selectionHighlightMultiline=123]="selectionHighlightMultiline",e[e.selectOnLineNumbers=124]="selectOnLineNumbers",e[e.showFoldingControls=125]="showFoldingControls",e[e.showUnused=126]="showUnused",e[e.snippetSuggestions=127]="snippetSuggestions",e[e.smartSelect=128]="smartSelect",e[e.smoothScrolling=129]="smoothScrolling",e[e.stickyScroll=130]="stickyScroll",e[e.stickyTabStops=131]="stickyTabStops",e[e.stopRenderingLineAfter=132]="stopRenderingLineAfter",e[e.suggest=133]="suggest",e[e.suggestFontSize=134]="suggestFontSize",e[e.suggestLineHeight=135]="suggestLineHeight",e[e.suggestOnTriggerCharacters=136]="suggestOnTriggerCharacters",e[e.suggestSelection=137]="suggestSelection",e[e.tabCompletion=138]="tabCompletion",e[e.tabIndex=139]="tabIndex",e[e.trimWhitespaceOnDelete=140]="trimWhitespaceOnDelete",e[e.unicodeHighlighting=141]="unicodeHighlighting",e[e.unusualLineTerminators=142]="unusualLineTerminators",e[e.useShadowDOM=143]="useShadowDOM",e[e.useTabStops=144]="useTabStops",e[e.wordBreak=145]="wordBreak",e[e.wordSegmenterLocales=146]="wordSegmenterLocales",e[e.wordSeparators=147]="wordSeparators",e[e.wordWrap=148]="wordWrap",e[e.wordWrapBreakAfterCharacters=149]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=150]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=151]="wordWrapColumn",e[e.wordWrapOverride1=152]="wordWrapOverride1",e[e.wordWrapOverride2=153]="wordWrapOverride2",e[e.wrappingIndent=154]="wrappingIndent",e[e.wrappingStrategy=155]="wrappingStrategy",e[e.showDeprecated=156]="showDeprecated",e[e.inertialScroll=157]="inertialScroll",e[e.inlayHints=158]="inlayHints",e[e.wrapOnEscapedLineFeeds=159]="wrapOnEscapedLineFeeds",e[e.effectiveCursorStyle=160]="effectiveCursorStyle",e[e.editorClassName=161]="editorClassName",e[e.pixelRatio=162]="pixelRatio",e[e.tabFocusMode=163]="tabFocusMode",e[e.layoutInfo=164]="layoutInfo",e[e.wrappingInfo=165]="wrappingInfo",e[e.defaultColorDecorators=166]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=167]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=168]="inlineCompletionsAccessibilityVerbose",e[e.effectiveEditContext=169]="effectiveEditContext",e[e.scrollOnMiddleClick=170]="scrollOnMiddleClick",e[e.effectiveAllowVariableFonts=171]="effectiveAllowVariableFonts"})(Qr||(Qr={}));var Zr;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Zr||(Zr={}));var Kr;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(Kr||(Kr={}));var es;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(es||(es={}));var ts;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(ts||(ts={}));var ns;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(ns||(ns={}));var is;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(is||(is={}));var rs;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(rs||(rs={}));var ss;(function(e){e[e.Code=1]="Code",e[e.Label=2]="Label"})(ss||(ss={}));var as;(function(e){e[e.Accepted=0]="Accepted",e[e.Rejected=1]="Rejected",e[e.Ignored=2]="Ignored"})(as||(as={}));var os;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(os||(os={}));var ci;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"})(ci||(ci={}));var hi;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(hi||(hi={}));var di;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(di||(di={}));var ls;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(ls||(ls={}));var us;(function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"})(us||(us={}));var cs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(cs||(cs={}));var hs;(function(e){e[e.AIGenerated=1]="AIGenerated"})(hs||(hs={}));var ds;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(ds||(ds={}));var ms;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(ms||(ms={}));var fs;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(fs||(fs={}));var ps;(function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"})(ps||(ps={}));var gs;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(gs||(gs={}));var bs;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(bs||(bs={}));var ws;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(ws||(ws={}));var _s;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(_s||(_s={}));var vs;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(vs||(vs={}));var mi;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(mi||(mi={}));var ys;(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(ys||(ys={}));var Ts;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Ts||(Ts={}));var xs;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(xs||(xs={}));var ks;(function(e){e[e.Deprecated=1]="Deprecated"})(ks||(ks={}));var Ss;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(Ss||(Ss={}));var As;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(As||(As={}));var Ls;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(Ls||(Ls={}));var Cs;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Cs||(Cs={}));var Es;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(Es||(Es={}));const Et=class{static chord(t,n){return Nl(t,n)}};let fi=Et;(()=>{Et.CtrlCmd=2048})(),(()=>{Et.Shift=1024})(),(()=>{Et.Alt=512})(),(()=>{Et.WinCtrl=256})();function iu(){return{editor:void 0,languages:void 0,CancellationTokenSource:El,Emitter:Ae,KeyCode:ci,KeyMod:fi,Position:Y,Range:P,Selection:ge,SelectionDirection:mi,MarkerSeverity:hi,MarkerTag:di,Uri:nt,Token:nu}}var Ds,Rs;class ru{constructor(t,n){this.uri=t,this.value=n}}function su(e){return Array.isArray(e)}const st=class{constructor(t,n){if(this[Ds]="ResourceMap",t instanceof st)this.map=new Map(t.map),this.toKey=n!=null?n:st.defaultToKey;else if(su(t)){this.map=new Map,this.toKey=n!=null?n:st.defaultToKey;for(const[i,r]of t)this.set(i,r)}else this.map=new Map,this.toKey=t!=null?t:st.defaultToKey}set(t,n){return this.map.set(this.toKey(t),new ru(t,n)),this}get(t){var n;return(n=this.map.get(this.toKey(t)))==null?void 0:n.value}has(t){return this.map.has(this.toKey(t))}get size(){return this.map.size}clear(){this.map.clear()}delete(t){return this.map.delete(this.toKey(t))}forEach(t,n){typeof n<"u"&&(t=t.bind(n));for(const[i,r]of this.map)t(r.value,r.uri,this)}*values(){for(const t of this.map.values())yield t.value}*keys(){for(const t of this.map.values())yield t.uri}*entries(){for(const t of this.map.values())yield[t.uri,t.value]}*[(Ds=Symbol.toStringTag,Symbol.iterator)](){for(const[,t]of this.map)yield[t.uri,t.value]}};let Ms=st;(()=>{st.defaultToKey=t=>t.toString()})();class au{constructor(){this[Rs]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var t;return(t=this._head)==null?void 0:t.value}get last(){var t;return(t=this._tail)==null?void 0:t.value}has(t){return this._map.has(t)}get(t,n=0){const i=this._map.get(t);if(!!i)return n!==0&&this.touch(i,n),i.value}set(t,n,i=0){let r=this._map.get(t);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:t,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(t,r),this._size++}return this}delete(t){return!!this.remove(t)}remove(t){const n=this._map.get(t);if(!!n)return this._map.delete(t),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const t=this._head;return this._map.delete(t.key),this.removeItem(t),this._size--,t.value}forEach(t,n){const i=this._state;let r=this._head;for(;r;){if(n?t.bind(n)(r.value,r.key,this):t(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(Rs=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,n&&(n.next=void 0),this._state++}addItemFirst(t){if(!this._head&&!this._tail)this._tail=t;else if(this._head)t.next=this._head,this._head.previous=t;else throw new Error("Invalid list");this._head=t,this._state++}addItemLast(t){if(!this._head&&!this._tail)this._head=t;else if(this._tail)t.previous=this._tail,this._tail.next=t;else throw new Error("Invalid list");this._tail=t,this._state++}removeItem(t){if(t===this._head&&t===this._tail)this._head=void 0,this._tail=void 0;else if(t===this._head){if(!t.next)throw new Error("Invalid list");t.next.previous=void 0,this._head=t.next}else if(t===this._tail){if(!t.previous)throw new Error("Invalid list");t.previous.next=void 0,this._tail=t.previous}else{const n=t.next,i=t.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}t.next=void 0,t.previous=void 0,this._state++}touch(t,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(t===this._head)return;const i=t.next,r=t.previous;t===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),t.previous=void 0,t.next=this._head,this._head.previous=t,this._head=t,this._state++}else if(n===2){if(t===this._tail)return;const i=t.next,r=t.previous;t===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t,this._state++}}}toJSON(){const t=[];return this.forEach((n,i)=>{t.push([i,n])}),t}fromJSON(t){this.clear();for(const[n,i]of t)this.set(n,i)}}class ou extends au{constructor(t,n=1){super(),this._limit=t,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(t){this._limit=t,this.checkTrim()}get(t,n=2){return super.get(t,n)}peek(t){return super.get(t,0)}set(t,n){return super.set(t,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class lu extends ou{constructor(t,n=1){super(t,n)}trim(t){this.trimOld(t)}set(t,n){return super.set(t,n),this.checkTrim(),this}}class uu{constructor(){this.map=new Map}add(t,n){let i=this.map.get(t);i||(i=new Set,this.map.set(t,i)),i.add(n)}delete(t,n){const i=this.map.get(t);!i||(i.delete(n),i.size===0&&this.map.delete(t))}forEach(t,n){const i=this.map.get(t);!i||i.forEach(n)}}new lu(10);var Ns;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Ns||(Ns={}));var Is;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(Is||(Is={}));var zs;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(zs||(zs={}));var Hs;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Hs||(Hs={}));function cu(e){if(!e||e.length===0)return!1;for(let t=0,n=e.length;t<n;t++){const i=e.charCodeAt(t);if(i===10)return!0;if(i===92){if(t++,t>=n)break;const r=e.charCodeAt(t);if(r===110||r===114||r===87)return!0}}return!1}function hu(e,t,n,i,r){if(i===0)return!0;const s=t.charCodeAt(i-1);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=t.charCodeAt(i);if(e.get(a)!==0)return!0}return!1}function du(e,t,n,i,r){if(i+r===n)return!0;const s=t.charCodeAt(i+r);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=t.charCodeAt(i+r-1);if(e.get(a)!==0)return!0}return!1}function mu(e,t,n,i,r){return hu(e,t,n,i,r)&&du(e,t,n,i,r)}class fu{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(t),!i))return null;const r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){ul(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||mu(this._wordSeparators,t,n,r,s))return i}while(i);return null}}const pu="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function gu(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of pu)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Us=gu();function Ws(e){let t=Us;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const Fs=new Fo;Fs.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function pi(e,t,n,i,r){if(t=Ws(t),r||(r=Zt.first(Fs)),n.length>r.maxLen){let u=e-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,e+r.maxLen/2),pi(e,t,n,i,r)}const s=Date.now(),a=e-1-i;let l=-1,o=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){const c=a-r.windowSize*u;t.lastIndex=Math.max(0,c);const d=bu(t,n,a,l);if(!d&&o||(o=d,c<=0))break;l=c}if(o){const u={word:o[0],startColumn:i+1+o.index,endColumn:i+1+o.index+o[0].length};return t.lastIndex=0,u}return null}function bu(e,t,n,i){let r;for(;r=e.exec(t);){const s=r.index||0;if(s<=n&&e.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}class wu{static computeUnicodeHighlights(t,n,i){const r=i?i.startLineNumber:1,s=i?i.endLineNumber:t.getLineCount(),a=new Ps(n),l=a.getCandidateCodePoints();let o;l==="allNonBasicAscii"?o=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):o=new RegExp(`${_u(Array.from(l))}`,"g");const u=new fu(null,o),c=[];let d=!1,m,f=0,w=0,p=0;e:for(let x=r,T=s;x<=T;x++){const y=t.getLineContent(x),L=y.length;u.reset(0);do if(m=u.next(y),m){let I=m.index,H=m.index+m[0].length;if(I>0){const _=y.charCodeAt(I-1);rn(_)&&I--}if(H+1<L){const _=y.charCodeAt(H-1);rn(_)&&H++}const W=y.substring(I,H);let b=pi(I+1,Us,y,0);b&&b.endColumn<=I+1&&(b=null);const g=a.shouldHighlightNonBasicASCII(W,b?b.word:null);if(g!==0){g===3?f++:g===2?w++:g===1?p++:Io();const _=1e3;if(c.length>=_){d=!0;break e}c.push(new P(x,I+1,x,H+1))}}while(m)}return{ranges:c,hasMore:d,ambiguousCharacterCount:f,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(t,n){const i=new Ps(n);switch(i.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),a=i.ambiguousCharacters.getPrimaryConfusable(s),l=Nt.getLocales().filter(o=>!Nt.getInstance(new Set([...n.allowedLocales,o])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function _u(e,t){return`[${nl(e.map(i=>String.fromCodePoint(i)).join(""))}]`}class Ps{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=Nt.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of It.codePoints)Bs(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const i=t.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(const a of n){const l=a.codePointAt(0),o=hl(a);r=r||o,!o&&!this.ambiguousCharacters.isAmbiguous(l)&&!It.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!Bs(t)&&It.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function Bs(e){return e===" "||e===`
8
- `||e===" "}class dn{constructor(t,n,i){this.changes=t,this.moves=n,this.hitTimeout=i}}class vu{constructor(t,n){this.lineRangeMapping=t,this.changes=n}}function yu(e,t,n=(i,r)=>i===r){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function*Tu(e,t){let n,i;for(const r of e)i!==void 0&&t(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}function xu(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function ku(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function Su(e,t){for(const n of t)e.push(n)}var gi;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s<=0}e.isLessThanOrEqual=n;function i(s){return s>0}e.isGreaterThan=i;function r(s){return s===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(gi||(gi={}));function Ut(e,t){return(n,i)=>t(e(n),e(i))}const Wt=(e,t)=>e-t;function Au(e){return(t,n)=>-e(t,n)}const Dt=class{constructor(t){this.iterate=t}toArray(){const t=[];return this.iterate(n=>(t.push(n),!0)),t}filter(t){return new Dt(n=>this.iterate(i=>t(i)?n(i):!0))}map(t){return new Dt(n=>this.iterate(i=>n(t(i))))}findLast(t){let n;return this.iterate(i=>(t(i)&&(n=i),!0)),n}findLastMaxBy(t){let n,i=!0;return this.iterate(r=>((i||gi.isGreaterThan(t(r,n)))&&(i=!1,n=r),!0)),n}};let qs=Dt;(()=>{Dt.empty=new Dt(t=>{})})();class ${static fromTo(t,n){return new $(t,n)}static addRange(t,n){let i=0;for(;i<n.length&&n[i].endExclusive<t.start;)i++;let r=i;for(;r<n.length&&n[r].start<=t.endExclusive;)r++;if(i===r)n.splice(i,0,t);else{const s=Math.min(t.start,n[i].start),a=Math.max(t.endExclusive,n[r-1].endExclusive);n.splice(i,r-i,new $(s,a))}}static tryCreate(t,n){if(!(t>n))return new $(t,n)}static ofLength(t){return new $(0,t)}static ofStartAndLength(t,n){return new $(t,t+n)}static emptyAt(t){return new $(t,t)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new ue(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new $(this.start+t,this.endExclusive+t)}deltaStart(t){return new $(this.start+t,this.endExclusive)}deltaEnd(t){return new $(this.start,this.endExclusive+t)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(t){return this.start===t.start&&this.endExclusive===t.endExclusive}contains(t){return this.start<=t&&t<this.endExclusive}join(t){return new $(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))}intersect(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);if(n<=i)return new $(n,i)}intersectionLength(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);return Math.max(0,i-n)}intersects(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);return n<i}intersectsOrTouches(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);return n<=i}isBefore(t){return this.endExclusive<=t.start}isAfter(t){return this.start>=t.endExclusive}slice(t){return t.slice(this.start,this.endExclusive)}substring(t){return t.substring(this.start,this.endExclusive)}clip(t){if(this.isEmpty)throw new ue(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,t))}clipCyclic(t){if(this.isEmpty)throw new ue(`Invalid clipping range: ${this.toString()}`);return t<this.start?this.endExclusive-(this.start-t)%this.length:t>=this.endExclusive?this.start+(t-this.start)%this.length:t}forEach(t){for(let n=this.start;n<this.endExclusive;n++)t(n)}joinRightTouching(t){if(this.endExclusive!==t.start)throw new ue(`Invalid join: ${this.toString()} and ${t.toString()}`);return new $(this.start,t.endExclusive)}}function pt(e,t){const n=gt(e,t);return n===-1?void 0:e[n]}function gt(e,t,n=0,i=e.length){let r=n,s=i;for(;r<s;){const a=Math.floor((r+s)/2);t(e[a])?r=a+1:s=a}return r-1}function Lu(e,t){const n=bi(e,t);return n===e.length?void 0:e[n]}function bi(e,t,n=0,i=e.length){let r=n,s=i;for(;r<s;){const a=Math.floor((r+s)/2);t(e[a])?s=a:r=a+1}return r}const Nn=class{constructor(t){this._array=t,this._findLastMonotonousLastIdx=0}findLastMonotonous(t){if(Nn.assertInvariants){if(this._prevFindLastPredicate){for(const i of this._array)if(this._prevFindLastPredicate(i)&&!t(i))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=t}const n=gt(this._array,t,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}};let mn=Nn;(()=>{Nn.assertInvariants=!1})();const xe=class{static ofLength(t,n){return new xe(t,t+n)}static fromRangeInclusive(t){return new xe(t.startLineNumber,t.endLineNumber+1)}static joinMany(t){if(t.length===0)return[];let n=new Ie(t[0].slice());for(let i=1;i<t.length;i++)n=n.getUnion(new Ie(t[i].slice()));return n.ranges}static join(t){if(t.length===0)throw new ue("lineRanges cannot be empty");let n=t[0].startLineNumber,i=t[0].endLineNumberExclusive;for(let r=1;r<t.length;r++)n=Math.min(n,t[r].startLineNumber),i=Math.max(i,t[r].endLineNumberExclusive);return new xe(n,i)}static deserialize(t){return new xe(t[0],t[1])}constructor(t,n){if(t>n)throw new ue(`startLineNumber ${t} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=t,this.endLineNumberExclusive=n}contains(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(t){return new xe(this.startLineNumber+t,this.endLineNumberExclusive+t)}deltaLength(t){return new xe(this.startLineNumber,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new xe(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(t){const n=Math.max(this.startLineNumber,t.startLineNumber),i=Math.min(this.endLineNumberExclusive,t.endLineNumberExclusive);if(n<=i)return new xe(n,i)}intersectsStrict(t){return this.startLineNumber<t.endLineNumberExclusive&&t.startLineNumber<this.endLineNumberExclusive}intersectsOrTouches(t){return this.startLineNumber<=t.endLineNumberExclusive&&t.startLineNumber<=this.endLineNumberExclusive}equals(t){return this.startLineNumber===t.startLineNumber&&this.endLineNumberExclusive===t.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new P(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new P(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(t){const n=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)n.push(t(i));return n}forEach(t){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)t(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}toOffsetRange(){return new $(this.startLineNumber-1,this.endLineNumberExclusive-1)}addMargin(t,n){return new xe(this.startLineNumber-t,this.endLineNumberExclusive+n)}};let X=xe;(()=>{xe.compareByStart=Ut(t=>t.startLineNumber,Wt)})();class Ie{constructor(t=[]){this._normalizedRanges=t}get ranges(){return this._normalizedRanges}addRange(t){if(t.length===0)return;const n=bi(this._normalizedRanges,r=>r.endLineNumberExclusive>=t.startLineNumber),i=gt(this._normalizedRanges,r=>r.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)this._normalizedRanges.splice(n,0,t);else if(n===i-1){const r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(t)}else{const r=this._normalizedRanges[n].join(this._normalizedRanges[i-1]).join(t);this._normalizedRanges.splice(n,i-n,r)}}contains(t){const n=pt(this._normalizedRanges,i=>i.startLineNumber<=t);return!!n&&n.endLineNumberExclusive>t}intersects(t){const n=pt(this._normalizedRanges,i=>i.startLineNumber<t.endLineNumberExclusive);return!!n&&n.endLineNumberExclusive>t.startLineNumber}getUnion(t){if(this._normalizedRanges.length===0)return t;if(t._normalizedRanges.length===0)return this;const n=[];let i=0,r=0,s=null;for(;i<this._normalizedRanges.length||r<t._normalizedRanges.length;){let a=null;if(i<this._normalizedRanges.length&&r<t._normalizedRanges.length){const l=this._normalizedRanges[i],o=t._normalizedRanges[r];l.startLineNumber<o.startLineNumber?(a=l,i++):(a=o,r++)}else i<this._normalizedRanges.length?(a=this._normalizedRanges[i],i++):(a=t._normalizedRanges[r],r++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new X(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new Ie(n)}subtractFrom(t){const n=bi(this._normalizedRanges,a=>a.endLineNumberExclusive>=t.startLineNumber),i=gt(this._normalizedRanges,a=>a.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)return new Ie([t]);const r=[];let s=t.startLineNumber;for(let a=n;a<i;a++){const l=this._normalizedRanges[a];l.startLineNumber>s&&r.push(new X(s,l.startLineNumber)),s=l.endLineNumberExclusive}return s<t.endLineNumberExclusive&&r.push(new X(s,t.endLineNumberExclusive)),new Ie(r)}toString(){return this._normalizedRanges.map(t=>t.toString()).join(", ")}getIntersection(t){const n=[];let i=0,r=0;for(;i<this._normalizedRanges.length&&r<t._normalizedRanges.length;){const s=this._normalizedRanges[i],a=t._normalizedRanges[r],l=s.intersect(a);l&&!l.isEmpty&&n.push(l),s.endLineNumberExclusive<a.endLineNumberExclusive?i++:r++}return new Ie(n)}getWithDelta(t){return new Ie(this._normalizedRanges.map(n=>n.delta(t)))}}const Re=class{static betweenPositions(t,n){return t.lineNumber===n.lineNumber?new Re(0,n.column-t.column):new Re(n.lineNumber-t.lineNumber,n.column-1)}static fromPosition(t){return new Re(t.lineNumber-1,t.column-1)}static ofRange(t){return Re.betweenPositions(t.getStartPosition(),t.getEndPosition())}static ofText(t){let n=0,i=0;for(const r of t)r===`
9
- `?(n++,i=0):i++;return new Re(n,i)}constructor(t,n){this.lineCount=t,this.columnCount=n}isGreaterThanOrEqualTo(t){return this.lineCount!==t.lineCount?this.lineCount>t.lineCount:this.columnCount>=t.columnCount}add(t){return t.lineCount===0?new Re(this.lineCount,this.columnCount+t.columnCount):new Re(this.lineCount+t.lineCount,t.columnCount)}createRange(t){return this.lineCount===0?new P(t.lineNumber,t.column,t.lineNumber,t.column+this.columnCount):new P(t.lineNumber,t.column,t.lineNumber+this.lineCount,this.columnCount+1)}toRange(){return new P(1,1,this.lineCount+1,this.columnCount+1)}toLineRange(){return X.ofLength(1,this.lineCount+1)}addToPosition(t){return this.lineCount===0?new Y(t.lineNumber,t.column+this.columnCount):new Y(t.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};let Ft=Re;(()=>{Re.zero=new Re(0,0)})();class Cu{getOffsetRange(t){return new $(this.getOffset(t.getStartPosition()),this.getOffset(t.getEndPosition()))}getRange(t){return P.fromPositions(this.getPosition(t.start),this.getPosition(t.endExclusive))}getStringReplacement(t){return new bt.deps.StringReplacement(this.getOffsetRange(t.range),t.text)}getTextReplacement(t){return new bt.deps.TextReplacement(this.getRange(t.replaceRange),t.newText)}getTextEdit(t){const n=t.replacements.map(i=>this.getTextReplacement(i));return new bt.deps.TextEdit(n)}}const Xi=class{static get deps(){if(!this._deps)throw new Error("Dependencies not set. Call _setDependencies first.");return this._deps}};let bt=Xi;(()=>{Xi._deps=void 0})();class Eu extends Cu{constructor(t){super(),this.text=t,this.lineStartOffsetByLineIdx=[],this.lineEndOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let n=0;n<t.length;n++)t.charAt(n)===`
10
- `&&(this.lineStartOffsetByLineIdx.push(n+1),n>0&&t.charAt(n-1)==="\r"?this.lineEndOffsetByLineIdx.push(n-1):this.lineEndOffsetByLineIdx.push(n));this.lineEndOffsetByLineIdx.push(t.length)}getOffset(t){const n=this._validatePosition(t);return this.lineStartOffsetByLineIdx[n.lineNumber-1]+n.column-1}_validatePosition(t){if(t.lineNumber<1)return new Y(1,1);const n=this.textLength.lineCount+1;if(t.lineNumber>n){const r=this.getLineLength(n);return new Y(n,r+1)}if(t.column<1)return new Y(t.lineNumber,1);const i=this.getLineLength(t.lineNumber);return t.column-1>i?new Y(t.lineNumber,i+1):t}getPosition(t){const n=gt(this.lineStartOffsetByLineIdx,s=>s<=t),i=n+1,r=t-this.lineStartOffsetByLineIdx[n]+1;return new Y(i,r)}get textLength(){const t=this.lineStartOffsetByLineIdx.length-1;return new bt.deps.TextLength(t,this.text.length-this.lineStartOffsetByLineIdx[t])}getLineLength(t){return this.lineEndOffsetByLineIdx[t-1]-this.lineStartOffsetByLineIdx[t-1]}}class Du{constructor(){this._transformer=void 0}get endPositionExclusive(){return this.length.addToPosition(new Y(1,1))}get lineRange(){return this.length.toLineRange()}getValue(){return this.getValueOfRange(this.length.toRange())}getValueOfOffsetRange(t){return this.getValueOfRange(this.getTransformer().getRange(t))}getLineLength(t){return this.getValueOfRange(new P(t,1,t,Number.MAX_SAFE_INTEGER)).length}getTransformer(){return this._transformer||(this._transformer=new Eu(this.getValue())),this._transformer}getLineAt(t){return this.getValueOfRange(new P(t,1,t,Number.MAX_SAFE_INTEGER))}}class Ru extends Du{constructor(t,n){zo(n>=1),super(),this._getLineContent=t,this._lineCount=n}getValueOfRange(t){if(t.startLineNumber===t.endLineNumber)return this._getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);let n=this._getLineContent(t.startLineNumber).substring(t.startColumn-1);for(let i=t.startLineNumber+1;i<t.endLineNumber;i++)n+=`
7
+ `))}}class Po extends Error{constructor(t,n){super(t),this.name="ListenerLeakError",this.stack=n}}class Bo extends Error{constructor(t,n){super(t),this.name="ListenerRefusalError",this.stack=n}}class qn{constructor(t){this.value=t}}const qo=2;class Re{constructor(t){var n,i,r,s,a,l;this._size=0,this._options=t,this._leakageMon=(n=this._options)!=null&&n.leakWarningThreshold?new Pn((i=t==null?void 0:t.onListenerError)!=null?i:De,(s=(r=this._options)==null?void 0:r.leakWarningThreshold)!=null?s:Fo):void 0,this._perfMon=(a=this._options)!=null&&a._profName?new Fn(this._options._profName):void 0,this._deliveryQueue=(l=this._options)==null?void 0:l.deliveryQueue}dispose(){var t,n,i,r;this._disposed||(this._disposed=!0,((t=this._deliveryQueue)==null?void 0:t.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),(i=(n=this._options)==null?void 0:n.onDidRemoveLastListener)==null||i.call(n),(r=this._leakageMon)==null||r.dispose())}get event(){var t;return(t=this._event)!=null||(this._event=(n,i,r)=>{var o,u,c,d,m,f,w,p,x;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const T=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(T);const y=(o=this._leakageMon.getMostFrequentStack())!=null?o:["UNKNOWN stack",-1],L=new Bo(`${T}. HINT: Stack shows most frequent listener (${y[1]}-times)`,y[0]);return(((u=this._options)==null?void 0:u.onListenerError)||De)(L),Qe.None}if(this._disposed)return Qe.None;i&&(n=n.bind(i));const s=new qn(n);let a;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(s.stack=Bn.create(),a=this._leakageMon.check(s.stack,this._size+1)),this._listeners?this._listeners instanceof qn?((w=this._deliveryQueue)!=null||(this._deliveryQueue=new Oo),this._listeners=[this._listeners,s]):this._listeners.push(s):((d=(c=this._options)==null?void 0:c.onWillAddFirstListener)==null||d.call(c,this),this._listeners=s,(f=(m=this._options)==null?void 0:m.onDidAddFirstListener)==null||f.call(m,this)),(x=(p=this._options)==null?void 0:p.onDidAddListener)==null||x.call(p,this),this._size++;const l=Zt(()=>{a==null||a(),this._removeListener(s)});return r instanceof Dt?r.add(l):Array.isArray(r)&&r.push(l),l}),this._event}_removeListener(t){var s,a,l,o;if((a=(s=this._options)==null?void 0:s.onWillRemoveListener)==null||a.call(s,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(o=(l=this._options)==null?void 0:l.onDidRemoveLastListener)==null||o.call(l,this),this._size=0;return}const n=this._listeners,i=n.indexOf(t);if(i===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[i]=void 0;const r=this._deliveryQueue.current===this;if(this._size*qo<=n.length){let u=0;for(let c=0;c<n.length;c++)n[c]?n[u++]=n[c]:r&&u<this._deliveryQueue.end&&(this._deliveryQueue.end--,u<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=u}}_deliver(t,n){var r;if(!t)return;const i=((r=this._options)==null?void 0:r.onListenerError)||De;if(!i){t.value(n);return}try{t.value(n)}catch(s){i(s)}}_deliverQueue(t){const n=t.current._listeners;for(;t.i<t.end;)this._deliver(n[t.i++],t.value);t.reset()}fire(t){var n,i,r,s;if((n=this._deliveryQueue)!=null&&n.current&&(this._deliverQueue(this._deliveryQueue),(i=this._perfMon)==null||i.stop()),(r=this._perfMon)==null||r.start(this._size),this._listeners)if(this._listeners instanceof qn)this._deliver(this._listeners,t);else{const a=this._deliveryQueue;a.enqueue(this,t,this._listeners.length),this._deliverQueue(a)}(s=this._perfMon)==null||s.stop()}hasListeners(){return this._size>0}}class Oo{constructor(){this.i=-1,this.end=0}enqueue(t,n,i){this.i=0,this.end=i,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function Vo(){return globalThis._VSCODE_NLS_MESSAGES}function Zi(){return globalThis._VSCODE_NLS_LANGUAGE}const jo=Zi()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function Ki(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(i,r)=>{const s=r[0],a=t[s];let l=i;return typeof a=="string"?l=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(l=String(a)),l}),jo&&(n="\uFF3B"+n.replace(/[aouei]/g,"$&$&")+"\uFF3D"),n}function O(e,t,...n){return Ki(typeof e=="number"?Go(e,t):t,n)}function Go(e,t){var i;const n=(i=Vo())==null?void 0:i[e];if(typeof n!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}const lt="en";let On=!1,Vn=!1,jn=!1,en,Gn=lt,er=lt,$o,Se;const Ze=globalThis;let se;typeof Ze.vscode<"u"&&typeof Ze.vscode.process<"u"?se=Ze.vscode.process:typeof process<"u"&&typeof((Ao=process==null?void 0:process.versions)==null?void 0:Ao.node)=="string"&&(se=process);const Xo=typeof((Lo=se==null?void 0:se.versions)==null?void 0:Lo.electron)=="string"&&(se==null?void 0:se.type)==="renderer";if(typeof se=="object"){On=se.platform==="win32",Vn=se.platform==="darwin",jn=se.platform==="linux",jn&&!!se.env.SNAP&&se.env.SNAP_REVISION,!!se.env.CI||!!se.env.BUILD_ARTIFACTSTAGINGDIRECTORY||se.env.GITHUB_WORKSPACE,en=lt,Gn=lt;const e=se.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);en=t.userLocale,er=t.osLocale,Gn=t.resolvedLanguage||lt,$o=(Co=t.languagePack)==null?void 0:Co.translationsConfigFile}catch{}}else typeof navigator=="object"&&!Xo?(Se=navigator.userAgent,On=Se.indexOf("Windows")>=0,Vn=Se.indexOf("Macintosh")>=0,(Se.indexOf("Macintosh")>=0||Se.indexOf("iPad")>=0||Se.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,jn=Se.indexOf("Linux")>=0,(Se==null?void 0:Se.indexOf("Mobi"))>=0,Gn=Zi()||lt,en=navigator.language.toLowerCase(),er=en):console.error("Unable to resolve platform.");const Rt=On,Jo=Vn,Me=Se,Yo=typeof Ze.postMessage=="function"&&!Ze.importScripts;(()=>{if(Yo){const e=[];Ze.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=e.length;i<r;i++){const s=e[i];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(i,1),s.callback();return}}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),Ze.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})();const Qo=!!(Me&&Me.indexOf("Chrome")>=0);Me&&Me.indexOf("Firefox")>=0,!Qo&&Me&&Me.indexOf("Safari")>=0,Me&&Me.indexOf("Edg/")>=0,Me&&Me.indexOf("Android")>=0;function Zo(e){return e}class Ko{constructor(t,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof t=="function"?(this._fn=t,this._computeKey=Zo):(this._fn=n,this._computeKey=t.getCacheKey)}get(t){const n=this._computeKey(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(t)),this.lastCache}}var Ke;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Running=1]="Running",e[e.Completed=2]="Completed"})(Ke||(Ke={}));class $n{constructor(t){this.executor=t,this._state=Ke.Uninitialized}get value(){if(this._state===Ke.Uninitialized){this._state=Ke.Running;try{this._value=this.executor()}catch(t){this._error=t}finally{this._state=Ke.Completed}}else if(this._state===Ke.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function el(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function tl(e){return e.source==="^"||e.source==="^$"||e.source==="$"||e.source==="^\\s*$"?!1:!!(e.exec("")&&e.lastIndex===0)}function nl(e){return e.split(/\r\n|\r|\n/)}function il(e){for(let t=0,n=e.length;t<n;t++){const i=e.charCodeAt(t);if(i!==32&&i!==9)return t}return-1}function rl(e,t=e.length-1){for(let n=t;n>=0;n--){const i=e.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function tr(e){return e>=65&&e<=90}function sl(e,t){const n=Math.min(e.length,t.length);let i;for(i=0;i<n;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return n}function al(e,t){const n=Math.min(e.length,t.length);let i;const r=e.length-1,s=t.length-1;for(i=0;i<n;i++)if(e.charCodeAt(r-i)!==t.charCodeAt(s-i))return i;return n}function tn(e){return 55296<=e&&e<=56319}function Xn(e){return 56320<=e&&e<=57343}function nr(e,t){return(e-55296<<10)+(t-56320)+65536}function ol(e,t,n){const i=e.charCodeAt(n);if(tn(i)&&n+1<t){const r=e.charCodeAt(n+1);if(Xn(r))return nr(i,r)}return i}const ll=/^[\t\n\r\x20-\x7E]*$/;function ul(e){return ll.test(e)}const it=class{static getInstance(){return it._INSTANCE||(it._INSTANCE=new it),it._INSTANCE}constructor(){this._data=cl()}getGraphemeBreakType(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;const n=this._data,i=n.length/3;let r=1;for(;r<=i;)if(t<n[3*r])r=2*r;else if(t>n[3*r+1])r=2*r+1;else return n[3*r+2];return 0}};let ir=it;(()=>{it._INSTANCE=null})();function cl(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}const ze=class{static getInstance(t){return ze.cache.get(Array.from(t))}static getLocales(){return ze._locales.value}constructor(t){this.confusableDictionary=t}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}};let Mt=ze;(()=>{ze.ambiguousCharacterData=new $n(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}'))})(),(()=>{ze.cache=new Ko({getCacheKey:JSON.stringify},t=>{function n(c){const d=new Map;for(let m=0;m<c.length;m+=2)d.set(c[m],c[m+1]);return d}function i(c,d){const m=new Map(c);for(const[f,w]of d)m.set(f,w);return m}function r(c,d){if(!c)return d;const m=new Map;for(const[f,w]of c)d.has(f)&&m.set(f,w);return m}const s=ze.ambiguousCharacterData.value;let a=t.filter(c=>!c.startsWith("_")&&c in s);a.length===0&&(a=["_default"]);let l;for(const c of a){const d=n(s[c]);l=r(l,d)}const o=n(s._common),u=i(o,l);return new ze(u)})})(),(()=>{ze._locales=new $n(()=>Object.keys(ze.ambiguousCharacterData.value).filter(t=>!t.startsWith("_")))})();const Lt=class{static getRawData(){return JSON.parse('{"_common":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999],"cs":[173,8203,12288],"de":[173,8203,12288],"es":[8203,12288],"fr":[173,8203,12288],"it":[160,173,12288],"ja":[173],"ko":[173,12288],"pl":[173,8203,12288],"pt-BR":[173,8203,12288],"qps-ploc":[160,173,8203,12288],"ru":[173,12288],"tr":[160,173,8203,12288],"zh-hans":[160,173,8203,12288],"zh-hant":[173,12288]}')}static getData(){return this._data||(this._data=new Set([...Object.values(Lt.getRawData())].flat())),this._data}static isInvisibleCharacter(t){return Lt.getData().has(t)}static get codePoints(){return Lt.getData()}};let Nt=Lt;(()=>{Lt._data=void 0})();const Jn="default",hl="$initialize";class dl{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}}class rr{constructor(t,n,i,r){this.vsWorker=t,this.seq=n,this.res=i,this.err=r,this.type=1}}class ml{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}}class fl{constructor(t,n,i){this.vsWorker=t,this.req=n,this.event=i,this.type=3}}class pl{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class gl{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n,i){const r=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[r]={resolve:s,reject:a},this._send(new dl(this._workerId,r,t,n,i))})}listen(t,n,i){let r=null;const s=new Re({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new ml(this._workerId,r,t,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new pl(this._workerId,r)),r=null}});return s.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}createProxyToRemoteChannel(t,n){const i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(ar(s)?r[s]=a=>this.listen(t,s,a):sr(s)?r[s]=this.listen(t,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...a)=>(await(n==null?void 0:n()),this.sendMessage(t,s,a)))),r[s])};return new Proxy(Object.create(null),i)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let i=t.err;t.err.$isError&&(i=new Error,i.name=t.err.name,i.message=t.err.message,i.stack=t.err.stack),n.reject(i);return}n.resolve(t.res)}_handleRequestMessage(t){const n=t.req;this._handler.handleMessage(t.channel,t.method,t.args).then(r=>{this._send(new rr(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=In(r.detail)),this._send(new rr(this._workerId,n,void 0,In(r)))})}_handleSubscribeEventMessage(t){const n=t.req,i=this._handler.handleEvent(t.channel,t.eventName,t.arg)(r=>{this._send(new fl(this._workerId,n,r))});this._pendingEvents.set(n,i)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){const n=[];if(t.type===0)for(let i=0;i<t.args.length;i++)t.args[i]instanceof ArrayBuffer&&n.push(t.args[i]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}}function sr(e){return e[0]==="o"&&e[1]==="n"&&tr(e.charCodeAt(2))}function ar(e){return/^onDynamic/.test(e)&&tr(e.charCodeAt(9))}class bl{constructor(t,n){this._localChannels=new Map,this._remoteChannels=new Map,this._protocol=new gl({sendMessage:(i,r)=>{t(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)}),this.requestHandler=n(this)}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n,i){if(t===Jn&&n===hl)return this.initialize(i[0]);const r=t===Jn?this.requestHandler:this._localChannels.get(t);if(!r)return Promise.reject(new Error(`Missing channel ${t} on worker thread`));if(typeof r[n]!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${t}`));try{return Promise.resolve(r[n].apply(r,i))}catch(s){return Promise.reject(s)}}_handleEvent(t,n,i){const r=t===Jn?this.requestHandler:this._localChannels.get(t);if(!r)throw new Error(`Missing channel ${t} on worker thread`);if(ar(n)){const s=r[n].call(r,i);if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return s}if(sr(n)){const s=r[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(t){if(!this._remoteChannels.has(t)){const n=this._protocol.createProxyToRemoteChannel(t);this._remoteChannels.set(t,n)}return this._remoteChannels.get(t)}async initialize(t){this._protocol.setWorkerId(t)}}let or=!1;function wl(e){if(or)throw new Error("WebWorker already initialized!");or=!0;const t=new bl(n=>globalThis.postMessage(n),n=>e(n));return globalThis.onmessage=n=>{t.onmessage(n.data)},t}class Ve{constructor(t,n,i,r){this.originalStart=t,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}const lr=typeof Buffer<"u";new $n(()=>new Uint8Array(256));let Yn;class Qn{static wrap(t){return lr&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new Qn(t)}constructor(t){this.buffer=t,this.byteLength=this.buffer.byteLength}toString(){return lr?this.buffer.toString():(Yn||(Yn=new TextDecoder),Yn.decode(this.buffer))}}const ur="0123456789abcdef";function _l({buffer:e}){let t="";for(let n=0;n<e.length;n++){const i=e[n];t+=ur[i>>>4],t+=ur[i&15]}return t}function cr(e,t){return(t<<5)-t+e|0}function vl(e,t){t=cr(149417,t);for(let n=0,i=e.length;n<i;n++)t=cr(e.charCodeAt(n),t);return t}function Zn(e,t,n=32){const i=n-t,r=~((1<<i)-1);return(e<<t|(r&e)>>>i)>>>0}function It(e,t=32){return e instanceof ArrayBuffer?_l(Qn.wrap(new Uint8Array(e))):(e>>>0).toString(16).padStart(t/4,"0")}const En=class{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(t){const n=t.length;if(n===0)return;const i=this._buff;let r=this._buffLen,s=this._leftoverHighSurrogate,a,l;for(s!==0?(a=s,l=-1,s=0):(a=t.charCodeAt(0),l=0);;){let o=a;if(tn(a))if(l+1<n){const u=t.charCodeAt(l+1);Xn(u)?(l++,o=nr(a,u)):o=65533}else{s=a;break}else Xn(a)&&(o=65533);if(r=this._push(i,r,o),l++,l<n)a=t.charCodeAt(l);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(t,n,i){return i<128?t[n++]=i:i<2048?(t[n++]=192|(i&1984)>>>6,t[n++]=128|(i&63)>>>0):i<65536?(t[n++]=224|(i&61440)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0):(t[n++]=240|(i&1835008)>>>18,t[n++]=128|(i&258048)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,t[0]=t[64+0],t[1]=t[64+1],t[2]=t[64+2]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),It(this._h0)+It(this._h1)+It(this._h2)+It(this._h3)+It(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,this._buff.subarray(this._buffLen).fill(0),this._buffLen>56&&(this._step(),this._buff.fill(0));const t=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(t/4294967296),!1),this._buffDV.setUint32(60,t%4294967296,!1),this._step()}_step(){const t=En._bigBlock32,n=this._buffDV;for(let d=0;d<64;d+=4)t.setUint32(d,n.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)t.setUint32(d,Zn(t.getUint32(d-12,!1)^t.getUint32(d-32,!1)^t.getUint32(d-56,!1)^t.getUint32(d-64,!1),1),!1);let i=this._h0,r=this._h1,s=this._h2,a=this._h3,l=this._h4,o,u,c;for(let d=0;d<80;d++)d<20?(o=r&s|~r&a,u=1518500249):d<40?(o=r^s^a,u=1859775393):d<60?(o=r&s|r&a|s&a,u=2400959708):(o=r^s^a,u=3395469782),c=Zn(i,5)+o+l+u+t.getUint32(d*4,!1)&4294967295,l=a,a=s,s=Zn(r,30),r=i,i=c;this._h0=this._h0+i&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+l&4294967295}};let hr=En;(()=>{En._bigBlock32=new DataView(new ArrayBuffer(320))})();class dr{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let i=0,r=t.length;i<r;i++)n[i]=t.charCodeAt(i);return n}}function yl(e,t,n){return new je(new dr(e),new dr(t)).ComputeDiff(n).changes}class ut{static Assert(t,n){if(!t)throw new Error(n)}}class ct{static Copy(t,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=t[n+a]}static Copy2(t,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=t[n+a]}}class mr{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Ve(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class je{constructor(t,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=t,this._modifiedSequence=n;const[r,s,a]=je._getElements(t),[l,o,u]=je._getElements(n);this._hasStrings=a&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=o,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(je._isStringArray(n)){const i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=vl(n[r],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(t,n){if(!this.ElementsAreEqual(t,n))return!1;const i=je._getStrictElement(this._originalSequence,t),r=je._getStrictElement(this._modifiedSequence,n);return i===r}static _getStrictElement(t,n){return typeof t.getStrictElement=="function"?t.getStrictElement(n):null}OriginalElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,n,i,r,s){const a=[!1];let l=this.ComputeDiffRecursive(t,n,i,r,a);return s&&(l=this.PrettifyChanges(l)),{quitEarly:a[0],changes:l}}ComputeDiffRecursive(t,n,i,r,s){for(s[0]=!1;t<=n&&i<=r&&this.ElementsAreEqual(t,i);)t++,i++;for(;n>=t&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(t>n||i>r){let d;return i<=r?(ut.Assert(t===n+1,"originalStart should only be one more than originalEnd"),d=[new Ve(t,0,i,r-i+1)]):t<=n?(ut.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new Ve(t,n-t+1,i,0)]):(ut.Assert(t===n+1,"originalStart should only be one more than originalEnd"),ut.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const a=[0],l=[0],o=this.ComputeRecursionPoint(t,n,i,r,a,l,s),u=a[0],c=l[0];if(o!==null)return o;if(!s[0]){const d=this.ComputeDiffRecursive(t,u,i,c,s);let m=[];return s[0]?m=[new Ve(u+1,n-(u+1)+1,c+1,r-(c+1)+1)]:m=this.ComputeDiffRecursive(u+1,n,c+1,r,s),this.ConcatenateChanges(d,m)}return[new Ve(t,n-t+1,i,r-i+1)]}WALKTRACE(t,n,i,r,s,a,l,o,u,c,d,m,f,w,p,x,T,y){let L=null,I=null,H=new mr,W=n,b=i,g=f[0]-x[0]-r,_=-1073741824,N=this.m_forwardHistory.length-1;do{const S=g+t;S===W||S<b&&u[S-1]<u[S+1]?(d=u[S+1],w=d-g-r,d<_&&H.MarkNextChange(),_=d,H.AddModifiedElement(d+1,w),g=S+1-t):(d=u[S-1]+1,w=d-g-r,d<_&&H.MarkNextChange(),_=d-1,H.AddOriginalElement(d,w+1),g=S-1-t),N>=0&&(u=this.m_forwardHistory[N],t=u[0],W=1,b=u.length-1)}while(--N>=-1);if(L=H.getReverseChanges(),y[0]){let S=f[0]+1,v=x[0]+1;if(L!==null&&L.length>0){const A=L[L.length-1];S=Math.max(S,A.getOriginalEnd()),v=Math.max(v,A.getModifiedEnd())}I=[new Ve(S,m-S+1,v,p-v+1)]}else{H=new mr,W=a,b=l,g=f[0]-x[0]-o,_=1073741824,N=T?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const S=g+s;S===W||S<b&&c[S-1]>=c[S+1]?(d=c[S+1]-1,w=d-g-o,d>_&&H.MarkNextChange(),_=d+1,H.AddOriginalElement(d+1,w+1),g=S+1-s):(d=c[S-1],w=d-g-o,d>_&&H.MarkNextChange(),_=d,H.AddModifiedElement(d+1,w+1),g=S-1-s),N>=0&&(c=this.m_reverseHistory[N],s=c[0],W=1,b=c.length-1)}while(--N>=-1);I=H.getChanges()}return this.ConcatenateChanges(L,I)}ComputeRecursionPoint(t,n,i,r,s,a,l){let o=0,u=0,c=0,d=0,m=0,f=0;t--,i--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const w=n-t+(r-i),p=w+1,x=new Int32Array(p),T=new Int32Array(p),y=r-i,L=n-t,I=t-i,H=n-r,b=(L-y)%2===0;x[y]=t,T[L]=n,l[0]=!1;for(let g=1;g<=w/2+1;g++){let _=0,N=0;c=this.ClipDiagonalBound(y-g,g,y,p),d=this.ClipDiagonalBound(y+g,g,y,p);for(let v=c;v<=d;v+=2){v===c||v<d&&x[v-1]<x[v+1]?o=x[v+1]:o=x[v-1]+1,u=o-(v-y)-I;const A=o;for(;o<n&&u<r&&this.ElementsAreEqual(o+1,u+1);)o++,u++;if(x[v]=o,o+u>_+N&&(_=o,N=u),!b&&Math.abs(v-L)<=g-1&&o>=T[v])return s[0]=o,a[0]=u,A<=T[v]&&1447>0&&g<=1447+1?this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l):null}const S=(_-t+(N-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(_,S))return l[0]=!0,s[0]=_,a[0]=N,S>0&&1447>0&&g<=1447+1?this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l):(t++,i++,[new Ve(t,n-t+1,i,r-i+1)]);m=this.ClipDiagonalBound(L-g,g,L,p),f=this.ClipDiagonalBound(L+g,g,L,p);for(let v=m;v<=f;v+=2){v===m||v<f&&T[v-1]>=T[v+1]?o=T[v+1]-1:o=T[v-1],u=o-(v-L)-H;const A=o;for(;o>t&&u>i&&this.ElementsAreEqual(o,u);)o--,u--;if(T[v]=o,b&&Math.abs(v-y)<=g&&o<=x[v])return s[0]=o,a[0]=u,A>=x[v]&&1447>0&&g<=1447+1?this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l):null}if(g<=1447){let v=new Int32Array(d-c+2);v[0]=y-c+1,ct.Copy2(x,c,v,1,d-c+1),this.m_forwardHistory.push(v),v=new Int32Array(f-m+2),v[0]=L-m+1,ct.Copy2(T,m,v,1,f-m+1),this.m_reverseHistory.push(v)}}return this.WALKTRACE(y,c,d,I,L,m,f,H,x,T,o,n,s,u,r,a,b,l)}PrettifyChanges(t){for(let n=0;n<t.length;n++){const i=t[n],r=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){const u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}const o=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],o)){t[n]=o[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){const i=t[n];let r=0,s=0;if(n>0){const d=t[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}const a=i.originalLength>0,l=i.modifiedLength>0;let o=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){const m=i.originalStart-d,f=i.modifiedStart-d;if(m<r||f<s||a&&!this.OriginalElementsAreEqual(m,m+i.originalLength)||l&&!this.ModifiedElementsAreEqual(f,f+i.modifiedLength))break;const p=(m===r&&f===s?5:0)+this._boundaryScore(m,i.originalLength,f,i.modifiedLength);p>u&&(u=p,o=d)}i.originalStart-=o,i.modifiedStart-=o;const c=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],c)){t[n-1]=c[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=t.length;n<i;n++){const r=t[n-1],s=t[n],a=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,o=s.originalStart+s.originalLength,u=o-l,c=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,m=d-c;if(a<5&&u<20&&m<20){const f=this._findBetterContiguousSequence(l,u,c,m,a);if(f){const[w,p]=f;(w!==r.originalStart+r.originalLength||p!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=w-r.originalStart,r.modifiedLength=p-r.modifiedStart,s.originalStart=w+a,s.modifiedStart=p+a,s.originalLength=o-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,i,r,s){if(n<s||r<s)return null;const a=t+n-s+1,l=i+r-s+1;let o=0,u=0,c=0;for(let d=t;d<a;d++)for(let m=i;m<l;m++){const f=this._contiguousSequenceScore(d,m,s);f>0&&f>o&&(o=f,u=d,c=m)}return o>0?[u,c]:null}_contiguousSequenceScore(t,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;r+=this._originalStringElements[t+s].length}return r}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(t,n,i,r){const s=this._OriginalRegionIsBoundary(t,n)?1:0,a=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+a}ConcatenateChanges(t,n){const i=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],i)){const r=new Array(t.length+n.length-1);return ct.Copy(t,0,r,0,t.length-1),r[t.length-1]=i[0],ct.Copy(n,1,r,t.length,n.length-1),r}else{const r=new Array(t.length+n.length);return ct.Copy(t,0,r,0,t.length),ct.Copy(n,0,r,t.length,n.length),r}}ChangesOverlap(t,n,i){if(ut.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),ut.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const r=t.originalStart;let s=t.originalLength;const a=t.modifiedStart;let l=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-t.modifiedStart),i[0]=new Ve(r,s,a,l),!0}else return i[0]=null,!1}ClipDiagonalBound(t,n,i,r){if(t>=0&&t<r)return t;const s=i,a=r-i-1,l=n%2===0;if(t<0){const o=s%2===0;return l===o?0:1}else{const o=a%2===0;return l===o?r-1:r-2}}}class Y{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new Y(t,n)}delta(t=0,n=0){return this.with(Math.max(1,this.lineNumber+t),Math.max(1,this.column+n))}equals(t){return Y.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return Y.isBefore(this,t)}static isBefore(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column}isBeforeOrEqual(t){return Y.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column}static compare(t,n){const i=t.lineNumber|0,r=n.lineNumber|0;if(i===r){const s=t.column|0,a=n.column|0;return s-a}return i-r}clone(){return new Y(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new Y(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}}class P{constructor(t,n,i,r){t>i||t===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return P.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return P.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn||n.lineNumber===t.endLineNumber&&n.column>t.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return P.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)}strictContainsRange(t){return P.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return P.plusRange(this,t)}static plusRange(t,n){let i,r,s,a;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,r=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,a=t.endColumn),new P(i,r,s,a)}intersectRanges(t){return P.intersectRanges(this,t)}static intersectRanges(t,n){let i=t.startLineNumber,r=t.startColumn,s=t.endLineNumber,a=t.endColumn;const l=n.startLineNumber,o=n.startColumn,u=n.endLineNumber,c=n.endColumn;return i<l?(i=l,r=o):i===l&&(r=Math.max(r,o)),s>u?(s=u,a=c):s===u&&(a=Math.min(a,c)),i>s||i===s&&r>a?null:new P(i,r,s,a)}equalsRange(t){return P.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return P.getEndPosition(this)}static getEndPosition(t){return new Y(t.endLineNumber,t.endColumn)}getStartPosition(){return P.getStartPosition(this)}static getStartPosition(t){return new Y(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new P(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new P(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return P.collapseToStart(this)}static collapseToStart(t){return new P(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return P.collapseToEnd(this)}static collapseToEnd(t){return new P(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new P(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}isSingleLine(){return this.startLineNumber===this.endLineNumber}static fromPositions(t,n=t){return new P(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new P(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)}static areIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)}static areOnlyIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber-1||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn-1||n.endLineNumber<t.startLineNumber-1||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn-1)}static compareRangesUsingStarts(t,n){if(t&&n){const s=t.startLineNumber|0,a=n.startLineNumber|0;if(s===a){const l=t.startColumn|0,o=n.startColumn|0;if(l===o){const u=t.endLineNumber|0,c=n.endLineNumber|0;if(u===c){const d=t.endColumn|0,m=n.endColumn|0;return d-m}return u-c}return l-o}return s-a}return(t?1:0)-(n?1:0)}static compareRangesUsingEnds(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}}function fr(e){return e<0?0:e>255?255:e|0}function ht(e){return e<0?0:e>4294967295?4294967295:e|0}class Kn{constructor(t){const n=fr(t);this._defaultValue=n,this._asciiMap=Kn._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const i=fr(n);t>=0&&t<256?this._asciiMap[t]=i:this._map.set(t,i)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Tl{constructor(t,n,i){const r=new Uint8Array(t*n);for(let s=0,a=t*n;s<a;s++)r[s]=i;this._data=r,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,i){this._data[t*this.cols+n]=i}}class xl{constructor(t){let n=0,i=0;for(let s=0,a=t.length;s<a;s++){const[l,o,u]=t[s];o>n&&(n=o),l>i&&(i=l),u>i&&(i=u)}n++,i++;const r=new Tl(i,n,0);for(let s=0,a=t.length;s<a;s++){const[l,o,u]=t[s];r.set(l,o,u)}this._states=r,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}}let ei=null;function kl(){return ei===null&&(ei=new xl([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),ei}let zt=null;function Sl(){if(zt===null){zt=new Kn(0);const e=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026|`;for(let n=0;n<e.length;n++)zt.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)zt.set(t.charCodeAt(n),2)}return zt}class nn{static _createLink(t,n,i,r,s){let a=s-1;do{const l=n.charCodeAt(a);if(t.get(l)!==2)break;a--}while(a>r);if(r>0){const l=n.charCodeAt(r-1),o=n.charCodeAt(a);(l===40&&o===41||l===91&&o===93||l===123&&o===125)&&a--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(t,n=kl()){const i=Sl(),r=[];for(let s=1,a=t.getLineCount();s<=a;s++){const l=t.getLineContent(s),o=l.length;let u=0,c=0,d=0,m=1,f=!1,w=!1,p=!1,x=!1;for(;u<o;){let T=!1;const y=l.charCodeAt(u);if(m===13){let L;switch(y){case 40:f=!0,L=0;break;case 41:L=f?0:1;break;case 91:p=!0,w=!0,L=0;break;case 93:p=!1,L=w?0:1;break;case 123:x=!0,L=0;break;case 125:L=x?0:1;break;case 39:case 34:case 96:d===y?L=1:d===39||d===34||d===96?L=0:L=1;break;case 42:L=d===42?1:0;break;case 32:L=p?0:1;break;default:L=i.get(y)}L===1&&(r.push(nn._createLink(i,l,s,c,u)),T=!0)}else if(m===12){let L;y===91?(w=!0,L=0):L=i.get(y),L===1?T=!0:m=13}else m=n.nextState(m,y),m===0&&(T=!0);T&&(m=1,f=!1,w=!1,x=!1,c=u+1,d=y),u++}m===13&&r.push(nn._createLink(i,l,s,c,o))}return r}}function Al(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:nn.computeLinks(e)}const Dn=class{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(t,n,i,r,s){if(t&&n){const a=this.doNavigateValueSet(n,s);if(a)return{range:t,value:a}}if(i&&r){const a=this.doNavigateValueSet(r,s);if(a)return{range:i,value:a}}return null}doNavigateValueSet(t,n){const i=this.numberReplace(t,n);return i!==null?i:this.textReplace(t,n)}numberReplace(t,n){const i=Math.pow(10,t.length-(t.lastIndexOf(".")+1));let r=Number(t);const s=parseFloat(t);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,i){let r=null;for(let s=0,a=t.length;r===null&&s<a;s++)r=this.valueSetReplace(t[s],n,i);return r}valueSetReplace(t,n,i){let r=t.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=t.length-1:r%=t.length,t[r]):null}};let ti=Dn;(()=>{Dn.INSTANCE=new Dn})();const pr=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var rn;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof sn?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Wn.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:pr})})(rn||(rn={}));class sn{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?pr:(this._emitter||(this._emitter=new Re),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Ll{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new sn),this._token}cancel(){this._token?this._token instanceof sn&&this._token.cancel():this._token=rn.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)==null||n.dispose(),this._token?this._token instanceof sn&&this._token.dispose():this._token=rn.None}}class ni{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const an=new ni,ii=new ni,ri=new ni,Cl=new Array(230),El=Object.create(null),Dl=Object.create(null);(function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],i=[];for(const r of t){const[s,a,l,o,u,c,d,m,f]=r;if(i[a]||(i[a]=!0,El[l]=a,Dl[l.toLowerCase()]=a),!n[o]){if(n[o]=!0,!u)throw new Error(`String representation missing for key code ${o} around scan code ${l}`);an.define(o,u),ii.define(o,m||u),ri.define(o,f||m||u)}c&&(Cl[c]=o)}})();var gr;(function(e){function t(l){return an.keyCodeToStr(l)}e.toString=t;function n(l){return an.strToKeyCode(l)}e.fromString=n;function i(l){return ii.keyCodeToStr(l)}e.toUserSettingsUS=i;function r(l){return ri.keyCodeToStr(l)}e.toUserSettingsGeneral=r;function s(l){return ii.strToKeyCode(l)||ri.strToKeyCode(l)}e.fromUserSettings=s;function a(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return an.keyCodeToStr(l)}e.toElectronAccelerator=a})(gr||(gr={}));function Rl(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}let dt;const si=globalThis.vscode;if(typeof si<"u"&&typeof si.process<"u"){const e=si.process;dt={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof((Eo=process==null?void 0:process.versions)==null?void 0:Eo.node)=="string"?dt={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:dt={get platform(){return Rt?"win32":Jo?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const on=dt.cwd,Ml=dt.env,Nl=dt.platform,Il=65,zl=97,Hl=90,Ul=122,et=46,ae=47,he=92,We=58,Wl=63;class br extends Error{constructor(t,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";const s=t.indexOf(".")!==-1?"property":"argument";let a=`The "${t}" ${s} ${r} of type ${n}`;a+=`. Received type ${typeof i}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function Fl(e,t){if(e===null||typeof e!="object")throw new br(t,"Object",e)}function ie(e,t){if(typeof e!="string")throw new br(t,"string",e)}const Ge=Nl==="win32";function G(e){return e===ae||e===he}function ai(e){return e===ae}function Fe(e){return e>=Il&&e<=Hl||e>=zl&&e<=Ul}function ln(e,t,n,i){let r="",s=0,a=-1,l=0,o=0;for(let u=0;u<=e.length;++u){if(u<e.length)o=e.charCodeAt(u);else{if(i(o))break;o=ae}if(i(o)){if(!(a===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==et||r.charCodeAt(r.length-2)!==et){if(r.length>2){const c=r.lastIndexOf(n);c===-1?(r="",s=0):(r=r.slice(0,c),s=r.length-1-r.lastIndexOf(n)),a=u,l=0;continue}else if(r.length!==0){r="",s=0,a=u,l=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${e.slice(a+1,u)}`:r=e.slice(a+1,u),s=u-a-1;a=u,l=0}else o===et&&l!==-1?++l:l=-1}return r}function Pl(e){return e?`${e[0]==="."?"":"."}${e}`:""}function wr(e,t){Fl(t,"pathObject");const n=t.dir||t.root,i=t.base||`${t.name||""}${Pl(t.ext)}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const ce={resolve(...e){let t="",n="",i=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(s=e[r],ie(s,`paths[${r}]`),s.length===0)continue}else t.length===0?s=on():(s=Ml[`=${t}`]||on(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===he)&&(s=`${t}\\`));const a=s.length;let l=0,o="",u=!1;const c=s.charCodeAt(0);if(a===1)G(c)&&(l=1,u=!0);else if(G(c))if(u=!0,G(s.charCodeAt(1))){let d=2,m=d;for(;d<a&&!G(s.charCodeAt(d));)d++;if(d<a&&d!==m){const f=s.slice(m,d);for(m=d;d<a&&G(s.charCodeAt(d));)d++;if(d<a&&d!==m){for(m=d;d<a&&!G(s.charCodeAt(d));)d++;(d===a||d!==m)&&(o=`\\\\${f}\\${s.slice(m,d)}`,l=d)}}}else l=1;else Fe(c)&&s.charCodeAt(1)===We&&(o=s.slice(0,2),l=2,a>2&&G(s.charCodeAt(2))&&(u=!0,l=3));if(o.length>0)if(t.length>0){if(o.toLowerCase()!==t.toLowerCase())continue}else t=o;if(i){if(t.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&t.length>0)break}return n=ln(n,!i,"\\",G),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){ie(e,"path");const t=e.length;if(t===0)return".";let n=0,i,r=!1;const s=e.charCodeAt(0);if(t===1)return ai(s)?"\\":e;if(G(s))if(r=!0,G(e.charCodeAt(1))){let l=2,o=l;for(;l<t&&!G(e.charCodeAt(l));)l++;if(l<t&&l!==o){const u=e.slice(o,l);for(o=l;l<t&&G(e.charCodeAt(l));)l++;if(l<t&&l!==o){for(o=l;l<t&&!G(e.charCodeAt(l));)l++;if(l===t)return`\\\\${u}\\${e.slice(o)}\\`;l!==o&&(i=`\\\\${u}\\${e.slice(o,l)}`,n=l)}}}else n=1;else Fe(s)&&e.charCodeAt(1)===We&&(i=e.slice(0,2),n=2,t>2&&G(e.charCodeAt(2))&&(r=!0,n=3));let a=n<t?ln(e.slice(n),!r,"\\",G):"";if(a.length===0&&!r&&(a="."),a.length>0&&G(e.charCodeAt(t-1))&&(a+="\\"),!r&&i===void 0&&e.includes(":")){if(a.length>=2&&Fe(a.charCodeAt(0))&&a.charCodeAt(1)===We)return`.\\${a}`;let l=e.indexOf(":");do if(l===t-1||G(e.charCodeAt(l+1)))return`.\\${a}`;while((l=e.indexOf(":",l+1))!==-1)}return i===void 0?r?`\\${a}`:a:r?`${i}\\${a}`:`${i}${a}`},isAbsolute(e){ie(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return G(n)||t>2&&Fe(n)&&e.charCodeAt(1)===We&&G(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s<e.length;++s){const a=e[s];ie(a,"path"),a.length>0&&(t===void 0?t=n=a:t+=`\\${a}`)}if(t===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&G(n.charCodeAt(0))){++r;const s=n.length;s>1&&G(n.charCodeAt(1))&&(++r,s>2&&(G(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<t.length&&G(t.charCodeAt(r));)r++;r>=2&&(t=`\\${t.slice(r)}`)}return ce.normalize(t)},relative(e,t){if(ie(e,"from"),ie(t,"to"),e===t)return"";const n=ce.resolve(e),i=ce.resolve(t);if(n===i||(e=n.toLowerCase(),t=i.toLowerCase(),e===t))return"";if(n.length!==e.length||i.length!==t.length){const w=n.split("\\"),p=i.split("\\");w[w.length-1]===""&&w.pop(),p[p.length-1]===""&&p.pop();const x=w.length,T=p.length,y=x<T?x:T;let L;for(L=0;L<y&&w[L].toLowerCase()===p[L].toLowerCase();L++);return L===0?i:L===y?T>y?p.slice(L).join("\\"):x>y?"..\\".repeat(x-1-L)+"..":"":"..\\".repeat(x-L)+p.slice(L).join("\\")}let r=0;for(;r<e.length&&e.charCodeAt(r)===he;)r++;let s=e.length;for(;s-1>r&&e.charCodeAt(s-1)===he;)s--;const a=s-r;let l=0;for(;l<t.length&&t.charCodeAt(l)===he;)l++;let o=t.length;for(;o-1>l&&t.charCodeAt(o-1)===he;)o--;const u=o-l,c=a<u?a:u;let d=-1,m=0;for(;m<c;m++){const w=e.charCodeAt(r+m);if(w!==t.charCodeAt(l+m))break;w===he&&(d=m)}if(m!==c){if(d===-1)return i}else{if(u>c){if(t.charCodeAt(l+m)===he)return i.slice(l+m+1);if(m===2)return i.slice(l+m)}a>c&&(e.charCodeAt(r+m)===he?d=m:m===2&&(d=3)),d===-1&&(d=0)}let f="";for(m=r+d+1;m<=s;++m)(m===s||e.charCodeAt(m)===he)&&(f+=f.length===0?"..":"\\..");return l+=d,f.length>0?`${f}${i.slice(l,o)}`:(i.charCodeAt(l)===he&&++l,i.slice(l,o))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=ce.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===he){if(t.charCodeAt(1)===he){const n=t.charCodeAt(2);if(n!==Wl&&n!==et)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(Fe(t.charCodeAt(0))&&t.charCodeAt(1)===We&&t.charCodeAt(2)===he)return`\\\\?\\${t}`;return t},dirname(e){ie(e,"path");const t=e.length;if(t===0)return".";let n=-1,i=0;const r=e.charCodeAt(0);if(t===1)return G(r)?e:".";if(G(r)){if(n=i=1,G(e.charCodeAt(1))){let l=2,o=l;for(;l<t&&!G(e.charCodeAt(l));)l++;if(l<t&&l!==o){for(o=l;l<t&&G(e.charCodeAt(l));)l++;if(l<t&&l!==o){for(o=l;l<t&&!G(e.charCodeAt(l));)l++;if(l===t)return e;l!==o&&(n=i=l+1)}}}}else Fe(r)&&e.charCodeAt(1)===We&&(n=t>2&&G(e.charCodeAt(2))?3:2,i=n);let s=-1,a=!0;for(let l=t-1;l>=i;--l)if(G(e.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&ie(t,"suffix"),ie(e,"path");let n=0,i=-1,r=!0,s;if(e.length>=2&&Fe(e.charCodeAt(0))&&e.charCodeAt(1)===We&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(s=e.length-1;s>=n;--s){const o=e.charCodeAt(s);if(G(o)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===t.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=n;--s)if(G(e.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){ie(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===We&&Fe(e.charCodeAt(0))&&(t=i=2);for(let l=e.length-1;l>=t;--l){const o=e.charCodeAt(l);if(G(o)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),o===et?n===-1?n=l:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===i+1?"":e.slice(n,r)},format:wr.bind(null,"\\"),parse(e){ie(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(n===1)return G(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(G(r)){if(i=1,G(e.charCodeAt(1))){let d=2,m=d;for(;d<n&&!G(e.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&G(e.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&!G(e.charCodeAt(d));)d++;d===n?i=d:d!==m&&(i=d+1)}}}}else if(Fe(r)&&e.charCodeAt(1)===We){if(n<=2)return t.root=t.dir=e,t;if(i=2,G(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let s=-1,a=i,l=-1,o=!0,u=e.length-1,c=0;for(;u>=i;--u){if(r=e.charCodeAt(u),G(r)){if(!o){a=u+1;break}continue}l===-1&&(o=!1,l=u+1),r===et?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return l!==-1&&(s===-1||c===0||c===1&&s===l-1&&s===a+1?t.base=t.name=e.slice(a,l):(t.name=e.slice(a,s),t.base=e.slice(a,l),t.ext=e.slice(s,l))),a>0&&a!==i?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},Bl=(()=>{if(Ge){const e=/\\/g;return()=>{const t=on().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>on()})(),de={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=0&&!n;i--){const r=e[i];ie(r,`paths[${i}]`),r.length!==0&&(t=`${r}/${t}`,n=r.charCodeAt(0)===ae)}if(!n){const i=Bl();t=`${i}/${t}`,n=i.charCodeAt(0)===ae}return t=ln(t,!n,"/",ai),n?`/${t}`:t.length>0?t:"."},normalize(e){if(ie(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===ae,n=e.charCodeAt(e.length-1)===ae;return e=ln(e,!t,"/",ai),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return ie(e,"path"),e.length>0&&e.charCodeAt(0)===ae},join(...e){if(e.length===0)return".";const t=[];for(let n=0;n<e.length;++n){const i=e[n];ie(i,"path"),i.length>0&&t.push(i)}return t.length===0?".":de.normalize(t.join("/"))},relative(e,t){if(ie(e,"from"),ie(t,"to"),e===t||(e=de.resolve(e),t=de.resolve(t),e===t))return"";const n=1,i=e.length,r=i-n,s=1,a=t.length-s,l=r<a?r:a;let o=-1,u=0;for(;u<l;u++){const d=e.charCodeAt(n+u);if(d!==t.charCodeAt(s+u))break;d===ae&&(o=u)}if(u===l)if(a>l){if(t.charCodeAt(s+u)===ae)return t.slice(s+u+1);if(u===0)return t.slice(s+u)}else r>l&&(e.charCodeAt(n+u)===ae?o=u:u===0&&(o=0));let c="";for(u=n+o+1;u<=i;++u)(u===i||e.charCodeAt(u)===ae)&&(c+=c.length===0?"..":"/..");return`${c}${t.slice(s+o)}`},toNamespacedPath(e){return e},dirname(e){if(ie(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===ae;let n=-1,i=!0;for(let r=e.length-1;r>=1;--r)if(e.charCodeAt(r)===ae){if(!i){n=r;break}}else i=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&ie(t,"suffix"),ie(e,"path");let n=0,i=-1,r=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(s=e.length-1;s>=0;--s){const o=e.charCodeAt(s);if(o===ae){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===t.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===ae){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){ie(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let a=e.length-1;a>=0;--a){const l=e[a];if(l==="/"){if(!r){n=a+1;break}continue}i===-1&&(r=!1,i=a+1),l==="."?t===-1?t=a:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||i===-1||s===0||s===1&&t===i-1&&t===n+1?"":e.slice(t,i)},format:wr.bind(null,"/"),parse(e){ie(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===ae;let i;n?(t.root="/",i=1):i=0;let r=-1,s=0,a=-1,l=!0,o=e.length-1,u=0;for(;o>=i;--o){const c=e.charCodeAt(o);if(c===ae){if(!l){s=o+1;break}continue}a===-1&&(l=!1,a=o+1),c===et?r===-1?r=o:u!==1&&(u=1):r!==-1&&(u=-1)}if(a!==-1){const c=s===0&&n?1:s;r===-1||u===0||u===1&&r===a-1&&r===s+1?t.base=t.name=e.slice(c,a):(t.name=e.slice(c,r),t.base=e.slice(c,a),t.ext=e.slice(r,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};de.win32=ce.win32=ce,de.posix=ce.posix=de,Ge?ce.normalize:de.normalize,Ge?ce.resolve:de.resolve,Ge?ce.relative:de.relative,Ge?ce.dirname:de.dirname,Ge?ce.basename:de.basename,Ge?ce.extname:de.extname,Ge?ce.sep:de.sep;const ql=/^\w[\w\d+.-]*$/,Ol=/^\//,Vl=/^\/\//;function jl(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!ql.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!Ol.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Vl.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function Gl(e,t){return!e&&!t?"file":e}function $l(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Ae&&(t=Ae+t):t=Ae;break}return t}const Z="",Ae="/",Xl=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class tt{static isUri(t){return t instanceof tt?!0:!t||typeof t!="object"?!1:typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function"}constructor(t,n,i,r,s,a=!1){typeof t=="object"?(this.scheme=t.scheme||Z,this.authority=t.authority||Z,this.path=t.path||Z,this.query=t.query||Z,this.fragment=t.fragment||Z):(this.scheme=Gl(t,a),this.authority=n||Z,this.path=$l(this.scheme,i||Z),this.query=r||Z,this.fragment=s||Z,jl(this,a))}get fsPath(){return oi(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:i,path:r,query:s,fragment:a}=t;return n===void 0?n=this.scheme:n===null&&(n=Z),i===void 0?i=this.authority:i===null&&(i=Z),r===void 0?r=this.path:r===null&&(r=Z),s===void 0?s=this.query:s===null&&(s=Z),a===void 0?a=this.fragment:a===null&&(a=Z),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&a===this.fragment?this:new mt(n,i,r,s,a)}static parse(t,n=!1){const i=Xl.exec(t);return i?new mt(i[2]||Z,un(i[4]||Z),un(i[5]||Z),un(i[7]||Z),un(i[9]||Z),n):new mt(Z,Z,Z,Z,Z)}static file(t){let n=Z;if(Rt&&(t=t.replace(/\\/g,Ae)),t[0]===Ae&&t[1]===Ae){const i=t.indexOf(Ae,2);i===-1?(n=t.substring(2),t=Ae):(n=t.substring(2,i),t=t.substring(i)||Ae)}return new mt("file",n,t,Z,Z)}static from(t,n){return new mt(t.scheme,t.authority,t.path,t.query,t.fragment,n)}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return Rt&&t.scheme==="file"?i=tt.file(ce.join(oi(t,!0),...n)).path:i=de.join(t.path,...n),t.with({path:i})}toString(t=!1){return li(this,t)}toJSON(){return this}static revive(t){var n,i;if(t){if(t instanceof tt)return t;{const r=new mt(t);return r._formatted=(n=t.external)!=null?n:null,r._fsPath=t._sep===_r&&(i=t.fsPath)!=null?i:null,r}}else return t}}const _r=Rt?1:void 0;class mt extends tt{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=oi(this,!1)),this._fsPath}toString(t=!1){return t?li(this,!0):(this._formatted||(this._formatted=li(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=_r),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const vr={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function yr(e,t,n){let i,r=-1;for(let s=0;s<e.length;s++){const a=e.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47||n&&a===91||n&&a===93||n&&a===58)r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i!==void 0&&(i+=e.charAt(s));else{i===void 0&&(i=e.substr(0,s));const l=vr[a];l!==void 0?(r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(e.substring(r))),i!==void 0?i:e}function Jl(e){let t;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);i===35||i===63?(t===void 0&&(t=e.substr(0,n)),t+=vr[i]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function oi(e,t){let n;return e.authority&&e.path.length>1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,Rt&&(n=n.replace(/\//g,"\\")),n}function li(e,t){const n=t?Jl:yr;let i="",{scheme:r,authority:s,path:a,query:l,fragment:o}=e;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=Ae,i+=Ae),s){let u=s.indexOf("@");if(u!==-1){const c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?i+=n(c,!1,!1):(i+=n(c.substr(0,u),!1,!1),i+=":",i+=n(c.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const u=a.charCodeAt(1);u>=65&&u<=90&&(a=`/${String.fromCharCode(u+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const u=a.charCodeAt(0);u>=65&&u<=90&&(a=`${String.fromCharCode(u+32)}:${a.substr(2)}`)}i+=n(a,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),o&&(i+="#",i+=t?o:yr(o,!1,!1)),i}function Tr(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+Tr(e.substr(3)):e}}const xr=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function un(e){return e.match(xr)?e.replace(xr,t=>Tr(t)):e}class pe extends P{constructor(t,n,i,r){super(t,n,i,r),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return pe.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new pe(this.startLineNumber,this.startColumn,t,n):new pe(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Y(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Y(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new pe(t,n,this.endLineNumber,this.endColumn):new pe(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new pe(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new pe(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new pe(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new pe(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let i=0,r=t.length;i<r;i++)if(!this.selectionsEqual(t[i],n[i]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber=="number"&&typeof t.selectionStartColumn=="number"&&typeof t.positionLineNumber=="number"&&typeof t.positionColumn=="number"}static createWithDirection(t,n,i,r,s){return s===0?new pe(t,n,i,r):new pe(i,r,t,n)}}const kr=Object.create(null);function h(e,t){if(Io(t)){const n=kr[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return kr[e]=t,{id:e}}const Yl={add:h("add",6e4),plus:h("plus",6e4),gistNew:h("gist-new",6e4),repoCreate:h("repo-create",6e4),lightbulb:h("lightbulb",60001),lightBulb:h("light-bulb",60001),repo:h("repo",60002),repoDelete:h("repo-delete",60002),gistFork:h("gist-fork",60003),repoForked:h("repo-forked",60003),gitPullRequest:h("git-pull-request",60004),gitPullRequestAbandoned:h("git-pull-request-abandoned",60004),recordKeys:h("record-keys",60005),keyboard:h("keyboard",60005),tag:h("tag",60006),gitPullRequestLabel:h("git-pull-request-label",60006),tagAdd:h("tag-add",60006),tagRemove:h("tag-remove",60006),person:h("person",60007),personFollow:h("person-follow",60007),personOutline:h("person-outline",60007),personFilled:h("person-filled",60007),gitBranch:h("git-branch",60008),gitBranchCreate:h("git-branch-create",60008),gitBranchDelete:h("git-branch-delete",60008),sourceControl:h("source-control",60008),mirror:h("mirror",60009),mirrorPublic:h("mirror-public",60009),star:h("star",60010),starAdd:h("star-add",60010),starDelete:h("star-delete",60010),starEmpty:h("star-empty",60010),comment:h("comment",60011),commentAdd:h("comment-add",60011),alert:h("alert",60012),warning:h("warning",60012),search:h("search",60013),searchSave:h("search-save",60013),logOut:h("log-out",60014),signOut:h("sign-out",60014),logIn:h("log-in",60015),signIn:h("sign-in",60015),eye:h("eye",60016),eyeUnwatch:h("eye-unwatch",60016),eyeWatch:h("eye-watch",60016),circleFilled:h("circle-filled",60017),primitiveDot:h("primitive-dot",60017),closeDirty:h("close-dirty",60017),debugBreakpoint:h("debug-breakpoint",60017),debugBreakpointDisabled:h("debug-breakpoint-disabled",60017),debugHint:h("debug-hint",60017),terminalDecorationSuccess:h("terminal-decoration-success",60017),primitiveSquare:h("primitive-square",60018),edit:h("edit",60019),pencil:h("pencil",60019),info:h("info",60020),issueOpened:h("issue-opened",60020),gistPrivate:h("gist-private",60021),gitForkPrivate:h("git-fork-private",60021),lock:h("lock",60021),mirrorPrivate:h("mirror-private",60021),close:h("close",60022),removeClose:h("remove-close",60022),x:h("x",60022),repoSync:h("repo-sync",60023),sync:h("sync",60023),clone:h("clone",60024),desktopDownload:h("desktop-download",60024),beaker:h("beaker",60025),microscope:h("microscope",60025),vm:h("vm",60026),deviceDesktop:h("device-desktop",60026),file:h("file",60027),fileText:h("file-text",60027),more:h("more",60028),ellipsis:h("ellipsis",60028),kebabHorizontal:h("kebab-horizontal",60028),mailReply:h("mail-reply",60029),reply:h("reply",60029),organization:h("organization",60030),organizationFilled:h("organization-filled",60030),organizationOutline:h("organization-outline",60030),newFile:h("new-file",60031),fileAdd:h("file-add",60031),newFolder:h("new-folder",60032),fileDirectoryCreate:h("file-directory-create",60032),trash:h("trash",60033),trashcan:h("trashcan",60033),history:h("history",60034),clock:h("clock",60034),folder:h("folder",60035),fileDirectory:h("file-directory",60035),symbolFolder:h("symbol-folder",60035),logoGithub:h("logo-github",60036),markGithub:h("mark-github",60036),github:h("github",60036),terminal:h("terminal",60037),console:h("console",60037),repl:h("repl",60037),zap:h("zap",60038),symbolEvent:h("symbol-event",60038),error:h("error",60039),stop:h("stop",60039),variable:h("variable",60040),symbolVariable:h("symbol-variable",60040),array:h("array",60042),symbolArray:h("symbol-array",60042),symbolModule:h("symbol-module",60043),symbolPackage:h("symbol-package",60043),symbolNamespace:h("symbol-namespace",60043),symbolObject:h("symbol-object",60043),symbolMethod:h("symbol-method",60044),symbolFunction:h("symbol-function",60044),symbolConstructor:h("symbol-constructor",60044),symbolBoolean:h("symbol-boolean",60047),symbolNull:h("symbol-null",60047),symbolNumeric:h("symbol-numeric",60048),symbolNumber:h("symbol-number",60048),symbolStructure:h("symbol-structure",60049),symbolStruct:h("symbol-struct",60049),symbolParameter:h("symbol-parameter",60050),symbolTypeParameter:h("symbol-type-parameter",60050),symbolKey:h("symbol-key",60051),symbolText:h("symbol-text",60051),symbolReference:h("symbol-reference",60052),goToFile:h("go-to-file",60052),symbolEnum:h("symbol-enum",60053),symbolValue:h("symbol-value",60053),symbolRuler:h("symbol-ruler",60054),symbolUnit:h("symbol-unit",60054),activateBreakpoints:h("activate-breakpoints",60055),archive:h("archive",60056),arrowBoth:h("arrow-both",60057),arrowDown:h("arrow-down",60058),arrowLeft:h("arrow-left",60059),arrowRight:h("arrow-right",60060),arrowSmallDown:h("arrow-small-down",60061),arrowSmallLeft:h("arrow-small-left",60062),arrowSmallRight:h("arrow-small-right",60063),arrowSmallUp:h("arrow-small-up",60064),arrowUp:h("arrow-up",60065),bell:h("bell",60066),bold:h("bold",60067),book:h("book",60068),bookmark:h("bookmark",60069),debugBreakpointConditionalUnverified:h("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:h("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:h("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:h("debug-breakpoint-data-unverified",60072),debugBreakpointData:h("debug-breakpoint-data",60073),debugBreakpointDataDisabled:h("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:h("debug-breakpoint-log-unverified",60074),debugBreakpointLog:h("debug-breakpoint-log",60075),debugBreakpointLogDisabled:h("debug-breakpoint-log-disabled",60075),briefcase:h("briefcase",60076),broadcast:h("broadcast",60077),browser:h("browser",60078),bug:h("bug",60079),calendar:h("calendar",60080),caseSensitive:h("case-sensitive",60081),check:h("check",60082),checklist:h("checklist",60083),chevronDown:h("chevron-down",60084),chevronLeft:h("chevron-left",60085),chevronRight:h("chevron-right",60086),chevronUp:h("chevron-up",60087),chromeClose:h("chrome-close",60088),chromeMaximize:h("chrome-maximize",60089),chromeMinimize:h("chrome-minimize",60090),chromeRestore:h("chrome-restore",60091),circleOutline:h("circle-outline",60092),circle:h("circle",60092),debugBreakpointUnverified:h("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:h("terminal-decoration-incomplete",60092),circleSlash:h("circle-slash",60093),circuitBoard:h("circuit-board",60094),clearAll:h("clear-all",60095),clippy:h("clippy",60096),closeAll:h("close-all",60097),cloudDownload:h("cloud-download",60098),cloudUpload:h("cloud-upload",60099),code:h("code",60100),collapseAll:h("collapse-all",60101),colorMode:h("color-mode",60102),commentDiscussion:h("comment-discussion",60103),creditCard:h("credit-card",60105),dash:h("dash",60108),dashboard:h("dashboard",60109),database:h("database",60110),debugContinue:h("debug-continue",60111),debugDisconnect:h("debug-disconnect",60112),debugPause:h("debug-pause",60113),debugRestart:h("debug-restart",60114),debugStart:h("debug-start",60115),debugStepInto:h("debug-step-into",60116),debugStepOut:h("debug-step-out",60117),debugStepOver:h("debug-step-over",60118),debugStop:h("debug-stop",60119),debug:h("debug",60120),deviceCameraVideo:h("device-camera-video",60121),deviceCamera:h("device-camera",60122),deviceMobile:h("device-mobile",60123),diffAdded:h("diff-added",60124),diffIgnored:h("diff-ignored",60125),diffModified:h("diff-modified",60126),diffRemoved:h("diff-removed",60127),diffRenamed:h("diff-renamed",60128),diff:h("diff",60129),diffSidebyside:h("diff-sidebyside",60129),discard:h("discard",60130),editorLayout:h("editor-layout",60131),emptyWindow:h("empty-window",60132),exclude:h("exclude",60133),extensions:h("extensions",60134),eyeClosed:h("eye-closed",60135),fileBinary:h("file-binary",60136),fileCode:h("file-code",60137),fileMedia:h("file-media",60138),filePdf:h("file-pdf",60139),fileSubmodule:h("file-submodule",60140),fileSymlinkDirectory:h("file-symlink-directory",60141),fileSymlinkFile:h("file-symlink-file",60142),fileZip:h("file-zip",60143),files:h("files",60144),filter:h("filter",60145),flame:h("flame",60146),foldDown:h("fold-down",60147),foldUp:h("fold-up",60148),fold:h("fold",60149),folderActive:h("folder-active",60150),folderOpened:h("folder-opened",60151),gear:h("gear",60152),gift:h("gift",60153),gistSecret:h("gist-secret",60154),gist:h("gist",60155),gitCommit:h("git-commit",60156),gitCompare:h("git-compare",60157),compareChanges:h("compare-changes",60157),gitMerge:h("git-merge",60158),githubAction:h("github-action",60159),githubAlt:h("github-alt",60160),globe:h("globe",60161),grabber:h("grabber",60162),graph:h("graph",60163),gripper:h("gripper",60164),heart:h("heart",60165),home:h("home",60166),horizontalRule:h("horizontal-rule",60167),hubot:h("hubot",60168),inbox:h("inbox",60169),issueReopened:h("issue-reopened",60171),issues:h("issues",60172),italic:h("italic",60173),jersey:h("jersey",60174),json:h("json",60175),kebabVertical:h("kebab-vertical",60176),key:h("key",60177),law:h("law",60178),lightbulbAutofix:h("lightbulb-autofix",60179),linkExternal:h("link-external",60180),link:h("link",60181),listOrdered:h("list-ordered",60182),listUnordered:h("list-unordered",60183),liveShare:h("live-share",60184),loading:h("loading",60185),location:h("location",60186),mailRead:h("mail-read",60187),mail:h("mail",60188),markdown:h("markdown",60189),megaphone:h("megaphone",60190),mention:h("mention",60191),milestone:h("milestone",60192),gitPullRequestMilestone:h("git-pull-request-milestone",60192),mortarBoard:h("mortar-board",60193),move:h("move",60194),multipleWindows:h("multiple-windows",60195),mute:h("mute",60196),noNewline:h("no-newline",60197),note:h("note",60198),octoface:h("octoface",60199),openPreview:h("open-preview",60200),package:h("package",60201),paintcan:h("paintcan",60202),pin:h("pin",60203),play:h("play",60204),run:h("run",60204),plug:h("plug",60205),preserveCase:h("preserve-case",60206),preview:h("preview",60207),project:h("project",60208),pulse:h("pulse",60209),question:h("question",60210),quote:h("quote",60211),radioTower:h("radio-tower",60212),reactions:h("reactions",60213),references:h("references",60214),refresh:h("refresh",60215),regex:h("regex",60216),remoteExplorer:h("remote-explorer",60217),remote:h("remote",60218),remove:h("remove",60219),replaceAll:h("replace-all",60220),replace:h("replace",60221),repoClone:h("repo-clone",60222),repoForcePush:h("repo-force-push",60223),repoPull:h("repo-pull",60224),repoPush:h("repo-push",60225),report:h("report",60226),requestChanges:h("request-changes",60227),rocket:h("rocket",60228),rootFolderOpened:h("root-folder-opened",60229),rootFolder:h("root-folder",60230),rss:h("rss",60231),ruby:h("ruby",60232),saveAll:h("save-all",60233),saveAs:h("save-as",60234),save:h("save",60235),screenFull:h("screen-full",60236),screenNormal:h("screen-normal",60237),searchStop:h("search-stop",60238),server:h("server",60240),settingsGear:h("settings-gear",60241),settings:h("settings",60242),shield:h("shield",60243),smiley:h("smiley",60244),sortPrecedence:h("sort-precedence",60245),splitHorizontal:h("split-horizontal",60246),splitVertical:h("split-vertical",60247),squirrel:h("squirrel",60248),starFull:h("star-full",60249),starHalf:h("star-half",60250),symbolClass:h("symbol-class",60251),symbolColor:h("symbol-color",60252),symbolConstant:h("symbol-constant",60253),symbolEnumMember:h("symbol-enum-member",60254),symbolField:h("symbol-field",60255),symbolFile:h("symbol-file",60256),symbolInterface:h("symbol-interface",60257),symbolKeyword:h("symbol-keyword",60258),symbolMisc:h("symbol-misc",60259),symbolOperator:h("symbol-operator",60260),symbolProperty:h("symbol-property",60261),wrench:h("wrench",60261),wrenchSubaction:h("wrench-subaction",60261),symbolSnippet:h("symbol-snippet",60262),tasklist:h("tasklist",60263),telescope:h("telescope",60264),textSize:h("text-size",60265),threeBars:h("three-bars",60266),thumbsdown:h("thumbsdown",60267),thumbsup:h("thumbsup",60268),tools:h("tools",60269),triangleDown:h("triangle-down",60270),triangleLeft:h("triangle-left",60271),triangleRight:h("triangle-right",60272),triangleUp:h("triangle-up",60273),twitter:h("twitter",60274),unfold:h("unfold",60275),unlock:h("unlock",60276),unmute:h("unmute",60277),unverified:h("unverified",60278),verified:h("verified",60279),versions:h("versions",60280),vmActive:h("vm-active",60281),vmOutline:h("vm-outline",60282),vmRunning:h("vm-running",60283),watch:h("watch",60284),whitespace:h("whitespace",60285),wholeWord:h("whole-word",60286),window:h("window",60287),wordWrap:h("word-wrap",60288),zoomIn:h("zoom-in",60289),zoomOut:h("zoom-out",60290),listFilter:h("list-filter",60291),listFlat:h("list-flat",60292),listSelection:h("list-selection",60293),selection:h("selection",60293),listTree:h("list-tree",60294),debugBreakpointFunctionUnverified:h("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:h("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:h("debug-breakpoint-function-disabled",60296),debugStackframeActive:h("debug-stackframe-active",60297),circleSmallFilled:h("circle-small-filled",60298),debugStackframeDot:h("debug-stackframe-dot",60298),terminalDecorationMark:h("terminal-decoration-mark",60298),debugStackframe:h("debug-stackframe",60299),debugStackframeFocused:h("debug-stackframe-focused",60299),debugBreakpointUnsupported:h("debug-breakpoint-unsupported",60300),symbolString:h("symbol-string",60301),debugReverseContinue:h("debug-reverse-continue",60302),debugStepBack:h("debug-step-back",60303),debugRestartFrame:h("debug-restart-frame",60304),debugAlt:h("debug-alt",60305),callIncoming:h("call-incoming",60306),callOutgoing:h("call-outgoing",60307),menu:h("menu",60308),expandAll:h("expand-all",60309),feedback:h("feedback",60310),gitPullRequestReviewer:h("git-pull-request-reviewer",60310),groupByRefType:h("group-by-ref-type",60311),ungroupByRefType:h("ungroup-by-ref-type",60312),account:h("account",60313),gitPullRequestAssignee:h("git-pull-request-assignee",60313),bellDot:h("bell-dot",60314),debugConsole:h("debug-console",60315),library:h("library",60316),output:h("output",60317),runAll:h("run-all",60318),syncIgnored:h("sync-ignored",60319),pinned:h("pinned",60320),githubInverted:h("github-inverted",60321),serverProcess:h("server-process",60322),serverEnvironment:h("server-environment",60323),pass:h("pass",60324),issueClosed:h("issue-closed",60324),stopCircle:h("stop-circle",60325),playCircle:h("play-circle",60326),record:h("record",60327),debugAltSmall:h("debug-alt-small",60328),vmConnect:h("vm-connect",60329),cloud:h("cloud",60330),merge:h("merge",60331),export:h("export",60332),graphLeft:h("graph-left",60333),magnet:h("magnet",60334),notebook:h("notebook",60335),redo:h("redo",60336),checkAll:h("check-all",60337),pinnedDirty:h("pinned-dirty",60338),passFilled:h("pass-filled",60339),circleLargeFilled:h("circle-large-filled",60340),circleLarge:h("circle-large",60341),circleLargeOutline:h("circle-large-outline",60341),combine:h("combine",60342),gather:h("gather",60342),table:h("table",60343),variableGroup:h("variable-group",60344),typeHierarchy:h("type-hierarchy",60345),typeHierarchySub:h("type-hierarchy-sub",60346),typeHierarchySuper:h("type-hierarchy-super",60347),gitPullRequestCreate:h("git-pull-request-create",60348),runAbove:h("run-above",60349),runBelow:h("run-below",60350),notebookTemplate:h("notebook-template",60351),debugRerun:h("debug-rerun",60352),workspaceTrusted:h("workspace-trusted",60353),workspaceUntrusted:h("workspace-untrusted",60354),workspaceUnknown:h("workspace-unknown",60355),terminalCmd:h("terminal-cmd",60356),terminalDebian:h("terminal-debian",60357),terminalLinux:h("terminal-linux",60358),terminalPowershell:h("terminal-powershell",60359),terminalTmux:h("terminal-tmux",60360),terminalUbuntu:h("terminal-ubuntu",60361),terminalBash:h("terminal-bash",60362),arrowSwap:h("arrow-swap",60363),copy:h("copy",60364),personAdd:h("person-add",60365),filterFilled:h("filter-filled",60366),wand:h("wand",60367),debugLineByLine:h("debug-line-by-line",60368),inspect:h("inspect",60369),layers:h("layers",60370),layersDot:h("layers-dot",60371),layersActive:h("layers-active",60372),compass:h("compass",60373),compassDot:h("compass-dot",60374),compassActive:h("compass-active",60375),azure:h("azure",60376),issueDraft:h("issue-draft",60377),gitPullRequestClosed:h("git-pull-request-closed",60378),gitPullRequestDraft:h("git-pull-request-draft",60379),debugAll:h("debug-all",60380),debugCoverage:h("debug-coverage",60381),runErrors:h("run-errors",60382),folderLibrary:h("folder-library",60383),debugContinueSmall:h("debug-continue-small",60384),beakerStop:h("beaker-stop",60385),graphLine:h("graph-line",60386),graphScatter:h("graph-scatter",60387),pieChart:h("pie-chart",60388),bracket:h("bracket",60175),bracketDot:h("bracket-dot",60389),bracketError:h("bracket-error",60390),lockSmall:h("lock-small",60391),azureDevops:h("azure-devops",60392),verifiedFilled:h("verified-filled",60393),newline:h("newline",60394),layout:h("layout",60395),layoutActivitybarLeft:h("layout-activitybar-left",60396),layoutActivitybarRight:h("layout-activitybar-right",60397),layoutPanelLeft:h("layout-panel-left",60398),layoutPanelCenter:h("layout-panel-center",60399),layoutPanelJustify:h("layout-panel-justify",60400),layoutPanelRight:h("layout-panel-right",60401),layoutPanel:h("layout-panel",60402),layoutSidebarLeft:h("layout-sidebar-left",60403),layoutSidebarRight:h("layout-sidebar-right",60404),layoutStatusbar:h("layout-statusbar",60405),layoutMenubar:h("layout-menubar",60406),layoutCentered:h("layout-centered",60407),target:h("target",60408),indent:h("indent",60409),recordSmall:h("record-small",60410),errorSmall:h("error-small",60411),terminalDecorationError:h("terminal-decoration-error",60411),arrowCircleDown:h("arrow-circle-down",60412),arrowCircleLeft:h("arrow-circle-left",60413),arrowCircleRight:h("arrow-circle-right",60414),arrowCircleUp:h("arrow-circle-up",60415),layoutSidebarRightOff:h("layout-sidebar-right-off",60416),layoutPanelOff:h("layout-panel-off",60417),layoutSidebarLeftOff:h("layout-sidebar-left-off",60418),blank:h("blank",60419),heartFilled:h("heart-filled",60420),map:h("map",60421),mapHorizontal:h("map-horizontal",60421),foldHorizontal:h("fold-horizontal",60421),mapFilled:h("map-filled",60422),mapHorizontalFilled:h("map-horizontal-filled",60422),foldHorizontalFilled:h("fold-horizontal-filled",60422),circleSmall:h("circle-small",60423),bellSlash:h("bell-slash",60424),bellSlashDot:h("bell-slash-dot",60425),commentUnresolved:h("comment-unresolved",60426),gitPullRequestGoToChanges:h("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:h("git-pull-request-new-changes",60428),searchFuzzy:h("search-fuzzy",60429),commentDraft:h("comment-draft",60430),send:h("send",60431),sparkle:h("sparkle",60432),insert:h("insert",60433),mic:h("mic",60434),thumbsdownFilled:h("thumbsdown-filled",60435),thumbsupFilled:h("thumbsup-filled",60436),coffee:h("coffee",60437),snake:h("snake",60438),game:h("game",60439),vr:h("vr",60440),chip:h("chip",60441),piano:h("piano",60442),music:h("music",60443),micFilled:h("mic-filled",60444),repoFetch:h("repo-fetch",60445),copilot:h("copilot",60446),lightbulbSparkle:h("lightbulb-sparkle",60447),robot:h("robot",60448),sparkleFilled:h("sparkle-filled",60449),diffSingle:h("diff-single",60450),diffMultiple:h("diff-multiple",60451),surroundWith:h("surround-with",60452),share:h("share",60453),gitStash:h("git-stash",60454),gitStashApply:h("git-stash-apply",60455),gitStashPop:h("git-stash-pop",60456),vscode:h("vscode",60457),vscodeInsiders:h("vscode-insiders",60458),codeOss:h("code-oss",60459),runCoverage:h("run-coverage",60460),runAllCoverage:h("run-all-coverage",60461),coverage:h("coverage",60462),githubProject:h("github-project",60463),mapVertical:h("map-vertical",60464),foldVertical:h("fold-vertical",60464),mapVerticalFilled:h("map-vertical-filled",60465),foldVerticalFilled:h("fold-vertical-filled",60465),goToSearch:h("go-to-search",60466),percentage:h("percentage",60467),sortPercentage:h("sort-percentage",60467),attach:h("attach",60468),goToEditingSession:h("go-to-editing-session",60469),editSession:h("edit-session",60470),codeReview:h("code-review",60471),copilotWarning:h("copilot-warning",60472),python:h("python",60473),copilotLarge:h("copilot-large",60474),copilotWarningLarge:h("copilot-warning-large",60475),keyboardTab:h("keyboard-tab",60476),copilotBlocked:h("copilot-blocked",60477),copilotNotConnected:h("copilot-not-connected",60478),flag:h("flag",60479),lightbulbEmpty:h("lightbulb-empty",60480),symbolMethodArrow:h("symbol-method-arrow",60481),copilotUnavailable:h("copilot-unavailable",60482),repoPinned:h("repo-pinned",60483),keyboardTabAbove:h("keyboard-tab-above",60484),keyboardTabBelow:h("keyboard-tab-below",60485),gitPullRequestDone:h("git-pull-request-done",60486),mcp:h("mcp",60487),extensionsLarge:h("extensions-large",60488),layoutPanelDock:h("layout-panel-dock",60489),layoutSidebarLeftDock:h("layout-sidebar-left-dock",60490),layoutSidebarRightDock:h("layout-sidebar-right-dock",60491),copilotInProgress:h("copilot-in-progress",60492),copilotError:h("copilot-error",60493),copilotSuccess:h("copilot-success",60494),chatSparkle:h("chat-sparkle",60495),searchSparkle:h("search-sparkle",60496),editSparkle:h("edit-sparkle",60497),copilotSnooze:h("copilot-snooze",60498),sendToRemoteAgent:h("send-to-remote-agent",60499),commentDiscussionSparkle:h("comment-discussion-sparkle",60500),chatSparkleWarning:h("chat-sparkle-warning",60501),chatSparkleError:h("chat-sparkle-error",60502)},Ql={dialogError:h("dialog-error","error"),dialogWarning:h("dialog-warning","warning"),dialogInfo:h("dialog-info","info"),dialogClose:h("dialog-close","close"),treeItemExpanded:h("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:h("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:h("tree-filter-on-type-off","list-selection"),treeFilterClear:h("tree-filter-clear","close"),treeItemLoading:h("tree-item-loading","loading"),menuSelection:h("menu-selection","check"),menuSubmenu:h("menu-submenu","chevron-right"),menuBarMore:h("menubar-more","more"),scrollbarButtonLeft:h("scrollbar-button-left","triangle-left"),scrollbarButtonRight:h("scrollbar-button-right","triangle-right"),scrollbarButtonUp:h("scrollbar-button-up","triangle-up"),scrollbarButtonDown:h("scrollbar-button-down","triangle-down"),toolBarMore:h("toolbar-more","more"),quickInputBack:h("quick-input-back","arrow-left"),dropDownButton:h("drop-down-button",60084),symbolCustomColor:h("symbol-customcolor",60252),exportIcon:h("export",60332),workspaceUnspecified:h("workspace-unspecified",60355),newLine:h("newline",60394),thumbsDownFilled:h("thumbsdown-filled",60435),thumbsUpFilled:h("thumbsup-filled",60436),gitFetch:h("git-fetch",60445),lightbulbSparkleAutofix:h("lightbulb-sparkle-autofix",60447),debugBreakpointPending:h("debug-breakpoint-pending",60377)},q={...Yl,...Ql};class Zl{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Re,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,n){return this._tokenizationSupports.set(t,n),this.handleChange([t]),Zt(()=>{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var r;(r=this._factories.get(t))==null||r.dispose();const i=new Kl(this,t,n);return this._factories.set(t,i),Zt(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}async getOrCreate(t){const n=this.get(t);if(n)return n;const i=this._factories.get(t);return!i||i.isResolved?null:(await i.resolve(),this.get(t))}isResolved(t){if(this.get(t))return!0;const i=this._factories.get(t);return!!(!i||i.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Kl extends Qe{get isResolved(){return this._isResolved}constructor(t,n,i){super(),this._registry=t,this._languageId=n,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const t=await this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))}}class eu{constructor(t,n,i){this.offset=t,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Sr;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(Sr||(Sr={}));var Ar;(function(e){const t=new Map;t.set(0,q.symbolMethod),t.set(1,q.symbolFunction),t.set(2,q.symbolConstructor),t.set(3,q.symbolField),t.set(4,q.symbolVariable),t.set(5,q.symbolClass),t.set(6,q.symbolStruct),t.set(7,q.symbolInterface),t.set(8,q.symbolModule),t.set(9,q.symbolProperty),t.set(10,q.symbolEvent),t.set(11,q.symbolOperator),t.set(12,q.symbolUnit),t.set(13,q.symbolValue),t.set(15,q.symbolEnum),t.set(14,q.symbolConstant),t.set(15,q.symbolEnum),t.set(16,q.symbolEnumMember),t.set(17,q.symbolKeyword),t.set(28,q.symbolSnippet),t.set(18,q.symbolText),t.set(19,q.symbolColor),t.set(20,q.symbolFile),t.set(21,q.symbolReference),t.set(22,q.symbolCustomColor),t.set(23,q.symbolFolder),t.set(24,q.symbolTypeParameter),t.set(25,q.account),t.set(26,q.issues),t.set(27,q.tools);function n(a){let l=t.get(a);return l||(console.info("No codicon found for CompletionItemKind "+a),l=q.symbolProperty),l}e.toIcon=n;function i(a){switch(a){case 0:return O(721,"Method");case 1:return O(722,"Function");case 2:return O(723,"Constructor");case 3:return O(724,"Field");case 4:return O(725,"Variable");case 5:return O(726,"Class");case 6:return O(727,"Struct");case 7:return O(728,"Interface");case 8:return O(729,"Module");case 9:return O(730,"Property");case 10:return O(731,"Event");case 11:return O(732,"Operator");case 12:return O(733,"Unit");case 13:return O(734,"Value");case 14:return O(735,"Constant");case 15:return O(736,"Enum");case 16:return O(737,"Enum Member");case 17:return O(738,"Keyword");case 18:return O(739,"Text");case 19:return O(740,"Color");case 20:return O(741,"File");case 21:return O(742,"Reference");case 22:return O(743,"Custom Color");case 23:return O(744,"Folder");case 24:return O(745,"Type Parameter");case 25:return O(746,"User");case 26:return O(747,"Issue");case 27:return O(748,"Tool");case 28:return O(749,"Snippet");default:return""}}e.toLabel=i;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",28),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),r.set("tool",27);function s(a,l){let o=r.get(a);return typeof o>"u"&&!l&&(o=9),o}e.fromString=s})(Ar||(Ar={}));var Lr;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Lr||(Lr={}));var Cr;(function(e){e[e.Code=1]="Code",e[e.Label=2]="Label"})(Cr||(Cr={}));var Er;(function(e){e[e.Accepted=0]="Accepted",e[e.Rejected=1]="Rejected",e[e.Ignored=2]="Ignored"})(Er||(Er={}));var Dr;(function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"})(Dr||(Dr={}));var Rr;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Rr||(Rr={}));var Mr;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Mr||(Mr={})),17+"",O(750,"array"),16+"",O(751,"boolean"),4+"",O(752,"class"),13+"",O(753,"constant"),8+"",O(754,"constructor"),9+"",O(755,"enumeration"),21+"",O(756,"enumeration member"),23+"",O(757,"event"),7+"",O(758,"field"),0+"",O(759,"file"),11+"",O(760,"function"),10+"",O(761,"interface"),19+"",O(762,"key"),5+"",O(763,"method"),1+"",O(764,"module"),2+"",O(765,"namespace"),20+"",O(766,"null"),15+"",O(767,"number"),18+"",O(768,"object"),24+"",O(769,"operator"),3+"",O(770,"package"),6+"",O(771,"property"),14+"",O(772,"string"),22+"",O(773,"struct"),25+"",O(774,"type parameter"),12+"",O(775,"variable");var Nr;(function(e){const t=new Map;t.set(0,q.symbolFile),t.set(1,q.symbolModule),t.set(2,q.symbolNamespace),t.set(3,q.symbolPackage),t.set(4,q.symbolClass),t.set(5,q.symbolMethod),t.set(6,q.symbolProperty),t.set(7,q.symbolField),t.set(8,q.symbolConstructor),t.set(9,q.symbolEnum),t.set(10,q.symbolInterface),t.set(11,q.symbolFunction),t.set(12,q.symbolVariable),t.set(13,q.symbolConstant),t.set(14,q.symbolString),t.set(15,q.symbolNumber),t.set(16,q.symbolBoolean),t.set(17,q.symbolArray),t.set(18,q.symbolObject),t.set(19,q.symbolKey),t.set(20,q.symbolNull),t.set(21,q.symbolEnumMember),t.set(22,q.symbolStruct),t.set(23,q.symbolEvent),t.set(24,q.symbolOperator),t.set(25,q.symbolTypeParameter);function n(s){let a=t.get(s);return a||(console.info("No codicon found for SymbolKind "+s),a=q.symbolProperty),a}e.toIcon=n;const i=new Map;i.set(0,20),i.set(1,8),i.set(2,8),i.set(3,8),i.set(4,5),i.set(5,0),i.set(6,9),i.set(7,3),i.set(8,2),i.set(9,15),i.set(10,7),i.set(11,1),i.set(12,4),i.set(13,14),i.set(14,18),i.set(15,13),i.set(16,13),i.set(17,13),i.set(18,13),i.set(19,17),i.set(20,13),i.set(21,16),i.set(22,6),i.set(23,10),i.set(24,11),i.set(25,24);function r(s){let a=i.get(s);return a===void 0&&(console.info("No completion kind found for SymbolKind "+s),a=20),a}e.toCompletionKind=r})(Nr||(Nr={}));const ye=class{static fromValue(t){switch(t){case"comment":return ye.Comment;case"imports":return ye.Imports;case"region":return ye.Region}return new ye(t)}constructor(t){this.value=t}};let Ir=ye;(()=>{ye.Comment=new ye("comment")})(),(()=>{ye.Imports=new ye("imports")})(),(()=>{ye.Region=new ye("region")})();var zr;(function(e){e[e.AIGenerated=1]="AIGenerated"})(zr||(zr={}));var Hr;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Hr||(Hr={}));var Ur;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Ur||(Ur={}));var Wr;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Wr||(Wr={})),new Zl;var Fr;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Fr||(Fr={}));var Pr;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(Pr||(Pr={}));var Br;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Br||(Br={}));var qr;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Tool=27]="Tool",e[e.Snippet=28]="Snippet"})(qr||(qr={}));var Or;(function(e){e[e.Deprecated=1]="Deprecated"})(Or||(Or={}));var Vr;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(Vr||(Vr={}));var jr;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(jr||(jr={}));var Gr;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(Gr||(Gr={}));var $r;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})($r||($r={}));var Xr;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Xr||(Xr={}));var Jr;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(Jr||(Jr={}));var Yr;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.allowOverflow=4]="allowOverflow",e[e.allowVariableLineHeights=5]="allowVariableLineHeights",e[e.allowVariableFonts=6]="allowVariableFonts",e[e.allowVariableFontsInAccessibilityMode=7]="allowVariableFontsInAccessibilityMode",e[e.ariaLabel=8]="ariaLabel",e[e.ariaRequired=9]="ariaRequired",e[e.autoClosingBrackets=10]="autoClosingBrackets",e[e.autoClosingComments=11]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=12]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=13]="autoClosingDelete",e[e.autoClosingOvertype=14]="autoClosingOvertype",e[e.autoClosingQuotes=15]="autoClosingQuotes",e[e.autoIndent=16]="autoIndent",e[e.autoIndentOnPaste=17]="autoIndentOnPaste",e[e.autoIndentOnPasteWithinString=18]="autoIndentOnPasteWithinString",e[e.automaticLayout=19]="automaticLayout",e[e.autoSurround=20]="autoSurround",e[e.bracketPairColorization=21]="bracketPairColorization",e[e.guides=22]="guides",e[e.codeLens=23]="codeLens",e[e.codeLensFontFamily=24]="codeLensFontFamily",e[e.codeLensFontSize=25]="codeLensFontSize",e[e.colorDecorators=26]="colorDecorators",e[e.colorDecoratorsLimit=27]="colorDecoratorsLimit",e[e.columnSelection=28]="columnSelection",e[e.comments=29]="comments",e[e.contextmenu=30]="contextmenu",e[e.copyWithSyntaxHighlighting=31]="copyWithSyntaxHighlighting",e[e.cursorBlinking=32]="cursorBlinking",e[e.cursorSmoothCaretAnimation=33]="cursorSmoothCaretAnimation",e[e.cursorStyle=34]="cursorStyle",e[e.cursorSurroundingLines=35]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=36]="cursorSurroundingLinesStyle",e[e.cursorWidth=37]="cursorWidth",e[e.cursorHeight=38]="cursorHeight",e[e.disableLayerHinting=39]="disableLayerHinting",e[e.disableMonospaceOptimizations=40]="disableMonospaceOptimizations",e[e.domReadOnly=41]="domReadOnly",e[e.dragAndDrop=42]="dragAndDrop",e[e.dropIntoEditor=43]="dropIntoEditor",e[e.editContext=44]="editContext",e[e.emptySelectionClipboard=45]="emptySelectionClipboard",e[e.experimentalGpuAcceleration=46]="experimentalGpuAcceleration",e[e.experimentalWhitespaceRendering=47]="experimentalWhitespaceRendering",e[e.extraEditorClassName=48]="extraEditorClassName",e[e.fastScrollSensitivity=49]="fastScrollSensitivity",e[e.find=50]="find",e[e.fixedOverflowWidgets=51]="fixedOverflowWidgets",e[e.folding=52]="folding",e[e.foldingStrategy=53]="foldingStrategy",e[e.foldingHighlight=54]="foldingHighlight",e[e.foldingImportsByDefault=55]="foldingImportsByDefault",e[e.foldingMaximumRegions=56]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=57]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=58]="fontFamily",e[e.fontInfo=59]="fontInfo",e[e.fontLigatures=60]="fontLigatures",e[e.fontSize=61]="fontSize",e[e.fontWeight=62]="fontWeight",e[e.fontVariations=63]="fontVariations",e[e.formatOnPaste=64]="formatOnPaste",e[e.formatOnType=65]="formatOnType",e[e.glyphMargin=66]="glyphMargin",e[e.gotoLocation=67]="gotoLocation",e[e.hideCursorInOverviewRuler=68]="hideCursorInOverviewRuler",e[e.hover=69]="hover",e[e.inDiffEditor=70]="inDiffEditor",e[e.inlineSuggest=71]="inlineSuggest",e[e.letterSpacing=72]="letterSpacing",e[e.lightbulb=73]="lightbulb",e[e.lineDecorationsWidth=74]="lineDecorationsWidth",e[e.lineHeight=75]="lineHeight",e[e.lineNumbers=76]="lineNumbers",e[e.lineNumbersMinChars=77]="lineNumbersMinChars",e[e.linkedEditing=78]="linkedEditing",e[e.links=79]="links",e[e.matchBrackets=80]="matchBrackets",e[e.minimap=81]="minimap",e[e.mouseStyle=82]="mouseStyle",e[e.mouseWheelScrollSensitivity=83]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=84]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=85]="multiCursorMergeOverlapping",e[e.multiCursorModifier=86]="multiCursorModifier",e[e.multiCursorPaste=87]="multiCursorPaste",e[e.multiCursorLimit=88]="multiCursorLimit",e[e.occurrencesHighlight=89]="occurrencesHighlight",e[e.occurrencesHighlightDelay=90]="occurrencesHighlightDelay",e[e.overtypeCursorStyle=91]="overtypeCursorStyle",e[e.overtypeOnPaste=92]="overtypeOnPaste",e[e.overviewRulerBorder=93]="overviewRulerBorder",e[e.overviewRulerLanes=94]="overviewRulerLanes",e[e.padding=95]="padding",e[e.pasteAs=96]="pasteAs",e[e.parameterHints=97]="parameterHints",e[e.peekWidgetDefaultFocus=98]="peekWidgetDefaultFocus",e[e.placeholder=99]="placeholder",e[e.definitionLinkOpensInPeek=100]="definitionLinkOpensInPeek",e[e.quickSuggestions=101]="quickSuggestions",e[e.quickSuggestionsDelay=102]="quickSuggestionsDelay",e[e.readOnly=103]="readOnly",e[e.readOnlyMessage=104]="readOnlyMessage",e[e.renameOnType=105]="renameOnType",e[e.renderRichScreenReaderContent=106]="renderRichScreenReaderContent",e[e.renderControlCharacters=107]="renderControlCharacters",e[e.renderFinalNewline=108]="renderFinalNewline",e[e.renderLineHighlight=109]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=110]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=111]="renderValidationDecorations",e[e.renderWhitespace=112]="renderWhitespace",e[e.revealHorizontalRightPadding=113]="revealHorizontalRightPadding",e[e.roundedSelection=114]="roundedSelection",e[e.rulers=115]="rulers",e[e.scrollbar=116]="scrollbar",e[e.scrollBeyondLastColumn=117]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=118]="scrollBeyondLastLine",e[e.scrollPredominantAxis=119]="scrollPredominantAxis",e[e.selectionClipboard=120]="selectionClipboard",e[e.selectionHighlight=121]="selectionHighlight",e[e.selectionHighlightMaxLength=122]="selectionHighlightMaxLength",e[e.selectionHighlightMultiline=123]="selectionHighlightMultiline",e[e.selectOnLineNumbers=124]="selectOnLineNumbers",e[e.showFoldingControls=125]="showFoldingControls",e[e.showUnused=126]="showUnused",e[e.snippetSuggestions=127]="snippetSuggestions",e[e.smartSelect=128]="smartSelect",e[e.smoothScrolling=129]="smoothScrolling",e[e.stickyScroll=130]="stickyScroll",e[e.stickyTabStops=131]="stickyTabStops",e[e.stopRenderingLineAfter=132]="stopRenderingLineAfter",e[e.suggest=133]="suggest",e[e.suggestFontSize=134]="suggestFontSize",e[e.suggestLineHeight=135]="suggestLineHeight",e[e.suggestOnTriggerCharacters=136]="suggestOnTriggerCharacters",e[e.suggestSelection=137]="suggestSelection",e[e.tabCompletion=138]="tabCompletion",e[e.tabIndex=139]="tabIndex",e[e.trimWhitespaceOnDelete=140]="trimWhitespaceOnDelete",e[e.unicodeHighlighting=141]="unicodeHighlighting",e[e.unusualLineTerminators=142]="unusualLineTerminators",e[e.useShadowDOM=143]="useShadowDOM",e[e.useTabStops=144]="useTabStops",e[e.wordBreak=145]="wordBreak",e[e.wordSegmenterLocales=146]="wordSegmenterLocales",e[e.wordSeparators=147]="wordSeparators",e[e.wordWrap=148]="wordWrap",e[e.wordWrapBreakAfterCharacters=149]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=150]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=151]="wordWrapColumn",e[e.wordWrapOverride1=152]="wordWrapOverride1",e[e.wordWrapOverride2=153]="wordWrapOverride2",e[e.wrappingIndent=154]="wrappingIndent",e[e.wrappingStrategy=155]="wrappingStrategy",e[e.showDeprecated=156]="showDeprecated",e[e.inertialScroll=157]="inertialScroll",e[e.inlayHints=158]="inlayHints",e[e.wrapOnEscapedLineFeeds=159]="wrapOnEscapedLineFeeds",e[e.effectiveCursorStyle=160]="effectiveCursorStyle",e[e.editorClassName=161]="editorClassName",e[e.pixelRatio=162]="pixelRatio",e[e.tabFocusMode=163]="tabFocusMode",e[e.layoutInfo=164]="layoutInfo",e[e.wrappingInfo=165]="wrappingInfo",e[e.defaultColorDecorators=166]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=167]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=168]="inlineCompletionsAccessibilityVerbose",e[e.effectiveEditContext=169]="effectiveEditContext",e[e.scrollOnMiddleClick=170]="scrollOnMiddleClick",e[e.effectiveAllowVariableFonts=171]="effectiveAllowVariableFonts"})(Yr||(Yr={}));var Qr;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Qr||(Qr={}));var Zr;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(Zr||(Zr={}));var Kr;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(Kr||(Kr={}));var es;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(es||(es={}));var ts;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(ts||(ts={}));var ns;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(ns||(ns={}));var is;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(is||(is={}));var rs;(function(e){e[e.Code=1]="Code",e[e.Label=2]="Label"})(rs||(rs={}));var ss;(function(e){e[e.Accepted=0]="Accepted",e[e.Rejected=1]="Rejected",e[e.Ignored=2]="Ignored"})(ss||(ss={}));var as;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(as||(as={}));var ui;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"})(ui||(ui={}));var ci;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(ci||(ci={}));var hi;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(hi||(hi={}));var os;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(os||(os={}));var ls;(function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"})(ls||(ls={}));var us;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(us||(us={}));var cs;(function(e){e[e.AIGenerated=1]="AIGenerated"})(cs||(cs={}));var hs;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(hs||(hs={}));var ds;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(ds||(ds={}));var ms;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(ms||(ms={}));var fs;(function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"})(fs||(fs={}));var ps;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(ps||(ps={}));var gs;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(gs||(gs={}));var bs;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(bs||(bs={}));var ws;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(ws||(ws={}));var _s;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(_s||(_s={}));var di;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(di||(di={}));var vs;(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(vs||(vs={}));var ys;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(ys||(ys={}));var Ts;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(Ts||(Ts={}));var xs;(function(e){e[e.Deprecated=1]="Deprecated"})(xs||(xs={}));var ks;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(ks||(ks={}));var Ss;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(Ss||(Ss={}));var As;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(As||(As={}));var Ls;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Ls||(Ls={}));var Cs;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(Cs||(Cs={}));const Ct=class{static chord(t,n){return Rl(t,n)}};let mi=Ct;(()=>{Ct.CtrlCmd=2048})(),(()=>{Ct.Shift=1024})(),(()=>{Ct.Alt=512})(),(()=>{Ct.WinCtrl=256})();function tu(){return{editor:void 0,languages:void 0,CancellationTokenSource:Ll,Emitter:Re,KeyCode:ui,KeyMod:mi,Position:Y,Range:P,Selection:pe,SelectionDirection:di,MarkerSeverity:ci,MarkerTag:hi,Uri:tt,Token:eu}}var Es,Ds;class nu{constructor(t,n){this.uri=t,this.value=n}}function iu(e){return Array.isArray(e)}const rt=class{constructor(t,n){if(this[Es]="ResourceMap",t instanceof rt)this.map=new Map(t.map),this.toKey=n!=null?n:rt.defaultToKey;else if(iu(t)){this.map=new Map,this.toKey=n!=null?n:rt.defaultToKey;for(const[i,r]of t)this.set(i,r)}else this.map=new Map,this.toKey=t!=null?t:rt.defaultToKey}set(t,n){return this.map.set(this.toKey(t),new nu(t,n)),this}get(t){var n;return(n=this.map.get(this.toKey(t)))==null?void 0:n.value}has(t){return this.map.has(this.toKey(t))}get size(){return this.map.size}clear(){this.map.clear()}delete(t){return this.map.delete(this.toKey(t))}forEach(t,n){typeof n<"u"&&(t=t.bind(n));for(const[i,r]of this.map)t(r.value,r.uri,this)}*values(){for(const t of this.map.values())yield t.value}*keys(){for(const t of this.map.values())yield t.uri}*entries(){for(const t of this.map.values())yield[t.uri,t.value]}*[(Es=Symbol.toStringTag,Symbol.iterator)](){for(const[,t]of this.map)yield[t.uri,t.value]}};let Rs=rt;(()=>{rt.defaultToKey=t=>t.toString()})();class ru{constructor(){this[Ds]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var t;return(t=this._head)==null?void 0:t.value}get last(){var t;return(t=this._tail)==null?void 0:t.value}has(t){return this._map.has(t)}get(t,n=0){const i=this._map.get(t);if(!!i)return n!==0&&this.touch(i,n),i.value}set(t,n,i=0){let r=this._map.get(t);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:t,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(t,r),this._size++}return this}delete(t){return!!this.remove(t)}remove(t){const n=this._map.get(t);if(!!n)return this._map.delete(t),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const t=this._head;return this._map.delete(t.key),this.removeItem(t),this._size--,t.value}forEach(t,n){const i=this._state;let r=this._head;for(;r;){if(n?t.bind(n)(r.value,r.key,this):t(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(Ds=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,n&&(n.next=void 0),this._state++}addItemFirst(t){if(!this._head&&!this._tail)this._tail=t;else if(this._head)t.next=this._head,this._head.previous=t;else throw new Error("Invalid list");this._head=t,this._state++}addItemLast(t){if(!this._head&&!this._tail)this._head=t;else if(this._tail)t.previous=this._tail,this._tail.next=t;else throw new Error("Invalid list");this._tail=t,this._state++}removeItem(t){if(t===this._head&&t===this._tail)this._head=void 0,this._tail=void 0;else if(t===this._head){if(!t.next)throw new Error("Invalid list");t.next.previous=void 0,this._head=t.next}else if(t===this._tail){if(!t.previous)throw new Error("Invalid list");t.previous.next=void 0,this._tail=t.previous}else{const n=t.next,i=t.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}t.next=void 0,t.previous=void 0,this._state++}touch(t,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(t===this._head)return;const i=t.next,r=t.previous;t===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),t.previous=void 0,t.next=this._head,this._head.previous=t,this._head=t,this._state++}else if(n===2){if(t===this._tail)return;const i=t.next,r=t.previous;t===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t,this._state++}}}toJSON(){const t=[];return this.forEach((n,i)=>{t.push([i,n])}),t}fromJSON(t){this.clear();for(const[n,i]of t)this.set(n,i)}}class su extends ru{constructor(t,n=1){super(),this._limit=t,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(t){this._limit=t,this.checkTrim()}get(t,n=2){return super.get(t,n)}peek(t){return super.get(t,0)}set(t,n){return super.set(t,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class au extends su{constructor(t,n=1){super(t,n)}trim(t){this.trimOld(t)}set(t,n){return super.set(t,n),this.checkTrim(),this}}class ou{constructor(){this.map=new Map}add(t,n){let i=this.map.get(t);i||(i=new Set,this.map.set(t,i)),i.add(n)}delete(t,n){const i=this.map.get(t);!i||(i.delete(n),i.size===0&&this.map.delete(t))}forEach(t,n){const i=this.map.get(t);!i||i.forEach(n)}}new au(10);var Ms;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Ms||(Ms={}));var Ns;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(Ns||(Ns={}));var Is;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(Is||(Is={}));var zs;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(zs||(zs={}));function lu(e){if(!e||e.length===0)return!1;for(let t=0,n=e.length;t<n;t++){const i=e.charCodeAt(t);if(i===10)return!0;if(i===92){if(t++,t>=n)break;const r=e.charCodeAt(t);if(r===110||r===114||r===87)return!0}}return!1}function uu(e,t,n,i,r){if(i===0)return!0;const s=t.charCodeAt(i-1);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=t.charCodeAt(i);if(e.get(a)!==0)return!0}return!1}function cu(e,t,n,i,r){if(i+r===n)return!0;const s=t.charCodeAt(i+r);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=t.charCodeAt(i+r-1);if(e.get(a)!==0)return!0}return!1}function hu(e,t,n,i,r){return uu(e,t,n,i,r)&&cu(e,t,n,i,r)}class du{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(t),!i))return null;const r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){ol(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||hu(this._wordSeparators,t,n,r,s))return i}while(i);return null}}const mu="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function fu(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of mu)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Hs=fu();function Us(e){let t=Hs;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const Ws=new Uo;Ws.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function fi(e,t,n,i,r){if(t=Us(t),r||(r=Qt.first(Ws)),n.length>r.maxLen){let u=e-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,e+r.maxLen/2),fi(e,t,n,i,r)}const s=Date.now(),a=e-1-i;let l=-1,o=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){const c=a-r.windowSize*u;t.lastIndex=Math.max(0,c);const d=pu(t,n,a,l);if(!d&&o||(o=d,c<=0))break;l=c}if(o){const u={word:o[0],startColumn:i+1+o.index,endColumn:i+1+o.index+o[0].length};return t.lastIndex=0,u}return null}function pu(e,t,n,i){let r;for(;r=e.exec(t);){const s=r.index||0;if(s<=n&&e.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}class gu{static computeUnicodeHighlights(t,n,i){const r=i?i.startLineNumber:1,s=i?i.endLineNumber:t.getLineCount(),a=new Fs(n),l=a.getCandidateCodePoints();let o;l==="allNonBasicAscii"?o=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):o=new RegExp(`${bu(Array.from(l))}`,"g");const u=new du(null,o),c=[];let d=!1,m,f=0,w=0,p=0;e:for(let x=r,T=s;x<=T;x++){const y=t.getLineContent(x),L=y.length;u.reset(0);do if(m=u.next(y),m){let I=m.index,H=m.index+m[0].length;if(I>0){const _=y.charCodeAt(I-1);tn(_)&&I--}if(H+1<L){const _=y.charCodeAt(H-1);tn(_)&&H++}const W=y.substring(I,H);let b=fi(I+1,Hs,y,0);b&&b.endColumn<=I+1&&(b=null);const g=a.shouldHighlightNonBasicASCII(W,b?b.word:null);if(g!==0){g===3?f++:g===2?w++:g===1?p++:Mo();const _=1e3;if(c.length>=_){d=!0;break e}c.push(new P(x,I+1,x,H+1))}}while(m)}return{ranges:c,hasMore:d,ambiguousCharacterCount:f,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(t,n){const i=new Fs(n);switch(i.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),a=i.ambiguousCharacters.getPrimaryConfusable(s),l=Mt.getLocales().filter(o=>!Mt.getInstance(new Set([...n.allowedLocales,o])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function bu(e,t){return`[${el(e.map(i=>String.fromCodePoint(i)).join(""))}]`}class Fs{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=Mt.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of Nt.codePoints)Ps(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const i=t.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(const a of n){const l=a.codePointAt(0),o=ul(a);r=r||o,!o&&!this.ambiguousCharacters.isAmbiguous(l)&&!Nt.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!Ps(t)&&Nt.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function Ps(e){return e===" "||e===`
8
+ `||e===" "}class cn{constructor(t,n,i){this.changes=t,this.moves=n,this.hitTimeout=i}}class wu{constructor(t,n){this.lineRangeMapping=t,this.changes=n}}function _u(e,t,n=(i,r)=>i===r){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function*vu(e,t){let n,i;for(const r of e)i!==void 0&&t(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}function yu(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function Tu(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function xu(e,t){for(const n of t)e.push(n)}var pi;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s<=0}e.isLessThanOrEqual=n;function i(s){return s>0}e.isGreaterThan=i;function r(s){return s===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(pi||(pi={}));function Ht(e,t){return(n,i)=>t(e(n),e(i))}const Ut=(e,t)=>e-t;function ku(e){return(t,n)=>-e(t,n)}const Et=class{constructor(t){this.iterate=t}toArray(){const t=[];return this.iterate(n=>(t.push(n),!0)),t}filter(t){return new Et(n=>this.iterate(i=>t(i)?n(i):!0))}map(t){return new Et(n=>this.iterate(i=>n(t(i))))}findLast(t){let n;return this.iterate(i=>(t(i)&&(n=i),!0)),n}findLastMaxBy(t){let n,i=!0;return this.iterate(r=>((i||pi.isGreaterThan(t(r,n)))&&(i=!1,n=r),!0)),n}};let Bs=Et;(()=>{Et.empty=new Et(t=>{})})();class ${static fromTo(t,n){return new $(t,n)}static addRange(t,n){let i=0;for(;i<n.length&&n[i].endExclusive<t.start;)i++;let r=i;for(;r<n.length&&n[r].start<=t.endExclusive;)r++;if(i===r)n.splice(i,0,t);else{const s=Math.min(t.start,n[i].start),a=Math.max(t.endExclusive,n[r-1].endExclusive);n.splice(i,r-i,new $(s,a))}}static tryCreate(t,n){if(!(t>n))return new $(t,n)}static ofLength(t){return new $(0,t)}static ofStartAndLength(t,n){return new $(t,t+n)}static emptyAt(t){return new $(t,t)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new ue(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new $(this.start+t,this.endExclusive+t)}deltaStart(t){return new $(this.start+t,this.endExclusive)}deltaEnd(t){return new $(this.start,this.endExclusive+t)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(t){return this.start===t.start&&this.endExclusive===t.endExclusive}contains(t){return this.start<=t&&t<this.endExclusive}join(t){return new $(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))}intersect(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);if(n<=i)return new $(n,i)}intersectionLength(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);return Math.max(0,i-n)}intersects(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);return n<i}intersectsOrTouches(t){const n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);return n<=i}isBefore(t){return this.endExclusive<=t.start}isAfter(t){return this.start>=t.endExclusive}slice(t){return t.slice(this.start,this.endExclusive)}substring(t){return t.substring(this.start,this.endExclusive)}clip(t){if(this.isEmpty)throw new ue(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,t))}clipCyclic(t){if(this.isEmpty)throw new ue(`Invalid clipping range: ${this.toString()}`);return t<this.start?this.endExclusive-(this.start-t)%this.length:t>=this.endExclusive?this.start+(t-this.start)%this.length:t}forEach(t){for(let n=this.start;n<this.endExclusive;n++)t(n)}joinRightTouching(t){if(this.endExclusive!==t.start)throw new ue(`Invalid join: ${this.toString()} and ${t.toString()}`);return new $(this.start,t.endExclusive)}}function ft(e,t){const n=pt(e,t);return n===-1?void 0:e[n]}function pt(e,t,n=0,i=e.length){let r=n,s=i;for(;r<s;){const a=Math.floor((r+s)/2);t(e[a])?r=a+1:s=a}return r-1}function Su(e,t){const n=gi(e,t);return n===e.length?void 0:e[n]}function gi(e,t,n=0,i=e.length){let r=n,s=i;for(;r<s;){const a=Math.floor((r+s)/2);t(e[a])?s=a:r=a+1}return r}const Rn=class{constructor(t){this._array=t,this._findLastMonotonousLastIdx=0}findLastMonotonous(t){if(Rn.assertInvariants){if(this._prevFindLastPredicate){for(const i of this._array)if(this._prevFindLastPredicate(i)&&!t(i))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=t}const n=pt(this._array,t,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}};let hn=Rn;(()=>{Rn.assertInvariants=!1})();const Te=class{static ofLength(t,n){return new Te(t,t+n)}static fromRangeInclusive(t){return new Te(t.startLineNumber,t.endLineNumber+1)}static joinMany(t){if(t.length===0)return[];let n=new Ne(t[0].slice());for(let i=1;i<t.length;i++)n=n.getUnion(new Ne(t[i].slice()));return n.ranges}static join(t){if(t.length===0)throw new ue("lineRanges cannot be empty");let n=t[0].startLineNumber,i=t[0].endLineNumberExclusive;for(let r=1;r<t.length;r++)n=Math.min(n,t[r].startLineNumber),i=Math.max(i,t[r].endLineNumberExclusive);return new Te(n,i)}static deserialize(t){return new Te(t[0],t[1])}constructor(t,n){if(t>n)throw new ue(`startLineNumber ${t} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=t,this.endLineNumberExclusive=n}contains(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(t){return new Te(this.startLineNumber+t,this.endLineNumberExclusive+t)}deltaLength(t){return new Te(this.startLineNumber,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new Te(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(t){const n=Math.max(this.startLineNumber,t.startLineNumber),i=Math.min(this.endLineNumberExclusive,t.endLineNumberExclusive);if(n<=i)return new Te(n,i)}intersectsStrict(t){return this.startLineNumber<t.endLineNumberExclusive&&t.startLineNumber<this.endLineNumberExclusive}intersectsOrTouches(t){return this.startLineNumber<=t.endLineNumberExclusive&&t.startLineNumber<=this.endLineNumberExclusive}equals(t){return this.startLineNumber===t.startLineNumber&&this.endLineNumberExclusive===t.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new P(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new P(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(t){const n=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)n.push(t(i));return n}forEach(t){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)t(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}toOffsetRange(){return new $(this.startLineNumber-1,this.endLineNumberExclusive-1)}addMargin(t,n){return new Te(this.startLineNumber-t,this.endLineNumberExclusive+n)}};let X=Te;(()=>{Te.compareByStart=Ht(t=>t.startLineNumber,Ut)})();class Ne{constructor(t=[]){this._normalizedRanges=t}get ranges(){return this._normalizedRanges}addRange(t){if(t.length===0)return;const n=gi(this._normalizedRanges,r=>r.endLineNumberExclusive>=t.startLineNumber),i=pt(this._normalizedRanges,r=>r.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)this._normalizedRanges.splice(n,0,t);else if(n===i-1){const r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(t)}else{const r=this._normalizedRanges[n].join(this._normalizedRanges[i-1]).join(t);this._normalizedRanges.splice(n,i-n,r)}}contains(t){const n=ft(this._normalizedRanges,i=>i.startLineNumber<=t);return!!n&&n.endLineNumberExclusive>t}intersects(t){const n=ft(this._normalizedRanges,i=>i.startLineNumber<t.endLineNumberExclusive);return!!n&&n.endLineNumberExclusive>t.startLineNumber}getUnion(t){if(this._normalizedRanges.length===0)return t;if(t._normalizedRanges.length===0)return this;const n=[];let i=0,r=0,s=null;for(;i<this._normalizedRanges.length||r<t._normalizedRanges.length;){let a=null;if(i<this._normalizedRanges.length&&r<t._normalizedRanges.length){const l=this._normalizedRanges[i],o=t._normalizedRanges[r];l.startLineNumber<o.startLineNumber?(a=l,i++):(a=o,r++)}else i<this._normalizedRanges.length?(a=this._normalizedRanges[i],i++):(a=t._normalizedRanges[r],r++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new X(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new Ne(n)}subtractFrom(t){const n=gi(this._normalizedRanges,a=>a.endLineNumberExclusive>=t.startLineNumber),i=pt(this._normalizedRanges,a=>a.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)return new Ne([t]);const r=[];let s=t.startLineNumber;for(let a=n;a<i;a++){const l=this._normalizedRanges[a];l.startLineNumber>s&&r.push(new X(s,l.startLineNumber)),s=l.endLineNumberExclusive}return s<t.endLineNumberExclusive&&r.push(new X(s,t.endLineNumberExclusive)),new Ne(r)}toString(){return this._normalizedRanges.map(t=>t.toString()).join(", ")}getIntersection(t){const n=[];let i=0,r=0;for(;i<this._normalizedRanges.length&&r<t._normalizedRanges.length;){const s=this._normalizedRanges[i],a=t._normalizedRanges[r],l=s.intersect(a);l&&!l.isEmpty&&n.push(l),s.endLineNumberExclusive<a.endLineNumberExclusive?i++:r++}return new Ne(n)}getWithDelta(t){return new Ne(this._normalizedRanges.map(n=>n.delta(t)))}}const Ee=class{static betweenPositions(t,n){return t.lineNumber===n.lineNumber?new Ee(0,n.column-t.column):new Ee(n.lineNumber-t.lineNumber,n.column-1)}static fromPosition(t){return new Ee(t.lineNumber-1,t.column-1)}static ofRange(t){return Ee.betweenPositions(t.getStartPosition(),t.getEndPosition())}static ofText(t){let n=0,i=0;for(const r of t)r===`
9
+ `?(n++,i=0):i++;return new Ee(n,i)}constructor(t,n){this.lineCount=t,this.columnCount=n}isGreaterThanOrEqualTo(t){return this.lineCount!==t.lineCount?this.lineCount>t.lineCount:this.columnCount>=t.columnCount}add(t){return t.lineCount===0?new Ee(this.lineCount,this.columnCount+t.columnCount):new Ee(this.lineCount+t.lineCount,t.columnCount)}createRange(t){return this.lineCount===0?new P(t.lineNumber,t.column,t.lineNumber,t.column+this.columnCount):new P(t.lineNumber,t.column,t.lineNumber+this.lineCount,this.columnCount+1)}toRange(){return new P(1,1,this.lineCount+1,this.columnCount+1)}toLineRange(){return X.ofLength(1,this.lineCount+1)}addToPosition(t){return this.lineCount===0?new Y(t.lineNumber,t.column+this.columnCount):new Y(t.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};let Wt=Ee;(()=>{Ee.zero=new Ee(0,0)})();class Au{getOffsetRange(t){return new $(this.getOffset(t.getStartPosition()),this.getOffset(t.getEndPosition()))}getRange(t){return P.fromPositions(this.getPosition(t.start),this.getPosition(t.endExclusive))}getStringReplacement(t){return new gt.deps.StringReplacement(this.getOffsetRange(t.range),t.text)}getTextReplacement(t){return new gt.deps.TextReplacement(this.getRange(t.replaceRange),t.newText)}getTextEdit(t){const n=t.replacements.map(i=>this.getTextReplacement(i));return new gt.deps.TextEdit(n)}}const $i=class{static get deps(){if(!this._deps)throw new Error("Dependencies not set. Call _setDependencies first.");return this._deps}};let gt=$i;(()=>{$i._deps=void 0})();class Lu extends Au{constructor(t){super(),this.text=t,this.lineStartOffsetByLineIdx=[],this.lineEndOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let n=0;n<t.length;n++)t.charAt(n)===`
10
+ `&&(this.lineStartOffsetByLineIdx.push(n+1),n>0&&t.charAt(n-1)==="\r"?this.lineEndOffsetByLineIdx.push(n-1):this.lineEndOffsetByLineIdx.push(n));this.lineEndOffsetByLineIdx.push(t.length)}getOffset(t){const n=this._validatePosition(t);return this.lineStartOffsetByLineIdx[n.lineNumber-1]+n.column-1}_validatePosition(t){if(t.lineNumber<1)return new Y(1,1);const n=this.textLength.lineCount+1;if(t.lineNumber>n){const r=this.getLineLength(n);return new Y(n,r+1)}if(t.column<1)return new Y(t.lineNumber,1);const i=this.getLineLength(t.lineNumber);return t.column-1>i?new Y(t.lineNumber,i+1):t}getPosition(t){const n=pt(this.lineStartOffsetByLineIdx,s=>s<=t),i=n+1,r=t-this.lineStartOffsetByLineIdx[n]+1;return new Y(i,r)}get textLength(){const t=this.lineStartOffsetByLineIdx.length-1;return new gt.deps.TextLength(t,this.text.length-this.lineStartOffsetByLineIdx[t])}getLineLength(t){return this.lineEndOffsetByLineIdx[t-1]-this.lineStartOffsetByLineIdx[t-1]}}class Cu{constructor(){this._transformer=void 0}get endPositionExclusive(){return this.length.addToPosition(new Y(1,1))}get lineRange(){return this.length.toLineRange()}getValue(){return this.getValueOfRange(this.length.toRange())}getValueOfOffsetRange(t){return this.getValueOfRange(this.getTransformer().getRange(t))}getLineLength(t){return this.getValueOfRange(new P(t,1,t,Number.MAX_SAFE_INTEGER)).length}getTransformer(){return this._transformer||(this._transformer=new Lu(this.getValue())),this._transformer}getLineAt(t){return this.getValueOfRange(new P(t,1,t,Number.MAX_SAFE_INTEGER))}}class Eu extends Cu{constructor(t,n){No(n>=1),super(),this._getLineContent=t,this._lineCount=n}getValueOfRange(t){if(t.startLineNumber===t.endLineNumber)return this._getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);let n=this._getLineContent(t.startLineNumber).substring(t.startColumn-1);for(let i=t.startLineNumber+1;i<t.endLineNumber;i++)n+=`
11
11
  `+this._getLineContent(i);return n+=`
12
- `+this._getLineContent(t.endLineNumber).substring(0,t.endColumn-1),n}getLineLength(t){return this._getLineContent(t).length}get length(){const t=this._getLineContent(this._lineCount);return new Ft(this._lineCount-1,t.length)}}class fn extends Ru{constructor(t){super(n=>t[n-1],t.length)}}class Xe{static joinReplacements(t,n){if(t.length===0)throw new ue;if(t.length===1)return t[0];const i=t[0].range.getStartPosition(),r=t[t.length-1].range.getEndPosition();let s="";for(let a=0;a<t.length;a++){const l=t[a];if(s+=l.text,a<t.length-1){const o=t[a+1],u=P.fromPositions(l.range.getEndPosition(),o.range.getStartPosition()),c=n.getValueOfRange(u);s+=c}}return new Xe(P.fromPositions(i,r),s)}static fromStringReplacement(t,n){return new Xe(n.getTransformer().getRange(t.replaceRange),t.newText)}static delete(t){return new Xe(t,"")}constructor(t,n){this.range=t,this.text=n}get isEmpty(){return this.range.isEmpty()&&this.text.length===0}static equals(t,n){return t.range.equalsRange(n.range)&&t.text===n.text}equals(t){return Xe.equals(this,t)}removeCommonPrefixAndSuffix(t){return this.removeCommonPrefix(t).removeCommonSuffix(t)}removeCommonPrefix(t){const n=t.getValueOfRange(this.range).replaceAll(`\r
12
+ `+this._getLineContent(t.endLineNumber).substring(0,t.endColumn-1),n}getLineLength(t){return this._getLineContent(t).length}get length(){const t=this._getLineContent(this._lineCount);return new Wt(this._lineCount-1,t.length)}}class dn extends Eu{constructor(t){super(n=>t[n-1],t.length)}}class $e{static joinReplacements(t,n){if(t.length===0)throw new ue;if(t.length===1)return t[0];const i=t[0].range.getStartPosition(),r=t[t.length-1].range.getEndPosition();let s="";for(let a=0;a<t.length;a++){const l=t[a];if(s+=l.text,a<t.length-1){const o=t[a+1],u=P.fromPositions(l.range.getEndPosition(),o.range.getStartPosition()),c=n.getValueOfRange(u);s+=c}}return new $e(P.fromPositions(i,r),s)}static fromStringReplacement(t,n){return new $e(n.getTransformer().getRange(t.replaceRange),t.newText)}static delete(t){return new $e(t,"")}constructor(t,n){this.range=t,this.text=n}get isEmpty(){return this.range.isEmpty()&&this.text.length===0}static equals(t,n){return t.range.equalsRange(n.range)&&t.text===n.text}equals(t){return $e.equals(this,t)}removeCommonPrefixAndSuffix(t){return this.removeCommonPrefix(t).removeCommonSuffix(t)}removeCommonPrefix(t){const n=t.getValueOfRange(this.range).replaceAll(`\r
13
13
  `,`
14
14
  `),i=this.text.replaceAll(`\r
15
15
  `,`
16
- `),r=ol(n,i),s=Ft.ofText(n.substring(0,r)).addToPosition(this.range.getStartPosition()),a=i.substring(r),l=P.fromPositions(s,this.range.getEndPosition());return new Xe(l,a)}removeCommonSuffix(t){const n=t.getValueOfRange(this.range).replaceAll(`\r
16
+ `),r=sl(n,i),s=Wt.ofText(n.substring(0,r)).addToPosition(this.range.getStartPosition()),a=i.substring(r),l=P.fromPositions(s,this.range.getEndPosition());return new $e(l,a)}removeCommonSuffix(t){const n=t.getValueOfRange(this.range).replaceAll(`\r
17
17
  `,`
18
18
  `),i=this.text.replaceAll(`\r
19
19
  `,`
20
- `),r=ll(n,i),s=Ft.ofText(n.substring(0,n.length-r)).addToPosition(this.range.getStartPosition()),a=i.substring(0,i.length-r),l=P.fromPositions(this.range.getStartPosition(),s);return new Xe(l,a)}toString(){const t=this.range.getStartPosition(),n=this.range.getEndPosition();return`(${t.lineNumber},${t.column} -> ${n.lineNumber},${n.column}): "${this.text}"`}}class _e{static inverse(t,n,i){const r=[];let s=1,a=1;for(const o of t){const u=new _e(new X(s,o.original.startLineNumber),new X(a,o.modified.startLineNumber));u.modified.isEmpty||r.push(u),s=o.original.endLineNumberExclusive,a=o.modified.endLineNumberExclusive}const l=new _e(new X(s,n+1),new X(a,i+1));return l.modified.isEmpty||r.push(l),r}static clip(t,n,i){const r=[];for(const s of t){const a=s.original.intersect(n),l=s.modified.intersect(i);a&&!a.isEmpty&&l&&!l.isEmpty&&r.push(new _e(a,l))}return r}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new _e(this.modified,this.original)}join(t){return new _e(this.original.join(t.original),this.modified.join(t.modified))}toRangeMapping(){const t=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(t&&n)return new ve(t,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new ue("not a valid diff");return new ve(new P(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new P(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new ve(new P(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new P(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(t,n){if(Os(this.original.endLineNumberExclusive,t)&&Os(this.modified.endLineNumberExclusive,n))return new ve(new P(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new P(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new ve(P.fromPositions(new Y(this.original.startLineNumber,1),wt(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),P.fromPositions(new Y(this.modified.startLineNumber,1),wt(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new ve(P.fromPositions(wt(new Y(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),wt(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),P.fromPositions(wt(new Y(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),wt(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new ue}}function wt(e,t){if(e.lineNumber<1)return new Y(1,1);if(e.lineNumber>t.length)return new Y(t.length,t[t.length-1].length+1);const n=t[e.lineNumber-1];return e.column>n.length+1?new Y(e.lineNumber,n.length+1):e}function Os(e,t){return e>=1&&e<=t.length}class Be extends _e{static fromRangeMappings(t){const n=X.join(t.map(r=>X.fromRangeInclusive(r.originalRange))),i=X.join(t.map(r=>X.fromRangeInclusive(r.modifiedRange)));return new Be(n,i,t)}constructor(t,n,i){super(t,n),this.innerChanges=i}flip(){var t;return new Be(this.modified,this.original,(t=this.innerChanges)==null?void 0:t.map(n=>n.flip()))}withInnerChangesFromLineRanges(){return new Be(this.original,this.modified,[this.toRangeMapping()])}}class ve{static fromEdit(t){const n=t.getNewRanges();return t.replacements.map((r,s)=>new ve(r.range,n[s]))}static assertSorted(t){for(let n=1;n<t.length;n++){const i=t[n-1],r=t[n];if(!(i.originalRange.getEndPosition().isBeforeOrEqual(r.originalRange.getStartPosition())&&i.modifiedRange.getEndPosition().isBeforeOrEqual(r.modifiedRange.getStartPosition())))throw new ue("Range mappings must be sorted")}}constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new ve(this.modifiedRange,this.originalRange)}toTextEdit(t){const n=t.getValueOfRange(this.modifiedRange);return new Xe(this.originalRange,n)}}function Vs(e,t,n,i=!1){const r=[];for(const s of Tu(e.map(a=>Mu(a,t,n)),(a,l)=>a.original.intersectsOrTouches(l.original)||a.modified.intersectsOrTouches(l.modified))){const a=s[0],l=s[s.length-1];r.push(new Be(a.original.join(l.original),a.modified.join(l.modified),s.map(o=>o.innerChanges[0])))}return Qt(()=>!i&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length.lineCount-r[r.length-1].modified.endLineNumberExclusive!==t.length.lineCount-r[r.length-1].original.endLineNumberExclusive)?!1:Yi(r,(s,a)=>a.original.startLineNumber-s.original.endLineNumberExclusive===a.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<a.original.startLineNumber&&s.modified.endLineNumberExclusive<a.modified.startLineNumber)),r}function Mu(e,t,n){let i=0,r=0;e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+i<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+i<=e.modifiedRange.endLineNumber&&(r=-1),e.modifiedRange.startColumn-1>=n.getLineLength(e.modifiedRange.startLineNumber)&&e.originalRange.startColumn-1>=t.getLineLength(e.originalRange.startLineNumber)&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(i=1);const s=new X(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+r),a=new X(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+r);return new Be(s,a,[e])}const Nu=3;class Iu{computeDiff(t,n,i){var o;const s=new Uu(t,n,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[];let l=null;for(const u of s.changes){let c;u.originalEndLineNumber===0?c=new X(u.originalStartLineNumber+1,u.originalStartLineNumber+1):c=new X(u.originalStartLineNumber,u.originalEndLineNumber+1);let d;u.modifiedEndLineNumber===0?d=new X(u.modifiedStartLineNumber+1,u.modifiedStartLineNumber+1):d=new X(u.modifiedStartLineNumber,u.modifiedEndLineNumber+1);let m=new Be(c,d,(o=u.charChanges)==null?void 0:o.map(f=>new ve(new P(f.originalStartLineNumber,f.originalStartColumn,f.originalEndLineNumber,f.originalEndColumn),new P(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===m.modified.startLineNumber||l.original.endLineNumberExclusive===m.original.startLineNumber)&&(m=new Be(l.original.join(m.original),l.modified.join(m.modified),l.innerChanges&&m.innerChanges?l.innerChanges.concat(m.innerChanges):void 0),a.pop()),a.push(m),l=m}return Qt(()=>Yi(a,(u,c)=>c.original.startLineNumber-u.original.endLineNumberExclusive===c.modified.startLineNumber-u.modified.endLineNumberExclusive&&u.original.endLineNumberExclusive<c.original.startLineNumber&&u.modified.endLineNumberExclusive<c.modified.startLineNumber)),new dn(a,[],s.quitEarly)}}function js(e,t,n,i){return new Ge(e,t,n).ComputeDiff(i)}class Gs{constructor(t){const n=[],i=[];for(let r=0,s=t.length;r<s;r++)n[r]=wi(t[r],1),i[r]=_i(t[r],1);this.lines=t,this._startColumns=n,this._endColumns=i}getElements(){const t=[];for(let n=0,i=this.lines.length;n<i;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,i){const r=[],s=[],a=[];let l=0;for(let o=n;o<=i;o++){const u=this.lines[o],c=t?this._startColumns[o]:1,d=t?this._endColumns[o]:u.length+1;for(let m=c;m<d;m++)r[l]=u.charCodeAt(m-1),s[l]=o+1,a[l]=m,l++;!t&&o<i&&(r[l]=10,s[l]=o+1,a[l]=u.length+1,l++)}return new zu(r,s,a)}}class zu{constructor(t,n,i){this._charCodes=t,this._lineNumbers=n,this._columns=i}toString(){return"["+this._charCodes.map((t,n)=>(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this._columns),this._charCodes[t]===10?1:this._columns[t]+1)}}class _t{constructor(t,n,i,r,s,a,l,o){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=i,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=l,this.modifiedEndColumn=o}static createFromDiffChange(t,n,i){const r=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),l=n.getEndColumn(t.originalStart+t.originalLength-1),o=i.getStartLineNumber(t.modifiedStart),u=i.getStartColumn(t.modifiedStart),c=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=i.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new _t(r,s,a,l,o,u,c,d)}}function Hu(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,r=e.length;i<r;i++){const s=e[i],a=s.originalStart-(n.originalStart+n.originalLength),l=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,l)<Nu?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}class Pt{constructor(t,n,i,r,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=r,this.charChanges=s}static createFromDiffResult(t,n,i,r,s,a,l){let o,u,c,d,m;if(n.originalLength===0?(o=i.getStartLineNumber(n.originalStart)-1,u=0):(o=i.getStartLineNumber(n.originalStart),u=i.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(c=r.getStartLineNumber(n.modifiedStart)-1,d=0):(c=r.getStartLineNumber(n.modifiedStart),d=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const f=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),w=r.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(f.getElements().length>0&&w.getElements().length>0){let p=js(f,w,s,!0).changes;l&&(p=Hu(p)),m=[];for(let x=0,T=p.length;x<T;x++)m.push(_t.createFromDiffChange(p[x],f,w))}}return new Pt(o,u,c,d,m)}}class Uu{constructor(t,n,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new Gs(t),this.modified=new Gs(n),this.continueLineDiff=$s(i.maxComputationTime),this.continueCharDiff=$s(i.maxComputationTime===0?0:Math.min(i.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const t=js(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,i=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const l=[];for(let o=0,u=n.length;o<u;o++)l.push(Pt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:i,changes:l}}const r=[];let s=0,a=0;for(let l=-1,o=n.length;l<o;l++){const u=l+1<o?n[l+1]:null,c=u?u.originalStart:this.originalLines.length,d=u?u.modifiedStart:this.modifiedLines.length;for(;s<c&&a<d;){const m=this.originalLines[s],f=this.modifiedLines[a];if(m!==f){{let w=wi(m,1),p=wi(f,1);for(;w>1&&p>1;){const x=m.charCodeAt(w-2),T=f.charCodeAt(p-2);if(x!==T)break;w--,p--}(w>1||p>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,w,a+1,1,p)}{let w=_i(m,1),p=_i(f,1);const x=m.length+1,T=f.length+1;for(;w<x&&p<T;){const y=m.charCodeAt(w-1),L=m.charCodeAt(p-1);if(y!==L)break;w++,p++}(w<x||p<T)&&this._pushTrimWhitespaceCharChange(r,s+1,w,x,a+1,p,T)}}s++,a++}u&&(r.push(Pt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=u.originalLength,a+=u.modifiedLength)}return{quitEarly:i,changes:r}}_pushTrimWhitespaceCharChange(t,n,i,r,s,a,l){if(this._mergeTrimWhitespaceCharChange(t,n,i,r,s,a,l))return;let o;this.shouldComputeCharChanges&&(o=[new _t(n,i,n,r,s,a,s,l)]),t.push(new Pt(n,n,s,s,o))}_mergeTrimWhitespaceCharChange(t,n,i,r,s,a,l){const o=t.length;if(o===0)return!1;const u=t[o-1];return u.originalEndLineNumber===0||u.modifiedEndLineNumber===0?!1:u.originalEndLineNumber===n&&u.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new _t(n,i,n,r,s,a,s,l)),!0):u.originalEndLineNumber+1===n&&u.modifiedEndLineNumber+1===s?(u.originalEndLineNumber=n,u.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new _t(n,i,n,r,s,a,s,l)),!0):!1}}function wi(e,t){const n=sl(e);return n===-1?t:n+1}function _i(e,t){const n=al(e);return n===-1?t:n+2}function $s(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}class qe{static trivial(t,n){return new qe([new ne($.ofLength(t.length),$.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new qe([new ne($.ofLength(t.length),$.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class ne{static invert(t,n){const i=[];return xu(t,(r,s)=>{i.push(ne.fromOffsetPairs(r?r.getEndExclusives():Oe.zero,s?s.getStarts():new Oe(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),i}static fromOffsetPairs(t,n){return new ne(new $(t.offset1,n.offset1),new $(t.offset2,n.offset2))}static assertSorted(t){let n;for(const i of t){if(n&&!(n.seq1Range.endExclusive<=i.seq1Range.start&&n.seq2Range.endExclusive<=i.seq2Range.start))throw new ue("Sequence diffs must be sorted");n=i}}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new ne(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new ne(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new ne(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new ne(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new ne(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){const n=this.seq1Range.intersect(t.seq1Range),i=this.seq2Range.intersect(t.seq2Range);if(!(!n||!i))return new ne(n,i)}getStarts(){return new Oe(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Oe(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}const at=class{constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(t){return t===0?this:new at(this.offset1+t,this.offset2+t)}equals(t){return this.offset1===t.offset1&&this.offset2===t.offset2}};let Oe=at;(()=>{at.zero=new at(0,0)})(),(()=>{at.max=new at(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)})();const In=class{isValid(){return!0}};let Bt=In;(()=>{In.instance=new In})();class Wu{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new ue("timeout must be positive")}isValid(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid}}class vi{constructor(t,n){this.width=t,this.height=n,this.array=[],this.array=new Array(t*n)}get(t,n){return this.array[t+n*this.width]}set(t,n,i){this.array[t+n*this.width]=i}}function yi(e){return e===32||e===9}const Jt=class{static getKey(t){let n=this.chrKeys.get(t);return n===void 0&&(n=this.chrKeys.size,this.chrKeys.set(t,n)),n}constructor(t,n,i){this.range=t,this.lines=n,this.source=i,this.histogram=[];let r=0;for(let s=t.startLineNumber-1;s<t.endLineNumberExclusive-1;s++){const a=n[s];for(let o=0;o<a.length;o++){r++;const u=a[o],c=Jt.getKey(u);this.histogram[c]=(this.histogram[c]||0)+1}r++;const l=Jt.getKey(`
21
- `);this.histogram[l]=(this.histogram[l]||0)+1}this.totalCount=r}computeSimilarity(t){var r,s;let n=0;const i=Math.max(this.histogram.length,t.histogram.length);for(let a=0;a<i;a++)n+=Math.abs(((r=this.histogram[a])!=null?r:0)-((s=t.histogram[a])!=null?s:0));return 1-n/(this.totalCount+t.totalCount)}};let pn=Jt;(()=>{Jt.chrKeys=new Map})();class Fu{compute(t,n,i=Bt.instance,r){if(t.length===0||n.length===0)return qe.trivial(t,n);const s=new vi(t.length,n.length),a=new vi(t.length,n.length),l=new vi(t.length,n.length);for(let w=0;w<t.length;w++)for(let p=0;p<n.length;p++){if(!i.isValid())return qe.trivialTimedOut(t,n);const x=w===0?0:s.get(w-1,p),T=p===0?0:s.get(w,p-1);let y;t.getElement(w)===n.getElement(p)?(w===0||p===0?y=0:y=s.get(w-1,p-1),w>0&&p>0&&a.get(w-1,p-1)===3&&(y+=l.get(w-1,p-1)),y+=r?r(w,p):1):y=-1;const L=Math.max(x,T,y);if(L===y){const I=w>0&&p>0?l.get(w-1,p-1):0;l.set(w,p,I+1),a.set(w,p,3)}else L===x?(l.set(w,p,0),a.set(w,p,1)):L===T&&(l.set(w,p,0),a.set(w,p,2));s.set(w,p,L)}const o=[];let u=t.length,c=n.length;function d(w,p){(w+1!==u||p+1!==c)&&o.push(new ne(new $(w+1,u),new $(p+1,c))),u=w,c=p}let m=t.length-1,f=n.length-1;for(;m>=0&&f>=0;)a.get(m,f)===3?(d(m,f),m--,f--):a.get(m,f)===1?m--:f--;return d(-1,-1),o.reverse(),new qe(o,!1)}}class Xs{compute(t,n,i=Bt.instance){if(t.length===0||n.length===0)return qe.trivial(t,n);const r=t,s=n;function a(p,x){for(;p<r.length&&x<s.length&&r.getElement(p)===s.getElement(x);)p++,x++;return p}let l=0;const o=new Pu;o.set(0,a(0,0));const u=new Bu;u.set(0,o.get(0)===0?null:new Js(null,0,0,o.get(0)));let c=0;e:for(;;){if(l++,!i.isValid())return qe.trivialTimedOut(r,s);const p=-Math.min(l,s.length+l%2),x=Math.min(l,r.length+l%2);for(c=p;c<=x;c+=2){const T=c===x?-1:o.get(c+1),y=c===p?-1:o.get(c-1)+1,L=Math.min(Math.max(T,y),r.length),I=L-c;if(L>r.length||I>s.length)continue;const H=a(L,I);o.set(c,H);const W=L===T?u.get(c+1):u.get(c-1);if(u.set(c,H!==L?new Js(W,L,I,H-L):W),o.get(c)===r.length&&o.get(c)-c===s.length)break e}}let d=u.get(c);const m=[];let f=r.length,w=s.length;for(;;){const p=d?d.x+d.length:0,x=d?d.y+d.length:0;if((p!==f||x!==w)&&m.push(new ne(new $(p,f),new $(x,w))),!d)break;f=d.x,w=d.y,d=d.prev}return m.reverse(),new qe(m,!1)}}class Js{constructor(t,n,i,r){this.prev=t,this.x=n,this.y=i,this.length=r}}class Pu{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){if(t<0){if(t=-t-1,t>=this.negativeArr.length){const i=this.negativeArr;this.negativeArr=new Int32Array(i.length*2),this.negativeArr.set(i)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){const i=this.positiveArr;this.positiveArr=new Int32Array(i.length*2),this.positiveArr.set(i)}this.positiveArr[t]=n}}}class Bu{constructor(){this.positiveArr=[],this.negativeArr=[]}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){t<0?(t=-t-1,this.negativeArr[t]=n):this.positiveArr[t]=n}}class gn{constructor(t,n,i){this.lines=t,this.range=n,this.considerWhitespaceChanges=i,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let r=this.range.startLineNumber;r<=this.range.endLineNumber;r++){let s=t[r-1],a=0;r===this.range.startLineNumber&&this.range.startColumn>1&&(a=this.range.startColumn-1,s=s.substring(a)),this.lineStartOffsets.push(a);let l=0;if(!i){const u=s.trimStart();l=s.length-u.length,s=u.trimEnd()}this.trimmedWsLengthsByLineIdx.push(l);const o=r===this.range.endLineNumber?Math.min(this.range.endColumn-1-a-l,s.length):s.length;for(let u=0;u<o;u++)this.elements.push(s.charCodeAt(u));r<this.range.endLineNumber&&(this.elements.push(`
22
- `.charCodeAt(0)),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new $(0,this.length))}getText(t){return this.elements.slice(t.start,t.endExclusive).map(n=>String.fromCharCode(n)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=Zs(t>0?this.elements[t-1]:-1),i=Zs(t<this.elements.length?this.elements[t]:-1);if(n===7&&i===8)return 0;if(n===8)return 150;let r=0;return n!==i&&(r+=10,n===0&&i===1&&(r+=1)),r+=Qs(n),r+=Qs(i),r}translateOffset(t,n="right"){const i=gt(this.firstElementOffsetByLineIdx,s=>s<=t),r=t-this.firstElementOffsetByLineIdx[i];return new Y(this.range.startLineNumber+i,1+this.lineStartOffsets[i]+r+(r===0&&n==="left"?0:this.trimmedWsLengthsByLineIdx[i]))}translateRange(t){const n=this.translateOffset(t.start,"right"),i=this.translateOffset(t.endExclusive,"left");return i.isBefore(n)?P.fromPositions(i,i):P.fromPositions(n,i)}findWordContaining(t){if(t<0||t>=this.elements.length||!vt(this.elements[t]))return;let n=t;for(;n>0&&vt(this.elements[n-1]);)n--;let i=t;for(;i<this.elements.length&&vt(this.elements[i]);)i++;return new $(n,i)}findSubWordContaining(t){if(t<0||t>=this.elements.length||!vt(this.elements[t]))return;let n=t;for(;n>0&&vt(this.elements[n-1])&&!Ys(this.elements[n]);)n--;let i=t;for(;i<this.elements.length&&vt(this.elements[i])&&!Ys(this.elements[i]);)i++;return new $(n,i)}countLinesIn(t){return this.translateOffset(t.endExclusive).lineNumber-this.translateOffset(t.start).lineNumber}isStronglyEqual(t,n){return this.elements[t]===this.elements[n]}extendToFullLines(t){var r,s;const n=(r=pt(this.firstElementOffsetByLineIdx,a=>a<=t.start))!=null?r:0,i=(s=Lu(this.firstElementOffsetByLineIdx,a=>t.endExclusive<=a))!=null?s:this.elements.length;return new $(n,i)}}function vt(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}function Ys(e){return e>=65&&e<=90}const qu={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:30,[6]:3,[7]:10,[8]:10};function Qs(e){return qu[e]}function Zs(e){return e===10?8:e===13?7:yi(e)?6:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:e===44||e===59?5:4}function Ou(e,t,n,i,r,s){let{moves:a,excludedChanges:l}=ju(e,t,n,s);if(!s.isValid())return[];const o=e.filter(c=>!l.has(c)),u=Gu(o,i,r,t,n,s);return Su(a,u),a=$u(a),a=a.filter(c=>{const d=c.original.toOffsetRange().slice(t).map(f=>f.trim());return d.join(`
23
- `).length>=15&&Vu(d,f=>f.length>=2)>=2}),a=Xu(e,a),a}function Vu(e,t){let n=0;for(const i of e)t(i)&&n++;return n}function ju(e,t,n,i){const r=[],s=e.filter(o=>o.modified.isEmpty&&o.original.length>=3).map(o=>new pn(o.original,t,o)),a=new Set(e.filter(o=>o.original.isEmpty&&o.modified.length>=3).map(o=>new pn(o.modified,n,o))),l=new Set;for(const o of s){let u=-1,c;for(const d of a){const m=o.computeSimilarity(d);m>u&&(u=m,c=d)}if(u>.9&&c&&(a.delete(c),r.push(new _e(o.range,c.range)),l.add(o.source),l.add(c.source)),!i.isValid())return{moves:r,excludedChanges:l}}return{moves:r,excludedChanges:l}}function Gu(e,t,n,i,r,s){const a=[],l=new uu;for(const m of e)for(let f=m.original.startLineNumber;f<m.original.endLineNumberExclusive-2;f++){const w=`${t[f-1]}:${t[f+1-1]}:${t[f+2-1]}`;l.add(w,{range:new X(f,f+3)})}const o=[];e.sort(Ut(m=>m.modified.startLineNumber,Wt));for(const m of e){let f=[];for(let w=m.modified.startLineNumber;w<m.modified.endLineNumberExclusive-2;w++){const p=`${n[w-1]}:${n[w+1-1]}:${n[w+2-1]}`,x=new X(w,w+3),T=[];l.forEach(p,({range:y})=>{for(const I of f)if(I.originalLineRange.endLineNumberExclusive+1===y.endLineNumberExclusive&&I.modifiedLineRange.endLineNumberExclusive+1===x.endLineNumberExclusive){I.originalLineRange=new X(I.originalLineRange.startLineNumber,y.endLineNumberExclusive),I.modifiedLineRange=new X(I.modifiedLineRange.startLineNumber,x.endLineNumberExclusive),T.push(I);return}const L={modifiedLineRange:x,originalLineRange:y};o.push(L),T.push(L)}),f=T}if(!s.isValid())return[]}o.sort(Au(Ut(m=>m.modifiedLineRange.length,Wt)));const u=new Ie,c=new Ie;for(const m of o){const f=m.modifiedLineRange.startLineNumber-m.originalLineRange.startLineNumber,w=u.subtractFrom(m.modifiedLineRange),p=c.subtractFrom(m.originalLineRange).getWithDelta(f),x=w.getIntersection(p);for(const T of x.ranges){if(T.length<3)continue;const y=T,L=T.delta(-f);a.push(new _e(L,y)),u.addRange(y),c.addRange(L)}}a.sort(Ut(m=>m.original.startLineNumber,Wt));const d=new mn(e);for(let m=0;m<a.length;m++){const f=a[m],w=d.findLastMonotonous(W=>W.original.startLineNumber<=f.original.startLineNumber),p=pt(e,W=>W.modified.startLineNumber<=f.modified.startLineNumber),x=Math.max(f.original.startLineNumber-w.original.startLineNumber,f.modified.startLineNumber-p.modified.startLineNumber),T=d.findLastMonotonous(W=>W.original.startLineNumber<f.original.endLineNumberExclusive),y=pt(e,W=>W.modified.startLineNumber<f.modified.endLineNumberExclusive),L=Math.max(T.original.endLineNumberExclusive-f.original.endLineNumberExclusive,y.modified.endLineNumberExclusive-f.modified.endLineNumberExclusive);let I;for(I=0;I<x;I++){const W=f.original.startLineNumber-I-1,b=f.modified.startLineNumber-I-1;if(W>i.length||b>r.length||u.contains(b)||c.contains(W)||!Ks(i[W-1],r[b-1],s))break}I>0&&(c.addRange(new X(f.original.startLineNumber-I,f.original.startLineNumber)),u.addRange(new X(f.modified.startLineNumber-I,f.modified.startLineNumber)));let H;for(H=0;H<L;H++){const W=f.original.endLineNumberExclusive+H,b=f.modified.endLineNumberExclusive+H;if(W>i.length||b>r.length||u.contains(b)||c.contains(W)||!Ks(i[W-1],r[b-1],s))break}H>0&&(c.addRange(new X(f.original.endLineNumberExclusive,f.original.endLineNumberExclusive+H)),u.addRange(new X(f.modified.endLineNumberExclusive,f.modified.endLineNumberExclusive+H))),(I>0||H>0)&&(a[m]=new _e(new X(f.original.startLineNumber-I,f.original.endLineNumberExclusive+H),new X(f.modified.startLineNumber-I,f.modified.endLineNumberExclusive+H)))}return a}function Ks(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;const r=new Xs().compute(new gn([e],new P(1,1,1,e.length),!1),new gn([t],new P(1,1,1,t.length),!1),n);let s=0;const a=ne.invert(r.diffs,e.length);for(const c of a)c.seq1Range.forEach(d=>{yi(e.charCodeAt(d))||s++});function l(c){let d=0;for(let m=0;m<e.length;m++)yi(c.charCodeAt(m))||d++;return d}const o=l(e.length>t.length?e:t);return s/o>.6&&o>10}function $u(e){if(e.length===0)return e;e.sort(Ut(n=>n.original.startLineNumber,Wt));const t=[e[0]];for(let n=1;n<e.length;n++){const i=t[t.length-1],r=e[n],s=r.original.startLineNumber-i.original.endLineNumberExclusive,a=r.modified.startLineNumber-i.modified.endLineNumberExclusive;if(s>=0&&a>=0&&s+a<=2){t[t.length-1]=i.join(r);continue}t.push(r)}return t}function Xu(e,t){const n=new mn(e);return t=t.filter(i=>{const r=n.findLastMonotonous(l=>l.original.startLineNumber<i.original.endLineNumberExclusive)||new _e(new X(1,1),new X(1,1)),s=pt(e,l=>l.modified.startLineNumber<i.modified.endLineNumberExclusive);return r!==s}),t}function ea(e,t,n){let i=n;return i=ta(e,t,i),i=ta(e,t,i),i=Ju(e,t,i),i}function ta(e,t,n){if(n.length===0)return n;const i=[];i.push(n[0]);for(let s=1;s<n.length;s++){const a=i[i.length-1];let l=n[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){const o=l.seq1Range.start-a.seq1Range.endExclusive;let u;for(u=1;u<=o&&!(e.getElement(l.seq1Range.start-u)!==e.getElement(l.seq1Range.endExclusive-u)||t.getElement(l.seq2Range.start-u)!==t.getElement(l.seq2Range.endExclusive-u));u++);if(u--,u===o){i[i.length-1]=new ne(new $(a.seq1Range.start,l.seq1Range.endExclusive-o),new $(a.seq2Range.start,l.seq2Range.endExclusive-o));continue}l=l.delta(-u)}i.push(l)}const r=[];for(let s=0;s<i.length-1;s++){const a=i[s+1];let l=i[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){const o=a.seq1Range.start-l.seq1Range.endExclusive;let u;for(u=0;u<o&&!(!e.isStronglyEqual(l.seq1Range.start+u,l.seq1Range.endExclusive+u)||!t.isStronglyEqual(l.seq2Range.start+u,l.seq2Range.endExclusive+u));u++);if(u===o){i[s+1]=new ne(new $(l.seq1Range.start+o,a.seq1Range.endExclusive),new $(l.seq2Range.start+o,a.seq2Range.endExclusive));continue}u>0&&(l=l.delta(u))}r.push(l)}return i.length>0&&r.push(i[i.length-1]),r}function Ju(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let i=0;i<n.length;i++){const r=i>0?n[i-1]:void 0,s=n[i],a=i+1<n.length?n[i+1]:void 0,l=new $(r?r.seq1Range.endExclusive+1:0,a?a.seq1Range.start-1:e.length),o=new $(r?r.seq2Range.endExclusive+1:0,a?a.seq2Range.start-1:t.length);s.seq1Range.isEmpty?n[i]=na(s,e,t,l,o):s.seq2Range.isEmpty&&(n[i]=na(s.swap(),t,e,o,l).swap())}return n}function na(e,t,n,i,r){let a=1;for(;e.seq1Range.start-a>=i.start&&e.seq2Range.start-a>=r.start&&n.isStronglyEqual(e.seq2Range.start-a,e.seq2Range.endExclusive-a)&&a<100;)a++;a--;let l=0;for(;e.seq1Range.start+l<i.endExclusive&&e.seq2Range.endExclusive+l<r.endExclusive&&n.isStronglyEqual(e.seq2Range.start+l,e.seq2Range.endExclusive+l)&&l<100;)l++;if(a===0&&l===0)return e;let o=0,u=-1;for(let c=-a;c<=l;c++){const d=e.seq2Range.start+c,m=e.seq2Range.endExclusive+c,f=e.seq1Range.start+c,w=t.getBoundaryScore(f)+n.getBoundaryScore(d)+n.getBoundaryScore(m);w>u&&(u=w,o=c)}return e.delta(o)}function Yu(e,t,n){const i=[];for(const r of n){const s=i[i.length-1];if(!s){i.push(r);continue}r.seq1Range.start-s.seq1Range.endExclusive<=2||r.seq2Range.start-s.seq2Range.endExclusive<=2?i[i.length-1]=new ne(s.seq1Range.join(r.seq1Range),s.seq2Range.join(r.seq2Range)):i.push(r)}return i}function ia(e,t,n,i,r=!1){const s=ne.invert(n,e.length),a=[];let l=new Oe(0,0);function o(c,d){if(c.offset1<l.offset1||c.offset2<l.offset2)return;const m=i(e,c.offset1),f=i(t,c.offset2);if(!m||!f)return;let w=new ne(m,f);const p=w.intersect(d);let x=p.seq1Range.length,T=p.seq2Range.length;for(;s.length>0;){const y=s[0];if(!(y.seq1Range.intersects(w.seq1Range)||y.seq2Range.intersects(w.seq2Range)))break;const I=i(e,y.seq1Range.start),H=i(t,y.seq2Range.start),W=new ne(I,H),b=W.intersect(y);if(x+=b.seq1Range.length,T+=b.seq2Range.length,w=w.join(W),w.seq1Range.endExclusive>=y.seq1Range.endExclusive)s.shift();else break}(r&&x+T<w.seq1Range.length+w.seq2Range.length||x+T<(w.seq1Range.length+w.seq2Range.length)*2/3)&&a.push(w),l=w.getEndExclusives()}for(;s.length>0;){const c=s.shift();c.seq1Range.isEmpty||(o(c.getStarts(),c),o(c.getEndExclusives().delta(-1),c))}return Qu(n,a)}function Qu(e,t){const n=[];for(;e.length>0||t.length>0;){const i=e[0],r=t[0];let s;i&&(!r||i.seq1Range.start<r.seq1Range.start)?s=e.shift():s=t.shift(),n.length>0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}function Zu(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;const a=[i[0]];for(let l=1;l<i.length;l++){let c=function(m,f){const w=new $(u.seq1Range.endExclusive,o.seq1Range.start);return e.getText(w).replace(/\s/g,"").length<=4&&(m.seq1Range.length+m.seq2Range.length>5||f.seq1Range.length+f.seq2Range.length>5)};const o=i[l],u=a[a.length-1];c(u,o)?(s=!0,a[a.length-1]=a[a.length-1].join(o)):a.push(o)}i=a}while(r++<10&&s);return i}function Ku(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;const l=[i[0]];for(let o=1;o<i.length;o++){let d=function(f,w){const p=new $(c.seq1Range.endExclusive,u.seq1Range.start);if(e.countLinesIn(p)>5||p.length>500)return!1;const T=e.getText(p).trim();if(T.length>20||T.split(/\r\n|\r|\n/).length>1)return!1;const y=e.countLinesIn(f.seq1Range),L=f.seq1Range.length,I=t.countLinesIn(f.seq2Range),H=f.seq2Range.length,W=e.countLinesIn(w.seq1Range),b=w.seq1Range.length,g=t.countLinesIn(w.seq2Range),_=w.seq2Range.length,N=2*40+50;function S(v){return Math.min(v,N)}return Math.pow(Math.pow(S(y*40+L),1.5)+Math.pow(S(I*40+H),1.5),1.5)+Math.pow(Math.pow(S(W*40+b),1.5)+Math.pow(S(g*40+_),1.5),1.5)>(N**1.5)**1.5*1.3};const u=i[o],c=l[l.length-1];d(c,u)?(s=!0,l[l.length-1]=l[l.length-1].join(u)):l.push(u)}i=l}while(r++<10&&s);const a=[];return ku(i,(l,o,u)=>{let c=o;function d(T){return T.length>0&&T.trim().length<=3&&o.seq1Range.length+o.seq2Range.length>100}const m=e.extendToFullLines(o.seq1Range),f=e.getText(new $(m.start,o.seq1Range.start));d(f)&&(c=c.deltaStart(-f.length));const w=e.getText(new $(o.seq1Range.endExclusive,m.endExclusive));d(w)&&(c=c.deltaEnd(w.length));const p=ne.fromOffsetPairs(l?l.getEndExclusives():Oe.zero,u?u.getStarts():Oe.max),x=c.intersect(p);a.length>0&&x.getStarts().equals(a[a.length-1].getEndExclusives())?a[a.length-1]=a[a.length-1].join(x):a.push(x)}),a}class ra{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){const n=t===0?0:sa(this.lines[t-1]),i=t===this.lines.length?0:sa(this.lines[t]);return 1e3-(n+i)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(`
24
- `)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}}function sa(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}class ec{constructor(){this.dynamicProgrammingDiffing=new Fu,this.myersDiffingAlgorithm=new Xs}computeDiff(t,n,i){if(t.length<=1&&yu(t,n,(b,g)=>b===g))return new dn([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new dn([new Be(new X(1,t.length+1),new X(1,n.length+1),[new ve(new P(1,1,t.length,t[t.length-1].length+1),new P(1,1,n.length,n[n.length-1].length+1))])],[],!1);const r=i.maxComputationTimeMs===0?Bt.instance:new Wu(i.maxComputationTimeMs),s=!i.ignoreTrimWhitespace,a=new Map;function l(b){let g=a.get(b);return g===void 0&&(g=a.size,a.set(b,g)),g}const o=t.map(b=>l(b.trim())),u=n.map(b=>l(b.trim())),c=new ra(o,t),d=new ra(u,n),m=(()=>c.length+d.length<1700?this.dynamicProgrammingDiffing.compute(c,d,r,(b,g)=>t[b]===n[g]?n[g].length===0?.1:1+Math.log(1+n[g].length):.99):this.myersDiffingAlgorithm.compute(c,d,r))();let f=m.diffs,w=m.hitTimeout;f=ea(c,d,f),f=Zu(c,d,f);const p=[],x=b=>{if(!!s)for(let g=0;g<b;g++){const _=T+g,N=y+g;if(t[_]!==n[N]){const S=this.refineDiff(t,n,new ne(new $(_,_+1),new $(N,N+1)),r,s,i);for(const v of S.mappings)p.push(v);S.hitTimeout&&(w=!0)}}};let T=0,y=0;for(const b of f){Qt(()=>b.seq1Range.start-T===b.seq2Range.start-y);const g=b.seq1Range.start-T;x(g),T=b.seq1Range.endExclusive,y=b.seq2Range.endExclusive;const _=this.refineDiff(t,n,b,r,s,i);_.hitTimeout&&(w=!0);for(const N of _.mappings)p.push(N)}x(t.length-T);const L=new fn(t),I=new fn(n),H=Vs(p,L,I);let W=[];return i.computeMoves&&(W=this.computeMoves(H,t,n,o,u,r,s,i)),Qt(()=>{function b(_,N){if(_.lineNumber<1||_.lineNumber>N.length)return!1;const S=N[_.lineNumber-1];return!(_.column<1||_.column>S.length+1)}function g(_,N){return!(_.startLineNumber<1||_.startLineNumber>N.length+1||_.endLineNumberExclusive<1||_.endLineNumberExclusive>N.length+1)}for(const _ of H){if(!_.innerChanges)return!1;for(const N of _.innerChanges)if(!(b(N.modifiedRange.getStartPosition(),n)&&b(N.modifiedRange.getEndPosition(),n)&&b(N.originalRange.getStartPosition(),t)&&b(N.originalRange.getEndPosition(),t)))return!1;if(!g(_.modified,n)||!g(_.original,t))return!1}return!0}),new dn(H,W,w)}computeMoves(t,n,i,r,s,a,l,o){return Ou(t,n,i,r,s,a).map(d=>{const m=this.refineDiff(n,i,new ne(d.original.toOffsetRange(),d.modified.toOffsetRange()),a,l,o),f=Vs(m.mappings,new fn(n),new fn(i),!0);return new vu(d,f)})}refineDiff(t,n,i,r,s,a){const o=tc(i).toRangeMapping2(t,n),u=new gn(t,o.originalRange,s),c=new gn(n,o.modifiedRange,s),d=u.length+c.length<500?this.dynamicProgrammingDiffing.compute(u,c,r):this.myersDiffingAlgorithm.compute(u,c,r);let m=d.diffs;return m=ea(u,c,m),m=ia(u,c,m,(w,p)=>w.findWordContaining(p)),a.extendToSubwords&&(m=ia(u,c,m,(w,p)=>w.findSubWordContaining(p),!0)),m=Yu(u,c,m),m=Ku(u,c,m),{mappings:m.map(w=>new ve(u.translateRange(w.seq1Range),c.translateRange(w.seq2Range))),hitTimeout:d.hitTimeout}}}function tc(e){return new _e(new X(e.seq1Range.start+1,e.seq1Range.endExclusive+1),new X(e.seq2Range.start+1,e.seq2Range.endExclusive+1))}const aa={getLegacy:()=>new Iu,getDefault:()=>new ec};function Je(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class C{constructor(t,n,i,r=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,t))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,i))|0,this.a=Je(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}}class ye{constructor(t,n,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=Je(Math.max(Math.min(1,n),0),3),this.l=Je(Math.max(Math.min(1,i),0),3),this.a=Je(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.l===n.l&&t.a===n.a}static fromRGBA(t){const n=t.r/255,i=t.g/255,r=t.b/255,s=t.a,a=Math.max(n,i,r),l=Math.min(n,i,r);let o=0,u=0;const c=(l+a)/2,d=a-l;if(d>0){switch(u=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),a){case n:o=(i-r)/d+(i<r?6:0);break;case i:o=(r-n)/d+2;break;case r:o=(n-i)/d+4;break}o*=60,o=Math.round(o)}return new ye(o,u,c,s)}static _hue2rgb(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}static toRGBA(t){const n=t.h/360,{s:i,l:r,a:s}=t;let a,l,o;if(i===0)a=l=o=r;else{const u=r<.5?r*(1+i):r+i-r*i,c=2*r-u;a=ye._hue2rgb(c,u,n+1/3),l=ye._hue2rgb(c,u,n),o=ye._hue2rgb(c,u,n-1/3)}return new C(Math.round(a*255),Math.round(l*255),Math.round(o*255),s)}}class yt{constructor(t,n,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=Je(Math.max(Math.min(1,n),0),3),this.v=Je(Math.max(Math.min(1,i),0),3),this.a=Je(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.v===n.v&&t.a===n.a}static fromRGBA(t){const n=t.r/255,i=t.g/255,r=t.b/255,s=Math.max(n,i,r),a=Math.min(n,i,r),l=s-a,o=s===0?0:l/s;let u;return l===0?u=0:s===n?u=((i-r)/l%6+6)%6:s===i?u=(r-n)/l+2:u=(n-i)/l+4,new yt(Math.round(u*60),o,s,t.a)}static toRGBA(t){const{h:n,s:i,v:r,a:s}=t,a=r*i,l=a*(1-Math.abs(n/60%2-1)),o=r-a;let[u,c,d]=[0,0,0];return n<60?(u=a,c=l):n<120?(u=l,c=a):n<180?(c=a,d=l):n<240?(c=l,d=a):n<300?(u=l,d=a):n<=360&&(u=a,d=l),u=Math.round((u+o)*255),c=Math.round((c+o)*255),d=Math.round((d+o)*255),new C(u,c,d,s)}}const Q=class{static fromHex(t){return Q.Format.CSS.parseHex(t)||Q.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:ye.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:yt.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof C)this.rgba=t;else if(t instanceof ye)this._hsla=t,this.rgba=ye.toRGBA(t);else if(t instanceof yt)this._hsva=t,this.rgba=yt.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&C.equals(this.rgba,t.rgba)&&ye.equals(this.hsla,t.hsla)&&yt.equals(this.hsva,t.hsva)}getRelativeLuminance(){const t=Q._relativeLuminanceForComponent(this.rgba.r),n=Q._relativeLuminanceForComponent(this.rgba.g),i=Q._relativeLuminanceForComponent(this.rgba.b),r=.2126*t+.7152*n+.0722*i;return Je(r,4)}static _relativeLuminanceForComponent(t){const n=t/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(t){const n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n>i}isDarkerThan(t){const n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n<i}lighten(t){return new Q(new ye(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new Q(new ye(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))}transparent(t){const{r:n,g:i,b:r,a:s}=this.rgba;return new Q(new C(n,i,r,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new Q(new C(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}mix(t,n=.5){const i=Math.min(Math.max(n,0),1),r=this.rgba,s=t.rgba,a=r.r+(s.r-r.r)*i,l=r.g+(s.g-r.g)*i,o=r.b+(s.b-r.b)*i,u=r.a+(s.a-r.a)*i;return new Q(new C(a,l,o,u))}makeOpaque(t){if(this.isOpaque()||t.rgba.a!==1)return this;const{r:n,g:i,b:r,a:s}=this.rgba;return new Q(new C(t.rgba.r-s*(t.rgba.r-n),t.rgba.g-s*(t.rgba.g-i),t.rgba.b-s*(t.rgba.b-r),1))}toString(){return this._toString||(this._toString=Q.Format.CSS.format(this)),this._toString}toNumber32Bit(){return this._toNumber32Bit||(this._toNumber32Bit=(this.rgba.r<<24|this.rgba.g<<16|this.rgba.b<<8|this.rgba.a*255<<0)>>>0),this._toNumber32Bit}static getLighterColor(t,n,i){if(t.isLighterThan(n))return t;i=i||.5;const r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(s-r)/s,t.lighten(i)}static getDarkerColor(t,n,i){if(t.isDarkerThan(n))return t;i=i||.5;const r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(r-s)/r,t.darken(i)}};let Tt=Q;(()=>{Q.white=new Q(new C(255,255,255,1))})(),(()=>{Q.black=new Q(new C(0,0,0,1))})(),(()=>{Q.red=new Q(new C(255,0,0,1))})(),(()=>{Q.blue=new Q(new C(0,0,255,1))})(),(()=>{Q.green=new Q(new C(0,255,0,1))})(),(()=>{Q.cyan=new Q(new C(0,255,255,1))})(),(()=>{Q.lightgrey=new Q(new C(211,211,211,1))})(),(()=>{Q.transparent=new Q(new C(0,0,0,0))})(),function(e){(function(t){(function(n){function i(p){return p.rgba.a===1?`rgb(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b})`:e.Format.CSS.formatRGBA(p)}n.formatRGB=i;function r(p){return`rgba(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b}, ${+p.rgba.a.toFixed(2)})`}n.formatRGBA=r;function s(p){return p.hsla.a===1?`hsl(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%)`:e.Format.CSS.formatHSLA(p)}n.formatHSL=s;function a(p){return`hsla(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%, ${p.hsla.a.toFixed(2)})`}n.formatHSLA=a;function l(p){const x=p.toString(16);return x.length!==2?"0"+x:x}function o(p){return`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}`}n.formatHex=o;function u(p,x=!1){return x&&p.rgba.a===1?e.Format.CSS.formatHex(p):`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}${l(Math.round(p.rgba.a*255))}`}n.formatHexA=u;function c(p){return p.isOpaque()?e.Format.CSS.formatHex(p):e.Format.CSS.formatRGBA(p)}n.format=c;function d(p){var x,T,y,L,I,H,W,b,g,_,N,S,v,A;if(p==="transparent")return e.transparent;if(p.startsWith("#"))return f(p);if(p.startsWith("rgba(")){const E=p.match(/rgba\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+), *(?<a>(?:\+|-)?\d+(\.\d+)?)\)/);if(!E)throw new Error("Invalid color format "+p);const k=parseInt((T=(x=E.groups)==null?void 0:x.r)!=null?T:"0"),D=parseInt((L=(y=E.groups)==null?void 0:y.g)!=null?L:"0"),M=parseInt((H=(I=E.groups)==null?void 0:I.b)!=null?H:"0"),F=parseFloat((b=(W=E.groups)==null?void 0:W.a)!=null?b:"0");return new e(new C(k,D,M,F))}if(p.startsWith("rgb(")){const E=p.match(/rgb\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+)\)/);if(!E)throw new Error("Invalid color format "+p);const k=parseInt((_=(g=E.groups)==null?void 0:g.r)!=null?_:"0"),D=parseInt((S=(N=E.groups)==null?void 0:N.g)!=null?S:"0"),M=parseInt((A=(v=E.groups)==null?void 0:v.b)!=null?A:"0");return new e(new C(k,D,M))}return m(p)}n.parse=d;function m(p){switch(p){case"aliceblue":return new e(new C(240,248,255,1));case"antiquewhite":return new e(new C(250,235,215,1));case"aqua":return new e(new C(0,255,255,1));case"aquamarine":return new e(new C(127,255,212,1));case"azure":return new e(new C(240,255,255,1));case"beige":return new e(new C(245,245,220,1));case"bisque":return new e(new C(255,228,196,1));case"black":return new e(new C(0,0,0,1));case"blanchedalmond":return new e(new C(255,235,205,1));case"blue":return new e(new C(0,0,255,1));case"blueviolet":return new e(new C(138,43,226,1));case"brown":return new e(new C(165,42,42,1));case"burlywood":return new e(new C(222,184,135,1));case"cadetblue":return new e(new C(95,158,160,1));case"chartreuse":return new e(new C(127,255,0,1));case"chocolate":return new e(new C(210,105,30,1));case"coral":return new e(new C(255,127,80,1));case"cornflowerblue":return new e(new C(100,149,237,1));case"cornsilk":return new e(new C(255,248,220,1));case"crimson":return new e(new C(220,20,60,1));case"cyan":return new e(new C(0,255,255,1));case"darkblue":return new e(new C(0,0,139,1));case"darkcyan":return new e(new C(0,139,139,1));case"darkgoldenrod":return new e(new C(184,134,11,1));case"darkgray":return new e(new C(169,169,169,1));case"darkgreen":return new e(new C(0,100,0,1));case"darkgrey":return new e(new C(169,169,169,1));case"darkkhaki":return new e(new C(189,183,107,1));case"darkmagenta":return new e(new C(139,0,139,1));case"darkolivegreen":return new e(new C(85,107,47,1));case"darkorange":return new e(new C(255,140,0,1));case"darkorchid":return new e(new C(153,50,204,1));case"darkred":return new e(new C(139,0,0,1));case"darksalmon":return new e(new C(233,150,122,1));case"darkseagreen":return new e(new C(143,188,143,1));case"darkslateblue":return new e(new C(72,61,139,1));case"darkslategray":return new e(new C(47,79,79,1));case"darkslategrey":return new e(new C(47,79,79,1));case"darkturquoise":return new e(new C(0,206,209,1));case"darkviolet":return new e(new C(148,0,211,1));case"deeppink":return new e(new C(255,20,147,1));case"deepskyblue":return new e(new C(0,191,255,1));case"dimgray":return new e(new C(105,105,105,1));case"dimgrey":return new e(new C(105,105,105,1));case"dodgerblue":return new e(new C(30,144,255,1));case"firebrick":return new e(new C(178,34,34,1));case"floralwhite":return new e(new C(255,250,240,1));case"forestgreen":return new e(new C(34,139,34,1));case"fuchsia":return new e(new C(255,0,255,1));case"gainsboro":return new e(new C(220,220,220,1));case"ghostwhite":return new e(new C(248,248,255,1));case"gold":return new e(new C(255,215,0,1));case"goldenrod":return new e(new C(218,165,32,1));case"gray":return new e(new C(128,128,128,1));case"green":return new e(new C(0,128,0,1));case"greenyellow":return new e(new C(173,255,47,1));case"grey":return new e(new C(128,128,128,1));case"honeydew":return new e(new C(240,255,240,1));case"hotpink":return new e(new C(255,105,180,1));case"indianred":return new e(new C(205,92,92,1));case"indigo":return new e(new C(75,0,130,1));case"ivory":return new e(new C(255,255,240,1));case"khaki":return new e(new C(240,230,140,1));case"lavender":return new e(new C(230,230,250,1));case"lavenderblush":return new e(new C(255,240,245,1));case"lawngreen":return new e(new C(124,252,0,1));case"lemonchiffon":return new e(new C(255,250,205,1));case"lightblue":return new e(new C(173,216,230,1));case"lightcoral":return new e(new C(240,128,128,1));case"lightcyan":return new e(new C(224,255,255,1));case"lightgoldenrodyellow":return new e(new C(250,250,210,1));case"lightgray":return new e(new C(211,211,211,1));case"lightgreen":return new e(new C(144,238,144,1));case"lightgrey":return new e(new C(211,211,211,1));case"lightpink":return new e(new C(255,182,193,1));case"lightsalmon":return new e(new C(255,160,122,1));case"lightseagreen":return new e(new C(32,178,170,1));case"lightskyblue":return new e(new C(135,206,250,1));case"lightslategray":return new e(new C(119,136,153,1));case"lightslategrey":return new e(new C(119,136,153,1));case"lightsteelblue":return new e(new C(176,196,222,1));case"lightyellow":return new e(new C(255,255,224,1));case"lime":return new e(new C(0,255,0,1));case"limegreen":return new e(new C(50,205,50,1));case"linen":return new e(new C(250,240,230,1));case"magenta":return new e(new C(255,0,255,1));case"maroon":return new e(new C(128,0,0,1));case"mediumaquamarine":return new e(new C(102,205,170,1));case"mediumblue":return new e(new C(0,0,205,1));case"mediumorchid":return new e(new C(186,85,211,1));case"mediumpurple":return new e(new C(147,112,219,1));case"mediumseagreen":return new e(new C(60,179,113,1));case"mediumslateblue":return new e(new C(123,104,238,1));case"mediumspringgreen":return new e(new C(0,250,154,1));case"mediumturquoise":return new e(new C(72,209,204,1));case"mediumvioletred":return new e(new C(199,21,133,1));case"midnightblue":return new e(new C(25,25,112,1));case"mintcream":return new e(new C(245,255,250,1));case"mistyrose":return new e(new C(255,228,225,1));case"moccasin":return new e(new C(255,228,181,1));case"navajowhite":return new e(new C(255,222,173,1));case"navy":return new e(new C(0,0,128,1));case"oldlace":return new e(new C(253,245,230,1));case"olive":return new e(new C(128,128,0,1));case"olivedrab":return new e(new C(107,142,35,1));case"orange":return new e(new C(255,165,0,1));case"orangered":return new e(new C(255,69,0,1));case"orchid":return new e(new C(218,112,214,1));case"palegoldenrod":return new e(new C(238,232,170,1));case"palegreen":return new e(new C(152,251,152,1));case"paleturquoise":return new e(new C(175,238,238,1));case"palevioletred":return new e(new C(219,112,147,1));case"papayawhip":return new e(new C(255,239,213,1));case"peachpuff":return new e(new C(255,218,185,1));case"peru":return new e(new C(205,133,63,1));case"pink":return new e(new C(255,192,203,1));case"plum":return new e(new C(221,160,221,1));case"powderblue":return new e(new C(176,224,230,1));case"purple":return new e(new C(128,0,128,1));case"rebeccapurple":return new e(new C(102,51,153,1));case"red":return new e(new C(255,0,0,1));case"rosybrown":return new e(new C(188,143,143,1));case"royalblue":return new e(new C(65,105,225,1));case"saddlebrown":return new e(new C(139,69,19,1));case"salmon":return new e(new C(250,128,114,1));case"sandybrown":return new e(new C(244,164,96,1));case"seagreen":return new e(new C(46,139,87,1));case"seashell":return new e(new C(255,245,238,1));case"sienna":return new e(new C(160,82,45,1));case"silver":return new e(new C(192,192,192,1));case"skyblue":return new e(new C(135,206,235,1));case"slateblue":return new e(new C(106,90,205,1));case"slategray":return new e(new C(112,128,144,1));case"slategrey":return new e(new C(112,128,144,1));case"snow":return new e(new C(255,250,250,1));case"springgreen":return new e(new C(0,255,127,1));case"steelblue":return new e(new C(70,130,180,1));case"tan":return new e(new C(210,180,140,1));case"teal":return new e(new C(0,128,128,1));case"thistle":return new e(new C(216,191,216,1));case"tomato":return new e(new C(255,99,71,1));case"turquoise":return new e(new C(64,224,208,1));case"violet":return new e(new C(238,130,238,1));case"wheat":return new e(new C(245,222,179,1));case"white":return new e(new C(255,255,255,1));case"whitesmoke":return new e(new C(245,245,245,1));case"yellow":return new e(new C(255,255,0,1));case"yellowgreen":return new e(new C(154,205,50,1));default:return null}}function f(p){const x=p.length;if(x===0||p.charCodeAt(0)!==35)return null;if(x===7){const T=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),y=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),L=16*w(p.charCodeAt(5))+w(p.charCodeAt(6));return new e(new C(T,y,L,1))}if(x===9){const T=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),y=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),L=16*w(p.charCodeAt(5))+w(p.charCodeAt(6)),I=16*w(p.charCodeAt(7))+w(p.charCodeAt(8));return new e(new C(T,y,L,I/255))}if(x===4){const T=w(p.charCodeAt(1)),y=w(p.charCodeAt(2)),L=w(p.charCodeAt(3));return new e(new C(16*T+T,16*y+y,16*L+L))}if(x===5){const T=w(p.charCodeAt(1)),y=w(p.charCodeAt(2)),L=w(p.charCodeAt(3)),I=w(p.charCodeAt(4));return new e(new C(16*T+T,16*y+y,16*L+L,(16*I+I)/255))}return null}n.parseHex=f;function w(p){switch(p){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(t.CSS||(t.CSS={}))})(e.Format||(e.Format={}))}(Tt||(Tt={}));function oa(e){const t=[];for(const n of e){const i=Number(n);(i||i===0&&n.replace(/\s/g,"")!=="")&&t.push(i)}return t}function Ti(e,t,n,i){return{red:e/255,blue:n/255,green:t/255,alpha:i}}function qt(e,t){const n=t.index,i=t[0].length;if(n===void 0)return;const r=e.positionAt(n);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+i}}function nc(e,t){if(!e)return;const n=Tt.Format.CSS.parseHex(t);if(!!n)return{range:e,color:Ti(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function la(e,t,n){if(!e||t.length!==1)return;const r=t[0].values(),s=oa(r);return{range:e,color:Ti(s[0],s[1],s[2],n?s[3]:1)}}function ua(e,t,n){if(!e||t.length!==1)return;const r=t[0].values(),s=oa(r),a=new Tt(new ye(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:Ti(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function Ot(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function ic(e){const t=[],n=new RegExp(`\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|^(#)([A-Fa-f0-9]{3})\\b|^(#)([A-Fa-f0-9]{4})\\b|^(#)([A-Fa-f0-9]{6})\\b|^(#)([A-Fa-f0-9]{8})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{3})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{4})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{6})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{8})\\b`,"gm"),i=Ot(e,n);if(i.length>0)for(const r of i){const s=r.filter(u=>u!==void 0),a=s[1],l=s[2];if(!l)continue;let o;if(a==="rgb"){const u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=la(qt(e,r),Ot(l,u),!1)}else if(a==="rgba"){const u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=la(qt(e,r),Ot(l,u),!0)}else if(a==="hsl"){const u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=ua(qt(e,r),Ot(l,u),!1)}else if(a==="hsla"){const u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(0[.][0-9]+|[.][0-9]+|[01][.]0*|[01])\s*\)$/gm;o=ua(qt(e,r),Ot(l,u),!0)}else a==="#"&&(o=nc(qt(e,r),a+l));o&&t.push(o)}return t}function rc(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:ic(e)}const sc=/^-+|-+$/g,ca=100,ac=5;function oc(e,t){var i;let n=[];if(t.findRegionSectionHeaders&&((i=t.foldingRules)==null?void 0:i.markers)){const r=lc(e,t);n=n.concat(r)}if(t.findMarkSectionHeaders){const r=uc(e,t);n=n.concat(r)}return n}function lc(e,t){const n=[],i=e.getLineCount();for(let r=1;r<=i;r++){const s=e.getLineContent(r),a=s.match(t.foldingRules.markers.start);if(a){const l={startLineNumber:r,startColumn:a[0].length+1,endLineNumber:r,endColumn:s.length+1};if(l.endColumn>l.startColumn){const o={range:l,...cc(s.substring(a[0].length)),shouldBeInComments:!1};(o.text||o.hasSeparatorLine)&&n.push(o)}}}return n}function uc(e,t){var a,l,o,u;const n=[],i=e.getLineCount();if(!t.markSectionHeaderRegex||t.markSectionHeaderRegex.trim()==="")return n;const r=cu(t.markSectionHeaderRegex),s=new RegExp(t.markSectionHeaderRegex,`gdm${r?"s":""}`);if(il(s))return n;for(let c=1;c<=i;c+=ca-ac){const d=Math.min(c+ca-1,i),m=[];for(let p=c;p<=d;p++)m.push(e.getLineContent(p));const f=m.join(`
20
+ `),r=al(n,i),s=Wt.ofText(n.substring(0,n.length-r)).addToPosition(this.range.getStartPosition()),a=i.substring(0,i.length-r),l=P.fromPositions(this.range.getStartPosition(),s);return new $e(l,a)}toString(){const t=this.range.getStartPosition(),n=this.range.getEndPosition();return`(${t.lineNumber},${t.column} -> ${n.lineNumber},${n.column}): "${this.text}"`}}class we{static inverse(t,n,i){const r=[];let s=1,a=1;for(const o of t){const u=new we(new X(s,o.original.startLineNumber),new X(a,o.modified.startLineNumber));u.modified.isEmpty||r.push(u),s=o.original.endLineNumberExclusive,a=o.modified.endLineNumberExclusive}const l=new we(new X(s,n+1),new X(a,i+1));return l.modified.isEmpty||r.push(l),r}static clip(t,n,i){const r=[];for(const s of t){const a=s.original.intersect(n),l=s.modified.intersect(i);a&&!a.isEmpty&&l&&!l.isEmpty&&r.push(new we(a,l))}return r}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new we(this.modified,this.original)}join(t){return new we(this.original.join(t.original),this.modified.join(t.modified))}toRangeMapping(){const t=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(t&&n)return new _e(t,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new ue("not a valid diff");return new _e(new P(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new P(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new _e(new P(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new P(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(t,n){if(qs(this.original.endLineNumberExclusive,t)&&qs(this.modified.endLineNumberExclusive,n))return new _e(new P(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new P(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new _e(P.fromPositions(new Y(this.original.startLineNumber,1),bt(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),P.fromPositions(new Y(this.modified.startLineNumber,1),bt(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new _e(P.fromPositions(bt(new Y(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),bt(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),P.fromPositions(bt(new Y(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),bt(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new ue}}function bt(e,t){if(e.lineNumber<1)return new Y(1,1);if(e.lineNumber>t.length)return new Y(t.length,t[t.length-1].length+1);const n=t[e.lineNumber-1];return e.column>n.length+1?new Y(e.lineNumber,n.length+1):e}function qs(e,t){return e>=1&&e<=t.length}class Pe extends we{static fromRangeMappings(t){const n=X.join(t.map(r=>X.fromRangeInclusive(r.originalRange))),i=X.join(t.map(r=>X.fromRangeInclusive(r.modifiedRange)));return new Pe(n,i,t)}constructor(t,n,i){super(t,n),this.innerChanges=i}flip(){var t;return new Pe(this.modified,this.original,(t=this.innerChanges)==null?void 0:t.map(n=>n.flip()))}withInnerChangesFromLineRanges(){return new Pe(this.original,this.modified,[this.toRangeMapping()])}}class _e{static fromEdit(t){const n=t.getNewRanges();return t.replacements.map((r,s)=>new _e(r.range,n[s]))}static assertSorted(t){for(let n=1;n<t.length;n++){const i=t[n-1],r=t[n];if(!(i.originalRange.getEndPosition().isBeforeOrEqual(r.originalRange.getStartPosition())&&i.modifiedRange.getEndPosition().isBeforeOrEqual(r.modifiedRange.getStartPosition())))throw new ue("Range mappings must be sorted")}}constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new _e(this.modifiedRange,this.originalRange)}toTextEdit(t){const n=t.getValueOfRange(this.modifiedRange);return new $e(this.originalRange,n)}}function Os(e,t,n,i=!1){const r=[];for(const s of vu(e.map(a=>Du(a,t,n)),(a,l)=>a.original.intersectsOrTouches(l.original)||a.modified.intersectsOrTouches(l.modified))){const a=s[0],l=s[s.length-1];r.push(new Pe(a.original.join(l.original),a.modified.join(l.modified),s.map(o=>o.innerChanges[0])))}return Yt(()=>!i&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length.lineCount-r[r.length-1].modified.endLineNumberExclusive!==t.length.lineCount-r[r.length-1].original.endLineNumberExclusive)?!1:Ji(r,(s,a)=>a.original.startLineNumber-s.original.endLineNumberExclusive===a.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<a.original.startLineNumber&&s.modified.endLineNumberExclusive<a.modified.startLineNumber)),r}function Du(e,t,n){let i=0,r=0;e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+i<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+i<=e.modifiedRange.endLineNumber&&(r=-1),e.modifiedRange.startColumn-1>=n.getLineLength(e.modifiedRange.startLineNumber)&&e.originalRange.startColumn-1>=t.getLineLength(e.originalRange.startLineNumber)&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(i=1);const s=new X(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+r),a=new X(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+r);return new Pe(s,a,[e])}const Ru=3;class Mu{computeDiff(t,n,i){var o;const s=new zu(t,n,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[];let l=null;for(const u of s.changes){let c;u.originalEndLineNumber===0?c=new X(u.originalStartLineNumber+1,u.originalStartLineNumber+1):c=new X(u.originalStartLineNumber,u.originalEndLineNumber+1);let d;u.modifiedEndLineNumber===0?d=new X(u.modifiedStartLineNumber+1,u.modifiedStartLineNumber+1):d=new X(u.modifiedStartLineNumber,u.modifiedEndLineNumber+1);let m=new Pe(c,d,(o=u.charChanges)==null?void 0:o.map(f=>new _e(new P(f.originalStartLineNumber,f.originalStartColumn,f.originalEndLineNumber,f.originalEndColumn),new P(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===m.modified.startLineNumber||l.original.endLineNumberExclusive===m.original.startLineNumber)&&(m=new Pe(l.original.join(m.original),l.modified.join(m.modified),l.innerChanges&&m.innerChanges?l.innerChanges.concat(m.innerChanges):void 0),a.pop()),a.push(m),l=m}return Yt(()=>Ji(a,(u,c)=>c.original.startLineNumber-u.original.endLineNumberExclusive===c.modified.startLineNumber-u.modified.endLineNumberExclusive&&u.original.endLineNumberExclusive<c.original.startLineNumber&&u.modified.endLineNumberExclusive<c.modified.startLineNumber)),new cn(a,[],s.quitEarly)}}function Vs(e,t,n,i){return new je(e,t,n).ComputeDiff(i)}class js{constructor(t){const n=[],i=[];for(let r=0,s=t.length;r<s;r++)n[r]=bi(t[r],1),i[r]=wi(t[r],1);this.lines=t,this._startColumns=n,this._endColumns=i}getElements(){const t=[];for(let n=0,i=this.lines.length;n<i;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,i){const r=[],s=[],a=[];let l=0;for(let o=n;o<=i;o++){const u=this.lines[o],c=t?this._startColumns[o]:1,d=t?this._endColumns[o]:u.length+1;for(let m=c;m<d;m++)r[l]=u.charCodeAt(m-1),s[l]=o+1,a[l]=m,l++;!t&&o<i&&(r[l]=10,s[l]=o+1,a[l]=u.length+1,l++)}return new Nu(r,s,a)}}class Nu{constructor(t,n,i){this._charCodes=t,this._lineNumbers=n,this._columns=i}toString(){return"["+this._charCodes.map((t,n)=>(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this._columns),this._charCodes[t]===10?1:this._columns[t]+1)}}class wt{constructor(t,n,i,r,s,a,l,o){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=i,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=l,this.modifiedEndColumn=o}static createFromDiffChange(t,n,i){const r=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),l=n.getEndColumn(t.originalStart+t.originalLength-1),o=i.getStartLineNumber(t.modifiedStart),u=i.getStartColumn(t.modifiedStart),c=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=i.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new wt(r,s,a,l,o,u,c,d)}}function Iu(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,r=e.length;i<r;i++){const s=e[i],a=s.originalStart-(n.originalStart+n.originalLength),l=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,l)<Ru?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}class Ft{constructor(t,n,i,r,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=r,this.charChanges=s}static createFromDiffResult(t,n,i,r,s,a,l){let o,u,c,d,m;if(n.originalLength===0?(o=i.getStartLineNumber(n.originalStart)-1,u=0):(o=i.getStartLineNumber(n.originalStart),u=i.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(c=r.getStartLineNumber(n.modifiedStart)-1,d=0):(c=r.getStartLineNumber(n.modifiedStart),d=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const f=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),w=r.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(f.getElements().length>0&&w.getElements().length>0){let p=Vs(f,w,s,!0).changes;l&&(p=Iu(p)),m=[];for(let x=0,T=p.length;x<T;x++)m.push(wt.createFromDiffChange(p[x],f,w))}}return new Ft(o,u,c,d,m)}}class zu{constructor(t,n,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new js(t),this.modified=new js(n),this.continueLineDiff=Gs(i.maxComputationTime),this.continueCharDiff=Gs(i.maxComputationTime===0?0:Math.min(i.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const t=Vs(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,i=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const l=[];for(let o=0,u=n.length;o<u;o++)l.push(Ft.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:i,changes:l}}const r=[];let s=0,a=0;for(let l=-1,o=n.length;l<o;l++){const u=l+1<o?n[l+1]:null,c=u?u.originalStart:this.originalLines.length,d=u?u.modifiedStart:this.modifiedLines.length;for(;s<c&&a<d;){const m=this.originalLines[s],f=this.modifiedLines[a];if(m!==f){{let w=bi(m,1),p=bi(f,1);for(;w>1&&p>1;){const x=m.charCodeAt(w-2),T=f.charCodeAt(p-2);if(x!==T)break;w--,p--}(w>1||p>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,w,a+1,1,p)}{let w=wi(m,1),p=wi(f,1);const x=m.length+1,T=f.length+1;for(;w<x&&p<T;){const y=m.charCodeAt(w-1),L=m.charCodeAt(p-1);if(y!==L)break;w++,p++}(w<x||p<T)&&this._pushTrimWhitespaceCharChange(r,s+1,w,x,a+1,p,T)}}s++,a++}u&&(r.push(Ft.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=u.originalLength,a+=u.modifiedLength)}return{quitEarly:i,changes:r}}_pushTrimWhitespaceCharChange(t,n,i,r,s,a,l){if(this._mergeTrimWhitespaceCharChange(t,n,i,r,s,a,l))return;let o;this.shouldComputeCharChanges&&(o=[new wt(n,i,n,r,s,a,s,l)]),t.push(new Ft(n,n,s,s,o))}_mergeTrimWhitespaceCharChange(t,n,i,r,s,a,l){const o=t.length;if(o===0)return!1;const u=t[o-1];return u.originalEndLineNumber===0||u.modifiedEndLineNumber===0?!1:u.originalEndLineNumber===n&&u.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new wt(n,i,n,r,s,a,s,l)),!0):u.originalEndLineNumber+1===n&&u.modifiedEndLineNumber+1===s?(u.originalEndLineNumber=n,u.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new wt(n,i,n,r,s,a,s,l)),!0):!1}}function bi(e,t){const n=il(e);return n===-1?t:n+1}function wi(e,t){const n=rl(e);return n===-1?t:n+2}function Gs(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}class Be{static trivial(t,n){return new Be([new ne($.ofLength(t.length),$.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new Be([new ne($.ofLength(t.length),$.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class ne{static invert(t,n){const i=[];return yu(t,(r,s)=>{i.push(ne.fromOffsetPairs(r?r.getEndExclusives():qe.zero,s?s.getStarts():new qe(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),i}static fromOffsetPairs(t,n){return new ne(new $(t.offset1,n.offset1),new $(t.offset2,n.offset2))}static assertSorted(t){let n;for(const i of t){if(n&&!(n.seq1Range.endExclusive<=i.seq1Range.start&&n.seq2Range.endExclusive<=i.seq2Range.start))throw new ue("Sequence diffs must be sorted");n=i}}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new ne(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new ne(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new ne(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new ne(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new ne(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){const n=this.seq1Range.intersect(t.seq1Range),i=this.seq2Range.intersect(t.seq2Range);if(!(!n||!i))return new ne(n,i)}getStarts(){return new qe(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new qe(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}const st=class{constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(t){return t===0?this:new st(this.offset1+t,this.offset2+t)}equals(t){return this.offset1===t.offset1&&this.offset2===t.offset2}};let qe=st;(()=>{st.zero=new st(0,0)})(),(()=>{st.max=new st(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)})();const Mn=class{isValid(){return!0}};let Pt=Mn;(()=>{Mn.instance=new Mn})();class Hu{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new ue("timeout must be positive")}isValid(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid}}class _i{constructor(t,n){this.width=t,this.height=n,this.array=[],this.array=new Array(t*n)}get(t,n){return this.array[t+n*this.width]}set(t,n,i){this.array[t+n*this.width]=i}}function vi(e){return e===32||e===9}const Xt=class{static getKey(t){let n=this.chrKeys.get(t);return n===void 0&&(n=this.chrKeys.size,this.chrKeys.set(t,n)),n}constructor(t,n,i){this.range=t,this.lines=n,this.source=i,this.histogram=[];let r=0;for(let s=t.startLineNumber-1;s<t.endLineNumberExclusive-1;s++){const a=n[s];for(let o=0;o<a.length;o++){r++;const u=a[o],c=Xt.getKey(u);this.histogram[c]=(this.histogram[c]||0)+1}r++;const l=Xt.getKey(`
21
+ `);this.histogram[l]=(this.histogram[l]||0)+1}this.totalCount=r}computeSimilarity(t){var r,s;let n=0;const i=Math.max(this.histogram.length,t.histogram.length);for(let a=0;a<i;a++)n+=Math.abs(((r=this.histogram[a])!=null?r:0)-((s=t.histogram[a])!=null?s:0));return 1-n/(this.totalCount+t.totalCount)}};let mn=Xt;(()=>{Xt.chrKeys=new Map})();class Uu{compute(t,n,i=Pt.instance,r){if(t.length===0||n.length===0)return Be.trivial(t,n);const s=new _i(t.length,n.length),a=new _i(t.length,n.length),l=new _i(t.length,n.length);for(let w=0;w<t.length;w++)for(let p=0;p<n.length;p++){if(!i.isValid())return Be.trivialTimedOut(t,n);const x=w===0?0:s.get(w-1,p),T=p===0?0:s.get(w,p-1);let y;t.getElement(w)===n.getElement(p)?(w===0||p===0?y=0:y=s.get(w-1,p-1),w>0&&p>0&&a.get(w-1,p-1)===3&&(y+=l.get(w-1,p-1)),y+=r?r(w,p):1):y=-1;const L=Math.max(x,T,y);if(L===y){const I=w>0&&p>0?l.get(w-1,p-1):0;l.set(w,p,I+1),a.set(w,p,3)}else L===x?(l.set(w,p,0),a.set(w,p,1)):L===T&&(l.set(w,p,0),a.set(w,p,2));s.set(w,p,L)}const o=[];let u=t.length,c=n.length;function d(w,p){(w+1!==u||p+1!==c)&&o.push(new ne(new $(w+1,u),new $(p+1,c))),u=w,c=p}let m=t.length-1,f=n.length-1;for(;m>=0&&f>=0;)a.get(m,f)===3?(d(m,f),m--,f--):a.get(m,f)===1?m--:f--;return d(-1,-1),o.reverse(),new Be(o,!1)}}class $s{compute(t,n,i=Pt.instance){if(t.length===0||n.length===0)return Be.trivial(t,n);const r=t,s=n;function a(p,x){for(;p<r.length&&x<s.length&&r.getElement(p)===s.getElement(x);)p++,x++;return p}let l=0;const o=new Wu;o.set(0,a(0,0));const u=new Fu;u.set(0,o.get(0)===0?null:new Xs(null,0,0,o.get(0)));let c=0;e:for(;;){if(l++,!i.isValid())return Be.trivialTimedOut(r,s);const p=-Math.min(l,s.length+l%2),x=Math.min(l,r.length+l%2);for(c=p;c<=x;c+=2){const T=c===x?-1:o.get(c+1),y=c===p?-1:o.get(c-1)+1,L=Math.min(Math.max(T,y),r.length),I=L-c;if(L>r.length||I>s.length)continue;const H=a(L,I);o.set(c,H);const W=L===T?u.get(c+1):u.get(c-1);if(u.set(c,H!==L?new Xs(W,L,I,H-L):W),o.get(c)===r.length&&o.get(c)-c===s.length)break e}}let d=u.get(c);const m=[];let f=r.length,w=s.length;for(;;){const p=d?d.x+d.length:0,x=d?d.y+d.length:0;if((p!==f||x!==w)&&m.push(new ne(new $(p,f),new $(x,w))),!d)break;f=d.x,w=d.y,d=d.prev}return m.reverse(),new Be(m,!1)}}class Xs{constructor(t,n,i,r){this.prev=t,this.x=n,this.y=i,this.length=r}}class Wu{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){if(t<0){if(t=-t-1,t>=this.negativeArr.length){const i=this.negativeArr;this.negativeArr=new Int32Array(i.length*2),this.negativeArr.set(i)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){const i=this.positiveArr;this.positiveArr=new Int32Array(i.length*2),this.positiveArr.set(i)}this.positiveArr[t]=n}}}class Fu{constructor(){this.positiveArr=[],this.negativeArr=[]}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){t<0?(t=-t-1,this.negativeArr[t]=n):this.positiveArr[t]=n}}class fn{constructor(t,n,i){this.lines=t,this.range=n,this.considerWhitespaceChanges=i,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let r=this.range.startLineNumber;r<=this.range.endLineNumber;r++){let s=t[r-1],a=0;r===this.range.startLineNumber&&this.range.startColumn>1&&(a=this.range.startColumn-1,s=s.substring(a)),this.lineStartOffsets.push(a);let l=0;if(!i){const u=s.trimStart();l=s.length-u.length,s=u.trimEnd()}this.trimmedWsLengthsByLineIdx.push(l);const o=r===this.range.endLineNumber?Math.min(this.range.endColumn-1-a-l,s.length):s.length;for(let u=0;u<o;u++)this.elements.push(s.charCodeAt(u));r<this.range.endLineNumber&&(this.elements.push(`
22
+ `.charCodeAt(0)),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new $(0,this.length))}getText(t){return this.elements.slice(t.start,t.endExclusive).map(n=>String.fromCharCode(n)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=Qs(t>0?this.elements[t-1]:-1),i=Qs(t<this.elements.length?this.elements[t]:-1);if(n===7&&i===8)return 0;if(n===8)return 150;let r=0;return n!==i&&(r+=10,n===0&&i===1&&(r+=1)),r+=Ys(n),r+=Ys(i),r}translateOffset(t,n="right"){const i=pt(this.firstElementOffsetByLineIdx,s=>s<=t),r=t-this.firstElementOffsetByLineIdx[i];return new Y(this.range.startLineNumber+i,1+this.lineStartOffsets[i]+r+(r===0&&n==="left"?0:this.trimmedWsLengthsByLineIdx[i]))}translateRange(t){const n=this.translateOffset(t.start,"right"),i=this.translateOffset(t.endExclusive,"left");return i.isBefore(n)?P.fromPositions(i,i):P.fromPositions(n,i)}findWordContaining(t){if(t<0||t>=this.elements.length||!_t(this.elements[t]))return;let n=t;for(;n>0&&_t(this.elements[n-1]);)n--;let i=t;for(;i<this.elements.length&&_t(this.elements[i]);)i++;return new $(n,i)}findSubWordContaining(t){if(t<0||t>=this.elements.length||!_t(this.elements[t]))return;let n=t;for(;n>0&&_t(this.elements[n-1])&&!Js(this.elements[n]);)n--;let i=t;for(;i<this.elements.length&&_t(this.elements[i])&&!Js(this.elements[i]);)i++;return new $(n,i)}countLinesIn(t){return this.translateOffset(t.endExclusive).lineNumber-this.translateOffset(t.start).lineNumber}isStronglyEqual(t,n){return this.elements[t]===this.elements[n]}extendToFullLines(t){var r,s;const n=(r=ft(this.firstElementOffsetByLineIdx,a=>a<=t.start))!=null?r:0,i=(s=Su(this.firstElementOffsetByLineIdx,a=>t.endExclusive<=a))!=null?s:this.elements.length;return new $(n,i)}}function _t(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}function Js(e){return e>=65&&e<=90}const Pu={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:30,[6]:3,[7]:10,[8]:10};function Ys(e){return Pu[e]}function Qs(e){return e===10?8:e===13?7:vi(e)?6:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:e===44||e===59?5:4}function Bu(e,t,n,i,r,s){let{moves:a,excludedChanges:l}=Ou(e,t,n,s);if(!s.isValid())return[];const o=e.filter(c=>!l.has(c)),u=Vu(o,i,r,t,n,s);return xu(a,u),a=ju(a),a=a.filter(c=>{const d=c.original.toOffsetRange().slice(t).map(f=>f.trim());return d.join(`
23
+ `).length>=15&&qu(d,f=>f.length>=2)>=2}),a=Gu(e,a),a}function qu(e,t){let n=0;for(const i of e)t(i)&&n++;return n}function Ou(e,t,n,i){const r=[],s=e.filter(o=>o.modified.isEmpty&&o.original.length>=3).map(o=>new mn(o.original,t,o)),a=new Set(e.filter(o=>o.original.isEmpty&&o.modified.length>=3).map(o=>new mn(o.modified,n,o))),l=new Set;for(const o of s){let u=-1,c;for(const d of a){const m=o.computeSimilarity(d);m>u&&(u=m,c=d)}if(u>.9&&c&&(a.delete(c),r.push(new we(o.range,c.range)),l.add(o.source),l.add(c.source)),!i.isValid())return{moves:r,excludedChanges:l}}return{moves:r,excludedChanges:l}}function Vu(e,t,n,i,r,s){const a=[],l=new ou;for(const m of e)for(let f=m.original.startLineNumber;f<m.original.endLineNumberExclusive-2;f++){const w=`${t[f-1]}:${t[f+1-1]}:${t[f+2-1]}`;l.add(w,{range:new X(f,f+3)})}const o=[];e.sort(Ht(m=>m.modified.startLineNumber,Ut));for(const m of e){let f=[];for(let w=m.modified.startLineNumber;w<m.modified.endLineNumberExclusive-2;w++){const p=`${n[w-1]}:${n[w+1-1]}:${n[w+2-1]}`,x=new X(w,w+3),T=[];l.forEach(p,({range:y})=>{for(const I of f)if(I.originalLineRange.endLineNumberExclusive+1===y.endLineNumberExclusive&&I.modifiedLineRange.endLineNumberExclusive+1===x.endLineNumberExclusive){I.originalLineRange=new X(I.originalLineRange.startLineNumber,y.endLineNumberExclusive),I.modifiedLineRange=new X(I.modifiedLineRange.startLineNumber,x.endLineNumberExclusive),T.push(I);return}const L={modifiedLineRange:x,originalLineRange:y};o.push(L),T.push(L)}),f=T}if(!s.isValid())return[]}o.sort(ku(Ht(m=>m.modifiedLineRange.length,Ut)));const u=new Ne,c=new Ne;for(const m of o){const f=m.modifiedLineRange.startLineNumber-m.originalLineRange.startLineNumber,w=u.subtractFrom(m.modifiedLineRange),p=c.subtractFrom(m.originalLineRange).getWithDelta(f),x=w.getIntersection(p);for(const T of x.ranges){if(T.length<3)continue;const y=T,L=T.delta(-f);a.push(new we(L,y)),u.addRange(y),c.addRange(L)}}a.sort(Ht(m=>m.original.startLineNumber,Ut));const d=new hn(e);for(let m=0;m<a.length;m++){const f=a[m],w=d.findLastMonotonous(W=>W.original.startLineNumber<=f.original.startLineNumber),p=ft(e,W=>W.modified.startLineNumber<=f.modified.startLineNumber),x=Math.max(f.original.startLineNumber-w.original.startLineNumber,f.modified.startLineNumber-p.modified.startLineNumber),T=d.findLastMonotonous(W=>W.original.startLineNumber<f.original.endLineNumberExclusive),y=ft(e,W=>W.modified.startLineNumber<f.modified.endLineNumberExclusive),L=Math.max(T.original.endLineNumberExclusive-f.original.endLineNumberExclusive,y.modified.endLineNumberExclusive-f.modified.endLineNumberExclusive);let I;for(I=0;I<x;I++){const W=f.original.startLineNumber-I-1,b=f.modified.startLineNumber-I-1;if(W>i.length||b>r.length||u.contains(b)||c.contains(W)||!Zs(i[W-1],r[b-1],s))break}I>0&&(c.addRange(new X(f.original.startLineNumber-I,f.original.startLineNumber)),u.addRange(new X(f.modified.startLineNumber-I,f.modified.startLineNumber)));let H;for(H=0;H<L;H++){const W=f.original.endLineNumberExclusive+H,b=f.modified.endLineNumberExclusive+H;if(W>i.length||b>r.length||u.contains(b)||c.contains(W)||!Zs(i[W-1],r[b-1],s))break}H>0&&(c.addRange(new X(f.original.endLineNumberExclusive,f.original.endLineNumberExclusive+H)),u.addRange(new X(f.modified.endLineNumberExclusive,f.modified.endLineNumberExclusive+H))),(I>0||H>0)&&(a[m]=new we(new X(f.original.startLineNumber-I,f.original.endLineNumberExclusive+H),new X(f.modified.startLineNumber-I,f.modified.endLineNumberExclusive+H)))}return a}function Zs(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;const r=new $s().compute(new fn([e],new P(1,1,1,e.length),!1),new fn([t],new P(1,1,1,t.length),!1),n);let s=0;const a=ne.invert(r.diffs,e.length);for(const c of a)c.seq1Range.forEach(d=>{vi(e.charCodeAt(d))||s++});function l(c){let d=0;for(let m=0;m<e.length;m++)vi(c.charCodeAt(m))||d++;return d}const o=l(e.length>t.length?e:t);return s/o>.6&&o>10}function ju(e){if(e.length===0)return e;e.sort(Ht(n=>n.original.startLineNumber,Ut));const t=[e[0]];for(let n=1;n<e.length;n++){const i=t[t.length-1],r=e[n],s=r.original.startLineNumber-i.original.endLineNumberExclusive,a=r.modified.startLineNumber-i.modified.endLineNumberExclusive;if(s>=0&&a>=0&&s+a<=2){t[t.length-1]=i.join(r);continue}t.push(r)}return t}function Gu(e,t){const n=new hn(e);return t=t.filter(i=>{const r=n.findLastMonotonous(l=>l.original.startLineNumber<i.original.endLineNumberExclusive)||new we(new X(1,1),new X(1,1)),s=ft(e,l=>l.modified.startLineNumber<i.modified.endLineNumberExclusive);return r!==s}),t}function Ks(e,t,n){let i=n;return i=ea(e,t,i),i=ea(e,t,i),i=$u(e,t,i),i}function ea(e,t,n){if(n.length===0)return n;const i=[];i.push(n[0]);for(let s=1;s<n.length;s++){const a=i[i.length-1];let l=n[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){const o=l.seq1Range.start-a.seq1Range.endExclusive;let u;for(u=1;u<=o&&!(e.getElement(l.seq1Range.start-u)!==e.getElement(l.seq1Range.endExclusive-u)||t.getElement(l.seq2Range.start-u)!==t.getElement(l.seq2Range.endExclusive-u));u++);if(u--,u===o){i[i.length-1]=new ne(new $(a.seq1Range.start,l.seq1Range.endExclusive-o),new $(a.seq2Range.start,l.seq2Range.endExclusive-o));continue}l=l.delta(-u)}i.push(l)}const r=[];for(let s=0;s<i.length-1;s++){const a=i[s+1];let l=i[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){const o=a.seq1Range.start-l.seq1Range.endExclusive;let u;for(u=0;u<o&&!(!e.isStronglyEqual(l.seq1Range.start+u,l.seq1Range.endExclusive+u)||!t.isStronglyEqual(l.seq2Range.start+u,l.seq2Range.endExclusive+u));u++);if(u===o){i[s+1]=new ne(new $(l.seq1Range.start+o,a.seq1Range.endExclusive),new $(l.seq2Range.start+o,a.seq2Range.endExclusive));continue}u>0&&(l=l.delta(u))}r.push(l)}return i.length>0&&r.push(i[i.length-1]),r}function $u(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let i=0;i<n.length;i++){const r=i>0?n[i-1]:void 0,s=n[i],a=i+1<n.length?n[i+1]:void 0,l=new $(r?r.seq1Range.endExclusive+1:0,a?a.seq1Range.start-1:e.length),o=new $(r?r.seq2Range.endExclusive+1:0,a?a.seq2Range.start-1:t.length);s.seq1Range.isEmpty?n[i]=ta(s,e,t,l,o):s.seq2Range.isEmpty&&(n[i]=ta(s.swap(),t,e,o,l).swap())}return n}function ta(e,t,n,i,r){let a=1;for(;e.seq1Range.start-a>=i.start&&e.seq2Range.start-a>=r.start&&n.isStronglyEqual(e.seq2Range.start-a,e.seq2Range.endExclusive-a)&&a<100;)a++;a--;let l=0;for(;e.seq1Range.start+l<i.endExclusive&&e.seq2Range.endExclusive+l<r.endExclusive&&n.isStronglyEqual(e.seq2Range.start+l,e.seq2Range.endExclusive+l)&&l<100;)l++;if(a===0&&l===0)return e;let o=0,u=-1;for(let c=-a;c<=l;c++){const d=e.seq2Range.start+c,m=e.seq2Range.endExclusive+c,f=e.seq1Range.start+c,w=t.getBoundaryScore(f)+n.getBoundaryScore(d)+n.getBoundaryScore(m);w>u&&(u=w,o=c)}return e.delta(o)}function Xu(e,t,n){const i=[];for(const r of n){const s=i[i.length-1];if(!s){i.push(r);continue}r.seq1Range.start-s.seq1Range.endExclusive<=2||r.seq2Range.start-s.seq2Range.endExclusive<=2?i[i.length-1]=new ne(s.seq1Range.join(r.seq1Range),s.seq2Range.join(r.seq2Range)):i.push(r)}return i}function na(e,t,n,i,r=!1){const s=ne.invert(n,e.length),a=[];let l=new qe(0,0);function o(c,d){if(c.offset1<l.offset1||c.offset2<l.offset2)return;const m=i(e,c.offset1),f=i(t,c.offset2);if(!m||!f)return;let w=new ne(m,f);const p=w.intersect(d);let x=p.seq1Range.length,T=p.seq2Range.length;for(;s.length>0;){const y=s[0];if(!(y.seq1Range.intersects(w.seq1Range)||y.seq2Range.intersects(w.seq2Range)))break;const I=i(e,y.seq1Range.start),H=i(t,y.seq2Range.start),W=new ne(I,H),b=W.intersect(y);if(x+=b.seq1Range.length,T+=b.seq2Range.length,w=w.join(W),w.seq1Range.endExclusive>=y.seq1Range.endExclusive)s.shift();else break}(r&&x+T<w.seq1Range.length+w.seq2Range.length||x+T<(w.seq1Range.length+w.seq2Range.length)*2/3)&&a.push(w),l=w.getEndExclusives()}for(;s.length>0;){const c=s.shift();c.seq1Range.isEmpty||(o(c.getStarts(),c),o(c.getEndExclusives().delta(-1),c))}return Ju(n,a)}function Ju(e,t){const n=[];for(;e.length>0||t.length>0;){const i=e[0],r=t[0];let s;i&&(!r||i.seq1Range.start<r.seq1Range.start)?s=e.shift():s=t.shift(),n.length>0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}function Yu(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;const a=[i[0]];for(let l=1;l<i.length;l++){let c=function(m,f){const w=new $(u.seq1Range.endExclusive,o.seq1Range.start);return e.getText(w).replace(/\s/g,"").length<=4&&(m.seq1Range.length+m.seq2Range.length>5||f.seq1Range.length+f.seq2Range.length>5)};const o=i[l],u=a[a.length-1];c(u,o)?(s=!0,a[a.length-1]=a[a.length-1].join(o)):a.push(o)}i=a}while(r++<10&&s);return i}function Qu(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;const l=[i[0]];for(let o=1;o<i.length;o++){let d=function(f,w){const p=new $(c.seq1Range.endExclusive,u.seq1Range.start);if(e.countLinesIn(p)>5||p.length>500)return!1;const T=e.getText(p).trim();if(T.length>20||T.split(/\r\n|\r|\n/).length>1)return!1;const y=e.countLinesIn(f.seq1Range),L=f.seq1Range.length,I=t.countLinesIn(f.seq2Range),H=f.seq2Range.length,W=e.countLinesIn(w.seq1Range),b=w.seq1Range.length,g=t.countLinesIn(w.seq2Range),_=w.seq2Range.length,N=2*40+50;function S(v){return Math.min(v,N)}return Math.pow(Math.pow(S(y*40+L),1.5)+Math.pow(S(I*40+H),1.5),1.5)+Math.pow(Math.pow(S(W*40+b),1.5)+Math.pow(S(g*40+_),1.5),1.5)>(N**1.5)**1.5*1.3};const u=i[o],c=l[l.length-1];d(c,u)?(s=!0,l[l.length-1]=l[l.length-1].join(u)):l.push(u)}i=l}while(r++<10&&s);const a=[];return Tu(i,(l,o,u)=>{let c=o;function d(T){return T.length>0&&T.trim().length<=3&&o.seq1Range.length+o.seq2Range.length>100}const m=e.extendToFullLines(o.seq1Range),f=e.getText(new $(m.start,o.seq1Range.start));d(f)&&(c=c.deltaStart(-f.length));const w=e.getText(new $(o.seq1Range.endExclusive,m.endExclusive));d(w)&&(c=c.deltaEnd(w.length));const p=ne.fromOffsetPairs(l?l.getEndExclusives():qe.zero,u?u.getStarts():qe.max),x=c.intersect(p);a.length>0&&x.getStarts().equals(a[a.length-1].getEndExclusives())?a[a.length-1]=a[a.length-1].join(x):a.push(x)}),a}class ia{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){const n=t===0?0:ra(this.lines[t-1]),i=t===this.lines.length?0:ra(this.lines[t]);return 1e3-(n+i)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(`
24
+ `)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}}function ra(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}class Zu{constructor(){this.dynamicProgrammingDiffing=new Uu,this.myersDiffingAlgorithm=new $s}computeDiff(t,n,i){if(t.length<=1&&_u(t,n,(b,g)=>b===g))return new cn([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new cn([new Pe(new X(1,t.length+1),new X(1,n.length+1),[new _e(new P(1,1,t.length,t[t.length-1].length+1),new P(1,1,n.length,n[n.length-1].length+1))])],[],!1);const r=i.maxComputationTimeMs===0?Pt.instance:new Hu(i.maxComputationTimeMs),s=!i.ignoreTrimWhitespace,a=new Map;function l(b){let g=a.get(b);return g===void 0&&(g=a.size,a.set(b,g)),g}const o=t.map(b=>l(b.trim())),u=n.map(b=>l(b.trim())),c=new ia(o,t),d=new ia(u,n),m=(()=>c.length+d.length<1700?this.dynamicProgrammingDiffing.compute(c,d,r,(b,g)=>t[b]===n[g]?n[g].length===0?.1:1+Math.log(1+n[g].length):.99):this.myersDiffingAlgorithm.compute(c,d,r))();let f=m.diffs,w=m.hitTimeout;f=Ks(c,d,f),f=Yu(c,d,f);const p=[],x=b=>{if(!!s)for(let g=0;g<b;g++){const _=T+g,N=y+g;if(t[_]!==n[N]){const S=this.refineDiff(t,n,new ne(new $(_,_+1),new $(N,N+1)),r,s,i);for(const v of S.mappings)p.push(v);S.hitTimeout&&(w=!0)}}};let T=0,y=0;for(const b of f){Yt(()=>b.seq1Range.start-T===b.seq2Range.start-y);const g=b.seq1Range.start-T;x(g),T=b.seq1Range.endExclusive,y=b.seq2Range.endExclusive;const _=this.refineDiff(t,n,b,r,s,i);_.hitTimeout&&(w=!0);for(const N of _.mappings)p.push(N)}x(t.length-T);const L=new dn(t),I=new dn(n),H=Os(p,L,I);let W=[];return i.computeMoves&&(W=this.computeMoves(H,t,n,o,u,r,s,i)),Yt(()=>{function b(_,N){if(_.lineNumber<1||_.lineNumber>N.length)return!1;const S=N[_.lineNumber-1];return!(_.column<1||_.column>S.length+1)}function g(_,N){return!(_.startLineNumber<1||_.startLineNumber>N.length+1||_.endLineNumberExclusive<1||_.endLineNumberExclusive>N.length+1)}for(const _ of H){if(!_.innerChanges)return!1;for(const N of _.innerChanges)if(!(b(N.modifiedRange.getStartPosition(),n)&&b(N.modifiedRange.getEndPosition(),n)&&b(N.originalRange.getStartPosition(),t)&&b(N.originalRange.getEndPosition(),t)))return!1;if(!g(_.modified,n)||!g(_.original,t))return!1}return!0}),new cn(H,W,w)}computeMoves(t,n,i,r,s,a,l,o){return Bu(t,n,i,r,s,a).map(d=>{const m=this.refineDiff(n,i,new ne(d.original.toOffsetRange(),d.modified.toOffsetRange()),a,l,o),f=Os(m.mappings,new dn(n),new dn(i),!0);return new wu(d,f)})}refineDiff(t,n,i,r,s,a){const o=Ku(i).toRangeMapping2(t,n),u=new fn(t,o.originalRange,s),c=new fn(n,o.modifiedRange,s),d=u.length+c.length<500?this.dynamicProgrammingDiffing.compute(u,c,r):this.myersDiffingAlgorithm.compute(u,c,r);let m=d.diffs;return m=Ks(u,c,m),m=na(u,c,m,(w,p)=>w.findWordContaining(p)),a.extendToSubwords&&(m=na(u,c,m,(w,p)=>w.findSubWordContaining(p),!0)),m=Xu(u,c,m),m=Qu(u,c,m),{mappings:m.map(w=>new _e(u.translateRange(w.seq1Range),c.translateRange(w.seq2Range))),hitTimeout:d.hitTimeout}}}function Ku(e){return new we(new X(e.seq1Range.start+1,e.seq1Range.endExclusive+1),new X(e.seq2Range.start+1,e.seq2Range.endExclusive+1))}const sa={getLegacy:()=>new Mu,getDefault:()=>new Zu};function Xe(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class C{constructor(t,n,i,r=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,t))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,i))|0,this.a=Xe(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}}class ve{constructor(t,n,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=Xe(Math.max(Math.min(1,n),0),3),this.l=Xe(Math.max(Math.min(1,i),0),3),this.a=Xe(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.l===n.l&&t.a===n.a}static fromRGBA(t){const n=t.r/255,i=t.g/255,r=t.b/255,s=t.a,a=Math.max(n,i,r),l=Math.min(n,i,r);let o=0,u=0;const c=(l+a)/2,d=a-l;if(d>0){switch(u=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),a){case n:o=(i-r)/d+(i<r?6:0);break;case i:o=(r-n)/d+2;break;case r:o=(n-i)/d+4;break}o*=60,o=Math.round(o)}return new ve(o,u,c,s)}static _hue2rgb(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}static toRGBA(t){const n=t.h/360,{s:i,l:r,a:s}=t;let a,l,o;if(i===0)a=l=o=r;else{const u=r<.5?r*(1+i):r+i-r*i,c=2*r-u;a=ve._hue2rgb(c,u,n+1/3),l=ve._hue2rgb(c,u,n),o=ve._hue2rgb(c,u,n-1/3)}return new C(Math.round(a*255),Math.round(l*255),Math.round(o*255),s)}}class vt{constructor(t,n,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=Xe(Math.max(Math.min(1,n),0),3),this.v=Xe(Math.max(Math.min(1,i),0),3),this.a=Xe(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.v===n.v&&t.a===n.a}static fromRGBA(t){const n=t.r/255,i=t.g/255,r=t.b/255,s=Math.max(n,i,r),a=Math.min(n,i,r),l=s-a,o=s===0?0:l/s;let u;return l===0?u=0:s===n?u=((i-r)/l%6+6)%6:s===i?u=(r-n)/l+2:u=(n-i)/l+4,new vt(Math.round(u*60),o,s,t.a)}static toRGBA(t){const{h:n,s:i,v:r,a:s}=t,a=r*i,l=a*(1-Math.abs(n/60%2-1)),o=r-a;let[u,c,d]=[0,0,0];return n<60?(u=a,c=l):n<120?(u=l,c=a):n<180?(c=a,d=l):n<240?(c=l,d=a):n<300?(u=l,d=a):n<=360&&(u=a,d=l),u=Math.round((u+o)*255),c=Math.round((c+o)*255),d=Math.round((d+o)*255),new C(u,c,d,s)}}const Q=class{static fromHex(t){return Q.Format.CSS.parseHex(t)||Q.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:ve.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:vt.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof C)this.rgba=t;else if(t instanceof ve)this._hsla=t,this.rgba=ve.toRGBA(t);else if(t instanceof vt)this._hsva=t,this.rgba=vt.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&C.equals(this.rgba,t.rgba)&&ve.equals(this.hsla,t.hsla)&&vt.equals(this.hsva,t.hsva)}getRelativeLuminance(){const t=Q._relativeLuminanceForComponent(this.rgba.r),n=Q._relativeLuminanceForComponent(this.rgba.g),i=Q._relativeLuminanceForComponent(this.rgba.b),r=.2126*t+.7152*n+.0722*i;return Xe(r,4)}static _relativeLuminanceForComponent(t){const n=t/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(t){const n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n>i}isDarkerThan(t){const n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n<i}lighten(t){return new Q(new ve(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new Q(new ve(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))}transparent(t){const{r:n,g:i,b:r,a:s}=this.rgba;return new Q(new C(n,i,r,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new Q(new C(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}mix(t,n=.5){const i=Math.min(Math.max(n,0),1),r=this.rgba,s=t.rgba,a=r.r+(s.r-r.r)*i,l=r.g+(s.g-r.g)*i,o=r.b+(s.b-r.b)*i,u=r.a+(s.a-r.a)*i;return new Q(new C(a,l,o,u))}makeOpaque(t){if(this.isOpaque()||t.rgba.a!==1)return this;const{r:n,g:i,b:r,a:s}=this.rgba;return new Q(new C(t.rgba.r-s*(t.rgba.r-n),t.rgba.g-s*(t.rgba.g-i),t.rgba.b-s*(t.rgba.b-r),1))}toString(){return this._toString||(this._toString=Q.Format.CSS.format(this)),this._toString}toNumber32Bit(){return this._toNumber32Bit||(this._toNumber32Bit=(this.rgba.r<<24|this.rgba.g<<16|this.rgba.b<<8|this.rgba.a*255<<0)>>>0),this._toNumber32Bit}static getLighterColor(t,n,i){if(t.isLighterThan(n))return t;i=i||.5;const r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(s-r)/s,t.lighten(i)}static getDarkerColor(t,n,i){if(t.isDarkerThan(n))return t;i=i||.5;const r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(r-s)/r,t.darken(i)}};let yt=Q;(()=>{Q.white=new Q(new C(255,255,255,1))})(),(()=>{Q.black=new Q(new C(0,0,0,1))})(),(()=>{Q.red=new Q(new C(255,0,0,1))})(),(()=>{Q.blue=new Q(new C(0,0,255,1))})(),(()=>{Q.green=new Q(new C(0,255,0,1))})(),(()=>{Q.cyan=new Q(new C(0,255,255,1))})(),(()=>{Q.lightgrey=new Q(new C(211,211,211,1))})(),(()=>{Q.transparent=new Q(new C(0,0,0,0))})(),function(e){(function(t){(function(n){function i(p){return p.rgba.a===1?`rgb(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b})`:e.Format.CSS.formatRGBA(p)}n.formatRGB=i;function r(p){return`rgba(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b}, ${+p.rgba.a.toFixed(2)})`}n.formatRGBA=r;function s(p){return p.hsla.a===1?`hsl(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%)`:e.Format.CSS.formatHSLA(p)}n.formatHSL=s;function a(p){return`hsla(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%, ${p.hsla.a.toFixed(2)})`}n.formatHSLA=a;function l(p){const x=p.toString(16);return x.length!==2?"0"+x:x}function o(p){return`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}`}n.formatHex=o;function u(p,x=!1){return x&&p.rgba.a===1?e.Format.CSS.formatHex(p):`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}${l(Math.round(p.rgba.a*255))}`}n.formatHexA=u;function c(p){return p.isOpaque()?e.Format.CSS.formatHex(p):e.Format.CSS.formatRGBA(p)}n.format=c;function d(p){var x,T,y,L,I,H,W,b,g,_,N,S,v,A;if(p==="transparent")return e.transparent;if(p.startsWith("#"))return f(p);if(p.startsWith("rgba(")){const E=p.match(/rgba\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+), *(?<a>(?:\+|-)?\d+(\.\d+)?)\)/);if(!E)throw new Error("Invalid color format "+p);const k=parseInt((T=(x=E.groups)==null?void 0:x.r)!=null?T:"0"),D=parseInt((L=(y=E.groups)==null?void 0:y.g)!=null?L:"0"),M=parseInt((H=(I=E.groups)==null?void 0:I.b)!=null?H:"0"),F=parseFloat((b=(W=E.groups)==null?void 0:W.a)!=null?b:"0");return new e(new C(k,D,M,F))}if(p.startsWith("rgb(")){const E=p.match(/rgb\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+)\)/);if(!E)throw new Error("Invalid color format "+p);const k=parseInt((_=(g=E.groups)==null?void 0:g.r)!=null?_:"0"),D=parseInt((S=(N=E.groups)==null?void 0:N.g)!=null?S:"0"),M=parseInt((A=(v=E.groups)==null?void 0:v.b)!=null?A:"0");return new e(new C(k,D,M))}return m(p)}n.parse=d;function m(p){switch(p){case"aliceblue":return new e(new C(240,248,255,1));case"antiquewhite":return new e(new C(250,235,215,1));case"aqua":return new e(new C(0,255,255,1));case"aquamarine":return new e(new C(127,255,212,1));case"azure":return new e(new C(240,255,255,1));case"beige":return new e(new C(245,245,220,1));case"bisque":return new e(new C(255,228,196,1));case"black":return new e(new C(0,0,0,1));case"blanchedalmond":return new e(new C(255,235,205,1));case"blue":return new e(new C(0,0,255,1));case"blueviolet":return new e(new C(138,43,226,1));case"brown":return new e(new C(165,42,42,1));case"burlywood":return new e(new C(222,184,135,1));case"cadetblue":return new e(new C(95,158,160,1));case"chartreuse":return new e(new C(127,255,0,1));case"chocolate":return new e(new C(210,105,30,1));case"coral":return new e(new C(255,127,80,1));case"cornflowerblue":return new e(new C(100,149,237,1));case"cornsilk":return new e(new C(255,248,220,1));case"crimson":return new e(new C(220,20,60,1));case"cyan":return new e(new C(0,255,255,1));case"darkblue":return new e(new C(0,0,139,1));case"darkcyan":return new e(new C(0,139,139,1));case"darkgoldenrod":return new e(new C(184,134,11,1));case"darkgray":return new e(new C(169,169,169,1));case"darkgreen":return new e(new C(0,100,0,1));case"darkgrey":return new e(new C(169,169,169,1));case"darkkhaki":return new e(new C(189,183,107,1));case"darkmagenta":return new e(new C(139,0,139,1));case"darkolivegreen":return new e(new C(85,107,47,1));case"darkorange":return new e(new C(255,140,0,1));case"darkorchid":return new e(new C(153,50,204,1));case"darkred":return new e(new C(139,0,0,1));case"darksalmon":return new e(new C(233,150,122,1));case"darkseagreen":return new e(new C(143,188,143,1));case"darkslateblue":return new e(new C(72,61,139,1));case"darkslategray":return new e(new C(47,79,79,1));case"darkslategrey":return new e(new C(47,79,79,1));case"darkturquoise":return new e(new C(0,206,209,1));case"darkviolet":return new e(new C(148,0,211,1));case"deeppink":return new e(new C(255,20,147,1));case"deepskyblue":return new e(new C(0,191,255,1));case"dimgray":return new e(new C(105,105,105,1));case"dimgrey":return new e(new C(105,105,105,1));case"dodgerblue":return new e(new C(30,144,255,1));case"firebrick":return new e(new C(178,34,34,1));case"floralwhite":return new e(new C(255,250,240,1));case"forestgreen":return new e(new C(34,139,34,1));case"fuchsia":return new e(new C(255,0,255,1));case"gainsboro":return new e(new C(220,220,220,1));case"ghostwhite":return new e(new C(248,248,255,1));case"gold":return new e(new C(255,215,0,1));case"goldenrod":return new e(new C(218,165,32,1));case"gray":return new e(new C(128,128,128,1));case"green":return new e(new C(0,128,0,1));case"greenyellow":return new e(new C(173,255,47,1));case"grey":return new e(new C(128,128,128,1));case"honeydew":return new e(new C(240,255,240,1));case"hotpink":return new e(new C(255,105,180,1));case"indianred":return new e(new C(205,92,92,1));case"indigo":return new e(new C(75,0,130,1));case"ivory":return new e(new C(255,255,240,1));case"khaki":return new e(new C(240,230,140,1));case"lavender":return new e(new C(230,230,250,1));case"lavenderblush":return new e(new C(255,240,245,1));case"lawngreen":return new e(new C(124,252,0,1));case"lemonchiffon":return new e(new C(255,250,205,1));case"lightblue":return new e(new C(173,216,230,1));case"lightcoral":return new e(new C(240,128,128,1));case"lightcyan":return new e(new C(224,255,255,1));case"lightgoldenrodyellow":return new e(new C(250,250,210,1));case"lightgray":return new e(new C(211,211,211,1));case"lightgreen":return new e(new C(144,238,144,1));case"lightgrey":return new e(new C(211,211,211,1));case"lightpink":return new e(new C(255,182,193,1));case"lightsalmon":return new e(new C(255,160,122,1));case"lightseagreen":return new e(new C(32,178,170,1));case"lightskyblue":return new e(new C(135,206,250,1));case"lightslategray":return new e(new C(119,136,153,1));case"lightslategrey":return new e(new C(119,136,153,1));case"lightsteelblue":return new e(new C(176,196,222,1));case"lightyellow":return new e(new C(255,255,224,1));case"lime":return new e(new C(0,255,0,1));case"limegreen":return new e(new C(50,205,50,1));case"linen":return new e(new C(250,240,230,1));case"magenta":return new e(new C(255,0,255,1));case"maroon":return new e(new C(128,0,0,1));case"mediumaquamarine":return new e(new C(102,205,170,1));case"mediumblue":return new e(new C(0,0,205,1));case"mediumorchid":return new e(new C(186,85,211,1));case"mediumpurple":return new e(new C(147,112,219,1));case"mediumseagreen":return new e(new C(60,179,113,1));case"mediumslateblue":return new e(new C(123,104,238,1));case"mediumspringgreen":return new e(new C(0,250,154,1));case"mediumturquoise":return new e(new C(72,209,204,1));case"mediumvioletred":return new e(new C(199,21,133,1));case"midnightblue":return new e(new C(25,25,112,1));case"mintcream":return new e(new C(245,255,250,1));case"mistyrose":return new e(new C(255,228,225,1));case"moccasin":return new e(new C(255,228,181,1));case"navajowhite":return new e(new C(255,222,173,1));case"navy":return new e(new C(0,0,128,1));case"oldlace":return new e(new C(253,245,230,1));case"olive":return new e(new C(128,128,0,1));case"olivedrab":return new e(new C(107,142,35,1));case"orange":return new e(new C(255,165,0,1));case"orangered":return new e(new C(255,69,0,1));case"orchid":return new e(new C(218,112,214,1));case"palegoldenrod":return new e(new C(238,232,170,1));case"palegreen":return new e(new C(152,251,152,1));case"paleturquoise":return new e(new C(175,238,238,1));case"palevioletred":return new e(new C(219,112,147,1));case"papayawhip":return new e(new C(255,239,213,1));case"peachpuff":return new e(new C(255,218,185,1));case"peru":return new e(new C(205,133,63,1));case"pink":return new e(new C(255,192,203,1));case"plum":return new e(new C(221,160,221,1));case"powderblue":return new e(new C(176,224,230,1));case"purple":return new e(new C(128,0,128,1));case"rebeccapurple":return new e(new C(102,51,153,1));case"red":return new e(new C(255,0,0,1));case"rosybrown":return new e(new C(188,143,143,1));case"royalblue":return new e(new C(65,105,225,1));case"saddlebrown":return new e(new C(139,69,19,1));case"salmon":return new e(new C(250,128,114,1));case"sandybrown":return new e(new C(244,164,96,1));case"seagreen":return new e(new C(46,139,87,1));case"seashell":return new e(new C(255,245,238,1));case"sienna":return new e(new C(160,82,45,1));case"silver":return new e(new C(192,192,192,1));case"skyblue":return new e(new C(135,206,235,1));case"slateblue":return new e(new C(106,90,205,1));case"slategray":return new e(new C(112,128,144,1));case"slategrey":return new e(new C(112,128,144,1));case"snow":return new e(new C(255,250,250,1));case"springgreen":return new e(new C(0,255,127,1));case"steelblue":return new e(new C(70,130,180,1));case"tan":return new e(new C(210,180,140,1));case"teal":return new e(new C(0,128,128,1));case"thistle":return new e(new C(216,191,216,1));case"tomato":return new e(new C(255,99,71,1));case"turquoise":return new e(new C(64,224,208,1));case"violet":return new e(new C(238,130,238,1));case"wheat":return new e(new C(245,222,179,1));case"white":return new e(new C(255,255,255,1));case"whitesmoke":return new e(new C(245,245,245,1));case"yellow":return new e(new C(255,255,0,1));case"yellowgreen":return new e(new C(154,205,50,1));default:return null}}function f(p){const x=p.length;if(x===0||p.charCodeAt(0)!==35)return null;if(x===7){const T=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),y=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),L=16*w(p.charCodeAt(5))+w(p.charCodeAt(6));return new e(new C(T,y,L,1))}if(x===9){const T=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),y=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),L=16*w(p.charCodeAt(5))+w(p.charCodeAt(6)),I=16*w(p.charCodeAt(7))+w(p.charCodeAt(8));return new e(new C(T,y,L,I/255))}if(x===4){const T=w(p.charCodeAt(1)),y=w(p.charCodeAt(2)),L=w(p.charCodeAt(3));return new e(new C(16*T+T,16*y+y,16*L+L))}if(x===5){const T=w(p.charCodeAt(1)),y=w(p.charCodeAt(2)),L=w(p.charCodeAt(3)),I=w(p.charCodeAt(4));return new e(new C(16*T+T,16*y+y,16*L+L,(16*I+I)/255))}return null}n.parseHex=f;function w(p){switch(p){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(t.CSS||(t.CSS={}))})(e.Format||(e.Format={}))}(yt||(yt={}));function aa(e){const t=[];for(const n of e){const i=Number(n);(i||i===0&&n.replace(/\s/g,"")!=="")&&t.push(i)}return t}function yi(e,t,n,i){return{red:e/255,blue:n/255,green:t/255,alpha:i}}function Bt(e,t){const n=t.index,i=t[0].length;if(n===void 0)return;const r=e.positionAt(n);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+i}}function ec(e,t){if(!e)return;const n=yt.Format.CSS.parseHex(t);if(!!n)return{range:e,color:yi(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function oa(e,t,n){if(!e||t.length!==1)return;const r=t[0].values(),s=aa(r);return{range:e,color:yi(s[0],s[1],s[2],n?s[3]:1)}}function la(e,t,n){if(!e||t.length!==1)return;const r=t[0].values(),s=aa(r),a=new yt(new ve(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:yi(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function qt(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function tc(e){const t=[],n=new RegExp(`\\b(rgb|rgba|hsl|hsla)(\\([0-9\\s,.\\%]*\\))|^(#)([A-Fa-f0-9]{3})\\b|^(#)([A-Fa-f0-9]{4})\\b|^(#)([A-Fa-f0-9]{6})\\b|^(#)([A-Fa-f0-9]{8})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{3})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{4})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{6})\\b|(?<=['"\\s])(#)([A-Fa-f0-9]{8})\\b`,"gm"),i=qt(e,n);if(i.length>0)for(const r of i){const s=r.filter(u=>u!==void 0),a=s[1],l=s[2];if(!l)continue;let o;if(a==="rgb"){const u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=oa(Bt(e,r),qt(l,u),!1)}else if(a==="rgba"){const u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=oa(Bt(e,r),qt(l,u),!0)}else if(a==="hsl"){const u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=la(Bt(e,r),qt(l,u),!1)}else if(a==="hsla"){const u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(0[.][0-9]+|[.][0-9]+|[01][.]0*|[01])\s*\)$/gm;o=la(Bt(e,r),qt(l,u),!0)}else a==="#"&&(o=ec(Bt(e,r),a+l));o&&t.push(o)}return t}function nc(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:tc(e)}const ic=/^-+|-+$/g,ua=100,rc=5;function sc(e,t){var i;let n=[];if(t.findRegionSectionHeaders&&((i=t.foldingRules)==null?void 0:i.markers)){const r=ac(e,t);n=n.concat(r)}if(t.findMarkSectionHeaders){const r=oc(e,t);n=n.concat(r)}return n}function ac(e,t){const n=[],i=e.getLineCount();for(let r=1;r<=i;r++){const s=e.getLineContent(r),a=s.match(t.foldingRules.markers.start);if(a){const l={startLineNumber:r,startColumn:a[0].length+1,endLineNumber:r,endColumn:s.length+1};if(l.endColumn>l.startColumn){const o={range:l,...lc(s.substring(a[0].length)),shouldBeInComments:!1};(o.text||o.hasSeparatorLine)&&n.push(o)}}}return n}function oc(e,t){var a,l,o,u;const n=[],i=e.getLineCount();if(!t.markSectionHeaderRegex||t.markSectionHeaderRegex.trim()==="")return n;const r=lu(t.markSectionHeaderRegex),s=new RegExp(t.markSectionHeaderRegex,`gdm${r?"s":""}`);if(tl(s))return n;for(let c=1;c<=i;c+=ua-rc){const d=Math.min(c+ua-1,i),m=[];for(let p=c;p<=d;p++)m.push(e.getLineContent(p));const f=m.join(`
25
25
  `);s.lastIndex=0;let w;for(;(w=s.exec(f))!==null;){const p=f.substring(0,w.index),x=(p.match(/\n/g)||[]).length,T=c+x,y=w[0].split(`
26
26
  `),L=y.length,I=T+L-1,H=p.lastIndexOf(`
27
- `)+1,W=w.index-H+1,b=y[y.length-1],g=L===1?W+w[0].length:b.length+1,_={startLineNumber:T,startColumn:W,endLineNumber:I,endColumn:g},N=(l=((a=w.groups)!=null?a:{}).label)!=null?l:"",S=((u=((o=w.groups)!=null?o:{}).separator)!=null?u:"")!=="",v={range:_,text:N,hasSeparatorLine:S,shouldBeInComments:!0};(v.text||v.hasSeparatorLine)&&(n.length===0||n[n.length-1].range.endLineNumber<v.range.startLineNumber)&&n.push(v),s.lastIndex=w.index+w[0].length}}return n}function cc(e){e=e.trim();const t=e.startsWith("-");return e=e.replace(sc,""),{text:e,hasSeparatorLine:t}}class hc{get isRejected(){var t;return((t=this.outcome)==null?void 0:t.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((t,n)=>{this.completeCallback=t,this.errorCallback=n})}complete(t){return new Promise(n=>{this.completeCallback(t),this.outcome={outcome:0,value:t},n()})}error(t){return new Promise(n=>{this.errorCallback(t),this.outcome={outcome:1,value:t},n()})}cancel(){return this.error(new Ji)}}var ha;(function(e){async function t(i){let r;const s=await Promise.all(i.map(a=>a.then(l=>l,l=>{r||(r=l)})));if(typeof r<"u")throw r;return s}e.settled=t;function n(i){return new Promise(async(r,s)=>{try{await i(r,s)}catch(a){s(a)}})}e.withAsyncBody=n})(ha||(ha={}));const he=class{static fromArray(t){return new he(n=>{n.emitMany(t)})}static fromPromise(t){return new he(async n=>{n.emitMany(await t)})}static fromPromisesResolveOrder(t){return new he(async n=>{await Promise.all(t.map(async i=>n.emitOne(await i)))})}static merge(t){return new he(async n=>{await Promise.all(t.map(async i=>{for await(const r of i)n.emitOne(r)}))})}constructor(t,n){this._state=0,this._results=[],this._error=null,this._onReturn=n,this._onStateChanged=new Ae,queueMicrotask(async()=>{const i={emitOne:r=>this.emitOne(r),emitMany:r=>this.emitMany(r),reject:r=>this.reject(r)};try{await Promise.resolve(t(i)),this.resolve()}catch(r){this.reject(r)}finally{i.emitOne=void 0,i.emitMany=void 0,i.reject=void 0}})}[Symbol.asyncIterator](){let t=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(t<this._results.length)return{done:!1,value:this._results[t++]};if(this._state===1)return{done:!0,value:void 0};await tn.toPromise(this._onStateChanged.event)}while(!0)},return:async()=>{var n;return(n=this._onReturn)==null||n.call(this),{done:!0,value:void 0}}}}static map(t,n){return new he(async i=>{for await(const r of t)i.emitOne(n(r))})}map(t){return he.map(this,t)}static filter(t,n){return new he(async i=>{for await(const r of t)n(r)&&i.emitOne(r)})}filter(t){return he.filter(this,t)}static coalesce(t){return he.filter(t,n=>!!n)}coalesce(){return he.coalesce(this)}static async toPromise(t){const n=[];for await(const i of t)n.push(i);return n}toPromise(){return he.toPromise(this)}emitOne(t){this._state===0&&(this._results.push(t),this._onStateChanged.fire())}emitMany(t){this._state===0&&(this._results=this._results.concat(t),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(t){this._state===0&&(this._state=2,this._error=t,this._onStateChanged.fire())}};let da=he;(()=>{he.EMPTY=he.fromArray([])})();class dc{constructor(){this._unsatisfiedConsumers=[],this._unconsumedValues=[]}get hasFinalValue(){return!!this._finalValue}produce(t){if(this._ensureNoFinalValue(),this._unsatisfiedConsumers.length>0){const n=this._unsatisfiedConsumers.shift();this._resolveOrRejectDeferred(n,t)}else this._unconsumedValues.push(t)}produceFinal(t){this._ensureNoFinalValue(),this._finalValue=t;for(const n of this._unsatisfiedConsumers)this._resolveOrRejectDeferred(n,t);this._unsatisfiedConsumers.length=0}_ensureNoFinalValue(){if(this._finalValue)throw new ue("ProducerConsumer: cannot produce after final value has been set")}_resolveOrRejectDeferred(t,n){n.ok?t.complete(n.value):t.error(n.error)}consume(){if(this._unconsumedValues.length>0||this._finalValue){const t=this._unconsumedValues.length>0?this._unconsumedValues.shift():this._finalValue;return t.ok?Promise.resolve(t.value):Promise.reject(t.error)}else{const t=new hc;return this._unsatisfiedConsumers.push(t),t.p}}}const pe=class{constructor(t,n){this._onReturn=n,this._producerConsumer=new dc,this._iterator={next:()=>this._producerConsumer.consume(),return:()=>{var i;return(i=this._onReturn)==null||i.call(this),Promise.resolve({done:!0,value:void 0})},throw:async i=>(this._finishError(i),{done:!0,value:void 0})},queueMicrotask(async()=>{const i=t({emitOne:r=>this._producerConsumer.produce({ok:!0,value:{done:!1,value:r}}),emitMany:r=>{for(const s of r)this._producerConsumer.produce({ok:!0,value:{done:!1,value:s}})},reject:r=>this._finishError(r)});if(!this._producerConsumer.hasFinalValue)try{await i,this._finishOk()}catch(r){this._finishError(r)}})}static fromArray(t){return new pe(n=>{n.emitMany(t)})}static fromPromise(t){return new pe(async n=>{n.emitMany(await t)})}static fromPromisesResolveOrder(t){return new pe(async n=>{await Promise.all(t.map(async i=>n.emitOne(await i)))})}static merge(t){return new pe(async n=>{await Promise.all(t.map(async i=>{for await(const r of i)n.emitOne(r)}))})}static map(t,n){return new pe(async i=>{for await(const r of t)i.emitOne(n(r))})}map(t){return pe.map(this,t)}static coalesce(t){return pe.filter(t,n=>!!n)}coalesce(){return pe.coalesce(this)}static filter(t,n){return new pe(async i=>{for await(const r of t)n(r)&&i.emitOne(r)})}filter(t){return pe.filter(this,t)}_finishOk(){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!0,value:{done:!0,value:void 0}})}_finishError(t){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!1,error:t})}[Symbol.asyncIterator](){return this._iterator}};let ma=pe;(()=>{pe.EMPTY=pe.fromArray([])})();class mc{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=dt(t);const i=this.values,r=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(i.length+s),this.values.set(i.subarray(0,t),0),this.values.set(i.subarray(t),t+s),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=dt(t),n=dt(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,n){t=dt(t),n=dt(n);const i=this.values,r=this.prefixSum;if(t>=i.length)return!1;const s=i.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(i.length-n),this.values.set(i.subarray(0,t),0),this.values.set(i.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=dt(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let i=n;i<=t;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,i=this.values.length-1,r=0,s=0,a=0;for(;n<=i;)if(r=n+(i-n)/2|0,s=this.prefixSum[r],a=s-this.values[r],t<a)i=r-1;else if(t>=s)n=r+1;else break;return new fc(r,t-a)}}class fc{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class pc{constructor(t,n,i,r){this._uri=t,this._lines=n,this._eol=i,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const i of n)this._acceptDeleteRange(i.range),this._acceptInsertText(new Y(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,i=new Uint32Array(n);for(let r=0;r<n;r++)i[r]=this._lines[r].length+t;this._lineStarts=new mc(i)}}_setLineText(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,n){if(n.length===0)return;const i=rl(n);if(i.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+i[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}i[i.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+i[0]);const r=new Uint32Array(i.length-1);for(let s=1;s<i.length;s++)this._lines.splice(t.lineNumber+s-1,0,i[s]),r[s-1]=i[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,r)}}class gc{constructor(){this._models=Object.create(null)}getModel(t){return this._models[t]}getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}$acceptNewModel(t){this._models[t.url]=new bc(nt.parse(t.url),t.lines,t.EOL,t.versionId)}$acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}$acceptRemovedModel(t){!this._models[t]||delete this._models[t]}}class bc extends pc{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){const n=[];for(let i=0;i<this._lines.length;i++){const r=this._lines[i],s=this.offsetAt(new Y(i+1,1)),a=r.matchAll(t);for(const l of a)(l.index||l.index===0)&&(l.index=l.index+s),n.push(l)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const i=pi(t.column,Ws(n),this._lines[t.lineNumber-1],0);return i?new P(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn):null}words(t){const n=this._lines,i=this._wordenize.bind(this);let r=0,s="",a=0,l=[];return{*[Symbol.iterator](){for(;;)if(a<l.length){const o=s.substring(l[a].start,l[a].end);a+=1,yield o}else if(r<n.length)s=n[r],l=i(s,t),a=0,r+=1;else break}}}getLineWords(t,n){const i=this._lines[t-1],r=this._wordenize(i,n),s=[];for(const a of r)s.push({word:i.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(t,n){const i=[];let r;for(n.lastIndex=0;(r=n.exec(t))&&r[0].length!==0;)i.push({start:r.index,end:r.index+r[0].length});return i}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,i=t.startLineNumber-1,r=t.endLineNumber-1,s=[];s.push(this._lines[i].substring(t.startColumn-1));for(let a=i+1;a<r;a++)s.push(this._lines[a]);return s.push(this._lines[r].substring(0,t.endColumn-1)),s.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),i=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,i)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),i=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||i.lineNumber!==t.endLineNumber||i.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}:t}_validatePosition(t){if(!Y.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:i}=t,r=!1;if(n<1)n=1,i=1,r=!0;else if(n>this._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,r=!0;else{const s=this._lines[n-1].length+1;i<1?(i=1,r=!0):i>s&&(i=s,r=!0)}return r?{lineNumber:n,column:i}:t}}const ot=class{constructor(t=null){this._foreignModule=t,this._workerTextModelSyncServer=new gc}dispose(){}async $ping(){return"pong"}_getModel(t){return this._workerTextModelSyncServer.getModel(t)}getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(t){this._workerTextModelSyncServer.$acceptNewModel(t)}$acceptModelChanged(t,n){this._workerTextModelSyncServer.$acceptModelChanged(t,n)}$acceptRemovedModel(t){this._workerTextModelSyncServer.$acceptRemovedModel(t)}async $computeUnicodeHighlights(t,n,i){const r=this._getModel(t);return r?wu.computeUnicodeHighlights(r,n,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(t,n){const i=this._getModel(t);return i?oc(i,n):[]}async $computeDiff(t,n,i,r){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:ot.computeDiff(s,a,i,r)}static computeDiff(t,n,i,r){const s=r==="advanced"?aa.getDefault():aa.getLegacy(),a=t.getLinesContent(),l=n.getLinesContent(),o=s.computeDiff(a,l,i),u=o.changes.length>0?!1:this._modelsAreIdentical(t,n);function c(d){return d.map(m=>{var f;return[m.original.startLineNumber,m.original.endLineNumberExclusive,m.modified.startLineNumber,m.modified.endLineNumberExclusive,(f=m.innerChanges)==null?void 0:f.map(w=>[w.originalRange.startLineNumber,w.originalRange.startColumn,w.originalRange.endLineNumber,w.originalRange.endColumn,w.modifiedRange.startLineNumber,w.modifiedRange.startColumn,w.modifiedRange.endLineNumber,w.modifiedRange.endColumn])]})}return{identical:u,quitEarly:o.hitTimeout,changes:c(o.changes),moves:o.moves.map(d=>[d.lineRangeMapping.original.startLineNumber,d.lineRangeMapping.original.endLineNumberExclusive,d.lineRangeMapping.modified.startLineNumber,d.lineRangeMapping.modified.endLineNumberExclusive,c(d.changes)])}}static _modelsAreIdentical(t,n){const i=t.getLineCount(),r=n.getLineCount();if(i!==r)return!1;for(let s=1;s<=i;s++){const a=t.getLineContent(s),l=n.getLineContent(s);if(a!==l)return!1}return!0}async $computeMoreMinimalEdits(t,n,i){const r=this._getModel(t);if(!r)return n;const s=[];let a;n=n.slice(0).sort((o,u)=>{if(o.range&&u.range)return P.compareRangesUsingStarts(o.range,u.range);const c=o.range?0:1,d=u.range?0:1;return c-d});let l=0;for(let o=1;o<n.length;o++)P.getEndPosition(n[l].range).equals(P.getStartPosition(n[o].range))?(n[l].range=P.fromPositions(P.getStartPosition(n[l].range),P.getEndPosition(n[o].range)),n[l].text+=n[o].text):(l++,n[l]=n[o]);n.length=l+1;for(let{range:o,text:u,eol:c}of n){if(typeof c=="number"&&(a=c),P.isEmpty(o)&&!u)continue;const d=r.getValueInRange(o);if(u=u.replace(/\r\n|\n|\r/g,r.eol),d===u)continue;if(Math.max(u.length,d.length)>ot._diffLimit){s.push({range:o,text:u});continue}const m=xl(d,u,i),f=r.offsetAt(P.lift(o).getStartPosition());for(const w of m){const p=r.positionAt(f+w.originalStart),x=r.positionAt(f+w.originalStart+w.originalLength),T={text:u.substr(w.modifiedStart,w.modifiedLength),range:{startLineNumber:p.lineNumber,startColumn:p.column,endLineNumber:x.lineNumber,endColumn:x.column}};r.getValueInRange(T.range)!==T.text&&s.push(T)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(t){const n=this._getModel(t);return n?Cl(n):null}async $computeDefaultDocumentColors(t){const n=this._getModel(t);return n?rc(n):null}async $textualSuggest(t,n,i,r){const s=new en,a=new RegExp(i,r),l=new Set;e:for(const o of t){const u=this._getModel(o);if(!!u){for(const c of u.words(a))if(!(c===n||!isNaN(Number(c)))&&(l.add(c),l.size>ot._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}}async $computeWordRanges(t,n,i,r){const s=this._getModel(t);if(!s)return Object.create(null);const a=new RegExp(i,r),l=Object.create(null);for(let o=n.startLineNumber;o<n.endLineNumber;o++){const u=s.getLineWords(o,a);for(const c of u){if(!isNaN(Number(c.word)))continue;let d=l[c.word];d||(d=[],l[c.word]=d),d.push({startLineNumber:o,startColumn:c.startColumn,endLineNumber:o,endColumn:c.endColumn})}}return l}async $navigateValueSet(t,n,i,r,s){const a=this._getModel(t);if(!a)return null;const l=new RegExp(r,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const o=a.getValueInRange(n),u=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l);if(!u)return null;const c=a.getValueInRange(u);return ni.INSTANCE.navigateValueSet(n,o,u,c,i)}$fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(i){return Promise.reject(i)}}};let xi=ot;(()=>{ot._diffLimit=1e5})(),(()=>{ot._suggestionsLimit=1e4})(),typeof importScripts=="function"&&(globalThis.monaco=iu());const Yt=class{static getChannel(t){return t.getChannel(Yt.CHANNEL_NAME)}static setChannel(t,n){t.setChannel(Yt.CHANNEL_NAME,n)}};let ki=Yt;(()=>{Yt.CHANNEL_NAME="editorWorkerHost"})();function wc(e){let t;const n=vl(i=>{const r=ki.getChannel(i),a={host:new Proxy({},{get(l,o,u){if(o!=="then"){if(typeof o!="string")throw new Error("Not supported");return(...c)=>r.$fhr(o,c)}}}),getMirrorModels:()=>n.requestHandler.getModels()};return t=e(a),new xi(t)});return t}function _c(e){self.onmessage=t=>{wc(n=>e(n,t.data))}}var Si;function Ee(...e){var a;const t=e[0];let n,i,r;if(typeof t=="string")n=t,i=t,e.splice(0,1),r=!e||typeof e[0]!="object"?e:e[0];else if(t instanceof Array){const l=e.slice(1);if(t.length!==l.length+1)throw new Error("expected a string as the first argument to l10n.t");let o=t[0];for(let u=1;u<t.length;u++)o+=`{${u-1}}`+t[u];return Ee(o,...l)}else i=t.message,n=i,t.comment&&t.comment.length>0&&(n+=`/${Array.isArray(t.comment)?t.comment.join(""):t.comment}`),r=(a=t.args)!=null?a:{};const s=Si==null?void 0:Si[n];return s?typeof s=="string"?bn(s,r):s.comment?bn(s.message,r):bn(i,r):bn(i,r)}var vc=/{([^}]+)}/g;function bn(e,t){return Object.keys(t).length===0?e:e.replace(vc,(n,i)=>{var r;return(r=t[i])!=null?r:n})}var fa;(function(e){function t(n){return typeof n=="string"}e.is=t})(fa||(fa={}));var Ai;(function(e){function t(n){return typeof n=="string"}e.is=t})(Ai||(Ai={}));var pa;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(pa||(pa={}));var wn;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(wn||(wn={}));var re;(function(e){function t(i,r){return i===Number.MAX_VALUE&&(i=wn.MAX_VALUE),r===Number.MAX_VALUE&&(r=wn.MAX_VALUE),{line:i,character:r}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&R.uinteger(r.line)&&R.uinteger(r.character)}e.is=n})(re||(re={}));var J;(function(e){function t(i,r,s,a){if(R.uinteger(i)&&R.uinteger(r)&&R.uinteger(s)&&R.uinteger(a))return{start:re.create(i,r),end:re.create(s,a)};if(re.is(i)&&re.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${s}, ${a}]`)}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&re.is(r.start)&&re.is(r.end)}e.is=n})(J||(J={}));var _n;(function(e){function t(i,r){return{uri:i,range:r}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&J.is(r.range)&&(R.string(r.uri)||R.undefined(r.uri))}e.is=n})(_n||(_n={}));var ga;(function(e){function t(i,r,s,a){return{targetUri:i,targetRange:r,targetSelectionRange:s,originSelectionRange:a}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&J.is(r.targetRange)&&R.string(r.targetUri)&&J.is(r.targetSelectionRange)&&(J.is(r.originSelectionRange)||R.undefined(r.originSelectionRange))}e.is=n})(ga||(ga={}));var Li;(function(e){function t(i,r,s,a){return{red:i,green:r,blue:s,alpha:a}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.numberRange(r.red,0,1)&&R.numberRange(r.green,0,1)&&R.numberRange(r.blue,0,1)&&R.numberRange(r.alpha,0,1)}e.is=n})(Li||(Li={}));var ba;(function(e){function t(i,r){return{range:i,color:r}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&J.is(r.range)&&Li.is(r.color)}e.is=n})(ba||(ba={}));var wa;(function(e){function t(i,r,s){return{label:i,textEdit:r,additionalTextEdits:s}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.string(r.label)&&(R.undefined(r.textEdit)||oe.is(r))&&(R.undefined(r.additionalTextEdits)||R.typedArray(r.additionalTextEdits,oe.is))}e.is=n})(wa||(wa={}));var vn;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(vn||(vn={}));var _a;(function(e){function t(i,r,s,a,l,o){const u={startLine:i,endLine:r};return R.defined(s)&&(u.startCharacter=s),R.defined(a)&&(u.endCharacter=a),R.defined(l)&&(u.kind=l),R.defined(o)&&(u.collapsedText=o),u}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.uinteger(r.startLine)&&R.uinteger(r.startLine)&&(R.undefined(r.startCharacter)||R.uinteger(r.startCharacter))&&(R.undefined(r.endCharacter)||R.uinteger(r.endCharacter))&&(R.undefined(r.kind)||R.string(r.kind))}e.is=n})(_a||(_a={}));var Ci;(function(e){function t(i,r){return{location:i,message:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&_n.is(r.location)&&R.string(r.message)}e.is=n})(Ci||(Ci={}));var va;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(va||(va={}));var ya;(function(e){e.Unnecessary=1,e.Deprecated=2})(ya||(ya={}));var Ta;(function(e){function t(n){const i=n;return R.objectLiteral(i)&&R.string(i.href)}e.is=t})(Ta||(Ta={}));var yn;(function(e){function t(i,r,s,a,l,o){let u={range:i,message:r};return R.defined(s)&&(u.severity=s),R.defined(a)&&(u.code=a),R.defined(l)&&(u.source=l),R.defined(o)&&(u.relatedInformation=o),u}e.create=t;function n(i){var r;let s=i;return R.defined(s)&&J.is(s.range)&&R.string(s.message)&&(R.number(s.severity)||R.undefined(s.severity))&&(R.integer(s.code)||R.string(s.code)||R.undefined(s.code))&&(R.undefined(s.codeDescription)||R.string((r=s.codeDescription)===null||r===void 0?void 0:r.href))&&(R.string(s.source)||R.undefined(s.source))&&(R.undefined(s.relatedInformation)||R.typedArray(s.relatedInformation,Ci.is))}e.is=n})(yn||(yn={}));var xt;(function(e){function t(i,r,...s){let a={title:i,command:r};return R.defined(s)&&s.length>0&&(a.arguments=s),a}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.title)&&R.string(r.command)}e.is=n})(xt||(xt={}));var oe;(function(e){function t(s,a){return{range:s,newText:a}}e.replace=t;function n(s,a){return{range:{start:s,end:s},newText:a}}e.insert=n;function i(s){return{range:s,newText:""}}e.del=i;function r(s){const a=s;return R.objectLiteral(a)&&R.string(a.newText)&&J.is(a.range)}e.is=r})(oe||(oe={}));var Ei;(function(e){function t(i,r,s){const a={label:i};return r!==void 0&&(a.needsConfirmation=r),s!==void 0&&(a.description=s),a}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.string(r.label)&&(R.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(R.string(r.description)||r.description===void 0)}e.is=n})(Ei||(Ei={}));var kt;(function(e){function t(n){const i=n;return R.string(i)}e.is=t})(kt||(kt={}));var xa;(function(e){function t(s,a,l){return{range:s,newText:a,annotationId:l}}e.replace=t;function n(s,a,l){return{range:{start:s,end:s},newText:a,annotationId:l}}e.insert=n;function i(s,a){return{range:s,newText:"",annotationId:a}}e.del=i;function r(s){const a=s;return oe.is(a)&&(Ei.is(a.annotationId)||kt.is(a.annotationId))}e.is=r})(xa||(xa={}));var Di;(function(e){function t(i,r){return{textDocument:i,edits:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&zi.is(r.textDocument)&&Array.isArray(r.edits)}e.is=n})(Di||(Di={}));var Ri;(function(e){function t(i,r,s){let a={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(i){let r=i;return r&&r.kind==="create"&&R.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||R.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||R.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||kt.is(r.annotationId))}e.is=n})(Ri||(Ri={}));var Mi;(function(e){function t(i,r,s,a){let l={kind:"rename",oldUri:i,newUri:r};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(l.options=s),a!==void 0&&(l.annotationId=a),l}e.create=t;function n(i){let r=i;return r&&r.kind==="rename"&&R.string(r.oldUri)&&R.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||R.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||R.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||kt.is(r.annotationId))}e.is=n})(Mi||(Mi={}));var Ni;(function(e){function t(i,r,s){let a={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(i){let r=i;return r&&r.kind==="delete"&&R.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||R.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||R.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||kt.is(r.annotationId))}e.is=n})(Ni||(Ni={}));var Ii;(function(e){function t(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>R.string(r.kind)?Ri.is(r)||Mi.is(r)||Ni.is(r):Di.is(r)))}e.is=t})(Ii||(Ii={}));var ka;(function(e){function t(i){return{uri:i}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)}e.is=n})(ka||(ka={}));var Sa;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)&&R.integer(r.version)}e.is=n})(Sa||(Sa={}));var zi;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)&&(r.version===null||R.integer(r.version))}e.is=n})(zi||(zi={}));var Aa;(function(e){function t(i,r,s,a){return{uri:i,languageId:r,version:s,text:a}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)&&R.string(r.languageId)&&R.integer(r.version)&&R.string(r.text)}e.is=n})(Aa||(Aa={}));var Ve;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const i=n;return i===e.PlainText||i===e.Markdown}e.is=t})(Ve||(Ve={}));var Vt;(function(e){function t(n){const i=n;return R.objectLiteral(n)&&Ve.is(i.kind)&&R.string(i.value)}e.is=t})(Vt||(Vt={}));var fe;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(fe||(fe={}));var De;(function(e){e.PlainText=1,e.Snippet=2})(De||(De={}));var La;(function(e){e.Deprecated=1})(La||(La={}));var Ca;(function(e){function t(i,r,s){return{newText:i,insert:r,replace:s}}e.create=t;function n(i){const r=i;return r&&R.string(r.newText)&&J.is(r.insert)&&J.is(r.replace)}e.is=n})(Ca||(Ca={}));var Ea;(function(e){e.asIs=1,e.adjustIndentation=2})(Ea||(Ea={}));var Da;(function(e){function t(n){const i=n;return i&&(R.string(i.detail)||i.detail===void 0)&&(R.string(i.description)||i.description===void 0)}e.is=t})(Da||(Da={}));var Ra;(function(e){function t(n){return{label:n}}e.create=t})(Ra||(Ra={}));var Ma;(function(e){function t(n,i){return{items:n||[],isIncomplete:!!i}}e.create=t})(Ma||(Ma={}));var Tn;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(i){const r=i;return R.string(r)||R.objectLiteral(r)&&R.string(r.language)&&R.string(r.value)}e.is=n})(Tn||(Tn={}));var Na;(function(e){function t(n){let i=n;return!!i&&R.objectLiteral(i)&&(Vt.is(i.contents)||Tn.is(i.contents)||R.typedArray(i.contents,Tn.is))&&(n.range===void 0||J.is(n.range))}e.is=t})(Na||(Na={}));var Ia;(function(e){function t(n,i){return i?{label:n,documentation:i}:{label:n}}e.create=t})(Ia||(Ia={}));var za;(function(e){function t(n,i,...r){let s={label:n};return R.defined(i)&&(s.documentation=i),R.defined(r)?s.parameters=r:s.parameters=[],s}e.create=t})(za||(za={}));var xn;(function(e){e.Text=1,e.Read=2,e.Write=3})(xn||(xn={}));var Ha;(function(e){function t(n,i){let r={range:n};return R.number(i)&&(r.kind=i),r}e.create=t})(Ha||(Ha={}));var Hi;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(Hi||(Hi={}));var Ua;(function(e){e.Deprecated=1})(Ua||(Ua={}));var Ui;(function(e){function t(n,i,r,s,a){let l={name:n,kind:i,location:{uri:s,range:r}};return a&&(l.containerName=a),l}e.create=t})(Ui||(Ui={}));var Wa;(function(e){function t(n,i,r,s){return s!==void 0?{name:n,kind:i,location:{uri:r,range:s}}:{name:n,kind:i,location:{uri:r}}}e.create=t})(Wa||(Wa={}));var Wi;(function(e){function t(i,r,s,a,l,o){let u={name:i,detail:r,kind:s,range:a,selectionRange:l};return o!==void 0&&(u.children=o),u}e.create=t;function n(i){let r=i;return r&&R.string(r.name)&&R.number(r.kind)&&J.is(r.range)&&J.is(r.selectionRange)&&(r.detail===void 0||R.string(r.detail))&&(r.deprecated===void 0||R.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=n})(Wi||(Wi={}));var Fa;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(Fa||(Fa={}));var kn;(function(e){e.Invoked=1,e.Automatic=2})(kn||(kn={}));var Pa;(function(e){function t(i,r,s){let a={diagnostics:i};return r!=null&&(a.only=r),s!=null&&(a.triggerKind=s),a}e.create=t;function n(i){let r=i;return R.defined(r)&&R.typedArray(r.diagnostics,yn.is)&&(r.only===void 0||R.typedArray(r.only,R.string))&&(r.triggerKind===void 0||r.triggerKind===kn.Invoked||r.triggerKind===kn.Automatic)}e.is=n})(Pa||(Pa={}));var Ba;(function(e){function t(i,r,s){let a={title:i},l=!0;return typeof r=="string"?(l=!1,a.kind=r):xt.is(r)?a.command=r:a.edit=r,l&&s!==void 0&&(a.kind=s),a}e.create=t;function n(i){let r=i;return r&&R.string(r.title)&&(r.diagnostics===void 0||R.typedArray(r.diagnostics,yn.is))&&(r.kind===void 0||R.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||xt.is(r.command))&&(r.isPreferred===void 0||R.boolean(r.isPreferred))&&(r.edit===void 0||Ii.is(r.edit))}e.is=n})(Ba||(Ba={}));var qa;(function(e){function t(i,r){let s={range:i};return R.defined(r)&&(s.data=r),s}e.create=t;function n(i){let r=i;return R.defined(r)&&J.is(r.range)&&(R.undefined(r.command)||xt.is(r.command))}e.is=n})(qa||(qa={}));var Oa;(function(e){function t(i,r){return{tabSize:i,insertSpaces:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.uinteger(r.tabSize)&&R.boolean(r.insertSpaces)}e.is=n})(Oa||(Oa={}));var Va;(function(e){function t(i,r,s){return{range:i,target:r,data:s}}e.create=t;function n(i){let r=i;return R.defined(r)&&J.is(r.range)&&(R.undefined(r.target)||R.string(r.target))}e.is=n})(Va||(Va={}));var Sn;(function(e){function t(i,r){return{range:i,parent:r}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&J.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=n})(Sn||(Sn={}));var ja;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(ja||(ja={}));var Ga;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(Ga||(Ga={}));var $a;(function(e){function t(n){const i=n;return R.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})($a||($a={}));var Xa;(function(e){function t(i,r){return{range:i,text:r}}e.create=t;function n(i){const r=i;return r!=null&&J.is(r.range)&&R.string(r.text)}e.is=n})(Xa||(Xa={}));var Ja;(function(e){function t(i,r,s){return{range:i,variableName:r,caseSensitiveLookup:s}}e.create=t;function n(i){const r=i;return r!=null&&J.is(r.range)&&R.boolean(r.caseSensitiveLookup)&&(R.string(r.variableName)||r.variableName===void 0)}e.is=n})(Ja||(Ja={}));var Ya;(function(e){function t(i,r){return{range:i,expression:r}}e.create=t;function n(i){const r=i;return r!=null&&J.is(r.range)&&(R.string(r.expression)||r.expression===void 0)}e.is=n})(Ya||(Ya={}));var Qa;(function(e){function t(i,r){return{frameId:i,stoppedLocation:r}}e.create=t;function n(i){const r=i;return R.defined(r)&&J.is(i.stoppedLocation)}e.is=n})(Qa||(Qa={}));var Fi;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Fi||(Fi={}));var Pi;(function(e){function t(i){return{value:i}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&(r.tooltip===void 0||R.string(r.tooltip)||Vt.is(r.tooltip))&&(r.location===void 0||_n.is(r.location))&&(r.command===void 0||xt.is(r.command))}e.is=n})(Pi||(Pi={}));var Za;(function(e){function t(i,r,s){const a={position:i,label:r};return s!==void 0&&(a.kind=s),a}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&re.is(r.position)&&(R.string(r.label)||R.typedArray(r.label,Pi.is))&&(r.kind===void 0||Fi.is(r.kind))&&r.textEdits===void 0||R.typedArray(r.textEdits,oe.is)&&(r.tooltip===void 0||R.string(r.tooltip)||Vt.is(r.tooltip))&&(r.paddingLeft===void 0||R.boolean(r.paddingLeft))&&(r.paddingRight===void 0||R.boolean(r.paddingRight))}e.is=n})(Za||(Za={}));var Ka;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Ka||(Ka={}));var eo;(function(e){function t(n,i,r,s){return{insertText:n,filterText:i,range:r,command:s}}e.create=t})(eo||(eo={}));var to;(function(e){function t(n){return{items:n}}e.create=t})(to||(to={}));var no;(function(e){e.Invoked=0,e.Automatic=1})(no||(no={}));var io;(function(e){function t(n,i){return{range:n,text:i}}e.create=t})(io||(io={}));var ro;(function(e){function t(n,i){return{triggerKind:n,selectedCompletionInfo:i}}e.create=t})(ro||(ro={}));var so;(function(e){function t(n){const i=n;return R.objectLiteral(i)&&Ai.is(i.uri)&&R.string(i.name)}e.is=t})(so||(so={}));var ao;(function(e){function t(s,a,l,o){return new yc(s,a,l,o)}e.create=t;function n(s){let a=s;return!!(R.defined(a)&&R.string(a.uri)&&(R.undefined(a.languageId)||R.string(a.languageId))&&R.uinteger(a.lineCount)&&R.func(a.getText)&&R.func(a.positionAt)&&R.func(a.offsetAt))}e.is=n;function i(s,a){let l=s.getText(),o=r(a,(c,d)=>{let m=c.range.start.line-d.range.start.line;return m===0?c.range.start.character-d.range.start.character:m}),u=l.length;for(let c=o.length-1;c>=0;c--){let d=o[c],m=s.offsetAt(d.range.start),f=s.offsetAt(d.range.end);if(f<=u)l=l.substring(0,m)+d.newText+l.substring(f,l.length);else throw new Error("Overlapping edit");u=m}return l}e.applyEdits=i;function r(s,a){if(s.length<=1)return s;const l=s.length/2|0,o=s.slice(0,l),u=s.slice(l);r(o,a),r(u,a);let c=0,d=0,m=0;for(;c<o.length&&d<u.length;)a(o[c],u[d])<=0?s[m++]=o[c++]:s[m++]=u[d++];for(;c<o.length;)s[m++]=o[c++];for(;d<u.length;)s[m++]=u[d++];return s}})(ao||(ao={}));class yc{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,i=!0;for(let r=0;r<n.length;r++){i&&(t.push(r),i=!1);let s=n.charAt(r);i=s==="\r"||s===`
27
+ `)+1,W=w.index-H+1,b=y[y.length-1],g=L===1?W+w[0].length:b.length+1,_={startLineNumber:T,startColumn:W,endLineNumber:I,endColumn:g},N=(l=((a=w.groups)!=null?a:{}).label)!=null?l:"",S=((u=((o=w.groups)!=null?o:{}).separator)!=null?u:"")!=="",v={range:_,text:N,hasSeparatorLine:S,shouldBeInComments:!0};(v.text||v.hasSeparatorLine)&&(n.length===0||n[n.length-1].range.endLineNumber<v.range.startLineNumber)&&n.push(v),s.lastIndex=w.index+w[0].length}}return n}function lc(e){e=e.trim();const t=e.startsWith("-");return e=e.replace(ic,""),{text:e,hasSeparatorLine:t}}class uc{get isRejected(){var t;return((t=this.outcome)==null?void 0:t.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((t,n)=>{this.completeCallback=t,this.errorCallback=n})}complete(t){return this.isSettled?Promise.resolve():new Promise(n=>{this.completeCallback(t),this.outcome={outcome:0,value:t},n()})}error(t){return this.isSettled?Promise.resolve():new Promise(n=>{this.errorCallback(t),this.outcome={outcome:1,value:t},n()})}cancel(){return this.error(new Xi)}}var ca;(function(e){async function t(i){let r;const s=await Promise.all(i.map(a=>a.then(l=>l,l=>{r||(r=l)})));if(typeof r<"u")throw r;return s}e.settled=t;function n(i){return new Promise(async(r,s)=>{try{await i(r,s)}catch(a){s(a)}})}e.withAsyncBody=n})(ca||(ca={}));class cc{constructor(){this._unsatisfiedConsumers=[],this._unconsumedValues=[]}get hasFinalValue(){return!!this._finalValue}produce(t){if(this._ensureNoFinalValue(),this._unsatisfiedConsumers.length>0){const n=this._unsatisfiedConsumers.shift();this._resolveOrRejectDeferred(n,t)}else this._unconsumedValues.push(t)}produceFinal(t){this._ensureNoFinalValue(),this._finalValue=t;for(const n of this._unsatisfiedConsumers)this._resolveOrRejectDeferred(n,t);this._unsatisfiedConsumers.length=0}_ensureNoFinalValue(){if(this._finalValue)throw new ue("ProducerConsumer: cannot produce after final value has been set")}_resolveOrRejectDeferred(t,n){n.ok?t.complete(n.value):t.error(n.error)}consume(){if(this._unconsumedValues.length>0||this._finalValue){const t=this._unconsumedValues.length>0?this._unconsumedValues.shift():this._finalValue;return t.ok?Promise.resolve(t.value):Promise.reject(t.error)}else{const t=new uc;return this._unsatisfiedConsumers.push(t),t.p}}}const fe=class{constructor(t,n){this._onReturn=n,this._producerConsumer=new cc,this._iterator={next:()=>this._producerConsumer.consume(),return:()=>{var i;return(i=this._onReturn)==null||i.call(this),Promise.resolve({done:!0,value:void 0})},throw:async i=>(this._finishError(i),{done:!0,value:void 0})},queueMicrotask(async()=>{const i=t({emitOne:r=>this._producerConsumer.produce({ok:!0,value:{done:!1,value:r}}),emitMany:r=>{for(const s of r)this._producerConsumer.produce({ok:!0,value:{done:!1,value:s}})},reject:r=>this._finishError(r)});if(!this._producerConsumer.hasFinalValue)try{await i,this._finishOk()}catch(r){this._finishError(r)}})}static fromArray(t){return new fe(n=>{n.emitMany(t)})}static fromPromise(t){return new fe(async n=>{n.emitMany(await t)})}static fromPromisesResolveOrder(t){return new fe(async n=>{await Promise.all(t.map(async i=>n.emitOne(await i)))})}static merge(t){return new fe(async n=>{await Promise.all(t.map(async i=>{for await(const r of i)n.emitOne(r)}))})}static map(t,n){return new fe(async i=>{for await(const r of t)i.emitOne(n(r))})}map(t){return fe.map(this,t)}static coalesce(t){return fe.filter(t,n=>!!n)}coalesce(){return fe.coalesce(this)}static filter(t,n){return new fe(async i=>{for await(const r of t)n(r)&&i.emitOne(r)})}filter(t){return fe.filter(this,t)}_finishOk(){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!0,value:{done:!0,value:void 0}})}_finishError(t){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!1,error:t})}[Symbol.asyncIterator](){return this._iterator}};let ha=fe;(()=>{fe.EMPTY=fe.fromArray([])})();class hc{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=ht(t);const i=this.values,r=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(i.length+s),this.values.set(i.subarray(0,t),0),this.values.set(i.subarray(t),t+s),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=ht(t),n=ht(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,n){t=ht(t),n=ht(n);const i=this.values,r=this.prefixSum;if(t>=i.length)return!1;const s=i.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(i.length-n),this.values.set(i.subarray(0,t),0),this.values.set(i.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=ht(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let i=n;i<=t;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,i=this.values.length-1,r=0,s=0,a=0;for(;n<=i;)if(r=n+(i-n)/2|0,s=this.prefixSum[r],a=s-this.values[r],t<a)i=r-1;else if(t>=s)n=r+1;else break;return new dc(r,t-a)}}class dc{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class mc{constructor(t,n,i,r){this._uri=t,this._lines=n,this._eol=i,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const i of n)this._acceptDeleteRange(i.range),this._acceptInsertText(new Y(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,i=new Uint32Array(n);for(let r=0;r<n;r++)i[r]=this._lines[r].length+t;this._lineStarts=new hc(i)}}_setLineText(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,n){if(n.length===0)return;const i=nl(n);if(i.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+i[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}i[i.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+i[0]);const r=new Uint32Array(i.length-1);for(let s=1;s<i.length;s++)this._lines.splice(t.lineNumber+s-1,0,i[s]),r[s-1]=i[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,r)}}class fc{constructor(){this._models=Object.create(null)}getModel(t){return this._models[t]}getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}$acceptNewModel(t){this._models[t.url]=new pc(tt.parse(t.url),t.lines,t.EOL,t.versionId)}$acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}$acceptRemovedModel(t){!this._models[t]||delete this._models[t]}}class pc extends mc{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){const n=[];for(let i=0;i<this._lines.length;i++){const r=this._lines[i],s=this.offsetAt(new Y(i+1,1)),a=r.matchAll(t);for(const l of a)(l.index||l.index===0)&&(l.index=l.index+s),n.push(l)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const i=fi(t.column,Us(n),this._lines[t.lineNumber-1],0);return i?new P(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn):null}words(t){const n=this._lines,i=this._wordenize.bind(this);let r=0,s="",a=0,l=[];return{*[Symbol.iterator](){for(;;)if(a<l.length){const o=s.substring(l[a].start,l[a].end);a+=1,yield o}else if(r<n.length)s=n[r],l=i(s,t),a=0,r+=1;else break}}}getLineWords(t,n){const i=this._lines[t-1],r=this._wordenize(i,n),s=[];for(const a of r)s.push({word:i.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(t,n){const i=[];let r;for(n.lastIndex=0;(r=n.exec(t))&&r[0].length!==0;)i.push({start:r.index,end:r.index+r[0].length});return i}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,i=t.startLineNumber-1,r=t.endLineNumber-1,s=[];s.push(this._lines[i].substring(t.startColumn-1));for(let a=i+1;a<r;a++)s.push(this._lines[a]);return s.push(this._lines[r].substring(0,t.endColumn-1)),s.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),i=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,i)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),i=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||i.lineNumber!==t.endLineNumber||i.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}:t}_validatePosition(t){if(!Y.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:i}=t,r=!1;if(n<1)n=1,i=1,r=!0;else if(n>this._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,r=!0;else{const s=this._lines[n-1].length+1;i<1?(i=1,r=!0):i>s&&(i=s,r=!0)}return r?{lineNumber:n,column:i}:t}}const at=class{constructor(t=null){this._foreignModule=t,this._workerTextModelSyncServer=new fc}dispose(){}async $ping(){return"pong"}_getModel(t){return this._workerTextModelSyncServer.getModel(t)}getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(t){this._workerTextModelSyncServer.$acceptNewModel(t)}$acceptModelChanged(t,n){this._workerTextModelSyncServer.$acceptModelChanged(t,n)}$acceptRemovedModel(t){this._workerTextModelSyncServer.$acceptRemovedModel(t)}async $computeUnicodeHighlights(t,n,i){const r=this._getModel(t);return r?gu.computeUnicodeHighlights(r,n,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(t,n){const i=this._getModel(t);return i?sc(i,n):[]}async $computeDiff(t,n,i,r){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:at.computeDiff(s,a,i,r)}static computeDiff(t,n,i,r){const s=r==="advanced"?sa.getDefault():sa.getLegacy(),a=t.getLinesContent(),l=n.getLinesContent(),o=s.computeDiff(a,l,i),u=o.changes.length>0?!1:this._modelsAreIdentical(t,n);function c(d){return d.map(m=>{var f;return[m.original.startLineNumber,m.original.endLineNumberExclusive,m.modified.startLineNumber,m.modified.endLineNumberExclusive,(f=m.innerChanges)==null?void 0:f.map(w=>[w.originalRange.startLineNumber,w.originalRange.startColumn,w.originalRange.endLineNumber,w.originalRange.endColumn,w.modifiedRange.startLineNumber,w.modifiedRange.startColumn,w.modifiedRange.endLineNumber,w.modifiedRange.endColumn])]})}return{identical:u,quitEarly:o.hitTimeout,changes:c(o.changes),moves:o.moves.map(d=>[d.lineRangeMapping.original.startLineNumber,d.lineRangeMapping.original.endLineNumberExclusive,d.lineRangeMapping.modified.startLineNumber,d.lineRangeMapping.modified.endLineNumberExclusive,c(d.changes)])}}static _modelsAreIdentical(t,n){const i=t.getLineCount(),r=n.getLineCount();if(i!==r)return!1;for(let s=1;s<=i;s++){const a=t.getLineContent(s),l=n.getLineContent(s);if(a!==l)return!1}return!0}async $computeMoreMinimalEdits(t,n,i){const r=this._getModel(t);if(!r)return n;const s=[];let a;n=n.slice(0).sort((o,u)=>{if(o.range&&u.range)return P.compareRangesUsingStarts(o.range,u.range);const c=o.range?0:1,d=u.range?0:1;return c-d});let l=0;for(let o=1;o<n.length;o++)P.getEndPosition(n[l].range).equals(P.getStartPosition(n[o].range))?(n[l].range=P.fromPositions(P.getStartPosition(n[l].range),P.getEndPosition(n[o].range)),n[l].text+=n[o].text):(l++,n[l]=n[o]);n.length=l+1;for(let{range:o,text:u,eol:c}of n){if(typeof c=="number"&&(a=c),P.isEmpty(o)&&!u)continue;const d=r.getValueInRange(o);if(u=u.replace(/\r\n|\n|\r/g,r.eol),d===u)continue;if(Math.max(u.length,d.length)>at._diffLimit){s.push({range:o,text:u});continue}const m=yl(d,u,i),f=r.offsetAt(P.lift(o).getStartPosition());for(const w of m){const p=r.positionAt(f+w.originalStart),x=r.positionAt(f+w.originalStart+w.originalLength),T={text:u.substr(w.modifiedStart,w.modifiedLength),range:{startLineNumber:p.lineNumber,startColumn:p.column,endLineNumber:x.lineNumber,endColumn:x.column}};r.getValueInRange(T.range)!==T.text&&s.push(T)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(t){const n=this._getModel(t);return n?Al(n):null}async $computeDefaultDocumentColors(t){const n=this._getModel(t);return n?nc(n):null}async $textualSuggest(t,n,i,r){const s=new Kt,a=new RegExp(i,r),l=new Set;e:for(const o of t){const u=this._getModel(o);if(!!u){for(const c of u.words(a))if(!(c===n||!isNaN(Number(c)))&&(l.add(c),l.size>at._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}}async $computeWordRanges(t,n,i,r){const s=this._getModel(t);if(!s)return Object.create(null);const a=new RegExp(i,r),l=Object.create(null);for(let o=n.startLineNumber;o<n.endLineNumber;o++){const u=s.getLineWords(o,a);for(const c of u){if(!isNaN(Number(c.word)))continue;let d=l[c.word];d||(d=[],l[c.word]=d),d.push({startLineNumber:o,startColumn:c.startColumn,endLineNumber:o,endColumn:c.endColumn})}}return l}async $navigateValueSet(t,n,i,r,s){const a=this._getModel(t);if(!a)return null;const l=new RegExp(r,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const o=a.getValueInRange(n),u=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l);if(!u)return null;const c=a.getValueInRange(u);return ti.INSTANCE.navigateValueSet(n,o,u,c,i)}$fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(i){return Promise.reject(i)}}};let Ti=at;(()=>{at._diffLimit=1e5})(),(()=>{at._suggestionsLimit=1e4})(),typeof importScripts=="function"&&(globalThis.monaco=tu());const Jt=class{static getChannel(t){return t.getChannel(Jt.CHANNEL_NAME)}static setChannel(t,n){t.setChannel(Jt.CHANNEL_NAME,n)}};let xi=Jt;(()=>{Jt.CHANNEL_NAME="editorWorkerHost"})();function gc(e){let t;const n=wl(i=>{const r=xi.getChannel(i),a={host:new Proxy({},{get(l,o,u){if(o!=="then"){if(typeof o!="string")throw new Error("Not supported");return(...c)=>r.$fhr(o,c)}}}),getMirrorModels:()=>n.requestHandler.getModels()};return t=e(a),new Ti(t)});return t}function bc(e){self.onmessage=t=>{gc(n=>e(n,t.data))}}var ki;function Le(...e){var a;const t=e[0];let n,i,r;if(typeof t=="string")n=t,i=t,e.splice(0,1),r=!e||typeof e[0]!="object"?e:e[0];else if(t instanceof Array){const l=e.slice(1);if(t.length!==l.length+1)throw new Error("expected a string as the first argument to l10n.t");let o=t[0];for(let u=1;u<t.length;u++)o+=`{${u-1}}`+t[u];return Le(o,...l)}else i=t.message,n=i,t.comment&&t.comment.length>0&&(n+=`/${Array.isArray(t.comment)?t.comment.join(""):t.comment}`),r=(a=t.args)!=null?a:{};const s=ki==null?void 0:ki[n];return s?typeof s=="string"?pn(s,r):s.comment?pn(s.message,r):pn(i,r):pn(i,r)}var wc=/{([^}]+)}/g;function pn(e,t){return Object.keys(t).length===0?e:e.replace(wc,(n,i)=>{var r;return(r=t[i])!=null?r:n})}var da;(function(e){function t(n){return typeof n=="string"}e.is=t})(da||(da={}));var Si;(function(e){function t(n){return typeof n=="string"}e.is=t})(Si||(Si={}));var ma;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(ma||(ma={}));var gn;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(gn||(gn={}));var re;(function(e){function t(i,r){return i===Number.MAX_VALUE&&(i=gn.MAX_VALUE),r===Number.MAX_VALUE&&(r=gn.MAX_VALUE),{line:i,character:r}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&R.uinteger(r.line)&&R.uinteger(r.character)}e.is=n})(re||(re={}));var J;(function(e){function t(i,r,s,a){if(R.uinteger(i)&&R.uinteger(r)&&R.uinteger(s)&&R.uinteger(a))return{start:re.create(i,r),end:re.create(s,a)};if(re.is(i)&&re.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${s}, ${a}]`)}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&re.is(r.start)&&re.is(r.end)}e.is=n})(J||(J={}));var bn;(function(e){function t(i,r){return{uri:i,range:r}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&J.is(r.range)&&(R.string(r.uri)||R.undefined(r.uri))}e.is=n})(bn||(bn={}));var fa;(function(e){function t(i,r,s,a){return{targetUri:i,targetRange:r,targetSelectionRange:s,originSelectionRange:a}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&J.is(r.targetRange)&&R.string(r.targetUri)&&J.is(r.targetSelectionRange)&&(J.is(r.originSelectionRange)||R.undefined(r.originSelectionRange))}e.is=n})(fa||(fa={}));var Ai;(function(e){function t(i,r,s,a){return{red:i,green:r,blue:s,alpha:a}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.numberRange(r.red,0,1)&&R.numberRange(r.green,0,1)&&R.numberRange(r.blue,0,1)&&R.numberRange(r.alpha,0,1)}e.is=n})(Ai||(Ai={}));var pa;(function(e){function t(i,r){return{range:i,color:r}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&J.is(r.range)&&Ai.is(r.color)}e.is=n})(pa||(pa={}));var ga;(function(e){function t(i,r,s){return{label:i,textEdit:r,additionalTextEdits:s}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.string(r.label)&&(R.undefined(r.textEdit)||oe.is(r))&&(R.undefined(r.additionalTextEdits)||R.typedArray(r.additionalTextEdits,oe.is))}e.is=n})(ga||(ga={}));var wn;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(wn||(wn={}));var ba;(function(e){function t(i,r,s,a,l,o){const u={startLine:i,endLine:r};return R.defined(s)&&(u.startCharacter=s),R.defined(a)&&(u.endCharacter=a),R.defined(l)&&(u.kind=l),R.defined(o)&&(u.collapsedText=o),u}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.uinteger(r.startLine)&&R.uinteger(r.startLine)&&(R.undefined(r.startCharacter)||R.uinteger(r.startCharacter))&&(R.undefined(r.endCharacter)||R.uinteger(r.endCharacter))&&(R.undefined(r.kind)||R.string(r.kind))}e.is=n})(ba||(ba={}));var Li;(function(e){function t(i,r){return{location:i,message:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&bn.is(r.location)&&R.string(r.message)}e.is=n})(Li||(Li={}));var wa;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(wa||(wa={}));var _a;(function(e){e.Unnecessary=1,e.Deprecated=2})(_a||(_a={}));var va;(function(e){function t(n){const i=n;return R.objectLiteral(i)&&R.string(i.href)}e.is=t})(va||(va={}));var _n;(function(e){function t(i,r,s,a,l,o){let u={range:i,message:r};return R.defined(s)&&(u.severity=s),R.defined(a)&&(u.code=a),R.defined(l)&&(u.source=l),R.defined(o)&&(u.relatedInformation=o),u}e.create=t;function n(i){var r;let s=i;return R.defined(s)&&J.is(s.range)&&R.string(s.message)&&(R.number(s.severity)||R.undefined(s.severity))&&(R.integer(s.code)||R.string(s.code)||R.undefined(s.code))&&(R.undefined(s.codeDescription)||R.string((r=s.codeDescription)===null||r===void 0?void 0:r.href))&&(R.string(s.source)||R.undefined(s.source))&&(R.undefined(s.relatedInformation)||R.typedArray(s.relatedInformation,Li.is))}e.is=n})(_n||(_n={}));var Tt;(function(e){function t(i,r,...s){let a={title:i,command:r};return R.defined(s)&&s.length>0&&(a.arguments=s),a}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.title)&&R.string(r.command)}e.is=n})(Tt||(Tt={}));var oe;(function(e){function t(s,a){return{range:s,newText:a}}e.replace=t;function n(s,a){return{range:{start:s,end:s},newText:a}}e.insert=n;function i(s){return{range:s,newText:""}}e.del=i;function r(s){const a=s;return R.objectLiteral(a)&&R.string(a.newText)&&J.is(a.range)}e.is=r})(oe||(oe={}));var Ci;(function(e){function t(i,r,s){const a={label:i};return r!==void 0&&(a.needsConfirmation=r),s!==void 0&&(a.description=s),a}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&R.string(r.label)&&(R.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(R.string(r.description)||r.description===void 0)}e.is=n})(Ci||(Ci={}));var xt;(function(e){function t(n){const i=n;return R.string(i)}e.is=t})(xt||(xt={}));var ya;(function(e){function t(s,a,l){return{range:s,newText:a,annotationId:l}}e.replace=t;function n(s,a,l){return{range:{start:s,end:s},newText:a,annotationId:l}}e.insert=n;function i(s,a){return{range:s,newText:"",annotationId:a}}e.del=i;function r(s){const a=s;return oe.is(a)&&(Ci.is(a.annotationId)||xt.is(a.annotationId))}e.is=r})(ya||(ya={}));var Ei;(function(e){function t(i,r){return{textDocument:i,edits:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&Ii.is(r.textDocument)&&Array.isArray(r.edits)}e.is=n})(Ei||(Ei={}));var Di;(function(e){function t(i,r,s){let a={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(i){let r=i;return r&&r.kind==="create"&&R.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||R.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||R.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||xt.is(r.annotationId))}e.is=n})(Di||(Di={}));var Ri;(function(e){function t(i,r,s,a){let l={kind:"rename",oldUri:i,newUri:r};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(l.options=s),a!==void 0&&(l.annotationId=a),l}e.create=t;function n(i){let r=i;return r&&r.kind==="rename"&&R.string(r.oldUri)&&R.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||R.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||R.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||xt.is(r.annotationId))}e.is=n})(Ri||(Ri={}));var Mi;(function(e){function t(i,r,s){let a={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(i){let r=i;return r&&r.kind==="delete"&&R.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||R.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||R.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||xt.is(r.annotationId))}e.is=n})(Mi||(Mi={}));var Ni;(function(e){function t(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>R.string(r.kind)?Di.is(r)||Ri.is(r)||Mi.is(r):Ei.is(r)))}e.is=t})(Ni||(Ni={}));var Ta;(function(e){function t(i){return{uri:i}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)}e.is=n})(Ta||(Ta={}));var xa;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)&&R.integer(r.version)}e.is=n})(xa||(xa={}));var Ii;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)&&(r.version===null||R.integer(r.version))}e.is=n})(Ii||(Ii={}));var ka;(function(e){function t(i,r,s,a){return{uri:i,languageId:r,version:s,text:a}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.string(r.uri)&&R.string(r.languageId)&&R.integer(r.version)&&R.string(r.text)}e.is=n})(ka||(ka={}));var Oe;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const i=n;return i===e.PlainText||i===e.Markdown}e.is=t})(Oe||(Oe={}));var Ot;(function(e){function t(n){const i=n;return R.objectLiteral(n)&&Oe.is(i.kind)&&R.string(i.value)}e.is=t})(Ot||(Ot={}));var me;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(me||(me={}));var Ce;(function(e){e.PlainText=1,e.Snippet=2})(Ce||(Ce={}));var Sa;(function(e){e.Deprecated=1})(Sa||(Sa={}));var Aa;(function(e){function t(i,r,s){return{newText:i,insert:r,replace:s}}e.create=t;function n(i){const r=i;return r&&R.string(r.newText)&&J.is(r.insert)&&J.is(r.replace)}e.is=n})(Aa||(Aa={}));var La;(function(e){e.asIs=1,e.adjustIndentation=2})(La||(La={}));var Ca;(function(e){function t(n){const i=n;return i&&(R.string(i.detail)||i.detail===void 0)&&(R.string(i.description)||i.description===void 0)}e.is=t})(Ca||(Ca={}));var Ea;(function(e){function t(n){return{label:n}}e.create=t})(Ea||(Ea={}));var Da;(function(e){function t(n,i){return{items:n||[],isIncomplete:!!i}}e.create=t})(Da||(Da={}));var vn;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(i){const r=i;return R.string(r)||R.objectLiteral(r)&&R.string(r.language)&&R.string(r.value)}e.is=n})(vn||(vn={}));var Ra;(function(e){function t(n){let i=n;return!!i&&R.objectLiteral(i)&&(Ot.is(i.contents)||vn.is(i.contents)||R.typedArray(i.contents,vn.is))&&(n.range===void 0||J.is(n.range))}e.is=t})(Ra||(Ra={}));var Ma;(function(e){function t(n,i){return i?{label:n,documentation:i}:{label:n}}e.create=t})(Ma||(Ma={}));var Na;(function(e){function t(n,i,...r){let s={label:n};return R.defined(i)&&(s.documentation=i),R.defined(r)?s.parameters=r:s.parameters=[],s}e.create=t})(Na||(Na={}));var yn;(function(e){e.Text=1,e.Read=2,e.Write=3})(yn||(yn={}));var Ia;(function(e){function t(n,i){let r={range:n};return R.number(i)&&(r.kind=i),r}e.create=t})(Ia||(Ia={}));var zi;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(zi||(zi={}));var za;(function(e){e.Deprecated=1})(za||(za={}));var Hi;(function(e){function t(n,i,r,s,a){let l={name:n,kind:i,location:{uri:s,range:r}};return a&&(l.containerName=a),l}e.create=t})(Hi||(Hi={}));var Ha;(function(e){function t(n,i,r,s){return s!==void 0?{name:n,kind:i,location:{uri:r,range:s}}:{name:n,kind:i,location:{uri:r}}}e.create=t})(Ha||(Ha={}));var Ui;(function(e){function t(i,r,s,a,l,o){let u={name:i,detail:r,kind:s,range:a,selectionRange:l};return o!==void 0&&(u.children=o),u}e.create=t;function n(i){let r=i;return r&&R.string(r.name)&&R.number(r.kind)&&J.is(r.range)&&J.is(r.selectionRange)&&(r.detail===void 0||R.string(r.detail))&&(r.deprecated===void 0||R.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=n})(Ui||(Ui={}));var Ua;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(Ua||(Ua={}));var Tn;(function(e){e.Invoked=1,e.Automatic=2})(Tn||(Tn={}));var Wa;(function(e){function t(i,r,s){let a={diagnostics:i};return r!=null&&(a.only=r),s!=null&&(a.triggerKind=s),a}e.create=t;function n(i){let r=i;return R.defined(r)&&R.typedArray(r.diagnostics,_n.is)&&(r.only===void 0||R.typedArray(r.only,R.string))&&(r.triggerKind===void 0||r.triggerKind===Tn.Invoked||r.triggerKind===Tn.Automatic)}e.is=n})(Wa||(Wa={}));var Fa;(function(e){function t(i,r,s){let a={title:i},l=!0;return typeof r=="string"?(l=!1,a.kind=r):Tt.is(r)?a.command=r:a.edit=r,l&&s!==void 0&&(a.kind=s),a}e.create=t;function n(i){let r=i;return r&&R.string(r.title)&&(r.diagnostics===void 0||R.typedArray(r.diagnostics,_n.is))&&(r.kind===void 0||R.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||Tt.is(r.command))&&(r.isPreferred===void 0||R.boolean(r.isPreferred))&&(r.edit===void 0||Ni.is(r.edit))}e.is=n})(Fa||(Fa={}));var Pa;(function(e){function t(i,r){let s={range:i};return R.defined(r)&&(s.data=r),s}e.create=t;function n(i){let r=i;return R.defined(r)&&J.is(r.range)&&(R.undefined(r.command)||Tt.is(r.command))}e.is=n})(Pa||(Pa={}));var Ba;(function(e){function t(i,r){return{tabSize:i,insertSpaces:r}}e.create=t;function n(i){let r=i;return R.defined(r)&&R.uinteger(r.tabSize)&&R.boolean(r.insertSpaces)}e.is=n})(Ba||(Ba={}));var qa;(function(e){function t(i,r,s){return{range:i,target:r,data:s}}e.create=t;function n(i){let r=i;return R.defined(r)&&J.is(r.range)&&(R.undefined(r.target)||R.string(r.target))}e.is=n})(qa||(qa={}));var xn;(function(e){function t(i,r){return{range:i,parent:r}}e.create=t;function n(i){let r=i;return R.objectLiteral(r)&&J.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=n})(xn||(xn={}));var Oa;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Oa||(Oa={}));var Va;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(Va||(Va={}));var ja;(function(e){function t(n){const i=n;return R.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})(ja||(ja={}));var Ga;(function(e){function t(i,r){return{range:i,text:r}}e.create=t;function n(i){const r=i;return r!=null&&J.is(r.range)&&R.string(r.text)}e.is=n})(Ga||(Ga={}));var $a;(function(e){function t(i,r,s){return{range:i,variableName:r,caseSensitiveLookup:s}}e.create=t;function n(i){const r=i;return r!=null&&J.is(r.range)&&R.boolean(r.caseSensitiveLookup)&&(R.string(r.variableName)||r.variableName===void 0)}e.is=n})($a||($a={}));var Xa;(function(e){function t(i,r){return{range:i,expression:r}}e.create=t;function n(i){const r=i;return r!=null&&J.is(r.range)&&(R.string(r.expression)||r.expression===void 0)}e.is=n})(Xa||(Xa={}));var Ja;(function(e){function t(i,r){return{frameId:i,stoppedLocation:r}}e.create=t;function n(i){const r=i;return R.defined(r)&&J.is(i.stoppedLocation)}e.is=n})(Ja||(Ja={}));var Wi;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Wi||(Wi={}));var Fi;(function(e){function t(i){return{value:i}}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&(r.tooltip===void 0||R.string(r.tooltip)||Ot.is(r.tooltip))&&(r.location===void 0||bn.is(r.location))&&(r.command===void 0||Tt.is(r.command))}e.is=n})(Fi||(Fi={}));var Ya;(function(e){function t(i,r,s){const a={position:i,label:r};return s!==void 0&&(a.kind=s),a}e.create=t;function n(i){const r=i;return R.objectLiteral(r)&&re.is(r.position)&&(R.string(r.label)||R.typedArray(r.label,Fi.is))&&(r.kind===void 0||Wi.is(r.kind))&&r.textEdits===void 0||R.typedArray(r.textEdits,oe.is)&&(r.tooltip===void 0||R.string(r.tooltip)||Ot.is(r.tooltip))&&(r.paddingLeft===void 0||R.boolean(r.paddingLeft))&&(r.paddingRight===void 0||R.boolean(r.paddingRight))}e.is=n})(Ya||(Ya={}));var Qa;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Qa||(Qa={}));var Za;(function(e){function t(n,i,r,s){return{insertText:n,filterText:i,range:r,command:s}}e.create=t})(Za||(Za={}));var Ka;(function(e){function t(n){return{items:n}}e.create=t})(Ka||(Ka={}));var eo;(function(e){e.Invoked=0,e.Automatic=1})(eo||(eo={}));var to;(function(e){function t(n,i){return{range:n,text:i}}e.create=t})(to||(to={}));var no;(function(e){function t(n,i){return{triggerKind:n,selectedCompletionInfo:i}}e.create=t})(no||(no={}));var io;(function(e){function t(n){const i=n;return R.objectLiteral(i)&&Si.is(i.uri)&&R.string(i.name)}e.is=t})(io||(io={}));var ro;(function(e){function t(s,a,l,o){return new _c(s,a,l,o)}e.create=t;function n(s){let a=s;return!!(R.defined(a)&&R.string(a.uri)&&(R.undefined(a.languageId)||R.string(a.languageId))&&R.uinteger(a.lineCount)&&R.func(a.getText)&&R.func(a.positionAt)&&R.func(a.offsetAt))}e.is=n;function i(s,a){let l=s.getText(),o=r(a,(c,d)=>{let m=c.range.start.line-d.range.start.line;return m===0?c.range.start.character-d.range.start.character:m}),u=l.length;for(let c=o.length-1;c>=0;c--){let d=o[c],m=s.offsetAt(d.range.start),f=s.offsetAt(d.range.end);if(f<=u)l=l.substring(0,m)+d.newText+l.substring(f,l.length);else throw new Error("Overlapping edit");u=m}return l}e.applyEdits=i;function r(s,a){if(s.length<=1)return s;const l=s.length/2|0,o=s.slice(0,l),u=s.slice(l);r(o,a),r(u,a);let c=0,d=0,m=0;for(;c<o.length&&d<u.length;)a(o[c],u[d])<=0?s[m++]=o[c++]:s[m++]=u[d++];for(;c<o.length;)s[m++]=o[c++];for(;d<u.length;)s[m++]=u[d++];return s}})(ro||(ro={}));class _c{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,i=!0;for(let r=0;r<n.length;r++){i&&(t.push(r),i=!1);let s=n.charAt(r);i=s==="\r"||s===`
28
28
  `,s==="\r"&&r+1<n.length&&n.charAt(r+1)===`
29
- `&&r++}i&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return re.create(0,t);for(;i<r;){let a=Math.floor((i+r)/2);n[a]>t?r=a:i=a+1}let s=i-1;return re.create(s,t-n[s])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}}var R;(function(e){const t=Object.prototype.toString;function n(f){return typeof f<"u"}e.defined=n;function i(f){return typeof f>"u"}e.undefined=i;function r(f){return f===!0||f===!1}e.boolean=r;function s(f){return t.call(f)==="[object String]"}e.string=s;function a(f){return t.call(f)==="[object Number]"}e.number=a;function l(f,w,p){return t.call(f)==="[object Number]"&&w<=f&&f<=p}e.numberRange=l;function o(f){return t.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}e.integer=o;function u(f){return t.call(f)==="[object Number]"&&0<=f&&f<=2147483647}e.uinteger=u;function c(f){return t.call(f)==="[object Function]"}e.func=c;function d(f){return f!==null&&typeof f=="object"}e.objectLiteral=d;function m(f,w){return Array.isArray(f)&&f.every(w)}e.typedArray=m})(R||(R={}));class jt{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){const n=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){for(let i of t)if(jt.isIncremental(i)){const r=lo(i.range),s=this.offsetAt(r.start),a=this.offsetAt(r.end);this._content=this._content.substring(0,s)+i.text+this._content.substring(a,this._content.length);const l=Math.max(r.start.line,0),o=Math.max(r.end.line,0);let u=this._lineOffsets;const c=oo(i.text,!1,s);if(o-l===c.length)for(let m=0,f=c.length;m<f;m++)u[m+l+1]=c[m];else c.length<1e4?u.splice(l+1,o-l,...c):this._lineOffsets=u=u.slice(0,l+1).concat(c,u.slice(o+1));const d=i.text.length-(a-s);if(d!==0)for(let m=l+1+c.length,f=u.length;m<f;m++)u[m]=u[m]+d}else if(jt.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=oo(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return{line:0,character:t};for(;i<r;){let a=Math.floor((i+r)/2);n[a]>t?r=a:i=a+1}let s=i-1;return{line:s,character:t-n[s]}}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}}var Bi;(function(e){function t(r,s,a,l){return new jt(r,s,a,l)}e.create=t;function n(r,s,a){if(r instanceof jt)return r.update(s,a),r;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function i(r,s){let a=r.getText(),l=qi(s.map(Tc),(c,d)=>{let m=c.range.start.line-d.range.start.line;return m===0?c.range.start.character-d.range.start.character:m}),o=0;const u=[];for(const c of l){let d=r.offsetAt(c.range.start);if(d<o)throw new Error("Overlapping edit");d>o&&u.push(a.substring(o,d)),c.newText.length&&u.push(c.newText),o=r.offsetAt(c.range.end)}return u.push(a.substr(o)),u.join("")}e.applyEdits=i})(Bi||(Bi={}));function qi(e,t){if(e.length<=1)return e;const n=e.length/2|0,i=e.slice(0,n),r=e.slice(n);qi(i,t),qi(r,t);let s=0,a=0,l=0;for(;s<i.length&&a<r.length;)t(i[s],r[a])<=0?e[l++]=i[s++]:e[l++]=r[a++];for(;s<i.length;)e[l++]=i[s++];for(;a<r.length;)e[l++]=r[a++];return e}function oo(e,t,n=0){const i=t?[n]:[];for(let r=0;r<e.length;r++){let s=e.charCodeAt(r);(s===13||s===10)&&(s===13&&r+1<e.length&&e.charCodeAt(r+1)===10&&r++,i.push(n+r+1))}return i}function lo(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Tc(e){const t=lo(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var z;(function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"})(z||(z={}));var j;(function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"})(j||(j={}));var uo;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Ve.Markdown,Ve.PlainText]}},hover:{contentFormat:[Ve.Markdown,Ve.PlainText]}}}})(uo||(uo={}));var Oi;(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(Oi||(Oi={}));class xc{constructor(t,n){this.source=t,this.len=t.length,this.position=n}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(t){this.position=t}goBack(t){this.position-=t}advance(t){this.position+=t}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(t=0){return this.source.charCodeAt(this.position+t)||0}advanceIfChar(t){return t===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(t){let n;if(this.position+t.length>this.source.length)return!1;for(n=0;n<t.length;n++)if(this.source.charCodeAt(this.position+n)!==t[n])return!1;return this.advance(n),!0}advanceIfRegExp(t){const i=this.source.substr(this.position).match(t);return i?(this.position=this.position+i.index+i[0].length,i[0]):""}advanceUntilRegExp(t){const i=this.source.substr(this.position).match(t);return i?(this.position=this.position+i.index,i[0]):(this.goToEnd(),"")}advanceUntilChar(t){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===t)return!0;this.advance(1)}return!1}advanceUntilChars(t){for(;this.position+t.length<=this.source.length;){let n=0;for(;n<t.length&&this.source.charCodeAt(this.position+n)===t[n];n++);if(n===t.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar(n=>n===Dc||n===Rc||n===Lc||n===Ec||n===Cc)>0}advanceWhileChar(t){const n=this.position;for(;this.position<this.len&&t(this.source.charCodeAt(this.position));)this.position++;return this.position-n}}const co="!".charCodeAt(0),St="-".charCodeAt(0),An="<".charCodeAt(0),ze=">".charCodeAt(0),Vi="/".charCodeAt(0),kc="=".charCodeAt(0),Sc='"'.charCodeAt(0),Ac="'".charCodeAt(0),Lc=`
30
- `.charCodeAt(0),Cc="\r".charCodeAt(0),Ec="\f".charCodeAt(0),Dc=" ".charCodeAt(0),Rc=" ".charCodeAt(0),Mc={"text/x-handlebars-template":!0,"text/html":!0};function be(e,t=0,n=j.WithinContent,i=!1){const r=new xc(e,t);let s=n,a=0,l=z.Unknown,o,u,c,d,m;function f(){return r.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function w(){return r.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function p(y,L,I){return l=L,a=y,o=I,L}function x(){const y=r.pos(),L=s,I=T();return I!==z.EOS&&y===r.pos()&&!(i&&(I===z.StartTagClose||I===z.EndTagClose))?(console.warn("Scanner.scan has not advanced at offset "+y+", state before: "+L+" after: "+s),r.advance(1),p(y,z.Unknown)):I}function T(){const y=r.pos();if(r.eos())return p(y,z.EOS);let L;switch(s){case j.WithinComment:return r.advanceIfChars([St,St,ze])?(s=j.WithinContent,p(y,z.EndCommentTag)):(r.advanceUntilChars([St,St,ze]),p(y,z.Comment));case j.WithinDoctype:return r.advanceIfChar(ze)?(s=j.WithinContent,p(y,z.EndDoctypeTag)):(r.advanceUntilChar(ze),p(y,z.Doctype));case j.WithinContent:if(r.advanceIfChar(An)){if(!r.eos()&&r.peekChar()===co){if(r.advanceIfChars([co,St,St]))return s=j.WithinComment,p(y,z.StartCommentTag);if(r.advanceIfRegExp(/^!doctype/i))return s=j.WithinDoctype,p(y,z.StartDoctypeTag)}return r.advanceIfChar(Vi)?(s=j.AfterOpeningEndTag,p(y,z.EndTagOpen)):(s=j.AfterOpeningStartTag,p(y,z.StartTagOpen))}return r.advanceUntilChar(An),p(y,z.Content);case j.AfterOpeningEndTag:return f().length>0?(s=j.WithinEndTag,p(y,z.EndTag)):r.skipWhitespace()?p(y,z.Whitespace,Ee("Tag name must directly follow the open bracket.")):(s=j.WithinEndTag,r.advanceUntilChar(ze),y<r.pos()?p(y,z.Unknown,Ee("End tag name expected.")):T());case j.WithinEndTag:if(r.skipWhitespace())return p(y,z.Whitespace);if(r.advanceIfChar(ze))return s=j.WithinContent,p(y,z.EndTagClose);if(i&&r.peekChar()===An)return s=j.WithinContent,p(y,z.EndTagClose,Ee("Closing bracket missing."));L=Ee("Closing bracket expected.");break;case j.AfterOpeningStartTag:return c=f(),m=void 0,d=void 0,c.length>0?(u=!1,s=j.WithinTag,p(y,z.StartTag)):r.skipWhitespace()?p(y,z.Whitespace,Ee("Tag name must directly follow the open bracket.")):(s=j.WithinTag,r.advanceUntilChar(ze),y<r.pos()?p(y,z.Unknown,Ee("Start tag name expected.")):T());case j.WithinTag:return r.skipWhitespace()?(u=!0,p(y,z.Whitespace)):u&&(d=w(),d.length>0)?(s=j.AfterAttributeName,u=!1,p(y,z.AttributeName)):r.advanceIfChars([Vi,ze])?(s=j.WithinContent,p(y,z.StartTagSelfClose)):r.advanceIfChar(ze)?(c==="script"?m&&Mc[m]?s=j.WithinContent:s=j.WithinScriptContent:c==="style"?s=j.WithinStyleContent:s=j.WithinContent,p(y,z.StartTagClose)):i&&r.peekChar()===An?(s=j.WithinContent,p(y,z.StartTagClose,Ee("Closing bracket missing."))):(r.advance(1),p(y,z.Unknown,Ee("Unexpected character in tag.")));case j.AfterAttributeName:return r.skipWhitespace()?(u=!0,p(y,z.Whitespace)):r.advanceIfChar(kc)?(s=j.BeforeAttributeValue,p(y,z.DelimiterAssign)):(s=j.WithinTag,T());case j.BeforeAttributeValue:if(r.skipWhitespace())return p(y,z.Whitespace);let H=r.advanceIfRegExp(/^[^\s"'`=<>]+/);if(H.length>0&&(r.peekChar()===ze&&r.peekChar(-1)===Vi&&(r.goBack(1),H=H.substring(0,H.length-1)),d==="type"&&(m=H),H.length>0))return s=j.WithinTag,u=!1,p(y,z.AttributeValue);const W=r.peekChar();return W===Ac||W===Sc?(r.advance(1),r.advanceUntilChar(W)&&r.advance(1),d==="type"&&(m=r.getSource().substring(y+1,r.pos()-1)),s=j.WithinTag,u=!1,p(y,z.AttributeValue)):(s=j.WithinTag,u=!1,T());case j.WithinScriptContent:let b=1;for(;!r.eos();){const g=r.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(g.length===0)return r.goToEnd(),p(y,z.Script);if(g==="<!--")b===1&&(b=2);else if(g==="-->")b=1;else if(g[1]!=="/")b===2&&(b=3);else if(b===3)b=2;else{r.goBack(g.length);break}}return s=j.WithinContent,y<r.pos()?p(y,z.Script):T();case j.WithinStyleContent:return r.advanceUntilRegExp(/<\/style/i),s=j.WithinContent,y<r.pos()?p(y,z.Styles):T()}return r.advance(1),s=j.WithinContent,p(y,z.Unknown,L)}return{scan:x,getTokenType:()=>l,getTokenOffset:()=>a,getTokenLength:()=>r.pos()-a,getTokenEnd:()=>r.pos(),getTokenText:()=>r.getSource().substring(a,r.pos()),getScannerState:()=>s,getTokenError:()=>o}}function ho(e,t){let n=0,i=e.length;if(i===0)return 0;for(;n<i;){let r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}function Nc(e,t,n){let i=0,r=e.length-1;for(;i<=r;){const s=(i+r)/2|0,a=n(e[s],t);if(a<0)i=s+1;else if(a>0)r=s-1;else return s}return-(i+1)}class mo{get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}constructor(t,n,i,r){this.start=t,this.end=n,this.children=i,this.parent=r,this.closed=!1}isSameTag(t){return this.tag===void 0?t===void 0:t!==void 0&&this.tag.length===t.length&&this.tag.toLowerCase()===t}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(t){const n=ho(this.children,i=>t<=i.start)-1;if(n>=0){const i=this.children[n];if(t>i.start){if(t<i.end)return i.findNodeBefore(t);const r=i.lastChild;return r&&r.end===i.end?i.findNodeBefore(t):i}}return this}findNodeAt(t){const n=ho(this.children,i=>t<=i.start)-1;if(n>=0){const i=this.children[n];if(t>i.start&&t<=i.end)return i.findNodeAt(t)}return this}}class Ic{constructor(t){this.dataManager=t}parseDocument(t){return this.parse(t.getText(),this.dataManager.getVoidElements(t.languageId))}parse(t,n){const i=be(t,void 0,void 0,!0),r=new mo(0,t.length,[],void 0);let s=r,a=-1,l,o=null,u=i.scan();for(;u!==z.EOS;){switch(u){case z.StartTagOpen:const c=new mo(i.getTokenOffset(),t.length,[],s);s.children.push(c),s=c;break;case z.StartTag:s.tag=i.getTokenText();break;case z.StartTagClose:s.parent&&(s.end=i.getTokenEnd(),i.getTokenLength()?(s.startTagEnd=i.getTokenEnd(),s.tag&&this.dataManager.isVoidElement(s.tag,n)&&(s.closed=!0,s=s.parent)):s=s.parent);break;case z.StartTagSelfClose:s.parent&&(s.closed=!0,s.end=i.getTokenEnd(),s.startTagEnd=i.getTokenEnd(),s=s.parent);break;case z.EndTagOpen:a=i.getTokenOffset(),l=void 0;break;case z.EndTag:l=i.getTokenText().toLowerCase();break;case z.EndTagClose:let d=s;for(;!d.isSameTag(l)&&d.parent;)d=d.parent;if(d.parent){for(;s!==d;)s.end=a,s.closed=!1,s=s.parent;s.closed=!0,s.endTagStart=a,s.end=i.getTokenEnd(),s=s.parent}break;case z.AttributeName:{o=i.getTokenText();let m=s.attributes;m||(s.attributes=m={}),m[o]=null;break}case z.AttributeValue:{const m=i.getTokenText(),f=s.attributes;f&&o&&(f[o]=m,o=null);break}}u=i.scan()}for(;s.parent;)s.end=t.length,s.closed=!1,s=s.parent;return{roots:r.children,findNodeBefore:r.findNodeBefore.bind(r),findNodeAt:r.findNodeAt.bind(r)}}}const Gt={"Aacute;":"\xC1",Aacute:"\xC1","aacute;":"\xE1",aacute:"\xE1","Abreve;":"\u0102","abreve;":"\u0103","ac;":"\u223E","acd;":"\u223F","acE;":"\u223E\u0333","Acirc;":"\xC2",Acirc:"\xC2","acirc;":"\xE2",acirc:"\xE2","acute;":"\xB4",acute:"\xB4","Acy;":"\u0410","acy;":"\u0430","AElig;":"\xC6",AElig:"\xC6","aelig;":"\xE6",aelig:"\xE6","af;":"\u2061","Afr;":"\u{1D504}","afr;":"\u{1D51E}","Agrave;":"\xC0",Agrave:"\xC0","agrave;":"\xE0",agrave:"\xE0","alefsym;":"\u2135","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"\u2A53","and;":"\u2227","andand;":"\u2A55","andd;":"\u2A5C","andslope;":"\u2A58","andv;":"\u2A5A","ang;":"\u2220","ange;":"\u29A4","angle;":"\u2220","angmsd;":"\u2221","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrt;":"\u221F","angrtvb;":"\u22BE","angrtvbd;":"\u299D","angsph;":"\u2222","angst;":"\xC5","angzarr;":"\u237C","Aogon;":"\u0104","aogon;":"\u0105","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","ap;":"\u2248","apacir;":"\u2A6F","apE;":"\u2A70","ape;":"\u224A","apid;":"\u224B","apos;":"'","ApplyFunction;":"\u2061","approx;":"\u2248","approxeq;":"\u224A","Aring;":"\xC5",Aring:"\xC5","aring;":"\xE5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Assign;":"\u2254","ast;":"*","asymp;":"\u2248","asympeq;":"\u224D","Atilde;":"\xC3",Atilde:"\xC3","atilde;":"\xE3",atilde:"\xE3","Auml;":"\xC4",Auml:"\xC4","auml;":"\xE4",auml:"\xE4","awconint;":"\u2233","awint;":"\u2A11","backcong;":"\u224C","backepsilon;":"\u03F6","backprime;":"\u2035","backsim;":"\u223D","backsimeq;":"\u22CD","Backslash;":"\u2216","Barv;":"\u2AE7","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","barwedge;":"\u2305","bbrk;":"\u23B5","bbrktbrk;":"\u23B6","bcong;":"\u224C","Bcy;":"\u0411","bcy;":"\u0431","bdquo;":"\u201E","becaus;":"\u2235","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","bepsi;":"\u03F6","bernou;":"\u212C","Bernoullis;":"\u212C","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","between;":"\u226C","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bigcap;":"\u22C2","bigcirc;":"\u25EF","bigcup;":"\u22C3","bigodot;":"\u2A00","bigoplus;":"\u2A01","bigotimes;":"\u2A02","bigsqcup;":"\u2A06","bigstar;":"\u2605","bigtriangledown;":"\u25BD","bigtriangleup;":"\u25B3","biguplus;":"\u2A04","bigvee;":"\u22C1","bigwedge;":"\u22C0","bkarow;":"\u290D","blacklozenge;":"\u29EB","blacksquare;":"\u25AA","blacktriangle;":"\u25B4","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","blacktriangleright;":"\u25B8","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","bne;":"=\u20E5","bnequiv;":"\u2261\u20E5","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","bot;":"\u22A5","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxH;":"\u2550","boxh;":"\u2500","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxminus;":"\u229F","boxplus;":"\u229E","boxtimes;":"\u22A0","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxV;":"\u2551","boxv;":"\u2502","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","bprime;":"\u2035","Breve;":"\u02D8","breve;":"\u02D8","brvbar;":"\xA6",brvbar:"\xA6","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsemi;":"\u204F","bsim;":"\u223D","bsime;":"\u22CD","bsol;":"\\","bsolb;":"\u29C5","bsolhsub;":"\u27C8","bull;":"\u2022","bullet;":"\u2022","bump;":"\u224E","bumpE;":"\u2AAE","bumpe;":"\u224F","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","Cap;":"\u22D2","cap;":"\u2229","capand;":"\u2A44","capbrcup;":"\u2A49","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","CapitalDifferentialD;":"\u2145","caps;":"\u2229\uFE00","caret;":"\u2041","caron;":"\u02C7","Cayleys;":"\u212D","ccaps;":"\u2A4D","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7",Ccedil:"\xC7","ccedil;":"\xE7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","Cconint;":"\u2230","ccups;":"\u2A4C","ccupssm;":"\u2A50","Cdot;":"\u010A","cdot;":"\u010B","cedil;":"\xB8",cedil:"\xB8","Cedilla;":"\xB8","cemptyv;":"\u29B2","cent;":"\xA2",cent:"\xA2","CenterDot;":"\xB7","centerdot;":"\xB7","Cfr;":"\u212D","cfr;":"\u{1D520}","CHcy;":"\u0427","chcy;":"\u0447","check;":"\u2713","checkmark;":"\u2713","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB","circ;":"\u02C6","circeq;":"\u2257","circlearrowleft;":"\u21BA","circlearrowright;":"\u21BB","circledast;":"\u229B","circledcirc;":"\u229A","circleddash;":"\u229D","CircleDot;":"\u2299","circledR;":"\xAE","circledS;":"\u24C8","CircleMinus;":"\u2296","CirclePlus;":"\u2295","CircleTimes;":"\u2297","cirE;":"\u29C3","cire;":"\u2257","cirfnint;":"\u2A10","cirmid;":"\u2AEF","cirscir;":"\u29C2","ClockwiseContourIntegral;":"\u2232","CloseCurlyDoubleQuote;":"\u201D","CloseCurlyQuote;":"\u2019","clubs;":"\u2663","clubsuit;":"\u2663","Colon;":"\u2237","colon;":":","Colone;":"\u2A74","colone;":"\u2254","coloneq;":"\u2254","comma;":",","commat;":"@","comp;":"\u2201","compfn;":"\u2218","complement;":"\u2201","complexes;":"\u2102","cong;":"\u2245","congdot;":"\u2A6D","Congruent;":"\u2261","Conint;":"\u222F","conint;":"\u222E","ContourIntegral;":"\u222E","Copf;":"\u2102","copf;":"\u{1D554}","coprod;":"\u2210","Coproduct;":"\u2210","COPY;":"\xA9",COPY:"\xA9","copy;":"\xA9",copy:"\xA9","copysr;":"\u2117","CounterClockwiseContourIntegral;":"\u2233","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csube;":"\u2AD1","csup;":"\u2AD0","csupe;":"\u2AD2","ctdot;":"\u22EF","cudarrl;":"\u2938","cudarrr;":"\u2935","cuepr;":"\u22DE","cuesc;":"\u22DF","cularr;":"\u21B6","cularrp;":"\u293D","Cup;":"\u22D3","cup;":"\u222A","cupbrcap;":"\u2A48","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","cupor;":"\u2A45","cups;":"\u222A\uFE00","curarr;":"\u21B7","curarrm;":"\u293C","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","curlyvee;":"\u22CE","curlywedge;":"\u22CF","curren;":"\xA4",curren:"\xA4","curvearrowleft;":"\u21B6","curvearrowright;":"\u21B7","cuvee;":"\u22CE","cuwed;":"\u22CF","cwconint;":"\u2232","cwint;":"\u2231","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","Dashv;":"\u2AE4","dashv;":"\u22A3","dbkarow;":"\u290F","dblac;":"\u02DD","Dcaron;":"\u010E","dcaron;":"\u010F","Dcy;":"\u0414","dcy;":"\u0434","DD;":"\u2145","dd;":"\u2146","ddagger;":"\u2021","ddarr;":"\u21CA","DDotrahd;":"\u2911","ddotseq;":"\u2A77","deg;":"\xB0",deg:"\xB0","Del;":"\u2207","Delta;":"\u0394","delta;":"\u03B4","demptyv;":"\u29B1","dfisht;":"\u297F","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","dHar;":"\u2965","dharl;":"\u21C3","dharr;":"\u21C2","DiacriticalAcute;":"\xB4","DiacriticalDot;":"\u02D9","DiacriticalDoubleAcute;":"\u02DD","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","diam;":"\u22C4","Diamond;":"\u22C4","diamond;":"\u22C4","diamondsuit;":"\u2666","diams;":"\u2666","die;":"\xA8","DifferentialD;":"\u2146","digamma;":"\u03DD","disin;":"\u22F2","div;":"\xF7","divide;":"\xF7",divide:"\xF7","divideontimes;":"\u22C7","divonx;":"\u22C7","DJcy;":"\u0402","djcy;":"\u0452","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dot;":"\xA8","dot;":"\u02D9","DotDot;":"\u20DC","doteq;":"\u2250","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","dotplus;":"\u2214","dotsquare;":"\u22A1","doublebarwedge;":"\u2306","DoubleContourIntegral;":"\u222F","DoubleDot;":"\xA8","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","DoubleLeftRightArrow;":"\u21D4","DoubleLeftTee;":"\u2AE4","DoubleLongLeftArrow;":"\u27F8","DoubleLongLeftRightArrow;":"\u27FA","DoubleLongRightArrow;":"\u27F9","DoubleRightArrow;":"\u21D2","DoubleRightTee;":"\u22A8","DoubleUpArrow;":"\u21D1","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownArrowBar;":"\u2913","DownArrowUpArrow;":"\u21F5","DownBreve;":"\u0311","downdownarrows;":"\u21CA","downharpoonleft;":"\u21C3","downharpoonright;":"\u21C2","DownLeftRightVector;":"\u2950","DownLeftTeeVector;":"\u295E","DownLeftVector;":"\u21BD","DownLeftVectorBar;":"\u2956","DownRightTeeVector;":"\u295F","DownRightVector;":"\u21C1","DownRightVectorBar;":"\u2957","DownTee;":"\u22A4","DownTeeArrow;":"\u21A7","drbkarow;":"\u2910","drcorn;":"\u231F","drcrop;":"\u230C","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","Dstrok;":"\u0110","dstrok;":"\u0111","dtdot;":"\u22F1","dtri;":"\u25BF","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F","dwangle;":"\u29A6","DZcy;":"\u040F","dzcy;":"\u045F","dzigrarr;":"\u27FF","Eacute;":"\xC9",Eacute:"\xC9","eacute;":"\xE9",eacute:"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecir;":"\u2256","Ecirc;":"\xCA",Ecirc:"\xCA","ecirc;":"\xEA",ecirc:"\xEA","ecolon;":"\u2255","Ecy;":"\u042D","ecy;":"\u044D","eDDot;":"\u2A77","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","ee;":"\u2147","efDot;":"\u2252","Efr;":"\u{1D508}","efr;":"\u{1D522}","eg;":"\u2A9A","Egrave;":"\xC8",Egrave:"\xC8","egrave;":"\xE8",egrave:"\xE8","egs;":"\u2A96","egsdot;":"\u2A98","el;":"\u2A99","Element;":"\u2208","elinters;":"\u23E7","ell;":"\u2113","els;":"\u2A95","elsdot;":"\u2A97","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","emptyset;":"\u2205","EmptySmallSquare;":"\u25FB","emptyv;":"\u2205","EmptyVerySmallSquare;":"\u25AB","emsp;":"\u2003","emsp13;":"\u2004","emsp14;":"\u2005","ENG;":"\u014A","eng;":"\u014B","ensp;":"\u2002","Eogon;":"\u0118","eogon;":"\u0119","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","eparsl;":"\u29E3","eplus;":"\u2A71","epsi;":"\u03B5","Epsilon;":"\u0395","epsilon;":"\u03B5","epsiv;":"\u03F5","eqcirc;":"\u2256","eqcolon;":"\u2255","eqsim;":"\u2242","eqslantgtr;":"\u2A96","eqslantless;":"\u2A95","Equal;":"\u2A75","equals;":"=","EqualTilde;":"\u2242","equest;":"\u225F","Equilibrium;":"\u21CC","equiv;":"\u2261","equivDD;":"\u2A78","eqvparsl;":"\u29E5","erarr;":"\u2971","erDot;":"\u2253","Escr;":"\u2130","escr;":"\u212F","esdot;":"\u2250","Esim;":"\u2A73","esim;":"\u2242","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0",ETH:"\xD0","eth;":"\xF0",eth:"\xF0","Euml;":"\xCB",Euml:"\xCB","euml;":"\xEB",euml:"\xEB","euro;":"\u20AC","excl;":"!","exist;":"\u2203","Exists;":"\u2203","expectation;":"\u2130","ExponentialE;":"\u2147","exponentiale;":"\u2147","fallingdotseq;":"\u2252","Fcy;":"\u0424","fcy;":"\u0444","female;":"\u2640","ffilig;":"\uFB03","fflig;":"\uFB00","ffllig;":"\uFB04","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","filig;":"\uFB01","FilledSmallSquare;":"\u25FC","FilledVerySmallSquare;":"\u25AA","fjlig;":"fj","flat;":"\u266D","fllig;":"\uFB02","fltns;":"\u25B1","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","ForAll;":"\u2200","forall;":"\u2200","fork;":"\u22D4","forkv;":"\u2AD9","Fouriertrf;":"\u2131","fpartint;":"\u2A0D","frac12;":"\xBD",frac12:"\xBD","frac13;":"\u2153","frac14;":"\xBC",frac14:"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE",frac34:"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","frasl;":"\u2044","frown;":"\u2322","Fscr;":"\u2131","fscr;":"\u{1D4BB}","gacute;":"\u01F5","Gamma;":"\u0393","gamma;":"\u03B3","Gammad;":"\u03DC","gammad;":"\u03DD","gap;":"\u2A86","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","Gcirc;":"\u011C","gcirc;":"\u011D","Gcy;":"\u0413","gcy;":"\u0433","Gdot;":"\u0120","gdot;":"\u0121","gE;":"\u2267","ge;":"\u2265","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","geqq;":"\u2267","geqslant;":"\u2A7E","ges;":"\u2A7E","gescc;":"\u2AA9","gesdot;":"\u2A80","gesdoto;":"\u2A82","gesdotol;":"\u2A84","gesl;":"\u22DB\uFE00","gesles;":"\u2A94","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","Gg;":"\u22D9","gg;":"\u226B","ggg;":"\u22D9","gimel;":"\u2137","GJcy;":"\u0403","gjcy;":"\u0453","gl;":"\u2277","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnap;":"\u2A8A","gnapprox;":"\u2A8A","gnE;":"\u2269","gne;":"\u2A88","gneq;":"\u2A88","gneqq;":"\u2269","gnsim;":"\u22E7","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","grave;":"`","GreaterEqual;":"\u2265","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","GreaterGreater;":"\u2AA2","GreaterLess;":"\u2277","GreaterSlantEqual;":"\u2A7E","GreaterTilde;":"\u2273","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gsime;":"\u2A8E","gsiml;":"\u2A90","GT;":">",GT:">","Gt;":"\u226B","gt;":">",gt:">","gtcc;":"\u2AA7","gtcir;":"\u2A7A","gtdot;":"\u22D7","gtlPar;":"\u2995","gtquest;":"\u2A7C","gtrapprox;":"\u2A86","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtreqless;":"\u22DB","gtreqqless;":"\u2A8C","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\uFE00","gvnE;":"\u2269\uFE00","Hacek;":"\u02C7","hairsp;":"\u200A","half;":"\xBD","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hArr;":"\u21D4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21AD","Hat;":"^","hbar;":"\u210F","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","Hfr;":"\u210C","hfr;":"\u{1D525}","HilbertSpace;":"\u210B","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21FF","homtht;":"\u223B","hookleftarrow;":"\u21A9","hookrightarrow;":"\u21AA","Hopf;":"\u210D","hopf;":"\u{1D559}","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210B","hscr;":"\u{1D4BD}","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224E","HumpEqual;":"\u224F","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD",Iacute:"\xCD","iacute;":"\xED",iacute:"\xED","ic;":"\u2063","Icirc;":"\xCE",Icirc:"\xCE","icirc;":"\xEE",icirc:"\xEE","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xA1",iexcl:"\xA1","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Igrave;":"\xCC",Igrave:"\xCC","igrave;":"\xEC",igrave:"\xEC","ii;":"\u2148","iiiint;":"\u2A0C","iiint;":"\u222D","iinfin;":"\u29DC","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22B7","imped;":"\u01B5","Implies;":"\u21D2","in;":"\u2208","incare;":"\u2105","infin;":"\u221E","infintie;":"\u29DD","inodot;":"\u0131","Int;":"\u222C","int;":"\u222B","intcal;":"\u22BA","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","Intersection;":"\u22C2","intlarhk;":"\u2A17","intprod;":"\u2A3C","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012E","iogon;":"\u012F","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","iprod;":"\u2A3C","iquest;":"\xBF",iquest:"\xBF","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","isindot;":"\u22F5","isinE;":"\u22F9","isins;":"\u22F4","isinsv;":"\u22F3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xCF",Iuml:"\xCF","iuml;":"\xEF",iuml:"\xEF","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","jmath;":"\u0237","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","lAarr;":"\u21DA","Lacute;":"\u0139","lacute;":"\u013A","laemptyv;":"\u29B4","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","Lang;":"\u27EA","lang;":"\u27E8","langd;":"\u2991","langle;":"\u27E8","lap;":"\u2A85","Laplacetrf;":"\u2112","laquo;":"\xAB",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","larrb;":"\u21E4","larrbfs;":"\u291F","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21A2","lat;":"\u2AAB","lAtail;":"\u291B","latail;":"\u2919","late;":"\u2AAD","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298B","lbrksld;":"\u298F","lbrkslu;":"\u298D","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041B","lcy;":"\u043B","ldca;":"\u2936","ldquo;":"\u201C","ldquor;":"\u201E","ldrdhar;":"\u2967","ldrushar;":"\u294B","ldsh;":"\u21B2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27E8","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftArrowBar;":"\u21E4","LeftArrowRightArrow;":"\u21C6","leftarrowtail;":"\u21A2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21C3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230A","leftharpoondown;":"\u21BD","leftharpoonup;":"\u21BC","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21C6","leftrightharpoons;":"\u21CB","leftrightsquigarrow;":"\u21AD","LeftRightVector;":"\u294E","LeftTee;":"\u22A3","LeftTeeArrow;":"\u21A4","LeftTeeVector;":"\u295A","leftthreetimes;":"\u22CB","LeftTriangle;":"\u22B2","LeftTriangleBar;":"\u29CF","LeftTriangleEqual;":"\u22B4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21BF","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21BC","LeftVectorBar;":"\u2952","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2A7D","les;":"\u2A7D","lescc;":"\u2AA8","lesdot;":"\u2A7F","lesdoto;":"\u2A81","lesdotor;":"\u2A83","lesg;":"\u22DA\uFE00","lesges;":"\u2A93","lessapprox;":"\u2A85","lessdot;":"\u22D6","lesseqgtr;":"\u22DA","lesseqqgtr;":"\u2A8B","LessEqualGreater;":"\u22DA","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2AA1","lesssim;":"\u2272","LessSlantEqual;":"\u2A7D","LessTilde;":"\u2272","lfisht;":"\u297C","lfloor;":"\u230A","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lg;":"\u2276","lgE;":"\u2A91","lHar;":"\u2962","lhard;":"\u21BD","lharu;":"\u21BC","lharul;":"\u296A","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22D8","ll;":"\u226A","llarr;":"\u21C7","llcorner;":"\u231E","Lleftarrow;":"\u21DA","llhard;":"\u296B","lltri;":"\u25FA","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","lmoustache;":"\u23B0","lnap;":"\u2A89","lnapprox;":"\u2A89","lnE;":"\u2268","lne;":"\u2A87","lneq;":"\u2A87","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","longmapsto;":"\u27FC","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowleft;":"\u21AB","looparrowright;":"\u21AC","lopar;":"\u2985","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","loplus;":"\u2A2D","lotimes;":"\u2A34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25CA","lozenge;":"\u25CA","lozf;":"\u29EB","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21C6","lrcorner;":"\u231F","lrhar;":"\u21CB","lrhard;":"\u296D","lrm;":"\u200E","lrtri;":"\u22BF","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\u{1D4C1}","Lsh;":"\u21B0","lsh;":"\u21B0","lsim;":"\u2272","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226A","lt;":"<",lt:"<","ltcc;":"\u2AA6","ltcir;":"\u2A79","ltdot;":"\u22D6","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltquest;":"\u2A7B","ltri;":"\u25C3","ltrie;":"\u22B4","ltrif;":"\u25C2","ltrPar;":"\u2996","lurdshar;":"\u294A","luruhar;":"\u2966","lvertneqq;":"\u2268\uFE00","lvnE;":"\u2268\uFE00","macr;":"\xAF",macr:"\xAF","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21A6","mapsto;":"\u21A6","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","mapstoup;":"\u21A5","marker;":"\u25AE","mcomma;":"\u2A29","Mcy;":"\u041C","mcy;":"\u043C","mdash;":"\u2014","mDDot;":"\u223A","measuredangle;":"\u2221","MediumSpace;":"\u205F","Mellintrf;":"\u2133","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","micro;":"\xB5",micro:"\xB5","mid;":"\u2223","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7",middot:"\xB7","minus;":"\u2212","minusb;":"\u229F","minusd;":"\u2238","minusdu;":"\u2A2A","MinusPlus;":"\u2213","mlcp;":"\u2ADB","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22A7","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\u{1D4C2}","mstpos;":"\u223E","Mu;":"\u039C","mu;":"\u03BC","multimap;":"\u22B8","mumap;":"\u22B8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20D2","nap;":"\u2249","napE;":"\u2A70\u0338","napid;":"\u224B\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266E","natural;":"\u266E","naturals;":"\u2115","nbsp;":"\xA0",nbsp:"\xA0","nbump;":"\u224E\u0338","nbumpe;":"\u224F\u0338","ncap;":"\u2A43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2A6D\u0338","ncup;":"\u2A42","Ncy;":"\u041D","ncy;":"\u043D","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21D7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200B","NegativeThickSpace;":"\u200B","NegativeThinSpace;":"\u200B","NegativeVeryThinSpace;":"\u200B","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226B","NestedLessLess;":"\u226A","NewLine;":`
31
- `,"nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2A7E\u0338","nges;":"\u2A7E\u0338","nGg;":"\u22D9\u0338","ngsim;":"\u2275","nGt;":"\u226B\u20D2","ngt;":"\u226F","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","ni;":"\u220B","nis;":"\u22FC","nisd;":"\u22FA","niv;":"\u220B","NJcy;":"\u040A","njcy;":"\u045A","nlArr;":"\u21CD","nlarr;":"\u219A","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2A7D\u0338","nles;":"\u2A7D\u0338","nless;":"\u226E","nLl;":"\u22D8\u0338","nlsim;":"\u2274","nLt;":"\u226A\u20D2","nlt;":"\u226E","nltri;":"\u22EA","nltrie;":"\u22EC","nLtv;":"\u226A\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xA0","Nopf;":"\u2115","nopf;":"\u{1D55F}","Not;":"\u2AEC","not;":"\xAC",not:"\xAC","NotCongruent;":"\u2262","NotCupCap;":"\u226D","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226F","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226B\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2A7E\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotHumpEqual;":"\u224F\u0338","notin;":"\u2209","notindot;":"\u22F5\u0338","notinE;":"\u22F9\u0338","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLeftTriangle;":"\u22EA","NotLeftTriangleBar;":"\u29CF\u0338","NotLeftTriangleEqual;":"\u22EC","NotLess;":"\u226E","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226A\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2AA2\u0338","NotNestedLessLess;":"\u2AA1\u0338","notni;":"\u220C","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2AAF\u0338","NotPrecedesSlantEqual;":"\u22E0","NotReverseElement;":"\u220C","NotRightTriangle;":"\u22EB","NotRightTriangleBar;":"\u29D0\u0338","NotRightTriangleEqual;":"\u22ED","NotSquareSubset;":"\u228F\u0338","NotSquareSubsetEqual;":"\u22E2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22E3","NotSubset;":"\u2282\u20D2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsSlantEqual;":"\u22E1","NotSucceedsTilde;":"\u227F\u0338","NotSuperset;":"\u2283\u20D2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2AFD\u20E5","npart;":"\u2202\u0338","npolint;":"\u2A14","npr;":"\u2280","nprcue;":"\u22E0","npre;":"\u2AAF\u0338","nprec;":"\u2280","npreceq;":"\u2AAF\u0338","nrArr;":"\u21CF","nrarr;":"\u219B","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","nrtri;":"\u22EB","nrtrie;":"\u22ED","nsc;":"\u2281","nsccue;":"\u22E1","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsub;":"\u2284","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20D2","nsubseteq;":"\u2288","nsubseteqq;":"\u2AC5\u0338","nsucc;":"\u2281","nsucceq;":"\u2AB0\u0338","nsup;":"\u2285","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20D2","nsupseteq;":"\u2289","nsupseteqq;":"\u2AC6\u0338","ntgl;":"\u2279","Ntilde;":"\xD1",Ntilde:"\xD1","ntilde;":"\xF1",ntilde:"\xF1","ntlg;":"\u2278","ntriangleleft;":"\u22EA","ntrianglelefteq;":"\u22EC","ntriangleright;":"\u22EB","ntrianglerighteq;":"\u22ED","Nu;":"\u039D","nu;":"\u03BD","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224D\u20D2","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvHarr;":"\u2904","nvinfin;":"\u29DE","nvlArr;":"\u2902","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","nvltrie;":"\u22B4\u20D2","nvrArr;":"\u2903","nvrtrie;":"\u22B5\u20D2","nvsim;":"\u223C\u20D2","nwarhk;":"\u2923","nwArr;":"\u21D6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xD3",Oacute:"\xD3","oacute;":"\xF3",oacute:"\xF3","oast;":"\u229B","ocir;":"\u229A","Ocirc;":"\xD4",Ocirc:"\xD4","ocirc;":"\xF4",ocirc:"\xF4","Ocy;":"\u041E","ocy;":"\u043E","odash;":"\u229D","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2A38","odot;":"\u2299","odsold;":"\u29BC","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogon;":"\u02DB","Ograve;":"\xD2",Ograve:"\xD2","ograve;":"\xF2",ograve:"\xF2","ogt;":"\u29C1","ohbar;":"\u29B5","ohm;":"\u03A9","oint;":"\u222E","olarr;":"\u21BA","olcir;":"\u29BE","olcross;":"\u29BB","oline;":"\u203E","olt;":"\u29C0","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","Omicron;":"\u039F","omicron;":"\u03BF","omid;":"\u29B6","ominus;":"\u2296","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","OpenCurlyDoubleQuote;":"\u201C","OpenCurlyQuote;":"\u2018","operp;":"\u29B9","oplus;":"\u2295","Or;":"\u2A54","or;":"\u2228","orarr;":"\u21BB","ord;":"\u2A5D","order;":"\u2134","orderof;":"\u2134","ordf;":"\xAA",ordf:"\xAA","ordm;":"\xBA",ordm:"\xBA","origof;":"\u22B6","oror;":"\u2A56","orslope;":"\u2A57","orv;":"\u2A5B","oS;":"\u24C8","Oscr;":"\u{1D4AA}","oscr;":"\u2134","Oslash;":"\xD8",Oslash:"\xD8","oslash;":"\xF8",oslash:"\xF8","osol;":"\u2298","Otilde;":"\xD5",Otilde:"\xD5","otilde;":"\xF5",otilde:"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","otimesas;":"\u2A36","Ouml;":"\xD6",Ouml:"\xD6","ouml;":"\xF6",ouml:"\xF6","ovbar;":"\u233D","OverBar;":"\u203E","OverBrace;":"\u23DE","OverBracket;":"\u23B4","OverParenthesis;":"\u23DC","par;":"\u2225","para;":"\xB6",para:"\xB6","parallel;":"\u2225","parsim;":"\u2AF3","parsl;":"\u2AFD","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041F","pcy;":"\u043F","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22A5","pertenk;":"\u2031","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","phiv;":"\u03D5","phmmat;":"\u2133","phone;":"\u260E","Pi;":"\u03A0","pi;":"\u03C0","pitchfork;":"\u22D4","piv;":"\u03D6","planck;":"\u210F","planckh;":"\u210E","plankv;":"\u210F","plus;":"+","plusacir;":"\u2A23","plusb;":"\u229E","pluscir;":"\u2A22","plusdo;":"\u2214","plusdu;":"\u2A25","pluse;":"\u2A72","PlusMinus;":"\xB1","plusmn;":"\xB1",plusmn:"\xB1","plussim;":"\u2A26","plustwo;":"\u2A27","pm;":"\xB1","Poincareplane;":"\u210C","pointint;":"\u2A15","Popf;":"\u2119","popf;":"\u{1D561}","pound;":"\xA3",pound:"\xA3","Pr;":"\u2ABB","pr;":"\u227A","prap;":"\u2AB7","prcue;":"\u227C","prE;":"\u2AB3","pre;":"\u2AAF","prec;":"\u227A","precapprox;":"\u2AB7","preccurlyeq;":"\u227C","Precedes;":"\u227A","PrecedesEqual;":"\u2AAF","PrecedesSlantEqual;":"\u227C","PrecedesTilde;":"\u227E","preceq;":"\u2AAF","precnapprox;":"\u2AB9","precneqq;":"\u2AB5","precnsim;":"\u22E8","precsim;":"\u227E","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2AB9","prnE;":"\u2AB5","prnsim;":"\u22E8","prod;":"\u220F","Product;":"\u220F","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221D","Proportion;":"\u2237","Proportional;":"\u221D","propto;":"\u221D","prsim;":"\u227E","prurel;":"\u22B0","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","Psi;":"\u03A8","psi;":"\u03C8","puncsp;":"\u2008","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","qprime;":"\u2057","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","quaternions;":"\u210D","quatint;":"\u2A16","quest;":"?","questeq;":"\u225F","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21DB","race;":"\u223D\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221A","raemptyv;":"\u29B3","Rang;":"\u27EB","rang;":"\u27E9","rangd;":"\u2992","range;":"\u29A5","rangle;":"\u27E9","raquo;":"\xBB",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21E5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rarrw;":"\u219D","rAtail;":"\u291C","ratail;":"\u291A","ratio;":"\u2236","rationals;":"\u211A","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298C","rbrksld;":"\u298E","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201D","rdquor;":"\u201D","rdsh;":"\u21B3","Re;":"\u211C","real;":"\u211C","realine;":"\u211B","realpart;":"\u211C","reals;":"\u211D","rect;":"\u25AD","REG;":"\xAE",REG:"\xAE","reg;":"\xAE",reg:"\xAE","ReverseElement;":"\u220B","ReverseEquilibrium;":"\u21CB","ReverseUpEquilibrium;":"\u296F","rfisht;":"\u297D","rfloor;":"\u230B","Rfr;":"\u211C","rfr;":"\u{1D52F}","rHar;":"\u2964","rhard;":"\u21C1","rharu;":"\u21C0","rharul;":"\u296C","Rho;":"\u03A1","rho;":"\u03C1","rhov;":"\u03F1","RightAngleBracket;":"\u27E9","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightArrowBar;":"\u21E5","RightArrowLeftArrow;":"\u21C4","rightarrowtail;":"\u21A3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVector;":"\u21C2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230B","rightharpoondown;":"\u21C1","rightharpoonup;":"\u21C0","rightleftarrows;":"\u21C4","rightleftharpoons;":"\u21CC","rightrightarrows;":"\u21C9","rightsquigarrow;":"\u219D","RightTee;":"\u22A2","RightTeeArrow;":"\u21A6","RightTeeVector;":"\u295B","rightthreetimes;":"\u22CC","RightTriangle;":"\u22B3","RightTriangleBar;":"\u29D0","RightTriangleEqual;":"\u22B5","RightUpDownVector;":"\u294F","RightUpTeeVector;":"\u295C","RightUpVector;":"\u21BE","RightUpVectorBar;":"\u2954","RightVector;":"\u21C0","RightVectorBar;":"\u2953","ring;":"\u02DA","risingdotseq;":"\u2253","rlarr;":"\u21C4","rlhar;":"\u21CC","rlm;":"\u200F","rmoust;":"\u23B1","rmoustache;":"\u23B1","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","Ropf;":"\u211D","ropf;":"\u{1D563}","roplus;":"\u2A2E","rotimes;":"\u2A35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2A12","rrarr;":"\u21C9","Rrightarrow;":"\u21DB","rsaquo;":"\u203A","Rscr;":"\u211B","rscr;":"\u{1D4C7}","Rsh;":"\u21B1","rsh;":"\u21B1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","rtri;":"\u25B9","rtrie;":"\u22B5","rtrif;":"\u25B8","rtriltri;":"\u29CE","RuleDelayed;":"\u29F4","ruluhar;":"\u2968","rx;":"\u211E","Sacute;":"\u015A","sacute;":"\u015B","sbquo;":"\u201A","Sc;":"\u2ABC","sc;":"\u227B","scap;":"\u2AB8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227D","scE;":"\u2AB4","sce;":"\u2AB0","Scedil;":"\u015E","scedil;":"\u015F","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scnE;":"\u2AB6","scnsim;":"\u22E9","scpolint;":"\u2A13","scsim;":"\u227F","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22C5","sdotb;":"\u22A1","sdote;":"\u2A66","searhk;":"\u2925","seArr;":"\u21D8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xA7",sect:"\xA7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","sfrown;":"\u2322","sharp;":"\u266F","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xAD",shy:"\xAD","Sigma;":"\u03A3","sigma;":"\u03C3","sigmaf;":"\u03C2","sigmav;":"\u03C2","sim;":"\u223C","simdot;":"\u2A6A","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2A9E","simgE;":"\u2AA0","siml;":"\u2A9D","simlE;":"\u2A9F","simne;":"\u2246","simplus;":"\u2A24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2A33","smeparsl;":"\u29E4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2AAA","smte;":"\u2AAC","smtes;":"\u2AAC\uFE00","SOFTcy;":"\u042C","softcy;":"\u044C","sol;":"/","solb;":"\u29C4","solbar;":"\u233F","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\uFE00","sqcup;":"\u2294","sqcups;":"\u2294\uFE00","Sqrt;":"\u221A","sqsub;":"\u228F","sqsube;":"\u2291","sqsubset;":"\u228F","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25A1","Square;":"\u25A1","square;":"\u25A1","SquareIntersection;":"\u2293","SquareSubset;":"\u228F","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25AA","squf;":"\u25AA","srarr;":"\u2192","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","Star;":"\u22C6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03F5","straightphi;":"\u03D5","strns;":"\xAF","Sub;":"\u22D0","sub;":"\u2282","subdot;":"\u2ABD","subE;":"\u2AC5","sube;":"\u2286","subedot;":"\u2AC3","submult;":"\u2AC1","subnE;":"\u2ACB","subne;":"\u228A","subplus;":"\u2ABF","subrarr;":"\u2979","Subset;":"\u22D0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2AC5","SubsetEqual;":"\u2286","subsetneq;":"\u228A","subsetneqq;":"\u2ACB","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succ;":"\u227B","succapprox;":"\u2AB8","succcurlyeq;":"\u227D","Succeeds;":"\u227B","SucceedsEqual;":"\u2AB0","SucceedsSlantEqual;":"\u227D","SucceedsTilde;":"\u227F","succeq;":"\u2AB0","succnapprox;":"\u2ABA","succneqq;":"\u2AB6","succnsim;":"\u22E9","succsim;":"\u227F","SuchThat;":"\u220B","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266A","Sup;":"\u22D1","sup;":"\u2283","sup1;":"\xB9",sup1:"\xB9","sup2;":"\xB2",sup2:"\xB2","sup3;":"\xB3",sup3:"\xB3","supdot;":"\u2ABE","supdsub;":"\u2AD8","supE;":"\u2AC6","supe;":"\u2287","supedot;":"\u2AC4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supnE;":"\u2ACC","supne;":"\u228B","supplus;":"\u2AC0","Supset;":"\u22D1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2AC6","supsetneq;":"\u228B","supsetneqq;":"\u2ACC","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swArr;":"\u21D9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292A","szlig;":"\xDF",szlig:"\xDF","Tab;":" ","target;":"\u2316","Tau;":"\u03A4","tau;":"\u03C4","tbrk;":"\u23B4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20DB","telrec;":"\u2315","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03B8","thetasym;":"\u03D1","thetav;":"\u03D1","thickapprox;":"\u2248","thicksim;":"\u223C","ThickSpace;":"\u205F\u200A","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223C","THORN;":"\xDE",THORN:"\xDE","thorn;":"\xFE",thorn:"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xD7",times:"\xD7","timesb;":"\u22A0","timesbar;":"\u2A31","timesd;":"\u2A30","tint;":"\u222D","toea;":"\u2928","top;":"\u22A4","topbot;":"\u2336","topcir;":"\u2AF1","Topf;":"\u{1D54B}","topf;":"\u{1D565}","topfork;":"\u2ADA","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25B5","triangledown;":"\u25BF","triangleleft;":"\u25C3","trianglelefteq;":"\u22B4","triangleq;":"\u225C","triangleright;":"\u25B9","trianglerighteq;":"\u22B5","tridot;":"\u25EC","trie;":"\u225C","triminus;":"\u2A3A","TripleDot;":"\u20DB","triplus;":"\u2A39","trisb;":"\u29CD","tritime;":"\u2A3B","trpezium;":"\u23E2","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040B","tshcy;":"\u045B","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226C","twoheadleftarrow;":"\u219E","twoheadrightarrow;":"\u21A0","Uacute;":"\xDA",Uacute:"\xDA","uacute;":"\xFA",uacute:"\xFA","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ubreve;":"\u016C","ubreve;":"\u016D","Ucirc;":"\xDB",Ucirc:"\xDB","ucirc;":"\xFB",ucirc:"\xFB","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21C5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296E","ufisht;":"\u297E","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","Ugrave;":"\xD9",Ugrave:"\xD9","ugrave;":"\xF9",ugrave:"\xF9","uHar;":"\u2963","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ulcorn;":"\u231C","ulcorner;":"\u231C","ulcrop;":"\u230F","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","uml;":"\xA8",uml:"\xA8","UnderBar;":"_","UnderBrace;":"\u23DF","UnderBracket;":"\u23B5","UnderParenthesis;":"\u23DD","Union;":"\u22C3","UnionPlus;":"\u228E","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21C5","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","upharpoonright;":"\u21BE","uplus;":"\u228E","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03D2","upsi;":"\u03C5","upsih;":"\u03D2","Upsilon;":"\u03A5","upsilon;":"\u03C5","UpTee;":"\u22A5","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","urcorn;":"\u231D","urcorner;":"\u231D","urcrop;":"\u230E","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utdot;":"\u22F0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25B5","utrif;":"\u25B4","uuarr;":"\u21C8","Uuml;":"\xDC",Uuml:"\xDC","uuml;":"\xFC",uuml:"\xFC","uwangle;":"\u29A7","vangrt;":"\u299C","varepsilon;":"\u03F5","varkappa;":"\u03F0","varnothing;":"\u2205","varphi;":"\u03D5","varpi;":"\u03D6","varpropto;":"\u221D","vArr;":"\u21D5","varr;":"\u2195","varrho;":"\u03F1","varsigma;":"\u03C2","varsubsetneq;":"\u228A\uFE00","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneq;":"\u228B\uFE00","varsupsetneqq;":"\u2ACC\uFE00","vartheta;":"\u03D1","vartriangleleft;":"\u22B2","vartriangleright;":"\u22B3","Vbar;":"\u2AEB","vBar;":"\u2AE8","vBarv;":"\u2AE9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","Vdashl;":"\u2AE6","Vee;":"\u22C1","vee;":"\u2228","veebar;":"\u22BB","veeeq;":"\u225A","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","vprop;":"\u221D","vrtri;":"\u22B3","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","vzigzag;":"\u299A","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2A5F","Wedge;":"\u22C0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcirc;":"\u25EF","xcup;":"\u22C3","xdtri;":"\u25BD","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","xhArr;":"\u27FA","xharr;":"\u27F7","Xi;":"\u039E","xi;":"\u03BE","xlArr;":"\u27F8","xlarr;":"\u27F5","xmap;":"\u27FC","xnis;":"\u22FB","xodot;":"\u2A00","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","xoplus;":"\u2A01","xotime;":"\u2A02","xrArr;":"\u27F9","xrarr;":"\u27F6","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xsqcup;":"\u2A06","xuplus;":"\u2A04","xutri;":"\u25B3","xvee;":"\u22C1","xwedge;":"\u22C0","Yacute;":"\xDD",Yacute:"\xDD","yacute;":"\xFD",yacute:"\xFD","YAcy;":"\u042F","yacy;":"\u044F","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5",yen:"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF",yuml:"\xFF","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017B","zdot;":"\u017C","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200B","Zeta;":"\u0396","zeta;":"\u03B6","Zfr;":"\u2128","zfr;":"\u{1D537}","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21DD","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwj;":"\u200D","zwnj;":"\u200C"};function Ye(e,t){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function zc(e,t){const n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function fo(e,t){let n="";for(;t>0;)(t&1)===1&&(n+=e),e+=e,t=t>>>1;return n}const Hc="a".charCodeAt(0),Uc="z".charCodeAt(0),Wc="A".charCodeAt(0),Fc="Z".charCodeAt(0),Pc="0".charCodeAt(0),Bc="9".charCodeAt(0);function $t(e,t){const n=e.charCodeAt(t);return Hc<=n&&n<=Uc||Wc<=n&&n<=Fc||Pc<=n&&n<=Bc}function Ln(e){return typeof e<"u"}function qc(e){if(!!e)return typeof e=="string"?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}class po{isApplicable(){return!0}constructor(t,n){this.id=t,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=n.tags||[],this._globalAttributes=n.globalAttributes||[],this._tags.forEach(i=>{this._tagMap[i.name.toLowerCase()]=i}),n.valueSets&&n.valueSets.forEach(i=>{this._valueSetMap[i.name]=i.values})}getId(){return this.id}provideTags(){return this._tags}provideAttributes(t){const n=[],i=s=>{n.push(s)},r=this._tagMap[t.toLowerCase()];return r&&r.attributes.forEach(i),this._globalAttributes.forEach(i),n}provideValues(t,n){const i=[];n=n.toLowerCase();const r=a=>{a.forEach(l=>{l.name.toLowerCase()===n&&(l.values&&l.values.forEach(o=>{i.push(o)}),l.valueSet&&this._valueSetMap[l.valueSet]&&this._valueSetMap[l.valueSet].forEach(o=>{i.push(o)}))})},s=this._tagMap[t.toLowerCase()];return s&&r(s.attributes),r(this._globalAttributes),i}}function it(e,t={},n){const i={kind:n?"markdown":"plaintext",value:""};if(e.description&&t.documentation!==!1){const r=qc(e.description);r&&(i.value+=r.value)}if(e.references&&e.references.length>0&&t.references!==!1&&(i.value.length&&(i.value+=`
29
+ `&&r++}i&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return re.create(0,t);for(;i<r;){let a=Math.floor((i+r)/2);n[a]>t?r=a:i=a+1}let s=i-1;return re.create(s,t-n[s])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}}var R;(function(e){const t=Object.prototype.toString;function n(f){return typeof f<"u"}e.defined=n;function i(f){return typeof f>"u"}e.undefined=i;function r(f){return f===!0||f===!1}e.boolean=r;function s(f){return t.call(f)==="[object String]"}e.string=s;function a(f){return t.call(f)==="[object Number]"}e.number=a;function l(f,w,p){return t.call(f)==="[object Number]"&&w<=f&&f<=p}e.numberRange=l;function o(f){return t.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}e.integer=o;function u(f){return t.call(f)==="[object Number]"&&0<=f&&f<=2147483647}e.uinteger=u;function c(f){return t.call(f)==="[object Function]"}e.func=c;function d(f){return f!==null&&typeof f=="object"}e.objectLiteral=d;function m(f,w){return Array.isArray(f)&&f.every(w)}e.typedArray=m})(R||(R={}));class Vt{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){const n=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){for(let i of t)if(Vt.isIncremental(i)){const r=ao(i.range),s=this.offsetAt(r.start),a=this.offsetAt(r.end);this._content=this._content.substring(0,s)+i.text+this._content.substring(a,this._content.length);const l=Math.max(r.start.line,0),o=Math.max(r.end.line,0);let u=this._lineOffsets;const c=so(i.text,!1,s);if(o-l===c.length)for(let m=0,f=c.length;m<f;m++)u[m+l+1]=c[m];else c.length<1e4?u.splice(l+1,o-l,...c):this._lineOffsets=u=u.slice(0,l+1).concat(c,u.slice(o+1));const d=i.text.length-(a-s);if(d!==0)for(let m=l+1+c.length,f=u.length;m<f;m++)u[m]=u[m]+d}else if(Vt.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=so(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return{line:0,character:t};for(;i<r;){let a=Math.floor((i+r)/2);n[a]>t?r=a:i=a+1}let s=i-1;return{line:s,character:t-n[s]}}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}}var Pi;(function(e){function t(r,s,a,l){return new Vt(r,s,a,l)}e.create=t;function n(r,s,a){if(r instanceof Vt)return r.update(s,a),r;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function i(r,s){let a=r.getText(),l=Bi(s.map(vc),(c,d)=>{let m=c.range.start.line-d.range.start.line;return m===0?c.range.start.character-d.range.start.character:m}),o=0;const u=[];for(const c of l){let d=r.offsetAt(c.range.start);if(d<o)throw new Error("Overlapping edit");d>o&&u.push(a.substring(o,d)),c.newText.length&&u.push(c.newText),o=r.offsetAt(c.range.end)}return u.push(a.substr(o)),u.join("")}e.applyEdits=i})(Pi||(Pi={}));function Bi(e,t){if(e.length<=1)return e;const n=e.length/2|0,i=e.slice(0,n),r=e.slice(n);Bi(i,t),Bi(r,t);let s=0,a=0,l=0;for(;s<i.length&&a<r.length;)t(i[s],r[a])<=0?e[l++]=i[s++]:e[l++]=r[a++];for(;s<i.length;)e[l++]=i[s++];for(;a<r.length;)e[l++]=r[a++];return e}function so(e,t,n=0){const i=t?[n]:[];for(let r=0;r<e.length;r++){let s=e.charCodeAt(r);(s===13||s===10)&&(s===13&&r+1<e.length&&e.charCodeAt(r+1)===10&&r++,i.push(n+r+1))}return i}function ao(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function vc(e){const t=ao(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var z;(function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"})(z||(z={}));var j;(function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"})(j||(j={}));var oo;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Oe.Markdown,Oe.PlainText]}},hover:{contentFormat:[Oe.Markdown,Oe.PlainText]}}}})(oo||(oo={}));var qi;(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(qi||(qi={}));class yc{constructor(t,n){this.source=t,this.len=t.length,this.position=n}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(t){this.position=t}goBack(t){this.position-=t}advance(t){this.position+=t}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(t=0){return this.source.charCodeAt(this.position+t)||0}advanceIfChar(t){return t===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(t){let n;if(this.position+t.length>this.source.length)return!1;for(n=0;n<t.length;n++)if(this.source.charCodeAt(this.position+n)!==t[n])return!1;return this.advance(n),!0}advanceIfRegExp(t){const i=this.source.substr(this.position).match(t);return i?(this.position=this.position+i.index+i[0].length,i[0]):""}advanceUntilRegExp(t){const i=this.source.substr(this.position).match(t);return i?(this.position=this.position+i.index,i[0]):(this.goToEnd(),"")}advanceUntilChar(t){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===t)return!0;this.advance(1)}return!1}advanceUntilChars(t){for(;this.position+t.length<=this.source.length;){let n=0;for(;n<t.length&&this.source.charCodeAt(this.position+n)===t[n];n++);if(n===t.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar(n=>n===Cc||n===Ec||n===Sc||n===Lc||n===Ac)>0}advanceWhileChar(t){const n=this.position;for(;this.position<this.len&&t(this.source.charCodeAt(this.position));)this.position++;return this.position-n}}const lo="!".charCodeAt(0),kt="-".charCodeAt(0),kn="<".charCodeAt(0),Ie=">".charCodeAt(0),Oi="/".charCodeAt(0),Tc="=".charCodeAt(0),xc='"'.charCodeAt(0),kc="'".charCodeAt(0),Sc=`
30
+ `.charCodeAt(0),Ac="\r".charCodeAt(0),Lc="\f".charCodeAt(0),Cc=" ".charCodeAt(0),Ec=" ".charCodeAt(0),Dc={"text/x-handlebars-template":!0,"text/html":!0};function ge(e,t=0,n=j.WithinContent,i=!1){const r=new yc(e,t);let s=n,a=0,l=z.Unknown,o,u,c,d,m;function f(){return r.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function w(){return r.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function p(y,L,I){return l=L,a=y,o=I,L}function x(){const y=r.pos(),L=s,I=T();return I!==z.EOS&&y===r.pos()&&!(i&&(I===z.StartTagClose||I===z.EndTagClose))?(console.warn("Scanner.scan has not advanced at offset "+y+", state before: "+L+" after: "+s),r.advance(1),p(y,z.Unknown)):I}function T(){const y=r.pos();if(r.eos())return p(y,z.EOS);let L;switch(s){case j.WithinComment:return r.advanceIfChars([kt,kt,Ie])?(s=j.WithinContent,p(y,z.EndCommentTag)):(r.advanceUntilChars([kt,kt,Ie]),p(y,z.Comment));case j.WithinDoctype:return r.advanceIfChar(Ie)?(s=j.WithinContent,p(y,z.EndDoctypeTag)):(r.advanceUntilChar(Ie),p(y,z.Doctype));case j.WithinContent:if(r.advanceIfChar(kn)){if(!r.eos()&&r.peekChar()===lo){if(r.advanceIfChars([lo,kt,kt]))return s=j.WithinComment,p(y,z.StartCommentTag);if(r.advanceIfRegExp(/^!doctype/i))return s=j.WithinDoctype,p(y,z.StartDoctypeTag)}return r.advanceIfChar(Oi)?(s=j.AfterOpeningEndTag,p(y,z.EndTagOpen)):(s=j.AfterOpeningStartTag,p(y,z.StartTagOpen))}return r.advanceUntilChar(kn),p(y,z.Content);case j.AfterOpeningEndTag:return f().length>0?(s=j.WithinEndTag,p(y,z.EndTag)):r.skipWhitespace()?p(y,z.Whitespace,Le("Tag name must directly follow the open bracket.")):(s=j.WithinEndTag,r.advanceUntilChar(Ie),y<r.pos()?p(y,z.Unknown,Le("End tag name expected.")):T());case j.WithinEndTag:if(r.skipWhitespace())return p(y,z.Whitespace);if(r.advanceIfChar(Ie))return s=j.WithinContent,p(y,z.EndTagClose);if(i&&r.peekChar()===kn)return s=j.WithinContent,p(y,z.EndTagClose,Le("Closing bracket missing."));L=Le("Closing bracket expected.");break;case j.AfterOpeningStartTag:return c=f(),m=void 0,d=void 0,c.length>0?(u=!1,s=j.WithinTag,p(y,z.StartTag)):r.skipWhitespace()?p(y,z.Whitespace,Le("Tag name must directly follow the open bracket.")):(s=j.WithinTag,r.advanceUntilChar(Ie),y<r.pos()?p(y,z.Unknown,Le("Start tag name expected.")):T());case j.WithinTag:return r.skipWhitespace()?(u=!0,p(y,z.Whitespace)):u&&(d=w(),d.length>0)?(s=j.AfterAttributeName,u=!1,p(y,z.AttributeName)):r.advanceIfChars([Oi,Ie])?(s=j.WithinContent,p(y,z.StartTagSelfClose)):r.advanceIfChar(Ie)?(c==="script"?m&&Dc[m]?s=j.WithinContent:s=j.WithinScriptContent:c==="style"?s=j.WithinStyleContent:s=j.WithinContent,p(y,z.StartTagClose)):i&&r.peekChar()===kn?(s=j.WithinContent,p(y,z.StartTagClose,Le("Closing bracket missing."))):(r.advance(1),p(y,z.Unknown,Le("Unexpected character in tag.")));case j.AfterAttributeName:return r.skipWhitespace()?(u=!0,p(y,z.Whitespace)):r.advanceIfChar(Tc)?(s=j.BeforeAttributeValue,p(y,z.DelimiterAssign)):(s=j.WithinTag,T());case j.BeforeAttributeValue:if(r.skipWhitespace())return p(y,z.Whitespace);let H=r.advanceIfRegExp(/^[^\s"'`=<>]+/);if(H.length>0&&(r.peekChar()===Ie&&r.peekChar(-1)===Oi&&(r.goBack(1),H=H.substring(0,H.length-1)),d==="type"&&(m=H),H.length>0))return s=j.WithinTag,u=!1,p(y,z.AttributeValue);const W=r.peekChar();return W===kc||W===xc?(r.advance(1),r.advanceUntilChar(W)&&r.advance(1),d==="type"&&(m=r.getSource().substring(y+1,r.pos()-1)),s=j.WithinTag,u=!1,p(y,z.AttributeValue)):(s=j.WithinTag,u=!1,T());case j.WithinScriptContent:let b=1;for(;!r.eos();){const g=r.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(g.length===0)return r.goToEnd(),p(y,z.Script);if(g==="<!--")b===1&&(b=2);else if(g==="-->")b=1;else if(g[1]!=="/")b===2&&(b=3);else if(b===3)b=2;else{r.goBack(g.length);break}}return s=j.WithinContent,y<r.pos()?p(y,z.Script):T();case j.WithinStyleContent:return r.advanceUntilRegExp(/<\/style/i),s=j.WithinContent,y<r.pos()?p(y,z.Styles):T()}return r.advance(1),s=j.WithinContent,p(y,z.Unknown,L)}return{scan:x,getTokenType:()=>l,getTokenOffset:()=>a,getTokenLength:()=>r.pos()-a,getTokenEnd:()=>r.pos(),getTokenText:()=>r.getSource().substring(a,r.pos()),getScannerState:()=>s,getTokenError:()=>o}}function uo(e,t){let n=0,i=e.length;if(i===0)return 0;for(;n<i;){let r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}function Rc(e,t,n){let i=0,r=e.length-1;for(;i<=r;){const s=(i+r)/2|0,a=n(e[s],t);if(a<0)i=s+1;else if(a>0)r=s-1;else return s}return-(i+1)}class co{get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}constructor(t,n,i,r){this.start=t,this.end=n,this.children=i,this.parent=r,this.closed=!1}isSameTag(t){return this.tag===void 0?t===void 0:t!==void 0&&this.tag.length===t.length&&this.tag.toLowerCase()===t}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(t){const n=uo(this.children,i=>t<=i.start)-1;if(n>=0){const i=this.children[n];if(t>i.start){if(t<i.end)return i.findNodeBefore(t);const r=i.lastChild;return r&&r.end===i.end?i.findNodeBefore(t):i}}return this}findNodeAt(t){const n=uo(this.children,i=>t<=i.start)-1;if(n>=0){const i=this.children[n];if(t>i.start&&t<=i.end)return i.findNodeAt(t)}return this}}class Mc{constructor(t){this.dataManager=t}parseDocument(t){return this.parse(t.getText(),this.dataManager.getVoidElements(t.languageId))}parse(t,n){const i=ge(t,void 0,void 0,!0),r=new co(0,t.length,[],void 0);let s=r,a=-1,l,o=null,u=i.scan();for(;u!==z.EOS;){switch(u){case z.StartTagOpen:const c=new co(i.getTokenOffset(),t.length,[],s);s.children.push(c),s=c;break;case z.StartTag:s.tag=i.getTokenText();break;case z.StartTagClose:s.parent&&(s.end=i.getTokenEnd(),i.getTokenLength()?(s.startTagEnd=i.getTokenEnd(),s.tag&&this.dataManager.isVoidElement(s.tag,n)&&(s.closed=!0,s=s.parent)):s=s.parent);break;case z.StartTagSelfClose:s.parent&&(s.closed=!0,s.end=i.getTokenEnd(),s.startTagEnd=i.getTokenEnd(),s=s.parent);break;case z.EndTagOpen:a=i.getTokenOffset(),l=void 0;break;case z.EndTag:l=i.getTokenText().toLowerCase();break;case z.EndTagClose:let d=s;for(;!d.isSameTag(l)&&d.parent;)d=d.parent;if(d.parent){for(;s!==d;)s.end=a,s.closed=!1,s=s.parent;s.closed=!0,s.endTagStart=a,s.end=i.getTokenEnd(),s=s.parent}break;case z.AttributeName:{o=i.getTokenText();let m=s.attributes;m||(s.attributes=m={}),m[o]=null;break}case z.AttributeValue:{const m=i.getTokenText(),f=s.attributes;f&&o&&(f[o]=m,o=null);break}}u=i.scan()}for(;s.parent;)s.end=t.length,s.closed=!1,s=s.parent;return{roots:r.children,findNodeBefore:r.findNodeBefore.bind(r),findNodeAt:r.findNodeAt.bind(r)}}}const jt={"Aacute;":"\xC1",Aacute:"\xC1","aacute;":"\xE1",aacute:"\xE1","Abreve;":"\u0102","abreve;":"\u0103","ac;":"\u223E","acd;":"\u223F","acE;":"\u223E\u0333","Acirc;":"\xC2",Acirc:"\xC2","acirc;":"\xE2",acirc:"\xE2","acute;":"\xB4",acute:"\xB4","Acy;":"\u0410","acy;":"\u0430","AElig;":"\xC6",AElig:"\xC6","aelig;":"\xE6",aelig:"\xE6","af;":"\u2061","Afr;":"\u{1D504}","afr;":"\u{1D51E}","Agrave;":"\xC0",Agrave:"\xC0","agrave;":"\xE0",agrave:"\xE0","alefsym;":"\u2135","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"\u2A53","and;":"\u2227","andand;":"\u2A55","andd;":"\u2A5C","andslope;":"\u2A58","andv;":"\u2A5A","ang;":"\u2220","ange;":"\u29A4","angle;":"\u2220","angmsd;":"\u2221","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrt;":"\u221F","angrtvb;":"\u22BE","angrtvbd;":"\u299D","angsph;":"\u2222","angst;":"\xC5","angzarr;":"\u237C","Aogon;":"\u0104","aogon;":"\u0105","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","ap;":"\u2248","apacir;":"\u2A6F","apE;":"\u2A70","ape;":"\u224A","apid;":"\u224B","apos;":"'","ApplyFunction;":"\u2061","approx;":"\u2248","approxeq;":"\u224A","Aring;":"\xC5",Aring:"\xC5","aring;":"\xE5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Assign;":"\u2254","ast;":"*","asymp;":"\u2248","asympeq;":"\u224D","Atilde;":"\xC3",Atilde:"\xC3","atilde;":"\xE3",atilde:"\xE3","Auml;":"\xC4",Auml:"\xC4","auml;":"\xE4",auml:"\xE4","awconint;":"\u2233","awint;":"\u2A11","backcong;":"\u224C","backepsilon;":"\u03F6","backprime;":"\u2035","backsim;":"\u223D","backsimeq;":"\u22CD","Backslash;":"\u2216","Barv;":"\u2AE7","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","barwedge;":"\u2305","bbrk;":"\u23B5","bbrktbrk;":"\u23B6","bcong;":"\u224C","Bcy;":"\u0411","bcy;":"\u0431","bdquo;":"\u201E","becaus;":"\u2235","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","bepsi;":"\u03F6","bernou;":"\u212C","Bernoullis;":"\u212C","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","between;":"\u226C","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bigcap;":"\u22C2","bigcirc;":"\u25EF","bigcup;":"\u22C3","bigodot;":"\u2A00","bigoplus;":"\u2A01","bigotimes;":"\u2A02","bigsqcup;":"\u2A06","bigstar;":"\u2605","bigtriangledown;":"\u25BD","bigtriangleup;":"\u25B3","biguplus;":"\u2A04","bigvee;":"\u22C1","bigwedge;":"\u22C0","bkarow;":"\u290D","blacklozenge;":"\u29EB","blacksquare;":"\u25AA","blacktriangle;":"\u25B4","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","blacktriangleright;":"\u25B8","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","bne;":"=\u20E5","bnequiv;":"\u2261\u20E5","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","bot;":"\u22A5","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxH;":"\u2550","boxh;":"\u2500","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxminus;":"\u229F","boxplus;":"\u229E","boxtimes;":"\u22A0","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxV;":"\u2551","boxv;":"\u2502","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","bprime;":"\u2035","Breve;":"\u02D8","breve;":"\u02D8","brvbar;":"\xA6",brvbar:"\xA6","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsemi;":"\u204F","bsim;":"\u223D","bsime;":"\u22CD","bsol;":"\\","bsolb;":"\u29C5","bsolhsub;":"\u27C8","bull;":"\u2022","bullet;":"\u2022","bump;":"\u224E","bumpE;":"\u2AAE","bumpe;":"\u224F","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","Cap;":"\u22D2","cap;":"\u2229","capand;":"\u2A44","capbrcup;":"\u2A49","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","CapitalDifferentialD;":"\u2145","caps;":"\u2229\uFE00","caret;":"\u2041","caron;":"\u02C7","Cayleys;":"\u212D","ccaps;":"\u2A4D","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7",Ccedil:"\xC7","ccedil;":"\xE7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","Cconint;":"\u2230","ccups;":"\u2A4C","ccupssm;":"\u2A50","Cdot;":"\u010A","cdot;":"\u010B","cedil;":"\xB8",cedil:"\xB8","Cedilla;":"\xB8","cemptyv;":"\u29B2","cent;":"\xA2",cent:"\xA2","CenterDot;":"\xB7","centerdot;":"\xB7","Cfr;":"\u212D","cfr;":"\u{1D520}","CHcy;":"\u0427","chcy;":"\u0447","check;":"\u2713","checkmark;":"\u2713","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB","circ;":"\u02C6","circeq;":"\u2257","circlearrowleft;":"\u21BA","circlearrowright;":"\u21BB","circledast;":"\u229B","circledcirc;":"\u229A","circleddash;":"\u229D","CircleDot;":"\u2299","circledR;":"\xAE","circledS;":"\u24C8","CircleMinus;":"\u2296","CirclePlus;":"\u2295","CircleTimes;":"\u2297","cirE;":"\u29C3","cire;":"\u2257","cirfnint;":"\u2A10","cirmid;":"\u2AEF","cirscir;":"\u29C2","ClockwiseContourIntegral;":"\u2232","CloseCurlyDoubleQuote;":"\u201D","CloseCurlyQuote;":"\u2019","clubs;":"\u2663","clubsuit;":"\u2663","Colon;":"\u2237","colon;":":","Colone;":"\u2A74","colone;":"\u2254","coloneq;":"\u2254","comma;":",","commat;":"@","comp;":"\u2201","compfn;":"\u2218","complement;":"\u2201","complexes;":"\u2102","cong;":"\u2245","congdot;":"\u2A6D","Congruent;":"\u2261","Conint;":"\u222F","conint;":"\u222E","ContourIntegral;":"\u222E","Copf;":"\u2102","copf;":"\u{1D554}","coprod;":"\u2210","Coproduct;":"\u2210","COPY;":"\xA9",COPY:"\xA9","copy;":"\xA9",copy:"\xA9","copysr;":"\u2117","CounterClockwiseContourIntegral;":"\u2233","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csube;":"\u2AD1","csup;":"\u2AD0","csupe;":"\u2AD2","ctdot;":"\u22EF","cudarrl;":"\u2938","cudarrr;":"\u2935","cuepr;":"\u22DE","cuesc;":"\u22DF","cularr;":"\u21B6","cularrp;":"\u293D","Cup;":"\u22D3","cup;":"\u222A","cupbrcap;":"\u2A48","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","cupor;":"\u2A45","cups;":"\u222A\uFE00","curarr;":"\u21B7","curarrm;":"\u293C","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","curlyvee;":"\u22CE","curlywedge;":"\u22CF","curren;":"\xA4",curren:"\xA4","curvearrowleft;":"\u21B6","curvearrowright;":"\u21B7","cuvee;":"\u22CE","cuwed;":"\u22CF","cwconint;":"\u2232","cwint;":"\u2231","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","Dashv;":"\u2AE4","dashv;":"\u22A3","dbkarow;":"\u290F","dblac;":"\u02DD","Dcaron;":"\u010E","dcaron;":"\u010F","Dcy;":"\u0414","dcy;":"\u0434","DD;":"\u2145","dd;":"\u2146","ddagger;":"\u2021","ddarr;":"\u21CA","DDotrahd;":"\u2911","ddotseq;":"\u2A77","deg;":"\xB0",deg:"\xB0","Del;":"\u2207","Delta;":"\u0394","delta;":"\u03B4","demptyv;":"\u29B1","dfisht;":"\u297F","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","dHar;":"\u2965","dharl;":"\u21C3","dharr;":"\u21C2","DiacriticalAcute;":"\xB4","DiacriticalDot;":"\u02D9","DiacriticalDoubleAcute;":"\u02DD","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","diam;":"\u22C4","Diamond;":"\u22C4","diamond;":"\u22C4","diamondsuit;":"\u2666","diams;":"\u2666","die;":"\xA8","DifferentialD;":"\u2146","digamma;":"\u03DD","disin;":"\u22F2","div;":"\xF7","divide;":"\xF7",divide:"\xF7","divideontimes;":"\u22C7","divonx;":"\u22C7","DJcy;":"\u0402","djcy;":"\u0452","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dot;":"\xA8","dot;":"\u02D9","DotDot;":"\u20DC","doteq;":"\u2250","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","dotplus;":"\u2214","dotsquare;":"\u22A1","doublebarwedge;":"\u2306","DoubleContourIntegral;":"\u222F","DoubleDot;":"\xA8","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","DoubleLeftRightArrow;":"\u21D4","DoubleLeftTee;":"\u2AE4","DoubleLongLeftArrow;":"\u27F8","DoubleLongLeftRightArrow;":"\u27FA","DoubleLongRightArrow;":"\u27F9","DoubleRightArrow;":"\u21D2","DoubleRightTee;":"\u22A8","DoubleUpArrow;":"\u21D1","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownArrowBar;":"\u2913","DownArrowUpArrow;":"\u21F5","DownBreve;":"\u0311","downdownarrows;":"\u21CA","downharpoonleft;":"\u21C3","downharpoonright;":"\u21C2","DownLeftRightVector;":"\u2950","DownLeftTeeVector;":"\u295E","DownLeftVector;":"\u21BD","DownLeftVectorBar;":"\u2956","DownRightTeeVector;":"\u295F","DownRightVector;":"\u21C1","DownRightVectorBar;":"\u2957","DownTee;":"\u22A4","DownTeeArrow;":"\u21A7","drbkarow;":"\u2910","drcorn;":"\u231F","drcrop;":"\u230C","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","Dstrok;":"\u0110","dstrok;":"\u0111","dtdot;":"\u22F1","dtri;":"\u25BF","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F","dwangle;":"\u29A6","DZcy;":"\u040F","dzcy;":"\u045F","dzigrarr;":"\u27FF","Eacute;":"\xC9",Eacute:"\xC9","eacute;":"\xE9",eacute:"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecir;":"\u2256","Ecirc;":"\xCA",Ecirc:"\xCA","ecirc;":"\xEA",ecirc:"\xEA","ecolon;":"\u2255","Ecy;":"\u042D","ecy;":"\u044D","eDDot;":"\u2A77","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","ee;":"\u2147","efDot;":"\u2252","Efr;":"\u{1D508}","efr;":"\u{1D522}","eg;":"\u2A9A","Egrave;":"\xC8",Egrave:"\xC8","egrave;":"\xE8",egrave:"\xE8","egs;":"\u2A96","egsdot;":"\u2A98","el;":"\u2A99","Element;":"\u2208","elinters;":"\u23E7","ell;":"\u2113","els;":"\u2A95","elsdot;":"\u2A97","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","emptyset;":"\u2205","EmptySmallSquare;":"\u25FB","emptyv;":"\u2205","EmptyVerySmallSquare;":"\u25AB","emsp;":"\u2003","emsp13;":"\u2004","emsp14;":"\u2005","ENG;":"\u014A","eng;":"\u014B","ensp;":"\u2002","Eogon;":"\u0118","eogon;":"\u0119","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","eparsl;":"\u29E3","eplus;":"\u2A71","epsi;":"\u03B5","Epsilon;":"\u0395","epsilon;":"\u03B5","epsiv;":"\u03F5","eqcirc;":"\u2256","eqcolon;":"\u2255","eqsim;":"\u2242","eqslantgtr;":"\u2A96","eqslantless;":"\u2A95","Equal;":"\u2A75","equals;":"=","EqualTilde;":"\u2242","equest;":"\u225F","Equilibrium;":"\u21CC","equiv;":"\u2261","equivDD;":"\u2A78","eqvparsl;":"\u29E5","erarr;":"\u2971","erDot;":"\u2253","Escr;":"\u2130","escr;":"\u212F","esdot;":"\u2250","Esim;":"\u2A73","esim;":"\u2242","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0",ETH:"\xD0","eth;":"\xF0",eth:"\xF0","Euml;":"\xCB",Euml:"\xCB","euml;":"\xEB",euml:"\xEB","euro;":"\u20AC","excl;":"!","exist;":"\u2203","Exists;":"\u2203","expectation;":"\u2130","ExponentialE;":"\u2147","exponentiale;":"\u2147","fallingdotseq;":"\u2252","Fcy;":"\u0424","fcy;":"\u0444","female;":"\u2640","ffilig;":"\uFB03","fflig;":"\uFB00","ffllig;":"\uFB04","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","filig;":"\uFB01","FilledSmallSquare;":"\u25FC","FilledVerySmallSquare;":"\u25AA","fjlig;":"fj","flat;":"\u266D","fllig;":"\uFB02","fltns;":"\u25B1","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","ForAll;":"\u2200","forall;":"\u2200","fork;":"\u22D4","forkv;":"\u2AD9","Fouriertrf;":"\u2131","fpartint;":"\u2A0D","frac12;":"\xBD",frac12:"\xBD","frac13;":"\u2153","frac14;":"\xBC",frac14:"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE",frac34:"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","frasl;":"\u2044","frown;":"\u2322","Fscr;":"\u2131","fscr;":"\u{1D4BB}","gacute;":"\u01F5","Gamma;":"\u0393","gamma;":"\u03B3","Gammad;":"\u03DC","gammad;":"\u03DD","gap;":"\u2A86","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","Gcirc;":"\u011C","gcirc;":"\u011D","Gcy;":"\u0413","gcy;":"\u0433","Gdot;":"\u0120","gdot;":"\u0121","gE;":"\u2267","ge;":"\u2265","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","geqq;":"\u2267","geqslant;":"\u2A7E","ges;":"\u2A7E","gescc;":"\u2AA9","gesdot;":"\u2A80","gesdoto;":"\u2A82","gesdotol;":"\u2A84","gesl;":"\u22DB\uFE00","gesles;":"\u2A94","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","Gg;":"\u22D9","gg;":"\u226B","ggg;":"\u22D9","gimel;":"\u2137","GJcy;":"\u0403","gjcy;":"\u0453","gl;":"\u2277","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnap;":"\u2A8A","gnapprox;":"\u2A8A","gnE;":"\u2269","gne;":"\u2A88","gneq;":"\u2A88","gneqq;":"\u2269","gnsim;":"\u22E7","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","grave;":"`","GreaterEqual;":"\u2265","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","GreaterGreater;":"\u2AA2","GreaterLess;":"\u2277","GreaterSlantEqual;":"\u2A7E","GreaterTilde;":"\u2273","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gsime;":"\u2A8E","gsiml;":"\u2A90","GT;":">",GT:">","Gt;":"\u226B","gt;":">",gt:">","gtcc;":"\u2AA7","gtcir;":"\u2A7A","gtdot;":"\u22D7","gtlPar;":"\u2995","gtquest;":"\u2A7C","gtrapprox;":"\u2A86","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtreqless;":"\u22DB","gtreqqless;":"\u2A8C","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\uFE00","gvnE;":"\u2269\uFE00","Hacek;":"\u02C7","hairsp;":"\u200A","half;":"\xBD","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hArr;":"\u21D4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21AD","Hat;":"^","hbar;":"\u210F","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","Hfr;":"\u210C","hfr;":"\u{1D525}","HilbertSpace;":"\u210B","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21FF","homtht;":"\u223B","hookleftarrow;":"\u21A9","hookrightarrow;":"\u21AA","Hopf;":"\u210D","hopf;":"\u{1D559}","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210B","hscr;":"\u{1D4BD}","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224E","HumpEqual;":"\u224F","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD",Iacute:"\xCD","iacute;":"\xED",iacute:"\xED","ic;":"\u2063","Icirc;":"\xCE",Icirc:"\xCE","icirc;":"\xEE",icirc:"\xEE","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xA1",iexcl:"\xA1","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Igrave;":"\xCC",Igrave:"\xCC","igrave;":"\xEC",igrave:"\xEC","ii;":"\u2148","iiiint;":"\u2A0C","iiint;":"\u222D","iinfin;":"\u29DC","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22B7","imped;":"\u01B5","Implies;":"\u21D2","in;":"\u2208","incare;":"\u2105","infin;":"\u221E","infintie;":"\u29DD","inodot;":"\u0131","Int;":"\u222C","int;":"\u222B","intcal;":"\u22BA","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","Intersection;":"\u22C2","intlarhk;":"\u2A17","intprod;":"\u2A3C","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012E","iogon;":"\u012F","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","iprod;":"\u2A3C","iquest;":"\xBF",iquest:"\xBF","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","isindot;":"\u22F5","isinE;":"\u22F9","isins;":"\u22F4","isinsv;":"\u22F3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xCF",Iuml:"\xCF","iuml;":"\xEF",iuml:"\xEF","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","jmath;":"\u0237","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","lAarr;":"\u21DA","Lacute;":"\u0139","lacute;":"\u013A","laemptyv;":"\u29B4","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","Lang;":"\u27EA","lang;":"\u27E8","langd;":"\u2991","langle;":"\u27E8","lap;":"\u2A85","Laplacetrf;":"\u2112","laquo;":"\xAB",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","larrb;":"\u21E4","larrbfs;":"\u291F","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21A2","lat;":"\u2AAB","lAtail;":"\u291B","latail;":"\u2919","late;":"\u2AAD","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298B","lbrksld;":"\u298F","lbrkslu;":"\u298D","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041B","lcy;":"\u043B","ldca;":"\u2936","ldquo;":"\u201C","ldquor;":"\u201E","ldrdhar;":"\u2967","ldrushar;":"\u294B","ldsh;":"\u21B2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27E8","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftArrowBar;":"\u21E4","LeftArrowRightArrow;":"\u21C6","leftarrowtail;":"\u21A2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21C3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230A","leftharpoondown;":"\u21BD","leftharpoonup;":"\u21BC","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21C6","leftrightharpoons;":"\u21CB","leftrightsquigarrow;":"\u21AD","LeftRightVector;":"\u294E","LeftTee;":"\u22A3","LeftTeeArrow;":"\u21A4","LeftTeeVector;":"\u295A","leftthreetimes;":"\u22CB","LeftTriangle;":"\u22B2","LeftTriangleBar;":"\u29CF","LeftTriangleEqual;":"\u22B4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21BF","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21BC","LeftVectorBar;":"\u2952","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2A7D","les;":"\u2A7D","lescc;":"\u2AA8","lesdot;":"\u2A7F","lesdoto;":"\u2A81","lesdotor;":"\u2A83","lesg;":"\u22DA\uFE00","lesges;":"\u2A93","lessapprox;":"\u2A85","lessdot;":"\u22D6","lesseqgtr;":"\u22DA","lesseqqgtr;":"\u2A8B","LessEqualGreater;":"\u22DA","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2AA1","lesssim;":"\u2272","LessSlantEqual;":"\u2A7D","LessTilde;":"\u2272","lfisht;":"\u297C","lfloor;":"\u230A","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lg;":"\u2276","lgE;":"\u2A91","lHar;":"\u2962","lhard;":"\u21BD","lharu;":"\u21BC","lharul;":"\u296A","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22D8","ll;":"\u226A","llarr;":"\u21C7","llcorner;":"\u231E","Lleftarrow;":"\u21DA","llhard;":"\u296B","lltri;":"\u25FA","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","lmoustache;":"\u23B0","lnap;":"\u2A89","lnapprox;":"\u2A89","lnE;":"\u2268","lne;":"\u2A87","lneq;":"\u2A87","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","longmapsto;":"\u27FC","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowleft;":"\u21AB","looparrowright;":"\u21AC","lopar;":"\u2985","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","loplus;":"\u2A2D","lotimes;":"\u2A34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25CA","lozenge;":"\u25CA","lozf;":"\u29EB","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21C6","lrcorner;":"\u231F","lrhar;":"\u21CB","lrhard;":"\u296D","lrm;":"\u200E","lrtri;":"\u22BF","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\u{1D4C1}","Lsh;":"\u21B0","lsh;":"\u21B0","lsim;":"\u2272","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226A","lt;":"<",lt:"<","ltcc;":"\u2AA6","ltcir;":"\u2A79","ltdot;":"\u22D6","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltquest;":"\u2A7B","ltri;":"\u25C3","ltrie;":"\u22B4","ltrif;":"\u25C2","ltrPar;":"\u2996","lurdshar;":"\u294A","luruhar;":"\u2966","lvertneqq;":"\u2268\uFE00","lvnE;":"\u2268\uFE00","macr;":"\xAF",macr:"\xAF","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21A6","mapsto;":"\u21A6","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","mapstoup;":"\u21A5","marker;":"\u25AE","mcomma;":"\u2A29","Mcy;":"\u041C","mcy;":"\u043C","mdash;":"\u2014","mDDot;":"\u223A","measuredangle;":"\u2221","MediumSpace;":"\u205F","Mellintrf;":"\u2133","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","micro;":"\xB5",micro:"\xB5","mid;":"\u2223","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7",middot:"\xB7","minus;":"\u2212","minusb;":"\u229F","minusd;":"\u2238","minusdu;":"\u2A2A","MinusPlus;":"\u2213","mlcp;":"\u2ADB","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22A7","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\u{1D4C2}","mstpos;":"\u223E","Mu;":"\u039C","mu;":"\u03BC","multimap;":"\u22B8","mumap;":"\u22B8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20D2","nap;":"\u2249","napE;":"\u2A70\u0338","napid;":"\u224B\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266E","natural;":"\u266E","naturals;":"\u2115","nbsp;":"\xA0",nbsp:"\xA0","nbump;":"\u224E\u0338","nbumpe;":"\u224F\u0338","ncap;":"\u2A43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2A6D\u0338","ncup;":"\u2A42","Ncy;":"\u041D","ncy;":"\u043D","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21D7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200B","NegativeThickSpace;":"\u200B","NegativeThinSpace;":"\u200B","NegativeVeryThinSpace;":"\u200B","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226B","NestedLessLess;":"\u226A","NewLine;":`
31
+ `,"nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2A7E\u0338","nges;":"\u2A7E\u0338","nGg;":"\u22D9\u0338","ngsim;":"\u2275","nGt;":"\u226B\u20D2","ngt;":"\u226F","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","ni;":"\u220B","nis;":"\u22FC","nisd;":"\u22FA","niv;":"\u220B","NJcy;":"\u040A","njcy;":"\u045A","nlArr;":"\u21CD","nlarr;":"\u219A","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2A7D\u0338","nles;":"\u2A7D\u0338","nless;":"\u226E","nLl;":"\u22D8\u0338","nlsim;":"\u2274","nLt;":"\u226A\u20D2","nlt;":"\u226E","nltri;":"\u22EA","nltrie;":"\u22EC","nLtv;":"\u226A\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xA0","Nopf;":"\u2115","nopf;":"\u{1D55F}","Not;":"\u2AEC","not;":"\xAC",not:"\xAC","NotCongruent;":"\u2262","NotCupCap;":"\u226D","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226F","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226B\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2A7E\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotHumpEqual;":"\u224F\u0338","notin;":"\u2209","notindot;":"\u22F5\u0338","notinE;":"\u22F9\u0338","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLeftTriangle;":"\u22EA","NotLeftTriangleBar;":"\u29CF\u0338","NotLeftTriangleEqual;":"\u22EC","NotLess;":"\u226E","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226A\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2AA2\u0338","NotNestedLessLess;":"\u2AA1\u0338","notni;":"\u220C","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2AAF\u0338","NotPrecedesSlantEqual;":"\u22E0","NotReverseElement;":"\u220C","NotRightTriangle;":"\u22EB","NotRightTriangleBar;":"\u29D0\u0338","NotRightTriangleEqual;":"\u22ED","NotSquareSubset;":"\u228F\u0338","NotSquareSubsetEqual;":"\u22E2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22E3","NotSubset;":"\u2282\u20D2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsSlantEqual;":"\u22E1","NotSucceedsTilde;":"\u227F\u0338","NotSuperset;":"\u2283\u20D2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2AFD\u20E5","npart;":"\u2202\u0338","npolint;":"\u2A14","npr;":"\u2280","nprcue;":"\u22E0","npre;":"\u2AAF\u0338","nprec;":"\u2280","npreceq;":"\u2AAF\u0338","nrArr;":"\u21CF","nrarr;":"\u219B","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","nrtri;":"\u22EB","nrtrie;":"\u22ED","nsc;":"\u2281","nsccue;":"\u22E1","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsub;":"\u2284","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20D2","nsubseteq;":"\u2288","nsubseteqq;":"\u2AC5\u0338","nsucc;":"\u2281","nsucceq;":"\u2AB0\u0338","nsup;":"\u2285","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20D2","nsupseteq;":"\u2289","nsupseteqq;":"\u2AC6\u0338","ntgl;":"\u2279","Ntilde;":"\xD1",Ntilde:"\xD1","ntilde;":"\xF1",ntilde:"\xF1","ntlg;":"\u2278","ntriangleleft;":"\u22EA","ntrianglelefteq;":"\u22EC","ntriangleright;":"\u22EB","ntrianglerighteq;":"\u22ED","Nu;":"\u039D","nu;":"\u03BD","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224D\u20D2","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvHarr;":"\u2904","nvinfin;":"\u29DE","nvlArr;":"\u2902","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","nvltrie;":"\u22B4\u20D2","nvrArr;":"\u2903","nvrtrie;":"\u22B5\u20D2","nvsim;":"\u223C\u20D2","nwarhk;":"\u2923","nwArr;":"\u21D6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xD3",Oacute:"\xD3","oacute;":"\xF3",oacute:"\xF3","oast;":"\u229B","ocir;":"\u229A","Ocirc;":"\xD4",Ocirc:"\xD4","ocirc;":"\xF4",ocirc:"\xF4","Ocy;":"\u041E","ocy;":"\u043E","odash;":"\u229D","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2A38","odot;":"\u2299","odsold;":"\u29BC","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogon;":"\u02DB","Ograve;":"\xD2",Ograve:"\xD2","ograve;":"\xF2",ograve:"\xF2","ogt;":"\u29C1","ohbar;":"\u29B5","ohm;":"\u03A9","oint;":"\u222E","olarr;":"\u21BA","olcir;":"\u29BE","olcross;":"\u29BB","oline;":"\u203E","olt;":"\u29C0","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","Omicron;":"\u039F","omicron;":"\u03BF","omid;":"\u29B6","ominus;":"\u2296","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","OpenCurlyDoubleQuote;":"\u201C","OpenCurlyQuote;":"\u2018","operp;":"\u29B9","oplus;":"\u2295","Or;":"\u2A54","or;":"\u2228","orarr;":"\u21BB","ord;":"\u2A5D","order;":"\u2134","orderof;":"\u2134","ordf;":"\xAA",ordf:"\xAA","ordm;":"\xBA",ordm:"\xBA","origof;":"\u22B6","oror;":"\u2A56","orslope;":"\u2A57","orv;":"\u2A5B","oS;":"\u24C8","Oscr;":"\u{1D4AA}","oscr;":"\u2134","Oslash;":"\xD8",Oslash:"\xD8","oslash;":"\xF8",oslash:"\xF8","osol;":"\u2298","Otilde;":"\xD5",Otilde:"\xD5","otilde;":"\xF5",otilde:"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","otimesas;":"\u2A36","Ouml;":"\xD6",Ouml:"\xD6","ouml;":"\xF6",ouml:"\xF6","ovbar;":"\u233D","OverBar;":"\u203E","OverBrace;":"\u23DE","OverBracket;":"\u23B4","OverParenthesis;":"\u23DC","par;":"\u2225","para;":"\xB6",para:"\xB6","parallel;":"\u2225","parsim;":"\u2AF3","parsl;":"\u2AFD","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041F","pcy;":"\u043F","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22A5","pertenk;":"\u2031","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","phiv;":"\u03D5","phmmat;":"\u2133","phone;":"\u260E","Pi;":"\u03A0","pi;":"\u03C0","pitchfork;":"\u22D4","piv;":"\u03D6","planck;":"\u210F","planckh;":"\u210E","plankv;":"\u210F","plus;":"+","plusacir;":"\u2A23","plusb;":"\u229E","pluscir;":"\u2A22","plusdo;":"\u2214","plusdu;":"\u2A25","pluse;":"\u2A72","PlusMinus;":"\xB1","plusmn;":"\xB1",plusmn:"\xB1","plussim;":"\u2A26","plustwo;":"\u2A27","pm;":"\xB1","Poincareplane;":"\u210C","pointint;":"\u2A15","Popf;":"\u2119","popf;":"\u{1D561}","pound;":"\xA3",pound:"\xA3","Pr;":"\u2ABB","pr;":"\u227A","prap;":"\u2AB7","prcue;":"\u227C","prE;":"\u2AB3","pre;":"\u2AAF","prec;":"\u227A","precapprox;":"\u2AB7","preccurlyeq;":"\u227C","Precedes;":"\u227A","PrecedesEqual;":"\u2AAF","PrecedesSlantEqual;":"\u227C","PrecedesTilde;":"\u227E","preceq;":"\u2AAF","precnapprox;":"\u2AB9","precneqq;":"\u2AB5","precnsim;":"\u22E8","precsim;":"\u227E","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2AB9","prnE;":"\u2AB5","prnsim;":"\u22E8","prod;":"\u220F","Product;":"\u220F","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221D","Proportion;":"\u2237","Proportional;":"\u221D","propto;":"\u221D","prsim;":"\u227E","prurel;":"\u22B0","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","Psi;":"\u03A8","psi;":"\u03C8","puncsp;":"\u2008","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","qprime;":"\u2057","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","quaternions;":"\u210D","quatint;":"\u2A16","quest;":"?","questeq;":"\u225F","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21DB","race;":"\u223D\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221A","raemptyv;":"\u29B3","Rang;":"\u27EB","rang;":"\u27E9","rangd;":"\u2992","range;":"\u29A5","rangle;":"\u27E9","raquo;":"\xBB",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21E5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rarrw;":"\u219D","rAtail;":"\u291C","ratail;":"\u291A","ratio;":"\u2236","rationals;":"\u211A","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298C","rbrksld;":"\u298E","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201D","rdquor;":"\u201D","rdsh;":"\u21B3","Re;":"\u211C","real;":"\u211C","realine;":"\u211B","realpart;":"\u211C","reals;":"\u211D","rect;":"\u25AD","REG;":"\xAE",REG:"\xAE","reg;":"\xAE",reg:"\xAE","ReverseElement;":"\u220B","ReverseEquilibrium;":"\u21CB","ReverseUpEquilibrium;":"\u296F","rfisht;":"\u297D","rfloor;":"\u230B","Rfr;":"\u211C","rfr;":"\u{1D52F}","rHar;":"\u2964","rhard;":"\u21C1","rharu;":"\u21C0","rharul;":"\u296C","Rho;":"\u03A1","rho;":"\u03C1","rhov;":"\u03F1","RightAngleBracket;":"\u27E9","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightArrowBar;":"\u21E5","RightArrowLeftArrow;":"\u21C4","rightarrowtail;":"\u21A3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVector;":"\u21C2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230B","rightharpoondown;":"\u21C1","rightharpoonup;":"\u21C0","rightleftarrows;":"\u21C4","rightleftharpoons;":"\u21CC","rightrightarrows;":"\u21C9","rightsquigarrow;":"\u219D","RightTee;":"\u22A2","RightTeeArrow;":"\u21A6","RightTeeVector;":"\u295B","rightthreetimes;":"\u22CC","RightTriangle;":"\u22B3","RightTriangleBar;":"\u29D0","RightTriangleEqual;":"\u22B5","RightUpDownVector;":"\u294F","RightUpTeeVector;":"\u295C","RightUpVector;":"\u21BE","RightUpVectorBar;":"\u2954","RightVector;":"\u21C0","RightVectorBar;":"\u2953","ring;":"\u02DA","risingdotseq;":"\u2253","rlarr;":"\u21C4","rlhar;":"\u21CC","rlm;":"\u200F","rmoust;":"\u23B1","rmoustache;":"\u23B1","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","Ropf;":"\u211D","ropf;":"\u{1D563}","roplus;":"\u2A2E","rotimes;":"\u2A35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2A12","rrarr;":"\u21C9","Rrightarrow;":"\u21DB","rsaquo;":"\u203A","Rscr;":"\u211B","rscr;":"\u{1D4C7}","Rsh;":"\u21B1","rsh;":"\u21B1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","rtri;":"\u25B9","rtrie;":"\u22B5","rtrif;":"\u25B8","rtriltri;":"\u29CE","RuleDelayed;":"\u29F4","ruluhar;":"\u2968","rx;":"\u211E","Sacute;":"\u015A","sacute;":"\u015B","sbquo;":"\u201A","Sc;":"\u2ABC","sc;":"\u227B","scap;":"\u2AB8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227D","scE;":"\u2AB4","sce;":"\u2AB0","Scedil;":"\u015E","scedil;":"\u015F","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scnE;":"\u2AB6","scnsim;":"\u22E9","scpolint;":"\u2A13","scsim;":"\u227F","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22C5","sdotb;":"\u22A1","sdote;":"\u2A66","searhk;":"\u2925","seArr;":"\u21D8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xA7",sect:"\xA7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","sfrown;":"\u2322","sharp;":"\u266F","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xAD",shy:"\xAD","Sigma;":"\u03A3","sigma;":"\u03C3","sigmaf;":"\u03C2","sigmav;":"\u03C2","sim;":"\u223C","simdot;":"\u2A6A","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2A9E","simgE;":"\u2AA0","siml;":"\u2A9D","simlE;":"\u2A9F","simne;":"\u2246","simplus;":"\u2A24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2A33","smeparsl;":"\u29E4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2AAA","smte;":"\u2AAC","smtes;":"\u2AAC\uFE00","SOFTcy;":"\u042C","softcy;":"\u044C","sol;":"/","solb;":"\u29C4","solbar;":"\u233F","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\uFE00","sqcup;":"\u2294","sqcups;":"\u2294\uFE00","Sqrt;":"\u221A","sqsub;":"\u228F","sqsube;":"\u2291","sqsubset;":"\u228F","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25A1","Square;":"\u25A1","square;":"\u25A1","SquareIntersection;":"\u2293","SquareSubset;":"\u228F","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25AA","squf;":"\u25AA","srarr;":"\u2192","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","Star;":"\u22C6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03F5","straightphi;":"\u03D5","strns;":"\xAF","Sub;":"\u22D0","sub;":"\u2282","subdot;":"\u2ABD","subE;":"\u2AC5","sube;":"\u2286","subedot;":"\u2AC3","submult;":"\u2AC1","subnE;":"\u2ACB","subne;":"\u228A","subplus;":"\u2ABF","subrarr;":"\u2979","Subset;":"\u22D0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2AC5","SubsetEqual;":"\u2286","subsetneq;":"\u228A","subsetneqq;":"\u2ACB","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succ;":"\u227B","succapprox;":"\u2AB8","succcurlyeq;":"\u227D","Succeeds;":"\u227B","SucceedsEqual;":"\u2AB0","SucceedsSlantEqual;":"\u227D","SucceedsTilde;":"\u227F","succeq;":"\u2AB0","succnapprox;":"\u2ABA","succneqq;":"\u2AB6","succnsim;":"\u22E9","succsim;":"\u227F","SuchThat;":"\u220B","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266A","Sup;":"\u22D1","sup;":"\u2283","sup1;":"\xB9",sup1:"\xB9","sup2;":"\xB2",sup2:"\xB2","sup3;":"\xB3",sup3:"\xB3","supdot;":"\u2ABE","supdsub;":"\u2AD8","supE;":"\u2AC6","supe;":"\u2287","supedot;":"\u2AC4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supnE;":"\u2ACC","supne;":"\u228B","supplus;":"\u2AC0","Supset;":"\u22D1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2AC6","supsetneq;":"\u228B","supsetneqq;":"\u2ACC","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swArr;":"\u21D9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292A","szlig;":"\xDF",szlig:"\xDF","Tab;":" ","target;":"\u2316","Tau;":"\u03A4","tau;":"\u03C4","tbrk;":"\u23B4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20DB","telrec;":"\u2315","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03B8","thetasym;":"\u03D1","thetav;":"\u03D1","thickapprox;":"\u2248","thicksim;":"\u223C","ThickSpace;":"\u205F\u200A","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223C","THORN;":"\xDE",THORN:"\xDE","thorn;":"\xFE",thorn:"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xD7",times:"\xD7","timesb;":"\u22A0","timesbar;":"\u2A31","timesd;":"\u2A30","tint;":"\u222D","toea;":"\u2928","top;":"\u22A4","topbot;":"\u2336","topcir;":"\u2AF1","Topf;":"\u{1D54B}","topf;":"\u{1D565}","topfork;":"\u2ADA","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25B5","triangledown;":"\u25BF","triangleleft;":"\u25C3","trianglelefteq;":"\u22B4","triangleq;":"\u225C","triangleright;":"\u25B9","trianglerighteq;":"\u22B5","tridot;":"\u25EC","trie;":"\u225C","triminus;":"\u2A3A","TripleDot;":"\u20DB","triplus;":"\u2A39","trisb;":"\u29CD","tritime;":"\u2A3B","trpezium;":"\u23E2","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040B","tshcy;":"\u045B","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226C","twoheadleftarrow;":"\u219E","twoheadrightarrow;":"\u21A0","Uacute;":"\xDA",Uacute:"\xDA","uacute;":"\xFA",uacute:"\xFA","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ubreve;":"\u016C","ubreve;":"\u016D","Ucirc;":"\xDB",Ucirc:"\xDB","ucirc;":"\xFB",ucirc:"\xFB","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21C5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296E","ufisht;":"\u297E","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","Ugrave;":"\xD9",Ugrave:"\xD9","ugrave;":"\xF9",ugrave:"\xF9","uHar;":"\u2963","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ulcorn;":"\u231C","ulcorner;":"\u231C","ulcrop;":"\u230F","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","uml;":"\xA8",uml:"\xA8","UnderBar;":"_","UnderBrace;":"\u23DF","UnderBracket;":"\u23B5","UnderParenthesis;":"\u23DD","Union;":"\u22C3","UnionPlus;":"\u228E","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21C5","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","upharpoonright;":"\u21BE","uplus;":"\u228E","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03D2","upsi;":"\u03C5","upsih;":"\u03D2","Upsilon;":"\u03A5","upsilon;":"\u03C5","UpTee;":"\u22A5","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","urcorn;":"\u231D","urcorner;":"\u231D","urcrop;":"\u230E","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utdot;":"\u22F0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25B5","utrif;":"\u25B4","uuarr;":"\u21C8","Uuml;":"\xDC",Uuml:"\xDC","uuml;":"\xFC",uuml:"\xFC","uwangle;":"\u29A7","vangrt;":"\u299C","varepsilon;":"\u03F5","varkappa;":"\u03F0","varnothing;":"\u2205","varphi;":"\u03D5","varpi;":"\u03D6","varpropto;":"\u221D","vArr;":"\u21D5","varr;":"\u2195","varrho;":"\u03F1","varsigma;":"\u03C2","varsubsetneq;":"\u228A\uFE00","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneq;":"\u228B\uFE00","varsupsetneqq;":"\u2ACC\uFE00","vartheta;":"\u03D1","vartriangleleft;":"\u22B2","vartriangleright;":"\u22B3","Vbar;":"\u2AEB","vBar;":"\u2AE8","vBarv;":"\u2AE9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","Vdashl;":"\u2AE6","Vee;":"\u22C1","vee;":"\u2228","veebar;":"\u22BB","veeeq;":"\u225A","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","vprop;":"\u221D","vrtri;":"\u22B3","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","vzigzag;":"\u299A","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2A5F","Wedge;":"\u22C0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcirc;":"\u25EF","xcup;":"\u22C3","xdtri;":"\u25BD","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","xhArr;":"\u27FA","xharr;":"\u27F7","Xi;":"\u039E","xi;":"\u03BE","xlArr;":"\u27F8","xlarr;":"\u27F5","xmap;":"\u27FC","xnis;":"\u22FB","xodot;":"\u2A00","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","xoplus;":"\u2A01","xotime;":"\u2A02","xrArr;":"\u27F9","xrarr;":"\u27F6","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xsqcup;":"\u2A06","xuplus;":"\u2A04","xutri;":"\u25B3","xvee;":"\u22C1","xwedge;":"\u22C0","Yacute;":"\xDD",Yacute:"\xDD","yacute;":"\xFD",yacute:"\xFD","YAcy;":"\u042F","yacy;":"\u044F","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5",yen:"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF",yuml:"\xFF","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017B","zdot;":"\u017C","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200B","Zeta;":"\u0396","zeta;":"\u03B6","Zfr;":"\u2128","zfr;":"\u{1D537}","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21DD","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwj;":"\u200D","zwnj;":"\u200C"};function Je(e,t){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function Nc(e,t){const n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function ho(e,t){let n="";for(;t>0;)(t&1)===1&&(n+=e),e+=e,t=t>>>1;return n}const Ic="a".charCodeAt(0),zc="z".charCodeAt(0),Hc="A".charCodeAt(0),Uc="Z".charCodeAt(0),Wc="0".charCodeAt(0),Fc="9".charCodeAt(0);function Gt(e,t){const n=e.charCodeAt(t);return Ic<=n&&n<=zc||Hc<=n&&n<=Uc||Wc<=n&&n<=Fc}function Sn(e){return typeof e<"u"}function Pc(e){if(!!e)return typeof e=="string"?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}class mo{isApplicable(){return!0}constructor(t,n){this.id=t,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=n.tags||[],this._globalAttributes=n.globalAttributes||[],this._tags.forEach(i=>{this._tagMap[i.name.toLowerCase()]=i}),n.valueSets&&n.valueSets.forEach(i=>{this._valueSetMap[i.name]=i.values})}getId(){return this.id}provideTags(){return this._tags}provideAttributes(t){const n=[],i=s=>{n.push(s)},r=this._tagMap[t.toLowerCase()];return r&&r.attributes.forEach(i),this._globalAttributes.forEach(i),n}provideValues(t,n){const i=[];n=n.toLowerCase();const r=a=>{a.forEach(l=>{l.name.toLowerCase()===n&&(l.values&&l.values.forEach(o=>{i.push(o)}),l.valueSet&&this._valueSetMap[l.valueSet]&&this._valueSetMap[l.valueSet].forEach(o=>{i.push(o)}))})},s=this._tagMap[t.toLowerCase()];return s&&r(s.attributes),r(this._globalAttributes),i}}function nt(e,t={},n){const i={kind:n?"markdown":"plaintext",value:""};if(e.description&&t.documentation!==!1){const r=Pc(e.description);r&&(i.value+=r.value)}if(e.references&&e.references.length>0&&t.references!==!1&&(i.value.length&&(i.value+=`
32
32
 
33
33
  `),n?i.value+=e.references.map(r=>`[${r.name}](${r.url})`).join(" | "):i.value+=e.references.map(r=>`${r.name}: ${r.url}`).join(`
34
- `)),i.value!=="")return i}class Oc{constructor(t,n){this.dataManager=t,this.readDirectory=n,this.atributeCompletions=[]}onHtmlAttributeValue(t){this.dataManager.isPathAttribute(t.tag,t.attribute)&&this.atributeCompletions.push(t)}async computeCompletions(t,n){const i={items:[],isIncomplete:!1};for(const r of this.atributeCompletions){const s=jc(t.getText(r.range));if(Gc(s))if(s==="."||s==="..")i.isIncomplete=!0;else{const a=$c(r.value,s,r.range),l=await this.providePathSuggestions(r.value,a,t,n);for(const o of l)i.items.push(o)}}return i}async providePathSuggestions(t,n,i,r){const s=t.substring(0,t.lastIndexOf("/")+1);let a=r.resolveReference(s||".",i.uri);if(a)try{const l=[],o=await this.readDirectory(a);for(const[u,c]of o)u.charCodeAt(0)!==Vc&&l.push(Xc(u,c===Oi.Directory,n));return l}catch{}return[]}}const Vc=".".charCodeAt(0);function jc(e){return Ye(e,"'")||Ye(e,'"')?e.slice(1,-1):e}function Gc(e){return!(Ye(e,"http")||Ye(e,"https")||Ye(e,"//"))}function $c(e,t,n){let i;const r=e.lastIndexOf("/");if(r===-1)i=Jc(n,1,-1);else{const s=t.slice(r+1),a=Xt(n.end,-1-s.length),l=s.indexOf(" ");let o;l!==-1?o=Xt(a,l):o=Xt(n.end,-1),i=J.create(a,o)}return i}function Xc(e,t,n){return t?(e=e+"/",{label:e,kind:fe.Folder,textEdit:oe.replace(n,e),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}):{label:e,kind:fe.File,textEdit:oe.replace(n,e)}}function Xt(e,t){return re.create(e.line,e.character+t)}function Jc(e,t,n){const i=Xt(e.start,t),r=Xt(e.end,n);return J.create(i,r)}class Yc{constructor(t,n){this.lsOptions=t,this.dataManager=n,this.completionParticipants=[]}setCompletionParticipants(t){this.completionParticipants=t||[]}async doComplete2(t,n,i,r,s){if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return this.doComplete(t,n,i,s);const a=new Oc(this.dataManager,this.lsOptions.fileSystemProvider.readDirectory),l=this.completionParticipants;this.completionParticipants=[a].concat(l);const o=this.doComplete(t,n,i,s);try{const u=await a.computeCompletions(t,r);return{isIncomplete:o.isIncomplete||u.isIncomplete,items:u.items.concat(o.items)}}finally{this.completionParticipants=l}}doComplete(t,n,i,r){const s=this._doComplete(t,n,i,r);return this.convertCompletionList(s)}_doComplete(t,n,i,r){const s={isIncomplete:!1,items:[]},a=this.completionParticipants,l=this.dataManager.getDataProviders().filter(k=>k.isApplicable(t.languageId)&&(!r||r[k.getId()]!==!1)),o=this.dataManager.getVoidElements(l),u=this.doesSupportMarkdown(),c=t.getText(),d=t.offsetAt(n),m=i.findNodeBefore(d);if(!m)return s;const f=be(c,m.start);let w="",p;function x(k,D=d){return k>d&&(k=d),{start:t.positionAt(k),end:t.positionAt(D)}}function T(k,D){const M=x(k,D);return l.forEach(F=>{F.provideTags().forEach(B=>{s.items.push({label:B.name,kind:fe.Property,documentation:it(B,void 0,u),textEdit:oe.replace(M,B.name),insertTextFormat:De.PlainText})})}),s}function y(k){let D=k;for(;D>0;){const M=c.charAt(D-1);if(`
35
- \r`.indexOf(M)>=0)return c.substring(D,k);if(!Cn(M))return null;D--}return c.substring(0,k)}function L(k,D,M=d){const F=x(k,M),B=go(c,M,j.WithinEndTag,z.EndTagClose)?"":">";let U=m;for(D&&(U=U.parent);U;){const V=U.tag;if(V&&(!U.closed||U.endTagStart&&U.endTagStart>d)){const K={label:"/"+V,kind:fe.Property,filterText:"/"+V,textEdit:oe.replace(F,"/"+V+B),insertTextFormat:De.PlainText},ee=y(U.start),le=y(k-1);if(ee!==null&&le!==null&&ee!==le){const ke=ee+"</"+V+B;K.textEdit=oe.replace(x(k-1-le.length),ke),K.filterText=le+"</"+V}return s.items.push(K),s}U=U.parent}return D||l.forEach(V=>{V.provideTags().forEach(K=>{s.items.push({label:"/"+K.name,kind:fe.Property,documentation:it(K,void 0,u),filterText:"/"+K.name+B,textEdit:oe.replace(F,"/"+K.name+B),insertTextFormat:De.PlainText})})}),s}const I=(k,D)=>{if(r&&r.hideAutoCompleteProposals)return s;if(!this.dataManager.isVoidElement(D,o)){const M=t.positionAt(k);s.items.push({label:"</"+D+">",kind:fe.Property,filterText:"</"+D+">",textEdit:oe.insert(M,"$0</"+D+">"),insertTextFormat:De.Snippet})}return s};function H(k,D){return T(k,D),L(k,!0,D),s}function W(){const k=Object.create(null);return m.attributeNames.forEach(D=>{k[D]=!0}),k}function b(k,D=d){var K;let M=d;for(;M<D&&c[M]!=="<";)M++;const F=c.substring(k,D),B=x(k,M);let U="";if(!go(c,D,j.AfterAttributeName,z.DelimiterAssign)){const ee=(K=r==null?void 0:r.attributeDefaultValue)!=null?K:"doublequotes";ee==="empty"?U="=$1":ee==="singlequotes"?U="='$1'":U='="$1"'}const V=W();return V[F]=!1,l.forEach(ee=>{ee.provideAttributes(w).forEach(le=>{if(V[le.name])return;V[le.name]=!0;let ke=le.name,zn;le.valueSet!=="v"&&U.length&&(ke=ke+U,(le.valueSet||le.name==="style")&&(zn={title:"Suggest",command:"editor.action.triggerSuggest"})),s.items.push({label:le.name,kind:le.valueSet==="handler"?fe.Function:fe.Value,documentation:it(le,void 0,u),textEdit:oe.replace(B,ke),insertTextFormat:De.Snippet,command:zn})})}),g(B,V),s}function g(k,D){const M="data-",F={};F[M]=`${M}$1="$2"`;function B(U){U.attributeNames.forEach(V=>{Ye(V,M)&&!F[V]&&!D[V]&&(F[V]=V+'="$1"')}),U.children.forEach(V=>B(V))}i&&i.roots.forEach(U=>B(U)),Object.keys(F).forEach(U=>s.items.push({label:U,kind:fe.Value,textEdit:oe.replace(k,F[U]),insertTextFormat:De.Snippet}))}function _(k,D=d){let M,F,B;if(d>k&&d<=D&&Qc(c[k])){const U=k+1;let V=D;D>k&&c[D-1]===c[k]&&V--;const K=Zc(c,d,U),ee=Kc(c,d,V);M=x(K,ee),B=d>=U&&d<=V?c.substring(U,d):"",F=!1}else M=x(k,D),B=c.substring(k,d),F=!0;if(a.length>0){const U=w.toLowerCase(),V=p.toLowerCase(),K=x(k,D);for(const ee of a)ee.onHtmlAttributeValue&&ee.onHtmlAttributeValue({document:t,position:n,tag:U,attribute:V,value:B,range:K})}return l.forEach(U=>{U.provideValues(w,p).forEach(V=>{const K=F?'"'+V.name+'"':V.name;s.items.push({label:V.name,filterText:K,kind:fe.Unit,documentation:it(V,void 0,u),textEdit:oe.replace(M,K),insertTextFormat:De.PlainText})})}),v(),s}function N(k){return d===f.getTokenEnd()&&(E=f.scan(),E===k&&f.getTokenOffset()===d)?f.getTokenEnd():d}function S(){for(const k of a)k.onHtmlContent&&k.onHtmlContent({document:t,position:n});return v()}function v(){let k=d-1,D=n.character;for(;k>=0&&$t(c,k);)k--,D--;if(k>=0&&c[k]==="&"){const M=J.create(re.create(n.line,D-1),n);for(const F in Gt)if(zc(F,";")){const B="&"+F;s.items.push({label:B,kind:fe.Keyword,documentation:Ee("Character entity representing '{0}'",Gt[F]),textEdit:oe.replace(M,B),insertTextFormat:De.PlainText})}}return s}function A(k,D){const M=x(k,D);s.items.push({label:"!DOCTYPE",kind:fe.Property,documentation:"A preamble for an HTML document.",textEdit:oe.replace(M,"!DOCTYPE html>"),insertTextFormat:De.PlainText})}let E=f.scan();for(;E!==z.EOS&&f.getTokenOffset()<=d;){switch(E){case z.StartTagOpen:if(f.getTokenEnd()===d){const k=N(z.StartTag);return n.line===0&&A(d,k),H(d,k)}break;case z.StartTag:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return T(f.getTokenOffset(),f.getTokenEnd());w=f.getTokenText();break;case z.AttributeName:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return b(f.getTokenOffset(),f.getTokenEnd());p=f.getTokenText();break;case z.DelimiterAssign:if(f.getTokenEnd()===d){const k=N(z.AttributeValue);return _(d,k)}break;case z.AttributeValue:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return _(f.getTokenOffset(),f.getTokenEnd());break;case z.Whitespace:if(d<=f.getTokenEnd())switch(f.getScannerState()){case j.AfterOpeningStartTag:const k=f.getTokenOffset(),D=N(z.StartTag);return H(k,D);case j.WithinTag:case j.AfterAttributeName:return b(f.getTokenEnd());case j.BeforeAttributeValue:return _(f.getTokenEnd());case j.AfterOpeningEndTag:return L(f.getTokenOffset()-1,!1);case j.WithinContent:return S()}break;case z.EndTagOpen:if(d<=f.getTokenEnd()){const k=f.getTokenOffset()+1,D=N(z.EndTag);return L(k,!1,D)}break;case z.EndTag:if(d<=f.getTokenEnd()){let k=f.getTokenOffset()-1;for(;k>=0;){const D=c.charAt(k);if(D==="/")return L(k,!1,f.getTokenEnd());if(!Cn(D))break;k--}}break;case z.StartTagClose:if(d<=f.getTokenEnd()&&w)return I(f.getTokenEnd(),w);break;case z.Content:if(d<=f.getTokenEnd())return S();break;default:if(d<=f.getTokenEnd())return s;break}E=f.scan()}return s}doQuoteComplete(t,n,i,r){var c;const s=t.offsetAt(n);if(s<=0)return null;const a=(c=r==null?void 0:r.attributeDefaultValue)!=null?c:"doublequotes";if(a==="empty"||t.getText().charAt(s-1)!=="=")return null;const o=a==="doublequotes"?'"$1"':"'$1'",u=i.findNodeBefore(s);if(u&&u.attributes&&u.start<s&&(!u.endTagStart||u.endTagStart>s)){const d=be(t.getText(),u.start);let m=d.scan();for(;m!==z.EOS&&d.getTokenEnd()<=s;){if(m===z.AttributeName&&d.getTokenEnd()===s-1)return m=d.scan(),m!==z.DelimiterAssign||(m=d.scan(),m===z.Unknown||m===z.AttributeValue)?null:o;m=d.scan()}}return null}doTagComplete(t,n,i){const r=t.offsetAt(n);if(r<=0)return null;const s=t.getText().charAt(r-1);if(s===">"){const a=this.dataManager.getVoidElements(t.languageId),l=i.findNodeBefore(r);if(l&&l.tag&&!this.dataManager.isVoidElement(l.tag,a)&&l.start<r&&(!l.endTagStart||l.endTagStart>r)){const o=be(t.getText(),l.start);let u=o.scan();for(;u!==z.EOS&&o.getTokenEnd()<=r;){if(u===z.StartTagClose&&o.getTokenEnd()===r)return`$0</${l.tag}>`;u=o.scan()}}}else if(s==="/"){let a=i.findNodeBefore(r);for(;a&&a.closed&&!(a.endTagStart&&a.endTagStart>r);)a=a.parent;if(a&&a.tag){const l=be(t.getText(),a.start);let o=l.scan();for(;o!==z.EOS&&l.getTokenEnd()<=r;){if(o===z.EndTagOpen&&l.getTokenEnd()===r)return t.getText().charAt(r)!==">"?`${a.tag}>`:a.tag;o=l.scan()}}}return null}convertCompletionList(t){return this.doesSupportMarkdown()||t.items.forEach(n=>{n.documentation&&typeof n.documentation!="string"&&(n.documentation={kind:"plaintext",value:n.documentation.value})}),t}doesSupportMarkdown(){var t,n,i;if(!Ln(this.supportsMarkdown)){if(!Ln(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;const r=(i=(n=(t=this.lsOptions.clientCapabilities.textDocument)==null?void 0:t.completion)==null?void 0:n.completionItem)==null?void 0:i.documentationFormat;this.supportsMarkdown=Array.isArray(r)&&r.indexOf(Ve.Markdown)!==-1}return this.supportsMarkdown}}function Qc(e){return/^["']*$/.test(e)}function Cn(e){return/^\s*$/.test(e)}function go(e,t,n,i){const r=be(e,t,n);let s=r.scan();for(;s===z.Whitespace;)s=r.scan();return s===i}function Zc(e,t,n){for(;t>n&&!Cn(e[t-1]);)t--;return t}function Kc(e,t,n){for(;t<n&&!Cn(e[t]);)t++;return t}class eh{constructor(t,n){this.lsOptions=t,this.dataManager=n}doHover(t,n,i,r){const s=this.convertContents.bind(this),a=this.doesSupportMarkdown(),l=t.offsetAt(n),o=i.findNodeAt(l),u=t.getText();if(!o||!o.tag)return null;const c=this.dataManager.getDataProviders().filter(b=>b.isApplicable(t.languageId));function d(b,g,_){for(const N of c){let S=null;if(N.provideTags().forEach(v=>{if(v.name.toLowerCase()===b.toLowerCase()){let A=it(v,r,a);A||(A={kind:a?"markdown":"plaintext",value:""}),S={contents:A,range:g}}}),S)return S.contents=s(S.contents),S}return null}function m(b,g,_){for(const N of c){let S=null;if(N.provideAttributes(b).forEach(v=>{if(g===v.name&&v.description){const A=it(v,r,a);A?S={contents:A,range:_}:S=null}}),S)return S.contents=s(S.contents),S}return null}function f(b,g,_,N){for(const S of c){let v=null;if(S.provideValues(b,g).forEach(A=>{if(_===A.name&&A.description){const E=it(A,r,a);E?v={contents:E,range:N}:v=null}}),v)return v.contents=s(v.contents),v}return null}function w(b,g){let _=T(b);for(const N in Gt){let S=null;const v="&"+N;if(_===v){let A=Gt[N].charCodeAt(0).toString(16).toUpperCase(),E="U+";if(A.length<4){const D=4-A.length;let M=0;for(;M<D;)E+="0",M+=1}E+=A;const k=Ee("Character entity representing '{0}', unicode equivalent '{1}'",Gt[N],E);k?S={contents:k,range:g}:S=null}if(S)return S.contents=s(S.contents),S}return null}function p(b,g){const _=be(t.getText(),g);let N=_.scan();for(;N!==z.EOS&&(_.getTokenEnd()<l||_.getTokenEnd()===l&&N!==b);)N=_.scan();return N===b&&l<=_.getTokenEnd()?{start:t.positionAt(_.getTokenOffset()),end:t.positionAt(_.getTokenEnd())}:null}function x(){let b=l-1,g=n.character;for(;b>=0&&$t(u,b);)b--,g--;let _=b+1,N=g;for(;$t(u,_);)_++,N++;if(b>=0&&u[b]==="&"){let S=null;return u[_]===";"?S=J.create(re.create(n.line,g),re.create(n.line,N+1)):S=J.create(re.create(n.line,g),re.create(n.line,N)),S}return null}function T(b){let g=l-1,_="&";for(;g>=0&&$t(b,g);)g--;for(g=g+1;$t(b,g);)_+=b[g],g+=1;return _+=";",_}if(o.endTagStart&&l>=o.endTagStart){const b=p(z.EndTag,o.endTagStart);return b?d(o.tag,b):null}const y=p(z.StartTag,o.start);if(y)return d(o.tag,y);const L=p(z.AttributeName,o.start);if(L){const b=o.tag,g=t.getText(L);return m(b,g,L)}const I=x();if(I)return w(u,I);function H(b,g){const _=be(t.getText(),b);let N=_.scan(),S;for(;N!==z.EOS&&_.getTokenEnd()<=g;)N=_.scan(),N===z.AttributeName&&(S=_.getTokenText());return S}const W=p(z.AttributeValue,o.start);if(W){const b=o.tag,g=th(t.getText(W)),_=H(o.start,t.offsetAt(W.start));if(_)return f(b,_,g,W)}return null}convertContents(t){if(!this.doesSupportMarkdown()){if(typeof t=="string")return t;if("kind"in t)return{kind:"plaintext",value:t.value};if(Array.isArray(t))t.map(n=>typeof n=="string"?n:n.value);else return t.value}return t}doesSupportMarkdown(){var t,n,i;if(!Ln(this.supportsMarkdown)){if(!Ln(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;const r=(i=(n=(t=this.lsOptions.clientCapabilities)==null?void 0:t.textDocument)==null?void 0:n.hover)==null?void 0:i.contentFormat;this.supportsMarkdown=Array.isArray(r)&&r.indexOf(Ve.Markdown)!==-1}return this.supportsMarkdown}}function th(e){return e.length<=1?e.replace(/['"]/,""):((e[0]==="'"||e[0]==='"')&&(e=e.slice(1)),(e[e.length-1]==="'"||e[e.length-1]==='"')&&(e=e.slice(0,-1)),e)}function nh(e,t){return e}var bo;(function(){var e=[,,function(r){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(o))return!0;return!1},s.prototype.set_indent=function(o,u){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var u=o.lastIndexOf(`
34
+ `)),i.value!=="")return i}class Bc{constructor(t,n){this.dataManager=t,this.readDirectory=n,this.atributeCompletions=[]}onHtmlAttributeValue(t){this.dataManager.isPathAttribute(t.tag,t.attribute)&&this.atributeCompletions.push(t)}async computeCompletions(t,n){const i={items:[],isIncomplete:!1};for(const r of this.atributeCompletions){const s=Oc(t.getText(r.range));if(Vc(s))if(s==="."||s==="..")i.isIncomplete=!0;else{const a=jc(r.value,s,r.range),l=await this.providePathSuggestions(r.value,a,t,n);for(const o of l)i.items.push(o)}}return i}async providePathSuggestions(t,n,i,r){const s=t.substring(0,t.lastIndexOf("/")+1);let a=r.resolveReference(s||".",i.uri);if(a)try{const l=[],o=await this.readDirectory(a);for(const[u,c]of o)u.charCodeAt(0)!==qc&&l.push(Gc(u,c===qi.Directory,n));return l}catch{}return[]}}const qc=".".charCodeAt(0);function Oc(e){return Je(e,"'")||Je(e,'"')?e.slice(1,-1):e}function Vc(e){return!(Je(e,"http")||Je(e,"https")||Je(e,"//"))}function jc(e,t,n){let i;const r=e.lastIndexOf("/");if(r===-1)i=$c(n,1,-1);else{const s=t.slice(r+1),a=$t(n.end,-1-s.length),l=s.indexOf(" ");let o;l!==-1?o=$t(a,l):o=$t(n.end,-1),i=J.create(a,o)}return i}function Gc(e,t,n){return t?(e=e+"/",{label:e,kind:me.Folder,textEdit:oe.replace(n,e),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}):{label:e,kind:me.File,textEdit:oe.replace(n,e)}}function $t(e,t){return re.create(e.line,e.character+t)}function $c(e,t,n){const i=$t(e.start,t),r=$t(e.end,n);return J.create(i,r)}class Xc{constructor(t,n){this.lsOptions=t,this.dataManager=n,this.completionParticipants=[]}setCompletionParticipants(t){this.completionParticipants=t||[]}async doComplete2(t,n,i,r,s){if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return this.doComplete(t,n,i,s);const a=new Bc(this.dataManager,this.lsOptions.fileSystemProvider.readDirectory),l=this.completionParticipants;this.completionParticipants=[a].concat(l);const o=this.doComplete(t,n,i,s);try{const u=await a.computeCompletions(t,r);return{isIncomplete:o.isIncomplete||u.isIncomplete,items:u.items.concat(o.items)}}finally{this.completionParticipants=l}}doComplete(t,n,i,r){const s=this._doComplete(t,n,i,r);return this.convertCompletionList(s)}_doComplete(t,n,i,r){const s={isIncomplete:!1,items:[]},a=this.completionParticipants,l=this.dataManager.getDataProviders().filter(k=>k.isApplicable(t.languageId)&&(!r||r[k.getId()]!==!1)),o=this.dataManager.getVoidElements(l),u=this.doesSupportMarkdown(),c=t.getText(),d=t.offsetAt(n),m=i.findNodeBefore(d);if(!m)return s;const f=ge(c,m.start);let w="",p;function x(k,D=d){return k>d&&(k=d),{start:t.positionAt(k),end:t.positionAt(D)}}function T(k,D){const M=x(k,D);return l.forEach(F=>{F.provideTags().forEach(B=>{s.items.push({label:B.name,kind:me.Property,documentation:nt(B,void 0,u),textEdit:oe.replace(M,B.name),insertTextFormat:Ce.PlainText})})}),s}function y(k){let D=k;for(;D>0;){const M=c.charAt(D-1);if(`
35
+ \r`.indexOf(M)>=0)return c.substring(D,k);if(!An(M))return null;D--}return c.substring(0,k)}function L(k,D,M=d){const F=x(k,M),B=fo(c,M,j.WithinEndTag,z.EndTagClose)?"":">";let U=m;for(D&&(U=U.parent);U;){const V=U.tag;if(V&&(!U.closed||U.endTagStart&&U.endTagStart>d)){const K={label:"/"+V,kind:me.Property,filterText:"/"+V,textEdit:oe.replace(F,"/"+V+B),insertTextFormat:Ce.PlainText},ee=y(U.start),le=y(k-1);if(ee!==null&&le!==null&&ee!==le){const xe=ee+"</"+V+B;K.textEdit=oe.replace(x(k-1-le.length),xe),K.filterText=le+"</"+V}return s.items.push(K),s}U=U.parent}return D||l.forEach(V=>{V.provideTags().forEach(K=>{s.items.push({label:"/"+K.name,kind:me.Property,documentation:nt(K,void 0,u),filterText:"/"+K.name+B,textEdit:oe.replace(F,"/"+K.name+B),insertTextFormat:Ce.PlainText})})}),s}const I=(k,D)=>{if(r&&r.hideAutoCompleteProposals)return s;if(!this.dataManager.isVoidElement(D,o)){const M=t.positionAt(k);s.items.push({label:"</"+D+">",kind:me.Property,filterText:"</"+D+">",textEdit:oe.insert(M,"$0</"+D+">"),insertTextFormat:Ce.Snippet})}return s};function H(k,D){return T(k,D),L(k,!0,D),s}function W(){const k=Object.create(null);return m.attributeNames.forEach(D=>{k[D]=!0}),k}function b(k,D=d){var K;let M=d;for(;M<D&&c[M]!=="<";)M++;const F=c.substring(k,D),B=x(k,M);let U="";if(!fo(c,D,j.AfterAttributeName,z.DelimiterAssign)){const ee=(K=r==null?void 0:r.attributeDefaultValue)!=null?K:"doublequotes";ee==="empty"?U="=$1":ee==="singlequotes"?U="='$1'":U='="$1"'}const V=W();return V[F]=!1,l.forEach(ee=>{ee.provideAttributes(w).forEach(le=>{if(V[le.name])return;V[le.name]=!0;let xe=le.name,Nn;le.valueSet!=="v"&&U.length&&(xe=xe+U,(le.valueSet||le.name==="style")&&(Nn={title:"Suggest",command:"editor.action.triggerSuggest"})),s.items.push({label:le.name,kind:le.valueSet==="handler"?me.Function:me.Value,documentation:nt(le,void 0,u),textEdit:oe.replace(B,xe),insertTextFormat:Ce.Snippet,command:Nn})})}),g(B,V),s}function g(k,D){const M="data-",F={};F[M]=`${M}$1="$2"`;function B(U){U.attributeNames.forEach(V=>{Je(V,M)&&!F[V]&&!D[V]&&(F[V]=V+'="$1"')}),U.children.forEach(V=>B(V))}i&&i.roots.forEach(U=>B(U)),Object.keys(F).forEach(U=>s.items.push({label:U,kind:me.Value,textEdit:oe.replace(k,F[U]),insertTextFormat:Ce.Snippet}))}function _(k,D=d){let M,F,B;if(d>k&&d<=D&&Jc(c[k])){const U=k+1;let V=D;D>k&&c[D-1]===c[k]&&V--;const K=Yc(c,d,U),ee=Qc(c,d,V);M=x(K,ee),B=d>=U&&d<=V?c.substring(U,d):"",F=!1}else M=x(k,D),B=c.substring(k,d),F=!0;if(a.length>0){const U=w.toLowerCase(),V=p.toLowerCase(),K=x(k,D);for(const ee of a)ee.onHtmlAttributeValue&&ee.onHtmlAttributeValue({document:t,position:n,tag:U,attribute:V,value:B,range:K})}return l.forEach(U=>{U.provideValues(w,p).forEach(V=>{const K=F?'"'+V.name+'"':V.name;s.items.push({label:V.name,filterText:K,kind:me.Unit,documentation:nt(V,void 0,u),textEdit:oe.replace(M,K),insertTextFormat:Ce.PlainText})})}),v(),s}function N(k){return d===f.getTokenEnd()&&(E=f.scan(),E===k&&f.getTokenOffset()===d)?f.getTokenEnd():d}function S(){for(const k of a)k.onHtmlContent&&k.onHtmlContent({document:t,position:n});return v()}function v(){let k=d-1,D=n.character;for(;k>=0&&Gt(c,k);)k--,D--;if(k>=0&&c[k]==="&"){const M=J.create(re.create(n.line,D-1),n);for(const F in jt)if(Nc(F,";")){const B="&"+F;s.items.push({label:B,kind:me.Keyword,documentation:Le("Character entity representing '{0}'",jt[F]),textEdit:oe.replace(M,B),insertTextFormat:Ce.PlainText})}}return s}function A(k,D){const M=x(k,D);s.items.push({label:"!DOCTYPE",kind:me.Property,documentation:"A preamble for an HTML document.",textEdit:oe.replace(M,"!DOCTYPE html>"),insertTextFormat:Ce.PlainText})}let E=f.scan();for(;E!==z.EOS&&f.getTokenOffset()<=d;){switch(E){case z.StartTagOpen:if(f.getTokenEnd()===d){const k=N(z.StartTag);return n.line===0&&A(d,k),H(d,k)}break;case z.StartTag:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return T(f.getTokenOffset(),f.getTokenEnd());w=f.getTokenText();break;case z.AttributeName:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return b(f.getTokenOffset(),f.getTokenEnd());p=f.getTokenText();break;case z.DelimiterAssign:if(f.getTokenEnd()===d){const k=N(z.AttributeValue);return _(d,k)}break;case z.AttributeValue:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return _(f.getTokenOffset(),f.getTokenEnd());break;case z.Whitespace:if(d<=f.getTokenEnd())switch(f.getScannerState()){case j.AfterOpeningStartTag:const k=f.getTokenOffset(),D=N(z.StartTag);return H(k,D);case j.WithinTag:case j.AfterAttributeName:return b(f.getTokenEnd());case j.BeforeAttributeValue:return _(f.getTokenEnd());case j.AfterOpeningEndTag:return L(f.getTokenOffset()-1,!1);case j.WithinContent:return S()}break;case z.EndTagOpen:if(d<=f.getTokenEnd()){const k=f.getTokenOffset()+1,D=N(z.EndTag);return L(k,!1,D)}break;case z.EndTag:if(d<=f.getTokenEnd()){let k=f.getTokenOffset()-1;for(;k>=0;){const D=c.charAt(k);if(D==="/")return L(k,!1,f.getTokenEnd());if(!An(D))break;k--}}break;case z.StartTagClose:if(d<=f.getTokenEnd()&&w)return I(f.getTokenEnd(),w);break;case z.Content:if(d<=f.getTokenEnd())return S();break;default:if(d<=f.getTokenEnd())return s;break}E=f.scan()}return s}doQuoteComplete(t,n,i,r){var c;const s=t.offsetAt(n);if(s<=0)return null;const a=(c=r==null?void 0:r.attributeDefaultValue)!=null?c:"doublequotes";if(a==="empty"||t.getText().charAt(s-1)!=="=")return null;const o=a==="doublequotes"?'"$1"':"'$1'",u=i.findNodeBefore(s);if(u&&u.attributes&&u.start<s&&(!u.endTagStart||u.endTagStart>s)){const d=ge(t.getText(),u.start);let m=d.scan();for(;m!==z.EOS&&d.getTokenEnd()<=s;){if(m===z.AttributeName&&d.getTokenEnd()===s-1)return m=d.scan(),m!==z.DelimiterAssign||(m=d.scan(),m===z.Unknown||m===z.AttributeValue)?null:o;m=d.scan()}}return null}doTagComplete(t,n,i){const r=t.offsetAt(n);if(r<=0)return null;const s=t.getText().charAt(r-1);if(s===">"){const a=this.dataManager.getVoidElements(t.languageId),l=i.findNodeBefore(r);if(l&&l.tag&&!this.dataManager.isVoidElement(l.tag,a)&&l.start<r&&(!l.endTagStart||l.endTagStart>r)){const o=ge(t.getText(),l.start);let u=o.scan();for(;u!==z.EOS&&o.getTokenEnd()<=r;){if(u===z.StartTagClose&&o.getTokenEnd()===r)return`$0</${l.tag}>`;u=o.scan()}}}else if(s==="/"){let a=i.findNodeBefore(r);for(;a&&a.closed&&!(a.endTagStart&&a.endTagStart>r);)a=a.parent;if(a&&a.tag){const l=ge(t.getText(),a.start);let o=l.scan();for(;o!==z.EOS&&l.getTokenEnd()<=r;){if(o===z.EndTagOpen&&l.getTokenEnd()===r)return t.getText().charAt(r)!==">"?`${a.tag}>`:a.tag;o=l.scan()}}}return null}convertCompletionList(t){return this.doesSupportMarkdown()||t.items.forEach(n=>{n.documentation&&typeof n.documentation!="string"&&(n.documentation={kind:"plaintext",value:n.documentation.value})}),t}doesSupportMarkdown(){var t,n,i;if(!Sn(this.supportsMarkdown)){if(!Sn(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;const r=(i=(n=(t=this.lsOptions.clientCapabilities.textDocument)==null?void 0:t.completion)==null?void 0:n.completionItem)==null?void 0:i.documentationFormat;this.supportsMarkdown=Array.isArray(r)&&r.indexOf(Oe.Markdown)!==-1}return this.supportsMarkdown}}function Jc(e){return/^["']*$/.test(e)}function An(e){return/^\s*$/.test(e)}function fo(e,t,n,i){const r=ge(e,t,n);let s=r.scan();for(;s===z.Whitespace;)s=r.scan();return s===i}function Yc(e,t,n){for(;t>n&&!An(e[t-1]);)t--;return t}function Qc(e,t,n){for(;t<n&&!An(e[t]);)t++;return t}class Zc{constructor(t,n){this.lsOptions=t,this.dataManager=n}doHover(t,n,i,r){const s=this.convertContents.bind(this),a=this.doesSupportMarkdown(),l=t.offsetAt(n),o=i.findNodeAt(l),u=t.getText();if(!o||!o.tag)return null;const c=this.dataManager.getDataProviders().filter(b=>b.isApplicable(t.languageId));function d(b,g,_){for(const N of c){let S=null;if(N.provideTags().forEach(v=>{if(v.name.toLowerCase()===b.toLowerCase()){let A=nt(v,r,a);A||(A={kind:a?"markdown":"plaintext",value:""}),S={contents:A,range:g}}}),S)return S.contents=s(S.contents),S}return null}function m(b,g,_){for(const N of c){let S=null;if(N.provideAttributes(b).forEach(v=>{if(g===v.name&&v.description){const A=nt(v,r,a);A?S={contents:A,range:_}:S=null}}),S)return S.contents=s(S.contents),S}return null}function f(b,g,_,N){for(const S of c){let v=null;if(S.provideValues(b,g).forEach(A=>{if(_===A.name&&A.description){const E=nt(A,r,a);E?v={contents:E,range:N}:v=null}}),v)return v.contents=s(v.contents),v}return null}function w(b,g){let _=T(b);for(const N in jt){let S=null;const v="&"+N;if(_===v){let A=jt[N].charCodeAt(0).toString(16).toUpperCase(),E="U+";if(A.length<4){const D=4-A.length;let M=0;for(;M<D;)E+="0",M+=1}E+=A;const k=Le("Character entity representing '{0}', unicode equivalent '{1}'",jt[N],E);k?S={contents:k,range:g}:S=null}if(S)return S.contents=s(S.contents),S}return null}function p(b,g){const _=ge(t.getText(),g);let N=_.scan();for(;N!==z.EOS&&(_.getTokenEnd()<l||_.getTokenEnd()===l&&N!==b);)N=_.scan();return N===b&&l<=_.getTokenEnd()?{start:t.positionAt(_.getTokenOffset()),end:t.positionAt(_.getTokenEnd())}:null}function x(){let b=l-1,g=n.character;for(;b>=0&&Gt(u,b);)b--,g--;let _=b+1,N=g;for(;Gt(u,_);)_++,N++;if(b>=0&&u[b]==="&"){let S=null;return u[_]===";"?S=J.create(re.create(n.line,g),re.create(n.line,N+1)):S=J.create(re.create(n.line,g),re.create(n.line,N)),S}return null}function T(b){let g=l-1,_="&";for(;g>=0&&Gt(b,g);)g--;for(g=g+1;Gt(b,g);)_+=b[g],g+=1;return _+=";",_}if(o.endTagStart&&l>=o.endTagStart){const b=p(z.EndTag,o.endTagStart);return b?d(o.tag,b):null}const y=p(z.StartTag,o.start);if(y)return d(o.tag,y);const L=p(z.AttributeName,o.start);if(L){const b=o.tag,g=t.getText(L);return m(b,g,L)}const I=x();if(I)return w(u,I);function H(b,g){const _=ge(t.getText(),b);let N=_.scan(),S;for(;N!==z.EOS&&_.getTokenEnd()<=g;)N=_.scan(),N===z.AttributeName&&(S=_.getTokenText());return S}const W=p(z.AttributeValue,o.start);if(W){const b=o.tag,g=Kc(t.getText(W)),_=H(o.start,t.offsetAt(W.start));if(_)return f(b,_,g,W)}return null}convertContents(t){if(!this.doesSupportMarkdown()){if(typeof t=="string")return t;if("kind"in t)return{kind:"plaintext",value:t.value};if(Array.isArray(t))t.map(n=>typeof n=="string"?n:n.value);else return t.value}return t}doesSupportMarkdown(){var t,n,i;if(!Sn(this.supportsMarkdown)){if(!Sn(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;const r=(i=(n=(t=this.lsOptions.clientCapabilities)==null?void 0:t.textDocument)==null?void 0:n.hover)==null?void 0:i.contentFormat;this.supportsMarkdown=Array.isArray(r)&&r.indexOf(Oe.Markdown)!==-1}return this.supportsMarkdown}}function Kc(e){return e.length<=1?e.replace(/['"]/,""):((e[0]==="'"||e[0]==='"')&&(e=e.slice(1)),(e[e.length-1]==="'"||e[e.length-1]==='"')&&(e=e.slice(0,-1)),e)}function eh(e,t){return e}var po;(function(){var e=[,,function(r){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(o))return!0;return!1},s.prototype.set_indent=function(o,u){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var u=o.lastIndexOf(`
36
36
  `);u!==-1?this.__character_count=o.length-u:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function a(o,u){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),u=u||"",o.indent_level>0&&(u=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}a.prototype.get_indent_size=function(o,u){var c=this.__base_string_length;return u=u||0,o<0&&(c=0),c+=o*this.__indent_size,c+=u,c},a.prototype.get_indent_string=function(o,u){var c=this.__base_string;return u=u||0,o<0&&(o=0,c=""),u+=o*this.__indent_size,this.__ensure_cache(u),c+=this.__cache[u],c},a.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},a.prototype.__add_column=function(){var o=this.__cache.length,u=0,c="";this.__indent_size&&o>=this.__indent_size&&(u=Math.floor(o/this.__indent_size),o-=u*this.__indent_size,c=new Array(u+1).join(this.__indent_string)),o&&(c+=new Array(o+1).join(" ")),this.__cache.push(c)};function l(o,u){this.__indent_cache=new a(o,u),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}l.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},l.prototype.get_line_number=function(){return this.__lines.length},l.prototype.get_indent_string=function(o,u){return this.__indent_cache.get_indent_string(o,u)},l.prototype.get_indent_size=function(o,u){return this.__indent_cache.get_indent_size(o,u)},l.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},l.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},l.prototype.get_code=function(o){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
37
37
  `&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
38
38
  `);return o!==`
@@ -46,7 +46,7 @@ You passed in: '`+this.raw_options[o]+"'");return d},s.prototype._is_valid_selec
46
46
  `&&(H===0||H<this._options.max_preserve_newlines)&&(H++,this._output.add_new_line(!0));return I},y.prototype.foundNestedPseudoClass=function(){for(var L=0,I=1,H=this._input.peek(I);H;){if(H==="{")return!0;if(H==="(")L+=1;else if(H===")"){if(L===0)return!1;L-=1}else if(H===";"||H==="}")return!1;I++,H=this._input.peek(I)}return!1},y.prototype.print_string=function(L){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(L)},y.prototype.preserveSingleSpace=function(L){L&&(this._output.space_before_token=!0)},y.prototype.indent=function(){this._indentLevel++},y.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},y.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var L=this._source_text,I=this._options.eol;I==="auto"&&(I=`
47
47
  `,L&&m.test(L||"")&&(I=L.match(m)[0])),L=L.replace(f,`
48
48
  `);var H=L.match(/^[\t ]*/)[0];this._output=new o(this._options,H),this._input=new u(L),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var W=0,b=!1,g=!1,_=!1,N=!1,S=!1,v=this._ch,A=!1,E,k,D;E=this._input.read(p),k=E!=="",D=v,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),v=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(x),F=d.get_directives(M);F&&F.ignore==="start"&&(M+=d.readIgnored(this._input)),this.print_string(M),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(T)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(k),this.print_string(this._ch);var B=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);B.match(/[ :]$/)&&(B=this.eatString(": ").replace(/\s+$/,""),this.print_string(B),this._output.space_before_token=!0),W===0&&B.indexOf(":")!==-1&&(g=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(k),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var U=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);U.match(/[ :]$/)&&(U=this.eatString(": ").replace(/\s+$/,""),this.print_string(U),this._output.space_before_token=!0),W===0&&U.indexOf(":")!==-1?(g=!0,this.indent()):U in this.NESTED_AT_RULE?(this._nestedLevel+=1,U in this.CONDITIONAL_GROUP_RULE&&(_=!0)):W===0&&!g&&(N=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(k),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")g&&(g=!1,this.outdent()),N=!1,_?(_=!1,b=this._indentLevel>=this._nestedLevel):b=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&b&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(D==="("?this._output.space_before_token=!1:D!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),D==="{"&&this._output.trim(!0),g&&(this.outdent(),g=!1),this.print_string(this._ch),b=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var V=0;V<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;V++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[V])){A=!0;break}(b||_)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!N&&W===0?(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var K=D==='"'||D==="'";this.preserveSingleSpace(K||k),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")A=!1,W===0?(g&&(this.outdent(),g=!1),N=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),W++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),W&&(W--,this.outdent()));else{var ee=!1;this._input.lookBack("with")&&(ee=!0),this.preserveSingleSpace(k||ee),this.print_string(this._ch),g&&D==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),S=!0):(this.eatWhitespace(),W++,this.indent())}else if(this._ch===")")W&&(W--,this.outdent()),S&&this._input.peek()===";"&&this._options.selector_separator_newline&&(S=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!g||S)&&W===0&&!N?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!g&&W===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&w.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(k),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),w.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var le=D==='"'||D==="'";this.preserveSingleSpace(le||k),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
49
- `&&A&&this._output.add_new_line()}var ke=this._output.get_code(I);return ke},r.exports.Beautifier=y},function(r,s,a){var l=a(6).Options;function o(u){l.call(this,u,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var c=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||c;var d=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var m=0;m<d.length;m++)d[m]!=="expand"?this.brace_style="collapse":this.brace_style=d[m]}o.prototype=new l,r.exports.Options=o}],t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var i=n(15);bo=i})();var ih=bo,wo;(function(){var e=[,,function(r){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(o))return!0;return!1},s.prototype.set_indent=function(o,u){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var u=o.lastIndexOf(`
49
+ `&&A&&this._output.add_new_line()}var xe=this._output.get_code(I);return xe},r.exports.Beautifier=y},function(r,s,a){var l=a(6).Options;function o(u){l.call(this,u,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var c=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||c;var d=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var m=0;m<d.length;m++)d[m]!=="expand"?this.brace_style="collapse":this.brace_style=d[m]}o.prototype=new l,r.exports.Options=o}],t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var i=n(15);po=i})();var th=po,go;(function(){var e=[,,function(r){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(o))return!0;return!1},s.prototype.set_indent=function(o,u){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var u=o.lastIndexOf(`
50
50
  `);u!==-1?this.__character_count=o.length-u:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function a(o,u){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),u=u||"",o.indent_level>0&&(u=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}a.prototype.get_indent_size=function(o,u){var c=this.__base_string_length;return u=u||0,o<0&&(c=0),c+=o*this.__indent_size,c+=u,c},a.prototype.get_indent_string=function(o,u){var c=this.__base_string;return u=u||0,o<0&&(o=0,c=""),u+=o*this.__indent_size,this.__ensure_cache(u),c+=this.__cache[u],c},a.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},a.prototype.__add_column=function(){var o=this.__cache.length,u=0,c="";this.__indent_size&&o>=this.__indent_size&&(u=Math.floor(o/this.__indent_size),o-=u*this.__indent_size,c=new Array(u+1).join(this.__indent_string)),o&&(c+=new Array(o+1).join(" ")),this.__cache.push(c)};function l(o,u){this.__indent_cache=new a(o,u),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}l.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},l.prototype.get_line_number=function(){return this.__lines.length},l.prototype.get_indent_string=function(o,u){return this.__indent_cache.get_indent_string(o,u)},l.prototype.get_indent_size=function(o,u){return this.__indent_cache.get_indent_size(o,u)},l.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},l.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},l.prototype.get_code=function(o){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
51
51
  `&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
52
52
  `);return o!==`
@@ -65,11 +65,11 @@ You passed in: '`+this.raw_options[o]+"'");return d},s.prototype._is_valid_selec
65
65
  `)),S=D+S.replace(/\n/g,`
66
66
  `+D)}E&&(S?S=E+S+`
67
67
  `+k:S=E+k),b.print_newline(!1),S&&(g.text=S,g.whitespace_before="",g.newlines=0,b.add_raw_token(g),b.print_newline(!0))}},L.prototype._handle_tag_open=function(b,g,_,N,S){var v=this._get_tag_open_token(g);if((_.is_unformatted||_.is_content_unformatted)&&!_.is_empty_element&&g.type===c.TAG_OPEN&&!v.is_start_tag?(b.add_raw_token(g),v.start_tag_token=this._tag_stack.try_pop(v.tag_name)):(b.traverse_whitespace(g),this._set_tag_position(b,g,v,_,N),v.is_inline_element||b.set_wrap_point(),b.print_token(g)),v.is_start_tag&&this._is_wrap_attributes_force){var A=0,E;do E=S.peek(A),E.type===c.ATTRIBUTE&&(v.attr_count+=1),A+=1;while(E.type!==c.EOF&&E.type!==c.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(v.alignment_size=g.text.length+1),!v.tag_complete&&!v.is_unformatted&&(b.alignment_size=v.alignment_size),v};var I=function(b,g){if(this.parent=b||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!g)this.tag_complete=!0;else{var _;this.tag_start_char=g.text[0],this.text=g.text,this.tag_start_char==="<"?(_=g.text.match(/^<([^\s>]*)/),this.tag_check=_?_[1]:""):(_=g.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=_?_[1]:"",(g.text.startsWith("{{#>")||g.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&g.next!==null?this.tag_check=g.next.text.split(" ")[0]:this.tag_check=g.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),g.type===c.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||g.closed&&g.closed.text==="/>";var N=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(N=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(N)))}};L.prototype._get_tag_open_token=function(b){var g=new I(this._tag_stack.get_parser_token(),b);return g.alignment_size=this._options.wrap_attributes_indent_size,g.is_end_tag=g.is_end_tag||x(g.tag_check,this._options.void_elements),g.is_empty_element=g.tag_complete||g.is_start_tag&&g.is_end_tag,g.is_unformatted=!g.tag_complete&&x(g.tag_check,this._options.unformatted),g.is_content_unformatted=!g.is_empty_element&&x(g.tag_check,this._options.content_unformatted),g.is_inline_element=x(g.tag_name,this._options.inline)||this._options.inline_custom_elements&&g.tag_name.includes("-")||g.tag_start_char==="{",g},L.prototype._set_tag_position=function(b,g,_,N,S){if(_.is_empty_element||(_.is_end_tag?_.start_tag_token=this._tag_stack.try_pop(_.tag_name):(this._do_optional_end_element(_)&&(_.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(_),(_.tag_name==="script"||_.tag_name==="style")&&!(_.is_unformatted||_.is_content_unformatted)&&(_.custom_beautifier_name=p(_.tag_check,g)))),x(_.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),_.is_empty_element){if(_.tag_start_char==="{"&&_.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),_.indent_content=!0;var v=b.current_line_has_match(/{{#if/);v||b.print_newline(!1)}_.tag_name==="!--"&&S.type===c.TAG_CLOSE&&N.is_end_tag&&_.text.indexOf(`
68
- `)===-1||(_.is_inline_element||_.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,_))}else if(_.is_end_tag){var A=!1;A=_.start_tag_token&&_.start_tag_token.multiline_content,A=A||!_.is_inline_element&&!(N.is_inline_element||N.is_unformatted)&&!(S.type===c.TAG_CLOSE&&_.start_tag_token===N)&&S.type!=="TK_CONTENT",(_.is_content_unformatted||_.is_unformatted)&&(A=!1),A&&b.print_newline(!1)}else _.indent_content=!_.custom_beautifier_name,_.tag_start_char==="<"&&(_.tag_name==="html"?_.indent_content=this._options.indent_inner_html:_.tag_name==="head"?_.indent_content=this._options.indent_head_inner_html:_.tag_name==="body"&&(_.indent_content=this._options.indent_body_inner_html)),!(_.is_inline_element||_.is_unformatted)&&(S.type!=="TK_CONTENT"||_.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,_)},L.prototype._calcluate_parent_multiline=function(b,g){g.parent&&b._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var H=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],W=["a","audio","del","ins","map","noscript","video"];L.prototype._do_optional_end_element=function(b){var g=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(b.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&H.indexOf(b.tag_name)!==-1){var _=b.parent.parent;(!_||W.indexOf(_.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),g}},r.exports.Beautifier=L},function(r,s,a){var l=a(6).Options;function o(u){l.call(this,u,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new l,r.exports.Options=o},function(r,s,a){var l=a(9).Tokenizer,o=a(9).TOKEN,u=a(13).Directives,c=a(14).TemplatablePattern,d=a(12).Pattern,m={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},f=new u(/<\!--/,/-->/),w=function(p,x){l.call(this,p,x),this._current_tag_name="";var T=new c(this._input).read_options(this._options),y=new d(this._input);if(this.__patterns={word:T.until(/[\n\r\t <]/),word_control_flow_close_excluded:T.until(/[\n\r\t <}]/),single_quote:T.until_after(/'/),double_quote:T.until_after(/"/),attribute:T.until(/[\n\r\t =>]|\/>/),element_name:T.until(/[\n\r\t >\/]/),angular_control_flow_start:y.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:y.starting_with(/{{!--/).until_after(/--}}/),handlebars:y.starting_with(/{{/).until_after(/}}/),handlebars_open:y.until(/[\n\r\t }]/),handlebars_raw_close:y.until(/}}/),comment:y.starting_with(/<!--/).until_after(/-->/),cdata:y.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:y.starting_with(/<!\[/).until_after(/]>/),processing:y.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var L=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=y.matching(L).until_after(L)}};w.prototype=new l,w.prototype._is_comment=function(p){return!1},w.prototype._is_opening=function(p){return p.type===m.TAG_OPEN||p.type===m.CONTROL_FLOW_OPEN},w.prototype._is_closing=function(p,x){return p.type===m.TAG_CLOSE&&x&&((p.text===">"||p.text==="/>")&&x.text[0]==="<"||p.text==="}}"&&x.text[0]==="{"&&x.text[1]==="{")||p.type===m.CONTROL_FLOW_CLOSE&&p.text==="}"&&x.text.endsWith("{")},w.prototype._reset=function(){this._current_tag_name=""},w.prototype._get_next_token=function(p,x){var T=null;this._readWhitespace();var y=this._input.peek();return y===null?this._create_token(m.EOF,""):(T=T||this._read_open_handlebars(y,x),T=T||this._read_attribute(y,p,x),T=T||this._read_close(y,x),T=T||this._read_control_flows(y,x),T=T||this._read_raw_content(y,p,x),T=T||this._read_content_word(y,x),T=T||this._read_comment_or_cdata(y),T=T||this._read_processing(y),T=T||this._read_open(y,x),T=T||this._create_token(m.UNKNOWN,this._input.next()),T)},w.prototype._read_comment_or_cdata=function(p){var x=null,T=null,y=null;if(p==="<"){var L=this._input.peek(1);L==="!"&&(T=this.__patterns.comment.read(),T?(y=f.get_directives(T),y&&y.ignore==="start"&&(T+=f.readIgnored(this._input))):T=this.__patterns.cdata.read()),T&&(x=this._create_token(m.COMMENT,T),x.directives=y)}return x},w.prototype._read_processing=function(p){var x=null,T=null,y=null;if(p==="<"){var L=this._input.peek(1);(L==="!"||L==="?")&&(T=this.__patterns.conditional_comment.read(),T=T||this.__patterns.processing.read()),T&&(x=this._create_token(m.COMMENT,T),x.directives=y)}return x},w.prototype._read_open=function(p,x){var T=null,y=null;return(!x||x.type===m.CONTROL_FLOW_OPEN)&&p==="<"&&(T=this._input.next(),this._input.peek()==="/"&&(T+=this._input.next()),T+=this.__patterns.element_name.read(),y=this._create_token(m.TAG_OPEN,T)),y},w.prototype._read_open_handlebars=function(p,x){var T=null,y=null;return(!x||x.type===m.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&p==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(T=this.__patterns.handlebars_comment.read(),T=T||this.__patterns.handlebars.read(),y=this._create_token(m.COMMENT,T)):(T=this.__patterns.handlebars_open.read(),y=this._create_token(m.TAG_OPEN,T))),y},w.prototype._read_control_flows=function(p,x){var T="",y=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return y;if(p==="@"){if(T=this.__patterns.angular_control_flow_start.read(),T==="")return y;for(var L=T.endsWith("(")?1:0,I=0;!(T.endsWith("{")&&L===I);){var H=this._input.next();if(H===null)break;H==="("?L++:H===")"&&I++,T+=H}y=this._create_token(m.CONTROL_FLOW_OPEN,T)}else p==="}"&&x&&x.type===m.CONTROL_FLOW_OPEN&&(T=this._input.next(),y=this._create_token(m.CONTROL_FLOW_CLOSE,T));return y},w.prototype._read_close=function(p,x){var T=null,y=null;return x&&x.type===m.TAG_OPEN&&(x.text[0]==="<"&&(p===">"||p==="/"&&this._input.peek(1)===">")?(T=this._input.next(),p==="/"&&(T+=this._input.next()),y=this._create_token(m.TAG_CLOSE,T)):x.text[0]==="{"&&p==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),y=this._create_token(m.TAG_CLOSE,"}}"))),y},w.prototype._read_attribute=function(p,x,T){var y=null,L="";if(T&&T.text[0]==="<")if(p==="=")y=this._create_token(m.EQUALS,this._input.next());else if(p==='"'||p==="'"){var I=this._input.next();p==='"'?I+=this.__patterns.double_quote.read():I+=this.__patterns.single_quote.read(),y=this._create_token(m.VALUE,I)}else L=this.__patterns.attribute.read(),L&&(x.type===m.EQUALS?y=this._create_token(m.VALUE,L):y=this._create_token(m.ATTRIBUTE,L));return y},w.prototype._is_content_unformatted=function(p){return this._options.void_elements.indexOf(p)===-1&&(this._options.content_unformatted.indexOf(p)!==-1||this._options.unformatted.indexOf(p)!==-1)},w.prototype._read_raw_content=function(p,x,T){var y="";if(T&&T.text[0]==="{")y=this.__patterns.handlebars_raw_close.read();else if(x.type===m.TAG_CLOSE&&x.opened.text[0]==="<"&&x.text[0]!=="/"){var L=x.opened.text.substr(1).toLowerCase();if(L==="script"||L==="style"){var I=this._read_comment_or_cdata(p);if(I)return I.type=m.TEXT,I;y=this._input.readUntil(new RegExp("</"+L+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(L)&&(y=this._input.readUntil(new RegExp("</"+L+"[\\n\\r\\t ]*?>","ig")))}return y?this._create_token(m.TEXT,y):null},w.prototype._read_content_word=function(p,x){var T="";if(this._options.unformatted_content_delimiter&&p===this._options.unformatted_content_delimiter[0]&&(T=this.__patterns.unformatted_content_delimiter.read()),T||(T=x&&x.type===m.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),T)return this._create_token(m.TEXT,T)},r.exports.Tokenizer=w,r.exports.TOKEN=m}],t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var i=n(18);wo=i})();function rh(e,t){return wo(e,t,nh,ih)}function sh(e,t,n){let i=e.getText(),r=!0,s=0;const a=n.tabSize||4;if(t){let u=e.offsetAt(t.start),c=u;for(;c>0&&vo(i,c-1);)c--;c===0||_o(i,c-1)?u=c:c<u&&(u=c+1);let d=e.offsetAt(t.end),m=d;for(;m<i.length&&vo(i,m);)m++;(m===i.length||_o(i,m))&&(d=m),t=J.create(e.positionAt(u),e.positionAt(d));const f=i.substring(0,u);if(new RegExp(/.*[<][^>]*$/).test(f))return i=i.substring(u,d),[{range:t,newText:i}];if(r=d===i.length,i=i.substring(u,d),u!==0){const w=e.offsetAt(re.create(t.start.line,0));s=lh(e.getText(),w,n)}}else t=J.create(re.create(0,0),e.positionAt(i.length));const l={indent_size:a,indent_char:n.insertSpaces?" ":" ",indent_empty_lines:we(n,"indentEmptyLines",!1),wrap_line_length:we(n,"wrapLineLength",120),unformatted:ji(n,"unformatted",void 0),content_unformatted:ji(n,"contentUnformatted",void 0),indent_inner_html:we(n,"indentInnerHtml",!1),preserve_newlines:we(n,"preserveNewLines",!0),max_preserve_newlines:we(n,"maxPreserveNewLines",32786),indent_handlebars:we(n,"indentHandlebars",!1),end_with_newline:r&&we(n,"endWithNewline",!1),extra_liners:ji(n,"extraLiners",void 0),wrap_attributes:we(n,"wrapAttributes","auto"),wrap_attributes_indent_size:we(n,"wrapAttributesIndentSize",void 0),eol:`
69
- `,indent_scripts:we(n,"indentScripts","normal"),templating:oh(n,"all"),unformatted_content_delimiter:we(n,"unformattedContentDelimiter","")};let o=rh(ah(i),l);if(s>0){const u=n.insertSpaces?fo(" ",a*s):fo(" ",s);o=o.split(`
68
+ `)===-1||(_.is_inline_element||_.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,_))}else if(_.is_end_tag){var A=!1;A=_.start_tag_token&&_.start_tag_token.multiline_content,A=A||!_.is_inline_element&&!(N.is_inline_element||N.is_unformatted)&&!(S.type===c.TAG_CLOSE&&_.start_tag_token===N)&&S.type!=="TK_CONTENT",(_.is_content_unformatted||_.is_unformatted)&&(A=!1),A&&b.print_newline(!1)}else _.indent_content=!_.custom_beautifier_name,_.tag_start_char==="<"&&(_.tag_name==="html"?_.indent_content=this._options.indent_inner_html:_.tag_name==="head"?_.indent_content=this._options.indent_head_inner_html:_.tag_name==="body"&&(_.indent_content=this._options.indent_body_inner_html)),!(_.is_inline_element||_.is_unformatted)&&(S.type!=="TK_CONTENT"||_.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,_)},L.prototype._calcluate_parent_multiline=function(b,g){g.parent&&b._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var H=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],W=["a","audio","del","ins","map","noscript","video"];L.prototype._do_optional_end_element=function(b){var g=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(b.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&H.indexOf(b.tag_name)!==-1){var _=b.parent.parent;(!_||W.indexOf(_.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),g}},r.exports.Beautifier=L},function(r,s,a){var l=a(6).Options;function o(u){l.call(this,u,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new l,r.exports.Options=o},function(r,s,a){var l=a(9).Tokenizer,o=a(9).TOKEN,u=a(13).Directives,c=a(14).TemplatablePattern,d=a(12).Pattern,m={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},f=new u(/<\!--/,/-->/),w=function(p,x){l.call(this,p,x),this._current_tag_name="";var T=new c(this._input).read_options(this._options),y=new d(this._input);if(this.__patterns={word:T.until(/[\n\r\t <]/),word_control_flow_close_excluded:T.until(/[\n\r\t <}]/),single_quote:T.until_after(/'/),double_quote:T.until_after(/"/),attribute:T.until(/[\n\r\t =>]|\/>/),element_name:T.until(/[\n\r\t >\/]/),angular_control_flow_start:y.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:y.starting_with(/{{!--/).until_after(/--}}/),handlebars:y.starting_with(/{{/).until_after(/}}/),handlebars_open:y.until(/[\n\r\t }]/),handlebars_raw_close:y.until(/}}/),comment:y.starting_with(/<!--/).until_after(/-->/),cdata:y.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:y.starting_with(/<!\[/).until_after(/]>/),processing:y.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var L=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=y.matching(L).until_after(L)}};w.prototype=new l,w.prototype._is_comment=function(p){return!1},w.prototype._is_opening=function(p){return p.type===m.TAG_OPEN||p.type===m.CONTROL_FLOW_OPEN},w.prototype._is_closing=function(p,x){return p.type===m.TAG_CLOSE&&x&&((p.text===">"||p.text==="/>")&&x.text[0]==="<"||p.text==="}}"&&x.text[0]==="{"&&x.text[1]==="{")||p.type===m.CONTROL_FLOW_CLOSE&&p.text==="}"&&x.text.endsWith("{")},w.prototype._reset=function(){this._current_tag_name=""},w.prototype._get_next_token=function(p,x){var T=null;this._readWhitespace();var y=this._input.peek();return y===null?this._create_token(m.EOF,""):(T=T||this._read_open_handlebars(y,x),T=T||this._read_attribute(y,p,x),T=T||this._read_close(y,x),T=T||this._read_control_flows(y,x),T=T||this._read_raw_content(y,p,x),T=T||this._read_content_word(y,x),T=T||this._read_comment_or_cdata(y),T=T||this._read_processing(y),T=T||this._read_open(y,x),T=T||this._create_token(m.UNKNOWN,this._input.next()),T)},w.prototype._read_comment_or_cdata=function(p){var x=null,T=null,y=null;if(p==="<"){var L=this._input.peek(1);L==="!"&&(T=this.__patterns.comment.read(),T?(y=f.get_directives(T),y&&y.ignore==="start"&&(T+=f.readIgnored(this._input))):T=this.__patterns.cdata.read()),T&&(x=this._create_token(m.COMMENT,T),x.directives=y)}return x},w.prototype._read_processing=function(p){var x=null,T=null,y=null;if(p==="<"){var L=this._input.peek(1);(L==="!"||L==="?")&&(T=this.__patterns.conditional_comment.read(),T=T||this.__patterns.processing.read()),T&&(x=this._create_token(m.COMMENT,T),x.directives=y)}return x},w.prototype._read_open=function(p,x){var T=null,y=null;return(!x||x.type===m.CONTROL_FLOW_OPEN)&&p==="<"&&(T=this._input.next(),this._input.peek()==="/"&&(T+=this._input.next()),T+=this.__patterns.element_name.read(),y=this._create_token(m.TAG_OPEN,T)),y},w.prototype._read_open_handlebars=function(p,x){var T=null,y=null;return(!x||x.type===m.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&p==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(T=this.__patterns.handlebars_comment.read(),T=T||this.__patterns.handlebars.read(),y=this._create_token(m.COMMENT,T)):(T=this.__patterns.handlebars_open.read(),y=this._create_token(m.TAG_OPEN,T))),y},w.prototype._read_control_flows=function(p,x){var T="",y=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return y;if(p==="@"){if(T=this.__patterns.angular_control_flow_start.read(),T==="")return y;for(var L=T.endsWith("(")?1:0,I=0;!(T.endsWith("{")&&L===I);){var H=this._input.next();if(H===null)break;H==="("?L++:H===")"&&I++,T+=H}y=this._create_token(m.CONTROL_FLOW_OPEN,T)}else p==="}"&&x&&x.type===m.CONTROL_FLOW_OPEN&&(T=this._input.next(),y=this._create_token(m.CONTROL_FLOW_CLOSE,T));return y},w.prototype._read_close=function(p,x){var T=null,y=null;return x&&x.type===m.TAG_OPEN&&(x.text[0]==="<"&&(p===">"||p==="/"&&this._input.peek(1)===">")?(T=this._input.next(),p==="/"&&(T+=this._input.next()),y=this._create_token(m.TAG_CLOSE,T)):x.text[0]==="{"&&p==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),y=this._create_token(m.TAG_CLOSE,"}}"))),y},w.prototype._read_attribute=function(p,x,T){var y=null,L="";if(T&&T.text[0]==="<")if(p==="=")y=this._create_token(m.EQUALS,this._input.next());else if(p==='"'||p==="'"){var I=this._input.next();p==='"'?I+=this.__patterns.double_quote.read():I+=this.__patterns.single_quote.read(),y=this._create_token(m.VALUE,I)}else L=this.__patterns.attribute.read(),L&&(x.type===m.EQUALS?y=this._create_token(m.VALUE,L):y=this._create_token(m.ATTRIBUTE,L));return y},w.prototype._is_content_unformatted=function(p){return this._options.void_elements.indexOf(p)===-1&&(this._options.content_unformatted.indexOf(p)!==-1||this._options.unformatted.indexOf(p)!==-1)},w.prototype._read_raw_content=function(p,x,T){var y="";if(T&&T.text[0]==="{")y=this.__patterns.handlebars_raw_close.read();else if(x.type===m.TAG_CLOSE&&x.opened.text[0]==="<"&&x.text[0]!=="/"){var L=x.opened.text.substr(1).toLowerCase();if(L==="script"||L==="style"){var I=this._read_comment_or_cdata(p);if(I)return I.type=m.TEXT,I;y=this._input.readUntil(new RegExp("</"+L+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(L)&&(y=this._input.readUntil(new RegExp("</"+L+"[\\n\\r\\t ]*?>","ig")))}return y?this._create_token(m.TEXT,y):null},w.prototype._read_content_word=function(p,x){var T="";if(this._options.unformatted_content_delimiter&&p===this._options.unformatted_content_delimiter[0]&&(T=this.__patterns.unformatted_content_delimiter.read()),T||(T=x&&x.type===m.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),T)return this._create_token(m.TEXT,T)},r.exports.Tokenizer=w,r.exports.TOKEN=m}],t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var i=n(18);go=i})();function nh(e,t){return go(e,t,eh,th)}function ih(e,t,n){let i=e.getText(),r=!0,s=0;const a=n.tabSize||4;if(t){let u=e.offsetAt(t.start),c=u;for(;c>0&&wo(i,c-1);)c--;c===0||bo(i,c-1)?u=c:c<u&&(u=c+1);let d=e.offsetAt(t.end),m=d;for(;m<i.length&&wo(i,m);)m++;(m===i.length||bo(i,m))&&(d=m),t=J.create(e.positionAt(u),e.positionAt(d));const f=i.substring(0,u);if(new RegExp(/.*[<][^>]*$/).test(f))return i=i.substring(u,d),[{range:t,newText:i}];if(r=d===i.length,i=i.substring(u,d),u!==0){const w=e.offsetAt(re.create(t.start.line,0));s=ah(e.getText(),w,n)}}else t=J.create(re.create(0,0),e.positionAt(i.length));const l={indent_size:a,indent_char:n.insertSpaces?" ":" ",indent_empty_lines:be(n,"indentEmptyLines",!1),wrap_line_length:be(n,"wrapLineLength",120),unformatted:Vi(n,"unformatted",void 0),content_unformatted:Vi(n,"contentUnformatted",void 0),indent_inner_html:be(n,"indentInnerHtml",!1),preserve_newlines:be(n,"preserveNewLines",!0),max_preserve_newlines:be(n,"maxPreserveNewLines",32786),indent_handlebars:be(n,"indentHandlebars",!1),end_with_newline:r&&be(n,"endWithNewline",!1),extra_liners:Vi(n,"extraLiners",void 0),wrap_attributes:be(n,"wrapAttributes","auto"),wrap_attributes_indent_size:be(n,"wrapAttributesIndentSize",void 0),eol:`
69
+ `,indent_scripts:be(n,"indentScripts","normal"),templating:sh(n,"all"),unformatted_content_delimiter:be(n,"unformattedContentDelimiter","")};let o=nh(rh(i),l);if(s>0){const u=n.insertSpaces?ho(" ",a*s):ho(" ",s);o=o.split(`
70
70
  `).join(`
71
- `+u),t.start.character===0&&(o=u+o)}return[{range:t,newText:o}]}function ah(e){return e.replace(/^\s+/,"")}function we(e,t,n){if(e&&e.hasOwnProperty(t)){const i=e[t];if(i!==null)return i}return n}function ji(e,t,n){const i=we(e,t,null);return typeof i=="string"?i.length>0?i.split(",").map(r=>r.trim().toLowerCase()):[]:n}function oh(e,t){const n=we(e,"templating",t);return n===!0?["auto"]:n===!1||n===t||Array.isArray(n)===!1?["none"]:n}function lh(e,t,n){let i=t,r=0;const s=n.tabSize||4;for(;i<e.length;){const a=e.charAt(i);if(a===" ")r++;else if(a===" ")r+=s;else break;i++}return Math.floor(r/s)}function _o(e,t){return`\r
72
- `.indexOf(e.charAt(t))!==-1}function vo(e,t){return" ".indexOf(e.charAt(t))!==-1}var yo;(()=>{var e={470:r=>{function s(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function a(o,u){for(var c,d="",m=0,f=-1,w=0,p=0;p<=o.length;++p){if(p<o.length)c=o.charCodeAt(p);else{if(c===47)break;c=47}if(c===47){if(!(f===p-1||w===1))if(f!==p-1&&w===2){if(d.length<2||m!==2||d.charCodeAt(d.length-1)!==46||d.charCodeAt(d.length-2)!==46){if(d.length>2){var x=d.lastIndexOf("/");if(x!==d.length-1){x===-1?(d="",m=0):m=(d=d.slice(0,x)).length-1-d.lastIndexOf("/"),f=p,w=0;continue}}else if(d.length===2||d.length===1){d="",m=0,f=p,w=0;continue}}u&&(d.length>0?d+="/..":d="..",m=2)}else d.length>0?d+="/"+o.slice(f+1,p):d=o.slice(f+1,p),m=p-f-1;f=p,w=0}else c===46&&w!==-1?++w:w=-1}return d}var l={resolve:function(){for(var o,u="",c=!1,d=arguments.length-1;d>=-1&&!c;d--){var m;d>=0?m=arguments[d]:(o===void 0&&(o=process.cwd()),m=o),s(m),m.length!==0&&(u=m+"/"+u,c=m.charCodeAt(0)===47)}return u=a(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(o){if(s(o),o.length===0)return".";var u=o.charCodeAt(0)===47,c=o.charCodeAt(o.length-1)===47;return(o=a(o,!u)).length!==0||u||(o="."),o.length>0&&c&&(o+="/"),u?"/"+o:o},isAbsolute:function(o){return s(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,u=0;u<arguments.length;++u){var c=arguments[u];s(c),c.length>0&&(o===void 0?o=c:o+="/"+c)}return o===void 0?".":l.normalize(o)},relative:function(o,u){if(s(o),s(u),o===u||(o=l.resolve(o))===(u=l.resolve(u)))return"";for(var c=1;c<o.length&&o.charCodeAt(c)===47;++c);for(var d=o.length,m=d-c,f=1;f<u.length&&u.charCodeAt(f)===47;++f);for(var w=u.length-f,p=m<w?m:w,x=-1,T=0;T<=p;++T){if(T===p){if(w>p){if(u.charCodeAt(f+T)===47)return u.slice(f+T+1);if(T===0)return u.slice(f+T)}else m>p&&(o.charCodeAt(c+T)===47?x=T:T===0&&(x=0));break}var y=o.charCodeAt(c+T);if(y!==u.charCodeAt(f+T))break;y===47&&(x=T)}var L="";for(T=c+x+1;T<=d;++T)T!==d&&o.charCodeAt(T)!==47||(L.length===0?L+="..":L+="/..");return L.length>0?L+u.slice(f+x):(f+=x,u.charCodeAt(f)===47&&++f,u.slice(f))},_makeLong:function(o){return o},dirname:function(o){if(s(o),o.length===0)return".";for(var u=o.charCodeAt(0),c=u===47,d=-1,m=!0,f=o.length-1;f>=1;--f)if((u=o.charCodeAt(f))===47){if(!m){d=f;break}}else m=!1;return d===-1?c?"/":".":c&&d===1?"//":o.slice(0,d)},basename:function(o,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');s(o);var c,d=0,m=-1,f=!0;if(u!==void 0&&u.length>0&&u.length<=o.length){if(u.length===o.length&&u===o)return"";var w=u.length-1,p=-1;for(c=o.length-1;c>=0;--c){var x=o.charCodeAt(c);if(x===47){if(!f){d=c+1;break}}else p===-1&&(f=!1,p=c+1),w>=0&&(x===u.charCodeAt(w)?--w==-1&&(m=c):(w=-1,m=p))}return d===m?m=p:m===-1&&(m=o.length),o.slice(d,m)}for(c=o.length-1;c>=0;--c)if(o.charCodeAt(c)===47){if(!f){d=c+1;break}}else m===-1&&(f=!1,m=c+1);return m===-1?"":o.slice(d,m)},extname:function(o){s(o);for(var u=-1,c=0,d=-1,m=!0,f=0,w=o.length-1;w>=0;--w){var p=o.charCodeAt(w);if(p!==47)d===-1&&(m=!1,d=w+1),p===46?u===-1?u=w:f!==1&&(f=1):u!==-1&&(f=-1);else if(!m){c=w+1;break}}return u===-1||d===-1||f===0||f===1&&u===d-1&&u===c+1?"":o.slice(u,d)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return function(u,c){var d=c.dir||c.root,m=c.base||(c.name||"")+(c.ext||"");return d?d===c.root?d+m:d+"/"+m:m}(0,o)},parse:function(o){s(o);var u={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return u;var c,d=o.charCodeAt(0),m=d===47;m?(u.root="/",c=1):c=0;for(var f=-1,w=0,p=-1,x=!0,T=o.length-1,y=0;T>=c;--T)if((d=o.charCodeAt(T))!==47)p===-1&&(x=!1,p=T+1),d===46?f===-1?f=T:y!==1&&(y=1):f!==-1&&(y=-1);else if(!x){w=T+1;break}return f===-1||p===-1||y===0||y===1&&f===p-1&&f===w+1?p!==-1&&(u.base=u.name=w===0&&m?o.slice(1,p):o.slice(w,p)):(w===0&&m?(u.name=o.slice(1,f),u.base=o.slice(1,p)):(u.name=o.slice(w,f),u.base=o.slice(w,p)),u.ext=o.slice(f,p)),w>0?u.dir=o.slice(0,w-1):m&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,r.exports=l}},t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=(r,s)=>{for(var a in s)n.o(s,a)&&!n.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:s[a]})},n.o=(r,s)=>Object.prototype.hasOwnProperty.call(r,s),n.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{let r;n.r(i),n.d(i,{URI:()=>m,Utils:()=>N}),typeof process=="object"?r=process.platform==="win32":typeof navigator=="object"&&(r=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,l=/^\/\//;function o(S,v){if(!S.scheme&&v)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${S.authority}", path: "${S.path}", query: "${S.query}", fragment: "${S.fragment}"}`);if(S.scheme&&!s.test(S.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(S.path){if(S.authority){if(!a.test(S.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(S.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const u="",c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class m{constructor(v,A,E,k,D,M=!1){Se(this,"scheme");Se(this,"authority");Se(this,"path");Se(this,"query");Se(this,"fragment");typeof v=="object"?(this.scheme=v.scheme||u,this.authority=v.authority||u,this.path=v.path||u,this.query=v.query||u,this.fragment=v.fragment||u):(this.scheme=function(F,B){return F||B?F:"file"}(v,M),this.authority=A||u,this.path=function(F,B){switch(F){case"https":case"http":case"file":B?B[0]!==c&&(B=c+B):B=c}return B}(this.scheme,E||u),this.query=k||u,this.fragment=D||u,o(this,M))}static isUri(v){return v instanceof m||!!v&&typeof v.authority=="string"&&typeof v.fragment=="string"&&typeof v.path=="string"&&typeof v.query=="string"&&typeof v.scheme=="string"&&typeof v.fsPath=="string"&&typeof v.with=="function"&&typeof v.toString=="function"}get fsPath(){return y(this,!1)}with(v){if(!v)return this;let{scheme:A,authority:E,path:k,query:D,fragment:M}=v;return A===void 0?A=this.scheme:A===null&&(A=u),E===void 0?E=this.authority:E===null&&(E=u),k===void 0?k=this.path:k===null&&(k=u),D===void 0?D=this.query:D===null&&(D=u),M===void 0?M=this.fragment:M===null&&(M=u),A===this.scheme&&E===this.authority&&k===this.path&&D===this.query&&M===this.fragment?this:new w(A,E,k,D,M)}static parse(v,A=!1){const E=d.exec(v);return E?new w(E[2]||u,W(E[4]||u),W(E[5]||u),W(E[7]||u),W(E[9]||u),A):new w(u,u,u,u,u)}static file(v){let A=u;if(r&&(v=v.replace(/\\/g,c)),v[0]===c&&v[1]===c){const E=v.indexOf(c,2);E===-1?(A=v.substring(2),v=c):(A=v.substring(2,E),v=v.substring(E)||c)}return new w("file",A,v,u,u)}static from(v){const A=new w(v.scheme,v.authority,v.path,v.query,v.fragment);return o(A,!0),A}toString(v=!1){return L(this,v)}toJSON(){return this}static revive(v){if(v){if(v instanceof m)return v;{const A=new w(v);return A._formatted=v.external,A._fsPath=v._sep===f?v.fsPath:null,A}}return v}}const f=r?1:void 0;class w extends m{constructor(){super(...arguments);Se(this,"_formatted",null);Se(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=y(this,!1)),this._fsPath}toString(A=!1){return A?L(this,!0):(this._formatted||(this._formatted=L(this,!1)),this._formatted)}toJSON(){const A={$mid:1};return this._fsPath&&(A.fsPath=this._fsPath,A._sep=f),this._formatted&&(A.external=this._formatted),this.path&&(A.path=this.path),this.scheme&&(A.scheme=this.scheme),this.authority&&(A.authority=this.authority),this.query&&(A.query=this.query),this.fragment&&(A.fragment=this.fragment),A}}const p={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function x(S,v,A){let E,k=-1;for(let D=0;D<S.length;D++){const M=S.charCodeAt(D);if(M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||v&&M===47||A&&M===91||A&&M===93||A&&M===58)k!==-1&&(E+=encodeURIComponent(S.substring(k,D)),k=-1),E!==void 0&&(E+=S.charAt(D));else{E===void 0&&(E=S.substr(0,D));const F=p[M];F!==void 0?(k!==-1&&(E+=encodeURIComponent(S.substring(k,D)),k=-1),E+=F):k===-1&&(k=D)}}return k!==-1&&(E+=encodeURIComponent(S.substring(k))),E!==void 0?E:S}function T(S){let v;for(let A=0;A<S.length;A++){const E=S.charCodeAt(A);E===35||E===63?(v===void 0&&(v=S.substr(0,A)),v+=p[E]):v!==void 0&&(v+=S[A])}return v!==void 0?v:S}function y(S,v){let A;return A=S.authority&&S.path.length>1&&S.scheme==="file"?`//${S.authority}${S.path}`:S.path.charCodeAt(0)===47&&(S.path.charCodeAt(1)>=65&&S.path.charCodeAt(1)<=90||S.path.charCodeAt(1)>=97&&S.path.charCodeAt(1)<=122)&&S.path.charCodeAt(2)===58?v?S.path.substr(1):S.path[1].toLowerCase()+S.path.substr(2):S.path,r&&(A=A.replace(/\//g,"\\")),A}function L(S,v){const A=v?T:x;let E="",{scheme:k,authority:D,path:M,query:F,fragment:B}=S;if(k&&(E+=k,E+=":"),(D||k==="file")&&(E+=c,E+=c),D){let U=D.indexOf("@");if(U!==-1){const V=D.substr(0,U);D=D.substr(U+1),U=V.lastIndexOf(":"),U===-1?E+=A(V,!1,!1):(E+=A(V.substr(0,U),!1,!1),E+=":",E+=A(V.substr(U+1),!1,!0)),E+="@"}D=D.toLowerCase(),U=D.lastIndexOf(":"),U===-1?E+=A(D,!1,!0):(E+=A(D.substr(0,U),!1,!0),E+=D.substr(U))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){const U=M.charCodeAt(1);U>=65&&U<=90&&(M=`/${String.fromCharCode(U+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){const U=M.charCodeAt(0);U>=65&&U<=90&&(M=`${String.fromCharCode(U+32)}:${M.substr(2)}`)}E+=A(M,!0,!1)}return F&&(E+="?",E+=A(F,!1,!1)),B&&(E+="#",E+=v?B:x(B,!1,!1)),E}function I(S){try{return decodeURIComponent(S)}catch{return S.length>3?S.substr(0,3)+I(S.substr(3)):S}}const H=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function W(S){return S.match(H)?S.replace(H,v=>I(v)):S}var b=n(470);const g=b.posix||b,_="/";var N;(function(S){S.joinPath=function(v,...A){return v.with({path:g.join(v.path,...A)})},S.resolvePath=function(v,...A){let E=v.path,k=!1;E[0]!==_&&(E=_+E,k=!0);let D=g.resolve(E,...A);return k&&D[0]===_&&!v.authority&&(D=D.substring(1)),v.with({path:D})},S.dirname=function(v){if(v.path.length===0||v.path===_)return v;let A=g.dirname(v.path);return A.length===1&&A.charCodeAt(0)===46&&(A=""),v.with({path:A})},S.basename=function(v){return g.basename(v.path)},S.extname=function(v){return g.extname(v.path)}})(N||(N={}))})(),yo=i})();const{URI:uh,Utils:zh}=yo;function Gi(e){const t=e[0],n=e[e.length-1];return t===n&&(t==="'"||t==='"')&&(e=e.substring(1,e.length-1)),e}function ch(e,t){return!e.length||t==="handlebars"&&/{{|}}/.test(e)?!1:/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(e)}function hh(e,t,n,i){if(/^\s*javascript\:/i.test(t)||/[\n\r]/.test(t))return;t=t.replace(/^\s*/g,"");const r=t.match(/^(\w[\w\d+.-]*):/);if(r){const s=r[1].toLowerCase();return s==="http"||s==="https"||s==="file"?t:void 0}return/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(Ye(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}function dh(e,t,n,i,r,s){const a=Gi(n);if(!ch(a,e.languageId))return;a.length<n.length&&(i++,r--);const l=hh(e.uri,a,t,s);if(!l)return;const o=fh(l,e);return{range:J.create(e.positionAt(i),e.positionAt(r)),target:o}}const mh="#".charCodeAt(0);function fh(e,t){try{let n=uh.parse(e);return n.scheme==="file"&&n.query&&(n=n.with({query:null}),e=n.toString(!0)),n.scheme==="file"&&n.fragment&&!(e.startsWith(t.uri)&&e.charCodeAt(t.uri.length)===mh)?n.with({fragment:null}).toString(!0):e}catch{return}}class ph{constructor(t){this.dataManager=t}findDocumentLinks(t,n){const i=[],r=be(t.getText(),0);let s=r.scan(),a,l,o=!1,u;const c={};for(;s!==z.EOS;){switch(s){case z.StartTag:l=r.getTokenText().toLowerCase(),u||(o=l==="base");break;case z.AttributeName:a=r.getTokenText().toLowerCase();break;case z.AttributeValue:if(l&&a&&this.dataManager.isPathAttribute(l,a)){const d=r.getTokenText();if(!o){const m=dh(t,n,d,r.getTokenOffset(),r.getTokenEnd(),u);m&&i.push(m)}o&&typeof u>"u"&&(u=Gi(d),u&&n&&(u=n.resolveReference(u,t.uri))),o=!1,a=void 0}else if(a==="id"){const d=Gi(r.getTokenText());c[d]=r.getTokenOffset()}break}s=r.scan()}for(const d of i){const m=t.uri+"#";if(d.target&&Ye(d.target,m)){const f=d.target.substring(m.length),w=c[f];if(w!==void 0){const p=t.positionAt(w);d.target=`${m}${p.line+1},${p.character+1}`}else d.target=t.uri}}return i}}function gh(e,t,n){const i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];const s=[],a=ko(z.StartTag,e,r.start),l=typeof r.endTagStart=="number"&&ko(z.EndTag,e,r.endTagStart);return(a&&xo(a,t)||l&&xo(l,t))&&(a&&s.push({kind:xn.Read,range:a}),l&&s.push({kind:xn.Read,range:l})),s}function To(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function xo(e,t){return To(e.start,t)&&To(t,e.end)}function ko(e,t,n){const i=be(t.getText(),n);let r=i.scan();for(;r!==z.EOS&&r!==e;)r=i.scan();return r!==z.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function bh(e,t){const n=[],i=So(e,t);for(const s of i)r(s,void 0);return n;function r(s,a){var o;const l=Ui.create(s.name,s.kind,s.range,e.uri,a==null?void 0:a.name);if((o=l.containerName)!=null||(l.containerName=""),n.push(l),s.children)for(const u of s.children)r(u,s)}}function So(e,t){const n=[];return t.roots.forEach(i=>{Ao(e,i,n)}),n}function Ao(e,t,n){const i=wh(t),r=J.create(e.positionAt(t.start),e.positionAt(t.end)),s=Wi.create(i,void 0,Hi.Field,r,r);n.push(s),t.children.forEach(a=>{var l;(l=s.children)!=null||(s.children=[]),Ao(e,a,s.children)})}function wh(e){let t=e.tag;if(e.attributes){const n=e.attributes.id,i=e.attributes.class;n&&(t+=`#${n.replace(/[\"\']/g,"")}`),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map(r=>`.${r}`).join(""))}return t||"?"}function _h(e,t,n,i){const r=e.offsetAt(t),s=i.findNodeAt(r);if(!s.tag||!vh(s,r,s.tag))return null;const a=[],l={start:e.positionAt(s.start+1),end:e.positionAt(s.start+1+s.tag.length)};if(a.push({range:l,newText:n}),s.endTagStart){const u={start:e.positionAt(s.endTagStart+2),end:e.positionAt(s.endTagStart+2+s.tag.length)};a.push({range:u,newText:n})}return{changes:{[e.uri.toString()]:a}}}function vh(e,t,n){return e.endTagStart&&e.endTagStart+2<=t&&t<=e.endTagStart+2+n.length?!0:e.start+1<=t&&t<=e.start+1+n.length}function yh(e,t,n){const i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag||!r.endTagStart)return null;if(r.start+1<=i&&i<=r.start+1+r.tag.length){const s=i-1-r.start+r.endTagStart+2;return e.positionAt(s)}if(r.endTagStart+2<=i&&i<=r.endTagStart+2+r.tag.length){const s=i-2-r.endTagStart+r.start+1;return e.positionAt(s)}return null}function Lo(e,t,n){const i=e.offsetAt(t),r=n.findNodeAt(i),s=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+1<=i&&i<=r.start+1+s||r.endTagStart+2<=i&&i<=r.endTagStart+2+s)?[J.create(e.positionAt(r.start+1),e.positionAt(r.start+1+s)),J.create(e.positionAt(r.endTagStart+2),e.positionAt(r.endTagStart+2+s))]:null}class Th{constructor(t){this.dataManager=t}limitRanges(t,n){t=t.sort((d,m)=>{let f=d.startLine-m.startLine;return f===0&&(f=d.endLine-m.endLine),f});let i;const r=[],s=[],a=[],l=(d,m)=>{s[d]=m,m<30&&(a[m]=(a[m]||0)+1)};for(let d=0;d<t.length;d++){const m=t[d];if(!i)i=m,l(d,0);else if(m.startLine>i.startLine){if(m.endLine<=i.endLine)r.push(i),i=m,l(d,r.length);else if(m.startLine>i.endLine){do i=r.pop();while(i&&m.startLine>i.endLine);i&&r.push(i),i=m,l(d,r.length)}}}let o=0,u=0;for(let d=0;d<a.length;d++){const m=a[d];if(m){if(m+o>n){u=d;break}o+=m}}const c=[];for(let d=0;d<t.length;d++){const m=s[d];typeof m=="number"&&(m<u||m===u&&o++<n)&&c.push(t[d])}return c}getFoldingRanges(t,n){const i=this.dataManager.getVoidElements(t.languageId),r=be(t.getText());let s=r.scan();const a=[],l=[];let o=null,u=-1;function c(m){a.push(m),u=m.startLine}for(;s!==z.EOS;){switch(s){case z.StartTag:{const m=r.getTokenText(),f=t.positionAt(r.getTokenOffset()).line;l.push({startLine:f,tagName:m}),o=m;break}case z.EndTag:{o=r.getTokenText();break}case z.StartTagClose:if(!o||!this.dataManager.isVoidElement(o,i))break;case z.EndTagClose:case z.StartTagSelfClose:{let m=l.length-1;for(;m>=0&&l[m].tagName!==o;)m--;if(m>=0){const f=l[m];l.length=m;const w=t.positionAt(r.getTokenOffset()).line,p=f.startLine,x=w-1;x>p&&u!==p&&c({startLine:p,endLine:x})}break}case z.Comment:{let m=t.positionAt(r.getTokenOffset()).line;const w=r.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(w)if(w[1])l.push({startLine:m,tagName:""});else{let p=l.length-1;for(;p>=0&&l[p].tagName.length;)p--;if(p>=0){const x=l[p];l.length=p;const T=m;m=x.startLine,T>m&&u!==m&&c({startLine:m,endLine:T,kind:vn.Region})}}else{const p=t.positionAt(r.getTokenOffset()+r.getTokenLength()).line;m<p&&c({startLine:m,endLine:p,kind:vn.Comment})}break}}s=r.scan()}const d=n&&n.rangeLimit||Number.MAX_VALUE;return a.length>d?this.limitRanges(a,d):a}}class xh{constructor(t){this.htmlParser=t}getSelectionRanges(t,n){const i=this.htmlParser.parseDocument(t);return n.map(r=>this.getSelectionRange(r,t,i))}getSelectionRange(t,n,i){const r=this.getApplicableRanges(n,t,i);let s,a;for(let l=r.length-1;l>=0;l--){const o=r[l];(!s||o[0]!==s[0]||o[1]!==s[1])&&(a=Sn.create(J.create(n.positionAt(r[l][0]),n.positionAt(r[l][1])),a)),s=o}return a||(a=Sn.create(J.create(t,t))),a}getApplicableRanges(t,n,i){const r=t.offsetAt(n),s=i.findNodeAt(r);let a=this.getAllParentTagRanges(s);if(s.startTagEnd&&!s.endTagStart){if(s.startTagEnd!==s.end)return[[s.start,s.end]];const l=J.create(t.positionAt(s.startTagEnd-2),t.positionAt(s.startTagEnd));return t.getText(l)==="/>"?a.unshift([s.start+1,s.startTagEnd-2]):a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(t,s,r).concat(a),a}return!s.startTagEnd||!s.endTagStart?a:(a.unshift([s.start,s.end]),s.start<r&&r<s.startTagEnd?(a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(t,s,r).concat(a),a):s.startTagEnd<=r&&r<=s.endTagStart?(a.unshift([s.startTagEnd,s.endTagStart]),a):(r>=s.endTagStart+2&&a.unshift([s.endTagStart+2,s.end-1]),a))}getAllParentTagRanges(t){let n=t;const i=[];for(;n.parent;)n=n.parent,this.getNodeRanges(n).forEach(r=>i.push(r));return i}getNodeRanges(t){return t.startTagEnd&&t.endTagStart&&t.startTagEnd<t.endTagStart?[[t.startTagEnd,t.endTagStart],[t.start,t.end]]:[[t.start,t.end]]}getAttributeLevelRanges(t,n,i){const r=J.create(t.positionAt(n.start),t.positionAt(n.end)),s=t.getText(r),a=i-n.start,l=be(s);let o=l.scan();const u=n.start,c=[];let d=!1,m=-1;for(;o!==z.EOS;){switch(o){case z.AttributeName:{if(a<l.getTokenOffset()){d=!1;break}a<=l.getTokenEnd()&&c.unshift([l.getTokenOffset(),l.getTokenEnd()]),d=!0,m=l.getTokenOffset();break}case z.AttributeValue:{if(!d)break;const f=l.getTokenText();if(a<l.getTokenOffset()){c.push([m,l.getTokenEnd()]);break}a>=l.getTokenOffset()&&a<=l.getTokenEnd()&&(c.unshift([l.getTokenOffset(),l.getTokenEnd()]),(f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'")&&a>=l.getTokenOffset()+1&&a<=l.getTokenEnd()-1&&c.unshift([l.getTokenOffset()+1,l.getTokenEnd()-1]),c.push([m,l.getTokenEnd()]));break}}o=l.scan()}return c.map(f=>[f[0]+u,f[1]+u])}}const kh={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",valueSet:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},void:!0,attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.
71
+ `+u),t.start.character===0&&(o=u+o)}return[{range:t,newText:o}]}function rh(e){return e.replace(/^\s+/,"")}function be(e,t,n){if(e&&e.hasOwnProperty(t)){const i=e[t];if(i!==null)return i}return n}function Vi(e,t,n){const i=be(e,t,null);return typeof i=="string"?i.length>0?i.split(",").map(r=>r.trim().toLowerCase()):[]:n}function sh(e,t){const n=be(e,"templating",t);return n===!0?["auto"]:n===!1||n===t||Array.isArray(n)===!1?["none"]:n}function ah(e,t,n){let i=t,r=0;const s=n.tabSize||4;for(;i<e.length;){const a=e.charAt(i);if(a===" ")r++;else if(a===" ")r+=s;else break;i++}return Math.floor(r/s)}function bo(e,t){return`\r
72
+ `.indexOf(e.charAt(t))!==-1}function wo(e,t){return" ".indexOf(e.charAt(t))!==-1}var _o;(()=>{var e={470:r=>{function s(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function a(o,u){for(var c,d="",m=0,f=-1,w=0,p=0;p<=o.length;++p){if(p<o.length)c=o.charCodeAt(p);else{if(c===47)break;c=47}if(c===47){if(!(f===p-1||w===1))if(f!==p-1&&w===2){if(d.length<2||m!==2||d.charCodeAt(d.length-1)!==46||d.charCodeAt(d.length-2)!==46){if(d.length>2){var x=d.lastIndexOf("/");if(x!==d.length-1){x===-1?(d="",m=0):m=(d=d.slice(0,x)).length-1-d.lastIndexOf("/"),f=p,w=0;continue}}else if(d.length===2||d.length===1){d="",m=0,f=p,w=0;continue}}u&&(d.length>0?d+="/..":d="..",m=2)}else d.length>0?d+="/"+o.slice(f+1,p):d=o.slice(f+1,p),m=p-f-1;f=p,w=0}else c===46&&w!==-1?++w:w=-1}return d}var l={resolve:function(){for(var o,u="",c=!1,d=arguments.length-1;d>=-1&&!c;d--){var m;d>=0?m=arguments[d]:(o===void 0&&(o=process.cwd()),m=o),s(m),m.length!==0&&(u=m+"/"+u,c=m.charCodeAt(0)===47)}return u=a(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(o){if(s(o),o.length===0)return".";var u=o.charCodeAt(0)===47,c=o.charCodeAt(o.length-1)===47;return(o=a(o,!u)).length!==0||u||(o="."),o.length>0&&c&&(o+="/"),u?"/"+o:o},isAbsolute:function(o){return s(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,u=0;u<arguments.length;++u){var c=arguments[u];s(c),c.length>0&&(o===void 0?o=c:o+="/"+c)}return o===void 0?".":l.normalize(o)},relative:function(o,u){if(s(o),s(u),o===u||(o=l.resolve(o))===(u=l.resolve(u)))return"";for(var c=1;c<o.length&&o.charCodeAt(c)===47;++c);for(var d=o.length,m=d-c,f=1;f<u.length&&u.charCodeAt(f)===47;++f);for(var w=u.length-f,p=m<w?m:w,x=-1,T=0;T<=p;++T){if(T===p){if(w>p){if(u.charCodeAt(f+T)===47)return u.slice(f+T+1);if(T===0)return u.slice(f+T)}else m>p&&(o.charCodeAt(c+T)===47?x=T:T===0&&(x=0));break}var y=o.charCodeAt(c+T);if(y!==u.charCodeAt(f+T))break;y===47&&(x=T)}var L="";for(T=c+x+1;T<=d;++T)T!==d&&o.charCodeAt(T)!==47||(L.length===0?L+="..":L+="/..");return L.length>0?L+u.slice(f+x):(f+=x,u.charCodeAt(f)===47&&++f,u.slice(f))},_makeLong:function(o){return o},dirname:function(o){if(s(o),o.length===0)return".";for(var u=o.charCodeAt(0),c=u===47,d=-1,m=!0,f=o.length-1;f>=1;--f)if((u=o.charCodeAt(f))===47){if(!m){d=f;break}}else m=!1;return d===-1?c?"/":".":c&&d===1?"//":o.slice(0,d)},basename:function(o,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');s(o);var c,d=0,m=-1,f=!0;if(u!==void 0&&u.length>0&&u.length<=o.length){if(u.length===o.length&&u===o)return"";var w=u.length-1,p=-1;for(c=o.length-1;c>=0;--c){var x=o.charCodeAt(c);if(x===47){if(!f){d=c+1;break}}else p===-1&&(f=!1,p=c+1),w>=0&&(x===u.charCodeAt(w)?--w==-1&&(m=c):(w=-1,m=p))}return d===m?m=p:m===-1&&(m=o.length),o.slice(d,m)}for(c=o.length-1;c>=0;--c)if(o.charCodeAt(c)===47){if(!f){d=c+1;break}}else m===-1&&(f=!1,m=c+1);return m===-1?"":o.slice(d,m)},extname:function(o){s(o);for(var u=-1,c=0,d=-1,m=!0,f=0,w=o.length-1;w>=0;--w){var p=o.charCodeAt(w);if(p!==47)d===-1&&(m=!1,d=w+1),p===46?u===-1?u=w:f!==1&&(f=1):u!==-1&&(f=-1);else if(!m){c=w+1;break}}return u===-1||d===-1||f===0||f===1&&u===d-1&&u===c+1?"":o.slice(u,d)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return function(u,c){var d=c.dir||c.root,m=c.base||(c.name||"")+(c.ext||"");return d?d===c.root?d+m:d+"/"+m:m}(0,o)},parse:function(o){s(o);var u={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return u;var c,d=o.charCodeAt(0),m=d===47;m?(u.root="/",c=1):c=0;for(var f=-1,w=0,p=-1,x=!0,T=o.length-1,y=0;T>=c;--T)if((d=o.charCodeAt(T))!==47)p===-1&&(x=!1,p=T+1),d===46?f===-1?f=T:y!==1&&(y=1):f!==-1&&(y=-1);else if(!x){w=T+1;break}return f===-1||p===-1||y===0||y===1&&f===p-1&&f===w+1?p!==-1&&(u.base=u.name=w===0&&m?o.slice(1,p):o.slice(w,p)):(w===0&&m?(u.name=o.slice(1,f),u.base=o.slice(1,p)):(u.name=o.slice(w,f),u.base=o.slice(w,p)),u.ext=o.slice(f,p)),w>0?u.dir=o.slice(0,w-1):m&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,r.exports=l}},t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=(r,s)=>{for(var a in s)n.o(s,a)&&!n.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:s[a]})},n.o=(r,s)=>Object.prototype.hasOwnProperty.call(r,s),n.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{let r;n.r(i),n.d(i,{URI:()=>m,Utils:()=>N}),typeof process=="object"?r=process.platform==="win32":typeof navigator=="object"&&(r=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,l=/^\/\//;function o(S,v){if(!S.scheme&&v)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${S.authority}", path: "${S.path}", query: "${S.query}", fragment: "${S.fragment}"}`);if(S.scheme&&!s.test(S.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(S.path){if(S.authority){if(!a.test(S.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(S.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const u="",c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class m{constructor(v,A,E,k,D,M=!1){ke(this,"scheme");ke(this,"authority");ke(this,"path");ke(this,"query");ke(this,"fragment");typeof v=="object"?(this.scheme=v.scheme||u,this.authority=v.authority||u,this.path=v.path||u,this.query=v.query||u,this.fragment=v.fragment||u):(this.scheme=function(F,B){return F||B?F:"file"}(v,M),this.authority=A||u,this.path=function(F,B){switch(F){case"https":case"http":case"file":B?B[0]!==c&&(B=c+B):B=c}return B}(this.scheme,E||u),this.query=k||u,this.fragment=D||u,o(this,M))}static isUri(v){return v instanceof m||!!v&&typeof v.authority=="string"&&typeof v.fragment=="string"&&typeof v.path=="string"&&typeof v.query=="string"&&typeof v.scheme=="string"&&typeof v.fsPath=="string"&&typeof v.with=="function"&&typeof v.toString=="function"}get fsPath(){return y(this,!1)}with(v){if(!v)return this;let{scheme:A,authority:E,path:k,query:D,fragment:M}=v;return A===void 0?A=this.scheme:A===null&&(A=u),E===void 0?E=this.authority:E===null&&(E=u),k===void 0?k=this.path:k===null&&(k=u),D===void 0?D=this.query:D===null&&(D=u),M===void 0?M=this.fragment:M===null&&(M=u),A===this.scheme&&E===this.authority&&k===this.path&&D===this.query&&M===this.fragment?this:new w(A,E,k,D,M)}static parse(v,A=!1){const E=d.exec(v);return E?new w(E[2]||u,W(E[4]||u),W(E[5]||u),W(E[7]||u),W(E[9]||u),A):new w(u,u,u,u,u)}static file(v){let A=u;if(r&&(v=v.replace(/\\/g,c)),v[0]===c&&v[1]===c){const E=v.indexOf(c,2);E===-1?(A=v.substring(2),v=c):(A=v.substring(2,E),v=v.substring(E)||c)}return new w("file",A,v,u,u)}static from(v){const A=new w(v.scheme,v.authority,v.path,v.query,v.fragment);return o(A,!0),A}toString(v=!1){return L(this,v)}toJSON(){return this}static revive(v){if(v){if(v instanceof m)return v;{const A=new w(v);return A._formatted=v.external,A._fsPath=v._sep===f?v.fsPath:null,A}}return v}}const f=r?1:void 0;class w extends m{constructor(){super(...arguments);ke(this,"_formatted",null);ke(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=y(this,!1)),this._fsPath}toString(A=!1){return A?L(this,!0):(this._formatted||(this._formatted=L(this,!1)),this._formatted)}toJSON(){const A={$mid:1};return this._fsPath&&(A.fsPath=this._fsPath,A._sep=f),this._formatted&&(A.external=this._formatted),this.path&&(A.path=this.path),this.scheme&&(A.scheme=this.scheme),this.authority&&(A.authority=this.authority),this.query&&(A.query=this.query),this.fragment&&(A.fragment=this.fragment),A}}const p={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function x(S,v,A){let E,k=-1;for(let D=0;D<S.length;D++){const M=S.charCodeAt(D);if(M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||v&&M===47||A&&M===91||A&&M===93||A&&M===58)k!==-1&&(E+=encodeURIComponent(S.substring(k,D)),k=-1),E!==void 0&&(E+=S.charAt(D));else{E===void 0&&(E=S.substr(0,D));const F=p[M];F!==void 0?(k!==-1&&(E+=encodeURIComponent(S.substring(k,D)),k=-1),E+=F):k===-1&&(k=D)}}return k!==-1&&(E+=encodeURIComponent(S.substring(k))),E!==void 0?E:S}function T(S){let v;for(let A=0;A<S.length;A++){const E=S.charCodeAt(A);E===35||E===63?(v===void 0&&(v=S.substr(0,A)),v+=p[E]):v!==void 0&&(v+=S[A])}return v!==void 0?v:S}function y(S,v){let A;return A=S.authority&&S.path.length>1&&S.scheme==="file"?`//${S.authority}${S.path}`:S.path.charCodeAt(0)===47&&(S.path.charCodeAt(1)>=65&&S.path.charCodeAt(1)<=90||S.path.charCodeAt(1)>=97&&S.path.charCodeAt(1)<=122)&&S.path.charCodeAt(2)===58?v?S.path.substr(1):S.path[1].toLowerCase()+S.path.substr(2):S.path,r&&(A=A.replace(/\//g,"\\")),A}function L(S,v){const A=v?T:x;let E="",{scheme:k,authority:D,path:M,query:F,fragment:B}=S;if(k&&(E+=k,E+=":"),(D||k==="file")&&(E+=c,E+=c),D){let U=D.indexOf("@");if(U!==-1){const V=D.substr(0,U);D=D.substr(U+1),U=V.lastIndexOf(":"),U===-1?E+=A(V,!1,!1):(E+=A(V.substr(0,U),!1,!1),E+=":",E+=A(V.substr(U+1),!1,!0)),E+="@"}D=D.toLowerCase(),U=D.lastIndexOf(":"),U===-1?E+=A(D,!1,!0):(E+=A(D.substr(0,U),!1,!0),E+=D.substr(U))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){const U=M.charCodeAt(1);U>=65&&U<=90&&(M=`/${String.fromCharCode(U+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){const U=M.charCodeAt(0);U>=65&&U<=90&&(M=`${String.fromCharCode(U+32)}:${M.substr(2)}`)}E+=A(M,!0,!1)}return F&&(E+="?",E+=A(F,!1,!1)),B&&(E+="#",E+=v?B:x(B,!1,!1)),E}function I(S){try{return decodeURIComponent(S)}catch{return S.length>3?S.substr(0,3)+I(S.substr(3)):S}}const H=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function W(S){return S.match(H)?S.replace(H,v=>I(v)):S}var b=n(470);const g=b.posix||b,_="/";var N;(function(S){S.joinPath=function(v,...A){return v.with({path:g.join(v.path,...A)})},S.resolvePath=function(v,...A){let E=v.path,k=!1;E[0]!==_&&(E=_+E,k=!0);let D=g.resolve(E,...A);return k&&D[0]===_&&!v.authority&&(D=D.substring(1)),v.with({path:D})},S.dirname=function(v){if(v.path.length===0||v.path===_)return v;let A=g.dirname(v.path);return A.length===1&&A.charCodeAt(0)===46&&(A=""),v.with({path:A})},S.basename=function(v){return g.basename(v.path)},S.extname=function(v){return g.extname(v.path)}})(N||(N={}))})(),_o=i})();const{URI:oh,Utils:Nh}=_o;function ji(e){const t=e[0],n=e[e.length-1];return t===n&&(t==="'"||t==='"')&&(e=e.substring(1,e.length-1)),e}function lh(e,t){return!e.length||t==="handlebars"&&/{{|}}/.test(e)?!1:/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(e)}function uh(e,t,n,i){if(/^\s*javascript\:/i.test(t)||/[\n\r]/.test(t))return;t=t.replace(/^\s*/g,"");const r=t.match(/^(\w[\w\d+.-]*):/);if(r){const s=r[1].toLowerCase();return s==="http"||s==="https"||s==="file"?t:void 0}return/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(Je(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}function ch(e,t,n,i,r,s){const a=ji(n);if(!lh(a,e.languageId))return;a.length<n.length&&(i++,r--);const l=uh(e.uri,a,t,s);if(!l)return;const o=dh(l,e);return{range:J.create(e.positionAt(i),e.positionAt(r)),target:o}}const hh="#".charCodeAt(0);function dh(e,t){try{let n=oh.parse(e);return n.scheme==="file"&&n.query&&(n=n.with({query:null}),e=n.toString(!0)),n.scheme==="file"&&n.fragment&&!(e.startsWith(t.uri)&&e.charCodeAt(t.uri.length)===hh)?n.with({fragment:null}).toString(!0):e}catch{return}}class mh{constructor(t){this.dataManager=t}findDocumentLinks(t,n){const i=[],r=ge(t.getText(),0);let s=r.scan(),a,l,o=!1,u;const c={};for(;s!==z.EOS;){switch(s){case z.StartTag:l=r.getTokenText().toLowerCase(),u||(o=l==="base");break;case z.AttributeName:a=r.getTokenText().toLowerCase();break;case z.AttributeValue:if(l&&a&&this.dataManager.isPathAttribute(l,a)){const d=r.getTokenText();if(!o){const m=ch(t,n,d,r.getTokenOffset(),r.getTokenEnd(),u);m&&i.push(m)}o&&typeof u>"u"&&(u=ji(d),u&&n&&(u=n.resolveReference(u,t.uri))),o=!1,a=void 0}else if(a==="id"){const d=ji(r.getTokenText());c[d]=r.getTokenOffset()}break}s=r.scan()}for(const d of i){const m=t.uri+"#";if(d.target&&Je(d.target,m)){const f=d.target.substring(m.length),w=c[f];if(w!==void 0){const p=t.positionAt(w);d.target=`${m}${p.line+1},${p.character+1}`}else d.target=t.uri}}return i}}function fh(e,t,n){const i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];const s=[],a=To(z.StartTag,e,r.start),l=typeof r.endTagStart=="number"&&To(z.EndTag,e,r.endTagStart);return(a&&yo(a,t)||l&&yo(l,t))&&(a&&s.push({kind:yn.Read,range:a}),l&&s.push({kind:yn.Read,range:l})),s}function vo(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function yo(e,t){return vo(e.start,t)&&vo(t,e.end)}function To(e,t,n){const i=ge(t.getText(),n);let r=i.scan();for(;r!==z.EOS&&r!==e;)r=i.scan();return r!==z.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function ph(e,t){const n=[],i=xo(e,t);for(const s of i)r(s,void 0);return n;function r(s,a){var o;const l=Hi.create(s.name,s.kind,s.range,e.uri,a==null?void 0:a.name);if((o=l.containerName)!=null||(l.containerName=""),n.push(l),s.children)for(const u of s.children)r(u,s)}}function xo(e,t){const n=[];return t.roots.forEach(i=>{ko(e,i,n)}),n}function ko(e,t,n){const i=gh(t),r=J.create(e.positionAt(t.start),e.positionAt(t.end)),s=Ui.create(i,void 0,zi.Field,r,r);n.push(s),t.children.forEach(a=>{var l;(l=s.children)!=null||(s.children=[]),ko(e,a,s.children)})}function gh(e){let t=e.tag;if(e.attributes){const n=e.attributes.id,i=e.attributes.class;n&&(t+=`#${n.replace(/[\"\']/g,"")}`),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map(r=>`.${r}`).join(""))}return t||"?"}function bh(e,t,n,i){const r=e.offsetAt(t),s=i.findNodeAt(r);if(!s.tag||!wh(s,r,s.tag))return null;const a=[],l={start:e.positionAt(s.start+1),end:e.positionAt(s.start+1+s.tag.length)};if(a.push({range:l,newText:n}),s.endTagStart){const u={start:e.positionAt(s.endTagStart+2),end:e.positionAt(s.endTagStart+2+s.tag.length)};a.push({range:u,newText:n})}return{changes:{[e.uri.toString()]:a}}}function wh(e,t,n){return e.endTagStart&&e.endTagStart+2<=t&&t<=e.endTagStart+2+n.length?!0:e.start+1<=t&&t<=e.start+1+n.length}function _h(e,t,n){const i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag||!r.endTagStart)return null;if(r.start+1<=i&&i<=r.start+1+r.tag.length){const s=i-1-r.start+r.endTagStart+2;return e.positionAt(s)}if(r.endTagStart+2<=i&&i<=r.endTagStart+2+r.tag.length){const s=i-2-r.endTagStart+r.start+1;return e.positionAt(s)}return null}function So(e,t,n){const i=e.offsetAt(t),r=n.findNodeAt(i),s=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+1<=i&&i<=r.start+1+s||r.endTagStart+2<=i&&i<=r.endTagStart+2+s)?[J.create(e.positionAt(r.start+1),e.positionAt(r.start+1+s)),J.create(e.positionAt(r.endTagStart+2),e.positionAt(r.endTagStart+2+s))]:null}class vh{constructor(t){this.dataManager=t}limitRanges(t,n){t=t.sort((d,m)=>{let f=d.startLine-m.startLine;return f===0&&(f=d.endLine-m.endLine),f});let i;const r=[],s=[],a=[],l=(d,m)=>{s[d]=m,m<30&&(a[m]=(a[m]||0)+1)};for(let d=0;d<t.length;d++){const m=t[d];if(!i)i=m,l(d,0);else if(m.startLine>i.startLine){if(m.endLine<=i.endLine)r.push(i),i=m,l(d,r.length);else if(m.startLine>i.endLine){do i=r.pop();while(i&&m.startLine>i.endLine);i&&r.push(i),i=m,l(d,r.length)}}}let o=0,u=0;for(let d=0;d<a.length;d++){const m=a[d];if(m){if(m+o>n){u=d;break}o+=m}}const c=[];for(let d=0;d<t.length;d++){const m=s[d];typeof m=="number"&&(m<u||m===u&&o++<n)&&c.push(t[d])}return c}getFoldingRanges(t,n){const i=this.dataManager.getVoidElements(t.languageId),r=ge(t.getText());let s=r.scan();const a=[],l=[];let o=null,u=-1;function c(m){a.push(m),u=m.startLine}for(;s!==z.EOS;){switch(s){case z.StartTag:{const m=r.getTokenText(),f=t.positionAt(r.getTokenOffset()).line;l.push({startLine:f,tagName:m}),o=m;break}case z.EndTag:{o=r.getTokenText();break}case z.StartTagClose:if(!o||!this.dataManager.isVoidElement(o,i))break;case z.EndTagClose:case z.StartTagSelfClose:{let m=l.length-1;for(;m>=0&&l[m].tagName!==o;)m--;if(m>=0){const f=l[m];l.length=m;const w=t.positionAt(r.getTokenOffset()).line,p=f.startLine,x=w-1;x>p&&u!==p&&c({startLine:p,endLine:x})}break}case z.Comment:{let m=t.positionAt(r.getTokenOffset()).line;const w=r.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(w)if(w[1])l.push({startLine:m,tagName:""});else{let p=l.length-1;for(;p>=0&&l[p].tagName.length;)p--;if(p>=0){const x=l[p];l.length=p;const T=m;m=x.startLine,T>m&&u!==m&&c({startLine:m,endLine:T,kind:wn.Region})}}else{const p=t.positionAt(r.getTokenOffset()+r.getTokenLength()).line;m<p&&c({startLine:m,endLine:p,kind:wn.Comment})}break}}s=r.scan()}const d=n&&n.rangeLimit||Number.MAX_VALUE;return a.length>d?this.limitRanges(a,d):a}}class yh{constructor(t){this.htmlParser=t}getSelectionRanges(t,n){const i=this.htmlParser.parseDocument(t);return n.map(r=>this.getSelectionRange(r,t,i))}getSelectionRange(t,n,i){const r=this.getApplicableRanges(n,t,i);let s,a;for(let l=r.length-1;l>=0;l--){const o=r[l];(!s||o[0]!==s[0]||o[1]!==s[1])&&(a=xn.create(J.create(n.positionAt(r[l][0]),n.positionAt(r[l][1])),a)),s=o}return a||(a=xn.create(J.create(t,t))),a}getApplicableRanges(t,n,i){const r=t.offsetAt(n),s=i.findNodeAt(r);let a=this.getAllParentTagRanges(s);if(s.startTagEnd&&!s.endTagStart){if(s.startTagEnd!==s.end)return[[s.start,s.end]];const l=J.create(t.positionAt(s.startTagEnd-2),t.positionAt(s.startTagEnd));return t.getText(l)==="/>"?a.unshift([s.start+1,s.startTagEnd-2]):a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(t,s,r).concat(a),a}return!s.startTagEnd||!s.endTagStart?a:(a.unshift([s.start,s.end]),s.start<r&&r<s.startTagEnd?(a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(t,s,r).concat(a),a):s.startTagEnd<=r&&r<=s.endTagStart?(a.unshift([s.startTagEnd,s.endTagStart]),a):(r>=s.endTagStart+2&&a.unshift([s.endTagStart+2,s.end-1]),a))}getAllParentTagRanges(t){let n=t;const i=[];for(;n.parent;)n=n.parent,this.getNodeRanges(n).forEach(r=>i.push(r));return i}getNodeRanges(t){return t.startTagEnd&&t.endTagStart&&t.startTagEnd<t.endTagStart?[[t.startTagEnd,t.endTagStart],[t.start,t.end]]:[[t.start,t.end]]}getAttributeLevelRanges(t,n,i){const r=J.create(t.positionAt(n.start),t.positionAt(n.end)),s=t.getText(r),a=i-n.start,l=ge(s);let o=l.scan();const u=n.start,c=[];let d=!1,m=-1;for(;o!==z.EOS;){switch(o){case z.AttributeName:{if(a<l.getTokenOffset()){d=!1;break}a<=l.getTokenEnd()&&c.unshift([l.getTokenOffset(),l.getTokenEnd()]),d=!0,m=l.getTokenOffset();break}case z.AttributeValue:{if(!d)break;const f=l.getTokenText();if(a<l.getTokenOffset()){c.push([m,l.getTokenEnd()]);break}a>=l.getTokenOffset()&&a<=l.getTokenEnd()&&(c.unshift([l.getTokenOffset(),l.getTokenEnd()]),(f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'")&&a>=l.getTokenOffset()+1&&a<=l.getTokenEnd()-1&&c.unshift([l.getTokenOffset()+1,l.getTokenEnd()-1]),c.push([m,l.getTokenEnd()]));break}}o=l.scan()}return c.map(f=>[f[0]+u,f[1]+u])}}const Th={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",valueSet:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},void:!0,attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.
73
73
 
74
74
  This metadata name is associated with the value contained by the [\`content\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:
75
75
 
@@ -469,4 +469,4 @@ See [Browser compatibility](#Browser_compatibility) for notes on browser support
469
469
 
470
470
  * a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;
471
471
  * \`0\` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;
472
- * a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]}]};class Sh{constructor(t){this.dataProviders=[],this.setDataProviders(t.useDefaultDataProvider!==!1,t.customDataProviders||[])}setDataProviders(t,n){this.dataProviders=[],t&&this.dataProviders.push(new po("html5",kh)),this.dataProviders.push(...n)}getDataProviders(){return this.dataProviders}isVoidElement(t,n){return!!t&&Nc(n,t.toLowerCase(),(i,r)=>i.localeCompare(r))>=0}getVoidElements(t){const n=Array.isArray(t)?t:this.getDataProviders().filter(r=>r.isApplicable(t)),i=[];return n.forEach(r=>{r.provideTags().filter(s=>s.void).forEach(s=>i.push(s.name))}),i.sort()}isPathAttribute(t,n){if(n==="src"||n==="href")return!0;const i=Ah[t];return i?typeof i=="string"?i===n:i.indexOf(n)!==-1:!1}}const Ah={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},Lh={};function Ch(e=Lh){const t=new Sh(e),n=new eh(e,t),i=new Yc(e,t),r=new Ic(t),s=new xh(r),a=new Th(t),l=new ph(t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:be,parseHTMLDocument:r.parseDocument.bind(r),doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:sh,findDocumentHighlights:gh,findDocumentLinks:l.findDocumentLinks.bind(l),findDocumentSymbols:bh,findDocumentSymbols2:So,getFoldingRanges:a.getFoldingRanges.bind(a),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:i.doQuoteComplete.bind(i),doTagComplete:i.doTagComplete.bind(i),doRename:_h,findMatchingTagPosition:yh,findOnTypeRenameRanges:Lo,findLinkedEditingRanges:Lo}}function Eh(e,t){return new po(e,t)}class Dh{constructor(t,n){Se(this,"_ctx");Se(this,"_languageService");Se(this,"_languageSettings");Se(this,"_languageId");this._ctx=t,this._languageSettings=n.languageSettings,this._languageId=n.languageId;const i=this._languageSettings.data,r=i==null?void 0:i.useDefaultDataProvider,s=[];if(i!=null&&i.dataProviders)for(const a in i.dataProviders)s.push(Eh(a,i.dataProviders[a]));this._languageService=Ch({useDefaultDataProvider:r,customDataProviders:s})}async doComplete(t,n){let i=this._getTextDocument(t);if(!i)return null;let r=this._languageService.parseHTMLDocument(i);return Promise.resolve(this._languageService.doComplete(i,n,r,this._languageSettings&&this._languageSettings.suggest))}async format(t,n,i){let r=this._getTextDocument(t);if(!r)return[];let s={...this._languageSettings.format,...i},a=this._languageService.format(r,n,s);return Promise.resolve(a)}async doHover(t,n){let i=this._getTextDocument(t);if(!i)return null;let r=this._languageService.parseHTMLDocument(i),s=this._languageService.doHover(i,n,r);return Promise.resolve(s)}async findDocumentHighlights(t,n){let i=this._getTextDocument(t);if(!i)return[];let r=this._languageService.parseHTMLDocument(i),s=this._languageService.findDocumentHighlights(i,n,r);return Promise.resolve(s)}async findDocumentLinks(t){let n=this._getTextDocument(t);if(!n)return[];let i=this._languageService.findDocumentLinks(n,null);return Promise.resolve(i)}async findDocumentSymbols(t){let n=this._getTextDocument(t);if(!n)return[];let i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentSymbols(n,i);return Promise.resolve(r)}async getFoldingRanges(t,n){let i=this._getTextDocument(t);if(!i)return[];let r=this._languageService.getFoldingRanges(i,n);return Promise.resolve(r)}async getSelectionRanges(t,n){let i=this._getTextDocument(t);if(!i)return[];let r=this._languageService.getSelectionRanges(i,n);return Promise.resolve(r)}async doRename(t,n,i){let r=this._getTextDocument(t);if(!r)return null;let s=this._languageService.parseHTMLDocument(r),a=this._languageService.doRename(r,n,i,s);return Promise.resolve(a)}_getTextDocument(t){let n=this._ctx.getMirrorModels();for(let i of n)if(i.uri.toString()===t)return Bi.create(t,this._languageId,i.version,i.getValue());return null}}self.onmessage=()=>{_c((e,t)=>new Dh(e,t))}})();
472
+ * a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]}]};class xh{constructor(t){this.dataProviders=[],this.setDataProviders(t.useDefaultDataProvider!==!1,t.customDataProviders||[])}setDataProviders(t,n){this.dataProviders=[],t&&this.dataProviders.push(new mo("html5",Th)),this.dataProviders.push(...n)}getDataProviders(){return this.dataProviders}isVoidElement(t,n){return!!t&&Rc(n,t.toLowerCase(),(i,r)=>i.localeCompare(r))>=0}getVoidElements(t){const n=Array.isArray(t)?t:this.getDataProviders().filter(r=>r.isApplicable(t)),i=[];return n.forEach(r=>{r.provideTags().filter(s=>s.void).forEach(s=>i.push(s.name))}),i.sort()}isPathAttribute(t,n){if(n==="src"||n==="href")return!0;const i=kh[t];return i?typeof i=="string"?i===n:i.indexOf(n)!==-1:!1}}const kh={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},Sh={};function Ah(e=Sh){const t=new xh(e),n=new Zc(e,t),i=new Xc(e,t),r=new Mc(t),s=new yh(r),a=new vh(t),l=new mh(t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:ge,parseHTMLDocument:r.parseDocument.bind(r),doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:ih,findDocumentHighlights:fh,findDocumentLinks:l.findDocumentLinks.bind(l),findDocumentSymbols:ph,findDocumentSymbols2:xo,getFoldingRanges:a.getFoldingRanges.bind(a),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:i.doQuoteComplete.bind(i),doTagComplete:i.doTagComplete.bind(i),doRename:bh,findMatchingTagPosition:_h,findOnTypeRenameRanges:So,findLinkedEditingRanges:So}}function Lh(e,t){return new mo(e,t)}class Ch{constructor(t,n){ke(this,"_ctx");ke(this,"_languageService");ke(this,"_languageSettings");ke(this,"_languageId");this._ctx=t,this._languageSettings=n.languageSettings,this._languageId=n.languageId;const i=this._languageSettings.data,r=i==null?void 0:i.useDefaultDataProvider,s=[];if(i!=null&&i.dataProviders)for(const a in i.dataProviders)s.push(Lh(a,i.dataProviders[a]));this._languageService=Ah({useDefaultDataProvider:r,customDataProviders:s})}async doComplete(t,n){let i=this._getTextDocument(t);if(!i)return null;let r=this._languageService.parseHTMLDocument(i);return Promise.resolve(this._languageService.doComplete(i,n,r,this._languageSettings&&this._languageSettings.suggest))}async format(t,n,i){let r=this._getTextDocument(t);if(!r)return[];let s={...this._languageSettings.format,...i},a=this._languageService.format(r,n,s);return Promise.resolve(a)}async doHover(t,n){let i=this._getTextDocument(t);if(!i)return null;let r=this._languageService.parseHTMLDocument(i),s=this._languageService.doHover(i,n,r);return Promise.resolve(s)}async findDocumentHighlights(t,n){let i=this._getTextDocument(t);if(!i)return[];let r=this._languageService.parseHTMLDocument(i),s=this._languageService.findDocumentHighlights(i,n,r);return Promise.resolve(s)}async findDocumentLinks(t){let n=this._getTextDocument(t);if(!n)return[];let i=this._languageService.findDocumentLinks(n,null);return Promise.resolve(i)}async findDocumentSymbols(t){let n=this._getTextDocument(t);if(!n)return[];let i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentSymbols(n,i);return Promise.resolve(r)}async getFoldingRanges(t,n){let i=this._getTextDocument(t);if(!i)return[];let r=this._languageService.getFoldingRanges(i,n);return Promise.resolve(r)}async getSelectionRanges(t,n){let i=this._getTextDocument(t);if(!i)return[];let r=this._languageService.getSelectionRanges(i,n);return Promise.resolve(r)}async doRename(t,n,i){let r=this._getTextDocument(t);if(!r)return null;let s=this._languageService.parseHTMLDocument(r),a=this._languageService.doRename(r,n,i,s);return Promise.resolve(a)}_getTextDocument(t){let n=this._ctx.getMirrorModels();for(let i of n)if(i.uri.toString()===t)return Pi.create(t,this._languageId,i.version,i.getValue());return null}}self.onmessage=()=>{bc((e,t)=>new Ch(e,t))}})();