@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,166 +0,0 @@
1
- import { g as y } from "./index-9498f0f6.js";
2
- function h(i, p) {
3
- for (var a = 0; a < p.length; a++) {
4
- const t = p[a];
5
- if (typeof t != "string" && !Array.isArray(t)) {
6
- for (const n in t)
7
- if (n !== "default" && !(n in i)) {
8
- const s = Object.getOwnPropertyDescriptor(t, n);
9
- s && Object.defineProperty(i, n, s.get ? s : {
10
- enumerable: !0,
11
- get: () => t[n]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var d, f;
19
- function b() {
20
- if (f)
21
- return d;
22
- f = 1, d = i, i.displayName = "naniscript", i.aliases = [];
23
- function i(p) {
24
- (function(a) {
25
- var t = /\{[^\r\n\[\]{}]*\}/, n = {
26
- "quoted-string": {
27
- pattern: /"(?:[^"\\]|\\.)*"/,
28
- alias: "operator"
29
- },
30
- "command-param-id": {
31
- pattern: /(\s)\w+:/,
32
- lookbehind: !0,
33
- alias: "property"
34
- },
35
- "command-param-value": [
36
- {
37
- pattern: t,
38
- alias: "selector"
39
- },
40
- {
41
- pattern: /([\t ])\S+/,
42
- lookbehind: !0,
43
- greedy: !0,
44
- alias: "operator"
45
- },
46
- {
47
- pattern: /\S(?:.*\S)?/,
48
- alias: "operator"
49
- }
50
- ]
51
- };
52
- a.languages.naniscript = {
53
- // ; ...
54
- comment: {
55
- pattern: /^([\t ]*);.*/m,
56
- lookbehind: !0
57
- },
58
- // > ...
59
- // Define is a control line starting with '>' followed by a word, a space and a text.
60
- define: {
61
- pattern: /^>.+/m,
62
- alias: "tag",
63
- inside: {
64
- value: {
65
- pattern: /(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,
66
- lookbehind: !0,
67
- alias: "operator"
68
- },
69
- key: {
70
- pattern: /(^>)\w+/,
71
- lookbehind: !0
72
- }
73
- }
74
- },
75
- // # ...
76
- label: {
77
- pattern: /^([\t ]*)#[\t ]*\w+[\t ]*$/m,
78
- lookbehind: !0,
79
- alias: "regex"
80
- },
81
- command: {
82
- pattern: /^([\t ]*)@\w+(?=[\t ]|$).*/m,
83
- lookbehind: !0,
84
- alias: "function",
85
- inside: {
86
- "command-name": /^@\w+/,
87
- expression: {
88
- pattern: t,
89
- greedy: !0,
90
- alias: "selector"
91
- },
92
- "command-params": {
93
- pattern: /\s*\S[\s\S]*/,
94
- inside: n
95
- }
96
- }
97
- },
98
- // Generic is any line that doesn't start with operators: ;>#@
99
- "generic-text": {
100
- pattern: /(^[ \t]*)[^#@>;\s].*/m,
101
- lookbehind: !0,
102
- alias: "punctuation",
103
- inside: {
104
- // \{ ... \} ... \[ ... \] ... \"
105
- "escaped-char": /\\[{}\[\]"]/,
106
- expression: {
107
- pattern: t,
108
- greedy: !0,
109
- alias: "selector"
110
- },
111
- "inline-command": {
112
- pattern: /\[[\t ]*\w[^\r\n\[\]]*\]/,
113
- greedy: !0,
114
- alias: "function",
115
- inside: {
116
- "command-params": {
117
- pattern: /(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,
118
- lookbehind: !0,
119
- inside: n
120
- },
121
- "command-param-name": {
122
- pattern: /^(\[[\t ]*)\w+/,
123
- lookbehind: !0,
124
- alias: "name"
125
- },
126
- "start-stop-char": /[\[\]]/
127
- }
128
- }
129
- }
130
- }
131
- }, a.languages.nani = a.languages.naniscript, a.hooks.add("after-tokenize", function(e) {
132
- var u = e.tokens;
133
- u.forEach(function(r) {
134
- if (typeof r != "string" && r.type === "generic-text") {
135
- var o = c(r);
136
- s(o) || (r.type = "bad-line", r.content = o);
137
- }
138
- });
139
- });
140
- function s(e) {
141
- for (var u = "[]{}", r = [], o = 0; o < e.length; o++) {
142
- var g = e[o], l = u.indexOf(g);
143
- if (l !== -1) {
144
- if (l % 2 === 0)
145
- r.push(l + 1);
146
- else if (r.pop() !== l)
147
- return !1;
148
- }
149
- }
150
- return r.length === 0;
151
- }
152
- function c(e) {
153
- return typeof e == "string" ? e : Array.isArray(e) ? e.map(c).join("") : c(e.content);
154
- }
155
- })(p);
156
- }
157
- return d;
158
- }
159
- var m = b();
160
- const v = /* @__PURE__ */ y(m), k = /* @__PURE__ */ h({
161
- __proto__: null,
162
- default: v
163
- }, [m]);
164
- export {
165
- k as n
166
- };
@@ -1,58 +0,0 @@
1
- import { g as m } from "./index-9498f0f6.js";
2
- function f(e, a) {
3
- for (var n = 0; n < a.length; n++) {
4
- const r = a[n];
5
- if (typeof r != "string" && !Array.isArray(r)) {
6
- for (const t in r)
7
- if (t !== "default" && !(t in e)) {
8
- const s = Object.getOwnPropertyDescriptor(r, t);
9
- s && Object.defineProperty(e, t, s.get ? s : {
10
- enumerable: !0,
11
- get: () => r[t]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var o, d;
19
- function l() {
20
- if (d)
21
- return o;
22
- d = 1, o = e, e.displayName = "nasm", e.aliases = [];
23
- function e(a) {
24
- a.languages.nasm = {
25
- comment: /;.*$/m,
26
- string: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
27
- label: {
28
- pattern: /(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,
29
- lookbehind: !0,
30
- alias: "function"
31
- },
32
- keyword: [
33
- /\[?BITS (?:16|32|64)\]?/,
34
- {
35
- pattern: /(^\s*)section\s*[a-z.]+:?/im,
36
- lookbehind: !0
37
- },
38
- /(?:extern|global)[^;\r\n]*/i,
39
- /(?:CPU|DEFAULT|FLOAT).*$/m
40
- ],
41
- register: {
42
- pattern: /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,
43
- alias: "variable"
44
- },
45
- number: /(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,
46
- operator: /[\[\]*+\-\/%<>=&|$!]/
47
- };
48
- }
49
- return o;
50
- }
51
- var i = l();
52
- const b = /* @__PURE__ */ m(i), u = /* @__PURE__ */ f({
53
- __proto__: null,
54
- default: b
55
- }, [i]);
56
- export {
57
- u as n
58
- };
@@ -1,74 +0,0 @@
1
- import { g as u } from "./index-9498f0f6.js";
2
- function l(e, n) {
3
- for (var o = 0; o < n.length; o++) {
4
- const t = n[o];
5
- if (typeof t != "string" && !Array.isArray(t)) {
6
- for (const r in t)
7
- if (r !== "default" && !(r in e)) {
8
- const s = Object.getOwnPropertyDescriptor(t, r);
9
- s && Object.defineProperty(e, r, s.get ? s : {
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 a, d;
19
- function p() {
20
- if (d)
21
- return a;
22
- d = 1, a = e, e.displayName = "neon", e.aliases = [];
23
- function e(n) {
24
- n.languages.neon = {
25
- comment: {
26
- pattern: /#.*/,
27
- greedy: !0
28
- },
29
- datetime: {
30
- pattern: /(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,
31
- lookbehind: !0,
32
- alias: "number"
33
- },
34
- key: {
35
- pattern: /(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,
36
- lookbehind: !0,
37
- alias: "atrule"
38
- },
39
- number: {
40
- pattern: /(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,
41
- lookbehind: !0
42
- },
43
- boolean: {
44
- pattern: /(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,
45
- lookbehind: !0
46
- },
47
- null: {
48
- pattern: /(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,
49
- lookbehind: !0,
50
- alias: "keyword"
51
- },
52
- string: {
53
- pattern: /(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,
54
- lookbehind: !0,
55
- greedy: !0
56
- },
57
- literal: {
58
- pattern: /(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,
59
- lookbehind: !0,
60
- alias: "string"
61
- },
62
- punctuation: /[,:=[\]{}()-]/
63
- };
64
- }
65
- return a;
66
- }
67
- var i = p();
68
- const f = /* @__PURE__ */ u(i), c = /* @__PURE__ */ l({
69
- __proto__: null,
70
- default: f
71
- }, [i]);
72
- export {
73
- c as n
74
- };
@@ -1,159 +0,0 @@
1
- import { g as l } from "./index-9498f0f6.js";
2
- function d(a, n) {
3
- for (var r = 0; r < n.length; r++) {
4
- const e = n[r];
5
- if (typeof e != "string" && !Array.isArray(e)) {
6
- for (const t in e)
7
- if (t !== "default" && !(t in a)) {
8
- const s = Object.getOwnPropertyDescriptor(e, t);
9
- s && Object.defineProperty(a, t, s.get ? s : {
10
- enumerable: !0,
11
- get: () => e[t]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var i, o;
19
- function u() {
20
- if (o)
21
- return i;
22
- o = 1, i = a, a.displayName = "nevod", a.aliases = [];
23
- function a(n) {
24
- n.languages.nevod = {
25
- comment: /\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,
26
- string: {
27
- pattern: /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,
28
- greedy: !0,
29
- inside: {
30
- "string-attrs": /!$|!\*$|\*$/
31
- }
32
- },
33
- namespace: {
34
- pattern: /(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,
35
- lookbehind: !0
36
- },
37
- pattern: {
38
- pattern: /(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,
39
- lookbehind: !0,
40
- inside: {
41
- "pattern-name": {
42
- pattern: /^#?[a-zA-Z0-9\-.]+/,
43
- alias: "class-name"
44
- },
45
- fields: {
46
- pattern: /\(.*\)/,
47
- inside: {
48
- "field-name": {
49
- pattern: /[a-zA-Z0-9\-.]+/,
50
- alias: "variable"
51
- },
52
- punctuation: /[,()]/,
53
- operator: {
54
- pattern: /~/,
55
- alias: "field-hidden-mark"
56
- }
57
- }
58
- }
59
- }
60
- },
61
- search: {
62
- pattern: /(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,
63
- alias: "function",
64
- lookbehind: !0
65
- },
66
- keyword: /@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,
67
- "standard-pattern": {
68
- pattern: /\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,
69
- inside: {
70
- "standard-pattern-name": {
71
- pattern: /^[a-zA-Z0-9\-.]+/,
72
- alias: "builtin"
73
- },
74
- quantifier: {
75
- pattern: /\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,
76
- alias: "number"
77
- },
78
- "standard-pattern-attr": {
79
- pattern: /[a-zA-Z0-9\-.]+/,
80
- alias: "builtin"
81
- },
82
- punctuation: /[,()]/
83
- }
84
- },
85
- quantifier: {
86
- pattern: /\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,
87
- alias: "number"
88
- },
89
- operator: [
90
- {
91
- pattern: /=/,
92
- alias: "pattern-def"
93
- },
94
- {
95
- pattern: /&/,
96
- alias: "conjunction"
97
- },
98
- {
99
- pattern: /~/,
100
- alias: "exception"
101
- },
102
- {
103
- pattern: /\?/,
104
- alias: "optionality"
105
- },
106
- {
107
- pattern: /[[\]]/,
108
- alias: "repetition"
109
- },
110
- {
111
- pattern: /[{}]/,
112
- alias: "variation"
113
- },
114
- {
115
- pattern: /[+_]/,
116
- alias: "sequence"
117
- },
118
- {
119
- pattern: /\.{2,3}/,
120
- alias: "span"
121
- }
122
- ],
123
- "field-capture": [
124
- {
125
- pattern: /([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,
126
- lookbehind: !0,
127
- inside: {
128
- "field-name": {
129
- pattern: /[a-zA-Z0-9\-.]+/,
130
- alias: "variable"
131
- },
132
- colon: /:/
133
- }
134
- },
135
- {
136
- pattern: /[a-zA-Z0-9\-.]+\s*:/,
137
- inside: {
138
- "field-name": {
139
- pattern: /[a-zA-Z0-9\-.]+/,
140
- alias: "variable"
141
- },
142
- colon: /:/
143
- }
144
- }
145
- ],
146
- punctuation: /[:;,()]/,
147
- name: /[a-zA-Z0-9\-.]+/
148
- };
149
- }
150
- return i;
151
- }
152
- var p = u();
153
- const c = /* @__PURE__ */ l(p), m = /* @__PURE__ */ d({
154
- __proto__: null,
155
- default: c
156
- }, [p]);
157
- export {
158
- m as n
159
- };
@@ -1,83 +0,0 @@
1
- import { g } from "./index-9498f0f6.js";
2
- function d(t, i) {
3
- for (var r = 0; r < i.length; r++) {
4
- const e = i[r];
5
- if (typeof e != "string" && !Array.isArray(e)) {
6
- for (const n in e)
7
- if (n !== "default" && !(n in t)) {
8
- const o = Object.getOwnPropertyDescriptor(e, n);
9
- o && Object.defineProperty(t, n, o.get ? o : {
10
- enumerable: !0,
11
- get: () => e[n]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var a, s;
19
- function l() {
20
- if (s)
21
- return a;
22
- s = 1, a = t, t.displayName = "nginx", t.aliases = [];
23
- function t(i) {
24
- (function(r) {
25
- var e = /\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;
26
- r.languages.nginx = {
27
- comment: {
28
- pattern: /(^|[\s{};])#.*/,
29
- lookbehind: !0,
30
- greedy: !0
31
- },
32
- directive: {
33
- pattern: /(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,
34
- lookbehind: !0,
35
- greedy: !0,
36
- inside: {
37
- string: {
38
- pattern: /((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,
39
- lookbehind: !0,
40
- greedy: !0,
41
- inside: {
42
- escape: {
43
- pattern: /\\["'\\nrt]/,
44
- alias: "entity"
45
- },
46
- variable: e
47
- }
48
- },
49
- comment: {
50
- pattern: /(\s)#.*/,
51
- lookbehind: !0,
52
- greedy: !0
53
- },
54
- keyword: {
55
- pattern: /^\S+/,
56
- greedy: !0
57
- },
58
- // other patterns
59
- boolean: {
60
- pattern: /(\s)(?:off|on)(?!\S)/,
61
- lookbehind: !0
62
- },
63
- number: {
64
- pattern: /(\s)\d+[a-z]*(?!\S)/i,
65
- lookbehind: !0
66
- },
67
- variable: e
68
- }
69
- },
70
- punctuation: /[{};]/
71
- };
72
- })(i);
73
- }
74
- return a;
75
- }
76
- var u = l();
77
- const p = /* @__PURE__ */ g(u), f = /* @__PURE__ */ d({
78
- __proto__: null,
79
- default: p
80
- }, [u]);
81
- export {
82
- f as n
83
- };
@@ -1,76 +0,0 @@
1
- import { g as c } from "./index-9498f0f6.js";
2
- function u(e, n) {
3
- for (var i = 0; i < n.length; i++) {
4
- const t = n[i];
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 a, d;
19
- function f() {
20
- if (d)
21
- return a;
22
- d = 1, a = e, e.displayName = "nim", e.aliases = [];
23
- function e(n) {
24
- n.languages.nim = {
25
- comment: {
26
- pattern: /#.*/,
27
- greedy: !0
28
- },
29
- string: {
30
- // Double-quoted strings can be prefixed by an identifier (Generalized raw string literals)
31
- pattern: /(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,
32
- greedy: !0
33
- },
34
- char: {
35
- // Character literals are handled specifically to prevent issues with numeric type suffixes
36
- pattern: /'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,
37
- greedy: !0
38
- },
39
- function: {
40
- pattern: /(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,
41
- greedy: !0,
42
- inside: {
43
- operator: /\*$/
44
- }
45
- },
46
- // We don't want to highlight operators (and anything really) inside backticks
47
- identifier: {
48
- pattern: /`[^`\r\n]+`/,
49
- greedy: !0,
50
- inside: {
51
- punctuation: /`/
52
- }
53
- },
54
- // The negative look ahead prevents wrong highlighting of the .. operator
55
- number: /\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,
56
- keyword: /\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,
57
- operator: {
58
- // Look behind and look ahead prevent wrong highlighting of punctuations [. .] {. .} (. .)
59
- // but allow the slice operator .. to take precedence over them
60
- // One can define his own operators in Nim so all combination of operators might be an operator.
61
- pattern: /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,
62
- lookbehind: !0
63
- },
64
- punctuation: /[({\[]\.|\.[)}\]]|[`(){}\[\],:]/
65
- };
66
- }
67
- return a;
68
- }
69
- var s = f();
70
- const p = /* @__PURE__ */ c(s), l = /* @__PURE__ */ u({
71
- __proto__: null,
72
- default: p
73
- }, [s]);
74
- export {
75
- l as n
76
- };
@@ -1,70 +0,0 @@
1
- import { g as u } from "./index-9498f0f6.js";
2
- function g(t, e) {
3
- for (var i = 0; i < e.length; i++) {
4
- const r = e[i];
5
- if (typeof r != "string" && !Array.isArray(r)) {
6
- for (const n in r)
7
- if (n !== "default" && !(n in t)) {
8
- const a = Object.getOwnPropertyDescriptor(r, n);
9
- a && Object.defineProperty(t, n, a.get ? a : {
10
- enumerable: !0,
11
- get: () => r[n]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var s, o;
19
- function p() {
20
- if (o)
21
- return s;
22
- o = 1, s = t, t.displayName = "nix", t.aliases = [];
23
- function t(e) {
24
- e.languages.nix = {
25
- comment: {
26
- pattern: /\/\*[\s\S]*?\*\/|#.*/,
27
- greedy: !0
28
- },
29
- string: {
30
- pattern: /"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,
31
- greedy: !0,
32
- inside: {
33
- interpolation: {
34
- // The lookbehind ensures the ${} is not preceded by \ or ''
35
- pattern: /(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,
36
- lookbehind: !0,
37
- inside: null
38
- // see below
39
- }
40
- }
41
- },
42
- url: [
43
- /\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,
44
- {
45
- pattern: /([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,
46
- lookbehind: !0
47
- }
48
- ],
49
- antiquotation: {
50
- pattern: /\$(?=\{)/,
51
- alias: "important"
52
- },
53
- number: /\b\d+\b/,
54
- keyword: /\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,
55
- function: /\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,
56
- boolean: /\b(?:false|true)\b/,
57
- operator: /[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,
58
- punctuation: /[{}()[\].,:;]/
59
- }, e.languages.nix.string.inside.interpolation.inside = e.languages.nix;
60
- }
61
- return s;
62
- }
63
- var l = p();
64
- const c = /* @__PURE__ */ u(l), f = /* @__PURE__ */ g({
65
- __proto__: null,
66
- default: c
67
- }, [l]);
68
- export {
69
- f as n
70
- };