@marimo-team/islands 0.13.5-dev2 → 0.13.5-dev20

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 (154) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C_AzdirZ.js → ConnectedDataExplorerComponent-DOEmJILw.js} +214 -214
  2. package/dist/{VegaLite-pu8JBu4X.js → VegaLite-Bi7Iwuks.js} +3 -3
  3. package/dist/{_baseUniq-CiTkPi5t.js → _baseUniq-CRulE2V-.js} +73 -73
  4. package/dist/any-language-editor-BnDhBHlW.js +45 -0
  5. package/dist/{architectureDiagram-IEHRJDOE-VmqfI6q1.js → architectureDiagram-IEHRJDOE-Db0q4tkp.js} +5 -5
  6. package/dist/{blockDiagram-JOT3LUYC-DKRBzPp1.js → blockDiagram-JOT3LUYC-BbaEONDd.js} +4 -4
  7. package/dist/{c4Diagram-VJAJSXHY-CEf7pRqy.js → c4Diagram-VJAJSXHY-DCAO771w.js} +2 -2
  8. package/dist/{channel-Bs-jlEYP.js → channel-C62j0-3G.js} +1 -1
  9. package/dist/{chunk-4BMEZGHF-JrnJLS3V.js → chunk-4BMEZGHF-Czsu8p_r.js} +1 -1
  10. package/dist/{chunk-A2AXSNBT-DumX03uO.js → chunk-A2AXSNBT-CnhUHlfN.js} +2 -2
  11. package/dist/{chunk-AEK57VVT-DQSlcvL4.js → chunk-AEK57VVT-CtO9BJeR.js} +2 -2
  12. package/dist/{chunk-D6G4REZN-BMURf-_-.js → chunk-D6G4REZN-BczCccsr.js} +1 -1
  13. package/dist/{chunk-RZ5BOZE2-CvR5OB8q.js → chunk-RZ5BOZE2-Ty3QgxRI.js} +1 -1
  14. package/dist/{chunk-XZIHB7SX-BV-SFg0C.js → chunk-XZIHB7SX-DuUkPJ99.js} +1 -1
  15. package/dist/{classDiagram-GIVACNV2-C43vmBPZ.js → classDiagram-GIVACNV2-DOGUy40_.js} +2 -2
  16. package/dist/{classDiagram-v2-COTLJTTW-C43vmBPZ.js → classDiagram-v2-COTLJTTW-DOGUy40_.js} +2 -2
  17. package/dist/{clone-CwdpbFLz.js → clone-BpAdDx0e.js} +1 -1
  18. package/dist/{dagre-OKDRZEBW-D8ZQV0Yi.js → dagre-OKDRZEBW-ncYF_jRJ.js} +6 -6
  19. package/dist/{data-editor-BNdfVz1v.js → data-editor-CDGfT0Ag.js} +1 -1
  20. package/dist/{diagram-SSKATNLV-Cv-GB8oR.js → diagram-SSKATNLV-vfJAhozB.js} +3 -3
  21. package/dist/{diagram-VNBRO52H-CBodmMdZ.js → diagram-VNBRO52H-CXALb0YJ.js} +3 -3
  22. package/dist/{erDiagram-Q7BY3M3F-BIX9Idxi.js → erDiagram-Q7BY3M3F-CofieFzl.js} +3 -3
  23. package/dist/{flowDiagram-4HSFHLVR-BUjSGNM7.js → flowDiagram-4HSFHLVR-DoRETZGr.js} +3 -3
  24. package/dist/{ganttDiagram-APWFNJXF-CaTNlNSB.js → ganttDiagram-APWFNJXF-DTb2GL3c.js} +23 -23
  25. package/dist/{gitGraphDiagram-7IBYFJ6S-CfCha8AW.js → gitGraphDiagram-7IBYFJ6S-B9u9lKa1.js} +4 -4
  26. package/dist/{graph-Be0UTFo9.js → graph-DZeV_PmP.js} +6 -6
  27. package/dist/{index-BeXnBqQE.js → index-B2z4T-uo.js} +3 -3
  28. package/dist/{index-L0oNsrk-.js → index-C_alj-BG.js} +21 -21
  29. package/dist/{index-BIp0EfDP.js → index-IUF61ge7.js} +1 -1
  30. package/dist/{index-Csq00T7J.js → index-tH4SrZXA.js} +1 -1
  31. package/dist/{infoDiagram-PH2N3AL5-ba3OBUZs.js → infoDiagram-PH2N3AL5-DJjfqCfO.js} +2 -2
  32. package/dist/{journeyDiagram-U35MCT3I-B4fxHacA.js → journeyDiagram-U35MCT3I-DwLkJG-f.js} +2 -2
  33. package/dist/{kanban-definition-NDS4AKOZ-DU4wIeIu.js → kanban-definition-NDS4AKOZ-n7FvGy0o.js} +1 -1
  34. package/dist/{layout-DOmPlfe3.js → layout-DU8_qM0P.js} +48 -48
  35. package/dist/{linear-DXm1WsmB.js → linear-A4R3dgx8.js} +75 -75
  36. package/dist/{main-BCsFolTh.js → main-CbgQoKOv.js} +72966 -55108
  37. package/dist/main.js +2 -2
  38. package/dist/{mermaid-DzPF7Ftb.js → mermaid-Bk_55X58.js} +28 -28
  39. package/dist/{min-edngn0Vc.js → min-BCpSZuLU.js} +23 -23
  40. package/dist/{mindmap-definition-ALO5MXBD-VOzxFY0A.js → mindmap-definition-ALO5MXBD-BFOOtzRp.js} +2 -2
  41. package/dist/{pieDiagram-IB7DONF6-TYhX-esp.js → pieDiagram-IB7DONF6-CkWbzUYC.js} +3 -3
  42. package/dist/{quadrantDiagram-7GDLP6J5-BuATYRdo.js → quadrantDiagram-7GDLP6J5-Bm8LGZsH.js} +2 -2
  43. package/dist/{radar-MK3ICKWK-P-5owg0L.js → radar-MK3ICKWK-BhGxpPEW.js} +5 -5
  44. package/dist/{react-plotly-YxAEIAwv.js → react-plotly-Dc7sTjOi.js} +1 -1
  45. package/dist/{requirementDiagram-KVF5MWMF-CRVSWoKx.js → requirementDiagram-KVF5MWMF-VYomROsQ.js} +2 -2
  46. package/dist/{sankeyDiagram-QLVOVGJD-BqPhT1F6.js → sankeyDiagram-QLVOVGJD-Dog6Cao1.js} +1 -1
  47. package/dist/{sequenceDiagram-X6HHIX6F-D3WXS_BE.js → sequenceDiagram-X6HHIX6F-BlK6Gbmq.js} +3 -3
  48. package/dist/{slides-component-CjjgisO8.js → slides-component-CZXNSfqh.js} +25 -25
  49. package/dist/{stateDiagram-DGXRK772-ByTInct0.js → stateDiagram-DGXRK772-Dsi59l9w.js} +4 -4
  50. package/dist/{stateDiagram-v2-YXO3MK2T-omH8pF_c.js → stateDiagram-v2-YXO3MK2T-FJK5U5YO.js} +2 -2
  51. package/dist/style.css +1 -1
  52. package/dist/{time-C8Vnun19.js → time-1tQSXwvY.js} +2 -2
  53. package/dist/{timeline-definition-BDJGKUSR-exRCLAbN.js → timeline-definition-BDJGKUSR-D5aLDoS-.js} +1 -1
  54. package/dist/{vega-component-LGQWoos7.js → vega-component-GBnHIS8i.js} +22 -22
  55. package/dist/{xychartDiagram-VJFVF3MP-NkfBq2mX.js → xychartDiagram-VJFVF3MP-hrlN4bis.js} +2 -2
  56. package/package.json +1 -1
  57. package/dist/any-language-editor-NCI9Qt-4.js +0 -2304
  58. package/dist/apl-B2DGVGxc.js +0 -76
  59. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  60. package/dist/asterisk-DS281yxp.js +0 -271
  61. package/dist/brainfuck-C_p9pTT8.js +0 -34
  62. package/dist/clike-BUuHEmgZ.js +0 -620
  63. package/dist/cmake-CuaCgAKt.js +0 -28
  64. package/dist/cobol-BlTKFDRj.js +0 -72
  65. package/dist/coffeescript-BVCvwO8I.js +0 -179
  66. package/dist/commonlisp-D_kxz07b.js +0 -75
  67. package/dist/crystal-D309uH6_.js +0 -217
  68. package/dist/cypher-BMq4Fwjl.js +0 -68
  69. package/dist/d-BZcgY6La.js +0 -127
  70. package/dist/diff-Cg9d_RX2.js +0 -18
  71. package/dist/dockerfile-DIy8NleC.js +0 -194
  72. package/dist/dtd-CtLokQ-U.js +0 -84
  73. package/dist/dylan-QYeExnWK.js +0 -234
  74. package/dist/ebnf-DUPDuY4r.js +0 -78
  75. package/dist/ecl-CiXN-g_D.js +0 -121
  76. package/dist/eiffel-yQhjl4T1.js +0 -110
  77. package/dist/elm-CNT9vbN0.js +0 -108
  78. package/dist/erlang-CFOYdy9e.js +0 -487
  79. package/dist/factor-DDOC7X6P.js +0 -65
  80. package/dist/fcl-CPC2WYrI.js +0 -103
  81. package/dist/forth-BmxRyE9S.js +0 -60
  82. package/dist/fortran-9bvPyrOW.js +0 -442
  83. package/dist/gas-BdfkXJT_.js +0 -183
  84. package/dist/gherkin-CJuwpceU.js +0 -34
  85. package/dist/groovy-DZeT_VM-.js +0 -146
  86. package/dist/haskell-Bvt3Qq1t.js +0 -375
  87. package/dist/haxe-70NVW1pR.js +0 -359
  88. package/dist/http-D9LttvKF.js +0 -44
  89. package/dist/idl-B6TRFYjl.js +0 -947
  90. package/dist/index--31WSwGb.js +0 -97
  91. package/dist/index-AjKzuF8_.js +0 -68
  92. package/dist/index-BWGajeuh.js +0 -243
  93. package/dist/index-B_SFxcxO.js +0 -298
  94. package/dist/index-C7z-XoP1.js +0 -133
  95. package/dist/index-CCMSeZHZ.js +0 -271
  96. package/dist/index-CaOkFrfa.js +0 -57
  97. package/dist/index-D0LVf8Wa.js +0 -155
  98. package/dist/index-D7sXoVUZ.js +0 -74
  99. package/dist/index-D9crr7pQ.js +0 -92
  100. package/dist/index-DdLQGR2Z.js +0 -134
  101. package/dist/index-DsX4RoD3.js +0 -264
  102. package/dist/jinja2-DnB6dQmV.js +0 -154
  103. package/dist/julia-DpvXAuO6.js +0 -241
  104. package/dist/livescript-CanGTf8u.js +0 -272
  105. package/dist/lua-XplVlWi_.js +0 -217
  106. package/dist/mathematica-jaRHnSxC.js +0 -35
  107. package/dist/mbox-BctzC1hL.js +0 -76
  108. package/dist/mirc-CFBPAOaF.js +0 -72
  109. package/dist/modelica-vUgVs--1.js +0 -93
  110. package/dist/mscgen-Cpl0NYLN.js +0 -104
  111. package/dist/mumps-CQoS1kWX.js +0 -25
  112. package/dist/nginx-zDPm3Z74.js +0 -89
  113. package/dist/nsis-fePjrhq7.js +0 -62
  114. package/dist/ntriples-CsNjv2QF.js +0 -79
  115. package/dist/octave-C8PmmSRH.js +0 -143
  116. package/dist/oz-Ce8aN8oE.js +0 -151
  117. package/dist/pascal-De0D6mP7.js +0 -77
  118. package/dist/perl-B4bSCe1C.js +0 -915
  119. package/dist/pig-D24Z8EXi.js +0 -54
  120. package/dist/powershell-DkYVfTzP.js +0 -249
  121. package/dist/properties-Dn9wna3M.js +0 -26
  122. package/dist/protobuf-BPIjwpzm.js +0 -49
  123. package/dist/puppet-nyd4dhjf.js +0 -45
  124. package/dist/q-DXjKs-tC.js +0 -83
  125. package/dist/r-LKEuhEGI.js +0 -104
  126. package/dist/ruby-CcYfvIk6.js +0 -228
  127. package/dist/sas-7E8yHoCW.js +0 -105
  128. package/dist/scheme-DjibxsNh.js +0 -124
  129. package/dist/shell-C0C2sNA_.js +0 -182
  130. package/dist/sieve-Bwz7vjP5.js +0 -72
  131. package/dist/simple-mode-B0dvCdAA.js +0 -89
  132. package/dist/smalltalk-Bhddl2pB.js +0 -48
  133. package/dist/solr-BNlsLglM.js +0 -41
  134. package/dist/sparql-FarWu_Gb.js +0 -197
  135. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  136. package/dist/stylus-CAdqWld3.js +0 -250
  137. package/dist/swift-DSxqR9R6.js +0 -230
  138. package/dist/tcl-xfoLljhY.js +0 -81
  139. package/dist/textile-D1AWE-pc.js +0 -295
  140. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  141. package/dist/tiki-__Kn3CeS.js +0 -181
  142. package/dist/toml-BHiuTcfn.js +0 -49
  143. package/dist/troff-D2UO-fKf.js +0 -35
  144. package/dist/ttcn-Bsa4sfRm.js +0 -123
  145. package/dist/turtle-xwJUxoPV.js +0 -80
  146. package/dist/vb-c2kQGd6-.js +0 -74
  147. package/dist/vbscript-Dz1TtKsy.js +0 -324
  148. package/dist/velocity-DJd0pTTC.js +0 -96
  149. package/dist/verilog-C4VGD9n1.js +0 -263
  150. package/dist/vhdl-T9HkrbI2.js +0 -106
  151. package/dist/webidl-CjfDENEo.js +0 -155
  152. package/dist/xquery-BUQdORAS.js +0 -422
  153. package/dist/yacas-C0absKBh.js +0 -73
  154. package/dist/z80-C8rPtw-0.js +0 -61
@@ -1,272 +0,0 @@
1
- var f = function(e, n) {
2
- var g = n.next || "start";
3
- {
4
- n.next = n.next;
5
- var k = x[g];
6
- if (k.splice) {
7
- for (var l = 0; l < k.length; ++l) {
8
- var t = k[l];
9
- if (t.regex && e.match(t.regex))
10
- return n.next = t.next || n.next, t.token;
11
- }
12
- return e.next(), "error";
13
- }
14
- if (e.match(t = x[g]))
15
- return t.regex && e.match(t.regex) ? (n.next = t.next, t.token) : (e.next(), "error");
16
- }
17
- return e.next(), "error";
18
- }, s = "(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*", u = RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*" + s + ")?))\\s*$"), r = "(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))", o = {
19
- token: "string",
20
- regex: ".+"
21
- }, x = {
22
- start: [
23
- {
24
- token: "docComment",
25
- regex: "/\\*",
26
- next: "comment"
27
- },
28
- {
29
- token: "comment",
30
- regex: "#.*"
31
- },
32
- {
33
- token: "keyword",
34
- regex: "(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)" + r
35
- },
36
- {
37
- token: "atom",
38
- regex: "(?:true|false|yes|no|on|off|null|void|undefined)" + r
39
- },
40
- {
41
- token: "invalid",
42
- regex: "(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)" + r
43
- },
44
- {
45
- token: "className.standard",
46
- regex: "(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)" + r
47
- },
48
- {
49
- token: "variableName.function.standard",
50
- regex: "(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)" + r
51
- },
52
- {
53
- token: "variableName.standard",
54
- regex: "(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)" + r
55
- },
56
- {
57
- token: "variableName",
58
- regex: s + "\\s*:(?![:=])"
59
- },
60
- {
61
- token: "variableName",
62
- regex: s
63
- },
64
- {
65
- token: "operatorKeyword",
66
- regex: "(?:\\.{3}|\\s+\\?)"
67
- },
68
- {
69
- token: "keyword",
70
- regex: "(?:@+|::|\\.\\.)",
71
- next: "key"
72
- },
73
- {
74
- token: "operatorKeyword",
75
- regex: "\\.\\s*",
76
- next: "key"
77
- },
78
- {
79
- token: "string",
80
- regex: "\\\\\\S[^\\s,;)}\\]]*"
81
- },
82
- {
83
- token: "docString",
84
- regex: "'''",
85
- next: "qdoc"
86
- },
87
- {
88
- token: "docString",
89
- regex: '"""',
90
- next: "qqdoc"
91
- },
92
- {
93
- token: "string",
94
- regex: "'",
95
- next: "qstring"
96
- },
97
- {
98
- token: "string",
99
- regex: '"',
100
- next: "qqstring"
101
- },
102
- {
103
- token: "string",
104
- regex: "`",
105
- next: "js"
106
- },
107
- {
108
- token: "string",
109
- regex: "<\\[",
110
- next: "words"
111
- },
112
- {
113
- token: "regexp",
114
- regex: "//",
115
- next: "heregex"
116
- },
117
- {
118
- token: "regexp",
119
- regex: "\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",
120
- next: "key"
121
- },
122
- {
123
- token: "number",
124
- regex: "(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"
125
- },
126
- {
127
- token: "paren",
128
- regex: "[({[]"
129
- },
130
- {
131
- token: "paren",
132
- regex: "[)}\\]]",
133
- next: "key"
134
- },
135
- {
136
- token: "operatorKeyword",
137
- regex: "\\S+"
138
- },
139
- {
140
- token: "content",
141
- regex: "\\s+"
142
- }
143
- ],
144
- heregex: [
145
- {
146
- token: "regexp",
147
- regex: ".*?//[gimy$?]{0,4}",
148
- next: "start"
149
- },
150
- {
151
- token: "regexp",
152
- regex: "\\s*#{"
153
- },
154
- {
155
- token: "comment",
156
- regex: "\\s+(?:#.*)?"
157
- },
158
- {
159
- token: "regexp",
160
- regex: "\\S+"
161
- }
162
- ],
163
- key: [
164
- {
165
- token: "operatorKeyword",
166
- regex: "[.?@!]+"
167
- },
168
- {
169
- token: "variableName",
170
- regex: s,
171
- next: "start"
172
- },
173
- {
174
- token: "content",
175
- regex: "",
176
- next: "start"
177
- }
178
- ],
179
- comment: [
180
- {
181
- token: "docComment",
182
- regex: ".*?\\*/",
183
- next: "start"
184
- },
185
- {
186
- token: "docComment",
187
- regex: ".+"
188
- }
189
- ],
190
- qdoc: [
191
- {
192
- token: "string",
193
- regex: ".*?'''",
194
- next: "key"
195
- },
196
- o
197
- ],
198
- qqdoc: [
199
- {
200
- token: "string",
201
- regex: '.*?"""',
202
- next: "key"
203
- },
204
- o
205
- ],
206
- qstring: [
207
- {
208
- token: "string",
209
- regex: "[^\\\\']*(?:\\\\.[^\\\\']*)*'",
210
- next: "key"
211
- },
212
- o
213
- ],
214
- qqstring: [
215
- {
216
- token: "string",
217
- regex: '[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',
218
- next: "key"
219
- },
220
- o
221
- ],
222
- js: [
223
- {
224
- token: "string",
225
- regex: "[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",
226
- next: "key"
227
- },
228
- o
229
- ],
230
- words: [
231
- {
232
- token: "string",
233
- regex: ".*?\\]>",
234
- next: "key"
235
- },
236
- o
237
- ]
238
- };
239
- for (var d in x) {
240
- var a = x[d];
241
- if (a.splice)
242
- for (var i = 0, p = a.length; i < p; ++i) {
243
- var c = a[i];
244
- typeof c.regex == "string" && (x[d][i].regex = new RegExp("^" + c.regex));
245
- }
246
- else typeof c.regex == "string" && (x[d].regex = new RegExp("^" + a.regex));
247
- }
248
- const y = {
249
- name: "livescript",
250
- startState: function() {
251
- return {
252
- next: "start",
253
- lastToken: { style: null, indent: 0, content: "" }
254
- };
255
- },
256
- token: function(e, n) {
257
- for (; e.pos == e.start; )
258
- var g = f(e, n);
259
- return n.lastToken = {
260
- style: g,
261
- indent: e.indentation(),
262
- content: e.current()
263
- }, g.replace(/\./g, " ");
264
- },
265
- indent: function(e) {
266
- var n = e.lastToken.indent;
267
- return e.lastToken.content.match(u) && (n += 2), n;
268
- }
269
- };
270
- export {
271
- y as liveScript
272
- };
@@ -1,217 +0,0 @@
1
- function c(e) {
2
- return new RegExp("^(?:" + e.join("|") + ")", "i");
3
- }
4
- function o(e) {
5
- return new RegExp("^(?:" + e.join("|") + ")$", "i");
6
- }
7
- var d = o([
8
- "_G",
9
- "_VERSION",
10
- "assert",
11
- "collectgarbage",
12
- "dofile",
13
- "error",
14
- "getfenv",
15
- "getmetatable",
16
- "ipairs",
17
- "load",
18
- "loadfile",
19
- "loadstring",
20
- "module",
21
- "next",
22
- "pairs",
23
- "pcall",
24
- "print",
25
- "rawequal",
26
- "rawget",
27
- "rawset",
28
- "require",
29
- "select",
30
- "setfenv",
31
- "setmetatable",
32
- "tonumber",
33
- "tostring",
34
- "type",
35
- "unpack",
36
- "xpcall",
37
- "coroutine.create",
38
- "coroutine.resume",
39
- "coroutine.running",
40
- "coroutine.status",
41
- "coroutine.wrap",
42
- "coroutine.yield",
43
- "debug.debug",
44
- "debug.getfenv",
45
- "debug.gethook",
46
- "debug.getinfo",
47
- "debug.getlocal",
48
- "debug.getmetatable",
49
- "debug.getregistry",
50
- "debug.getupvalue",
51
- "debug.setfenv",
52
- "debug.sethook",
53
- "debug.setlocal",
54
- "debug.setmetatable",
55
- "debug.setupvalue",
56
- "debug.traceback",
57
- "close",
58
- "flush",
59
- "lines",
60
- "read",
61
- "seek",
62
- "setvbuf",
63
- "write",
64
- "io.close",
65
- "io.flush",
66
- "io.input",
67
- "io.lines",
68
- "io.open",
69
- "io.output",
70
- "io.popen",
71
- "io.read",
72
- "io.stderr",
73
- "io.stdin",
74
- "io.stdout",
75
- "io.tmpfile",
76
- "io.type",
77
- "io.write",
78
- "math.abs",
79
- "math.acos",
80
- "math.asin",
81
- "math.atan",
82
- "math.atan2",
83
- "math.ceil",
84
- "math.cos",
85
- "math.cosh",
86
- "math.deg",
87
- "math.exp",
88
- "math.floor",
89
- "math.fmod",
90
- "math.frexp",
91
- "math.huge",
92
- "math.ldexp",
93
- "math.log",
94
- "math.log10",
95
- "math.max",
96
- "math.min",
97
- "math.modf",
98
- "math.pi",
99
- "math.pow",
100
- "math.rad",
101
- "math.random",
102
- "math.randomseed",
103
- "math.sin",
104
- "math.sinh",
105
- "math.sqrt",
106
- "math.tan",
107
- "math.tanh",
108
- "os.clock",
109
- "os.date",
110
- "os.difftime",
111
- "os.execute",
112
- "os.exit",
113
- "os.getenv",
114
- "os.remove",
115
- "os.rename",
116
- "os.setlocale",
117
- "os.time",
118
- "os.tmpname",
119
- "package.cpath",
120
- "package.loaded",
121
- "package.loaders",
122
- "package.loadlib",
123
- "package.path",
124
- "package.preload",
125
- "package.seeall",
126
- "string.byte",
127
- "string.char",
128
- "string.dump",
129
- "string.find",
130
- "string.format",
131
- "string.gmatch",
132
- "string.gsub",
133
- "string.len",
134
- "string.lower",
135
- "string.match",
136
- "string.rep",
137
- "string.reverse",
138
- "string.sub",
139
- "string.upper",
140
- "table.concat",
141
- "table.insert",
142
- "table.maxn",
143
- "table.remove",
144
- "table.sort"
145
- ]), g = o([
146
- "and",
147
- "break",
148
- "elseif",
149
- "false",
150
- "nil",
151
- "not",
152
- "or",
153
- "return",
154
- "true",
155
- "function",
156
- "end",
157
- "if",
158
- "then",
159
- "else",
160
- "do",
161
- "while",
162
- "repeat",
163
- "until",
164
- "for",
165
- "in",
166
- "local"
167
- ]), f = o(["function", "if", "repeat", "do", "\\(", "{"]), h = o(["end", "until", "\\)", "}"]), p = c(["end", "until", "\\)", "}", "else", "elseif"]);
168
- function u(e) {
169
- for (var t = 0; e.eat("="); ) ++t;
170
- return e.eat("["), t;
171
- }
172
- function l(e, t) {
173
- var n = e.next();
174
- return n == "-" && e.eat("-") ? e.eat("[") && e.eat("[") ? (t.cur = s(u(e), "comment"))(e, t) : (e.skipToEnd(), "comment") : n == '"' || n == "'" ? (t.cur = m(n))(e, t) : n == "[" && /[\[=]/.test(e.peek()) ? (t.cur = s(u(e), "string"))(e, t) : /\d/.test(n) ? (e.eatWhile(/[\w.%]/), "number") : /[\w_]/.test(n) ? (e.eatWhile(/[\w\\\-_.]/), "variable") : null;
175
- }
176
- function s(e, t) {
177
- return function(n, i) {
178
- for (var a = null, r; (r = n.next()) != null; )
179
- if (a == null)
180
- r == "]" && (a = 0);
181
- else if (r == "=") ++a;
182
- else if (r == "]" && a == e) {
183
- i.cur = l;
184
- break;
185
- } else a = null;
186
- return t;
187
- };
188
- }
189
- function m(e) {
190
- return function(t, n) {
191
- for (var i = !1, a; (a = t.next()) != null && !(a == e && !i); )
192
- i = !i && a == "\\";
193
- return i || (n.cur = l), "string";
194
- };
195
- }
196
- const b = {
197
- name: "lua",
198
- startState: function() {
199
- return { basecol: 0, indentDepth: 0, cur: l };
200
- },
201
- token: function(e, t) {
202
- if (e.eatSpace()) return null;
203
- var n = t.cur(e, t), i = e.current();
204
- return n == "variable" && (g.test(i) ? n = "keyword" : d.test(i) && (n = "builtin")), n != "comment" && n != "string" && (f.test(i) ? ++t.indentDepth : h.test(i) && --t.indentDepth), n;
205
- },
206
- indent: function(e, t, n) {
207
- var i = p.test(t);
208
- return e.basecol + n.unit * (e.indentDepth - (i ? 1 : 0));
209
- },
210
- languageData: {
211
- indentOnInput: /^\s*(?:end|until|else|\)|\})$/,
212
- commentTokens: { line: "--", block: { open: "--[[", close: "]]--" } }
213
- }
214
- };
215
- export {
216
- b as lua
217
- };
@@ -1,35 +0,0 @@
1
- var u = "[a-zA-Z\\$][a-zA-Z0-9\\$]*", f = "(?:\\d+)", c = "(?:\\.\\d+|\\d+\\.\\d*|\\d+)", o = "(?:\\.\\w+|\\w+\\.\\w*|\\w+)", l = "(?:`(?:`?" + c + ")?)", z = new RegExp("(?:" + f + "(?:\\^\\^" + o + l + "?(?:\\*\\^[+-]?\\d+)?))"), m = new RegExp("(?:" + c + l + "?(?:\\*\\^[+-]?\\d+)?)"), A = new RegExp("(?:`?)(?:" + u + ")(?:`(?:" + u + "))*(?:`?)");
2
- function i(e, a) {
3
- var n;
4
- return n = e.next(), n === '"' ? (a.tokenize = Z, a.tokenize(e, a)) : n === "(" && e.eat("*") ? (a.commentLevel++, a.tokenize = $, a.tokenize(e, a)) : (e.backUp(1), e.match(z, !0, !1) || e.match(m, !0, !1) ? "number" : e.match(/(?:In|Out)\[[0-9]*\]/, !0, !1) ? "atom" : e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/, !0, !1) ? "meta" : e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/, !0, !1) ? "string.special" : e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/, !0, !1) || e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/, !0, !1) || e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/, !0, !1) || e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/, !0, !1) ? "variableName.special" : e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/, !0, !1) ? "character" : e.match(/(?:\[|\]|{|}|\(|\))/, !0, !1) ? "bracket" : e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/, !0, !1) ? "variableName.constant" : e.match(A, !0, !1) ? "keyword" : e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/, !0, !1) ? "operator" : (e.next(), "error"));
5
- }
6
- function Z(e, a) {
7
- for (var n, r = !1, t = !1; (n = e.next()) != null; ) {
8
- if (n === '"' && !t) {
9
- r = !0;
10
- break;
11
- }
12
- t = !t && n === "\\";
13
- }
14
- return r && !t && (a.tokenize = i), "string";
15
- }
16
- function $(e, a) {
17
- for (var n, r; a.commentLevel > 0 && (r = e.next()) != null; )
18
- n === "(" && r === "*" && a.commentLevel++, n === "*" && r === ")" && a.commentLevel--, n = r;
19
- return a.commentLevel <= 0 && (a.tokenize = i), "comment";
20
- }
21
- const v = {
22
- name: "mathematica",
23
- startState: function() {
24
- return { tokenize: i, commentLevel: 0 };
25
- },
26
- token: function(e, a) {
27
- return e.eatSpace() ? null : a.tokenize(e, a);
28
- },
29
- languageData: {
30
- commentTokens: { block: { open: "(*", close: "*)" } }
31
- }
32
- };
33
- export {
34
- v as mathematica
35
- };
@@ -1,76 +0,0 @@
1
- var o = [
2
- "From",
3
- "Sender",
4
- "Reply-To",
5
- "To",
6
- "Cc",
7
- "Bcc",
8
- "Message-ID",
9
- "In-Reply-To",
10
- "References",
11
- "Resent-From",
12
- "Resent-Sender",
13
- "Resent-To",
14
- "Resent-Cc",
15
- "Resent-Bcc",
16
- "Resent-Message-ID",
17
- "Return-Path",
18
- "Received"
19
- ], l = [
20
- "Date",
21
- "Subject",
22
- "Comments",
23
- "Keywords",
24
- "Resent-Date"
25
- ], u = /^[ \t]/, d = /^From /, f = new RegExp("^(" + o.join("|") + "): "), c = new RegExp("^(" + l.join("|") + "): "), t = /^[^:]+:/, m = /^[^ ]+@[^ ]+/, p = /^.*?(?=[^ ]+?@[^ ]+)/, H = /^<.*?>/, v = /^.*?(?=<.*>)/;
26
- function h(e) {
27
- return e === "Subject" ? "header" : "string";
28
- }
29
- function R(e, r) {
30
- if (e.sol()) {
31
- if (r.inSeparator = !1, r.inHeader && e.match(u))
32
- return null;
33
- if (r.inHeader = !1, r.header = null, e.match(d))
34
- return r.inHeaders = !0, r.inSeparator = !0, "atom";
35
- var n, i = !1;
36
- return (n = e.match(c)) || (i = !0) && (n = e.match(f)) ? (r.inHeaders = !0, r.inHeader = !0, r.emailPermitted = i, r.header = n[1], "atom") : r.inHeaders && (n = e.match(t)) ? (r.inHeader = !0, r.emailPermitted = !0, r.header = n[1], "atom") : (r.inHeaders = !1, e.skipToEnd(), null);
37
- }
38
- if (r.inSeparator)
39
- return e.match(m) ? "link" : (e.match(p) || e.skipToEnd(), "atom");
40
- if (r.inHeader) {
41
- var a = h(r.header);
42
- if (r.emailPermitted) {
43
- if (e.match(H)) return a + " link";
44
- if (e.match(v)) return a;
45
- }
46
- return e.skipToEnd(), a;
47
- }
48
- return e.skipToEnd(), null;
49
- }
50
- const k = {
51
- name: "mbox",
52
- startState: function() {
53
- return {
54
- // Is in a mbox separator
55
- inSeparator: !1,
56
- // Is in a mail header
57
- inHeader: !1,
58
- // If bracketed email is permitted. Only applicable when inHeader
59
- emailPermitted: !1,
60
- // Name of current header
61
- header: null,
62
- // Is in a region of mail headers
63
- inHeaders: !1
64
- };
65
- },
66
- token: R,
67
- blankLine: function(e) {
68
- e.inHeaders = e.inSeparator = e.inHeader = !1;
69
- },
70
- languageData: {
71
- autocomplete: o.concat(l)
72
- }
73
- };
74
- export {
75
- k as mbox
76
- };
@@ -1,72 +0,0 @@
1
- function n(e) {
2
- for (var $ = {}, r = e.split(" "), i = 0; i < r.length; ++i) $[r[i]] = !0;
3
- return $;
4
- }
5
- var a = n("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"), s = n("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"), l = n("if elseif else and not or eq ne in ni for foreach while switch"), c = /[+\-*&%=<>!?^\/\|]/;
6
- function d(e, $, r) {
7
- return $.tokenize = r, r(e, $);
8
- }
9
- function o(e, $) {
10
- var r = $.beforeParams;
11
- $.beforeParams = !1;
12
- var i = e.next();
13
- if (/[\[\]{}\(\),\.]/.test(i))
14
- return i == "(" && r ? $.inParams = !0 : i == ")" && ($.inParams = !1), null;
15
- if (/\d/.test(i))
16
- return e.eatWhile(/[\w\.]/), "number";
17
- if (i == "\\")
18
- return e.eat("\\"), e.eat(/./), "number";
19
- if (i == "/" && e.eat("*"))
20
- return d(e, $, m);
21
- if (i == ";" && e.match(/ *\( *\(/))
22
- return d(e, $, p);
23
- if (i == ";" && !$.inParams)
24
- return e.skipToEnd(), "comment";
25
- if (i == '"')
26
- return e.eat(/"/), "keyword";
27
- if (i == "$")
28
- return e.eatWhile(/[$_a-z0-9A-Z\.:]/), a && a.propertyIsEnumerable(e.current().toLowerCase()) ? "keyword" : ($.beforeParams = !0, "builtin");
29
- if (i == "%")
30
- return e.eatWhile(/[^,\s()]/), $.beforeParams = !0, "string";
31
- if (c.test(i))
32
- return e.eatWhile(c), "operator";
33
- e.eatWhile(/[\w\$_{}]/);
34
- var t = e.current().toLowerCase();
35
- return s && s.propertyIsEnumerable(t) ? "keyword" : l && l.propertyIsEnumerable(t) ? ($.beforeParams = !0, "keyword") : null;
36
- }
37
- function m(e, $) {
38
- for (var r = !1, i; i = e.next(); ) {
39
- if (i == "/" && r) {
40
- $.tokenize = o;
41
- break;
42
- }
43
- r = i == "*";
44
- }
45
- return "comment";
46
- }
47
- function p(e, $) {
48
- for (var r = 0, i; i = e.next(); ) {
49
- if (i == ";" && r == 2) {
50
- $.tokenize = o;
51
- break;
52
- }
53
- i == ")" ? r++ : i != " " && (r = 0);
54
- }
55
- return "meta";
56
- }
57
- const u = {
58
- name: "mirc",
59
- startState: function() {
60
- return {
61
- tokenize: o,
62
- beforeParams: !1,
63
- inParams: !1
64
- };
65
- },
66
- token: function(e, $) {
67
- return e.eatSpace() ? null : $.tokenize(e, $);
68
- }
69
- };
70
- export {
71
- u as mirc
72
- };