editor.md-next 0.0.0-stage → 0.1.1

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 (233) hide show
  1. package/LICENSE +32 -0
  2. package/dist/cdn/editormd-next.min.js +96 -0
  3. package/dist/cdn/index.css +2 -0
  4. package/dist/es/chunks/apl-BsW9fB9B.js +74 -0
  5. package/dist/es/chunks/asciiarmor-CZm6RLC5.js +30 -0
  6. package/dist/es/chunks/asn1-DBNYSAs9.js +86 -0
  7. package/dist/es/chunks/asterisk-XIYTp-BQ.js +63 -0
  8. package/dist/es/chunks/brainfuck-C03PadMX.js +26 -0
  9. package/dist/es/chunks/clike-QWVxZJBi.js +583 -0
  10. package/dist/es/chunks/clojure-DT_PY7rc.js +98 -0
  11. package/dist/es/chunks/cmake-DsoLxE-D.js +27 -0
  12. package/dist/es/chunks/cobol-CZjCUlI-.js +59 -0
  13. package/dist/es/chunks/coffeescript-CuHwxkgS.js +174 -0
  14. package/dist/es/chunks/commonlisp-CGpKWWCQ.js +90 -0
  15. package/dist/es/chunks/crystal-BH2tBqmL.js +159 -0
  16. package/dist/es/chunks/css-C6pN9rmb.js +314 -0
  17. package/dist/es/chunks/cypher-DknS4f0k.js +66 -0
  18. package/dist/es/chunks/d-zXrED2QC.js +121 -0
  19. package/dist/es/chunks/diff-Ca3g43eR.js +15 -0
  20. package/dist/es/chunks/dist-9Y-Blrkp.js +118 -0
  21. package/dist/es/chunks/dist-B0cBTTiS.js +408 -0
  22. package/dist/es/chunks/dist-BX9Ur1J1.js +74 -0
  23. package/dist/es/chunks/dist-BmAxhg3z.js +555 -0
  24. package/dist/es/chunks/dist-C6c_aHTh.js +269 -0
  25. package/dist/es/chunks/dist-CGdw3vqm.js +429 -0
  26. package/dist/es/chunks/dist-CNbWaVYs.js +11572 -0
  27. package/dist/es/chunks/dist-CR-jmTSB.js +1338 -0
  28. package/dist/es/chunks/dist-CahNaXTc.js +388 -0
  29. package/dist/es/chunks/dist-CeqtAM8-.js +438 -0
  30. package/dist/es/chunks/dist-Clo-Jkvm.js +291 -0
  31. package/dist/es/chunks/dist-Cpw9AD2K.js +372 -0
  32. package/dist/es/chunks/dist-Ct5FNAAH.js +406 -0
  33. package/dist/es/chunks/dist-D0OW86fR.js +605 -0
  34. package/dist/es/chunks/dist-DAlgXLzd.js +110 -0
  35. package/dist/es/chunks/dist-DL-UifMi.js +744 -0
  36. package/dist/es/chunks/dist-DQadNG25.js +523 -0
  37. package/dist/es/chunks/dist-DlAXkWGE.js +67 -0
  38. package/dist/es/chunks/dist-DoThxrrR.js +371 -0
  39. package/dist/es/chunks/dist-DrwgGib-.js +377 -0
  40. package/dist/es/chunks/dist-P5rAF7pi.js +197 -0
  41. package/dist/es/chunks/dist-fTCYxiV-.js +355 -0
  42. package/dist/es/chunks/dockerfile-BZSDl6MT.js +196 -0
  43. package/dist/es/chunks/dtd-DzUNfrcJ.js +77 -0
  44. package/dist/es/chunks/dylan-CFjlscB1.js +186 -0
  45. package/dist/es/chunks/ebnf-Vn9hWL1o.js +67 -0
  46. package/dist/es/chunks/ecl-CbjLeBF5.js +105 -0
  47. package/dist/es/chunks/eiffel-Dmm3m78y.js +49 -0
  48. package/dist/es/chunks/elm-CSe2F7PE.js +85 -0
  49. package/dist/es/chunks/erlang-D6YOoBpM.js +321 -0
  50. package/dist/es/chunks/factor-DAqyQvq1.js +165 -0
  51. package/dist/es/chunks/fcl-BZA_wXmw.js +99 -0
  52. package/dist/es/chunks/forth-MNc4axOK.js +45 -0
  53. package/dist/es/chunks/fortran-auI4bdzC.js +40 -0
  54. package/dist/es/chunks/gas-CZDp8wLI.js +167 -0
  55. package/dist/es/chunks/gherkin-B12NX28O.js +29 -0
  56. package/dist/es/chunks/groovy-CBShT4in.js +143 -0
  57. package/dist/es/chunks/haskell-DQf5nq2l.js +85 -0
  58. package/dist/es/chunks/haxe-CBKywepX.js +351 -0
  59. package/dist/es/chunks/http-B-vrcJu5.js +43 -0
  60. package/dist/es/chunks/idl-kztl-rIS.js +41 -0
  61. package/dist/es/chunks/javascript-COVyUmNV.js +636 -0
  62. package/dist/es/chunks/julia-C7x1UmUy.js +173 -0
  63. package/dist/es/chunks/livescript-BcSQznfC.js +250 -0
  64. package/dist/es/chunks/lua-CuzOmeFy.js +104 -0
  65. package/dist/es/chunks/mathematica-C_8O0eBN.js +37 -0
  66. package/dist/es/chunks/mbox-CgRq7o1s.js +65 -0
  67. package/dist/es/chunks/mirc-46fAnY_I.js +61 -0
  68. package/dist/es/chunks/mllike-DwngWEOH.js +260 -0
  69. package/dist/es/chunks/modelica-CLh6SOPZ.js +82 -0
  70. package/dist/es/chunks/mscgen-CqCKoWqr.js +287 -0
  71. package/dist/es/chunks/mumps-CTaGGpGh.js +24 -0
  72. package/dist/es/chunks/nginx-D8_Tx5a5.js +76 -0
  73. package/dist/es/chunks/nsis-LQ_3myBa.js +143 -0
  74. package/dist/es/chunks/ntriples-C8_f-qnr.js +76 -0
  75. package/dist/es/chunks/octave-Bg8pIvq8.js +40 -0
  76. package/dist/es/chunks/oz-fY6iPhaV.js +151 -0
  77. package/dist/es/chunks/pascal-yJGuSy92.js +66 -0
  78. package/dist/es/chunks/perl-Cp3_dIJp.js +626 -0
  79. package/dist/es/chunks/pig-Dp8CFFHM.js +49 -0
  80. package/dist/es/chunks/powershell-CFKKqebC.js +233 -0
  81. package/dist/es/chunks/properties-bVaZpKhj.js +19 -0
  82. package/dist/es/chunks/protobuf-CJ_NuiRp.js +14 -0
  83. package/dist/es/chunks/pug-CNVrzrF7.js +202 -0
  84. package/dist/es/chunks/puppet-DFrFlsRb.js +37 -0
  85. package/dist/es/chunks/python-DDOdLHWp.js +219 -0
  86. package/dist/es/chunks/q-CfAEY3XK.js +82 -0
  87. package/dist/es/chunks/r-D33f5qKA.js +133 -0
  88. package/dist/es/chunks/rolldown-runtime-QGRDbDUS.js +19 -0
  89. package/dist/es/chunks/rpm-KA2CbYVz.js +39 -0
  90. package/dist/es/chunks/ruby-DkaeL5UR.js +165 -0
  91. package/dist/es/chunks/sas-BMhoxqFi.js +73 -0
  92. package/dist/es/chunks/scheme-DiiFnhTV.js +116 -0
  93. package/dist/es/chunks/shell-BkraTAet.js +108 -0
  94. package/dist/es/chunks/sieve-CO0RsW8J.js +59 -0
  95. package/dist/es/chunks/simple-mode-DwMrk-pB.js +95 -0
  96. package/dist/es/chunks/smalltalk-susA3LoJ.js +43 -0
  97. package/dist/es/chunks/solr-Dyiozr6d.js +36 -0
  98. package/dist/es/chunks/sparql-svcWfrig.js +78 -0
  99. package/dist/es/chunks/spreadsheet-D64TPnFY.js +48 -0
  100. package/dist/es/chunks/sql-iy-in7fW.js +254 -0
  101. package/dist/es/chunks/stex-CK4iWXBq.js +108 -0
  102. package/dist/es/chunks/stylus-Bla1TtoF.js +281 -0
  103. package/dist/es/chunks/swift-BfLWtovc.js +158 -0
  104. package/dist/es/chunks/tcl-Cqsx32oK.js +71 -0
  105. package/dist/es/chunks/textile-CP9LptjR.js +215 -0
  106. package/dist/es/chunks/tiddlywiki-Ta-GM0jK.js +129 -0
  107. package/dist/es/chunks/tiki-CX4cONcl.js +160 -0
  108. package/dist/es/chunks/toml-BvD52WqI.js +27 -0
  109. package/dist/es/chunks/troff-CQ9EHWHs.js +29 -0
  110. package/dist/es/chunks/ttcn-DvhS_Gkc.js +117 -0
  111. package/dist/es/chunks/ttcn-cfg-GQi0YvSM.js +80 -0
  112. package/dist/es/chunks/turtle-VdGQLPpt.js +78 -0
  113. package/dist/es/chunks/vb-CPJS1Nrj.js +108 -0
  114. package/dist/es/chunks/vbscript-DEYreBb1.js +208 -0
  115. package/dist/es/chunks/velocity-BzjrTOAF.js +89 -0
  116. package/dist/es/chunks/verilog-Bc3Yq1WU.js +218 -0
  117. package/dist/es/chunks/vhdl-BD6jHQjr.js +102 -0
  118. package/dist/es/chunks/webidl-C5YO-ffA.js +102 -0
  119. package/dist/es/chunks/xquery-ugZJVSaq.js +204 -0
  120. package/dist/es/chunks/yacas-tAOeQ6Ok.js +72 -0
  121. package/dist/es/chunks/z80-DZa7RpgS.js +43 -0
  122. package/dist/es/index.js +19829 -0
  123. package/dist/iife/index.iife.js +96 -0
  124. package/dist/index.css +2 -0
  125. package/dist/types/cm/create-view.d.ts +19 -0
  126. package/dist/types/cm/create-view.d.ts.map +1 -0
  127. package/dist/types/cm/shortcuts.d.ts +11 -0
  128. package/dist/types/cm/shortcuts.d.ts.map +1 -0
  129. package/dist/types/cm/themes.d.ts +24 -0
  130. package/dist/types/cm/themes.d.ts.map +1 -0
  131. package/dist/types/cm/themes.test.d.ts +2 -0
  132. package/dist/types/cm/themes.test.d.ts.map +1 -0
  133. package/dist/types/defaults.d.ts +5 -0
  134. package/dist/types/defaults.d.ts.map +1 -0
  135. package/dist/types/dialogs/code.d.ts +5 -0
  136. package/dist/types/dialogs/code.d.ts.map +1 -0
  137. package/dist/types/dialogs/data/html-entities-data.d.ts +9 -0
  138. package/dist/types/dialogs/data/html-entities-data.d.ts.map +1 -0
  139. package/dist/types/dialogs/dialog.d.ts +37 -0
  140. package/dist/types/dialogs/dialog.d.ts.map +1 -0
  141. package/dist/types/dialogs/emoji.d.ts +4 -0
  142. package/dist/types/dialogs/emoji.d.ts.map +1 -0
  143. package/dist/types/dialogs/entities.d.ts +4 -0
  144. package/dist/types/dialogs/entities.d.ts.map +1 -0
  145. package/dist/types/dialogs/form.d.ts +12 -0
  146. package/dist/types/dialogs/form.d.ts.map +1 -0
  147. package/dist/types/dialogs/image.d.ts +4 -0
  148. package/dist/types/dialogs/image.d.ts.map +1 -0
  149. package/dist/types/dialogs/link.d.ts +6 -0
  150. package/dist/types/dialogs/link.d.ts.map +1 -0
  151. package/dist/types/dialogs/misc.d.ts +6 -0
  152. package/dist/types/dialogs/misc.d.ts.map +1 -0
  153. package/dist/types/dialogs/registry.d.ts +8 -0
  154. package/dist/types/dialogs/registry.d.ts.map +1 -0
  155. package/dist/types/dialogs/table.d.ts +4 -0
  156. package/dist/types/dialogs/table.d.ts.map +1 -0
  157. package/dist/types/editor.d.ts +105 -0
  158. package/dist/types/editor.d.ts.map +1 -0
  159. package/dist/types/features/paste-drop.d.ts +4 -0
  160. package/dist/types/features/paste-drop.d.ts.map +1 -0
  161. package/dist/types/features/view-modes.d.ts +8 -0
  162. package/dist/types/features/view-modes.d.ts.map +1 -0
  163. package/dist/types/i18n/en.d.ts +3 -0
  164. package/dist/types/i18n/en.d.ts.map +1 -0
  165. package/dist/types/i18n/index.d.ts +9 -0
  166. package/dist/types/i18n/index.d.ts.map +1 -0
  167. package/dist/types/i18n/zh-cn.d.ts +3 -0
  168. package/dist/types/i18n/zh-cn.d.ts.map +1 -0
  169. package/dist/types/i18n/zh-tw.d.ts +3 -0
  170. package/dist/types/i18n/zh-tw.d.ts.map +1 -0
  171. package/dist/types/index.d.ts +14 -0
  172. package/dist/types/index.d.ts.map +1 -0
  173. package/dist/types/lifecycle/layout.d.ts +11 -0
  174. package/dist/types/lifecycle/layout.d.ts.map +1 -0
  175. package/dist/types/lifecycle/mount.d.ts +12 -0
  176. package/dist/types/lifecycle/mount.d.ts.map +1 -0
  177. package/dist/types/markdown/cdn-lazy.d.ts +49 -0
  178. package/dist/types/markdown/cdn-lazy.d.ts.map +1 -0
  179. package/dist/types/markdown/data/emoji-data.d.ts +13 -0
  180. package/dist/types/markdown/data/emoji-data.d.ts.map +1 -0
  181. package/dist/types/markdown/data/emoji-unicode.d.ts +6 -0
  182. package/dist/types/markdown/data/emoji-unicode.d.ts.map +1 -0
  183. package/dist/types/markdown/data-attr.d.ts +10 -0
  184. package/dist/types/markdown/data-attr.d.ts.map +1 -0
  185. package/dist/types/markdown/engine.d.ts +18 -0
  186. package/dist/types/markdown/engine.d.ts.map +1 -0
  187. package/dist/types/markdown/engine.test.d.ts +2 -0
  188. package/dist/types/markdown/engine.test.d.ts.map +1 -0
  189. package/dist/types/markdown/highlight.d.ts +9 -0
  190. package/dist/types/markdown/highlight.d.ts.map +1 -0
  191. package/dist/types/markdown/plugin-emoji.d.ts +9 -0
  192. package/dist/types/markdown/plugin-emoji.d.ts.map +1 -0
  193. package/dist/types/markdown/plugin-fence.d.ts +3 -0
  194. package/dist/types/markdown/plugin-fence.d.ts.map +1 -0
  195. package/dist/types/markdown/plugin-misc.d.ts +9 -0
  196. package/dist/types/markdown/plugin-misc.d.ts.map +1 -0
  197. package/dist/types/markdown/plugin-tasks.d.ts +4 -0
  198. package/dist/types/markdown/plugin-tasks.d.ts.map +1 -0
  199. package/dist/types/markdown/plugin-tex.d.ts +3 -0
  200. package/dist/types/markdown/plugin-tex.d.ts.map +1 -0
  201. package/dist/types/markdown/plugin-toc.d.ts +18 -0
  202. package/dist/types/markdown/plugin-toc.d.ts.map +1 -0
  203. package/dist/types/normalize.d.ts +3 -0
  204. package/dist/types/normalize.d.ts.map +1 -0
  205. package/dist/types/preview/pane.d.ts +9 -0
  206. package/dist/types/preview/pane.d.ts.map +1 -0
  207. package/dist/types/preview/post-render.d.ts +19 -0
  208. package/dist/types/preview/post-render.d.ts.map +1 -0
  209. package/dist/types/preview/sync-scroll.d.ts +13 -0
  210. package/dist/types/preview/sync-scroll.d.ts.map +1 -0
  211. package/dist/types/preview/toc.d.ts +15 -0
  212. package/dist/types/preview/toc.d.ts.map +1 -0
  213. package/dist/types/render-to.d.ts +3 -0
  214. package/dist/types/render-to.d.ts.map +1 -0
  215. package/dist/types/toolbar/handlers.d.ts +4 -0
  216. package/dist/types/toolbar/handlers.d.ts.map +1 -0
  217. package/dist/types/toolbar/icons.d.ts +5 -0
  218. package/dist/types/toolbar/icons.d.ts.map +1 -0
  219. package/dist/types/toolbar/modes.d.ts +20 -0
  220. package/dist/types/toolbar/modes.d.ts.map +1 -0
  221. package/dist/types/toolbar/toolbar.d.ts +16 -0
  222. package/dist/types/toolbar/toolbar.d.ts.map +1 -0
  223. package/dist/types/types/common.d.ts +7 -0
  224. package/dist/types/types/common.d.ts.map +1 -0
  225. package/dist/types/types/events.d.ts +38 -0
  226. package/dist/types/types/events.d.ts.map +1 -0
  227. package/dist/types/types/lang.d.ts +95 -0
  228. package/dist/types/types/lang.d.ts.map +1 -0
  229. package/dist/types/types/settings.d.ts +171 -0
  230. package/dist/types/types/settings.d.ts.map +1 -0
  231. package/dist/umd/index.umd.cjs +96 -0
  232. package/package.json +69 -3
  233. package/README.md +0 -3
@@ -0,0 +1,233 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/powershell.js
2
+ function e(e, t) {
3
+ t ||= {};
4
+ for (var n = t.prefix === void 0 ? "^" : t.prefix, r = t.suffix === void 0 ? "\\b" : t.suffix, i = 0; i < e.length; i++) e[i] instanceof RegExp ? e[i] = e[i].source : e[i] = e[i].replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
5
+ return RegExp(n + "(" + e.join("|") + ")" + r, "i");
6
+ }
7
+ var t = "(?=[^A-Za-z\\d\\-_]|$)", n = /[\w\-:]/, r = {
8
+ keyword: e([
9
+ /begin|break|catch|continue|data|default|do|dynamicparam/,
10
+ /else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,
11
+ /param|process|return|switch|throw|trap|try|until|where|while/
12
+ ], { suffix: t }),
13
+ number: /^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,
14
+ operator: e([e([
15
+ "f",
16
+ /b?not/,
17
+ /[ic]?split/,
18
+ "join",
19
+ /is(not)?/,
20
+ "as",
21
+ /[ic]?(eq|ne|[gl][te])/,
22
+ /[ic]?(not)?(like|match|contains)/,
23
+ /[ic]?replace/,
24
+ /b?(and|or|xor)/
25
+ ], { prefix: "-" }), /[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/], { suffix: "" }),
26
+ builtin: e([
27
+ /[A-Z]:|%|\?/i,
28
+ e([
29
+ /Add-(Computer|Content|History|Member|PSSnapin|Type)/,
30
+ /Checkpoint-Computer/,
31
+ /Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,
32
+ /Compare-Object/,
33
+ /Complete-Transaction/,
34
+ /Connect-PSSession/,
35
+ /ConvertFrom-(Csv|Json|SecureString|StringData)/,
36
+ /Convert-Path/,
37
+ /ConvertTo-(Csv|Html|Json|SecureString|Xml)/,
38
+ /Copy-Item(Property)?/,
39
+ /Debug-Process/,
40
+ /Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,
41
+ /Disconnect-PSSession/,
42
+ /Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,
43
+ /(Enter|Exit)-PSSession/,
44
+ /Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,
45
+ /ForEach-Object/,
46
+ /Format-(Custom|List|Table|Wide)/,
47
+ /* @__PURE__ */ RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),
48
+ /Group-Object/,
49
+ /Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,
50
+ /ImportSystemModules/,
51
+ /Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,
52
+ /Join-Path/,
53
+ /Limit-EventLog/,
54
+ /Measure-(Command|Object)/,
55
+ /Move-Item(Property)?/,
56
+ /* @__PURE__ */ RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),
57
+ /Out-(Default|File|GridView|Host|Null|Printer|String)/,
58
+ /Pause/,
59
+ /(Pop|Push)-Location/,
60
+ /Read-Host/,
61
+ /Receive-(Job|PSSession)/,
62
+ /Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,
63
+ /Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,
64
+ /Rename-(Computer|Item(Property)?)/,
65
+ /Reset-ComputerMachinePassword/,
66
+ /Resolve-Path/,
67
+ /Restart-(Computer|Service)/,
68
+ /Restore-Computer/,
69
+ /Resume-(Job|Service)/,
70
+ /Save-Help/,
71
+ /Select-(Object|String|Xml)/,
72
+ /Send-MailMessage/,
73
+ /* @__PURE__ */ RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),
74
+ /Show-(Command|ControlPanelItem|EventLog)/,
75
+ /Sort-Object/,
76
+ /Split-Path/,
77
+ /Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,
78
+ /Stop-(Computer|Job|Process|Service|Transcript)/,
79
+ /Suspend-(Job|Service)/,
80
+ /TabExpansion2/,
81
+ /Tee-Object/,
82
+ /Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,
83
+ /Trace-Command/,
84
+ /Unblock-File/,
85
+ /Undo-Transaction/,
86
+ /Unregister-(Event|PSSessionConfiguration)/,
87
+ /Update-(FormatData|Help|List|TypeData)/,
88
+ /Use-Transaction/,
89
+ /Wait-(Event|Job|Process)/,
90
+ /Where-Object/,
91
+ /Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,
92
+ /cd|help|mkdir|more|oss|prompt/,
93
+ /ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,
94
+ /echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,
95
+ /group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,
96
+ /measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,
97
+ /rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,
98
+ /sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/
99
+ ], {
100
+ prefix: "",
101
+ suffix: ""
102
+ }),
103
+ e([
104
+ /[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,
105
+ /FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,
106
+ /MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,
107
+ /PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,
108
+ /PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,
109
+ /WarningPreference|WhatIfPreference/,
110
+ /Event|EventArgs|EventSubscriber|Sender/,
111
+ /Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,
112
+ /true|false|null/
113
+ ], {
114
+ prefix: "\\$",
115
+ suffix: ""
116
+ })
117
+ ], { suffix: t }),
118
+ punctuation: /[\[\]{},;`\\\.]|@[({]/,
119
+ variable: /^[A-Za-z\_][A-Za-z\-\_\d]*\b/
120
+ };
121
+ function i(e, t) {
122
+ var i = t.returnStack[t.returnStack.length - 1];
123
+ if (i && i.shouldReturnFrom(t)) return t.tokenize = i.tokenize, t.returnStack.pop(), t.tokenize(e, t);
124
+ if (e.eatSpace()) return null;
125
+ if (e.eat("(")) return t.bracketNesting += 1, "punctuation";
126
+ if (e.eat(")")) return --t.bracketNesting, "punctuation";
127
+ for (var s in r) if (e.match(r[s])) return s;
128
+ var c = e.next();
129
+ if (c === "'") return a(e, t);
130
+ if (c === "$") return f(e, t);
131
+ if (c === "\"") return o(e, t);
132
+ if (c === "<" && e.eat("#")) return t.tokenize = d, d(e, t);
133
+ if (c === "#") return e.skipToEnd(), "comment";
134
+ if (c === "@") {
135
+ var l = e.eat(/["']/);
136
+ if (l && e.eol()) return t.tokenize = m, t.startQuote = l[0], m(e, t);
137
+ if (e.eol()) return "error";
138
+ if (e.peek().match(/[({]/)) return "punctuation";
139
+ if (e.peek().match(n)) return f(e, t);
140
+ }
141
+ return "error";
142
+ }
143
+ function a(e, t) {
144
+ for (var n; (n = e.peek()) != null;) if (e.next(), n === "'" && !e.eat("'")) return t.tokenize = i, "string";
145
+ return "error";
146
+ }
147
+ function o(e, t) {
148
+ for (var n; (n = e.peek()) != null;) {
149
+ if (n === "$") return t.tokenize = s, "string";
150
+ if (e.next(), n === "`") e.next();
151
+ else if (n === "\"" && !e.eat("\"")) return t.tokenize = i, "string";
152
+ }
153
+ return "error";
154
+ }
155
+ function s(e, t) {
156
+ return u(e, t, o);
157
+ }
158
+ function c(e, t) {
159
+ return t.tokenize = m, t.startQuote = "\"", m(e, t);
160
+ }
161
+ function l(e, t) {
162
+ return u(e, t, c);
163
+ }
164
+ function u(e, t, n) {
165
+ if (e.match("$(")) {
166
+ var r = t.bracketNesting;
167
+ return t.returnStack.push({
168
+ shouldReturnFrom: function(e) {
169
+ return e.bracketNesting === r;
170
+ },
171
+ tokenize: n
172
+ }), t.tokenize = i, t.bracketNesting += 1, "punctuation";
173
+ }
174
+ return e.next(), t.returnStack.push({
175
+ shouldReturnFrom: function() {
176
+ return !0;
177
+ },
178
+ tokenize: n
179
+ }), t.tokenize = f, t.tokenize(e, t);
180
+ }
181
+ function d(e, t) {
182
+ for (var n = !1, r; (r = e.next()) != null;) {
183
+ if (n && r == ">") {
184
+ t.tokenize = i;
185
+ break;
186
+ }
187
+ n = r === "#";
188
+ }
189
+ return "comment";
190
+ }
191
+ function f(e, t) {
192
+ var r = e.peek();
193
+ return e.eat("{") ? (t.tokenize = p, p(e, t)) : r != null && r.match(n) ? (e.eatWhile(n), t.tokenize = i, "variable") : (t.tokenize = i, "error");
194
+ }
195
+ function p(e, t) {
196
+ for (var n; (n = e.next()) != null;) if (n === "}") {
197
+ t.tokenize = i;
198
+ break;
199
+ }
200
+ return "variable";
201
+ }
202
+ function m(e, t) {
203
+ var n = t.startQuote;
204
+ if (e.sol() && e.match(RegExp(n + "@"))) t.tokenize = i;
205
+ else if (n === "\"") for (; !e.eol();) {
206
+ var r = e.peek();
207
+ if (r === "$") return t.tokenize = l, "string";
208
+ e.next(), r === "`" && e.next();
209
+ }
210
+ else e.skipToEnd();
211
+ return "string";
212
+ }
213
+ var h = {
214
+ name: "powershell",
215
+ startState: function() {
216
+ return {
217
+ returnStack: [],
218
+ bracketNesting: 0,
219
+ tokenize: i
220
+ };
221
+ },
222
+ token: function(e, t) {
223
+ return t.tokenize(e, t);
224
+ },
225
+ languageData: { commentTokens: {
226
+ line: "#",
227
+ block: {
228
+ open: "<#",
229
+ close: "#>"
230
+ }
231
+ } }
232
+ };
233
+ export { h as powerShell };
@@ -0,0 +1,19 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/properties.js
2
+ var e = {
3
+ name: "properties",
4
+ token: function(e, t) {
5
+ var n = e.sol() || t.afterSection, r = e.eol();
6
+ if (t.afterSection = !1, n && (t.nextMultiline ? (t.inMultiline = !0, t.nextMultiline = !1) : t.position = "def"), r && !t.nextMultiline && (t.inMultiline = !1, t.position = "def"), n) for (; e.eatSpace(););
7
+ var i = e.next();
8
+ return n && (i === "#" || i === "!" || i === ";") ? (t.position = "comment", e.skipToEnd(), "comment") : n && i === "[" ? (t.afterSection = !0, e.skipTo("]"), e.eat("]"), "header") : i === "=" || i === ":" ? (t.position = "quote", null) : (i === "\\" && t.position === "quote" && e.eol() && (t.nextMultiline = !0), t.position);
9
+ },
10
+ startState: function() {
11
+ return {
12
+ position: "def",
13
+ nextMultiline: !1,
14
+ inMultiline: !1,
15
+ afterSection: !1
16
+ };
17
+ }
18
+ };
19
+ export { e as properties };
@@ -0,0 +1,14 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/protobuf.js
2
+ function e(e) {
3
+ return RegExp("^((" + e.join(")|(") + "))\\b", "i");
4
+ }
5
+ var t = /* @__PURE__ */ "package.message.import.syntax.required.optional.repeated.reserved.default.extensions.packed.bool.bytes.double.enum.float.string.int32.int64.uint32.uint64.sint32.sint64.fixed32.fixed64.sfixed32.sfixed64.option.service.rpc.returns".split("."), n = e(t), r = /* @__PURE__ */ RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");
6
+ function i(e) {
7
+ return e.eatSpace() ? null : e.match("//") ? (e.skipToEnd(), "comment") : e.match(/^[0-9\.+-]/, !1) && (e.match(/^[+-]?0x[0-9a-fA-F]+/) || e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/) || e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/)) ? "number" : e.match(/^"([^"]|(""))*"/) || e.match(/^'([^']|(''))*'/) ? "string" : e.match(n) ? "keyword" : e.match(r) ? "variable" : (e.next(), null);
8
+ }
9
+ var a = {
10
+ name: "protobuf",
11
+ token: i,
12
+ languageData: { autocomplete: t }
13
+ };
14
+ export { a as protobuf };
@@ -0,0 +1,202 @@
1
+ import { javascript as e } from "./javascript-COVyUmNV.js";
2
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/pug.js
3
+ var t = {
4
+ "{": "}",
5
+ "(": ")",
6
+ "[": "]"
7
+ };
8
+ function n(e) {
9
+ if (typeof e != "object") return e;
10
+ let t = {};
11
+ for (let n in e) {
12
+ let r = e[n];
13
+ t[n] = r instanceof Array ? r.slice() : r;
14
+ }
15
+ return t;
16
+ }
17
+ var r = class t {
18
+ constructor(t) {
19
+ this.indentUnit = t, this.javaScriptLine = !1, this.javaScriptLineExcludesColon = !1, this.javaScriptArguments = !1, this.javaScriptArgumentsDepth = 0, this.isInterpolating = !1, this.interpolationNesting = 0, this.jsState = e.startState(t), this.restOfLine = "", this.isIncludeFiltered = !1, this.isEach = !1, this.lastTag = "", this.isAttrs = !1, this.attrsNest = [], this.inAttributeName = !0, this.attributeIsType = !1, this.attrValue = "", this.indentOf = Infinity, this.indentToken = "";
20
+ }
21
+ copy() {
22
+ var r = new t(this.indentUnit);
23
+ return r.javaScriptLine = this.javaScriptLine, r.javaScriptLineExcludesColon = this.javaScriptLineExcludesColon, r.javaScriptArguments = this.javaScriptArguments, r.javaScriptArgumentsDepth = this.javaScriptArgumentsDepth, r.isInterpolating = this.isInterpolating, r.interpolationNesting = this.interpolationNesting, r.jsState = (e.copyState || n)(this.jsState), r.restOfLine = this.restOfLine, r.isIncludeFiltered = this.isIncludeFiltered, r.isEach = this.isEach, r.lastTag = this.lastTag, r.isAttrs = this.isAttrs, r.attrsNest = this.attrsNest.slice(), r.inAttributeName = this.inAttributeName, r.attributeIsType = this.attributeIsType, r.attrValue = this.attrValue, r.indentOf = this.indentOf, r.indentToken = this.indentToken, r;
24
+ }
25
+ };
26
+ function i(t, n) {
27
+ if (t.sol() && (n.javaScriptLine = !1, n.javaScriptLineExcludesColon = !1), n.javaScriptLine) {
28
+ if (n.javaScriptLineExcludesColon && t.peek() === ":") {
29
+ n.javaScriptLine = !1, n.javaScriptLineExcludesColon = !1;
30
+ return;
31
+ }
32
+ var r = e.token(t, n.jsState);
33
+ return t.eol() && (n.javaScriptLine = !1), r || !0;
34
+ }
35
+ }
36
+ function a(t, n) {
37
+ if (n.javaScriptArguments) {
38
+ if (n.javaScriptArgumentsDepth === 0 && t.peek() !== "(" || (t.peek() === "(" ? n.javaScriptArgumentsDepth++ : t.peek() === ")" && n.javaScriptArgumentsDepth--, n.javaScriptArgumentsDepth === 0)) {
39
+ n.javaScriptArguments = !1;
40
+ return;
41
+ }
42
+ return e.token(t, n.jsState) || !0;
43
+ }
44
+ }
45
+ function o(e) {
46
+ if (e.match(/^yield\b/)) return "keyword";
47
+ }
48
+ function s(e) {
49
+ if (e.match(/^(?:doctype) *([^\n]+)?/)) return "meta";
50
+ }
51
+ function c(e, t) {
52
+ if (e.match("#{")) return t.isInterpolating = !0, t.interpolationNesting = 0, "punctuation";
53
+ }
54
+ function l(t, n) {
55
+ if (n.isInterpolating) {
56
+ if (t.peek() === "}") {
57
+ if (n.interpolationNesting--, n.interpolationNesting < 0) return t.next(), n.isInterpolating = !1, "punctuation";
58
+ } else t.peek() === "{" && n.interpolationNesting++;
59
+ return e.token(t, n.jsState) || !0;
60
+ }
61
+ }
62
+ function u(e, t) {
63
+ if (e.match(/^case\b/)) return t.javaScriptLine = !0, "keyword";
64
+ }
65
+ function d(e, t) {
66
+ if (e.match(/^when\b/)) return t.javaScriptLine = !0, t.javaScriptLineExcludesColon = !0, "keyword";
67
+ }
68
+ function f(e) {
69
+ if (e.match(/^default\b/)) return "keyword";
70
+ }
71
+ function p(e, t) {
72
+ if (e.match(/^extends?\b/)) return t.restOfLine = "string", "keyword";
73
+ }
74
+ function m(e, t) {
75
+ if (e.match(/^append\b/)) return t.restOfLine = "variable", "keyword";
76
+ }
77
+ function h(e, t) {
78
+ if (e.match(/^prepend\b/)) return t.restOfLine = "variable", "keyword";
79
+ }
80
+ function g(e, t) {
81
+ if (e.match(/^block\b *(?:(prepend|append)\b)?/)) return t.restOfLine = "variable", "keyword";
82
+ }
83
+ function _(e, t) {
84
+ if (e.match(/^include\b/)) return t.restOfLine = "string", "keyword";
85
+ }
86
+ function v(e, t) {
87
+ if (e.match(/^include:([a-zA-Z0-9\-]+)/, !1) && e.match("include")) return t.isIncludeFiltered = !0, "keyword";
88
+ }
89
+ function y(e, t) {
90
+ if (t.isIncludeFiltered) {
91
+ var n = O(e, t);
92
+ return t.isIncludeFiltered = !1, t.restOfLine = "string", n;
93
+ }
94
+ }
95
+ function b(e, t) {
96
+ if (e.match(/^mixin\b/)) return t.javaScriptLine = !0, "keyword";
97
+ }
98
+ function x(e, t) {
99
+ if (e.match(/^\+([-\w]+)/)) return e.match(/^\( *[-\w]+ *=/, !1) || (t.javaScriptArguments = !0, t.javaScriptArgumentsDepth = 0), "variable";
100
+ if (e.match("+#{", !1)) return e.next(), t.mixinCallAfter = !0, c(e, t);
101
+ }
102
+ function S(e, t) {
103
+ if (t.mixinCallAfter) return t.mixinCallAfter = !1, e.match(/^\( *[-\w]+ *=/, !1) || (t.javaScriptArguments = !0, t.javaScriptArgumentsDepth = 0), !0;
104
+ }
105
+ function C(e, t) {
106
+ if (e.match(/^(if|unless|else if|else)\b/)) return t.javaScriptLine = !0, "keyword";
107
+ }
108
+ function w(e, t) {
109
+ if (e.match(/^(- *)?(each|for)\b/)) return t.isEach = !0, "keyword";
110
+ }
111
+ function T(e, t) {
112
+ if (t.isEach) {
113
+ if (e.match(/^ in\b/)) return t.javaScriptLine = !0, t.isEach = !1, "keyword";
114
+ if (e.sol() || e.eol()) t.isEach = !1;
115
+ else if (e.next()) {
116
+ for (; !e.match(/^ in\b/, !1) && e.next(););
117
+ return "variable";
118
+ }
119
+ }
120
+ }
121
+ function E(e, t) {
122
+ if (e.match(/^while\b/)) return t.javaScriptLine = !0, "keyword";
123
+ }
124
+ function D(e, t) {
125
+ var n;
126
+ if (n = e.match(/^(\w(?:[-:\w]*\w)?)\/?/)) return t.lastTag = n[1].toLowerCase(), "tag";
127
+ }
128
+ function O(e, t) {
129
+ if (e.match(/^:([\w\-]+)/)) return V(e, t), "atom";
130
+ }
131
+ function k(e, t) {
132
+ if (e.match(/^(!?=|-)/)) return t.javaScriptLine = !0, "punctuation";
133
+ }
134
+ function A(e) {
135
+ if (e.match(/^#([\w-]+)/)) return "builtin";
136
+ }
137
+ function j(e) {
138
+ if (e.match(/^\.([\w-]+)/)) return "className";
139
+ }
140
+ function M(e, t) {
141
+ if (e.peek() == "(") return e.next(), t.isAttrs = !0, t.attrsNest = [], t.inAttributeName = !0, t.attrValue = "", t.attributeIsType = !1, "punctuation";
142
+ }
143
+ function N(n, r) {
144
+ if (r.isAttrs) {
145
+ if (t[n.peek()] && r.attrsNest.push(t[n.peek()]), r.attrsNest[r.attrsNest.length - 1] === n.peek()) r.attrsNest.pop();
146
+ else if (n.eat(")")) return r.isAttrs = !1, "punctuation";
147
+ if (r.inAttributeName && n.match(/^[^=,\)!]+/)) return (n.peek() === "=" || n.peek() === "!") && (r.inAttributeName = !1, r.jsState = e.startState(2), r.attributeIsType = r.lastTag === "script" && n.current().trim().toLowerCase() === "type"), "attribute";
148
+ var i = e.token(n, r.jsState);
149
+ if (r.attrsNest.length === 0 && (i === "string" || i === "variable" || i === "keyword")) try {
150
+ return Function("", "var x " + r.attrValue.replace(/,\s*$/, "").replace(/^!/, "")), r.inAttributeName = !0, r.attrValue = "", n.backUp(n.current().length), N(n, r);
151
+ } catch {}
152
+ return r.attrValue += n.current(), i || !0;
153
+ }
154
+ }
155
+ function P(e, t) {
156
+ if (e.match(/^&attributes\b/)) return t.javaScriptArguments = !0, t.javaScriptArgumentsDepth = 0, "keyword";
157
+ }
158
+ function F(e) {
159
+ if (e.sol() && e.eatSpace()) return "indent";
160
+ }
161
+ function I(e, t) {
162
+ if (e.match(/^ *\/\/(-)?([^\n]*)/)) return t.indentOf = e.indentation(), t.indentToken = "comment", "comment";
163
+ }
164
+ function L(e) {
165
+ if (e.match(/^: */)) return "colon";
166
+ }
167
+ function R(e, t) {
168
+ if (e.match(/^(?:\| ?| )([^\n]+)/)) return "string";
169
+ if (e.match(/^(<[^\n]*)/, !1)) return V(e, t), e.skipToEnd(), t.indentToken;
170
+ }
171
+ function z(e, t) {
172
+ if (e.eat(".")) return V(e, t), "dot";
173
+ }
174
+ function B(e) {
175
+ return e.next(), null;
176
+ }
177
+ function V(e, t) {
178
+ t.indentOf = e.indentation(), t.indentToken = "string";
179
+ }
180
+ function H(e, t) {
181
+ if (e.sol() && (t.restOfLine = ""), t.restOfLine) {
182
+ e.skipToEnd();
183
+ var n = t.restOfLine;
184
+ return t.restOfLine = "", n;
185
+ }
186
+ }
187
+ function U(e) {
188
+ return new r(e);
189
+ }
190
+ function W(e) {
191
+ return e.copy();
192
+ }
193
+ function G(e, t) {
194
+ var n = H(e, t) || l(e, t) || y(e, t) || T(e, t) || N(e, t) || i(e, t) || a(e, t) || S(e, t) || o(e) || s(e) || c(e, t) || u(e, t) || d(e, t) || f(e) || p(e, t) || m(e, t) || h(e, t) || g(e, t) || _(e, t) || v(e, t) || b(e, t) || x(e, t) || C(e, t) || w(e, t) || E(e, t) || D(e, t) || O(e, t) || k(e, t) || A(e) || j(e) || M(e, t) || P(e, t) || F(e) || R(e, t) || I(e, t) || L(e) || z(e, t) || B(e);
195
+ return n === !0 ? null : n;
196
+ }
197
+ var K = {
198
+ startState: U,
199
+ copyState: W,
200
+ token: G
201
+ };
202
+ export { K as pug };
@@ -0,0 +1,37 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/puppet.js
2
+ var e = {}, t = /({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;
3
+ function n(t, n) {
4
+ for (var r = n.split(" "), i = 0; i < r.length; i++) e[r[i]] = t;
5
+ }
6
+ n("keyword", "class define site node include import inherits"), n("keyword", "case if else in and elsif default or"), n("atom", "false true running present absent file directory undef"), n("builtin", "action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");
7
+ function r(e, t) {
8
+ for (var n, r, i = !1; !e.eol() && (n = e.next()) != t.pending;) {
9
+ if (n === "$" && r != "\\" && t.pending == "\"") {
10
+ i = !0;
11
+ break;
12
+ }
13
+ r = n;
14
+ }
15
+ return i && e.backUp(1), t.continueString = n != t.pending, "string";
16
+ }
17
+ function i(n, i) {
18
+ var a = n.match(/[\w]+/, !1), o = n.match(/(\s+)?\w+\s+=>.*/, !1), s = n.match(/(\s+)?[\w:_]+(\s+)?{/, !1), c = n.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/, !1), l = n.next();
19
+ if (l === "$") return n.match(t) ? i.continueString ? "variableName.special" : "variable" : "error";
20
+ if (i.continueString) return n.backUp(1), r(n, i);
21
+ if (i.inDefinition) {
22
+ if (n.match(/(\s+)?[\w:_]+(\s+)?/)) return "def";
23
+ n.match(/\s+{/), i.inDefinition = !1;
24
+ }
25
+ return i.inInclude ? (n.match(/(\s+)?\S+(\s+)?/), i.inInclude = !1, "def") : n.match(/(\s+)?\w+\(/) ? (n.backUp(1), "def") : o ? (n.match(/(\s+)?\w+/), "tag") : a && e.hasOwnProperty(a) ? (n.backUp(1), n.match(/[\w]+/), n.match(/\s+\S+\s+{/, !1) && (i.inDefinition = !0), a == "include" && (i.inInclude = !0), e[a]) : /(^|\s+)[A-Z][\w:_]+/.test(a) ? (n.backUp(1), n.match(/(^|\s+)[A-Z][\w:_]+/), "def") : s ? (n.match(/(\s+)?[\w:_]+/), "def") : c ? (n.match(/(\s+)?[@]{1,2}/), "atom") : l == "#" ? (n.skipToEnd(), "comment") : l == "'" || l == "\"" ? (i.pending = l, r(n, i)) : l == "{" || l == "}" ? "bracket" : l == "/" ? (n.match(/^[^\/]*\//), "string.special") : l.match(/[0-9]/) ? (n.eatWhile(/[0-9]+/), "number") : l == "=" ? (n.peek() == ">" && n.next(), "operator") : (n.eatWhile(/[\w-]/), null);
26
+ }
27
+ var a = {
28
+ name: "puppet",
29
+ startState: function() {
30
+ var e = {};
31
+ return e.inDefinition = !1, e.inInclude = !1, e.continueString = !1, e.pending = !1, e;
32
+ },
33
+ token: function(e, t) {
34
+ return e.eatSpace() ? null : i(e, t);
35
+ }
36
+ };
37
+ export { a as puppet };