@banyan_cloud/roots 1.0.86 → 1.0.88

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/dist/cjs/index.js CHANGED
@@ -6462,8 +6462,8 @@ var Databases = {
6462
6462
  MySql: MySql
6463
6463
  };
6464
6464
 
6465
- var css$$ = ".Accordion_module_root__a615f3fc {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n width: 100%;\n}\n.Accordion_module_root__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n cursor: pointer;\n}\n.Accordion_module_root__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell] > [data-elem=component1] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.Accordion_module_root__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell] > [data-elem=component1] .Accordion_module_icon__a615f3fc {\n transform: rotate(-90deg);\n width: 1rem;\n height: 1rem;\n}\n.Accordion_module_root__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell] .Accordion_module_title__a615f3fc {\n flex: 1 1 auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.Accordion_module_root__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell]:hover {\n background: var(--background);\n}\n.Accordion_module_root__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell]:hover .Accordion_module_icon__a615f3fc,\n.Accordion_module_root__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell]:hover .Accordion_module_title__a615f3fc {\n color: var(--highlight);\n fill: var(--highlight);\n}\n.Accordion_module_root__a615f3fc > .Accordion_module_body__a615f3fc {\n display: none;\n padding: 0.5rem 2.5rem;\n}\n.Accordion_module_root__a615f3fc.Accordion_module_open__a615f3fc > .Accordion_module_header__a615f3fc[data-elem=base-cell] [data-elem=component1] .Accordion_module_icon__a615f3fc {\n transform: none;\n}\n.Accordion_module_root__a615f3fc.Accordion_module_open__a615f3fc > .Accordion_module_body__a615f3fc {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.Accordion_module_root__a615f3fc.Accordion_module_open__a615f3fc > .Accordion_module_body__a615f3fc > button[data-elem=base-cell] {\n width: -moz-fit-content;\n width: fit-content;\n align-self: flex-end;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n}\n.Accordion_module_root__a615f3fc.Accordion_module_open__a615f3fc > .Accordion_module_body__a615f3fc > button[data-elem=base-cell] .Accordion_module_expand__a615f3fc {\n height: 1.5rem;\n width: 1.5rem;\n}";
6466
- var modules_8207625f = {"root":"Accordion_module_root__a615f3fc","header":"Accordion_module_header__a615f3fc","icon":"Accordion_module_icon__a615f3fc","title":"Accordion_module_title__a615f3fc","body":"Accordion_module_body__a615f3fc","open":"Accordion_module_open__a615f3fc","expand":"Accordion_module_expand__a615f3fc"};
6465
+ var css$$ = ".Accordion_module_root__4d824a08 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n width: 100%;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n cursor: pointer;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] > [data-elem=component1] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] > [data-elem=component1] .Accordion_module_icon__4d824a08 {\n transform: rotate(-90deg);\n width: 1rem;\n height: 1rem;\n fill: var(--dark-grey);\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] .Accordion_module_title__4d824a08 {\n flex: 1 1 auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell]:hover {\n background: var(--background);\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell]:hover .Accordion_module_icon__4d824a08,\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell]:hover .Accordion_module_title__4d824a08 {\n color: var(--highlight);\n fill: var(--highlight);\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_body__4d824a08 {\n display: none;\n padding: 0.5rem 2.5rem;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] [data-elem=component1] .Accordion_module_icon__4d824a08 {\n transform: none;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_body__4d824a08 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_body__4d824a08 > button[data-elem=base-cell] {\n width: -moz-fit-content;\n width: fit-content;\n align-self: flex-end;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_body__4d824a08 > button[data-elem=base-cell] .Accordion_module_expand__4d824a08 {\n height: 1.5rem;\n width: 1.5rem;\n}";
6466
+ var modules_8207625f = {"root":"Accordion_module_root__4d824a08","header":"Accordion_module_header__4d824a08","icon":"Accordion_module_icon__4d824a08","title":"Accordion_module_title__4d824a08","body":"Accordion_module_body__4d824a08","open":"Accordion_module_open__4d824a08","expand":"Accordion_module_expand__4d824a08"};
6467
6467
  n(css$$,{});
6468
6468
 
6469
6469
  var Accordion = function Accordion(props) {
@@ -6476,7 +6476,8 @@ var Accordion = function Accordion(props) {
6476
6476
  children = props.children,
6477
6477
  _onClick = props.onClick,
6478
6478
  className = props.className,
6479
- onExpand = props.onExpand;
6479
+ onExpand = props.onExpand,
6480
+ CustomIcon = props.icon;
6480
6481
 
6481
6482
  // uncontrolled
6482
6483
  var _useState = React.useState(defaultOpen),
@@ -6486,6 +6487,10 @@ var Accordion = function Accordion(props) {
6486
6487
  var _useRef = React.useRef(open !== undefined),
6487
6488
  isControlled = _useRef.current;
6488
6489
  var isOpen = isControlled ? open : uncontrolledOpen;
6490
+ var Icon = Caret;
6491
+ if (CustomIcon) {
6492
+ Icon = CustomIcon;
6493
+ }
6489
6494
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
6490
6495
  className: classes(className, modules_8207625f.root, isOpen ? modules_8207625f.open : ''),
6491
6496
  "data-state-open": isOpen,
@@ -6507,14 +6512,14 @@ var Accordion = function Accordion(props) {
6507
6512
  }
6508
6513
  }
6509
6514
  },
6510
- component1: iconPlacement === 'left' && /*#__PURE__*/jsxRuntime.jsx(Caret, {
6515
+ component1: iconPlacement === 'left' && /*#__PURE__*/jsxRuntime.jsx(Icon, {
6511
6516
  className: modules_8207625f.icon
6512
6517
  }),
6513
6518
  component2: /*#__PURE__*/jsxRuntime.jsx("span", {
6514
6519
  className: modules_8207625f.title,
6515
6520
  children: title
6516
6521
  }),
6517
- component3: iconPlacement === 'right' && /*#__PURE__*/jsxRuntime.jsx(Caret, {
6522
+ component3: iconPlacement === 'right' && /*#__PURE__*/jsxRuntime.jsx(Icon, {
6518
6523
  className: modules_8207625f.icon
6519
6524
  })
6520
6525
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
@@ -20633,29 +20638,20 @@ function arduino(Prism) {
20633
20638
  Prism.languages.ino = Prism.languages.arduino;
20634
20639
  }
20635
20640
 
20636
- var arff_1;
20637
- var hasRequiredArff;
20638
-
20639
- function requireArff () {
20640
- if (hasRequiredArff) return arff_1;
20641
- hasRequiredArff = 1;
20642
-
20643
- arff_1 = arff;
20644
- arff.displayName = 'arff';
20645
- arff.aliases = [];
20646
- function arff(Prism) {
20647
- Prism.languages.arff = {
20648
- comment: /%.*/,
20649
- string: {
20650
- pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
20651
- greedy: true
20652
- },
20653
- keyword: /@(?:attribute|data|end|relation)\b/i,
20654
- number: /\b\d+(?:\.\d+)?\b/,
20655
- punctuation: /[{},]/
20656
- };
20657
- }
20658
- return arff_1;
20641
+ var arff_1 = arff;
20642
+ arff.displayName = 'arff';
20643
+ arff.aliases = [];
20644
+ function arff(Prism) {
20645
+ Prism.languages.arff = {
20646
+ comment: /%.*/,
20647
+ string: {
20648
+ pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
20649
+ greedy: true
20650
+ },
20651
+ keyword: /@(?:attribute|data|end|relation)\b/i,
20652
+ number: /\b\d+(?:\.\d+)?\b/,
20653
+ punctuation: /[{},]/
20654
+ };
20659
20655
  }
20660
20656
 
20661
20657
  var asciidoc_1 = asciidoc;
@@ -21759,314 +21755,341 @@ function avisynth(Prism) {
21759
21755
  })(Prism);
21760
21756
  }
21761
21757
 
21762
- var avroIdl_1 = avroIdl;
21763
- avroIdl.displayName = 'avroIdl';
21764
- avroIdl.aliases = [];
21765
- function avroIdl(Prism) {
21766
- // GitHub: https://github.com/apache/avro
21767
- // Docs: https://avro.apache.org/docs/current/idl.html
21768
- Prism.languages['avro-idl'] = {
21769
- comment: {
21770
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
21771
- greedy: true
21772
- },
21773
- string: {
21774
- pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
21775
- lookbehind: true,
21776
- greedy: true
21777
- },
21778
- annotation: {
21779
- pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
21780
- greedy: true,
21781
- alias: 'function'
21782
- },
21783
- 'function-identifier': {
21784
- pattern: /`[^\r\n`]+`(?=\s*\()/,
21785
- greedy: true,
21786
- alias: 'function'
21787
- },
21788
- identifier: {
21789
- pattern: /`[^\r\n`]+`/,
21790
- greedy: true
21791
- },
21792
- 'class-name': {
21793
- pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
21794
- lookbehind: true,
21795
- greedy: true
21796
- },
21797
- keyword:
21798
- /\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/,
21799
- function: /\b[a-z_]\w*(?=\s*\()/i,
21800
- number: [
21801
- {
21802
- pattern:
21803
- /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
21804
- lookbehind: true
21805
- },
21806
- /-?\b(?:Infinity|NaN)\b/
21807
- ],
21808
- operator: /=/,
21809
- punctuation: /[()\[\]{}<>.:,;-]/
21810
- };
21811
- Prism.languages.avdl = Prism.languages['avro-idl'];
21758
+ var avroIdl_1;
21759
+ var hasRequiredAvroIdl;
21760
+
21761
+ function requireAvroIdl () {
21762
+ if (hasRequiredAvroIdl) return avroIdl_1;
21763
+ hasRequiredAvroIdl = 1;
21764
+
21765
+ avroIdl_1 = avroIdl;
21766
+ avroIdl.displayName = 'avroIdl';
21767
+ avroIdl.aliases = [];
21768
+ function avroIdl(Prism) {
21769
+ // GitHub: https://github.com/apache/avro
21770
+ // Docs: https://avro.apache.org/docs/current/idl.html
21771
+ Prism.languages['avro-idl'] = {
21772
+ comment: {
21773
+ pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
21774
+ greedy: true
21775
+ },
21776
+ string: {
21777
+ pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
21778
+ lookbehind: true,
21779
+ greedy: true
21780
+ },
21781
+ annotation: {
21782
+ pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
21783
+ greedy: true,
21784
+ alias: 'function'
21785
+ },
21786
+ 'function-identifier': {
21787
+ pattern: /`[^\r\n`]+`(?=\s*\()/,
21788
+ greedy: true,
21789
+ alias: 'function'
21790
+ },
21791
+ identifier: {
21792
+ pattern: /`[^\r\n`]+`/,
21793
+ greedy: true
21794
+ },
21795
+ 'class-name': {
21796
+ pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
21797
+ lookbehind: true,
21798
+ greedy: true
21799
+ },
21800
+ keyword:
21801
+ /\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/,
21802
+ function: /\b[a-z_]\w*(?=\s*\()/i,
21803
+ number: [
21804
+ {
21805
+ pattern:
21806
+ /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
21807
+ lookbehind: true
21808
+ },
21809
+ /-?\b(?:Infinity|NaN)\b/
21810
+ ],
21811
+ operator: /=/,
21812
+ punctuation: /[()\[\]{}<>.:,;-]/
21813
+ };
21814
+ Prism.languages.avdl = Prism.languages['avro-idl'];
21815
+ }
21816
+ return avroIdl_1;
21812
21817
  }
21813
21818
 
21814
- var bash_1 = bash;
21815
- bash.displayName = 'bash';
21816
- bash.aliases = ['shell'];
21817
- function bash(Prism) {
21819
+ var bash_1;
21820
+ var hasRequiredBash;
21821
+
21822
+ function requireBash () {
21823
+ if (hasRequiredBash) return bash_1;
21824
+ hasRequiredBash = 1;
21825
+
21826
+ bash_1 = bash;
21827
+ bash.displayName = 'bash';
21828
+ bash.aliases = ['shell'];
21829
+ function bash(Prism) {
21818
21830
  (function (Prism) {
21819
- // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
21820
- // + LC_ALL, RANDOM, REPLY, SECONDS.
21821
- // + make sure PS1..4 are here as they are not always set,
21822
- // - some useless things.
21823
- var envVars =
21824
- '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b';
21825
- var commandAfterHeredoc = {
21826
- pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
21827
- lookbehind: true,
21828
- alias: 'punctuation',
21829
- // this looks reasonably well in all themes
21830
- inside: null // see below
21831
- };
21832
- var insideString = {
21833
- bash: commandAfterHeredoc,
21834
- environment: {
21835
- pattern: RegExp('\\$' + envVars),
21836
- alias: 'constant'
21837
- },
21838
- variable: [
21839
- // [0]: Arithmetic Environment
21840
- {
21841
- pattern: /\$?\(\([\s\S]+?\)\)/,
21842
- greedy: true,
21843
- inside: {
21844
- // If there is a $ sign at the beginning highlight $(( and )) as variable
21845
- variable: [
21846
- {
21847
- pattern: /(^\$\(\([\s\S]+)\)\)/,
21848
- lookbehind: true
21849
- },
21850
- /^\$\(\(/
21851
- ],
21852
- number:
21853
- /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
21854
- // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
21855
- operator:
21856
- /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
21857
- // If there is no $ sign at the beginning highlight (( and )) as punctuation
21858
- punctuation: /\(\(?|\)\)?|,|;/
21859
- }
21860
- }, // [1]: Command Substitution
21861
- {
21862
- pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
21863
- greedy: true,
21864
- inside: {
21865
- variable: /^\$\(|^`|\)$|`$/
21866
- }
21867
- }, // [2]: Brace expansion
21868
- {
21869
- pattern: /\$\{[^}]+\}/,
21870
- greedy: true,
21871
- inside: {
21872
- operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
21873
- punctuation: /[\[\]]/,
21874
- environment: {
21875
- pattern: RegExp('(\\{)' + envVars),
21876
- lookbehind: true,
21877
- alias: 'constant'
21878
- }
21879
- }
21880
- },
21881
- /\$(?:\w+|[#?*!@$])/
21882
- ],
21883
- // Escape sequences from echo and printf's manuals, and escaped quotes.
21884
- entity:
21885
- /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
21886
- };
21887
- Prism.languages.bash = {
21888
- shebang: {
21889
- pattern: /^#!\s*\/.*/,
21890
- alias: 'important'
21891
- },
21892
- comment: {
21893
- pattern: /(^|[^"{\\$])#.*/,
21894
- lookbehind: true
21895
- },
21896
- 'function-name': [
21897
- // a) function foo {
21898
- // b) foo() {
21899
- // c) function foo() {
21900
- // but not “foo {”
21901
- {
21902
- // a) and c)
21903
- pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
21904
- lookbehind: true,
21905
- alias: 'function'
21906
- },
21907
- {
21908
- // b)
21909
- pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
21910
- alias: 'function'
21911
- }
21912
- ],
21913
- // Highlight variable names as variables in for and select beginnings.
21914
- 'for-or-select': {
21915
- pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
21916
- alias: 'variable',
21917
- lookbehind: true
21918
- },
21919
- // Highlight variable names as variables in the left-hand part
21920
- // of assignments (“=” and “+=”).
21921
- 'assign-left': {
21922
- pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
21923
- inside: {
21924
- environment: {
21925
- pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
21926
- lookbehind: true,
21927
- alias: 'constant'
21928
- }
21929
- },
21930
- alias: 'variable',
21931
- lookbehind: true
21932
- },
21933
- string: [
21934
- // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
21935
- {
21936
- pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
21937
- lookbehind: true,
21938
- greedy: true,
21939
- inside: insideString
21940
- }, // Here-document with quotes around the tag
21941
- // → No expansion (so no “inside”).
21942
- {
21943
- pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
21944
- lookbehind: true,
21945
- greedy: true,
21946
- inside: {
21947
- bash: commandAfterHeredoc
21948
- }
21949
- }, // “Normal” string
21950
- {
21951
- // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
21952
- pattern:
21953
- /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
21954
- lookbehind: true,
21955
- greedy: true,
21956
- inside: insideString
21957
- },
21958
- {
21959
- // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
21960
- pattern: /(^|[^$\\])'[^']*'/,
21961
- lookbehind: true,
21962
- greedy: true
21963
- },
21964
- {
21965
- // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
21966
- pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
21967
- greedy: true,
21968
- inside: {
21969
- entity: insideString.entity
21970
- }
21971
- }
21972
- ],
21973
- environment: {
21974
- pattern: RegExp('\\$?' + envVars),
21975
- alias: 'constant'
21976
- },
21977
- variable: insideString.variable,
21978
- function: {
21979
- pattern:
21980
- /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
21981
- lookbehind: true
21982
- },
21983
- keyword: {
21984
- pattern:
21985
- /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
21986
- lookbehind: true
21987
- },
21988
- // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
21989
- builtin: {
21990
- pattern:
21991
- /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
21992
- lookbehind: true,
21993
- // Alias added to make those easier to distinguish from strings.
21994
- alias: 'class-name'
21995
- },
21996
- boolean: {
21997
- pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
21998
- lookbehind: true
21999
- },
22000
- 'file-descriptor': {
22001
- pattern: /\B&\d\b/,
22002
- alias: 'important'
22003
- },
22004
- operator: {
22005
- // Lots of redirections here, but not just that.
22006
- pattern:
22007
- /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
22008
- inside: {
22009
- 'file-descriptor': {
22010
- pattern: /^\d/,
22011
- alias: 'important'
22012
- }
22013
- }
22014
- },
22015
- punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
22016
- number: {
22017
- pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
22018
- lookbehind: true
22019
- }
22020
- };
22021
- commandAfterHeredoc.inside = Prism.languages.bash;
22022
- /* Patterns in command substitution. */
22023
- var toBeCopied = [
22024
- 'comment',
22025
- 'function-name',
22026
- 'for-or-select',
22027
- 'assign-left',
22028
- 'string',
22029
- 'environment',
22030
- 'function',
22031
- 'keyword',
22032
- 'builtin',
22033
- 'boolean',
22034
- 'file-descriptor',
22035
- 'operator',
22036
- 'punctuation',
22037
- 'number'
22038
- ];
22039
- var inside = insideString.variable[1].inside;
22040
- for (var i = 0; i < toBeCopied.length; i++) {
22041
- inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
22042
- }
22043
- Prism.languages.shell = Prism.languages.bash;
22044
- })(Prism);
21831
+ // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
21832
+ // + LC_ALL, RANDOM, REPLY, SECONDS.
21833
+ // + make sure PS1..4 are here as they are not always set,
21834
+ // - some useless things.
21835
+ var envVars =
21836
+ '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b';
21837
+ var commandAfterHeredoc = {
21838
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
21839
+ lookbehind: true,
21840
+ alias: 'punctuation',
21841
+ // this looks reasonably well in all themes
21842
+ inside: null // see below
21843
+ };
21844
+ var insideString = {
21845
+ bash: commandAfterHeredoc,
21846
+ environment: {
21847
+ pattern: RegExp('\\$' + envVars),
21848
+ alias: 'constant'
21849
+ },
21850
+ variable: [
21851
+ // [0]: Arithmetic Environment
21852
+ {
21853
+ pattern: /\$?\(\([\s\S]+?\)\)/,
21854
+ greedy: true,
21855
+ inside: {
21856
+ // If there is a $ sign at the beginning highlight $(( and )) as variable
21857
+ variable: [
21858
+ {
21859
+ pattern: /(^\$\(\([\s\S]+)\)\)/,
21860
+ lookbehind: true
21861
+ },
21862
+ /^\$\(\(/
21863
+ ],
21864
+ number:
21865
+ /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
21866
+ // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
21867
+ operator:
21868
+ /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
21869
+ // If there is no $ sign at the beginning highlight (( and )) as punctuation
21870
+ punctuation: /\(\(?|\)\)?|,|;/
21871
+ }
21872
+ }, // [1]: Command Substitution
21873
+ {
21874
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
21875
+ greedy: true,
21876
+ inside: {
21877
+ variable: /^\$\(|^`|\)$|`$/
21878
+ }
21879
+ }, // [2]: Brace expansion
21880
+ {
21881
+ pattern: /\$\{[^}]+\}/,
21882
+ greedy: true,
21883
+ inside: {
21884
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
21885
+ punctuation: /[\[\]]/,
21886
+ environment: {
21887
+ pattern: RegExp('(\\{)' + envVars),
21888
+ lookbehind: true,
21889
+ alias: 'constant'
21890
+ }
21891
+ }
21892
+ },
21893
+ /\$(?:\w+|[#?*!@$])/
21894
+ ],
21895
+ // Escape sequences from echo and printf's manuals, and escaped quotes.
21896
+ entity:
21897
+ /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
21898
+ };
21899
+ Prism.languages.bash = {
21900
+ shebang: {
21901
+ pattern: /^#!\s*\/.*/,
21902
+ alias: 'important'
21903
+ },
21904
+ comment: {
21905
+ pattern: /(^|[^"{\\$])#.*/,
21906
+ lookbehind: true
21907
+ },
21908
+ 'function-name': [
21909
+ // a) function foo {
21910
+ // b) foo() {
21911
+ // c) function foo() {
21912
+ // but not “foo {”
21913
+ {
21914
+ // a) and c)
21915
+ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
21916
+ lookbehind: true,
21917
+ alias: 'function'
21918
+ },
21919
+ {
21920
+ // b)
21921
+ pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
21922
+ alias: 'function'
21923
+ }
21924
+ ],
21925
+ // Highlight variable names as variables in for and select beginnings.
21926
+ 'for-or-select': {
21927
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
21928
+ alias: 'variable',
21929
+ lookbehind: true
21930
+ },
21931
+ // Highlight variable names as variables in the left-hand part
21932
+ // of assignments (“=” and “+=”).
21933
+ 'assign-left': {
21934
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
21935
+ inside: {
21936
+ environment: {
21937
+ pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
21938
+ lookbehind: true,
21939
+ alias: 'constant'
21940
+ }
21941
+ },
21942
+ alias: 'variable',
21943
+ lookbehind: true
21944
+ },
21945
+ string: [
21946
+ // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
21947
+ {
21948
+ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
21949
+ lookbehind: true,
21950
+ greedy: true,
21951
+ inside: insideString
21952
+ }, // Here-document with quotes around the tag
21953
+ // → No expansion (so no “inside”).
21954
+ {
21955
+ pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
21956
+ lookbehind: true,
21957
+ greedy: true,
21958
+ inside: {
21959
+ bash: commandAfterHeredoc
21960
+ }
21961
+ }, // “Normal” string
21962
+ {
21963
+ // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
21964
+ pattern:
21965
+ /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
21966
+ lookbehind: true,
21967
+ greedy: true,
21968
+ inside: insideString
21969
+ },
21970
+ {
21971
+ // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
21972
+ pattern: /(^|[^$\\])'[^']*'/,
21973
+ lookbehind: true,
21974
+ greedy: true
21975
+ },
21976
+ {
21977
+ // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
21978
+ pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
21979
+ greedy: true,
21980
+ inside: {
21981
+ entity: insideString.entity
21982
+ }
21983
+ }
21984
+ ],
21985
+ environment: {
21986
+ pattern: RegExp('\\$?' + envVars),
21987
+ alias: 'constant'
21988
+ },
21989
+ variable: insideString.variable,
21990
+ function: {
21991
+ pattern:
21992
+ /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
21993
+ lookbehind: true
21994
+ },
21995
+ keyword: {
21996
+ pattern:
21997
+ /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
21998
+ lookbehind: true
21999
+ },
22000
+ // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
22001
+ builtin: {
22002
+ pattern:
22003
+ /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
22004
+ lookbehind: true,
22005
+ // Alias added to make those easier to distinguish from strings.
22006
+ alias: 'class-name'
22007
+ },
22008
+ boolean: {
22009
+ pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
22010
+ lookbehind: true
22011
+ },
22012
+ 'file-descriptor': {
22013
+ pattern: /\B&\d\b/,
22014
+ alias: 'important'
22015
+ },
22016
+ operator: {
22017
+ // Lots of redirections here, but not just that.
22018
+ pattern:
22019
+ /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
22020
+ inside: {
22021
+ 'file-descriptor': {
22022
+ pattern: /^\d/,
22023
+ alias: 'important'
22024
+ }
22025
+ }
22026
+ },
22027
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
22028
+ number: {
22029
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
22030
+ lookbehind: true
22031
+ }
22032
+ };
22033
+ commandAfterHeredoc.inside = Prism.languages.bash;
22034
+ /* Patterns in command substitution. */
22035
+ var toBeCopied = [
22036
+ 'comment',
22037
+ 'function-name',
22038
+ 'for-or-select',
22039
+ 'assign-left',
22040
+ 'string',
22041
+ 'environment',
22042
+ 'function',
22043
+ 'keyword',
22044
+ 'builtin',
22045
+ 'boolean',
22046
+ 'file-descriptor',
22047
+ 'operator',
22048
+ 'punctuation',
22049
+ 'number'
22050
+ ];
22051
+ var inside = insideString.variable[1].inside;
22052
+ for (var i = 0; i < toBeCopied.length; i++) {
22053
+ inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
22054
+ }
22055
+ Prism.languages.shell = Prism.languages.bash;
22056
+ })(Prism);
22057
+ }
22058
+ return bash_1;
22045
22059
  }
22046
22060
 
22047
- var basic_1 = basic;
22048
- basic.displayName = 'basic';
22049
- basic.aliases = [];
22050
- function basic(Prism) {
22051
- Prism.languages.basic = {
22052
- comment: {
22053
- pattern: /(?:!|REM\b).+/i,
22054
- inside: {
22055
- keyword: /^REM/i
22056
- }
22057
- },
22058
- string: {
22059
- pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
22060
- greedy: true
22061
- },
22062
- number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
22063
- keyword:
22064
- /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
22065
- function:
22066
- /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
22067
- operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
22068
- punctuation: /[,;:()]/
22069
- };
22061
+ var basic_1;
22062
+ var hasRequiredBasic;
22063
+
22064
+ function requireBasic () {
22065
+ if (hasRequiredBasic) return basic_1;
22066
+ hasRequiredBasic = 1;
22067
+
22068
+ basic_1 = basic;
22069
+ basic.displayName = 'basic';
22070
+ basic.aliases = [];
22071
+ function basic(Prism) {
22072
+ Prism.languages.basic = {
22073
+ comment: {
22074
+ pattern: /(?:!|REM\b).+/i,
22075
+ inside: {
22076
+ keyword: /^REM/i
22077
+ }
22078
+ },
22079
+ string: {
22080
+ pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
22081
+ greedy: true
22082
+ },
22083
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
22084
+ keyword:
22085
+ /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
22086
+ function:
22087
+ /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
22088
+ operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
22089
+ punctuation: /[,;:()]/
22090
+ };
22091
+ }
22092
+ return basic_1;
22070
22093
  }
22071
22094
 
22072
22095
  var batch_1 = batch;
@@ -22866,183 +22889,165 @@ function cobol(Prism) {
22866
22889
  };
22867
22890
  }
22868
22891
 
22869
- var coffeescript_1;
22870
- var hasRequiredCoffeescript;
22871
-
22872
- function requireCoffeescript () {
22873
- if (hasRequiredCoffeescript) return coffeescript_1;
22874
- hasRequiredCoffeescript = 1;
22875
-
22876
- coffeescript_1 = coffeescript;
22877
- coffeescript.displayName = 'coffeescript';
22878
- coffeescript.aliases = ['coffee'];
22879
- function coffeescript(Prism) {
22892
+ var coffeescript_1 = coffeescript;
22893
+ coffeescript.displayName = 'coffeescript';
22894
+ coffeescript.aliases = ['coffee'];
22895
+ function coffeescript(Prism) {
22880
22896
  (function (Prism) {
22881
- // Ignore comments starting with { to privilege string interpolation highlighting
22882
- var comment = /#(?!\{).+/;
22883
- var interpolation = {
22884
- pattern: /#\{[^}]+\}/,
22885
- alias: 'variable'
22886
- };
22887
- Prism.languages.coffeescript = Prism.languages.extend('javascript', {
22888
- comment: comment,
22889
- string: [
22890
- // Strings are multiline
22891
- {
22892
- pattern: /'(?:\\[\s\S]|[^\\'])*'/,
22893
- greedy: true
22894
- },
22895
- {
22896
- // Strings are multiline
22897
- pattern: /"(?:\\[\s\S]|[^\\"])*"/,
22898
- greedy: true,
22899
- inside: {
22900
- interpolation: interpolation
22901
- }
22902
- }
22903
- ],
22904
- keyword:
22905
- /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
22906
- 'class-member': {
22907
- pattern: /@(?!\d)\w+/,
22908
- alias: 'variable'
22909
- }
22910
- });
22911
- Prism.languages.insertBefore('coffeescript', 'comment', {
22912
- 'multiline-comment': {
22913
- pattern: /###[\s\S]+?###/,
22914
- alias: 'comment'
22915
- },
22916
- // Block regexp can contain comments and interpolation
22917
- 'block-regex': {
22918
- pattern: /\/{3}[\s\S]*?\/{3}/,
22919
- alias: 'regex',
22920
- inside: {
22921
- comment: comment,
22922
- interpolation: interpolation
22923
- }
22924
- }
22925
- });
22926
- Prism.languages.insertBefore('coffeescript', 'string', {
22927
- 'inline-javascript': {
22928
- pattern: /`(?:\\[\s\S]|[^\\`])*`/,
22929
- inside: {
22930
- delimiter: {
22931
- pattern: /^`|`$/,
22932
- alias: 'punctuation'
22933
- },
22934
- script: {
22935
- pattern: /[\s\S]+/,
22936
- alias: 'language-javascript',
22937
- inside: Prism.languages.javascript
22938
- }
22939
- }
22940
- },
22941
- // Block strings
22942
- 'multiline-string': [
22943
- {
22944
- pattern: /'''[\s\S]*?'''/,
22945
- greedy: true,
22946
- alias: 'string'
22947
- },
22948
- {
22949
- pattern: /"""[\s\S]*?"""/,
22950
- greedy: true,
22951
- alias: 'string',
22952
- inside: {
22953
- interpolation: interpolation
22954
- }
22955
- }
22956
- ]
22957
- });
22958
- Prism.languages.insertBefore('coffeescript', 'keyword', {
22959
- // Object property
22960
- property: /(?!\d)\w+(?=\s*:(?!:))/
22961
- });
22962
- delete Prism.languages.coffeescript['template-string'];
22963
- Prism.languages.coffee = Prism.languages.coffeescript;
22964
- })(Prism);
22965
- }
22966
- return coffeescript_1;
22897
+ // Ignore comments starting with { to privilege string interpolation highlighting
22898
+ var comment = /#(?!\{).+/;
22899
+ var interpolation = {
22900
+ pattern: /#\{[^}]+\}/,
22901
+ alias: 'variable'
22902
+ };
22903
+ Prism.languages.coffeescript = Prism.languages.extend('javascript', {
22904
+ comment: comment,
22905
+ string: [
22906
+ // Strings are multiline
22907
+ {
22908
+ pattern: /'(?:\\[\s\S]|[^\\'])*'/,
22909
+ greedy: true
22910
+ },
22911
+ {
22912
+ // Strings are multiline
22913
+ pattern: /"(?:\\[\s\S]|[^\\"])*"/,
22914
+ greedy: true,
22915
+ inside: {
22916
+ interpolation: interpolation
22917
+ }
22918
+ }
22919
+ ],
22920
+ keyword:
22921
+ /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
22922
+ 'class-member': {
22923
+ pattern: /@(?!\d)\w+/,
22924
+ alias: 'variable'
22925
+ }
22926
+ });
22927
+ Prism.languages.insertBefore('coffeescript', 'comment', {
22928
+ 'multiline-comment': {
22929
+ pattern: /###[\s\S]+?###/,
22930
+ alias: 'comment'
22931
+ },
22932
+ // Block regexp can contain comments and interpolation
22933
+ 'block-regex': {
22934
+ pattern: /\/{3}[\s\S]*?\/{3}/,
22935
+ alias: 'regex',
22936
+ inside: {
22937
+ comment: comment,
22938
+ interpolation: interpolation
22939
+ }
22940
+ }
22941
+ });
22942
+ Prism.languages.insertBefore('coffeescript', 'string', {
22943
+ 'inline-javascript': {
22944
+ pattern: /`(?:\\[\s\S]|[^\\`])*`/,
22945
+ inside: {
22946
+ delimiter: {
22947
+ pattern: /^`|`$/,
22948
+ alias: 'punctuation'
22949
+ },
22950
+ script: {
22951
+ pattern: /[\s\S]+/,
22952
+ alias: 'language-javascript',
22953
+ inside: Prism.languages.javascript
22954
+ }
22955
+ }
22956
+ },
22957
+ // Block strings
22958
+ 'multiline-string': [
22959
+ {
22960
+ pattern: /'''[\s\S]*?'''/,
22961
+ greedy: true,
22962
+ alias: 'string'
22963
+ },
22964
+ {
22965
+ pattern: /"""[\s\S]*?"""/,
22966
+ greedy: true,
22967
+ alias: 'string',
22968
+ inside: {
22969
+ interpolation: interpolation
22970
+ }
22971
+ }
22972
+ ]
22973
+ });
22974
+ Prism.languages.insertBefore('coffeescript', 'keyword', {
22975
+ // Object property
22976
+ property: /(?!\d)\w+(?=\s*:(?!:))/
22977
+ });
22978
+ delete Prism.languages.coffeescript['template-string'];
22979
+ Prism.languages.coffee = Prism.languages.coffeescript;
22980
+ })(Prism);
22967
22981
  }
22968
22982
 
22969
- var concurnas_1;
22970
- var hasRequiredConcurnas;
22971
-
22972
- function requireConcurnas () {
22973
- if (hasRequiredConcurnas) return concurnas_1;
22974
- hasRequiredConcurnas = 1;
22975
-
22976
- concurnas_1 = concurnas;
22977
- concurnas.displayName = 'concurnas';
22978
- concurnas.aliases = ['conc'];
22979
- function concurnas(Prism) {
22980
- Prism.languages.concurnas = {
22981
- comment: {
22982
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,
22983
- lookbehind: true,
22984
- greedy: true
22985
- },
22986
- langext: {
22987
- pattern: /\b\w+\s*\|\|[\s\S]+?\|\|/,
22988
- greedy: true,
22989
- inside: {
22990
- 'class-name': /^\w+/,
22991
- string: {
22992
- pattern: /(^\s*\|\|)[\s\S]+(?=\|\|$)/,
22993
- lookbehind: true
22994
- },
22995
- punctuation: /\|\|/
22996
- }
22997
- },
22998
- function: {
22999
- pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,
23000
- lookbehind: true
23001
- },
23002
- keyword:
23003
- /\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,
23004
- boolean: /\b(?:false|true)\b/,
23005
- number:
23006
- /\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,
23007
- punctuation: /[{}[\];(),.:]/,
23008
- operator:
23009
- /<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,
23010
- annotation: {
23011
- pattern: /@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,
23012
- alias: 'builtin'
23013
- }
23014
- };
23015
- Prism.languages.insertBefore('concurnas', 'langext', {
23016
- 'regex-literal': {
23017
- pattern: /\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
23018
- greedy: true,
23019
- inside: {
23020
- interpolation: {
23021
- pattern:
23022
- /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
23023
- lookbehind: true,
23024
- inside: Prism.languages.concurnas
23025
- },
23026
- regex: /[\s\S]+/
23027
- }
23028
- },
23029
- 'string-literal': {
23030
- pattern: /(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
23031
- greedy: true,
23032
- inside: {
23033
- interpolation: {
23034
- pattern:
23035
- /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
23036
- lookbehind: true,
23037
- inside: Prism.languages.concurnas
23038
- },
23039
- string: /[\s\S]+/
23040
- }
23041
- }
23042
- });
23043
- Prism.languages.conc = Prism.languages.concurnas;
23044
- }
23045
- return concurnas_1;
22983
+ var concurnas_1 = concurnas;
22984
+ concurnas.displayName = 'concurnas';
22985
+ concurnas.aliases = ['conc'];
22986
+ function concurnas(Prism) {
22987
+ Prism.languages.concurnas = {
22988
+ comment: {
22989
+ pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,
22990
+ lookbehind: true,
22991
+ greedy: true
22992
+ },
22993
+ langext: {
22994
+ pattern: /\b\w+\s*\|\|[\s\S]+?\|\|/,
22995
+ greedy: true,
22996
+ inside: {
22997
+ 'class-name': /^\w+/,
22998
+ string: {
22999
+ pattern: /(^\s*\|\|)[\s\S]+(?=\|\|$)/,
23000
+ lookbehind: true
23001
+ },
23002
+ punctuation: /\|\|/
23003
+ }
23004
+ },
23005
+ function: {
23006
+ pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,
23007
+ lookbehind: true
23008
+ },
23009
+ keyword:
23010
+ /\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,
23011
+ boolean: /\b(?:false|true)\b/,
23012
+ number:
23013
+ /\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,
23014
+ punctuation: /[{}[\];(),.:]/,
23015
+ operator:
23016
+ /<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,
23017
+ annotation: {
23018
+ pattern: /@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,
23019
+ alias: 'builtin'
23020
+ }
23021
+ };
23022
+ Prism.languages.insertBefore('concurnas', 'langext', {
23023
+ 'regex-literal': {
23024
+ pattern: /\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
23025
+ greedy: true,
23026
+ inside: {
23027
+ interpolation: {
23028
+ pattern:
23029
+ /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
23030
+ lookbehind: true,
23031
+ inside: Prism.languages.concurnas
23032
+ },
23033
+ regex: /[\s\S]+/
23034
+ }
23035
+ },
23036
+ 'string-literal': {
23037
+ pattern: /(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
23038
+ greedy: true,
23039
+ inside: {
23040
+ interpolation: {
23041
+ pattern:
23042
+ /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
23043
+ lookbehind: true,
23044
+ inside: Prism.languages.concurnas
23045
+ },
23046
+ string: /[\s\S]+/
23047
+ }
23048
+ }
23049
+ });
23050
+ Prism.languages.conc = Prism.languages.concurnas;
23046
23051
  }
23047
23052
 
23048
23053
  var coq_1;
@@ -38629,7 +38634,7 @@ var hasRequiredShellSession;
38629
38634
  function requireShellSession () {
38630
38635
  if (hasRequiredShellSession) return shellSession_1;
38631
38636
  hasRequiredShellSession = 1;
38632
- var refractorBash = bash_1;
38637
+ var refractorBash = requireBash();
38633
38638
  shellSession_1 = shellSession;
38634
38639
  shellSession.displayName = 'shellSession';
38635
38640
  shellSession.aliases = [];
@@ -40096,7 +40101,7 @@ var hasRequiredVbnet;
40096
40101
  function requireVbnet () {
40097
40102
  if (hasRequiredVbnet) return vbnet_1;
40098
40103
  hasRequiredVbnet = 1;
40099
- var refractorBasic = basic_1;
40104
+ var refractorBasic = requireBasic();
40100
40105
  vbnet_1 = vbnet;
40101
40106
  vbnet.displayName = 'vbnet';
40102
40107
  vbnet.aliases = [];
@@ -42827,7 +42832,7 @@ refractor.register(apl_1);
42827
42832
  refractor.register(applescript_1);
42828
42833
  refractor.register(aql_1);
42829
42834
  refractor.register(arduino_1);
42830
- refractor.register(requireArff());
42835
+ refractor.register(arff_1);
42831
42836
  refractor.register(asciidoc_1);
42832
42837
  refractor.register(asm6502_1);
42833
42838
  refractor.register(asmatmel_1);
@@ -42835,9 +42840,9 @@ refractor.register(aspnet_1);
42835
42840
  refractor.register(autohotkey_1);
42836
42841
  refractor.register(autoit_1);
42837
42842
  refractor.register(avisynth_1);
42838
- refractor.register(avroIdl_1);
42839
- refractor.register(bash_1);
42840
- refractor.register(basic_1);
42843
+ refractor.register(requireAvroIdl());
42844
+ refractor.register(requireBash());
42845
+ refractor.register(requireBasic());
42841
42846
  refractor.register(batch_1);
42842
42847
  refractor.register(bbcode_1);
42843
42848
  refractor.register(bicep_1);
@@ -42855,8 +42860,8 @@ refractor.register(cil_1);
42855
42860
  refractor.register(clojure_1);
42856
42861
  refractor.register(cmake_1);
42857
42862
  refractor.register(cobol_1);
42858
- refractor.register(requireCoffeescript());
42859
- refractor.register(requireConcurnas());
42863
+ refractor.register(coffeescript_1);
42864
+ refractor.register(concurnas_1);
42860
42865
  refractor.register(requireCoq());
42861
42866
  refractor.register(requireCpp());
42862
42867
  refractor.register(requireCrystal());
@@ -45895,7 +45900,7 @@ var getDateRangeTag = function getDateRangeTag() {
45895
45900
  var dayDifference = differenceInDays(fromUnixTime(endUnix), fromUnixTime(startUnix));
45896
45901
  var hourDifference = differenceInHours(fromUnixTime(endUnix), fromUnixTime(startUnix));
45897
45902
  if (hourDifference <= 24) {
45898
- return 'hours';
45903
+ return 'hour';
45899
45904
  }
45900
45905
  if (dayDifference >= 30) {
45901
45906
  return 'month';
@@ -109674,7 +109679,7 @@ var BaseAreaChart = function BaseAreaChart(props) {
109674
109679
  gridContainLabel = props.gridContainLabel,
109675
109680
  seriesData = props.seriesData,
109676
109681
  tooltip = props.tooltip,
109677
- legendShow = props.legendShow,
109682
+ legend = props.legend,
109678
109683
  xAxisLabelShow = props.xAxisLabelShow,
109679
109684
  xSplitLineShow = props.xSplitLineShow,
109680
109685
  xAxisLineShow = props.xAxisLineShow,
@@ -109775,10 +109780,9 @@ var BaseAreaChart = function BaseAreaChart(props) {
109775
109780
  containLabel: gridContainLabel
109776
109781
  }, gridOptions),
109777
109782
  tooltip: _objectSpread2({}, tooltip),
109778
- legend: {
109779
- show: legendShow,
109783
+ legend: _objectSpread2(_objectSpread2({}, legend), {}, {
109780
109784
  data: Object.keys((_seriesData$chartData6 = seriesData === null || seriesData === void 0 ? void 0 : seriesData.chartData) !== null && _seriesData$chartData6 !== void 0 ? _seriesData$chartData6 : [])
109781
- },
109785
+ }),
109782
109786
  xAxis: [{
109783
109787
  type: 'category',
109784
109788
  axisLabel: {
@@ -109827,7 +109831,7 @@ BaseAreaChart.propTypes = {
109827
109831
  gridOptions: propTypes$1.exports.object,
109828
109832
  gridContainLabel: propTypes$1.exports.bool,
109829
109833
  tooltip: propTypes$1.exports.object,
109830
- legendShow: propTypes$1.exports.bool,
109834
+ legend: propTypes$1.exports.object,
109831
109835
  xAxisLabelShow: propTypes$1.exports.bool,
109832
109836
  xSplitLineShow: propTypes$1.exports.bool,
109833
109837
  xAxisLineShow: propTypes$1.exports.bool,
@@ -109863,7 +109867,7 @@ BaseAreaChart.defaultProps = {
109863
109867
  gridContainLabel: false,
109864
109868
  tooltip: {},
109865
109869
  stacked: false,
109866
- legendShow: false,
109870
+ legend: {},
109867
109871
  xAxisLabelShow: false,
109868
109872
  xSplitLineShow: false,
109869
109873
  xAxisLineShow: false,
@@ -110144,7 +110148,8 @@ var BaseWidget = function BaseWidget(props) {
110144
110148
  children = props.children,
110145
110149
  fallbackProps = props.fallbackProps,
110146
110150
  theme = props.theme,
110147
- setFallback = props.setFallback;
110151
+ setFallback = props.setFallback,
110152
+ showFallback = props.showFallback;
110148
110153
  var emptyChartData = React.useMemo(function () {
110149
110154
  return React.Children.toArray(children).every(function (child) {
110150
110155
  var _child$props$seriesDa, _child$props, _child$props$seriesDa2;
@@ -110189,7 +110194,7 @@ var BaseWidget = function BaseWidget(props) {
110189
110194
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
110190
110195
  className: modules_6a0e74b6.children,
110191
110196
  "data-elem": "children",
110192
- children: [!loading && emptyChartData && /*#__PURE__*/jsxRuntime.jsx(WidgetFallback, _objectSpread2(_objectSpread2({}, fallbackProps), {}, {
110197
+ children: [showFallback && !loading && emptyChartData && /*#__PURE__*/jsxRuntime.jsx(WidgetFallback, _objectSpread2(_objectSpread2({}, fallbackProps), {}, {
110193
110198
  onReload: onReload,
110194
110199
  theme: theme
110195
110200
  })), React.Children.map(children, function (child) {
@@ -110217,7 +110222,8 @@ BaseWidget.propTypes = {
110217
110222
  subtitle: propTypes$1.exports.string
110218
110223
  }),
110219
110224
  theme: propTypes$1.exports.oneOf(['light', 'dark']),
110220
- setFallback: propTypes$1.exports.func
110225
+ setFallback: propTypes$1.exports.func,
110226
+ showFallback: propTypes$1.exports.bool
110221
110227
  };
110222
110228
  BaseWidget.defaultProps = {
110223
110229
  loading: false,
@@ -110233,7 +110239,8 @@ BaseWidget.defaultProps = {
110233
110239
  subtitle: 'There could be something happening on our end. Reload this widget to try again.'
110234
110240
  },
110235
110241
  theme: 'dark',
110236
- setFallback: function setFallback() {}
110242
+ setFallback: function setFallback() {},
110243
+ showFallback: false
110237
110244
  };
110238
110245
 
110239
110246
  var css$1 = ".DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_sm__a7ba07d1 img {\n height: 1.5rem;\n width: 1.5rem;\n border-radius: 100%;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_sm__a7ba07d1 div {\n height: 1.5rem;\n width: 1.5rem;\n border-radius: 100%;\n background-color: var(--highlight);\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_sm__a7ba07d1 div span {\n font-size: 1rem;\n font-weight: 600;\n color: var(--white);\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_md__a7ba07d1 img {\n height: 5.3125rem;\n width: 5.3125rem;\n border-radius: 100%;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_md__a7ba07d1 div {\n height: 5.3125rem;\n width: 5.3125rem;\n border-radius: 100%;\n background-color: var(--highlight);\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_md__a7ba07d1 div span {\n font-size: 2rem;\n font-weight: 600;\n color: var(--white);\n}";