@guihz/trading-vue-editor-tes 0.1.34 → 0.1.36
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/lib/assets/{parserTccWorker-CNzNddjG.js → parserTccWorker-DXLOsaP2.js} +3898 -3894
- package/lib/assets/{scriptsRunWorker-CO6t0Tv4.js → scriptsRunWorker-M0obvDmK.js} +7 -7
- package/lib/components/editor/tokenizer/config.d.ts +3 -1
- package/lib/components/editor/utils/importLibrary.d.ts +1 -1
- package/lib/components/editor/utils/parserTccWorker.d.ts +2 -2
- package/lib/components/editor/v6/parseScript/visitorParser.d.ts +1 -1
- package/lib/components/editor/v6/parserTccWorker.d.ts +2 -2
- package/lib/i18n/local/en.d.ts +2 -0
- package/lib/i18n/local/zh_cn.d.ts +2 -0
- package/lib/trading-vue-editor.es.packages.js +683 -650
- package/lib/trading-vue-editor.umd.packages.mjs +16 -16
- package/package.json +1 -1
@@ -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 50%,#2962ff 0 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}.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-scrollable-element{box-shadow:0 2px 4px #0003!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;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;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;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;user-select:none}.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;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}.manual-left-bottom{padding:10px 0 10px 20px}.vs-dark.manual-page-warpper{color:#d1d4dc}.manual-page-warpper{display:flex;height:100%;text-align:left;color:#131722;opacity:0}.show-warpper{opacity:1}.manual-page-title{box-sizing:border-box;color:#131722;font-size:24px;font-weight:700;line-height:32px;margin:0;padding:40px 40px 0}.vs-dark .manual-page-title{color:#d1d4dc}.manual-page-header{color:#131722;font-size:20px;font-weight:700;letter-spacing:.6px;line-height:28px;margin:0;padding:40px;text-transform:capitalize}.vs-dark .manual-page-header{color:#d1d4dc}.vs-dark .manual-page-left{border-right-color:#434651}.manual-page-left{border-right:none;box-sizing:border-box;display:flex;flex:0 0 240px;flex-direction:column;height:100%;margin-right:20px;padding-bottom:10px}.manual-page-group-container{height:0;flex:1;overflow:hidden}.vs-dark .manual-page-right{background:#141822}.manual-page-right{flex:1;width:0;user-select:text;display:flex;flex-direction:column;background:#fff;border-radius:6px}.manual-page-group-search-list,.manual-page-group-list{background:#fff;border-radius:6px}.vs-dark .manual-page-group-search-list,.vs-dark .manual-page-group-list{background:#141822}.manual-page-scroll{max-height:100%;overflow-y:auto;overflow-x:hidden}.vs-dark .manual-page-search{border-bottom-color:#434651;background:#141822}.manual-page-search{display:flex;align-items:center;flex:0 0 54px;padding-left:16.5px;margin-bottom:20px;background:#fff;border-radius:6px}.manual-page-search-icon{height:18px;font-size:14px;opacity:.8;pointer-events:none;transition:opacity .35s ease}.manual-page-search-icon svg{fill:#a3a6af}.manual-page-search-input{background-color:transparent;color:inherit;height:29px;width:146px;margin-left:5px;font-size:16px;border:none;outline:none}.vs-dark .manual-page-search-clear svg{fill:#d1d4dc}.manual-page-search-clear svg{fill:#434651}.manual-page-search-clear{cursor:pointer;opacity:.5;text-align:center;transition:opacity .35s ease;width:36px;font-size:14px}.manual-page-search-clear:hover{opacity:1;transition-duration:60ms}.manual-page-group-list{display:flex;flex:1 1 100%;flex-direction:column;overflow-y:auto;text-align:left}.manual-page-group-search-list{flex:1 1 100%;overflow-y:auto;text-align:left}.vs-dark .manual-page-content-separator{background-color:#363a45}.manual-page-content-separator{background-color:#e0e3eb;height:1px}.vs-dark .manual-page-group-title{color:#d1d4dc;border-top-color:#434651}.manual-page-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-top:1px solid #e0e3eb;user-select:none}.manual-page-group-title:nth-child(1){border-top:none}.vs-dark .manual-page-group-title.active{background-color:#2a2e39;border-top-color:#2a2e39;color:#d1d4dc}.manual-page-group-title.active{background-color:#e3effd;border-top-color:#e3effd;color:#131722}.vs-dark .manual-page-group-body{border-bottom-color:#434651}.manual-page-group-body{display:block;flex:1 1 auto;pointer-events:auto;user-select:text;overflow-x:hidden;overflow-y:auto;transform:translateZ(0)}.manual-page-group-body.hide,.manual-page-search-clear.hide,.manual-page-group-list.hide,.manual-page-group-search-list.hide{display:none}.vs-dark .manual-page-group-body-item{color:#b2b5be}.manual-page-group-body-item{box-sizing:border-box;color:#5d606b;cursor:default;display:block;font-size:14px;letter-spacing:.3px;line-height:24px;padding:6px 8px 6px 12px;position:relative;transition:none;word-break:break-all;text-decoration:none}.manual-page-group-body-item-selected:before{background-color:#2962ff;bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:4px}.manual-page-content-wrapper{box-sizing:border-box;padding:30px 40px 25px;position:relative}.manual-page-content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2px}.vs-dark .manual-page-content-header-overloads{background-color:#2a2e39}.manual-page-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-page-content-header-title{color:#d1d4dc}.manual-page-content-header-title{font-size:18px;line-height:26px;color:#131722;font-weight:700;display:inline-block;margin:0}.vs-dark .manual-page-content-btn{color:#d1d4dc}.manual-page-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}.reference-item-selected .manual-page-content-header-title{color:#2962ff}.vs-dark .reference-item-selected .manual-page-content-header-title{color:#5b9cf6}.vs-dark .manual-page-current-item-bg{background-color:#132042}.manual-page-current-item-bg{background-color:#bbd9fb}.vs-dark .manual-page-group-body-item-selected{fill:#2962ff;color:#2962ff;background-color:#141822}.manual-page-group-body-item-selected{color:#2962ff;fill:#2962ff;background-color:#fff}.vs-dark .manual-page-content-btn:hover{background-color:#2a2e39}.manual-page-content-btn:hover{background-color:#f0f3fa}.vs-dark .manual-page-content-args-label{color:#d1d4dc}.manual-page-content-args-label{color:#131722;font-weight:700}.vs-dark .manual-page-content-syntax{background-color:#2a2e39;color:#d1d4dc}.manual-page-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;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-page-content-text{color:#d1d4dc}.manual-page-content-text{font-size:14px;line-height:21px;color:#131722;margin-top:8px}.vs-dark .manual-page-content-text-link{fill:#5b9cf6;color:#5b9cf6}.vs-dark .manual-page-content-text-link:hover{fill:#3179f5;color:#3179f5}.manual-page-content-text-link{color:#2962ff;fill:#2962ff}.manual-page-content-text-link:hover{color:#1e53e5;fill:#1e53e5}.vs-dark .manual-page-content-text code{background-color:#2a2e39}.manual-page-content-text code{background-color:#e0e3eb;border-radius:3px;padding:0 .4em}.vs-dark .manual-page-content-sub-title{color:#868993}.manual-page-content-sub-title{color:#6a6d78;font-size:11px;letter-spacing:.4px;line-height:16px;margin-top:24px;text-transform:uppercase}.manual-page-content-example-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px}.vs-dark .manual-page-content-example-copy{color:#868993}.manual-page-content-example-copy{color:#6a6d78}.vs-dark .manual-page-content-example{background-color:#2a2e39}.manual-page-content-example{background-color:#e3effd;border-radius:8px;box-shadow:none;margin-top:0;overflow:hidden}.manual-page-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-page-content-see_also{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;user-select:none}.vs-dark .manual-page-content-see_also-tag{background-color:#1e222d;color:#d1d4dc}.vs-dark .manual-page-content-see_also-tag:hover{background-color:#363a45}.manual-page-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-page-content-see_also-tag:hover{background-color:#f0f3fa}.manual-page-scroll::-webkit-scrollbar{height:5px;width:5px}.manual-page-scroll-none::-webkit-scrollbar{height:0px;width:0px}.manual-page-scroll::-webkit-scrollbar-corner{display:none}.vs-dark .manual-page-scroll::-webkit-scrollbar-thumb,.vs-dark code::-webkit-scrollbar-thumb{background-color:#363a45}.manual-page-scroll::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#9598a1;border:1px solid #0000;border-radius:3px}.manual-page-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}.vs-dark .manual-page-left .manual-left-bottom{background:#141822}.manual-page-left .manual-left-bottom{padding:10px 0 10px 20px;background:#fff;border-radius:6px;margin-top:20px}.version-switcher-select-box{position:relative;width:fit-content}.vs-dark .version-switcher-select{border:1px solid #575757}.version-switcher-select{outline:none;-webkit-appearance:none;appearance:none;background-color:initial;border:1px solid #ebebeb;border-radius:6px;color:inherit;cursor:pointer;padding:5px 30px 5px 10px;height:32px;text-overflow:ellipsis}.vs-dark .version-switcher-select:hover{border-color:#707070}.version-switcher-select:hover{border-color:#a8a8a8}.vs-dark .reference-icon-caret svg{color:#707070}.reference-icon-caret svg{color:#8c8c8c;font-size:16px;inset-inline-end:4px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.vs-dark .version-switcher-option{background-color:#2e2e2e;color:#ebebeb}.version-switcher-option{background-color:#f2f2f2;color:#2e2e2e}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
2
|
-
import hn, { memo as fa, useState as
|
2
|
+
import hn, { memo as fa, useState as Pe, useRef as Se, useCallback as En, useEffect as Ee, forwardRef as cf, useImperativeHandle as ff, createContext as Jv, useContext as Zv, useMemo as Xv, Fragment as Ue } from "react";
|
3
3
|
import { languages as Qe, Position as Qv, editor as In, MarkerSeverity as e_ } from "monaco-editor";
|
4
4
|
import t_ from "react-dom";
|
5
5
|
var Gu;
|
@@ -10,10 +10,10 @@ var vt;
|
|
10
10
|
(function(i) {
|
11
11
|
i.Type = "type", i.Returns = "Returns", i.Syntax = "Syntax", i.Remarks = "Remarks", i.Fields = "Fields", i.Description = "Description", i.Example = "Example", i.EnumMembers = "Enum members";
|
12
12
|
})(vt || (vt = {}));
|
13
|
-
var
|
13
|
+
var zt;
|
14
14
|
(function(i) {
|
15
|
-
i.Save = "save", i.Find = "find", i.TriggerConsole = "trigger.console", i.RunScript = "runScript", i.Open = "open", i.NewWindow = "newWindow", i.NewTab = "newTab";
|
16
|
-
})(
|
15
|
+
i.Save = "save", i.Find = "find", i.TriggerConsole = "trigger.console", i.RunScript = "runScript", i.Open = "open", i.NewWindow = "newWindow", i.NewTab = "newTab", i.NewIndicator = "newIndicator", i.NewStrategy = "newStrategy";
|
16
|
+
})(zt || (zt = {}));
|
17
17
|
var Gr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
18
18
|
function n_(i) {
|
19
19
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
@@ -69,16 +69,16 @@ function i_() {
|
|
69
69
|
var W = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
70
70
|
function I(y) {
|
71
71
|
{
|
72
|
-
for (var j = arguments.length,
|
73
|
-
|
74
|
-
Z("error", y,
|
72
|
+
for (var j = arguments.length, z = new Array(j > 1 ? j - 1 : 0), ae = 1; ae < j; ae++)
|
73
|
+
z[ae - 1] = arguments[ae];
|
74
|
+
Z("error", y, z);
|
75
75
|
}
|
76
76
|
}
|
77
|
-
function Z(y, j,
|
77
|
+
function Z(y, j, z) {
|
78
78
|
{
|
79
79
|
var ae = W.ReactDebugCurrentFrame, Oe = ae.getStackAddendum();
|
80
|
-
Oe !== "" && (j += "%s",
|
81
|
-
var ke =
|
80
|
+
Oe !== "" && (j += "%s", z = z.concat([Oe]));
|
81
|
+
var ke = z.map(function(xe) {
|
82
82
|
return String(xe);
|
83
83
|
});
|
84
84
|
ke.unshift("Warning: " + j), Function.prototype.apply.call(console[y], console, ke);
|
@@ -93,17 +93,17 @@ function i_() {
|
|
93
93
|
// with.
|
94
94
|
y.$$typeof === X || y.getModuleId !== void 0));
|
95
95
|
}
|
96
|
-
function ee(y, j,
|
96
|
+
function ee(y, j, z) {
|
97
97
|
var ae = y.displayName;
|
98
98
|
if (ae)
|
99
99
|
return ae;
|
100
100
|
var Oe = j.displayName || j.name || "";
|
101
|
-
return Oe !== "" ?
|
101
|
+
return Oe !== "" ? z + "(" + Oe + ")" : z;
|
102
102
|
}
|
103
103
|
function ye(y) {
|
104
104
|
return y.displayName || "Context";
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function K(y) {
|
107
107
|
if (y == null)
|
108
108
|
return null;
|
109
109
|
if (typeof y.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof y == "function")
|
@@ -130,17 +130,17 @@ function i_() {
|
|
130
130
|
var j = y;
|
131
131
|
return ye(j) + ".Consumer";
|
132
132
|
case c:
|
133
|
-
var
|
134
|
-
return ye(
|
133
|
+
var z = y;
|
134
|
+
return ye(z._context) + ".Provider";
|
135
135
|
case h:
|
136
136
|
return ee(y, y.render, "ForwardRef");
|
137
137
|
case b:
|
138
138
|
var ae = y.displayName || null;
|
139
|
-
return ae !== null ? ae :
|
139
|
+
return ae !== null ? ae : K(y.type) || "Memo";
|
140
140
|
case x: {
|
141
141
|
var Oe = y, ke = Oe._payload, xe = Oe._init;
|
142
142
|
try {
|
143
|
-
return
|
143
|
+
return K(xe(ke));
|
144
144
|
} catch {
|
145
145
|
return null;
|
146
146
|
}
|
@@ -211,7 +211,7 @@ function i_() {
|
|
211
211
|
}
|
212
212
|
}
|
213
213
|
var Ve = W.ReactCurrentDispatcher, _t;
|
214
|
-
function bt(y, j,
|
214
|
+
function bt(y, j, z) {
|
215
215
|
{
|
216
216
|
if (_t === void 0)
|
217
217
|
try {
|
@@ -224,21 +224,21 @@ function i_() {
|
|
224
224
|
` + _t + y;
|
225
225
|
}
|
226
226
|
}
|
227
|
-
var
|
227
|
+
var en = !1, Gn;
|
228
228
|
{
|
229
229
|
var qn = typeof WeakMap == "function" ? WeakMap : Map;
|
230
230
|
Gn = new qn();
|
231
231
|
}
|
232
232
|
function Tn(y, j) {
|
233
|
-
if (!y ||
|
233
|
+
if (!y || en)
|
234
234
|
return "";
|
235
235
|
{
|
236
|
-
var
|
237
|
-
if (
|
238
|
-
return
|
236
|
+
var z = Gn.get(y);
|
237
|
+
if (z !== void 0)
|
238
|
+
return z;
|
239
239
|
}
|
240
240
|
var ae;
|
241
|
-
|
241
|
+
en = !0;
|
242
242
|
var Oe = Error.prepareStackTrace;
|
243
243
|
Error.prepareStackTrace = void 0;
|
244
244
|
var ke;
|
@@ -295,19 +295,19 @@ function i_() {
|
|
295
295
|
}
|
296
296
|
}
|
297
297
|
} finally {
|
298
|
-
|
298
|
+
en = !1, Ve.current = ke, et(), Error.prepareStackTrace = Oe;
|
299
299
|
}
|
300
300
|
var Bt = y ? y.displayName || y.name : "", mi = Bt ? bt(Bt) : "";
|
301
301
|
return typeof y == "function" && Gn.set(y, mi), mi;
|
302
302
|
}
|
303
|
-
function ai(y, j,
|
303
|
+
function ai(y, j, z) {
|
304
304
|
return Tn(y, !1);
|
305
305
|
}
|
306
306
|
function yt(y) {
|
307
307
|
var j = y.prototype;
|
308
308
|
return !!(j && j.isReactComponent);
|
309
309
|
}
|
310
|
-
function
|
310
|
+
function qt(y, j, z) {
|
311
311
|
if (y == null)
|
312
312
|
return "";
|
313
313
|
if (typeof y == "function")
|
@@ -325,11 +325,11 @@ function i_() {
|
|
325
325
|
case h:
|
326
326
|
return ai(y.render);
|
327
327
|
case b:
|
328
|
-
return
|
328
|
+
return qt(y.type, j, z);
|
329
329
|
case x: {
|
330
330
|
var ae = y, Oe = ae._payload, ke = ae._init;
|
331
331
|
try {
|
332
|
-
return
|
332
|
+
return qt(ke(Oe), j, z);
|
333
333
|
} catch {
|
334
334
|
}
|
335
335
|
}
|
@@ -339,12 +339,12 @@ function i_() {
|
|
339
339
|
var Yn = Object.prototype.hasOwnProperty, kt = {}, yr = W.ReactDebugCurrentFrame;
|
340
340
|
function Vn(y) {
|
341
341
|
if (y) {
|
342
|
-
var j = y._owner,
|
343
|
-
yr.setExtraStackFrame(
|
342
|
+
var j = y._owner, z = qt(y.type, y._source, j ? j.type : null);
|
343
|
+
yr.setExtraStackFrame(z);
|
344
344
|
} else
|
345
345
|
yr.setExtraStackFrame(null);
|
346
346
|
}
|
347
|
-
function Nn(y, j,
|
347
|
+
function Nn(y, j, z, ae, Oe) {
|
348
348
|
{
|
349
349
|
var ke = Function.call.bind(Yn);
|
350
350
|
for (var xe in y)
|
@@ -352,25 +352,25 @@ function i_() {
|
|
352
352
|
var _e = void 0;
|
353
353
|
try {
|
354
354
|
if (typeof y[xe] != "function") {
|
355
|
-
var tt = Error((ae || "React class") + ": " +
|
355
|
+
var tt = Error((ae || "React class") + ": " + z + " type `" + xe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof y[xe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
356
356
|
throw tt.name = "Invariant Violation", tt;
|
357
357
|
}
|
358
|
-
_e = y[xe](j, xe, ae,
|
358
|
+
_e = y[xe](j, xe, ae, z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
359
359
|
} catch (je) {
|
360
360
|
_e = je;
|
361
361
|
}
|
362
|
-
_e && !(_e instanceof Error) && (Vn(Oe), I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ae || "React class",
|
362
|
+
_e && !(_e instanceof Error) && (Vn(Oe), I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ae || "React class", z, xe, typeof _e), Vn(null)), _e instanceof Error && !(_e.message in kt) && (kt[_e.message] = !0, Vn(Oe), I("Failed %s type: %s", z, _e.message), Vn(null));
|
363
363
|
}
|
364
364
|
}
|
365
365
|
}
|
366
366
|
var xt = Array.isArray;
|
367
|
-
function
|
367
|
+
function tn(y) {
|
368
368
|
return xt(y);
|
369
369
|
}
|
370
370
|
function Jn(y) {
|
371
371
|
{
|
372
|
-
var j = typeof Symbol == "function" && Symbol.toStringTag,
|
373
|
-
return
|
372
|
+
var j = typeof Symbol == "function" && Symbol.toStringTag, z = j && y[Symbol.toStringTag] || y.constructor.name || "Object";
|
373
|
+
return z;
|
374
374
|
}
|
375
375
|
}
|
376
376
|
function Ao(y) {
|
@@ -412,40 +412,40 @@ function i_() {
|
|
412
412
|
}
|
413
413
|
function Cr(y, j) {
|
414
414
|
if (typeof y.ref == "string" && jt.current && j && jt.current.stateNode !== j) {
|
415
|
-
var
|
416
|
-
Rn[
|
415
|
+
var z = K(jt.current.type);
|
416
|
+
Rn[z] || (I('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', K(jt.current.type), y.ref), Rn[z] = !0);
|
417
417
|
}
|
418
418
|
}
|
419
419
|
function Sr(y, j) {
|
420
420
|
{
|
421
|
-
var
|
421
|
+
var z = function() {
|
422
422
|
Zn || (Zn = !0, I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", j));
|
423
423
|
};
|
424
|
-
|
425
|
-
get:
|
424
|
+
z.isReactWarning = !0, Object.defineProperty(y, "key", {
|
425
|
+
get: z,
|
426
426
|
configurable: !0
|
427
427
|
});
|
428
428
|
}
|
429
429
|
}
|
430
430
|
function Or(y, j) {
|
431
431
|
{
|
432
|
-
var
|
432
|
+
var z = function() {
|
433
433
|
Xn || (Xn = !0, I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", j));
|
434
434
|
};
|
435
|
-
|
436
|
-
get:
|
435
|
+
z.isReactWarning = !0, Object.defineProperty(y, "ref", {
|
436
|
+
get: z,
|
437
437
|
configurable: !0
|
438
438
|
});
|
439
439
|
}
|
440
440
|
}
|
441
|
-
var Er = function(y, j,
|
441
|
+
var Er = function(y, j, z, ae, Oe, ke, xe) {
|
442
442
|
var _e = {
|
443
443
|
// This tag allows us to uniquely identify this as a React Element
|
444
444
|
$$typeof: n,
|
445
445
|
// Built-in properties that belong on the element
|
446
446
|
type: y,
|
447
447
|
key: j,
|
448
|
-
ref:
|
448
|
+
ref: z,
|
449
449
|
props: xe,
|
450
450
|
// Record the component responsible for creating this element.
|
451
451
|
_owner: ke
|
@@ -467,10 +467,10 @@ function i_() {
|
|
467
467
|
value: Oe
|
468
468
|
}), Object.freeze && (Object.freeze(_e.props), Object.freeze(_e)), _e;
|
469
469
|
};
|
470
|
-
function ko(y, j,
|
470
|
+
function ko(y, j, z, ae, Oe) {
|
471
471
|
{
|
472
472
|
var ke, xe = {}, _e = null, tt = null;
|
473
|
-
|
473
|
+
z !== void 0 && (li(z), _e = "" + z), wr(j) && (li(j.key), _e = "" + j.key), xr(j) && (tt = j.ref, Cr(j, Oe));
|
474
474
|
for (ke in j)
|
475
475
|
Yn.call(j, ke) && !pn.hasOwnProperty(ke) && (xe[ke] = j[ke]);
|
476
476
|
if (y && y.defaultProps) {
|
@@ -486,10 +486,10 @@ function i_() {
|
|
486
486
|
}
|
487
487
|
}
|
488
488
|
var Ir = W.ReactCurrentOwner, ui = W.ReactDebugCurrentFrame;
|
489
|
-
function
|
489
|
+
function nn(y) {
|
490
490
|
if (y) {
|
491
|
-
var j = y._owner,
|
492
|
-
ui.setExtraStackFrame(
|
491
|
+
var j = y._owner, z = qt(y.type, y._source, j ? j.type : null);
|
492
|
+
ui.setExtraStackFrame(z);
|
493
493
|
} else
|
494
494
|
ui.setExtraStackFrame(null);
|
495
495
|
}
|
@@ -501,7 +501,7 @@ function i_() {
|
|
501
501
|
function ci() {
|
502
502
|
{
|
503
503
|
if (Ir.current) {
|
504
|
-
var y =
|
504
|
+
var y = K(Ir.current.type);
|
505
505
|
if (y)
|
506
506
|
return `
|
507
507
|
|
@@ -513,10 +513,10 @@ Check the render method of \`` + y + "`.";
|
|
513
513
|
function Lo(y) {
|
514
514
|
{
|
515
515
|
if (y !== void 0) {
|
516
|
-
var j = y.fileName.replace(/^.*[\\\/]/, ""),
|
516
|
+
var j = y.fileName.replace(/^.*[\\\/]/, ""), z = y.lineNumber;
|
517
517
|
return `
|
518
518
|
|
519
|
-
Check your code at ` + j + ":" +
|
519
|
+
Check your code at ` + j + ":" + z + ".";
|
520
520
|
}
|
521
521
|
return "";
|
522
522
|
}
|
@@ -526,10 +526,10 @@ Check your code at ` + j + ":" + K + ".";
|
|
526
526
|
{
|
527
527
|
var j = ci();
|
528
528
|
if (!j) {
|
529
|
-
var
|
530
|
-
|
529
|
+
var z = typeof y == "string" ? y : y.displayName || y.name;
|
530
|
+
z && (j = `
|
531
531
|
|
532
|
-
Check the top-level render call using <` +
|
532
|
+
Check the top-level render call using <` + z + ">.");
|
533
533
|
}
|
534
534
|
return j;
|
535
535
|
}
|
@@ -539,21 +539,21 @@ Check the top-level render call using <` + K + ">.");
|
|
539
539
|
if (!y._store || y._store.validated || y.key != null)
|
540
540
|
return;
|
541
541
|
y._store.validated = !0;
|
542
|
-
var
|
543
|
-
if (fi[
|
542
|
+
var z = di(j);
|
543
|
+
if (fi[z])
|
544
544
|
return;
|
545
|
-
fi[
|
545
|
+
fi[z] = !0;
|
546
546
|
var ae = "";
|
547
|
-
y && y._owner && y._owner !== Ir.current && (ae = " It was passed a child from " +
|
547
|
+
y && y._owner && y._owner !== Ir.current && (ae = " It was passed a child from " + K(y._owner.type) + "."), nn(y), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', z, ae), nn(null);
|
548
548
|
}
|
549
549
|
}
|
550
550
|
function gi(y, j) {
|
551
551
|
{
|
552
552
|
if (typeof y != "object")
|
553
553
|
return;
|
554
|
-
if (
|
555
|
-
for (var
|
556
|
-
var ae = y[
|
554
|
+
if (tn(y))
|
555
|
+
for (var z = 0; z < y.length; z++) {
|
556
|
+
var ae = y[z];
|
557
557
|
Ar(ae) && hi(ae, j);
|
558
558
|
}
|
559
559
|
else if (Ar(y))
|
@@ -571,21 +571,21 @@ Check the top-level render call using <` + K + ">.");
|
|
571
571
|
var j = y.type;
|
572
572
|
if (j == null || typeof j == "string")
|
573
573
|
return;
|
574
|
-
var
|
574
|
+
var z;
|
575
575
|
if (typeof j == "function")
|
576
|
-
|
576
|
+
z = j.propTypes;
|
577
577
|
else if (typeof j == "object" && (j.$$typeof === h || // Note: Memo only checks outer props here.
|
578
578
|
// Inner props are checked in the reconciler.
|
579
579
|
j.$$typeof === b))
|
580
|
-
|
580
|
+
z = j.propTypes;
|
581
581
|
else
|
582
582
|
return;
|
583
|
-
if (
|
584
|
-
var ae =
|
585
|
-
Nn(
|
583
|
+
if (z) {
|
584
|
+
var ae = K(j);
|
585
|
+
Nn(z, y.props, "prop", ae, y);
|
586
586
|
} else if (j.PropTypes !== void 0 && !Qn) {
|
587
587
|
Qn = !0;
|
588
|
-
var Oe =
|
588
|
+
var Oe = K(j);
|
589
589
|
I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Oe || "Unknown");
|
590
590
|
}
|
591
591
|
typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -593,17 +593,17 @@ Check the top-level render call using <` + K + ">.");
|
|
593
593
|
}
|
594
594
|
function kr(y) {
|
595
595
|
{
|
596
|
-
for (var j = Object.keys(y.props),
|
597
|
-
var ae = j[
|
596
|
+
for (var j = Object.keys(y.props), z = 0; z < j.length; z++) {
|
597
|
+
var ae = j[z];
|
598
598
|
if (ae !== "children" && ae !== "key") {
|
599
|
-
|
599
|
+
nn(y), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ae), nn(null);
|
600
600
|
break;
|
601
601
|
}
|
602
602
|
}
|
603
|
-
y.ref !== null && (
|
603
|
+
y.ref !== null && (nn(y), I("Invalid attribute `ref` supplied to `React.Fragment`."), nn(null));
|
604
604
|
}
|
605
605
|
}
|
606
|
-
function pi(y, j,
|
606
|
+
function pi(y, j, z, ae, Oe, ke) {
|
607
607
|
{
|
608
608
|
var xe = J(y);
|
609
609
|
if (!xe) {
|
@@ -612,16 +612,16 @@ Check the top-level render call using <` + K + ">.");
|
|
612
612
|
var tt = Lo(Oe);
|
613
613
|
tt ? _e += tt : _e += ci();
|
614
614
|
var je;
|
615
|
-
y === null ? je = "null" :
|
615
|
+
y === null ? je = "null" : tn(y) ? je = "array" : y !== void 0 && y.$$typeof === n ? (je = "<" + (K(y.type) || "Unknown") + " />", _e = " Did you accidentally export a JSX literal instead of a component?") : je = typeof y, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", je, _e);
|
616
616
|
}
|
617
|
-
var He = ko(y, j,
|
617
|
+
var He = ko(y, j, z, Oe, ke);
|
618
618
|
if (He == null)
|
619
619
|
return He;
|
620
620
|
if (xe) {
|
621
621
|
var ft = j.children;
|
622
622
|
if (ft !== void 0)
|
623
623
|
if (ae)
|
624
|
-
if (
|
624
|
+
if (tn(ft)) {
|
625
625
|
for (var Bt = 0; Bt < ft.length; Bt++)
|
626
626
|
gi(ft[Bt], y);
|
627
627
|
Object.freeze && Object.freeze(ft);
|
@@ -633,11 +633,11 @@ Check the top-level render call using <` + K + ">.");
|
|
633
633
|
return y === s ? kr(He) : To(He), He;
|
634
634
|
}
|
635
635
|
}
|
636
|
-
function Lr(y, j,
|
637
|
-
return pi(y, j,
|
636
|
+
function Lr(y, j, z) {
|
637
|
+
return pi(y, j, z, !0);
|
638
638
|
}
|
639
|
-
function No(y, j,
|
640
|
-
return pi(y, j,
|
639
|
+
function No(y, j, z) {
|
640
|
+
return pi(y, j, z, !1);
|
641
641
|
}
|
642
642
|
var Ro = No, Po = Lr;
|
643
643
|
Yr.Fragment = s, Yr.jsx = Ro, Yr.jsxs = Po;
|
@@ -933,7 +933,7 @@ var $_ = {
|
|
933
933
|
type: "cancelation",
|
934
934
|
msg: "operation is manually canceled"
|
935
935
|
};
|
936
|
-
function
|
936
|
+
function zs(i) {
|
937
937
|
var n = !1, r = new Promise(function(s, a) {
|
938
938
|
i.then(function(l) {
|
939
939
|
return n ? a($_) : s(l);
|
@@ -972,12 +972,12 @@ function j_() {
|
|
972
972
|
if (So({
|
973
973
|
isInitialized: !0
|
974
974
|
}), i.monaco)
|
975
|
-
return i.resolve(i.monaco),
|
975
|
+
return i.resolve(i.monaco), zs(Gs);
|
976
976
|
if (window.monaco && window.monaco.editor)
|
977
|
-
return pf(window.monaco), i.resolve(window.monaco),
|
977
|
+
return pf(window.monaco), i.resolve(window.monaco), zs(Gs);
|
978
978
|
M_(B_, H_)(W_);
|
979
979
|
}
|
980
|
-
return
|
980
|
+
return zs(Gs);
|
981
981
|
}
|
982
982
|
function B_(i) {
|
983
983
|
return document.body.appendChild(i);
|
@@ -1018,7 +1018,7 @@ function pf(i) {
|
|
1018
1018
|
monaco: i
|
1019
1019
|
});
|
1020
1020
|
}
|
1021
|
-
function
|
1021
|
+
function K_() {
|
1022
1022
|
return si(function(i) {
|
1023
1023
|
var n = i.monaco;
|
1024
1024
|
return n;
|
@@ -1032,8 +1032,8 @@ var Gs = new Promise(function(i, n) {
|
|
1032
1032
|
}), da = {
|
1033
1033
|
config: D_,
|
1034
1034
|
init: j_,
|
1035
|
-
__getMonacoInstance:
|
1036
|
-
},
|
1035
|
+
__getMonacoInstance: K_
|
1036
|
+
}, z_ = { wrapper: { display: "flex", position: "relative", textAlign: "initial" }, fullWidth: { width: "100%" }, hide: { display: "none" } }, qs = z_, G_ = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, q_ = G_;
|
1037
1037
|
function Y_({ children: i }) {
|
1038
1038
|
return hn.createElement("div", { style: q_.container }, i);
|
1039
1039
|
}
|
@@ -1068,7 +1068,7 @@ function _f(i, n) {
|
|
1068
1068
|
return i.Uri.parse(n);
|
1069
1069
|
}
|
1070
1070
|
function rb({ original: i, modified: n, language: r, originalLanguage: s, modifiedLanguage: a, originalModelPath: l, modifiedModelPath: c, keepCurrentOriginalModel: f = !1, keepCurrentModifiedModel: h = !1, theme: p = "light", loading: v = "Loading...", options: b = {}, height: x = "100%", width: k = "100%", className: T, wrapperProps: $ = {}, beforeMount: U = ti, onMount: W = ti }) {
|
1071
|
-
let [I, Z] =
|
1071
|
+
let [I, Z] = Pe(!1), [B, H] = Pe(!0), M = Se(null), A = Se(null), Y = Se(null), X = Se(W), J = Se(U), ee = Se(!1);
|
1072
1072
|
vf(() => {
|
1073
1073
|
let q = da.init();
|
1074
1074
|
return q.then((ie) => (A.current = ie) && H(!1)).catch((ie) => ie?.type !== "cancelation" && console.error("Monaco initialization: error:", ie)), () => M.current ? te() : q.cancel();
|
@@ -1101,14 +1101,14 @@ function rb({ original: i, modified: n, language: r, originalLanguage: s, modifi
|
|
1101
1101
|
J.current(A.current);
|
1102
1102
|
let q = vr(A.current, i || "", s || r || "text", l || ""), ie = vr(A.current, n || "", a || r || "text", c || "");
|
1103
1103
|
M.current?.setModel({ original: q, modified: ie });
|
1104
|
-
}, [r, n, a, i, s, l, c]),
|
1104
|
+
}, [r, n, a, i, s, l, c]), K = En(() => {
|
1105
1105
|
!ee.current && Y.current && (M.current = A.current.editor.createDiffEditor(Y.current, { automaticLayout: !0, ...b }), ye(), A.current?.editor.setTheme(p), Z(!0), ee.current = !0);
|
1106
1106
|
}, [b, p, ye]);
|
1107
1107
|
Ee(() => {
|
1108
1108
|
I && X.current(M.current, A.current);
|
1109
1109
|
}, [I]), Ee(() => {
|
1110
|
-
!B && !I &&
|
1111
|
-
}, [B, I,
|
1110
|
+
!B && !I && K();
|
1111
|
+
}, [B, I, K]);
|
1112
1112
|
function te() {
|
1113
1113
|
let q = M.current?.getModel();
|
1114
1114
|
f || q?.original?.dispose(), h || q?.modified?.dispose(), M.current?.dispose();
|
@@ -1124,7 +1124,7 @@ function sb(i) {
|
|
1124
1124
|
}
|
1125
1125
|
var ab = sb, io = /* @__PURE__ */ new Map();
|
1126
1126
|
function lb({ defaultValue: i, defaultLanguage: n, defaultPath: r, value: s, language: a, path: l, theme: c = "light", line: f, loading: h = "Loading...", options: p = {}, overrideServices: v = {}, saveViewState: b = !0, keepCurrentModel: x = !1, width: k = "100%", height: T = "100%", className: $, wrapperProps: U = {}, beforeMount: W = ti, onMount: I = ti, onChange: Z, onValidate: B = ti }) {
|
1127
|
-
let [H, M] =
|
1127
|
+
let [H, M] = Pe(!1), [A, Y] = Pe(!0), X = Se(null), J = Se(null), ee = Se(null), ye = Se(I), K = Se(W), te = Se(), q = Se(s), ie = ab(l), le = Se(!1), D = Se(!1);
|
1128
1128
|
vf(() => {
|
1129
1129
|
let ue = da.init();
|
1130
1130
|
return ue.then((De) => (X.current = De) && Y(!1)).catch((De) => De?.type !== "cancelation" && console.error("Monaco initialization: error:", De)), () => J.current ? me() : ue.cancel();
|
@@ -1145,7 +1145,7 @@ function lb({ defaultValue: i, defaultLanguage: n, defaultPath: r, value: s, lan
|
|
1145
1145
|
}, [c], H);
|
1146
1146
|
let ne = En(() => {
|
1147
1147
|
if (!(!ee.current || !X.current) && !le.current) {
|
1148
|
-
|
1148
|
+
K.current(X.current);
|
1149
1149
|
let ue = l || r, De = vr(X.current, s || i || "", n || a || "", ue || "");
|
1150
1150
|
J.current = X.current?.editor.create(ee.current, { model: De, automaticLayout: !0, ...p }, v), b && J.current.restoreViewState(io.get(ue)), X.current.editor.setTheme(c), f !== void 0 && J.current.revealLine(f), M(!0), le.current = !0;
|
1151
1151
|
}
|
@@ -1385,7 +1385,7 @@ class po {
|
|
1385
1385
|
return n = n || this.options, n.prefix = n.prefix || this.prefix, new po(this.logger, n);
|
1386
1386
|
}
|
1387
1387
|
}
|
1388
|
-
var
|
1388
|
+
var Xt = new po();
|
1389
1389
|
class Oo {
|
1390
1390
|
constructor() {
|
1391
1391
|
this.observers = {};
|
@@ -1510,7 +1510,7 @@ const sc = {};
|
|
1510
1510
|
class mo extends Oo {
|
1511
1511
|
constructor(n) {
|
1512
1512
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1513
|
-
super(), hb(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
1513
|
+
super(), hb(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Xt.create("translator");
|
1514
1514
|
}
|
1515
1515
|
changeLanguage(n) {
|
1516
1516
|
n && (this.language = n);
|
@@ -1609,7 +1609,7 @@ class mo extends Oo {
|
|
1609
1609
|
ordinal: !1
|
1610
1610
|
}) : "", J = M && !r.ordinal && r.count === 0 && this.pluralResolver.shouldUseIntlApi(), ee = J && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${Y}`] || r[`defaultValue${X}`] || r.defaultValue;
|
1611
1611
|
!this.isValidLookup(x) && A && (B = !0, x = ee), this.isValidLookup(x) || (H = !0, x = c);
|
1612
|
-
const
|
1612
|
+
const K = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && H ? void 0 : x, te = A && ee !== x && this.options.updateMissing;
|
1613
1613
|
if (H || B || te) {
|
1614
1614
|
if (this.logger.log(te ? "updateKey" : "missingKey", p, h, c, te ? ee : x), l) {
|
1615
1615
|
const D = this.resolve(c, {
|
@@ -1626,7 +1626,7 @@ class mo extends Oo {
|
|
1626
1626
|
else
|
1627
1627
|
this.options.saveMissingTo === "all" ? q = this.languageUtils.toResolveHierarchy(r.lng || this.language) : q.push(r.lng || this.language);
|
1628
1628
|
const le = (D, ne, me) => {
|
1629
|
-
const ue = A && me !== x ? me :
|
1629
|
+
const ue = A && me !== x ? me : K;
|
1630
1630
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(D, h, ne, ue, te, r) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(D, h, ne, ue, te, r), this.emit("missingKey", D, h, ne, x);
|
1631
1631
|
};
|
1632
1632
|
this.options.saveMissing && (this.options.saveMissingPlurals && M ? q.forEach((D) => {
|
@@ -1760,7 +1760,7 @@ class mo extends Oo {
|
|
1760
1760
|
const Ys = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
1761
1761
|
class ac {
|
1762
1762
|
constructor(n) {
|
1763
|
-
this.options = n, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
1763
|
+
this.options = n, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Xt.create("languageUtils");
|
1764
1764
|
}
|
1765
1765
|
getScriptPartFromCode(n) {
|
1766
1766
|
if (n = go(n), !n || n.indexOf("-") < 0)
|
@@ -1971,7 +1971,7 @@ const Eb = ["v1", "v2", "v3"], Ib = ["v4"], lc = {
|
|
1971
1971
|
class kb {
|
1972
1972
|
constructor(n) {
|
1973
1973
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1974
|
-
this.languageUtils = n, this.options = r, this.logger =
|
1974
|
+
this.languageUtils = n, this.options = r, this.logger = Xt.create("pluralResolver"), (!this.options.compatibilityJSON || Ib.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ab(), this.pluralRulesCache = {};
|
1975
1975
|
}
|
1976
1976
|
addRule(n, r) {
|
1977
1977
|
this.rules[n] = r;
|
@@ -2035,7 +2035,7 @@ const uc = function(i, n, r) {
|
|
2035
2035
|
class Lb {
|
2036
2036
|
constructor() {
|
2037
2037
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2038
|
-
this.logger =
|
2038
|
+
this.logger = Xt.create("interpolator"), this.options = n, this.format = n.interpolation && n.interpolation.format || ((r) => r), this.init(n);
|
2039
2039
|
}
|
2040
2040
|
init() {
|
2041
2041
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
@@ -2193,7 +2193,7 @@ const Tb = (i) => {
|
|
2193
2193
|
class Nb {
|
2194
2194
|
constructor() {
|
2195
2195
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2196
|
-
this.logger =
|
2196
|
+
this.logger = Xt.create("formatter"), this.options = n, this.formats = {
|
2197
2197
|
number: pr((r, s) => {
|
2198
2198
|
const a = new Intl.NumberFormat(r, {
|
2199
2199
|
...s
|
@@ -2276,7 +2276,7 @@ const Rb = (i, n) => {
|
|
2276
2276
|
class Pb extends Oo {
|
2277
2277
|
constructor(n, r, s) {
|
2278
2278
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
2279
|
-
super(), this.backend = n, this.store = r, this.services = s, this.languageUtils = s.languageUtils, this.options = a, this.logger =
|
2279
|
+
super(), this.backend = n, this.store = r, this.services = s, this.languageUtils = s.languageUtils, this.options = a, this.logger = Xt.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, a.backend, a);
|
2280
2280
|
}
|
2281
2281
|
queueLoad(n, r, s, a) {
|
2282
2282
|
const l = {}, c = {}, f = {}, h = {};
|
@@ -2474,7 +2474,7 @@ const cc = () => ({
|
|
2474
2474
|
class ii extends Oo {
|
2475
2475
|
constructor() {
|
2476
2476
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
2477
|
-
if (super(), this.options = fc(n), this.services = {}, this.logger =
|
2477
|
+
if (super(), this.options = fc(n), this.services = {}, this.logger = Xt, this.modules = {
|
2478
2478
|
external: []
|
2479
2479
|
}, Mb(this), r && !this.isInitialized && !n.isClone) {
|
2480
2480
|
if (!this.options.initImmediate)
|
@@ -2499,13 +2499,13 @@ class ii extends Oo {
|
|
2499
2499
|
}), r.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = r.keySeparator), r.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = r.nsSeparator);
|
2500
2500
|
const l = (v) => v ? typeof v == "function" ? new v() : v : null;
|
2501
2501
|
if (!this.options.isClone) {
|
2502
|
-
this.modules.logger ?
|
2502
|
+
this.modules.logger ? Xt.init(l(this.modules.logger), this.options) : Xt.init(null, this.options);
|
2503
2503
|
let v;
|
2504
2504
|
this.modules.formatter ? v = this.modules.formatter : typeof Intl < "u" && (v = Nb);
|
2505
2505
|
const b = new ac(this.options);
|
2506
2506
|
this.store = new oc(this.options.resources, this.options);
|
2507
2507
|
const x = this.services;
|
2508
|
-
x.logger =
|
2508
|
+
x.logger = Xt, x.resourceStore = this.store, x.languageUtils = b, x.pluralResolver = new kb(b, {
|
2509
2509
|
prepend: this.options.pluralSeparator,
|
2510
2510
|
compatibilityJSON: this.options.compatibilityJSON,
|
2511
2511
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
@@ -2717,23 +2717,23 @@ class ii extends Oo {
|
|
2717
2717
|
};
|
2718
2718
|
}
|
2719
2719
|
}
|
2720
|
-
const
|
2721
|
-
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2731
|
-
|
2732
|
-
|
2733
|
-
|
2734
|
-
|
2735
|
-
|
2736
|
-
const { t: Dt } =
|
2720
|
+
const Ne = ii.createInstance();
|
2721
|
+
Ne.createInstance = ii.createInstance;
|
2722
|
+
Ne.createInstance;
|
2723
|
+
Ne.dir;
|
2724
|
+
Ne.init;
|
2725
|
+
Ne.loadResources;
|
2726
|
+
Ne.reloadResources;
|
2727
|
+
Ne.use;
|
2728
|
+
Ne.changeLanguage;
|
2729
|
+
Ne.getFixedT;
|
2730
|
+
Ne.t;
|
2731
|
+
Ne.exists;
|
2732
|
+
Ne.setDefaultNamespace;
|
2733
|
+
Ne.hasLoadedNamespace;
|
2734
|
+
Ne.loadNamespaces;
|
2735
|
+
Ne.loadLanguages;
|
2736
|
+
const { t: Dt } = Ne;
|
2737
2737
|
function $b(i) {
|
2738
2738
|
return i.replace(/<.*>/, "");
|
2739
2739
|
}
|
@@ -2814,7 +2814,7 @@ function jb(i, n = 0, r = !0) {
|
|
2814
2814
|
}
|
2815
2815
|
return r && T.push(pe.italic(`${pe.code(a ? "⌘" : "Ctrl")} + ${Dt(fb.clickOnKeywordForMoreHelp)}`)), T.join(T.length === 2 ? " " : pe.lineBreak);
|
2816
2816
|
}
|
2817
|
-
const Js = "tcc_cursor_position", Bb = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"],
|
2817
|
+
const Js = "tcc_cursor_position", Bb = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"], Qt = 3;
|
2818
2818
|
function Ub(i) {
|
2819
2819
|
return i.replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2").replace(/\w[\w.\d]*\[\]/, "array");
|
2820
2820
|
}
|
@@ -2826,7 +2826,7 @@ function Hb(i) {
|
|
2826
2826
|
});
|
2827
2827
|
};
|
2828
2828
|
}
|
2829
|
-
async function An(i =
|
2829
|
+
async function An(i = Qt) {
|
2830
2830
|
switch (i) {
|
2831
2831
|
case 3:
|
2832
2832
|
return await import("./index-Ce2gRdFk.js");
|
@@ -2838,7 +2838,7 @@ async function An(i = Xt) {
|
|
2838
2838
|
return await import("./index-D22ipYhi.js");
|
2839
2839
|
}
|
2840
2840
|
}
|
2841
|
-
async function Eo(i =
|
2841
|
+
async function Eo(i = Qt) {
|
2842
2842
|
switch (i) {
|
2843
2843
|
case 3:
|
2844
2844
|
return await import("./monarchTokens-CnFYyHnR.js");
|
@@ -2860,7 +2860,7 @@ function vo(i, n = "var_") {
|
|
2860
2860
|
return `${n}accdist`;
|
2861
2861
|
}
|
2862
2862
|
}
|
2863
|
-
const { t:
|
2863
|
+
const { t: Ke } = Ne;
|
2864
2864
|
class Wb {
|
2865
2865
|
constructor() {
|
2866
2866
|
Object.defineProperty(this, "bracketsPostfix", {
|
@@ -3237,7 +3237,7 @@ class Wb {
|
|
3237
3237
|
};
|
3238
3238
|
return {
|
3239
3239
|
label: r,
|
3240
|
-
detail: `(${l} ${
|
3240
|
+
detail: `(${l} ${Ke(s)})`,
|
3241
3241
|
insertText: a,
|
3242
3242
|
insertTextRules: Qe.CompletionItemInsertTextRule.InsertAsSnippet,
|
3243
3243
|
sortText: `2_${r}`,
|
@@ -3288,10 +3288,10 @@ class Wb {
|
|
3288
3288
|
return {
|
3289
3289
|
label: c,
|
3290
3290
|
documentation: {
|
3291
|
-
value: this._formatter.paragraph(this._formatter.bold(
|
3291
|
+
value: this._formatter.paragraph(this._formatter.bold(Ke(Ae.Description)), this._formatter.lineBreak, f)
|
3292
3292
|
},
|
3293
3293
|
insertText: c,
|
3294
|
-
detail: `(${
|
3294
|
+
detail: `(${Ke(Ae.parameter)}) ${Ke(Ae.types)} ${l}`,
|
3295
3295
|
kind: Qe.CompletionItemKind.Text,
|
3296
3296
|
sortText: `0_${c}`
|
3297
3297
|
};
|
@@ -3302,7 +3302,7 @@ class Wb {
|
|
3302
3302
|
a.length ? c.push(this._createExampleSection(a)) : n.syntax && n.syntax.length && c.push(this._createSyntaxSection(n.syntax));
|
3303
3303
|
const f = {
|
3304
3304
|
value: c.join(this._formatter.lineBreak)
|
3305
|
-
}, h =
|
3305
|
+
}, h = Ke(s ? Ae.variables : Ae.userDefinedVariable);
|
3306
3306
|
return {
|
3307
3307
|
documentation: f,
|
3308
3308
|
label: n.name,
|
@@ -3322,7 +3322,7 @@ class Wb {
|
|
3322
3322
|
insertText: n.name,
|
3323
3323
|
kind: Qe.CompletionItemKind.Keyword,
|
3324
3324
|
sortText: `${r}_${n.name}`,
|
3325
|
-
detail: `(${
|
3325
|
+
detail: `(${Ke(Ae.keywords)})`
|
3326
3326
|
};
|
3327
3327
|
}
|
3328
3328
|
_getTypeCompletionItem(n) {
|
@@ -3335,7 +3335,7 @@ class Wb {
|
|
3335
3335
|
insertText: n.name,
|
3336
3336
|
kind: Qe.CompletionItemKind.Keyword,
|
3337
3337
|
sortText: `1_${n.name}`,
|
3338
|
-
detail: `(${
|
3338
|
+
detail: `(${Ke(Ae.types)})`
|
3339
3339
|
};
|
3340
3340
|
}
|
3341
3341
|
_getCustomTypeCompletionItem(n) {
|
@@ -3348,7 +3348,7 @@ class Wb {
|
|
3348
3348
|
insertText: n.name,
|
3349
3349
|
kind: Qe.CompletionItemKind.Keyword,
|
3350
3350
|
sortText: `2_${n.name}`,
|
3351
|
-
detail: `(${
|
3351
|
+
detail: `(${Ke(Ae.userDefinedType)})`
|
3352
3352
|
};
|
3353
3353
|
}
|
3354
3354
|
_getEnumCompletionItem(n) {
|
@@ -3361,7 +3361,7 @@ class Wb {
|
|
3361
3361
|
insertText: n.name,
|
3362
3362
|
kind: Qe.CompletionItemKind.Enum,
|
3363
3363
|
sortText: `2_${n.name}`,
|
3364
|
-
detail: `(${
|
3364
|
+
detail: `(${Ke(Ae.enum)})`
|
3365
3365
|
};
|
3366
3366
|
}
|
3367
3367
|
_getEnumMemberCompletionItem(n) {
|
@@ -3374,12 +3374,12 @@ class Wb {
|
|
3374
3374
|
insertText: n.name,
|
3375
3375
|
kind: Qe.CompletionItemKind.EnumMember,
|
3376
3376
|
sortText: `2_${n.name}`,
|
3377
|
-
detail: `(${
|
3377
|
+
detail: `(${Ke("enum member")}) ${n.value ? `${n.name} = ${n.value}` : `${n.name}`}`
|
3378
3378
|
};
|
3379
3379
|
}
|
3380
3380
|
_getInstanceTypeCompletionItemProp(n) {
|
3381
3381
|
const r = this._extractDescription(n), s = [];
|
3382
|
-
return r && s.push(this._formatter.paragraph(this._formatter.bold(
|
3382
|
+
return r && s.push(this._formatter.paragraph(this._formatter.bold(Ke(vt.Description)), this._formatter.lineBreak, r)), {
|
3383
3383
|
documentation: {
|
3384
3384
|
value: s.join(this._formatter.lineBreak)
|
3385
3385
|
},
|
@@ -3387,7 +3387,7 @@ class Wb {
|
|
3387
3387
|
insertText: n.name,
|
3388
3388
|
kind: Qe.CompletionItemKind.Field,
|
3389
3389
|
sortText: `2_${n.name}`,
|
3390
|
-
detail: `(${
|
3390
|
+
detail: `(${Ke(Ae.field)}) ${n.type}`
|
3391
3391
|
};
|
3392
3392
|
}
|
3393
3393
|
_getFunctionCompletionItem(n, r = 2, s = !0) {
|
@@ -3404,7 +3404,7 @@ class Wb {
|
|
3404
3404
|
insertTextRules: Qe.CompletionItemInsertTextRule.InsertAsSnippet,
|
3405
3405
|
insertText: x + this.bracketsPostfix,
|
3406
3406
|
originInsertText: x,
|
3407
|
-
detail: `(${
|
3407
|
+
detail: `(${Ke(v)}) ${Ke(Ae.returns)} ${a}`,
|
3408
3408
|
command: {
|
3409
3409
|
id: "tcc.editor.function",
|
3410
3410
|
title: "",
|
@@ -3423,17 +3423,17 @@ class Wb {
|
|
3423
3423
|
label: n.name,
|
3424
3424
|
insertText: n.name.replace("@", ""),
|
3425
3425
|
kind: Qe.CompletionItemKind.Keyword,
|
3426
|
-
detail: `(${
|
3426
|
+
detail: `(${Ke(Ae.annotations)})`
|
3427
3427
|
};
|
3428
3428
|
}
|
3429
3429
|
_getNamespaceCompletionItem(n, r = 2) {
|
3430
|
-
const s = [this._createDescriptionSection(
|
3430
|
+
const s = [this._createDescriptionSection(Ke(Ae.namespaceDesc))];
|
3431
3431
|
return {
|
3432
3432
|
label: n.name,
|
3433
3433
|
documentation: {
|
3434
3434
|
value: s.join(this._formatter.lineBreak)
|
3435
3435
|
},
|
3436
|
-
detail: `(${
|
3436
|
+
detail: `(${Ke(Ae.namespace)}) ${n.name}`,
|
3437
3437
|
insertText: n.name,
|
3438
3438
|
sortText: `${r}_${n.name}`,
|
3439
3439
|
kind: Qe.CompletionItemKind.Module
|
@@ -3447,20 +3447,20 @@ class Wb {
|
|
3447
3447
|
return Array.isArray(n.desc) ? n.desc.join(this._formatter.lineBreak) : n.desc || "";
|
3448
3448
|
}
|
3449
3449
|
_createExampleSection(n) {
|
3450
|
-
return this._formatter.paragraph(this._formatter.bold(
|
3450
|
+
return this._formatter.paragraph(this._formatter.bold(Ke(vt.Example)), this._formatter.pineCode(n.join(this._formatter.lineBreak)));
|
3451
3451
|
}
|
3452
3452
|
_createSyntaxSection(n) {
|
3453
|
-
return this._formatter.paragraph(this._formatter.bold(
|
3453
|
+
return this._formatter.paragraph(this._formatter.bold(Ke(vt.Syntax)), this._formatter.pineCode(n.join(this._formatter.lineBreak)));
|
3454
3454
|
}
|
3455
3455
|
_createReturnSection(n) {
|
3456
|
-
return this._formatter.paragraph(this._formatter.bold(
|
3456
|
+
return this._formatter.paragraph(this._formatter.bold(Ke(vt.Returns)), this._formatter.lineBreak, n.join(this._formatter.lineBreak));
|
3457
3457
|
}
|
3458
3458
|
_createDescriptionSection(n) {
|
3459
|
-
return !n || n.trim().length === 0 ? "" : this._formatter.paragraph(this._formatter.bold(
|
3459
|
+
return !n || n.trim().length === 0 ? "" : this._formatter.paragraph(this._formatter.bold(Ke(vt.Description)), this._formatter.lineBreak, n);
|
3460
3460
|
}
|
3461
3461
|
}
|
3462
|
-
const
|
3463
|
-
class
|
3462
|
+
const Gt = new Wb();
|
3463
|
+
class Kb {
|
3464
3464
|
constructor() {
|
3465
3465
|
Object.defineProperty(this, "_userFunctions", {
|
3466
3466
|
enumerable: !0,
|
@@ -3558,7 +3558,7 @@ class zb {
|
|
3558
3558
|
return this._getImportDocVal(l, n, r);
|
3559
3559
|
}
|
3560
3560
|
_getImportDocVal(n, r, s) {
|
3561
|
-
const a = /(
|
3561
|
+
const a = /(?:(import(\s+)))([a-zA-Z\d\$_\-\.\u00a1-\uffff\/]+)/g, l = /(?:(as\b)(\s+))([a-zA-Z\d\_\u00a1\uffff\/]+)/g, c = n.match(a)?.map((f) => f.replace(/import(\s+)/g, ""));
|
3562
3562
|
if (c) {
|
3563
3563
|
const f = this._matchContent(c, n, r);
|
3564
3564
|
if (f) {
|
@@ -3566,7 +3566,7 @@ class zb {
|
|
3566
3566
|
if (p)
|
3567
3567
|
return p;
|
3568
3568
|
}
|
3569
|
-
const h = n.match(l);
|
3569
|
+
const h = n.match(l)?.map((p) => p.replace(/(as\b)(\s+)/g, ""));
|
3570
3570
|
if (h) {
|
3571
3571
|
const p = this._matchContent(h, n, r);
|
3572
3572
|
if (p) {
|
@@ -3827,7 +3827,7 @@ class zb {
|
|
3827
3827
|
return !l.test(c);
|
3828
3828
|
}
|
3829
3829
|
}
|
3830
|
-
const kn = new
|
3830
|
+
const kn = new Kb();
|
3831
3831
|
var _o = { exports: {} };
|
3832
3832
|
/**
|
3833
3833
|
* @license
|
@@ -3840,7 +3840,7 @@ var _o = { exports: {} };
|
|
3840
3840
|
_o.exports;
|
3841
3841
|
(function(i, n) {
|
3842
3842
|
(function() {
|
3843
|
-
var r, s = "4.17.21", a = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", f = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", p = 500, v = "__lodash_placeholder__", b = 1, x = 2, k = 4, T = 1, $ = 2, U = 1, W = 2, I = 4, Z = 8, B = 16, H = 32, M = 64, A = 128, Y = 256, X = 512, J = 30, ee = "...", ye = 800,
|
3843
|
+
var r, s = "4.17.21", a = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", f = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", p = 500, v = "__lodash_placeholder__", b = 1, x = 2, k = 4, T = 1, $ = 2, U = 1, W = 2, I = 4, Z = 8, B = 16, H = 32, M = 64, A = 128, Y = 256, X = 512, J = 30, ee = "...", ye = 800, K = 16, te = 1, q = 2, ie = 3, le = 1 / 0, D = 9007199254740991, ne = 17976931348623157e292, me = NaN, ue = 4294967295, De = ue - 1, Ge = ue >>> 1, it = [
|
3844
3844
|
["ary", A],
|
3845
3845
|
["bind", U],
|
3846
3846
|
["bindKey", W],
|
@@ -3850,7 +3850,7 @@ _o.exports;
|
|
3850
3850
|
["partial", H],
|
3851
3851
|
["partialRight", M],
|
3852
3852
|
["rearg", Y]
|
3853
|
-
], et = "[object Arguments]", Ve = "[object Array]", _t = "[object AsyncFunction]", bt = "[object Boolean]",
|
3853
|
+
], et = "[object Arguments]", Ve = "[object Array]", _t = "[object AsyncFunction]", bt = "[object Boolean]", en = "[object Date]", Gn = "[object DOMException]", qn = "[object Error]", Tn = "[object Function]", ai = "[object GeneratorFunction]", yt = "[object Map]", qt = "[object Number]", Yn = "[object Null]", kt = "[object Object]", yr = "[object Promise]", Vn = "[object Proxy]", Nn = "[object RegExp]", xt = "[object Set]", tn = "[object String]", Jn = "[object Symbol]", Ao = "[object Undefined]", gn = "[object WeakMap]", li = "[object WeakSet]", jt = "[object ArrayBuffer]", pn = "[object DataView]", Zn = "[object Float32Array]", Xn = "[object Float64Array]", Rn = "[object Int8Array]", xr = "[object Int16Array]", wr = "[object Int32Array]", Cr = "[object Uint8Array]", Sr = "[object Uint8ClampedArray]", Or = "[object Uint16Array]", Er = "[object Uint32Array]", ko = /\b__p \+= '';/g, Ir = /\b(__p \+=) '' \+/g, ui = /(__e\(.*?\)|\b__t\)) \+\n'';/g, nn = /&(?:amp|lt|gt|quot|#39);/g, Qn = /[&<>"']/g, Ar = RegExp(nn.source), ci = RegExp(Qn.source), Lo = /<%-([\s\S]+?)%>/g, fi = /<%([\s\S]+?)%>/g, di = /<%=([\s\S]+?)%>/g, hi = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gi = /^\w*$/, To = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, kr = /[\\^$.*+?()[\]{}|]/g, pi = RegExp(kr.source), Lr = /^\s+/, No = /\s/, Ro = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Po = /\{\n\/\* \[wrapped with (.+)\] \*/, y = /,? & /, j = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, z = /[()=,{}\[\]\/\s]/, ae = /\\(\\)?/g, Oe = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ke = /\w*$/, xe = /^[-+]0x[0-9a-f]+$/i, _e = /^0b[01]+$/i, tt = /^\[object .+?Constructor\]$/, je = /^0o[0-7]+$/i, He = /^(?:0|[1-9]\d*)$/, ft = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Bt = /($^)/, mi = /['\n\r\u2028\u2029\\]/g, dt = "\\ud800-\\udfff", Wf = "\\u0300-\\u036f", Kf = "\\ufe20-\\ufe2f", zf = "\\u20d0-\\u20ff", xa = Wf + Kf + zf, wa = "\\u2700-\\u27bf", Ca = "a-z\\xdf-\\xf6\\xf8-\\xff", Gf = "\\xac\\xb1\\xd7\\xf7", qf = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Yf = "\\u2000-\\u206f", Vf = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Sa = "A-Z\\xc0-\\xd6\\xd8-\\xde", Oa = "\\ufe0e\\ufe0f", Ea = Gf + qf + Yf + Vf, Mo = "['’]", Jf = "[" + dt + "]", Ia = "[" + Ea + "]", vi = "[" + xa + "]", Aa = "\\d+", Zf = "[" + wa + "]", ka = "[" + Ca + "]", La = "[^" + dt + Ea + Aa + wa + Ca + Sa + "]", $o = "\\ud83c[\\udffb-\\udfff]", Xf = "(?:" + vi + "|" + $o + ")", Ta = "[^" + dt + "]", Fo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Do = "[\\ud800-\\udbff][\\udc00-\\udfff]", er = "[" + Sa + "]", Na = "\\u200d", Ra = "(?:" + ka + "|" + La + ")", Qf = "(?:" + er + "|" + La + ")", Pa = "(?:" + Mo + "(?:d|ll|m|re|s|t|ve))?", Ma = "(?:" + Mo + "(?:D|LL|M|RE|S|T|VE))?", $a = Xf + "?", Fa = "[" + Oa + "]?", ed = "(?:" + Na + "(?:" + [Ta, Fo, Do].join("|") + ")" + Fa + $a + ")*", td = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", nd = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Da = Fa + $a + ed, rd = "(?:" + [Zf, Fo, Do].join("|") + ")" + Da, id = "(?:" + [Ta + vi + "?", vi, Fo, Do, Jf].join("|") + ")", od = RegExp(Mo, "g"), sd = RegExp(vi, "g"), jo = RegExp($o + "(?=" + $o + ")|" + id + Da, "g"), ad = RegExp([
|
3854
3854
|
er + "?" + ka + "+" + Pa + "(?=" + [Ia, er, "$"].join("|") + ")",
|
3855
3855
|
Qf + "+" + Ma + "(?=" + [Ia, er + Ra, "$"].join("|") + ")",
|
3856
3856
|
er + "?" + Ra + "+" + Pa,
|
@@ -3891,9 +3891,9 @@ _o.exports;
|
|
3891
3891
|
"parseInt",
|
3892
3892
|
"setTimeout"
|
3893
3893
|
], fd = -1, $e = {};
|
3894
|
-
$e[Zn] = $e[Xn] = $e[Rn] = $e[xr] = $e[wr] = $e[Cr] = $e[Sr] = $e[Or] = $e[Er] = !0, $e[et] = $e[Ve] = $e[jt] = $e[bt] = $e[pn] = $e[
|
3895
|
-
var
|
3896
|
-
|
3894
|
+
$e[Zn] = $e[Xn] = $e[Rn] = $e[xr] = $e[wr] = $e[Cr] = $e[Sr] = $e[Or] = $e[Er] = !0, $e[et] = $e[Ve] = $e[jt] = $e[bt] = $e[pn] = $e[en] = $e[qn] = $e[Tn] = $e[yt] = $e[qt] = $e[kt] = $e[Nn] = $e[xt] = $e[tn] = $e[gn] = !1;
|
3895
|
+
var Me = {};
|
3896
|
+
Me[et] = Me[Ve] = Me[jt] = Me[pn] = Me[bt] = Me[en] = Me[Zn] = Me[Xn] = Me[Rn] = Me[xr] = Me[wr] = Me[yt] = Me[qt] = Me[kt] = Me[Nn] = Me[xt] = Me[tn] = Me[Jn] = Me[Cr] = Me[Sr] = Me[Or] = Me[Er] = !0, Me[qn] = Me[Tn] = Me[gn] = !1;
|
3897
3897
|
var dd = {
|
3898
3898
|
// Latin-1 Supplement block.
|
3899
3899
|
À: "A",
|
@@ -4112,7 +4112,7 @@ _o.exports;
|
|
4112
4112
|
return S || Uo && Uo.binding && Uo.binding("util");
|
4113
4113
|
} catch {
|
4114
4114
|
}
|
4115
|
-
}(), Ua = Lt && Lt.isArrayBuffer, Ha = Lt && Lt.isDate, Wa = Lt && Lt.isMap,
|
4115
|
+
}(), Ua = Lt && Lt.isArrayBuffer, Ha = Lt && Lt.isDate, Wa = Lt && Lt.isMap, Ka = Lt && Lt.isRegExp, za = Lt && Lt.isSet, Ga = Lt && Lt.isTypedArray;
|
4116
4116
|
function wt(S, N, E) {
|
4117
4117
|
switch (E.length) {
|
4118
4118
|
case 0:
|
@@ -4188,13 +4188,13 @@ _o.exports;
|
|
4188
4188
|
E = N(E, S[fe], fe, S);
|
4189
4189
|
return E;
|
4190
4190
|
}
|
4191
|
-
function
|
4191
|
+
function Ko(S, N) {
|
4192
4192
|
for (var E = -1, V = S == null ? 0 : S.length; ++E < V; )
|
4193
4193
|
if (N(S[E], E, S))
|
4194
4194
|
return !0;
|
4195
4195
|
return !1;
|
4196
4196
|
}
|
4197
|
-
var wd =
|
4197
|
+
var wd = zo("length");
|
4198
4198
|
function Cd(S) {
|
4199
4199
|
return S.split("");
|
4200
4200
|
}
|
@@ -4230,7 +4230,7 @@ _o.exports;
|
|
4230
4230
|
var E = S == null ? 0 : S.length;
|
4231
4231
|
return E ? qo(S, N) / E : me;
|
4232
4232
|
}
|
4233
|
-
function
|
4233
|
+
function zo(S) {
|
4234
4234
|
return function(N) {
|
4235
4235
|
return N == null ? r : N[S];
|
4236
4236
|
};
|
@@ -4241,8 +4241,8 @@ _o.exports;
|
|
4241
4241
|
};
|
4242
4242
|
}
|
4243
4243
|
function Za(S, N, E, V, fe) {
|
4244
|
-
return fe(S, function(Ie, Je,
|
4245
|
-
E = V ? (V = !1, Ie) : N(E, Ie, Je,
|
4244
|
+
return fe(S, function(Ie, Je, Re) {
|
4245
|
+
E = V ? (V = !1, Ie) : N(E, Ie, Je, Re);
|
4246
4246
|
}), E;
|
4247
4247
|
}
|
4248
4248
|
function Ed(S, N) {
|
@@ -4384,18 +4384,18 @@ _o.exports;
|
|
4384
4384
|
}
|
4385
4385
|
var Hd = function S(N) {
|
4386
4386
|
N = N == null ? nt : ir.defaults(nt.Object(), N, ir.pick(nt, cd));
|
4387
|
-
var E = N.Array, V = N.Date, fe = N.Error, Ie = N.Function, Je = N.Math,
|
4387
|
+
var E = N.Array, V = N.Date, fe = N.Error, Ie = N.Function, Je = N.Math, Re = N.Object, Zo = N.RegExp, Wd = N.String, Nt = N.TypeError, xi = E.prototype, Kd = Ie.prototype, or = Re.prototype, wi = N["__core-js_shared__"], Ci = Kd.toString, Te = or.hasOwnProperty, zd = 0, rl = function() {
|
4388
4388
|
var e = /[^.]+$/.exec(wi && wi.keys && wi.keys.IE_PROTO || "");
|
4389
4389
|
return e ? "Symbol(src)_1." + e : "";
|
4390
|
-
}(), Si = or.toString, Gd = Ci.call(
|
4390
|
+
}(), Si = or.toString, Gd = Ci.call(Re), qd = nt._, Yd = Zo(
|
4391
4391
|
"^" + Ci.call(Te).replace(kr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
4392
|
-
), Oi = Ba ? N.Buffer : r, bn = N.Symbol, Ei = N.Uint8Array, il = Oi ? Oi.allocUnsafe : r, Ii = tl(
|
4392
|
+
), Oi = Ba ? N.Buffer : r, bn = N.Symbol, Ei = N.Uint8Array, il = Oi ? Oi.allocUnsafe : r, Ii = tl(Re.getPrototypeOf, Re), ol = Re.create, sl = or.propertyIsEnumerable, Ai = xi.splice, al = bn ? bn.isConcatSpreadable : r, Nr = bn ? bn.iterator : r, Mn = bn ? bn.toStringTag : r, ki = function() {
|
4393
4393
|
try {
|
4394
|
-
var e = Bn(
|
4394
|
+
var e = Bn(Re, "defineProperty");
|
4395
4395
|
return e({}, "", {}), e;
|
4396
4396
|
} catch {
|
4397
4397
|
}
|
4398
|
-
}(), Vd = N.clearTimeout !== nt.clearTimeout && N.clearTimeout, Jd = V && V.now !== nt.Date.now && V.now, Zd = N.setTimeout !== nt.setTimeout && N.setTimeout, Li = Je.ceil, Ti = Je.floor, Xo =
|
4398
|
+
}(), Vd = N.clearTimeout !== nt.clearTimeout && N.clearTimeout, Jd = V && V.now !== nt.Date.now && V.now, Zd = N.setTimeout !== nt.setTimeout && N.setTimeout, Li = Je.ceil, Ti = Je.floor, Xo = Re.getOwnPropertySymbols, Xd = Oi ? Oi.isBuffer : r, ll = N.isFinite, Qd = xi.join, eh = tl(Re.keys, Re), Ze = Je.max, ot = Je.min, th = V.now, nh = N.parseInt, ul = Je.random, rh = xi.reverse, Qo = Bn(N, "DataView"), Rr = Bn(N, "Map"), es = Bn(N, "Promise"), sr = Bn(N, "Set"), Pr = Bn(N, "WeakMap"), Mr = Bn(Re, "create"), Ni = Pr && new Pr(), ar = {}, ih = Un(Qo), oh = Un(Rr), sh = Un(es), ah = Un(sr), lh = Un(Pr), Ri = bn ? bn.prototype : r, $r = Ri ? Ri.valueOf : r, cl = Ri ? Ri.toString : r;
|
4399
4399
|
function g(e) {
|
4400
4400
|
if (We(e) && !de(e) && !(e instanceof we)) {
|
4401
4401
|
if (e instanceof Rt)
|
@@ -4537,7 +4537,7 @@ _o.exports;
|
|
4537
4537
|
return this.size += this.has(e) ? 0 : 1, o[e] = Mr && t === r ? h : t, this;
|
4538
4538
|
}
|
4539
4539
|
$n.prototype.clear = dh, $n.prototype.delete = hh, $n.prototype.get = gh, $n.prototype.has = ph, $n.prototype.set = mh;
|
4540
|
-
function
|
4540
|
+
function rn(e) {
|
4541
4541
|
var t = -1, o = e == null ? 0 : e.length;
|
4542
4542
|
for (this.clear(); ++t < o; ) {
|
4543
4543
|
var u = e[t];
|
@@ -4565,8 +4565,8 @@ _o.exports;
|
|
4565
4565
|
var o = this.__data__, u = Mi(o, e);
|
4566
4566
|
return u < 0 ? (++this.size, o.push([e, t])) : o[u][1] = t, this;
|
4567
4567
|
}
|
4568
|
-
|
4569
|
-
function
|
4568
|
+
rn.prototype.clear = vh, rn.prototype.delete = _h, rn.prototype.get = bh, rn.prototype.has = yh, rn.prototype.set = xh;
|
4569
|
+
function on(e) {
|
4570
4570
|
var t = -1, o = e == null ? 0 : e.length;
|
4571
4571
|
for (this.clear(); ++t < o; ) {
|
4572
4572
|
var u = e[t];
|
@@ -4576,7 +4576,7 @@ _o.exports;
|
|
4576
4576
|
function wh() {
|
4577
4577
|
this.size = 0, this.__data__ = {
|
4578
4578
|
hash: new $n(),
|
4579
|
-
map: new (Rr ||
|
4579
|
+
map: new (Rr || rn)(),
|
4580
4580
|
string: new $n()
|
4581
4581
|
};
|
4582
4582
|
}
|
@@ -4594,10 +4594,10 @@ _o.exports;
|
|
4594
4594
|
var o = qi(this, e), u = o.size;
|
4595
4595
|
return o.set(e, t), this.size += o.size == u ? 0 : 1, this;
|
4596
4596
|
}
|
4597
|
-
|
4597
|
+
on.prototype.clear = wh, on.prototype.delete = Ch, on.prototype.get = Sh, on.prototype.has = Oh, on.prototype.set = Eh;
|
4598
4598
|
function Fn(e) {
|
4599
4599
|
var t = -1, o = e == null ? 0 : e.length;
|
4600
|
-
for (this.__data__ = new
|
4600
|
+
for (this.__data__ = new on(); ++t < o; )
|
4601
4601
|
this.add(e[t]);
|
4602
4602
|
}
|
4603
4603
|
function Ih(e) {
|
@@ -4608,11 +4608,11 @@ _o.exports;
|
|
4608
4608
|
}
|
4609
4609
|
Fn.prototype.add = Fn.prototype.push = Ih, Fn.prototype.has = Ah;
|
4610
4610
|
function Ht(e) {
|
4611
|
-
var t = this.__data__ = new
|
4611
|
+
var t = this.__data__ = new rn(e);
|
4612
4612
|
this.size = t.size;
|
4613
4613
|
}
|
4614
4614
|
function kh() {
|
4615
|
-
this.__data__ = new
|
4615
|
+
this.__data__ = new rn(), this.size = 0;
|
4616
4616
|
}
|
4617
4617
|
function Lh(e) {
|
4618
4618
|
var t = this.__data__, o = t.delete(e);
|
@@ -4626,11 +4626,11 @@ _o.exports;
|
|
4626
4626
|
}
|
4627
4627
|
function Rh(e, t) {
|
4628
4628
|
var o = this.__data__;
|
4629
|
-
if (o instanceof
|
4629
|
+
if (o instanceof rn) {
|
4630
4630
|
var u = o.__data__;
|
4631
4631
|
if (!Rr || u.length < a - 1)
|
4632
4632
|
return u.push([e, t]), this.size = ++o.size, this;
|
4633
|
-
o = this.__data__ = new
|
4633
|
+
o = this.__data__ = new on(u);
|
4634
4634
|
}
|
4635
4635
|
return o.set(e, t), this.size = o.size, this;
|
4636
4636
|
}
|
@@ -4642,7 +4642,7 @@ _o.exports;
|
|
4642
4642
|
(R == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
4643
4643
|
d && (R == "offset" || R == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
4644
4644
|
m && (R == "buffer" || R == "byteLength" || R == "byteOffset") || // Skip index properties.
|
4645
|
-
|
4645
|
+
un(R, O))) && w.push(R);
|
4646
4646
|
return w;
|
4647
4647
|
}
|
4648
4648
|
function dl(e) {
|
@@ -4656,11 +4656,11 @@ _o.exports;
|
|
4656
4656
|
return Yi(ht(e));
|
4657
4657
|
}
|
4658
4658
|
function ts(e, t, o) {
|
4659
|
-
(o !== r && !Wt(e[t], o) || o === r && !(t in e)) &&
|
4659
|
+
(o !== r && !Wt(e[t], o) || o === r && !(t in e)) && sn(e, t, o);
|
4660
4660
|
}
|
4661
4661
|
function Fr(e, t, o) {
|
4662
4662
|
var u = e[t];
|
4663
|
-
(!(Te.call(e, t) && Wt(u, o)) || o === r && !(t in e)) &&
|
4663
|
+
(!(Te.call(e, t) && Wt(u, o)) || o === r && !(t in e)) && sn(e, t, o);
|
4664
4664
|
}
|
4665
4665
|
function Mi(e, t) {
|
4666
4666
|
for (var o = e.length; o--; )
|
@@ -4674,12 +4674,12 @@ _o.exports;
|
|
4674
4674
|
}), u;
|
4675
4675
|
}
|
4676
4676
|
function hl(e, t) {
|
4677
|
-
return e &&
|
4677
|
+
return e && Vt(t, Xe(t), e);
|
4678
4678
|
}
|
4679
4679
|
function Fh(e, t) {
|
4680
|
-
return e &&
|
4680
|
+
return e && Vt(t, pt(t), e);
|
4681
4681
|
}
|
4682
|
-
function
|
4682
|
+
function sn(e, t, o) {
|
4683
4683
|
t == "__proto__" && ki ? ki(e, t, {
|
4684
4684
|
configurable: !0,
|
4685
4685
|
enumerable: !0,
|
@@ -4713,7 +4713,7 @@ _o.exports;
|
|
4713
4713
|
if (_ = O || G ? {} : nu(e), !w)
|
4714
4714
|
return O ? gg(e, Fh(_, e)) : hg(e, hl(_, e));
|
4715
4715
|
} else {
|
4716
|
-
if (!
|
4716
|
+
if (!Me[F])
|
4717
4717
|
return d ? e : {};
|
4718
4718
|
_ = Eg(e, F, w);
|
4719
4719
|
}
|
@@ -4742,7 +4742,7 @@ _o.exports;
|
|
4742
4742
|
var u = o.length;
|
4743
4743
|
if (e == null)
|
4744
4744
|
return !u;
|
4745
|
-
for (e =
|
4745
|
+
for (e = Re(e); u--; ) {
|
4746
4746
|
var d = o[u], m = t[d], _ = e[d];
|
4747
4747
|
if (_ === r && !(d in e) || !m(_))
|
4748
4748
|
return !1;
|
@@ -4752,7 +4752,7 @@ _o.exports;
|
|
4752
4752
|
function pl(e, t, o) {
|
4753
4753
|
if (typeof e != "function")
|
4754
4754
|
throw new Nt(c);
|
4755
|
-
return
|
4755
|
+
return Kr(function() {
|
4756
4756
|
e.apply(r, o);
|
4757
4757
|
}, t);
|
4758
4758
|
}
|
@@ -4774,7 +4774,7 @@ _o.exports;
|
|
4774
4774
|
}
|
4775
4775
|
return O;
|
4776
4776
|
}
|
4777
|
-
var yn = Hl(
|
4777
|
+
var yn = Hl(Yt), ml = Hl(is, !0);
|
4778
4778
|
function jh(e, t) {
|
4779
4779
|
var o = !0;
|
4780
4780
|
return yn(e, function(u, d, m) {
|
@@ -4810,7 +4810,7 @@ _o.exports;
|
|
4810
4810
|
return d;
|
4811
4811
|
}
|
4812
4812
|
var rs = Wl(), _l = Wl(!0);
|
4813
|
-
function
|
4813
|
+
function Yt(e, t) {
|
4814
4814
|
return e && rs(e, t, Xe);
|
4815
4815
|
}
|
4816
4816
|
function is(e, t) {
|
@@ -4818,13 +4818,13 @@ _o.exports;
|
|
4818
4818
|
}
|
4819
4819
|
function Fi(e, t) {
|
4820
4820
|
return mn(t, function(o) {
|
4821
|
-
return
|
4821
|
+
return cn(e[o]);
|
4822
4822
|
});
|
4823
4823
|
}
|
4824
4824
|
function jn(e, t) {
|
4825
4825
|
t = wn(t, e);
|
4826
4826
|
for (var o = 0, u = t.length; e != null && o < u; )
|
4827
|
-
e = e[
|
4827
|
+
e = e[Jt(t[o++])];
|
4828
4828
|
return o && o == u ? e : r;
|
4829
4829
|
}
|
4830
4830
|
function bl(e, t, o) {
|
@@ -4832,7 +4832,7 @@ _o.exports;
|
|
4832
4832
|
return de(e) ? u : vn(u, o(e));
|
4833
4833
|
}
|
4834
4834
|
function lt(e) {
|
4835
|
-
return e == null ? e === r ? Ao : Yn : Mn && Mn in
|
4835
|
+
return e == null ? e === r ? Ao : Yn : Mn && Mn in Re(e) ? wg(e) : Mg(e);
|
4836
4836
|
}
|
4837
4837
|
function os(e, t) {
|
4838
4838
|
return e > t;
|
@@ -4841,7 +4841,7 @@ _o.exports;
|
|
4841
4841
|
return e != null && Te.call(e, t);
|
4842
4842
|
}
|
4843
4843
|
function Hh(e, t) {
|
4844
|
-
return e != null && t in
|
4844
|
+
return e != null && t in Re(e);
|
4845
4845
|
}
|
4846
4846
|
function Wh(e, t, o) {
|
4847
4847
|
return e >= ot(t, o) && e < Ze(t, o);
|
@@ -4867,24 +4867,24 @@ _o.exports;
|
|
4867
4867
|
}
|
4868
4868
|
return R;
|
4869
4869
|
}
|
4870
|
-
function
|
4871
|
-
return
|
4870
|
+
function Kh(e, t, o, u) {
|
4871
|
+
return Yt(e, function(d, m, _) {
|
4872
4872
|
t(u, o(d), m, _);
|
4873
4873
|
}), u;
|
4874
4874
|
}
|
4875
4875
|
function jr(e, t, o) {
|
4876
4876
|
t = wn(t, e), e = su(e, t);
|
4877
|
-
var u = e == null ? e : e[
|
4877
|
+
var u = e == null ? e : e[Jt($t(t))];
|
4878
4878
|
return u == null ? r : wt(u, e, o);
|
4879
4879
|
}
|
4880
4880
|
function yl(e) {
|
4881
4881
|
return We(e) && lt(e) == et;
|
4882
4882
|
}
|
4883
|
-
function
|
4883
|
+
function zh(e) {
|
4884
4884
|
return We(e) && lt(e) == jt;
|
4885
4885
|
}
|
4886
4886
|
function Gh(e) {
|
4887
|
-
return We(e) && lt(e) ==
|
4887
|
+
return We(e) && lt(e) == en;
|
4888
4888
|
}
|
4889
4889
|
function Br(e, t, o, u, d) {
|
4890
4890
|
return e === t ? !0 : e == null || t == null || !We(e) && !We(t) ? e !== e && t !== t : qh(e, t, o, u, Br, d);
|
@@ -4916,7 +4916,7 @@ _o.exports;
|
|
4916
4916
|
var d = o.length, m = d, _ = !u;
|
4917
4917
|
if (e == null)
|
4918
4918
|
return !m;
|
4919
|
-
for (e =
|
4919
|
+
for (e = Re(e); d--; ) {
|
4920
4920
|
var w = o[d];
|
4921
4921
|
if (_ && w[2] ? w[1] !== e[w[0]] : !(w[0] in e))
|
4922
4922
|
return !1;
|
@@ -4940,7 +4940,7 @@ _o.exports;
|
|
4940
4940
|
function xl(e) {
|
4941
4941
|
if (!Be(e) || Lg(e))
|
4942
4942
|
return !1;
|
4943
|
-
var t =
|
4943
|
+
var t = cn(e) ? Yd : tt;
|
4944
4944
|
return t.test(Un(e));
|
4945
4945
|
}
|
4946
4946
|
function Vh(e) {
|
@@ -4953,13 +4953,13 @@ _o.exports;
|
|
4953
4953
|
return We(e) && eo(e.length) && !!$e[lt(e)];
|
4954
4954
|
}
|
4955
4955
|
function wl(e) {
|
4956
|
-
return typeof e == "function" ? e : e == null ? mt : typeof e == "object" ? de(e) ? Ol(e[0], e[1]) : Sl(e) :
|
4956
|
+
return typeof e == "function" ? e : e == null ? mt : typeof e == "object" ? de(e) ? Ol(e[0], e[1]) : Sl(e) : Ku(e);
|
4957
4957
|
}
|
4958
4958
|
function ls(e) {
|
4959
4959
|
if (!Wr(e))
|
4960
4960
|
return eh(e);
|
4961
4961
|
var t = [];
|
4962
|
-
for (var o in
|
4962
|
+
for (var o in Re(e))
|
4963
4963
|
Te.call(e, o) && o != "constructor" && t.push(o);
|
4964
4964
|
return t;
|
4965
4965
|
}
|
@@ -4987,7 +4987,7 @@ _o.exports;
|
|
4987
4987
|
};
|
4988
4988
|
}
|
4989
4989
|
function Ol(e, t) {
|
4990
|
-
return Es(e) && ru(t) ? iu(
|
4990
|
+
return Es(e) && ru(t) ? iu(Jt(e), t) : function(o) {
|
4991
4991
|
var u = $s(o, e);
|
4992
4992
|
return u === r && u === t ? Fs(o, e) : Br(t, u, T | $);
|
4993
4993
|
};
|
@@ -5011,14 +5011,14 @@ _o.exports;
|
|
5011
5011
|
var P = m ? m(w, O, o + "", e, t, _) : r, F = P === r;
|
5012
5012
|
if (F) {
|
5013
5013
|
var G = de(O), Q = !G && Sn(O), oe = !G && !Q && dr(O);
|
5014
|
-
P = O, G || Q || oe ? de(w) ? P = w : qe(w) ? P = ht(w) : Q ? (F = !1, P = Fl(O, !0)) : oe ? (F = !1, P = Dl(O, !0)) : P = [] :
|
5014
|
+
P = O, G || Q || oe ? de(w) ? P = w : qe(w) ? P = ht(w) : Q ? (F = !1, P = Fl(O, !0)) : oe ? (F = !1, P = Dl(O, !0)) : P = [] : zr(O) || Hn(O) ? (P = w, Hn(w) ? P = Pu(w) : (!Be(w) || cn(w)) && (P = nu(O))) : F = !1;
|
5015
5015
|
}
|
5016
5016
|
F && (_.set(O, P), d(P, O, u, m, _), _.delete(O)), ts(e, o, P);
|
5017
5017
|
}
|
5018
5018
|
function El(e, t) {
|
5019
5019
|
var o = e.length;
|
5020
5020
|
if (o)
|
5021
|
-
return t += t < 0 ? o : 0,
|
5021
|
+
return t += t < 0 ? o : 0, un(t, o) ? e[t] : r;
|
5022
5022
|
}
|
5023
5023
|
function Il(e, t, o) {
|
5024
5024
|
t.length ? t = Fe(t, function(m) {
|
@@ -5067,7 +5067,7 @@ _o.exports;
|
|
5067
5067
|
var d = t[o];
|
5068
5068
|
if (o == u || d !== m) {
|
5069
5069
|
var m = d;
|
5070
|
-
|
5070
|
+
un(d) ? Ai.call(e, d, 1) : gs(e, d);
|
5071
5071
|
}
|
5072
5072
|
}
|
5073
5073
|
return e;
|
@@ -5104,12 +5104,12 @@ _o.exports;
|
|
5104
5104
|
return e;
|
5105
5105
|
t = wn(t, e);
|
5106
5106
|
for (var d = -1, m = t.length, _ = m - 1, w = e; w != null && ++d < m; ) {
|
5107
|
-
var O =
|
5107
|
+
var O = Jt(t[d]), R = o;
|
5108
5108
|
if (O === "__proto__" || O === "constructor" || O === "prototype")
|
5109
5109
|
return e;
|
5110
5110
|
if (d != _) {
|
5111
5111
|
var P = w[O];
|
5112
|
-
R = u ? u(P, O, w) : r, R === r && (R = Be(P) ? P :
|
5112
|
+
R = u ? u(P, O, w) : r, R === r && (R = Be(P) ? P : un(t[d + 1]) ? [] : {});
|
5113
5113
|
}
|
5114
5114
|
Fr(w, O, R), w = w[O];
|
5115
5115
|
}
|
@@ -5215,7 +5215,7 @@ _o.exports;
|
|
5215
5215
|
return w;
|
5216
5216
|
}
|
5217
5217
|
function gs(e, t) {
|
5218
|
-
return t = wn(t, e), e = su(e, t), e == null || delete e[
|
5218
|
+
return t = wn(t, e), e = su(e, t), e == null || delete e[Jt($t(t))];
|
5219
5219
|
}
|
5220
5220
|
function Rl(e, t, o, u) {
|
5221
5221
|
return Ur(e, t, o(jn(e, t)), u);
|
@@ -5283,7 +5283,7 @@ _o.exports;
|
|
5283
5283
|
return t.lastIndex = e.lastIndex, t;
|
5284
5284
|
}
|
5285
5285
|
function fg(e) {
|
5286
|
-
return $r ?
|
5286
|
+
return $r ? Re($r.call(e)) : {};
|
5287
5287
|
}
|
5288
5288
|
function Dl(e, t) {
|
5289
5289
|
var o = t ? _s(e.buffer) : e.buffer;
|
@@ -5335,20 +5335,20 @@ _o.exports;
|
|
5335
5335
|
t[o] = e[o];
|
5336
5336
|
return t;
|
5337
5337
|
}
|
5338
|
-
function
|
5338
|
+
function Vt(e, t, o, u) {
|
5339
5339
|
var d = !o;
|
5340
5340
|
o || (o = {});
|
5341
5341
|
for (var m = -1, _ = t.length; ++m < _; ) {
|
5342
5342
|
var w = t[m], O = u ? u(o[w], e[w], w, o, e) : r;
|
5343
|
-
O === r && (O = e[w]), d ?
|
5343
|
+
O === r && (O = e[w]), d ? sn(o, w, O) : Fr(o, w, O);
|
5344
5344
|
}
|
5345
5345
|
return o;
|
5346
5346
|
}
|
5347
5347
|
function hg(e, t) {
|
5348
|
-
return
|
5348
|
+
return Vt(e, Os(e), t);
|
5349
5349
|
}
|
5350
5350
|
function gg(e, t) {
|
5351
|
-
return
|
5351
|
+
return Vt(e, eu(e), t);
|
5352
5352
|
}
|
5353
5353
|
function Ui(e, t) {
|
5354
5354
|
return function(o, u) {
|
@@ -5359,7 +5359,7 @@ _o.exports;
|
|
5359
5359
|
function ur(e) {
|
5360
5360
|
return ve(function(t, o) {
|
5361
5361
|
var u = -1, d = o.length, m = d > 1 ? o[d - 1] : r, _ = d > 2 ? o[2] : r;
|
5362
|
-
for (m = e.length > 3 && typeof m == "function" ? (d--, m) : r, _ && ut(o[0], o[1], _) && (m = d < 3 ? r : m, d = 1), t =
|
5362
|
+
for (m = e.length > 3 && typeof m == "function" ? (d--, m) : r, _ && ut(o[0], o[1], _) && (m = d < 3 ? r : m, d = 1), t = Re(t); ++u < d; ) {
|
5363
5363
|
var w = o[u];
|
5364
5364
|
w && e(t, w, u, m);
|
5365
5365
|
}
|
@@ -5372,14 +5372,14 @@ _o.exports;
|
|
5372
5372
|
return o;
|
5373
5373
|
if (!gt(o))
|
5374
5374
|
return e(o, u);
|
5375
|
-
for (var d = o.length, m = t ? d : -1, _ =
|
5375
|
+
for (var d = o.length, m = t ? d : -1, _ = Re(o); (t ? m-- : ++m < d) && u(_[m], m, _) !== !1; )
|
5376
5376
|
;
|
5377
5377
|
return o;
|
5378
5378
|
};
|
5379
5379
|
}
|
5380
5380
|
function Wl(e) {
|
5381
5381
|
return function(t, o, u) {
|
5382
|
-
for (var d = -1, m =
|
5382
|
+
for (var d = -1, m = Re(t), _ = u(t), w = _.length; w--; ) {
|
5383
5383
|
var O = _[e ? w : ++d];
|
5384
5384
|
if (o(m[O], O, m) === !1)
|
5385
5385
|
break;
|
@@ -5395,7 +5395,7 @@ _o.exports;
|
|
5395
5395
|
}
|
5396
5396
|
return m;
|
5397
5397
|
}
|
5398
|
-
function
|
5398
|
+
function Kl(e) {
|
5399
5399
|
return function(t) {
|
5400
5400
|
t = Le(t);
|
5401
5401
|
var o = nr(t) ? Ut(t) : r, u = o ? o[0] : t.charAt(0), d = o ? Cn(o, 1).join("") : t.slice(1);
|
@@ -5456,9 +5456,9 @@ _o.exports;
|
|
5456
5456
|
}
|
5457
5457
|
return d;
|
5458
5458
|
}
|
5459
|
-
function
|
5459
|
+
function zl(e) {
|
5460
5460
|
return function(t, o, u) {
|
5461
|
-
var d =
|
5461
|
+
var d = Re(t);
|
5462
5462
|
if (!gt(t)) {
|
5463
5463
|
var m = re(o, 3);
|
5464
5464
|
t = Xe(t), o = function(w) {
|
@@ -5470,7 +5470,7 @@ _o.exports;
|
|
5470
5470
|
};
|
5471
5471
|
}
|
5472
5472
|
function Gl(e) {
|
5473
|
-
return
|
5473
|
+
return ln(function(t) {
|
5474
5474
|
var o = t.length, u = o, d = Rt.prototype.thru;
|
5475
5475
|
for (e && t.reverse(); u--; ) {
|
5476
5476
|
var m = t[u];
|
@@ -5516,14 +5516,14 @@ _o.exports;
|
|
5516
5516
|
R - be
|
5517
5517
|
);
|
5518
5518
|
}
|
5519
|
-
var
|
5520
|
-
return be = Ce.length, w ? Ce = $g(Ce, w) : oe && be > 1 && Ce.reverse(), P && O < be && (Ce.length = O), this && this !== nt && this instanceof se && (
|
5519
|
+
var Kt = F ? o : this, dn = G ? Kt[e] : e;
|
5520
|
+
return be = Ce.length, w ? Ce = $g(Ce, w) : oe && be > 1 && Ce.reverse(), P && O < be && (Ce.length = O), this && this !== nt && this instanceof se && (dn = ge || Hr(dn)), dn.apply(Kt, Ce);
|
5521
5521
|
}
|
5522
5522
|
return se;
|
5523
5523
|
}
|
5524
5524
|
function ql(e, t) {
|
5525
5525
|
return function(o, u) {
|
5526
|
-
return
|
5526
|
+
return Kh(o, e, t(u), {});
|
5527
5527
|
};
|
5528
5528
|
}
|
5529
5529
|
function Wi(e, t) {
|
@@ -5540,7 +5540,7 @@ _o.exports;
|
|
5540
5540
|
};
|
5541
5541
|
}
|
5542
5542
|
function bs(e) {
|
5543
|
-
return
|
5543
|
+
return ln(function(t) {
|
5544
5544
|
return t = Fe(t, Ct(re())), ve(function(o) {
|
5545
5545
|
var u = this;
|
5546
5546
|
return e(t, function(d) {
|
@@ -5549,7 +5549,7 @@ _o.exports;
|
|
5549
5549
|
});
|
5550
5550
|
});
|
5551
5551
|
}
|
5552
|
-
function
|
5552
|
+
function Ki(e, t) {
|
5553
5553
|
t = t === r ? " " : St(t);
|
5554
5554
|
var o = t.length;
|
5555
5555
|
if (o < 2)
|
@@ -5570,10 +5570,10 @@ _o.exports;
|
|
5570
5570
|
}
|
5571
5571
|
function Yl(e) {
|
5572
5572
|
return function(t, o, u) {
|
5573
|
-
return u && typeof u != "number" && ut(t, o, u) && (o = u = r), t =
|
5573
|
+
return u && typeof u != "number" && ut(t, o, u) && (o = u = r), t = fn(t), o === r ? (o = t, t = 0) : o = fn(o), u = u === r ? t < o ? 1 : -1 : fn(u), ng(t, o, u, e);
|
5574
5574
|
};
|
5575
5575
|
}
|
5576
|
-
function
|
5576
|
+
function zi(e) {
|
5577
5577
|
return function(t, o) {
|
5578
5578
|
return typeof t == "string" && typeof o == "string" || (t = Ft(t), o = Ft(o)), e(t, o);
|
5579
5579
|
};
|
@@ -5614,7 +5614,7 @@ _o.exports;
|
|
5614
5614
|
return o == yt ? Jo(t) : o == xt ? Md(t) : Id(t, e(t));
|
5615
5615
|
};
|
5616
5616
|
}
|
5617
|
-
function
|
5617
|
+
function an(e, t, o, u, d, m, _, w) {
|
5618
5618
|
var O = t & W;
|
5619
5619
|
if (!O && typeof e != "function")
|
5620
5620
|
throw new Nt(c);
|
@@ -5649,7 +5649,7 @@ _o.exports;
|
|
5649
5649
|
return Be(e) && Be(t) && (m.set(t, e), Di(e, t, r, Xl, m), m.delete(t)), e;
|
5650
5650
|
}
|
5651
5651
|
function bg(e) {
|
5652
|
-
return
|
5652
|
+
return zr(e) ? r : e;
|
5653
5653
|
}
|
5654
5654
|
function Ql(e, t, o, u, d, m) {
|
5655
5655
|
var _ = o & T, w = e.length, O = t.length;
|
@@ -5670,7 +5670,7 @@ _o.exports;
|
|
5670
5670
|
break;
|
5671
5671
|
}
|
5672
5672
|
if (Q) {
|
5673
|
-
if (!
|
5673
|
+
if (!Ko(t, function(be, Ce) {
|
5674
5674
|
if (!Tr(Q, Ce) && (oe === be || d(oe, be, o, u, m)))
|
5675
5675
|
return Q.push(Ce);
|
5676
5676
|
})) {
|
@@ -5693,13 +5693,13 @@ _o.exports;
|
|
5693
5693
|
case jt:
|
5694
5694
|
return !(e.byteLength != t.byteLength || !m(new Ei(e), new Ei(t)));
|
5695
5695
|
case bt:
|
5696
|
-
case
|
5697
|
-
case
|
5696
|
+
case en:
|
5697
|
+
case qt:
|
5698
5698
|
return Wt(+e, +t);
|
5699
5699
|
case qn:
|
5700
5700
|
return e.name == t.name && e.message == t.message;
|
5701
5701
|
case Nn:
|
5702
|
-
case
|
5702
|
+
case tn:
|
5703
5703
|
return e == t + "";
|
5704
5704
|
case yt:
|
5705
5705
|
var w = Jo;
|
@@ -5750,7 +5750,7 @@ _o.exports;
|
|
5750
5750
|
}
|
5751
5751
|
return m.delete(e), m.delete(t), ge;
|
5752
5752
|
}
|
5753
|
-
function
|
5753
|
+
function ln(e) {
|
5754
5754
|
return ks(ou(e, r, gu), e + "");
|
5755
5755
|
}
|
5756
5756
|
function xs(e) {
|
@@ -5804,7 +5804,7 @@ _o.exports;
|
|
5804
5804
|
return u && (t ? e[Mn] = o : delete e[Mn]), d;
|
5805
5805
|
}
|
5806
5806
|
var Os = Xo ? function(e) {
|
5807
|
-
return e == null ? [] : (e =
|
5807
|
+
return e == null ? [] : (e = Re(e), mn(Xo(e), function(t) {
|
5808
5808
|
return sl.call(e, t);
|
5809
5809
|
}));
|
5810
5810
|
} : Ws, eu = Xo ? function(e) {
|
@@ -5856,12 +5856,12 @@ _o.exports;
|
|
5856
5856
|
function tu(e, t, o) {
|
5857
5857
|
t = wn(t, e);
|
5858
5858
|
for (var u = -1, d = t.length, m = !1; ++u < d; ) {
|
5859
|
-
var _ =
|
5859
|
+
var _ = Jt(t[u]);
|
5860
5860
|
if (!(m = e != null && o(e, _)))
|
5861
5861
|
break;
|
5862
5862
|
e = e[_];
|
5863
5863
|
}
|
5864
|
-
return m || ++u != d ? m : (d = e == null ? 0 : e.length, !!d && eo(d) &&
|
5864
|
+
return m || ++u != d ? m : (d = e == null ? 0 : e.length, !!d && eo(d) && un(_, d) && (de(e) || Hn(e)));
|
5865
5865
|
}
|
5866
5866
|
function Og(e) {
|
5867
5867
|
var t = e.length, o = new e.constructor(t);
|
@@ -5876,7 +5876,7 @@ _o.exports;
|
|
5876
5876
|
case jt:
|
5877
5877
|
return _s(e);
|
5878
5878
|
case bt:
|
5879
|
-
case
|
5879
|
+
case en:
|
5880
5880
|
return new u(+e);
|
5881
5881
|
case pn:
|
5882
5882
|
return ug(e, o);
|
@@ -5892,8 +5892,8 @@ _o.exports;
|
|
5892
5892
|
return Dl(e, o);
|
5893
5893
|
case yt:
|
5894
5894
|
return new u();
|
5895
|
-
case
|
5896
|
-
case
|
5895
|
+
case qt:
|
5896
|
+
case tn:
|
5897
5897
|
return new u(e);
|
5898
5898
|
case Nn:
|
5899
5899
|
return cg(e);
|
@@ -5915,7 +5915,7 @@ _o.exports;
|
|
5915
5915
|
function Ag(e) {
|
5916
5916
|
return de(e) || Hn(e) || !!(al && e && e[al]);
|
5917
5917
|
}
|
5918
|
-
function
|
5918
|
+
function un(e, t) {
|
5919
5919
|
var o = typeof e;
|
5920
5920
|
return t = t ?? D, !!t && (o == "number" || o != "symbol" && He.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
5921
5921
|
}
|
@@ -5923,13 +5923,13 @@ _o.exports;
|
|
5923
5923
|
if (!Be(o))
|
5924
5924
|
return !1;
|
5925
5925
|
var u = typeof t;
|
5926
|
-
return (u == "number" ? gt(o) &&
|
5926
|
+
return (u == "number" ? gt(o) && un(t, o.length) : u == "string" && t in o) ? Wt(o[t], e) : !1;
|
5927
5927
|
}
|
5928
5928
|
function Es(e, t) {
|
5929
5929
|
if (de(e))
|
5930
5930
|
return !1;
|
5931
5931
|
var o = typeof e;
|
5932
|
-
return o == "number" || o == "symbol" || o == "boolean" || e == null || Ot(e) ? !0 : gi.test(e) || !hi.test(e) || t != null && e in
|
5932
|
+
return o == "number" || o == "symbol" || o == "boolean" || e == null || Ot(e) ? !0 : gi.test(e) || !hi.test(e) || t != null && e in Re(t);
|
5933
5933
|
}
|
5934
5934
|
function kg(e) {
|
5935
5935
|
var t = typeof e;
|
@@ -5947,7 +5947,7 @@ _o.exports;
|
|
5947
5947
|
function Lg(e) {
|
5948
5948
|
return !!rl && rl in e;
|
5949
5949
|
}
|
5950
|
-
var Tg = wi ?
|
5950
|
+
var Tg = wi ? cn : Ks;
|
5951
5951
|
function Wr(e) {
|
5952
5952
|
var t = e && e.constructor, o = typeof t == "function" && t.prototype || or;
|
5953
5953
|
return e === o;
|
@@ -5957,7 +5957,7 @@ _o.exports;
|
|
5957
5957
|
}
|
5958
5958
|
function iu(e, t) {
|
5959
5959
|
return function(o) {
|
5960
|
-
return o == null ? !1 : o[e] === t && (t !== r || e in
|
5960
|
+
return o == null ? !1 : o[e] === t && (t !== r || e in Re(o));
|
5961
5961
|
};
|
5962
5962
|
}
|
5963
5963
|
function Ng(e) {
|
@@ -5981,7 +5981,7 @@ _o.exports;
|
|
5981
5981
|
function Pg(e) {
|
5982
5982
|
var t = [];
|
5983
5983
|
if (e != null)
|
5984
|
-
for (var o in
|
5984
|
+
for (var o in Re(e))
|
5985
5985
|
t.push(o);
|
5986
5986
|
return t;
|
5987
5987
|
}
|
@@ -6004,7 +6004,7 @@ _o.exports;
|
|
6004
6004
|
function $g(e, t) {
|
6005
6005
|
for (var o = e.length, u = ot(t.length, o), d = ht(e); u--; ) {
|
6006
6006
|
var m = t[u];
|
6007
|
-
e[u] =
|
6007
|
+
e[u] = un(m, o) ? d[m] : r;
|
6008
6008
|
}
|
6009
6009
|
return e;
|
6010
6010
|
}
|
@@ -6012,7 +6012,7 @@ _o.exports;
|
|
6012
6012
|
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
6013
6013
|
return e[t];
|
6014
6014
|
}
|
6015
|
-
var au = uu(Ll),
|
6015
|
+
var au = uu(Ll), Kr = Zd || function(e, t) {
|
6016
6016
|
return nt.setTimeout(e, t);
|
6017
6017
|
}, ks = uu(og);
|
6018
6018
|
function lu(e, t, o) {
|
@@ -6022,7 +6022,7 @@ _o.exports;
|
|
6022
6022
|
function uu(e) {
|
6023
6023
|
var t = 0, o = 0;
|
6024
6024
|
return function() {
|
6025
|
-
var u = th(), d =
|
6025
|
+
var u = th(), d = K - (u - o);
|
6026
6026
|
if (o = u, d > 0) {
|
6027
6027
|
if (++t >= ye)
|
6028
6028
|
return arguments[0];
|
@@ -6045,7 +6045,7 @@ _o.exports;
|
|
6045
6045
|
t.push(d ? m.replace(ae, "$1") : u || o);
|
6046
6046
|
}), t;
|
6047
6047
|
});
|
6048
|
-
function
|
6048
|
+
function Jt(e) {
|
6049
6049
|
if (typeof e == "string" || Ot(e))
|
6050
6050
|
return e;
|
6051
6051
|
var t = e + "";
|
@@ -6109,11 +6109,11 @@ _o.exports;
|
|
6109
6109
|
var o = $t(t);
|
6110
6110
|
return qe(o) && (o = r), qe(e) ? Dr(e, rt(t, 1, qe, !0), r, o) : [];
|
6111
6111
|
});
|
6112
|
-
function
|
6112
|
+
function Kg(e, t, o) {
|
6113
6113
|
var u = e == null ? 0 : e.length;
|
6114
6114
|
return u ? (t = o || t === r ? 1 : he(t), Mt(e, t < 0 ? 0 : t, u)) : [];
|
6115
6115
|
}
|
6116
|
-
function
|
6116
|
+
function zg(e, t, o) {
|
6117
6117
|
var u = e == null ? 0 : e.length;
|
6118
6118
|
return u ? (t = o || t === r ? 1 : he(t), t = u - t, Mt(e, 0, t < 0 ? 0 : t)) : [];
|
6119
6119
|
}
|
@@ -6211,10 +6211,10 @@ _o.exports;
|
|
6211
6211
|
function lp(e, t, o) {
|
6212
6212
|
return e && e.length && t && t.length ? cs(e, t, r, o) : e;
|
6213
6213
|
}
|
6214
|
-
var up =
|
6214
|
+
var up = ln(function(e, t) {
|
6215
6215
|
var o = e == null ? 0 : e.length, u = ns(e, t);
|
6216
6216
|
return kl(e, Fe(t, function(d) {
|
6217
|
-
return
|
6217
|
+
return un(d, o) ? +d : d;
|
6218
6218
|
}).sort(jl)), u;
|
6219
6219
|
});
|
6220
6220
|
function cp(e, t) {
|
@@ -6314,7 +6314,7 @@ _o.exports;
|
|
6314
6314
|
if (qe(o))
|
6315
6315
|
return t = Ze(o.length, t), !0;
|
6316
6316
|
}), Yo(t, function(o) {
|
6317
|
-
return Fe(e,
|
6317
|
+
return Fe(e, zo(o));
|
6318
6318
|
});
|
6319
6319
|
}
|
6320
6320
|
function vu(e, t) {
|
@@ -6356,11 +6356,11 @@ _o.exports;
|
|
6356
6356
|
function Vi(e, t) {
|
6357
6357
|
return t(e);
|
6358
6358
|
}
|
6359
|
-
var Bp =
|
6359
|
+
var Bp = ln(function(e) {
|
6360
6360
|
var t = e.length, o = t ? e[0] : 0, u = this.__wrapped__, d = function(m) {
|
6361
6361
|
return ns(m, e);
|
6362
6362
|
};
|
6363
|
-
return t > 1 || this.__actions__.length || !(u instanceof we) || !
|
6363
|
+
return t > 1 || this.__actions__.length || !(u instanceof we) || !un(o) ? this.thru(d) : (u = u.slice(o, +o + (t ? 1 : 0)), u.__actions__.push({
|
6364
6364
|
func: Vi,
|
6365
6365
|
args: [d],
|
6366
6366
|
thisArg: r
|
@@ -6379,10 +6379,10 @@ _o.exports;
|
|
6379
6379
|
var e = this.__index__ >= this.__values__.length, t = e ? r : this.__values__[this.__index__++];
|
6380
6380
|
return { done: e, value: t };
|
6381
6381
|
}
|
6382
|
-
function
|
6382
|
+
function Kp() {
|
6383
6383
|
return this;
|
6384
6384
|
}
|
6385
|
-
function
|
6385
|
+
function zp(e) {
|
6386
6386
|
for (var t, o = this; o instanceof Pi; ) {
|
6387
6387
|
var u = fu(o);
|
6388
6388
|
u.__index__ = 0, u.__values__ = r, t ? d.__wrapped__ = u : t = u;
|
@@ -6407,7 +6407,7 @@ _o.exports;
|
|
6407
6407
|
return Pl(this.__wrapped__, this.__actions__);
|
6408
6408
|
}
|
6409
6409
|
var Yp = Ui(function(e, t, o) {
|
6410
|
-
Te.call(e, o) ? ++e[o] :
|
6410
|
+
Te.call(e, o) ? ++e[o] : sn(e, o, 1);
|
6411
6411
|
});
|
6412
6412
|
function Vp(e, t, o) {
|
6413
6413
|
var u = de(e) ? qa : jh;
|
@@ -6417,7 +6417,7 @@ _o.exports;
|
|
6417
6417
|
var o = de(e) ? mn : vl;
|
6418
6418
|
return o(e, re(t, 3));
|
6419
6419
|
}
|
6420
|
-
var Zp =
|
6420
|
+
var Zp = zl(du), Xp = zl(hu);
|
6421
6421
|
function Qp(e, t) {
|
6422
6422
|
return rt(Ji(e, t), 1);
|
6423
6423
|
}
|
@@ -6436,7 +6436,7 @@ _o.exports;
|
|
6436
6436
|
return o(e, re(t, 3));
|
6437
6437
|
}
|
6438
6438
|
var nm = Ui(function(e, t, o) {
|
6439
|
-
Te.call(e, o) ? e[o].push(t) :
|
6439
|
+
Te.call(e, o) ? e[o].push(t) : sn(e, o, [t]);
|
6440
6440
|
});
|
6441
6441
|
function rm(e, t, o, u) {
|
6442
6442
|
e = gt(e) ? e : hr(e), o = o && !u ? he(o) : 0;
|
@@ -6449,7 +6449,7 @@ _o.exports;
|
|
6449
6449
|
m[++u] = d ? wt(t, _, o) : jr(_, t, o);
|
6450
6450
|
}), m;
|
6451
6451
|
}), om = Ui(function(e, t, o) {
|
6452
|
-
|
6452
|
+
sn(e, o, t);
|
6453
6453
|
});
|
6454
6454
|
function Ji(e, t) {
|
6455
6455
|
var o = de(e) ? Fe : Cl;
|
@@ -6497,7 +6497,7 @@ _o.exports;
|
|
6497
6497
|
return t == yt || t == xt ? e.size : ls(e).length;
|
6498
6498
|
}
|
6499
6499
|
function pm(e, t, o) {
|
6500
|
-
var u = de(e) ?
|
6500
|
+
var u = de(e) ? Ko : ag;
|
6501
6501
|
return o && ut(e, t, o) && (t = r), u(e, re(t, 3));
|
6502
6502
|
}
|
6503
6503
|
var mm = ve(function(e, t) {
|
@@ -6517,7 +6517,7 @@ _o.exports;
|
|
6517
6517
|
};
|
6518
6518
|
}
|
6519
6519
|
function xu(e, t, o) {
|
6520
|
-
return t = o ? r : t, t = e && t == null ? e.length : t,
|
6520
|
+
return t = o ? r : t, t = e && t == null ? e.length : t, an(e, A, r, r, r, r, t);
|
6521
6521
|
}
|
6522
6522
|
function wu(e, t) {
|
6523
6523
|
var o;
|
@@ -6533,23 +6533,23 @@ _o.exports;
|
|
6533
6533
|
var d = _n(o, fr(Ns));
|
6534
6534
|
u |= H;
|
6535
6535
|
}
|
6536
|
-
return
|
6536
|
+
return an(e, u, t, o, d);
|
6537
6537
|
}), Cu = ve(function(e, t, o) {
|
6538
6538
|
var u = U | W;
|
6539
6539
|
if (o.length) {
|
6540
6540
|
var d = _n(o, fr(Cu));
|
6541
6541
|
u |= H;
|
6542
6542
|
}
|
6543
|
-
return
|
6543
|
+
return an(t, u, e, o, d);
|
6544
6544
|
});
|
6545
6545
|
function Su(e, t, o) {
|
6546
6546
|
t = o ? r : t;
|
6547
|
-
var u =
|
6547
|
+
var u = an(e, Z, r, r, r, r, r, t);
|
6548
6548
|
return u.placeholder = Su.placeholder, u;
|
6549
6549
|
}
|
6550
6550
|
function Ou(e, t, o) {
|
6551
6551
|
t = o ? r : t;
|
6552
|
-
var u =
|
6552
|
+
var u = an(e, B, r, r, r, r, r, t);
|
6553
6553
|
return u.placeholder = Ou.placeholder, u;
|
6554
6554
|
}
|
6555
6555
|
function Eu(e, t, o) {
|
@@ -6558,25 +6558,25 @@ _o.exports;
|
|
6558
6558
|
throw new Nt(c);
|
6559
6559
|
t = Ft(t) || 0, Be(o) && (P = !!o.leading, F = "maxWait" in o, m = F ? Ze(Ft(o.maxWait) || 0, t) : m, G = "trailing" in o ? !!o.trailing : G);
|
6560
6560
|
function Q(Ye) {
|
6561
|
-
var
|
6562
|
-
return u = d = r, R = Ye, _ = e.apply(
|
6561
|
+
var Kt = u, dn = d;
|
6562
|
+
return u = d = r, R = Ye, _ = e.apply(dn, Kt), _;
|
6563
6563
|
}
|
6564
6564
|
function oe(Ye) {
|
6565
|
-
return R = Ye, w =
|
6565
|
+
return R = Ye, w = Kr(be, t), P ? Q(Ye) : _;
|
6566
6566
|
}
|
6567
6567
|
function ge(Ye) {
|
6568
|
-
var
|
6569
|
-
return F ? ot(
|
6568
|
+
var Kt = Ye - O, dn = Ye - R, zu = t - Kt;
|
6569
|
+
return F ? ot(zu, m - dn) : zu;
|
6570
6570
|
}
|
6571
6571
|
function se(Ye) {
|
6572
|
-
var
|
6573
|
-
return O === r ||
|
6572
|
+
var Kt = Ye - O, dn = Ye - R;
|
6573
|
+
return O === r || Kt >= t || Kt < 0 || F && dn >= m;
|
6574
6574
|
}
|
6575
6575
|
function be() {
|
6576
6576
|
var Ye = Zi();
|
6577
6577
|
if (se(Ye))
|
6578
6578
|
return Ce(Ye);
|
6579
|
-
w =
|
6579
|
+
w = Kr(be, ge(Ye));
|
6580
6580
|
}
|
6581
6581
|
function Ce(Ye) {
|
6582
6582
|
return w = r, G && u ? Q(Ye) : (u = d = r, _);
|
@@ -6588,14 +6588,14 @@ _o.exports;
|
|
6588
6588
|
return w === r ? _ : Ce(Zi());
|
6589
6589
|
}
|
6590
6590
|
function It() {
|
6591
|
-
var Ye = Zi(),
|
6592
|
-
if (u = arguments, d = this, O = Ye,
|
6591
|
+
var Ye = Zi(), Kt = se(Ye);
|
6592
|
+
if (u = arguments, d = this, O = Ye, Kt) {
|
6593
6593
|
if (w === r)
|
6594
6594
|
return oe(O);
|
6595
6595
|
if (F)
|
6596
|
-
return $l(w), w =
|
6596
|
+
return $l(w), w = Kr(be, t), Q(O);
|
6597
6597
|
}
|
6598
|
-
return w === r && (w =
|
6598
|
+
return w === r && (w = Kr(be, t)), _;
|
6599
6599
|
}
|
6600
6600
|
return It.cancel = Et, It.flush = ct, It;
|
6601
6601
|
}
|
@@ -6605,7 +6605,7 @@ _o.exports;
|
|
6605
6605
|
return pl(e, Ft(t) || 0, o);
|
6606
6606
|
});
|
6607
6607
|
function ym(e) {
|
6608
|
-
return
|
6608
|
+
return an(e, X);
|
6609
6609
|
}
|
6610
6610
|
function Xi(e, t) {
|
6611
6611
|
if (typeof e != "function" || t != null && typeof t != "function")
|
@@ -6617,9 +6617,9 @@ _o.exports;
|
|
6617
6617
|
var _ = e.apply(this, u);
|
6618
6618
|
return o.cache = m.set(d, _) || m, _;
|
6619
6619
|
};
|
6620
|
-
return o.cache = new (Xi.Cache ||
|
6620
|
+
return o.cache = new (Xi.Cache || on)(), o;
|
6621
6621
|
}
|
6622
|
-
Xi.Cache =
|
6622
|
+
Xi.Cache = on;
|
6623
6623
|
function Qi(e) {
|
6624
6624
|
if (typeof e != "function")
|
6625
6625
|
throw new Nt(c);
|
@@ -6651,12 +6651,12 @@ _o.exports;
|
|
6651
6651
|
});
|
6652
6652
|
}), Rs = ve(function(e, t) {
|
6653
6653
|
var o = _n(t, fr(Rs));
|
6654
|
-
return
|
6654
|
+
return an(e, H, r, t, o);
|
6655
6655
|
}), Iu = ve(function(e, t) {
|
6656
6656
|
var o = _n(t, fr(Iu));
|
6657
|
-
return
|
6658
|
-
}), Cm =
|
6659
|
-
return
|
6657
|
+
return an(e, M, r, t, o);
|
6658
|
+
}), Cm = ln(function(e, t) {
|
6659
|
+
return an(e, Y, r, r, r, t);
|
6660
6660
|
});
|
6661
6661
|
function Sm(e, t) {
|
6662
6662
|
if (typeof e != "function")
|
@@ -6711,15 +6711,15 @@ _o.exports;
|
|
6711
6711
|
function Wt(e, t) {
|
6712
6712
|
return e === t || e !== e && t !== t;
|
6713
6713
|
}
|
6714
|
-
var Mm =
|
6714
|
+
var Mm = zi(os), $m = zi(function(e, t) {
|
6715
6715
|
return e >= t;
|
6716
6716
|
}), Hn = yl(/* @__PURE__ */ function() {
|
6717
6717
|
return arguments;
|
6718
6718
|
}()) ? yl : function(e) {
|
6719
6719
|
return We(e) && Te.call(e, "callee") && !sl.call(e, "callee");
|
6720
|
-
}, de = E.isArray, Fm = Ua ? Ct(Ua) :
|
6720
|
+
}, de = E.isArray, Fm = Ua ? Ct(Ua) : zh;
|
6721
6721
|
function gt(e) {
|
6722
|
-
return e != null && eo(e.length) && !
|
6722
|
+
return e != null && eo(e.length) && !cn(e);
|
6723
6723
|
}
|
6724
6724
|
function qe(e) {
|
6725
6725
|
return We(e) && gt(e);
|
@@ -6727,9 +6727,9 @@ _o.exports;
|
|
6727
6727
|
function Dm(e) {
|
6728
6728
|
return e === !0 || e === !1 || We(e) && lt(e) == bt;
|
6729
6729
|
}
|
6730
|
-
var Sn = Xd ||
|
6730
|
+
var Sn = Xd || Ks, jm = Ha ? Ct(Ha) : Gh;
|
6731
6731
|
function Bm(e) {
|
6732
|
-
return We(e) && e.nodeType === 1 && !
|
6732
|
+
return We(e) && e.nodeType === 1 && !zr(e);
|
6733
6733
|
}
|
6734
6734
|
function Um(e) {
|
6735
6735
|
if (e == null)
|
@@ -6758,12 +6758,12 @@ _o.exports;
|
|
6758
6758
|
if (!We(e))
|
6759
6759
|
return !1;
|
6760
6760
|
var t = lt(e);
|
6761
|
-
return t == qn || t == Gn || typeof e.message == "string" && typeof e.name == "string" && !
|
6761
|
+
return t == qn || t == Gn || typeof e.message == "string" && typeof e.name == "string" && !zr(e);
|
6762
6762
|
}
|
6763
|
-
function
|
6763
|
+
function Km(e) {
|
6764
6764
|
return typeof e == "number" && ll(e);
|
6765
6765
|
}
|
6766
|
-
function
|
6766
|
+
function cn(e) {
|
6767
6767
|
if (!Be(e))
|
6768
6768
|
return !1;
|
6769
6769
|
var t = lt(e);
|
@@ -6783,7 +6783,7 @@ _o.exports;
|
|
6783
6783
|
return e != null && typeof e == "object";
|
6784
6784
|
}
|
6785
6785
|
var ku = Wa ? Ct(Wa) : Yh;
|
6786
|
-
function
|
6786
|
+
function zm(e, t) {
|
6787
6787
|
return e === t || as(e, t, Ss(t));
|
6788
6788
|
}
|
6789
6789
|
function Gm(e, t, o) {
|
@@ -6804,9 +6804,9 @@ _o.exports;
|
|
6804
6804
|
return e == null;
|
6805
6805
|
}
|
6806
6806
|
function Lu(e) {
|
6807
|
-
return typeof e == "number" || We(e) && lt(e) ==
|
6807
|
+
return typeof e == "number" || We(e) && lt(e) == qt;
|
6808
6808
|
}
|
6809
|
-
function
|
6809
|
+
function zr(e) {
|
6810
6810
|
if (!We(e) || lt(e) != kt)
|
6811
6811
|
return !1;
|
6812
6812
|
var t = Ii(e);
|
@@ -6815,13 +6815,13 @@ _o.exports;
|
|
6815
6815
|
var o = Te.call(t, "constructor") && t.constructor;
|
6816
6816
|
return typeof o == "function" && o instanceof o && Ci.call(o) == Gd;
|
6817
6817
|
}
|
6818
|
-
var Ms =
|
6818
|
+
var Ms = Ka ? Ct(Ka) : Vh;
|
6819
6819
|
function Zm(e) {
|
6820
6820
|
return Au(e) && e >= -D && e <= D;
|
6821
6821
|
}
|
6822
|
-
var Tu =
|
6822
|
+
var Tu = za ? Ct(za) : Jh;
|
6823
6823
|
function to(e) {
|
6824
|
-
return typeof e == "string" || !de(e) && We(e) && lt(e) ==
|
6824
|
+
return typeof e == "string" || !de(e) && We(e) && lt(e) == tn;
|
6825
6825
|
}
|
6826
6826
|
function Ot(e) {
|
6827
6827
|
return typeof e == "symbol" || We(e) && lt(e) == Jn;
|
@@ -6836,7 +6836,7 @@ _o.exports;
|
|
6836
6836
|
function e0(e) {
|
6837
6837
|
return We(e) && lt(e) == li;
|
6838
6838
|
}
|
6839
|
-
var t0 =
|
6839
|
+
var t0 = zi(us), n0 = zi(function(e, t) {
|
6840
6840
|
return e <= t;
|
6841
6841
|
});
|
6842
6842
|
function Nu(e) {
|
@@ -6849,7 +6849,7 @@ _o.exports;
|
|
6849
6849
|
var t = st(e), o = t == yt ? Jo : t == xt ? yi : hr;
|
6850
6850
|
return o(e);
|
6851
6851
|
}
|
6852
|
-
function
|
6852
|
+
function fn(e) {
|
6853
6853
|
if (!e)
|
6854
6854
|
return e === 0 ? e : 0;
|
6855
6855
|
if (e = Ft(e), e === le || e === -le) {
|
@@ -6859,7 +6859,7 @@ _o.exports;
|
|
6859
6859
|
return e === e ? e : 0;
|
6860
6860
|
}
|
6861
6861
|
function he(e) {
|
6862
|
-
var t =
|
6862
|
+
var t = fn(e), o = t % 1;
|
6863
6863
|
return t === t ? o ? t - o : t : 0;
|
6864
6864
|
}
|
6865
6865
|
function Ru(e) {
|
@@ -6881,7 +6881,7 @@ _o.exports;
|
|
6881
6881
|
return o || je.test(e) ? vd(e.slice(2), o ? 2 : 8) : xe.test(e) ? me : +e;
|
6882
6882
|
}
|
6883
6883
|
function Pu(e) {
|
6884
|
-
return
|
6884
|
+
return Vt(e, pt(e));
|
6885
6885
|
}
|
6886
6886
|
function r0(e) {
|
6887
6887
|
return e ? Dn(he(e), -D, D) : e === 0 ? e : 0;
|
@@ -6891,24 +6891,24 @@ _o.exports;
|
|
6891
6891
|
}
|
6892
6892
|
var i0 = ur(function(e, t) {
|
6893
6893
|
if (Wr(t) || gt(t)) {
|
6894
|
-
|
6894
|
+
Vt(t, Xe(t), e);
|
6895
6895
|
return;
|
6896
6896
|
}
|
6897
6897
|
for (var o in t)
|
6898
6898
|
Te.call(t, o) && Fr(e, o, t[o]);
|
6899
6899
|
}), Mu = ur(function(e, t) {
|
6900
|
-
|
6900
|
+
Vt(t, pt(t), e);
|
6901
6901
|
}), no = ur(function(e, t, o, u) {
|
6902
|
-
|
6902
|
+
Vt(t, pt(t), e, u);
|
6903
6903
|
}), o0 = ur(function(e, t, o, u) {
|
6904
|
-
|
6905
|
-
}), s0 =
|
6904
|
+
Vt(t, Xe(t), e, u);
|
6905
|
+
}), s0 = ln(ns);
|
6906
6906
|
function a0(e, t) {
|
6907
6907
|
var o = lr(e);
|
6908
6908
|
return t == null ? o : hl(o, t);
|
6909
6909
|
}
|
6910
6910
|
var l0 = ve(function(e, t) {
|
6911
|
-
e =
|
6911
|
+
e = Re(e);
|
6912
6912
|
var o = -1, u = t.length, d = u > 2 ? t[2] : r;
|
6913
6913
|
for (d && ut(t[0], t[1], d) && (u = 1); ++o < u; )
|
6914
6914
|
for (var m = t[o], _ = pt(m), w = -1, O = _.length; ++w < O; ) {
|
@@ -6920,7 +6920,7 @@ _o.exports;
|
|
6920
6920
|
return e.push(r, Xl), wt($u, r, e);
|
6921
6921
|
});
|
6922
6922
|
function c0(e, t) {
|
6923
|
-
return Ya(e, re(t, 3),
|
6923
|
+
return Ya(e, re(t, 3), Yt);
|
6924
6924
|
}
|
6925
6925
|
function f0(e, t) {
|
6926
6926
|
return Ya(e, re(t, 3), is);
|
@@ -6932,7 +6932,7 @@ _o.exports;
|
|
6932
6932
|
return e == null ? e : _l(e, re(t, 3), pt);
|
6933
6933
|
}
|
6934
6934
|
function g0(e, t) {
|
6935
|
-
return e &&
|
6935
|
+
return e && Yt(e, re(t, 3));
|
6936
6936
|
}
|
6937
6937
|
function p0(e, t) {
|
6938
6938
|
return e && is(e, re(t, 3));
|
@@ -6966,28 +6966,28 @@ _o.exports;
|
|
6966
6966
|
}
|
6967
6967
|
function w0(e, t) {
|
6968
6968
|
var o = {};
|
6969
|
-
return t = re(t, 3),
|
6970
|
-
|
6969
|
+
return t = re(t, 3), Yt(e, function(u, d, m) {
|
6970
|
+
sn(o, t(u, d, m), u);
|
6971
6971
|
}), o;
|
6972
6972
|
}
|
6973
6973
|
function C0(e, t) {
|
6974
6974
|
var o = {};
|
6975
|
-
return t = re(t, 3),
|
6976
|
-
|
6975
|
+
return t = re(t, 3), Yt(e, function(u, d, m) {
|
6976
|
+
sn(o, d, t(u, d, m));
|
6977
6977
|
}), o;
|
6978
6978
|
}
|
6979
6979
|
var S0 = ur(function(e, t, o) {
|
6980
6980
|
Di(e, t, o);
|
6981
6981
|
}), $u = ur(function(e, t, o, u) {
|
6982
6982
|
Di(e, t, o, u);
|
6983
|
-
}), O0 =
|
6983
|
+
}), O0 = ln(function(e, t) {
|
6984
6984
|
var o = {};
|
6985
6985
|
if (e == null)
|
6986
6986
|
return o;
|
6987
6987
|
var u = !1;
|
6988
6988
|
t = Fe(t, function(m) {
|
6989
6989
|
return m = wn(m, e), u || (u = m.length > 1), m;
|
6990
|
-
}),
|
6990
|
+
}), Vt(e, ws(e), o), u && (o = Pt(o, b | x | k, bg));
|
6991
6991
|
for (var d = t.length; d--; )
|
6992
6992
|
gs(o, t[d]);
|
6993
6993
|
return o;
|
@@ -6995,7 +6995,7 @@ _o.exports;
|
|
6995
6995
|
function E0(e, t) {
|
6996
6996
|
return Fu(e, Qi(re(t)));
|
6997
6997
|
}
|
6998
|
-
var I0 =
|
6998
|
+
var I0 = ln(function(e, t) {
|
6999
6999
|
return e == null ? {} : eg(e, t);
|
7000
7000
|
});
|
7001
7001
|
function Fu(e, t) {
|
@@ -7012,8 +7012,8 @@ _o.exports;
|
|
7012
7012
|
t = wn(t, e);
|
7013
7013
|
var u = -1, d = t.length;
|
7014
7014
|
for (d || (d = 1, e = r); ++u < d; ) {
|
7015
|
-
var m = e == null ? r : e[
|
7016
|
-
m === r && (u = d, m = o), e =
|
7015
|
+
var m = e == null ? r : e[Jt(t[u])];
|
7016
|
+
m === r && (u = d, m = o), e = cn(m) ? m.call(e) : m;
|
7017
7017
|
}
|
7018
7018
|
return e;
|
7019
7019
|
}
|
@@ -7028,9 +7028,9 @@ _o.exports;
|
|
7028
7028
|
var u = de(e), d = u || Sn(e) || dr(e);
|
7029
7029
|
if (t = re(t, 4), o == null) {
|
7030
7030
|
var m = e && e.constructor;
|
7031
|
-
d ? o = u ? new m() : [] : Be(e) ? o =
|
7031
|
+
d ? o = u ? new m() : [] : Be(e) ? o = cn(m) ? lr(Ii(e)) : {} : o = {};
|
7032
7032
|
}
|
7033
|
-
return (d ? Tt :
|
7033
|
+
return (d ? Tt : Yt)(e, function(_, w, O) {
|
7034
7034
|
return t(o, _, w, O);
|
7035
7035
|
}), o;
|
7036
7036
|
}
|
@@ -7053,10 +7053,10 @@ _o.exports;
|
|
7053
7053
|
return o === r && (o = t, t = r), o !== r && (o = Ft(o), o = o === o ? o : 0), t !== r && (t = Ft(t), t = t === t ? t : 0), Dn(Ft(e), t, o);
|
7054
7054
|
}
|
7055
7055
|
function F0(e, t, o) {
|
7056
|
-
return t =
|
7056
|
+
return t = fn(t), o === r ? (o = t, t = 0) : o = fn(o), e = Ft(e), Wh(e, t, o);
|
7057
7057
|
}
|
7058
7058
|
function D0(e, t, o) {
|
7059
|
-
if (o && typeof o != "boolean" && ut(e, t, o) && (t = o = r), o === r && (typeof t == "boolean" ? (o = t, t = r) : typeof e == "boolean" && (o = e, e = r)), e === r && t === r ? (e = 0, t = 1) : (e =
|
7059
|
+
if (o && typeof o != "boolean" && ut(e, t, o) && (t = o = r), o === r && (typeof t == "boolean" ? (o = t, t = r) : typeof e == "boolean" && (o = e, e = r)), e === r && t === r ? (e = 0, t = 1) : (e = fn(e), t === r ? (t = e, e = 0) : t = fn(t)), e > t) {
|
7060
7060
|
var u = e;
|
7061
7061
|
e = t, t = u;
|
7062
7062
|
}
|
@@ -7090,26 +7090,26 @@ _o.exports;
|
|
7090
7090
|
}
|
7091
7091
|
var W0 = cr(function(e, t, o) {
|
7092
7092
|
return e + (o ? "-" : "") + t.toLowerCase();
|
7093
|
-
}),
|
7093
|
+
}), K0 = cr(function(e, t, o) {
|
7094
7094
|
return e + (o ? " " : "") + t.toLowerCase();
|
7095
|
-
}),
|
7095
|
+
}), z0 = Kl("toLowerCase");
|
7096
7096
|
function G0(e, t, o) {
|
7097
7097
|
e = Le(e), t = he(t);
|
7098
7098
|
var u = t ? rr(e) : 0;
|
7099
7099
|
if (!t || u >= t)
|
7100
7100
|
return e;
|
7101
7101
|
var d = (t - u) / 2;
|
7102
|
-
return
|
7102
|
+
return Ki(Ti(d), o) + e + Ki(Li(d), o);
|
7103
7103
|
}
|
7104
7104
|
function q0(e, t, o) {
|
7105
7105
|
e = Le(e), t = he(t);
|
7106
7106
|
var u = t ? rr(e) : 0;
|
7107
|
-
return t && u < t ? e +
|
7107
|
+
return t && u < t ? e + Ki(t - u, o) : e;
|
7108
7108
|
}
|
7109
7109
|
function Y0(e, t, o) {
|
7110
7110
|
e = Le(e), t = he(t);
|
7111
7111
|
var u = t ? rr(e) : 0;
|
7112
|
-
return t && u < t ?
|
7112
|
+
return t && u < t ? Ki(t - u, o) + e : e;
|
7113
7113
|
}
|
7114
7114
|
function V0(e, t, o) {
|
7115
7115
|
return o || t == null ? t = 0 : t && (t = +t), nh(Le(e).replace(Lr, ""), t || 0);
|
@@ -7157,7 +7157,7 @@ __p += '`), Ce && (F += `' +
|
|
7157
7157
|
` + F + `
|
7158
7158
|
}
|
7159
7159
|
`;
|
7160
|
-
else if (
|
7160
|
+
else if (z.test(oe))
|
7161
7161
|
throw new fe(f);
|
7162
7162
|
F = (O ? F.replace(ko, "") : F).replace(Ir, "$1").replace(ui, "$1;"), F = "function(" + (oe || "obj") + `) {
|
7163
7163
|
` + (oe ? "" : `obj || (obj = {});
|
@@ -7237,11 +7237,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
7237
7237
|
return O + u;
|
7238
7238
|
}
|
7239
7239
|
function uv(e) {
|
7240
|
-
return e = Le(e), e && Ar.test(e) ? e.replace(
|
7240
|
+
return e = Le(e), e && Ar.test(e) ? e.replace(nn, Dd) : e;
|
7241
7241
|
}
|
7242
7242
|
var cv = cr(function(e, t, o) {
|
7243
7243
|
return e + (o ? " " : "") + t.toUpperCase();
|
7244
|
-
}), Ds =
|
7244
|
+
}), Ds = Kl("toUpperCase");
|
7245
7245
|
function Hu(e, t, o) {
|
7246
7246
|
return e = Le(e), t = o ? r : t, t === r ? Rd(e) ? Ud(e) : Sd(e) : e.match(t) || [];
|
7247
7247
|
}
|
@@ -7251,9 +7251,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
7251
7251
|
} catch (o) {
|
7252
7252
|
return Ps(o) ? o : new fe(o);
|
7253
7253
|
}
|
7254
|
-
}), fv =
|
7254
|
+
}), fv = ln(function(e, t) {
|
7255
7255
|
return Tt(t, function(o) {
|
7256
|
-
o =
|
7256
|
+
o = Jt(o), sn(e, o, Ns(e[o], e));
|
7257
7257
|
}), e;
|
7258
7258
|
});
|
7259
7259
|
function dv(e) {
|
@@ -7306,7 +7306,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7306
7306
|
function Us(e, t, o) {
|
7307
7307
|
var u = Xe(t), d = Fi(t, u);
|
7308
7308
|
o == null && !(Be(t) && (d.length || !u.length)) && (o = t, t = e, e = this, d = Fi(t, Xe(t)));
|
7309
|
-
var m = !(Be(o) && "chain" in o) || !!o.chain, _ =
|
7309
|
+
var m = !(Be(o) && "chain" in o) || !!o.chain, _ = cn(e);
|
7310
7310
|
return Tt(d, function(w) {
|
7311
7311
|
var O = t[w];
|
7312
7312
|
e[w] = O, _ && (e.prototype[w] = function() {
|
@@ -7329,9 +7329,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
7329
7329
|
return El(t, e);
|
7330
7330
|
});
|
7331
7331
|
}
|
7332
|
-
var Cv = bs(Fe), Sv = bs(qa), Ov = bs(
|
7333
|
-
function
|
7334
|
-
return Es(e) ?
|
7332
|
+
var Cv = bs(Fe), Sv = bs(qa), Ov = bs(Ko);
|
7333
|
+
function Ku(e) {
|
7334
|
+
return Es(e) ? zo(Jt(e)) : tg(e);
|
7335
7335
|
}
|
7336
7336
|
function Ev(e) {
|
7337
7337
|
return function(t) {
|
@@ -7342,7 +7342,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7342
7342
|
function Ws() {
|
7343
7343
|
return [];
|
7344
7344
|
}
|
7345
|
-
function
|
7345
|
+
function Ks() {
|
7346
7346
|
return !1;
|
7347
7347
|
}
|
7348
7348
|
function kv() {
|
@@ -7364,10 +7364,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
7364
7364
|
return d;
|
7365
7365
|
}
|
7366
7366
|
function Rv(e) {
|
7367
|
-
return de(e) ? Fe(e,
|
7367
|
+
return de(e) ? Fe(e, Jt) : Ot(e) ? [e] : ht(cu(Le(e)));
|
7368
7368
|
}
|
7369
7369
|
function Pv(e) {
|
7370
|
-
var t = ++
|
7370
|
+
var t = ++zd;
|
7371
7371
|
return Le(e) + t;
|
7372
7372
|
}
|
7373
7373
|
var Mv = Wi(function(e, t) {
|
@@ -7390,10 +7390,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
7390
7390
|
function Wv(e) {
|
7391
7391
|
return e && e.length ? $i(e, mt, us) : r;
|
7392
7392
|
}
|
7393
|
-
function
|
7393
|
+
function Kv(e, t) {
|
7394
7394
|
return e && e.length ? $i(e, re(t, 2), us) : r;
|
7395
7395
|
}
|
7396
|
-
var
|
7396
|
+
var zv = Wi(function(e, t) {
|
7397
7397
|
return e * t;
|
7398
7398
|
}, 1), Gv = ys("round"), qv = Wi(function(e, t) {
|
7399
7399
|
return e - t;
|
@@ -7404,9 +7404,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
7404
7404
|
function Vv(e, t) {
|
7405
7405
|
return e && e.length ? qo(e, re(t, 2)) : 0;
|
7406
7406
|
}
|
7407
|
-
return g.after = vm, g.ary = xu, g.assign = i0, g.assignIn = Mu, g.assignInWith = no, g.assignWith = o0, g.at = s0, g.before = wu, g.bind = Ns, g.bindAll = fv, g.bindKey = Cu, g.castArray = km, g.chain = _u, g.chunk = Dg, g.compact = jg, g.concat = Bg, g.cond = dv, g.conforms = hv, g.constant = js, g.countBy = Yp, g.create = a0, g.curry = Su, g.curryRight = Ou, g.debounce = Eu, g.defaults = l0, g.defaultsDeep = u0, g.defer = _m, g.delay = bm, g.difference = Ug, g.differenceBy = Hg, g.differenceWith = Wg, g.drop =
|
7407
|
+
return g.after = vm, g.ary = xu, g.assign = i0, g.assignIn = Mu, g.assignInWith = no, g.assignWith = o0, g.at = s0, g.before = wu, g.bind = Ns, g.bindAll = fv, g.bindKey = Cu, g.castArray = km, g.chain = _u, g.chunk = Dg, g.compact = jg, g.concat = Bg, g.cond = dv, g.conforms = hv, g.constant = js, g.countBy = Yp, g.create = a0, g.curry = Su, g.curryRight = Ou, g.debounce = Eu, g.defaults = l0, g.defaultsDeep = u0, g.defer = _m, g.delay = bm, g.difference = Ug, g.differenceBy = Hg, g.differenceWith = Wg, g.drop = Kg, g.dropRight = zg, g.dropRightWhile = Gg, g.dropWhile = qg, g.fill = Yg, g.filter = Jp, g.flatMap = Qp, g.flatMapDeep = em, g.flatMapDepth = tm, g.flatten = gu, g.flattenDeep = Vg, g.flattenDepth = Jg, g.flip = ym, g.flow = pv, g.flowRight = mv, g.fromPairs = Zg, g.functions = m0, g.functionsIn = v0, g.groupBy = nm, g.initial = Qg, g.intersection = ep, g.intersectionBy = tp, g.intersectionWith = np, g.invert = b0, g.invertBy = y0, g.invokeMap = im, g.iteratee = Bs, g.keyBy = om, g.keys = Xe, g.keysIn = pt, g.map = Ji, g.mapKeys = w0, g.mapValues = C0, g.matches = vv, g.matchesProperty = _v, g.memoize = Xi, g.merge = S0, g.mergeWith = $u, g.method = bv, g.methodOf = yv, g.mixin = Us, g.negate = Qi, g.nthArg = wv, g.omit = O0, g.omitBy = E0, g.once = xm, g.orderBy = sm, g.over = Cv, g.overArgs = wm, g.overEvery = Sv, g.overSome = Ov, g.partial = Rs, g.partialRight = Iu, g.partition = am, g.pick = I0, g.pickBy = Fu, g.property = Ku, g.propertyOf = Ev, g.pull = sp, g.pullAll = mu, g.pullAllBy = ap, g.pullAllWith = lp, g.pullAt = up, g.range = Iv, g.rangeRight = Av, g.rearg = Cm, g.reject = cm, g.remove = cp, g.rest = Sm, g.reverse = Ls, g.sampleSize = dm, g.set = k0, g.setWith = L0, g.shuffle = hm, g.slice = fp, g.sortBy = mm, g.sortedUniq = _p, g.sortedUniqBy = bp, g.split = Q0, g.spread = Om, g.tail = yp, g.take = xp, g.takeRight = wp, g.takeRightWhile = Cp, g.takeWhile = Sp, g.tap = jp, g.throttle = Em, g.thru = Vi, g.toArray = Nu, g.toPairs = Du, g.toPairsIn = ju, g.toPath = Rv, g.toPlainObject = Pu, g.transform = T0, g.unary = Im, g.union = Op, g.unionBy = Ep, g.unionWith = Ip, g.uniq = Ap, g.uniqBy = kp, g.uniqWith = Lp, g.unset = N0, g.unzip = Ts, g.unzipWith = vu, g.update = R0, g.updateWith = P0, g.values = hr, g.valuesIn = M0, g.without = Tp, g.words = Hu, g.wrap = Am, g.xor = Np, g.xorBy = Rp, g.xorWith = Pp, g.zip = Mp, g.zipObject = $p, g.zipObjectDeep = Fp, g.zipWith = Dp, g.entries = Du, g.entriesIn = ju, g.extend = Mu, g.extendWith = no, Us(g, g), g.add = Mv, g.attempt = Wu, g.camelCase = j0, g.capitalize = Bu, g.ceil = $v, g.clamp = $0, g.clone = Lm, g.cloneDeep = Nm, g.cloneDeepWith = Rm, g.cloneWith = Tm, g.conformsTo = Pm, g.deburr = Uu, g.defaultTo = gv, g.divide = Fv, g.endsWith = B0, g.eq = Wt, g.escape = U0, g.escapeRegExp = H0, g.every = Vp, g.find = Zp, g.findIndex = du, g.findKey = c0, g.findLast = Xp, g.findLastIndex = hu, g.findLastKey = f0, g.floor = Dv, g.forEach = bu, g.forEachRight = yu, g.forIn = d0, g.forInRight = h0, g.forOwn = g0, g.forOwnRight = p0, g.get = $s, g.gt = Mm, g.gte = $m, g.has = _0, g.hasIn = Fs, g.head = pu, g.identity = mt, g.includes = rm, g.indexOf = Xg, g.inRange = F0, g.invoke = x0, g.isArguments = Hn, g.isArray = de, g.isArrayBuffer = Fm, g.isArrayLike = gt, g.isArrayLikeObject = qe, g.isBoolean = Dm, g.isBuffer = Sn, g.isDate = jm, g.isElement = Bm, g.isEmpty = Um, g.isEqual = Hm, g.isEqualWith = Wm, g.isError = Ps, g.isFinite = Km, g.isFunction = cn, g.isInteger = Au, g.isLength = eo, g.isMap = ku, g.isMatch = zm, g.isMatchWith = Gm, g.isNaN = qm, g.isNative = Ym, g.isNil = Jm, g.isNull = Vm, g.isNumber = Lu, g.isObject = Be, g.isObjectLike = We, g.isPlainObject = zr, g.isRegExp = Ms, g.isSafeInteger = Zm, g.isSet = Tu, g.isString = to, g.isSymbol = Ot, g.isTypedArray = dr, g.isUndefined = Xm, g.isWeakMap = Qm, g.isWeakSet = e0, g.join = rp, g.kebabCase = W0, g.last = $t, g.lastIndexOf = ip, g.lowerCase = K0, g.lowerFirst = z0, g.lt = t0, g.lte = n0, g.max = jv, g.maxBy = Bv, g.mean = Uv, g.meanBy = Hv, g.min = Wv, g.minBy = Kv, g.stubArray = Ws, g.stubFalse = Ks, g.stubObject = kv, g.stubString = Lv, g.stubTrue = Tv, g.multiply = zv, g.nth = op, g.noConflict = xv, g.noop = Hs, g.now = Zi, g.pad = G0, g.padEnd = q0, g.padStart = Y0, g.parseInt = V0, g.random = D0, g.reduce = lm, g.reduceRight = um, g.repeat = J0, g.replace = Z0, g.result = A0, g.round = Gv, g.runInContext = S, g.sample = fm, g.size = gm, g.snakeCase = X0, g.some = pm, g.sortedIndex = dp, g.sortedIndexBy = hp, g.sortedIndexOf = gp, g.sortedLastIndex = pp, g.sortedLastIndexBy = mp, g.sortedLastIndexOf = vp, g.startCase = ev, g.startsWith = tv, g.subtract = qv, g.sum = Yv, g.sumBy = Vv, g.template = nv, g.times = Nv, g.toFinite = fn, g.toInteger = he, g.toLength = Ru, g.toLower = rv, g.toNumber = Ft, g.toSafeInteger = r0, g.toString = Le, g.toUpper = iv, g.trim = ov, g.trimEnd = sv, g.trimStart = av, g.truncate = lv, g.unescape = uv, g.uniqueId = Pv, g.upperCase = cv, g.upperFirst = Ds, g.each = bu, g.eachRight = yu, g.first = pu, Us(g, function() {
|
7408
7408
|
var e = {};
|
7409
|
-
return
|
7409
|
+
return Yt(g, function(t, o) {
|
7410
7410
|
Te.call(g.prototype, o) || (e[o] = t);
|
7411
7411
|
}), e;
|
7412
7412
|
}(), { chain: !1 }), g.VERSION = s, Tt(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
@@ -7461,7 +7461,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7461
7461
|
return this.reverse().takeWhile(e).reverse();
|
7462
7462
|
}, we.prototype.toArray = function() {
|
7463
7463
|
return this.take(ue);
|
7464
|
-
},
|
7464
|
+
}, Yt(we.prototype, function(e, t) {
|
7465
7465
|
var o = /^(?:filter|find|map|reject)|While$/.test(t), u = /^(?:head|last)$/.test(t), d = g[u ? "take" + (t == "last" ? "Right" : "") : t], m = u || /^find/.test(t);
|
7466
7466
|
d && (g.prototype[t] = function() {
|
7467
7467
|
var _ = this.__wrapped__, w = u ? [1] : arguments, O = _ instanceof we, R = w[0], P = O || de(_), F = function(be) {
|
@@ -7489,7 +7489,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7489
7489
|
return t.apply(de(_) ? _ : [], d);
|
7490
7490
|
});
|
7491
7491
|
};
|
7492
|
-
}),
|
7492
|
+
}), Yt(we.prototype, function(e, t) {
|
7493
7493
|
var o = g[t];
|
7494
7494
|
if (o) {
|
7495
7495
|
var u = o.name + "";
|
@@ -7498,14 +7498,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
7498
7498
|
}), ar[Hi(r, W).name] = [{
|
7499
7499
|
name: "wrapper",
|
7500
7500
|
func: r
|
7501
|
-
}], we.prototype.clone = uh, we.prototype.reverse = ch, we.prototype.value = fh, g.prototype.at = Bp, g.prototype.chain = Up, g.prototype.commit = Hp, g.prototype.next = Wp, g.prototype.plant =
|
7501
|
+
}], we.prototype.clone = uh, we.prototype.reverse = ch, we.prototype.value = fh, g.prototype.at = Bp, g.prototype.chain = Up, g.prototype.commit = Hp, g.prototype.next = Wp, g.prototype.plant = zp, g.prototype.reverse = Gp, g.prototype.toJSON = g.prototype.valueOf = g.prototype.value = qp, g.prototype.first = g.prototype.head, Nr && (g.prototype[Nr] = Kp), g;
|
7502
7502
|
}, ir = Hd();
|
7503
7503
|
Pn ? ((Pn.exports = ir)._ = ir, Bo._ = ir) : nt._ = ir;
|
7504
7504
|
}).call(Gr);
|
7505
7505
|
})(_o, _o.exports);
|
7506
|
-
var
|
7507
|
-
const
|
7508
|
-
function
|
7506
|
+
var zb = _o.exports;
|
7507
|
+
const ze = "mineScript", L = { "color-white": "#ffffff", "color-black": "#000000", "color-transparent": "#00000000", "color-cold-gray-50": "#F8F9FD", "color-cold-gray-100": "#F0F3FA", "color-cold-gray-150": "#E0E3EB", "color-cold-gray-200": "#D1D4DC", "color-cold-gray-250": "#C1C4CD", "color-cold-gray-300": "#B2B5BE", "color-cold-gray-350": "#A3A6AF", "color-cold-gray-400": "#9598A1", "color-cold-gray-450": "#868993", "color-cold-gray-500": "#787B86", "color-cold-gray-550": "#6A6D78", "color-cold-gray-600": "#5D606B", "color-cold-gray-650": "#50535E", "color-cold-gray-700": "#434651", "color-cold-gray-750": "#363A45", "color-cold-gray-800": "#2A2E39", "color-cold-gray-850": "#1E222D", "color-cold-gray-900": "#131722", "color-cold-gray-950": "#0C0E15", "color-ripe-red-50": "#FFEBEC", "color-ripe-red-100": "#FCCBCD", "color-ripe-red-200": "#FAA1A4", "color-ripe-red-300": "#F77C80", "color-ripe-red-400": "#F7525F", "color-ripe-red-500": "#F23645", "color-ripe-red-600": "#CC2F3C", "color-ripe-red-700": "#B22833", "color-ripe-red-800": "#991F29", "color-ripe-red-900": "#801922", "color-ripe-red-a100": "#FF8080", "color-ripe-red-a200": "#FF5252", "color-ripe-red-a400": "#FF3333", "color-ripe-red-a600": "#CC2929", "color-ripe-red-a700": "#802028", "color-ripe-red-a800": "#4D191D", "color-ripe-red-a900": "#331F20", "color-tan-orange-50": "#FFF3E0", "color-tan-orange-100": "#FFE0B2", "color-tan-orange-200": "#FFCC80", "color-tan-orange-300": "#ffb74d", "color-tan-orange-400": "#FFA726", "color-tan-orange-500": "#FF9800", "color-tan-orange-600": "#FB8C00", "color-tan-orange-700": "#F57C00", "color-tan-orange-800": "#EF6C00", "color-tan-orange-900": "#e65100", "color-tan-orange-a200": "#ffab40", "color-tan-orange-a400": "#FF9100", "color-tan-orange-a600": "#CC7014", "color-tan-orange-a700": "#8C541C", "color-tan-orange-a800": "#593A1B", "color-tan-orange-a900": "#33261A", "color-iguana-green-100": "#C8E6C9", "color-iguana-green-200": "#A5D6A7", "color-iguana-green-300": "#81c784", "color-iguana-green-400": "#66BB6A", "color-iguana-green-500": "#4caf50", "color-iguana-green-600": "#43a047", "color-iguana-green-700": "#388e3c", "color-iguana-green-800": "#2E7D32", "color-iguana-green-900": "#1B5E20", "color-iguana-green-a700": "#00c853", "color-banana-yellow-100": "#FFF9C4", "color-banana-yellow-200": "#FFF59D", "color-banana-yellow-300": "#FFF176", "color-banana-yellow-400": "#ffee58", "color-banana-yellow-500": "#ffeb3b", "color-banana-yellow-600": "#fdd835", "color-banana-yellow-700": "#fbc02d", "color-banana-yellow-800": "#f9a825", "color-banana-yellow-900": "#F57F17", "color-banana-yellow-a400": "#ffea00", "color-banana-yellow-a700": "#EEDA01", "color-tv-blue-50": "#E3EFFD", "color-tv-blue-100": "#BBD9FB", "color-tv-blue-200": "#90BFF9", "color-tv-blue-300": "#5B9CF6", "color-tv-blue-400": "#3179F5", "color-tv-blue-500": "#2962FF", "color-tv-blue-600": "#1E53E5", "color-tv-blue-700": "#1848CC", "color-tv-blue-800": "#143EB3", "color-tv-blue-900": "#0C3299", "color-tv-blue-a100": "#82b1ff", "color-tv-blue-a200": "#448aff", "color-tv-blue-a400": "#2979ff", "color-tv-blue-a600": "#2962FF", "color-tv-blue-a700": "#143A87", "color-tv-blue-a800": "#142E61", "color-tv-blue-a900": "#132042", "color-deep-blue-50": "#EDE7F6", "color-deep-blue-100": "#D1C4E9", "color-deep-blue-200": "#B39DDB", "color-deep-blue-300": "#9575cd", "color-deep-blue-400": "#7e57c2", "color-deep-blue-500": "#673ab7", "color-deep-blue-700": "#512da8", "color-deep-blue-800": "#4527A0", "color-deep-blue-900": "#311B92", "color-deep-blue-a100": "#b388ff", "color-deep-blue-a200": "#7C4DFF", "color-deep-blue-a400": "#651FFF", "color-deep-blue-a700": "#6200EA", "color-minty-green-50": "#DAF2EE", "color-minty-green-100": "#ACE5DC", "color-minty-green-200": "#70CCBD", "color-minty-green-300": "#42BDA8", "color-minty-green-400": "#22AB94", "color-minty-green-500": "#089981", "color-minty-green-600": "#06806B", "color-minty-green-700": "#056656", "color-minty-green-800": "#004D40", "color-minty-green-900": "#00332A", "color-minty-green-a400": "#2BD9BC", "color-minty-green-a600": "#24B29B", "color-minty-green-a700": "#1B7667", "color-minty-green-a800": "#10443B", "color-minty-green-a900": "#082621", "color-grapes-purple-50": "#F3E5F5", "color-grapes-purple-100": "#E1BEE7", "color-grapes-purple-200": "#CE93D8", "color-grapes-purple-300": "#ba68c8", "color-grapes-purple-400": "#ab47bc", "color-grapes-purple-500": "#9c27b0", "color-grapes-purple-600": "#8e24aa", "color-grapes-purple-700": "#7b1fa2", "color-grapes-purple-800": "#6A1B9A", "color-grapes-purple-900": "#4A148C", "color-grapes-purple-a100": "#EA80FC", "color-grapes-purple-a200": "#E040FB", "color-grapes-purple-a400": "#D500F9", "color-grapes-purple-a700": "#aa00ff", "color-berry-pink-100": "#F8BBD0", "color-berry-pink-200": "#f48fb1", "color-berry-pink-300": "#f06292", "color-berry-pink-400": "#ec407a", "color-berry-pink-500": "#e91e63", "color-berry-pink-600": "#D81B60", "color-berry-pink-700": "#C2185B", "color-berry-pink-800": "#AD1457", "color-berry-pink-900": "#880E4F", "color-berry-pink-a100": "#ff80ab", "color-berry-pink-a200": "#ff4081", "color-berry-pink-a400": "#f50057", "color-sky-blue-100": "#B2EBF2", "color-sky-blue-200": "#80DEEA", "color-sky-blue-300": "#4dd0e1", "color-sky-blue-400": "#26c6da", "color-sky-blue-500": "#00bcd4", "color-sky-blue-600": "#00acc1", "color-sky-blue-700": "#0097A7", "color-sky-blue-800": "#00838F", "color-sky-blue-900": "#006064", "color-sky-blue-a400": "#00e5ff", "color-sky-blue-a700": "#00B8D4", "color-deep-blue-600": "#5E35B1", "color-forest-green-50": "#DAF2E6", "color-forest-green-100": "#ACE5C9", "color-forest-green-200": "#70CC9E", "color-forest-green-300": "#42BD7F", "color-forest-green-400": "#22AB67", "color-forest-green-500": "#089950", "color-forest-green-600": "#068043", "color-forest-green-700": "#056636", "color-forest-green-800": "#004D27", "color-forest-green-900": "#1A3326", "color-facebook": "#1877F2", "color-deep-facebook": "#1564CA", "color-twitter": "#1DA1F2", "color-deep-twitter": "#188CD3", "color-youtube": "#FF0000", "color-linkedin": "#007BB5", "color-seeking-alpha-brand": "#ff7200" };
|
7508
|
+
function Zt(i, n = 1) {
|
7509
7509
|
return i + Math.round(255 * Math.min(Math.max(n, 0), 1)).toString(16).toUpperCase().padStart(2, "0");
|
7510
7510
|
}
|
7511
7511
|
const ha = {
|
@@ -7603,7 +7603,7 @@ const ha = {
|
|
7603
7603
|
"editorWidget.background": L["color-white"],
|
7604
7604
|
"editorWidget.foreground": L["color-cold-gray-900"],
|
7605
7605
|
"editorGutter.background": "#00000000",
|
7606
|
-
"editor.foldBackground":
|
7606
|
+
"editor.foldBackground": Zt(L["color-cold-gray-200"], 0.5),
|
7607
7607
|
"editor.lineHighlightBackground": L["color-tv-blue-50"],
|
7608
7608
|
"editor.lineHighlightBorder": L["color-tv-blue-50"],
|
7609
7609
|
"editor.rangeHighlightBackground": L["color-tv-blue-100"],
|
@@ -7629,10 +7629,10 @@ const ha = {
|
|
7629
7629
|
"peekViewResult.lineForeground": L["color-cold-gray-900"],
|
7630
7630
|
"editorMarkerNavigationWarning.background": L["color-banana-yellow-800"],
|
7631
7631
|
"inputValidation.warningBackground": L["color-banana-yellow-800"],
|
7632
|
-
"diffEditor.insertedTextBackground":
|
7633
|
-
"diffEditor.insertedLineBackground":
|
7634
|
-
"diffEditor.removedTextBackground":
|
7635
|
-
"diffEditor.removedLineBackground":
|
7632
|
+
"diffEditor.insertedTextBackground": Zt(L["color-forest-green-500"], 0.3),
|
7633
|
+
"diffEditor.insertedLineBackground": Zt(L["color-forest-green-500"], 0.15),
|
7634
|
+
"diffEditor.removedTextBackground": Zt(L["color-ripe-red-500"], 0.3),
|
7635
|
+
"diffEditor.removedLineBackground": Zt(L["color-ripe-red-500"], 0.15),
|
7636
7636
|
"editorInlayHint.background": L["color-cold-gray-150"],
|
7637
7637
|
"editorInlayHint.foreground": L["color-cold-gray-550"],
|
7638
7638
|
"editorError.foreground": L["color-ripe-red-500"],
|
@@ -7733,7 +7733,7 @@ const ha = {
|
|
7733
7733
|
"editorHoverWidget.statusBarBackground": L["color-cold-gray-900"],
|
7734
7734
|
"editorWidget.foreground": L["color-cold-gray-300"],
|
7735
7735
|
"editorGutter.background": L["color-cold-gray-900"],
|
7736
|
-
"editor.foldBackground":
|
7736
|
+
"editor.foldBackground": Zt(L["color-cold-gray-700"], 0.5),
|
7737
7737
|
"editor.lineHighlightBackground": L["color-tv-blue-a900"],
|
7738
7738
|
"editor.lineHighlightBorder": L["color-tv-blue-a900"],
|
7739
7739
|
"editor.rangeHighlightBackground": L["color-tv-blue-a800"],
|
@@ -7754,10 +7754,10 @@ const ha = {
|
|
7754
7754
|
"textLink.activeForeground": L["color-tv-blue-600"],
|
7755
7755
|
"peekViewEditor.matchHighlightBackground": L["color-tan-orange-a800"],
|
7756
7756
|
"peekViewResult.lineForeground": L["color-cold-gray-350"],
|
7757
|
-
"diffEditor.insertedTextBackground":
|
7758
|
-
"diffEditor.insertedLineBackground":
|
7759
|
-
"diffEditor.removedTextBackground":
|
7760
|
-
"diffEditor.removedLineBackground":
|
7757
|
+
"diffEditor.insertedTextBackground": Zt(L["color-iguana-green-a700"], 0.3),
|
7758
|
+
"diffEditor.insertedLineBackground": Zt(L["color-iguana-green-a700"], 0.15),
|
7759
|
+
"diffEditor.removedTextBackground": Zt(L["color-ripe-red-a400"], 0.3),
|
7760
|
+
"diffEditor.removedLineBackground": Zt(L["color-ripe-red-a400"], 0.15),
|
7761
7761
|
"editorInlayHint.background": L["color-cold-gray-800"],
|
7762
7762
|
"editorInlayHint.foreground": L["color-cold-gray-400"],
|
7763
7763
|
"editorError.foreground": L["color-ripe-red-500"],
|
@@ -7781,7 +7781,7 @@ const ha = {
|
|
7781
7781
|
"color.teal": "#00897B",
|
7782
7782
|
"color.white": "#FFFFFF",
|
7783
7783
|
"color.yellow": "#FFEB3B"
|
7784
|
-
}, { t: Yb } =
|
7784
|
+
}, { t: Yb } = Ne;
|
7785
7785
|
class Vb {
|
7786
7786
|
constructor(n) {
|
7787
7787
|
Object.defineProperty(this, "_formatter", {
|
@@ -7854,7 +7854,7 @@ class Vb {
|
|
7854
7854
|
};
|
7855
7855
|
}
|
7856
7856
|
_getFuncItems(n) {
|
7857
|
-
return this._keyMaps.functions.get(n) ||
|
7857
|
+
return this._keyMaps.functions.get(n) || Gt.userFuncs.get(n) || Gt.methodFuncs.get(n);
|
7858
7858
|
}
|
7859
7859
|
_getSequentialSignatures(n, r) {
|
7860
7860
|
return r.map((s) => {
|
@@ -8097,7 +8097,7 @@ class Zb {
|
|
8097
8097
|
if (!n)
|
8098
8098
|
return;
|
8099
8099
|
const r = n.LANGUAGE_MONARCH_TOKENS, s = [...this._funcs.values()].map((c) => c.funcs.join("|")), a = new RegExp("\\b(" + s.join("|") + ")(?=\\s*\\()"), l = [...r.tokenizer.root];
|
8100
|
-
l.splice(15, 0, [a, "meta.function-call"]), Qe.setMonarchTokensProvider(
|
8100
|
+
l.splice(15, 0, [a, "meta.function-call"]), Qe.setMonarchTokensProvider(ze, { ...r, tokenizer: { ...r.tokenizer, root: l } });
|
8101
8101
|
}
|
8102
8102
|
}
|
8103
8103
|
const bo = new Zb();
|
@@ -8110,7 +8110,7 @@ function Xb(i, n, r) {
|
|
8110
8110
|
}, a = i.getValueInRange(s);
|
8111
8111
|
if (/^\/\/\s*@/.test(a))
|
8112
8112
|
return {
|
8113
|
-
suggestions:
|
8113
|
+
suggestions: Gt.annotationSuggestions
|
8114
8114
|
};
|
8115
8115
|
if (r.triggerCharacter === "@")
|
8116
8116
|
return { suggestions: [] };
|
@@ -8125,10 +8125,10 @@ function Xb(i, n, r) {
|
|
8125
8125
|
startColumn: h.startColumn,
|
8126
8126
|
endColumn: h.endColumn
|
8127
8127
|
}, b = i.getValueInRange({ ...v, startColumn: h.endColumn, endColumn: h.endColumn + 1 });
|
8128
|
-
|
8129
|
-
let x = hc(
|
8128
|
+
Gt.nextIsBracket = b === "(";
|
8129
|
+
let x = hc(Gt.getSuggestions(f) || [], v);
|
8130
8130
|
if (l[0] === "." && (x = []), p && !f && !/=\s*\w+$/.test(a)) {
|
8131
|
-
const k = hc(
|
8131
|
+
const k = hc(Gt.getArgSuggestions(p.funcName) || [], v);
|
8132
8132
|
x = x.concat(k);
|
8133
8133
|
}
|
8134
8134
|
return {
|
@@ -8141,9 +8141,9 @@ function Qb(i) {
|
|
8141
8141
|
if (i.kind !== 1)
|
8142
8142
|
return i;
|
8143
8143
|
const { originInsertText: n } = i;
|
8144
|
-
return
|
8144
|
+
return Gt.nextIsBracket ? i.insertText = n : i.insertText = n + Gt.bracketsPostfix, i;
|
8145
8145
|
}
|
8146
|
-
function
|
8146
|
+
function ey(i, n) {
|
8147
8147
|
const r = kn.parseLineContentFuncVar(n.column, n.lineNumber, i, n);
|
8148
8148
|
if (r?.libraryId)
|
8149
8149
|
return {
|
@@ -8168,7 +8168,7 @@ function e1(i, n) {
|
|
8168
8168
|
contents: []
|
8169
8169
|
};
|
8170
8170
|
}
|
8171
|
-
function
|
8171
|
+
function ty(i, n) {
|
8172
8172
|
const r = {
|
8173
8173
|
startLineNumber: n.lineNumber,
|
8174
8174
|
endLineNumber: n.lineNumber,
|
@@ -8191,7 +8191,7 @@ function t1(i, n) {
|
|
8191
8191
|
}
|
8192
8192
|
return null;
|
8193
8193
|
}
|
8194
|
-
function
|
8194
|
+
function ny(i) {
|
8195
8195
|
let n = i.findMatches(ta.colorMatchesRegStr, !0, !0, !1, null, !0);
|
8196
8196
|
return n = n.filter((s) => {
|
8197
8197
|
const a = i.getValueInRange({
|
@@ -8201,10 +8201,10 @@ function n1(i) {
|
|
8201
8201
|
return a.indexOf("//") === -1 || a.indexOf("//") > s.range.endColumn;
|
8202
8202
|
}), ta.getDocumentColors(n);
|
8203
8203
|
}
|
8204
|
-
function
|
8204
|
+
function ry(i, n) {
|
8205
8205
|
return ta.getDocumentColorPresentations(i, n) || [];
|
8206
8206
|
}
|
8207
|
-
function
|
8207
|
+
function iy(i, n) {
|
8208
8208
|
const r = i.getModel(), s = kn.parseLineContentFuncVar(n.startColumn + 1, n.startLineNumber, r);
|
8209
8209
|
if (!s || s.isBuildIn || !s.docValue || !s.docValue[0].pos)
|
8210
8210
|
return s?.isBuildIn || s?.docValue?.[0].title?.startsWith("built-in") ? s : void 0;
|
@@ -8216,7 +8216,7 @@ function i1(i, n) {
|
|
8216
8216
|
};
|
8217
8217
|
i.revealRangeInCenterIfOutsideViewport(c), i.setSelection(c);
|
8218
8218
|
}
|
8219
|
-
function
|
8219
|
+
function oy(i, n) {
|
8220
8220
|
return kn.parseLineContentFuncVar(n.column, n.lineNumber, i, n) ? {
|
8221
8221
|
uri: i.uri,
|
8222
8222
|
range: {
|
@@ -8230,7 +8230,7 @@ function o1(i, n) {
|
|
8230
8230
|
function hc(i, n) {
|
8231
8231
|
return i.map((r) => (r.range = n, r));
|
8232
8232
|
}
|
8233
|
-
function
|
8233
|
+
function sy() {
|
8234
8234
|
return {
|
8235
8235
|
hints: bo.inlayHints,
|
8236
8236
|
dispose: () => {
|
@@ -8262,15 +8262,15 @@ var at;
|
|
8262
8262
|
(function(i) {
|
8263
8263
|
i.added = "added", i.removed = "removed", i.modified = "modified";
|
8264
8264
|
})(at || (at = {}));
|
8265
|
-
const
|
8266
|
-
const { close: r, retracement: s } = i, [a, l] =
|
8265
|
+
const ay = (i, n) => {
|
8266
|
+
const { close: r, retracement: s } = i, [a, l] = Pe("modified");
|
8267
8267
|
return ff(n, () => ({
|
8268
8268
|
updateType(c) {
|
8269
8269
|
l(c);
|
8270
8270
|
}
|
8271
8271
|
})), C.jsxs("div", { className: `content-popup content-${a}-popup`, children: [C.jsx("div", { className: `triangle-popup triangle-${a}-popup` }), C.jsxs("div", { className: `header-popup header-${a}-popup`, children: [C.jsx("div", { className: "title-popup", children: "Local working changes" }), C.jsx("div", { className: "actions-popup", children: C.jsx("div", { onClick: r, "data-role": "button", className: "button-popup", "data-name": "button-close-diff", children: C.jsx("span", { className: "icon-popup", role: "img", children: C.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", width: "12", height: "12", children: C.jsx("path", { stroke: "currentColor", strokeWidth: "1.2", d: "m1.5 1.5 9 9m0-9-9 9" }) }) }) }) })] }), C.jsx("div", { id: "diffEditorContainer", style: { height: "100%" } })] });
|
8272
|
-
},
|
8273
|
-
class
|
8272
|
+
}, ly = cf(ay);
|
8273
|
+
class uy {
|
8274
8274
|
constructor(n, r, s = !0) {
|
8275
8275
|
Object.defineProperty(this, "_domNode", {
|
8276
8276
|
enumerable: !0,
|
@@ -8292,7 +8292,7 @@ class u1 {
|
|
8292
8292
|
configurable: !0,
|
8293
8293
|
writable: !0,
|
8294
8294
|
value: void 0
|
8295
|
-
}), this._id = n, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = s ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", r?.onDidScrollChange(this.scrollChangeHandler.bind(this)), ei.createRoot(this._domNode).render(C.jsx(
|
8295
|
+
}), this._id = n, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = s ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", r?.onDidScrollChange(this.scrollChangeHandler.bind(this)), ei.createRoot(this._domNode).render(C.jsx(ly, { ref: (a) => this._content = a, close: () => this._close(), retracement: this._retracement })), this._top = 0;
|
8296
8296
|
}
|
8297
8297
|
_close() {
|
8298
8298
|
this._domNode.style.display = "none";
|
@@ -8359,7 +8359,7 @@ Ln.prototype = {
|
|
8359
8359
|
continue;
|
8360
8360
|
}
|
8361
8361
|
if (!J || Y && M.oldPos + 1 < A.oldPos ? H = c.addToPath(A, !0, void 0, 0) : H = c.addToPath(M, void 0, !0, 1), $ = c.extractCommon(H, r, n, B), H.oldPos + 1 >= p && $ + 1 >= h)
|
8362
|
-
return f(
|
8362
|
+
return f(cy(c, H.lastComponent, r, n, c.useLongestToken));
|
8363
8363
|
T[B] = H, H.oldPos + 1 >= p && (W = Math.min(W, B - 1)), $ + 1 >= h && (U = Math.max(U, B + 1));
|
8364
8364
|
}
|
8365
8365
|
v++;
|
@@ -8425,7 +8425,7 @@ Ln.prototype = {
|
|
8425
8425
|
return n.join("");
|
8426
8426
|
}
|
8427
8427
|
};
|
8428
|
-
function
|
8428
|
+
function cy(i, n, r, s, a) {
|
8429
8429
|
for (var l = [], c; n; )
|
8430
8430
|
l.push(n), c = n.previousComponent, delete n.previousComponent, n = c;
|
8431
8431
|
l.reverse();
|
@@ -8472,15 +8472,15 @@ pa.tokenize = function(i) {
|
|
8472
8472
|
}
|
8473
8473
|
return n;
|
8474
8474
|
};
|
8475
|
-
function
|
8475
|
+
function fy(i, n, r) {
|
8476
8476
|
return pa.diff(i, n, r);
|
8477
8477
|
}
|
8478
|
-
var
|
8479
|
-
|
8478
|
+
var dy = new Ln();
|
8479
|
+
dy.tokenize = function(i) {
|
8480
8480
|
return i.split(/(\S.+?[.!?])(?=\s+|$)/);
|
8481
8481
|
};
|
8482
|
-
var
|
8483
|
-
|
8482
|
+
var hy = new Ln();
|
8483
|
+
hy.tokenize = function(i) {
|
8484
8484
|
return i.split(/([{}:;,]|\s+)/);
|
8485
8485
|
};
|
8486
8486
|
function uo(i) {
|
@@ -8491,7 +8491,7 @@ function uo(i) {
|
|
8491
8491
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
8492
8492
|
}, uo(i);
|
8493
8493
|
}
|
8494
|
-
var
|
8494
|
+
var gy = Object.prototype.toString, oi = new Ln();
|
8495
8495
|
oi.useLongestToken = !0;
|
8496
8496
|
oi.tokenize = pa.tokenize;
|
8497
8497
|
oi.castInput = function(i) {
|
@@ -8510,7 +8510,7 @@ function na(i, n, r, s, a) {
|
|
8510
8510
|
if (n[l] === i)
|
8511
8511
|
return r[l];
|
8512
8512
|
var c;
|
8513
|
-
if (
|
8513
|
+
if (gy.call(i) === "[object Array]") {
|
8514
8514
|
for (n.push(i), c = new Array(i.length), r.push(c), l = 0; l < i.length; l += 1)
|
8515
8515
|
c[l] = na(i[l], n, r, s, a);
|
8516
8516
|
return n.pop(), r.pop(), c;
|
@@ -8534,7 +8534,7 @@ ra.tokenize = function(i) {
|
|
8534
8534
|
ra.join = ra.removeEmpty = function(i) {
|
8535
8535
|
return i;
|
8536
8536
|
};
|
8537
|
-
class
|
8537
|
+
class py {
|
8538
8538
|
constructor(n, r, s = "") {
|
8539
8539
|
Object.defineProperty(this, "_editor", {
|
8540
8540
|
enumerable: !0,
|
@@ -8576,13 +8576,13 @@ class p1 {
|
|
8576
8576
|
configurable: !0,
|
8577
8577
|
writable: !0,
|
8578
8578
|
value: void 0
|
8579
|
-
}), this._editor = n, this._monaco = r, this._originalModel = this._monaco.editor.createModel(s,
|
8579
|
+
}), this._editor = n, this._monaco = r, this._originalModel = this._monaco.editor.createModel(s, ze), this._oldDecorations = [], this._init(), this._eventListening();
|
8580
8580
|
}
|
8581
8581
|
_init() {
|
8582
8582
|
this._changeEvent(), this._didChangeListener = this._editor.getModel()?.onDidChangeContent(() => this._changeEvent());
|
8583
8583
|
}
|
8584
8584
|
update(n) {
|
8585
|
-
if (this._originalModel = this._monaco.editor.createModel(n,
|
8585
|
+
if (this._originalModel = this._monaco.editor.createModel(n, ze), n !== this._editor.getModel()?.getValue()) {
|
8586
8586
|
this._changeEvent();
|
8587
8587
|
return;
|
8588
8588
|
}
|
@@ -8616,11 +8616,11 @@ class p1 {
|
|
8616
8616
|
});
|
8617
8617
|
}
|
8618
8618
|
_changeEvent() {
|
8619
|
-
const n =
|
8619
|
+
const n = fy(this._originalModel.getValue(), this._editor.getModel()?.getValue() || ""), r = this._changesHandle(n), s = this._editor.getModel()?.deltaDecorations(this._oldDecorations, r) || [];
|
8620
8620
|
this._oldDecorations = s;
|
8621
8621
|
}
|
8622
8622
|
_eventListening() {
|
8623
|
-
const n = new
|
8623
|
+
const n = new uy("diff.popup.widget", this._editor);
|
8624
8624
|
this._editor.addOverlayWidget(n), this._onMouseDownListener = this._editor.onMouseDown((r) => this._onMouseDownHandle(r)), this._diffPopupWidget = n;
|
8625
8625
|
}
|
8626
8626
|
_onMouseDownHandle(n) {
|
@@ -8643,7 +8643,7 @@ class p1 {
|
|
8643
8643
|
});
|
8644
8644
|
}
|
8645
8645
|
}
|
8646
|
-
class
|
8646
|
+
class my {
|
8647
8647
|
constructor(n, r, s) {
|
8648
8648
|
Object.defineProperty(this, "_editor", {
|
8649
8649
|
enumerable: !0,
|
@@ -8702,7 +8702,7 @@ class m1 {
|
|
8702
8702
|
this._monaco.editor.setModelMarkers(this._editor.getModel(), "owner", n);
|
8703
8703
|
}
|
8704
8704
|
addDiffDecorations() {
|
8705
|
-
this._decorations || (this._decorations = new
|
8705
|
+
this._decorations || (this._decorations = new py(this._editor, this._monaco, this._originalScript));
|
8706
8706
|
}
|
8707
8707
|
removeDiffDecorations() {
|
8708
8708
|
this._decorations?.dispose(), this._decorations = void 0;
|
@@ -8731,7 +8731,7 @@ class m1 {
|
|
8731
8731
|
}
|
8732
8732
|
getVersion() {
|
8733
8733
|
const n = this._editor?.getModel()?.findMatches("\\s*//\\s*@version\\s*=\\s*([0-9])", !0, !0, !1, null, !0);
|
8734
|
-
let r =
|
8734
|
+
let r = Qt;
|
8735
8735
|
if (n && n.length > 0)
|
8736
8736
|
for (const s of n) {
|
8737
8737
|
const a = s.matches?.[1];
|
@@ -8750,7 +8750,7 @@ class m1 {
|
|
8750
8750
|
return;
|
8751
8751
|
this._version = n;
|
8752
8752
|
const s = r.LANGUAGE_MONARCH_TOKENS, a = r.CONFIGURATION;
|
8753
|
-
|
8753
|
+
Gt.initBuiltinsTrees(n), kn.onVersionChange(n), xf.onVersionChange(n), this._monaco.languages.setMonarchTokensProvider(ze, s), this._monaco.languages.setLanguageConfiguration(ze, a);
|
8754
8754
|
}
|
8755
8755
|
_init() {
|
8756
8756
|
this._register(), this._setOptions(), this._addCommands(), this._addActions(), this._setCursorPosition(), this._onTabSizeChange();
|
@@ -8770,31 +8770,31 @@ class m1 {
|
|
8770
8770
|
}
|
8771
8771
|
_register() {
|
8772
8772
|
this._monaco.languages.register({
|
8773
|
-
id:
|
8773
|
+
id: ze
|
8774
8774
|
});
|
8775
|
-
const n = this._monaco.languages.registerCompletionItemProvider(
|
8775
|
+
const n = this._monaco.languages.registerCompletionItemProvider(ze, {
|
8776
8776
|
triggerCharacters: [".", "@"],
|
8777
8777
|
provideCompletionItems: Xb,
|
8778
8778
|
resolveCompletionItem: Qb
|
8779
8779
|
});
|
8780
8780
|
this._registerList.push(n);
|
8781
|
-
const r = this._monaco.languages.registerHoverProvider(
|
8782
|
-
provideHover:
|
8781
|
+
const r = this._monaco.languages.registerHoverProvider(ze, {
|
8782
|
+
provideHover: ey
|
8783
8783
|
});
|
8784
8784
|
this._registerList.push(r);
|
8785
|
-
const s = this._monaco.languages.registerSignatureHelpProvider(
|
8785
|
+
const s = this._monaco.languages.registerSignatureHelpProvider(ze, {
|
8786
8786
|
signatureHelpTriggerCharacters: ["(", ","],
|
8787
|
-
provideSignatureHelp:
|
8787
|
+
provideSignatureHelp: ty
|
8788
8788
|
});
|
8789
8789
|
this._registerList.push(s);
|
8790
|
-
const a = this._monaco.languages.registerColorProvider(
|
8791
|
-
provideColorPresentations:
|
8792
|
-
provideDocumentColors:
|
8790
|
+
const a = this._monaco.languages.registerColorProvider(ze, {
|
8791
|
+
provideColorPresentations: ry,
|
8792
|
+
provideDocumentColors: ny
|
8793
8793
|
});
|
8794
8794
|
this._registerList.push(a);
|
8795
8795
|
const l = this._monaco.editor.registerEditorOpener({
|
8796
8796
|
openCodeEditor: (p, v, b) => {
|
8797
|
-
const x =
|
8797
|
+
const x = iy(p, b);
|
8798
8798
|
if (x) {
|
8799
8799
|
const { index: k, docValue: T } = x, { title: $, name: U } = T[k];
|
8800
8800
|
let W = "";
|
@@ -8826,12 +8826,12 @@ class m1 {
|
|
8826
8826
|
open: (p) => (this._onLinkOpen && p.fragment && this._onLinkOpen(p.fragment, 0, this._version), !!p.fragment)
|
8827
8827
|
});
|
8828
8828
|
this._registerList.push(c);
|
8829
|
-
const f = this._monaco.languages.registerDefinitionProvider(
|
8830
|
-
provideDefinition:
|
8829
|
+
const f = this._monaco.languages.registerDefinitionProvider(ze, {
|
8830
|
+
provideDefinition: oy
|
8831
8831
|
});
|
8832
8832
|
this._registerList.push(f);
|
8833
|
-
const h = this._monaco.languages.registerInlayHintsProvider(
|
8834
|
-
provideInlayHints:
|
8833
|
+
const h = this._monaco.languages.registerInlayHintsProvider(ze, {
|
8834
|
+
provideInlayHints: sy
|
8835
8835
|
});
|
8836
8836
|
this._registerList.push(h);
|
8837
8837
|
}
|
@@ -8839,79 +8839,108 @@ class m1 {
|
|
8839
8839
|
this._monaco.editor.defineTheme("vs-dark", ga), this._monaco.editor.defineTheme("vs", ha);
|
8840
8840
|
}
|
8841
8841
|
_addCommands() {
|
8842
|
-
this._monaco.editor.addCommand({
|
8842
|
+
const n = this._monaco.editor.addCommand({
|
8843
8843
|
id: "tcc.editor.function",
|
8844
|
-
run: (
|
8845
|
-
if (
|
8846
|
-
const
|
8847
|
-
|
8844
|
+
run: (r, s) => {
|
8845
|
+
if (Gt.nextIsBracket) {
|
8846
|
+
const a = this._editor.getPosition();
|
8847
|
+
a && this._editor.setPosition(Object.assign(a, { column: a.column + 1 }));
|
8848
8848
|
}
|
8849
|
-
this._editor.getAction(
|
8849
|
+
this._editor.getAction(s)?.run();
|
8850
8850
|
}
|
8851
8851
|
});
|
8852
|
+
this._registerList.push(n);
|
8852
8853
|
}
|
8853
8854
|
_addActions() {
|
8854
|
-
|
8855
|
+
const n = [{
|
8855
8856
|
id: "tcc-save-script",
|
8856
|
-
label:
|
8857
|
+
label: Ne.t("save script"),
|
8857
8858
|
keybindings: [this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.KeyS],
|
8858
8859
|
contextMenuGroupId: "9_modification",
|
8859
8860
|
contextMenuOrder: 1,
|
8860
8861
|
run: () => {
|
8861
|
-
this._onActionTrigger && this._onActionTrigger(
|
8862
|
+
this._onActionTrigger && this._onActionTrigger(zt.Save);
|
8862
8863
|
}
|
8863
|
-
}
|
8864
|
+
}, {
|
8864
8865
|
id: "tcc-find-replace-line",
|
8865
|
-
label:
|
8866
|
+
label: Ne.t("find/replace"),
|
8866
8867
|
keybindings: [this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.KeyF],
|
8867
8868
|
contextMenuGroupId: "9_cutcopypaste",
|
8868
8869
|
contextMenuOrder: 5,
|
8869
8870
|
run: () => {
|
8870
|
-
this.openFind(), this._onActionTrigger && this._onActionTrigger(
|
8871
|
+
this.openFind(), this._onActionTrigger && this._onActionTrigger(zt.Find);
|
8871
8872
|
}
|
8872
|
-
}
|
8873
|
+
}, {
|
8873
8874
|
id: "tcc-trigger-console-script",
|
8874
|
-
label:
|
8875
|
+
label: Ne.t("toggle console"),
|
8875
8876
|
keybindings: [this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.Backquote],
|
8876
8877
|
contextMenuGroupId: "z_commands",
|
8877
8878
|
contextMenuOrder: 0,
|
8878
8879
|
run: () => {
|
8879
|
-
this._onActionTrigger && this._onActionTrigger(
|
8880
|
+
this._onActionTrigger && this._onActionTrigger(zt.TriggerConsole);
|
8880
8881
|
}
|
8881
|
-
}
|
8882
|
+
}, {
|
8882
8883
|
id: "tcc-run-script",
|
8883
8884
|
label: "运行脚本",
|
8884
8885
|
keybindings: [this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.Enter],
|
8885
8886
|
run: () => {
|
8886
|
-
this._onActionTrigger && this._onActionTrigger(
|
8887
|
+
this._onActionTrigger && this._onActionTrigger(zt.RunScript);
|
8887
8888
|
}
|
8888
|
-
}
|
8889
|
+
}, {
|
8889
8890
|
id: "tcc-open-script",
|
8890
|
-
label:
|
8891
|
+
label: Ne.t("open script"),
|
8891
8892
|
keybindings: [this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.KeyO],
|
8892
8893
|
contextMenuGroupId: "9_modification",
|
8893
8894
|
contextMenuOrder: 2,
|
8894
8895
|
run: () => {
|
8895
|
-
this._onActionTrigger && this._onActionTrigger(
|
8896
|
+
this._onActionTrigger && this._onActionTrigger(zt.Open);
|
8896
8897
|
}
|
8897
|
-
}
|
8898
|
+
}, {
|
8898
8899
|
id: "tcc-new-window-script",
|
8899
|
-
label:
|
8900
|
+
label: Ne.t("open editor in new window"),
|
8900
8901
|
keybindings: [this._monaco.KeyMod.Shift | this._monaco.KeyMod.Alt | this._monaco.KeyCode.KeyW],
|
8901
8902
|
contextMenuGroupId: "9_modification",
|
8902
8903
|
contextMenuOrder: 3,
|
8903
8904
|
run: () => {
|
8904
|
-
this._onActionTrigger && this._onActionTrigger(
|
8905
|
+
this._onActionTrigger && this._onActionTrigger(zt.NewWindow);
|
8905
8906
|
}
|
8906
|
-
}
|
8907
|
+
}, {
|
8907
8908
|
id: "tcc-new-tab-script",
|
8908
|
-
label:
|
8909
|
+
label: Ne.t("open editor in new tab"),
|
8909
8910
|
keybindings: [this._monaco.KeyMod.Shift | this._monaco.KeyMod.Alt | this._monaco.KeyCode.KeyT],
|
8910
8911
|
contextMenuGroupId: "9_modification",
|
8911
8912
|
contextMenuOrder: 4,
|
8912
8913
|
run: () => {
|
8913
|
-
this._onActionTrigger && this._onActionTrigger(
|
8914
|
+
this._onActionTrigger && this._onActionTrigger(zt.NewTab);
|
8914
8915
|
}
|
8916
|
+
}, {
|
8917
|
+
id: "new_indicator",
|
8918
|
+
label: Ne.t("new indicator"),
|
8919
|
+
keybindings: [
|
8920
|
+
this._monaco.KeyMod.chord(this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.KeyK, this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.KeyI)
|
8921
|
+
],
|
8922
|
+
run: () => {
|
8923
|
+
this._onActionTrigger && this._onActionTrigger(zt.NewIndicator);
|
8924
|
+
}
|
8925
|
+
}, {
|
8926
|
+
id: "new_strategy",
|
8927
|
+
label: Ne.t("new strategy"),
|
8928
|
+
keybindings: [
|
8929
|
+
this._monaco.KeyMod.chord(this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.KeyK, this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.KeyS)
|
8930
|
+
],
|
8931
|
+
run: () => {
|
8932
|
+
this._onActionTrigger && this._onActionTrigger(zt.NewStrategy);
|
8933
|
+
}
|
8934
|
+
}];
|
8935
|
+
for (const r of n) {
|
8936
|
+
const s = this._editor.addAction(r);
|
8937
|
+
this._registerList.push(s);
|
8938
|
+
}
|
8939
|
+
this._editor.addCommand(this._monaco.KeyMod.Alt | this._monaco.KeyCode.KeyZ, () => {
|
8940
|
+
const r = this._editor.getOption(this._monaco.editor.EditorOption.wordWrap);
|
8941
|
+
this._editor.updateOptions({
|
8942
|
+
wordWrap: r === "off" ? "on" : "off"
|
8943
|
+
});
|
8915
8944
|
});
|
8916
8945
|
}
|
8917
8946
|
openFind() {
|
@@ -8938,7 +8967,7 @@ class m1 {
|
|
8938
8967
|
* Copyright 2019 Google LLC
|
8939
8968
|
* SPDX-License-Identifier: Apache-2.0
|
8940
8969
|
*/
|
8941
|
-
const Cf = Symbol("Comlink.proxy"),
|
8970
|
+
const Cf = Symbol("Comlink.proxy"), vy = Symbol("Comlink.endpoint"), _y = Symbol("Comlink.releaseProxy"), Zs = Symbol("Comlink.finalizer"), co = Symbol("Comlink.thrown"), Sf = (i) => typeof i == "object" && i !== null || typeof i == "function", by = {
|
8942
8971
|
canHandle: (i) => Sf(i) && i[Cf],
|
8943
8972
|
serialize(i) {
|
8944
8973
|
const { port1: n, port2: r } = new MessageChannel();
|
@@ -8947,7 +8976,7 @@ const Cf = Symbol("Comlink.proxy"), v1 = Symbol("Comlink.endpoint"), _1 = Symbol
|
|
8947
8976
|
deserialize(i) {
|
8948
8977
|
return i.start(), ma(i);
|
8949
8978
|
}
|
8950
|
-
},
|
8979
|
+
}, yy = {
|
8951
8980
|
canHandle: (i) => Sf(i) && co in i,
|
8952
8981
|
serialize({ value: i }) {
|
8953
8982
|
let n;
|
@@ -8964,10 +8993,10 @@ const Cf = Symbol("Comlink.proxy"), v1 = Symbol("Comlink.endpoint"), _1 = Symbol
|
|
8964
8993
|
throw i.isError ? Object.assign(new Error(i.value.message), i.value) : i.value;
|
8965
8994
|
}
|
8966
8995
|
}, Of = /* @__PURE__ */ new Map([
|
8967
|
-
["proxy",
|
8968
|
-
["throw",
|
8996
|
+
["proxy", by],
|
8997
|
+
["throw", yy]
|
8969
8998
|
]);
|
8970
|
-
function
|
8999
|
+
function xy(i, n) {
|
8971
9000
|
for (const r of i)
|
8972
9001
|
if (n === r || r === "*" || r instanceof RegExp && r.test(n))
|
8973
9002
|
return !0;
|
@@ -8977,11 +9006,11 @@ function Ef(i, n = globalThis, r = ["*"]) {
|
|
8977
9006
|
n.addEventListener("message", function s(a) {
|
8978
9007
|
if (!a || !a.data)
|
8979
9008
|
return;
|
8980
|
-
if (!
|
9009
|
+
if (!xy(r, a.origin)) {
|
8981
9010
|
console.warn(`Invalid origin '${a.origin}' for comlink proxy`);
|
8982
9011
|
return;
|
8983
9012
|
}
|
8984
|
-
const { id: l, type: c, path: f } = Object.assign({ path: [] }, a.data), h = (a.data.argumentList || []).map(
|
9013
|
+
const { id: l, type: c, path: f } = Object.assign({ path: [] }, a.data), h = (a.data.argumentList || []).map(Kn);
|
8985
9014
|
let p;
|
8986
9015
|
try {
|
8987
9016
|
const v = f.slice(0, -1).reduce((x, k) => x[k], i), b = f.reduce((x, k) => x[k], i);
|
@@ -8990,7 +9019,7 @@ function Ef(i, n = globalThis, r = ["*"]) {
|
|
8990
9019
|
p = b;
|
8991
9020
|
break;
|
8992
9021
|
case "SET":
|
8993
|
-
v[f.slice(-1)[0]] =
|
9022
|
+
v[f.slice(-1)[0]] = Kn(a.data.value), p = !0;
|
8994
9023
|
break;
|
8995
9024
|
case "APPLY":
|
8996
9025
|
p = b.apply(v, h);
|
@@ -9004,7 +9033,7 @@ function Ef(i, n = globalThis, r = ["*"]) {
|
|
9004
9033
|
case "ENDPOINT":
|
9005
9034
|
{
|
9006
9035
|
const { port1: x, port2: k } = new MessageChannel();
|
9007
|
-
Ef(i, k), p =
|
9036
|
+
Ef(i, k), p = Ey(x, [x]);
|
9008
9037
|
}
|
9009
9038
|
break;
|
9010
9039
|
case "RELEASE":
|
@@ -9028,11 +9057,11 @@ function Ef(i, n = globalThis, r = ["*"]) {
|
|
9028
9057
|
});
|
9029
9058
|
}), n.start && n.start();
|
9030
9059
|
}
|
9031
|
-
function
|
9060
|
+
function wy(i) {
|
9032
9061
|
return i.constructor.name === "MessagePort";
|
9033
9062
|
}
|
9034
9063
|
function If(i) {
|
9035
|
-
|
9064
|
+
wy(i) && i.close();
|
9036
9065
|
}
|
9037
9066
|
function ma(i, n) {
|
9038
9067
|
return ia(i, [], n);
|
@@ -9052,11 +9081,11 @@ const yo = /* @__PURE__ */ new WeakMap(), xo = "FinalizationRegistry" in globalT
|
|
9052
9081
|
const n = (yo.get(i) || 0) - 1;
|
9053
9082
|
yo.set(i, n), n === 0 && Af(i);
|
9054
9083
|
});
|
9055
|
-
function
|
9084
|
+
function Cy(i, n) {
|
9056
9085
|
const r = (yo.get(n) || 0) + 1;
|
9057
9086
|
yo.set(n, r), xo && xo.register(i, n, i);
|
9058
9087
|
}
|
9059
|
-
function
|
9088
|
+
function Sy(i) {
|
9060
9089
|
xo && xo.unregister(i);
|
9061
9090
|
}
|
9062
9091
|
function ia(i, n = [], r = function() {
|
@@ -9064,9 +9093,9 @@ function ia(i, n = [], r = function() {
|
|
9064
9093
|
let s = !1;
|
9065
9094
|
const a = new Proxy(r, {
|
9066
9095
|
get(l, c) {
|
9067
|
-
if (ao(s), c ===
|
9096
|
+
if (ao(s), c === _y)
|
9068
9097
|
return () => {
|
9069
|
-
|
9098
|
+
Sy(a), Af(i), s = !0;
|
9070
9099
|
};
|
9071
9100
|
if (c === "then") {
|
9072
9101
|
if (n.length === 0)
|
@@ -9074,7 +9103,7 @@ function ia(i, n = [], r = function() {
|
|
9074
9103
|
const f = mr(i, {
|
9075
9104
|
type: "GET",
|
9076
9105
|
path: n.map((h) => h.toString())
|
9077
|
-
}).then(
|
9106
|
+
}).then(Kn);
|
9078
9107
|
return f.then.bind(f);
|
9079
9108
|
}
|
9080
9109
|
return ia(i, [...n, c]);
|
@@ -9086,15 +9115,15 @@ function ia(i, n = [], r = function() {
|
|
9086
9115
|
type: "SET",
|
9087
9116
|
path: [...n, c].map((v) => v.toString()),
|
9088
9117
|
value: h
|
9089
|
-
}, p).then(
|
9118
|
+
}, p).then(Kn);
|
9090
9119
|
},
|
9091
9120
|
apply(l, c, f) {
|
9092
9121
|
ao(s);
|
9093
9122
|
const h = n[n.length - 1];
|
9094
|
-
if (h ===
|
9123
|
+
if (h === vy)
|
9095
9124
|
return mr(i, {
|
9096
9125
|
type: "ENDPOINT"
|
9097
|
-
}).then(
|
9126
|
+
}).then(Kn);
|
9098
9127
|
if (h === "bind")
|
9099
9128
|
return ia(i, n.slice(0, -1));
|
9100
9129
|
const [p, v] = mc(f);
|
@@ -9102,7 +9131,7 @@ function ia(i, n = [], r = function() {
|
|
9102
9131
|
type: "APPLY",
|
9103
9132
|
path: n.map((b) => b.toString()),
|
9104
9133
|
argumentList: p
|
9105
|
-
}, v).then(
|
9134
|
+
}, v).then(Kn);
|
9106
9135
|
},
|
9107
9136
|
construct(l, c) {
|
9108
9137
|
ao(s);
|
@@ -9111,20 +9140,20 @@ function ia(i, n = [], r = function() {
|
|
9111
9140
|
type: "CONSTRUCT",
|
9112
9141
|
path: n.map((p) => p.toString()),
|
9113
9142
|
argumentList: f
|
9114
|
-
}, h).then(
|
9143
|
+
}, h).then(Kn);
|
9115
9144
|
}
|
9116
9145
|
});
|
9117
|
-
return
|
9146
|
+
return Cy(a, i), a;
|
9118
9147
|
}
|
9119
|
-
function
|
9148
|
+
function Oy(i) {
|
9120
9149
|
return Array.prototype.concat.apply([], i);
|
9121
9150
|
}
|
9122
9151
|
function mc(i) {
|
9123
9152
|
const n = i.map(wo);
|
9124
|
-
return [n.map((r) => r[0]),
|
9153
|
+
return [n.map((r) => r[0]), Oy(n.map((r) => r[1]))];
|
9125
9154
|
}
|
9126
9155
|
const kf = /* @__PURE__ */ new WeakMap();
|
9127
|
-
function
|
9156
|
+
function Ey(i, n) {
|
9128
9157
|
return kf.set(i, n), i;
|
9129
9158
|
}
|
9130
9159
|
function va(i) {
|
@@ -9151,7 +9180,7 @@ function wo(i) {
|
|
9151
9180
|
kf.get(i) || []
|
9152
9181
|
];
|
9153
9182
|
}
|
9154
|
-
function
|
9183
|
+
function Kn(i) {
|
9155
9184
|
switch (i.type) {
|
9156
9185
|
case "HANDLER":
|
9157
9186
|
return Of.get(i.name).deserialize(i.value);
|
@@ -9161,24 +9190,24 @@ function zn(i) {
|
|
9161
9190
|
}
|
9162
9191
|
function mr(i, n, r) {
|
9163
9192
|
return new Promise((s) => {
|
9164
|
-
const a =
|
9193
|
+
const a = Iy();
|
9165
9194
|
i.addEventListener("message", function l(c) {
|
9166
9195
|
!c.data || !c.data.id || c.data.id !== a || (i.removeEventListener("message", l), s(c.data));
|
9167
9196
|
}), i.start && i.start(), i.postMessage(Object.assign({ id: a }, n), r);
|
9168
9197
|
});
|
9169
9198
|
}
|
9170
|
-
function
|
9199
|
+
function Iy() {
|
9171
9200
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
9172
9201
|
}
|
9173
|
-
const Lf = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
9202
|
+
const Lf = new Worker(new URL("" + new URL("assets/scriptsRunWorker-M0obvDmK.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run MineScript Server" });
|
9174
9203
|
Lf.onerror = (i) => {
|
9175
9204
|
console.error(i);
|
9176
9205
|
};
|
9177
9206
|
async function Tf(i) {
|
9178
9207
|
return await bo.setInlayHints(i);
|
9179
9208
|
}
|
9180
|
-
const Nf = ma(Lf), Rf = ma(new Worker(new URL("" + new URL("assets/parserTccWorker-
|
9181
|
-
async function
|
9209
|
+
const Nf = ma(Lf), Rf = ma(new Worker(new URL("" + new URL("assets/parserTccWorker-DXLOsaP2.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser MineScript Server" }));
|
9210
|
+
async function Ay(i, n = !1, r = Qt) {
|
9182
9211
|
const s = i.match(/\s*\/\/\s*@version\s*=\s*([0-9])/)?.[1];
|
9183
9212
|
s && (r = parseInt(s), r = r < 3 ? 3 : r > 6 ? 6 : r);
|
9184
9213
|
const a = await An(r);
|
@@ -9187,20 +9216,20 @@ async function A1(i, n = !1, r = Xt) {
|
|
9187
9216
|
const { functions: l, types: c, constants: f, variables: h, methods: p } = a.KEY_MAP_LIST;
|
9188
9217
|
return await Rf.parseTcc(i, n, va(Tf), { functions: Object.fromEntries(l), methods: Object.fromEntries(p), types: Object.fromEntries(c), constants: Object.fromEntries(f), variables: Object.fromEntries(h) }, r);
|
9189
9218
|
}
|
9190
|
-
async function
|
9219
|
+
async function P1(i, n) {
|
9191
9220
|
const r = await An(5);
|
9192
9221
|
if (!r)
|
9193
9222
|
return;
|
9194
9223
|
const { functions: s, types: a, constants: l, variables: c, methods: f } = r.KEY_MAP_LIST;
|
9195
9224
|
return await Rf.parseLibraryCode(i, n, va(Tf), { functions: Object.fromEntries(s), methods: Object.fromEntries(f), types: Object.fromEntries(a), constants: Object.fromEntries(l), variables: Object.fromEntries(c) });
|
9196
9225
|
}
|
9197
|
-
async function
|
9226
|
+
async function M1(i, n, r = !0, s = Qt) {
|
9198
9227
|
return await Nf.runScript(i, n, r, s);
|
9199
9228
|
}
|
9200
|
-
async function $
|
9229
|
+
async function $1(i) {
|
9201
9230
|
return await Nf.removeScript(i);
|
9202
9231
|
}
|
9203
|
-
function
|
9232
|
+
function ky(i) {
|
9204
9233
|
return new Worker(
|
9205
9234
|
"" + new URL("assets/editor.worker-BxEYBjj-.js", import.meta.url).href,
|
9206
9235
|
{
|
@@ -9210,17 +9239,17 @@ function k1(i) {
|
|
9210
9239
|
);
|
9211
9240
|
}
|
9212
9241
|
const {
|
9213
|
-
slice:
|
9214
|
-
forEach:
|
9242
|
+
slice: Ly,
|
9243
|
+
forEach: Ty
|
9215
9244
|
} = [];
|
9216
|
-
function
|
9217
|
-
return
|
9245
|
+
function Ny(i) {
|
9246
|
+
return Ty.call(Ly.call(arguments, 1), (n) => {
|
9218
9247
|
if (n)
|
9219
9248
|
for (const r in n)
|
9220
9249
|
i[r] === void 0 && (i[r] = n[r]);
|
9221
9250
|
}), i;
|
9222
9251
|
}
|
9223
|
-
const vc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
9252
|
+
const vc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ry = (i, n, r) => {
|
9224
9253
|
const s = r || {};
|
9225
9254
|
s.path = s.path || "/";
|
9226
9255
|
const a = encodeURIComponent(n);
|
@@ -9270,7 +9299,7 @@ const vc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, R1 = (i, n, r) => {
|
|
9270
9299
|
path: "/",
|
9271
9300
|
sameSite: "strict"
|
9272
9301
|
};
|
9273
|
-
r && (a.expires = /* @__PURE__ */ new Date(), a.expires.setTime(a.expires.getTime() + r * 60 * 1e3)), s && (a.domain = s), document.cookie =
|
9302
|
+
r && (a.expires = /* @__PURE__ */ new Date(), a.expires.setTime(a.expires.getTime() + r * 60 * 1e3)), s && (a.domain = s), document.cookie = Ry(i, encodeURIComponent(n), a);
|
9274
9303
|
},
|
9275
9304
|
read(i) {
|
9276
9305
|
const n = `${i}=`, r = document.cookie.split(";");
|
@@ -9287,7 +9316,7 @@ const vc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, R1 = (i, n, r) => {
|
|
9287
9316
|
this.create(i, "", -1);
|
9288
9317
|
}
|
9289
9318
|
};
|
9290
|
-
var
|
9319
|
+
var Py = {
|
9291
9320
|
name: "cookie",
|
9292
9321
|
// Deconstruct the options object and extract the lookupCookie property
|
9293
9322
|
lookup(i) {
|
@@ -9307,7 +9336,7 @@ var P1 = {
|
|
9307
9336
|
} = n;
|
9308
9337
|
r && typeof document < "u" && _c.create(r, i, s, a, l);
|
9309
9338
|
}
|
9310
|
-
},
|
9339
|
+
}, My = {
|
9311
9340
|
name: "querystring",
|
9312
9341
|
// Deconstruct the options object and extract the lookupQuerystring property
|
9313
9342
|
lookup(i) {
|
@@ -9341,7 +9370,7 @@ const bc = () => {
|
|
9341
9370
|
}
|
9342
9371
|
return Zr;
|
9343
9372
|
};
|
9344
|
-
var $
|
9373
|
+
var $y = {
|
9345
9374
|
name: "localStorage",
|
9346
9375
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
9347
9376
|
lookup(i) {
|
@@ -9372,7 +9401,7 @@ const yc = () => {
|
|
9372
9401
|
}
|
9373
9402
|
return Xr;
|
9374
9403
|
};
|
9375
|
-
var
|
9404
|
+
var Fy = {
|
9376
9405
|
name: "sessionStorage",
|
9377
9406
|
lookup(i) {
|
9378
9407
|
let {
|
@@ -9387,7 +9416,7 @@ var F1 = {
|
|
9387
9416
|
} = n;
|
9388
9417
|
r && yc() && window.sessionStorage.setItem(r, i);
|
9389
9418
|
}
|
9390
|
-
},
|
9419
|
+
}, Dy = {
|
9391
9420
|
name: "navigator",
|
9392
9421
|
lookup(i) {
|
9393
9422
|
const n = [];
|
@@ -9404,7 +9433,7 @@ var F1 = {
|
|
9404
9433
|
}
|
9405
9434
|
return n.length > 0 ? n : void 0;
|
9406
9435
|
}
|
9407
|
-
},
|
9436
|
+
}, jy = {
|
9408
9437
|
name: "htmlTag",
|
9409
9438
|
// Deconstruct the options object and extract the htmlTag property
|
9410
9439
|
lookup(i) {
|
@@ -9414,7 +9443,7 @@ var F1 = {
|
|
9414
9443
|
const s = n || (typeof document < "u" ? document.documentElement : null);
|
9415
9444
|
return s && typeof s.getAttribute == "function" && (r = s.getAttribute("lang")), r;
|
9416
9445
|
}
|
9417
|
-
},
|
9446
|
+
}, By = {
|
9418
9447
|
name: "path",
|
9419
9448
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
9420
9449
|
lookup(i) {
|
@@ -9426,7 +9455,7 @@ var F1 = {
|
|
9426
9455
|
const r = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
9427
9456
|
return Array.isArray(r) ? r[typeof n == "number" ? n : 0]?.replace("/", "") : void 0;
|
9428
9457
|
}
|
9429
|
-
},
|
9458
|
+
}, Uy = {
|
9430
9459
|
name: "subdomain",
|
9431
9460
|
lookup(i) {
|
9432
9461
|
let {
|
@@ -9437,7 +9466,7 @@ var F1 = {
|
|
9437
9466
|
return s[r];
|
9438
9467
|
}
|
9439
9468
|
};
|
9440
|
-
function
|
9469
|
+
function Hy() {
|
9441
9470
|
return {
|
9442
9471
|
order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
|
9443
9472
|
lookupQuerystring: "lng",
|
@@ -9461,7 +9490,7 @@ class Pf {
|
|
9461
9490
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
9462
9491
|
this.services = n || {
|
9463
9492
|
languageUtils: {}
|
9464
|
-
}, this.options =
|
9493
|
+
}, this.options = Ny(r, this.options || {}, Hy()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (a) => a.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = s, this.addDetector(Py), this.addDetector(My), this.addDetector($y), this.addDetector(Fy), this.addDetector(Dy), this.addDetector(jy), this.addDetector(By), this.addDetector(Uy);
|
9465
9494
|
}
|
9466
9495
|
addDetector(n) {
|
9467
9496
|
return this.detectors[n.name] = n, this;
|
@@ -9483,10 +9512,10 @@ class Pf {
|
|
9483
9512
|
}
|
9484
9513
|
}
|
9485
9514
|
Pf.type = "languageDetector";
|
9486
|
-
const
|
9487
|
-
console?.warn && (
|
9515
|
+
const Wy = (...i) => {
|
9516
|
+
console?.warn && (zn(i[0]) && (i[0] = `react-i18next:: ${i[0]}`), console.warn(...i));
|
9488
9517
|
}, xc = {}, oa = (...i) => {
|
9489
|
-
|
9518
|
+
zn(i[0]) && xc[i[0]] || (zn(i[0]) && (xc[i[0]] = /* @__PURE__ */ new Date()), Wy(...i));
|
9490
9519
|
}, Mf = (i, n) => () => {
|
9491
9520
|
if (i.isInitialized)
|
9492
9521
|
n();
|
@@ -9501,18 +9530,18 @@ const W1 = (...i) => {
|
|
9501
9530
|
}, sa = (i, n, r) => {
|
9502
9531
|
i.loadNamespaces(n, Mf(i, r));
|
9503
9532
|
}, wc = (i, n, r, s) => {
|
9504
|
-
if (
|
9533
|
+
if (zn(r) && (r = [r]), i.options.preload && i.options.preload.indexOf(n) > -1)
|
9505
9534
|
return sa(i, r, s);
|
9506
9535
|
r.forEach((a) => {
|
9507
9536
|
i.options.ns.indexOf(a) < 0 && i.options.ns.push(a);
|
9508
9537
|
}), i.loadLanguages(n, Mf(i, s));
|
9509
|
-
},
|
9538
|
+
}, Ky = (i, n, r = {}) => !n.languages || !n.languages.length ? (oa("i18n.languages were undefined or empty", n.languages), !0) : n.hasLoadedNamespace(i, {
|
9510
9539
|
lng: r.lng,
|
9511
9540
|
precheck: (s, a) => {
|
9512
9541
|
if (r.bindI18n?.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !a(s.isLanguageChangingTo, i))
|
9513
9542
|
return !1;
|
9514
9543
|
}
|
9515
|
-
}),
|
9544
|
+
}), zn = (i) => typeof i == "string", zy = (i) => typeof i == "object" && i !== null, Gy = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, qy = {
|
9516
9545
|
"&": "&",
|
9517
9546
|
"&": "&",
|
9518
9547
|
"<": "<",
|
@@ -9533,7 +9562,7 @@ const W1 = (...i) => {
|
|
9533
9562
|
"…": "…",
|
9534
9563
|
"/": "/",
|
9535
9564
|
"/": "/"
|
9536
|
-
},
|
9565
|
+
}, Yy = (i) => qy[i], Vy = (i) => i.replace(Gy, Yy);
|
9537
9566
|
let aa = {
|
9538
9567
|
bindI18n: "languageChanged",
|
9539
9568
|
bindI18nStore: "",
|
@@ -9542,24 +9571,24 @@ let aa = {
|
|
9542
9571
|
transWrapTextNodes: "",
|
9543
9572
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
9544
9573
|
useSuspense: !0,
|
9545
|
-
unescape:
|
9574
|
+
unescape: Vy
|
9546
9575
|
};
|
9547
|
-
const
|
9576
|
+
const Jy = (i = {}) => {
|
9548
9577
|
aa = {
|
9549
9578
|
...aa,
|
9550
9579
|
...i
|
9551
9580
|
};
|
9552
|
-
},
|
9581
|
+
}, Zy = () => aa;
|
9553
9582
|
let $f;
|
9554
|
-
const
|
9583
|
+
const Xy = (i) => {
|
9555
9584
|
$f = i;
|
9556
|
-
},
|
9585
|
+
}, Qy = () => $f, e1 = {
|
9557
9586
|
type: "3rdParty",
|
9558
9587
|
init(i) {
|
9559
|
-
|
9588
|
+
Jy(i.options.react), Xy(i);
|
9560
9589
|
}
|
9561
|
-
},
|
9562
|
-
class
|
9590
|
+
}, t1 = Jv();
|
9591
|
+
class n1 {
|
9563
9592
|
constructor() {
|
9564
9593
|
this.usedNamespaces = {};
|
9565
9594
|
}
|
@@ -9572,26 +9601,26 @@ class ny {
|
|
9572
9601
|
return Object.keys(this.usedNamespaces);
|
9573
9602
|
}
|
9574
9603
|
}
|
9575
|
-
const
|
9604
|
+
const r1 = (i, n) => {
|
9576
9605
|
const r = Se();
|
9577
9606
|
return Ee(() => {
|
9578
9607
|
r.current = n ? r.current : i;
|
9579
9608
|
}, [i, n]), r.current;
|
9580
|
-
}, Ff = (i, n, r, s) => i.getFixedT(n, r, s),
|
9609
|
+
}, Ff = (i, n, r, s) => i.getFixedT(n, r, s), i1 = (i, n, r, s) => En(Ff(i, n, r, s), [i, n, r, s]), br = (i, n = {}) => {
|
9581
9610
|
const {
|
9582
9611
|
i18n: r
|
9583
9612
|
} = n, {
|
9584
9613
|
i18n: s,
|
9585
9614
|
defaultNS: a
|
9586
|
-
} = Zv(
|
9587
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
9615
|
+
} = Zv(t1) || {}, l = r || s || Qy();
|
9616
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new n1()), !l) {
|
9588
9617
|
oa("You will need to pass in an i18next instance by using initReactI18next");
|
9589
|
-
const B = (M, A) =>
|
9618
|
+
const B = (M, A) => zn(A) ? A : zy(A) && zn(A.defaultValue) ? A.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, H = [B, {}, !1];
|
9590
9619
|
return H.t = B, H.i18n = {}, H.ready = !1, H;
|
9591
9620
|
}
|
9592
9621
|
l.options.react?.wait && oa("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
9593
9622
|
const c = {
|
9594
|
-
...
|
9623
|
+
...Zy(),
|
9595
9624
|
...l.options.react,
|
9596
9625
|
...n
|
9597
9626
|
}, {
|
@@ -9599,11 +9628,11 @@ const ry = (i, n) => {
|
|
9599
9628
|
keyPrefix: h
|
9600
9629
|
} = c;
|
9601
9630
|
let p = i || a || l.options?.defaultNS;
|
9602
|
-
p =
|
9603
|
-
const v = (l.isInitialized || l.initializedStoreOnce) && p.every((B) =>
|
9631
|
+
p = zn(p) ? [p] : p || ["translation"], l.reportNamespaces.addUsedNamespaces?.(p);
|
9632
|
+
const v = (l.isInitialized || l.initializedStoreOnce) && p.every((B) => Ky(B, l, c)), b = i1(l, n.lng || null, c.nsMode === "fallback" ? p : p[0], h), x = () => b, k = () => Ff(l, n.lng || null, c.nsMode === "fallback" ? p : p[0], h), [T, $] = Pe(x);
|
9604
9633
|
let U = p.join();
|
9605
9634
|
n.lng && (U = `${n.lng}${U}`);
|
9606
|
-
const W =
|
9635
|
+
const W = r1(U), I = Se(!0);
|
9607
9636
|
Ee(() => {
|
9608
9637
|
const {
|
9609
9638
|
bindI18n: B,
|
@@ -9629,7 +9658,7 @@ const ry = (i, n) => {
|
|
9629
9658
|
throw new Promise((B) => {
|
9630
9659
|
n.lng ? wc(l, n.lng, p, () => B()) : sa(l, p, () => B());
|
9631
9660
|
});
|
9632
|
-
},
|
9661
|
+
}, o1 = {
|
9633
9662
|
type: "type",
|
9634
9663
|
syntax: "syntax",
|
9635
9664
|
overloads: "overloads",
|
@@ -9687,8 +9716,10 @@ const ry = (i, n) => {
|
|
9687
9716
|
"Enum members": "Enum members",
|
9688
9717
|
statement: "statement",
|
9689
9718
|
loop: "loop",
|
9690
|
-
"`click` on keyword for more help": "`click` on keyword for more help"
|
9691
|
-
|
9719
|
+
"`click` on keyword for more help": "`click` on keyword for more help",
|
9720
|
+
"new indicator": "New Indicator",
|
9721
|
+
"new strategy": "New Strategy"
|
9722
|
+
}, s1 = {
|
9692
9723
|
type: "类型",
|
9693
9724
|
syntax: "语法",
|
9694
9725
|
overloads: "重载",
|
@@ -9746,9 +9777,11 @@ const ry = (i, n) => {
|
|
9746
9777
|
"Enum members": "枚举成员",
|
9747
9778
|
statement: "声明",
|
9748
9779
|
loop: "循环",
|
9749
|
-
"`click` on keyword for more help": "“点击”关键词以获得更多帮助"
|
9780
|
+
"`click` on keyword for more help": "“点击”关键词以获得更多帮助",
|
9781
|
+
"new indicator": "新建指标",
|
9782
|
+
"new strategy": "新建策略"
|
9750
9783
|
};
|
9751
|
-
|
9784
|
+
Ne.use(Pf).use(e1).init({
|
9752
9785
|
debug: !1,
|
9753
9786
|
fallbackLng: "zh",
|
9754
9787
|
interpolation: {
|
@@ -9756,16 +9789,16 @@ Me.use(Pf).use(ey).init({
|
|
9756
9789
|
},
|
9757
9790
|
resources: {
|
9758
9791
|
en: {
|
9759
|
-
translation:
|
9792
|
+
translation: o1
|
9760
9793
|
},
|
9761
9794
|
zh: {
|
9762
|
-
translation:
|
9795
|
+
translation: s1
|
9763
9796
|
}
|
9764
9797
|
}
|
9765
9798
|
});
|
9766
9799
|
self.MonacoEnvironment = {
|
9767
9800
|
getWorker() {
|
9768
|
-
return new
|
9801
|
+
return new ky({ name: "Editor Worker" });
|
9769
9802
|
}
|
9770
9803
|
};
|
9771
9804
|
da.config({
|
@@ -9774,7 +9807,7 @@ da.config({
|
|
9774
9807
|
},
|
9775
9808
|
"vs/nls": { availableLanguages: { "*": "zh-cn" } }
|
9776
9809
|
});
|
9777
|
-
const
|
9810
|
+
const a1 = (i, n) => {
|
9778
9811
|
const { height: r, width: s, theme: a, options: l, hasDiff: c, readOnly: f, defaultValue: h, language: p, onChange: v, onLinkOpen: b, onCursorPositionChange: x, onActionTrigger: k, onEditorDidMount: T, onVersionChange: $ } = i, { t: U, i18n: W } = br(), I = Se(null), Z = Se(null), B = Se(!1), H = Se(!1);
|
9779
9812
|
ff(n, () => ({
|
9780
9813
|
setOriginalScript(ee) {
|
@@ -9812,14 +9845,14 @@ const ay = (i, n) => {
|
|
9812
9845
|
b && I.current?.addLinkOpenFunc(b);
|
9813
9846
|
}, [b]);
|
9814
9847
|
function M(ee, ye) {
|
9815
|
-
bo.setEditor(ee), I.current = new
|
9816
|
-
const
|
9817
|
-
I.current.onChangeCursorPosition(x), v && v(
|
9848
|
+
bo.setEditor(ee), I.current = new my(ee, ye, k), b && I.current?.addLinkOpenFunc(b), c && I.current?.addDiffDecorations(), Hb(ee), requestAnimationFrame(J);
|
9849
|
+
const K = ee.getValue();
|
9850
|
+
I.current.onChangeCursorPosition(x), v && v(K), !f && A(K), T && T();
|
9818
9851
|
}
|
9819
9852
|
const A = En(async (ee) => {
|
9820
9853
|
const ye = I.current?.getVersion();
|
9821
|
-
$ && $(ye ||
|
9822
|
-
const { errors:
|
9854
|
+
$ && $(ye || Qt), B.current = !1;
|
9855
|
+
const { errors: K, functions: te, methods: q, types: ie, variables: le, overloadsFuncs: D, imports: ne, enums: me } = await Ay(ee, !1, ye), ue = new Map(Object.entries(te)), De = new Map(Object.entries(q)), Ge = new Map(Object.entries(ie)), it = new Map(Object.entries(le)), et = new Map(Object.entries(ne)), Ve = new Map(Object.entries(me));
|
9823
9856
|
kn.setUserDefined({
|
9824
9857
|
functions: ue,
|
9825
9858
|
methods: De,
|
@@ -9827,13 +9860,13 @@ const ay = (i, n) => {
|
|
9827
9860
|
variables: it,
|
9828
9861
|
imports: et,
|
9829
9862
|
enums: Ve
|
9830
|
-
}, D),
|
9831
|
-
const _t =
|
9863
|
+
}, D), Gt.setUserDefind(ue, Ge, it, De, Ve);
|
9864
|
+
const _t = K.map((bt) => ({
|
9832
9865
|
...bt,
|
9833
9866
|
severity: bt.type || e_.Error
|
9834
9867
|
}));
|
9835
9868
|
f || !B.current && !H.current && _t.length && I.current?.setModelMarkers(_t);
|
9836
|
-
}, [f]), Y = Xv(() =>
|
9869
|
+
}, [f]), Y = Xv(() => zb.debounce(A, 1500), [A]);
|
9837
9870
|
function X(ee) {
|
9838
9871
|
if (f) {
|
9839
9872
|
A(ee || "");
|
@@ -9852,7 +9885,7 @@ const ay = (i, n) => {
|
|
9852
9885
|
return Z.current && ye.observe(Z.current), () => {
|
9853
9886
|
Z.current && ye.unobserve(Z.current), ye.disconnect(), I.current?.dispose();
|
9854
9887
|
};
|
9855
|
-
}, []), C.jsx("div", { ref: Z, children: C.jsx(cb, { height: r, width: s || "100%", defaultLanguage:
|
9888
|
+
}, []), C.jsx("div", { ref: Z, children: C.jsx(cb, { height: r, width: s || "100%", defaultLanguage: ze, defaultValue: h || `//@version=6
|
9856
9889
|
indicator("我的脚本")
|
9857
9890
|
plot(close)
|
9858
9891
|
`, theme: a || "vs-dark", className: `tvue-script ${a || "vs-dark"}`, options: {
|
@@ -9876,25 +9909,25 @@ plot(close)
|
|
9876
9909
|
},
|
9877
9910
|
...l
|
9878
9911
|
}, onMount: M, onChange: X }) });
|
9879
|
-
},
|
9880
|
-
const { theme: n, modified: r, original: s, height: a, width: l, renderSideBySide: c = !0, version: f =
|
9912
|
+
}, F1 = cf(a1), D1 = (i) => {
|
9913
|
+
const { theme: n, modified: r, original: s, height: a, width: l, renderSideBySide: c = !0, version: f = Qt } = i, h = En(async (p, v) => {
|
9881
9914
|
v.languages.register({
|
9882
|
-
id:
|
9915
|
+
id: ze
|
9883
9916
|
}), v.editor.defineTheme("vs-dark", ga), v.editor.defineTheme("vs", ha);
|
9884
9917
|
const b = await Eo(f);
|
9885
|
-
b && (v.languages.setMonarchTokensProvider(
|
9918
|
+
b && (v.languages.setMonarchTokensProvider(ze, b.LANGUAGE_MONARCH_TOKENS), v.languages.setLanguageConfiguration(ze, b.CONFIGURATION));
|
9886
9919
|
}, [f]);
|
9887
9920
|
return C.jsx(ob, { height: a || "90vh", width: l || "100%", theme: n || "vs-dark", options: {
|
9888
9921
|
readOnly: !0,
|
9889
9922
|
renderSideBySide: c,
|
9890
9923
|
scrollBeyondLastLine: !1
|
9891
|
-
}, language:
|
9924
|
+
}, language: ze, modified: r, original: s, onMount: h });
|
9892
9925
|
};
|
9893
9926
|
var Cc;
|
9894
9927
|
(function(i) {
|
9895
9928
|
i[i.Hint = 1] = "Hint", i[i.Info = 2] = "Info", i[i.Warning = 4] = "Warning", i[i.Error = 8] = "Error";
|
9896
9929
|
})(Cc || (Cc = {}));
|
9897
|
-
var Io = {},
|
9930
|
+
var Io = {}, l1 = function() {
|
9898
9931
|
var i = document.getSelection();
|
9899
9932
|
if (!i.rangeCount)
|
9900
9933
|
return function() {
|
@@ -9915,20 +9948,20 @@ var Io = {}, ly = function() {
|
|
9915
9948
|
i.addRange(a);
|
9916
9949
|
}), n && n.focus();
|
9917
9950
|
};
|
9918
|
-
},
|
9951
|
+
}, u1 = l1, Sc = {
|
9919
9952
|
"text/plain": "Text",
|
9920
9953
|
"text/html": "Url",
|
9921
9954
|
default: "Text"
|
9922
|
-
},
|
9923
|
-
function
|
9955
|
+
}, c1 = "Copy to clipboard: #{key}, Enter";
|
9956
|
+
function f1(i) {
|
9924
9957
|
var n = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
9925
9958
|
return i.replace(/#{\s*key\s*}/g, n);
|
9926
9959
|
}
|
9927
|
-
function
|
9960
|
+
function d1(i, n) {
|
9928
9961
|
var r, s, a, l, c, f, h = !1;
|
9929
9962
|
n || (n = {}), r = n.debug || !1;
|
9930
9963
|
try {
|
9931
|
-
a =
|
9964
|
+
a = u1(), l = document.createRange(), c = document.getSelection(), f = document.createElement("span"), f.textContent = i, f.ariaHidden = "true", f.style.all = "unset", f.style.position = "fixed", f.style.top = 0, f.style.clip = "rect(0, 0, 0, 0)", f.style.whiteSpace = "pre", f.style.webkitUserSelect = "text", f.style.MozUserSelect = "text", f.style.msUserSelect = "text", f.style.userSelect = "text", f.addEventListener("copy", function(v) {
|
9932
9965
|
if (v.stopPropagation(), n.format)
|
9933
9966
|
if (v.preventDefault(), typeof v.clipboardData > "u") {
|
9934
9967
|
r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
@@ -9947,14 +9980,14 @@ function dy(i, n) {
|
|
9947
9980
|
try {
|
9948
9981
|
window.clipboardData.setData(n.format || "text", i), n.onCopy && n.onCopy(window.clipboardData), h = !0;
|
9949
9982
|
} catch (b) {
|
9950
|
-
r && console.error("unable to copy using clipboardData: ", b), r && console.error("falling back to prompt"), s =
|
9983
|
+
r && console.error("unable to copy using clipboardData: ", b), r && console.error("falling back to prompt"), s = f1("message" in n ? n.message : c1), window.prompt(s, i);
|
9951
9984
|
}
|
9952
9985
|
} finally {
|
9953
9986
|
c && (typeof c.removeRange == "function" ? c.removeRange(l) : c.removeAllRanges()), f && document.body.removeChild(f), a();
|
9954
9987
|
}
|
9955
9988
|
return h;
|
9956
9989
|
}
|
9957
|
-
var
|
9990
|
+
var h1 = d1;
|
9958
9991
|
function la(i) {
|
9959
9992
|
"@babel/helpers - typeof";
|
9960
9993
|
return la = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
@@ -9967,7 +10000,7 @@ Object.defineProperty(Io, "__esModule", {
|
|
9967
10000
|
value: !0
|
9968
10001
|
});
|
9969
10002
|
Io.CopyToClipboard = void 0;
|
9970
|
-
var lo = Df(hn),
|
10003
|
+
var lo = Df(hn), g1 = Df(h1), p1 = ["text", "onCopy", "options", "children"];
|
9971
10004
|
function Df(i) {
|
9972
10005
|
return i && i.__esModule ? i : { default: i };
|
9973
10006
|
}
|
@@ -9992,10 +10025,10 @@ function Ec(i) {
|
|
9992
10025
|
}
|
9993
10026
|
return i;
|
9994
10027
|
}
|
9995
|
-
function
|
10028
|
+
function m1(i, n) {
|
9996
10029
|
if (i == null)
|
9997
10030
|
return {};
|
9998
|
-
var r =
|
10031
|
+
var r = v1(i, n), s, a;
|
9999
10032
|
if (Object.getOwnPropertySymbols) {
|
10000
10033
|
var l = Object.getOwnPropertySymbols(i);
|
10001
10034
|
for (a = 0; a < l.length; a++)
|
@@ -10003,7 +10036,7 @@ function my(i, n) {
|
|
10003
10036
|
}
|
10004
10037
|
return r;
|
10005
10038
|
}
|
10006
|
-
function
|
10039
|
+
function v1(i, n) {
|
10007
10040
|
if (i == null)
|
10008
10041
|
return {};
|
10009
10042
|
var r = {}, s = Object.keys(i), a, l;
|
@@ -10011,7 +10044,7 @@ function vy(i, n) {
|
|
10011
10044
|
a = s[l], !(n.indexOf(a) >= 0) && (r[a] = i[a]);
|
10012
10045
|
return r;
|
10013
10046
|
}
|
10014
|
-
function
|
10047
|
+
function _1(i, n) {
|
10015
10048
|
if (!(i instanceof n))
|
10016
10049
|
throw new TypeError("Cannot call a class as a function");
|
10017
10050
|
}
|
@@ -10021,10 +10054,10 @@ function Ic(i, n) {
|
|
10021
10054
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(i, s.key, s);
|
10022
10055
|
}
|
10023
10056
|
}
|
10024
|
-
function
|
10057
|
+
function b1(i, n, r) {
|
10025
10058
|
return n && Ic(i.prototype, n), r && Ic(i, r), Object.defineProperty(i, "prototype", { writable: !1 }), i;
|
10026
10059
|
}
|
10027
|
-
function
|
10060
|
+
function y1(i, n) {
|
10028
10061
|
if (typeof n != "function" && n !== null)
|
10029
10062
|
throw new TypeError("Super expression must either be null or a function");
|
10030
10063
|
i.prototype = Object.create(n && n.prototype, { constructor: { value: i, writable: !0, configurable: !0 } }), Object.defineProperty(i, "prototype", { writable: !1 }), n && ua(i, n);
|
@@ -10034,8 +10067,8 @@ function ua(i, n) {
|
|
10034
10067
|
return s.__proto__ = a, s;
|
10035
10068
|
}, ua(i, n);
|
10036
10069
|
}
|
10037
|
-
function
|
10038
|
-
var n =
|
10070
|
+
function x1(i) {
|
10071
|
+
var n = C1();
|
10039
10072
|
return function() {
|
10040
10073
|
var s = Co(i), a;
|
10041
10074
|
if (n) {
|
@@ -10043,10 +10076,10 @@ function xy(i) {
|
|
10043
10076
|
a = Reflect.construct(s, arguments, l);
|
10044
10077
|
} else
|
10045
10078
|
a = s.apply(this, arguments);
|
10046
|
-
return
|
10079
|
+
return w1(this, a);
|
10047
10080
|
};
|
10048
10081
|
}
|
10049
|
-
function
|
10082
|
+
function w1(i, n) {
|
10050
10083
|
if (n && (la(n) === "object" || typeof n == "function"))
|
10051
10084
|
return n;
|
10052
10085
|
if (n !== void 0)
|
@@ -10058,7 +10091,7 @@ function jf(i) {
|
|
10058
10091
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
10059
10092
|
return i;
|
10060
10093
|
}
|
10061
|
-
function
|
10094
|
+
function C1() {
|
10062
10095
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
10063
10096
|
return !1;
|
10064
10097
|
if (typeof Proxy == "function")
|
@@ -10079,24 +10112,24 @@ function _a(i, n, r) {
|
|
10079
10112
|
return n in i ? Object.defineProperty(i, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : i[n] = r, i;
|
10080
10113
|
}
|
10081
10114
|
var Bf = /* @__PURE__ */ function(i) {
|
10082
|
-
|
10083
|
-
var n =
|
10115
|
+
y1(r, i);
|
10116
|
+
var n = x1(r);
|
10084
10117
|
function r() {
|
10085
10118
|
var s;
|
10086
|
-
|
10119
|
+
_1(this, r);
|
10087
10120
|
for (var a = arguments.length, l = new Array(a), c = 0; c < a; c++)
|
10088
10121
|
l[c] = arguments[c];
|
10089
10122
|
return s = n.call.apply(n, [this].concat(l)), _a(jf(s), "onClick", function(f) {
|
10090
|
-
var h = s.props, p = h.text, v = h.onCopy, b = h.children, x = h.options, k = lo.default.Children.only(b), T = (0,
|
10123
|
+
var h = s.props, p = h.text, v = h.onCopy, b = h.children, x = h.options, k = lo.default.Children.only(b), T = (0, g1.default)(p, x);
|
10091
10124
|
v && v(p, T), k && k.props && typeof k.props.onClick == "function" && k.props.onClick(f);
|
10092
10125
|
}), s;
|
10093
10126
|
}
|
10094
|
-
return
|
10127
|
+
return b1(r, [{
|
10095
10128
|
key: "render",
|
10096
10129
|
value: function() {
|
10097
10130
|
var a = this.props;
|
10098
10131
|
a.text, a.onCopy, a.options;
|
10099
|
-
var l = a.children, c =
|
10132
|
+
var l = a.children, c = m1(a, p1), f = lo.default.Children.only(l);
|
10100
10133
|
return /* @__PURE__ */ lo.default.cloneElement(f, Ec(Ec({}, c), {}, {
|
10101
10134
|
onClick: this.onClick
|
10102
10135
|
}));
|
@@ -10108,12 +10141,12 @@ _a(Bf, "defaultProps", {
|
|
10108
10141
|
onCopy: void 0,
|
10109
10142
|
options: void 0
|
10110
10143
|
});
|
10111
|
-
var
|
10144
|
+
var S1 = Io, ca = S1.CopyToClipboard;
|
10112
10145
|
ca.CopyToClipboard = ca;
|
10113
|
-
var
|
10114
|
-
const _r = /* @__PURE__ */ n_(
|
10146
|
+
var O1 = ca;
|
10147
|
+
const _r = /* @__PURE__ */ n_(O1);
|
10115
10148
|
Qe.register({
|
10116
|
-
id:
|
10149
|
+
id: ze
|
10117
10150
|
});
|
10118
10151
|
In.defineTheme("vs-dark", ga);
|
10119
10152
|
In.defineTheme("vs", ha);
|
@@ -10137,10 +10170,10 @@ const Uf = [
|
|
10137
10170
|
];
|
10138
10171
|
async function ba(i) {
|
10139
10172
|
const n = await Eo(i);
|
10140
|
-
n && (Qe.setMonarchTokensProvider(
|
10173
|
+
n && (Qe.setMonarchTokensProvider(ze, n.LANGUAGE_MONARCH_TOKENS), Qe.setLanguageConfiguration(ze, n.CONFIGURATION));
|
10141
10174
|
}
|
10142
|
-
async function
|
10143
|
-
return n && In.setTheme(n.includes("dark") ? "vs-dark" : "light"), r && await ba(r), await In.colorize(i,
|
10175
|
+
async function E1(i, n, r) {
|
10176
|
+
return n && In.setTheme(n.includes("dark") ? "vs-dark" : "light"), r && await ba(r), await In.colorize(i, ze, {
|
10144
10177
|
tabSize: 4
|
10145
10178
|
});
|
10146
10179
|
}
|
@@ -10152,14 +10185,14 @@ async function ya(i, n = 0) {
|
|
10152
10185
|
name: s,
|
10153
10186
|
orirginalName: s
|
10154
10187
|
};
|
10155
|
-
if (i.length > 1 && (T.overloads = `${i.length} ${
|
10188
|
+
if (i.length > 1 && (T.overloads = `${i.length} ${Ne.t("overloads")}`), l && (T.type = l), a && (T.name = `${s}()`, T.args = a.map(($) => {
|
10156
10189
|
const { name: U, desc: W, displayType: I } = $;
|
10157
10190
|
return {
|
10158
10191
|
label: `${U} (${I})`,
|
10159
10192
|
desc: W && Wn(W)
|
10160
10193
|
};
|
10161
10194
|
})), c && (T.desc = c.map(($) => Wn($))), f && (T.originalExample = f.join(`
|
10162
|
-
`), T.examples = await In.colorize(T.originalExample,
|
10195
|
+
`), T.examples = await In.colorize(T.originalExample, ze, {
|
10163
10196
|
tabSize: 4
|
10164
10197
|
})), b) {
|
10165
10198
|
T.detailedDesc = [];
|
@@ -10167,7 +10200,7 @@ async function ya(i, n = 0) {
|
|
10167
10200
|
const { desc: U, examples: W } = $;
|
10168
10201
|
let I = U.map((H) => Wn(H)), Z, B;
|
10169
10202
|
W && (B = W.join(`
|
10170
|
-
`), Z = await
|
10203
|
+
`), Z = await E1(B)), T.detailedDesc.push({
|
10171
10204
|
desc: I,
|
10172
10205
|
examples: Z,
|
10173
10206
|
originalExample: B
|
@@ -10180,9 +10213,9 @@ async function ya(i, n = 0) {
|
|
10180
10213
|
label: `${U} (${I})`,
|
10181
10214
|
desc: W && Wn(W)
|
10182
10215
|
};
|
10183
|
-
})), p && (T.seeAlso = p.map(($) =>
|
10216
|
+
})), p && (T.seeAlso = p.map(($) => I1($))), T;
|
10184
10217
|
}
|
10185
|
-
function
|
10218
|
+
function I1(i) {
|
10186
10219
|
const r = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g.exec(i);
|
10187
10220
|
if (r) {
|
10188
10221
|
const [s, a, l] = r;
|
@@ -10237,8 +10270,8 @@ function Hf(i, n, r, s) {
|
|
10237
10270
|
if (T) {
|
10238
10271
|
let X = !1;
|
10239
10272
|
for (const J of T) {
|
10240
|
-
const { name: ee, desc: ye, displayType:
|
10241
|
-
if (ee.includes(i) || ye?.includes(i) ||
|
10273
|
+
const { name: ee, desc: ye, displayType: K } = J;
|
10274
|
+
if (ee.includes(i) || ye?.includes(i) || K?.includes(i)) {
|
10242
10275
|
c.push(Y), X = !0;
|
10243
10276
|
break;
|
10244
10277
|
}
|
@@ -10306,8 +10339,8 @@ function Hf(i, n, r, s) {
|
|
10306
10339
|
if (M) {
|
10307
10340
|
let X = !1;
|
10308
10341
|
for (const J of M) {
|
10309
|
-
const { name: ee, desc: ye, type:
|
10310
|
-
if (ee.includes(i) || ye?.includes(i) ||
|
10342
|
+
const { name: ee, desc: ye, type: K } = J;
|
10343
|
+
if (ee.includes(i) || ye?.includes(i) || K?.includes(i)) {
|
10311
10344
|
c.push(Y), X = !0;
|
10312
10345
|
break;
|
10313
10346
|
}
|
@@ -10332,8 +10365,8 @@ function Hf(i, n, r, s) {
|
|
10332
10365
|
contentList: c
|
10333
10366
|
};
|
10334
10367
|
}
|
10335
|
-
const
|
10336
|
-
const { group: n, itemKey: r, onItemClick: s, currentIndex: a, keyMaps: l, version: c } = i, { t: f } = br(), [h, p] =
|
10368
|
+
const A1 = (i) => {
|
10369
|
+
const { group: n, itemKey: r, onItemClick: s, currentIndex: a, keyMaps: l, version: c } = i, { t: f } = br(), [h, p] = Pe(), [v, b] = Pe(""), [x, k] = Pe(0), [T, $] = Pe(f("Copy code")), [U, W] = Pe(f("Copy link"));
|
10337
10370
|
Ee(() => {
|
10338
10371
|
I(a);
|
10339
10372
|
}, [r, l]);
|
@@ -10382,8 +10415,8 @@ const Ay = (i) => {
|
|
10382
10415
|
key: "variables",
|
10383
10416
|
prefix: "var",
|
10384
10417
|
index: 0
|
10385
|
-
},
|
10386
|
-
const [c, f] =
|
10418
|
+
}, j1 = ({ theme: i = "vs-dark", language: n, currentValue: r, version: s = Qt, onChange: a, onVersionChange: l }) => {
|
10419
|
+
const [c, f] = Pe({}), { t: h, i18n: p } = br(), [v, b] = Pe(Ac), [x, k] = Pe(s || 6), [T, $] = Pe(null), [U, W] = Pe(0), [I, Z] = Pe(""), [B, H] = Pe(vo(s)), M = Se(null), A = Se(null), Y = Se(null), X = (D) => {
|
10387
10420
|
D.key === v?.key && !v?.isHidden ? b({ ...D, isHidden: !0 }) : b(D), M.current?.focus();
|
10388
10421
|
}, J = (D, ne = !1) => {
|
10389
10422
|
ba(D), An(D).then((me) => {
|
@@ -10413,7 +10446,7 @@ const Ay = (i) => {
|
|
10413
10446
|
}, [M.current]);
|
10414
10447
|
const ye = (D, ne) => {
|
10415
10448
|
D !== B && (ne && b(ne), W(0), H(D), a && a(D), Y.current?.scrollTo({ top: 0 }), M.current?.focus());
|
10416
|
-
},
|
10449
|
+
}, K = (D) => {
|
10417
10450
|
if (D.target.value.trim() === "")
|
10418
10451
|
te();
|
10419
10452
|
else {
|
@@ -10436,7 +10469,7 @@ const Ay = (i) => {
|
|
10436
10469
|
const ne = Number(D);
|
10437
10470
|
k(ne), J(ne, !0), l && l(ne), M.current?.value && (Z(""), $(null), M.current?.focus());
|
10438
10471
|
};
|
10439
|
-
return C.jsxs("div", { className: `${i} manual-warpper`, children: [C.jsxs("div", { className: "manual-left", children: [C.jsxs("div", { className: "manual-search", children: [C.jsx("span", { className: "manual-search-icon", children: C.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: C.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), C.jsx("input", { onChange:
|
10472
|
+
return C.jsxs("div", { className: `${i} manual-warpper`, children: [C.jsxs("div", { className: "manual-left", children: [C.jsxs("div", { className: "manual-search", children: [C.jsx("span", { className: "manual-search-icon", children: C.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: C.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), C.jsx("input", { onChange: K, ref: M, spellCheck: "false", value: I, className: "manual-search-input", autoComplete: "off", placeholder: h("search"), type: "text" }), C.jsx("span", { onClick: te, className: `manual-search-clear ${I ? "" : "hide"}`, children: C.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 95.939 95.939", width: "9", height: "9", children: C.jsx("path", { d: "M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z" }) }) })] }), C.jsx("div", { className: `manual-group-search-list manual-scroll ${I ? "" : "hide"}`, children: C.jsxs("div", { children: [T?.labelList.map((D) => C.jsx("a", { onClick: (ne) => {
|
10440
10473
|
ne.preventDefault(), ye(D.key, D.group);
|
10441
10474
|
}, className: `manual-group-body-item ${D.key === B ? "manual-group-body-item-selected" : ""}`, "data-href": D.key, href: `#${D.key}`, children: D.label }, `search_${D.key}`)), C.jsx("div", { className: "manual-content-separator" }), T?.contentList.map((D) => C.jsx("a", { onClick: (ne) => {
|
10442
10475
|
ne.preventDefault(), ye(D.key, D.group);
|
@@ -10445,9 +10478,9 @@ const Ay = (i) => {
|
|
10445
10478
|
return C.jsx("a", { onClick: (ue) => {
|
10446
10479
|
ue.preventDefault(), ye(me);
|
10447
10480
|
}, className: `manual-group-body-item ${me === B ? "manual-group-body-item-selected" : ""}`, "data-href": me, href: `#${me}`, children: `${ne}${D.prefix === "fun" ? "()" : ""}` }, me);
|
10448
|
-
}) })] }, D.key)) }), C.jsx("div", { className: "manual-left-bottom", children: C.jsxs("div", { className: "version-switcher-select-box", children: [C.jsx("select", { className: "version-switcher-select", onChange: (D) => le(D.target.value), defaultValue: s, name: "version", id: "", children: Uf.map((D) => C.jsx("option", { className: "version-switcher-option", value: D.version, children: D.label }, D.version)) }), C.jsx("div", { className: "reference-icon-caret", children: C.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18", height: "18", children: C.jsx("path", { fill: "currentColor", d: "M3.92 7.83 9 12.29l5.08-4.46-1-1.13L9 10.29l-4.09-3.6-.99 1.14Z" }) }) })] }) })] }), C.jsx("div", { ref: Y, className: "manual-right manual-scroll", children: C.jsx(
|
10449
|
-
},
|
10450
|
-
const { onItemClick: n, item: r, prefix: s, value: a, version: l } = i, { t: c } = br(), [f, h] =
|
10481
|
+
}) })] }, D.key)) }), C.jsx("div", { className: "manual-left-bottom", children: C.jsxs("div", { className: "version-switcher-select-box", children: [C.jsx("select", { className: "version-switcher-select", onChange: (D) => le(D.target.value), defaultValue: s, name: "version", id: "", children: Uf.map((D) => C.jsx("option", { className: "version-switcher-option", value: D.version, children: D.label }, D.version)) }), C.jsx("div", { className: "reference-icon-caret", children: C.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18", height: "18", children: C.jsx("path", { fill: "currentColor", d: "M3.92 7.83 9 12.29l5.08-4.46-1-1.13L9 10.29l-4.09-3.6-.99 1.14Z" }) }) })] }) })] }), C.jsx("div", { ref: Y, className: "manual-right manual-scroll", children: C.jsx(A1, { currentIndex: U, version: x, keyMaps: c.KEY_MAP_LIST, group: v, itemKey: B, onItemClick: ie }) })] });
|
10482
|
+
}, k1 = (i) => {
|
10483
|
+
const { onItemClick: n, item: r, prefix: s, value: a, version: l } = i, { t: c } = br(), [f, h] = Pe(), [p, v] = Pe(""), [b, x] = Pe(0), [k, T] = Pe(c("Copy code")), [$, U] = Pe(c("Copy link"));
|
10451
10484
|
Ee(() => {
|
10452
10485
|
a && (h(a), v(`${window.location.origin}/reference-manual/v${l}/#${s}_${a?.orirginalName}`));
|
10453
10486
|
}, [a]);
|
@@ -10489,8 +10522,8 @@ const Ay = (i) => {
|
|
10489
10522
|
} }, A))] }), f?.remarks && C.jsxs(Ue, { children: [C.jsx("div", { className: "manual-page-content-sub-title", children: c("remarks") }), f.remarks.map((M, A) => C.jsx("div", { className: "manual-page-content-text", dangerouslySetInnerHTML: {
|
10490
10523
|
__html: M
|
10491
10524
|
} }, A))] }), f?.seeAlso && C.jsxs(Ue, { children: [C.jsx("div", { className: "manual-page-content-sub-title", children: c("see also") }), C.jsx("div", { className: "manual-page-content-see_also", children: f.seeAlso.map((M, A) => C.jsx("a", { className: "manual-page-content-see_also-tag", "data-name": M?.name, href: M?.link, children: M?.name }, A)) })] })] }) });
|
10492
|
-
},
|
10493
|
-
const { t: b } = br(), [x, k] =
|
10525
|
+
}, L1 = ({ onItemClick: i, onGroupClick: n, selectedItemChange: r, selectItem: s, manualTabRef: a, searchRef: l, contentGroups: c, manualKeys: f, keyMaps: h, version: p, onVersionChange: v }) => {
|
10526
|
+
const { t: b } = br(), [x, k] = Pe(null), [T, $] = Pe("");
|
10494
10527
|
Ee(() => {
|
10495
10528
|
l.current?.focus();
|
10496
10529
|
}, [l.current]);
|
@@ -10523,19 +10556,19 @@ const Ay = (i) => {
|
|
10523
10556
|
key: "variables",
|
10524
10557
|
prefix: "var",
|
10525
10558
|
index: 0
|
10526
|
-
},
|
10527
|
-
const [a, l] =
|
10559
|
+
}, B1 = ({ theme: i = "vs-dark", language: n, version: r = Qt, onVersionChange: s }) => {
|
10560
|
+
const [a, l] = Pe({}), { t: c, i18n: f } = br(), [h, p] = Pe(), v = Se(""), b = Se(null), x = Se(null), k = Se(null), T = Se(null), $ = Se(null), U = Se(null), W = Se(0), I = Se({
|
10528
10561
|
startTop: 0,
|
10529
10562
|
endTop: 0,
|
10530
10563
|
key: vo(r),
|
10531
10564
|
group: Xs,
|
10532
10565
|
index: 0
|
10533
|
-
}), Z = (
|
10534
|
-
ee(
|
10566
|
+
}), Z = (K) => {
|
10567
|
+
ee(K), b.current?.focus();
|
10535
10568
|
};
|
10536
10569
|
Ee(() => {
|
10537
|
-
r && (ba(r), An(r).then((
|
10538
|
-
|
10570
|
+
r && (ba(r), An(r).then((K) => {
|
10571
|
+
K && l(K);
|
10539
10572
|
}));
|
10540
10573
|
}, [r]), Ee(() => {
|
10541
10574
|
$.current || (B(), W.current = k.current?.offsetTop || 0);
|
@@ -10543,22 +10576,22 @@ const Ay = (i) => {
|
|
10543
10576
|
const B = async () => {
|
10544
10577
|
if (!a.CONTENT_GROUPS)
|
10545
10578
|
return;
|
10546
|
-
const
|
10579
|
+
const K = {};
|
10547
10580
|
for (const te of a.CONTENT_GROUPS) {
|
10548
10581
|
const q = te.key, ie = /* @__PURE__ */ new Map();
|
10549
10582
|
for (const le of a.MANUAL_KEYS?.[q]) {
|
10550
10583
|
const D = await ya(a.KEY_MAP_LIST?.[q].get(le) || [], 0);
|
10551
10584
|
D && ie.set(le, D);
|
10552
10585
|
}
|
10553
|
-
|
10586
|
+
K[q] = ie;
|
10554
10587
|
}
|
10555
|
-
p(
|
10588
|
+
p(K);
|
10556
10589
|
};
|
10557
10590
|
Ee(() => {
|
10558
10591
|
if (!$.current && h) {
|
10559
|
-
const
|
10560
|
-
if (
|
10561
|
-
const te =
|
10592
|
+
const K = window.location.hash;
|
10593
|
+
if (K) {
|
10594
|
+
const te = K.replace(/^#/, ""), [q] = te.split("_"), ie = a.CONTENT_GROUPS?.find((le) => le.prefix === q);
|
10562
10595
|
if (ie) {
|
10563
10596
|
ee(ie), Y(te, !0), setTimeout(() => {
|
10564
10597
|
const le = document.getElementById(te);
|
@@ -10578,34 +10611,34 @@ const Ay = (i) => {
|
|
10578
10611
|
}, [n]), Ee(() => {
|
10579
10612
|
b.current?.focus();
|
10580
10613
|
}, [b.current]);
|
10581
|
-
const H = (
|
10582
|
-
if (
|
10614
|
+
const H = (K, te, q) => {
|
10615
|
+
if (K === v.current)
|
10583
10616
|
return;
|
10584
|
-
q && q.key !== $.current?.key && ee(q), Y(
|
10585
|
-
const [ie, le] = M(
|
10617
|
+
q && q.key !== $.current?.key && ee(q), Y(K), window.location.href = `#${K}`;
|
10618
|
+
const [ie, le] = M(K, te);
|
10586
10619
|
I.current = {
|
10587
10620
|
startTop: ie,
|
10588
10621
|
endTop: le,
|
10589
10622
|
group: q || $.current,
|
10590
10623
|
index: te,
|
10591
|
-
key:
|
10624
|
+
key: K
|
10592
10625
|
}, T.current?.classList?.remove("manual-page-current-item-bg"), b.current?.focus();
|
10593
|
-
}, M = (
|
10594
|
-
const q = document.getElementById(
|
10626
|
+
}, M = (K, te = 0) => {
|
10627
|
+
const q = document.getElementById(K), ie = q?.offsetHeight || 0, le = te ? 0 : 78, D = (q?.offsetTop || 0) - 72 - W.current;
|
10595
10628
|
return [D - le, D + ie];
|
10596
|
-
}, A = (
|
10597
|
-
|
10598
|
-
}, Y = (
|
10599
|
-
const q = x.current?.querySelector(`a[data-href="${
|
10600
|
-
if (te && q?.scrollIntoView({ block: "nearest" }), document.getElementById(v.current)?.classList.remove("reference-item-selected"), document.getElementById(
|
10629
|
+
}, A = (K, te) => {
|
10630
|
+
K.key !== $.current?.key && ee(K), Y(te, !0);
|
10631
|
+
}, Y = (K, te = !1) => {
|
10632
|
+
const q = x.current?.querySelector(`a[data-href="${K}"]`);
|
10633
|
+
if (te && q?.scrollIntoView({ block: "nearest" }), document.getElementById(v.current)?.classList.remove("reference-item-selected"), document.getElementById(K)?.classList.add("reference-item-selected"), K === v.current) {
|
10601
10634
|
!q?.classList.contains("manual-page-group-body-item-selected") && q?.classList.add("manual-page-group-body-item-selected"), U.current = q;
|
10602
10635
|
return;
|
10603
10636
|
}
|
10604
|
-
v.current =
|
10605
|
-
}, X = (
|
10606
|
-
const te = a.CONTENT_GROUPS?.find((q) =>
|
10607
|
-
te && (A(te,
|
10608
|
-
}, J = En((
|
10637
|
+
v.current = K, U.current?.classList.remove("manual-page-group-body-item-selected"), q?.classList.add("manual-page-group-body-item-selected"), U.current = q;
|
10638
|
+
}, X = (K) => {
|
10639
|
+
const te = a.CONTENT_GROUPS?.find((q) => K.startsWith(q.prefix));
|
10640
|
+
te && (A(te, K), window.location.href = `#${K}`, b.current?.focus());
|
10641
|
+
}, J = En((K) => {
|
10609
10642
|
const { startTop: te, endTop: q, index: ie, group: le, key: D } = I.current;
|
10610
10643
|
let ne = q, me = te;
|
10611
10644
|
ne || ([me, ne] = M(D, ie), I.current = {
|
@@ -10615,7 +10648,7 @@ const Ay = (i) => {
|
|
10615
10648
|
index: ie,
|
10616
10649
|
key: D
|
10617
10650
|
}), le.key !== $.current?.key && ee(le);
|
10618
|
-
const ue =
|
10651
|
+
const ue = K.currentTarget.scrollTop;
|
10619
10652
|
if (ue >= me && ue < ne)
|
10620
10653
|
return;
|
10621
10654
|
let De = !1, Ge = ie, it = le.index, et = a.MANUAL_KEYS?.[le.key], Ve = le;
|
@@ -10645,20 +10678,20 @@ const Ay = (i) => {
|
|
10645
10678
|
}
|
10646
10679
|
Ve = a.CONTENT_GROUPS?.[it], ee(Ve), et = a.MANUAL_KEYS?.[Ve?.key], Ge = et.length;
|
10647
10680
|
}
|
10648
|
-
}, [a]), ee = (
|
10649
|
-
const te = $.current?.index, q = x.current?.querySelectorAll(".manual-page-group-t"), ie = x.current?.querySelectorAll(".manual-page-group-b"), le =
|
10681
|
+
}, [a]), ee = (K) => {
|
10682
|
+
const te = $.current?.index, q = x.current?.querySelectorAll(".manual-page-group-t"), ie = x.current?.querySelectorAll(".manual-page-group-b"), le = K.index;
|
10650
10683
|
if (ie?.[te]?.classList?.add("hide"), q?.[te]?.classList?.remove("active"), te === le) {
|
10651
10684
|
$.current = null;
|
10652
10685
|
return;
|
10653
10686
|
} else
|
10654
|
-
q?.[le]?.classList?.add("active"), ie?.[le]?.classList?.remove("hide"), $.current =
|
10655
|
-
}, ye = (
|
10656
|
-
const le = `${
|
10687
|
+
q?.[le]?.classList?.add("active"), ie?.[le]?.classList?.remove("hide"), $.current = K;
|
10688
|
+
}, ye = (K, te, q, ie) => {
|
10689
|
+
const le = `${K.prefix}_${te}`, [D, ne] = M(le, q);
|
10657
10690
|
if (D <= ie && ie < ne) {
|
10658
10691
|
I.current = {
|
10659
10692
|
startTop: D,
|
10660
10693
|
endTop: ne,
|
10661
|
-
group:
|
10694
|
+
group: K,
|
10662
10695
|
index: q,
|
10663
10696
|
key: le
|
10664
10697
|
};
|
@@ -10667,7 +10700,7 @@ const Ay = (i) => {
|
|
10667
10700
|
}
|
10668
10701
|
return !1;
|
10669
10702
|
};
|
10670
|
-
return C.jsxs("div", { ref: k, className: `${i} manual-page-warpper ${h ? "show-warpper" : ""}`, children: [C.jsx(
|
10703
|
+
return C.jsxs("div", { ref: k, className: `${i} manual-page-warpper ${h ? "show-warpper" : ""}`, children: [C.jsx(L1, { onGroupClick: Z, onItemClick: H, selectItem: v, manualTabRef: x, searchRef: b, selectedItemChange: Y, manualKeys: a.MANUAL_KEYS, contentGroups: a.CONTENT_GROUPS, keyMaps: a.KEY_MAP_LIST, version: r || Qt, onVersionChange: s }), C.jsxs("div", { className: "manual-page-right", children: [C.jsx("div", { children: C.jsx("h1", { className: "manual-page-title", children: c("Mine Script® v1 Reference Manual", { version: r }) }) }), C.jsx("div", { onScroll: J, className: "manual-page-scroll manual-page-scroll-none", children: a.CONTENT_GROUPS?.map((K) => C.jsxs(Ue, { children: [C.jsx("h2", { className: "manual-page-header", children: c(K.key) }), C.jsx("div", { children: a.MANUAL_KEYS?.[K.key]?.map((te) => C.jsx(k1, { version: r || 5, item: a.KEY_MAP_LIST?.[K.key].get(te) || [], value: h?.[K.key]?.get(te), prefix: K.prefix, onItemClick: X }, te)) })] }, K.key)) })] })] });
|
10671
10704
|
};
|
10672
10705
|
var kc;
|
10673
10706
|
(function(i) {
|
@@ -10729,14 +10762,14 @@ var Wc;
|
|
10729
10762
|
(function(i) {
|
10730
10763
|
i.styleArea = "Area", i.styleAreabr = "Area With Breaks", i.styleCircles = "Circles", i.styleColumns = "Columns", i.styleCross = "Cross", i.styleHistogram = "Histogram", i.styleLine = "Line", i.styleLinebr = "Line With Breaks", i.styleStepline = "Step Line", i.styleSteplineDiamond = "Step Line With Diamonds", i.styleSteplinebr = "Step line with Breaks";
|
10731
10764
|
})(Wc || (Wc = {}));
|
10732
|
-
var
|
10765
|
+
var Kc;
|
10733
10766
|
(function(i) {
|
10734
10767
|
i.bottomCenter = "bottom_center", i.bottomLeft = "bottom_left", i.bottomRight = "bottom_right", i.middleCenter = "middle_center", i.middleLeft = "middle_left", i.middleRight = "middle_right", i.topCenter = "top_center", i.topLeft = "top_left", i.topRight = "top_right";
|
10735
|
-
})(
|
10736
|
-
var
|
10768
|
+
})(Kc || (Kc = {}));
|
10769
|
+
var zc;
|
10737
10770
|
(function(i) {
|
10738
10771
|
i.left = "left", i.none = "none", i.right = "right";
|
10739
|
-
})(
|
10772
|
+
})(zc || (zc = {}));
|
10740
10773
|
var Gc;
|
10741
10774
|
(function(i) {
|
10742
10775
|
i.extended = "extended", i.regular = "regular";
|
@@ -10806,11 +10839,11 @@ var uf;
|
|
10806
10839
|
i.format_bold = "format_bold", i.format_italic = "format_italic", i.format_none = "format_none";
|
10807
10840
|
})(uf || (uf = {}));
|
10808
10841
|
export {
|
10809
|
-
|
10810
|
-
|
10811
|
-
|
10812
|
-
|
10813
|
-
|
10842
|
+
zt as Actions,
|
10843
|
+
j1 as ReferenceManual,
|
10844
|
+
B1 as ReferenceManualPage,
|
10845
|
+
D1 as TradingVueDiffEditor,
|
10846
|
+
F1 as TradingVueEditor,
|
10814
10847
|
Nc as VAdjustment,
|
10815
10848
|
Rc as VAlert,
|
10816
10849
|
Pc as VBarmergeGaps,
|
@@ -10830,9 +10863,9 @@ export {
|
|
10830
10863
|
of as VPivotType,
|
10831
10864
|
Mc as VPlotDisplay,
|
10832
10865
|
Wc as VPlotStyle,
|
10833
|
-
|
10866
|
+
Kc as VPosition,
|
10834
10867
|
Tc as VRuleType,
|
10835
|
-
|
10868
|
+
zc as VScale,
|
10836
10869
|
lf as VScriptType,
|
10837
10870
|
Gc as VSession,
|
10838
10871
|
qc as VShape,
|
@@ -10844,9 +10877,9 @@ export {
|
|
10844
10877
|
kc as VType,
|
10845
10878
|
tf as VXloc,
|
10846
10879
|
nf as VYloc,
|
10847
|
-
|
10848
|
-
|
10849
|
-
$
|
10850
|
-
|
10851
|
-
|
10880
|
+
P1 as parseLibrary,
|
10881
|
+
Ay as parseTcc,
|
10882
|
+
$1 as removeScript,
|
10883
|
+
M1 as scriptsRun,
|
10884
|
+
E1 as transformCodeToHtml
|
10852
10885
|
};
|