@tempots/beatui 0.30.2 → 0.32.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 (379) hide show
  1. package/dist/{2019-Cd9nHhvg.js → 2019-BAbSTPyW.js} +9 -10
  2. package/dist/2019-BMZkvreo.cjs +1 -0
  3. package/dist/{2020-CyKJpuK6.js → 2020-BQNEk3m-.js} +30 -31
  4. package/dist/2020-COaJ7nGc.cjs +1 -0
  5. package/dist/ar-CqAHPRKu.cjs +1 -0
  6. package/dist/{ar-Dz8Mg5la.js → ar-avevuYiW.js} +30 -15
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +85 -84
  9. package/dist/beatui.css +218 -11
  10. package/dist/beatui.tailwind.css +218 -11
  11. package/dist/de--4OtRESW.cjs +1 -0
  12. package/dist/{de-ToWTQGEo.js → de-Cz7ah611.js} +27 -12
  13. package/dist/es-CE1wRgxl.cjs +1 -0
  14. package/dist/{es-CruxS0Tz.js → es-CiNQQzF1.js} +27 -12
  15. package/dist/fa-DjuJZNLK.cjs +1 -0
  16. package/dist/{fa-Cf0NZLWA.js → fa-Gkt0b9XN.js} +30 -15
  17. package/dist/fr-DotyzMGL.cjs +1 -0
  18. package/dist/{fr-YKXmqMGr.js → fr-xM9p9Q6G.js} +20 -5
  19. package/dist/he-BQ6ygVEQ.cjs +1 -0
  20. package/dist/{he-D8ZOduPw.js → he-CoO6PsiS.js} +30 -15
  21. package/dist/hi-BCfJ0mRh.cjs +1 -0
  22. package/dist/{hi-CIamzVEf.js → hi-DA3-4Cdo.js} +30 -15
  23. package/dist/index-1_pssujS.cjs +8 -0
  24. package/dist/index-B4irUWVb.cjs +34 -0
  25. package/dist/index-BI5w0jSz.js +2707 -0
  26. package/dist/index-Bv2gn_kV.cjs +4 -0
  27. package/dist/index-CDOHHPwQ.js +14275 -0
  28. package/dist/{index-O9BwR_8P.cjs → index-CFh4D56e.cjs} +1 -1
  29. package/dist/index-CKyH3jwP.cjs +1 -0
  30. package/dist/index-Caetcp0r.js +68 -0
  31. package/dist/{index-DDpjzV7E.js → index-DfmwsIle.js} +304 -307
  32. package/dist/{index-B2079wM-.js → index-DjShJtXp.js} +15 -15
  33. package/dist/index-DqeaEUPG.cjs +1 -0
  34. package/dist/{index-DFJed4ks.js → index-E76KKV9V.js} +1 -1
  35. package/dist/index.cjs.js +4 -4
  36. package/dist/index.es.js +1667 -1695
  37. package/dist/{it-Bn7tG_KC.js → it-EdPuWBJR.js} +29 -14
  38. package/dist/it-pv2Gm3jb.cjs +1 -0
  39. package/dist/{ja-i1ULXeiu.js → ja-BSRCR430.js} +25 -10
  40. package/dist/ja-CuRaPMgh.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-C7YP1PL4.cjs +1 -0
  44. package/dist/{ko-BpKDmtvY.js → ko-Dm4oD1fh.js} +30 -15
  45. package/dist/markdown/index.cjs.js +1 -2
  46. package/dist/markdown/index.es.js +4 -420
  47. package/dist/modal-CepbiM3u.cjs +1 -0
  48. package/dist/{modal-DvGSDVSv.js → modal-eY-3j_zS.js} +14 -13
  49. package/dist/monaco/index.cjs.js +1 -1
  50. package/dist/monaco/index.es.js +1 -1
  51. package/dist/{nl-Cs4PDWCJ.js → nl-B0l1kdfd.js} +31 -16
  52. package/dist/nl-ClCD6lP-.cjs +1 -0
  53. package/dist/notice-Ct8ZHvwq.js +1467 -0
  54. package/dist/notice-cpODDUvJ.cjs +2 -0
  55. package/dist/{pl-BFLNf991.js → pl-DVKneBSY.js} +31 -16
  56. package/dist/pl-fyCkqVrr.cjs +1 -0
  57. package/dist/prosemirror/index.cjs.js +1 -0
  58. package/dist/prosemirror/index.es.js +6 -0
  59. package/dist/prosemirror.css +294 -0
  60. package/dist/pt-BHExG3lf.cjs +1 -0
  61. package/dist/{pt-BRZeOkcE.js → pt-Bw0sTDOX.js} +31 -16
  62. package/dist/{ru-KI7Gowz-.js → ru-B26VQ4f9.js} +35 -20
  63. package/dist/ru-PuEOLDw1.cjs +1 -0
  64. package/dist/styles-url-CF_019NX.js +4 -0
  65. package/dist/styles-url-DhmSan6u.cjs +1 -0
  66. package/dist/theme-B7C5kIJj.cjs +1 -0
  67. package/dist/theme-DsQOxXW1.js +34 -0
  68. package/dist/toolbar-ClJbaKID.js +118 -0
  69. package/dist/toolbar-kwkvH3nX.cjs +1 -0
  70. package/dist/tr-CI97fTpD.cjs +1 -0
  71. package/dist/{tr-CYk8Fua5.js → tr-DQMivdvy.js} +28 -13
  72. package/dist/{translations-DdNHXAWr.js → translations-1yD6Rm5l.js} +1 -1
  73. package/dist/translations-DQxg-W9w.cjs +1 -0
  74. package/dist/translations-ZB5oDFId.cjs +1 -0
  75. package/dist/translations-iam7PITs.js +831 -0
  76. package/dist/types/beatui-i18n/default.d.ts +14 -0
  77. package/dist/types/beatui-i18n/locales/en.d.ts +14 -0
  78. package/dist/types/beatui-i18n/translations.d.ts +14 -0
  79. package/dist/types/components/beatui.d.ts +4 -1
  80. package/dist/types/components/form/input/input-container.d.ts +3 -1
  81. package/dist/types/components/form/input/input-options.d.ts +6 -0
  82. package/dist/types/components/navigation/tabs/tabs.d.ts +6 -1
  83. package/dist/types/components/overlay/index.d.ts +1 -0
  84. package/dist/types/components/overlay/ribbon.d.ts +22 -0
  85. package/dist/types/components/prosemirror/etoolbar-button.d.ts +11 -0
  86. package/dist/types/components/prosemirror/etoolbar-group.d.ts +4 -0
  87. package/dist/types/components/prosemirror/link-control.d.ts +12 -0
  88. package/dist/types/components/prosemirror/prosemirror-markdown-input.d.ts +76 -0
  89. package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +18 -0
  90. package/dist/types/components/prosemirror/utils.d.ts +12 -0
  91. package/dist/types/components/theme/theme.d.ts +5 -2
  92. package/dist/types/prosemirror/index.d.ts +2 -0
  93. package/dist/ur-B3CiO8KH.cjs +1 -0
  94. package/dist/{ur-BIcZGLWt.js → ur-o3rog5MJ.js} +30 -15
  95. package/dist/utils-CCAYvnZh.cjs +1 -0
  96. package/dist/{utils-D1op9R8_.js → utils-CuD-_CDx.js} +74 -73
  97. package/dist/{vi-BeK62QeB.js → vi-C7cb2K_B.js} +19 -4
  98. package/dist/vi-FibsLfdk.cjs +1 -0
  99. package/dist/zh-BtSj_Euh.cjs +1 -0
  100. package/dist/{zh-Dt6yWDu2.js → zh-NGrfqAHM.js} +32 -17
  101. package/package.json +20 -13
  102. package/dist/2019-Bl1mhxeM.cjs +0 -1
  103. package/dist/2020-BKqFJLj6.cjs +0 -1
  104. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  105. package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  106. package/dist/apl-B2DGVGxc.js +0 -76
  107. package/dist/apl-M-DNMvvR.cjs +0 -1
  108. package/dist/ar-CbsALGhG.cjs +0 -1
  109. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  110. package/dist/asciiarmor-BMx3XVjX.cjs +0 -1
  111. package/dist/asn1-OOsVM4yU.cjs +0 -1
  112. package/dist/asn1-jKiBa2Ya.js +0 -95
  113. package/dist/asterisk-B1QUaW1C.cjs +0 -1
  114. package/dist/asterisk-DS281yxp.js +0 -271
  115. package/dist/brainfuck-BjUlYKdF.cjs +0 -1
  116. package/dist/brainfuck-C_p9pTT8.js +0 -34
  117. package/dist/clike-BEMIzMUI.cjs +0 -1
  118. package/dist/clike-DGTaUp48.js +0 -620
  119. package/dist/clojure-Ap_IXD2I.cjs +0 -1
  120. package/dist/clojure-CCKyeQKf.js +0 -800
  121. package/dist/cmake-C4D5_VmS.cjs +0 -1
  122. package/dist/cmake-CuaCgAKt.js +0 -28
  123. package/dist/cobol-BlTKFDRj.js +0 -72
  124. package/dist/cobol-Du-cT2hr.cjs +0 -1
  125. package/dist/coffeescript-BVCvwO8I.js +0 -179
  126. package/dist/coffeescript-DDFAj2ea.cjs +0 -1
  127. package/dist/commonlisp-CXBBRCTx.cjs +0 -1
  128. package/dist/commonlisp-D_kxz07b.js +0 -75
  129. package/dist/crystal-D309uH6_.js +0 -217
  130. package/dist/crystal-DAFWRDbh.cjs +0 -1
  131. package/dist/css-BkF-NPzE.js +0 -1553
  132. package/dist/css-DzFJyRJ8.cjs +0 -1
  133. package/dist/cypher-BMq4Fwjl.js +0 -68
  134. package/dist/cypher-BN0-oCze.cjs +0 -1
  135. package/dist/d-BHsqGcfm.cjs +0 -1
  136. package/dist/d-BZcgY6La.js +0 -127
  137. package/dist/de-MO-u5hoD.cjs +0 -1
  138. package/dist/diff-CemTHKfk.cjs +0 -1
  139. package/dist/diff-Cg9d_RX2.js +0 -18
  140. package/dist/dockerfile-BBTH3voH.cjs +0 -1
  141. package/dist/dockerfile-DIy8NleC.js +0 -194
  142. package/dist/dtd-ChoVQPwv.cjs +0 -1
  143. package/dist/dtd-CtLokQ-U.js +0 -84
  144. package/dist/dylan-QYeExnWK.js +0 -234
  145. package/dist/dylan-apTQIgUA.cjs +0 -1
  146. package/dist/ebnf-DUPDuY4r.js +0 -78
  147. package/dist/ebnf-LYmLy17h.cjs +0 -1
  148. package/dist/ecl-C7WNQq7-.cjs +0 -1
  149. package/dist/ecl-CiXN-g_D.js +0 -121
  150. package/dist/eiffel-BJThA8RG.cjs +0 -1
  151. package/dist/eiffel-yQhjl4T1.js +0 -110
  152. package/dist/elm-CNT9vbN0.js +0 -108
  153. package/dist/elm-CcXP9T36.cjs +0 -1
  154. package/dist/erlang-B6mpcObI.cjs +0 -1
  155. package/dist/erlang-CFOYdy9e.js +0 -487
  156. package/dist/es-CqkWVfis.cjs +0 -1
  157. package/dist/fa-DR8j7v-l.cjs +0 -1
  158. package/dist/factor-B-tsx9yW.cjs +0 -1
  159. package/dist/factor-DDOC7X6P.js +0 -65
  160. package/dist/fcl-BzAKklXo.cjs +0 -1
  161. package/dist/fcl-CPC2WYrI.js +0 -103
  162. package/dist/forth-BmxRyE9S.js +0 -60
  163. package/dist/forth-CPAzyZ_n.cjs +0 -1
  164. package/dist/fortran-9bvPyrOW.js +0 -442
  165. package/dist/fortran-DHiTlGV1.cjs +0 -1
  166. package/dist/fr-ClK0mWTO.cjs +0 -1
  167. package/dist/gas-BiPtGF2E.cjs +0 -1
  168. package/dist/gas-cpmYfFX2.js +0 -183
  169. package/dist/gherkin-CJuwpceU.js +0 -34
  170. package/dist/gherkin-Djo7Y51D.cjs +0 -1
  171. package/dist/groovy-BMVITiCm.cjs +0 -1
  172. package/dist/groovy-DZeT_VM-.js +0 -146
  173. package/dist/haskell-Bvt3Qq1t.js +0 -375
  174. package/dist/haskell-CngODaW-.cjs +0 -1
  175. package/dist/haxe-70NVW1pR.js +0 -359
  176. package/dist/haxe-Dyk-piTh.cjs +0 -1
  177. package/dist/he-DeJMBRTP.cjs +0 -1
  178. package/dist/hi-C9Anq8Ae.cjs +0 -1
  179. package/dist/http-BkLifcnL.cjs +0 -1
  180. package/dist/http-D9LttvKF.js +0 -44
  181. package/dist/idl-B6TRFYjl.js +0 -947
  182. package/dist/idl-FmHDmsE-.cjs +0 -1
  183. package/dist/index-0dpJGQbC.js +0 -94
  184. package/dist/index-52kzSRNb.cjs +0 -1
  185. package/dist/index-5a6_6F3Z.cjs +0 -6
  186. package/dist/index-BGHGZg_7.js +0 -552
  187. package/dist/index-BMn-7Ble.js +0 -1307
  188. package/dist/index-BR0F2BVZ.cjs +0 -1
  189. package/dist/index-BlCmv2EJ.cjs +0 -1
  190. package/dist/index-BlamLFdS.js +0 -76
  191. package/dist/index-By8a3eg5.cjs +0 -1
  192. package/dist/index-C0sjoDdy.js +0 -309
  193. package/dist/index-C9RMQY3t.cjs +0 -1
  194. package/dist/index-CDBeAhhM.js +0 -289
  195. package/dist/index-CH2HgQJF.cjs +0 -1
  196. package/dist/index-CT9YDHSn.js +0 -74
  197. package/dist/index-CUZnWZnQ.cjs +0 -3
  198. package/dist/index-CVNvgkJN.js +0 -342
  199. package/dist/index-C_NT6gCL.cjs +0 -1
  200. package/dist/index-CafCsH0Z.cjs +0 -1
  201. package/dist/index-Cei6J0b_.cjs +0 -8
  202. package/dist/index-CmcOKNW2.js +0 -302
  203. package/dist/index-CvpdOKX2.js +0 -136
  204. package/dist/index-CxE1PN5L.cjs +0 -1
  205. package/dist/index-D2BpI4Zz.cjs +0 -2
  206. package/dist/index-D40RPDMJ.cjs +0 -1
  207. package/dist/index-D5iq4kyE.cjs +0 -1
  208. package/dist/index-DFzKuRY8.cjs +0 -1
  209. package/dist/index-DIO9qaw5.cjs +0 -1
  210. package/dist/index-DIR2rO5B.cjs +0 -1
  211. package/dist/index-DPnQDm6f.js +0 -138
  212. package/dist/index-DU0jpFGR.cjs +0 -1
  213. package/dist/index-DUvVsNDG.cjs +0 -13
  214. package/dist/index-DVZnPL32.js +0 -953
  215. package/dist/index-DiYfLAVQ.js +0 -554
  216. package/dist/index-DnIheaHS.js +0 -251
  217. package/dist/index-Dp2K8q6O.cjs +0 -7
  218. package/dist/index-DrlNzz-e.js +0 -59
  219. package/dist/index-Dx9UDsJi.cjs +0 -1
  220. package/dist/index-DxY-AOQA.js +0 -157
  221. package/dist/index-Mmd0YHPJ.js +0 -960
  222. package/dist/index-NyiYUSW3.js +0 -101
  223. package/dist/index-alBMysbQ.js +0 -1874
  224. package/dist/index-lEkIbMCl.js +0 -612
  225. package/dist/index-qwDdlmIi.js +0 -270
  226. package/dist/index-x3mhc_C_.cjs +0 -1
  227. package/dist/it-5n3LuTHe.cjs +0 -1
  228. package/dist/ja-Bdp4_B8-.cjs +0 -1
  229. package/dist/javascript-C2yteZeJ.js +0 -691
  230. package/dist/javascript-DngSGg_0.cjs +0 -1
  231. package/dist/jinja2-DnB6dQmV.js +0 -154
  232. package/dist/jinja2-wbVbDTNi.cjs +0 -1
  233. package/dist/julia-DA67Qw9E.cjs +0 -1
  234. package/dist/julia-DpvXAuO6.js +0 -241
  235. package/dist/ko-B5SwKB-j.cjs +0 -1
  236. package/dist/livescript-Bg3URadp.cjs +0 -1
  237. package/dist/livescript-CanGTf8u.js +0 -272
  238. package/dist/lua-CIsxjGwi.cjs +0 -1
  239. package/dist/lua-XplVlWi_.js +0 -217
  240. package/dist/mathematica-BG089QIc.cjs +0 -1
  241. package/dist/mathematica-jaRHnSxC.js +0 -35
  242. package/dist/mbox-BctzC1hL.js +0 -76
  243. package/dist/mbox-CySolFFZ.cjs +0 -1
  244. package/dist/milkdown/index.cjs.js +0 -1
  245. package/dist/milkdown/index.es.js +0 -4
  246. package/dist/milkdown-input-Bkgdi-Bv.cjs +0 -944
  247. package/dist/milkdown-input-CciSI_a5.js +0 -63967
  248. package/dist/milkdown-url-D99P-nA-.js +0 -4
  249. package/dist/milkdown-url-DqoUZH3u.cjs +0 -1
  250. package/dist/milkdown.css +0 -1914
  251. package/dist/mirc-BfqEffzk.cjs +0 -1
  252. package/dist/mirc-CFBPAOaF.js +0 -72
  253. package/dist/mllike-BSnXJBGA.js +0 -272
  254. package/dist/mllike-QUjwI6zq.cjs +0 -1
  255. package/dist/modal-CAKAT7wv.cjs +0 -1
  256. package/dist/modelica-B6Zhcb-M.cjs +0 -1
  257. package/dist/modelica-vUgVs--1.js +0 -93
  258. package/dist/mscgen-BToym4Bs.cjs +0 -1
  259. package/dist/mscgen-Cpl0NYLN.js +0 -104
  260. package/dist/mumps-CQoS1kWX.js +0 -25
  261. package/dist/mumps-wfyQdxSu.cjs +0 -1
  262. package/dist/nginx-CwqyBUfA.cjs +0 -1
  263. package/dist/nginx-zDPm3Z74.js +0 -89
  264. package/dist/nl-Cenl4nr6.cjs +0 -1
  265. package/dist/notice-DBME6bFw.cjs +0 -2
  266. package/dist/notice-DVEacWKt.js +0 -2275
  267. package/dist/nsis-DPj2fUaP.cjs +0 -1
  268. package/dist/nsis-fePjrhq7.js +0 -62
  269. package/dist/ntriples-CsNjv2QF.js +0 -79
  270. package/dist/ntriples-DgwJmozm.cjs +0 -1
  271. package/dist/octave-1pkKrgAA.cjs +0 -1
  272. package/dist/octave-C8PmmSRH.js +0 -143
  273. package/dist/oz-BXOZCt0U.cjs +0 -1
  274. package/dist/oz-Ce8aN8oE.js +0 -151
  275. package/dist/pascal-De0D6mP7.js +0 -77
  276. package/dist/pascal-DtY2LEkJ.cjs +0 -1
  277. package/dist/perl-B4bSCe1C.js +0 -915
  278. package/dist/perl-CVDWbEju.cjs +0 -1
  279. package/dist/pig-D24Z8EXi.js +0 -54
  280. package/dist/pig-DMByOrnr.cjs +0 -1
  281. package/dist/pl-7xYNCk-v.cjs +0 -1
  282. package/dist/powershell-BaoYaFvj.cjs +0 -1
  283. package/dist/powershell-DkYVfTzP.js +0 -249
  284. package/dist/preprocess-CvkqwVNt.cjs +0 -3
  285. package/dist/preprocess-D898zxsP.js +0 -2295
  286. package/dist/properties-DXHJZ3WE.cjs +0 -1
  287. package/dist/properties-Dn9wna3M.js +0 -26
  288. package/dist/protobuf-BKhXdfH6.cjs +0 -1
  289. package/dist/protobuf-BPIjwpzm.js +0 -49
  290. package/dist/pt-DOLL0Jpj.cjs +0 -1
  291. package/dist/pug-CwAQJzGR.js +0 -248
  292. package/dist/pug-kEfRDOiF.cjs +0 -1
  293. package/dist/puppet-8mAyuMbW.cjs +0 -1
  294. package/dist/puppet-nyd4dhjf.js +0 -45
  295. package/dist/python-BkR3uSy8.js +0 -313
  296. package/dist/python-D-iU6WXz.cjs +0 -1
  297. package/dist/q-BPQ45Nxu.cjs +0 -1
  298. package/dist/q-DXjKs-tC.js +0 -83
  299. package/dist/r-LKEuhEGI.js +0 -104
  300. package/dist/r-r2_EZsON.cjs +0 -1
  301. package/dist/rpm-IznJm2Xc.js +0 -57
  302. package/dist/rpm-YK81m3qU.cjs +0 -1
  303. package/dist/ru-DoS9XuqG.cjs +0 -1
  304. package/dist/ruby-CcYfvIk6.js +0 -228
  305. package/dist/ruby-Cn1sFkZF.cjs +0 -1
  306. package/dist/sas-7E8yHoCW.js +0 -105
  307. package/dist/sas-DAGcJy94.cjs +0 -1
  308. package/dist/scheme-B0ZrbojV.cjs +0 -1
  309. package/dist/scheme-DjibxsNh.js +0 -124
  310. package/dist/shell-BMYo43V6.cjs +0 -1
  311. package/dist/shell-C0C2sNA_.js +0 -182
  312. package/dist/sieve-Bwz7vjP5.js +0 -72
  313. package/dist/sieve-CIYW-b_H.cjs +0 -1
  314. package/dist/simple-mode-B0dvCdAA.js +0 -89
  315. package/dist/simple-mode-BIKNPBes.cjs +0 -1
  316. package/dist/smalltalk-Bhddl2pB.js +0 -48
  317. package/dist/smalltalk-CSslY-3i.cjs +0 -1
  318. package/dist/solr-A1kSnAwJ.cjs +0 -1
  319. package/dist/solr-BNlsLglM.js +0 -41
  320. package/dist/sparql-DnHMBLLY.cjs +0 -1
  321. package/dist/sparql-FarWu_Gb.js +0 -197
  322. package/dist/spreadsheet-B7_BK8hB.cjs +0 -1
  323. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  324. package/dist/sql-9VmIWHrZ.cjs +0 -1
  325. package/dist/sql-CfG5lQ3l.js +0 -282
  326. package/dist/stex-B4wyjEnp.cjs +0 -1
  327. package/dist/stex-Du4h4KAU.js +0 -129
  328. package/dist/stylus-CAdqWld3.js +0 -250
  329. package/dist/stylus-D6GYOT3Z.cjs +0 -1
  330. package/dist/swift-DGw6Cgu8.cjs +0 -1
  331. package/dist/swift-DSxqR9R6.js +0 -230
  332. package/dist/tcl-ByLXbQFo.cjs +0 -1
  333. package/dist/tcl-xfoLljhY.js +0 -81
  334. package/dist/textile-D1AWE-pc.js +0 -295
  335. package/dist/textile-iryw-lTw.cjs +0 -1
  336. package/dist/theme-CJVt8QIc.js +0 -34
  337. package/dist/theme-YS3sFklH.cjs +0 -1
  338. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  339. package/dist/tiddlywiki-D8IJz1k7.cjs +0 -1
  340. package/dist/tiki-C5p5KSQK.cjs +0 -1
  341. package/dist/tiki-__Kn3CeS.js +0 -181
  342. package/dist/toml-3ZsH_4Qa.cjs +0 -1
  343. package/dist/toml-BHiuTcfn.js +0 -49
  344. package/dist/tr-BVmoz40w.cjs +0 -1
  345. package/dist/translations-Dv56lQia.cjs +0 -1
  346. package/dist/troff-D-3QCOYN.cjs +0 -1
  347. package/dist/troff-D2UO-fKf.js +0 -35
  348. package/dist/ttcn-Bsa4sfRm.js +0 -123
  349. package/dist/ttcn-C2MXAqcM.cjs +0 -1
  350. package/dist/ttcn-cfg-BYqcMRxC.cjs +0 -1
  351. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  352. package/dist/turtle-DSJNatSv.cjs +0 -1
  353. package/dist/turtle-xwJUxoPV.js +0 -80
  354. package/dist/types/components/milkdown/milkdown-input.d.ts +0 -15
  355. package/dist/types/milkdown/index.d.ts +0 -1
  356. package/dist/ur-orNTOdMP.cjs +0 -1
  357. package/dist/utils-Dobqjl2y.cjs +0 -1
  358. package/dist/vb-c2kQGd6-.js +0 -74
  359. package/dist/vb-qzHzzvyB.cjs +0 -1
  360. package/dist/vbscript-1f_Dhg5H.js +0 -324
  361. package/dist/vbscript-CWm8v9tE.cjs +0 -1
  362. package/dist/velocity-D3_yAIp3.cjs +0 -1
  363. package/dist/velocity-DJd0pTTC.js +0 -96
  364. package/dist/verilog-BOhLNmQo.cjs +0 -1
  365. package/dist/verilog-CiS1jyi5.js +0 -262
  366. package/dist/vhdl-CMFbi8Im.cjs +0 -1
  367. package/dist/vhdl-T9HkrbI2.js +0 -106
  368. package/dist/vi-BWyUDP07.cjs +0 -1
  369. package/dist/webidl-CWb_flNk.cjs +0 -1
  370. package/dist/webidl-CjfDENEo.js +0 -155
  371. package/dist/xquery-BUQdORAS.js +0 -422
  372. package/dist/xquery-Cjw5fRnG.cjs +0 -1
  373. package/dist/yacas-C0absKBh.js +0 -73
  374. package/dist/yacas-urx_N5C8.cjs +0 -1
  375. package/dist/z80-CsG3CM6M.cjs +0 -1
  376. package/dist/z80-Pki2zAjW.js +0 -61
  377. package/dist/zh-RVJj1NQq.cjs +0 -1
  378. /package/dist/types/{components/milkdown/milkdown-url.d.ts → prosemirror/styles-url.d.ts} +0 -0
  379. /package/dist/types/{milkdown → prosemirror}/styles.d.ts +0 -0
@@ -1,915 +0,0 @@
1
- function t(n, e) {
2
- return n.string.charAt(n.pos + (e || 0));
3
- }
4
- function O(n, e) {
5
- if (e) {
6
- var u = n.pos - e;
7
- return n.string.substr(u >= 0 ? u : 0, e);
8
- } else
9
- return n.string.substr(0, n.pos - 1);
10
- }
11
- function g(n, e) {
12
- var u = n.string.length, $ = u - n.pos + 1;
13
- return n.string.substr(n.pos, e && e < u ? e : $);
14
- }
15
- function o(n, e) {
16
- var u = n.pos + e, $;
17
- u <= 0 ? n.pos = 0 : u >= ($ = n.string.length - 1) ? n.pos = $ : n.pos = u;
18
- }
19
- var p = {
20
- // null - magic touch
21
- // 1 - keyword
22
- // 2 - def
23
- // 3 - atom
24
- // 4 - operator
25
- // 5 - builtin (predefined)
26
- // [x,y] - x=1,2,3; y=must be defined if x{...}
27
- // PERL operators
28
- "->": 4,
29
- "++": 4,
30
- "--": 4,
31
- "**": 4,
32
- // ! ~ \ and unary + and -
33
- "=~": 4,
34
- "!~": 4,
35
- "*": 4,
36
- "/": 4,
37
- "%": 4,
38
- x: 4,
39
- "+": 4,
40
- "-": 4,
41
- ".": 4,
42
- "<<": 4,
43
- ">>": 4,
44
- // named unary operators
45
- "<": 4,
46
- ">": 4,
47
- "<=": 4,
48
- ">=": 4,
49
- lt: 4,
50
- gt: 4,
51
- le: 4,
52
- ge: 4,
53
- "==": 4,
54
- "!=": 4,
55
- "<=>": 4,
56
- eq: 4,
57
- ne: 4,
58
- cmp: 4,
59
- "~~": 4,
60
- "&": 4,
61
- "|": 4,
62
- "^": 4,
63
- "&&": 4,
64
- "||": 4,
65
- "//": 4,
66
- "..": 4,
67
- "...": 4,
68
- "?": 4,
69
- ":": 4,
70
- "=": 4,
71
- "+=": 4,
72
- "-=": 4,
73
- "*=": 4,
74
- // etc. ???
75
- ",": 4,
76
- "=>": 4,
77
- "::": 4,
78
- // list operators (rightward)
79
- not: 4,
80
- and: 4,
81
- or: 4,
82
- xor: 4,
83
- // PERL predefined variables (I know, what this is a paranoid idea, but may be needed for people, who learn PERL, and for me as well, ...and may be for you?;)
84
- BEGIN: [5, 1],
85
- END: [5, 1],
86
- PRINT: [5, 1],
87
- PRINTF: [5, 1],
88
- GETC: [5, 1],
89
- READ: [5, 1],
90
- READLINE: [5, 1],
91
- DESTROY: [5, 1],
92
- TIE: [5, 1],
93
- TIEHANDLE: [5, 1],
94
- UNTIE: [5, 1],
95
- STDIN: 5,
96
- STDIN_TOP: 5,
97
- STDOUT: 5,
98
- STDOUT_TOP: 5,
99
- STDERR: 5,
100
- STDERR_TOP: 5,
101
- $ARG: 5,
102
- $_: 5,
103
- "@ARG": 5,
104
- "@_": 5,
105
- $LIST_SEPARATOR: 5,
106
- '$"': 5,
107
- $PROCESS_ID: 5,
108
- $PID: 5,
109
- $$: 5,
110
- $REAL_GROUP_ID: 5,
111
- $GID: 5,
112
- "$(": 5,
113
- $EFFECTIVE_GROUP_ID: 5,
114
- $EGID: 5,
115
- "$)": 5,
116
- $PROGRAM_NAME: 5,
117
- $0: 5,
118
- $SUBSCRIPT_SEPARATOR: 5,
119
- $SUBSEP: 5,
120
- "$;": 5,
121
- $REAL_USER_ID: 5,
122
- $UID: 5,
123
- "$<": 5,
124
- $EFFECTIVE_USER_ID: 5,
125
- $EUID: 5,
126
- "$>": 5,
127
- $a: 5,
128
- $b: 5,
129
- $COMPILING: 5,
130
- "$^C": 5,
131
- $DEBUGGING: 5,
132
- "$^D": 5,
133
- "${^ENCODING}": 5,
134
- $ENV: 5,
135
- "%ENV": 5,
136
- $SYSTEM_FD_MAX: 5,
137
- "$^F": 5,
138
- "@F": 5,
139
- "${^GLOBAL_PHASE}": 5,
140
- "$^H": 5,
141
- "%^H": 5,
142
- "@INC": 5,
143
- "%INC": 5,
144
- $INPLACE_EDIT: 5,
145
- "$^I": 5,
146
- "$^M": 5,
147
- $OSNAME: 5,
148
- "$^O": 5,
149
- "${^OPEN}": 5,
150
- $PERLDB: 5,
151
- "$^P": 5,
152
- $SIG: 5,
153
- "%SIG": 5,
154
- $BASETIME: 5,
155
- "$^T": 5,
156
- "${^TAINT}": 5,
157
- "${^UNICODE}": 5,
158
- "${^UTF8CACHE}": 5,
159
- "${^UTF8LOCALE}": 5,
160
- $PERL_VERSION: 5,
161
- "$^V": 5,
162
- "${^WIN32_SLOPPY_STAT}": 5,
163
- $EXECUTABLE_NAME: 5,
164
- "$^X": 5,
165
- $1: 5,
166
- // - regexp $1, $2...
167
- $MATCH: 5,
168
- "$&": 5,
169
- "${^MATCH}": 5,
170
- $PREMATCH: 5,
171
- "$`": 5,
172
- "${^PREMATCH}": 5,
173
- $POSTMATCH: 5,
174
- "$'": 5,
175
- "${^POSTMATCH}": 5,
176
- $LAST_PAREN_MATCH: 5,
177
- "$+": 5,
178
- $LAST_SUBMATCH_RESULT: 5,
179
- "$^N": 5,
180
- "@LAST_MATCH_END": 5,
181
- "@+": 5,
182
- "%LAST_PAREN_MATCH": 5,
183
- "%+": 5,
184
- "@LAST_MATCH_START": 5,
185
- "@-": 5,
186
- "%LAST_MATCH_START": 5,
187
- "%-": 5,
188
- $LAST_REGEXP_CODE_RESULT: 5,
189
- "$^R": 5,
190
- "${^RE_DEBUG_FLAGS}": 5,
191
- "${^RE_TRIE_MAXBUF}": 5,
192
- $ARGV: 5,
193
- "@ARGV": 5,
194
- ARGV: 5,
195
- ARGVOUT: 5,
196
- $OUTPUT_FIELD_SEPARATOR: 5,
197
- $OFS: 5,
198
- "$,": 5,
199
- $INPUT_LINE_NUMBER: 5,
200
- $NR: 5,
201
- "$.": 5,
202
- $INPUT_RECORD_SEPARATOR: 5,
203
- $RS: 5,
204
- "$/": 5,
205
- $OUTPUT_RECORD_SEPARATOR: 5,
206
- $ORS: 5,
207
- "$\\": 5,
208
- $OUTPUT_AUTOFLUSH: 5,
209
- "$|": 5,
210
- $ACCUMULATOR: 5,
211
- "$^A": 5,
212
- $FORMAT_FORMFEED: 5,
213
- "$^L": 5,
214
- $FORMAT_PAGE_NUMBER: 5,
215
- "$%": 5,
216
- $FORMAT_LINES_LEFT: 5,
217
- "$-": 5,
218
- $FORMAT_LINE_BREAK_CHARACTERS: 5,
219
- "$:": 5,
220
- $FORMAT_LINES_PER_PAGE: 5,
221
- "$=": 5,
222
- $FORMAT_TOP_NAME: 5,
223
- "$^": 5,
224
- $FORMAT_NAME: 5,
225
- "$~": 5,
226
- "${^CHILD_ERROR_NATIVE}": 5,
227
- $EXTENDED_OS_ERROR: 5,
228
- "$^E": 5,
229
- $EXCEPTIONS_BEING_CAUGHT: 5,
230
- "$^S": 5,
231
- $WARNING: 5,
232
- "$^W": 5,
233
- "${^WARNING_BITS}": 5,
234
- $OS_ERROR: 5,
235
- $ERRNO: 5,
236
- "$!": 5,
237
- "%OS_ERROR": 5,
238
- "%ERRNO": 5,
239
- "%!": 5,
240
- $CHILD_ERROR: 5,
241
- "$?": 5,
242
- $EVAL_ERROR: 5,
243
- "$@": 5,
244
- $OFMT: 5,
245
- "$#": 5,
246
- "$*": 5,
247
- $ARRAY_BASE: 5,
248
- "$[": 5,
249
- $OLD_PERL_VERSION: 5,
250
- "$]": 5,
251
- // PERL blocks
252
- if: [1, 1],
253
- elsif: [1, 1],
254
- else: [1, 1],
255
- while: [1, 1],
256
- unless: [1, 1],
257
- for: [1, 1],
258
- foreach: [1, 1],
259
- // PERL functions
260
- abs: 1,
261
- // - absolute value function
262
- accept: 1,
263
- // - accept an incoming socket connect
264
- alarm: 1,
265
- // - schedule a SIGALRM
266
- atan2: 1,
267
- // - arctangent of Y/X in the range -PI to PI
268
- bind: 1,
269
- // - binds an address to a socket
270
- binmode: 1,
271
- // - prepare binary files for I/O
272
- bless: 1,
273
- // - create an object
274
- bootstrap: 1,
275
- //
276
- break: 1,
277
- // - break out of a "given" block
278
- caller: 1,
279
- // - get context of the current subroutine call
280
- chdir: 1,
281
- // - change your current working directory
282
- chmod: 1,
283
- // - changes the permissions on a list of files
284
- chomp: 1,
285
- // - remove a trailing record separator from a string
286
- chop: 1,
287
- // - remove the last character from a string
288
- chown: 1,
289
- // - change the ownership on a list of files
290
- chr: 1,
291
- // - get character this number represents
292
- chroot: 1,
293
- // - make directory new root for path lookups
294
- close: 1,
295
- // - close file (or pipe or socket) handle
296
- closedir: 1,
297
- // - close directory handle
298
- connect: 1,
299
- // - connect to a remote socket
300
- continue: [1, 1],
301
- // - optional trailing block in a while or foreach
302
- cos: 1,
303
- // - cosine function
304
- crypt: 1,
305
- // - one-way passwd-style encryption
306
- dbmclose: 1,
307
- // - breaks binding on a tied dbm file
308
- dbmopen: 1,
309
- // - create binding on a tied dbm file
310
- default: 1,
311
- //
312
- defined: 1,
313
- // - test whether a value, variable, or function is defined
314
- delete: 1,
315
- // - deletes a value from a hash
316
- die: 1,
317
- // - raise an exception or bail out
318
- do: 1,
319
- // - turn a BLOCK into a TERM
320
- dump: 1,
321
- // - create an immediate core dump
322
- each: 1,
323
- // - retrieve the next key/value pair from a hash
324
- endgrent: 1,
325
- // - be done using group file
326
- endhostent: 1,
327
- // - be done using hosts file
328
- endnetent: 1,
329
- // - be done using networks file
330
- endprotoent: 1,
331
- // - be done using protocols file
332
- endpwent: 1,
333
- // - be done using passwd file
334
- endservent: 1,
335
- // - be done using services file
336
- eof: 1,
337
- // - test a filehandle for its end
338
- eval: 1,
339
- // - catch exceptions or compile and run code
340
- exec: 1,
341
- // - abandon this program to run another
342
- exists: 1,
343
- // - test whether a hash key is present
344
- exit: 1,
345
- // - terminate this program
346
- exp: 1,
347
- // - raise I to a power
348
- fcntl: 1,
349
- // - file control system call
350
- fileno: 1,
351
- // - return file descriptor from filehandle
352
- flock: 1,
353
- // - lock an entire file with an advisory lock
354
- fork: 1,
355
- // - create a new process just like this one
356
- format: 1,
357
- // - declare a picture format with use by the write() function
358
- formline: 1,
359
- // - internal function used for formats
360
- getc: 1,
361
- // - get the next character from the filehandle
362
- getgrent: 1,
363
- // - get next group record
364
- getgrgid: 1,
365
- // - get group record given group user ID
366
- getgrnam: 1,
367
- // - get group record given group name
368
- gethostbyaddr: 1,
369
- // - get host record given its address
370
- gethostbyname: 1,
371
- // - get host record given name
372
- gethostent: 1,
373
- // - get next hosts record
374
- getlogin: 1,
375
- // - return who logged in at this tty
376
- getnetbyaddr: 1,
377
- // - get network record given its address
378
- getnetbyname: 1,
379
- // - get networks record given name
380
- getnetent: 1,
381
- // - get next networks record
382
- getpeername: 1,
383
- // - find the other end of a socket connection
384
- getpgrp: 1,
385
- // - get process group
386
- getppid: 1,
387
- // - get parent process ID
388
- getpriority: 1,
389
- // - get current nice value
390
- getprotobyname: 1,
391
- // - get protocol record given name
392
- getprotobynumber: 1,
393
- // - get protocol record numeric protocol
394
- getprotoent: 1,
395
- // - get next protocols record
396
- getpwent: 1,
397
- // - get next passwd record
398
- getpwnam: 1,
399
- // - get passwd record given user login name
400
- getpwuid: 1,
401
- // - get passwd record given user ID
402
- getservbyname: 1,
403
- // - get services record given its name
404
- getservbyport: 1,
405
- // - get services record given numeric port
406
- getservent: 1,
407
- // - get next services record
408
- getsockname: 1,
409
- // - retrieve the sockaddr for a given socket
410
- getsockopt: 1,
411
- // - get socket options on a given socket
412
- given: 1,
413
- //
414
- glob: 1,
415
- // - expand filenames using wildcards
416
- gmtime: 1,
417
- // - convert UNIX time into record or string using Greenwich time
418
- goto: 1,
419
- // - create spaghetti code
420
- grep: 1,
421
- // - locate elements in a list test true against a given criterion
422
- hex: 1,
423
- // - convert a string to a hexadecimal number
424
- import: 1,
425
- // - patch a module's namespace into your own
426
- index: 1,
427
- // - find a substring within a string
428
- int: 1,
429
- // - get the integer portion of a number
430
- ioctl: 1,
431
- // - system-dependent device control system call
432
- join: 1,
433
- // - join a list into a string using a separator
434
- keys: 1,
435
- // - retrieve list of indices from a hash
436
- kill: 1,
437
- // - send a signal to a process or process group
438
- last: 1,
439
- // - exit a block prematurely
440
- lc: 1,
441
- // - return lower-case version of a string
442
- lcfirst: 1,
443
- // - return a string with just the next letter in lower case
444
- length: 1,
445
- // - return the number of bytes in a string
446
- link: 1,
447
- // - create a hard link in the filesystem
448
- listen: 1,
449
- // - register your socket as a server
450
- local: 2,
451
- // - create a temporary value for a global variable (dynamic scoping)
452
- localtime: 1,
453
- // - convert UNIX time into record or string using local time
454
- lock: 1,
455
- // - get a thread lock on a variable, subroutine, or method
456
- log: 1,
457
- // - retrieve the natural logarithm for a number
458
- lstat: 1,
459
- // - stat a symbolic link
460
- m: null,
461
- // - match a string with a regular expression pattern
462
- map: 1,
463
- // - apply a change to a list to get back a new list with the changes
464
- mkdir: 1,
465
- // - create a directory
466
- msgctl: 1,
467
- // - SysV IPC message control operations
468
- msgget: 1,
469
- // - get SysV IPC message queue
470
- msgrcv: 1,
471
- // - receive a SysV IPC message from a message queue
472
- msgsnd: 1,
473
- // - send a SysV IPC message to a message queue
474
- my: 2,
475
- // - declare and assign a local variable (lexical scoping)
476
- new: 1,
477
- //
478
- next: 1,
479
- // - iterate a block prematurely
480
- no: 1,
481
- // - unimport some module symbols or semantics at compile time
482
- oct: 1,
483
- // - convert a string to an octal number
484
- open: 1,
485
- // - open a file, pipe, or descriptor
486
- opendir: 1,
487
- // - open a directory
488
- ord: 1,
489
- // - find a character's numeric representation
490
- our: 2,
491
- // - declare and assign a package variable (lexical scoping)
492
- pack: 1,
493
- // - convert a list into a binary representation
494
- package: 1,
495
- // - declare a separate global namespace
496
- pipe: 1,
497
- // - open a pair of connected filehandles
498
- pop: 1,
499
- // - remove the last element from an array and return it
500
- pos: 1,
501
- // - find or set the offset for the last/next m//g search
502
- print: 1,
503
- // - output a list to a filehandle
504
- printf: 1,
505
- // - output a formatted list to a filehandle
506
- prototype: 1,
507
- // - get the prototype (if any) of a subroutine
508
- push: 1,
509
- // - append one or more elements to an array
510
- q: null,
511
- // - singly quote a string
512
- qq: null,
513
- // - doubly quote a string
514
- qr: null,
515
- // - Compile pattern
516
- quotemeta: null,
517
- // - quote regular expression magic characters
518
- qw: null,
519
- // - quote a list of words
520
- qx: null,
521
- // - backquote quote a string
522
- rand: 1,
523
- // - retrieve the next pseudorandom number
524
- read: 1,
525
- // - fixed-length buffered input from a filehandle
526
- readdir: 1,
527
- // - get a directory from a directory handle
528
- readline: 1,
529
- // - fetch a record from a file
530
- readlink: 1,
531
- // - determine where a symbolic link is pointing
532
- readpipe: 1,
533
- // - execute a system command and collect standard output
534
- recv: 1,
535
- // - receive a message over a Socket
536
- redo: 1,
537
- // - start this loop iteration over again
538
- ref: 1,
539
- // - find out the type of thing being referenced
540
- rename: 1,
541
- // - change a filename
542
- require: 1,
543
- // - load in external functions from a library at runtime
544
- reset: 1,
545
- // - clear all variables of a given name
546
- return: 1,
547
- // - get out of a function early
548
- reverse: 1,
549
- // - flip a string or a list
550
- rewinddir: 1,
551
- // - reset directory handle
552
- rindex: 1,
553
- // - right-to-left substring search
554
- rmdir: 1,
555
- // - remove a directory
556
- s: null,
557
- // - replace a pattern with a string
558
- say: 1,
559
- // - print with newline
560
- scalar: 1,
561
- // - force a scalar context
562
- seek: 1,
563
- // - reposition file pointer for random-access I/O
564
- seekdir: 1,
565
- // - reposition directory pointer
566
- select: 1,
567
- // - reset default output or do I/O multiplexing
568
- semctl: 1,
569
- // - SysV semaphore control operations
570
- semget: 1,
571
- // - get set of SysV semaphores
572
- semop: 1,
573
- // - SysV semaphore operations
574
- send: 1,
575
- // - send a message over a socket
576
- setgrent: 1,
577
- // - prepare group file for use
578
- sethostent: 1,
579
- // - prepare hosts file for use
580
- setnetent: 1,
581
- // - prepare networks file for use
582
- setpgrp: 1,
583
- // - set the process group of a process
584
- setpriority: 1,
585
- // - set a process's nice value
586
- setprotoent: 1,
587
- // - prepare protocols file for use
588
- setpwent: 1,
589
- // - prepare passwd file for use
590
- setservent: 1,
591
- // - prepare services file for use
592
- setsockopt: 1,
593
- // - set some socket options
594
- shift: 1,
595
- // - remove the first element of an array, and return it
596
- shmctl: 1,
597
- // - SysV shared memory operations
598
- shmget: 1,
599
- // - get SysV shared memory segment identifier
600
- shmread: 1,
601
- // - read SysV shared memory
602
- shmwrite: 1,
603
- // - write SysV shared memory
604
- shutdown: 1,
605
- // - close down just half of a socket connection
606
- sin: 1,
607
- // - return the sine of a number
608
- sleep: 1,
609
- // - block for some number of seconds
610
- socket: 1,
611
- // - create a socket
612
- socketpair: 1,
613
- // - create a pair of sockets
614
- sort: 1,
615
- // - sort a list of values
616
- splice: 1,
617
- // - add or remove elements anywhere in an array
618
- split: 1,
619
- // - split up a string using a regexp delimiter
620
- sprintf: 1,
621
- // - formatted print into a string
622
- sqrt: 1,
623
- // - square root function
624
- srand: 1,
625
- // - seed the random number generator
626
- stat: 1,
627
- // - get a file's status information
628
- state: 1,
629
- // - declare and assign a state variable (persistent lexical scoping)
630
- study: 1,
631
- // - optimize input data for repeated searches
632
- sub: 1,
633
- // - declare a subroutine, possibly anonymously
634
- substr: 1,
635
- // - get or alter a portion of a string
636
- symlink: 1,
637
- // - create a symbolic link to a file
638
- syscall: 1,
639
- // - execute an arbitrary system call
640
- sysopen: 1,
641
- // - open a file, pipe, or descriptor
642
- sysread: 1,
643
- // - fixed-length unbuffered input from a filehandle
644
- sysseek: 1,
645
- // - position I/O pointer on handle used with sysread and syswrite
646
- system: 1,
647
- // - run a separate program
648
- syswrite: 1,
649
- // - fixed-length unbuffered output to a filehandle
650
- tell: 1,
651
- // - get current seekpointer on a filehandle
652
- telldir: 1,
653
- // - get current seekpointer on a directory handle
654
- tie: 1,
655
- // - bind a variable to an object class
656
- tied: 1,
657
- // - get a reference to the object underlying a tied variable
658
- time: 1,
659
- // - return number of seconds since 1970
660
- times: 1,
661
- // - return elapsed time for self and child processes
662
- tr: null,
663
- // - transliterate a string
664
- truncate: 1,
665
- // - shorten a file
666
- uc: 1,
667
- // - return upper-case version of a string
668
- ucfirst: 1,
669
- // - return a string with just the next letter in upper case
670
- umask: 1,
671
- // - set file creation mode mask
672
- undef: 1,
673
- // - remove a variable or function definition
674
- unlink: 1,
675
- // - remove one link to a file
676
- unpack: 1,
677
- // - convert binary structure into normal perl variables
678
- unshift: 1,
679
- // - prepend more elements to the beginning of a list
680
- untie: 1,
681
- // - break a tie binding to a variable
682
- use: 1,
683
- // - load in a module at compile time
684
- utime: 1,
685
- // - set a file's last access and modify times
686
- values: 1,
687
- // - return a list of the values in a hash
688
- vec: 1,
689
- // - test or set particular bits in a string
690
- wait: 1,
691
- // - wait for any child process to die
692
- waitpid: 1,
693
- // - wait for a particular child process to die
694
- wantarray: 1,
695
- // - get void vs scalar vs list context of current subroutine call
696
- warn: 1,
697
- // - print debugging info
698
- when: 1,
699
- //
700
- write: 1,
701
- // - print a picture record
702
- y: null
703
- }, f = "string.special", l = /[goseximacplud]/;
704
- function r(n, e, u, $, E) {
705
- return e.chain = null, e.style = null, e.tail = null, e.tokenize = function(i, R) {
706
- for (var _ = !1, A, d = 0; A = i.next(); ) {
707
- if (A === u[d] && !_)
708
- return u[++d] !== void 0 ? (R.chain = u[d], R.style = $, R.tail = E) : E && i.eatWhile(E), R.tokenize = T, $;
709
- _ = !_ && A == "\\";
710
- }
711
- return $;
712
- }, e.tokenize(n, e);
713
- }
714
- function S(n, e, u) {
715
- return e.tokenize = function($, E) {
716
- return $.string == u && (E.tokenize = T), $.skipToEnd(), "string";
717
- }, e.tokenize(n, e);
718
- }
719
- function T(n, e) {
720
- if (n.eatSpace())
721
- return null;
722
- if (e.chain)
723
- return r(n, e, e.chain, e.style, e.tail);
724
- if (n.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))
725
- return "number";
726
- if (n.match(/^<<(?=[_a-zA-Z])/))
727
- return n.eatWhile(/\w/), S(n, e, n.current().substr(2));
728
- if (n.sol() && n.match(/^\=item(?!\w)/))
729
- return S(n, e, "=cut");
730
- var u = n.next();
731
- if (u == '"' || u == "'") {
732
- if (O(n, 3) == "<<" + u) {
733
- var $ = n.pos;
734
- n.eatWhile(/\w/);
735
- var E = n.current().substr(1);
736
- if (E && n.eat(u))
737
- return S(n, e, E);
738
- n.pos = $;
739
- }
740
- return r(n, e, [u], "string");
741
- }
742
- if (u == "q") {
743
- var i = t(n, -2);
744
- if (!(i && /\w/.test(i))) {
745
- if (i = t(n, 0), i == "x") {
746
- if (i = t(n, 1), i == "(")
747
- return o(n, 2), r(n, e, [")"], f, l);
748
- if (i == "[")
749
- return o(n, 2), r(n, e, ["]"], f, l);
750
- if (i == "{")
751
- return o(n, 2), r(n, e, ["}"], f, l);
752
- if (i == "<")
753
- return o(n, 2), r(n, e, [">"], f, l);
754
- if (/[\^'"!~\/]/.test(i))
755
- return o(n, 1), r(n, e, [n.eat(i)], f, l);
756
- } else if (i == "q") {
757
- if (i = t(n, 1), i == "(")
758
- return o(n, 2), r(n, e, [")"], "string");
759
- if (i == "[")
760
- return o(n, 2), r(n, e, ["]"], "string");
761
- if (i == "{")
762
- return o(n, 2), r(n, e, ["}"], "string");
763
- if (i == "<")
764
- return o(n, 2), r(n, e, [">"], "string");
765
- if (/[\^'"!~\/]/.test(i))
766
- return o(n, 1), r(n, e, [n.eat(i)], "string");
767
- } else if (i == "w") {
768
- if (i = t(n, 1), i == "(")
769
- return o(n, 2), r(n, e, [")"], "bracket");
770
- if (i == "[")
771
- return o(n, 2), r(n, e, ["]"], "bracket");
772
- if (i == "{")
773
- return o(n, 2), r(n, e, ["}"], "bracket");
774
- if (i == "<")
775
- return o(n, 2), r(n, e, [">"], "bracket");
776
- if (/[\^'"!~\/]/.test(i))
777
- return o(n, 1), r(n, e, [n.eat(i)], "bracket");
778
- } else if (i == "r") {
779
- if (i = t(n, 1), i == "(")
780
- return o(n, 2), r(n, e, [")"], f, l);
781
- if (i == "[")
782
- return o(n, 2), r(n, e, ["]"], f, l);
783
- if (i == "{")
784
- return o(n, 2), r(n, e, ["}"], f, l);
785
- if (i == "<")
786
- return o(n, 2), r(n, e, [">"], f, l);
787
- if (/[\^'"!~\/]/.test(i))
788
- return o(n, 1), r(n, e, [n.eat(i)], f, l);
789
- } else if (/[\^'"!~\/(\[{<]/.test(i)) {
790
- if (i == "(")
791
- return o(n, 1), r(n, e, [")"], "string");
792
- if (i == "[")
793
- return o(n, 1), r(n, e, ["]"], "string");
794
- if (i == "{")
795
- return o(n, 1), r(n, e, ["}"], "string");
796
- if (i == "<")
797
- return o(n, 1), r(n, e, [">"], "string");
798
- if (/[\^'"!~\/]/.test(i))
799
- return r(n, e, [n.eat(i)], "string");
800
- }
801
- }
802
- }
803
- if (u == "m") {
804
- var i = t(n, -2);
805
- if (!(i && /\w/.test(i)) && (i = n.eat(/[(\[{<\^'"!~\/]/), i)) {
806
- if (/[\^'"!~\/]/.test(i))
807
- return r(n, e, [i], f, l);
808
- if (i == "(")
809
- return r(n, e, [")"], f, l);
810
- if (i == "[")
811
- return r(n, e, ["]"], f, l);
812
- if (i == "{")
813
- return r(n, e, ["}"], f, l);
814
- if (i == "<")
815
- return r(n, e, [">"], f, l);
816
- }
817
- }
818
- if (u == "s") {
819
- var i = /[\/>\]})\w]/.test(t(n, -2));
820
- if (!i && (i = n.eat(/[(\[{<\^'"!~\/]/), i))
821
- return i == "[" ? r(n, e, ["]", "]"], f, l) : i == "{" ? r(n, e, ["}", "}"], f, l) : i == "<" ? r(n, e, [">", ">"], f, l) : i == "(" ? r(n, e, [")", ")"], f, l) : r(n, e, [i, i], f, l);
822
- }
823
- if (u == "y") {
824
- var i = /[\/>\]})\w]/.test(t(n, -2));
825
- if (!i && (i = n.eat(/[(\[{<\^'"!~\/]/), i))
826
- return i == "[" ? r(n, e, ["]", "]"], f, l) : i == "{" ? r(n, e, ["}", "}"], f, l) : i == "<" ? r(n, e, [">", ">"], f, l) : i == "(" ? r(n, e, [")", ")"], f, l) : r(n, e, [i, i], f, l);
827
- }
828
- if (u == "t") {
829
- var i = /[\/>\]})\w]/.test(t(n, -2));
830
- if (!i && (i = n.eat("r"), i && (i = n.eat(/[(\[{<\^'"!~\/]/), i)))
831
- return i == "[" ? r(n, e, ["]", "]"], f, l) : i == "{" ? r(n, e, ["}", "}"], f, l) : i == "<" ? r(n, e, [">", ">"], f, l) : i == "(" ? r(n, e, [")", ")"], f, l) : r(n, e, [i, i], f, l);
832
- }
833
- if (u == "`")
834
- return r(n, e, [u], "builtin");
835
- if (u == "/")
836
- return /~\s*$/.test(O(n)) ? r(n, e, [u], f, l) : "operator";
837
- if (u == "$") {
838
- var $ = n.pos;
839
- if (n.eatWhile(/\d/) || n.eat("{") && n.eatWhile(/\d/) && n.eat("}"))
840
- return "builtin";
841
- n.pos = $;
842
- }
843
- if (/[$@%]/.test(u)) {
844
- var $ = n.pos;
845
- if (n.eat("^") && n.eat(/[A-Z]/) || !/[@$%&]/.test(t(n, -2)) && n.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)) {
846
- var i = n.current();
847
- if (p[i])
848
- return "builtin";
849
- }
850
- n.pos = $;
851
- }
852
- if (/[$@%&]/.test(u) && (n.eatWhile(/[\w$]/) || n.eat("{") && n.eatWhile(/[\w$]/) && n.eat("}"))) {
853
- var i = n.current();
854
- return p[i] ? "builtin" : "variable";
855
- }
856
- if (u == "#" && t(n, -2) != "$")
857
- return n.skipToEnd(), "comment";
858
- if (/[:+\-\^*$&%@=<>!?|\/~\.]/.test(u)) {
859
- var $ = n.pos;
860
- if (n.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/), p[n.current()])
861
- return "operator";
862
- n.pos = $;
863
- }
864
- if (u == "_" && n.pos == 1) {
865
- if (g(n, 6) == "_END__")
866
- return r(n, e, ["\0"], "comment");
867
- if (g(n, 7) == "_DATA__")
868
- return r(n, e, ["\0"], "builtin");
869
- if (g(n, 7) == "_C__")
870
- return r(n, e, ["\0"], "string");
871
- }
872
- if (/\w/.test(u)) {
873
- var $ = n.pos;
874
- if (t(n, -2) == "{" && (t(n, 0) == "}" || n.eatWhile(/\w/) && t(n, 0) == "}"))
875
- return "string";
876
- n.pos = $;
877
- }
878
- if (/[A-Z]/.test(u)) {
879
- var R = t(n, -2), $ = n.pos;
880
- if (n.eatWhile(/[A-Z_]/), /[\da-z]/.test(t(n, 0)))
881
- n.pos = $;
882
- else {
883
- var i = p[n.current()];
884
- return i ? (i[1] && (i = i[0]), R != ":" ? i == 1 ? "keyword" : i == 2 ? "def" : i == 3 ? "atom" : i == 4 ? "operator" : i == 5 ? "builtin" : "meta" : "meta") : "meta";
885
- }
886
- }
887
- if (/[a-zA-Z_]/.test(u)) {
888
- var R = t(n, -2);
889
- n.eatWhile(/\w/);
890
- var i = p[n.current()];
891
- return i ? (i[1] && (i = i[0]), R != ":" ? i == 1 ? "keyword" : i == 2 ? "def" : i == 3 ? "atom" : i == 4 ? "operator" : i == 5 ? "builtin" : "meta" : "meta") : "meta";
892
- }
893
- return null;
894
- }
895
- const I = {
896
- name: "perl",
897
- startState: function() {
898
- return {
899
- tokenize: T,
900
- chain: null,
901
- style: null,
902
- tail: null
903
- };
904
- },
905
- token: function(n, e) {
906
- return (e.tokenize || T)(n, e);
907
- },
908
- languageData: {
909
- commentTokens: { line: "#" },
910
- wordChars: "$"
911
- }
912
- };
913
- export {
914
- I as perl
915
- };