@bigbinary/neeto-commons-frontend 2.0.21 → 2.0.22

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.
@@ -1326,6 +1326,7 @@ var platform = platform$1.exports;
1326
1326
 
1327
1327
  var DEFAULT_MINIMUM_SUPPORTED_BROWSER_VERSIONS = {
1328
1328
  Chrome: 79,
1329
+ MicrosoftEdge: 104,
1329
1330
  Firefox: 91,
1330
1331
  IE: 11,
1331
1332
  Opera: 73,
@@ -1339,6 +1340,7 @@ var DEFAULT_MINIMUM_SUPPORTED_BROWSER_VERSIONS = {
1339
1340
  };
1340
1341
  var BROWSER_UPGRADE_PAGE_LINKS = {
1341
1342
  Chrome: "https://www.google.com/chrome/update",
1343
+ MicrosoftEdge: "https://support.microsoft.com/en-us/topic/microsoft-edge-update-settings-af8aaca2-1b69-4870-94fe-18822dbb7ef1#:~:text=Update%20once,Download%20and%20install%20to%20proceed",
1342
1344
  Firefox: "https://support.mozilla.org/en-US/kb/update-firefox-latest-release",
1343
1345
  IE: "https://support.microsoft.com/en-us/topic/microsoft-edge-update-settings-af8aaca2-1b69-4870-94fe-18822dbb7ef1#:~:text=Update%20once,Download%20and%20install%20to%20proceed",
1344
1346
  Opera: "https://help.opera.com/en/latest/crashes-and-issues/#updateBrowser",
@@ -1360,65 +1362,16 @@ var ContactUs = function ContactUs() {
1360
1362
  label: i18next.t("neetoCommons.browserSupport.contactUs.buttonLabel"),
1361
1363
  style: "link",
1362
1364
  onClick: function onClick() {
1363
- var _window, _window$NeetoChat;
1365
+ var _window, _window$NeetoChat, _window2, _window2$NeetoChat;
1364
1366
 
1365
- return (_window = window) === null || _window === void 0 ? void 0 : (_window$NeetoChat = _window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : _window$NeetoChat.contextualHelp.openWidget();
1367
+ (_window = window) === null || _window === void 0 ? void 0 : (_window$NeetoChat = _window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : _window$NeetoChat.contextualHelp.openWidget();
1368
+ (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$NeetoChat = _window2.NeetoChat) === null || _window2$NeetoChat === void 0 ? void 0 : _window2$NeetoChat.contextualHelp.maximizeWidget();
1366
1369
  }
1367
1370
  })
1368
1371
  }
1369
1372
  });
1370
1373
  };
1371
1374
 
1372
- var UnsupportedBrowser = function UnsupportedBrowser(_ref) {
1373
- var browserName = _ref.browserName,
1374
- browserVersion = _ref.browserVersion;
1375
- return /*#__PURE__*/React__default$1["default"].createElement(reactI18next.Trans, {
1376
- i18nKey: "neetoCommons.browserSupport.unsupportedBrowser",
1377
- components: {
1378
- contactUs: /*#__PURE__*/React__default$1["default"].createElement(ContactUs, null)
1379
- },
1380
- values: {
1381
- browserName: browserName,
1382
- browserVersion: browserVersion
1383
- }
1384
- });
1385
- };
1386
-
1387
- var DownloadLink = function DownloadLink(_ref) {
1388
- var link = _ref.link;
1389
- return /*#__PURE__*/React__default$1["default"].createElement(reactI18next.Trans, {
1390
- i18nKey: "neetoCommons.browserSupport.downloadLink.main",
1391
- components: {
1392
- button: /*#__PURE__*/React__default$1["default"].createElement(neetoui.Button, {
1393
- label: i18next.t("neetoCommons.browserSupport.downloadLink.buttonLabel"),
1394
- style: "link",
1395
- href: link
1396
- })
1397
- }
1398
- });
1399
- };
1400
-
1401
- var UnsupportedBrowserVersion = function UnsupportedBrowserVersion(_ref) {
1402
- var browserName = _ref.browserName,
1403
- browserVersion = _ref.browserVersion,
1404
- requiredMinBrowserVersion = _ref.requiredMinBrowserVersion,
1405
- downloadPageLink = _ref.downloadPageLink;
1406
- return /*#__PURE__*/React__default$1["default"].createElement(reactI18next.Trans, {
1407
- i18nKey: "neetoCommons.browserSupport.unsupportedBrowserVersion",
1408
- components: {
1409
- downloadLink: /*#__PURE__*/React__default$1["default"].createElement(DownloadLink, {
1410
- link: downloadPageLink
1411
- }),
1412
- contactUs: /*#__PURE__*/React__default$1["default"].createElement(ContactUs, null)
1413
- },
1414
- values: {
1415
- browserName: browserName,
1416
- browserVersion: browserVersion,
1417
- requiredMinBrowserVersion: requiredMinBrowserVersion
1418
- }
1419
- });
1420
- };
1421
-
1422
1375
  function _arrayWithHoles(arr) {
1423
1376
  if (Array.isArray(arr)) return arr;
1424
1377
  }
@@ -1503,6 +1456,59 @@ var buildDownloadPageLink = function buildDownloadPageLink(browserName) {
1503
1456
  var isBrowserNameInTheSupportedList = function isBrowserNameInTheSupportedList(browserName, supportedBrowserVersionsMap) {
1504
1457
  return !!supportedBrowserVersionsMap[convertToPlatformBrowserName(browserName)];
1505
1458
  };
1459
+ var getBrowserMajorVersion = function getBrowserMajorVersion(browserVersion) {
1460
+ return String(browserVersion).split(".")[0];
1461
+ };
1462
+
1463
+ var UnsupportedBrowser = function UnsupportedBrowser(_ref) {
1464
+ var browserName = _ref.browserName,
1465
+ browserVersion = _ref.browserVersion;
1466
+ return /*#__PURE__*/React__default$1["default"].createElement(reactI18next.Trans, {
1467
+ i18nKey: "neetoCommons.browserSupport.unsupportedBrowser",
1468
+ components: {
1469
+ contactUs: /*#__PURE__*/React__default$1["default"].createElement(ContactUs, null)
1470
+ },
1471
+ values: {
1472
+ browserName: browserName,
1473
+ browserVersion: getBrowserMajorVersion(browserVersion)
1474
+ }
1475
+ });
1476
+ };
1477
+
1478
+ var DownloadLink = function DownloadLink(_ref) {
1479
+ var link = _ref.link;
1480
+ return /*#__PURE__*/React__default$1["default"].createElement(reactI18next.Trans, {
1481
+ i18nKey: "neetoCommons.browserSupport.downloadLink.main",
1482
+ components: {
1483
+ button: /*#__PURE__*/React__default$1["default"].createElement(neetoui.Button, {
1484
+ label: i18next.t("neetoCommons.browserSupport.downloadLink.buttonLabel"),
1485
+ style: "link",
1486
+ href: link
1487
+ })
1488
+ }
1489
+ });
1490
+ };
1491
+
1492
+ var UnsupportedBrowserVersion = function UnsupportedBrowserVersion(_ref) {
1493
+ var browserName = _ref.browserName,
1494
+ browserVersion = _ref.browserVersion,
1495
+ requiredMinBrowserVersion = _ref.requiredMinBrowserVersion,
1496
+ downloadPageLink = _ref.downloadPageLink;
1497
+ return /*#__PURE__*/React__default$1["default"].createElement(reactI18next.Trans, {
1498
+ i18nKey: "neetoCommons.browserSupport.unsupportedBrowserVersion",
1499
+ components: {
1500
+ downloadLink: /*#__PURE__*/React__default$1["default"].createElement(DownloadLink, {
1501
+ link: downloadPageLink
1502
+ }),
1503
+ contactUs: /*#__PURE__*/React__default$1["default"].createElement(ContactUs, null)
1504
+ },
1505
+ values: {
1506
+ browserName: browserName,
1507
+ browserVersion: getBrowserMajorVersion(browserVersion),
1508
+ requiredMinBrowserVersion: getBrowserMajorVersion(requiredMinBrowserVersion)
1509
+ }
1510
+ });
1511
+ };
1506
1512
 
1507
1513
  var BrowserSupport = function BrowserSupport(_ref) {
1508
1514
  var _ref$overrides = _ref.overrides,
@@ -11926,11 +11932,11 @@ function requireXml () {
11926
11932
  * */
11927
11933
 
11928
11934
  var asciidoc_1$1;
11929
- var hasRequiredAsciidoc;
11935
+ var hasRequiredAsciidoc$1;
11930
11936
 
11931
- function requireAsciidoc () {
11932
- if (hasRequiredAsciidoc) return asciidoc_1$1;
11933
- hasRequiredAsciidoc = 1;
11937
+ function requireAsciidoc$1 () {
11938
+ if (hasRequiredAsciidoc$1) return asciidoc_1$1;
11939
+ hasRequiredAsciidoc$1 = 1;
11934
11940
  /**
11935
11941
  * @param {RegExp | string } re
11936
11942
  * @returns {string}
@@ -53807,7 +53813,7 @@ low.registerLanguage('arcade', requireArcade());
53807
53813
  low.registerLanguage('arduino', requireArduino());
53808
53814
  low.registerLanguage('armasm', requireArmasm());
53809
53815
  low.registerLanguage('xml', requireXml());
53810
- low.registerLanguage('asciidoc', requireAsciidoc());
53816
+ low.registerLanguage('asciidoc', requireAsciidoc$1());
53811
53817
  low.registerLanguage('aspectj', requireAspectj());
53812
53818
  low.registerLanguage(
53813
53819
  'autohotkey',
@@ -54778,7 +54784,7 @@ var languageLoaders$1 = {
54778
54784
  return Promise.resolve().then(function () { return armasm; });
54779
54785
  }),
54780
54786
  asciidoc: createLanguageAsyncLoader("asciidoc", function () {
54781
- return Promise.resolve().then(function () { return asciidoc; });
54787
+ return Promise.resolve().then(function () { return asciidoc$1; });
54782
54788
  }),
54783
54789
  aspectj: createLanguageAsyncLoader("aspectj", function () {
54784
54790
  return Promise.resolve().then(function () { return aspectj; });
@@ -55382,7 +55388,7 @@ var languageLoaders = {
55382
55388
  return Promise.resolve().then(function () { return arff$1; });
55383
55389
  }),
55384
55390
  asciidoc: createLanguageAsyncLoader("asciidoc", function () {
55385
- return Promise.resolve().then(function () { return asciidoc$2; });
55391
+ return Promise.resolve().then(function () { return asciidoc; });
55386
55392
  }),
55387
55393
  asm6502: createLanguageAsyncLoader("asm6502", function () {
55388
55394
  return Promise.resolve().then(function () { return asm6502$1; });
@@ -55400,7 +55406,7 @@ var languageLoaders = {
55400
55406
  return Promise.resolve().then(function () { return autoit$2; });
55401
55407
  }),
55402
55408
  avisynth: createLanguageAsyncLoader("avisynth", function () {
55403
- return Promise.resolve().then(function () { return avisynth; });
55409
+ return Promise.resolve().then(function () { return avisynth$1; });
55404
55410
  }),
55405
55411
  avroIdl: createLanguageAsyncLoader("avroIdl", function () {
55406
55412
  return Promise.resolve().then(function () { return avroIdl; });
@@ -65585,238 +65591,242 @@ var arff$1 = /*#__PURE__*/_mergeNamespaces({
65585
65591
  'default': arff_1
65586
65592
  }, [arff_1]);
65587
65593
 
65588
- var asciidoc_1 = asciidoc$1;
65589
- asciidoc$1.displayName = 'asciidoc';
65590
- asciidoc$1.aliases = ['adoc'];
65591
- function asciidoc$1(Prism) {
65594
+ var asciidoc_1;
65595
+ var hasRequiredAsciidoc;
65596
+
65597
+ function requireAsciidoc () {
65598
+ if (hasRequiredAsciidoc) return asciidoc_1;
65599
+ hasRequiredAsciidoc = 1;
65600
+
65601
+ asciidoc_1 = asciidoc;
65602
+ asciidoc.displayName = 'asciidoc';
65603
+ asciidoc.aliases = ['adoc'];
65604
+ function asciidoc(Prism) {
65592
65605
  (function (Prism) {
65593
- var attributes = {
65594
- pattern:
65595
- /(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,
65596
- lookbehind: true,
65597
- inside: {
65598
- quoted: {
65599
- pattern: /([$`])(?:(?!\1)[^\\]|\\.)*\1/,
65600
- inside: {
65601
- punctuation: /^[$`]|[$`]$/
65602
- }
65603
- },
65604
- interpreted: {
65605
- pattern: /'(?:[^'\\]|\\.)*'/,
65606
- inside: {
65607
- punctuation: /^'|'$/ // See rest below
65608
- }
65609
- },
65610
- string: /"(?:[^"\\]|\\.)*"/,
65611
- variable: /\w+(?==)/,
65612
- punctuation: /^\[|\]$|,/,
65613
- operator: /=/,
65614
- // The negative look-ahead prevents blank matches
65615
- 'attr-value': /(?!^\s+$).+/
65616
- }
65617
- };
65618
- var asciidoc = (Prism.languages.asciidoc = {
65619
- 'comment-block': {
65620
- pattern: /^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,
65621
- alias: 'comment'
65622
- },
65623
- table: {
65624
- pattern: /^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,
65625
- inside: {
65626
- specifiers: {
65627
- pattern:
65628
- /(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,
65629
- alias: 'attr-value'
65630
- },
65631
- punctuation: {
65632
- pattern: /(^|[^\\])[|!]=*/,
65633
- lookbehind: true
65634
- } // See rest below
65635
- }
65636
- },
65637
- 'passthrough-block': {
65638
- pattern: /^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
65639
- inside: {
65640
- punctuation: /^\++|\++$/ // See rest below
65641
- }
65642
- },
65643
- // Literal blocks and listing blocks
65644
- 'literal-block': {
65645
- pattern: /^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
65646
- inside: {
65647
- punctuation: /^(?:-+|\.+)|(?:-+|\.+)$/ // See rest below
65648
- }
65649
- },
65650
- // Sidebar blocks, quote blocks, example blocks and open blocks
65651
- 'other-block': {
65652
- pattern:
65653
- /^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
65654
- inside: {
65655
- punctuation: /^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/ // See rest below
65656
- }
65657
- },
65658
- // list-punctuation and list-label must appear before indented-block
65659
- 'list-punctuation': {
65660
- pattern:
65661
- /(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,
65662
- lookbehind: true,
65663
- alias: 'punctuation'
65664
- },
65665
- 'list-label': {
65666
- pattern: /(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,
65667
- lookbehind: true,
65668
- alias: 'symbol'
65669
- },
65670
- 'indented-block': {
65671
- pattern: /((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,
65672
- lookbehind: true
65673
- },
65674
- comment: /^\/\/.*/m,
65675
- title: {
65676
- pattern:
65677
- /^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,
65678
- alias: 'important',
65679
- inside: {
65680
- punctuation: /^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/ // See rest below
65681
- }
65682
- },
65683
- 'attribute-entry': {
65684
- pattern: /^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,
65685
- alias: 'tag'
65686
- },
65687
- attributes: attributes,
65688
- hr: {
65689
- pattern: /^'{3,}$/m,
65690
- alias: 'punctuation'
65691
- },
65692
- 'page-break': {
65693
- pattern: /^<{3,}$/m,
65694
- alias: 'punctuation'
65695
- },
65696
- admonition: {
65697
- pattern: /^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,
65698
- alias: 'keyword'
65699
- },
65700
- callout: [
65701
- {
65702
- pattern: /(^[ \t]*)<?\d*>/m,
65703
- lookbehind: true,
65704
- alias: 'symbol'
65705
- },
65706
- {
65707
- pattern: /<\d+>/,
65708
- alias: 'symbol'
65709
- }
65710
- ],
65711
- macro: {
65712
- pattern:
65713
- /\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
65714
- inside: {
65715
- function: /^[a-z\d-]+(?=:)/,
65716
- punctuation: /^::?/,
65717
- attributes: {
65718
- pattern: /(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
65719
- inside: attributes.inside
65720
- }
65721
- }
65722
- },
65723
- inline: {
65724
- /*
65725
- The initial look-behind prevents the highlighting of escaped quoted text.
65726
- Quoted text can be multi-line but cannot span an empty line.
65727
- All quoted text can have attributes before [foobar, 'foobar', baz="bar"].
65728
- First, we handle the constrained quotes.
65729
- Those must be bounded by non-word chars and cannot have spaces between the delimiter and the first char.
65730
- They are, in order: _emphasis_, ``double quotes'', `single quotes', `monospace`, 'emphasis', *strong*, +monospace+ and #unquoted#
65731
- Then we handle the unconstrained quotes.
65732
- Those do not have the restrictions of the constrained quotes.
65733
- They are, in order: __emphasis__, **strong**, ++monospace++, +++passthrough+++, ##unquoted##, $$passthrough$$, ~subscript~, ^superscript^, {attribute-reference}, [[anchor]], [[[bibliography anchor]]], <<xref>>, (((indexes))) and ((indexes))
65734
- */
65735
- pattern:
65736
- /(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,
65737
- lookbehind: true,
65738
- inside: {
65739
- attributes: attributes,
65740
- url: {
65741
- pattern: /^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,
65742
- inside: {
65743
- punctuation: /^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/
65744
- }
65745
- },
65746
- 'attribute-ref': {
65747
- pattern: /^\{.+\}$/,
65748
- inside: {
65749
- variable: {
65750
- pattern: /(^\{)[a-z\d,+_-]+/,
65751
- lookbehind: true
65752
- },
65753
- operator: /^[=?!#%@$]|!(?=[:}])/,
65754
- punctuation: /^\{|\}$|::?/
65755
- }
65756
- },
65757
- italic: {
65758
- pattern: /^(['_])[\s\S]+\1$/,
65759
- inside: {
65760
- punctuation: /^(?:''?|__?)|(?:''?|__?)$/
65761
- }
65762
- },
65763
- bold: {
65764
- pattern: /^\*[\s\S]+\*$/,
65765
- inside: {
65766
- punctuation: /^\*\*?|\*\*?$/
65767
- }
65768
- },
65769
- punctuation:
65770
- /^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/
65771
- }
65772
- },
65773
- replacement: {
65774
- pattern: /\((?:C|R|TM)\)/,
65775
- alias: 'builtin'
65776
- },
65777
- entity: /&#?[\da-z]{1,8};/i,
65778
- 'line-continuation': {
65779
- pattern: /(^| )\+$/m,
65780
- lookbehind: true,
65781
- alias: 'punctuation'
65782
- }
65783
- }); // Allow some nesting. There is no recursion though, so cloning should not be needed.
65784
- function copyFromAsciiDoc(keys) {
65785
- keys = keys.split(' ');
65786
- var o = {};
65787
- for (var i = 0, l = keys.length; i < l; i++) {
65788
- o[keys[i]] = asciidoc[keys[i]];
65789
- }
65790
- return o
65791
- }
65792
- attributes.inside['interpreted'].inside.rest = copyFromAsciiDoc(
65793
- 'macro inline replacement entity'
65794
- );
65795
- asciidoc['passthrough-block'].inside.rest = copyFromAsciiDoc('macro');
65796
- asciidoc['literal-block'].inside.rest = copyFromAsciiDoc('callout');
65797
- asciidoc['table'].inside.rest = copyFromAsciiDoc(
65798
- 'comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation'
65799
- );
65800
- asciidoc['other-block'].inside.rest = copyFromAsciiDoc(
65801
- 'table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation'
65802
- );
65803
- asciidoc['title'].inside.rest = copyFromAsciiDoc(
65804
- 'macro inline replacement entity'
65805
- ); // Plugin to make entity title show the real entity, idea by Roman Komarov
65806
- Prism.hooks.add('wrap', function (env) {
65807
- if (env.type === 'entity') {
65808
- env.attributes['title'] = env.content.value.replace(/&amp;/, '&');
65809
- }
65810
- });
65811
- Prism.languages.adoc = Prism.languages.asciidoc;
65812
- })(Prism);
65606
+ var attributes = {
65607
+ pattern:
65608
+ /(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,
65609
+ lookbehind: true,
65610
+ inside: {
65611
+ quoted: {
65612
+ pattern: /([$`])(?:(?!\1)[^\\]|\\.)*\1/,
65613
+ inside: {
65614
+ punctuation: /^[$`]|[$`]$/
65615
+ }
65616
+ },
65617
+ interpreted: {
65618
+ pattern: /'(?:[^'\\]|\\.)*'/,
65619
+ inside: {
65620
+ punctuation: /^'|'$/ // See rest below
65621
+ }
65622
+ },
65623
+ string: /"(?:[^"\\]|\\.)*"/,
65624
+ variable: /\w+(?==)/,
65625
+ punctuation: /^\[|\]$|,/,
65626
+ operator: /=/,
65627
+ // The negative look-ahead prevents blank matches
65628
+ 'attr-value': /(?!^\s+$).+/
65629
+ }
65630
+ };
65631
+ var asciidoc = (Prism.languages.asciidoc = {
65632
+ 'comment-block': {
65633
+ pattern: /^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,
65634
+ alias: 'comment'
65635
+ },
65636
+ table: {
65637
+ pattern: /^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,
65638
+ inside: {
65639
+ specifiers: {
65640
+ pattern:
65641
+ /(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,
65642
+ alias: 'attr-value'
65643
+ },
65644
+ punctuation: {
65645
+ pattern: /(^|[^\\])[|!]=*/,
65646
+ lookbehind: true
65647
+ } // See rest below
65648
+ }
65649
+ },
65650
+ 'passthrough-block': {
65651
+ pattern: /^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
65652
+ inside: {
65653
+ punctuation: /^\++|\++$/ // See rest below
65654
+ }
65655
+ },
65656
+ // Literal blocks and listing blocks
65657
+ 'literal-block': {
65658
+ pattern: /^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
65659
+ inside: {
65660
+ punctuation: /^(?:-+|\.+)|(?:-+|\.+)$/ // See rest below
65661
+ }
65662
+ },
65663
+ // Sidebar blocks, quote blocks, example blocks and open blocks
65664
+ 'other-block': {
65665
+ pattern:
65666
+ /^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
65667
+ inside: {
65668
+ punctuation: /^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/ // See rest below
65669
+ }
65670
+ },
65671
+ // list-punctuation and list-label must appear before indented-block
65672
+ 'list-punctuation': {
65673
+ pattern:
65674
+ /(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,
65675
+ lookbehind: true,
65676
+ alias: 'punctuation'
65677
+ },
65678
+ 'list-label': {
65679
+ pattern: /(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,
65680
+ lookbehind: true,
65681
+ alias: 'symbol'
65682
+ },
65683
+ 'indented-block': {
65684
+ pattern: /((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,
65685
+ lookbehind: true
65686
+ },
65687
+ comment: /^\/\/.*/m,
65688
+ title: {
65689
+ pattern:
65690
+ /^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,
65691
+ alias: 'important',
65692
+ inside: {
65693
+ punctuation: /^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/ // See rest below
65694
+ }
65695
+ },
65696
+ 'attribute-entry': {
65697
+ pattern: /^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,
65698
+ alias: 'tag'
65699
+ },
65700
+ attributes: attributes,
65701
+ hr: {
65702
+ pattern: /^'{3,}$/m,
65703
+ alias: 'punctuation'
65704
+ },
65705
+ 'page-break': {
65706
+ pattern: /^<{3,}$/m,
65707
+ alias: 'punctuation'
65708
+ },
65709
+ admonition: {
65710
+ pattern: /^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,
65711
+ alias: 'keyword'
65712
+ },
65713
+ callout: [
65714
+ {
65715
+ pattern: /(^[ \t]*)<?\d*>/m,
65716
+ lookbehind: true,
65717
+ alias: 'symbol'
65718
+ },
65719
+ {
65720
+ pattern: /<\d+>/,
65721
+ alias: 'symbol'
65722
+ }
65723
+ ],
65724
+ macro: {
65725
+ pattern:
65726
+ /\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
65727
+ inside: {
65728
+ function: /^[a-z\d-]+(?=:)/,
65729
+ punctuation: /^::?/,
65730
+ attributes: {
65731
+ pattern: /(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
65732
+ inside: attributes.inside
65733
+ }
65734
+ }
65735
+ },
65736
+ inline: {
65737
+ /*
65738
+ The initial look-behind prevents the highlighting of escaped quoted text.
65739
+ Quoted text can be multi-line but cannot span an empty line.
65740
+ All quoted text can have attributes before [foobar, 'foobar', baz="bar"].
65741
+ First, we handle the constrained quotes.
65742
+ Those must be bounded by non-word chars and cannot have spaces between the delimiter and the first char.
65743
+ They are, in order: _emphasis_, ``double quotes'', `single quotes', `monospace`, 'emphasis', *strong*, +monospace+ and #unquoted#
65744
+ Then we handle the unconstrained quotes.
65745
+ Those do not have the restrictions of the constrained quotes.
65746
+ They are, in order: __emphasis__, **strong**, ++monospace++, +++passthrough+++, ##unquoted##, $$passthrough$$, ~subscript~, ^superscript^, {attribute-reference}, [[anchor]], [[[bibliography anchor]]], <<xref>>, (((indexes))) and ((indexes))
65747
+ */
65748
+ pattern:
65749
+ /(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,
65750
+ lookbehind: true,
65751
+ inside: {
65752
+ attributes: attributes,
65753
+ url: {
65754
+ pattern: /^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,
65755
+ inside: {
65756
+ punctuation: /^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/
65757
+ }
65758
+ },
65759
+ 'attribute-ref': {
65760
+ pattern: /^\{.+\}$/,
65761
+ inside: {
65762
+ variable: {
65763
+ pattern: /(^\{)[a-z\d,+_-]+/,
65764
+ lookbehind: true
65765
+ },
65766
+ operator: /^[=?!#%@$]|!(?=[:}])/,
65767
+ punctuation: /^\{|\}$|::?/
65768
+ }
65769
+ },
65770
+ italic: {
65771
+ pattern: /^(['_])[\s\S]+\1$/,
65772
+ inside: {
65773
+ punctuation: /^(?:''?|__?)|(?:''?|__?)$/
65774
+ }
65775
+ },
65776
+ bold: {
65777
+ pattern: /^\*[\s\S]+\*$/,
65778
+ inside: {
65779
+ punctuation: /^\*\*?|\*\*?$/
65780
+ }
65781
+ },
65782
+ punctuation:
65783
+ /^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/
65784
+ }
65785
+ },
65786
+ replacement: {
65787
+ pattern: /\((?:C|R|TM)\)/,
65788
+ alias: 'builtin'
65789
+ },
65790
+ entity: /&#?[\da-z]{1,8};/i,
65791
+ 'line-continuation': {
65792
+ pattern: /(^| )\+$/m,
65793
+ lookbehind: true,
65794
+ alias: 'punctuation'
65795
+ }
65796
+ }); // Allow some nesting. There is no recursion though, so cloning should not be needed.
65797
+ function copyFromAsciiDoc(keys) {
65798
+ keys = keys.split(' ');
65799
+ var o = {};
65800
+ for (var i = 0, l = keys.length; i < l; i++) {
65801
+ o[keys[i]] = asciidoc[keys[i]];
65802
+ }
65803
+ return o
65804
+ }
65805
+ attributes.inside['interpreted'].inside.rest = copyFromAsciiDoc(
65806
+ 'macro inline replacement entity'
65807
+ );
65808
+ asciidoc['passthrough-block'].inside.rest = copyFromAsciiDoc('macro');
65809
+ asciidoc['literal-block'].inside.rest = copyFromAsciiDoc('callout');
65810
+ asciidoc['table'].inside.rest = copyFromAsciiDoc(
65811
+ 'comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation'
65812
+ );
65813
+ asciidoc['other-block'].inside.rest = copyFromAsciiDoc(
65814
+ 'table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation'
65815
+ );
65816
+ asciidoc['title'].inside.rest = copyFromAsciiDoc(
65817
+ 'macro inline replacement entity'
65818
+ ); // Plugin to make entity title show the real entity, idea by Roman Komarov
65819
+ Prism.hooks.add('wrap', function (env) {
65820
+ if (env.type === 'entity') {
65821
+ env.attributes['title'] = env.content.value.replace(/&amp;/, '&');
65822
+ }
65823
+ });
65824
+ Prism.languages.adoc = Prism.languages.asciidoc;
65825
+ })(Prism);
65826
+ }
65827
+ return asciidoc_1;
65813
65828
  }
65814
65829
 
65815
- var asciidoc$2 = /*#__PURE__*/_mergeNamespaces({
65816
- __proto__: null,
65817
- 'default': asciidoc_1
65818
- }, [asciidoc_1]);
65819
-
65820
65830
  var asm6502_1 = asm6502;
65821
65831
  asm6502.displayName = 'asm6502';
65822
65832
  asm6502.aliases = [];
@@ -66548,183 +66558,179 @@ var autoit$2 = /*#__PURE__*/_mergeNamespaces({
66548
66558
  'default': autoit_1
66549
66559
  }, [autoit_1]);
66550
66560
 
66551
- var avisynth_1;
66552
- var hasRequiredAvisynth;
66553
-
66554
- function requireAvisynth () {
66555
- if (hasRequiredAvisynth) return avisynth_1;
66556
- hasRequiredAvisynth = 1;
66557
-
66558
- avisynth_1 = avisynth;
66559
- avisynth.displayName = 'avisynth';
66560
- avisynth.aliases = ['avs'];
66561
- function avisynth(Prism) {
66561
+ var avisynth_1 = avisynth;
66562
+ avisynth.displayName = 'avisynth';
66563
+ avisynth.aliases = ['avs'];
66564
+ function avisynth(Prism) {
66562
66565
  (function (Prism) {
66563
- function replace(pattern, replacements) {
66564
- return pattern.replace(/<<(\d+)>>/g, function (m, index) {
66565
- return replacements[+index]
66566
- })
66567
- }
66568
- function re(pattern, replacements, flags) {
66569
- return RegExp(replace(pattern, replacements), flags || '')
66570
- }
66571
- var types = /bool|clip|float|int|string|val/.source;
66572
- var internals = [
66573
- // bools
66574
- /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
66575
- .source, // control
66576
- /apply|assert|default|eval|import|nop|select|undefined/.source, // global
66577
- /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
66578
- .source, // conv
66579
- /hex(?:value)?|value/.source, // numeric
66580
- /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
66581
- .source, // trig
66582
- /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
66583
- /(?: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?))/
66584
- .source, // runtime
66585
- /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
66586
- .source, // script
66587
- /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
66588
- .source, // string
66589
- /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
66590
- .source, // version
66591
- /isversionorgreater|version(?:number|string)/.source, // helper
66592
- /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
66593
- /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
66594
- ].join('|');
66595
- var properties = [
66596
- // content
66597
- /has(?:audio|video)/.source, // resolution
66598
- /height|width/.source, // framerate
66599
- /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
66600
- /getparity|is(?:field|frame)based/.source, // color format
66601
- /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/
66602
- .source, // audio
66603
- /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
66604
- .source
66605
- ].join('|');
66606
- var filters = [
66607
- // source
66608
- /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
66609
- .source, // color
66610
- /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/
66611
- .source, // overlay
66612
- /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
66613
- /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)/
66614
- .source, // pixel
66615
- /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
66616
- .source, // timeline
66617
- /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)/
66618
- .source, // interlace
66619
- /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
66620
- .source, // audio
66621
- /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/
66622
- .source, // conditional
66623
- /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
66624
- .source, // export
66625
- /imagewriter/.source, // debug
66626
- /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
66627
- .source
66628
- ].join('|');
66629
- var allinternals = [internals, properties, filters].join('|');
66630
- Prism.languages.avisynth = {
66631
- comment: [
66632
- {
66633
- // Matches [* *] nestable block comments, but only supports 1 level of nested comments
66634
- // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
66635
- pattern:
66636
- /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
66637
- lookbehind: true,
66638
- greedy: true
66639
- },
66640
- {
66641
- // Matches /* */ block comments
66642
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
66643
- lookbehind: true,
66644
- greedy: true
66645
- },
66646
- {
66647
- // Matches # comments
66648
- pattern: /(^|[^\\$])#.*/,
66649
- lookbehind: true,
66650
- greedy: true
66651
- }
66652
- ],
66653
- // Handle before strings because optional arguments are surrounded by double quotes
66654
- argument: {
66655
- pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
66656
- inside: {
66657
- keyword: /^\w+/
66658
- }
66659
- },
66660
- // Optional argument assignment
66661
- 'argument-label': {
66662
- pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
66663
- lookbehind: true,
66664
- inside: {
66665
- 'argument-name': {
66666
- pattern: /^\w+/,
66667
- alias: 'punctuation'
66668
- },
66669
- punctuation: /=$/
66670
- }
66671
- },
66672
- string: [
66673
- {
66674
- // triple double-quoted
66675
- pattern: /"""[\s\S]*?"""/,
66676
- greedy: true
66677
- },
66678
- {
66679
- // single double-quoted
66680
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
66681
- greedy: true,
66682
- inside: {
66683
- constant: {
66684
- // These *are* case-sensitive!
66685
- pattern:
66686
- /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
66687
- }
66688
- }
66689
- }
66690
- ],
66691
- // The special "last" variable that takes the value of the last implicitly returned clip
66692
- variable: /\b(?:last)\b/i,
66693
- boolean: /\b(?:false|no|true|yes)\b/i,
66694
- keyword:
66695
- /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
66696
- constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
66697
- // AviSynth's internal functions, filters, and properties
66698
- 'builtin-function': {
66699
- pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
66700
- alias: 'function'
66701
- },
66702
- 'type-cast': {
66703
- pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
66704
- alias: 'keyword'
66705
- },
66706
- // External/user-defined filters
66707
- function: {
66708
- pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
66709
- lookbehind: true
66710
- },
66711
- // Matches a \ as the first or last character on a line
66712
- 'line-continuation': {
66713
- pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
66714
- lookbehind: true,
66715
- alias: 'punctuation'
66716
- },
66717
- number:
66718
- /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
66719
- operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
66720
- punctuation: /[{}\[\]();,.]/
66721
- };
66722
- Prism.languages.avs = Prism.languages.avisynth;
66723
- })(Prism);
66724
- }
66725
- return avisynth_1;
66566
+ function replace(pattern, replacements) {
66567
+ return pattern.replace(/<<(\d+)>>/g, function (m, index) {
66568
+ return replacements[+index]
66569
+ })
66570
+ }
66571
+ function re(pattern, replacements, flags) {
66572
+ return RegExp(replace(pattern, replacements), flags || '')
66573
+ }
66574
+ var types = /bool|clip|float|int|string|val/.source;
66575
+ var internals = [
66576
+ // bools
66577
+ /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
66578
+ .source, // control
66579
+ /apply|assert|default|eval|import|nop|select|undefined/.source, // global
66580
+ /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
66581
+ .source, // conv
66582
+ /hex(?:value)?|value/.source, // numeric
66583
+ /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
66584
+ .source, // trig
66585
+ /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
66586
+ /(?: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?))/
66587
+ .source, // runtime
66588
+ /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
66589
+ .source, // script
66590
+ /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
66591
+ .source, // string
66592
+ /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
66593
+ .source, // version
66594
+ /isversionorgreater|version(?:number|string)/.source, // helper
66595
+ /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
66596
+ /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
66597
+ ].join('|');
66598
+ var properties = [
66599
+ // content
66600
+ /has(?:audio|video)/.source, // resolution
66601
+ /height|width/.source, // framerate
66602
+ /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
66603
+ /getparity|is(?:field|frame)based/.source, // color format
66604
+ /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/
66605
+ .source, // audio
66606
+ /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
66607
+ .source
66608
+ ].join('|');
66609
+ var filters = [
66610
+ // source
66611
+ /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
66612
+ .source, // color
66613
+ /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/
66614
+ .source, // overlay
66615
+ /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
66616
+ /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)/
66617
+ .source, // pixel
66618
+ /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
66619
+ .source, // timeline
66620
+ /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)/
66621
+ .source, // interlace
66622
+ /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
66623
+ .source, // audio
66624
+ /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/
66625
+ .source, // conditional
66626
+ /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
66627
+ .source, // export
66628
+ /imagewriter/.source, // debug
66629
+ /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
66630
+ .source
66631
+ ].join('|');
66632
+ var allinternals = [internals, properties, filters].join('|');
66633
+ Prism.languages.avisynth = {
66634
+ comment: [
66635
+ {
66636
+ // Matches [* *] nestable block comments, but only supports 1 level of nested comments
66637
+ // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
66638
+ pattern:
66639
+ /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
66640
+ lookbehind: true,
66641
+ greedy: true
66642
+ },
66643
+ {
66644
+ // Matches /* */ block comments
66645
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
66646
+ lookbehind: true,
66647
+ greedy: true
66648
+ },
66649
+ {
66650
+ // Matches # comments
66651
+ pattern: /(^|[^\\$])#.*/,
66652
+ lookbehind: true,
66653
+ greedy: true
66654
+ }
66655
+ ],
66656
+ // Handle before strings because optional arguments are surrounded by double quotes
66657
+ argument: {
66658
+ pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
66659
+ inside: {
66660
+ keyword: /^\w+/
66661
+ }
66662
+ },
66663
+ // Optional argument assignment
66664
+ 'argument-label': {
66665
+ pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
66666
+ lookbehind: true,
66667
+ inside: {
66668
+ 'argument-name': {
66669
+ pattern: /^\w+/,
66670
+ alias: 'punctuation'
66671
+ },
66672
+ punctuation: /=$/
66673
+ }
66674
+ },
66675
+ string: [
66676
+ {
66677
+ // triple double-quoted
66678
+ pattern: /"""[\s\S]*?"""/,
66679
+ greedy: true
66680
+ },
66681
+ {
66682
+ // single double-quoted
66683
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
66684
+ greedy: true,
66685
+ inside: {
66686
+ constant: {
66687
+ // These *are* case-sensitive!
66688
+ pattern:
66689
+ /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
66690
+ }
66691
+ }
66692
+ }
66693
+ ],
66694
+ // The special "last" variable that takes the value of the last implicitly returned clip
66695
+ variable: /\b(?:last)\b/i,
66696
+ boolean: /\b(?:false|no|true|yes)\b/i,
66697
+ keyword:
66698
+ /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
66699
+ constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
66700
+ // AviSynth's internal functions, filters, and properties
66701
+ 'builtin-function': {
66702
+ pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
66703
+ alias: 'function'
66704
+ },
66705
+ 'type-cast': {
66706
+ pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
66707
+ alias: 'keyword'
66708
+ },
66709
+ // External/user-defined filters
66710
+ function: {
66711
+ pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
66712
+ lookbehind: true
66713
+ },
66714
+ // Matches a \ as the first or last character on a line
66715
+ 'line-continuation': {
66716
+ pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
66717
+ lookbehind: true,
66718
+ alias: 'punctuation'
66719
+ },
66720
+ number:
66721
+ /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
66722
+ operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
66723
+ punctuation: /[{}\[\]();,.]/
66724
+ };
66725
+ Prism.languages.avs = Prism.languages.avisynth;
66726
+ })(Prism);
66726
66727
  }
66727
66728
 
66729
+ var avisynth$1 = /*#__PURE__*/_mergeNamespaces({
66730
+ __proto__: null,
66731
+ 'default': avisynth_1
66732
+ }, [avisynth_1]);
66733
+
66728
66734
  var avroIdl_1;
66729
66735
  var hasRequiredAvroIdl;
66730
66736
 
@@ -87963,13 +87969,13 @@ refractor.register(applescript_1);
87963
87969
  refractor.register(aql_1);
87964
87970
  refractor.register(arduino_1);
87965
87971
  refractor.register(arff_1);
87966
- refractor.register(asciidoc_1);
87972
+ refractor.register(requireAsciidoc());
87967
87973
  refractor.register(asm6502_1);
87968
87974
  refractor.register(asmatmel_1);
87969
87975
  refractor.register(aspnet_1);
87970
87976
  refractor.register(autohotkey_1);
87971
87977
  refractor.register(autoit_1);
87972
- refractor.register(requireAvisynth());
87978
+ refractor.register(avisynth_1);
87973
87979
  refractor.register(requireAvroIdl());
87974
87980
  refractor.register(requireBash());
87975
87981
  refractor.register(requireBasic());
@@ -91571,12 +91577,12 @@ var armasm = /*#__PURE__*/_mergeNamespaces({
91571
91577
  'default': armasmExports
91572
91578
  }, [armasmExports]);
91573
91579
 
91574
- var asciidocExports = requireAsciidoc();
91580
+ var asciidocExports$1 = requireAsciidoc$1();
91575
91581
 
91576
- var asciidoc = /*#__PURE__*/_mergeNamespaces({
91582
+ var asciidoc$1 = /*#__PURE__*/_mergeNamespaces({
91577
91583
  __proto__: null,
91578
- 'default': asciidocExports
91579
- }, [asciidocExports]);
91584
+ 'default': asciidocExports$1
91585
+ }, [asciidocExports$1]);
91580
91586
 
91581
91587
  var aspectjExports = requireAspectj();
91582
91588
 
@@ -92831,12 +92837,12 @@ var zephir = /*#__PURE__*/_mergeNamespaces({
92831
92837
  'default': zephirExports
92832
92838
  }, [zephirExports]);
92833
92839
 
92834
- var avisynthExports = requireAvisynth();
92840
+ var asciidocExports = requireAsciidoc();
92835
92841
 
92836
- var avisynth = /*#__PURE__*/_mergeNamespaces({
92842
+ var asciidoc = /*#__PURE__*/_mergeNamespaces({
92837
92843
  __proto__: null,
92838
- 'default': avisynthExports
92839
- }, [avisynthExports]);
92844
+ 'default': asciidocExports
92845
+ }, [asciidocExports]);
92840
92846
 
92841
92847
  var avroIdlExports = requireAvroIdl();
92842
92848