@tempots/beatui 0.30.2 → 0.31.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 (368) hide show
  1. package/dist/2019-BY_FFnZU.cjs +1 -0
  2. package/dist/{2019-Cd9nHhvg.js → 2019-C660mMK6.js} +9 -10
  3. package/dist/{2020-CyKJpuK6.js → 2020-C3P-aGet.js} +30 -31
  4. package/dist/2020-Cyyhc8pv.cjs +1 -0
  5. package/dist/{ar-Dz8Mg5la.js → ar-BUxQ3yNv.js} +30 -15
  6. package/dist/ar-DcFl4tkv.cjs +1 -0
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +85 -84
  9. package/dist/beatui.css +32 -6
  10. package/dist/beatui.tailwind.css +32 -6
  11. package/dist/{de-ToWTQGEo.js → de-CKKQr2-K.js} +27 -12
  12. package/dist/de-DEUS3n0J.cjs +1 -0
  13. package/dist/{es-CruxS0Tz.js → es-C5VUn_X1.js} +27 -12
  14. package/dist/es-CIeoDpkc.cjs +1 -0
  15. package/dist/{fa-Cf0NZLWA.js → fa-Cs2LZsfr.js} +30 -15
  16. package/dist/fa-gXa9Xdjn.cjs +1 -0
  17. package/dist/fr-6SpJ-gVV.cjs +1 -0
  18. package/dist/{fr-YKXmqMGr.js → fr-Dlw8mKFp.js} +20 -5
  19. package/dist/{he-D8ZOduPw.js → he-Cm4NxsyE.js} +30 -15
  20. package/dist/he-D9cwxZOb.cjs +1 -0
  21. package/dist/hi-CNRHnMsQ.cjs +1 -0
  22. package/dist/{hi-CIamzVEf.js → hi-Cjz1aQX2.js} +30 -15
  23. package/dist/index-BI5w0jSz.js +2707 -0
  24. package/dist/index-Bv2gn_kV.cjs +4 -0
  25. package/dist/index-C-FUCwXi.js +14275 -0
  26. package/dist/index-CKyH3jwP.cjs +1 -0
  27. package/dist/index-CXY0yKJD.cjs +34 -0
  28. package/dist/{index-O9BwR_8P.cjs → index-CYY_JLSN.cjs} +1 -1
  29. package/dist/index-DKy2mZws.cjs +1 -0
  30. package/dist/{index-B2079wM-.js → index-DjShJtXp.js} +15 -15
  31. package/dist/index-DwyUOY3r.js +68 -0
  32. package/dist/{index-DDpjzV7E.js → index-Jd2O_Iux.js} +304 -307
  33. package/dist/{index-DFJed4ks.js → index-_Kh76-c2.js} +1 -1
  34. package/dist/index-klVI8k8O.cjs +8 -0
  35. package/dist/index.cjs.js +4 -4
  36. package/dist/index.es.js +1123 -1229
  37. package/dist/it-DvBJ31Ls.cjs +1 -0
  38. package/dist/{it-Bn7tG_KC.js → it-iuFeIEsO.js} +29 -14
  39. package/dist/{ja-i1ULXeiu.js → ja-D6Dd96v-.js} +25 -10
  40. package/dist/ja-FKJGj5My.cjs +1 -0
  41. package/dist/json-schema/index.cjs.js +1 -1
  42. package/dist/json-schema/index.es.js +1 -1
  43. package/dist/{ko-BpKDmtvY.js → ko-C8GOsfIU.js} +30 -15
  44. package/dist/ko-PqVOGPUi.cjs +1 -0
  45. package/dist/markdown/index.cjs.js +1 -2
  46. package/dist/markdown/index.es.js +4 -420
  47. package/dist/{modal-DvGSDVSv.js → modal-CuhK7DqK.js} +14 -13
  48. package/dist/modal-RQtwnFy9.cjs +1 -0
  49. package/dist/{nl-Cs4PDWCJ.js → nl-Ct2cyWWi.js} +31 -16
  50. package/dist/nl-DAhT0vfu.cjs +1 -0
  51. package/dist/notice-BnX2sRrK.cjs +2 -0
  52. package/dist/notice-Dz_BJg8D.js +1467 -0
  53. package/dist/{pl-BFLNf991.js → pl-DewgRE-k.js} +31 -16
  54. package/dist/pl-JgD0mCRa.cjs +1 -0
  55. package/dist/prosemirror/index.cjs.js +1 -0
  56. package/dist/prosemirror/index.es.js +6 -0
  57. package/dist/prosemirror.css +294 -0
  58. package/dist/pt-BkoMl_PC.cjs +1 -0
  59. package/dist/{pt-BRZeOkcE.js → pt-CNyp2zeW.js} +31 -16
  60. package/dist/ru-9OW0HQFS.cjs +1 -0
  61. package/dist/{ru-KI7Gowz-.js → ru-U6PdSzha.js} +35 -20
  62. package/dist/styles-url-CF_019NX.js +4 -0
  63. package/dist/styles-url-DhmSan6u.cjs +1 -0
  64. package/dist/toolbar-D7fDCmUn.cjs +1 -0
  65. package/dist/toolbar-DTh9Ouhs.js +118 -0
  66. package/dist/{tr-CYk8Fua5.js → tr-CQVvooxi.js} +28 -13
  67. package/dist/tr-DsOaoQqh.cjs +1 -0
  68. package/dist/translations-BDRano6u.cjs +1 -0
  69. package/dist/{translations-DdNHXAWr.js → translations-Cic51rHH.js} +1 -1
  70. package/dist/translations-D4PjDB1t.js +831 -0
  71. package/dist/translations-DDFTHcX3.cjs +1 -0
  72. package/dist/types/beatui-i18n/default.d.ts +14 -0
  73. package/dist/types/beatui-i18n/locales/en.d.ts +14 -0
  74. package/dist/types/beatui-i18n/translations.d.ts +14 -0
  75. package/dist/types/components/form/input/input-container.d.ts +3 -1
  76. package/dist/types/components/form/input/input-options.d.ts +6 -0
  77. package/dist/types/components/prosemirror/etoolbar-button.d.ts +11 -0
  78. package/dist/types/components/prosemirror/etoolbar-group.d.ts +4 -0
  79. package/dist/types/components/prosemirror/link-control.d.ts +12 -0
  80. package/dist/types/components/prosemirror/prosemirror-markdown-input.d.ts +76 -0
  81. package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +18 -0
  82. package/dist/types/components/prosemirror/utils.d.ts +12 -0
  83. package/dist/types/prosemirror/index.d.ts +2 -0
  84. package/dist/{ur-BIcZGLWt.js → ur-C3LypxEh.js} +30 -15
  85. package/dist/ur-C8v4y2tI.cjs +1 -0
  86. package/dist/utils-D8WljbbZ.cjs +1 -0
  87. package/dist/{utils-D1op9R8_.js → utils-DY9kZecl.js} +74 -73
  88. package/dist/vi-DzLo7qhK.cjs +1 -0
  89. package/dist/{vi-BeK62QeB.js → vi-M5ObJg3d.js} +19 -4
  90. package/dist/zh-BXk4IZBo.cjs +1 -0
  91. package/dist/{zh-Dt6yWDu2.js → zh-DGA8R46s.js} +32 -17
  92. package/package.json +20 -13
  93. package/dist/2019-Bl1mhxeM.cjs +0 -1
  94. package/dist/2020-BKqFJLj6.cjs +0 -1
  95. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  96. package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  97. package/dist/apl-B2DGVGxc.js +0 -76
  98. package/dist/apl-M-DNMvvR.cjs +0 -1
  99. package/dist/ar-CbsALGhG.cjs +0 -1
  100. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  101. package/dist/asciiarmor-BMx3XVjX.cjs +0 -1
  102. package/dist/asn1-OOsVM4yU.cjs +0 -1
  103. package/dist/asn1-jKiBa2Ya.js +0 -95
  104. package/dist/asterisk-B1QUaW1C.cjs +0 -1
  105. package/dist/asterisk-DS281yxp.js +0 -271
  106. package/dist/brainfuck-BjUlYKdF.cjs +0 -1
  107. package/dist/brainfuck-C_p9pTT8.js +0 -34
  108. package/dist/clike-BEMIzMUI.cjs +0 -1
  109. package/dist/clike-DGTaUp48.js +0 -620
  110. package/dist/clojure-Ap_IXD2I.cjs +0 -1
  111. package/dist/clojure-CCKyeQKf.js +0 -800
  112. package/dist/cmake-C4D5_VmS.cjs +0 -1
  113. package/dist/cmake-CuaCgAKt.js +0 -28
  114. package/dist/cobol-BlTKFDRj.js +0 -72
  115. package/dist/cobol-Du-cT2hr.cjs +0 -1
  116. package/dist/coffeescript-BVCvwO8I.js +0 -179
  117. package/dist/coffeescript-DDFAj2ea.cjs +0 -1
  118. package/dist/commonlisp-CXBBRCTx.cjs +0 -1
  119. package/dist/commonlisp-D_kxz07b.js +0 -75
  120. package/dist/crystal-D309uH6_.js +0 -217
  121. package/dist/crystal-DAFWRDbh.cjs +0 -1
  122. package/dist/css-BkF-NPzE.js +0 -1553
  123. package/dist/css-DzFJyRJ8.cjs +0 -1
  124. package/dist/cypher-BMq4Fwjl.js +0 -68
  125. package/dist/cypher-BN0-oCze.cjs +0 -1
  126. package/dist/d-BHsqGcfm.cjs +0 -1
  127. package/dist/d-BZcgY6La.js +0 -127
  128. package/dist/de-MO-u5hoD.cjs +0 -1
  129. package/dist/diff-CemTHKfk.cjs +0 -1
  130. package/dist/diff-Cg9d_RX2.js +0 -18
  131. package/dist/dockerfile-BBTH3voH.cjs +0 -1
  132. package/dist/dockerfile-DIy8NleC.js +0 -194
  133. package/dist/dtd-ChoVQPwv.cjs +0 -1
  134. package/dist/dtd-CtLokQ-U.js +0 -84
  135. package/dist/dylan-QYeExnWK.js +0 -234
  136. package/dist/dylan-apTQIgUA.cjs +0 -1
  137. package/dist/ebnf-DUPDuY4r.js +0 -78
  138. package/dist/ebnf-LYmLy17h.cjs +0 -1
  139. package/dist/ecl-C7WNQq7-.cjs +0 -1
  140. package/dist/ecl-CiXN-g_D.js +0 -121
  141. package/dist/eiffel-BJThA8RG.cjs +0 -1
  142. package/dist/eiffel-yQhjl4T1.js +0 -110
  143. package/dist/elm-CNT9vbN0.js +0 -108
  144. package/dist/elm-CcXP9T36.cjs +0 -1
  145. package/dist/erlang-B6mpcObI.cjs +0 -1
  146. package/dist/erlang-CFOYdy9e.js +0 -487
  147. package/dist/es-CqkWVfis.cjs +0 -1
  148. package/dist/fa-DR8j7v-l.cjs +0 -1
  149. package/dist/factor-B-tsx9yW.cjs +0 -1
  150. package/dist/factor-DDOC7X6P.js +0 -65
  151. package/dist/fcl-BzAKklXo.cjs +0 -1
  152. package/dist/fcl-CPC2WYrI.js +0 -103
  153. package/dist/forth-BmxRyE9S.js +0 -60
  154. package/dist/forth-CPAzyZ_n.cjs +0 -1
  155. package/dist/fortran-9bvPyrOW.js +0 -442
  156. package/dist/fortran-DHiTlGV1.cjs +0 -1
  157. package/dist/fr-ClK0mWTO.cjs +0 -1
  158. package/dist/gas-BiPtGF2E.cjs +0 -1
  159. package/dist/gas-cpmYfFX2.js +0 -183
  160. package/dist/gherkin-CJuwpceU.js +0 -34
  161. package/dist/gherkin-Djo7Y51D.cjs +0 -1
  162. package/dist/groovy-BMVITiCm.cjs +0 -1
  163. package/dist/groovy-DZeT_VM-.js +0 -146
  164. package/dist/haskell-Bvt3Qq1t.js +0 -375
  165. package/dist/haskell-CngODaW-.cjs +0 -1
  166. package/dist/haxe-70NVW1pR.js +0 -359
  167. package/dist/haxe-Dyk-piTh.cjs +0 -1
  168. package/dist/he-DeJMBRTP.cjs +0 -1
  169. package/dist/hi-C9Anq8Ae.cjs +0 -1
  170. package/dist/http-BkLifcnL.cjs +0 -1
  171. package/dist/http-D9LttvKF.js +0 -44
  172. package/dist/idl-B6TRFYjl.js +0 -947
  173. package/dist/idl-FmHDmsE-.cjs +0 -1
  174. package/dist/index-0dpJGQbC.js +0 -94
  175. package/dist/index-52kzSRNb.cjs +0 -1
  176. package/dist/index-5a6_6F3Z.cjs +0 -6
  177. package/dist/index-BGHGZg_7.js +0 -552
  178. package/dist/index-BMn-7Ble.js +0 -1307
  179. package/dist/index-BR0F2BVZ.cjs +0 -1
  180. package/dist/index-BlCmv2EJ.cjs +0 -1
  181. package/dist/index-BlamLFdS.js +0 -76
  182. package/dist/index-By8a3eg5.cjs +0 -1
  183. package/dist/index-C0sjoDdy.js +0 -309
  184. package/dist/index-C9RMQY3t.cjs +0 -1
  185. package/dist/index-CDBeAhhM.js +0 -289
  186. package/dist/index-CH2HgQJF.cjs +0 -1
  187. package/dist/index-CT9YDHSn.js +0 -74
  188. package/dist/index-CUZnWZnQ.cjs +0 -3
  189. package/dist/index-CVNvgkJN.js +0 -342
  190. package/dist/index-C_NT6gCL.cjs +0 -1
  191. package/dist/index-CafCsH0Z.cjs +0 -1
  192. package/dist/index-Cei6J0b_.cjs +0 -8
  193. package/dist/index-CmcOKNW2.js +0 -302
  194. package/dist/index-CvpdOKX2.js +0 -136
  195. package/dist/index-CxE1PN5L.cjs +0 -1
  196. package/dist/index-D2BpI4Zz.cjs +0 -2
  197. package/dist/index-D40RPDMJ.cjs +0 -1
  198. package/dist/index-D5iq4kyE.cjs +0 -1
  199. package/dist/index-DFzKuRY8.cjs +0 -1
  200. package/dist/index-DIO9qaw5.cjs +0 -1
  201. package/dist/index-DIR2rO5B.cjs +0 -1
  202. package/dist/index-DPnQDm6f.js +0 -138
  203. package/dist/index-DU0jpFGR.cjs +0 -1
  204. package/dist/index-DUvVsNDG.cjs +0 -13
  205. package/dist/index-DVZnPL32.js +0 -953
  206. package/dist/index-DiYfLAVQ.js +0 -554
  207. package/dist/index-DnIheaHS.js +0 -251
  208. package/dist/index-Dp2K8q6O.cjs +0 -7
  209. package/dist/index-DrlNzz-e.js +0 -59
  210. package/dist/index-Dx9UDsJi.cjs +0 -1
  211. package/dist/index-DxY-AOQA.js +0 -157
  212. package/dist/index-Mmd0YHPJ.js +0 -960
  213. package/dist/index-NyiYUSW3.js +0 -101
  214. package/dist/index-alBMysbQ.js +0 -1874
  215. package/dist/index-lEkIbMCl.js +0 -612
  216. package/dist/index-qwDdlmIi.js +0 -270
  217. package/dist/index-x3mhc_C_.cjs +0 -1
  218. package/dist/it-5n3LuTHe.cjs +0 -1
  219. package/dist/ja-Bdp4_B8-.cjs +0 -1
  220. package/dist/javascript-C2yteZeJ.js +0 -691
  221. package/dist/javascript-DngSGg_0.cjs +0 -1
  222. package/dist/jinja2-DnB6dQmV.js +0 -154
  223. package/dist/jinja2-wbVbDTNi.cjs +0 -1
  224. package/dist/julia-DA67Qw9E.cjs +0 -1
  225. package/dist/julia-DpvXAuO6.js +0 -241
  226. package/dist/ko-B5SwKB-j.cjs +0 -1
  227. package/dist/livescript-Bg3URadp.cjs +0 -1
  228. package/dist/livescript-CanGTf8u.js +0 -272
  229. package/dist/lua-CIsxjGwi.cjs +0 -1
  230. package/dist/lua-XplVlWi_.js +0 -217
  231. package/dist/mathematica-BG089QIc.cjs +0 -1
  232. package/dist/mathematica-jaRHnSxC.js +0 -35
  233. package/dist/mbox-BctzC1hL.js +0 -76
  234. package/dist/mbox-CySolFFZ.cjs +0 -1
  235. package/dist/milkdown/index.cjs.js +0 -1
  236. package/dist/milkdown/index.es.js +0 -4
  237. package/dist/milkdown-input-Bkgdi-Bv.cjs +0 -944
  238. package/dist/milkdown-input-CciSI_a5.js +0 -63967
  239. package/dist/milkdown-url-D99P-nA-.js +0 -4
  240. package/dist/milkdown-url-DqoUZH3u.cjs +0 -1
  241. package/dist/milkdown.css +0 -1914
  242. package/dist/mirc-BfqEffzk.cjs +0 -1
  243. package/dist/mirc-CFBPAOaF.js +0 -72
  244. package/dist/mllike-BSnXJBGA.js +0 -272
  245. package/dist/mllike-QUjwI6zq.cjs +0 -1
  246. package/dist/modal-CAKAT7wv.cjs +0 -1
  247. package/dist/modelica-B6Zhcb-M.cjs +0 -1
  248. package/dist/modelica-vUgVs--1.js +0 -93
  249. package/dist/mscgen-BToym4Bs.cjs +0 -1
  250. package/dist/mscgen-Cpl0NYLN.js +0 -104
  251. package/dist/mumps-CQoS1kWX.js +0 -25
  252. package/dist/mumps-wfyQdxSu.cjs +0 -1
  253. package/dist/nginx-CwqyBUfA.cjs +0 -1
  254. package/dist/nginx-zDPm3Z74.js +0 -89
  255. package/dist/nl-Cenl4nr6.cjs +0 -1
  256. package/dist/notice-DBME6bFw.cjs +0 -2
  257. package/dist/notice-DVEacWKt.js +0 -2275
  258. package/dist/nsis-DPj2fUaP.cjs +0 -1
  259. package/dist/nsis-fePjrhq7.js +0 -62
  260. package/dist/ntriples-CsNjv2QF.js +0 -79
  261. package/dist/ntriples-DgwJmozm.cjs +0 -1
  262. package/dist/octave-1pkKrgAA.cjs +0 -1
  263. package/dist/octave-C8PmmSRH.js +0 -143
  264. package/dist/oz-BXOZCt0U.cjs +0 -1
  265. package/dist/oz-Ce8aN8oE.js +0 -151
  266. package/dist/pascal-De0D6mP7.js +0 -77
  267. package/dist/pascal-DtY2LEkJ.cjs +0 -1
  268. package/dist/perl-B4bSCe1C.js +0 -915
  269. package/dist/perl-CVDWbEju.cjs +0 -1
  270. package/dist/pig-D24Z8EXi.js +0 -54
  271. package/dist/pig-DMByOrnr.cjs +0 -1
  272. package/dist/pl-7xYNCk-v.cjs +0 -1
  273. package/dist/powershell-BaoYaFvj.cjs +0 -1
  274. package/dist/powershell-DkYVfTzP.js +0 -249
  275. package/dist/preprocess-CvkqwVNt.cjs +0 -3
  276. package/dist/preprocess-D898zxsP.js +0 -2295
  277. package/dist/properties-DXHJZ3WE.cjs +0 -1
  278. package/dist/properties-Dn9wna3M.js +0 -26
  279. package/dist/protobuf-BKhXdfH6.cjs +0 -1
  280. package/dist/protobuf-BPIjwpzm.js +0 -49
  281. package/dist/pt-DOLL0Jpj.cjs +0 -1
  282. package/dist/pug-CwAQJzGR.js +0 -248
  283. package/dist/pug-kEfRDOiF.cjs +0 -1
  284. package/dist/puppet-8mAyuMbW.cjs +0 -1
  285. package/dist/puppet-nyd4dhjf.js +0 -45
  286. package/dist/python-BkR3uSy8.js +0 -313
  287. package/dist/python-D-iU6WXz.cjs +0 -1
  288. package/dist/q-BPQ45Nxu.cjs +0 -1
  289. package/dist/q-DXjKs-tC.js +0 -83
  290. package/dist/r-LKEuhEGI.js +0 -104
  291. package/dist/r-r2_EZsON.cjs +0 -1
  292. package/dist/rpm-IznJm2Xc.js +0 -57
  293. package/dist/rpm-YK81m3qU.cjs +0 -1
  294. package/dist/ru-DoS9XuqG.cjs +0 -1
  295. package/dist/ruby-CcYfvIk6.js +0 -228
  296. package/dist/ruby-Cn1sFkZF.cjs +0 -1
  297. package/dist/sas-7E8yHoCW.js +0 -105
  298. package/dist/sas-DAGcJy94.cjs +0 -1
  299. package/dist/scheme-B0ZrbojV.cjs +0 -1
  300. package/dist/scheme-DjibxsNh.js +0 -124
  301. package/dist/shell-BMYo43V6.cjs +0 -1
  302. package/dist/shell-C0C2sNA_.js +0 -182
  303. package/dist/sieve-Bwz7vjP5.js +0 -72
  304. package/dist/sieve-CIYW-b_H.cjs +0 -1
  305. package/dist/simple-mode-B0dvCdAA.js +0 -89
  306. package/dist/simple-mode-BIKNPBes.cjs +0 -1
  307. package/dist/smalltalk-Bhddl2pB.js +0 -48
  308. package/dist/smalltalk-CSslY-3i.cjs +0 -1
  309. package/dist/solr-A1kSnAwJ.cjs +0 -1
  310. package/dist/solr-BNlsLglM.js +0 -41
  311. package/dist/sparql-DnHMBLLY.cjs +0 -1
  312. package/dist/sparql-FarWu_Gb.js +0 -197
  313. package/dist/spreadsheet-B7_BK8hB.cjs +0 -1
  314. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  315. package/dist/sql-9VmIWHrZ.cjs +0 -1
  316. package/dist/sql-CfG5lQ3l.js +0 -282
  317. package/dist/stex-B4wyjEnp.cjs +0 -1
  318. package/dist/stex-Du4h4KAU.js +0 -129
  319. package/dist/stylus-CAdqWld3.js +0 -250
  320. package/dist/stylus-D6GYOT3Z.cjs +0 -1
  321. package/dist/swift-DGw6Cgu8.cjs +0 -1
  322. package/dist/swift-DSxqR9R6.js +0 -230
  323. package/dist/tcl-ByLXbQFo.cjs +0 -1
  324. package/dist/tcl-xfoLljhY.js +0 -81
  325. package/dist/textile-D1AWE-pc.js +0 -295
  326. package/dist/textile-iryw-lTw.cjs +0 -1
  327. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  328. package/dist/tiddlywiki-D8IJz1k7.cjs +0 -1
  329. package/dist/tiki-C5p5KSQK.cjs +0 -1
  330. package/dist/tiki-__Kn3CeS.js +0 -181
  331. package/dist/toml-3ZsH_4Qa.cjs +0 -1
  332. package/dist/toml-BHiuTcfn.js +0 -49
  333. package/dist/tr-BVmoz40w.cjs +0 -1
  334. package/dist/translations-Dv56lQia.cjs +0 -1
  335. package/dist/troff-D-3QCOYN.cjs +0 -1
  336. package/dist/troff-D2UO-fKf.js +0 -35
  337. package/dist/ttcn-Bsa4sfRm.js +0 -123
  338. package/dist/ttcn-C2MXAqcM.cjs +0 -1
  339. package/dist/ttcn-cfg-BYqcMRxC.cjs +0 -1
  340. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  341. package/dist/turtle-DSJNatSv.cjs +0 -1
  342. package/dist/turtle-xwJUxoPV.js +0 -80
  343. package/dist/types/components/milkdown/milkdown-input.d.ts +0 -15
  344. package/dist/types/milkdown/index.d.ts +0 -1
  345. package/dist/ur-orNTOdMP.cjs +0 -1
  346. package/dist/utils-Dobqjl2y.cjs +0 -1
  347. package/dist/vb-c2kQGd6-.js +0 -74
  348. package/dist/vb-qzHzzvyB.cjs +0 -1
  349. package/dist/vbscript-1f_Dhg5H.js +0 -324
  350. package/dist/vbscript-CWm8v9tE.cjs +0 -1
  351. package/dist/velocity-D3_yAIp3.cjs +0 -1
  352. package/dist/velocity-DJd0pTTC.js +0 -96
  353. package/dist/verilog-BOhLNmQo.cjs +0 -1
  354. package/dist/verilog-CiS1jyi5.js +0 -262
  355. package/dist/vhdl-CMFbi8Im.cjs +0 -1
  356. package/dist/vhdl-T9HkrbI2.js +0 -106
  357. package/dist/vi-BWyUDP07.cjs +0 -1
  358. package/dist/webidl-CWb_flNk.cjs +0 -1
  359. package/dist/webidl-CjfDENEo.js +0 -155
  360. package/dist/xquery-BUQdORAS.js +0 -422
  361. package/dist/xquery-Cjw5fRnG.cjs +0 -1
  362. package/dist/yacas-C0absKBh.js +0 -73
  363. package/dist/yacas-urx_N5C8.cjs +0 -1
  364. package/dist/z80-CsG3CM6M.cjs +0 -1
  365. package/dist/z80-Pki2zAjW.js +0 -61
  366. package/dist/zh-RVJj1NQq.cjs +0 -1
  367. /package/dist/types/{components/milkdown/milkdown-url.d.ts → prosemirror/styles-url.d.ts} +0 -0
  368. /package/dist/types/{milkdown → prosemirror}/styles.d.ts +0 -0
@@ -1,691 +0,0 @@
1
- function fr(x) {
2
- var br = x.statementIndent, ur = x.jsonld, pr = x.json || ur, k = x.typescript, U = x.wordCharacters || /[\w$\xa1-\uffff]/, wr = function() {
3
- function r(v) {
4
- return { type: v, style: "keyword" };
5
- }
6
- var e = r("keyword a"), t = r("keyword b"), f = r("keyword c"), u = r("keyword d"), c = r("operator"), m = { type: "atom", style: "atom" };
7
- return {
8
- if: r("if"),
9
- while: e,
10
- with: e,
11
- else: t,
12
- do: t,
13
- try: t,
14
- finally: t,
15
- return: u,
16
- break: u,
17
- continue: u,
18
- new: r("new"),
19
- delete: f,
20
- void: f,
21
- throw: f,
22
- debugger: r("debugger"),
23
- var: r("var"),
24
- const: r("var"),
25
- let: r("var"),
26
- function: r("function"),
27
- catch: r("catch"),
28
- for: r("for"),
29
- switch: r("switch"),
30
- case: r("case"),
31
- default: r("default"),
32
- in: c,
33
- typeof: c,
34
- instanceof: c,
35
- true: m,
36
- false: m,
37
- null: m,
38
- undefined: m,
39
- NaN: m,
40
- Infinity: m,
41
- this: r("this"),
42
- class: r("class"),
43
- super: r("atom"),
44
- yield: f,
45
- export: r("export"),
46
- import: r("import"),
47
- extends: f,
48
- await: f
49
- };
50
- }(), hr = /[+\-*&%=<>!?|~^@]/, Or = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;
51
- function qr(r) {
52
- for (var e = !1, t, f = !1; (t = r.next()) != null; ) {
53
- if (!e) {
54
- if (t == "/" && !f) return;
55
- t == "[" ? f = !0 : f && t == "]" && (f = !1);
56
- }
57
- e = !e && t == "\\";
58
- }
59
- }
60
- var D, G;
61
- function p(r, e, t) {
62
- return D = r, G = t, e;
63
- }
64
- function S(r, e) {
65
- var t = r.next();
66
- if (t == '"' || t == "'")
67
- return e.tokenize = Nr(t), e.tokenize(r, e);
68
- if (t == "." && r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))
69
- return p("number", "number");
70
- if (t == "." && r.match(".."))
71
- return p("spread", "meta");
72
- if (/[\[\]{}\(\),;\:\.]/.test(t))
73
- return p(t);
74
- if (t == "=" && r.eat(">"))
75
- return p("=>", "operator");
76
- if (t == "0" && r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))
77
- return p("number", "number");
78
- if (/\d/.test(t))
79
- return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/), p("number", "number");
80
- if (t == "/")
81
- return r.eat("*") ? (e.tokenize = H, H(r, e)) : r.eat("/") ? (r.skipToEnd(), p("comment", "comment")) : ce(r, e, 1) ? (qr(r), r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/), p("regexp", "string.special")) : (r.eat("="), p("operator", "operator", r.current()));
82
- if (t == "`")
83
- return e.tokenize = L, L(r, e);
84
- if (t == "#" && r.peek() == "!")
85
- return r.skipToEnd(), p("meta", "meta");
86
- if (t == "#" && r.eatWhile(U))
87
- return p("variable", "property");
88
- if (t == "<" && r.match("!--") || t == "-" && r.match("->") && !/\S/.test(r.string.slice(0, r.start)))
89
- return r.skipToEnd(), p("comment", "comment");
90
- if (hr.test(t))
91
- return (t != ">" || !e.lexical || e.lexical.type != ">") && (r.eat("=") ? (t == "!" || t == "=") && r.eat("=") : /[<>*+\-|&?]/.test(t) && (r.eat(t), t == ">" && r.eat(t))), t == "?" && r.eat(".") ? p(".") : p("operator", "operator", r.current());
92
- if (U.test(t)) {
93
- r.eatWhile(U);
94
- var f = r.current();
95
- if (e.lastType != ".") {
96
- if (wr.propertyIsEnumerable(f)) {
97
- var u = wr[f];
98
- return p(u.type, u.style, f);
99
- }
100
- if (f == "async" && r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, !1))
101
- return p("async", "keyword", f);
102
- }
103
- return p("variable", "variable", f);
104
- }
105
- }
106
- function Nr(r) {
107
- return function(e, t) {
108
- var f = !1, u;
109
- if (ur && e.peek() == "@" && e.match(Or))
110
- return t.tokenize = S, p("jsonld-keyword", "meta");
111
- for (; (u = e.next()) != null && !(u == r && !f); )
112
- f = !f && u == "\\";
113
- return f || (t.tokenize = S), p("string", "string");
114
- };
115
- }
116
- function H(r, e) {
117
- for (var t = !1, f; f = r.next(); ) {
118
- if (f == "/" && t) {
119
- e.tokenize = S;
120
- break;
121
- }
122
- t = f == "*";
123
- }
124
- return p("comment", "comment");
125
- }
126
- function L(r, e) {
127
- for (var t = !1, f; (f = r.next()) != null; ) {
128
- if (!t && (f == "`" || f == "$" && r.eat("{"))) {
129
- e.tokenize = S;
130
- break;
131
- }
132
- t = !t && f == "\\";
133
- }
134
- return p("quasi", "string.special", r.current());
135
- }
136
- var Br = "([{}])";
137
- function ar(r, e) {
138
- e.fatArrowAt && (e.fatArrowAt = null);
139
- var t = r.string.indexOf("=>", r.start);
140
- if (!(t < 0)) {
141
- if (k) {
142
- var f = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start, t));
143
- f && (t = f.index);
144
- }
145
- for (var u = 0, c = !1, m = t - 1; m >= 0; --m) {
146
- var v = r.string.charAt(m), y = Br.indexOf(v);
147
- if (y >= 0 && y < 3) {
148
- if (!u) {
149
- ++m;
150
- break;
151
- }
152
- if (--u == 0) {
153
- v == "(" && (c = !0);
154
- break;
155
- }
156
- } else if (y >= 3 && y < 6)
157
- ++u;
158
- else if (U.test(v))
159
- c = !0;
160
- else if (/["'\/`]/.test(v))
161
- for (; ; --m) {
162
- if (m == 0) return;
163
- var K = r.string.charAt(m - 1);
164
- if (K == v && r.string.charAt(m - 2) != "\\") {
165
- m--;
166
- break;
167
- }
168
- }
169
- else if (c && !u) {
170
- ++m;
171
- break;
172
- }
173
- }
174
- c && !u && (e.fatArrowAt = m);
175
- }
176
- }
177
- var Fr = {
178
- atom: !0,
179
- number: !0,
180
- variable: !0,
181
- string: !0,
182
- regexp: !0,
183
- this: !0,
184
- import: !0,
185
- "jsonld-keyword": !0
186
- };
187
- function xr(r, e, t, f, u, c) {
188
- this.indented = r, this.column = e, this.type = t, this.prev = u, this.info = c, f != null && (this.align = f);
189
- }
190
- function Jr(r, e) {
191
- for (var t = r.localVars; t; t = t.next)
192
- if (t.name == e) return !0;
193
- for (var f = r.context; f; f = f.prev)
194
- for (var t = f.vars; t; t = t.next)
195
- if (t.name == e) return !0;
196
- }
197
- function Mr(r, e, t, f, u) {
198
- var c = r.cc;
199
- for (i.state = r, i.stream = u, i.marked = null, i.cc = c, i.style = e, r.lexical.hasOwnProperty("align") || (r.lexical.align = !0); ; ) {
200
- var m = c.length ? c.pop() : pr ? b : w;
201
- if (m(t, f)) {
202
- for (; c.length && c[c.length - 1].lex; )
203
- c.pop()();
204
- return i.marked ? i.marked : t == "variable" && Jr(r, f) ? "variableName.local" : e;
205
- }
206
- }
207
- }
208
- var i = { state: null, marked: null, cc: null };
209
- function o() {
210
- for (var r = arguments.length - 1; r >= 0; r--) i.cc.push(arguments[r]);
211
- }
212
- function n() {
213
- return o.apply(null, arguments), !0;
214
- }
215
- function or(r, e) {
216
- for (var t = e; t; t = t.next) if (t.name == r) return !0;
217
- return !1;
218
- }
219
- function q(r) {
220
- var e = i.state;
221
- if (i.marked = "def", e.context) {
222
- if (e.lexical.info == "var" && e.context && e.context.block) {
223
- var t = gr(r, e.context);
224
- if (t != null) {
225
- e.context = t;
226
- return;
227
- }
228
- } else if (!or(r, e.localVars)) {
229
- e.localVars = new Q(r, e.localVars);
230
- return;
231
- }
232
- }
233
- x.globalVars && !or(r, e.globalVars) && (e.globalVars = new Q(r, e.globalVars));
234
- }
235
- function gr(r, e) {
236
- if (e)
237
- if (e.block) {
238
- var t = gr(r, e.prev);
239
- return t ? t == e.prev ? e : new P(t, e.vars, !0) : null;
240
- } else return or(r, e.vars) ? e : new P(e.prev, new Q(r, e.vars), !1);
241
- else return null;
242
- }
243
- function X(r) {
244
- return r == "public" || r == "private" || r == "protected" || r == "abstract" || r == "readonly";
245
- }
246
- function P(r, e, t) {
247
- this.prev = r, this.vars = e, this.block = t;
248
- }
249
- function Q(r, e) {
250
- this.name = r, this.next = e;
251
- }
252
- var Dr = new Q("this", new Q("arguments", null));
253
- function E() {
254
- i.state.context = new P(i.state.context, i.state.localVars, !1), i.state.localVars = Dr;
255
- }
256
- function Y() {
257
- i.state.context = new P(i.state.context, i.state.localVars, !0), i.state.localVars = null;
258
- }
259
- E.lex = Y.lex = !0;
260
- function T() {
261
- i.state.localVars = i.state.context.vars, i.state.context = i.state.context.prev;
262
- }
263
- T.lex = !0;
264
- function s(r, e) {
265
- var t = function() {
266
- var f = i.state, u = f.indented;
267
- if (f.lexical.type == "stat") u = f.lexical.indented;
268
- else for (var c = f.lexical; c && c.type == ")" && c.align; c = c.prev)
269
- u = c.indented;
270
- f.lexical = new xr(u, i.stream.column(), r, null, f.lexical, e);
271
- };
272
- return t.lex = !0, t;
273
- }
274
- function a() {
275
- var r = i.state;
276
- r.lexical.prev && (r.lexical.type == ")" && (r.indented = r.lexical.indented), r.lexical = r.lexical.prev);
277
- }
278
- a.lex = !0;
279
- function l(r) {
280
- function e(t) {
281
- return t == r ? n() : r == ";" || t == "}" || t == ")" || t == "]" ? o() : n(e);
282
- }
283
- return e;
284
- }
285
- function w(r, e) {
286
- return r == "var" ? n(s("vardef", e), mr, l(";"), a) : r == "keyword a" ? n(s("form"), sr, w, a) : r == "keyword b" ? n(s("form"), w, a) : r == "keyword d" ? i.stream.match(/^\s*$/, !1) ? n() : n(s("stat"), N, l(";"), a) : r == "debugger" ? n(l(";")) : r == "{" ? n(s("}"), Y, rr, a, T) : r == ";" ? n() : r == "if" ? (i.state.lexical.info == "else" && i.state.cc[i.state.cc.length - 1] == a && i.state.cc.pop()(), n(s("form"), sr, w, a, zr)) : r == "function" ? n(j) : r == "for" ? n(s("form"), Y, _r, w, T, a) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form", r == "class" ? r : e), Sr, a)) : r == "variable" ? k && e == "declare" ? (i.marked = "keyword", n(w)) : k && (e == "module" || e == "enum" || e == "type") && i.stream.match(/^\s*\w/, !1) ? (i.marked = "keyword", e == "enum" ? n($r) : e == "type" ? n(jr, l("operator"), d, l(";")) : n(s("form"), V, l("{"), s("}"), rr, a, a)) : k && e == "namespace" ? (i.marked = "keyword", n(s("form"), b, w, a)) : k && e == "abstract" ? (i.marked = "keyword", n(w)) : n(s("stat"), Kr) : r == "switch" ? n(
287
- s("form"),
288
- sr,
289
- l("{"),
290
- s("}", "switch"),
291
- Y,
292
- rr,
293
- a,
294
- a,
295
- T
296
- ) : r == "case" ? n(b, l(":")) : r == "default" ? n(l(":")) : r == "catch" ? n(s("form"), E, Lr, w, a, T) : r == "export" ? n(s("stat"), fe, a) : r == "import" ? n(s("stat"), ue, a) : r == "async" ? n(w) : e == "@" ? n(b, w) : o(s("stat"), b, l(";"), a);
297
- }
298
- function Lr(r) {
299
- if (r == "(") return n(O, l(")"));
300
- }
301
- function b(r, e) {
302
- return vr(r, e, !1);
303
- }
304
- function g(r, e) {
305
- return vr(r, e, !0);
306
- }
307
- function sr(r) {
308
- return r != "(" ? o() : n(s(")"), N, l(")"), a);
309
- }
310
- function vr(r, e, t) {
311
- if (i.state.fatArrowAt == i.stream.start) {
312
- var f = t ? Tr : yr;
313
- if (r == "(") return n(E, s(")"), h(O, ")"), a, l("=>"), f, T);
314
- if (r == "variable") return o(E, V, l("=>"), f, T);
315
- }
316
- var u = t ? B : I;
317
- return Fr.hasOwnProperty(r) ? n(u) : r == "function" ? n(j, u) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form"), ie, a)) : r == "keyword c" || r == "async" ? n(t ? g : b) : r == "(" ? n(s(")"), N, l(")"), a, u) : r == "operator" || r == "spread" ? n(t ? g : b) : r == "[" ? n(s("]"), oe, a, u) : r == "{" ? R(C, "}", null, u) : r == "quasi" ? o(Z, u) : r == "new" ? n(Qr(t)) : n();
318
- }
319
- function N(r) {
320
- return r.match(/[;\}\)\],]/) ? o() : o(b);
321
- }
322
- function I(r, e) {
323
- return r == "," ? n(N) : B(r, e, !1);
324
- }
325
- function B(r, e, t) {
326
- var f = t == !1 ? I : B, u = t == !1 ? b : g;
327
- if (r == "=>") return n(E, t ? Tr : yr, T);
328
- if (r == "operator")
329
- return /\+\+|--/.test(e) || k && e == "!" ? n(f) : k && e == "<" && i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, !1) ? n(s(">"), h(d, ">"), a, f) : e == "?" ? n(b, l(":"), u) : n(u);
330
- if (r == "quasi")
331
- return o(Z, f);
332
- if (r != ";") {
333
- if (r == "(") return R(g, ")", "call", f);
334
- if (r == ".") return n(Ur, f);
335
- if (r == "[") return n(s("]"), N, l("]"), a, f);
336
- if (k && e == "as")
337
- return i.marked = "keyword", n(d, f);
338
- if (r == "regexp")
339
- return i.state.lastType = i.marked = "operator", i.stream.backUp(i.stream.pos - i.stream.start - 1), n(u);
340
- }
341
- }
342
- function Z(r, e) {
343
- return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(Z) : n(N, Pr);
344
- }
345
- function Pr(r) {
346
- if (r == "}")
347
- return i.marked = "string.special", i.state.tokenize = L, n(Z);
348
- }
349
- function yr(r) {
350
- return ar(i.stream, i.state), o(r == "{" ? w : b);
351
- }
352
- function Tr(r) {
353
- return ar(i.stream, i.state), o(r == "{" ? w : g);
354
- }
355
- function Qr(r) {
356
- return function(e) {
357
- return e == "." ? n(r ? Wr : Rr) : e == "variable" && k ? n(Cr, r ? B : I) : o(r ? g : b);
358
- };
359
- }
360
- function Rr(r, e) {
361
- if (e == "target")
362
- return i.marked = "keyword", n(I);
363
- }
364
- function Wr(r, e) {
365
- if (e == "target")
366
- return i.marked = "keyword", n(B);
367
- }
368
- function Kr(r) {
369
- return r == ":" ? n(a, w) : o(I, l(";"), a);
370
- }
371
- function Ur(r) {
372
- if (r == "variable")
373
- return i.marked = "property", n();
374
- }
375
- function C(r, e) {
376
- if (r == "async")
377
- return i.marked = "property", n(C);
378
- if (r == "variable" || i.style == "keyword") {
379
- if (i.marked = "property", e == "get" || e == "set") return n(Gr);
380
- var t;
381
- return k && i.state.fatArrowAt == i.stream.start && (t = i.stream.match(/^\s*:\s*/, !1)) && (i.state.fatArrowAt = i.stream.pos + t[0].length), n($);
382
- } else {
383
- if (r == "number" || r == "string")
384
- return i.marked = ur ? "property" : i.style + " property", n($);
385
- if (r == "jsonld-keyword")
386
- return n($);
387
- if (k && X(e))
388
- return i.marked = "keyword", n(C);
389
- if (r == "[")
390
- return n(b, F, l("]"), $);
391
- if (r == "spread")
392
- return n(g, $);
393
- if (e == "*")
394
- return i.marked = "keyword", n(C);
395
- if (r == ":")
396
- return o($);
397
- }
398
- }
399
- function Gr(r) {
400
- return r != "variable" ? o($) : (i.marked = "property", n(j));
401
- }
402
- function $(r) {
403
- if (r == ":") return n(g);
404
- if (r == "(") return o(j);
405
- }
406
- function h(r, e, t) {
407
- function f(u, c) {
408
- if (t ? t.indexOf(u) > -1 : u == ",") {
409
- var m = i.state.lexical;
410
- return m.info == "call" && (m.pos = (m.pos || 0) + 1), n(function(v, y) {
411
- return v == e || y == e ? o() : o(r);
412
- }, f);
413
- }
414
- return u == e || c == e ? n() : t && t.indexOf(";") > -1 ? o(r) : n(l(e));
415
- }
416
- return function(u, c) {
417
- return u == e || c == e ? n() : o(r, f);
418
- };
419
- }
420
- function R(r, e, t) {
421
- for (var f = 3; f < arguments.length; f++)
422
- i.cc.push(arguments[f]);
423
- return n(s(e, t), h(r, e), a);
424
- }
425
- function rr(r) {
426
- return r == "}" ? n() : o(w, rr);
427
- }
428
- function F(r, e) {
429
- if (k) {
430
- if (r == ":") return n(d);
431
- if (e == "?") return n(F);
432
- }
433
- }
434
- function Hr(r, e) {
435
- if (k && (r == ":" || e == "in")) return n(d);
436
- }
437
- function Vr(r) {
438
- if (k && r == ":")
439
- return i.stream.match(/^\s*\w+\s+is\b/, !1) ? n(b, Xr, d) : n(d);
440
- }
441
- function Xr(r, e) {
442
- if (e == "is")
443
- return i.marked = "keyword", n();
444
- }
445
- function d(r, e) {
446
- if (e == "keyof" || e == "typeof" || e == "infer" || e == "readonly")
447
- return i.marked = "keyword", n(e == "typeof" ? g : d);
448
- if (r == "variable" || e == "void")
449
- return i.marked = "type", n(A);
450
- if (e == "|" || e == "&") return n(d);
451
- if (r == "string" || r == "number" || r == "atom") return n(A);
452
- if (r == "[") return n(s("]"), h(d, "]", ","), a, A);
453
- if (r == "{") return n(s("}"), lr, a, A);
454
- if (r == "(") return n(h(dr, ")"), Yr, A);
455
- if (r == "<") return n(h(d, ">"), d);
456
- if (r == "quasi") return o(cr, A);
457
- }
458
- function Yr(r) {
459
- if (r == "=>") return n(d);
460
- }
461
- function lr(r) {
462
- return r.match(/[\}\)\]]/) ? n() : r == "," || r == ";" ? n(lr) : o(W, lr);
463
- }
464
- function W(r, e) {
465
- if (r == "variable" || i.style == "keyword")
466
- return i.marked = "property", n(W);
467
- if (e == "?" || r == "number" || r == "string")
468
- return n(W);
469
- if (r == ":")
470
- return n(d);
471
- if (r == "[")
472
- return n(l("variable"), Hr, l("]"), W);
473
- if (r == "(")
474
- return o(M, W);
475
- if (!r.match(/[;\}\)\],]/))
476
- return n();
477
- }
478
- function cr(r, e) {
479
- return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(cr) : n(d, Zr);
480
- }
481
- function Zr(r) {
482
- if (r == "}")
483
- return i.marked = "string.special", i.state.tokenize = L, n(cr);
484
- }
485
- function dr(r, e) {
486
- return r == "variable" && i.stream.match(/^\s*[?:]/, !1) || e == "?" ? n(dr) : r == ":" ? n(d) : r == "spread" ? n(dr) : o(d);
487
- }
488
- function A(r, e) {
489
- if (e == "<") return n(s(">"), h(d, ">"), a, A);
490
- if (e == "|" || r == "." || e == "&") return n(d);
491
- if (r == "[") return n(d, l("]"), A);
492
- if (e == "extends" || e == "implements")
493
- return i.marked = "keyword", n(d);
494
- if (e == "?") return n(d, l(":"), d);
495
- }
496
- function Cr(r, e) {
497
- if (e == "<") return n(s(">"), h(d, ">"), a, A);
498
- }
499
- function er() {
500
- return o(d, re);
501
- }
502
- function re(r, e) {
503
- if (e == "=") return n(d);
504
- }
505
- function mr(r, e) {
506
- return e == "enum" ? (i.marked = "keyword", n($r)) : o(V, F, _, ne);
507
- }
508
- function V(r, e) {
509
- if (k && X(e))
510
- return i.marked = "keyword", n(V);
511
- if (r == "variable")
512
- return q(e), n();
513
- if (r == "spread") return n(V);
514
- if (r == "[") return R(ee, "]");
515
- if (r == "{") return R(Ar, "}");
516
- }
517
- function Ar(r, e) {
518
- return r == "variable" && !i.stream.match(/^\s*:/, !1) ? (q(e), n(_)) : (r == "variable" && (i.marked = "property"), r == "spread" ? n(V) : r == "}" ? o() : r == "[" ? n(b, l("]"), l(":"), Ar) : n(l(":"), V, _));
519
- }
520
- function ee() {
521
- return o(V, _);
522
- }
523
- function _(r, e) {
524
- if (e == "=") return n(g);
525
- }
526
- function ne(r) {
527
- if (r == ",") return n(mr);
528
- }
529
- function zr(r, e) {
530
- if (r == "keyword b" && e == "else") return n(s("form", "else"), w, a);
531
- }
532
- function _r(r, e) {
533
- if (e == "await") return n(_r);
534
- if (r == "(") return n(s(")"), te, a);
535
- }
536
- function te(r) {
537
- return r == "var" ? n(mr, J) : r == "variable" ? n(J) : o(J);
538
- }
539
- function J(r, e) {
540
- return r == ")" ? n() : r == ";" ? n(J) : e == "in" || e == "of" ? (i.marked = "keyword", n(b, J)) : o(b, J);
541
- }
542
- function j(r, e) {
543
- if (e == "*")
544
- return i.marked = "keyword", n(j);
545
- if (r == "variable")
546
- return q(e), n(j);
547
- if (r == "(") return n(E, s(")"), h(O, ")"), a, Vr, w, T);
548
- if (k && e == "<") return n(s(">"), h(er, ">"), a, j);
549
- }
550
- function M(r, e) {
551
- if (e == "*")
552
- return i.marked = "keyword", n(M);
553
- if (r == "variable")
554
- return q(e), n(M);
555
- if (r == "(") return n(E, s(")"), h(O, ")"), a, Vr, T);
556
- if (k && e == "<") return n(s(">"), h(er, ">"), a, M);
557
- }
558
- function jr(r, e) {
559
- if (r == "keyword" || r == "variable")
560
- return i.marked = "type", n(jr);
561
- if (e == "<")
562
- return n(s(">"), h(er, ">"), a);
563
- }
564
- function O(r, e) {
565
- return e == "@" && n(b, O), r == "spread" ? n(O) : k && X(e) ? (i.marked = "keyword", n(O)) : k && r == "this" ? n(F, _) : o(V, F, _);
566
- }
567
- function ie(r, e) {
568
- return r == "variable" ? Sr(r, e) : nr(r, e);
569
- }
570
- function Sr(r, e) {
571
- if (r == "variable")
572
- return q(e), n(nr);
573
- }
574
- function nr(r, e) {
575
- if (e == "<") return n(s(">"), h(er, ">"), a, nr);
576
- if (e == "extends" || e == "implements" || k && r == ",")
577
- return e == "implements" && (i.marked = "keyword"), n(k ? d : b, nr);
578
- if (r == "{") return n(s("}"), z, a);
579
- }
580
- function z(r, e) {
581
- if (r == "async" || r == "variable" && (e == "static" || e == "get" || e == "set" || k && X(e)) && i.stream.match(/^\s+#?[\w$\xa1-\uffff]/, !1))
582
- return i.marked = "keyword", n(z);
583
- if (r == "variable" || i.style == "keyword")
584
- return i.marked = "property", n(tr, z);
585
- if (r == "number" || r == "string") return n(tr, z);
586
- if (r == "[")
587
- return n(b, F, l("]"), tr, z);
588
- if (e == "*")
589
- return i.marked = "keyword", n(z);
590
- if (k && r == "(") return o(M, z);
591
- if (r == ";" || r == ",") return n(z);
592
- if (r == "}") return n();
593
- if (e == "@") return n(b, z);
594
- }
595
- function tr(r, e) {
596
- if (e == "!" || e == "?") return n(tr);
597
- if (r == ":") return n(d, _);
598
- if (e == "=") return n(g);
599
- var t = i.state.lexical.prev, f = t && t.info == "interface";
600
- return o(f ? M : j);
601
- }
602
- function fe(r, e) {
603
- return e == "*" ? (i.marked = "keyword", n(kr, l(";"))) : e == "default" ? (i.marked = "keyword", n(b, l(";"))) : r == "{" ? n(h(Er, "}"), kr, l(";")) : o(w);
604
- }
605
- function Er(r, e) {
606
- if (e == "as")
607
- return i.marked = "keyword", n(l("variable"));
608
- if (r == "variable") return o(g, Er);
609
- }
610
- function ue(r) {
611
- return r == "string" ? n() : r == "(" ? o(b) : r == "." ? o(I) : o(ir, Ir, kr);
612
- }
613
- function ir(r, e) {
614
- return r == "{" ? R(ir, "}") : (r == "variable" && q(e), e == "*" && (i.marked = "keyword"), n(ae));
615
- }
616
- function Ir(r) {
617
- if (r == ",") return n(ir, Ir);
618
- }
619
- function ae(r, e) {
620
- if (e == "as")
621
- return i.marked = "keyword", n(ir);
622
- }
623
- function kr(r, e) {
624
- if (e == "from")
625
- return i.marked = "keyword", n(b);
626
- }
627
- function oe(r) {
628
- return r == "]" ? n() : o(h(g, "]"));
629
- }
630
- function $r() {
631
- return o(s("form"), V, l("{"), s("}"), h(se, "}"), a, a);
632
- }
633
- function se() {
634
- return o(V, _);
635
- }
636
- function le(r, e) {
637
- return r.lastType == "operator" || r.lastType == "," || hr.test(e.charAt(0)) || /[,.]/.test(e.charAt(0));
638
- }
639
- function ce(r, e, t) {
640
- return e.tokenize == S && /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType) || e.lastType == "quasi" && /\{\s*$/.test(r.string.slice(0, r.pos - t));
641
- }
642
- return {
643
- name: x.name,
644
- startState: function(r) {
645
- var e = {
646
- tokenize: S,
647
- lastType: "sof",
648
- cc: [],
649
- lexical: new xr(-r, 0, "block", !1),
650
- localVars: x.localVars,
651
- context: x.localVars && new P(null, null, !1),
652
- indented: 0
653
- };
654
- return x.globalVars && typeof x.globalVars == "object" && (e.globalVars = x.globalVars), e;
655
- },
656
- token: function(r, e) {
657
- if (r.sol() && (e.lexical.hasOwnProperty("align") || (e.lexical.align = !1), e.indented = r.indentation(), ar(r, e)), e.tokenize != H && r.eatSpace()) return null;
658
- var t = e.tokenize(r, e);
659
- return D == "comment" ? t : (e.lastType = D == "operator" && (G == "++" || G == "--") ? "incdec" : D, Mr(e, t, D, G, r));
660
- },
661
- indent: function(r, e, t) {
662
- if (r.tokenize == H || r.tokenize == L) return null;
663
- if (r.tokenize != S) return 0;
664
- var f = e && e.charAt(0), u = r.lexical, c;
665
- if (!/^\s*else\b/.test(e)) for (var m = r.cc.length - 1; m >= 0; --m) {
666
- var v = r.cc[m];
667
- if (v == a) u = u.prev;
668
- else if (v != zr && v != T) break;
669
- }
670
- for (; (u.type == "stat" || u.type == "form") && (f == "}" || (c = r.cc[r.cc.length - 1]) && (c == I || c == B) && !/^[,\.=+\-*:?[\(]/.test(e)); )
671
- u = u.prev;
672
- br && u.type == ")" && u.prev.type == "stat" && (u = u.prev);
673
- var y = u.type, K = f == y;
674
- return y == "vardef" ? u.indented + (r.lastType == "operator" || r.lastType == "," ? u.info.length + 1 : 0) : y == "form" && f == "{" ? u.indented : y == "form" ? u.indented + t.unit : y == "stat" ? u.indented + (le(r, e) ? br || t.unit : 0) : u.info == "switch" && !K && x.doubleIndentSwitch != !1 ? u.indented + (/^(?:case|default)\b/.test(e) ? t.unit : 2 * t.unit) : u.align ? u.column + (K ? 0 : 1) : u.indented + (K ? 0 : t.unit);
675
- },
676
- languageData: {
677
- indentOnInput: /^\s*(?:case .*?:|default:|\{|\})$/,
678
- commentTokens: pr ? void 0 : { line: "//", block: { open: "/*", close: "*/" } },
679
- closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
680
- wordChars: "$"
681
- }
682
- };
683
- }
684
- const de = fr({ name: "javascript" });
685
- fr({ name: "json", json: !0 });
686
- const me = fr({ name: "json", jsonld: !0 });
687
- fr({ name: "typescript", typescript: !0 });
688
- export {
689
- de as javascript,
690
- me as jsonld
691
- };