@guihz/trading-vue-editor-tes 0.0.57 → 0.0.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ declare class Input {
28
28
  private _count;
29
29
  private _historyInputs;
30
30
  private _name;
31
- constructor(variables: BuiltInVariables, errorListener: TccErrorListener);
31
+ constructor(variables: BuiltInVariables, errorListener: TccErrorListener, id: string);
32
32
  update(vals: IInputArgs[]): void;
33
33
  input(args: IInputArgs, posStr: string): TSimpleType;
34
34
  int(args: IInputArgs, posStr: string): TSimpleType;
@@ -6,6 +6,7 @@ export declare const ERRORS_TIPS: {
6
6
  notTypeKeyword: string;
7
7
  undeclared: string;
8
8
  repeatVar: string;
9
+ typeRepeatErr: string;
9
10
  typeMismatch: string;
10
11
  assignTypeMismatch: string;
11
12
  voidNotVar: string;
@@ -10,6 +10,7 @@ export default class ParseToLibJs {
10
10
  private _memberIndexList;
11
11
  private _blockCount;
12
12
  private _libTitle;
13
+ private _exportEles;
13
14
  constructor(prefix: string, title: string);
14
15
  parser(values: IKeyObjectValue[]): string | undefined;
15
16
  private _parserStmt;
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.line-decoration_modified,.line-decoration_added,.line-decoration_removed{left:auto!important;right:20px;transform:scale(-1);width:4px!important}.line-modified:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background-image:linear-gradient(-45deg,#2962ff 25%,#0000 0,#0000 50%,#2962ff 0,#2962ff 75%,#0000 0,#0000);background-size:3px 3px}.line-added:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background:#089950}.modified-in-monaco-diff-editor .line-modified:before,.modified-in-monaco-diff-editor .line-added:before,.modified-in-monaco-diff-editor .line-decoration_removed:after{background:none}.line-modified:hover:before,.line-added:hover:before,.line-decoration_removed:hover:before{width:5px}.line-decoration_removed:hover:before{background-color:#f23645}.line-decoration_removed:hover:after{background:none}.line-decoration_removed:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1}.line-decoration_removed:after{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='4'%20height='18'%20viewBox='0%200%204%2018'%20fill='%23F23645'%3e%3cpath%20d='M3.7%208.11a.5.5%200%200%201%200%20.67L.89%2012a.5.5%200%200%201-.88-.33V5.3a.5.5%200%200%201%20.87-.33L3.7%208.1Z'/%3e%3c/svg%3e") 50% no-repeat;background-size:5px 20px;content:"";height:10px;left:-4px;position:absolute;top:-3px;transform:scale(-1);width:10px}.vs-dark .content-popup{background-color:#1e222d}.content-popup{position:relative;border-bottom:1px solid;display:flex;flex-direction:column;height:100%;-webkit-user-select:none;user-select:none;background-color:#fff}.header-popup{align-items:center;position:relative;z-index:1;border-left:0;border-right:0;display:flex;height:22px;justify-content:space-between;margin-top:5px;border-bottom:1px solid #fff;border-top:1px solid #fff;background-color:#fff}.title-popup{font-size:13px;font-weight:400;line-height:18px;margin-left:27px}.actions-popup{align-items:center;display:flex}.button-popup{height:24px;cursor:pointer;justify-content:center;width:24px;display:flex;padding:0 5px;align-items:center;box-sizing:border-box;transition:background-color 60ms ease,opacity 60ms ease,color 60ms ease}.icon-popup{display:flex}.triangle-popup{position:absolute;left:55px;margin-top:1px;height:8px;z-index:0;transform:rotate(-45deg);width:8px}.triangle-modified-popup{background-color:#2962ff}.vs-dark .header-modified-popup{background-color:#1e222d}.header-modified-popup{background-color:#e3effd;border-color:#2962ff}.content-modified-popup{border-bottom-color:#2962ff}.triangle-added-popup{background-color:#089950}.vs-dark .header-added-popup{background-color:#1a3326}.header-added-popup{background-color:#daf2e6;border-color:#089950}.content-added-popup{border-bottom-color:#089950}.triangle-removed-popup{background-color:#f23645}.vs-dark .header-removed-popup{background-color:#331f20}.header-removed-popup{background-color:#ffebec;border-color:#f23645}.content-removed-popup{border-bottom-color:#f23645}.tvue-script .monaco-editor.vs-dark .quick-input-widget{background:#1e222d!important}.tvue-script .monaco-editor .monaco-inputbox:focus-within,.tvue-script .monaco-editor.vs-dark .monaco-inputbox:focus-within{border-color:#2962ff}.tvue-script .monaco-editor .quick-input-widget .monaco-inputbox{background-color:unset!important;border:unset!important}.tvue-script .monaco-editor .quick-input-widget .input:active,.tvue-script .monaco-editor .quick-input-widget .input:focus{border:2px solid #2962ff}.tvue-script .monaco-editor.vs-dark .quick-input-widget .input{background-color:#1e222d!important;color:#d1d4dc!important}.tvue-script .monaco-editor .monaco-inputbox .input{font-size:14px;line-height:18px;outline:none}.tvue-script .monaco-editor .quick-input-widget .input{background-color:#fff!important;border:1px solid #d1d4dc;border-radius:6px;color:#131722!important;height:28px;padding-bottom:5px}.tvue-script .monaco-editor .overflow-guard{overflow:hidden!important}section{display:block!important}.tvue-script .monaco-editor .find-widget .codicon.toggle:before{content:"";font-size:15px;transition:.3s ease-out}.tvue-script .monaco-editor .find-widget.replaceToggled{height:80px!important}.tvue-script .monaco-editor .find-widget{border-bottom-left-radius:6px;border-bottom-right-radius:6px;height:44px!important;width:450px!important;transition:.3s ease-out}.tvue-script .monaco-editor .find-widget.replaceToggled .find-part,.tvue-script .monaco-editor .find-widget.replaceToggled .replace-part{margin-left:17px}.tvue-script .monaco-editor .find-widget .codicon.toggle.codicon-find-expanded{height:77px}.tvue-script .monaco-editor .find-widget.replaceToggled .replace-part{margin-top:8px}.tvue-script .monaco-editor .find-widget .codicon.toggle{border-radius:4px;cursor:default;height:41px;left:2px;top:2px}.tvue-script .monaco-editor .find-widget .monaco-sash{display:none}.tvue-script .monaco-editor .find-widget .find-part{margin-top:8px}.tvue-script .monaco-editor .find-widget .monaco-findInput{width:255px}.tvue-script .monaco-editor .monaco-scrollable-element{--vscode-scrollbarSlider-background: #64646466;margin-bottom:-2px}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#1e222d!important}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{border-color:#50535e!important}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#fff!important;border-color:#d1d4dc!important;border-radius:6px;height:28px}.tvue-script .monaco-editor.vs-dark .monaco-inputbox,.tvue-script .monaco-editor.vs-dark .monaco-inputbox.idle{border:2px solid #50535e}.tvue-script .monaco-editor .monaco-inputbox,.tvue-script .monaco-editor .monaco-inputbox.idle{border:2px solid #a3a6af;border-radius:4px;overflow:hidden}.tvue-script .monaco-editor .find-widget .button{box-sizing:content-box}.tvue-script .monaco-editor .find-widget>.button.codicon-widget-close{top:10px}.tvue-script .monaco-editor .find-widget .codicon.toggle.codicon-find-expanded:before{transform:rotate(180deg)}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle .ibwrapper>textarea.input{padding-top:4px}.tvue-script .monaco-editor .monaco-inputbox .input{line-height:18px}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important;outline-color:#0000}.tvue-script .monaco-editor .monaco-inputbox:focus-within{border-color:#2962ff}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#1e222d!important}.context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#fff!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#131722!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item{border-radius:0;height:32px;margin:0}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#2a2e39!important;color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#f0f3fa!important;color:#131722!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #434651!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #e0e3eb!important;margin-left:0!important;margin-right:0!important;opacity:1}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#5d606b}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#9598a1}.monaco-menu{max-height:calc(100vh - 35px)!important}.vs-dark.manual-warpper{color:#d1d4dc}.manual-warpper{display:flex;height:100%;text-align:left;color:#131722}.vs-dark .manual-left{border-right-color:#434651}.manual-left{border-right:1px solid #e0e3eb;display:flex;flex:0 0 240px;flex-direction:column;height:100%}.manual-right{flex:1;height:100%;overflow-y:auto;-webkit-user-select:text;user-select:text}.vs-dark .manual-search{border-bottom-color:#434651}.manual-search{display:flex;align-items:center;flex:0 0 47px;padding-left:16.5px;border-bottom:1px solid #e0e3eb}.manual-search-icon{height:18px;font-size:14px;opacity:.8;pointer-events:none;transition:opacity .35s ease}.manual-search-icon svg{fill:#a3a6af}.manual-search-input{background-color:transparent;color:inherit;height:29px;width:146px;margin-left:5px;border:none;outline:none}.vs-dark .manual-search-clear svg{fill:#d1d4dc}.manual-search-clear svg{fill:#434651}.manual-search-clear{cursor:pointer;opacity:.5;text-align:center;transition:opacity .35s ease;width:36px;font-size:14px}.manual-search-clear:hover{opacity:1;transition-duration:60ms}.manual-group-list{display:flex;flex:1 1 100%;flex-direction:column;overflow-y:auto;text-align:left}.manual-group-search-list{flex:1 1 100%;overflow-y:auto;text-align:left}.vs-dark .manual-content-separator{background-color:#363a45}.manual-content-separator{background-color:#e0e3eb;height:1px}.vs-dark .manual-group-title{color:#d1d4dc;border-bottom-color:#434651}.manual-group-title{box-sizing:border-box;color:#434651;cursor:default;display:block;flex:0 0 auto;font-size:14px;font-weight:700;margin:0;padding:12px;border-bottom:1px solid #e0e3eb;-webkit-user-select:none;user-select:none}.vs-dark .manual-group-title.active{background-color:#2a2e39;border-top-color:#2a2e39;color:#d1d4dc}.manual-group-title.active{background-color:#e3effd;border-top-color:#e3effd;color:#131722}.vs-dark .manual-group-body{border-bottom-color:#434651}.manual-group-body{display:block;flex:1 1 auto;pointer-events:auto;-webkit-user-select:text;user-select:text;overflow-x:hidden;overflow-y:auto;transform:translateZ(0);border-bottom:1px solid #e0e3eb}.manual-group-body.hide,.manual-search-clear.hide,.manual-group-list.hide,.manual-group-search-list.hide{display:none}.vs-dark .manual-group-body-item{color:#b2b5be}.manual-group-body-item{box-sizing:border-box;color:#5d606b;cursor:default;display:block;font-size:14px;letter-spacing:.3px;line-height:24px;padding:2px 8px 2px 12px;position:relative;transition:none;word-break:break-all;text-decoration:none}.vs-dark .manual-group-body-item-selected{fill:#2962ff;color:#2962ff}.manual-group-body-item-selected{color:#2962ff;fill:#2962ff}.manual-group-body-item-selected:before{background-color:#2962ff;bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:4px}.manual-content-wrapper{box-sizing:border-box;padding:30px 25px 25px;position:relative}.manual-content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2px}.vs-dark .manual-content-header-overloads{background-color:#2a2e39}.manual-content-header-overloads{background-color:#e3effd;border-radius:8px;display:inline-block;height:auto;margin-left:6px;padding:4px 8px;vertical-align:top}.vs-dark .manual-content-header-title{color:#d1d4dc}.manual-content-header-title{font-size:18px;line-height:26px;color:#131722;font-weight:700;display:inline-block;margin:0}.vs-dark .manual-content-btn{color:#d1d4dc}.manual-content-btn{align-items:center;background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;cursor:default;display:flex;height:34px;justify-content:center;margin:0;padding:0;width:34px}.vs-dark .manual-content-btn:hover{background-color:#2a2e39}.manual-content-btn:hover{background-color:#f0f3fa}.vs-dark .manual-content-args-label{color:#d1d4dc}.manual-content-args-label{color:#131722;font-weight:700}.vs-dark .manual-content-syntax{background-color:#2a2e39;color:#d1d4dc}.manual-content-syntax{background-color:#e3effd;border-radius:8px;color:#131722;font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;overflow:hidden;transition:opacity .1s ease;white-space:pre-wrap;font-size:14px;line-height:21px;margin-top:8px;padding:24px;-webkit-user-select:none;user-select:none}.with-overloads{opacity:.6}.with-overloads:hover{opacity:.8}.with-overloads.selected{box-shadow:0 0 0 2px #2962ff;opacity:1}.vs-dark .manual-content-text{color:#d1d4dc}.manual-content-text{font-size:14px;line-height:21px;color:#131722;margin-top:8px}.vs-dark .manual-content-text-link{fill:#5b9cf6;color:#5b9cf6}.vs-dark .manual-content-text-link:hover{fill:#3179f5;color:#3179f5}.manual-content-text-link{color:#2962ff;fill:#2962ff}.manual-content-text-link:hover{color:#1e53e5;fill:#1e53e5}.vs-dark .manual-content-text code{background-color:#2a2e39}.manual-content-text code{background-color:#e0e3eb;border-radius:3px;padding:0 .4em}.vs-dark .manual-content-sub-title{color:#868993}.manual-content-sub-title{color:#6a6d78;font-size:11px;letter-spacing:.4px;line-height:16px;margin-top:24px;text-transform:uppercase}.manual-content-example-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px}.vs-dark .manual-content-example-copy{color:#868993}.manual-content-example-copy{color:#6a6d78}.vs-dark .manual-content-example{background-color:#2a2e39}.manual-content-example{background-color:#e3effd;border-radius:8px;box-shadow:none;margin-top:0;overflow:hidden}.manual-content-example code{display:block;font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:18px;overflow-x:auto;padding:24px}.manual-content-see_also{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;-webkit-user-select:none;user-select:none}.vs-dark .manual-content-see_also-tag{background-color:#1e222d;color:#d1d4dc}.vs-dark .manual-content-see_also-tag:hover{background-color:#363a45}.manual-content-see_also-tag{background-color:#f8f9fd;border-radius:3px;color:#131722;cursor:default;font-size:14px;line-height:21px;margin:0;padding:6px 8px}.manual-content-see_also-tag:hover{background-color:#f0f3fa}.manual-scroll::-webkit-scrollbar{height:5px;width:5px}.manual-scroll::-webkit-scrollbar-corner{display:none}.vs-dark .manual-scroll::-webkit-scrollbar-thumb,.vs-dark code::-webkit-scrollbar-thumb{background-color:#363a45}.manual-scroll::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#9598a1;border:1px solid #0000;border-radius:3px}.manual-scroll::-webkit-scrollbar-track{background-color:initial;border-radius:3px}[data-tooltip]{position:relative;text-transform:none}[data-tooltip]:before,[data-tooltip]:after{position:absolute;opacity:0;z-index:1000;pointer-events:none;transition:.2s}[data-tooltip]:before{content:"";border:5px solid transparent;border-top-color:#2a2e39;-webkit-transform:translateX(-50%);transform:translate(-50%);bottom:100%;left:50%;margin-bottom:-5px}[data-tooltip]:after{content:attr(data-tooltip);background:#2a2e39;font:12px Microsoft YaHei;color:#fff;padding:4px 8px;border-radius:2px;box-shadow:3px 3px 6px #0000004d;bottom:100%;width:max-content;left:50%;transform:translate(-50%);margin-bottom:5px}[data-tooltip]:hover:before,[data-tooltip]:hover:after{opacity:1;-webkit-transition-delay:.15s;transition-delay:.15s}[data-tooltip=""]:before,[data-tooltip=""]:after{display:none!important}.vs-dark ::selection{background:#143a87}::selection{background:#bbd9fb}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import ir, { memo as Ri, useState as ot, useRef as Ee, useCallback as Us, useEffect as Ye, forwardRef as yu, useImperativeHandle as hu, useMemo as G_, Fragment as $t } from "react";
2
+ import ir, { memo as Ri, useState as ot, useRef as Pe, useCallback as Us, useEffect as Ye, forwardRef as yu, useImperativeHandle as hu, useMemo as G_, Fragment as $t } from "react";
3
3
  import * as K_ from "monaco-editor";
4
4
  import { languages as et, Position as Y_, MarkerSeverity as V_, editor as Ws } from "monaco-editor";
5
5
  import Q_ from "react-dom";
@@ -104,7 +104,7 @@ function eg() {
104
104
  function bt(y) {
105
105
  return y.displayName || "Context";
106
106
  }
107
- function Le(y) {
107
+ function Re(y) {
108
108
  if (y == null)
109
109
  return null;
110
110
  if (typeof y.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof y == "function")
@@ -137,11 +137,11 @@ function eg() {
137
137
  return gt(y, y.render, "ForwardRef");
138
138
  case T:
139
139
  var J = y.displayName || null;
140
- return J !== null ? J : Le(y.type) || "Memo";
140
+ return J !== null ? J : Re(y.type) || "Memo";
141
141
  case E: {
142
142
  var me = y, he = me._payload, ue = me._init;
143
143
  try {
144
- return Le(ue(he));
144
+ return Re(ue(he));
145
145
  } catch {
146
146
  return null;
147
147
  }
@@ -149,14 +149,14 @@ function eg() {
149
149
  }
150
150
  return null;
151
151
  }
152
- var Me = Object.assign, G = 0, fe, Se, Oe, lt, Pe, Z, we;
152
+ var Le = Object.assign, G = 0, fe, Se, Oe, lt, Me, Z, we;
153
153
  function Be() {
154
154
  }
155
155
  Be.__reactDisabledLog = !0;
156
156
  function Gt() {
157
157
  {
158
158
  if (G === 0) {
159
- fe = console.log, Se = console.info, Oe = console.warn, lt = console.error, Pe = console.group, Z = console.groupCollapsed, we = console.groupEnd;
159
+ fe = console.log, Se = console.info, Oe = console.warn, lt = console.error, Me = console.group, Z = console.groupCollapsed, we = console.groupEnd;
160
160
  var y = {
161
161
  configurable: !0,
162
162
  enumerable: !0,
@@ -185,25 +185,25 @@ function eg() {
185
185
  writable: !0
186
186
  };
187
187
  Object.defineProperties(console, {
188
- log: Me({}, y, {
188
+ log: Le({}, y, {
189
189
  value: fe
190
190
  }),
191
- info: Me({}, y, {
191
+ info: Le({}, y, {
192
192
  value: Se
193
193
  }),
194
- warn: Me({}, y, {
194
+ warn: Le({}, y, {
195
195
  value: Oe
196
196
  }),
197
- error: Me({}, y, {
197
+ error: Le({}, y, {
198
198
  value: lt
199
199
  }),
200
- group: Me({}, y, {
201
- value: Pe
200
+ group: Le({}, y, {
201
+ value: Me
202
202
  }),
203
- groupCollapsed: Me({}, y, {
203
+ groupCollapsed: Le({}, y, {
204
204
  value: Z
205
205
  }),
206
- groupEnd: Me({}, y, {
206
+ groupEnd: Le({}, y, {
207
207
  value: we
208
208
  })
209
209
  });
@@ -413,8 +413,8 @@ function eg() {
413
413
  }
414
414
  function us(y, N) {
415
415
  if (typeof y.ref == "string" && zt.current && N && zt.current.stateNode !== N) {
416
- var j = Le(zt.current.type);
417
- Tr[j] || ($('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Le(zt.current.type), y.ref), Tr[j] = !0);
416
+ var j = Re(zt.current.type);
417
+ Tr[j] || ($('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Re(zt.current.type), y.ref), Tr[j] = !0);
418
418
  }
419
419
  }
420
420
  function ds(y, N) {
@@ -502,7 +502,7 @@ function eg() {
502
502
  function Vs() {
503
503
  {
504
504
  if (fs.current) {
505
- var y = Le(fs.current.type);
505
+ var y = Re(fs.current.type);
506
506
  if (y)
507
507
  return `
508
508
 
@@ -545,7 +545,7 @@ Check the top-level render call using <` + j + ">.");
545
545
  return;
546
546
  Qs[j] = !0;
547
547
  var J = "";
548
- y && y._owner && y._owner !== fs.current && (J = " It was passed a child from " + Le(y._owner.type) + "."), Vt(y), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', j, J), Vt(null);
548
+ y && y._owner && y._owner !== fs.current && (J = " It was passed a child from " + Re(y._owner.type) + "."), Vt(y), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', j, J), Vt(null);
549
549
  }
550
550
  }
551
551
  function ea(y, N) {
@@ -582,11 +582,11 @@ Check the top-level render call using <` + j + ">.");
582
582
  else
583
583
  return;
584
584
  if (j) {
585
- var J = Le(N);
585
+ var J = Re(N);
586
586
  vr(j, y.props, "prop", J, y);
587
587
  } else if (N.PropTypes !== void 0 && !Ur) {
588
588
  Ur = !0;
589
- var me = Le(N);
589
+ var me = Re(N);
590
590
  $("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown");
591
591
  }
592
592
  typeof N.getDefaultProps == "function" && !N.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -613,7 +613,7 @@ Check the top-level render call using <` + j + ">.");
613
613
  var We = on(me);
614
614
  We ? le += We : le += Vs();
615
615
  var ke;
616
- y === null ? ke = "null" : Yt(y) ? ke = "array" : y !== void 0 && y.$$typeof === n ? (ke = "<" + (Le(y.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : ke = typeof y, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ke, le);
616
+ y === null ? ke = "null" : Yt(y) ? ke = "array" : y !== void 0 && y.$$typeof === n ? (ke = "<" + (Re(y.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : ke = typeof y, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ke, le);
617
617
  }
618
618
  var qe = nn(y, N, j, me, he);
619
619
  if (qe == null)
@@ -1048,7 +1048,7 @@ function Yg(a) {
1048
1048
  }
1049
1049
  var vu = Yg;
1050
1050
  function Vg(a, n, s = !0) {
1051
- let o = Ee(!0);
1051
+ let o = Pe(!0);
1052
1052
  Ye(o.current || !s ? () => {
1053
1053
  o.current = !1;
1054
1054
  } : a, n);
@@ -1069,10 +1069,10 @@ function Tu(a, n) {
1069
1069
  return a.Uri.parse(n);
1070
1070
  }
1071
1071
  function Zg({ original: a, modified: n, language: s, originalLanguage: o, modifiedLanguage: u, originalModelPath: c, modifiedModelPath: m, keepCurrentOriginalModel: h = !1, keepCurrentModifiedModel: b = !1, theme: g = "light", loading: x = "Loading...", options: T = {}, height: E = "100%", width: R = "100%", className: M, wrapperProps: P = {}, beforeMount: X = Bs, onMount: Q = Bs }) {
1072
- let [$, L] = ot(!1), [A, D] = ot(!0), F = Ee(null), U = Ee(null), ie = Ee(null), ae = Ee(Q), oe = Ee(X), gt = Ee(!1);
1072
+ let [$, L] = ot(!1), [A, D] = ot(!0), F = Pe(null), U = Pe(null), ie = Pe(null), ae = Pe(Q), oe = Pe(X), gt = Pe(!1);
1073
1073
  vu(() => {
1074
1074
  let G = Li.init();
1075
- return G.then((fe) => (U.current = fe) && D(!1)).catch((fe) => (fe == null ? void 0 : fe.type) !== "cancelation" && console.error("Monaco initialization: error:", fe)), () => F.current ? Me() : G.cancel();
1075
+ return G.then((fe) => (U.current = fe) && D(!1)).catch((fe) => (fe == null ? void 0 : fe.type) !== "cancelation" && console.error("Monaco initialization: error:", fe)), () => F.current ? Le() : G.cancel();
1076
1076
  }), _t(() => {
1077
1077
  if (F.current && U.current) {
1078
1078
  let G = F.current.getOriginalEditor(), fe = as(U.current, a || "", o || s || "text", c || "");
@@ -1106,16 +1106,16 @@ function Zg({ original: a, modified: n, language: s, originalLanguage: o, modifi
1106
1106
  oe.current(U.current);
1107
1107
  let G = as(U.current, a || "", o || s || "text", c || ""), fe = as(U.current, n || "", u || s || "text", m || "");
1108
1108
  (Se = F.current) == null || Se.setModel({ original: G, modified: fe });
1109
- }, [s, n, u, a, o, c, m]), Le = Us(() => {
1109
+ }, [s, n, u, a, o, c, m]), Re = Us(() => {
1110
1110
  var G;
1111
1111
  !gt.current && ie.current && (F.current = U.current.editor.createDiffEditor(ie.current, { automaticLayout: !0, ...T }), bt(), (G = U.current) == null || G.editor.setTheme(g), L(!0), gt.current = !0);
1112
1112
  }, [T, g, bt]);
1113
1113
  Ye(() => {
1114
1114
  $ && ae.current(F.current, U.current);
1115
1115
  }, [$]), Ye(() => {
1116
- !A && !$ && Le();
1117
- }, [A, $, Le]);
1118
- function Me() {
1116
+ !A && !$ && Re();
1117
+ }, [A, $, Re]);
1118
+ function Le() {
1119
1119
  var fe, Se, Oe, lt;
1120
1120
  let G = (fe = F.current) == null ? void 0 : fe.getModel();
1121
1121
  h || ((Se = G == null ? void 0 : G.original) == null || Se.dispose()), b || ((Oe = G == null ? void 0 : G.modified) == null || Oe.dispose()), (lt = F.current) == null || lt.dispose();
@@ -1124,17 +1124,17 @@ function Zg({ original: a, modified: n, language: s, originalLanguage: o, modifi
1124
1124
  }
1125
1125
  var eb = Zg, tb = Ri(eb);
1126
1126
  function rb(a) {
1127
- let n = Ee();
1127
+ let n = Pe();
1128
1128
  return Ye(() => {
1129
1129
  n.current = a;
1130
1130
  }, [a]), n.current;
1131
1131
  }
1132
1132
  var sb = rb, Ha = /* @__PURE__ */ new Map();
1133
1133
  function ab({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, language: u, path: c, theme: m = "light", line: h, loading: b = "Loading...", options: g = {}, overrideServices: x = {}, saveViewState: T = !0, keepCurrentModel: E = !1, width: R = "100%", height: M = "100%", className: P, wrapperProps: X = {}, beforeMount: Q = Bs, onMount: $ = Bs, onChange: L, onValidate: A = Bs }) {
1134
- let [D, F] = ot(!1), [U, ie] = ot(!0), ae = Ee(null), oe = Ee(null), gt = Ee(null), bt = Ee($), Le = Ee(Q), Me = Ee(), G = Ee(o), fe = sb(c), Se = Ee(!1), Oe = Ee(!1);
1134
+ let [D, F] = ot(!1), [U, ie] = ot(!0), ae = Pe(null), oe = Pe(null), gt = Pe(null), bt = Pe($), Re = Pe(Q), Le = Pe(), G = Pe(o), fe = sb(c), Se = Pe(!1), Oe = Pe(!1);
1135
1135
  vu(() => {
1136
1136
  let Z = Li.init();
1137
- return Z.then((we) => (ae.current = we) && ie(!1)).catch((we) => (we == null ? void 0 : we.type) !== "cancelation" && console.error("Monaco initialization: error:", we)), () => oe.current ? Pe() : Z.cancel();
1137
+ return Z.then((we) => (ae.current = we) && ie(!1)).catch((we) => (we == null ? void 0 : we.type) !== "cancelation" && console.error("Monaco initialization: error:", we)), () => oe.current ? Me() : Z.cancel();
1138
1138
  }), _t(() => {
1139
1139
  var we, Be, Gt, Ve;
1140
1140
  let Z = as(ae.current, a || o || "", n || u || "", c || s || "");
@@ -1158,7 +1158,7 @@ function ab({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, lan
1158
1158
  let lt = Us(() => {
1159
1159
  var Z;
1160
1160
  if (!(!gt.current || !ae.current) && !Se.current) {
1161
- Le.current(ae.current);
1161
+ Re.current(ae.current);
1162
1162
  let we = c || s, Be = as(ae.current, o || a || "", n || u || "", we || "");
1163
1163
  oe.current = (Z = ae.current) == null ? void 0 : Z.editor.create(gt.current, { model: Be, automaticLayout: !0, ...g }, x), T && oe.current.restoreViewState(Ha.get(we)), ae.current.editor.setTheme(m), h !== void 0 && oe.current.revealLine(h), F(!0), Se.current = !0;
1164
1164
  }
@@ -1169,7 +1169,7 @@ function ab({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, lan
1169
1169
  !U && !D && lt();
1170
1170
  }, [U, D, lt]), G.current = o, Ye(() => {
1171
1171
  var Z, we;
1172
- D && L && ((Z = Me.current) == null || Z.dispose(), Me.current = (we = oe.current) == null ? void 0 : we.onDidChangeModelContent((Be) => {
1172
+ D && L && ((Z = Le.current) == null || Z.dispose(), Le.current = (we = oe.current) == null ? void 0 : we.onDidChangeModelContent((Be) => {
1173
1173
  Oe.current || L(oe.current.getValue(), Be);
1174
1174
  }));
1175
1175
  }, [D, L]), Ye(() => {
@@ -1189,9 +1189,9 @@ function ab({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, lan
1189
1189
  return () => {
1190
1190
  };
1191
1191
  }, [D, A]);
1192
- function Pe() {
1192
+ function Me() {
1193
1193
  var Z, we;
1194
- (Z = Me.current) == null || Z.dispose(), E ? T && Ha.set(c, oe.current.saveViewState()) : (we = oe.current.getModel()) == null || we.dispose(), oe.current.dispose();
1194
+ (Z = Le.current) == null || Z.dispose(), E ? T && Ha.set(c, oe.current.saveViewState()) : (we = oe.current.getModel()) == null || we.dispose(), oe.current.dispose();
1195
1195
  }
1196
1196
  return ir.createElement(wu, { width: R, height: M, isEditorReady: D, loading: b, _ref: gt, className: P, wrapperProps: X });
1197
1197
  }
@@ -61230,7 +61230,7 @@ var Qa = { exports: {} };
61230
61230
  Qa.exports;
61231
61231
  (function(a, n) {
61232
61232
  (function() {
61233
- var s, o = "4.17.21", u = 200, c = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", h = "Invalid `variable` option passed into `_.template`", b = "__lodash_hash_undefined__", g = 500, x = "__lodash_placeholder__", T = 1, E = 2, R = 4, M = 1, P = 2, X = 1, Q = 2, $ = 4, L = 8, A = 16, D = 32, F = 64, U = 128, ie = 256, ae = 512, oe = 30, gt = "...", bt = 800, Le = 16, Me = 1, G = 2, fe = 3, Se = 1 / 0, Oe = 9007199254740991, lt = 17976931348623157e292, Pe = NaN, Z = 4294967295, we = Z - 1, Be = Z >>> 1, Gt = [
61233
+ var s, o = "4.17.21", u = 200, c = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", h = "Invalid `variable` option passed into `_.template`", b = "__lodash_hash_undefined__", g = 500, x = "__lodash_placeholder__", T = 1, E = 2, R = 4, M = 1, P = 2, X = 1, Q = 2, $ = 4, L = 8, A = 16, D = 32, F = 64, U = 128, ie = 256, ae = 512, oe = 30, gt = "...", bt = 800, Re = 16, Le = 1, G = 2, fe = 3, Se = 1 / 0, Oe = 9007199254740991, lt = 17976931348623157e292, Me = NaN, Z = 4294967295, we = Z - 1, Be = Z >>> 1, Gt = [
61234
61234
  ["ary", U],
61235
61235
  ["bind", X],
61236
61236
  ["bindKey", Q],
@@ -61618,7 +61618,7 @@ Qa.exports;
61618
61618
  }
61619
61619
  function wo(w, q) {
61620
61620
  var I = w == null ? 0 : w.length;
61621
- return I ? In(w, q) / I : Pe;
61621
+ return I ? In(w, q) / I : Me;
61622
61622
  }
61623
61623
  function vn(w) {
61624
61624
  return function(q) {
@@ -61886,7 +61886,7 @@ Qa.exports;
61886
61886
  if (yt == G)
61887
61887
  V = Ze;
61888
61888
  else if (!Ze) {
61889
- if (yt == Me)
61889
+ if (yt == Le)
61890
61890
  continue e;
61891
61891
  break e;
61892
61892
  }
@@ -62568,7 +62568,7 @@ Qa.exports;
62568
62568
  return p;
62569
62569
  }
62570
62570
  function sl(e) {
62571
- return typeof e == "number" ? e : ft(e) ? Pe : +e;
62571
+ return typeof e == "number" ? e : ft(e) ? Me : +e;
62572
62572
  }
62573
62573
  function mt(e) {
62574
62574
  if (typeof e == "string")
@@ -63412,7 +63412,7 @@ Qa.exports;
63412
63412
  function Pl(e) {
63413
63413
  var t = 0, r = 0;
63414
63414
  return function() {
63415
- var i = Qd(), l = Le - (i - r);
63415
+ var i = Qd(), l = Re - (i - r);
63416
63416
  if (r = i, l > 0) {
63417
63417
  if (++t >= bt)
63418
63418
  return arguments[0];
@@ -64259,7 +64259,7 @@ Qa.exports;
64259
64259
  if (typeof e == "number")
64260
64260
  return e;
64261
64261
  if (ft(e))
64262
- return Pe;
64262
+ return Me;
64263
64263
  if (Ae(e)) {
64264
64264
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
64265
64265
  e = Ae(t) ? t + "" : t;
@@ -64268,7 +64268,7 @@ Qa.exports;
64268
64268
  return e === 0 ? e : +e;
64269
64269
  e = To(e);
64270
64270
  var r = le.test(e);
64271
- return r || ke.test(e) ? md(e.slice(2), r ? 2 : 8) : ue.test(e) ? Pe : +e;
64271
+ return r || ke.test(e) ? md(e.slice(2), r ? 2 : 8) : ue.test(e) ? Me : +e;
64272
64272
  }
64273
64273
  function nc(e) {
64274
64274
  return Wt(e, nt(e));
@@ -64813,7 +64813,7 @@ function print() { __p += __j.call(arguments, '') }
64813
64813
  return this.reverse()[e](r).reverse();
64814
64814
  };
64815
64815
  }), vt(["filter", "map", "takeWhile"], function(e, t) {
64816
- var r = t + 1, i = r == Me || r == fe;
64816
+ var r = t + 1, i = r == Le || r == fe;
64817
64817
  de.prototype[e] = function(l) {
64818
64818
  var p = this.clone();
64819
64819
  return p.__iteratees__.push({
@@ -64894,7 +64894,7 @@ function print() { __p += __j.call(arguments, '') }
64894
64894
  }).call(Os);
64895
64895
  })(Qa, Qa.exports);
64896
64896
  var Ac = Qa.exports;
64897
- const Re = "tccScript", Mi = {
64897
+ const Ee = "tccScript", Mi = {
64898
64898
  builtinFunctions: /strategy\.closedtrades\.max_drawdown_percent|strategy\.opentrades\.max_drawdown_percent|strategy\.risk\.max_intraday_filled_orders|strategy\.closedtrades\.max_runup_percent|array\.percentile_linear_interpolation|strategy\.closedtrades\.entry_bar_index|strategy\.opentrades\.max_runup_percent|strategy\.closedtrades\.exit_bar_index|strategy\.closedtrades\.profit_percent|strategy\.closedtrades\.entry_comment|strategy\.opentrades\.entry_bar_index|strategy\.closedtrades\.exit_comment|strategy\.closedtrades\.max_drawdown|strategy\.opentrades\.profit_percent|ta\.percentile_linear_interpolation|strategy\.closedtrades\.entry_price|strategy\.opentrades\.entry_comment|strategy\.closedtrades\.commission|strategy\.closedtrades\.entry_time|strategy\.closedtrades\.exit_price|strategy\.opentrades\.max_drawdown|strategy\.risk\.max_cons_loss_days|strategy\.closedtrades\.exit_time|strategy\.closedtrades\.max_runup|strategy\.opentrades\.entry_price|strategy\.risk\.max_intraday_loss|strategy\.risk\.max_position_size|table\.cell_set_text_font_family|strategy\.closedtrades\.entry_id|strategy\.opentrades\.commission|strategy\.opentrades\.entry_time|array\.binary_search_rightmost|array\.percentile_nearest_rank|strategy\.closedtrades\.exit_id|strategy\.opentrades\.max_runup|array\.binary_search_leftmost|strategy\.closedtrades\.profit|strategy\.opentrades\.entry_id|strategy\.risk\.allow_entry_in|strategy\.convert_to_account|box\.set_bottom_right_point|label\.set_text_font_family|strategy\.closedtrades\.size|strategy\.convert_to_symbol|strategy\.default_entry_qty|strategy\.opentrades\.profit|strategy\.risk\.max_drawdown|ta\.percentile_nearest_rank|table\.cell_set_text_halign|table\.cell_set_text_valign|request\.security_lower_tf|table\.cell_set_text_color|box\.set_text_font_family|strategy\.opentrades\.size|table\.cell_set_text_size|matrix\.is_antisymmetric|box\.set_top_left_point|chart\.point\.from_index|matrix\.is_antidiagonal|table\.cell_set_bgcolor|table\.cell_set_tooltip|table\.set_border_color|table\.set_border_width|timeframe\.from_seconds|chart\.point\.from_time|line\.set_second_point|math\.round_to_mintick|matrix\.elements_count|request\.currency_rate|ta\.pivot_point_levels|table\.cell_set_height|table\.set_frame_color|table\.set_frame_width|box\.set_border_color|box\.set_border_style|box\.set_border_width|line\.set_first_point|matrix\.is_stochastic|matrix\.is_triangular|table\.cell_set_width|timeframe\.in_seconds|array\.binary_search|box\.set_rightbottom|box\.set_text_halign|box\.set_text_valign|color\.from_gradient|label\.set_textalign|label\.set_textcolor|matrix\.eigenvectors|matrix\.is_symmetric|matrix\.swap_columns|strategy\.cancel_all|table\.cell_set_text|array\.new_linefill|array\.sort_indices|box\.set_text_color|linefill\.get_line1|linefill\.get_line2|linefill\.set_color|matrix\.eigenvalues|matrix\.is_diagonal|matrix\.is_identity|strategy\.close_all|table\.set_position|ticker\.pointfigure|array\.lastindexof|array\.percentrank|array\.standardize|box\.set_text_size|box\.set_text_wrap|label\.set_tooltip|matrix\.remove_col|matrix\.remove_row|request\.dividends|request\.financial|table\.merge_cells|table\.set_bgcolor|ticker\.heikinashi|array\.covariance|array\.new_string|chart\.point\.copy|matrix\.is_binary|matrix\.is_square|matrix\.submatrix|matrix\.swap_rows|matrix\.transpose|request\.earnings|request\.economic|request\.security|ticker\.linebreak|timeframe\.change|array\.new_color|array\.new_float|array\.new_label|array\.new_table|box\.set_bgcolor|box\.set_lefttop|chart\.point\.new|chart\.point\.now|input\.text_area|input\.timeframe|label\.set_color|label\.set_point|label\.set_style|line\.set_extend|linefill\.delete|polyline\.delete|str\.format_time|str\.replace_all|strategy\.cancel|ticker\.standard|alertcondition|array\.includes|array\.new_bool|array\.new_line|array\.variance|box\.get_bottom|box\.set_bottom|box\.set_extend|label\.get_text|label\.set_size|label\.set_text|label\.set_xloc|label\.set_yloc|line\.get_price|line\.set_color|line\.set_style|line\.set_width|math\.todegrees|math\.toradians|matrix\.add_col|matrix\.add_row|matrix\.columns|matrix\.is_zero|matrix\.reshape|matrix\.reverse|request\.quandl|request\.splits|str\.startswith|strategy\.close|strategy\.entry|strategy\.order|syminfo\.prefix|syminfo\.ticker|ta\.correlation|ta\.highestbars|ta\.percentrank|ticker\.inherit|array\.indexof|array\.new_box|array\.new_int|array\.reverse|array\.unshift|box\.get_right|box\.set_right|input\.session|line\.set_xloc|matrix\.concat|matrix\.median|max_bars_back|runtime\.error|str\.substring|strategy\.exit|ta\.crossunder|ta\.lowestbars|ta\.supertrend|ticker\.modify|array\.concat|array\.insert|array\.median|array\.remove|box\.get_left|box\.set_left|box\.set_text|input\.source|input\.string|input\.symbol|label\.delete|label\.set_xy|line\.set_xy1|line\.set_xy2|linefill\.new|map\.contains|matrix\.trace|polyline\.new|request\.seed|str\.contains|str\.endswith|str\.tonumber|str\.tostring|ta\.barssince|ta\.crossover|ta\.pivothigh|ta\.valuewhen|table\.delete|ticker\.renko|array\.clear|array\.every|array\.first|array\.range|array\.shift|array\.slice|array\.stdev|box\.get_top|box\.set_top|input\.color|input\.float|input\.price|label\.get_x|label\.get_y|label\.set_x|label\.set_y|line\.delete|line\.get_x1|line\.get_x2|line\.get_y1|line\.get_y2|line\.set_x1|line\.set_x2|line\.set_y1|line\.set_y2|log\.warning|map\.put_all|math\.random|matrix\.copy|matrix\.diff|matrix\.fill|matrix\.kron|matrix\.mode|matrix\.mult|matrix\.pinv|matrix\.rank|matrix\.rows|matrix\.sort|str\.replace|ta\.pivotlow|ta\.variance|table\.clear|ticker\.kagi|array\.copy|array\.fill|array\.from|array\.join|array\.last|array\.mode|array\.push|array\.size|array\.some|array\.sort|box\.delete|dayofmonth|input\.bool|input\.time|label\.copy|map\.remove|map\.values|math\.floor|math\.log10|math\.round|matrix\.avg|matrix\.col|matrix\.det|matrix\.get|matrix\.inv|matrix\.max|matrix\.min|matrix\.new|matrix\.pow|matrix\.row|matrix\.set|matrix\.sum|plotcandle|str\.format|str\.length|ta\.falling|ta\.highest|table\.cell|ticker\.new|time_close|weekofyear|array\.abs|array\.avg|array\.get|array\.max|array\.min|array\.new|array\.pop|array\.set|array\.sum|color\.new|color\.rgb|dayofweek|indicator|input\.int|label\.new|line\.copy|log\.error|map\.clear|math\.acos|math\.asin|math\.atan|math\.ceil|math\.sign|math\.sqrt|plotarrow|plotshape|str\.lower|str\.match|str\.split|str\.upper|ta\.change|ta\.linreg|ta\.lowest|ta\.median|ta\.rising|table\.new|timestamp|barcolor|box\.copy|line\.new|linefill|log\.info|map\.copy|map\.keys|map\.size|math\.abs|math\.avg|math\.cos|math\.exp|math\.log|math\.max|math\.min|math\.pow|math\.sin|math\.sum|math\.tan|plotchar|strategy|ta\.cross|ta\.range|ta\.stdev|ta\.stoch|bgcolor|box\.new|color\.b|color\.g|color\.r|color\.t|library|map\.get|map\.new|map\.put|plotbar|str\.pos|ta\.alma|ta\.macd|ta\.mode|ta\.swma|ta\.vwap|ta\.vwma|fixnan|minute|second|string|ta\.atr|ta\.bbw|ta\.cci|ta\.cmo|ta\.cog|ta\.cum|ta\.dev|ta\.dmi|ta\.ema|ta\.hma|ta\.kcw|ta\.max|ta\.mfi|ta\.min|ta\.mom|ta\.rma|ta\.roc|ta\.rsi|ta\.sar|ta\.sma|ta\.tsi|ta\.wma|ta\.wpr|alert|color|float|hline|input|label|month|ta\.bb|ta\.kc|ta\.tr|table|bool|fill|hour|line|plot|time|year|box|int|na|nz/,
64899
64899
  keywords: /continue|for\.\.\.in|export|import|method|switch|break|varip|while|else|type|and|for|not|var|as|by|if|in|or|to/,
64900
64900
  tokenizer: {
@@ -66108,7 +66108,7 @@ class jb {
66108
66108
  configurable: !0,
66109
66109
  writable: !0,
66110
66110
  value: void 0
66111
- }), this._editor = n, this._monaco = s, this._originalModel = this._monaco.editor.createModel(o, Re), this._oldDecorations = [], this._init(), this._eventListening();
66111
+ }), this._editor = n, this._monaco = s, this._originalModel = this._monaco.editor.createModel(o, Ee), this._oldDecorations = [], this._init(), this._eventListening();
66112
66112
  }
66113
66113
  _init() {
66114
66114
  var n;
@@ -66116,7 +66116,7 @@ class jb {
66116
66116
  }
66117
66117
  update(n) {
66118
66118
  var s, o;
66119
- if (this._originalModel = this._monaco.editor.createModel(n, Re), n !== ((s = this._editor.getModel()) == null ? void 0 : s.getValue())) {
66119
+ if (this._originalModel = this._monaco.editor.createModel(n, Ee), n !== ((s = this._editor.getModel()) == null ? void 0 : s.getValue())) {
66120
66120
  this._changeEvent();
66121
66121
  return;
66122
66122
  }
@@ -66267,17 +66267,17 @@ class Bb {
66267
66267
  }
66268
66268
  _register() {
66269
66269
  this._monaco.languages.register({
66270
- id: Re
66271
- }), this._monaco.languages.registerCompletionItemProvider(Re, {
66270
+ id: Ee
66271
+ }), this._monaco.languages.registerCompletionItemProvider(Ee, {
66272
66272
  triggerCharacters: [".", "@"],
66273
66273
  provideCompletionItems: Ib,
66274
66274
  resolveCompletionItem: Db
66275
- }), this._monaco.languages.registerHoverProvider(Re, {
66275
+ }), this._monaco.languages.registerHoverProvider(Ee, {
66276
66276
  provideHover: kb
66277
- }), this._monaco.languages.registerSignatureHelpProvider(Re, {
66277
+ }), this._monaco.languages.registerSignatureHelpProvider(Ee, {
66278
66278
  signatureHelpTriggerCharacters: ["(", ","],
66279
66279
  provideSignatureHelp: Ab
66280
- }), this._monaco.languages.registerColorProvider(Re, {
66280
+ }), this._monaco.languages.registerColorProvider(Ee, {
66281
66281
  provideColorPresentations: Cb,
66282
66282
  provideDocumentColors: qb
66283
66283
  }), this._monaco.editor.registerEditorOpener({
@@ -66309,12 +66309,12 @@ class Bb {
66309
66309
  }
66310
66310
  }), this._monaco.editor.registerLinkOpener({
66311
66311
  open: (n) => (this._onLinkOpen && this._onLinkOpen(n.fragment), !0)
66312
- }), this._monaco.languages.registerDefinitionProvider(Re, {
66312
+ }), this._monaco.languages.registerDefinitionProvider(Ee, {
66313
66313
  provideDefinition: zb
66314
66314
  });
66315
66315
  }
66316
66316
  _setOptions() {
66317
- this._monaco.editor.defineTheme("vs-dark", Bi), this._monaco.editor.defineTheme("vs", ji), this._monaco.languages.setMonarchTokensProvider(Re, Mi), this._monaco.languages.setLanguageConfiguration(Re, Fi);
66317
+ this._monaco.editor.defineTheme("vs-dark", Bi), this._monaco.editor.defineTheme("vs", ji), this._monaco.languages.setMonarchTokensProvider(Ee, Mi), this._monaco.languages.setLanguageConfiguration(Ee, Fi);
66318
66318
  }
66319
66319
  _addCommands() {
66320
66320
  this._monaco.editor.addCommand({
@@ -66610,11 +66610,11 @@ function ss(a, n, s) {
66610
66610
  function Zb() {
66611
66611
  return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
66612
66612
  }
66613
- const Pu = new Worker(new URL("" + new URL("assets/scriptsRunWorker-CjCbw7bj.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
66613
+ const Pu = new Worker(new URL("" + new URL("assets/scriptsRunWorker-CTlk4g3L.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
66614
66614
  Pu.onerror = (a) => {
66615
66615
  console.error(a);
66616
66616
  };
66617
- const Eu = Wi(Pu), ex = Wi(new Worker(new URL("" + new URL("assets/parserTccWorker-DwIXERLL.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
66617
+ const Eu = Wi(Pu), ex = Wi(new Worker(new URL("" + new URL("assets/parserTccWorker-CHJsIhut.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
66618
66618
  async function tx(a, n = !1) {
66619
66619
  const { functions: s, types: o, constants: u, variables: c, methods: m } = St;
66620
66620
  return await ex(a, n, { functions: Object.fromEntries(s), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(u), variables: Object.fromEntries(c) });
@@ -66783,7 +66783,7 @@ self.MonacoEnvironment = {
66783
66783
  Li.config({ monaco: K_ });
66784
66784
  let cu = {};
66785
66785
  const nx = (a, n) => {
66786
- const { height: s, width: o, theme: u, options: c, hasDiff: m, readOnly: h, defaultValue: b, onChange: g, onLinkOpen: x, onDeclareConfigChange: T, onCursorPositionChange: E, onActionTrigger: R, onEditorDidMount: M } = a, P = Ee(null);
66786
+ const { height: s, width: o, theme: u, options: c, hasDiff: m, readOnly: h, defaultValue: b, onChange: g, onLinkOpen: x, onDeclareConfigChange: T, onCursorPositionChange: E, onActionTrigger: R, onEditorDidMount: M } = a, P = Pe(null);
66787
66787
  hu(n, () => ({
66788
66788
  setOriginalScript(A) {
66789
66789
  var D;
@@ -66830,29 +66830,29 @@ const nx = (a, n) => {
66830
66830
  }
66831
66831
  const Q = Us(async (A) => {
66832
66832
  var lt;
66833
- const D = Date.now(), { errors: F, functions: U, methods: ie, types: ae, variables: oe, overloadsFuncs: gt, preParserCode: bt } = await tx(A), Le = new Map(Object.entries(U)), Me = new Map(Object.entries(ie)), G = new Map(Object.entries(ae)), fe = new Map(Object.entries(oe));
66833
+ const D = Date.now(), { errors: F, functions: U, methods: ie, types: ae, variables: oe, overloadsFuncs: gt, preParserCode: bt } = await tx(A, !0), Re = new Map(Object.entries(U)), Le = new Map(Object.entries(ie)), G = new Map(Object.entries(ae)), fe = new Map(Object.entries(oe));
66834
66834
  ns.setUserDefined({
66835
- functions: Le,
66836
- methods: Me,
66835
+ functions: Re,
66836
+ methods: Le,
66837
66837
  types: G,
66838
66838
  variables: fe
66839
- }, gt), Ft.setUserDefind(Le, G, fe, Me);
66840
- const Se = F.map((Pe) => ({
66841
- ...Pe,
66842
- severity: Pe.type || V_.Error
66839
+ }, gt), Ft.setUserDefind(Re, G, fe, Le);
66840
+ const Se = F.map((Me) => ({
66841
+ ...Me,
66842
+ severity: Me.type || V_.Error
66843
66843
  }));
66844
66844
  if (h)
66845
66845
  return;
66846
66846
  try {
66847
66847
  if (!F.length && bt) {
66848
- const Pe = await rx(bt, {
66848
+ const Me = await rx(bt, {
66849
66849
  isPreParser: !0
66850
66850
  });
66851
- console.log(Pe), Ac.isEqual(Pe, cu) || (cu = Pe, T && T(Pe));
66851
+ Ac.isEqual(Me, cu) || (cu = Me, T && T(Me));
66852
66852
  }
66853
- } catch (Pe) {
66854
- console.log(Pe, "==================error- Run TccScript Server"), F.push({
66855
- message: `Runtime Error: ${Pe.message}`,
66853
+ } catch (Me) {
66854
+ console.log(Me, "==================error- Run TccScript Server"), F.push({
66855
+ message: `Runtime Error: ${Me.message}`,
66856
66856
  startLineNumber: 0,
66857
66857
  endLineNumber: 0,
66858
66858
  startColumn: 0,
@@ -66871,7 +66871,7 @@ const nx = (a, n) => {
66871
66871
  }
66872
66872
  (D = P.current) == null || D.setModelMarkers([]), A !== void 0 && (g && g(A), $(A));
66873
66873
  }
66874
- return O.jsx(ib, { height: s, width: o || "100%", defaultLanguage: Re, defaultValue: b || `indicator("我的脚本")
66874
+ return O.jsx(ib, { height: s, width: o || "100%", defaultLanguage: Ee, defaultValue: b || `indicator("我的脚本")
66875
66875
  plot(close)
66876
66876
  `, theme: u || "vs-dark", className: `tvue-script ${u || "vs-dark"}`, options: {
66877
66877
  colorDecorators: !0,
@@ -66891,14 +66891,14 @@ plot(close)
66891
66891
  }, Nx = yu(nx), Ox = (a) => {
66892
66892
  const { theme: n, modified: s, original: o, height: u, width: c, renderSideBySide: m = !0 } = a, h = Us((b, g) => {
66893
66893
  g.languages.register({
66894
- id: Re
66895
- }), g.editor.defineTheme("vs-dark", Bi), g.editor.defineTheme("vs", ji), g.languages.setMonarchTokensProvider(Re, Mi), g.languages.setLanguageConfiguration(Re, Fi);
66894
+ id: Ee
66895
+ }), g.editor.defineTheme("vs-dark", Bi), g.editor.defineTheme("vs", ji), g.languages.setMonarchTokensProvider(Ee, Mi), g.languages.setLanguageConfiguration(Ee, Fi);
66896
66896
  }, []);
66897
66897
  return O.jsx(tb, { height: u || "90vh", width: c || "100%", theme: n || "vs-dark", options: {
66898
66898
  readOnly: !0,
66899
66899
  renderSideBySide: m,
66900
66900
  scrollBeyondLastLine: !1
66901
- }, language: Re, modified: s, original: o, onMount: h });
66901
+ }, language: Ee, modified: s, original: o, onMount: h });
66902
66902
  };
66903
66903
  var uu;
66904
66904
  (function(a) {
@@ -67136,7 +67136,7 @@ async function Ix(a, n = 0) {
67136
67136
  desc: Q && Or(Q)
67137
67137
  };
67138
67138
  })), m && (M.desc = m.map((P) => Or(P))), h && (M.originalExample = h.join(`
67139
- `), M.examples = await Ws.colorize(M.originalExample, Re, {
67139
+ `), M.examples = await Ws.colorize(M.originalExample, Ee, {
67140
67140
  tabSize: 4
67141
67141
  })), T) {
67142
67142
  M.detailedDesc = [];
@@ -67144,7 +67144,7 @@ async function Ix(a, n = 0) {
67144
67144
  const { desc: X, examples: Q } = P;
67145
67145
  let $ = X.map((D) => Or(D)), L, A;
67146
67146
  Q && (A = Q.join(`
67147
- `), L = await Ws.colorize(A, Re, {
67147
+ `), L = await Ws.colorize(A, Ee, {
67148
67148
  tabSize: 4
67149
67149
  })), M.detailedDesc.push({
67150
67150
  desc: $,
@@ -67364,14 +67364,14 @@ const Ax = (a) => {
67364
67364
  } }, A))] }), (c == null ? void 0 : c.seeAlso) && O.jsxs($t, { children: [O.jsx("div", { className: "manual-content-sub-title", children: "see Also" }), O.jsx("div", { className: "manual-content-see_also", children: c.seeAlso.map((L, A) => O.jsx("a", { className: "manual-content-see_also-tag", "data-name": L == null ? void 0 : L.name, href: L == null ? void 0 : L.link, children: L == null ? void 0 : L.name }, A)) })] })] }) });
67365
67365
  };
67366
67366
  et.register({
67367
- id: Re
67367
+ id: Ee
67368
67368
  });
67369
67369
  Ws.defineTheme("vs-dark", Bi);
67370
67370
  Ws.defineTheme("vs", ji);
67371
- et.setMonarchTokensProvider(Re, Mi);
67372
- et.setLanguageConfiguration(Re, Fi);
67371
+ et.setMonarchTokensProvider(Ee, Mi);
67372
+ et.setLanguageConfiguration(Ee, Fi);
67373
67373
  const Px = ({ theme: a = "vs-dark", currentKey: n, currentIndex: s = 0 }) => {
67374
- const [o, u] = ot(Ms[0]), [c, m] = ot(null), [h, b] = ot(0), [g, x] = ot(""), [T, E] = ot("var_bar_index"), R = Ee(null), M = Ee(null), P = (D) => {
67374
+ const [o, u] = ot(Ms[0]), [c, m] = ot(null), [h, b] = ot(0), [g, x] = ot(""), [T, E] = ot("var_bar_index"), R = Pe(null), M = Pe(null), P = (D) => {
67375
67375
  D.key === (o == null ? void 0 : o.key) && !(o != null && o.isHidden) ? u({ ...D, isHidden: !0 }) : u(D);
67376
67376
  };
67377
67377
  Ye(() => {