@bigbinary/neeto-commons-frontend 2.0.16 → 2.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.
@@ -23,6 +23,7 @@ var customParseFormat = require('dayjs/plugin/customParseFormat');
23
23
  var timezone = require('dayjs/plugin/timezone');
24
24
  var utc = require('dayjs/plugin/utc');
25
25
  var weekday = require('dayjs/plugin/weekday');
26
+ var reactHelmet = require('react-helmet');
26
27
 
27
28
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
28
29
 
@@ -2275,6 +2276,9 @@ var ENV_BRANCH = {
2275
2276
  };
2276
2277
  var NEETO_WIDGET_USER_IDENTITY_KEY = "NeetoWidgetUserIdentity";
2277
2278
  var SESSION_CONTEXT_KEY = "NeetoReplayWidgetSessionContext";
2279
+ var ENABLE_NEETO_CHAT = "enableNeetoChat: true,";
2280
+ var ENABLE_NEETO_CHANGELOG = "enableNeetoChangelog: true,";
2281
+ var ENABLE_NEETO_REPLAY = "enableNeetoReplay: true,";
2278
2282
  var DISABLE_NEETO_CHAT = "enableNeetoChat: false,";
2279
2283
  var DISABLE_NEETO_CHANGELOG = "enableNeetoChangelog: false,";
2280
2284
  var DISABLE_NEETO_REPLAY = "enableNeetoReplay: false,";
@@ -8444,11 +8448,11 @@ function requireApache () {
8444
8448
  * */
8445
8449
 
8446
8450
  var applescript_1$1;
8447
- var hasRequiredApplescript$1;
8451
+ var hasRequiredApplescript;
8448
8452
 
8449
- function requireApplescript$1 () {
8450
- if (hasRequiredApplescript$1) return applescript_1$1;
8451
- hasRequiredApplescript$1 = 1;
8453
+ function requireApplescript () {
8454
+ if (hasRequiredApplescript) return applescript_1$1;
8455
+ hasRequiredApplescript = 1;
8452
8456
  /**
8453
8457
  * @param {RegExp | string } re
8454
8458
  * @returns {string}
@@ -51712,7 +51716,7 @@ low.registerLanguage(
51712
51716
  low.registerLanguage('apache', requireApache());
51713
51717
  low.registerLanguage(
51714
51718
  'applescript',
51715
- requireApplescript$1()
51719
+ requireApplescript()
51716
51720
  );
51717
51721
  low.registerLanguage('arcade', requireArcade());
51718
51722
  low.registerLanguage('arduino', requireArduino());
@@ -52677,7 +52681,7 @@ var languageLoaders$1 = {
52677
52681
  return Promise.resolve().then(function () { return apache; });
52678
52682
  }),
52679
52683
  applescript: createLanguageAsyncLoader("applescript", function () {
52680
- return Promise.resolve().then(function () { return applescript$1; });
52684
+ return Promise.resolve().then(function () { return applescript; });
52681
52685
  }),
52682
52686
  arcade: createLanguageAsyncLoader("arcade", function () {
52683
52687
  return Promise.resolve().then(function () { return arcade; });
@@ -53281,7 +53285,7 @@ var languageLoaders = {
53281
53285
  return Promise.resolve().then(function () { return apl$1; });
53282
53286
  }),
53283
53287
  applescript: createLanguageAsyncLoader("applescript", function () {
53284
- return Promise.resolve().then(function () { return applescript; });
53288
+ return Promise.resolve().then(function () { return applescript$2; });
53285
53289
  }),
53286
53290
  aql: createLanguageAsyncLoader("aql", function () {
53287
53291
  return Promise.resolve().then(function () { return aql$1; });
@@ -53311,7 +53315,7 @@ var languageLoaders = {
53311
53315
  return Promise.resolve().then(function () { return autoit$2; });
53312
53316
  }),
53313
53317
  avisynth: createLanguageAsyncLoader("avisynth", function () {
53314
- return Promise.resolve().then(function () { return avisynth$1; });
53318
+ return Promise.resolve().then(function () { return avisynth; });
53315
53319
  }),
53316
53320
  avroIdl: createLanguageAsyncLoader("avroIdl", function () {
53317
53321
  return Promise.resolve().then(function () { return avroIdl; });
@@ -63139,40 +63143,36 @@ var apl$1 = /*#__PURE__*/_mergeNamespaces({
63139
63143
  'default': apl_1
63140
63144
  }, [apl_1]);
63141
63145
 
63142
- var applescript_1;
63143
- var hasRequiredApplescript;
63144
-
63145
- function requireApplescript () {
63146
- if (hasRequiredApplescript) return applescript_1;
63147
- hasRequiredApplescript = 1;
63148
-
63149
- applescript_1 = applescript;
63150
- applescript.displayName = 'applescript';
63151
- applescript.aliases = [];
63152
- function applescript(Prism) {
63153
- Prism.languages.applescript = {
63154
- comment: [
63155
- // Allow one level of nesting
63156
- /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,
63157
- /--.+/,
63158
- /#.+/
63159
- ],
63160
- string: /"(?:\\.|[^"\\\r\n])*"/,
63161
- number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,
63162
- operator: [
63163
- /[&=≠≤≥*+\-\/÷^]|[<>]=?/,
63164
- /\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/
63165
- ],
63166
- keyword:
63167
- /\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,
63168
- 'class-name':
63169
- /\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,
63170
- punctuation: /[{}():,¬«»《》]/
63171
- };
63172
- }
63173
- return applescript_1;
63146
+ var applescript_1 = applescript$1;
63147
+ applescript$1.displayName = 'applescript';
63148
+ applescript$1.aliases = [];
63149
+ function applescript$1(Prism) {
63150
+ Prism.languages.applescript = {
63151
+ comment: [
63152
+ // Allow one level of nesting
63153
+ /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,
63154
+ /--.+/,
63155
+ /#.+/
63156
+ ],
63157
+ string: /"(?:\\.|[^"\\\r\n])*"/,
63158
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,
63159
+ operator: [
63160
+ /[&=≠≤≥*+\-\/÷^]|[<>]=?/,
63161
+ /\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/
63162
+ ],
63163
+ keyword:
63164
+ /\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,
63165
+ 'class-name':
63166
+ /\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,
63167
+ punctuation: /[{}():,¬«»《》]/
63168
+ };
63174
63169
  }
63175
63170
 
63171
+ var applescript$2 = /*#__PURE__*/_mergeNamespaces({
63172
+ __proto__: null,
63173
+ 'default': applescript_1
63174
+ }, [applescript_1]);
63175
+
63176
63176
  var aql_1 = aql;
63177
63177
  aql.displayName = 'aql';
63178
63178
  aql.aliases = [];
@@ -64463,179 +64463,183 @@ var autoit$2 = /*#__PURE__*/_mergeNamespaces({
64463
64463
  'default': autoit_1
64464
64464
  }, [autoit_1]);
64465
64465
 
64466
- var avisynth_1 = avisynth;
64467
- avisynth.displayName = 'avisynth';
64468
- avisynth.aliases = ['avs'];
64469
- function avisynth(Prism) {
64466
+ var avisynth_1;
64467
+ var hasRequiredAvisynth;
64468
+
64469
+ function requireAvisynth () {
64470
+ if (hasRequiredAvisynth) return avisynth_1;
64471
+ hasRequiredAvisynth = 1;
64472
+
64473
+ avisynth_1 = avisynth;
64474
+ avisynth.displayName = 'avisynth';
64475
+ avisynth.aliases = ['avs'];
64476
+ function avisynth(Prism) {
64470
64477
  (function (Prism) {
64471
- function replace(pattern, replacements) {
64472
- return pattern.replace(/<<(\d+)>>/g, function (m, index) {
64473
- return replacements[+index]
64474
- })
64475
- }
64476
- function re(pattern, replacements, flags) {
64477
- return RegExp(replace(pattern, replacements), flags || '')
64478
- }
64479
- var types = /bool|clip|float|int|string|val/.source;
64480
- var internals = [
64481
- // bools
64482
- /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
64483
- .source, // control
64484
- /apply|assert|default|eval|import|nop|select|undefined/.source, // global
64485
- /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
64486
- .source, // conv
64487
- /hex(?:value)?|value/.source, // numeric
64488
- /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
64489
- .source, // trig
64490
- /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
64491
- /(?: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?))/
64492
- .source, // runtime
64493
- /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
64494
- .source, // script
64495
- /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
64496
- .source, // string
64497
- /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
64498
- .source, // version
64499
- /isversionorgreater|version(?:number|string)/.source, // helper
64500
- /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
64501
- /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
64502
- ].join('|');
64503
- var properties = [
64504
- // content
64505
- /has(?:audio|video)/.source, // resolution
64506
- /height|width/.source, // framerate
64507
- /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
64508
- /getparity|is(?:field|frame)based/.source, // color format
64509
- /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/
64510
- .source, // audio
64511
- /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
64512
- .source
64513
- ].join('|');
64514
- var filters = [
64515
- // source
64516
- /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
64517
- .source, // color
64518
- /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/
64519
- .source, // overlay
64520
- /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
64521
- /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)/
64522
- .source, // pixel
64523
- /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
64524
- .source, // timeline
64525
- /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)/
64526
- .source, // interlace
64527
- /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
64528
- .source, // audio
64529
- /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/
64530
- .source, // conditional
64531
- /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
64532
- .source, // export
64533
- /imagewriter/.source, // debug
64534
- /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
64535
- .source
64536
- ].join('|');
64537
- var allinternals = [internals, properties, filters].join('|');
64538
- Prism.languages.avisynth = {
64539
- comment: [
64540
- {
64541
- // Matches [* *] nestable block comments, but only supports 1 level of nested comments
64542
- // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
64543
- pattern:
64544
- /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
64545
- lookbehind: true,
64546
- greedy: true
64547
- },
64548
- {
64549
- // Matches /* */ block comments
64550
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
64551
- lookbehind: true,
64552
- greedy: true
64553
- },
64554
- {
64555
- // Matches # comments
64556
- pattern: /(^|[^\\$])#.*/,
64557
- lookbehind: true,
64558
- greedy: true
64559
- }
64560
- ],
64561
- // Handle before strings because optional arguments are surrounded by double quotes
64562
- argument: {
64563
- pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
64564
- inside: {
64565
- keyword: /^\w+/
64566
- }
64567
- },
64568
- // Optional argument assignment
64569
- 'argument-label': {
64570
- pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
64571
- lookbehind: true,
64572
- inside: {
64573
- 'argument-name': {
64574
- pattern: /^\w+/,
64575
- alias: 'punctuation'
64576
- },
64577
- punctuation: /=$/
64578
- }
64579
- },
64580
- string: [
64581
- {
64582
- // triple double-quoted
64583
- pattern: /"""[\s\S]*?"""/,
64584
- greedy: true
64585
- },
64586
- {
64587
- // single double-quoted
64588
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
64589
- greedy: true,
64590
- inside: {
64591
- constant: {
64592
- // These *are* case-sensitive!
64593
- pattern:
64594
- /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
64595
- }
64596
- }
64597
- }
64598
- ],
64599
- // The special "last" variable that takes the value of the last implicitly returned clip
64600
- variable: /\b(?:last)\b/i,
64601
- boolean: /\b(?:false|no|true|yes)\b/i,
64602
- keyword:
64603
- /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
64604
- constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
64605
- // AviSynth's internal functions, filters, and properties
64606
- 'builtin-function': {
64607
- pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
64608
- alias: 'function'
64609
- },
64610
- 'type-cast': {
64611
- pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
64612
- alias: 'keyword'
64613
- },
64614
- // External/user-defined filters
64615
- function: {
64616
- pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
64617
- lookbehind: true
64618
- },
64619
- // Matches a \ as the first or last character on a line
64620
- 'line-continuation': {
64621
- pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
64622
- lookbehind: true,
64623
- alias: 'punctuation'
64624
- },
64625
- number:
64626
- /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
64627
- operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
64628
- punctuation: /[{}\[\]();,.]/
64629
- };
64630
- Prism.languages.avs = Prism.languages.avisynth;
64631
- })(Prism);
64478
+ function replace(pattern, replacements) {
64479
+ return pattern.replace(/<<(\d+)>>/g, function (m, index) {
64480
+ return replacements[+index]
64481
+ })
64482
+ }
64483
+ function re(pattern, replacements, flags) {
64484
+ return RegExp(replace(pattern, replacements), flags || '')
64485
+ }
64486
+ var types = /bool|clip|float|int|string|val/.source;
64487
+ var internals = [
64488
+ // bools
64489
+ /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
64490
+ .source, // control
64491
+ /apply|assert|default|eval|import|nop|select|undefined/.source, // global
64492
+ /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
64493
+ .source, // conv
64494
+ /hex(?:value)?|value/.source, // numeric
64495
+ /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
64496
+ .source, // trig
64497
+ /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
64498
+ /(?: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?))/
64499
+ .source, // runtime
64500
+ /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
64501
+ .source, // script
64502
+ /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
64503
+ .source, // string
64504
+ /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
64505
+ .source, // version
64506
+ /isversionorgreater|version(?:number|string)/.source, // helper
64507
+ /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
64508
+ /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
64509
+ ].join('|');
64510
+ var properties = [
64511
+ // content
64512
+ /has(?:audio|video)/.source, // resolution
64513
+ /height|width/.source, // framerate
64514
+ /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
64515
+ /getparity|is(?:field|frame)based/.source, // color format
64516
+ /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/
64517
+ .source, // audio
64518
+ /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
64519
+ .source
64520
+ ].join('|');
64521
+ var filters = [
64522
+ // source
64523
+ /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
64524
+ .source, // color
64525
+ /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/
64526
+ .source, // overlay
64527
+ /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
64528
+ /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)/
64529
+ .source, // pixel
64530
+ /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
64531
+ .source, // timeline
64532
+ /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)/
64533
+ .source, // interlace
64534
+ /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
64535
+ .source, // audio
64536
+ /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/
64537
+ .source, // conditional
64538
+ /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
64539
+ .source, // export
64540
+ /imagewriter/.source, // debug
64541
+ /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
64542
+ .source
64543
+ ].join('|');
64544
+ var allinternals = [internals, properties, filters].join('|');
64545
+ Prism.languages.avisynth = {
64546
+ comment: [
64547
+ {
64548
+ // Matches [* *] nestable block comments, but only supports 1 level of nested comments
64549
+ // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
64550
+ pattern:
64551
+ /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
64552
+ lookbehind: true,
64553
+ greedy: true
64554
+ },
64555
+ {
64556
+ // Matches /* */ block comments
64557
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
64558
+ lookbehind: true,
64559
+ greedy: true
64560
+ },
64561
+ {
64562
+ // Matches # comments
64563
+ pattern: /(^|[^\\$])#.*/,
64564
+ lookbehind: true,
64565
+ greedy: true
64566
+ }
64567
+ ],
64568
+ // Handle before strings because optional arguments are surrounded by double quotes
64569
+ argument: {
64570
+ pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
64571
+ inside: {
64572
+ keyword: /^\w+/
64573
+ }
64574
+ },
64575
+ // Optional argument assignment
64576
+ 'argument-label': {
64577
+ pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
64578
+ lookbehind: true,
64579
+ inside: {
64580
+ 'argument-name': {
64581
+ pattern: /^\w+/,
64582
+ alias: 'punctuation'
64583
+ },
64584
+ punctuation: /=$/
64585
+ }
64586
+ },
64587
+ string: [
64588
+ {
64589
+ // triple double-quoted
64590
+ pattern: /"""[\s\S]*?"""/,
64591
+ greedy: true
64592
+ },
64593
+ {
64594
+ // single double-quoted
64595
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
64596
+ greedy: true,
64597
+ inside: {
64598
+ constant: {
64599
+ // These *are* case-sensitive!
64600
+ pattern:
64601
+ /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
64602
+ }
64603
+ }
64604
+ }
64605
+ ],
64606
+ // The special "last" variable that takes the value of the last implicitly returned clip
64607
+ variable: /\b(?:last)\b/i,
64608
+ boolean: /\b(?:false|no|true|yes)\b/i,
64609
+ keyword:
64610
+ /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
64611
+ constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
64612
+ // AviSynth's internal functions, filters, and properties
64613
+ 'builtin-function': {
64614
+ pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
64615
+ alias: 'function'
64616
+ },
64617
+ 'type-cast': {
64618
+ pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
64619
+ alias: 'keyword'
64620
+ },
64621
+ // External/user-defined filters
64622
+ function: {
64623
+ pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
64624
+ lookbehind: true
64625
+ },
64626
+ // Matches a \ as the first or last character on a line
64627
+ 'line-continuation': {
64628
+ pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
64629
+ lookbehind: true,
64630
+ alias: 'punctuation'
64631
+ },
64632
+ number:
64633
+ /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
64634
+ operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
64635
+ punctuation: /[{}\[\]();,.]/
64636
+ };
64637
+ Prism.languages.avs = Prism.languages.avisynth;
64638
+ })(Prism);
64639
+ }
64640
+ return avisynth_1;
64632
64641
  }
64633
64642
 
64634
- var avisynth$1 = /*#__PURE__*/_mergeNamespaces({
64635
- __proto__: null,
64636
- 'default': avisynth_1
64637
- }, [avisynth_1]);
64638
-
64639
64643
  var avroIdl_1;
64640
64644
  var hasRequiredAvroIdl;
64641
64645
 
@@ -85870,7 +85874,7 @@ refractor.register(antlr4_1);
85870
85874
  refractor.register(apacheconf_1);
85871
85875
  refractor.register(apex_1);
85872
85876
  refractor.register(apl_1);
85873
- refractor.register(requireApplescript());
85877
+ refractor.register(applescript_1);
85874
85878
  refractor.register(aql_1);
85875
85879
  refractor.register(arduino_1);
85876
85880
  refractor.register(arff_1);
@@ -85880,7 +85884,7 @@ refractor.register(asmatmel_1);
85880
85884
  refractor.register(aspnet_1);
85881
85885
  refractor.register(autohotkey_1);
85882
85886
  refractor.register(autoit_1);
85883
- refractor.register(avisynth_1);
85887
+ refractor.register(requireAvisynth());
85884
85888
  refractor.register(requireAvroIdl());
85885
85889
  refractor.register(requireBash());
85886
85890
  refractor.register(requireBasic());
@@ -86411,15 +86415,7 @@ var indentAndFormat = function indentAndFormat(str) {
86411
86415
  };
86412
86416
 
86413
86417
  var getCommentedCommand = function getCommentedCommand(command, isEnabled) {
86414
- var withFilterMark = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
86415
-
86416
- if (isEnabled) {
86417
- return command;
86418
- } else if (withFilterMark) {
86419
- return "/// ".concat(command);
86420
- }
86421
-
86422
- return "// ".concat(command);
86418
+ return isEnabled ? command : "/// ".concat(command);
86423
86419
  };
86424
86420
 
86425
86421
  var embedWidgetEnvironment = function embedWidgetEnvironment() {
@@ -86442,16 +86438,12 @@ var embedWidgetApiKey = function embedWidgetApiKey(apiKey) {
86442
86438
  return "apiKey: \"".concat(apiKey, "\",");
86443
86439
  };
86444
86440
 
86445
- var getDisableComment = function getDisableComment(command, isEnabled) {
86446
- return isEnabled ? getCommentedCommand(command, false) : command;
86447
- };
86448
-
86449
- var addDisableComments = function addDisableComments(enabledWidgets) {
86450
- return "\n".concat(getDisableComment(DISABLE_NEETO_CHANGELOG, enabledWidgets.changelog), "\n").concat(getDisableComment(DISABLE_NEETO_CHAT, enabledWidgets.chat), "\n").concat(getDisableComment(DISABLE_NEETO_REPLAY, enabledWidgets.replay));
86441
+ var addEnableFlags = function addEnableFlags(enabledWidgets) {
86442
+ return "\n".concat(enabledWidgets.changelog ? ENABLE_NEETO_CHANGELOG : DISABLE_NEETO_CHANGELOG, "\n").concat(enabledWidgets.chat ? ENABLE_NEETO_CHAT : DISABLE_NEETO_CHAT, "\n").concat(enabledWidgets.replay ? ENABLE_NEETO_REPLAY : DISABLE_NEETO_REPLAY);
86451
86443
  };
86452
86444
 
86453
86445
  var addChangelogOptions = function addChangelogOptions() {
86454
- return "neetoChangelogOptions: {\n // triggerId: \"optional-custom-trigger-id\",\n},";
86446
+ return "neetoChangelogOptions: {\n elementId: \"custom-trigger-id\",\n},";
86455
86447
  };
86456
86448
 
86457
86449
  var wrapBlockInOnLoad = function wrapBlockInOnLoad(codeBlock) {
@@ -86459,8 +86451,8 @@ var wrapBlockInOnLoad = function wrapBlockInOnLoad(codeBlock) {
86459
86451
  };
86460
86452
 
86461
86453
  var embedWidgetFunctionCall = function embedWidgetFunctionCall(enabledWidgets, apiKey) {
86462
- return "embedNeetoWidget({\n ".concat(embedWidgetEnvironment(), "\n ").concat(indentAndFormat(embedWidgetApiKey(apiKey)), "\n ").concat(indentAndFormat(addDisableComments(enabledWidgets)), "\n ").concat(indentAndFormat(addChangelogOptions(), function (cmd) {
86463
- return getCommentedCommand(cmd, enabledWidgets.changelog, true);
86454
+ return "embedNeetoWidget({\n ".concat(embedWidgetEnvironment(), "\n ").concat(indentAndFormat(embedWidgetApiKey(apiKey)), "\n ").concat(indentAndFormat(addEnableFlags(enabledWidgets)), "\n ").concat(indentAndFormat(addChangelogOptions(), function (cmd) {
86455
+ return getCommentedCommand(cmd, enabledWidgets.changelog);
86464
86456
  }), "\n})");
86465
86457
  };
86466
86458
 
@@ -86473,7 +86465,7 @@ var filterMarkedCommands = function filterMarkedCommands(queryString) {
86473
86465
  var getSampleUserIdentity = function getSampleUserIdentity(enabledWidgets) {
86474
86466
  return filterMarkedCommands(SAMPLE_USER_IDENTITY_CODE_STRING.split("\n").map(function (cmd) {
86475
86467
  if (!enabledWidgets.chat && !cmd.includes("email") && !cmd.includes("{") && !cmd.includes("}") || !enabledWidgets.chat && !enabledWidgets.replay) {
86476
- return getCommentedCommand(cmd, false, true);
86468
+ return getCommentedCommand(cmd, false);
86477
86469
  }
86478
86470
 
86479
86471
  return cmd;
@@ -86572,7 +86564,7 @@ var CodeSnippet = function CodeSnippet(_ref) {
86572
86564
  style: "h2"
86573
86565
  }, t("neetoCommons.widget.email.title"))), /*#__PURE__*/React__default["default"].createElement(neetoui.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
86574
86566
  className: "flex flex-col gap-4 py-6"
86575
- }, /*#__PURE__*/React__default["default"].createElement(formik$1.EmailInput, {
86567
+ }, /*#__PURE__*/React__default["default"].createElement(formik$1.MultiEmailInput, {
86576
86568
  label: "".concat(t("neetoCommons.widget.email.fields.emails.label"), "*"),
86577
86569
  name: "emails",
86578
86570
  placeholder: t("neetoCommons.widget.email.fields.emails.placeholder"),
@@ -87812,10 +87804,24 @@ var resetAuthTokens = function resetAuthTokens() {
87812
87804
  });
87813
87805
  };
87814
87806
 
87807
+ var ChangelogWidget = function ChangelogWidget() {
87808
+ return /*#__PURE__*/React__default["default"].createElement(reactHelmet.Helmet, {
87809
+ defer: false,
87810
+ script: [{
87811
+ type: "text/javascript",
87812
+ innerHTML: "window.neetoChangelogConfig = {\n baseUrl : \"https://neetoinvisiblehelp.neetochangelog.com\",\n authToken : \"HomvRiaNYgwbzfXErJ5TRq1Y\",\n productId : \"5e72d907-f695-446f-afa0-7ca84bd8ecf2\",\n triggerId: \"neetochangelog-trigger\"\n };"
87813
+ }, {
87814
+ type: "text/javascript",
87815
+ src: "https://da8zs6hfu4bc2.cloudfront.net/neetochangelog-widget.min.js"
87816
+ }]
87817
+ });
87818
+ };
87819
+
87815
87820
  var MY_PROFILE_URL = "/auth/profile/edit";
87816
87821
  var MY_ORGANIZATION_URL = "/auth/organization/edit";
87817
87822
  var PERMITTED_DOMAINS = ["@bigbinary.com", "@example.com"];
87818
87823
  var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
87824
+ var NEETO_CHANGELOG_ENVS = ["staging"];
87819
87825
 
87820
87826
  var getTopLinks = function getTopLinks() {
87821
87827
  var topLinks = [{
@@ -87863,9 +87869,9 @@ var Sidebar = function Sidebar(_ref) {
87863
87869
  window.location.href = "/logout";
87864
87870
  };
87865
87871
 
87866
- var isWhatsNewAllowed = PERMITTED_DOMAINS.some(function (domain) {
87872
+ var showNeetoChangelog = PERMITTED_DOMAINS.some(function (domain) {
87867
87873
  return globalProps.user.email.includes(domain);
87868
- });
87874
+ }) && NEETO_CHANGELOG_ENVS.includes(process.env.RAILS_ENV);
87869
87875
  var profileInfo = ramda.mergeLeft(profileInfoOverrides, {
87870
87876
  name: "".concat(globalProps.user.firstName, " ").concat(globalProps.user.lastName),
87871
87877
  imageUrl: globalProps.user.profileImageUrl,
@@ -87884,11 +87890,11 @@ var Sidebar = function Sidebar(_ref) {
87884
87890
  return window.open("https://neeto".concat(ramda.toLower(appName), "help.neetokb.com/"), "_blank");
87885
87891
  }
87886
87892
  },
87887
- changelogProps: isWhatsNewAllowed ? {
87893
+ changelogProps: showNeetoChangelog ? {
87888
87894
  id: CHANGELOG_WIDGET_TRIGGER_ID
87889
87895
  } : undefined
87890
87896
  });
87891
- return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(layouts.Sidebar, {
87897
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, showNeetoChangelog && /*#__PURE__*/React__default["default"].createElement(ChangelogWidget, null), /*#__PURE__*/React__default["default"].createElement(layouts.Sidebar, {
87892
87898
  isCollapsed: true,
87893
87899
  appName: "neeto".concat(capitalize(appName)),
87894
87900
  navLinks: navLinks,
@@ -88319,12 +88325,12 @@ var apache = /*#__PURE__*/_mergeNamespaces({
88319
88325
  'default': apacheExports
88320
88326
  }, [apacheExports]);
88321
88327
 
88322
- var applescriptExports$1 = requireApplescript$1();
88328
+ var applescriptExports = requireApplescript();
88323
88329
 
88324
- var applescript$1 = /*#__PURE__*/_mergeNamespaces({
88330
+ var applescript = /*#__PURE__*/_mergeNamespaces({
88325
88331
  __proto__: null,
88326
- 'default': applescriptExports$1
88327
- }, [applescriptExports$1]);
88332
+ 'default': applescriptExports
88333
+ }, [applescriptExports]);
88328
88334
 
88329
88335
  var arcadeExports = requireArcade();
88330
88336
 
@@ -89607,12 +89613,12 @@ var zephir = /*#__PURE__*/_mergeNamespaces({
89607
89613
  'default': zephirExports
89608
89614
  }, [zephirExports]);
89609
89615
 
89610
- var applescriptExports = requireApplescript();
89616
+ var avisynthExports = requireAvisynth();
89611
89617
 
89612
- var applescript = /*#__PURE__*/_mergeNamespaces({
89618
+ var avisynth = /*#__PURE__*/_mergeNamespaces({
89613
89619
  __proto__: null,
89614
- 'default': applescriptExports
89615
- }, [applescriptExports]);
89620
+ 'default': avisynthExports
89621
+ }, [avisynthExports]);
89616
89622
 
89617
89623
  var avroIdlExports = requireAvroIdl();
89618
89624