@ashwin_droid/notion-stream 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (730) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +418 -0
  3. package/dist/_baseUniq-CT-tc-CG.mjs +477 -0
  4. package/dist/_baseUniq-DSwfPiGC.js +1 -0
  5. package/dist/abap-DV7Q1lGP.js +1 -0
  6. package/dist/abap-Y8Dl9g_6.mjs +6 -0
  7. package/dist/actionscript-3-DXOxkRa2.js +1 -0
  8. package/dist/actionscript-3-DZzbMeqX.mjs +6 -0
  9. package/dist/ada-D46EKCNf.js +1 -0
  10. package/dist/ada-vP6ak0IW.mjs +6 -0
  11. package/dist/andromeeda-BIpZ7gaU.mjs +4 -0
  12. package/dist/andromeeda-DVDxRwp5.js +1 -0
  13. package/dist/angular-html-DxvPVw44.mjs +32 -0
  14. package/dist/angular-html-JXV_E8IE.js +1 -0
  15. package/dist/angular-ts-CV6bdmcc.mjs +21 -0
  16. package/dist/angular-ts-ul8EvQZm.js +1 -0
  17. package/dist/apache-BUjz-sD2.mjs +6 -0
  18. package/dist/apache-DL1xuH1f.js +1 -0
  19. package/dist/apex-6AM9YZbQ.js +1 -0
  20. package/dist/apex-OyTfjCYK.mjs +6 -0
  21. package/dist/apl-BdW4yp7x.js +1 -0
  22. package/dist/apl-Cl3ewf1P.mjs +16 -0
  23. package/dist/applescript-BPx7YFFu.mjs +6 -0
  24. package/dist/applescript-COilsSrZ.js +1 -0
  25. package/dist/ara-B6Lpq1YJ.js +1 -0
  26. package/dist/ara-Z2fSOxSw.mjs +6 -0
  27. package/dist/arc-BBnIBs2j.js +1 -0
  28. package/dist/arc-DmoYXidQ.mjs +83 -0
  29. package/dist/architecture-U656AL7Q-C0ZB2O9M.js +1 -0
  30. package/dist/architecture-U656AL7Q-CMPtJMZ-.mjs +5 -0
  31. package/dist/architectureDiagram-VXUJARFQ-BPQoZmaM.js +36 -0
  32. package/dist/architectureDiagram-VXUJARFQ-BYzpbF40.mjs +4665 -0
  33. package/dist/asciidoc-B-pCoB3G.mjs +6 -0
  34. package/dist/asciidoc-DcKqW72n.js +1 -0
  35. package/dist/asm-BTWLY5ym.mjs +6 -0
  36. package/dist/asm-DYMFy-sD.js +1 -0
  37. package/dist/astro-BAqad-WM.js +1 -0
  38. package/dist/astro-CMhPddqn.mjs +18 -0
  39. package/dist/aurora-x-BwoVEUWZ.mjs +4 -0
  40. package/dist/aurora-x-C5IpmIOG.js +1 -0
  41. package/dist/awk-Fb0P9dkn.mjs +6 -0
  42. package/dist/awk-IEszImW6.js +1 -0
  43. package/dist/ayu-dark-CDpQIJw4.js +1 -0
  44. package/dist/ayu-dark-DG7aLdHp.mjs +4 -0
  45. package/dist/ballerina-Dr6dU4hP.js +1 -0
  46. package/dist/ballerina-oZK-YekG.mjs +6 -0
  47. package/dist/bat-0FvbqU9S.mjs +6 -0
  48. package/dist/bat-DGkUhhn2.js +1 -0
  49. package/dist/beancount-Bv1Sweoy.js +1 -0
  50. package/dist/beancount-DqJEb89h.mjs +6 -0
  51. package/dist/berry-DEMs4LK_.js +1 -0
  52. package/dist/berry-DODBq_Ff.mjs +6 -0
  53. package/dist/bibtex-BgA36Z3k.js +1 -0
  54. package/dist/bibtex-EULQRLY5.mjs +6 -0
  55. package/dist/bicep-BorU73w0.mjs +6 -0
  56. package/dist/bicep-DL0zb-7W.js +1 -0
  57. package/dist/blade-Cg1_QHbH.mjs +20 -0
  58. package/dist/blade-CgjUlvXO.js +1 -0
  59. package/dist/blockDiagram-VD42YOAC-DPVTCHn5.mjs +2265 -0
  60. package/dist/blockDiagram-VD42YOAC-Z3Fc3Bew.js +122 -0
  61. package/dist/bsl-Dy8wYKq-.mjs +8 -0
  62. package/dist/bsl-MeEzPwnu.js +1 -0
  63. package/dist/c-CtlmKnPF.js +1 -0
  64. package/dist/c-eeMepfLm.mjs +6 -0
  65. package/dist/c3-Bt581sCe.mjs +6 -0
  66. package/dist/c3-DtfRRWXN.js +1 -0
  67. package/dist/c4Diagram-YG6GDRKO-C2Y4q08p.mjs +1581 -0
  68. package/dist/c4Diagram-YG6GDRKO-LzDuCZ2V.js +10 -0
  69. package/dist/cadence-02UX7mW8.mjs +6 -0
  70. package/dist/cadence-DcbmM5v3.js +1 -0
  71. package/dist/cairo-Bl3vCTfQ.js +1 -0
  72. package/dist/cairo-DRXAUnCM.mjs +8 -0
  73. package/dist/catppuccin-frappe-Bn4lgmUk.js +1 -0
  74. package/dist/catppuccin-frappe-D3cH2rXe.mjs +4 -0
  75. package/dist/catppuccin-latte-BPtsb8jD.js +1 -0
  76. package/dist/catppuccin-latte-C0LRGUW4.mjs +4 -0
  77. package/dist/catppuccin-macchiato-BLfpQWhT.js +1 -0
  78. package/dist/catppuccin-macchiato-c5wQ11TT.mjs +4 -0
  79. package/dist/catppuccin-mocha-COMta283.js +1 -0
  80. package/dist/catppuccin-mocha-WMD6Qvya.mjs +4 -0
  81. package/dist/channel-6dUO0MQi.js +1 -0
  82. package/dist/channel-DVpqhnow.mjs +5 -0
  83. package/dist/chunk-4BX2VUAB-BwubFldI.js +1 -0
  84. package/dist/chunk-4BX2VUAB-DldMXCTt.mjs +9 -0
  85. package/dist/chunk-55IACEB6-Du1Simcj.mjs +8 -0
  86. package/dist/chunk-55IACEB6-P_FVKIbW.js +1 -0
  87. package/dist/chunk-B4BG7PRW-BUKsa2yH.mjs +1376 -0
  88. package/dist/chunk-B4BG7PRW-CKX0VJ-S.js +165 -0
  89. package/dist/chunk-DI55MBZ5-C9h0qLVI.mjs +1382 -0
  90. package/dist/chunk-DI55MBZ5-CMq-O8k2.js +220 -0
  91. package/dist/chunk-FMBD7UC4-48-zdz-1.js +15 -0
  92. package/dist/chunk-FMBD7UC4-C08-zA06.mjs +19 -0
  93. package/dist/chunk-QN33PNHL-B0sO38bZ.js +1 -0
  94. package/dist/chunk-QN33PNHL-B_PGnTkk.mjs +20 -0
  95. package/dist/chunk-QZHKN3VN-DbO6TJSK.mjs +15 -0
  96. package/dist/chunk-QZHKN3VN-Dy2264ui.js +1 -0
  97. package/dist/chunk-TZMSLE5B-BPmI9i6R.mjs +64 -0
  98. package/dist/chunk-TZMSLE5B-COENnLAZ.js +1 -0
  99. package/dist/clarity-PKm5CwqM.mjs +6 -0
  100. package/dist/clarity-gPuvqtpF.js +1 -0
  101. package/dist/classDiagram-2ON5EDUG-CFFwYK87.js +1 -0
  102. package/dist/classDiagram-2ON5EDUG-mzvV1Ifg.mjs +16 -0
  103. package/dist/classDiagram-v2-WZHVMYZB-CFFwYK87.js +1 -0
  104. package/dist/classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs +16 -0
  105. package/dist/clojure-CXJfHrL3.mjs +6 -0
  106. package/dist/clojure-OUsr1SUl.js +1 -0
  107. package/dist/clone-B0UaPT2Z.js +1 -0
  108. package/dist/clone-KtLCwiKH.mjs +8 -0
  109. package/dist/cmake-BJz8BOTU.mjs +6 -0
  110. package/dist/cmake-jM6P58qY.js +1 -0
  111. package/dist/cobol-C86Guwll.mjs +10 -0
  112. package/dist/cobol-DReJOyN2.js +1 -0
  113. package/dist/code-block-37QAKDTI-CmykMxjQ.mjs +27 -0
  114. package/dist/code-block-37QAKDTI-sxlq94xm.js +2 -0
  115. package/dist/codeowners-Bt9yU6NX.mjs +6 -0
  116. package/dist/codeowners-QhPK6lIJ.js +1 -0
  117. package/dist/codeql-D9-TdUN8.js +1 -0
  118. package/dist/codeql-DHkodjjI.mjs +6 -0
  119. package/dist/coffee-CUyQUc3M.js +1 -0
  120. package/dist/coffee-Q-gFdR7e.mjs +8 -0
  121. package/dist/common-lisp-C77gR-8i.js +1 -0
  122. package/dist/common-lisp-EVqT9Zhp.mjs +6 -0
  123. package/dist/components/Block.d.ts +16 -0
  124. package/dist/components/FloatingToolbar.d.ts +8 -0
  125. package/dist/components/LinkModal.d.ts +8 -0
  126. package/dist/components/NotionStream.d.ts +3 -0
  127. package/dist/components/SlashMenu.d.ts +17 -0
  128. package/dist/components/blocks/BlockquoteBlock.d.ts +13 -0
  129. package/dist/components/blocks/CodeBlock.d.ts +14 -0
  130. package/dist/components/blocks/DividerBlock.d.ts +13 -0
  131. package/dist/components/blocks/HeadingBlock.d.ts +13 -0
  132. package/dist/components/blocks/ImageBlock.d.ts +13 -0
  133. package/dist/components/blocks/InlineEditableBlock.d.ts +18 -0
  134. package/dist/components/blocks/ListBlock.d.ts +13 -0
  135. package/dist/components/blocks/MathBlock.d.ts +14 -0
  136. package/dist/components/blocks/MermaidBlock.d.ts +14 -0
  137. package/dist/components/blocks/ParagraphBlock.d.ts +13 -0
  138. package/dist/components/blocks/TableBlock.d.ts +14 -0
  139. package/dist/components/blocks/index.d.ts +10 -0
  140. package/dist/coq-B0L9upzn.mjs +6 -0
  141. package/dist/coq-vlPdR5hP.js +1 -0
  142. package/dist/cose-bilkent-S5V4N54A-BCaAPmuF.js +1 -0
  143. package/dist/cose-bilkent-S5V4N54A-BXcldnso.mjs +2605 -0
  144. package/dist/cpp-CGueNrnV.mjs +18 -0
  145. package/dist/cpp-ChNdME6I.js +1 -0
  146. package/dist/crystal-CVTji_sR.js +1 -0
  147. package/dist/crystal-CrVA7iLE.mjs +18 -0
  148. package/dist/csharp-BUkAIRXW.js +1 -0
  149. package/dist/csharp-C7yUs7-w.mjs +6 -0
  150. package/dist/css-CECN5uSL.mjs +6 -0
  151. package/dist/css-Do0mp2lm.js +1 -0
  152. package/dist/csv-CmYOceLb.mjs +6 -0
  153. package/dist/csv-DiEdJzSJ.js +1 -0
  154. package/dist/cue-D1vJRJEx.js +1 -0
  155. package/dist/cue-ZzumE7IT.mjs +6 -0
  156. package/dist/cypher-atSM3NsM.js +1 -0
  157. package/dist/cypher-jpdmjtA6.mjs +6 -0
  158. package/dist/cytoscape.esm-DkGgpG6d.js +331 -0
  159. package/dist/cytoscape.esm-ZmItrg9y.mjs +18731 -0
  160. package/dist/d-2qe3NhmZ.js +1 -0
  161. package/dist/d-CBagWSwH.mjs +6 -0
  162. package/dist/dagre-6UL2VRFP-By42zbLA.mjs +446 -0
  163. package/dist/dagre-6UL2VRFP-DCwfkcWi.js +4 -0
  164. package/dist/dark-plus-Cd5emcYO.js +1 -0
  165. package/dist/dark-plus-pUHDTVV0.mjs +4 -0
  166. package/dist/dart-6ObCrKr9.mjs +6 -0
  167. package/dist/dart-Ds0_0fwe.js +1 -0
  168. package/dist/dax-CcDT-8dH.mjs +6 -0
  169. package/dist/dax-DbkQa40E.js +1 -0
  170. package/dist/defaultLocale-BgPVtth8.mjs +171 -0
  171. package/dist/defaultLocale-C4wbwF1n.js +1 -0
  172. package/dist/desktop-B93p9R9O.mjs +6 -0
  173. package/dist/desktop-tn3MFXCZ.js +1 -0
  174. package/dist/diagram-PSM6KHXK-DIV3jw9d.mjs +534 -0
  175. package/dist/diagram-PSM6KHXK-hjXN9n1N.js +24 -0
  176. package/dist/diagram-QEK2KX5R-B04ODMim.js +43 -0
  177. package/dist/diagram-QEK2KX5R-Q0M2_YtR.mjs +221 -0
  178. package/dist/diagram-S2PKOQOG-BmCs4MZE.js +24 -0
  179. package/dist/diagram-S2PKOQOG-_WGA6s2-.mjs +143 -0
  180. package/dist/diff-BxzP2J8R.mjs +6 -0
  181. package/dist/diff-CA31fCOg.js +1 -0
  182. package/dist/docker-CsHqm9tx.mjs +6 -0
  183. package/dist/docker-zJpMwmYa.js +1 -0
  184. package/dist/dotenv-BMjVjUL1.mjs +6 -0
  185. package/dist/dotenv-DpcNCNek.js +1 -0
  186. package/dist/dracula-BNgwAJ-d.js +1 -0
  187. package/dist/dracula-BtZx2Kac.mjs +4 -0
  188. package/dist/dracula-soft-BHZ7sHFu.js +1 -0
  189. package/dist/dracula-soft-BKa-aqBv.mjs +4 -0
  190. package/dist/dream-maker-BkijXDkm.js +1 -0
  191. package/dist/dream-maker-PAx17jaB.mjs +6 -0
  192. package/dist/edge-B28yp_Zk.js +1 -0
  193. package/dist/edge-CBKv6mfK.mjs +12 -0
  194. package/dist/elixir-D7-1KNL2.js +1 -0
  195. package/dist/elixir-rttMGqaI.mjs +8 -0
  196. package/dist/elm-BkJa-nJb.js +1 -0
  197. package/dist/elm-DCe9MkDR.mjs +8 -0
  198. package/dist/emacs-lisp-C1UCIjUO.js +1 -0
  199. package/dist/emacs-lisp-Cfxdx5D-.mjs +6 -0
  200. package/dist/erDiagram-Q2GNP2WA-4KtQUUuI.js +60 -0
  201. package/dist/erDiagram-Q2GNP2WA-CW0D_QGb.mjs +842 -0
  202. package/dist/erb-BTG3NMrz.mjs +10 -0
  203. package/dist/erb-DJ1tHjRo.js +1 -0
  204. package/dist/erlang-CxyQpgjh.mjs +8 -0
  205. package/dist/erlang-DztDLzIS.js +1 -0
  206. package/dist/everforest-dark-DMCBqXCK.mjs +4 -0
  207. package/dist/everforest-dark-_sBMomR1.js +1 -0
  208. package/dist/everforest-light-BbXl82Em.mjs +4 -0
  209. package/dist/everforest-light-H0xoYxl0.js +1 -0
  210. package/dist/fennel-Bz9-EMMc.js +1 -0
  211. package/dist/fennel-N4WcXuKx.mjs +6 -0
  212. package/dist/fish-BTDEUgqH.mjs +6 -0
  213. package/dist/fish-DwmQKRZi.js +1 -0
  214. package/dist/flowDiagram-NV44I4VS-BwpfJE0U.js +162 -0
  215. package/dist/flowDiagram-NV44I4VS-DVQ8Ntc4.mjs +1627 -0
  216. package/dist/fluent-BMXUxfv1.mjs +6 -0
  217. package/dist/fluent-CJtpNuaO.js +1 -0
  218. package/dist/fortran-fixed-form-CM5372im.js +1 -0
  219. package/dist/fortran-fixed-form-CYWf1Rx6.mjs +8 -0
  220. package/dist/fortran-free-form-Cs4ztolN.js +1 -0
  221. package/dist/fortran-free-form-CwqYvCLJ.mjs +6 -0
  222. package/dist/fsharp-C8GKou_e.js +1 -0
  223. package/dist/fsharp-DlcX35ZM.mjs +8 -0
  224. package/dist/ganttDiagram-JELNMOA3-Bk-dX6qT.mjs +2662 -0
  225. package/dist/ganttDiagram-JELNMOA3-D7rI7u8B.js +267 -0
  226. package/dist/gdresource-Bx-5U3z2.js +1 -0
  227. package/dist/gdresource-CyVuoaDS.mjs +10 -0
  228. package/dist/gdscript-BifyeYhI.mjs +6 -0
  229. package/dist/gdscript-DSegQKMB.js +1 -0
  230. package/dist/gdshader-Bk8fF6yr.mjs +6 -0
  231. package/dist/gdshader-DsmqQl4t.js +1 -0
  232. package/dist/genie-Dy2rU8CF.js +1 -0
  233. package/dist/genie-DzUvd7U9.mjs +6 -0
  234. package/dist/gherkin-BmiEVBJ1.js +1 -0
  235. package/dist/gherkin-DHRaV0YP.mjs +6 -0
  236. package/dist/git-commit-B0NDtut1.js +1 -0
  237. package/dist/git-commit-MKnTTyU-.mjs +8 -0
  238. package/dist/git-rebase-CMl42lXc.mjs +8 -0
  239. package/dist/git-rebase-lJEbayNx.js +1 -0
  240. package/dist/gitGraph-F6HP7TQM-CsdwxYUE.mjs +5 -0
  241. package/dist/gitGraph-F6HP7TQM-DvIgo2TM.js +1 -0
  242. package/dist/gitGraphDiagram-NY62KEGX-BDTsbSkO.mjs +712 -0
  243. package/dist/gitGraphDiagram-NY62KEGX-IQ8KriUw.js +65 -0
  244. package/dist/github-dark-BKL9xNgN.js +1 -0
  245. package/dist/github-dark-DenFmJkN.mjs +4 -0
  246. package/dist/github-dark-default-BJPUVz4H.mjs +4 -0
  247. package/dist/github-dark-default-Dsv5MuSi.js +1 -0
  248. package/dist/github-dark-dimmed-CtB9hz8U.js +1 -0
  249. package/dist/github-dark-dimmed-DUshB20C.mjs +4 -0
  250. package/dist/github-dark-high-contrast-BqZVM-jF.js +1 -0
  251. package/dist/github-dark-high-contrast-D3aGCnF8.mjs +4 -0
  252. package/dist/github-light-BFTOhCbz.js +1 -0
  253. package/dist/github-light-JYsPkUQd.mjs +4 -0
  254. package/dist/github-light-default-BZoWH9dH.js +1 -0
  255. package/dist/github-light-default-D99KPAby.mjs +4 -0
  256. package/dist/github-light-high-contrast-BbmZE-Mp.mjs +4 -0
  257. package/dist/github-light-high-contrast-Ks3kPGJU.js +1 -0
  258. package/dist/gleam-Bv284lvN.mjs +6 -0
  259. package/dist/gleam-DHVuTCr7.js +1 -0
  260. package/dist/glimmer-js-C360zq_P.mjs +14 -0
  261. package/dist/glimmer-js-CxLlFUHs.js +1 -0
  262. package/dist/glimmer-ts-C8Spe63v.js +1 -0
  263. package/dist/glimmer-ts-CfTSEFGl.mjs +14 -0
  264. package/dist/glsl-BcHRsW10.js +1 -0
  265. package/dist/glsl-CwleMY6T.mjs +8 -0
  266. package/dist/gn-0WGnAyGi.js +1 -0
  267. package/dist/gn-XtJxiLa4.mjs +6 -0
  268. package/dist/gnuplot-CDPKvI9X.js +1 -0
  269. package/dist/gnuplot-yPG9-sE_.mjs +6 -0
  270. package/dist/go-ChxJuLYK.mjs +6 -0
  271. package/dist/go-epHseFUa.js +1 -0
  272. package/dist/graph-BNpx6ebg.js +1 -0
  273. package/dist/graph-C_T4ZBuC.mjs +381 -0
  274. package/dist/graphql-BO3Jc_L3.js +1 -0
  275. package/dist/graphql-C2GhtI7U.mjs +14 -0
  276. package/dist/groovy-CJQTphOW.mjs +6 -0
  277. package/dist/groovy-D7VuDBXz.js +1 -0
  278. package/dist/gruvbox-dark-hard-C5HOtKIh.mjs +4 -0
  279. package/dist/gruvbox-dark-hard-CUGefKS6.js +1 -0
  280. package/dist/gruvbox-dark-medium-BoKPlKfz.js +1 -0
  281. package/dist/gruvbox-dark-medium-FVgwJHuz.mjs +4 -0
  282. package/dist/gruvbox-dark-soft-B46F314v.mjs +4 -0
  283. package/dist/gruvbox-dark-soft-DSrhOWeL.js +1 -0
  284. package/dist/gruvbox-light-hard-CJD38wDZ.mjs +4 -0
  285. package/dist/gruvbox-light-hard-De4IuseP.js +1 -0
  286. package/dist/gruvbox-light-medium-BlIhMYTA.mjs +4 -0
  287. package/dist/gruvbox-light-medium-CzMY3IEJ.js +1 -0
  288. package/dist/gruvbox-light-soft-DoPHyLVZ.mjs +4 -0
  289. package/dist/gruvbox-light-soft-U4iAIpWZ.js +1 -0
  290. package/dist/hack-CdSL77Ey.mjs +10 -0
  291. package/dist/hack-Dr4YFULU.js +1 -0
  292. package/dist/haml-C1VBSiBb.mjs +10 -0
  293. package/dist/haml-DjC-8E5i.js +1 -0
  294. package/dist/handlebars-oLCVaT_d.mjs +14 -0
  295. package/dist/handlebars-vZrL3oRU.js +1 -0
  296. package/dist/haskell-BShesV2P.js +1 -0
  297. package/dist/haskell-WeIwNIP6.mjs +6 -0
  298. package/dist/haxe-Bo5XuRS0.js +1 -0
  299. package/dist/haxe-TztHsm5T.mjs +6 -0
  300. package/dist/hcl-CrZnvm-1.js +1 -0
  301. package/dist/hcl-D438OF-I.mjs +6 -0
  302. package/dist/hjson-CEESwTUP.js +1 -0
  303. package/dist/hjson-DYBUbqOl.mjs +6 -0
  304. package/dist/hlsl-Bk8TCZNL.mjs +6 -0
  305. package/dist/hlsl-CyvYRIb9.js +1 -0
  306. package/dist/hooks/useBlockState.d.ts +14 -0
  307. package/dist/hooks/useDiffReview.d.ts +26 -0
  308. package/dist/hooks/useMarkdownShortcuts.d.ts +23 -0
  309. package/dist/hooks/useStreamParser.d.ts +10 -0
  310. package/dist/houston-BDYrDoDW.mjs +4 -0
  311. package/dist/houston-T57H3gQZ.js +1 -0
  312. package/dist/html-Cub4lUvx.js +1 -0
  313. package/dist/html-DyXkxE0I.mjs +10 -0
  314. package/dist/html-derivative-BFG_GIVT.mjs +8 -0
  315. package/dist/html-derivative-DbGZSkO4.js +1 -0
  316. package/dist/http-J4eraUTU.js +1 -0
  317. package/dist/http-Xl8ey4Mx.mjs +14 -0
  318. package/dist/hurl-1DL8OH_r.js +1 -0
  319. package/dist/hurl-BP6fZ4DX.mjs +12 -0
  320. package/dist/hxml-DrnMPCCd.js +1 -0
  321. package/dist/hxml-L6NLEKuJ.mjs +8 -0
  322. package/dist/hy-Brt5EZ7-.mjs +6 -0
  323. package/dist/hy-a1E2Ed6P.js +1 -0
  324. package/dist/imba-CR1Q6r17.js +1 -0
  325. package/dist/imba-CimUv-Uh.mjs +6 -0
  326. package/dist/index-CkYZRBYn.js +676 -0
  327. package/dist/index-oe4HpmeG.mjs +58831 -0
  328. package/dist/index.d.ts +11 -0
  329. package/dist/index.js +1 -0
  330. package/dist/index.mjs +37 -0
  331. package/dist/info-NVLQJR56-B5gDnSIT.mjs +5 -0
  332. package/dist/info-NVLQJR56-BwFQRguW.js +1 -0
  333. package/dist/infoDiagram-WHAUD3N6-C-gzsm95.mjs +24 -0
  334. package/dist/infoDiagram-WHAUD3N6-CCb5k_S7.js +2 -0
  335. package/dist/ini-BZIuRIvJ.mjs +6 -0
  336. package/dist/ini-Dpu3Xy2p.js +1 -0
  337. package/dist/init-CHZsXQcr.js +1 -0
  338. package/dist/init-DjUOC4st.mjs +16 -0
  339. package/dist/java--6gf61wy.js +1 -0
  340. package/dist/java-DY6VlHhP.mjs +6 -0
  341. package/dist/javascript-C25yR2R2.mjs +6 -0
  342. package/dist/javascript-DgmXW4Ha.js +1 -0
  343. package/dist/jinja-CJxRwHVK.js +1 -0
  344. package/dist/jinja-Y2BGSZfx.mjs +11 -0
  345. package/dist/jison-CH6PZfPk.js +1 -0
  346. package/dist/jison-Dpv9Qnty.mjs +8 -0
  347. package/dist/journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs +836 -0
  348. package/dist/journeyDiagram-XKPGCS4Q-POnSekz9.js +139 -0
  349. package/dist/json-DxJze_jm.mjs +6 -0
  350. package/dist/json-YkPizm35.js +1 -0
  351. package/dist/json5-BT4Fjg39.mjs +6 -0
  352. package/dist/json5-CCgFZiQn.js +1 -0
  353. package/dist/jsonc-CHjZD8gR.mjs +6 -0
  354. package/dist/jsonc-CKPHIcXW.js +1 -0
  355. package/dist/jsonl-BGuvDmy9.mjs +6 -0
  356. package/dist/jsonl-Dq56Hab-.js +1 -0
  357. package/dist/jsonnet-Bx2cfsXg.mjs +6 -0
  358. package/dist/jsonnet-Csh7E68F.js +1 -0
  359. package/dist/jssm-BcADi6EI.mjs +6 -0
  360. package/dist/jssm-D0M9iZPY.js +1 -0
  361. package/dist/jsx-BtKADgXT.mjs +6 -0
  362. package/dist/jsx-DLX6UGgg.js +1 -0
  363. package/dist/julia-DOO7NZhy.js +1 -0
  364. package/dist/julia-QwvTXUPU.mjs +16 -0
  365. package/dist/kanagawa-dragon-BJZF7xDr.js +1 -0
  366. package/dist/kanagawa-dragon-CiKur4Hl.mjs +4 -0
  367. package/dist/kanagawa-lotus-BKu-smKu.mjs +4 -0
  368. package/dist/kanagawa-lotus-BhgzmRV4.js +1 -0
  369. package/dist/kanagawa-wave-BgJip59C.js +1 -0
  370. package/dist/kanagawa-wave-CQwozSzG.mjs +4 -0
  371. package/dist/kanban-definition-3W4ZIXB7-BPr0_7wG.mjs +720 -0
  372. package/dist/kanban-definition-3W4ZIXB7-Bm064qrf.js +89 -0
  373. package/dist/kdl-BNOv9TC3.mjs +6 -0
  374. package/dist/kdl-CDG1p2Qi.js +1 -0
  375. package/dist/kotlin-BHZjvNqT.js +1 -0
  376. package/dist/kotlin-ByBMgTeR.mjs +6 -0
  377. package/dist/kusto-C6kOQWT0.js +1 -0
  378. package/dist/kusto-DH_XitHS.mjs +6 -0
  379. package/dist/laserwave--izBLY1I.js +1 -0
  380. package/dist/laserwave-6a00oqik.mjs +4 -0
  381. package/dist/latex-BkUAME40.js +1 -0
  382. package/dist/latex-Dhl9FnIw.mjs +8 -0
  383. package/dist/layout-Cd98WJ7r.mjs +1441 -0
  384. package/dist/layout-CuWQnP5Y.js +1 -0
  385. package/dist/lean-BnVxaZxY.mjs +6 -0
  386. package/dist/lean-DvVQmxVK.js +1 -0
  387. package/dist/less-B1GLI2Di.mjs +6 -0
  388. package/dist/less-Dtg8mm6P.js +1 -0
  389. package/dist/light-plus-B5D0le0o.js +1 -0
  390. package/dist/light-plus-CZuVqSLX.mjs +4 -0
  391. package/dist/linear-DFDw13y6.js +1 -0
  392. package/dist/linear-SU4e8MRt.mjs +259 -0
  393. package/dist/liquid-D2h0MxA-.js +1 -0
  394. package/dist/liquid-nAv19oBv.mjs +14 -0
  395. package/dist/llvm-DcRvQ_r8.js +1 -0
  396. package/dist/llvm-co1rIKs3.mjs +6 -0
  397. package/dist/log-Al8wyEFV.mjs +6 -0
  398. package/dist/log-CjTZ0gSB.js +1 -0
  399. package/dist/logo-BAktp_5i.js +1 -0
  400. package/dist/logo-DBa4JDzV.mjs +6 -0
  401. package/dist/lua-7_7huFMq.js +1 -0
  402. package/dist/lua-CG3yDRXR.mjs +8 -0
  403. package/dist/luau-BMXmwtw0.js +1 -0
  404. package/dist/luau-UQyhudEE.mjs +6 -0
  405. package/dist/make-CsMclxtr.mjs +6 -0
  406. package/dist/make-NcdIe21U.js +1 -0
  407. package/dist/markdown-Byu9Sdmq.js +1 -0
  408. package/dist/markdown-CrScaQ96.mjs +6 -0
  409. package/dist/marko-BUUK5Bjn.js +1 -0
  410. package/dist/marko-BkS1PqTg.mjs +14 -0
  411. package/dist/material-theme-D6KBX41T.mjs +4 -0
  412. package/dist/material-theme-Dj0-OyRN.js +1 -0
  413. package/dist/material-theme-darker-CkRroheE.mjs +4 -0
  414. package/dist/material-theme-darker-Dvfs29ir.js +1 -0
  415. package/dist/material-theme-lighter-BUBw43Yz.mjs +4 -0
  416. package/dist/material-theme-lighter-EU3ZGl_r.js +1 -0
  417. package/dist/material-theme-ocean-ClGX14Ja.mjs +4 -0
  418. package/dist/material-theme-ocean-px_3Pwqa.js +1 -0
  419. package/dist/material-theme-palenight-38jxvsGX.js +1 -0
  420. package/dist/material-theme-palenight-C1RVm8K1.mjs +4 -0
  421. package/dist/matlab-BOAaUVP0.mjs +6 -0
  422. package/dist/matlab-CHTOL9Kx.js +1 -0
  423. package/dist/mdc-DYb1IR0A.js +1 -0
  424. package/dist/mdc-DjkQ6W2y.mjs +12 -0
  425. package/dist/mdx-BOhZZUJ8.mjs +6 -0
  426. package/dist/mdx-CjwI68TB.js +1 -0
  427. package/dist/mermaid-4DMBBIKO-BihEtyib.js +1 -0
  428. package/dist/mermaid-4DMBBIKO-DDxvQcE9.mjs +4 -0
  429. package/dist/mermaid-BXSwQYo5.js +1 -0
  430. package/dist/mermaid-C3rz4dYh.mjs +6 -0
  431. package/dist/mermaid-parser.core-BHAgLMGa.js +128 -0
  432. package/dist/mermaid-parser.core-C8Sxzqul.mjs +15138 -0
  433. package/dist/min-C2k771MZ.mjs +38 -0
  434. package/dist/min-CppMRDFn.js +1 -0
  435. package/dist/min-dark-C7ak0t6c.mjs +4 -0
  436. package/dist/min-dark-tt5o_I5e.js +1 -0
  437. package/dist/min-light-CKFxVcPp.mjs +4 -0
  438. package/dist/min-light-tmTHl_CQ.js +1 -0
  439. package/dist/mindmap-definition-VGOIOE7T-BUd354uH.mjs +786 -0
  440. package/dist/mindmap-definition-VGOIOE7T-CV7bD4HY.js +68 -0
  441. package/dist/mipsasm-BSlRcFIy.js +1 -0
  442. package/dist/mipsasm-CTx18fBl.mjs +6 -0
  443. package/dist/mojo-CgKe2b8g.mjs +6 -0
  444. package/dist/mojo-D2tXKFxS.js +1 -0
  445. package/dist/monokai-C1KBYcO0.mjs +4 -0
  446. package/dist/monokai-DMIxv6MM.js +1 -0
  447. package/dist/moonbit-BweIWWUc.js +1 -0
  448. package/dist/moonbit-NVPuhMCm.mjs +6 -0
  449. package/dist/move-Bm1vlCWg.js +1 -0
  450. package/dist/move-F-dICmj2.mjs +6 -0
  451. package/dist/narrat-CBeKHgTl.js +1 -0
  452. package/dist/narrat-DmhDCBs-.mjs +6 -0
  453. package/dist/nextflow-CM8Ed358.js +1 -0
  454. package/dist/nextflow-DmSVRGjG.mjs +6 -0
  455. package/dist/nginx-Cy_SAdKw.mjs +8 -0
  456. package/dist/nginx-F8v4LkHE.js +1 -0
  457. package/dist/night-owl-BN78kThQ.js +1 -0
  458. package/dist/night-owl-Bm2rzalh.mjs +4 -0
  459. package/dist/nim-B4StNpZz.mjs +20 -0
  460. package/dist/nim-Bz82v_0I.js +1 -0
  461. package/dist/nix-BOiBJUDf.js +1 -0
  462. package/dist/nix-fTRXMGic.mjs +9 -0
  463. package/dist/nord-CC5OiUXg.mjs +4 -0
  464. package/dist/nord-Ca5AGUWc.js +1 -0
  465. package/dist/nushell-D8j3dhT-.mjs +6 -0
  466. package/dist/nushell-nGrB_wpI.js +1 -0
  467. package/dist/objective-c-Itk8tzmv.mjs +6 -0
  468. package/dist/objective-c-RjkWwFge.js +1 -0
  469. package/dist/objective-cpp-DGt5UKRO.mjs +6 -0
  470. package/dist/objective-cpp-HnfhWwRe.js +1 -0
  471. package/dist/ocaml-Cx8ewW_A.js +1 -0
  472. package/dist/ocaml-eSVK32Eg.mjs +6 -0
  473. package/dist/one-dark-pro-C09VQHwB.js +1 -0
  474. package/dist/one-dark-pro-DTA3VF0_.mjs +4 -0
  475. package/dist/one-light-020-h_lv.js +1 -0
  476. package/dist/one-light-D9sNaUtq.mjs +4 -0
  477. package/dist/openscad-D7eUrVPv.js +1 -0
  478. package/dist/openscad-Sp5uZ6f2.mjs +6 -0
  479. package/dist/ordinal-C0oynhte.mjs +61 -0
  480. package/dist/ordinal-CPpcdEvZ.js +1 -0
  481. package/dist/packet-BFZMPI3H-CFx3kSkL.js +1 -0
  482. package/dist/packet-BFZMPI3H-Cz_A86d3.mjs +5 -0
  483. package/dist/pascal-DBu9vQ2o.js +1 -0
  484. package/dist/pascal-xy8pJNns.mjs +6 -0
  485. package/dist/perl-BGWXz6Sf.js +1 -0
  486. package/dist/perl-BHbGvfXZ.mjs +16 -0
  487. package/dist/php-B7ztg6tr.mjs +18 -0
  488. package/dist/php-BMqBbP55.js +1 -0
  489. package/dist/pie-7BOR55EZ-B0-atE_o.mjs +5 -0
  490. package/dist/pie-7BOR55EZ-_1MqisBd.js +1 -0
  491. package/dist/pieDiagram-ADFJNKIX-Bg0_gu43.js +30 -0
  492. package/dist/pieDiagram-ADFJNKIX-lRs_rpwI.mjs +161 -0
  493. package/dist/pkl-C-zSNmaA.mjs +6 -0
  494. package/dist/pkl-Dvyry4Rm.js +1 -0
  495. package/dist/plastic-CSTz3KZp.mjs +4 -0
  496. package/dist/plastic-r5piqq-S.js +1 -0
  497. package/dist/plsql-IJkoPJ9P.js +1 -0
  498. package/dist/plsql-pVbGZfOv.mjs +6 -0
  499. package/dist/po-BNfHvqmm.mjs +6 -0
  500. package/dist/po-Rhu6MvnX.js +1 -0
  501. package/dist/poimandres-BLP3NNjc.js +1 -0
  502. package/dist/poimandres-C-VADXHD.mjs +4 -0
  503. package/dist/polar-BtWqSUq2.js +1 -0
  504. package/dist/polar-CAZahv3u.mjs +6 -0
  505. package/dist/postcss-05aHdL-n.mjs +6 -0
  506. package/dist/postcss-Dh97DcaJ.js +1 -0
  507. package/dist/powerquery-BGL6VIw7.js +1 -0
  508. package/dist/powerquery-DI9HkTvs.mjs +6 -0
  509. package/dist/powershell-BiEPMjy-.js +1 -0
  510. package/dist/powershell-Clc4ydu-.mjs +6 -0
  511. package/dist/prisma-Dp473sn0.js +1 -0
  512. package/dist/prisma-FZjmVtSl.mjs +6 -0
  513. package/dist/prolog-C5-yg4TO.mjs +6 -0
  514. package/dist/prolog-N1U-3UeF.js +1 -0
  515. package/dist/proto-C7QgialS.mjs +6 -0
  516. package/dist/proto-DMjUErYA.js +1 -0
  517. package/dist/pug-I1IOsXt4.mjs +12 -0
  518. package/dist/pug-bTUJx3Z-.js +1 -0
  519. package/dist/puppet-CUJHmnxV.mjs +6 -0
  520. package/dist/puppet-cDQP_ZC_.js +1 -0
  521. package/dist/purescript-DMxb59gF.js +1 -0
  522. package/dist/purescript-rUfGld-4.mjs +6 -0
  523. package/dist/python-BFNSHbwJ.mjs +6 -0
  524. package/dist/python-s9jfVbew.js +1 -0
  525. package/dist/qml-BxN9rt5O.mjs +8 -0
  526. package/dist/qml-CDzfIfOz.js +1 -0
  527. package/dist/qmldir-BInDYbpo.mjs +6 -0
  528. package/dist/qmldir-DNF9H2ir.js +1 -0
  529. package/dist/qss-AeJTysr_.mjs +6 -0
  530. package/dist/qss-DwA_oiAM.js +1 -0
  531. package/dist/quadrantDiagram-AYHSOK5B-B4gVakRV.js +7 -0
  532. package/dist/quadrantDiagram-AYHSOK5B-D9kypJt6.mjs +1024 -0
  533. package/dist/r-CSmzDPi7.mjs +6 -0
  534. package/dist/r-DAqIyZhh.js +1 -0
  535. package/dist/racket-B83wSAja.mjs +6 -0
  536. package/dist/racket-D4laxZit.js +1 -0
  537. package/dist/radar-NHE76QYJ-B-PvZD0K.mjs +5 -0
  538. package/dist/radar-NHE76QYJ-CdtC4C8F.js +1 -0
  539. package/dist/raku-DHySPsLw.js +1 -0
  540. package/dist/raku-nEQ4ZJJ7.mjs +6 -0
  541. package/dist/razor-BW3hho9N.mjs +10 -0
  542. package/dist/razor-DqXh8oK-.js +1 -0
  543. package/dist/red-7y8PH7HH.mjs +4 -0
  544. package/dist/red-BQGOv1D5.js +1 -0
  545. package/dist/reg-CevkCKuZ.js +1 -0
  546. package/dist/reg-m_s_Kiip.mjs +6 -0
  547. package/dist/regexp-BazyLpPg.mjs +6 -0
  548. package/dist/regexp-DabTWNLE.js +1 -0
  549. package/dist/rel-BS5APza7.js +1 -0
  550. package/dist/rel-BcRfyd6Q.mjs +6 -0
  551. package/dist/requirementDiagram-UZGBJVZJ-0zMPj-SD.js +64 -0
  552. package/dist/requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs +852 -0
  553. package/dist/riscv-BnGFr6V7.js +1 -0
  554. package/dist/riscv-Ce8MAQLP.mjs +6 -0
  555. package/dist/rose-pine-BKc3yVeu.mjs +4 -0
  556. package/dist/rose-pine-CfBWm6WX.js +1 -0
  557. package/dist/rose-pine-dawn-BulJcPZT.mjs +4 -0
  558. package/dist/rose-pine-dawn-CaZ5I2lt.js +1 -0
  559. package/dist/rose-pine-moon-Cql8LDLp.js +1 -0
  560. package/dist/rose-pine-moon-j6jiXKV8.mjs +4 -0
  561. package/dist/rosmsg-C7VSFzUC.js +1 -0
  562. package/dist/rosmsg-Cz0w1km8.mjs +6 -0
  563. package/dist/rst-CmsHU1oq.js +1 -0
  564. package/dist/rst-Don6TZad.mjs +22 -0
  565. package/dist/ruby-DZp7Kthb.js +1 -0
  566. package/dist/ruby-DkElldd8.mjs +30 -0
  567. package/dist/rust-CLzF9zIN.mjs +6 -0
  568. package/dist/rust-CNeTMPbB.js +1 -0
  569. package/dist/sankeyDiagram-TZEHDZUN-Cl8-L83T.js +10 -0
  570. package/dist/sankeyDiagram-TZEHDZUN-DprIPFbe.mjs +810 -0
  571. package/dist/sas-Dgv5I5OF.mjs +8 -0
  572. package/dist/sas-Du-NqkIN.js +1 -0
  573. package/dist/sass-DxHp5rTx.mjs +6 -0
  574. package/dist/sass-vyo-bUwh.js +1 -0
  575. package/dist/scala-D4grkFkl.mjs +6 -0
  576. package/dist/scala-ZSekD-8-.js +1 -0
  577. package/dist/scheme-BCRWuEm4.mjs +6 -0
  578. package/dist/scheme-vM0LdD-_.js +1 -0
  579. package/dist/scss-C9Hu3bmX.js +1 -0
  580. package/dist/scss-DGhQJWhB.mjs +8 -0
  581. package/dist/sdbl-B7T8abf4.mjs +6 -0
  582. package/dist/sdbl-DeWT5r4i.js +1 -0
  583. package/dist/sequenceDiagram-WL72ISMW-B4m4oag0.mjs +2518 -0
  584. package/dist/sequenceDiagram-WL72ISMW-DRQn7Fe4.js +145 -0
  585. package/dist/shaderlab-DFNHwaQA.js +1 -0
  586. package/dist/shaderlab-D_9jCtR2.mjs +8 -0
  587. package/dist/shellscript-DYWjN7qW.js +1 -0
  588. package/dist/shellscript-InADTalH.mjs +6 -0
  589. package/dist/shellsession-5qZnCWz3.js +1 -0
  590. package/dist/shellsession-DtcyY-Wh.mjs +8 -0
  591. package/dist/slack-dark-akqwQ7ED.js +1 -0
  592. package/dist/slack-dark-i7wN4OET.mjs +4 -0
  593. package/dist/slack-ochin-BoQQWmTv.js +1 -0
  594. package/dist/slack-ochin-ndHf0LoP.mjs +4 -0
  595. package/dist/smalltalk-BNs6hxu4.js +1 -0
  596. package/dist/smalltalk-BlI1_OkM.mjs +6 -0
  597. package/dist/snazzy-light-BlSJXAu4.mjs +4 -0
  598. package/dist/snazzy-light-D_IwRieF.js +1 -0
  599. package/dist/solarized-dark-UTmkh7lw.mjs +4 -0
  600. package/dist/solarized-dark-gmm-WbDC.js +1 -0
  601. package/dist/solarized-light-BheCkDPT.mjs +4 -0
  602. package/dist/solarized-light-DzcxRSZP.js +1 -0
  603. package/dist/solidity-DUWnFhS6.mjs +6 -0
  604. package/dist/solidity-uQuzgchP.js +1 -0
  605. package/dist/soy-BztBK6ie.js +1 -0
  606. package/dist/soy-DwpxgXXf.mjs +8 -0
  607. package/dist/sparql-B6tDvEgg.mjs +8 -0
  608. package/dist/sparql-Ds57h-sT.js +1 -0
  609. package/dist/splunk-CRXR8A9s.mjs +6 -0
  610. package/dist/splunk-CWPivao_.js +1 -0
  611. package/dist/sql-Cn_v3PB0.mjs +6 -0
  612. package/dist/sql-DhUUVgH1.js +1 -0
  613. package/dist/ssh-config-B93wBIBa.js +1 -0
  614. package/dist/ssh-config-DP-hNVbF.mjs +6 -0
  615. package/dist/stata-B-erP_01.js +1 -0
  616. package/dist/stata-CuK25SjT.mjs +8 -0
  617. package/dist/stateDiagram-FKZM4ZOC-BD4tnS-V.js +1 -0
  618. package/dist/stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs +263 -0
  619. package/dist/stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs +16 -0
  620. package/dist/stateDiagram-v2-4FDKWEC3-sybMoxOk.js +1 -0
  621. package/dist/stylus-B64Bt0D4.js +1 -0
  622. package/dist/stylus-CyKEU1Ej.mjs +6 -0
  623. package/dist/svelte-CPZ3YGr5.js +1 -0
  624. package/dist/svelte-DA_HkuHw.mjs +14 -0
  625. package/dist/swift-9UzSvamq.mjs +6 -0
  626. package/dist/swift-BMbGdc3j.js +1 -0
  627. package/dist/synthwave-84-BBRLOmNT.js +1 -0
  628. package/dist/synthwave-84-NU3C_KFZ.mjs +4 -0
  629. package/dist/system-verilog-BCm7smPJ.mjs +6 -0
  630. package/dist/system-verilog-BFclLo9e.js +1 -0
  631. package/dist/systemd-C-4qm6XH.mjs +6 -0
  632. package/dist/systemd-Dtw7P4tb.js +1 -0
  633. package/dist/talonscript-CFF3LF_O.mjs +6 -0
  634. package/dist/talonscript-D8SvZJVc.js +1 -0
  635. package/dist/tasl--DC4oX-L.js +1 -0
  636. package/dist/tasl-Cg_WBUAe.mjs +6 -0
  637. package/dist/tcl-0Q0H86Yn.js +1 -0
  638. package/dist/tcl-DN7buRTF.mjs +6 -0
  639. package/dist/templ-DADdpFDY.js +1 -0
  640. package/dist/templ-YBaeMuI7.mjs +12 -0
  641. package/dist/terraform-C0RDrmWi.js +1 -0
  642. package/dist/terraform-DGvcn9zM.mjs +6 -0
  643. package/dist/tex-3QW4GAT7.js +1 -0
  644. package/dist/tex-4CAOFrzL.mjs +8 -0
  645. package/dist/timeline-definition-IT6M3QCI-2X4dfyLj.js +61 -0
  646. package/dist/timeline-definition-IT6M3QCI-BFuQEeZP.mjs +801 -0
  647. package/dist/tokyo-night-DP4TmcQl.mjs +4 -0
  648. package/dist/tokyo-night-GOhjzM5y.js +1 -0
  649. package/dist/toml-DY62mUL_.mjs +6 -0
  650. package/dist/toml-Q64DoSvG.js +1 -0
  651. package/dist/treemap-KMMF4GRG-DTnRa789.js +1 -0
  652. package/dist/treemap-KMMF4GRG-gtrnY16v.mjs +5 -0
  653. package/dist/ts-tags-DAIOErdC.mjs +41 -0
  654. package/dist/ts-tags-DW4c6MY1.js +1 -0
  655. package/dist/tsv-BtvSkaG0.mjs +6 -0
  656. package/dist/tsv-DqNGnuVj.js +1 -0
  657. package/dist/tsx-B8rCNbgL.mjs +6 -0
  658. package/dist/tsx-DIpfUf9u.js +1 -0
  659. package/dist/turtle-DipIidr5.js +1 -0
  660. package/dist/turtle-_H59FV7D.mjs +6 -0
  661. package/dist/twig-CkOV7KOv.mjs +18 -0
  662. package/dist/twig-DE2P6STQ.js +1 -0
  663. package/dist/types/index.d.ts +163 -0
  664. package/dist/typescript-RycA9KXf.mjs +6 -0
  665. package/dist/typescript-b48wo4zk.js +1 -0
  666. package/dist/typespec-DWqp-kUU.mjs +6 -0
  667. package/dist/typespec-DqXOE4_L.js +1 -0
  668. package/dist/typst-Cqq4j4V-.js +1 -0
  669. package/dist/typst-D_1QKWns.mjs +6 -0
  670. package/dist/utils/cursor-utils.d.ts +28 -0
  671. package/dist/utils/diff.d.ts +74 -0
  672. package/dist/utils/format-selection.d.ts +8 -0
  673. package/dist/utils/markdown-parser.d.ts +3 -0
  674. package/dist/utils/span-dom.d.ts +21 -0
  675. package/dist/utils/spans.d.ts +18 -0
  676. package/dist/v-81C2s01-.js +1 -0
  677. package/dist/v-BPCNiyYe.mjs +6 -0
  678. package/dist/vala-CsAYdCD2.js +1 -0
  679. package/dist/vala-uxaPR7d1.mjs +6 -0
  680. package/dist/vb-AiTMb16X.js +1 -0
  681. package/dist/vb-D8_c5-KN.mjs +6 -0
  682. package/dist/verilog-AMohXZcN.js +1 -0
  683. package/dist/verilog-B-bybjPF.mjs +6 -0
  684. package/dist/vesper-B59Iw4gV.js +1 -0
  685. package/dist/vesper-BckBta1U.mjs +4 -0
  686. package/dist/vhdl-CUlNa8ac.mjs +6 -0
  687. package/dist/vhdl-DIdR1NA5.js +1 -0
  688. package/dist/viml-D01eKeA4.js +1 -0
  689. package/dist/viml-DsfA-sWm.mjs +6 -0
  690. package/dist/vitesse-black-BoGvW84i.mjs +4 -0
  691. package/dist/vitesse-black-MF-1S1MG.js +1 -0
  692. package/dist/vitesse-dark-Cym-eLtO.mjs +4 -0
  693. package/dist/vitesse-dark-SIffJYSe.js +1 -0
  694. package/dist/vitesse-light-CcmG315c.mjs +4 -0
  695. package/dist/vitesse-light-U63SkYGT.js +1 -0
  696. package/dist/vue-BHXwUkEL.js +1 -0
  697. package/dist/vue-Qp02Uakc.mjs +31 -0
  698. package/dist/vue-html-B4znhqmy.js +1 -0
  699. package/dist/vue-html-Cg0YpUCP.mjs +8 -0
  700. package/dist/vue-vine-CHNjSzYC.js +1 -0
  701. package/dist/vue-vine-PHeyj-D9.mjs +18 -0
  702. package/dist/vyper-CPQuu50u.mjs +6 -0
  703. package/dist/vyper-DTzyzn3a.js +1 -0
  704. package/dist/wasm-BBXxrAl7.mjs +6 -0
  705. package/dist/wasm-DQxwEHae.mjs +7 -0
  706. package/dist/wasm-Dp-QrJpp.js +1 -0
  707. package/dist/wasm-Dw4u1m6u.js +1 -0
  708. package/dist/wenyan-CRNx8UP3.js +1 -0
  709. package/dist/wenyan-pbVjoM9_.mjs +6 -0
  710. package/dist/wgsl-DF5qc9dd.js +1 -0
  711. package/dist/wgsl-DY4iK1q1.mjs +6 -0
  712. package/dist/wikitext-D7uzEIfK.js +1 -0
  713. package/dist/wikitext-Z-MoUasO.mjs +6 -0
  714. package/dist/wit-BjWgLsJj.js +1 -0
  715. package/dist/wit-CQMQOlTg.mjs +6 -0
  716. package/dist/wolfram-BR4t3Ffc.js +1 -0
  717. package/dist/wolfram-Dz4KXISs.mjs +6 -0
  718. package/dist/xml-Dwj6NfjK.mjs +8 -0
  719. package/dist/xml-Vhl3ZuN2.js +1 -0
  720. package/dist/xsl-B2ZJiKs2.js +1 -0
  721. package/dist/xsl-Pe9theme.mjs +8 -0
  722. package/dist/xychartDiagram-PRI3JC2R-BaFd1In8.js +7 -0
  723. package/dist/xychartDiagram-PRI3JC2R-CjXiy6m0.mjs +1340 -0
  724. package/dist/yaml-DaO7k5B1.mjs +6 -0
  725. package/dist/yaml-XVBmpKh-.js +1 -0
  726. package/dist/zenscript-CxBjpf9c.mjs +6 -0
  727. package/dist/zenscript-fNvwKexi.js +1 -0
  728. package/dist/zig-BAyIAcWK.js +1 -0
  729. package/dist/zig-Vm0PO9wB.mjs +6 -0
  730. package/package.json +73 -0
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze(JSON.parse(`{"displayName":"Go","name":"go","patterns":[{"include":"#statements"}],"repository":{"after_control_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"variable.other.go"}]}},"match":"(?<=\\\\brange\\\\b|;|\\\\bif\\\\b|\\\\bfor\\\\b|[<>]|<=|>=|==|!=|\\\\w[-%*+/]|\\\\w[-%*+/]=|\\\\|\\\\||&&)\\\\s*((?![]\\\\[]+)[-\\\\]!%*+./:<=>\\\\[_[:alnum:]]+)\\\\s*(?=\\\\{)"},"brackets":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"$self"}]}]},"built_in_functions":{"patterns":[{"match":"\\\\b(append|cap|close|complex|copy|delete|imag|len|panic|print|println|real|recover|min|max|clear)\\\\b(?=\\\\()","name":"entity.name.function.support.builtin.go"},{"begin":"\\\\b(new)\\\\b(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.support.builtin.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#functions"},{"include":"#struct_variables_types"},{"include":"#type-declarations"},{"include":"#generic_types"},{"match":"\\\\w+","name":"entity.name.type.go"},{"include":"$self"}]},{"begin":"\\\\b(make)\\\\b(\\\\()((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?[]*\\\\[]+{0,1}(?:(?!\\\\bmap\\\\b)[.\\\\w]+)?(\\\\[(?:\\\\S+(?:,\\\\s*\\\\S+)*)?])?,?)?","beginCaptures":{"1":{"name":"entity.name.function.support.builtin.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"},"3":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"$self"}]}]},"comments":{"patterns":[{"begin":"(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"(\\\\*/)","endCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"name":"comment.block.go"},{"begin":"(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"\\\\n|$","name":"comment.line.double-slash.go"}]},"const_assignment":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.constant.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\bconst\\\\b)\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"begin":"(?<=\\\\bconst\\\\b)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.constant.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"include":"$self"}]}]},"delimiters":{"patterns":[{"match":",","name":"punctuation.other.comma.go"},{"match":"\\\\.(?!\\\\.\\\\.)","name":"punctuation.other.period.go"},{"match":":(?!=)","name":"punctuation.other.colon.go"}]},"double_parentheses_types":{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<!\\\\w)(\\\\([]*\\\\[]+{0,1}[.\\\\w]+(?:\\\\[(?:[]*.\\\\[{}\\\\w]+(?:,\\\\s*[]*.\\\\[{}\\\\w]+)*)?])?\\\\))(?=\\\\()"},"function_declaration":{"begin":"^\\\\b(func)\\\\b\\\\s*(\\\\([^)]+\\\\)\\\\s*)?(?:(\\\\w+)(?=[(\\\\[]))?","beginCaptures":{"1":{"name":"keyword.function.go"},"2":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"name":"variable.parameter.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(\\\\w+\\\\s+)?([*.\\\\w]+(?:\\\\[(?:[*.\\\\w]+(?:,\\\\s+)?)+{0,1}])?)"},{"include":"$self"}]}]},"3":{"patterns":[{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.function.go"}]}},"end":"(?<=\\\\))\\\\s*((?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?![]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b)[-\\\\]*.\\\\[\\\\w]+)?\\\\s*(?=\\\\{)","endCaptures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\))\\\\s*((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[-\\\\]*.<>\\\\[\\\\w]+\\\\s*(?:/[*/].*)?)$"},{"include":"$self"}]},"function_param_types":{"patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+(?=(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b\\\\s*\\\\{)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"(?:(?<=\\\\()|^\\\\s*)((?:\\\\b\\\\w+,\\\\s*)+(?:/[*/].*)?)$"},{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.parameter.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?:[]*.\\\\[\\\\w]+{0,1}(?:\\\\bfunc\\\\b\\\\([^)]+{0,1}\\\\)(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*)+(?:[]*.\\\\[\\\\w]+|\\\\([^)]+{0,1}\\\\))?|(?:[]*\\\\[]+{0,1}[*.\\\\w]+(?:\\\\[[^]]+])?[*.\\\\w]+{0,1})+))"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"([.\\\\w]+)"},{"include":"$self"}]},"functions":{"begin":"\\\\b(func)\\\\b(?=\\\\()","beginCaptures":{"1":{"name":"keyword.function.go"}},"end":"(?<=\\\\))(\\\\s*(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(\\\\s*(?:[]*\\\\[]+{0,1}[*.\\\\w]+)?(?:\\\\[(?:[*.\\\\w]+{0,1}(?:\\\\[[^]]+{0,1}])?(?:,\\\\s+)?)+]|\\\\([^)]+{0,1}\\\\))?[*.\\\\w]+{0,1}\\\\s*(?=\\\\{)|\\\\s*(?:[]*\\\\[]+{0,1}(?!\\\\bfunc\\\\b)[*.\\\\w]+(?:\\\\[(?:[*.\\\\w]+{0,1}(?:\\\\[[^]]+{0,1}])?(?:,\\\\s+)?)+])?[*.\\\\w]+{0,1}|\\\\([^)]+{0,1}\\\\)))?","endCaptures":{"1":{"patterns":[{"include":"#type-declarations"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#parameter-variable-types"}]},"functions_inline":{"captures":{"1":{"name":"keyword.function.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b(func)\\\\b(\\\\([^/]*?\\\\)\\\\s+\\\\([^/]*?\\\\))\\\\s+(?=\\\\{)"},"generic_param_types":{"patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+(?=(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b\\\\s*\\\\{)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"(?:(?<=\\\\()|^\\\\s*)((?:\\\\b\\\\w+,\\\\s*)+(?:/[*/].*)?)$"},{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.parameter.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?:[]*.\\\\[\\\\w]+{0,1}(?:\\\\bfunc\\\\b\\\\([^)]+{0,1}\\\\)(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*)+(?:[*.\\\\w]+|\\\\([^)]+{0,1}\\\\))?|(?:(?:[*.~\\\\w]+|\\\\[(?:[*.\\\\w]+{0,1}(?:\\\\[[^]]+{0,1}])?(?:,\\\\s+)?)+])[*.\\\\w]+{0,1})+))"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b([.\\\\w]+)"},{"include":"$self"}]},"generic_types":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"patterns":[{"include":"#parameter-variable-types"}]}},"match":"([*.\\\\w]+)(\\\\[[^]]+{0,1}])"},"group-functions":{"patterns":[{"include":"#function_declaration"},{"include":"#functions_inline"},{"include":"#functions"},{"include":"#built_in_functions"},{"include":"#support_functions"}]},"group-types":{"patterns":[{"include":"#other_struct_interface_expressions"},{"include":"#type_assertion_inline"},{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#single_type"},{"include":"#multi_types"},{"include":"#struct_interface_declaration"},{"include":"#double_parentheses_types"},{"include":"#switch_types"},{"include":"#type-declarations"}]},"group-variables":{"patterns":[{"include":"#const_assignment"},{"include":"#var_assignment"},{"include":"#variable_assignment"},{"include":"#label_loop_variables"},{"include":"#slice_index_variables"},{"include":"#property_variables"},{"include":"#switch_variables"},{"include":"#other_variables"}]},"hover":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"match":"\\\\binvalid\\\\b\\\\s+\\\\btype\\\\b","name":"invalid.field.go"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=^\\\\bfield\\\\b)\\\\s+([*.\\\\w]+)\\\\s+([\\\\s\\\\S]+)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=^\\\\breturns\\\\b)\\\\s+([\\\\s\\\\S]+)"}]},"import":{"patterns":[{"begin":"\\\\b(import)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.import.go"}},"end":"(?!\\\\G)","patterns":[{"include":"#imports"}]}]},"imports":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.import.go"}]},"2":{"name":"string.quoted.double.go"},"3":{"name":"punctuation.definition.string.begin.go"},"4":{"name":"entity.name.import.go"},"5":{"name":"punctuation.definition.string.end.go"}},"match":"(\\\\s*[.\\\\w]+)?\\\\s*((\\")([^\\"]*)(\\"))"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.imports.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.imports.end.bracket.round.go"}},"patterns":[{"include":"#comments"},{"include":"#imports"}]},{"include":"$self"}]},"interface_variables_types":{"begin":"\\\\b(interface)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.interface.go"},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#interface_variables_types_field"},{"include":"$self"}]},"interface_variables_types_field":{"patterns":[{"include":"#support_functions"},{"include":"#type-declarations-without-brackets"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"([.\\\\w]+)"}]},"keywords":{"patterns":[{"match":"\\\\b(break|case|continue|default|defer|else|fallthrough|for|go|goto|if|range|return|select|switch)\\\\b","name":"keyword.control.go"},{"match":"\\\\bchan\\\\b","name":"keyword.channel.go"},{"match":"\\\\bconst\\\\b","name":"keyword.const.go"},{"match":"\\\\bvar\\\\b","name":"keyword.var.go"},{"match":"\\\\bfunc\\\\b","name":"keyword.function.go"},{"match":"\\\\binterface\\\\b","name":"keyword.interface.go"},{"match":"\\\\bmap\\\\b","name":"keyword.map.go"},{"match":"\\\\bstruct\\\\b","name":"keyword.struct.go"},{"match":"\\\\bimport\\\\b","name":"keyword.control.import.go"},{"match":"\\\\btype\\\\b","name":"keyword.type.go"}]},"label_loop_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.label.go"}]}},"match":"^(\\\\s*\\\\w+:\\\\s*|\\\\s*\\\\b(?:break|goto|continue)\\\\b\\\\s+\\\\w+(?:\\\\s*/[*/]\\\\s*.*)?)$"},"language_constants":{"captures":{"1":{"name":"constant.language.boolean.go"},"2":{"name":"constant.language.null.go"},"3":{"name":"constant.language.iota.go"}},"match":"\\\\b(?:(true|false)|(nil)|(iota))\\\\b"},"map_types":{"begin":"\\\\b(map)\\\\b(\\\\[)","beginCaptures":{"1":{"name":"keyword.map.go"},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"(])((?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?![]*\\\\[]+{0,1}\\\\b(?:func|struct|map)\\\\b)[]*\\\\[]+{0,1}[.\\\\w]+(?:\\\\[(?:[]*.\\\\[{}\\\\w]+(?:,\\\\s*[]*.\\\\[{}\\\\w]+)*)?])?)?","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.square.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"include":"#functions"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"multi_types":{"begin":"\\\\b(type)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.type.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"numeric_literals":{"captures":{"0":{"patterns":[{"begin":"(?=.)","end":"\\\\n|$","patterns":[{"captures":{"1":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"2":{"name":"punctuation.separator.constant.numeric.go"},"3":{"name":"constant.numeric.decimal.point.go"},"4":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"5":{"name":"punctuation.separator.constant.numeric.go"},"6":{"name":"keyword.other.unit.exponent.decimal.go"},"7":{"name":"keyword.operator.plus.exponent.decimal.go"},"8":{"name":"keyword.operator.minus.exponent.decimal.go"},"9":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"10":{"name":"keyword.other.unit.imaginary.go"},"11":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"12":{"name":"punctuation.separator.constant.numeric.go"},"13":{"name":"keyword.other.unit.exponent.decimal.go"},"14":{"name":"keyword.operator.plus.exponent.decimal.go"},"15":{"name":"keyword.operator.minus.exponent.decimal.go"},"16":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"17":{"name":"keyword.other.unit.imaginary.go"},"18":{"name":"constant.numeric.decimal.point.go"},"19":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"20":{"name":"punctuation.separator.constant.numeric.go"},"21":{"name":"keyword.other.unit.exponent.decimal.go"},"22":{"name":"keyword.operator.plus.exponent.decimal.go"},"23":{"name":"keyword.operator.minus.exponent.decimal.go"},"24":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"25":{"name":"keyword.other.unit.imaginary.go"},"26":{"name":"keyword.other.unit.hexadecimal.go"},"27":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"28":{"name":"punctuation.separator.constant.numeric.go"},"29":{"name":"constant.numeric.hexadecimal.go"},"30":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"31":{"name":"punctuation.separator.constant.numeric.go"},"32":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"33":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"34":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"35":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"36":{"name":"keyword.other.unit.imaginary.go"},"37":{"name":"keyword.other.unit.hexadecimal.go"},"38":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"39":{"name":"punctuation.separator.constant.numeric.go"},"40":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"41":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"42":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"43":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"44":{"name":"keyword.other.unit.imaginary.go"},"45":{"name":"keyword.other.unit.hexadecimal.go"},"46":{"name":"constant.numeric.hexadecimal.go"},"47":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"48":{"name":"punctuation.separator.constant.numeric.go"},"49":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"50":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"51":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"52":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"53":{"name":"keyword.other.unit.imaginary.go"}},"match":"\\\\G(?:(?:(?:(?:(?:(?=[.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)((?<=[0-9])\\\\.|\\\\.(?=[0-9]))([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)?(?:(?<!_)([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*))?(i(?!\\\\w))?(?:\\\\n|$)|(?=[.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)(?<!_)([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))|((?<=[0-9])\\\\.|\\\\.(?=[0-9]))([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)(?:(?<!_)([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*))?(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])_?(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)((?<=\\\\h)\\\\.|\\\\.(?=\\\\h))(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)?(?<!_)([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])_?(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)(?<!_)([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])((?<=\\\\h)\\\\.|\\\\.(?=\\\\h))(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)(?<!_)([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))"},{"captures":{"1":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"2":{"name":"punctuation.separator.constant.numeric.go"},"3":{"name":"keyword.other.unit.imaginary.go"},"4":{"name":"keyword.other.unit.binary.go"},"5":{"name":"constant.numeric.binary.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"6":{"name":"punctuation.separator.constant.numeric.go"},"7":{"name":"keyword.other.unit.imaginary.go"},"8":{"name":"keyword.other.unit.octal.go"},"9":{"name":"constant.numeric.octal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"10":{"name":"punctuation.separator.constant.numeric.go"},"11":{"name":"keyword.other.unit.imaginary.go"},"12":{"name":"keyword.other.unit.hexadecimal.go"},"13":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"14":{"name":"punctuation.separator.constant.numeric.go"},"15":{"name":"keyword.other.unit.imaginary.go"}},"match":"\\\\G(?:(?:(?:(?=[.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)(i(?!\\\\w))?(?:\\\\n|$)|(0[Bb])_?([01](?:[01]|((?<=\\\\h)_(?=\\\\h)))*)(i(?!\\\\w))?(?:\\\\n|$))|(0[Oo]?)_?((?:[0-7]|((?<=\\\\h)_(?=\\\\h)))+)(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])_?(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)(i(?!\\\\w))?(?:\\\\n|$))"},{"match":"(?:[.0-9A-Z_a-z]|(?<=[EPep])[-+])+","name":"invalid.illegal.constant.numeric.go"}]}]}},"match":"(?<!\\\\w)\\\\.?\\\\d(?:[.0-9A-Z_a-z]|(?<=[EPep])[-+])*"},"operators":{"patterns":[{"match":"(?<!\\\\w)[\\\\&*]+(?!\\\\d)(?=[]\\\\[\\\\w]|<-)","name":"keyword.operator.address.go"},{"match":"<-","name":"keyword.operator.channel.go"},{"match":"--","name":"keyword.operator.decrement.go"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.go"},{"match":"(==|!=|<=|>=|<(?!<)|>(?!>))","name":"keyword.operator.comparison.go"},{"match":"(&&|\\\\|\\\\||!)","name":"keyword.operator.logical.go"},{"match":"((?:|[-%*+/:^|]|<<|>>|&\\\\^?)=)","name":"keyword.operator.assignment.go"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.go"},{"match":"(&(?!\\\\^)|[\\\\^|]|&\\\\^|<<|>>|~)","name":"keyword.operator.arithmetic.bitwise.go"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.ellipsis.go"}]},"other_struct_interface_expressions":{"patterns":[{"include":"#after_control_variables"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b(?!(?:struct|interface)\\\\b)([.\\\\w]+)(?<brackets>\\\\[(?:[^]\\\\[]|\\\\g<brackets>)*])?(?=\\\\{)"}]},"other_variables":{"match":"\\\\w+","name":"variable.other.go"},"package_name":{"patterns":[{"begin":"\\\\b(package)\\\\s+","beginCaptures":{"1":{"name":"keyword.package.go"}},"end":"(?!\\\\G)","patterns":[{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.type.package.go"}]}]},"parameter-variable-types":{"patterns":[{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]}]},"property_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]}},"match":"\\\\b([.\\\\w]+:(?!=))"},"raw_string_literals":{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.raw.go","patterns":[{"include":"#string_placeholder"}]},"runes":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.rune.go","patterns":[{"match":"\\\\G(\\\\\\\\([0-7]{3}|[\\"'\\\\\\\\abfnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})|.)(?=')","name":"constant.other.rune.go"},{"match":"[^']+","name":"invalid.illegal.unknown-rune.go"}]}]},"single_type":{"patterns":[{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"include":"#type-declarations"},{"include":"#generic_types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b(type)\\\\b\\\\s*([*.\\\\w]+)\\\\s+(?!(?:=\\\\s*)?[]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b)([\\\\s\\\\S]+)"},{"begin":"(?:^|\\\\s+)\\\\b(type)\\\\b\\\\s*([*.\\\\w]+)(?=\\\\[)","beginCaptures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"end":"(?<=])(\\\\s+(?:=\\\\s*)?(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?![]*\\\\[]+{0,1}\\\\b(?:struct|interface|func)\\\\b)[-\\\\]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?","endCaptures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#struct_variables_types"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}]},"slice_index_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.go"}]}},"match":"(?<=\\\\w\\\\[)((?:\\\\b[-%\\\\&*+./<>|\\\\w]+:|:\\\\b[-%\\\\&*+./<>|\\\\w]+)(?:\\\\b[-%\\\\&*+./<>|\\\\w]+)?(?::\\\\b[-%\\\\&*+./<>|\\\\w]+)?)(?=])"},"statements":{"patterns":[{"include":"#package_name"},{"include":"#import"},{"include":"#syntax_errors"},{"include":"#group-functions"},{"include":"#group-types"},{"include":"#group-variables"},{"include":"#hover"}]},"storage_types":{"patterns":[{"match":"\\\\bbool\\\\b","name":"storage.type.boolean.go"},{"match":"\\\\bbyte\\\\b","name":"storage.type.byte.go"},{"match":"\\\\berror\\\\b","name":"storage.type.error.go"},{"match":"\\\\b(complex(64|128)|float(32|64)|u?int(8|16|32|64)?)\\\\b","name":"storage.type.numeric.go"},{"match":"\\\\brune\\\\b","name":"storage.type.rune.go"},{"match":"\\\\bstring\\\\b","name":"storage.type.string.go"},{"match":"\\\\buintptr\\\\b","name":"storage.type.uintptr.go"},{"match":"\\\\bany\\\\b","name":"entity.name.type.any.go"},{"match":"\\\\bcomparable\\\\b","name":"entity.name.type.comparable.go"}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\([0-7]{3}|[\\"'\\\\\\\\abfnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.go"},{"match":"\\\\\\\\[^\\"'0-7Uabfnrtuvx]","name":"invalid.illegal.unknown-escape.go"}]},"string_literals":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.double.go","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"}]}]},"string_placeholder":{"patterns":[{"match":"%(\\\\[\\\\d+])?([- #+0]{0,2}((\\\\d+|\\\\*)?(\\\\.?(\\\\d+|\\\\*|(\\\\[\\\\d+])\\\\*?)?(\\\\[\\\\d+])?)?))?[%EFGTUXb-gopqstvwx]","name":"constant.other.placeholder.go"}]},"struct_interface_declaration":{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b(type)\\\\b\\\\s*([.\\\\w]+)"},"struct_variable_types_fields_multi":{"patterns":[{"begin":"\\\\b(\\\\w+(?:,\\\\s*\\\\b\\\\w+)*(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*[]*\\\\[]+{0,1})\\\\b(struct)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.struct.go"},"3":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#struct_variables_types_fields"},{"include":"$self"}]},{"begin":"\\\\b(\\\\w+(?:,\\\\s*\\\\b\\\\w+)*(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*[]*\\\\[]+{0,1})\\\\b(interface)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.interface.go"},"3":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#interface_variables_types_field"},{"include":"$self"}]},{"begin":"\\\\b(\\\\w+(?:,\\\\s*\\\\b\\\\w+)*(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*[]*\\\\[]+{0,1})\\\\b(func)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.function.go"},"3":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"include":"#parameter-variable-types"}]},"struct_variables_types":{"begin":"\\\\b(struct)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.struct.go"},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#struct_variables_types_fields"},{"include":"$self"}]},"struct_variables_types_fields":{"patterns":[{"include":"#struct_variable_types_fields_multi"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\{)\\\\s*((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*.\\\\[\\\\w]+)\\\\s*(?=})"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\{)\\\\s*((?:\\\\w+,\\\\s*)+{0,1}\\\\w+\\\\s+)((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*.\\\\[\\\\w]+)\\\\s*(?=})"},{"captures":{"1":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\w+,\\\\s*)+{0,1}\\\\w+\\\\s+)?((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[^/\\\\s]+;?)"}]}},"match":"(?<=\\\\{)((?:\\\\s*(?:(?:\\\\w+,\\\\s*)+{0,1}\\\\w+\\\\s+)?(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[^/\\\\s]+;?)+)\\\\s*(?=})"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[*.\\\\w]+\\\\s*)(?:(?=[\\"/\`])|$)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b(\\\\w+(?:\\\\s*,\\\\s*\\\\b\\\\w+)*)\\\\s*([^\\"/\`]+)"}]},"support_functions":{"captures":{"1":{"name":"entity.name.function.support.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.function.support.go"}]},"3":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?:((?<=\\\\.)\\\\b\\\\w+)|\\\\b(\\\\w+))(?<brackets>\\\\[(?:[^]\\\\[]|\\\\g<brackets>)*])?(?=\\\\()"},"switch_types":{"begin":"(?<=\\\\bswitch\\\\b)\\\\s*(\\\\w+\\\\s*:=)?\\\\s*([-\\\\]%\\\\&(-+./<>\\\\[|\\\\w]+)(\\\\.\\\\(\\\\btype\\\\b\\\\)\\\\s*)(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#operators"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#support_functions"},{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.go"}]},"3":{"patterns":[{"include":"#delimiters"},{"include":"#brackets"},{"match":"\\\\btype\\\\b","name":"keyword.type.go"}]},"4":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"captures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"name":"punctuation.other.colon.go"},"4":{"patterns":[{"include":"#comments"}]}},"match":"^\\\\s*\\\\b(case)\\\\b\\\\s+([!*,.<=>\\\\w\\\\s]+)(:)(\\\\s*/[*/]\\\\s*.*)?$"},{"begin":"\\\\bcase\\\\b","beginCaptures":{"0":{"name":"keyword.control.go"}},"end":":","endCaptures":{"0":{"name":"punctuation.other.colon.go"}},"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},{"include":"$self"}]},"switch_variables":{"patterns":[{"captures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"#type-declarations"},{"include":"#support_functions"},{"include":"#variable_assignment"},{"match":"\\\\w+","name":"variable.other.go"}]}},"match":"^\\\\s*\\\\b(case)\\\\b\\\\s+([\\\\s\\\\S]+:\\\\s*(?:/[*/].*)?)$"},{"begin":"(?<=\\\\bswitch\\\\b)\\\\s*((?:[.\\\\w]+(?:\\\\s*[-!%\\\\&+,/:<=>|]+\\\\s*[.\\\\w]+)*\\\\s*[-!%\\\\&+,/:<=>|]+)?\\\\s*[-\\\\]%\\\\&(-+./<>\\\\[|\\\\w]+{0,1}\\\\s*(?:;\\\\s*[-\\\\]%\\\\&(-+./<>\\\\[|\\\\w]+\\\\s*)?)(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#support_functions"},{"include":"#type-declarations"},{"include":"#variable_assignment"},{"match":"\\\\w+","name":"variable.other.go"}]},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"begin":"\\\\bcase\\\\b","beginCaptures":{"0":{"name":"keyword.control.go"}},"end":":","endCaptures":{"0":{"name":"punctuation.other.colon.go"}},"patterns":[{"include":"#support_functions"},{"include":"#type-declarations"},{"include":"#variable_assignment"},{"match":"\\\\w+","name":"variable.other.go"}]},{"include":"$self"}]}]},"syntax_errors":{"patterns":[{"captures":{"1":{"name":"invalid.illegal.slice.go"}},"match":"\\\\[](\\\\s+)"},{"match":"\\\\b0[0-7]*[89]\\\\d*\\\\b","name":"invalid.illegal.numeric.go"}]},"terminators":{"match":";","name":"punctuation.terminator.go"},"type-declarations":{"patterns":[{"include":"#language_constants"},{"include":"#comments"},{"include":"#map_types"},{"include":"#brackets"},{"include":"#delimiters"},{"include":"#keywords"},{"include":"#operators"},{"include":"#runes"},{"include":"#storage_types"},{"include":"#raw_string_literals"},{"include":"#string_literals"},{"include":"#numeric_literals"},{"include":"#terminators"}]},"type-declarations-without-brackets":{"patterns":[{"include":"#language_constants"},{"include":"#comments"},{"include":"#map_types"},{"include":"#delimiters"},{"include":"#keywords"},{"include":"#operators"},{"include":"#runes"},{"include":"#storage_types"},{"include":"#raw_string_literals"},{"include":"#string_literals"},{"include":"#numeric_literals"},{"include":"#terminators"}]},"type_assertion_inline":{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\.\\\\()(?:\\\\b(type)\\\\b|((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*\\\\[]+{0,1}[.\\\\w]+(?:\\\\[(?:[]*.\\\\[{}\\\\w]+(?:,\\\\s*[]*.\\\\[{}\\\\w]+)*)?])?))(?=\\\\))"},"var_assignment":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\bvar\\\\b)\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"begin":"(?<=\\\\bvar\\\\b)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"include":"$self"}]}]},"variable_assignment":{"patterns":[{"captures":{"0":{"patterns":[{"include":"#delimiters"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]}},"match":"\\\\b\\\\w+(?:,\\\\s*\\\\w+)*(?=\\\\s*:=)"},{"captures":{"0":{"patterns":[{"include":"#delimiters"},{"include":"#operators"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]}},"match":"\\\\b[*.\\\\w]+(?:,\\\\s*[*.\\\\w]+)*(?=\\\\s*=(?!=))"}]}},"scopeName":"source.go"}`)),n=[e];exports.default=n;
@@ -0,0 +1 @@
1
+ "use strict";const o=require("./index-CkYZRBYn.js"),u=require("./_baseUniq-DSwfPiGC.js");function x(t,e){return t&&o.copyObject(e,u.keys(e),t)}function B(t,e){return t&&o.copyObject(e,o.keysIn(e),t)}function R(t,e){return o.copyObject(t,u.getSymbols(t),e)}var V=Object.getOwnPropertySymbols,v=V?function(t){for(var e=[];t;)u.arrayPush(e,u.getSymbols(t)),t=o.getPrototype(t);return e}:u.stubArray;function k(t,e){return o.copyObject(t,v(t),e)}function q(t){return u.baseGetAllKeys(t,o.keysIn,v)}var K=Object.prototype,Y=K.hasOwnProperty;function H(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&Y.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function W(t,e){var r=e?o.cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var J=/\w*$/;function Q(t){var e=new t.constructor(t.source,J.exec(t));return e.lastIndex=t.lastIndex,e}var L=o.Symbol?o.Symbol.prototype:void 0,w=L?L.valueOf:void 0;function X(t){return w?Object(w.call(t)):{}}var Z="[object Boolean]",z="[object Date]",ee="[object Map]",te="[object Number]",re="[object RegExp]",se="[object Set]",ne="[object String]",ie="[object Symbol]",oe="[object ArrayBuffer]",ae="[object DataView]",ue="[object Float32Array]",he="[object Float64Array]",ce="[object Int8Array]",de="[object Int16Array]",fe="[object Int32Array]",le="[object Uint8Array]",ge="[object Uint8ClampedArray]",_e="[object Uint16Array]",be="[object Uint32Array]";function pe(t,e,r){var s=t.constructor;switch(e){case oe:return o.cloneArrayBuffer(t);case Z:case z:return new s(+t);case ae:return W(t,r);case ue:case he:case ce:case de:case fe:case le:case ge:case _e:case be:return o.cloneTypedArray(t,r);case ee:return new s;case te:case ne:return new s(t);case re:return Q(t);case se:return new s;case ie:return X(t)}}var ye="[object Map]";function me(t){return o.isObjectLike(t)&&o.getTag(t)==ye}var N=o.nodeUtil&&o.nodeUtil.isMap,je=N?o.baseUnary(N):me,Te="[object Set]";function Oe(t){return o.isObjectLike(t)&&o.getTag(t)==Te}var F=o.nodeUtil&&o.nodeUtil.isSet,Ee=F?o.baseUnary(F):Oe,Ae=1,Ce=2,Le=4,I="[object Arguments]",we="[object Array]",Ne="[object Boolean]",Fe="[object Date]",Se="[object Error]",D="[object Function]",$e="[object GeneratorFunction]",Pe="[object Map]",ve="[object Number]",M="[object Object]",Ie="[object RegExp]",De="[object Set]",Me="[object String]",Ue="[object Symbol]",Ge="[object WeakMap]",xe="[object ArrayBuffer]",Be="[object DataView]",Re="[object Float32Array]",Ve="[object Float64Array]",ke="[object Int8Array]",qe="[object Int16Array]",Ke="[object Int32Array]",Ye="[object Uint8Array]",He="[object Uint8ClampedArray]",We="[object Uint16Array]",Je="[object Uint32Array]",h={};h[I]=h[we]=h[xe]=h[Be]=h[Ne]=h[Fe]=h[Re]=h[Ve]=h[ke]=h[qe]=h[Ke]=h[Pe]=h[ve]=h[M]=h[Ie]=h[De]=h[Me]=h[Ue]=h[Ye]=h[He]=h[We]=h[Je]=!0;h[Se]=h[D]=h[Ge]=!1;function y(t,e,r,s,n,a){var i,c=e&Ae,d=e&Ce,U=e&Le;if(i!==void 0)return i;if(!o.isObject(t))return t;var O=o.isArray(t);if(O){if(i=H(t),!c)return o.copyArray(t,i)}else{var b=o.getTag(t),E=b==D||b==$e;if(o.isBuffer(t))return o.cloneBuffer(t,c);if(b==M||b==I||E&&!n){if(i=d||E?{}:o.initCloneObject(t),!c)return d?k(t,B(i,t)):R(t,x(i,t))}else{if(!h[b])return n?t:{};i=pe(t,b,c)}}a||(a=new o.Stack);var A=a.get(t);if(A)return A;a.set(t,i),Ee(t)?t.forEach(function(f){i.add(y(f,e,r,f,t,a))}):je(t)&&t.forEach(function(f,l){i.set(l,y(f,e,r,l,t,a))});var G=U?d?q:u.getAllKeys:d?o.keysIn:u.keys,C=O?void 0:G(t);return u.arrayEach(C||t,function(f,l){C&&(l=f,f=t[l]),o.assignValue(i,l,y(f,e,r,l,t,a))}),i}function Qe(t,e){return u.arrayMap(e,function(r){return t[r]})}function m(t){return t==null?[]:Qe(t,u.keys(t))}function _(t){return t===void 0}var Xe=o.baseRest(function(t){return u.baseUniq(u.baseFlatten(t,1,o.isArrayLikeObject,!0))}),Ze="\0",g="\0",S="";class T{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=o.constant$2(void 0),this._defaultEdgeLabelFn=o.constant$2(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[g]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return o.isFunction(e)||(e=o.constant$2(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return u.keys(this._nodes)}sources(){var e=this;return u.filter(this.nodes(),function(r){return o.isEmpty(e._in[r])})}sinks(){var e=this;return u.filter(this.nodes(),function(r){return o.isEmpty(e._out[r])})}setNodes(e,r){var s=arguments,n=this;return u.forEach(e,function(a){s.length>1?n.setNode(a,r):n.setNode(a)}),this}setNode(e,r){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=r),this):(this._nodes[e]=arguments.length>1?r:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=g,this._children[e]={},this._children[g][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var r=s=>this.removeEdge(this._edgeObjs[s]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],u.forEach(this.children(e),s=>{this.setParent(s)}),delete this._children[e]),u.forEach(u.keys(this._in[e]),r),delete this._in[e],delete this._preds[e],u.forEach(u.keys(this._out[e]),r),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(_(r))r=g;else{r+="";for(var s=r;!_(s);s=this.parent(s))if(s===e)throw new Error("Setting "+r+" as parent of "+e+" would create a cycle");this.setNode(r)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=r,this._children[r][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var r=this._parent[e];if(r!==g)return r}}children(e){if(_(e)&&(e=g),this._isCompound){var r=this._children[e];if(r)return u.keys(r)}else{if(e===g)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var r=this._preds[e];if(r)return u.keys(r)}successors(e){var r=this._sucs[e];if(r)return u.keys(r)}neighbors(e){var r=this.predecessors(e);if(r)return Xe(r,this.successors(e))}isLeaf(e){var r;return this.isDirected()?r=this.successors(e):r=this.neighbors(e),r.length===0}filterNodes(e){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var s=this;u.forEach(this._nodes,function(i,c){e(c)&&r.setNode(c,i)}),u.forEach(this._edgeObjs,function(i){r.hasNode(i.v)&&r.hasNode(i.w)&&r.setEdge(i,s.edge(i))});var n={};function a(i){var c=s.parent(i);return c===void 0||r.hasNode(c)?(n[i]=c,c):c in n?n[c]:a(c)}return this._isCompound&&u.forEach(r.nodes(),function(i){r.setParent(i,a(i))}),r}setDefaultEdgeLabel(e){return o.isFunction(e)||(e=o.constant$2(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return m(this._edgeObjs)}setPath(e,r){var s=this,n=arguments;return u.reduce(e,function(a,i){return n.length>1?s.setEdge(a,i,r):s.setEdge(a,i),i}),this}setEdge(){var e,r,s,n,a=!1,i=arguments[0];typeof i=="object"&&i!==null&&"v"in i?(e=i.v,r=i.w,s=i.name,arguments.length===2&&(n=arguments[1],a=!0)):(e=i,r=arguments[1],s=arguments[3],arguments.length>2&&(n=arguments[2],a=!0)),e=""+e,r=""+r,_(s)||(s=""+s);var c=p(this._isDirected,e,r,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,c))return a&&(this._edgeLabels[c]=n),this;if(!_(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(r),this._edgeLabels[c]=a?n:this._defaultEdgeLabelFn(e,r,s);var d=ze(this._isDirected,e,r,s);return e=d.v,r=d.w,Object.freeze(d),this._edgeObjs[c]=d,$(this._preds[r],e),$(this._sucs[e],r),this._in[r][c]=d,this._out[e][c]=d,this._edgeCount++,this}edge(e,r,s){var n=arguments.length===1?j(this._isDirected,arguments[0]):p(this._isDirected,e,r,s);return this._edgeLabels[n]}hasEdge(e,r,s){var n=arguments.length===1?j(this._isDirected,arguments[0]):p(this._isDirected,e,r,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,n)}removeEdge(e,r,s){var n=arguments.length===1?j(this._isDirected,arguments[0]):p(this._isDirected,e,r,s),a=this._edgeObjs[n];return a&&(e=a.v,r=a.w,delete this._edgeLabels[n],delete this._edgeObjs[n],P(this._preds[r],e),P(this._sucs[e],r),delete this._in[r][n],delete this._out[e][n],this._edgeCount--),this}inEdges(e,r){var s=this._in[e];if(s){var n=m(s);return r?u.filter(n,function(a){return a.v===r}):n}}outEdges(e,r){var s=this._out[e];if(s){var n=m(s);return r?u.filter(n,function(a){return a.w===r}):n}}nodeEdges(e,r){var s=this.inEdges(e,r);if(s)return s.concat(this.outEdges(e,r))}}T.prototype._nodeCount=0;T.prototype._edgeCount=0;function $(t,e){t[e]?t[e]++:t[e]=1}function P(t,e){--t[e]||delete t[e]}function p(t,e,r,s){var n=""+e,a=""+r;if(!t&&n>a){var i=n;n=a,a=i}return n+S+a+S+(_(s)?Ze:s)}function ze(t,e,r,s){var n=""+e,a=""+r;if(!t&&n>a){var i=n;n=a,a=i}var c={v:n,w:a};return s&&(c.name=s),c}function j(t,e){return p(t,e.v,e.w,e.name)}exports.Graph=T;exports.baseClone=y;exports.isUndefined=_;exports.values=m;
@@ -0,0 +1,381 @@
1
+ import { aV as T, aW as C, aX as z, aY as R, aZ as S, a_ as k, a$ as V, b0 as L, b1 as K, b2 as j, b3 as ee, b4 as te, b5 as re, b6 as se, b7 as ne, b8 as ie, b9 as ae, aJ as oe, ba as ue, bb as he, bc as y, bd as $, be as v } from "./index-oe4HpmeG.mjs";
2
+ import { k as d, g as Y, s as de, e as ce, f as fe, h as ge, j as le, c as be, l as _e, b as pe, m, n as g, r as ye } from "./_baseUniq-CT-tc-CG.mjs";
3
+ function me(t, e) {
4
+ return t && T(e, d(e), t);
5
+ }
6
+ function je(t, e) {
7
+ return t && T(e, C(e), t);
8
+ }
9
+ function Te(t, e) {
10
+ return T(t, Y(t), e);
11
+ }
12
+ var Oe = Object.getOwnPropertySymbols, W = Oe ? function(t) {
13
+ for (var e = []; t; )
14
+ ce(e, Y(t)), t = z(t);
15
+ return e;
16
+ } : de;
17
+ function Ae(t, e) {
18
+ return T(t, W(t), e);
19
+ }
20
+ function Ee(t) {
21
+ return fe(t, C, W);
22
+ }
23
+ var Ce = Object.prototype, Le = Ce.hasOwnProperty;
24
+ function we(t) {
25
+ var e = t.length, r = new t.constructor(e);
26
+ return e && typeof t[0] == "string" && Le.call(t, "index") && (r.index = t.index, r.input = t.input), r;
27
+ }
28
+ function Ne(t, e) {
29
+ var r = e ? R(t.buffer) : t.buffer;
30
+ return new t.constructor(r, t.byteOffset, t.byteLength);
31
+ }
32
+ var Fe = /\w*$/;
33
+ function Pe(t) {
34
+ var e = new t.constructor(t.source, Fe.exec(t));
35
+ return e.lastIndex = t.lastIndex, e;
36
+ }
37
+ var I = S ? S.prototype : void 0, D = I ? I.valueOf : void 0;
38
+ function Se(t) {
39
+ return D ? Object(D.call(t)) : {};
40
+ }
41
+ var $e = "[object Boolean]", ve = "[object Date]", Ie = "[object Map]", De = "[object Number]", Me = "[object RegExp]", Ge = "[object Set]", Ue = "[object String]", xe = "[object Symbol]", Be = "[object ArrayBuffer]", Re = "[object DataView]", Ve = "[object Float32Array]", Ke = "[object Float64Array]", Ye = "[object Int8Array]", We = "[object Int16Array]", qe = "[object Int32Array]", He = "[object Uint8Array]", Je = "[object Uint8ClampedArray]", Xe = "[object Uint16Array]", Ze = "[object Uint32Array]";
42
+ function Qe(t, e, r) {
43
+ var s = t.constructor;
44
+ switch (e) {
45
+ case Be:
46
+ return R(t);
47
+ case $e:
48
+ case ve:
49
+ return new s(+t);
50
+ case Re:
51
+ return Ne(t, r);
52
+ case Ve:
53
+ case Ke:
54
+ case Ye:
55
+ case We:
56
+ case qe:
57
+ case He:
58
+ case Je:
59
+ case Xe:
60
+ case Ze:
61
+ return k(t, r);
62
+ case Ie:
63
+ return new s();
64
+ case De:
65
+ case Ue:
66
+ return new s(t);
67
+ case Me:
68
+ return Pe(t);
69
+ case Ge:
70
+ return new s();
71
+ case xe:
72
+ return Se(t);
73
+ }
74
+ }
75
+ var ze = "[object Map]";
76
+ function ke(t) {
77
+ return V(t) && L(t) == ze;
78
+ }
79
+ var M = j && j.isMap, et = M ? K(M) : ke, tt = "[object Set]";
80
+ function rt(t) {
81
+ return V(t) && L(t) == tt;
82
+ }
83
+ var G = j && j.isSet, st = G ? K(G) : rt, nt = 1, it = 2, at = 4, q = "[object Arguments]", ot = "[object Array]", ut = "[object Boolean]", ht = "[object Date]", dt = "[object Error]", H = "[object Function]", ct = "[object GeneratorFunction]", ft = "[object Map]", gt = "[object Number]", J = "[object Object]", lt = "[object RegExp]", bt = "[object Set]", _t = "[object String]", pt = "[object Symbol]", yt = "[object WeakMap]", mt = "[object ArrayBuffer]", jt = "[object DataView]", Tt = "[object Float32Array]", Ot = "[object Float64Array]", At = "[object Int8Array]", Et = "[object Int16Array]", Ct = "[object Int32Array]", Lt = "[object Uint8Array]", wt = "[object Uint8ClampedArray]", Nt = "[object Uint16Array]", Ft = "[object Uint32Array]", o = {};
84
+ o[q] = o[ot] = o[mt] = o[jt] = o[ut] = o[ht] = o[Tt] = o[Ot] = o[At] = o[Et] = o[Ct] = o[ft] = o[gt] = o[J] = o[lt] = o[bt] = o[_t] = o[pt] = o[Lt] = o[wt] = o[Nt] = o[Ft] = !0;
85
+ o[dt] = o[H] = o[yt] = !1;
86
+ function O(t, e, r, s, n, a) {
87
+ var i, u = e & nt, h = e & it, Z = e & at;
88
+ if (i !== void 0)
89
+ return i;
90
+ if (!ee(t))
91
+ return t;
92
+ var w = oe(t);
93
+ if (w) {
94
+ if (i = we(t), !u)
95
+ return te(t, i);
96
+ } else {
97
+ var b = L(t), N = b == H || b == ct;
98
+ if (re(t))
99
+ return se(t, u);
100
+ if (b == J || b == q || N && !n) {
101
+ if (i = h || N ? {} : ne(t), !u)
102
+ return h ? Ae(t, je(i, t)) : Te(t, me(i, t));
103
+ } else {
104
+ if (!o[b])
105
+ return n ? t : {};
106
+ i = Qe(t, b, u);
107
+ }
108
+ }
109
+ a || (a = new ie());
110
+ var F = a.get(t);
111
+ if (F)
112
+ return F;
113
+ a.set(t, i), st(t) ? t.forEach(function(c) {
114
+ i.add(O(c, e, r, c, t, a));
115
+ }) : et(t) && t.forEach(function(c, f) {
116
+ i.set(f, O(c, e, r, f, t, a));
117
+ });
118
+ var Q = Z ? h ? Ee : ge : h ? C : d, P = w ? void 0 : Q(t);
119
+ return le(P || t, function(c, f) {
120
+ P && (f = c, c = t[f]), ae(i, f, O(c, e, r, f, t, a));
121
+ }), i;
122
+ }
123
+ function Pt(t, e) {
124
+ return be(e, function(r) {
125
+ return t[r];
126
+ });
127
+ }
128
+ function A(t) {
129
+ return t == null ? [] : Pt(t, d(t));
130
+ }
131
+ function _(t) {
132
+ return t === void 0;
133
+ }
134
+ var St = ue(function(t) {
135
+ return _e(pe(t, 1, he, !0));
136
+ }), $t = "\0", l = "\0", U = "";
137
+ class X {
138
+ constructor(e = {}) {
139
+ this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = y(void 0), this._defaultEdgeLabelFn = y(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[l] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
140
+ }
141
+ /* === Graph functions ========= */
142
+ isDirected() {
143
+ return this._isDirected;
144
+ }
145
+ isMultigraph() {
146
+ return this._isMultigraph;
147
+ }
148
+ isCompound() {
149
+ return this._isCompound;
150
+ }
151
+ setGraph(e) {
152
+ return this._label = e, this;
153
+ }
154
+ graph() {
155
+ return this._label;
156
+ }
157
+ /* === Node functions ========== */
158
+ setDefaultNodeLabel(e) {
159
+ return $(e) || (e = y(e)), this._defaultNodeLabelFn = e, this;
160
+ }
161
+ nodeCount() {
162
+ return this._nodeCount;
163
+ }
164
+ nodes() {
165
+ return d(this._nodes);
166
+ }
167
+ sources() {
168
+ var e = this;
169
+ return m(this.nodes(), function(r) {
170
+ return v(e._in[r]);
171
+ });
172
+ }
173
+ sinks() {
174
+ var e = this;
175
+ return m(this.nodes(), function(r) {
176
+ return v(e._out[r]);
177
+ });
178
+ }
179
+ setNodes(e, r) {
180
+ var s = arguments, n = this;
181
+ return g(e, function(a) {
182
+ s.length > 1 ? n.setNode(a, r) : n.setNode(a);
183
+ }), this;
184
+ }
185
+ setNode(e, r) {
186
+ return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = r), this) : (this._nodes[e] = arguments.length > 1 ? r : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = l, this._children[e] = {}, this._children[l][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
187
+ }
188
+ node(e) {
189
+ return this._nodes[e];
190
+ }
191
+ hasNode(e) {
192
+ return Object.prototype.hasOwnProperty.call(this._nodes, e);
193
+ }
194
+ removeNode(e) {
195
+ if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
196
+ var r = (s) => this.removeEdge(this._edgeObjs[s]);
197
+ delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], g(this.children(e), (s) => {
198
+ this.setParent(s);
199
+ }), delete this._children[e]), g(d(this._in[e]), r), delete this._in[e], delete this._preds[e], g(d(this._out[e]), r), delete this._out[e], delete this._sucs[e], --this._nodeCount;
200
+ }
201
+ return this;
202
+ }
203
+ setParent(e, r) {
204
+ if (!this._isCompound)
205
+ throw new Error("Cannot set parent in a non-compound graph");
206
+ if (_(r))
207
+ r = l;
208
+ else {
209
+ r += "";
210
+ for (var s = r; !_(s); s = this.parent(s))
211
+ if (s === e)
212
+ throw new Error("Setting " + r + " as parent of " + e + " would create a cycle");
213
+ this.setNode(r);
214
+ }
215
+ return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = r, this._children[r][e] = !0, this;
216
+ }
217
+ _removeFromParentsChildList(e) {
218
+ delete this._children[this._parent[e]][e];
219
+ }
220
+ parent(e) {
221
+ if (this._isCompound) {
222
+ var r = this._parent[e];
223
+ if (r !== l)
224
+ return r;
225
+ }
226
+ }
227
+ children(e) {
228
+ if (_(e) && (e = l), this._isCompound) {
229
+ var r = this._children[e];
230
+ if (r)
231
+ return d(r);
232
+ } else {
233
+ if (e === l)
234
+ return this.nodes();
235
+ if (this.hasNode(e))
236
+ return [];
237
+ }
238
+ }
239
+ predecessors(e) {
240
+ var r = this._preds[e];
241
+ if (r)
242
+ return d(r);
243
+ }
244
+ successors(e) {
245
+ var r = this._sucs[e];
246
+ if (r)
247
+ return d(r);
248
+ }
249
+ neighbors(e) {
250
+ var r = this.predecessors(e);
251
+ if (r)
252
+ return St(r, this.successors(e));
253
+ }
254
+ isLeaf(e) {
255
+ var r;
256
+ return this.isDirected() ? r = this.successors(e) : r = this.neighbors(e), r.length === 0;
257
+ }
258
+ filterNodes(e) {
259
+ var r = new this.constructor({
260
+ directed: this._isDirected,
261
+ multigraph: this._isMultigraph,
262
+ compound: this._isCompound
263
+ });
264
+ r.setGraph(this.graph());
265
+ var s = this;
266
+ g(this._nodes, function(i, u) {
267
+ e(u) && r.setNode(u, i);
268
+ }), g(this._edgeObjs, function(i) {
269
+ r.hasNode(i.v) && r.hasNode(i.w) && r.setEdge(i, s.edge(i));
270
+ });
271
+ var n = {};
272
+ function a(i) {
273
+ var u = s.parent(i);
274
+ return u === void 0 || r.hasNode(u) ? (n[i] = u, u) : u in n ? n[u] : a(u);
275
+ }
276
+ return this._isCompound && g(r.nodes(), function(i) {
277
+ r.setParent(i, a(i));
278
+ }), r;
279
+ }
280
+ /* === Edge functions ========== */
281
+ setDefaultEdgeLabel(e) {
282
+ return $(e) || (e = y(e)), this._defaultEdgeLabelFn = e, this;
283
+ }
284
+ edgeCount() {
285
+ return this._edgeCount;
286
+ }
287
+ edges() {
288
+ return A(this._edgeObjs);
289
+ }
290
+ setPath(e, r) {
291
+ var s = this, n = arguments;
292
+ return ye(e, function(a, i) {
293
+ return n.length > 1 ? s.setEdge(a, i, r) : s.setEdge(a, i), i;
294
+ }), this;
295
+ }
296
+ /*
297
+ * setEdge(v, w, [value, [name]])
298
+ * setEdge({ v, w, [name] }, [value])
299
+ */
300
+ setEdge() {
301
+ var e, r, s, n, a = !1, i = arguments[0];
302
+ typeof i == "object" && i !== null && "v" in i ? (e = i.v, r = i.w, s = i.name, arguments.length === 2 && (n = arguments[1], a = !0)) : (e = i, r = arguments[1], s = arguments[3], arguments.length > 2 && (n = arguments[2], a = !0)), e = "" + e, r = "" + r, _(s) || (s = "" + s);
303
+ var u = p(this._isDirected, e, r, s);
304
+ if (Object.prototype.hasOwnProperty.call(this._edgeLabels, u))
305
+ return a && (this._edgeLabels[u] = n), this;
306
+ if (!_(s) && !this._isMultigraph)
307
+ throw new Error("Cannot set a named edge when isMultigraph = false");
308
+ this.setNode(e), this.setNode(r), this._edgeLabels[u] = a ? n : this._defaultEdgeLabelFn(e, r, s);
309
+ var h = vt(this._isDirected, e, r, s);
310
+ return e = h.v, r = h.w, Object.freeze(h), this._edgeObjs[u] = h, x(this._preds[r], e), x(this._sucs[e], r), this._in[r][u] = h, this._out[e][u] = h, this._edgeCount++, this;
311
+ }
312
+ edge(e, r, s) {
313
+ var n = arguments.length === 1 ? E(this._isDirected, arguments[0]) : p(this._isDirected, e, r, s);
314
+ return this._edgeLabels[n];
315
+ }
316
+ hasEdge(e, r, s) {
317
+ var n = arguments.length === 1 ? E(this._isDirected, arguments[0]) : p(this._isDirected, e, r, s);
318
+ return Object.prototype.hasOwnProperty.call(this._edgeLabels, n);
319
+ }
320
+ removeEdge(e, r, s) {
321
+ var n = arguments.length === 1 ? E(this._isDirected, arguments[0]) : p(this._isDirected, e, r, s), a = this._edgeObjs[n];
322
+ return a && (e = a.v, r = a.w, delete this._edgeLabels[n], delete this._edgeObjs[n], B(this._preds[r], e), B(this._sucs[e], r), delete this._in[r][n], delete this._out[e][n], this._edgeCount--), this;
323
+ }
324
+ inEdges(e, r) {
325
+ var s = this._in[e];
326
+ if (s) {
327
+ var n = A(s);
328
+ return r ? m(n, function(a) {
329
+ return a.v === r;
330
+ }) : n;
331
+ }
332
+ }
333
+ outEdges(e, r) {
334
+ var s = this._out[e];
335
+ if (s) {
336
+ var n = A(s);
337
+ return r ? m(n, function(a) {
338
+ return a.w === r;
339
+ }) : n;
340
+ }
341
+ }
342
+ nodeEdges(e, r) {
343
+ var s = this.inEdges(e, r);
344
+ if (s)
345
+ return s.concat(this.outEdges(e, r));
346
+ }
347
+ }
348
+ X.prototype._nodeCount = 0;
349
+ X.prototype._edgeCount = 0;
350
+ function x(t, e) {
351
+ t[e] ? t[e]++ : t[e] = 1;
352
+ }
353
+ function B(t, e) {
354
+ --t[e] || delete t[e];
355
+ }
356
+ function p(t, e, r, s) {
357
+ var n = "" + e, a = "" + r;
358
+ if (!t && n > a) {
359
+ var i = n;
360
+ n = a, a = i;
361
+ }
362
+ return n + U + a + U + (_(s) ? $t : s);
363
+ }
364
+ function vt(t, e, r, s) {
365
+ var n = "" + e, a = "" + r;
366
+ if (!t && n > a) {
367
+ var i = n;
368
+ n = a, a = i;
369
+ }
370
+ var u = { v: n, w: a };
371
+ return s && (u.name = s), u;
372
+ }
373
+ function E(t, e) {
374
+ return p(t, e.v, e.w, e.name);
375
+ }
376
+ export {
377
+ X as G,
378
+ O as b,
379
+ _ as i,
380
+ A as v
381
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./javascript-DgmXW4Ha.js"),a=require("./typescript-b48wo4zk.js"),n=require("./jsx-DLX6UGgg.js"),l=require("./tsx-DIpfUf9u.js"),r=Object.freeze(JSON.parse(`{"displayName":"GraphQL","fileTypes":["graphql","graphqls","gql","graphcool"],"name":"graphql","patterns":[{"include":"#graphql"}],"repository":{"graphql":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-fragment-definition"},{"include":"#graphql-directive-definition"},{"include":"#graphql-type-interface"},{"include":"#graphql-enum"},{"include":"#graphql-scalar"},{"include":"#graphql-union"},{"include":"#graphql-schema"},{"include":"#graphql-operation-def"},{"include":"#literal-quasi-embedded"}]},"graphql-ampersand":{"captures":{"1":{"name":"keyword.operator.logical.graphql"}},"match":"\\\\s*(&)"},"graphql-arguments":{"begin":"\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"end":"\\\\s*(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"name":"meta.arguments.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"},"2":{"name":"punctuation.colon.graphql"}},"end":"(?=\\\\s*(?:([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)|\\\\)))|\\\\s*(,)","endCaptures":{"3":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-value"},{"include":"#graphql-skip-newlines"}]},{"include":"#literal-quasi-embedded"}]},"graphql-boolean-value":{"captures":{"1":{"name":"constant.language.boolean.graphql"}},"match":"\\\\s*\\\\b(true|false)\\\\b"},"graphql-colon":{"captures":{"1":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*(:)"},"graphql-comma":{"captures":{"1":{"name":"punctuation.comma.graphql"}},"match":"\\\\s*(,)"},"graphql-comment":{"patterns":[{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"match":"(\\\\s*)(#).*","name":"comment.line.graphql.js"},{"begin":"(\\"\\"\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\"\\"\\")","name":"comment.line.graphql.js"},{"begin":"(\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\")","name":"comment.line.graphql.js"}]},"graphql-description-docstring":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"comment.block.graphql"},"graphql-description-singleline":{"match":"#(?=([^\\"]*\\"[^\\"]*\\")*[^\\"]*$).*$","name":"comment.line.number-sign.graphql"},"graphql-directive":{"applyEndPatternLast":1,"begin":"\\\\s*((@)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))","beginCaptures":{"1":{"name":"entity.name.function.directive.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-arguments"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-directive-definition":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(directive)\\\\b\\\\s*(@[A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.directive.graphql"},"2":{"name":"entity.name.function.directive.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-variable-definitions"},{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.on.graphql"},"2":{"name":"support.type.location.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"},{"captures":{"2":{"name":"support.type.location.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z]*)"}]},{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"}]},"graphql-enum":{"begin":"\\\\s*+\\\\b(enum)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.enum.graphql"},"2":{"name":"support.type.enum.graphql"}},"end":"(?<=})","name":"meta.enum.graphql","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-object-type"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-enum-value"},{"include":"#literal-quasi-embedded"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"}]},"graphql-enum-value":{"match":"\\\\s*(?!=\\\\b(true|false|null)\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","name":"constant.character.enum.graphql"},"graphql-field":{"patterns":[{"captures":{"1":{"name":"string.unquoted.alias.graphql"},"2":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)"},{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-arguments"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-float-value":{"captures":{"1":{"name":"constant.numeric.float.graphql"}},"match":"\\\\s*(-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?(([Ee])([-+])?[0-9]+)?)"},"graphql-fragment-definition":{"begin":"\\\\s*\\\\b(fragment)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.fragment.graphql"},"2":{"name":"entity.name.fragment.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?<=})","name":"meta.fragment.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-fragment-spread":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?!\\\\bon\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"variable.fragment.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-ignore-spaces":{"match":"\\\\s*"},"graphql-inline-fragment":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?:\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))?","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"keyword.on.graphql"},"3":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-input-types":{"patterns":[{"include":"#graphql-scalar-type"},{"captures":{"1":{"name":"support.type.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?:\\\\s*(!))?"},{"begin":"\\\\s*(\\\\[)","captures":{"1":{"name":"meta.brace.square.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"end":"\\\\s*(])(?:\\\\s*(!))?","name":"meta.type.list.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-input-types"},{"include":"#graphql-comma"},{"include":"#literal-quasi-embedded"}]}]},"graphql-list-value":{"patterns":[{"begin":"\\\\s*+(\\\\[)","beginCaptures":{"1":{"name":"meta.brace.square.graphql"}},"end":"\\\\s*(])","endCaptures":{"1":{"name":"meta.brace.square.graphql"}},"name":"meta.listvalues.graphql","patterns":[{"include":"#graphql-value"}]}]},"graphql-name":{"captures":{"1":{"name":"entity.name.function.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-null-value":{"captures":{"1":{"name":"constant.language.null.graphql"}},"match":"\\\\s*\\\\b(null)\\\\b"},"graphql-object-field":{"captures":{"1":{"name":"constant.object.key.graphql"},"2":{"name":"string.unquoted.graphql"},"3":{"name":"punctuation.graphql"}},"match":"\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*))\\\\s*(:)"},"graphql-object-value":{"patterns":[{"begin":"\\\\s*+(\\\\{)","beginCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"name":"meta.objectvalues.graphql","patterns":[{"include":"#graphql-object-field"},{"include":"#graphql-value"}]}]},"graphql-operation-def":{"patterns":[{"include":"#graphql-query-mutation"},{"include":"#graphql-name"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"}]},"graphql-query-mutation":{"captures":{"1":{"name":"keyword.operation.graphql"}},"match":"\\\\s*\\\\b(query|mutation)\\\\b"},"graphql-scalar":{"captures":{"1":{"name":"keyword.scalar.graphql"},"2":{"name":"entity.scalar.graphql"}},"match":"\\\\s*\\\\b(scalar)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-scalar-type":{"captures":{"1":{"name":"support.type.builtin.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*\\\\b(Int|Float|String|Boolean|ID)\\\\b(?:\\\\s*(!))?"},"graphql-schema":{"begin":"\\\\s*\\\\b(schema)\\\\b","beginCaptures":{"1":{"name":"keyword.schema.graphql"}},"end":"(?<=})","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"patterns":[{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.arguments.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-colon"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"}]},"graphql-selection-set":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.selectionset.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-field"},{"include":"#graphql-fragment-spread"},{"include":"#graphql-inline-fragment"},{"include":"#graphql-comma"},{"include":"#native-interpolation"},{"include":"#literal-quasi-embedded"}]},"graphql-skip-newlines":{"match":"\\\\s*\\\\n"},"graphql-string-content":{"patterns":[{"match":"\\\\\\\\[\\"'/\\\\\\\\bfnrt]","name":"constant.character.escape.graphql"},{"match":"\\\\\\\\u(\\\\h{4})","name":"constant.character.escape.graphql"}]},"graphql-string-value":{"begin":"\\\\s*+((\\"))","beginCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.begin.graphql"}},"contentName":"string.quoted.double.graphql","end":"\\\\s*+(?:((\\"))|(\\\\n))","endCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.end.graphql"},"3":{"name":"invalid.illegal.newline.graphql"}},"patterns":[{"include":"#graphql-string-content"},{"include":"#literal-quasi-embedded"}]},"graphql-type-definition":{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-type-object"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#literal-quasi-embedded"}]},"graphql-type-interface":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(?:(extends?)?\\\\b\\\\s*\\\\b(type)|(interface)|(input))\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?","captures":{"1":{"name":"keyword.type.graphql"},"2":{"name":"keyword.type.graphql"},"3":{"name":"keyword.interface.graphql"},"4":{"name":"keyword.input.graphql"},"5":{"name":"support.type.graphql"}},"end":"(?=.)","name":"meta.type.interface.graphql","patterns":[{"begin":"\\\\s*\\\\b(implements)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.implements.graphql"}},"end":"\\\\s*(?=\\\\{)","patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-ampersand"},{"include":"#graphql-comma"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-type-object"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-ignore-spaces"}]},"graphql-type-object":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-object-type"},{"include":"#graphql-type-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-union":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(union)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.union.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"applyEndPatternLast":1,"begin":"\\\\s*(=)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"punctuation.assignment.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"},{"captures":{"1":{"name":"punctuation.or.graphql"},"2":{"name":"support.type.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-union-mark":{"captures":{"1":{"name":"punctuation.union.graphql"}},"match":"\\\\s*(\\\\|)"},"graphql-value":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-variable-name"},{"include":"#graphql-float-value"},{"include":"#graphql-string-value"},{"include":"#graphql-boolean-value"},{"include":"#graphql-null-value"},{"include":"#graphql-enum-value"},{"include":"#graphql-list-value"},{"include":"#graphql-object-value"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-assignment":{"applyEndPatternLast":1,"begin":"\\\\s(=)","beginCaptures":{"1":{"name":"punctuation.assignment.graphql"}},"end":"(?=[\\\\n),])","patterns":[{"include":"#graphql-value"}]},"graphql-variable-definition":{"begin":"\\\\s*(\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"}},"end":"(?=\\\\s*((\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|([)}])))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"name":"meta.variables.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#graphql-variable-assignment"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-variable-definitions":{"begin":"\\\\s*(\\\\()","captures":{"1":{"name":"meta.brace.round.graphql"}},"end":"\\\\s*(\\\\))","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-variable-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-name":{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*(\\\\$[A-Z_a-z][0-9A-Z_a-z]*)"},"native-interpolation":{"begin":"\\\\s*(\\\\$\\\\{)","beginCaptures":{"1":{"name":"keyword.other.substitution.begin"}},"end":"(})","endCaptures":{"1":{"name":"keyword.other.substitution.end"}},"name":"native.interpolation","patterns":[{"include":"source.js"},{"include":"source.ts"},{"include":"source.js.jsx"},{"include":"source.tsx"}]}},"scopeName":"source.graphql","embeddedLangs":["javascript","typescript","jsx","tsx"],"aliases":["gql"]}`)),i=[...e.default,...a.default,...n.default,...l.default,r];exports.default=i;