@bigbinary/neeto-commons-frontend 2.0.19 → 2.0.20
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.
- package/README.md +1 -1
- package/initializers.cjs.js +583 -10
- package/initializers.d.ts +3 -1
- package/initializers.js +583 -12
- package/package.json +1 -1
- package/react-utils.cjs.js +944 -371
- package/react-utils.js +946 -374
package/react-utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default$1, { useState, useEffect, useRef, useImperativeHandle, forwardRef } from 'react';
|
|
2
|
+
import React__default$1, { useState, useEffect, useDebugValue, useRef, useImperativeHandle, forwardRef } from 'react';
|
|
3
3
|
import { Search, MenuHorizontal, Copy, Check, Help, Delete, Plus, MenuVertical, Clock, LeftArrow as LeftArrow$1, User, Settings } from '@bigbinary/neeto-icons';
|
|
4
4
|
import { Dropdown, Input, Label, Checkbox, Toastr, Tag, Typography, Button, Pane, PageLoader, Table, Alert, Tooltip, Modal, Switch } from '@bigbinary/neetoui';
|
|
5
|
-
import { curryN, isNil, complement as complement$1, isEmpty, either as either$1, curry, includes, __, filter, trim, toLower, identity, without, append, fromPairs, keys, values, last, pluck, any, uniq, intersection, difference, pick, assoc, mergeLeft, not as not$2, toPairs } from 'ramda';
|
|
5
|
+
import { curryN, isNil, complement as complement$1, isEmpty, either as either$1, curry, includes, __, filter, trim, toLower, identity, without, append, prop as prop$1, fromPairs, keys, values, last, pluck, any, uniq, intersection, difference, pick, assoc, mergeLeft, not as not$2, toPairs } from 'ramda';
|
|
6
6
|
import { Container, Header as Header$1, SubHeader, Sidebar as Sidebar$1, AppSwitcher } from '@bigbinary/neetoui/layouts';
|
|
7
7
|
import { useTranslation, Trans } from 'react-i18next';
|
|
8
8
|
import { Input as Input$1, MultiEmailInput, Select, Checkbox as Checkbox$1, Button as Button$1 } from '@bigbinary/neetoui/formik';
|
|
@@ -371,6 +371,563 @@ var Columns = function Columns(_ref) {
|
|
|
371
371
|
}, noColumnMessage), !!actionBlock && /*#__PURE__*/React__default$1.createElement(React__default$1.Fragment, null, /*#__PURE__*/React__default$1.createElement(Divider, null), actionBlock))));
|
|
372
372
|
};
|
|
373
373
|
|
|
374
|
+
const createStoreImpl = (createState) => {
|
|
375
|
+
let state;
|
|
376
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
377
|
+
const setState = (partial, replace) => {
|
|
378
|
+
const nextState = typeof partial === "function" ? partial(state) : partial;
|
|
379
|
+
if (!Object.is(nextState, state)) {
|
|
380
|
+
const previousState = state;
|
|
381
|
+
state = (replace != null ? replace : typeof nextState !== "object") ? nextState : Object.assign({}, state, nextState);
|
|
382
|
+
listeners.forEach((listener) => listener(state, previousState));
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
const getState = () => state;
|
|
386
|
+
const subscribe = (listener) => {
|
|
387
|
+
listeners.add(listener);
|
|
388
|
+
return () => listeners.delete(listener);
|
|
389
|
+
};
|
|
390
|
+
const destroy = () => listeners.clear();
|
|
391
|
+
const api = { setState, getState, subscribe, destroy };
|
|
392
|
+
state = createState(
|
|
393
|
+
setState,
|
|
394
|
+
getState,
|
|
395
|
+
api
|
|
396
|
+
);
|
|
397
|
+
return api;
|
|
398
|
+
};
|
|
399
|
+
const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
400
|
+
|
|
401
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
402
|
+
|
|
403
|
+
function getDefaultExportFromCjs (x) {
|
|
404
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
var withSelector = {exports: {}};
|
|
408
|
+
|
|
409
|
+
var withSelector_production_min = {};
|
|
410
|
+
|
|
411
|
+
var shim = {exports: {}};
|
|
412
|
+
|
|
413
|
+
var useSyncExternalStoreShim_production_min = {};
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @license React
|
|
417
|
+
* use-sync-external-store-shim.production.min.js
|
|
418
|
+
*
|
|
419
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
420
|
+
*
|
|
421
|
+
* This source code is licensed under the MIT license found in the
|
|
422
|
+
* LICENSE file in the root directory of this source tree.
|
|
423
|
+
*/
|
|
424
|
+
|
|
425
|
+
var hasRequiredUseSyncExternalStoreShim_production_min;
|
|
426
|
+
|
|
427
|
+
function requireUseSyncExternalStoreShim_production_min () {
|
|
428
|
+
if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
|
|
429
|
+
hasRequiredUseSyncExternalStoreShim_production_min = 1;
|
|
430
|
+
var e=React__default$1;function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k="function"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c});},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c});})},[a]);p(d);return d}
|
|
431
|
+
function r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return !k(a,d)}catch(f){return !0}}function t(a,b){return b()}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?t:q;useSyncExternalStoreShim_production_min.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;
|
|
432
|
+
return useSyncExternalStoreShim_production_min;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
var useSyncExternalStoreShim_development = {};
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @license React
|
|
439
|
+
* use-sync-external-store-shim.development.js
|
|
440
|
+
*
|
|
441
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
442
|
+
*
|
|
443
|
+
* This source code is licensed under the MIT license found in the
|
|
444
|
+
* LICENSE file in the root directory of this source tree.
|
|
445
|
+
*/
|
|
446
|
+
|
|
447
|
+
var hasRequiredUseSyncExternalStoreShim_development;
|
|
448
|
+
|
|
449
|
+
function requireUseSyncExternalStoreShim_development () {
|
|
450
|
+
if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
|
|
451
|
+
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
452
|
+
|
|
453
|
+
if (process.env.NODE_ENV !== "production") {
|
|
454
|
+
(function() {
|
|
455
|
+
|
|
456
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
457
|
+
if (
|
|
458
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|
|
459
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
|
|
460
|
+
'function'
|
|
461
|
+
) {
|
|
462
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
463
|
+
}
|
|
464
|
+
var React = React__default$1;
|
|
465
|
+
|
|
466
|
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
467
|
+
|
|
468
|
+
function error(format) {
|
|
469
|
+
{
|
|
470
|
+
{
|
|
471
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
472
|
+
args[_key2 - 1] = arguments[_key2];
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
printWarning('error', format, args);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
function printWarning(level, format, args) {
|
|
481
|
+
// When changing this logic, you might want to also
|
|
482
|
+
// update consoleWithStackDev.www.js as well.
|
|
483
|
+
{
|
|
484
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
485
|
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
486
|
+
|
|
487
|
+
if (stack !== '') {
|
|
488
|
+
format += '%s';
|
|
489
|
+
args = args.concat([stack]);
|
|
490
|
+
} // eslint-disable-next-line react-internal/safe-string-coercion
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
var argsWithFormat = args.map(function (item) {
|
|
494
|
+
return String(item);
|
|
495
|
+
}); // Careful: RN currently depends on this prefix
|
|
496
|
+
|
|
497
|
+
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
|
498
|
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
|
499
|
+
// eslint-disable-next-line react-internal/no-production-logging
|
|
500
|
+
|
|
501
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
507
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
508
|
+
*/
|
|
509
|
+
function is(x, y) {
|
|
510
|
+
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
|
|
511
|
+
;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
var objectIs = typeof Object.is === 'function' ? Object.is : is;
|
|
515
|
+
|
|
516
|
+
// dispatch for CommonJS interop named imports.
|
|
517
|
+
|
|
518
|
+
var useState = React.useState,
|
|
519
|
+
useEffect = React.useEffect,
|
|
520
|
+
useLayoutEffect = React.useLayoutEffect,
|
|
521
|
+
useDebugValue = React.useDebugValue;
|
|
522
|
+
var didWarnOld18Alpha = false;
|
|
523
|
+
var didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works
|
|
524
|
+
// because of a very particular set of implementation details and assumptions
|
|
525
|
+
// -- change any one of them and it will break. The most important assumption
|
|
526
|
+
// is that updates are always synchronous, because concurrent rendering is
|
|
527
|
+
// only available in versions of React that also have a built-in
|
|
528
|
+
// useSyncExternalStore API. And we only use this shim when the built-in API
|
|
529
|
+
// does not exist.
|
|
530
|
+
//
|
|
531
|
+
// Do not assume that the clever hacks used by this hook also work in general.
|
|
532
|
+
// The point of this shim is to replace the need for hacks by other libraries.
|
|
533
|
+
|
|
534
|
+
function useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of
|
|
535
|
+
// React do not expose a way to check if we're hydrating. So users of the shim
|
|
536
|
+
// will need to track that themselves and return the correct value
|
|
537
|
+
// from `getSnapshot`.
|
|
538
|
+
getServerSnapshot) {
|
|
539
|
+
{
|
|
540
|
+
if (!didWarnOld18Alpha) {
|
|
541
|
+
if (React.startTransition !== undefined) {
|
|
542
|
+
didWarnOld18Alpha = true;
|
|
543
|
+
|
|
544
|
+
error('You are using an outdated, pre-release alpha of React 18 that ' + 'does not support useSyncExternalStore. The ' + 'use-sync-external-store shim will not work correctly. Upgrade ' + 'to a newer pre-release.');
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
} // Read the current snapshot from the store on every render. Again, this
|
|
548
|
+
// breaks the rules of React, and only works here because of specific
|
|
549
|
+
// implementation details, most importantly that updates are
|
|
550
|
+
// always synchronous.
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
var value = getSnapshot();
|
|
554
|
+
|
|
555
|
+
{
|
|
556
|
+
if (!didWarnUncachedGetSnapshot) {
|
|
557
|
+
var cachedValue = getSnapshot();
|
|
558
|
+
|
|
559
|
+
if (!objectIs(value, cachedValue)) {
|
|
560
|
+
error('The result of getSnapshot should be cached to avoid an infinite loop');
|
|
561
|
+
|
|
562
|
+
didWarnUncachedGetSnapshot = true;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
} // Because updates are synchronous, we don't queue them. Instead we force a
|
|
566
|
+
// re-render whenever the subscribed state changes by updating an some
|
|
567
|
+
// arbitrary useState hook. Then, during render, we call getSnapshot to read
|
|
568
|
+
// the current value.
|
|
569
|
+
//
|
|
570
|
+
// Because we don't actually use the state returned by the useState hook, we
|
|
571
|
+
// can save a bit of memory by storing other stuff in that slot.
|
|
572
|
+
//
|
|
573
|
+
// To implement the early bailout, we need to track some things on a mutable
|
|
574
|
+
// object. Usually, we would put that in a useRef hook, but we can stash it in
|
|
575
|
+
// our useState hook instead.
|
|
576
|
+
//
|
|
577
|
+
// To force a re-render, we call forceUpdate({inst}). That works because the
|
|
578
|
+
// new object always fails an equality check.
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
var _useState = useState({
|
|
582
|
+
inst: {
|
|
583
|
+
value: value,
|
|
584
|
+
getSnapshot: getSnapshot
|
|
585
|
+
}
|
|
586
|
+
}),
|
|
587
|
+
inst = _useState[0].inst,
|
|
588
|
+
forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated
|
|
589
|
+
// in the layout phase so we can access it during the tearing check that
|
|
590
|
+
// happens on subscribe.
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
useLayoutEffect(function () {
|
|
594
|
+
inst.value = value;
|
|
595
|
+
inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the
|
|
596
|
+
// commit phase if there was an interleaved mutation. In concurrent mode
|
|
597
|
+
// this can happen all the time, but even in synchronous mode, an earlier
|
|
598
|
+
// effect may have mutated the store.
|
|
599
|
+
|
|
600
|
+
if (checkIfSnapshotChanged(inst)) {
|
|
601
|
+
// Force a re-render.
|
|
602
|
+
forceUpdate({
|
|
603
|
+
inst: inst
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
}, [subscribe, value, getSnapshot]);
|
|
607
|
+
useEffect(function () {
|
|
608
|
+
// Check for changes right before subscribing. Subsequent changes will be
|
|
609
|
+
// detected in the subscription handler.
|
|
610
|
+
if (checkIfSnapshotChanged(inst)) {
|
|
611
|
+
// Force a re-render.
|
|
612
|
+
forceUpdate({
|
|
613
|
+
inst: inst
|
|
614
|
+
});
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
var handleStoreChange = function () {
|
|
618
|
+
// TODO: Because there is no cross-renderer API for batching updates, it's
|
|
619
|
+
// up to the consumer of this library to wrap their subscription event
|
|
620
|
+
// with unstable_batchedUpdates. Should we try to detect when this isn't
|
|
621
|
+
// the case and print a warning in development?
|
|
622
|
+
// The store changed. Check if the snapshot changed since the last time we
|
|
623
|
+
// read from the store.
|
|
624
|
+
if (checkIfSnapshotChanged(inst)) {
|
|
625
|
+
// Force a re-render.
|
|
626
|
+
forceUpdate({
|
|
627
|
+
inst: inst
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
}; // Subscribe to the store and return a clean-up function.
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
return subscribe(handleStoreChange);
|
|
634
|
+
}, [subscribe]);
|
|
635
|
+
useDebugValue(value);
|
|
636
|
+
return value;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
function checkIfSnapshotChanged(inst) {
|
|
640
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
641
|
+
var prevValue = inst.value;
|
|
642
|
+
|
|
643
|
+
try {
|
|
644
|
+
var nextValue = latestGetSnapshot();
|
|
645
|
+
return !objectIs(prevValue, nextValue);
|
|
646
|
+
} catch (error) {
|
|
647
|
+
return true;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
|
|
652
|
+
// Note: The shim does not use getServerSnapshot, because pre-18 versions of
|
|
653
|
+
// React do not expose a way to check if we're hydrating. So users of the shim
|
|
654
|
+
// will need to track that themselves and return the correct value
|
|
655
|
+
// from `getSnapshot`.
|
|
656
|
+
return getSnapshot();
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
|
|
660
|
+
|
|
661
|
+
var isServerEnvironment = !canUseDOM;
|
|
662
|
+
|
|
663
|
+
var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
|
|
664
|
+
var useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;
|
|
665
|
+
|
|
666
|
+
useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
|
|
667
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
668
|
+
if (
|
|
669
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|
|
670
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
|
|
671
|
+
'function'
|
|
672
|
+
) {
|
|
673
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
})();
|
|
677
|
+
}
|
|
678
|
+
return useSyncExternalStoreShim_development;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
var hasRequiredShim;
|
|
682
|
+
|
|
683
|
+
function requireShim () {
|
|
684
|
+
if (hasRequiredShim) return shim.exports;
|
|
685
|
+
hasRequiredShim = 1;
|
|
686
|
+
(function (module) {
|
|
687
|
+
|
|
688
|
+
if (process.env.NODE_ENV === 'production') {
|
|
689
|
+
module.exports = requireUseSyncExternalStoreShim_production_min();
|
|
690
|
+
} else {
|
|
691
|
+
module.exports = requireUseSyncExternalStoreShim_development();
|
|
692
|
+
}
|
|
693
|
+
} (shim));
|
|
694
|
+
return shim.exports;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @license React
|
|
699
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
|
700
|
+
*
|
|
701
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
702
|
+
*
|
|
703
|
+
* This source code is licensed under the MIT license found in the
|
|
704
|
+
* LICENSE file in the root directory of this source tree.
|
|
705
|
+
*/
|
|
706
|
+
|
|
707
|
+
var hasRequiredWithSelector_production_min;
|
|
708
|
+
|
|
709
|
+
function requireWithSelector_production_min () {
|
|
710
|
+
if (hasRequiredWithSelector_production_min) return withSelector_production_min;
|
|
711
|
+
hasRequiredWithSelector_production_min = 1;
|
|
712
|
+
var h=React__default$1,n=requireShim();function p(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var q="function"===typeof Object.is?Object.is:p,r=n.useSyncExternalStore,t=h.useRef,u=h.useEffect,v=h.useMemo,w=h.useDebugValue;
|
|
713
|
+
withSelector_production_min.useSyncExternalStoreWithSelector=function(a,b,e,l,g){var c=t(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f;}else f=c.current;c=v(function(){function a(a){if(!c){c=!0;d=a;a=l(a);if(void 0!==g&&f.hasValue){var b=f.value;if(g(b,a))return k=b}return k=a}b=k;if(q(d,a))return b;var e=l(a);if(void 0!==g&&g(b,e))return b;d=a;return k=e}var c=!1,d,k,m=void 0===e?null:e;return [function(){return a(b())},null===m?void 0:function(){return a(m())}]},[b,e,l,g]);var d=r(a,c[0],c[1]);
|
|
714
|
+
u(function(){f.hasValue=!0;f.value=d;},[d]);w(d);return d};
|
|
715
|
+
return withSelector_production_min;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
var withSelector_development = {};
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* @license React
|
|
722
|
+
* use-sync-external-store-shim/with-selector.development.js
|
|
723
|
+
*
|
|
724
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
725
|
+
*
|
|
726
|
+
* This source code is licensed under the MIT license found in the
|
|
727
|
+
* LICENSE file in the root directory of this source tree.
|
|
728
|
+
*/
|
|
729
|
+
|
|
730
|
+
var hasRequiredWithSelector_development;
|
|
731
|
+
|
|
732
|
+
function requireWithSelector_development () {
|
|
733
|
+
if (hasRequiredWithSelector_development) return withSelector_development;
|
|
734
|
+
hasRequiredWithSelector_development = 1;
|
|
735
|
+
|
|
736
|
+
if (process.env.NODE_ENV !== "production") {
|
|
737
|
+
(function() {
|
|
738
|
+
|
|
739
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
740
|
+
if (
|
|
741
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|
|
742
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
|
|
743
|
+
'function'
|
|
744
|
+
) {
|
|
745
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
746
|
+
}
|
|
747
|
+
var React = React__default$1;
|
|
748
|
+
var shim = requireShim();
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
752
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
753
|
+
*/
|
|
754
|
+
function is(x, y) {
|
|
755
|
+
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
|
|
756
|
+
;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
var objectIs = typeof Object.is === 'function' ? Object.is : is;
|
|
760
|
+
|
|
761
|
+
var useSyncExternalStore = shim.useSyncExternalStore;
|
|
762
|
+
|
|
763
|
+
// for CommonJS interop.
|
|
764
|
+
|
|
765
|
+
var useRef = React.useRef,
|
|
766
|
+
useEffect = React.useEffect,
|
|
767
|
+
useMemo = React.useMemo,
|
|
768
|
+
useDebugValue = React.useDebugValue; // Same as useSyncExternalStore, but supports selector and isEqual arguments.
|
|
769
|
+
|
|
770
|
+
function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
771
|
+
// Use this to track the rendered snapshot.
|
|
772
|
+
var instRef = useRef(null);
|
|
773
|
+
var inst;
|
|
774
|
+
|
|
775
|
+
if (instRef.current === null) {
|
|
776
|
+
inst = {
|
|
777
|
+
hasValue: false,
|
|
778
|
+
value: null
|
|
779
|
+
};
|
|
780
|
+
instRef.current = inst;
|
|
781
|
+
} else {
|
|
782
|
+
inst = instRef.current;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
var _useMemo = useMemo(function () {
|
|
786
|
+
// Track the memoized state using closure variables that are local to this
|
|
787
|
+
// memoized instance of a getSnapshot function. Intentionally not using a
|
|
788
|
+
// useRef hook, because that state would be shared across all concurrent
|
|
789
|
+
// copies of the hook/component.
|
|
790
|
+
var hasMemo = false;
|
|
791
|
+
var memoizedSnapshot;
|
|
792
|
+
var memoizedSelection;
|
|
793
|
+
|
|
794
|
+
var memoizedSelector = function (nextSnapshot) {
|
|
795
|
+
if (!hasMemo) {
|
|
796
|
+
// The first time the hook is called, there is no memoized result.
|
|
797
|
+
hasMemo = true;
|
|
798
|
+
memoizedSnapshot = nextSnapshot;
|
|
799
|
+
|
|
800
|
+
var _nextSelection = selector(nextSnapshot);
|
|
801
|
+
|
|
802
|
+
if (isEqual !== undefined) {
|
|
803
|
+
// Even if the selector has changed, the currently rendered selection
|
|
804
|
+
// may be equal to the new selection. We should attempt to reuse the
|
|
805
|
+
// current value if possible, to preserve downstream memoizations.
|
|
806
|
+
if (inst.hasValue) {
|
|
807
|
+
var currentSelection = inst.value;
|
|
808
|
+
|
|
809
|
+
if (isEqual(currentSelection, _nextSelection)) {
|
|
810
|
+
memoizedSelection = currentSelection;
|
|
811
|
+
return currentSelection;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
memoizedSelection = _nextSelection;
|
|
817
|
+
return _nextSelection;
|
|
818
|
+
} // We may be able to reuse the previous invocation's result.
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
// We may be able to reuse the previous invocation's result.
|
|
822
|
+
var prevSnapshot = memoizedSnapshot;
|
|
823
|
+
var prevSelection = memoizedSelection;
|
|
824
|
+
|
|
825
|
+
if (objectIs(prevSnapshot, nextSnapshot)) {
|
|
826
|
+
// The snapshot is the same as last time. Reuse the previous selection.
|
|
827
|
+
return prevSelection;
|
|
828
|
+
} // The snapshot has changed, so we need to compute a new selection.
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
// The snapshot has changed, so we need to compute a new selection.
|
|
832
|
+
var nextSelection = selector(nextSnapshot); // If a custom isEqual function is provided, use that to check if the data
|
|
833
|
+
// has changed. If it hasn't, return the previous selection. That signals
|
|
834
|
+
// to React that the selections are conceptually equal, and we can bail
|
|
835
|
+
// out of rendering.
|
|
836
|
+
|
|
837
|
+
// If a custom isEqual function is provided, use that to check if the data
|
|
838
|
+
// has changed. If it hasn't, return the previous selection. That signals
|
|
839
|
+
// to React that the selections are conceptually equal, and we can bail
|
|
840
|
+
// out of rendering.
|
|
841
|
+
if (isEqual !== undefined && isEqual(prevSelection, nextSelection)) {
|
|
842
|
+
return prevSelection;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
memoizedSnapshot = nextSnapshot;
|
|
846
|
+
memoizedSelection = nextSelection;
|
|
847
|
+
return nextSelection;
|
|
848
|
+
}; // Assigning this to a constant so that Flow knows it can't change.
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
// Assigning this to a constant so that Flow knows it can't change.
|
|
852
|
+
var maybeGetServerSnapshot = getServerSnapshot === undefined ? null : getServerSnapshot;
|
|
853
|
+
|
|
854
|
+
var getSnapshotWithSelector = function () {
|
|
855
|
+
return memoizedSelector(getSnapshot());
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? undefined : function () {
|
|
859
|
+
return memoizedSelector(maybeGetServerSnapshot());
|
|
860
|
+
};
|
|
861
|
+
return [getSnapshotWithSelector, getServerSnapshotWithSelector];
|
|
862
|
+
}, [getSnapshot, getServerSnapshot, selector, isEqual]),
|
|
863
|
+
getSelection = _useMemo[0],
|
|
864
|
+
getServerSelection = _useMemo[1];
|
|
865
|
+
|
|
866
|
+
var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);
|
|
867
|
+
useEffect(function () {
|
|
868
|
+
inst.hasValue = true;
|
|
869
|
+
inst.value = value;
|
|
870
|
+
}, [value]);
|
|
871
|
+
useDebugValue(value);
|
|
872
|
+
return value;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
withSelector_development.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;
|
|
876
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
877
|
+
if (
|
|
878
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|
|
879
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
|
|
880
|
+
'function'
|
|
881
|
+
) {
|
|
882
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
})();
|
|
886
|
+
}
|
|
887
|
+
return withSelector_development;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
(function (module) {
|
|
891
|
+
|
|
892
|
+
if (process.env.NODE_ENV === 'production') {
|
|
893
|
+
module.exports = requireWithSelector_production_min();
|
|
894
|
+
} else {
|
|
895
|
+
module.exports = requireWithSelector_development();
|
|
896
|
+
}
|
|
897
|
+
} (withSelector));
|
|
898
|
+
|
|
899
|
+
var useSyncExternalStoreExports = /*@__PURE__*/getDefaultExportFromCjs(withSelector.exports);
|
|
900
|
+
|
|
901
|
+
const { useSyncExternalStoreWithSelector } = useSyncExternalStoreExports;
|
|
902
|
+
function useStore(api, selector = api.getState, equalityFn) {
|
|
903
|
+
const slice = useSyncExternalStoreWithSelector(
|
|
904
|
+
api.subscribe,
|
|
905
|
+
api.getState,
|
|
906
|
+
api.getServerState || api.getState,
|
|
907
|
+
selector,
|
|
908
|
+
equalityFn
|
|
909
|
+
);
|
|
910
|
+
useDebugValue(slice);
|
|
911
|
+
return slice;
|
|
912
|
+
}
|
|
913
|
+
const createImpl = (createState) => {
|
|
914
|
+
const api = typeof createState === "function" ? createStore(createState) : createState;
|
|
915
|
+
const useBoundStore = (selector, equalityFn) => useStore(api, selector, equalityFn);
|
|
916
|
+
Object.assign(useBoundStore, api);
|
|
917
|
+
return useBoundStore;
|
|
918
|
+
};
|
|
919
|
+
const create$7 = (createState) => createState ? createImpl(createState) : createImpl;
|
|
920
|
+
|
|
921
|
+
var useDisplayErrorPage = function useDisplayErrorPage() {
|
|
922
|
+
return useErrorDisplayStore(prop$1("show404Page"));
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
var useErrorDisplayStore = create$7(function () {
|
|
926
|
+
return {
|
|
927
|
+
show404Page: false
|
|
928
|
+
};
|
|
929
|
+
});
|
|
930
|
+
|
|
374
931
|
function useDebounce(value) {
|
|
375
932
|
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 350;
|
|
376
933
|
|
|
@@ -546,8 +1103,6 @@ function _asyncToGenerator$1(fn) {
|
|
|
546
1103
|
};
|
|
547
1104
|
}
|
|
548
1105
|
|
|
549
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
550
|
-
|
|
551
1106
|
var regeneratorRuntime$2 = {exports: {}};
|
|
552
1107
|
|
|
553
1108
|
var _typeof$3 = {exports: {}};
|
|
@@ -2182,6 +2737,19 @@ var FallbackComponent = function FallbackComponent() {
|
|
|
2182
2737
|
var _useTranslation = useTranslation(),
|
|
2183
2738
|
t = _useTranslation.t;
|
|
2184
2739
|
|
|
2740
|
+
useEffect(function () {
|
|
2741
|
+
var listener = function listener(e) {
|
|
2742
|
+
var _e$target;
|
|
2743
|
+
|
|
2744
|
+
if (isNil(e.state)) return;
|
|
2745
|
+
window.location.href = (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.location.href;
|
|
2746
|
+
};
|
|
2747
|
+
|
|
2748
|
+
window.addEventListener("popstate", listener);
|
|
2749
|
+
return function () {
|
|
2750
|
+
return window.removeEventListener("popstate", listener);
|
|
2751
|
+
};
|
|
2752
|
+
}, []);
|
|
2185
2753
|
return /*#__PURE__*/React__default$1.createElement("div", {
|
|
2186
2754
|
className: "flex h-screen w-full flex-row items-start justify-start"
|
|
2187
2755
|
}, /*#__PURE__*/React__default$1.createElement("div", {
|
|
@@ -2227,10 +2795,14 @@ var HoneybadgerErrorBoundary = function HoneybadgerErrorBoundary(_ref) {
|
|
|
2227
2795
|
breadcrumbsEnabled: true,
|
|
2228
2796
|
projectRoot: "webpack:///./"
|
|
2229
2797
|
});
|
|
2230
|
-
return
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2798
|
+
return (
|
|
2799
|
+
/*#__PURE__*/
|
|
2800
|
+
// @ts-ignore
|
|
2801
|
+
React__default$1.createElement(HoneybadgerErrorBoundary$1, {
|
|
2802
|
+
honeybadger: honeybadger,
|
|
2803
|
+
ErrorComponent: ErrorComponent
|
|
2804
|
+
}, children)
|
|
2805
|
+
);
|
|
2234
2806
|
};
|
|
2235
2807
|
|
|
2236
2808
|
var ENV_BRANCH = {
|
|
@@ -7608,11 +8180,11 @@ function require_1c () {
|
|
|
7608
8180
|
* */
|
|
7609
8181
|
|
|
7610
8182
|
var abnf_1$1;
|
|
7611
|
-
var hasRequiredAbnf
|
|
8183
|
+
var hasRequiredAbnf;
|
|
7612
8184
|
|
|
7613
|
-
function requireAbnf
|
|
7614
|
-
if (hasRequiredAbnf
|
|
7615
|
-
hasRequiredAbnf
|
|
8185
|
+
function requireAbnf () {
|
|
8186
|
+
if (hasRequiredAbnf) return abnf_1$1;
|
|
8187
|
+
hasRequiredAbnf = 1;
|
|
7616
8188
|
/**
|
|
7617
8189
|
* @param {RegExp | string } re
|
|
7618
8190
|
* @returns {string}
|
|
@@ -51662,7 +52234,7 @@ var low = core$4;
|
|
|
51662
52234
|
var lowlight = low;
|
|
51663
52235
|
|
|
51664
52236
|
low.registerLanguage('1c', require_1c());
|
|
51665
|
-
low.registerLanguage('abnf', requireAbnf
|
|
52237
|
+
low.registerLanguage('abnf', requireAbnf());
|
|
51666
52238
|
low.registerLanguage(
|
|
51667
52239
|
'accesslog',
|
|
51668
52240
|
requireAccesslog()
|
|
@@ -52626,7 +53198,7 @@ var languageLoaders$1 = {
|
|
|
52626
53198
|
return Promise.resolve().then(function () { return _1c; });
|
|
52627
53199
|
}),
|
|
52628
53200
|
abnf: createLanguageAsyncLoader("abnf", function () {
|
|
52629
|
-
return Promise.resolve().then(function () { return abnf
|
|
53201
|
+
return Promise.resolve().then(function () { return abnf; });
|
|
52630
53202
|
}),
|
|
52631
53203
|
accesslog: createLanguageAsyncLoader("accesslog", function () {
|
|
52632
53204
|
return Promise.resolve().then(function () { return accesslog; });
|
|
@@ -53221,7 +53793,7 @@ var languageLoaders = {
|
|
|
53221
53793
|
return Promise.resolve().then(function () { return abap$1; });
|
|
53222
53794
|
}),
|
|
53223
53795
|
abnf: createLanguageAsyncLoader("abnf", function () {
|
|
53224
|
-
return Promise.resolve().then(function () { return abnf; });
|
|
53796
|
+
return Promise.resolve().then(function () { return abnf$2; });
|
|
53225
53797
|
}),
|
|
53226
53798
|
actionscript: createLanguageAsyncLoader("actionscript", function () {
|
|
53227
53799
|
return Promise.resolve().then(function () { return actionscript$2; });
|
|
@@ -53245,7 +53817,7 @@ var languageLoaders = {
|
|
|
53245
53817
|
return Promise.resolve().then(function () { return apex$1; });
|
|
53246
53818
|
}),
|
|
53247
53819
|
apl: createLanguageAsyncLoader("apl", function () {
|
|
53248
|
-
return Promise.resolve().then(function () { return apl; });
|
|
53820
|
+
return Promise.resolve().then(function () { return apl$1; });
|
|
53249
53821
|
}),
|
|
53250
53822
|
applescript: createLanguageAsyncLoader("applescript", function () {
|
|
53251
53823
|
return Promise.resolve().then(function () { return applescript$2; });
|
|
@@ -53278,10 +53850,10 @@ var languageLoaders = {
|
|
|
53278
53850
|
return Promise.resolve().then(function () { return autoit$2; });
|
|
53279
53851
|
}),
|
|
53280
53852
|
avisynth: createLanguageAsyncLoader("avisynth", function () {
|
|
53281
|
-
return Promise.resolve().then(function () { return avisynth
|
|
53853
|
+
return Promise.resolve().then(function () { return avisynth; });
|
|
53282
53854
|
}),
|
|
53283
53855
|
avroIdl: createLanguageAsyncLoader("avroIdl", function () {
|
|
53284
|
-
return Promise.resolve().then(function () { return avroIdl
|
|
53856
|
+
return Promise.resolve().then(function () { return avroIdl; });
|
|
53285
53857
|
}),
|
|
53286
53858
|
bash: createLanguageAsyncLoader("bash", function () {
|
|
53287
53859
|
return Promise.resolve().then(function () { return bash; });
|
|
@@ -62590,77 +63162,73 @@ var abap$1 = /*#__PURE__*/_mergeNamespaces({
|
|
|
62590
63162
|
'default': abap_1
|
|
62591
63163
|
}, [abap_1]);
|
|
62592
63164
|
|
|
62593
|
-
var abnf_1;
|
|
62594
|
-
|
|
62595
|
-
|
|
62596
|
-
function
|
|
62597
|
-
if (hasRequiredAbnf) return abnf_1;
|
|
62598
|
-
hasRequiredAbnf = 1;
|
|
62599
|
-
|
|
62600
|
-
abnf_1 = abnf;
|
|
62601
|
-
abnf.displayName = 'abnf';
|
|
62602
|
-
abnf.aliases = [];
|
|
62603
|
-
function abnf(Prism) {
|
|
63165
|
+
var abnf_1 = abnf$1;
|
|
63166
|
+
abnf$1.displayName = 'abnf';
|
|
63167
|
+
abnf$1.aliases = [];
|
|
63168
|
+
function abnf$1(Prism) {
|
|
62604
63169
|
(function (Prism) {
|
|
62605
|
-
|
|
62606
|
-
|
|
62607
|
-
|
|
62608
|
-
|
|
62609
|
-
|
|
62610
|
-
|
|
62611
|
-
|
|
62612
|
-
|
|
62613
|
-
|
|
62614
|
-
|
|
62615
|
-
|
|
62616
|
-
|
|
62617
|
-
|
|
62618
|
-
|
|
62619
|
-
|
|
62620
|
-
|
|
62621
|
-
|
|
62622
|
-
|
|
62623
|
-
|
|
62624
|
-
|
|
62625
|
-
|
|
62626
|
-
|
|
62627
|
-
|
|
62628
|
-
|
|
62629
|
-
|
|
62630
|
-
|
|
62631
|
-
|
|
62632
|
-
|
|
62633
|
-
|
|
62634
|
-
|
|
62635
|
-
|
|
62636
|
-
|
|
62637
|
-
|
|
62638
|
-
|
|
62639
|
-
|
|
62640
|
-
|
|
62641
|
-
|
|
62642
|
-
|
|
62643
|
-
|
|
62644
|
-
|
|
62645
|
-
|
|
62646
|
-
|
|
62647
|
-
|
|
62648
|
-
|
|
62649
|
-
|
|
62650
|
-
|
|
62651
|
-
|
|
62652
|
-
|
|
62653
|
-
|
|
62654
|
-
|
|
62655
|
-
|
|
62656
|
-
|
|
62657
|
-
|
|
62658
|
-
|
|
62659
|
-
|
|
62660
|
-
}
|
|
62661
|
-
return abnf_1;
|
|
63170
|
+
var coreRules =
|
|
63171
|
+
'(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)';
|
|
63172
|
+
Prism.languages.abnf = {
|
|
63173
|
+
comment: /;.*/,
|
|
63174
|
+
string: {
|
|
63175
|
+
pattern: /(?:%[is])?"[^"\n\r]*"/,
|
|
63176
|
+
greedy: true,
|
|
63177
|
+
inside: {
|
|
63178
|
+
punctuation: /^%[is]/
|
|
63179
|
+
}
|
|
63180
|
+
},
|
|
63181
|
+
range: {
|
|
63182
|
+
pattern: /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,
|
|
63183
|
+
alias: 'number'
|
|
63184
|
+
},
|
|
63185
|
+
terminal: {
|
|
63186
|
+
pattern:
|
|
63187
|
+
/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,
|
|
63188
|
+
alias: 'number'
|
|
63189
|
+
},
|
|
63190
|
+
repetition: {
|
|
63191
|
+
pattern: /(^|[^\w-])(?:\d*\*\d*|\d+)/,
|
|
63192
|
+
lookbehind: true,
|
|
63193
|
+
alias: 'operator'
|
|
63194
|
+
},
|
|
63195
|
+
definition: {
|
|
63196
|
+
pattern: /(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,
|
|
63197
|
+
lookbehind: true,
|
|
63198
|
+
alias: 'keyword',
|
|
63199
|
+
inside: {
|
|
63200
|
+
punctuation: /<|>/
|
|
63201
|
+
}
|
|
63202
|
+
},
|
|
63203
|
+
'core-rule': {
|
|
63204
|
+
pattern: RegExp(
|
|
63205
|
+
'(?:(^|[^<\\w-])' + coreRules + '|<' + coreRules + '>)(?![\\w-])',
|
|
63206
|
+
'i'
|
|
63207
|
+
),
|
|
63208
|
+
lookbehind: true,
|
|
63209
|
+
alias: ['rule', 'constant'],
|
|
63210
|
+
inside: {
|
|
63211
|
+
punctuation: /<|>/
|
|
63212
|
+
}
|
|
63213
|
+
},
|
|
63214
|
+
rule: {
|
|
63215
|
+
pattern: /(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,
|
|
63216
|
+
lookbehind: true,
|
|
63217
|
+
inside: {
|
|
63218
|
+
punctuation: /<|>/
|
|
63219
|
+
}
|
|
63220
|
+
},
|
|
63221
|
+
operator: /=\/?|\//,
|
|
63222
|
+
punctuation: /[()\[\]]/
|
|
63223
|
+
};
|
|
63224
|
+
})(Prism);
|
|
62662
63225
|
}
|
|
62663
63226
|
|
|
63227
|
+
var abnf$2 = /*#__PURE__*/_mergeNamespaces({
|
|
63228
|
+
__proto__: null,
|
|
63229
|
+
'default': abnf_1
|
|
63230
|
+
}, [abnf_1]);
|
|
63231
|
+
|
|
62664
63232
|
var actionscript_1 = actionscript$1;
|
|
62665
63233
|
actionscript$1.displayName = 'actionscript';
|
|
62666
63234
|
actionscript$1.aliases = [];
|
|
@@ -63066,54 +63634,50 @@ var apex$1 = /*#__PURE__*/_mergeNamespaces({
|
|
|
63066
63634
|
'default': apex_1
|
|
63067
63635
|
}, [apex_1]);
|
|
63068
63636
|
|
|
63069
|
-
var apl_1;
|
|
63070
|
-
|
|
63071
|
-
|
|
63072
|
-
function
|
|
63073
|
-
|
|
63074
|
-
|
|
63075
|
-
|
|
63076
|
-
|
|
63077
|
-
|
|
63078
|
-
|
|
63079
|
-
|
|
63080
|
-
|
|
63081
|
-
|
|
63082
|
-
|
|
63083
|
-
|
|
63084
|
-
|
|
63085
|
-
|
|
63086
|
-
|
|
63087
|
-
|
|
63088
|
-
|
|
63089
|
-
|
|
63090
|
-
|
|
63091
|
-
|
|
63092
|
-
|
|
63093
|
-
|
|
63094
|
-
|
|
63095
|
-
|
|
63096
|
-
|
|
63097
|
-
|
|
63098
|
-
|
|
63099
|
-
|
|
63100
|
-
|
|
63101
|
-
|
|
63102
|
-
|
|
63103
|
-
|
|
63104
|
-
|
|
63105
|
-
|
|
63106
|
-
},
|
|
63107
|
-
punctuation: /[\[;\]()◇⋄]/,
|
|
63108
|
-
dfn: {
|
|
63109
|
-
pattern: /[{}⍺⍵⍶⍹∇⍫:]/,
|
|
63110
|
-
alias: 'builtin'
|
|
63111
|
-
}
|
|
63112
|
-
};
|
|
63113
|
-
}
|
|
63114
|
-
return apl_1;
|
|
63637
|
+
var apl_1 = apl;
|
|
63638
|
+
apl.displayName = 'apl';
|
|
63639
|
+
apl.aliases = [];
|
|
63640
|
+
function apl(Prism) {
|
|
63641
|
+
Prism.languages.apl = {
|
|
63642
|
+
comment: /(?:⍝|#[! ]).*$/m,
|
|
63643
|
+
string: {
|
|
63644
|
+
pattern: /'(?:[^'\r\n]|'')*'/,
|
|
63645
|
+
greedy: true
|
|
63646
|
+
},
|
|
63647
|
+
number:
|
|
63648
|
+
/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,
|
|
63649
|
+
statement: /:[A-Z][a-z][A-Za-z]*\b/,
|
|
63650
|
+
'system-function': {
|
|
63651
|
+
pattern: /⎕[A-Z]+/i,
|
|
63652
|
+
alias: 'function'
|
|
63653
|
+
},
|
|
63654
|
+
constant: /[⍬⌾#⎕⍞]/,
|
|
63655
|
+
function: /[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,
|
|
63656
|
+
'monadic-operator': {
|
|
63657
|
+
pattern: /[\\\/⌿⍀¨⍨⌶&∥]/,
|
|
63658
|
+
alias: 'operator'
|
|
63659
|
+
},
|
|
63660
|
+
'dyadic-operator': {
|
|
63661
|
+
pattern: /[.⍣⍠⍤∘⌸@⌺⍥]/,
|
|
63662
|
+
alias: 'operator'
|
|
63663
|
+
},
|
|
63664
|
+
assignment: {
|
|
63665
|
+
pattern: /←/,
|
|
63666
|
+
alias: 'keyword'
|
|
63667
|
+
},
|
|
63668
|
+
punctuation: /[\[;\]()◇⋄]/,
|
|
63669
|
+
dfn: {
|
|
63670
|
+
pattern: /[{}⍺⍵⍶⍹∇⍫:]/,
|
|
63671
|
+
alias: 'builtin'
|
|
63672
|
+
}
|
|
63673
|
+
};
|
|
63115
63674
|
}
|
|
63116
63675
|
|
|
63676
|
+
var apl$1 = /*#__PURE__*/_mergeNamespaces({
|
|
63677
|
+
__proto__: null,
|
|
63678
|
+
'default': apl_1
|
|
63679
|
+
}, [apl_1]);
|
|
63680
|
+
|
|
63117
63681
|
var applescript_1 = applescript$1;
|
|
63118
63682
|
applescript$1.displayName = 'applescript';
|
|
63119
63683
|
applescript$1.aliases = [];
|
|
@@ -64434,235 +64998,243 @@ var autoit$2 = /*#__PURE__*/_mergeNamespaces({
|
|
|
64434
64998
|
'default': autoit_1
|
|
64435
64999
|
}, [autoit_1]);
|
|
64436
65000
|
|
|
64437
|
-
var avisynth_1
|
|
64438
|
-
|
|
64439
|
-
|
|
64440
|
-
function
|
|
65001
|
+
var avisynth_1;
|
|
65002
|
+
var hasRequiredAvisynth;
|
|
65003
|
+
|
|
65004
|
+
function requireAvisynth () {
|
|
65005
|
+
if (hasRequiredAvisynth) return avisynth_1;
|
|
65006
|
+
hasRequiredAvisynth = 1;
|
|
65007
|
+
|
|
65008
|
+
avisynth_1 = avisynth;
|
|
65009
|
+
avisynth.displayName = 'avisynth';
|
|
65010
|
+
avisynth.aliases = ['avs'];
|
|
65011
|
+
function avisynth(Prism) {
|
|
64441
65012
|
(function (Prism) {
|
|
64442
|
-
|
|
64443
|
-
|
|
64444
|
-
|
|
64445
|
-
|
|
64446
|
-
|
|
64447
|
-
|
|
64448
|
-
|
|
64449
|
-
|
|
64450
|
-
|
|
64451
|
-
|
|
64452
|
-
|
|
64453
|
-
|
|
64454
|
-
|
|
64455
|
-
|
|
64456
|
-
|
|
64457
|
-
|
|
64458
|
-
|
|
64459
|
-
|
|
64460
|
-
|
|
64461
|
-
|
|
64462
|
-
|
|
64463
|
-
|
|
64464
|
-
|
|
64465
|
-
|
|
64466
|
-
|
|
64467
|
-
|
|
64468
|
-
|
|
64469
|
-
|
|
64470
|
-
|
|
64471
|
-
|
|
64472
|
-
|
|
64473
|
-
|
|
64474
|
-
|
|
64475
|
-
|
|
64476
|
-
|
|
64477
|
-
|
|
64478
|
-
|
|
64479
|
-
|
|
64480
|
-
|
|
64481
|
-
|
|
64482
|
-
|
|
64483
|
-
|
|
64484
|
-
|
|
64485
|
-
|
|
64486
|
-
|
|
64487
|
-
|
|
64488
|
-
|
|
64489
|
-
|
|
64490
|
-
|
|
64491
|
-
|
|
64492
|
-
|
|
64493
|
-
|
|
64494
|
-
|
|
64495
|
-
|
|
64496
|
-
|
|
64497
|
-
|
|
64498
|
-
|
|
64499
|
-
|
|
64500
|
-
|
|
64501
|
-
|
|
64502
|
-
|
|
64503
|
-
|
|
64504
|
-
|
|
64505
|
-
|
|
64506
|
-
|
|
64507
|
-
|
|
64508
|
-
|
|
64509
|
-
|
|
64510
|
-
|
|
64511
|
-
|
|
64512
|
-
|
|
64513
|
-
|
|
64514
|
-
|
|
64515
|
-
|
|
64516
|
-
|
|
64517
|
-
|
|
64518
|
-
|
|
64519
|
-
|
|
64520
|
-
|
|
64521
|
-
|
|
64522
|
-
|
|
64523
|
-
|
|
64524
|
-
|
|
64525
|
-
|
|
64526
|
-
|
|
64527
|
-
|
|
64528
|
-
|
|
64529
|
-
|
|
64530
|
-
|
|
64531
|
-
|
|
64532
|
-
|
|
64533
|
-
|
|
64534
|
-
|
|
64535
|
-
|
|
64536
|
-
|
|
64537
|
-
|
|
64538
|
-
|
|
64539
|
-
|
|
64540
|
-
|
|
64541
|
-
|
|
64542
|
-
|
|
64543
|
-
|
|
64544
|
-
|
|
64545
|
-
|
|
64546
|
-
|
|
64547
|
-
|
|
64548
|
-
|
|
64549
|
-
|
|
64550
|
-
|
|
64551
|
-
|
|
64552
|
-
|
|
64553
|
-
|
|
64554
|
-
|
|
64555
|
-
|
|
64556
|
-
|
|
64557
|
-
|
|
64558
|
-
|
|
64559
|
-
|
|
64560
|
-
|
|
64561
|
-
|
|
64562
|
-
|
|
64563
|
-
|
|
64564
|
-
|
|
64565
|
-
|
|
64566
|
-
|
|
64567
|
-
|
|
64568
|
-
|
|
64569
|
-
|
|
64570
|
-
|
|
64571
|
-
|
|
64572
|
-
|
|
64573
|
-
|
|
64574
|
-
|
|
64575
|
-
|
|
64576
|
-
|
|
64577
|
-
|
|
64578
|
-
|
|
64579
|
-
|
|
64580
|
-
|
|
64581
|
-
|
|
64582
|
-
|
|
64583
|
-
|
|
64584
|
-
|
|
64585
|
-
|
|
64586
|
-
|
|
64587
|
-
|
|
64588
|
-
|
|
64589
|
-
|
|
64590
|
-
|
|
64591
|
-
|
|
64592
|
-
|
|
64593
|
-
|
|
64594
|
-
|
|
64595
|
-
|
|
64596
|
-
|
|
64597
|
-
|
|
64598
|
-
|
|
64599
|
-
|
|
64600
|
-
|
|
64601
|
-
|
|
64602
|
-
|
|
65013
|
+
function replace(pattern, replacements) {
|
|
65014
|
+
return pattern.replace(/<<(\d+)>>/g, function (m, index) {
|
|
65015
|
+
return replacements[+index]
|
|
65016
|
+
})
|
|
65017
|
+
}
|
|
65018
|
+
function re(pattern, replacements, flags) {
|
|
65019
|
+
return RegExp(replace(pattern, replacements), flags || '')
|
|
65020
|
+
}
|
|
65021
|
+
var types = /bool|clip|float|int|string|val/.source;
|
|
65022
|
+
var internals = [
|
|
65023
|
+
// bools
|
|
65024
|
+
/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
|
|
65025
|
+
.source, // control
|
|
65026
|
+
/apply|assert|default|eval|import|nop|select|undefined/.source, // global
|
|
65027
|
+
/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
|
|
65028
|
+
.source, // conv
|
|
65029
|
+
/hex(?:value)?|value/.source, // numeric
|
|
65030
|
+
/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
|
|
65031
|
+
.source, // trig
|
|
65032
|
+
/a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
|
|
65033
|
+
/(?: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?))/
|
|
65034
|
+
.source, // runtime
|
|
65035
|
+
/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
|
|
65036
|
+
.source, // script
|
|
65037
|
+
/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
|
|
65038
|
+
.source, // string
|
|
65039
|
+
/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
|
|
65040
|
+
.source, // version
|
|
65041
|
+
/isversionorgreater|version(?:number|string)/.source, // helper
|
|
65042
|
+
/buildpixeltype|colorspacenametopixeltype/.source, // avsplus
|
|
65043
|
+
/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
|
|
65044
|
+
].join('|');
|
|
65045
|
+
var properties = [
|
|
65046
|
+
// content
|
|
65047
|
+
/has(?:audio|video)/.source, // resolution
|
|
65048
|
+
/height|width/.source, // framerate
|
|
65049
|
+
/frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
|
|
65050
|
+
/getparity|is(?:field|frame)based/.source, // color format
|
|
65051
|
+
/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/
|
|
65052
|
+
.source, // audio
|
|
65053
|
+
/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
|
|
65054
|
+
.source
|
|
65055
|
+
].join('|');
|
|
65056
|
+
var filters = [
|
|
65057
|
+
// source
|
|
65058
|
+
/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
|
|
65059
|
+
.source, // color
|
|
65060
|
+
/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/
|
|
65061
|
+
.source, // overlay
|
|
65062
|
+
/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
|
|
65063
|
+
/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)/
|
|
65064
|
+
.source, // pixel
|
|
65065
|
+
/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
|
|
65066
|
+
.source, // timeline
|
|
65067
|
+
/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)/
|
|
65068
|
+
.source, // interlace
|
|
65069
|
+
/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
|
|
65070
|
+
.source, // audio
|
|
65071
|
+
/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/
|
|
65072
|
+
.source, // conditional
|
|
65073
|
+
/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
|
|
65074
|
+
.source, // export
|
|
65075
|
+
/imagewriter/.source, // debug
|
|
65076
|
+
/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
|
|
65077
|
+
.source
|
|
65078
|
+
].join('|');
|
|
65079
|
+
var allinternals = [internals, properties, filters].join('|');
|
|
65080
|
+
Prism.languages.avisynth = {
|
|
65081
|
+
comment: [
|
|
65082
|
+
{
|
|
65083
|
+
// Matches [* *] nestable block comments, but only supports 1 level of nested comments
|
|
65084
|
+
// /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
|
|
65085
|
+
pattern:
|
|
65086
|
+
/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
|
|
65087
|
+
lookbehind: true,
|
|
65088
|
+
greedy: true
|
|
65089
|
+
},
|
|
65090
|
+
{
|
|
65091
|
+
// Matches /* */ block comments
|
|
65092
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
65093
|
+
lookbehind: true,
|
|
65094
|
+
greedy: true
|
|
65095
|
+
},
|
|
65096
|
+
{
|
|
65097
|
+
// Matches # comments
|
|
65098
|
+
pattern: /(^|[^\\$])#.*/,
|
|
65099
|
+
lookbehind: true,
|
|
65100
|
+
greedy: true
|
|
65101
|
+
}
|
|
65102
|
+
],
|
|
65103
|
+
// Handle before strings because optional arguments are surrounded by double quotes
|
|
65104
|
+
argument: {
|
|
65105
|
+
pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
|
|
65106
|
+
inside: {
|
|
65107
|
+
keyword: /^\w+/
|
|
65108
|
+
}
|
|
65109
|
+
},
|
|
65110
|
+
// Optional argument assignment
|
|
65111
|
+
'argument-label': {
|
|
65112
|
+
pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
|
|
65113
|
+
lookbehind: true,
|
|
65114
|
+
inside: {
|
|
65115
|
+
'argument-name': {
|
|
65116
|
+
pattern: /^\w+/,
|
|
65117
|
+
alias: 'punctuation'
|
|
65118
|
+
},
|
|
65119
|
+
punctuation: /=$/
|
|
65120
|
+
}
|
|
65121
|
+
},
|
|
65122
|
+
string: [
|
|
65123
|
+
{
|
|
65124
|
+
// triple double-quoted
|
|
65125
|
+
pattern: /"""[\s\S]*?"""/,
|
|
65126
|
+
greedy: true
|
|
65127
|
+
},
|
|
65128
|
+
{
|
|
65129
|
+
// single double-quoted
|
|
65130
|
+
pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
65131
|
+
greedy: true,
|
|
65132
|
+
inside: {
|
|
65133
|
+
constant: {
|
|
65134
|
+
// These *are* case-sensitive!
|
|
65135
|
+
pattern:
|
|
65136
|
+
/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
|
|
65137
|
+
}
|
|
65138
|
+
}
|
|
65139
|
+
}
|
|
65140
|
+
],
|
|
65141
|
+
// The special "last" variable that takes the value of the last implicitly returned clip
|
|
65142
|
+
variable: /\b(?:last)\b/i,
|
|
65143
|
+
boolean: /\b(?:false|no|true|yes)\b/i,
|
|
65144
|
+
keyword:
|
|
65145
|
+
/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
|
|
65146
|
+
constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
|
|
65147
|
+
// AviSynth's internal functions, filters, and properties
|
|
65148
|
+
'builtin-function': {
|
|
65149
|
+
pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
|
|
65150
|
+
alias: 'function'
|
|
65151
|
+
},
|
|
65152
|
+
'type-cast': {
|
|
65153
|
+
pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
|
|
65154
|
+
alias: 'keyword'
|
|
65155
|
+
},
|
|
65156
|
+
// External/user-defined filters
|
|
65157
|
+
function: {
|
|
65158
|
+
pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
|
|
65159
|
+
lookbehind: true
|
|
65160
|
+
},
|
|
65161
|
+
// Matches a \ as the first or last character on a line
|
|
65162
|
+
'line-continuation': {
|
|
65163
|
+
pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
|
|
65164
|
+
lookbehind: true,
|
|
65165
|
+
alias: 'punctuation'
|
|
65166
|
+
},
|
|
65167
|
+
number:
|
|
65168
|
+
/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
|
|
65169
|
+
operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
|
|
65170
|
+
punctuation: /[{}\[\]();,.]/
|
|
65171
|
+
};
|
|
65172
|
+
Prism.languages.avs = Prism.languages.avisynth;
|
|
65173
|
+
})(Prism);
|
|
65174
|
+
}
|
|
65175
|
+
return avisynth_1;
|
|
64603
65176
|
}
|
|
64604
65177
|
|
|
64605
|
-
var
|
|
64606
|
-
|
|
64607
|
-
'default': avisynth_1
|
|
64608
|
-
}, [avisynth_1]);
|
|
64609
|
-
|
|
64610
|
-
var avroIdl_1 = avroIdl;
|
|
64611
|
-
avroIdl.displayName = 'avroIdl';
|
|
64612
|
-
avroIdl.aliases = [];
|
|
64613
|
-
function avroIdl(Prism) {
|
|
64614
|
-
// GitHub: https://github.com/apache/avro
|
|
64615
|
-
// Docs: https://avro.apache.org/docs/current/idl.html
|
|
64616
|
-
Prism.languages['avro-idl'] = {
|
|
64617
|
-
comment: {
|
|
64618
|
-
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
64619
|
-
greedy: true
|
|
64620
|
-
},
|
|
64621
|
-
string: {
|
|
64622
|
-
pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
|
|
64623
|
-
lookbehind: true,
|
|
64624
|
-
greedy: true
|
|
64625
|
-
},
|
|
64626
|
-
annotation: {
|
|
64627
|
-
pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
|
|
64628
|
-
greedy: true,
|
|
64629
|
-
alias: 'function'
|
|
64630
|
-
},
|
|
64631
|
-
'function-identifier': {
|
|
64632
|
-
pattern: /`[^\r\n`]+`(?=\s*\()/,
|
|
64633
|
-
greedy: true,
|
|
64634
|
-
alias: 'function'
|
|
64635
|
-
},
|
|
64636
|
-
identifier: {
|
|
64637
|
-
pattern: /`[^\r\n`]+`/,
|
|
64638
|
-
greedy: true
|
|
64639
|
-
},
|
|
64640
|
-
'class-name': {
|
|
64641
|
-
pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
|
|
64642
|
-
lookbehind: true,
|
|
64643
|
-
greedy: true
|
|
64644
|
-
},
|
|
64645
|
-
keyword:
|
|
64646
|
-
/\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/,
|
|
64647
|
-
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
64648
|
-
number: [
|
|
64649
|
-
{
|
|
64650
|
-
pattern:
|
|
64651
|
-
/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
|
|
64652
|
-
lookbehind: true
|
|
64653
|
-
},
|
|
64654
|
-
/-?\b(?:Infinity|NaN)\b/
|
|
64655
|
-
],
|
|
64656
|
-
operator: /=/,
|
|
64657
|
-
punctuation: /[()\[\]{}<>.:,;-]/
|
|
64658
|
-
};
|
|
64659
|
-
Prism.languages.avdl = Prism.languages['avro-idl'];
|
|
64660
|
-
}
|
|
65178
|
+
var avroIdl_1;
|
|
65179
|
+
var hasRequiredAvroIdl;
|
|
64661
65180
|
|
|
64662
|
-
|
|
64663
|
-
|
|
64664
|
-
|
|
64665
|
-
|
|
65181
|
+
function requireAvroIdl () {
|
|
65182
|
+
if (hasRequiredAvroIdl) return avroIdl_1;
|
|
65183
|
+
hasRequiredAvroIdl = 1;
|
|
65184
|
+
|
|
65185
|
+
avroIdl_1 = avroIdl;
|
|
65186
|
+
avroIdl.displayName = 'avroIdl';
|
|
65187
|
+
avroIdl.aliases = [];
|
|
65188
|
+
function avroIdl(Prism) {
|
|
65189
|
+
// GitHub: https://github.com/apache/avro
|
|
65190
|
+
// Docs: https://avro.apache.org/docs/current/idl.html
|
|
65191
|
+
Prism.languages['avro-idl'] = {
|
|
65192
|
+
comment: {
|
|
65193
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
65194
|
+
greedy: true
|
|
65195
|
+
},
|
|
65196
|
+
string: {
|
|
65197
|
+
pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
|
|
65198
|
+
lookbehind: true,
|
|
65199
|
+
greedy: true
|
|
65200
|
+
},
|
|
65201
|
+
annotation: {
|
|
65202
|
+
pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
|
|
65203
|
+
greedy: true,
|
|
65204
|
+
alias: 'function'
|
|
65205
|
+
},
|
|
65206
|
+
'function-identifier': {
|
|
65207
|
+
pattern: /`[^\r\n`]+`(?=\s*\()/,
|
|
65208
|
+
greedy: true,
|
|
65209
|
+
alias: 'function'
|
|
65210
|
+
},
|
|
65211
|
+
identifier: {
|
|
65212
|
+
pattern: /`[^\r\n`]+`/,
|
|
65213
|
+
greedy: true
|
|
65214
|
+
},
|
|
65215
|
+
'class-name': {
|
|
65216
|
+
pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
|
|
65217
|
+
lookbehind: true,
|
|
65218
|
+
greedy: true
|
|
65219
|
+
},
|
|
65220
|
+
keyword:
|
|
65221
|
+
/\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/,
|
|
65222
|
+
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
65223
|
+
number: [
|
|
65224
|
+
{
|
|
65225
|
+
pattern:
|
|
65226
|
+
/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
|
|
65227
|
+
lookbehind: true
|
|
65228
|
+
},
|
|
65229
|
+
/-?\b(?:Infinity|NaN)\b/
|
|
65230
|
+
],
|
|
65231
|
+
operator: /=/,
|
|
65232
|
+
punctuation: /[()\[\]{}<>.:,;-]/
|
|
65233
|
+
};
|
|
65234
|
+
Prism.languages.avdl = Prism.languages['avro-idl'];
|
|
65235
|
+
}
|
|
65236
|
+
return avroIdl_1;
|
|
65237
|
+
}
|
|
64666
65238
|
|
|
64667
65239
|
var bash_1;
|
|
64668
65240
|
var hasRequiredBash;
|
|
@@ -85828,7 +86400,7 @@ var refractor = core;
|
|
|
85828
86400
|
var refractor_1 = refractor;
|
|
85829
86401
|
|
|
85830
86402
|
refractor.register(abap_1);
|
|
85831
|
-
refractor.register(
|
|
86403
|
+
refractor.register(abnf_1);
|
|
85832
86404
|
refractor.register(actionscript_1);
|
|
85833
86405
|
refractor.register(ada_1);
|
|
85834
86406
|
refractor.register(agda_1);
|
|
@@ -85836,7 +86408,7 @@ refractor.register(al_1);
|
|
|
85836
86408
|
refractor.register(antlr4_1);
|
|
85837
86409
|
refractor.register(apacheconf_1);
|
|
85838
86410
|
refractor.register(apex_1);
|
|
85839
|
-
refractor.register(
|
|
86411
|
+
refractor.register(apl_1);
|
|
85840
86412
|
refractor.register(applescript_1);
|
|
85841
86413
|
refractor.register(aql_1);
|
|
85842
86414
|
refractor.register(arduino_1);
|
|
@@ -85847,8 +86419,8 @@ refractor.register(asmatmel_1);
|
|
|
85847
86419
|
refractor.register(aspnet_1);
|
|
85848
86420
|
refractor.register(autohotkey_1);
|
|
85849
86421
|
refractor.register(autoit_1);
|
|
85850
|
-
refractor.register(
|
|
85851
|
-
refractor.register(
|
|
86422
|
+
refractor.register(requireAvisynth());
|
|
86423
|
+
refractor.register(requireAvroIdl());
|
|
85852
86424
|
refractor.register(requireBash());
|
|
85853
86425
|
refractor.register(requireBasic());
|
|
85854
86426
|
refractor.register(requireBatch());
|
|
@@ -89350,12 +89922,12 @@ var _1c = /*#__PURE__*/_mergeNamespaces({
|
|
|
89350
89922
|
'default': _1cExports
|
|
89351
89923
|
}, [_1cExports]);
|
|
89352
89924
|
|
|
89353
|
-
var abnfExports
|
|
89925
|
+
var abnfExports = requireAbnf();
|
|
89354
89926
|
|
|
89355
|
-
var abnf
|
|
89927
|
+
var abnf = /*#__PURE__*/_mergeNamespaces({
|
|
89356
89928
|
__proto__: null,
|
|
89357
|
-
'default': abnfExports
|
|
89358
|
-
}, [abnfExports
|
|
89929
|
+
'default': abnfExports
|
|
89930
|
+
}, [abnfExports]);
|
|
89359
89931
|
|
|
89360
89932
|
var accesslogExports = requireAccesslog();
|
|
89361
89933
|
|
|
@@ -90680,19 +91252,19 @@ var zephir = /*#__PURE__*/_mergeNamespaces({
|
|
|
90680
91252
|
'default': zephirExports
|
|
90681
91253
|
}, [zephirExports]);
|
|
90682
91254
|
|
|
90683
|
-
var
|
|
91255
|
+
var avisynthExports = requireAvisynth();
|
|
90684
91256
|
|
|
90685
|
-
var
|
|
91257
|
+
var avisynth = /*#__PURE__*/_mergeNamespaces({
|
|
90686
91258
|
__proto__: null,
|
|
90687
|
-
'default':
|
|
90688
|
-
}, [
|
|
91259
|
+
'default': avisynthExports
|
|
91260
|
+
}, [avisynthExports]);
|
|
90689
91261
|
|
|
90690
|
-
var
|
|
91262
|
+
var avroIdlExports = requireAvroIdl();
|
|
90691
91263
|
|
|
90692
|
-
var
|
|
91264
|
+
var avroIdl = /*#__PURE__*/_mergeNamespaces({
|
|
90693
91265
|
__proto__: null,
|
|
90694
|
-
'default':
|
|
90695
|
-
}, [
|
|
91266
|
+
'default': avroIdlExports
|
|
91267
|
+
}, [avroIdlExports]);
|
|
90696
91268
|
|
|
90697
91269
|
var bashExports = requireBash();
|
|
90698
91270
|
|
|
@@ -92444,4 +93016,4 @@ var zig = /*#__PURE__*/_mergeNamespaces({
|
|
|
92444
93016
|
'default': zigExports
|
|
92445
93017
|
}, [zigExports]);
|
|
92446
93018
|
|
|
92447
|
-
export { Columns, CustomDomain, DateFormat, ErrorPage, HoneybadgerErrorBoundary, SignIn as LoginPage, NeetoWidget, PrivateRoute, Schedule, Sidebar, TimeFormat, useDebounce, useFuncDebounce, useIsElementVisibleInDom, useLocalStorage, useOnClickOutside, usePrevious, useUpdateEffect, withImmutableActions };
|
|
93019
|
+
export { Columns, CustomDomain, DateFormat, ErrorPage, HoneybadgerErrorBoundary, SignIn as LoginPage, NeetoWidget, PrivateRoute, Schedule, Sidebar, TimeFormat, useDebounce, useDisplayErrorPage, useFuncDebounce, useIsElementVisibleInDom, useLocalStorage, useOnClickOutside, usePrevious, useUpdateEffect, withImmutableActions };
|