@oslokommune/punkt-react 11.18.0 → 11.19.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 (371) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/index.d.ts +621 -0
  3. package/dist/punkt-react.es.js +11897 -37
  4. package/dist/punkt-react.umd.js +82 -85
  5. package/package.json +2 -2
  6. package/src/components/inputwrapper/InputWrapper.tsx +13 -1
  7. package/src/components/preview/Preview.tsx +1 -1
  8. package/src/components/searchinput/SearchInput.test.tsx +17 -4
  9. package/src/components/searchinput/SearchInput.tsx +39 -20
  10. package/src/components/select/Select.tsx +1 -1
  11. package/src/components/textarea/Textarea.tsx +5 -7
  12. package/src/components/textinput/Textinput.tsx +35 -9
  13. package/dist/abap-08667679.js +0 -85
  14. package/dist/abnf-6d3c70eb.js +0 -88
  15. package/dist/actionscript-f525636a.js +0 -44
  16. package/dist/ada-215714e4.js +0 -53
  17. package/dist/agda-c69fa2d6.js +0 -57
  18. package/dist/al-068d550c.js +0 -57
  19. package/dist/antlr4-16dd29cd.js +0 -97
  20. package/dist/apacheconf-e5f57638.js +0 -81
  21. package/dist/apex-4682f19d.js +0 -105
  22. package/dist/apl-0f35fd2e.js +0 -66
  23. package/dist/applescript-5028f661.js +0 -51
  24. package/dist/aql-03953d78.js +0 -83
  25. package/dist/arduino-032ba3ba.js +0 -42
  26. package/dist/arff-ff7332f2.js +0 -44
  27. package/dist/asciidoc-d540336b.js +0 -241
  28. package/dist/asm6502-33349486.js +0 -63
  29. package/dist/asmatmel-0edb51e4.js +0 -75
  30. package/dist/aspnet-4cc79b6f.js +0 -84
  31. package/dist/autohotkey-12b6b6d2.js +0 -65
  32. package/dist/autoit-e8600cad.js +0 -68
  33. package/dist/avisynth-4190a36d.js +0 -196
  34. package/dist/avro-idl-ab85f2ae.js +0 -75
  35. package/dist/bash-0c86f65c.js +0 -26
  36. package/dist/bash-23ecd1ce.js +0 -224
  37. package/dist/basic-4075c442.js +0 -29
  38. package/dist/basic-626cb9ac.js +0 -26
  39. package/dist/batch-b18232ac.js +0 -126
  40. package/dist/bbcode-b271cf8f.js +0 -61
  41. package/dist/bicep-4ae930c7.js +0 -103
  42. package/dist/birb-2b116248.js +0 -54
  43. package/dist/bison-4fd0865b.js +0 -74
  44. package/dist/bnf-86787581.js +0 -53
  45. package/dist/brainfuck-9371a85c.js +0 -54
  46. package/dist/brightscript-2df1e2b7.js +0 -77
  47. package/dist/bro-04547de4.js +0 -61
  48. package/dist/bsl-c9567e6d.js +0 -102
  49. package/dist/c-a0a33b69.js +0 -26
  50. package/dist/c-cbb9ff20.js +0 -84
  51. package/dist/cfscript-f5af1abe.js +0 -72
  52. package/dist/chaiscript-6042477c.js +0 -90
  53. package/dist/cil-14af5bb2.js +0 -53
  54. package/dist/clike-47451d77.js +0 -61
  55. package/dist/clojure-26386fed.js +0 -64
  56. package/dist/cmake-4841f8df.js +0 -63
  57. package/dist/cobol-0ae04d1a.js +0 -83
  58. package/dist/coffeescript-b26e7337.js +0 -111
  59. package/dist/concurnas-406f0c2e.js +0 -91
  60. package/dist/coq-e37f31ad.js +0 -82
  61. package/dist/core-dd47e39c.js +0 -1712
  62. package/dist/cpp-a3e3265e.js +0 -26
  63. package/dist/cpp-fdbd3e19.js +0 -116
  64. package/dist/crystal-3725beb8.js +0 -88
  65. package/dist/csharp-c5867cee.js +0 -389
  66. package/dist/csharp-fd30fe69.js +0 -26
  67. package/dist/cshtml-936e1325.js +0 -135
  68. package/dist/csp-fae2ca54.js +0 -91
  69. package/dist/css-d90be61e.js +0 -90
  70. package/dist/css-extras-9b627513.js +0 -140
  71. package/dist/csv-682ac47e.js +0 -38
  72. package/dist/cypher-fef237f2.js +0 -66
  73. package/dist/d-f8f06a3f.js +0 -110
  74. package/dist/dart-8664904d.js +0 -102
  75. package/dist/dataweave-eb16c70d.js +0 -74
  76. package/dist/dax-07b8f02a.js +0 -61
  77. package/dist/dhall-4d61581d.js +0 -96
  78. package/dist/diff-93cccc44.js +0 -79
  79. package/dist/django-dafd121f.js +0 -82
  80. package/dist/dns-zone-file-457d76ab.js +0 -65
  81. package/dist/docker-332b4413.js +0 -128
  82. package/dist/dot-494538e3.js +0 -103
  83. package/dist/ebnf-7c62b313.js +0 -54
  84. package/dist/editorconfig-9e9fdbbb.js +0 -61
  85. package/dist/eiffel-3f003827.js +0 -68
  86. package/dist/ejs-d02cb880.js +0 -59
  87. package/dist/elixir-d8c10ca1.js +0 -130
  88. package/dist/elm-c45d03a2.js +0 -79
  89. package/dist/erb-d88dd943.js +0 -61
  90. package/dist/erlang-3ee55e82.js +0 -77
  91. package/dist/etlua-eabd322c.js +0 -59
  92. package/dist/excel-formula-e41c3440.js +0 -96
  93. package/dist/factor-a371850c.js +0 -950
  94. package/dist/false-c46d7a43.js +0 -61
  95. package/dist/firestore-security-rules-757e2622.js +0 -68
  96. package/dist/flow-5b8d8ca8.js +0 -58
  97. package/dist/fortran-ff490a7d.js +0 -74
  98. package/dist/fsharp-2bc3ee45.js +0 -106
  99. package/dist/ftl-94d2ce32.js +0 -147
  100. package/dist/gap-8fd17087.js +0 -79
  101. package/dist/gcode-6341cadd.js +0 -50
  102. package/dist/gdscript-3fc25390.js +0 -61
  103. package/dist/gedcom-a341ec5c.js +0 -62
  104. package/dist/gherkin-9882c4e4.js +0 -116
  105. package/dist/git-4a80b321.js +0 -97
  106. package/dist/glsl-ad5d9118.js +0 -40
  107. package/dist/gml-7eba9cac.js +0 -41
  108. package/dist/gn-cbec75da.js +0 -77
  109. package/dist/go-766bfa1b.js +0 -58
  110. package/dist/go-module-b8774bf4.js +0 -56
  111. package/dist/graphql-cb8e2feb.js +0 -155
  112. package/dist/groovy-ebb15fa5.js +0 -83
  113. package/dist/haml-65978a94.js +0 -173
  114. package/dist/handlebars-50594839.js +0 -75
  115. package/dist/haskell-5775a4fe.js +0 -76
  116. package/dist/haskell-ab4dc776.js +0 -26
  117. package/dist/haxe-a4bca023.js +0 -106
  118. package/dist/hcl-441db672.js +0 -94
  119. package/dist/hlsl-b07ea1bc.js +0 -56
  120. package/dist/hoon-23e6c66a.js +0 -48
  121. package/dist/hpkp-e1840f06.js +0 -42
  122. package/dist/hsts-8a89a980.js +0 -42
  123. package/dist/http-7e943d63.js +0 -156
  124. package/dist/ichigojam-214442c6.js +0 -47
  125. package/dist/icon-b738b958.js +0 -54
  126. package/dist/icu-message-format-3b576cc2.js +0 -166
  127. package/dist/idris-1241db85.js +0 -52
  128. package/dist/iecst-cf187dc3.js +0 -66
  129. package/dist/ignore-7683e871.js +0 -52
  130. package/dist/index-9498f0f6.js +0 -12038
  131. package/dist/inform7-d15dedca.js +0 -91
  132. package/dist/ini-9821d403.js +0 -74
  133. package/dist/io-b45ab04a.js +0 -56
  134. package/dist/j-4337c2a6.js +0 -62
  135. package/dist/java-5aa325c9.js +0 -99
  136. package/dist/java-d89b83f0.js +0 -26
  137. package/dist/javadoc-898a0fe7.js +0 -119
  138. package/dist/javadoclike-482a7933.js +0 -60
  139. package/dist/javadoclike-6eb534c0.js +0 -26
  140. package/dist/javascript-aa1ea2e4.js +0 -152
  141. package/dist/javastacktrace-2384fbf2.js +0 -168
  142. package/dist/jexl-d1cd7ce2.js +0 -48
  143. package/dist/jolie-b17dc1cc.js +0 -73
  144. package/dist/jq-56125568.js +0 -101
  145. package/dist/js-extras-e970942a.js +0 -151
  146. package/dist/js-templates-f1fbe219.js +0 -198
  147. package/dist/jsdoc-a20aee51.js +0 -117
  148. package/dist/json-043ad957.js +0 -36
  149. package/dist/json-e6539464.js +0 -26
  150. package/dist/json5-6f122ab8.js +0 -57
  151. package/dist/jsonp-8b120bc6.js +0 -42
  152. package/dist/jsstacktrace-f50f8195.js +0 -75
  153. package/dist/julia-bd96633d.js +0 -69
  154. package/dist/keepalived-3187f82b.js +0 -82
  155. package/dist/keyman-b00bc67c.js +0 -77
  156. package/dist/kotlin-b21aa502.js +0 -109
  157. package/dist/kumir-0f94715b.js +0 -121
  158. package/dist/kusto-eff9af15.js +0 -72
  159. package/dist/latex-e80101de.js +0 -93
  160. package/dist/latte-a0b8d749.js +0 -102
  161. package/dist/less-281aa842.js +0 -76
  162. package/dist/lilypond-cbe2732f.js +0 -105
  163. package/dist/liquid-27a4e206.js +0 -98
  164. package/dist/lisp-9e822c78.js +0 -195
  165. package/dist/livescript-1ce019c1.js +0 -151
  166. package/dist/llvm-62365d93.js +0 -53
  167. package/dist/log-24dbab68.js +0 -134
  168. package/dist/lolcode-8eea8d4f.js +0 -82
  169. package/dist/lua-ce0e9c68.js +0 -32
  170. package/dist/lua-f292f69e.js +0 -26
  171. package/dist/magma-2aa5bc17.js +0 -64
  172. package/dist/makefile-489ca1ff.js +0 -64
  173. package/dist/markdown-bc9a3a54.js +0 -356
  174. package/dist/markup-3c2f908d.js +0 -194
  175. package/dist/markup-templating-1fc7ac82.js +0 -26
  176. package/dist/markup-templating-49c15a5f.js +0 -79
  177. package/dist/matlab-4616d7b3.js +0 -47
  178. package/dist/maxscript-e2f8ee8a.js +0 -98
  179. package/dist/mel-83fdb27c.js +0 -75
  180. package/dist/mermaid-5e3f14a4.js +0 -138
  181. package/dist/mizar-2c2d2e7d.js +0 -46
  182. package/dist/mongodb-c1d981a3.js +0 -322
  183. package/dist/monkey-cb9626ba.js +0 -62
  184. package/dist/moonscript-77dbeb23.js +0 -88
  185. package/dist/n1ql-6c813888.js +0 -56
  186. package/dist/n4js-6eb361a2.js +0 -44
  187. package/dist/nand2tetris-hdl-1d499a90.js +0 -43
  188. package/dist/naniscript-63d40cf7.js +0 -166
  189. package/dist/nasm-661b5e51.js +0 -58
  190. package/dist/neon-283a3402.js +0 -74
  191. package/dist/nevod-67f107ce.js +0 -159
  192. package/dist/nginx-88a0a312.js +0 -83
  193. package/dist/nim-40a62fa2.js +0 -76
  194. package/dist/nix-507f5be0.js +0 -70
  195. package/dist/nsis-d9f039bf.js +0 -59
  196. package/dist/objectivec-3055d7b5.js +0 -45
  197. package/dist/ocaml-c01e830a.js +0 -89
  198. package/dist/opencl-3bfb6002.js +0 -84
  199. package/dist/openqasm-20ccdae6.js +0 -51
  200. package/dist/oz-5e382b48.js +0 -62
  201. package/dist/packages/react/src/components/accordion/Accordion.d.ts +0 -15
  202. package/dist/packages/react/src/components/accordion/Accordion.test.d.ts +0 -1
  203. package/dist/packages/react/src/components/accordion/AccordionItem.d.ts +0 -21
  204. package/dist/packages/react/src/components/alert/Alert.d.ts +0 -12
  205. package/dist/packages/react/src/components/alert/Alert.test.d.ts +0 -1
  206. package/dist/packages/react/src/components/backlink/BackLink.d.ts +0 -8
  207. package/dist/packages/react/src/components/backlink/BackLink.test.d.ts +0 -1
  208. package/dist/packages/react/src/components/breadcrumbs/Breadcrumbs.d.ts +0 -12
  209. package/dist/packages/react/src/components/breadcrumbs/Breadcrumbs.test.d.ts +0 -1
  210. package/dist/packages/react/src/components/button/Button.d.ts +0 -16
  211. package/dist/packages/react/src/components/button/Button.test.d.ts +0 -1
  212. package/dist/packages/react/src/components/checkbox/Checkbox.d.ts +0 -16
  213. package/dist/packages/react/src/components/checkbox/Checkbox.test.d.ts +0 -1
  214. package/dist/packages/react/src/components/footer/Footer.d.ts +0 -28
  215. package/dist/packages/react/src/components/footer/Footer.test.d.ts +0 -1
  216. package/dist/packages/react/src/components/footerSimple/FooterSimple.d.ts +0 -13
  217. package/dist/packages/react/src/components/footerSimple/FooterSimple.test.d.ts +0 -1
  218. package/dist/packages/react/src/components/header/Header.d.ts +0 -40
  219. package/dist/packages/react/src/components/header/Header.test.d.ts +0 -1
  220. package/dist/packages/react/src/components/icon/DefaultIconFetcher.d.ts +0 -5
  221. package/dist/packages/react/src/components/icon/Icon.d.ts +0 -8
  222. package/dist/packages/react/src/components/icon/Icon.test.d.ts +0 -1
  223. package/dist/packages/react/src/components/icon/IconContext.d.ts +0 -5
  224. package/dist/packages/react/src/components/index.d.ts +0 -34
  225. package/dist/packages/react/src/components/input/Input.d.ts +0 -22
  226. package/dist/packages/react/src/components/inputwrapper/InputWrapper.d.ts +0 -23
  227. package/dist/packages/react/src/components/linkcard/LinkCard.d.ts +0 -11
  228. package/dist/packages/react/src/components/linkcard/LinkCard.test.d.ts +0 -1
  229. package/dist/packages/react/src/components/loader/Loader.d.ts +0 -27
  230. package/dist/packages/react/src/components/loader/Loader.test.d.ts +0 -1
  231. package/dist/packages/react/src/components/messagebox/Messagebox.d.ts +0 -10
  232. package/dist/packages/react/src/components/preview/Preview.d.ts +0 -10
  233. package/dist/packages/react/src/components/preview/PreviewSpecs.d.ts +0 -24
  234. package/dist/packages/react/src/components/progressbar/Progressbar.d.ts +0 -20
  235. package/dist/packages/react/src/components/progressbar/Progressbar.test.d.ts +0 -1
  236. package/dist/packages/react/src/components/radio/RadioButton.d.ts +0 -13
  237. package/dist/packages/react/src/components/radio/RadioButton.test.d.ts +0 -1
  238. package/dist/packages/react/src/components/searchinput/SearchInput.d.ts +0 -25
  239. package/dist/packages/react/src/components/searchinput/SearchInput.test.d.ts +0 -1
  240. package/dist/packages/react/src/components/select/Select.d.ts +0 -23
  241. package/dist/packages/react/src/components/select/Select.test.d.ts +0 -1
  242. package/dist/packages/react/src/components/stepper/Step.d.ts +0 -21
  243. package/dist/packages/react/src/components/stepper/Stepper.d.ts +0 -28
  244. package/dist/packages/react/src/components/stepper/Stepper.test.d.ts +0 -1
  245. package/dist/packages/react/src/components/table/Table.d.ts +0 -11
  246. package/dist/packages/react/src/components/table/Table.test.d.ts +0 -1
  247. package/dist/packages/react/src/components/table/TableBody.d.ts +0 -7
  248. package/dist/packages/react/src/components/table/TableData.d.ts +0 -6
  249. package/dist/packages/react/src/components/table/TableDataCell.d.ts +0 -8
  250. package/dist/packages/react/src/components/table/TableHeader.d.ts +0 -7
  251. package/dist/packages/react/src/components/table/TableHeaderCell.d.ts +0 -7
  252. package/dist/packages/react/src/components/table/TableRow.d.ts +0 -7
  253. package/dist/packages/react/src/components/tabs/Tabs.d.ts +0 -21
  254. package/dist/packages/react/src/components/tabs/Tabs.test.d.ts +0 -1
  255. package/dist/packages/react/src/components/tag/Tag.d.ts +0 -11
  256. package/dist/packages/react/src/components/tag/Tag.test.d.ts +0 -1
  257. package/dist/packages/react/src/components/textarea/Textarea.d.ts +0 -27
  258. package/dist/packages/react/src/components/textarea/Textarea.test.d.ts +0 -1
  259. package/dist/packages/react/src/components/textinput/Textinput.d.ts +0 -31
  260. package/dist/packages/react/src/components/textinput/Textinput.test.d.ts +0 -1
  261. package/dist/packages/react/src/index.d.ts +0 -1
  262. package/dist/parigp-a06dcf26.js +0 -82
  263. package/dist/parser-6f847eeb.js +0 -107
  264. package/dist/pascal-a9950fcd.js +0 -96
  265. package/dist/pascaligo-7545667e.js +0 -116
  266. package/dist/pcaxis-eea3e687.js +0 -85
  267. package/dist/peoplecode-8a846e28.js +0 -75
  268. package/dist/perl-2f3056d2.js +0 -165
  269. package/dist/php-9a4fecc1.js +0 -335
  270. package/dist/php-e9145741.js +0 -26
  271. package/dist/php-extras-0cec569c.js +0 -51
  272. package/dist/phpdoc-a1a632ca.js +0 -62
  273. package/dist/plsql-8e48519b.js +0 -52
  274. package/dist/powerquery-f4fe231c.js +0 -84
  275. package/dist/powershell-8e07307b.js +0 -89
  276. package/dist/processing-7a489ca7.js +0 -47
  277. package/dist/prolog-d2588af5.js +0 -53
  278. package/dist/promql-6547548d.js +0 -121
  279. package/dist/properties-6a8174f2.js +0 -43
  280. package/dist/protobuf-f03d60b4.js +0 -72
  281. package/dist/psl-1e0c235a.js +0 -69
  282. package/dist/pug-f3c562dd.js +0 -213
  283. package/dist/puppet-396c5218.js +0 -168
  284. package/dist/pure-9cf5d182.js +0 -112
  285. package/dist/purebasic-02478411.js +0 -88
  286. package/dist/purescript-cf2309c0.js +0 -63
  287. package/dist/python-9c9fa97e.js +0 -95
  288. package/dist/q-21818334.js +0 -84
  289. package/dist/qml-709fe996.js +0 -104
  290. package/dist/qore-7709538c.js +0 -54
  291. package/dist/qsharp-5024098d.js +0 -129
  292. package/dist/r-d6abce22.js +0 -56
  293. package/dist/racket-8c099996.js +0 -51
  294. package/dist/reason-0a29b7da.js +0 -55
  295. package/dist/regex-196038d7.js +0 -125
  296. package/dist/rego-59c8a55e.js +0 -59
  297. package/dist/renpy-da4a363f.js +0 -52
  298. package/dist/rest-2027cfb4.js +0 -232
  299. package/dist/rip-a2a00c6a.js +0 -63
  300. package/dist/roboconf-d99f3c6f.js +0 -61
  301. package/dist/robotframework-a30c7990.js +0 -123
  302. package/dist/ruby-90470291.js +0 -183
  303. package/dist/ruby-f1beefd0.js +0 -26
  304. package/dist/rust-a7f43c08.js +0 -150
  305. package/dist/sas-fdd3825d.js +0 -363
  306. package/dist/sass-8f15af17.js +0 -97
  307. package/dist/scala-44394d36.js +0 -81
  308. package/dist/scheme-61aeb1f5.js +0 -123
  309. package/dist/scheme-93208ff6.js +0 -26
  310. package/dist/scss-8dd3f77c.js +0 -107
  311. package/dist/shell-session-af35560f.js +0 -94
  312. package/dist/smali-2e8bacd2.js +0 -113
  313. package/dist/smalltalk-da988816.js +0 -72
  314. package/dist/smarty-4e93cd0d.js +0 -148
  315. package/dist/sml-20b50201.js +0 -92
  316. package/dist/solidity-743bfbd1.js +0 -50
  317. package/dist/solution-file-81ce476c.js +0 -80
  318. package/dist/soy-715e3d54.js +0 -113
  319. package/dist/sparql-9d917cd9.js +0 -50
  320. package/dist/splunk-spl-4999846e.js +0 -58
  321. package/dist/sqf-340b5c08.js +0 -64
  322. package/dist/sql-1e928866.js +0 -45
  323. package/dist/sql-65ac332a.js +0 -26
  324. package/dist/squirrel-d0bc8028.js +0 -75
  325. package/dist/stan-2fc57db1.js +0 -87
  326. package/dist/stylus-576c2c9e.js +0 -166
  327. package/dist/swift-9b87d61f.js +0 -153
  328. package/dist/systemd-21fb5c01.js +0 -89
  329. package/dist/t4-cs-57181735.js +0 -39
  330. package/dist/t4-templating-5038f5dd.js +0 -26
  331. package/dist/t4-templating-60958242.js +0 -57
  332. package/dist/t4-vb-c6890d9d.js +0 -39
  333. package/dist/tap-0014ba37.js +0 -57
  334. package/dist/tcl-5931e442.js +0 -80
  335. package/dist/textile-979f8c72.js +0 -290
  336. package/dist/toml-c8c14d54.js +0 -87
  337. package/dist/tremor-3f5ce8c9.js +0 -91
  338. package/dist/tsx-fa286598.js +0 -46
  339. package/dist/tt2-d4c7a9bc.js +0 -79
  340. package/dist/turtle-1ded5458.js +0 -26
  341. package/dist/turtle-6f0b789b.js +0 -62
  342. package/dist/twig-ecfd776b.js +0 -73
  343. package/dist/typescript-16e0b0d0.js +0 -26
  344. package/dist/typescript-4ee6a303.js +0 -57
  345. package/dist/typoscript-6f1852b6.js +0 -110
  346. package/dist/unrealscript-3b076e87.js +0 -72
  347. package/dist/uorazor-45491673.js +0 -82
  348. package/dist/uri-9f9a71ca.js +0 -117
  349. package/dist/v-ac49f8a2.js +0 -107
  350. package/dist/vala-d9044a47.js +0 -114
  351. package/dist/vbnet-7e93a4ce.js +0 -26
  352. package/dist/vbnet-f33c70c2.js +0 -37
  353. package/dist/velocity-04e48f5c.js +0 -100
  354. package/dist/verilog-08e95e76.js +0 -60
  355. package/dist/vhdl-2c25f8d7.js +0 -57
  356. package/dist/vim-f896fcae.js +0 -44
  357. package/dist/visual-basic-a24d053f.js +0 -60
  358. package/dist/warpscript-807f2588.js +0 -55
  359. package/dist/wasm-a1928fa7.js +0 -65
  360. package/dist/web-idl-5707ad28.js +0 -119
  361. package/dist/wiki-1b1313bc.js +0 -111
  362. package/dist/wolfram-2cbcb298.js +0 -59
  363. package/dist/wren-6157a66e.js +0 -122
  364. package/dist/xeora-004f4276.js +0 -148
  365. package/dist/xml-doc-a2568724.js +0 -57
  366. package/dist/xojo-4455c68c.js +0 -52
  367. package/dist/xquery-c4289139.js +0 -119
  368. package/dist/yaml-045e8847.js +0 -26
  369. package/dist/yaml-8454c5e5.js +0 -93
  370. package/dist/yang-937d99d5.js +0 -54
  371. package/dist/zig-c8c88088.js +0 -118
@@ -1,356 +0,0 @@
1
- import { g as S } from "./index-9498f0f6.js";
2
- function E(l, b) {
3
- for (var e = 0; e < b.length; e++) {
4
- const s = b[e];
5
- if (typeof s != "string" && !Array.isArray(s)) {
6
- for (const o in s)
7
- if (o !== "default" && !(o in l)) {
8
- const d = Object.getOwnPropertyDescriptor(s, o);
9
- d && Object.defineProperty(l, o, d.get ? d : {
10
- enumerable: !0,
11
- get: () => s[o]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(l, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var m, _;
19
- function C() {
20
- if (_)
21
- return m;
22
- _ = 1, m = l, l.displayName = "markdown", l.aliases = ["md"];
23
- function l(b) {
24
- (function(e) {
25
- var s = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
26
- function o(t) {
27
- return t = t.replace(/<inner>/g, function() {
28
- return s;
29
- }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + t + ")");
30
- }
31
- var d = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, f = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(
32
- /__/g,
33
- function() {
34
- return d;
35
- }
36
- ), h = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
37
- e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", {
38
- "front-matter-block": {
39
- pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
40
- lookbehind: !0,
41
- greedy: !0,
42
- inside: {
43
- punctuation: /^---|---$/,
44
- "front-matter": {
45
- pattern: /\S+(?:\s+\S+)*/,
46
- alias: ["yaml", "language-yaml"],
47
- inside: e.languages.yaml
48
- }
49
- }
50
- },
51
- blockquote: {
52
- // > ...
53
- pattern: /^>(?:[\t ]*>)*/m,
54
- alias: "punctuation"
55
- },
56
- table: {
57
- pattern: RegExp(
58
- "^" + f + h + "(?:" + f + ")*",
59
- "m"
60
- ),
61
- inside: {
62
- "table-data-rows": {
63
- pattern: RegExp(
64
- "^(" + f + h + ")(?:" + f + ")*$"
65
- ),
66
- lookbehind: !0,
67
- inside: {
68
- "table-data": {
69
- pattern: RegExp(d),
70
- inside: e.languages.markdown
71
- },
72
- punctuation: /\|/
73
- }
74
- },
75
- "table-line": {
76
- pattern: RegExp("^(" + f + ")" + h + "$"),
77
- lookbehind: !0,
78
- inside: {
79
- punctuation: /\||:?-{3,}:?/
80
- }
81
- },
82
- "table-header-row": {
83
- pattern: RegExp("^" + f + "$"),
84
- inside: {
85
- "table-header": {
86
- pattern: RegExp(d),
87
- alias: "important",
88
- inside: e.languages.markdown
89
- },
90
- punctuation: /\|/
91
- }
92
- }
93
- }
94
- },
95
- code: [
96
- {
97
- // Prefixed by 4 spaces or 1 tab and preceded by an empty line
98
- pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
99
- lookbehind: !0,
100
- alias: "keyword"
101
- },
102
- {
103
- // ```optional language
104
- // code block
105
- // ```
106
- pattern: /^```[\s\S]*?^```$/m,
107
- greedy: !0,
108
- inside: {
109
- "code-block": {
110
- pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
111
- lookbehind: !0
112
- },
113
- "code-language": {
114
- pattern: /^(```).+/,
115
- lookbehind: !0
116
- },
117
- punctuation: /```/
118
- }
119
- }
120
- ],
121
- title: [
122
- {
123
- // title 1
124
- // =======
125
- // title 2
126
- // -------
127
- pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,
128
- alias: "important",
129
- inside: {
130
- punctuation: /==+$|--+$/
131
- }
132
- },
133
- {
134
- // # title 1
135
- // ###### title 6
136
- pattern: /(^\s*)#.+/m,
137
- lookbehind: !0,
138
- alias: "important",
139
- inside: {
140
- punctuation: /^#+|#+$/
141
- }
142
- }
143
- ],
144
- hr: {
145
- // ***
146
- // ---
147
- // * * *
148
- // -----------
149
- pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,
150
- lookbehind: !0,
151
- alias: "punctuation"
152
- },
153
- list: {
154
- // * item
155
- // + item
156
- // - item
157
- // 1. item
158
- pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,
159
- lookbehind: !0,
160
- alias: "punctuation"
161
- },
162
- "url-reference": {
163
- // [id]: http://example.com "Optional title"
164
- // [id]: http://example.com 'Optional title'
165
- // [id]: http://example.com (Optional title)
166
- // [id]: <http://example.com> "Optional title"
167
- pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
168
- inside: {
169
- variable: {
170
- pattern: /^(!?\[)[^\]]+/,
171
- lookbehind: !0
172
- },
173
- string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
174
- punctuation: /^[\[\]!:]|[<>]/
175
- },
176
- alias: "url"
177
- },
178
- bold: {
179
- // **strong**
180
- // __strong__
181
- // allow one nested instance of italic text using the same delimiter
182
- pattern: o(
183
- /\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source
184
- ),
185
- lookbehind: !0,
186
- greedy: !0,
187
- inside: {
188
- content: {
189
- pattern: /(^..)[\s\S]+(?=..$)/,
190
- lookbehind: !0,
191
- inside: {}
192
- // see below
193
- },
194
- punctuation: /\*\*|__/
195
- }
196
- },
197
- italic: {
198
- // *em*
199
- // _em_
200
- // allow one nested instance of bold text using the same delimiter
201
- pattern: o(
202
- /\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source
203
- ),
204
- lookbehind: !0,
205
- greedy: !0,
206
- inside: {
207
- content: {
208
- pattern: /(^.)[\s\S]+(?=.$)/,
209
- lookbehind: !0,
210
- inside: {}
211
- // see below
212
- },
213
- punctuation: /[*_]/
214
- }
215
- },
216
- strike: {
217
- // ~~strike through~~
218
- // ~strike~
219
- // eslint-disable-next-line regexp/strict
220
- pattern: o(/(~~?)(?:(?!~)<inner>)+\2/.source),
221
- lookbehind: !0,
222
- greedy: !0,
223
- inside: {
224
- content: {
225
- pattern: /(^~~?)[\s\S]+(?=\1$)/,
226
- lookbehind: !0,
227
- inside: {}
228
- // see below
229
- },
230
- punctuation: /~~?/
231
- }
232
- },
233
- "code-snippet": {
234
- // `code`
235
- // ``code``
236
- pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,
237
- lookbehind: !0,
238
- greedy: !0,
239
- alias: ["code", "keyword"]
240
- },
241
- url: {
242
- // [example](http://example.com "Optional title")
243
- // [example][id]
244
- // [example] [id]
245
- pattern: o(
246
- /!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source
247
- ),
248
- lookbehind: !0,
249
- greedy: !0,
250
- inside: {
251
- operator: /^!/,
252
- content: {
253
- pattern: /(^\[)[^\]]+(?=\])/,
254
- lookbehind: !0,
255
- inside: {}
256
- // see below
257
- },
258
- variable: {
259
- pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
260
- lookbehind: !0
261
- },
262
- url: {
263
- pattern: /(^\]\()[^\s)]+/,
264
- lookbehind: !0
265
- },
266
- string: {
267
- pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,
268
- lookbehind: !0
269
- }
270
- }
271
- }
272
- }), ["url", "bold", "italic", "strike"].forEach(function(t) {
273
- ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(n) {
274
- t !== n && (e.languages.markdown[t].inside.content.inside[n] = e.languages.markdown[n]);
275
- });
276
- }), e.hooks.add("after-tokenize", function(t) {
277
- if (t.language !== "markdown" && t.language !== "md")
278
- return;
279
- function n(i) {
280
- if (!(!i || typeof i == "string"))
281
- for (var r = 0, p = i.length; r < p; r++) {
282
- var u = i[r];
283
- if (u.type !== "code") {
284
- n(u.content);
285
- continue;
286
- }
287
- var g = u.content[1], a = u.content[3];
288
- if (g && a && g.type === "code-language" && a.type === "code-block" && typeof g.content == "string") {
289
- var c = g.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
290
- c = (/[a-z][\w-]*/i.exec(c) || [""])[0].toLowerCase();
291
- var k = "language-" + c;
292
- a.alias ? typeof a.alias == "string" ? a.alias = [a.alias, k] : a.alias.push(k) : a.alias = [k];
293
- }
294
- }
295
- }
296
- n(t.tokens);
297
- }), e.hooks.add("wrap", function(t) {
298
- if (t.type === "code-block") {
299
- for (var n = "", i = 0, r = t.classes.length; i < r; i++) {
300
- var p = t.classes[i], u = /language-(.+)/.exec(p);
301
- if (u) {
302
- n = u[1];
303
- break;
304
- }
305
- }
306
- var g = e.languages[n];
307
- if (g)
308
- t.content = e.highlight(
309
- $(t.content.value),
310
- g,
311
- n
312
- );
313
- else if (n && n !== "none" && e.plugins.autoloader) {
314
- var a = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(Math.random() * 1e16);
315
- t.attributes.id = a, e.plugins.autoloader.loadLanguages(n, function() {
316
- var c = document.getElementById(a);
317
- c && (c.innerHTML = e.highlight(
318
- c.textContent,
319
- e.languages[n],
320
- n
321
- ));
322
- });
323
- }
324
- }
325
- });
326
- var y = RegExp(e.languages.markup.tag.pattern.source, "gi"), v = {
327
- amp: "&",
328
- lt: "<",
329
- gt: ">",
330
- quot: '"'
331
- }, x = String.fromCodePoint || String.fromCharCode;
332
- function $(t) {
333
- var n = t.replace(y, "");
334
- return n = n.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(i, r) {
335
- if (r = r.toLowerCase(), r[0] === "#") {
336
- var p;
337
- return r[1] === "x" ? p = parseInt(r.slice(2), 16) : p = Number(r.slice(1)), x(p);
338
- } else {
339
- var u = v[r];
340
- return u || i;
341
- }
342
- }), n;
343
- }
344
- e.languages.md = e.languages.markdown;
345
- })(b);
346
- }
347
- return m;
348
- }
349
- var w = C();
350
- const R = /* @__PURE__ */ S(w), N = /* @__PURE__ */ E({
351
- __proto__: null,
352
- default: R
353
- }, [w]);
354
- export {
355
- N as m
356
- };
@@ -1,194 +0,0 @@
1
- import { g as i } from "./index-9498f0f6.js";
2
- function p(e, n) {
3
- for (var a = 0; a < n.length; a++) {
4
- const t = n[a];
5
- if (typeof t != "string" && !Array.isArray(t)) {
6
- for (const u in t)
7
- if (u !== "default" && !(u in e)) {
8
- const s = Object.getOwnPropertyDescriptor(t, u);
9
- s && Object.defineProperty(e, u, s.get ? s : {
10
- enumerable: !0,
11
- get: () => t[u]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var l = r;
19
- r.displayName = "markup";
20
- r.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
21
- function r(e) {
22
- e.languages.markup = {
23
- comment: {
24
- pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
25
- greedy: !0
26
- },
27
- prolog: {
28
- pattern: /<\?[\s\S]+?\?>/,
29
- greedy: !0
30
- },
31
- doctype: {
32
- // https://www.w3.org/TR/xml/#NT-doctypedecl
33
- pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
34
- greedy: !0,
35
- inside: {
36
- "internal-subset": {
37
- pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
38
- lookbehind: !0,
39
- greedy: !0,
40
- inside: null
41
- // see below
42
- },
43
- string: {
44
- pattern: /"[^"]*"|'[^']*'/,
45
- greedy: !0
46
- },
47
- punctuation: /^<!|>$|[[\]]/,
48
- "doctype-tag": /^DOCTYPE/i,
49
- name: /[^\s<>'"]+/
50
- }
51
- },
52
- cdata: {
53
- pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
54
- greedy: !0
55
- },
56
- tag: {
57
- pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
58
- greedy: !0,
59
- inside: {
60
- tag: {
61
- pattern: /^<\/?[^\s>\/]+/,
62
- inside: {
63
- punctuation: /^<\/?/,
64
- namespace: /^[^\s>\/:]+:/
65
- }
66
- },
67
- "special-attr": [],
68
- "attr-value": {
69
- pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
70
- inside: {
71
- punctuation: [
72
- {
73
- pattern: /^=/,
74
- alias: "attr-equals"
75
- },
76
- /"|'/
77
- ]
78
- }
79
- },
80
- punctuation: /\/?>/,
81
- "attr-name": {
82
- pattern: /[^\s>\/]+/,
83
- inside: {
84
- namespace: /^[^\s>\/:]+:/
85
- }
86
- }
87
- }
88
- },
89
- entity: [
90
- {
91
- pattern: /&[\da-z]{1,8};/i,
92
- alias: "named-entity"
93
- },
94
- /&#x?[\da-f]{1,8};/i
95
- ]
96
- }, e.languages.markup.tag.inside["attr-value"].inside.entity = e.languages.markup.entity, e.languages.markup.doctype.inside["internal-subset"].inside = e.languages.markup, e.hooks.add("wrap", function(n) {
97
- n.type === "entity" && (n.attributes.title = n.content.value.replace(/&amp;/, "&"));
98
- }), Object.defineProperty(e.languages.markup.tag, "addInlined", {
99
- /**
100
- * Adds an inlined language to markup.
101
- *
102
- * An example of an inlined language is CSS with `<style>` tags.
103
- *
104
- * @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as
105
- * case insensitive.
106
- * @param {string} lang The language key.
107
- * @example
108
- * addInlined('style', 'css');
109
- */
110
- value: function(a, t) {
111
- var u = {};
112
- u["language-" + t] = {
113
- pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
114
- lookbehind: !0,
115
- inside: e.languages[t]
116
- }, u.cdata = /^<!\[CDATA\[|\]\]>$/i;
117
- var s = {
118
- "included-cdata": {
119
- pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
120
- inside: u
121
- }
122
- };
123
- s["language-" + t] = {
124
- pattern: /[\s\S]+/,
125
- inside: e.languages[t]
126
- };
127
- var g = {};
128
- g[a] = {
129
- pattern: RegExp(
130
- /(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(
131
- /__/g,
132
- function() {
133
- return a;
134
- }
135
- ),
136
- "i"
137
- ),
138
- lookbehind: !0,
139
- greedy: !0,
140
- inside: s
141
- }, e.languages.insertBefore("markup", "cdata", g);
142
- }
143
- }), Object.defineProperty(e.languages.markup.tag, "addAttribute", {
144
- /**
145
- * Adds an pattern to highlight languages embedded in HTML attributes.
146
- *
147
- * An example of an inlined language is CSS with `style` attributes.
148
- *
149
- * @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as
150
- * case insensitive.
151
- * @param {string} lang The language key.
152
- * @example
153
- * addAttribute('style', 'css');
154
- */
155
- value: function(n, a) {
156
- e.languages.markup.tag.inside["special-attr"].push({
157
- pattern: RegExp(
158
- /(^|["'\s])/.source + "(?:" + n + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
159
- "i"
160
- ),
161
- lookbehind: !0,
162
- inside: {
163
- "attr-name": /^[^\s=]+/,
164
- "attr-value": {
165
- pattern: /=[\s\S]+/,
166
- inside: {
167
- value: {
168
- pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
169
- lookbehind: !0,
170
- alias: [a, "language-" + a],
171
- inside: e.languages[a]
172
- },
173
- punctuation: [
174
- {
175
- pattern: /^=/,
176
- alias: "attr-equals"
177
- },
178
- /"|'/
179
- ]
180
- }
181
- }
182
- }
183
- });
184
- }
185
- }), e.languages.html = e.languages.markup, e.languages.mathml = e.languages.markup, e.languages.svg = e.languages.markup, e.languages.xml = e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.xml;
186
- }
187
- const d = /* @__PURE__ */ i(l), c = /* @__PURE__ */ p({
188
- __proto__: null,
189
- default: d
190
- }, [l]);
191
- export {
192
- l as a,
193
- c as m
194
- };
@@ -1,26 +0,0 @@
1
- import { g as i } from "./index-9498f0f6.js";
2
- import { r as m } from "./markup-templating-49c15a5f.js";
3
- function f(t, n) {
4
- for (var o = 0; o < n.length; o++) {
5
- const e = n[o];
6
- if (typeof e != "string" && !Array.isArray(e)) {
7
- for (const r in e)
8
- if (r !== "default" && !(r in t)) {
9
- const a = Object.getOwnPropertyDescriptor(e, r);
10
- a && Object.defineProperty(t, r, a.get ? a : {
11
- enumerable: !0,
12
- get: () => e[r]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var p = m();
20
- const s = /* @__PURE__ */ i(p), l = /* @__PURE__ */ f({
21
- __proto__: null,
22
- default: s
23
- }, [p]);
24
- export {
25
- l as m
26
- };
@@ -1,79 +0,0 @@
1
- var s, _;
2
- function S() {
3
- if (_)
4
- return s;
5
- _ = 1, s = c, c.displayName = "markupTemplating", c.aliases = [];
6
- function c(m) {
7
- (function(f) {
8
- function k(a, t) {
9
- return "___" + a.toUpperCase() + t + "___";
10
- }
11
- Object.defineProperties(f.languages["markup-templating"] = {}, {
12
- buildPlaceholders: {
13
- /**
14
- * Tokenize all inline templating expressions matching `placeholderPattern`.
15
- *
16
- * If `replaceFilter` is provided, only matches of `placeholderPattern` for which `replaceFilter` returns
17
- * `true` will be replaced.
18
- *
19
- * @param {object} env The environment of the `before-tokenize` hook.
20
- * @param {string} language The language id.
21
- * @param {RegExp} placeholderPattern The matches of this pattern will be replaced by placeholders.
22
- * @param {(match: string) => boolean} [replaceFilter]
23
- */
24
- value: function(a, t, o, p) {
25
- if (a.language === t) {
26
- var u = a.tokenStack = [];
27
- a.code = a.code.replace(o, function(n) {
28
- if (typeof p == "function" && !p(n))
29
- return n;
30
- for (var i = u.length, r; a.code.indexOf(r = k(t, i)) !== -1; )
31
- ++i;
32
- return u[i] = n, r;
33
- }), a.grammar = f.languages.markup;
34
- }
35
- }
36
- },
37
- tokenizePlaceholders: {
38
- /**
39
- * Replace placeholders with proper tokens after tokenizing.
40
- *
41
- * @param {object} env The environment of the `after-tokenize` hook.
42
- * @param {string} language The language id.
43
- */
44
- value: function(a, t) {
45
- if (a.language !== t || !a.tokenStack)
46
- return;
47
- a.grammar = f.languages[t];
48
- var o = 0, p = Object.keys(a.tokenStack);
49
- function u(n) {
50
- for (var i = 0; i < n.length && !(o >= p.length); i++) {
51
- var r = n[i];
52
- if (typeof r == "string" || r.content && typeof r.content == "string") {
53
- var y = p[o], d = a.tokenStack[y], l = typeof r == "string" ? r : r.content, h = k(t, y), g = l.indexOf(h);
54
- if (g > -1) {
55
- ++o;
56
- var v = l.substring(0, g), b = new f.Token(
57
- t,
58
- f.tokenize(d, a.grammar),
59
- "language-" + t,
60
- d
61
- ), T = l.substring(g + h.length), e = [];
62
- v && e.push.apply(e, u([v])), e.push(b), T && e.push.apply(e, u([T])), typeof r == "string" ? n.splice.apply(n, [i, 1].concat(e)) : r.content = e;
63
- }
64
- } else
65
- r.content && u(r.content);
66
- }
67
- return n;
68
- }
69
- u(a.tokens);
70
- }
71
- }
72
- });
73
- })(m);
74
- }
75
- return s;
76
- }
77
- export {
78
- S as r
79
- };
@@ -1,47 +0,0 @@
1
- import { g as l } from "./index-9498f0f6.js";
2
- function f(e, a) {
3
- for (var n = 0; n < a.length; n++) {
4
- const t = a[n];
5
- if (typeof t != "string" && !Array.isArray(t)) {
6
- for (const r in t)
7
- if (r !== "default" && !(r in e)) {
8
- const o = Object.getOwnPropertyDescriptor(t, r);
9
- o && Object.defineProperty(e, r, o.get ? o : {
10
- enumerable: !0,
11
- get: () => t[r]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var i, s;
19
- function b() {
20
- if (s)
21
- return i;
22
- s = 1, i = e, e.displayName = "matlab", e.aliases = [];
23
- function e(a) {
24
- a.languages.matlab = {
25
- comment: [/%\{[\s\S]*?\}%/, /%.+/],
26
- string: {
27
- pattern: /\B'(?:''|[^'\r\n])*'/,
28
- greedy: !0
29
- },
30
- // FIXME We could handle imaginary numbers as a whole
31
- number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,
32
- keyword: /\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,
33
- function: /\b(?!\d)\w+(?=\s*\()/,
34
- operator: /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,
35
- punctuation: /\.{3}|[.,;\[\](){}!]/
36
- };
37
- }
38
- return i;
39
- }
40
- var u = b();
41
- const c = /* @__PURE__ */ l(u), p = /* @__PURE__ */ f({
42
- __proto__: null,
43
- default: c
44
- }, [u]);
45
- export {
46
- p as m
47
- };