@bigbinary/neeto-molecules 1.0.16 → 1.0.17

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.
@@ -4727,11 +4727,11 @@ function require_1c () {
4727
4727
  * */
4728
4728
 
4729
4729
  var abnf_1$1;
4730
- var hasRequiredAbnf;
4730
+ var hasRequiredAbnf$1;
4731
4731
 
4732
- function requireAbnf () {
4733
- if (hasRequiredAbnf) return abnf_1$1;
4734
- hasRequiredAbnf = 1;
4732
+ function requireAbnf$1 () {
4733
+ if (hasRequiredAbnf$1) return abnf_1$1;
4734
+ hasRequiredAbnf$1 = 1;
4735
4735
  /**
4736
4736
  * @param {RegExp | string } re
4737
4737
  * @returns {string}
@@ -8074,11 +8074,11 @@ function requireAxapta () {
8074
8074
  * */
8075
8075
 
8076
8076
  var bash_1$1;
8077
- var hasRequiredBash$1;
8077
+ var hasRequiredBash;
8078
8078
 
8079
- function requireBash$1 () {
8080
- if (hasRequiredBash$1) return bash_1$1;
8081
- hasRequiredBash$1 = 1;
8079
+ function requireBash () {
8080
+ if (hasRequiredBash) return bash_1$1;
8081
+ hasRequiredBash = 1;
8082
8082
  /**
8083
8083
  * @param {RegExp | string } re
8084
8084
  * @returns {string}
@@ -8254,11 +8254,11 @@ Website: https://en.wikipedia.org/wiki/Tandy_1000
8254
8254
  */
8255
8255
 
8256
8256
  var basic_1$1;
8257
- var hasRequiredBasic$1;
8257
+ var hasRequiredBasic;
8258
8258
 
8259
- function requireBasic$1 () {
8260
- if (hasRequiredBasic$1) return basic_1$1;
8261
- hasRequiredBasic$1 = 1;
8259
+ function requireBasic () {
8260
+ if (hasRequiredBasic) return basic_1$1;
8261
+ hasRequiredBasic = 1;
8262
8262
  /** @type LanguageFn */
8263
8263
  function basic(hljs) {
8264
8264
  return {
@@ -8327,11 +8327,11 @@ Author: Oleg Efimov <efimovov@gmail.com>
8327
8327
  */
8328
8328
 
8329
8329
  var bnf_1$1;
8330
- var hasRequiredBnf$1;
8330
+ var hasRequiredBnf;
8331
8331
 
8332
- function requireBnf$1 () {
8333
- if (hasRequiredBnf$1) return bnf_1$1;
8334
- hasRequiredBnf$1 = 1;
8332
+ function requireBnf () {
8333
+ if (hasRequiredBnf) return bnf_1$1;
8334
+ hasRequiredBnf = 1;
8335
8335
  /** @type LanguageFn */
8336
8336
  function bnf(hljs) {
8337
8337
  return {
@@ -8374,11 +8374,11 @@ Website: https://esolangs.org/wiki/Brainfuck
8374
8374
  */
8375
8375
 
8376
8376
  var brainfuck_1$1;
8377
- var hasRequiredBrainfuck$1;
8377
+ var hasRequiredBrainfuck;
8378
8378
 
8379
- function requireBrainfuck$1 () {
8380
- if (hasRequiredBrainfuck$1) return brainfuck_1$1;
8381
- hasRequiredBrainfuck$1 = 1;
8379
+ function requireBrainfuck () {
8380
+ if (hasRequiredBrainfuck) return brainfuck_1$1;
8381
+ hasRequiredBrainfuck = 1;
8382
8382
  /** @type LanguageFn */
8383
8383
  function brainfuck(hljs) {
8384
8384
  const LITERAL = {
@@ -8938,11 +8938,11 @@ function requireCLike () {
8938
8938
  * */
8939
8939
 
8940
8940
  var c_1$1;
8941
- var hasRequiredC$1;
8941
+ var hasRequiredC;
8942
8942
 
8943
- function requireC$1 () {
8944
- if (hasRequiredC$1) return c_1$1;
8945
- hasRequiredC$1 = 1;
8943
+ function requireC () {
8944
+ if (hasRequiredC) return c_1$1;
8945
+ hasRequiredC = 1;
8946
8946
  /**
8947
8947
  * @param {RegExp | string } re
8948
8948
  * @returns {string}
@@ -9585,11 +9585,11 @@ Category: lisp
9585
9585
  */
9586
9586
 
9587
9587
  var clojure_1$1;
9588
- var hasRequiredClojure$1;
9588
+ var hasRequiredClojure;
9589
9589
 
9590
- function requireClojure$1 () {
9591
- if (hasRequiredClojure$1) return clojure_1$1;
9592
- hasRequiredClojure$1 = 1;
9590
+ function requireClojure () {
9591
+ if (hasRequiredClojure) return clojure_1$1;
9592
+ hasRequiredClojure = 1;
9593
9593
  /** @type LanguageFn */
9594
9594
  function clojure(hljs) {
9595
9595
  const SYMBOLSTART = 'a-zA-Z_\\-!.?+*=<>&#\'';
@@ -48781,7 +48781,7 @@ var low = core$4;
48781
48781
  var lowlight = low;
48782
48782
 
48783
48783
  low.registerLanguage('1c', require_1c());
48784
- low.registerLanguage('abnf', requireAbnf());
48784
+ low.registerLanguage('abnf', requireAbnf$1());
48785
48785
  low.registerLanguage(
48786
48786
  'accesslog',
48787
48787
  requireAccesslog()
@@ -48814,15 +48814,15 @@ low.registerLanguage('autoit', requireAutoit());
48814
48814
  low.registerLanguage('avrasm', requireAvrasm());
48815
48815
  low.registerLanguage('awk', requireAwk());
48816
48816
  low.registerLanguage('axapta', requireAxapta());
48817
- low.registerLanguage('bash', requireBash$1());
48818
- low.registerLanguage('basic', requireBasic$1());
48819
- low.registerLanguage('bnf', requireBnf$1());
48817
+ low.registerLanguage('bash', requireBash());
48818
+ low.registerLanguage('basic', requireBasic());
48819
+ low.registerLanguage('bnf', requireBnf());
48820
48820
  low.registerLanguage(
48821
48821
  'brainfuck',
48822
- requireBrainfuck$1()
48822
+ requireBrainfuck()
48823
48823
  );
48824
48824
  low.registerLanguage('c-like', requireCLike());
48825
- low.registerLanguage('c', requireC$1());
48825
+ low.registerLanguage('c', requireC());
48826
48826
  low.registerLanguage('cal', requireCal());
48827
48827
  low.registerLanguage(
48828
48828
  'capnproto',
@@ -48830,7 +48830,7 @@ low.registerLanguage(
48830
48830
  );
48831
48831
  low.registerLanguage('ceylon', requireCeylon());
48832
48832
  low.registerLanguage('clean', requireClean());
48833
- low.registerLanguage('clojure', requireClojure$1());
48833
+ low.registerLanguage('clojure', requireClojure());
48834
48834
  low.registerLanguage(
48835
48835
  'clojure-repl',
48836
48836
  requireClojureRepl()
@@ -49739,7 +49739,7 @@ var languageLoaders$1 = {
49739
49739
  return Promise.resolve().then(function () { return _1c; });
49740
49740
  }),
49741
49741
  abnf: createLanguageAsyncLoader("abnf", function () {
49742
- return Promise.resolve().then(function () { return abnf; });
49742
+ return Promise.resolve().then(function () { return abnf$1; });
49743
49743
  }),
49744
49744
  accesslog: createLanguageAsyncLoader("accesslog", function () {
49745
49745
  return Promise.resolve().then(function () { return accesslog; });
@@ -49790,22 +49790,22 @@ var languageLoaders$1 = {
49790
49790
  return Promise.resolve().then(function () { return axapta; });
49791
49791
  }),
49792
49792
  bash: createLanguageAsyncLoader("bash", function () {
49793
- return Promise.resolve().then(function () { return bash$1; });
49793
+ return Promise.resolve().then(function () { return bash; });
49794
49794
  }),
49795
49795
  basic: createLanguageAsyncLoader("basic", function () {
49796
- return Promise.resolve().then(function () { return basic$1; });
49796
+ return Promise.resolve().then(function () { return basic; });
49797
49797
  }),
49798
49798
  bnf: createLanguageAsyncLoader("bnf", function () {
49799
- return Promise.resolve().then(function () { return bnf$1; });
49799
+ return Promise.resolve().then(function () { return bnf; });
49800
49800
  }),
49801
49801
  brainfuck: createLanguageAsyncLoader("brainfuck", function () {
49802
- return Promise.resolve().then(function () { return brainfuck$1; });
49802
+ return Promise.resolve().then(function () { return brainfuck; });
49803
49803
  }),
49804
49804
  cLike: createLanguageAsyncLoader("cLike", function () {
49805
49805
  return Promise.resolve().then(function () { return cLike; });
49806
49806
  }),
49807
49807
  c: createLanguageAsyncLoader("c", function () {
49808
- return Promise.resolve().then(function () { return c$1; });
49808
+ return Promise.resolve().then(function () { return c; });
49809
49809
  }),
49810
49810
  cal: createLanguageAsyncLoader("cal", function () {
49811
49811
  return Promise.resolve().then(function () { return cal; });
@@ -49823,7 +49823,7 @@ var languageLoaders$1 = {
49823
49823
  return Promise.resolve().then(function () { return clojureRepl; });
49824
49824
  }),
49825
49825
  clojure: createLanguageAsyncLoader("clojure", function () {
49826
- return Promise.resolve().then(function () { return clojure$1; });
49826
+ return Promise.resolve().then(function () { return clojure; });
49827
49827
  }),
49828
49828
  cmake: createLanguageAsyncLoader("cmake", function () {
49829
49829
  return Promise.resolve().then(function () { return cmake$1; });
@@ -50334,7 +50334,7 @@ var languageLoaders = {
50334
50334
  return Promise.resolve().then(function () { return abap$1; });
50335
50335
  }),
50336
50336
  abnf: createLanguageAsyncLoader("abnf", function () {
50337
- return Promise.resolve().then(function () { return abnf$2; });
50337
+ return Promise.resolve().then(function () { return abnf; });
50338
50338
  }),
50339
50339
  actionscript: createLanguageAsyncLoader("actionscript", function () {
50340
50340
  return Promise.resolve().then(function () { return actionscript$2; });
@@ -50391,55 +50391,55 @@ var languageLoaders = {
50391
50391
  return Promise.resolve().then(function () { return autoit$2; });
50392
50392
  }),
50393
50393
  avisynth: createLanguageAsyncLoader("avisynth", function () {
50394
- return Promise.resolve().then(function () { return avisynth; });
50394
+ return Promise.resolve().then(function () { return avisynth$1; });
50395
50395
  }),
50396
50396
  avroIdl: createLanguageAsyncLoader("avroIdl", function () {
50397
- return Promise.resolve().then(function () { return avroIdl; });
50397
+ return Promise.resolve().then(function () { return avroIdl$1; });
50398
50398
  }),
50399
50399
  bash: createLanguageAsyncLoader("bash", function () {
50400
- return Promise.resolve().then(function () { return bash; });
50400
+ return Promise.resolve().then(function () { return bash$2; });
50401
50401
  }),
50402
50402
  basic: createLanguageAsyncLoader("basic", function () {
50403
- return Promise.resolve().then(function () { return basic; });
50403
+ return Promise.resolve().then(function () { return basic$2; });
50404
50404
  }),
50405
50405
  batch: createLanguageAsyncLoader("batch", function () {
50406
- return Promise.resolve().then(function () { return batch; });
50406
+ return Promise.resolve().then(function () { return batch$1; });
50407
50407
  }),
50408
50408
  bbcode: createLanguageAsyncLoader("bbcode", function () {
50409
- return Promise.resolve().then(function () { return bbcode; });
50409
+ return Promise.resolve().then(function () { return bbcode$1; });
50410
50410
  }),
50411
50411
  bicep: createLanguageAsyncLoader("bicep", function () {
50412
- return Promise.resolve().then(function () { return bicep; });
50412
+ return Promise.resolve().then(function () { return bicep$1; });
50413
50413
  }),
50414
50414
  birb: createLanguageAsyncLoader("birb", function () {
50415
- return Promise.resolve().then(function () { return birb; });
50415
+ return Promise.resolve().then(function () { return birb$1; });
50416
50416
  }),
50417
50417
  bison: createLanguageAsyncLoader("bison", function () {
50418
- return Promise.resolve().then(function () { return bison; });
50418
+ return Promise.resolve().then(function () { return bison$1; });
50419
50419
  }),
50420
50420
  bnf: createLanguageAsyncLoader("bnf", function () {
50421
- return Promise.resolve().then(function () { return bnf; });
50421
+ return Promise.resolve().then(function () { return bnf$2; });
50422
50422
  }),
50423
50423
  brainfuck: createLanguageAsyncLoader("brainfuck", function () {
50424
- return Promise.resolve().then(function () { return brainfuck; });
50424
+ return Promise.resolve().then(function () { return brainfuck$2; });
50425
50425
  }),
50426
50426
  brightscript: createLanguageAsyncLoader("brightscript", function () {
50427
- return Promise.resolve().then(function () { return brightscript; });
50427
+ return Promise.resolve().then(function () { return brightscript$1; });
50428
50428
  }),
50429
50429
  bro: createLanguageAsyncLoader("bro", function () {
50430
- return Promise.resolve().then(function () { return bro; });
50430
+ return Promise.resolve().then(function () { return bro$1; });
50431
50431
  }),
50432
50432
  bsl: createLanguageAsyncLoader("bsl", function () {
50433
- return Promise.resolve().then(function () { return bsl; });
50433
+ return Promise.resolve().then(function () { return bsl$1; });
50434
50434
  }),
50435
50435
  c: createLanguageAsyncLoader("c", function () {
50436
- return Promise.resolve().then(function () { return c; });
50436
+ return Promise.resolve().then(function () { return c$2; });
50437
50437
  }),
50438
50438
  cfscript: createLanguageAsyncLoader("cfscript", function () {
50439
- return Promise.resolve().then(function () { return cfscript; });
50439
+ return Promise.resolve().then(function () { return cfscript$1; });
50440
50440
  }),
50441
50441
  chaiscript: createLanguageAsyncLoader("chaiscript", function () {
50442
- return Promise.resolve().then(function () { return chaiscript; });
50442
+ return Promise.resolve().then(function () { return chaiscript$1; });
50443
50443
  }),
50444
50444
  cil: createLanguageAsyncLoader("cil", function () {
50445
50445
  return Promise.resolve().then(function () { return cil; });
@@ -50448,7 +50448,7 @@ var languageLoaders = {
50448
50448
  return Promise.resolve().then(function () { return clike$2; });
50449
50449
  }),
50450
50450
  clojure: createLanguageAsyncLoader("clojure", function () {
50451
- return Promise.resolve().then(function () { return clojure; });
50451
+ return Promise.resolve().then(function () { return clojure$2; });
50452
50452
  }),
50453
50453
  cmake: createLanguageAsyncLoader("cmake", function () {
50454
50454
  return Promise.resolve().then(function () { return cmake; });
@@ -59703,73 +59703,77 @@ var abap$1 = /*#__PURE__*/_mergeNamespaces({
59703
59703
  'default': abap_1
59704
59704
  }, [abap_1]);
59705
59705
 
59706
- var abnf_1 = abnf$1;
59707
- abnf$1.displayName = 'abnf';
59708
- abnf$1.aliases = [];
59709
- function abnf$1(Prism) {
59706
+ var abnf_1;
59707
+ var hasRequiredAbnf;
59708
+
59709
+ function requireAbnf () {
59710
+ if (hasRequiredAbnf) return abnf_1;
59711
+ hasRequiredAbnf = 1;
59712
+
59713
+ abnf_1 = abnf;
59714
+ abnf.displayName = 'abnf';
59715
+ abnf.aliases = [];
59716
+ function abnf(Prism) {
59710
59717
  (function (Prism) {
59711
- var coreRules =
59712
- '(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)';
59713
- Prism.languages.abnf = {
59714
- comment: /;.*/,
59715
- string: {
59716
- pattern: /(?:%[is])?"[^"\n\r]*"/,
59717
- greedy: true,
59718
- inside: {
59719
- punctuation: /^%[is]/
59720
- }
59721
- },
59722
- range: {
59723
- pattern: /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,
59724
- alias: 'number'
59725
- },
59726
- terminal: {
59727
- pattern:
59728
- /%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,
59729
- alias: 'number'
59730
- },
59731
- repetition: {
59732
- pattern: /(^|[^\w-])(?:\d*\*\d*|\d+)/,
59733
- lookbehind: true,
59734
- alias: 'operator'
59735
- },
59736
- definition: {
59737
- pattern: /(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,
59738
- lookbehind: true,
59739
- alias: 'keyword',
59740
- inside: {
59741
- punctuation: /<|>/
59742
- }
59743
- },
59744
- 'core-rule': {
59745
- pattern: RegExp(
59746
- '(?:(^|[^<\\w-])' + coreRules + '|<' + coreRules + '>)(?![\\w-])',
59747
- 'i'
59748
- ),
59749
- lookbehind: true,
59750
- alias: ['rule', 'constant'],
59751
- inside: {
59752
- punctuation: /<|>/
59753
- }
59754
- },
59755
- rule: {
59756
- pattern: /(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,
59757
- lookbehind: true,
59758
- inside: {
59759
- punctuation: /<|>/
59760
- }
59761
- },
59762
- operator: /=\/?|\//,
59763
- punctuation: /[()\[\]]/
59764
- };
59765
- })(Prism);
59718
+ var coreRules =
59719
+ '(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)';
59720
+ Prism.languages.abnf = {
59721
+ comment: /;.*/,
59722
+ string: {
59723
+ pattern: /(?:%[is])?"[^"\n\r]*"/,
59724
+ greedy: true,
59725
+ inside: {
59726
+ punctuation: /^%[is]/
59727
+ }
59728
+ },
59729
+ range: {
59730
+ pattern: /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,
59731
+ alias: 'number'
59732
+ },
59733
+ terminal: {
59734
+ pattern:
59735
+ /%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,
59736
+ alias: 'number'
59737
+ },
59738
+ repetition: {
59739
+ pattern: /(^|[^\w-])(?:\d*\*\d*|\d+)/,
59740
+ lookbehind: true,
59741
+ alias: 'operator'
59742
+ },
59743
+ definition: {
59744
+ pattern: /(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,
59745
+ lookbehind: true,
59746
+ alias: 'keyword',
59747
+ inside: {
59748
+ punctuation: /<|>/
59749
+ }
59750
+ },
59751
+ 'core-rule': {
59752
+ pattern: RegExp(
59753
+ '(?:(^|[^<\\w-])' + coreRules + '|<' + coreRules + '>)(?![\\w-])',
59754
+ 'i'
59755
+ ),
59756
+ lookbehind: true,
59757
+ alias: ['rule', 'constant'],
59758
+ inside: {
59759
+ punctuation: /<|>/
59760
+ }
59761
+ },
59762
+ rule: {
59763
+ pattern: /(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,
59764
+ lookbehind: true,
59765
+ inside: {
59766
+ punctuation: /<|>/
59767
+ }
59768
+ },
59769
+ operator: /=\/?|\//,
59770
+ punctuation: /[()\[\]]/
59771
+ };
59772
+ })(Prism);
59773
+ }
59774
+ return abnf_1;
59766
59775
  }
59767
59776
 
59768
- var abnf$2 = /*#__PURE__*/_mergeNamespaces({
59769
- __proto__: null,
59770
- 'default': abnf_1
59771
- }, [abnf_1]);
59772
-
59773
59777
  var actionscript_1 = actionscript$1;
59774
59778
  actionscript$1.displayName = 'actionscript';
59775
59779
  actionscript$1.aliases = [];
@@ -60309,110 +60313,106 @@ var aql$1 = /*#__PURE__*/_mergeNamespaces({
60309
60313
  'default': aql_1
60310
60314
  }, [aql_1]);
60311
60315
 
60312
- var c_1;
60313
- var hasRequiredC;
60314
-
60315
- function requireC () {
60316
- if (hasRequiredC) return c_1;
60317
- hasRequiredC = 1;
60318
-
60319
- c_1 = c;
60320
- c.displayName = 'c';
60321
- c.aliases = [];
60322
- function c(Prism) {
60323
- Prism.languages.c = Prism.languages.extend('clike', {
60324
- comment: {
60325
- pattern:
60326
- /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
60327
- greedy: true
60328
- },
60329
- string: {
60330
- // https://en.cppreference.com/w/c/language/string_literal
60331
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
60332
- greedy: true
60333
- },
60334
- 'class-name': {
60335
- pattern:
60336
- /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
60337
- lookbehind: true
60338
- },
60339
- keyword:
60340
- /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,
60341
- function: /\b[a-z_]\w*(?=\s*\()/i,
60342
- number:
60343
- /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
60344
- operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
60345
- });
60346
- Prism.languages.insertBefore('c', 'string', {
60347
- char: {
60348
- // https://en.cppreference.com/w/c/language/character_constant
60349
- pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,
60350
- greedy: true
60351
- }
60352
- });
60353
- Prism.languages.insertBefore('c', 'string', {
60354
- macro: {
60355
- // allow for multiline macro definitions
60356
- // spaces after the # character compile fine with gcc
60357
- pattern:
60358
- /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
60359
- lookbehind: true,
60360
- greedy: true,
60361
- alias: 'property',
60362
- inside: {
60363
- string: [
60364
- {
60365
- // highlight the path of the include statement as a string
60366
- pattern: /^(#\s*include\s*)<[^>]+>/,
60367
- lookbehind: true
60368
- },
60369
- Prism.languages.c['string']
60370
- ],
60371
- char: Prism.languages.c['char'],
60372
- comment: Prism.languages.c['comment'],
60373
- 'macro-name': [
60374
- {
60375
- pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
60376
- lookbehind: true
60377
- },
60378
- {
60379
- pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
60380
- lookbehind: true,
60381
- alias: 'function'
60382
- }
60383
- ],
60384
- // highlight macro directives as keywords
60385
- directive: {
60386
- pattern: /^(#\s*)[a-z]+/,
60387
- lookbehind: true,
60388
- alias: 'keyword'
60389
- },
60390
- 'directive-hash': /^#/,
60391
- punctuation: /##|\\(?=[\r\n])/,
60392
- expression: {
60393
- pattern: /\S[\s\S]*/,
60394
- inside: Prism.languages.c
60395
- }
60396
- }
60397
- }
60398
- });
60399
- Prism.languages.insertBefore('c', 'function', {
60400
- // highlight predefined macros as constants
60401
- constant:
60402
- /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/
60403
- });
60404
- delete Prism.languages.c['boolean'];
60405
- }
60406
- return c_1;
60316
+ var c_1 = c$1;
60317
+ c$1.displayName = 'c';
60318
+ c$1.aliases = [];
60319
+ function c$1(Prism) {
60320
+ Prism.languages.c = Prism.languages.extend('clike', {
60321
+ comment: {
60322
+ pattern:
60323
+ /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
60324
+ greedy: true
60325
+ },
60326
+ string: {
60327
+ // https://en.cppreference.com/w/c/language/string_literal
60328
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
60329
+ greedy: true
60330
+ },
60331
+ 'class-name': {
60332
+ pattern:
60333
+ /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
60334
+ lookbehind: true
60335
+ },
60336
+ keyword:
60337
+ /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,
60338
+ function: /\b[a-z_]\w*(?=\s*\()/i,
60339
+ number:
60340
+ /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
60341
+ operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
60342
+ });
60343
+ Prism.languages.insertBefore('c', 'string', {
60344
+ char: {
60345
+ // https://en.cppreference.com/w/c/language/character_constant
60346
+ pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,
60347
+ greedy: true
60348
+ }
60349
+ });
60350
+ Prism.languages.insertBefore('c', 'string', {
60351
+ macro: {
60352
+ // allow for multiline macro definitions
60353
+ // spaces after the # character compile fine with gcc
60354
+ pattern:
60355
+ /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
60356
+ lookbehind: true,
60357
+ greedy: true,
60358
+ alias: 'property',
60359
+ inside: {
60360
+ string: [
60361
+ {
60362
+ // highlight the path of the include statement as a string
60363
+ pattern: /^(#\s*include\s*)<[^>]+>/,
60364
+ lookbehind: true
60365
+ },
60366
+ Prism.languages.c['string']
60367
+ ],
60368
+ char: Prism.languages.c['char'],
60369
+ comment: Prism.languages.c['comment'],
60370
+ 'macro-name': [
60371
+ {
60372
+ pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
60373
+ lookbehind: true
60374
+ },
60375
+ {
60376
+ pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
60377
+ lookbehind: true,
60378
+ alias: 'function'
60379
+ }
60380
+ ],
60381
+ // highlight macro directives as keywords
60382
+ directive: {
60383
+ pattern: /^(#\s*)[a-z]+/,
60384
+ lookbehind: true,
60385
+ alias: 'keyword'
60386
+ },
60387
+ 'directive-hash': /^#/,
60388
+ punctuation: /##|\\(?=[\r\n])/,
60389
+ expression: {
60390
+ pattern: /\S[\s\S]*/,
60391
+ inside: Prism.languages.c
60392
+ }
60393
+ }
60394
+ }
60395
+ });
60396
+ Prism.languages.insertBefore('c', 'function', {
60397
+ // highlight predefined macros as constants
60398
+ constant:
60399
+ /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/
60400
+ });
60401
+ delete Prism.languages.c['boolean'];
60407
60402
  }
60408
60403
 
60404
+ var c$2 = /*#__PURE__*/_mergeNamespaces({
60405
+ __proto__: null,
60406
+ 'default': c_1
60407
+ }, [c_1]);
60408
+
60409
60409
  var cpp_1;
60410
60410
  var hasRequiredCpp;
60411
60411
 
60412
60412
  function requireCpp () {
60413
60413
  if (hasRequiredCpp) return cpp_1;
60414
60414
  hasRequiredCpp = 1;
60415
- var refractorC = requireC();
60415
+ var refractorC = c_1;
60416
60416
  cpp_1 = cpp;
60417
60417
  cpp.displayName = 'cpp';
60418
60418
  cpp.aliases = [];
@@ -60533,12 +60533,12 @@ function requireCpp () {
60533
60533
  return cpp_1;
60534
60534
  }
60535
60535
 
60536
- var refractorCpp = requireCpp();
60536
+ var refractorCpp$1 = requireCpp();
60537
60537
  var arduino_1 = arduino$1;
60538
60538
  arduino$1.displayName = 'arduino';
60539
60539
  arduino$1.aliases = ['ino'];
60540
60540
  function arduino$1(Prism) {
60541
- Prism.register(refractorCpp);
60541
+ Prism.register(refractorCpp$1);
60542
60542
  Prism.languages.arduino = Prism.languages.extend('cpp', {
60543
60543
  keyword:
60544
60544
  /\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,
@@ -61539,1258 +61539,1196 @@ var autoit$2 = /*#__PURE__*/_mergeNamespaces({
61539
61539
  'default': autoit_1
61540
61540
  }, [autoit_1]);
61541
61541
 
61542
- var avisynth_1;
61543
- var hasRequiredAvisynth;
61544
-
61545
- function requireAvisynth () {
61546
- if (hasRequiredAvisynth) return avisynth_1;
61547
- hasRequiredAvisynth = 1;
61548
-
61549
- avisynth_1 = avisynth;
61550
- avisynth.displayName = 'avisynth';
61551
- avisynth.aliases = ['avs'];
61552
- function avisynth(Prism) {
61542
+ var avisynth_1 = avisynth;
61543
+ avisynth.displayName = 'avisynth';
61544
+ avisynth.aliases = ['avs'];
61545
+ function avisynth(Prism) {
61553
61546
  (function (Prism) {
61554
- function replace(pattern, replacements) {
61555
- return pattern.replace(/<<(\d+)>>/g, function (m, index) {
61556
- return replacements[+index]
61557
- })
61558
- }
61559
- function re(pattern, replacements, flags) {
61560
- return RegExp(replace(pattern, replacements), flags || '')
61561
- }
61562
- var types = /bool|clip|float|int|string|val/.source;
61563
- var internals = [
61564
- // bools
61565
- /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
61566
- .source, // control
61567
- /apply|assert|default|eval|import|nop|select|undefined/.source, // global
61568
- /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
61569
- .source, // conv
61570
- /hex(?:value)?|value/.source, // numeric
61571
- /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
61572
- .source, // trig
61573
- /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
61574
- /(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/
61575
- .source, // runtime
61576
- /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
61577
- .source, // script
61578
- /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
61579
- .source, // string
61580
- /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
61581
- .source, // version
61582
- /isversionorgreater|version(?:number|string)/.source, // helper
61583
- /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
61584
- /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
61585
- ].join('|');
61586
- var properties = [
61587
- // content
61588
- /has(?:audio|video)/.source, // resolution
61589
- /height|width/.source, // framerate
61590
- /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
61591
- /getparity|is(?:field|frame)based/.source, // color format
61592
- /bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/
61593
- .source, // audio
61594
- /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
61595
- .source
61596
- ].join('|');
61597
- var filters = [
61598
- // source
61599
- /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
61600
- .source, // color
61601
- /coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/
61602
- .source, // overlay
61603
- /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
61604
- /addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/
61605
- .source, // pixel
61606
- /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
61607
- .source, // timeline
61608
- /trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/
61609
- .source, // interlace
61610
- /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
61611
- .source, // audio
61612
- /amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/
61613
- .source, // conditional
61614
- /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
61615
- .source, // export
61616
- /imagewriter/.source, // debug
61617
- /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
61618
- .source
61619
- ].join('|');
61620
- var allinternals = [internals, properties, filters].join('|');
61621
- Prism.languages.avisynth = {
61622
- comment: [
61623
- {
61624
- // Matches [* *] nestable block comments, but only supports 1 level of nested comments
61625
- // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
61626
- pattern:
61627
- /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
61628
- lookbehind: true,
61629
- greedy: true
61630
- },
61631
- {
61632
- // Matches /* */ block comments
61633
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
61634
- lookbehind: true,
61635
- greedy: true
61636
- },
61637
- {
61638
- // Matches # comments
61639
- pattern: /(^|[^\\$])#.*/,
61640
- lookbehind: true,
61641
- greedy: true
61642
- }
61643
- ],
61644
- // Handle before strings because optional arguments are surrounded by double quotes
61645
- argument: {
61646
- pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
61647
- inside: {
61648
- keyword: /^\w+/
61649
- }
61650
- },
61651
- // Optional argument assignment
61652
- 'argument-label': {
61653
- pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
61654
- lookbehind: true,
61655
- inside: {
61656
- 'argument-name': {
61657
- pattern: /^\w+/,
61658
- alias: 'punctuation'
61659
- },
61660
- punctuation: /=$/
61661
- }
61662
- },
61663
- string: [
61664
- {
61665
- // triple double-quoted
61666
- pattern: /"""[\s\S]*?"""/,
61667
- greedy: true
61668
- },
61669
- {
61670
- // single double-quoted
61671
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
61672
- greedy: true,
61673
- inside: {
61674
- constant: {
61675
- // These *are* case-sensitive!
61676
- pattern:
61677
- /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
61678
- }
61679
- }
61680
- }
61681
- ],
61682
- // The special "last" variable that takes the value of the last implicitly returned clip
61683
- variable: /\b(?:last)\b/i,
61684
- boolean: /\b(?:false|no|true|yes)\b/i,
61685
- keyword:
61686
- /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
61687
- constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
61688
- // AviSynth's internal functions, filters, and properties
61689
- 'builtin-function': {
61690
- pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
61691
- alias: 'function'
61692
- },
61693
- 'type-cast': {
61694
- pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
61695
- alias: 'keyword'
61696
- },
61697
- // External/user-defined filters
61698
- function: {
61699
- pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
61700
- lookbehind: true
61701
- },
61702
- // Matches a \ as the first or last character on a line
61703
- 'line-continuation': {
61704
- pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
61705
- lookbehind: true,
61706
- alias: 'punctuation'
61707
- },
61708
- number:
61709
- /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
61710
- operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
61711
- punctuation: /[{}\[\]();,.]/
61712
- };
61713
- Prism.languages.avs = Prism.languages.avisynth;
61714
- })(Prism);
61715
- }
61716
- return avisynth_1;
61547
+ function replace(pattern, replacements) {
61548
+ return pattern.replace(/<<(\d+)>>/g, function (m, index) {
61549
+ return replacements[+index]
61550
+ })
61551
+ }
61552
+ function re(pattern, replacements, flags) {
61553
+ return RegExp(replace(pattern, replacements), flags || '')
61554
+ }
61555
+ var types = /bool|clip|float|int|string|val/.source;
61556
+ var internals = [
61557
+ // bools
61558
+ /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
61559
+ .source, // control
61560
+ /apply|assert|default|eval|import|nop|select|undefined/.source, // global
61561
+ /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
61562
+ .source, // conv
61563
+ /hex(?:value)?|value/.source, // numeric
61564
+ /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
61565
+ .source, // trig
61566
+ /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
61567
+ /(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/
61568
+ .source, // runtime
61569
+ /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
61570
+ .source, // script
61571
+ /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
61572
+ .source, // string
61573
+ /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
61574
+ .source, // version
61575
+ /isversionorgreater|version(?:number|string)/.source, // helper
61576
+ /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
61577
+ /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
61578
+ ].join('|');
61579
+ var properties = [
61580
+ // content
61581
+ /has(?:audio|video)/.source, // resolution
61582
+ /height|width/.source, // framerate
61583
+ /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
61584
+ /getparity|is(?:field|frame)based/.source, // color format
61585
+ /bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/
61586
+ .source, // audio
61587
+ /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
61588
+ .source
61589
+ ].join('|');
61590
+ var filters = [
61591
+ // source
61592
+ /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
61593
+ .source, // color
61594
+ /coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/
61595
+ .source, // overlay
61596
+ /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
61597
+ /addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/
61598
+ .source, // pixel
61599
+ /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
61600
+ .source, // timeline
61601
+ /trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/
61602
+ .source, // interlace
61603
+ /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
61604
+ .source, // audio
61605
+ /amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/
61606
+ .source, // conditional
61607
+ /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
61608
+ .source, // export
61609
+ /imagewriter/.source, // debug
61610
+ /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
61611
+ .source
61612
+ ].join('|');
61613
+ var allinternals = [internals, properties, filters].join('|');
61614
+ Prism.languages.avisynth = {
61615
+ comment: [
61616
+ {
61617
+ // Matches [* *] nestable block comments, but only supports 1 level of nested comments
61618
+ // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
61619
+ pattern:
61620
+ /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
61621
+ lookbehind: true,
61622
+ greedy: true
61623
+ },
61624
+ {
61625
+ // Matches /* */ block comments
61626
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
61627
+ lookbehind: true,
61628
+ greedy: true
61629
+ },
61630
+ {
61631
+ // Matches # comments
61632
+ pattern: /(^|[^\\$])#.*/,
61633
+ lookbehind: true,
61634
+ greedy: true
61635
+ }
61636
+ ],
61637
+ // Handle before strings because optional arguments are surrounded by double quotes
61638
+ argument: {
61639
+ pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
61640
+ inside: {
61641
+ keyword: /^\w+/
61642
+ }
61643
+ },
61644
+ // Optional argument assignment
61645
+ 'argument-label': {
61646
+ pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
61647
+ lookbehind: true,
61648
+ inside: {
61649
+ 'argument-name': {
61650
+ pattern: /^\w+/,
61651
+ alias: 'punctuation'
61652
+ },
61653
+ punctuation: /=$/
61654
+ }
61655
+ },
61656
+ string: [
61657
+ {
61658
+ // triple double-quoted
61659
+ pattern: /"""[\s\S]*?"""/,
61660
+ greedy: true
61661
+ },
61662
+ {
61663
+ // single double-quoted
61664
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
61665
+ greedy: true,
61666
+ inside: {
61667
+ constant: {
61668
+ // These *are* case-sensitive!
61669
+ pattern:
61670
+ /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
61671
+ }
61672
+ }
61673
+ }
61674
+ ],
61675
+ // The special "last" variable that takes the value of the last implicitly returned clip
61676
+ variable: /\b(?:last)\b/i,
61677
+ boolean: /\b(?:false|no|true|yes)\b/i,
61678
+ keyword:
61679
+ /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
61680
+ constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
61681
+ // AviSynth's internal functions, filters, and properties
61682
+ 'builtin-function': {
61683
+ pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
61684
+ alias: 'function'
61685
+ },
61686
+ 'type-cast': {
61687
+ pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
61688
+ alias: 'keyword'
61689
+ },
61690
+ // External/user-defined filters
61691
+ function: {
61692
+ pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
61693
+ lookbehind: true
61694
+ },
61695
+ // Matches a \ as the first or last character on a line
61696
+ 'line-continuation': {
61697
+ pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
61698
+ lookbehind: true,
61699
+ alias: 'punctuation'
61700
+ },
61701
+ number:
61702
+ /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
61703
+ operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
61704
+ punctuation: /[{}\[\]();,.]/
61705
+ };
61706
+ Prism.languages.avs = Prism.languages.avisynth;
61707
+ })(Prism);
61717
61708
  }
61718
61709
 
61719
- var avroIdl_1;
61720
- var hasRequiredAvroIdl;
61710
+ var avisynth$1 = /*#__PURE__*/_mergeNamespaces({
61711
+ __proto__: null,
61712
+ 'default': avisynth_1
61713
+ }, [avisynth_1]);
61714
+
61715
+ var avroIdl_1 = avroIdl;
61716
+ avroIdl.displayName = 'avroIdl';
61717
+ avroIdl.aliases = [];
61718
+ function avroIdl(Prism) {
61719
+ // GitHub: https://github.com/apache/avro
61720
+ // Docs: https://avro.apache.org/docs/current/idl.html
61721
+ Prism.languages['avro-idl'] = {
61722
+ comment: {
61723
+ pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
61724
+ greedy: true
61725
+ },
61726
+ string: {
61727
+ pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
61728
+ lookbehind: true,
61729
+ greedy: true
61730
+ },
61731
+ annotation: {
61732
+ pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
61733
+ greedy: true,
61734
+ alias: 'function'
61735
+ },
61736
+ 'function-identifier': {
61737
+ pattern: /`[^\r\n`]+`(?=\s*\()/,
61738
+ greedy: true,
61739
+ alias: 'function'
61740
+ },
61741
+ identifier: {
61742
+ pattern: /`[^\r\n`]+`/,
61743
+ greedy: true
61744
+ },
61745
+ 'class-name': {
61746
+ pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
61747
+ lookbehind: true,
61748
+ greedy: true
61749
+ },
61750
+ keyword:
61751
+ /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,
61752
+ function: /\b[a-z_]\w*(?=\s*\()/i,
61753
+ number: [
61754
+ {
61755
+ pattern:
61756
+ /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
61757
+ lookbehind: true
61758
+ },
61759
+ /-?\b(?:Infinity|NaN)\b/
61760
+ ],
61761
+ operator: /=/,
61762
+ punctuation: /[()\[\]{}<>.:,;-]/
61763
+ };
61764
+ Prism.languages.avdl = Prism.languages['avro-idl'];
61765
+ }
61721
61766
 
61722
- function requireAvroIdl () {
61723
- if (hasRequiredAvroIdl) return avroIdl_1;
61724
- hasRequiredAvroIdl = 1;
61767
+ var avroIdl$1 = /*#__PURE__*/_mergeNamespaces({
61768
+ __proto__: null,
61769
+ 'default': avroIdl_1
61770
+ }, [avroIdl_1]);
61725
61771
 
61726
- avroIdl_1 = avroIdl;
61727
- avroIdl.displayName = 'avroIdl';
61728
- avroIdl.aliases = [];
61729
- function avroIdl(Prism) {
61730
- // GitHub: https://github.com/apache/avro
61731
- // Docs: https://avro.apache.org/docs/current/idl.html
61732
- Prism.languages['avro-idl'] = {
61733
- comment: {
61734
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
61735
- greedy: true
61736
- },
61737
- string: {
61738
- pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
61739
- lookbehind: true,
61740
- greedy: true
61741
- },
61742
- annotation: {
61743
- pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
61744
- greedy: true,
61745
- alias: 'function'
61746
- },
61747
- 'function-identifier': {
61748
- pattern: /`[^\r\n`]+`(?=\s*\()/,
61749
- greedy: true,
61750
- alias: 'function'
61751
- },
61752
- identifier: {
61753
- pattern: /`[^\r\n`]+`/,
61754
- greedy: true
61755
- },
61756
- 'class-name': {
61757
- pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
61758
- lookbehind: true,
61759
- greedy: true
61760
- },
61761
- keyword:
61762
- /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,
61763
- function: /\b[a-z_]\w*(?=\s*\()/i,
61764
- number: [
61765
- {
61766
- pattern:
61767
- /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
61768
- lookbehind: true
61769
- },
61770
- /-?\b(?:Infinity|NaN)\b/
61771
- ],
61772
- operator: /=/,
61773
- punctuation: /[()\[\]{}<>.:,;-]/
61774
- };
61775
- Prism.languages.avdl = Prism.languages['avro-idl'];
61776
- }
61777
- return avroIdl_1;
61772
+ var bash_1 = bash$1;
61773
+ bash$1.displayName = 'bash';
61774
+ bash$1.aliases = ['shell'];
61775
+ function bash$1(Prism) {
61776
+ (function (Prism) {
61777
+ // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
61778
+ // + LC_ALL, RANDOM, REPLY, SECONDS.
61779
+ // + make sure PS1..4 are here as they are not always set,
61780
+ // - some useless things.
61781
+ var envVars =
61782
+ '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b';
61783
+ var commandAfterHeredoc = {
61784
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
61785
+ lookbehind: true,
61786
+ alias: 'punctuation',
61787
+ // this looks reasonably well in all themes
61788
+ inside: null // see below
61789
+ };
61790
+ var insideString = {
61791
+ bash: commandAfterHeredoc,
61792
+ environment: {
61793
+ pattern: RegExp('\\$' + envVars),
61794
+ alias: 'constant'
61795
+ },
61796
+ variable: [
61797
+ // [0]: Arithmetic Environment
61798
+ {
61799
+ pattern: /\$?\(\([\s\S]+?\)\)/,
61800
+ greedy: true,
61801
+ inside: {
61802
+ // If there is a $ sign at the beginning highlight $(( and )) as variable
61803
+ variable: [
61804
+ {
61805
+ pattern: /(^\$\(\([\s\S]+)\)\)/,
61806
+ lookbehind: true
61807
+ },
61808
+ /^\$\(\(/
61809
+ ],
61810
+ number:
61811
+ /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
61812
+ // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
61813
+ operator:
61814
+ /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
61815
+ // If there is no $ sign at the beginning highlight (( and )) as punctuation
61816
+ punctuation: /\(\(?|\)\)?|,|;/
61817
+ }
61818
+ }, // [1]: Command Substitution
61819
+ {
61820
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
61821
+ greedy: true,
61822
+ inside: {
61823
+ variable: /^\$\(|^`|\)$|`$/
61824
+ }
61825
+ }, // [2]: Brace expansion
61826
+ {
61827
+ pattern: /\$\{[^}]+\}/,
61828
+ greedy: true,
61829
+ inside: {
61830
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
61831
+ punctuation: /[\[\]]/,
61832
+ environment: {
61833
+ pattern: RegExp('(\\{)' + envVars),
61834
+ lookbehind: true,
61835
+ alias: 'constant'
61836
+ }
61837
+ }
61838
+ },
61839
+ /\$(?:\w+|[#?*!@$])/
61840
+ ],
61841
+ // Escape sequences from echo and printf's manuals, and escaped quotes.
61842
+ entity:
61843
+ /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
61844
+ };
61845
+ Prism.languages.bash = {
61846
+ shebang: {
61847
+ pattern: /^#!\s*\/.*/,
61848
+ alias: 'important'
61849
+ },
61850
+ comment: {
61851
+ pattern: /(^|[^"{\\$])#.*/,
61852
+ lookbehind: true
61853
+ },
61854
+ 'function-name': [
61855
+ // a) function foo {
61856
+ // b) foo() {
61857
+ // c) function foo() {
61858
+ // but not “foo {”
61859
+ {
61860
+ // a) and c)
61861
+ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
61862
+ lookbehind: true,
61863
+ alias: 'function'
61864
+ },
61865
+ {
61866
+ // b)
61867
+ pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
61868
+ alias: 'function'
61869
+ }
61870
+ ],
61871
+ // Highlight variable names as variables in for and select beginnings.
61872
+ 'for-or-select': {
61873
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
61874
+ alias: 'variable',
61875
+ lookbehind: true
61876
+ },
61877
+ // Highlight variable names as variables in the left-hand part
61878
+ // of assignments (“=” and “+=”).
61879
+ 'assign-left': {
61880
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
61881
+ inside: {
61882
+ environment: {
61883
+ pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
61884
+ lookbehind: true,
61885
+ alias: 'constant'
61886
+ }
61887
+ },
61888
+ alias: 'variable',
61889
+ lookbehind: true
61890
+ },
61891
+ string: [
61892
+ // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
61893
+ {
61894
+ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
61895
+ lookbehind: true,
61896
+ greedy: true,
61897
+ inside: insideString
61898
+ }, // Here-document with quotes around the tag
61899
+ // → No expansion (so no “inside”).
61900
+ {
61901
+ pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
61902
+ lookbehind: true,
61903
+ greedy: true,
61904
+ inside: {
61905
+ bash: commandAfterHeredoc
61906
+ }
61907
+ }, // “Normal” string
61908
+ {
61909
+ // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
61910
+ pattern:
61911
+ /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
61912
+ lookbehind: true,
61913
+ greedy: true,
61914
+ inside: insideString
61915
+ },
61916
+ {
61917
+ // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
61918
+ pattern: /(^|[^$\\])'[^']*'/,
61919
+ lookbehind: true,
61920
+ greedy: true
61921
+ },
61922
+ {
61923
+ // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
61924
+ pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
61925
+ greedy: true,
61926
+ inside: {
61927
+ entity: insideString.entity
61928
+ }
61929
+ }
61930
+ ],
61931
+ environment: {
61932
+ pattern: RegExp('\\$?' + envVars),
61933
+ alias: 'constant'
61934
+ },
61935
+ variable: insideString.variable,
61936
+ function: {
61937
+ pattern:
61938
+ /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
61939
+ lookbehind: true
61940
+ },
61941
+ keyword: {
61942
+ pattern:
61943
+ /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
61944
+ lookbehind: true
61945
+ },
61946
+ // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
61947
+ builtin: {
61948
+ pattern:
61949
+ /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
61950
+ lookbehind: true,
61951
+ // Alias added to make those easier to distinguish from strings.
61952
+ alias: 'class-name'
61953
+ },
61954
+ boolean: {
61955
+ pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
61956
+ lookbehind: true
61957
+ },
61958
+ 'file-descriptor': {
61959
+ pattern: /\B&\d\b/,
61960
+ alias: 'important'
61961
+ },
61962
+ operator: {
61963
+ // Lots of redirections here, but not just that.
61964
+ pattern:
61965
+ /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
61966
+ inside: {
61967
+ 'file-descriptor': {
61968
+ pattern: /^\d/,
61969
+ alias: 'important'
61970
+ }
61971
+ }
61972
+ },
61973
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
61974
+ number: {
61975
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
61976
+ lookbehind: true
61977
+ }
61978
+ };
61979
+ commandAfterHeredoc.inside = Prism.languages.bash;
61980
+ /* Patterns in command substitution. */
61981
+ var toBeCopied = [
61982
+ 'comment',
61983
+ 'function-name',
61984
+ 'for-or-select',
61985
+ 'assign-left',
61986
+ 'string',
61987
+ 'environment',
61988
+ 'function',
61989
+ 'keyword',
61990
+ 'builtin',
61991
+ 'boolean',
61992
+ 'file-descriptor',
61993
+ 'operator',
61994
+ 'punctuation',
61995
+ 'number'
61996
+ ];
61997
+ var inside = insideString.variable[1].inside;
61998
+ for (var i = 0; i < toBeCopied.length; i++) {
61999
+ inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
62000
+ }
62001
+ Prism.languages.shell = Prism.languages.bash;
62002
+ })(Prism);
61778
62003
  }
61779
62004
 
61780
- var bash_1;
61781
- var hasRequiredBash;
62005
+ var bash$2 = /*#__PURE__*/_mergeNamespaces({
62006
+ __proto__: null,
62007
+ 'default': bash_1
62008
+ }, [bash_1]);
62009
+
62010
+ var basic_1 = basic$1;
62011
+ basic$1.displayName = 'basic';
62012
+ basic$1.aliases = [];
62013
+ function basic$1(Prism) {
62014
+ Prism.languages.basic = {
62015
+ comment: {
62016
+ pattern: /(?:!|REM\b).+/i,
62017
+ inside: {
62018
+ keyword: /^REM/i
62019
+ }
62020
+ },
62021
+ string: {
62022
+ pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
62023
+ greedy: true
62024
+ },
62025
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62026
+ keyword:
62027
+ /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
62028
+ function:
62029
+ /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
62030
+ operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
62031
+ punctuation: /[,;:()]/
62032
+ };
62033
+ }
61782
62034
 
61783
- function requireBash () {
61784
- if (hasRequiredBash) return bash_1;
61785
- hasRequiredBash = 1;
62035
+ var basic$2 = /*#__PURE__*/_mergeNamespaces({
62036
+ __proto__: null,
62037
+ 'default': basic_1
62038
+ }, [basic_1]);
61786
62039
 
61787
- bash_1 = bash;
61788
- bash.displayName = 'bash';
61789
- bash.aliases = ['shell'];
61790
- function bash(Prism) {
62040
+ var batch_1 = batch;
62041
+ batch.displayName = 'batch';
62042
+ batch.aliases = [];
62043
+ function batch(Prism) {
61791
62044
  (function (Prism) {
61792
- // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
61793
- // + LC_ALL, RANDOM, REPLY, SECONDS.
61794
- // + make sure PS1..4 are here as they are not always set,
61795
- // - some useless things.
61796
- var envVars =
61797
- '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b';
61798
- var commandAfterHeredoc = {
61799
- pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
61800
- lookbehind: true,
61801
- alias: 'punctuation',
61802
- // this looks reasonably well in all themes
61803
- inside: null // see below
61804
- };
61805
- var insideString = {
61806
- bash: commandAfterHeredoc,
61807
- environment: {
61808
- pattern: RegExp('\\$' + envVars),
61809
- alias: 'constant'
61810
- },
61811
- variable: [
61812
- // [0]: Arithmetic Environment
61813
- {
61814
- pattern: /\$?\(\([\s\S]+?\)\)/,
61815
- greedy: true,
61816
- inside: {
61817
- // If there is a $ sign at the beginning highlight $(( and )) as variable
61818
- variable: [
61819
- {
61820
- pattern: /(^\$\(\([\s\S]+)\)\)/,
61821
- lookbehind: true
61822
- },
61823
- /^\$\(\(/
61824
- ],
61825
- number:
61826
- /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
61827
- // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
61828
- operator:
61829
- /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
61830
- // If there is no $ sign at the beginning highlight (( and )) as punctuation
61831
- punctuation: /\(\(?|\)\)?|,|;/
61832
- }
61833
- }, // [1]: Command Substitution
61834
- {
61835
- pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
61836
- greedy: true,
61837
- inside: {
61838
- variable: /^\$\(|^`|\)$|`$/
61839
- }
61840
- }, // [2]: Brace expansion
61841
- {
61842
- pattern: /\$\{[^}]+\}/,
61843
- greedy: true,
61844
- inside: {
61845
- operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
61846
- punctuation: /[\[\]]/,
61847
- environment: {
61848
- pattern: RegExp('(\\{)' + envVars),
61849
- lookbehind: true,
61850
- alias: 'constant'
61851
- }
61852
- }
61853
- },
61854
- /\$(?:\w+|[#?*!@$])/
61855
- ],
61856
- // Escape sequences from echo and printf's manuals, and escaped quotes.
61857
- entity:
61858
- /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
61859
- };
61860
- Prism.languages.bash = {
61861
- shebang: {
61862
- pattern: /^#!\s*\/.*/,
61863
- alias: 'important'
61864
- },
61865
- comment: {
61866
- pattern: /(^|[^"{\\$])#.*/,
61867
- lookbehind: true
61868
- },
61869
- 'function-name': [
61870
- // a) function foo {
61871
- // b) foo() {
61872
- // c) function foo() {
61873
- // but not “foo {”
61874
- {
61875
- // a) and c)
61876
- pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
61877
- lookbehind: true,
61878
- alias: 'function'
61879
- },
61880
- {
61881
- // b)
61882
- pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
61883
- alias: 'function'
61884
- }
61885
- ],
61886
- // Highlight variable names as variables in for and select beginnings.
61887
- 'for-or-select': {
61888
- pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
61889
- alias: 'variable',
61890
- lookbehind: true
61891
- },
61892
- // Highlight variable names as variables in the left-hand part
61893
- // of assignments (“=” and “+=”).
61894
- 'assign-left': {
61895
- pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
61896
- inside: {
61897
- environment: {
61898
- pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
61899
- lookbehind: true,
61900
- alias: 'constant'
61901
- }
61902
- },
61903
- alias: 'variable',
61904
- lookbehind: true
61905
- },
61906
- string: [
61907
- // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
61908
- {
61909
- pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
61910
- lookbehind: true,
61911
- greedy: true,
61912
- inside: insideString
61913
- }, // Here-document with quotes around the tag
61914
- // → No expansion (so no “inside”).
61915
- {
61916
- pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
61917
- lookbehind: true,
61918
- greedy: true,
61919
- inside: {
61920
- bash: commandAfterHeredoc
61921
- }
61922
- }, // “Normal” string
61923
- {
61924
- // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
61925
- pattern:
61926
- /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
61927
- lookbehind: true,
61928
- greedy: true,
61929
- inside: insideString
61930
- },
61931
- {
61932
- // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
61933
- pattern: /(^|[^$\\])'[^']*'/,
61934
- lookbehind: true,
61935
- greedy: true
61936
- },
61937
- {
61938
- // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
61939
- pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
61940
- greedy: true,
61941
- inside: {
61942
- entity: insideString.entity
61943
- }
61944
- }
61945
- ],
61946
- environment: {
61947
- pattern: RegExp('\\$?' + envVars),
61948
- alias: 'constant'
61949
- },
61950
- variable: insideString.variable,
61951
- function: {
61952
- pattern:
61953
- /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
61954
- lookbehind: true
61955
- },
61956
- keyword: {
61957
- pattern:
61958
- /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
61959
- lookbehind: true
61960
- },
61961
- // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
61962
- builtin: {
61963
- pattern:
61964
- /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
61965
- lookbehind: true,
61966
- // Alias added to make those easier to distinguish from strings.
61967
- alias: 'class-name'
61968
- },
61969
- boolean: {
61970
- pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
61971
- lookbehind: true
61972
- },
61973
- 'file-descriptor': {
61974
- pattern: /\B&\d\b/,
61975
- alias: 'important'
61976
- },
61977
- operator: {
61978
- // Lots of redirections here, but not just that.
61979
- pattern:
61980
- /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
61981
- inside: {
61982
- 'file-descriptor': {
61983
- pattern: /^\d/,
61984
- alias: 'important'
61985
- }
61986
- }
61987
- },
61988
- punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
61989
- number: {
61990
- pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
61991
- lookbehind: true
61992
- }
61993
- };
61994
- commandAfterHeredoc.inside = Prism.languages.bash;
61995
- /* Patterns in command substitution. */
61996
- var toBeCopied = [
61997
- 'comment',
61998
- 'function-name',
61999
- 'for-or-select',
62000
- 'assign-left',
62001
- 'string',
62002
- 'environment',
62003
- 'function',
62004
- 'keyword',
62005
- 'builtin',
62006
- 'boolean',
62007
- 'file-descriptor',
62008
- 'operator',
62009
- 'punctuation',
62010
- 'number'
62011
- ];
62012
- var inside = insideString.variable[1].inside;
62013
- for (var i = 0; i < toBeCopied.length; i++) {
62014
- inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
62015
- }
62016
- Prism.languages.shell = Prism.languages.bash;
62017
- })(Prism);
62018
- }
62019
- return bash_1;
62020
- }
62021
-
62022
- var basic_1;
62023
- var hasRequiredBasic;
62024
-
62025
- function requireBasic () {
62026
- if (hasRequiredBasic) return basic_1;
62027
- hasRequiredBasic = 1;
62028
-
62029
- basic_1 = basic;
62030
- basic.displayName = 'basic';
62031
- basic.aliases = [];
62032
- function basic(Prism) {
62033
- Prism.languages.basic = {
62034
- comment: {
62035
- pattern: /(?:!|REM\b).+/i,
62036
- inside: {
62037
- keyword: /^REM/i
62038
- }
62039
- },
62040
- string: {
62041
- pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
62042
- greedy: true
62043
- },
62044
- number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62045
- keyword:
62046
- /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
62047
- function:
62048
- /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
62049
- operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
62050
- punctuation: /[,;:()]/
62051
- };
62052
- }
62053
- return basic_1;
62045
+ var variable = /%%?[~:\w]+%?|!\S+!/;
62046
+ var parameter = {
62047
+ pattern: /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,
62048
+ alias: 'attr-name',
62049
+ inside: {
62050
+ punctuation: /:/
62051
+ }
62052
+ };
62053
+ var string = /"(?:[\\"]"|[^"])*"(?!")/;
62054
+ var number = /(?:\b|-)\d+\b/;
62055
+ Prism.languages.batch = {
62056
+ comment: [
62057
+ /^::.*/m,
62058
+ {
62059
+ pattern: /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62060
+ lookbehind: true
62061
+ }
62062
+ ],
62063
+ label: {
62064
+ pattern: /^:.*/m,
62065
+ alias: 'property'
62066
+ },
62067
+ command: [
62068
+ {
62069
+ // FOR command
62070
+ pattern:
62071
+ /((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,
62072
+ lookbehind: true,
62073
+ inside: {
62074
+ keyword: /\b(?:do|in)\b|^for\b/i,
62075
+ string: string,
62076
+ parameter: parameter,
62077
+ variable: variable,
62078
+ number: number,
62079
+ punctuation: /[()',]/
62080
+ }
62081
+ },
62082
+ {
62083
+ // IF command
62084
+ pattern:
62085
+ /((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,
62086
+ lookbehind: true,
62087
+ inside: {
62088
+ keyword:
62089
+ /\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,
62090
+ string: string,
62091
+ parameter: parameter,
62092
+ variable: variable,
62093
+ number: number,
62094
+ operator: /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i
62095
+ }
62096
+ },
62097
+ {
62098
+ // ELSE command
62099
+ pattern: /((?:^|[&()])[ \t]*)else\b/im,
62100
+ lookbehind: true,
62101
+ inside: {
62102
+ keyword: /^else\b/i
62103
+ }
62104
+ },
62105
+ {
62106
+ // SET command
62107
+ pattern:
62108
+ /((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62109
+ lookbehind: true,
62110
+ inside: {
62111
+ keyword: /^set\b/i,
62112
+ string: string,
62113
+ parameter: parameter,
62114
+ variable: [variable, /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],
62115
+ number: number,
62116
+ operator: /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,
62117
+ punctuation: /[()',]/
62118
+ }
62119
+ },
62120
+ {
62121
+ // Other commands
62122
+ pattern:
62123
+ /((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,
62124
+ lookbehind: true,
62125
+ inside: {
62126
+ keyword: /^\w+\b/,
62127
+ string: string,
62128
+ parameter: parameter,
62129
+ label: {
62130
+ pattern: /(^\s*):\S+/m,
62131
+ lookbehind: true,
62132
+ alias: 'property'
62133
+ },
62134
+ variable: variable,
62135
+ number: number,
62136
+ operator: /\^/
62137
+ }
62138
+ }
62139
+ ],
62140
+ operator: /[&@]/,
62141
+ punctuation: /[()']/
62142
+ };
62143
+ })(Prism);
62054
62144
  }
62055
62145
 
62056
- var batch_1;
62057
- var hasRequiredBatch;
62058
-
62059
- function requireBatch () {
62060
- if (hasRequiredBatch) return batch_1;
62061
- hasRequiredBatch = 1;
62062
-
62063
- batch_1 = batch;
62064
- batch.displayName = 'batch';
62065
- batch.aliases = [];
62066
- function batch(Prism) {
62067
- (function (Prism) {
62068
- var variable = /%%?[~:\w]+%?|!\S+!/;
62069
- var parameter = {
62070
- pattern: /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,
62071
- alias: 'attr-name',
62072
- inside: {
62073
- punctuation: /:/
62074
- }
62075
- };
62076
- var string = /"(?:[\\"]"|[^"])*"(?!")/;
62077
- var number = /(?:\b|-)\d+\b/;
62078
- Prism.languages.batch = {
62079
- comment: [
62080
- /^::.*/m,
62081
- {
62082
- pattern: /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62083
- lookbehind: true
62084
- }
62085
- ],
62086
- label: {
62087
- pattern: /^:.*/m,
62088
- alias: 'property'
62089
- },
62090
- command: [
62091
- {
62092
- // FOR command
62093
- pattern:
62094
- /((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,
62095
- lookbehind: true,
62096
- inside: {
62097
- keyword: /\b(?:do|in)\b|^for\b/i,
62098
- string: string,
62099
- parameter: parameter,
62100
- variable: variable,
62101
- number: number,
62102
- punctuation: /[()',]/
62103
- }
62104
- },
62105
- {
62106
- // IF command
62107
- pattern:
62108
- /((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,
62109
- lookbehind: true,
62110
- inside: {
62111
- keyword:
62112
- /\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,
62113
- string: string,
62114
- parameter: parameter,
62115
- variable: variable,
62116
- number: number,
62117
- operator: /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i
62118
- }
62119
- },
62120
- {
62121
- // ELSE command
62122
- pattern: /((?:^|[&()])[ \t]*)else\b/im,
62123
- lookbehind: true,
62124
- inside: {
62125
- keyword: /^else\b/i
62126
- }
62127
- },
62128
- {
62129
- // SET command
62130
- pattern:
62131
- /((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62132
- lookbehind: true,
62133
- inside: {
62134
- keyword: /^set\b/i,
62135
- string: string,
62136
- parameter: parameter,
62137
- variable: [variable, /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],
62138
- number: number,
62139
- operator: /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,
62140
- punctuation: /[()',]/
62141
- }
62142
- },
62143
- {
62144
- // Other commands
62145
- pattern:
62146
- /((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,
62147
- lookbehind: true,
62148
- inside: {
62149
- keyword: /^\w+\b/,
62150
- string: string,
62151
- parameter: parameter,
62152
- label: {
62153
- pattern: /(^\s*):\S+/m,
62154
- lookbehind: true,
62155
- alias: 'property'
62156
- },
62157
- variable: variable,
62158
- number: number,
62159
- operator: /\^/
62160
- }
62161
- }
62162
- ],
62163
- operator: /[&@]/,
62164
- punctuation: /[()']/
62165
- };
62166
- })(Prism);
62167
- }
62168
- return batch_1;
62146
+ var batch$1 = /*#__PURE__*/_mergeNamespaces({
62147
+ __proto__: null,
62148
+ 'default': batch_1
62149
+ }, [batch_1]);
62150
+
62151
+ var bbcode_1 = bbcode;
62152
+ bbcode.displayName = 'bbcode';
62153
+ bbcode.aliases = ['shortcode'];
62154
+ function bbcode(Prism) {
62155
+ Prism.languages.bbcode = {
62156
+ tag: {
62157
+ pattern:
62158
+ /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
62159
+ inside: {
62160
+ tag: {
62161
+ pattern: /^\[\/?[^\s=\]]+/,
62162
+ inside: {
62163
+ punctuation: /^\[\/?/
62164
+ }
62165
+ },
62166
+ 'attr-value': {
62167
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
62168
+ inside: {
62169
+ punctuation: [
62170
+ /^=/,
62171
+ {
62172
+ pattern: /^(\s*)["']|["']$/,
62173
+ lookbehind: true
62174
+ }
62175
+ ]
62176
+ }
62177
+ },
62178
+ punctuation: /\]/,
62179
+ 'attr-name': /[^\s=\]]+/
62180
+ }
62181
+ }
62182
+ };
62183
+ Prism.languages.shortcode = Prism.languages.bbcode;
62169
62184
  }
62170
62185
 
62171
- var bbcode_1;
62172
- var hasRequiredBbcode;
62173
-
62174
- function requireBbcode () {
62175
- if (hasRequiredBbcode) return bbcode_1;
62176
- hasRequiredBbcode = 1;
62177
-
62178
- bbcode_1 = bbcode;
62179
- bbcode.displayName = 'bbcode';
62180
- bbcode.aliases = ['shortcode'];
62181
- function bbcode(Prism) {
62182
- Prism.languages.bbcode = {
62183
- tag: {
62184
- pattern:
62185
- /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
62186
- inside: {
62187
- tag: {
62188
- pattern: /^\[\/?[^\s=\]]+/,
62189
- inside: {
62190
- punctuation: /^\[\/?/
62191
- }
62192
- },
62193
- 'attr-value': {
62194
- pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
62195
- inside: {
62196
- punctuation: [
62197
- /^=/,
62198
- {
62199
- pattern: /^(\s*)["']|["']$/,
62200
- lookbehind: true
62201
- }
62202
- ]
62203
- }
62204
- },
62205
- punctuation: /\]/,
62206
- 'attr-name': /[^\s=\]]+/
62207
- }
62208
- }
62209
- };
62210
- Prism.languages.shortcode = Prism.languages.bbcode;
62211
- }
62212
- return bbcode_1;
62186
+ var bbcode$1 = /*#__PURE__*/_mergeNamespaces({
62187
+ __proto__: null,
62188
+ 'default': bbcode_1
62189
+ }, [bbcode_1]);
62190
+
62191
+ var bicep_1 = bicep;
62192
+ bicep.displayName = 'bicep';
62193
+ bicep.aliases = [];
62194
+ function bicep(Prism) {
62195
+ // based loosely upon: https://github.com/Azure/bicep/blob/main/src/textmate/bicep.tmlanguage
62196
+ Prism.languages.bicep = {
62197
+ comment: [
62198
+ {
62199
+ // multiline comments eg /* ASDF */
62200
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62201
+ lookbehind: true,
62202
+ greedy: true
62203
+ },
62204
+ {
62205
+ // singleline comments eg // ASDF
62206
+ pattern: /(^|[^\\:])\/\/.*/,
62207
+ lookbehind: true,
62208
+ greedy: true
62209
+ }
62210
+ ],
62211
+ property: [
62212
+ {
62213
+ pattern: /([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,
62214
+ lookbehind: true
62215
+ },
62216
+ {
62217
+ pattern: /([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,
62218
+ lookbehind: true,
62219
+ greedy: true
62220
+ }
62221
+ ],
62222
+ string: [
62223
+ {
62224
+ pattern: /'''[^'][\s\S]*?'''/,
62225
+ greedy: true
62226
+ },
62227
+ {
62228
+ pattern: /(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,
62229
+ lookbehind: true,
62230
+ greedy: true
62231
+ }
62232
+ ],
62233
+ 'interpolated-string': {
62234
+ pattern: /(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,
62235
+ lookbehind: true,
62236
+ greedy: true,
62237
+ inside: {
62238
+ interpolation: {
62239
+ pattern: /\$\{[^{}\r\n]*\}/,
62240
+ inside: {
62241
+ expression: {
62242
+ pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62243
+ lookbehind: true
62244
+ },
62245
+ punctuation: /^\$\{|\}$/
62246
+ }
62247
+ },
62248
+ string: /[\s\S]+/
62249
+ }
62250
+ },
62251
+ datatype: {
62252
+ pattern: /(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,
62253
+ lookbehind: true,
62254
+ alias: 'class-name'
62255
+ },
62256
+ boolean: /\b(?:false|true)\b/,
62257
+ // https://github.com/Azure/bicep/blob/114a3251b4e6e30082a58729f19a8cc4e374ffa6/src/textmate/bicep.tmlanguage#L184
62258
+ keyword:
62259
+ /\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,
62260
+ decorator: /@\w+\b/,
62261
+ function: /\b[a-z_]\w*(?=[ \t]*\()/i,
62262
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62263
+ operator:
62264
+ /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,
62265
+ punctuation: /[{}[\];(),.:]/
62266
+ };
62267
+ Prism.languages.bicep['interpolated-string'].inside['interpolation'].inside[
62268
+ 'expression'
62269
+ ].inside = Prism.languages.bicep;
62213
62270
  }
62214
62271
 
62215
- var bicep_1;
62216
- var hasRequiredBicep;
62217
-
62218
- function requireBicep () {
62219
- if (hasRequiredBicep) return bicep_1;
62220
- hasRequiredBicep = 1;
62221
-
62222
- bicep_1 = bicep;
62223
- bicep.displayName = 'bicep';
62224
- bicep.aliases = [];
62225
- function bicep(Prism) {
62226
- // based loosely upon: https://github.com/Azure/bicep/blob/main/src/textmate/bicep.tmlanguage
62227
- Prism.languages.bicep = {
62228
- comment: [
62229
- {
62230
- // multiline comments eg /* ASDF */
62231
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62232
- lookbehind: true,
62233
- greedy: true
62234
- },
62235
- {
62236
- // singleline comments eg // ASDF
62237
- pattern: /(^|[^\\:])\/\/.*/,
62238
- lookbehind: true,
62239
- greedy: true
62240
- }
62241
- ],
62242
- property: [
62243
- {
62244
- pattern: /([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,
62245
- lookbehind: true
62246
- },
62247
- {
62248
- pattern: /([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,
62249
- lookbehind: true,
62250
- greedy: true
62251
- }
62252
- ],
62253
- string: [
62254
- {
62255
- pattern: /'''[^'][\s\S]*?'''/,
62256
- greedy: true
62257
- },
62258
- {
62259
- pattern: /(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,
62260
- lookbehind: true,
62261
- greedy: true
62262
- }
62263
- ],
62264
- 'interpolated-string': {
62265
- pattern: /(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,
62266
- lookbehind: true,
62267
- greedy: true,
62268
- inside: {
62269
- interpolation: {
62270
- pattern: /\$\{[^{}\r\n]*\}/,
62271
- inside: {
62272
- expression: {
62273
- pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62274
- lookbehind: true
62275
- },
62276
- punctuation: /^\$\{|\}$/
62277
- }
62278
- },
62279
- string: /[\s\S]+/
62280
- }
62281
- },
62282
- datatype: {
62283
- pattern: /(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,
62284
- lookbehind: true,
62285
- alias: 'class-name'
62286
- },
62287
- boolean: /\b(?:false|true)\b/,
62288
- // https://github.com/Azure/bicep/blob/114a3251b4e6e30082a58729f19a8cc4e374ffa6/src/textmate/bicep.tmlanguage#L184
62289
- keyword:
62290
- /\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,
62291
- decorator: /@\w+\b/,
62292
- function: /\b[a-z_]\w*(?=[ \t]*\()/i,
62293
- number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62294
- operator:
62295
- /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,
62296
- punctuation: /[{}[\];(),.:]/
62297
- };
62298
- Prism.languages.bicep['interpolated-string'].inside['interpolation'].inside[
62299
- 'expression'
62300
- ].inside = Prism.languages.bicep;
62301
- }
62302
- return bicep_1;
62272
+ var bicep$1 = /*#__PURE__*/_mergeNamespaces({
62273
+ __proto__: null,
62274
+ 'default': bicep_1
62275
+ }, [bicep_1]);
62276
+
62277
+ var birb_1 = birb;
62278
+ birb.displayName = 'birb';
62279
+ birb.aliases = [];
62280
+ function birb(Prism) {
62281
+ Prism.languages.birb = Prism.languages.extend('clike', {
62282
+ string: {
62283
+ pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/,
62284
+ greedy: true
62285
+ },
62286
+ 'class-name': [
62287
+ /\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/, // matches variable and function return types (parameters as well).
62288
+ /\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/
62289
+ ],
62290
+ keyword:
62291
+ /\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,
62292
+ operator: /\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,
62293
+ variable: /\b[a-z_]\w*\b/
62294
+ });
62295
+ Prism.languages.insertBefore('birb', 'function', {
62296
+ metadata: {
62297
+ pattern: /<\w+>/,
62298
+ greedy: true,
62299
+ alias: 'symbol'
62300
+ }
62301
+ });
62303
62302
  }
62304
62303
 
62305
- var birb_1;
62306
- var hasRequiredBirb;
62307
-
62308
- function requireBirb () {
62309
- if (hasRequiredBirb) return birb_1;
62310
- hasRequiredBirb = 1;
62311
-
62312
- birb_1 = birb;
62313
- birb.displayName = 'birb';
62314
- birb.aliases = [];
62315
- function birb(Prism) {
62316
- Prism.languages.birb = Prism.languages.extend('clike', {
62317
- string: {
62318
- pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/,
62319
- greedy: true
62320
- },
62321
- 'class-name': [
62322
- /\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/, // matches variable and function return types (parameters as well).
62323
- /\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/
62324
- ],
62325
- keyword:
62326
- /\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,
62327
- operator: /\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,
62328
- variable: /\b[a-z_]\w*\b/
62329
- });
62330
- Prism.languages.insertBefore('birb', 'function', {
62331
- metadata: {
62332
- pattern: /<\w+>/,
62333
- greedy: true,
62334
- alias: 'symbol'
62335
- }
62336
- });
62337
- }
62338
- return birb_1;
62304
+ var birb$1 = /*#__PURE__*/_mergeNamespaces({
62305
+ __proto__: null,
62306
+ 'default': birb_1
62307
+ }, [birb_1]);
62308
+
62309
+ var refractorC = c_1;
62310
+ var bison_1 = bison;
62311
+ bison.displayName = 'bison';
62312
+ bison.aliases = [];
62313
+ function bison(Prism) {
62314
+ Prism.register(refractorC);
62315
+ Prism.languages.bison = Prism.languages.extend('c', {});
62316
+ Prism.languages.insertBefore('bison', 'comment', {
62317
+ bison: {
62318
+ // This should match all the beginning of the file
62319
+ // including the prologue(s), the bison declarations and
62320
+ // the grammar rules.
62321
+ pattern: /^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,
62322
+ inside: {
62323
+ c: {
62324
+ // Allow for one level of nested braces
62325
+ pattern: /%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,
62326
+ inside: {
62327
+ delimiter: {
62328
+ pattern: /^%?\{|%?\}$/,
62329
+ alias: 'punctuation'
62330
+ },
62331
+ 'bison-variable': {
62332
+ pattern: /[$@](?:<[^\s>]+>)?[\w$]+/,
62333
+ alias: 'variable',
62334
+ inside: {
62335
+ punctuation: /<|>/
62336
+ }
62337
+ },
62338
+ rest: Prism.languages.c
62339
+ }
62340
+ },
62341
+ comment: Prism.languages.c.comment,
62342
+ string: Prism.languages.c.string,
62343
+ property: /\S+(?=:)/,
62344
+ keyword: /%\w+/,
62345
+ number: {
62346
+ pattern: /(^|[^@])\b(?:0x[\da-f]+|\d+)/i,
62347
+ lookbehind: true
62348
+ },
62349
+ punctuation: /%[%?]|[|:;\[\]<>]/
62350
+ }
62351
+ }
62352
+ });
62339
62353
  }
62340
62354
 
62341
- var bison_1;
62342
- var hasRequiredBison;
62343
-
62344
- function requireBison () {
62345
- if (hasRequiredBison) return bison_1;
62346
- hasRequiredBison = 1;
62347
- var refractorC = requireC();
62348
- bison_1 = bison;
62349
- bison.displayName = 'bison';
62350
- bison.aliases = [];
62351
- function bison(Prism) {
62352
- Prism.register(refractorC);
62353
- Prism.languages.bison = Prism.languages.extend('c', {});
62354
- Prism.languages.insertBefore('bison', 'comment', {
62355
- bison: {
62356
- // This should match all the beginning of the file
62357
- // including the prologue(s), the bison declarations and
62358
- // the grammar rules.
62359
- pattern: /^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,
62360
- inside: {
62361
- c: {
62362
- // Allow for one level of nested braces
62363
- pattern: /%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,
62364
- inside: {
62365
- delimiter: {
62366
- pattern: /^%?\{|%?\}$/,
62367
- alias: 'punctuation'
62368
- },
62369
- 'bison-variable': {
62370
- pattern: /[$@](?:<[^\s>]+>)?[\w$]+/,
62371
- alias: 'variable',
62372
- inside: {
62373
- punctuation: /<|>/
62374
- }
62375
- },
62376
- rest: Prism.languages.c
62377
- }
62378
- },
62379
- comment: Prism.languages.c.comment,
62380
- string: Prism.languages.c.string,
62381
- property: /\S+(?=:)/,
62382
- keyword: /%\w+/,
62383
- number: {
62384
- pattern: /(^|[^@])\b(?:0x[\da-f]+|\d+)/i,
62385
- lookbehind: true
62386
- },
62387
- punctuation: /%[%?]|[|:;\[\]<>]/
62388
- }
62389
- }
62390
- });
62391
- }
62392
- return bison_1;
62355
+ var bison$1 = /*#__PURE__*/_mergeNamespaces({
62356
+ __proto__: null,
62357
+ 'default': bison_1
62358
+ }, [bison_1]);
62359
+
62360
+ var bnf_1 = bnf$1;
62361
+ bnf$1.displayName = 'bnf';
62362
+ bnf$1.aliases = ['rbnf'];
62363
+ function bnf$1(Prism) {
62364
+ Prism.languages.bnf = {
62365
+ string: {
62366
+ pattern: /"[^\r\n"]*"|'[^\r\n']*'/
62367
+ },
62368
+ definition: {
62369
+ pattern: /<[^<>\r\n\t]+>(?=\s*::=)/,
62370
+ alias: ['rule', 'keyword'],
62371
+ inside: {
62372
+ punctuation: /^<|>$/
62373
+ }
62374
+ },
62375
+ rule: {
62376
+ pattern: /<[^<>\r\n\t]+>/,
62377
+ inside: {
62378
+ punctuation: /^<|>$/
62379
+ }
62380
+ },
62381
+ operator: /::=|[|()[\]{}*+?]|\.{3}/
62382
+ };
62383
+ Prism.languages.rbnf = Prism.languages.bnf;
62393
62384
  }
62394
62385
 
62395
- var bnf_1;
62396
- var hasRequiredBnf;
62397
-
62398
- function requireBnf () {
62399
- if (hasRequiredBnf) return bnf_1;
62400
- hasRequiredBnf = 1;
62401
-
62402
- bnf_1 = bnf;
62403
- bnf.displayName = 'bnf';
62404
- bnf.aliases = ['rbnf'];
62405
- function bnf(Prism) {
62406
- Prism.languages.bnf = {
62407
- string: {
62408
- pattern: /"[^\r\n"]*"|'[^\r\n']*'/
62409
- },
62410
- definition: {
62411
- pattern: /<[^<>\r\n\t]+>(?=\s*::=)/,
62412
- alias: ['rule', 'keyword'],
62413
- inside: {
62414
- punctuation: /^<|>$/
62415
- }
62416
- },
62417
- rule: {
62418
- pattern: /<[^<>\r\n\t]+>/,
62419
- inside: {
62420
- punctuation: /^<|>$/
62421
- }
62422
- },
62423
- operator: /::=|[|()[\]{}*+?]|\.{3}/
62424
- };
62425
- Prism.languages.rbnf = Prism.languages.bnf;
62426
- }
62427
- return bnf_1;
62386
+ var bnf$2 = /*#__PURE__*/_mergeNamespaces({
62387
+ __proto__: null,
62388
+ 'default': bnf_1
62389
+ }, [bnf_1]);
62390
+
62391
+ var brainfuck_1 = brainfuck$1;
62392
+ brainfuck$1.displayName = 'brainfuck';
62393
+ brainfuck$1.aliases = [];
62394
+ function brainfuck$1(Prism) {
62395
+ Prism.languages.brainfuck = {
62396
+ pointer: {
62397
+ pattern: /<|>/,
62398
+ alias: 'keyword'
62399
+ },
62400
+ increment: {
62401
+ pattern: /\+/,
62402
+ alias: 'inserted'
62403
+ },
62404
+ decrement: {
62405
+ pattern: /-/,
62406
+ alias: 'deleted'
62407
+ },
62408
+ branching: {
62409
+ pattern: /\[|\]/,
62410
+ alias: 'important'
62411
+ },
62412
+ operator: /[.,]/,
62413
+ comment: /\S+/
62414
+ };
62428
62415
  }
62429
62416
 
62430
- var brainfuck_1;
62431
- var hasRequiredBrainfuck;
62432
-
62433
- function requireBrainfuck () {
62434
- if (hasRequiredBrainfuck) return brainfuck_1;
62435
- hasRequiredBrainfuck = 1;
62436
-
62437
- brainfuck_1 = brainfuck;
62438
- brainfuck.displayName = 'brainfuck';
62439
- brainfuck.aliases = [];
62440
- function brainfuck(Prism) {
62441
- Prism.languages.brainfuck = {
62442
- pointer: {
62443
- pattern: /<|>/,
62444
- alias: 'keyword'
62445
- },
62446
- increment: {
62447
- pattern: /\+/,
62448
- alias: 'inserted'
62449
- },
62450
- decrement: {
62451
- pattern: /-/,
62452
- alias: 'deleted'
62453
- },
62454
- branching: {
62455
- pattern: /\[|\]/,
62456
- alias: 'important'
62457
- },
62458
- operator: /[.,]/,
62459
- comment: /\S+/
62460
- };
62461
- }
62462
- return brainfuck_1;
62417
+ var brainfuck$2 = /*#__PURE__*/_mergeNamespaces({
62418
+ __proto__: null,
62419
+ 'default': brainfuck_1
62420
+ }, [brainfuck_1]);
62421
+
62422
+ var brightscript_1 = brightscript;
62423
+ brightscript.displayName = 'brightscript';
62424
+ brightscript.aliases = [];
62425
+ function brightscript(Prism) {
62426
+ Prism.languages.brightscript = {
62427
+ comment: /(?:\brem|').*/i,
62428
+ 'directive-statement': {
62429
+ pattern: /(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,
62430
+ lookbehind: true,
62431
+ alias: 'property',
62432
+ inside: {
62433
+ 'error-message': {
62434
+ pattern: /(^#error).+/,
62435
+ lookbehind: true
62436
+ },
62437
+ directive: {
62438
+ pattern: /^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,
62439
+ alias: 'keyword'
62440
+ },
62441
+ expression: {
62442
+ pattern: /[\s\S]+/,
62443
+ inside: null // see below
62444
+ }
62445
+ }
62446
+ },
62447
+ property: {
62448
+ pattern:
62449
+ /([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,
62450
+ lookbehind: true,
62451
+ greedy: true
62452
+ },
62453
+ string: {
62454
+ pattern: /"(?:[^"\r\n]|"")*"(?!")/,
62455
+ greedy: true
62456
+ },
62457
+ 'class-name': {
62458
+ pattern: /(\bAs[\t ]+)\w+/i,
62459
+ lookbehind: true
62460
+ },
62461
+ keyword:
62462
+ /\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,
62463
+ boolean: /\b(?:false|true)\b/i,
62464
+ function: /\b(?!\d)\w+(?=[\t ]*\()/,
62465
+ number: /(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,
62466
+ operator:
62467
+ /--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,
62468
+ punctuation: /[.,;()[\]{}]/,
62469
+ constant: /\b(?:LINE_NUM)\b/i
62470
+ };
62471
+ Prism.languages.brightscript['directive-statement'].inside.expression.inside =
62472
+ Prism.languages.brightscript;
62463
62473
  }
62464
62474
 
62465
- var brightscript_1;
62466
- var hasRequiredBrightscript;
62467
-
62468
- function requireBrightscript () {
62469
- if (hasRequiredBrightscript) return brightscript_1;
62470
- hasRequiredBrightscript = 1;
62471
-
62472
- brightscript_1 = brightscript;
62473
- brightscript.displayName = 'brightscript';
62474
- brightscript.aliases = [];
62475
- function brightscript(Prism) {
62476
- Prism.languages.brightscript = {
62477
- comment: /(?:\brem|').*/i,
62478
- 'directive-statement': {
62479
- pattern: /(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,
62480
- lookbehind: true,
62481
- alias: 'property',
62482
- inside: {
62483
- 'error-message': {
62484
- pattern: /(^#error).+/,
62485
- lookbehind: true
62486
- },
62487
- directive: {
62488
- pattern: /^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,
62489
- alias: 'keyword'
62490
- },
62491
- expression: {
62492
- pattern: /[\s\S]+/,
62493
- inside: null // see below
62494
- }
62495
- }
62496
- },
62497
- property: {
62498
- pattern:
62499
- /([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,
62500
- lookbehind: true,
62501
- greedy: true
62502
- },
62503
- string: {
62504
- pattern: /"(?:[^"\r\n]|"")*"(?!")/,
62505
- greedy: true
62506
- },
62507
- 'class-name': {
62508
- pattern: /(\bAs[\t ]+)\w+/i,
62509
- lookbehind: true
62510
- },
62511
- keyword:
62512
- /\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,
62513
- boolean: /\b(?:false|true)\b/i,
62514
- function: /\b(?!\d)\w+(?=[\t ]*\()/,
62515
- number: /(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,
62516
- operator:
62517
- /--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,
62518
- punctuation: /[.,;()[\]{}]/,
62519
- constant: /\b(?:LINE_NUM)\b/i
62520
- };
62521
- Prism.languages.brightscript['directive-statement'].inside.expression.inside =
62522
- Prism.languages.brightscript;
62523
- }
62524
- return brightscript_1;
62475
+ var brightscript$1 = /*#__PURE__*/_mergeNamespaces({
62476
+ __proto__: null,
62477
+ 'default': brightscript_1
62478
+ }, [brightscript_1]);
62479
+
62480
+ var bro_1 = bro;
62481
+ bro.displayName = 'bro';
62482
+ bro.aliases = [];
62483
+ function bro(Prism) {
62484
+ Prism.languages.bro = {
62485
+ comment: {
62486
+ pattern: /(^|[^\\$])#.*/,
62487
+ lookbehind: true,
62488
+ inside: {
62489
+ italic: /\b(?:FIXME|TODO|XXX)\b/
62490
+ }
62491
+ },
62492
+ string: {
62493
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
62494
+ greedy: true
62495
+ },
62496
+ boolean: /\b[TF]\b/,
62497
+ function: {
62498
+ pattern: /(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,
62499
+ lookbehind: true
62500
+ },
62501
+ builtin:
62502
+ /(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,
62503
+ constant: {
62504
+ pattern: /(\bconst[ \t]+)\w+/i,
62505
+ lookbehind: true
62506
+ },
62507
+ keyword:
62508
+ /\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,
62509
+ operator: /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,
62510
+ number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
62511
+ punctuation: /[{}[\];(),.:]/
62512
+ };
62525
62513
  }
62526
62514
 
62527
- var bro_1;
62528
- var hasRequiredBro;
62529
-
62530
- function requireBro () {
62531
- if (hasRequiredBro) return bro_1;
62532
- hasRequiredBro = 1;
62533
-
62534
- bro_1 = bro;
62535
- bro.displayName = 'bro';
62536
- bro.aliases = [];
62537
- function bro(Prism) {
62538
- Prism.languages.bro = {
62539
- comment: {
62540
- pattern: /(^|[^\\$])#.*/,
62541
- lookbehind: true,
62542
- inside: {
62543
- italic: /\b(?:FIXME|TODO|XXX)\b/
62544
- }
62545
- },
62546
- string: {
62547
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
62548
- greedy: true
62549
- },
62550
- boolean: /\b[TF]\b/,
62551
- function: {
62552
- pattern: /(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,
62553
- lookbehind: true
62554
- },
62555
- builtin:
62556
- /(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,
62557
- constant: {
62558
- pattern: /(\bconst[ \t]+)\w+/i,
62559
- lookbehind: true
62560
- },
62561
- keyword:
62562
- /\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,
62563
- operator: /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,
62564
- number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
62565
- punctuation: /[{}[\];(),.:]/
62566
- };
62567
- }
62568
- return bro_1;
62515
+ var bro$1 = /*#__PURE__*/_mergeNamespaces({
62516
+ __proto__: null,
62517
+ 'default': bro_1
62518
+ }, [bro_1]);
62519
+
62520
+ var bsl_1 = bsl;
62521
+ bsl.displayName = 'bsl';
62522
+ bsl.aliases = [];
62523
+ function bsl(Prism) {
62524
+ /* eslint-disable no-misleading-character-class */
62525
+ // 1C:Enterprise
62526
+ // https://github.com/Diversus23/
62527
+ //
62528
+ Prism.languages.bsl = {
62529
+ comment: /\/\/.*/,
62530
+ string: [
62531
+ // Строки
62532
+ // Strings
62533
+ {
62534
+ pattern: /"(?:[^"]|"")*"(?!")/,
62535
+ greedy: true
62536
+ }, // Дата и время
62537
+ // Date & time
62538
+ {
62539
+ pattern: /'(?:[^'\r\n\\]|\\.)*'/
62540
+ }
62541
+ ],
62542
+ keyword: [
62543
+ {
62544
+ // RU
62545
+ pattern:
62546
+ /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62547
+ lookbehind: true
62548
+ },
62549
+ {
62550
+ // EN
62551
+ pattern:
62552
+ /\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i
62553
+ }
62554
+ ],
62555
+ number: {
62556
+ pattern:
62557
+ /(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,
62558
+ lookbehind: true
62559
+ },
62560
+ operator: [
62561
+ /[<>+\-*/]=?|[%=]/, // RU
62562
+ {
62563
+ pattern:
62564
+ /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62565
+ lookbehind: true
62566
+ }, // EN
62567
+ {
62568
+ pattern: /\b(?:and|not|or)\b/i
62569
+ }
62570
+ ],
62571
+ punctuation: /\(\.|\.\)|[()\[\]:;,.]/,
62572
+ directive: [
62573
+ // Теги препроцессора вида &Клиент, &Сервер, ...
62574
+ // Preprocessor tags of the type &Client, &Server, ...
62575
+ {
62576
+ pattern: /^([ \t]*)&.*/m,
62577
+ lookbehind: true,
62578
+ greedy: true,
62579
+ alias: 'important'
62580
+ }, // Инструкции препроцессора вида:
62581
+ // #Если Сервер Тогда
62582
+ // ...
62583
+ // #КонецЕсли
62584
+ // Preprocessor instructions of the form:
62585
+ // #If Server Then
62586
+ // ...
62587
+ // #EndIf
62588
+ {
62589
+ pattern: /^([ \t]*)#.*/gm,
62590
+ lookbehind: true,
62591
+ greedy: true,
62592
+ alias: 'important'
62593
+ }
62594
+ ]
62595
+ };
62596
+ Prism.languages.oscript = Prism.languages['bsl'];
62569
62597
  }
62570
62598
 
62571
- var bsl_1;
62572
- var hasRequiredBsl;
62573
-
62574
- function requireBsl () {
62575
- if (hasRequiredBsl) return bsl_1;
62576
- hasRequiredBsl = 1;
62577
-
62578
- bsl_1 = bsl;
62579
- bsl.displayName = 'bsl';
62580
- bsl.aliases = [];
62581
- function bsl(Prism) {
62582
- /* eslint-disable no-misleading-character-class */
62583
- // 1C:Enterprise
62584
- // https://github.com/Diversus23/
62585
- //
62586
- Prism.languages.bsl = {
62587
- comment: /\/\/.*/,
62588
- string: [
62589
- // Строки
62590
- // Strings
62591
- {
62592
- pattern: /"(?:[^"]|"")*"(?!")/,
62593
- greedy: true
62594
- }, // Дата и время
62595
- // Date & time
62596
- {
62597
- pattern: /'(?:[^'\r\n\\]|\\.)*'/
62598
- }
62599
- ],
62600
- keyword: [
62601
- {
62602
- // RU
62603
- pattern:
62604
- /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62605
- lookbehind: true
62606
- },
62607
- {
62608
- // EN
62609
- pattern:
62610
- /\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i
62611
- }
62612
- ],
62613
- number: {
62614
- pattern:
62615
- /(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,
62616
- lookbehind: true
62617
- },
62618
- operator: [
62619
- /[<>+\-*/]=?|[%=]/, // RU
62620
- {
62621
- pattern:
62622
- /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62623
- lookbehind: true
62624
- }, // EN
62625
- {
62626
- pattern: /\b(?:and|not|or)\b/i
62627
- }
62628
- ],
62629
- punctuation: /\(\.|\.\)|[()\[\]:;,.]/,
62630
- directive: [
62631
- // Теги препроцессора вида &Клиент, &Сервер, ...
62632
- // Preprocessor tags of the type &Client, &Server, ...
62633
- {
62634
- pattern: /^([ \t]*)&.*/m,
62635
- lookbehind: true,
62636
- greedy: true,
62637
- alias: 'important'
62638
- }, // Инструкции препроцессора вида:
62639
- // #Если Сервер Тогда
62640
- // ...
62641
- // #КонецЕсли
62642
- // Preprocessor instructions of the form:
62643
- // #If Server Then
62644
- // ...
62645
- // #EndIf
62646
- {
62647
- pattern: /^([ \t]*)#.*/gm,
62648
- lookbehind: true,
62649
- greedy: true,
62650
- alias: 'important'
62651
- }
62652
- ]
62653
- };
62654
- Prism.languages.oscript = Prism.languages['bsl'];
62655
- }
62656
- return bsl_1;
62599
+ var bsl$1 = /*#__PURE__*/_mergeNamespaces({
62600
+ __proto__: null,
62601
+ 'default': bsl_1
62602
+ }, [bsl_1]);
62603
+
62604
+ var cfscript_1 = cfscript;
62605
+ cfscript.displayName = 'cfscript';
62606
+ cfscript.aliases = [];
62607
+ function cfscript(Prism) {
62608
+ // https://cfdocs.org/script
62609
+ Prism.languages.cfscript = Prism.languages.extend('clike', {
62610
+ comment: [
62611
+ {
62612
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62613
+ lookbehind: true,
62614
+ inside: {
62615
+ annotation: {
62616
+ pattern: /(?:^|[^.])@[\w\.]+/,
62617
+ alias: 'punctuation'
62618
+ }
62619
+ }
62620
+ },
62621
+ {
62622
+ pattern: /(^|[^\\:])\/\/.*/,
62623
+ lookbehind: true,
62624
+ greedy: true
62625
+ }
62626
+ ],
62627
+ keyword:
62628
+ /\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,
62629
+ operator: [
62630
+ /\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,
62631
+ /\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/
62632
+ ],
62633
+ scope: {
62634
+ pattern:
62635
+ /\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,
62636
+ alias: 'global'
62637
+ },
62638
+ type: {
62639
+ pattern:
62640
+ /\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,
62641
+ alias: 'builtin'
62642
+ }
62643
+ });
62644
+ Prism.languages.insertBefore('cfscript', 'keyword', {
62645
+ // This must be declared before keyword because we use "function" inside the lookahead
62646
+ 'function-variable': {
62647
+ pattern:
62648
+ /[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
62649
+ alias: 'function'
62650
+ }
62651
+ });
62652
+ delete Prism.languages.cfscript['class-name'];
62653
+ Prism.languages.cfc = Prism.languages['cfscript'];
62657
62654
  }
62658
62655
 
62659
- var cfscript_1;
62660
- var hasRequiredCfscript;
62661
-
62662
- function requireCfscript () {
62663
- if (hasRequiredCfscript) return cfscript_1;
62664
- hasRequiredCfscript = 1;
62656
+ var cfscript$1 = /*#__PURE__*/_mergeNamespaces({
62657
+ __proto__: null,
62658
+ 'default': cfscript_1
62659
+ }, [cfscript_1]);
62665
62660
 
62666
- cfscript_1 = cfscript;
62667
- cfscript.displayName = 'cfscript';
62668
- cfscript.aliases = [];
62669
- function cfscript(Prism) {
62670
- // https://cfdocs.org/script
62671
- Prism.languages.cfscript = Prism.languages.extend('clike', {
62672
- comment: [
62673
- {
62674
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62675
- lookbehind: true,
62676
- inside: {
62677
- annotation: {
62678
- pattern: /(?:^|[^.])@[\w\.]+/,
62679
- alias: 'punctuation'
62680
- }
62681
- }
62682
- },
62683
- {
62684
- pattern: /(^|[^\\:])\/\/.*/,
62685
- lookbehind: true,
62686
- greedy: true
62687
- }
62688
- ],
62689
- keyword:
62690
- /\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,
62691
- operator: [
62692
- /\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,
62693
- /\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/
62694
- ],
62695
- scope: {
62696
- pattern:
62697
- /\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,
62698
- alias: 'global'
62699
- },
62700
- type: {
62701
- pattern:
62702
- /\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,
62703
- alias: 'builtin'
62704
- }
62705
- });
62706
- Prism.languages.insertBefore('cfscript', 'keyword', {
62707
- // This must be declared before keyword because we use "function" inside the lookahead
62708
- 'function-variable': {
62709
- pattern:
62710
- /[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
62711
- alias: 'function'
62712
- }
62713
- });
62714
- delete Prism.languages.cfscript['class-name'];
62715
- Prism.languages.cfc = Prism.languages['cfscript'];
62716
- }
62717
- return cfscript_1;
62661
+ var refractorCpp = requireCpp();
62662
+ var chaiscript_1 = chaiscript;
62663
+ chaiscript.displayName = 'chaiscript';
62664
+ chaiscript.aliases = [];
62665
+ function chaiscript(Prism) {
62666
+ Prism.register(refractorCpp);
62667
+ Prism.languages.chaiscript = Prism.languages.extend('clike', {
62668
+ string: {
62669
+ pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,
62670
+ lookbehind: true,
62671
+ greedy: true
62672
+ },
62673
+ 'class-name': [
62674
+ {
62675
+ // e.g. class Rectangle { ... }
62676
+ pattern: /(\bclass\s+)\w+/,
62677
+ lookbehind: true
62678
+ },
62679
+ {
62680
+ // e.g. attr Rectangle::height, def Rectangle::area() { ... }
62681
+ pattern: /(\b(?:attr|def)\s+)\w+(?=\s*::)/,
62682
+ lookbehind: true
62683
+ }
62684
+ ],
62685
+ keyword:
62686
+ /\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,
62687
+ number: [Prism.languages.cpp.number, /\b(?:Infinity|NaN)\b/],
62688
+ operator:
62689
+ />>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/
62690
+ });
62691
+ Prism.languages.insertBefore('chaiscript', 'operator', {
62692
+ 'parameter-type': {
62693
+ // e.g. def foo(int x, Vector y) {...}
62694
+ pattern: /([,(]\s*)\w+(?=\s+\w)/,
62695
+ lookbehind: true,
62696
+ alias: 'class-name'
62697
+ }
62698
+ });
62699
+ Prism.languages.insertBefore('chaiscript', 'string', {
62700
+ 'string-interpolation': {
62701
+ pattern:
62702
+ /(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,
62703
+ lookbehind: true,
62704
+ greedy: true,
62705
+ inside: {
62706
+ interpolation: {
62707
+ pattern:
62708
+ /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,
62709
+ lookbehind: true,
62710
+ inside: {
62711
+ 'interpolation-expression': {
62712
+ pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62713
+ lookbehind: true,
62714
+ inside: Prism.languages.chaiscript
62715
+ },
62716
+ 'interpolation-punctuation': {
62717
+ pattern: /^\$\{|\}$/,
62718
+ alias: 'punctuation'
62719
+ }
62720
+ }
62721
+ },
62722
+ string: /[\s\S]+/
62723
+ }
62724
+ }
62725
+ });
62718
62726
  }
62719
62727
 
62720
- var chaiscript_1;
62721
- var hasRequiredChaiscript;
62722
-
62723
- function requireChaiscript () {
62724
- if (hasRequiredChaiscript) return chaiscript_1;
62725
- hasRequiredChaiscript = 1;
62726
- var refractorCpp = requireCpp();
62727
- chaiscript_1 = chaiscript;
62728
- chaiscript.displayName = 'chaiscript';
62729
- chaiscript.aliases = [];
62730
- function chaiscript(Prism) {
62731
- Prism.register(refractorCpp);
62732
- Prism.languages.chaiscript = Prism.languages.extend('clike', {
62733
- string: {
62734
- pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,
62735
- lookbehind: true,
62736
- greedy: true
62737
- },
62738
- 'class-name': [
62739
- {
62740
- // e.g. class Rectangle { ... }
62741
- pattern: /(\bclass\s+)\w+/,
62742
- lookbehind: true
62743
- },
62744
- {
62745
- // e.g. attr Rectangle::height, def Rectangle::area() { ... }
62746
- pattern: /(\b(?:attr|def)\s+)\w+(?=\s*::)/,
62747
- lookbehind: true
62748
- }
62749
- ],
62750
- keyword:
62751
- /\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,
62752
- number: [Prism.languages.cpp.number, /\b(?:Infinity|NaN)\b/],
62753
- operator:
62754
- />>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/
62755
- });
62756
- Prism.languages.insertBefore('chaiscript', 'operator', {
62757
- 'parameter-type': {
62758
- // e.g. def foo(int x, Vector y) {...}
62759
- pattern: /([,(]\s*)\w+(?=\s+\w)/,
62760
- lookbehind: true,
62761
- alias: 'class-name'
62762
- }
62763
- });
62764
- Prism.languages.insertBefore('chaiscript', 'string', {
62765
- 'string-interpolation': {
62766
- pattern:
62767
- /(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,
62768
- lookbehind: true,
62769
- greedy: true,
62770
- inside: {
62771
- interpolation: {
62772
- pattern:
62773
- /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,
62774
- lookbehind: true,
62775
- inside: {
62776
- 'interpolation-expression': {
62777
- pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62778
- lookbehind: true,
62779
- inside: Prism.languages.chaiscript
62780
- },
62781
- 'interpolation-punctuation': {
62782
- pattern: /^\$\{|\}$/,
62783
- alias: 'punctuation'
62784
- }
62785
- }
62786
- },
62787
- string: /[\s\S]+/
62788
- }
62789
- }
62790
- });
62791
- }
62792
- return chaiscript_1;
62793
- }
62728
+ var chaiscript$1 = /*#__PURE__*/_mergeNamespaces({
62729
+ __proto__: null,
62730
+ 'default': chaiscript_1
62731
+ }, [chaiscript_1]);
62794
62732
 
62795
62733
  var cil_1;
62796
62734
  var hasRequiredCil;
@@ -62828,54 +62766,50 @@ function requireCil () {
62828
62766
  return cil_1;
62829
62767
  }
62830
62768
 
62831
- var clojure_1;
62832
- var hasRequiredClojure;
62833
-
62834
- function requireClojure () {
62835
- if (hasRequiredClojure) return clojure_1;
62836
- hasRequiredClojure = 1;
62837
-
62838
- clojure_1 = clojure;
62839
- clojure.displayName = 'clojure';
62840
- clojure.aliases = [];
62841
- function clojure(Prism) {
62842
- // Copied from https://github.com/jeluard/prism-clojure
62843
- Prism.languages.clojure = {
62844
- comment: {
62845
- pattern: /;.*/,
62846
- greedy: true
62847
- },
62848
- string: {
62849
- pattern: /"(?:[^"\\]|\\.)*"/,
62850
- greedy: true
62851
- },
62852
- char: /\\\w+/,
62853
- symbol: {
62854
- pattern: /(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,
62855
- lookbehind: true
62856
- },
62857
- keyword: {
62858
- pattern:
62859
- /(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,
62860
- lookbehind: true
62861
- },
62862
- boolean: /\b(?:false|nil|true)\b/,
62863
- number: {
62864
- pattern:
62865
- /(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,
62866
- lookbehind: true
62867
- },
62868
- function: {
62869
- pattern: /((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,
62870
- lookbehind: true
62871
- },
62872
- operator: /[#@^`~]/,
62873
- punctuation: /[{}\[\](),]/
62874
- };
62875
- }
62876
- return clojure_1;
62769
+ var clojure_1 = clojure$1;
62770
+ clojure$1.displayName = 'clojure';
62771
+ clojure$1.aliases = [];
62772
+ function clojure$1(Prism) {
62773
+ // Copied from https://github.com/jeluard/prism-clojure
62774
+ Prism.languages.clojure = {
62775
+ comment: {
62776
+ pattern: /;.*/,
62777
+ greedy: true
62778
+ },
62779
+ string: {
62780
+ pattern: /"(?:[^"\\]|\\.)*"/,
62781
+ greedy: true
62782
+ },
62783
+ char: /\\\w+/,
62784
+ symbol: {
62785
+ pattern: /(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,
62786
+ lookbehind: true
62787
+ },
62788
+ keyword: {
62789
+ pattern:
62790
+ /(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,
62791
+ lookbehind: true
62792
+ },
62793
+ boolean: /\b(?:false|nil|true)\b/,
62794
+ number: {
62795
+ pattern:
62796
+ /(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,
62797
+ lookbehind: true
62798
+ },
62799
+ function: {
62800
+ pattern: /((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,
62801
+ lookbehind: true
62802
+ },
62803
+ operator: /[#@^`~]/,
62804
+ punctuation: /[{}\[\](),]/
62805
+ };
62877
62806
  }
62878
62807
 
62808
+ var clojure$2 = /*#__PURE__*/_mergeNamespaces({
62809
+ __proto__: null,
62810
+ 'default': clojure_1
62811
+ }, [clojure_1]);
62812
+
62879
62813
  var cmake_1;
62880
62814
  var hasRequiredCmake;
62881
62815
 
@@ -67278,7 +67212,7 @@ var hasRequiredGlsl;
67278
67212
  function requireGlsl () {
67279
67213
  if (hasRequiredGlsl) return glsl_1;
67280
67214
  hasRequiredGlsl = 1;
67281
- var refractorC = requireC();
67215
+ var refractorC = c_1;
67282
67216
  glsl_1 = glsl;
67283
67217
  glsl.displayName = 'glsl';
67284
67218
  glsl.aliases = [];
@@ -68252,7 +68186,7 @@ var hasRequiredHlsl;
68252
68186
  function requireHlsl () {
68253
68187
  if (hasRequiredHlsl) return hlsl_1;
68254
68188
  hasRequiredHlsl = 1;
68255
- var refractorC = requireC();
68189
+ var refractorC = c_1;
68256
68190
  hlsl_1 = hlsl;
68257
68191
  hlsl.displayName = 'hlsl';
68258
68192
  hlsl.aliases = [];
@@ -74785,7 +74719,7 @@ var hasRequiredObjectivec;
74785
74719
  function requireObjectivec () {
74786
74720
  if (hasRequiredObjectivec) return objectivec_1;
74787
74721
  hasRequiredObjectivec = 1;
74788
- var refractorC = requireC();
74722
+ var refractorC = c_1;
74789
74723
  objectivec_1 = objectivec;
74790
74724
  objectivec.displayName = 'objectivec';
74791
74725
  objectivec.aliases = ['objc'];
@@ -74883,7 +74817,7 @@ var hasRequiredOpencl;
74883
74817
  function requireOpencl () {
74884
74818
  if (hasRequiredOpencl) return opencl_1;
74885
74819
  hasRequiredOpencl = 1;
74886
- var refractorC = requireC();
74820
+ var refractorC = c_1;
74887
74821
  opencl_1 = opencl;
74888
74822
  opencl.displayName = 'opencl';
74889
74823
  opencl.aliases = [];
@@ -78755,7 +78689,7 @@ var hasRequiredShellSession;
78755
78689
  function requireShellSession () {
78756
78690
  if (hasRequiredShellSession) return shellSession_1;
78757
78691
  hasRequiredShellSession = 1;
78758
- var refractorBash = requireBash();
78692
+ var refractorBash = bash_1;
78759
78693
  shellSession_1 = shellSession;
78760
78694
  shellSession.displayName = 'shellSession';
78761
78695
  shellSession.aliases = [];
@@ -80222,7 +80156,7 @@ var hasRequiredVbnet;
80222
80156
  function requireVbnet () {
80223
80157
  if (hasRequiredVbnet) return vbnet_1;
80224
80158
  hasRequiredVbnet = 1;
80225
- var refractorBasic = requireBasic();
80159
+ var refractorBasic = basic_1;
80226
80160
  vbnet_1 = vbnet;
80227
80161
  vbnet.displayName = 'vbnet';
80228
80162
  vbnet.aliases = [];
@@ -82941,7 +82875,7 @@ var refractor = core;
82941
82875
  var refractor_1 = refractor;
82942
82876
 
82943
82877
  refractor.register(abap_1);
82944
- refractor.register(abnf_1);
82878
+ refractor.register(requireAbnf());
82945
82879
  refractor.register(actionscript_1);
82946
82880
  refractor.register(ada_1);
82947
82881
  refractor.register(agda_1);
@@ -82960,25 +82894,25 @@ refractor.register(asmatmel_1);
82960
82894
  refractor.register(aspnet_1);
82961
82895
  refractor.register(autohotkey_1);
82962
82896
  refractor.register(autoit_1);
82963
- refractor.register(requireAvisynth());
82964
- refractor.register(requireAvroIdl());
82965
- refractor.register(requireBash());
82966
- refractor.register(requireBasic());
82967
- refractor.register(requireBatch());
82968
- refractor.register(requireBbcode());
82969
- refractor.register(requireBicep());
82970
- refractor.register(requireBirb());
82971
- refractor.register(requireBison());
82972
- refractor.register(requireBnf());
82973
- refractor.register(requireBrainfuck());
82974
- refractor.register(requireBrightscript());
82975
- refractor.register(requireBro());
82976
- refractor.register(requireBsl());
82977
- refractor.register(requireC());
82978
- refractor.register(requireCfscript());
82979
- refractor.register(requireChaiscript());
82897
+ refractor.register(avisynth_1);
82898
+ refractor.register(avroIdl_1);
82899
+ refractor.register(bash_1);
82900
+ refractor.register(basic_1);
82901
+ refractor.register(batch_1);
82902
+ refractor.register(bbcode_1);
82903
+ refractor.register(bicep_1);
82904
+ refractor.register(birb_1);
82905
+ refractor.register(bison_1);
82906
+ refractor.register(bnf_1);
82907
+ refractor.register(brainfuck_1);
82908
+ refractor.register(brightscript_1);
82909
+ refractor.register(bro_1);
82910
+ refractor.register(bsl_1);
82911
+ refractor.register(c_1);
82912
+ refractor.register(cfscript_1);
82913
+ refractor.register(chaiscript_1);
82980
82914
  refractor.register(requireCil());
82981
- refractor.register(requireClojure());
82915
+ refractor.register(clojure_1);
82982
82916
  refractor.register(requireCmake());
82983
82917
  refractor.register(requireCobol());
82984
82918
  refractor.register(requireCoffeescript());
@@ -87288,7 +87222,7 @@ var CodeSnippet = function CodeSnippet(_ref) {
87288
87222
  subject: formData.subject,
87289
87223
  emails: ramda.pluck("value", formData.emails),
87290
87224
  message: (_ref7 = (cov_uqaajbocu().b[7][0]++, (_body$ref = body.ref) === null || _body$ref === void 0 ? void 0 : _body$ref.current.innerHTML)) !== null && _ref7 !== void 0 ? _ref7 : (cov_uqaajbocu().b[7][1]++, body),
87291
- snippet: codeString
87225
+ snippet: codeToDisplay
87292
87226
  });
87293
87227
  case 13:
87294
87228
  case "end":
@@ -90374,12 +90308,12 @@ var _1c = /*#__PURE__*/_mergeNamespaces({
90374
90308
  'default': _1cExports
90375
90309
  }, [_1cExports]);
90376
90310
 
90377
- var abnfExports = requireAbnf();
90311
+ var abnfExports$1 = requireAbnf$1();
90378
90312
 
90379
- var abnf = /*#__PURE__*/_mergeNamespaces({
90313
+ var abnf$1 = /*#__PURE__*/_mergeNamespaces({
90380
90314
  __proto__: null,
90381
- 'default': abnfExports
90382
- }, [abnfExports]);
90315
+ 'default': abnfExports$1
90316
+ }, [abnfExports$1]);
90383
90317
 
90384
90318
  var accesslogExports = requireAccesslog();
90385
90319
 
@@ -90493,33 +90427,33 @@ var axapta = /*#__PURE__*/_mergeNamespaces({
90493
90427
  'default': axaptaExports
90494
90428
  }, [axaptaExports]);
90495
90429
 
90496
- var bashExports$1 = requireBash$1();
90430
+ var bashExports = requireBash();
90497
90431
 
90498
- var bash$1 = /*#__PURE__*/_mergeNamespaces({
90432
+ var bash = /*#__PURE__*/_mergeNamespaces({
90499
90433
  __proto__: null,
90500
- 'default': bashExports$1
90501
- }, [bashExports$1]);
90434
+ 'default': bashExports
90435
+ }, [bashExports]);
90502
90436
 
90503
- var basicExports$1 = requireBasic$1();
90437
+ var basicExports = requireBasic();
90504
90438
 
90505
- var basic$1 = /*#__PURE__*/_mergeNamespaces({
90439
+ var basic = /*#__PURE__*/_mergeNamespaces({
90506
90440
  __proto__: null,
90507
- 'default': basicExports$1
90508
- }, [basicExports$1]);
90441
+ 'default': basicExports
90442
+ }, [basicExports]);
90509
90443
 
90510
- var bnfExports$1 = requireBnf$1();
90444
+ var bnfExports = requireBnf();
90511
90445
 
90512
- var bnf$1 = /*#__PURE__*/_mergeNamespaces({
90446
+ var bnf = /*#__PURE__*/_mergeNamespaces({
90513
90447
  __proto__: null,
90514
- 'default': bnfExports$1
90515
- }, [bnfExports$1]);
90448
+ 'default': bnfExports
90449
+ }, [bnfExports]);
90516
90450
 
90517
- var brainfuckExports$1 = requireBrainfuck$1();
90451
+ var brainfuckExports = requireBrainfuck();
90518
90452
 
90519
- var brainfuck$1 = /*#__PURE__*/_mergeNamespaces({
90453
+ var brainfuck = /*#__PURE__*/_mergeNamespaces({
90520
90454
  __proto__: null,
90521
- 'default': brainfuckExports$1
90522
- }, [brainfuckExports$1]);
90455
+ 'default': brainfuckExports
90456
+ }, [brainfuckExports]);
90523
90457
 
90524
90458
  var cLikeExports = requireCLike();
90525
90459
 
@@ -90528,12 +90462,12 @@ var cLike = /*#__PURE__*/_mergeNamespaces({
90528
90462
  'default': cLikeExports
90529
90463
  }, [cLikeExports]);
90530
90464
 
90531
- var cExports$1 = requireC$1();
90465
+ var cExports = requireC();
90532
90466
 
90533
- var c$1 = /*#__PURE__*/_mergeNamespaces({
90467
+ var c = /*#__PURE__*/_mergeNamespaces({
90534
90468
  __proto__: null,
90535
- 'default': cExports$1
90536
- }, [cExports$1]);
90469
+ 'default': cExports
90470
+ }, [cExports]);
90537
90471
 
90538
90472
  var calExports = requireCal();
90539
90473
 
@@ -90570,12 +90504,12 @@ var clojureRepl = /*#__PURE__*/_mergeNamespaces({
90570
90504
  'default': clojureReplExports
90571
90505
  }, [clojureReplExports]);
90572
90506
 
90573
- var clojureExports$1 = requireClojure$1();
90507
+ var clojureExports = requireClojure();
90574
90508
 
90575
- var clojure$1 = /*#__PURE__*/_mergeNamespaces({
90509
+ var clojure = /*#__PURE__*/_mergeNamespaces({
90576
90510
  __proto__: null,
90577
- 'default': clojureExports$1
90578
- }, [clojureExports$1]);
90511
+ 'default': clojureExports
90512
+ }, [clojureExports]);
90579
90513
 
90580
90514
  var cmakeExports$1 = requireCmake$1();
90581
90515
 
@@ -91704,124 +91638,12 @@ var zephir = /*#__PURE__*/_mergeNamespaces({
91704
91638
  'default': zephirExports
91705
91639
  }, [zephirExports]);
91706
91640
 
91707
- var avisynthExports = requireAvisynth();
91708
-
91709
- var avisynth = /*#__PURE__*/_mergeNamespaces({
91710
- __proto__: null,
91711
- 'default': avisynthExports
91712
- }, [avisynthExports]);
91713
-
91714
- var avroIdlExports = requireAvroIdl();
91715
-
91716
- var avroIdl = /*#__PURE__*/_mergeNamespaces({
91717
- __proto__: null,
91718
- 'default': avroIdlExports
91719
- }, [avroIdlExports]);
91720
-
91721
- var bashExports = requireBash();
91722
-
91723
- var bash = /*#__PURE__*/_mergeNamespaces({
91724
- __proto__: null,
91725
- 'default': bashExports
91726
- }, [bashExports]);
91727
-
91728
- var basicExports = requireBasic();
91729
-
91730
- var basic = /*#__PURE__*/_mergeNamespaces({
91731
- __proto__: null,
91732
- 'default': basicExports
91733
- }, [basicExports]);
91734
-
91735
- var batchExports = requireBatch();
91736
-
91737
- var batch = /*#__PURE__*/_mergeNamespaces({
91738
- __proto__: null,
91739
- 'default': batchExports
91740
- }, [batchExports]);
91741
-
91742
- var bbcodeExports = requireBbcode();
91743
-
91744
- var bbcode = /*#__PURE__*/_mergeNamespaces({
91745
- __proto__: null,
91746
- 'default': bbcodeExports
91747
- }, [bbcodeExports]);
91748
-
91749
- var bicepExports = requireBicep();
91750
-
91751
- var bicep = /*#__PURE__*/_mergeNamespaces({
91752
- __proto__: null,
91753
- 'default': bicepExports
91754
- }, [bicepExports]);
91755
-
91756
- var birbExports = requireBirb();
91757
-
91758
- var birb = /*#__PURE__*/_mergeNamespaces({
91759
- __proto__: null,
91760
- 'default': birbExports
91761
- }, [birbExports]);
91762
-
91763
- var bisonExports = requireBison();
91764
-
91765
- var bison = /*#__PURE__*/_mergeNamespaces({
91766
- __proto__: null,
91767
- 'default': bisonExports
91768
- }, [bisonExports]);
91769
-
91770
- var bnfExports = requireBnf();
91771
-
91772
- var bnf = /*#__PURE__*/_mergeNamespaces({
91773
- __proto__: null,
91774
- 'default': bnfExports
91775
- }, [bnfExports]);
91776
-
91777
- var brainfuckExports = requireBrainfuck();
91778
-
91779
- var brainfuck = /*#__PURE__*/_mergeNamespaces({
91780
- __proto__: null,
91781
- 'default': brainfuckExports
91782
- }, [brainfuckExports]);
91783
-
91784
- var brightscriptExports = requireBrightscript();
91785
-
91786
- var brightscript = /*#__PURE__*/_mergeNamespaces({
91787
- __proto__: null,
91788
- 'default': brightscriptExports
91789
- }, [brightscriptExports]);
91790
-
91791
- var broExports = requireBro();
91792
-
91793
- var bro = /*#__PURE__*/_mergeNamespaces({
91794
- __proto__: null,
91795
- 'default': broExports
91796
- }, [broExports]);
91797
-
91798
- var bslExports = requireBsl();
91799
-
91800
- var bsl = /*#__PURE__*/_mergeNamespaces({
91801
- __proto__: null,
91802
- 'default': bslExports
91803
- }, [bslExports]);
91804
-
91805
- var cExports = requireC();
91806
-
91807
- var c = /*#__PURE__*/_mergeNamespaces({
91808
- __proto__: null,
91809
- 'default': cExports
91810
- }, [cExports]);
91811
-
91812
- var cfscriptExports = requireCfscript();
91813
-
91814
- var cfscript = /*#__PURE__*/_mergeNamespaces({
91815
- __proto__: null,
91816
- 'default': cfscriptExports
91817
- }, [cfscriptExports]);
91818
-
91819
- var chaiscriptExports = requireChaiscript();
91641
+ var abnfExports = requireAbnf();
91820
91642
 
91821
- var chaiscript = /*#__PURE__*/_mergeNamespaces({
91643
+ var abnf = /*#__PURE__*/_mergeNamespaces({
91822
91644
  __proto__: null,
91823
- 'default': chaiscriptExports
91824
- }, [chaiscriptExports]);
91645
+ 'default': abnfExports
91646
+ }, [abnfExports]);
91825
91647
 
91826
91648
  var cilExports = requireCil();
91827
91649
 
@@ -91830,13 +91652,6 @@ var cil = /*#__PURE__*/_mergeNamespaces({
91830
91652
  'default': cilExports
91831
91653
  }, [cilExports]);
91832
91654
 
91833
- var clojureExports = requireClojure();
91834
-
91835
- var clojure = /*#__PURE__*/_mergeNamespaces({
91836
- __proto__: null,
91837
- 'default': clojureExports
91838
- }, [clojureExports]);
91839
-
91840
91655
  var cmakeExports = requireCmake();
91841
91656
 
91842
91657
  var cmake = /*#__PURE__*/_mergeNamespaces({