@runeya/runeya 1.0.2
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/checkJsFork.js +68 -0
- package/cpuFork.js +38 -0
- package/defaultJsConfig.json +12 -0
- package/node-red-contrib-runeya.tar +0 -0
- package/package.json +92 -0
- package/public/assets/App-BE-jCGXm.css +5 -0
- package/public/assets/App-Bu4vGxO4.js +94 -0
- package/public/assets/CurrentEditor-CICqnVzc.css +1 -0
- package/public/assets/CurrentEditor-yQstAvnQ.js +1 -0
- package/public/assets/Editor-BK8NbiL6.css +1 -0
- package/public/assets/Editor-DjNB5m3y.js +721 -0
- package/public/assets/ImportCreate-BkVY0Snd.js +1 -0
- package/public/assets/ImportCreate-D2Vb-Kah.css +1 -0
- package/public/assets/Init-PS5FZlf7.js +1 -0
- package/public/assets/Jost-100-DnoXZD4d.ttf +0 -0
- package/public/assets/Jost-100-Italic-CafWG5AA.ttf +0 -0
- package/public/assets/Jost-200-BLd_EHgF.ttf +0 -0
- package/public/assets/Jost-200-Italic-BoAOykkc.ttf +0 -0
- package/public/assets/Jost-300-DsRo084O.ttf +0 -0
- package/public/assets/Jost-300-Italic-X5qKFjk_.ttf +0 -0
- package/public/assets/Jost-400-BAmtAEvV.ttf +0 -0
- package/public/assets/Jost-400-Italic-C0d83AVZ.ttf +0 -0
- package/public/assets/Jost-500-B3jpwdrC.ttf +0 -0
- package/public/assets/Jost-500-Italic-DHPOL_YE.ttf +0 -0
- package/public/assets/Jost-600-CnEPylq5.ttf +0 -0
- package/public/assets/Jost-600-Italic-AWz-mhoH.ttf +0 -0
- package/public/assets/Jost-700-B93EcsYm.ttf +0 -0
- package/public/assets/Jost-700-Italic-Dx2e12zd.ttf +0 -0
- package/public/assets/Jost-800-CXzl-c4F.ttf +0 -0
- package/public/assets/Jost-800-Italic-BfYDUGd9.ttf +0 -0
- package/public/assets/Jost-900-B9Ttjx6W.ttf +0 -0
- package/public/assets/Jost-900-Italic-B6um8Fzs.ttf +0 -0
- package/public/assets/LeftLogo-DsGaOcJY.css +1 -0
- package/public/assets/LeftLogo-EmzH7l46.js +1 -0
- package/public/assets/Markdown-CpEumaO9.js +103 -0
- package/public/assets/Markdown-pSjwyqay.css +1 -0
- package/public/assets/Overview-BaSpvlXu.css +1 -0
- package/public/assets/Overview-BhYJL4nA.js +1 -0
- package/public/assets/Section-8ldEsJSi.js +1 -0
- package/public/assets/Section-eAe-gcF2.css +1 -0
- package/public/assets/Settings-Bsf3R9hf.css +1 -0
- package/public/assets/Settings-bKLH4HnT.js +188 -0
- package/public/assets/StackChooser-CmoqSd4m.js +1 -0
- package/public/assets/StackChooser-D5EY2Av8.js +1 -0
- package/public/assets/StackChooser-DRNfmbOi.css +1 -0
- package/public/assets/StackChooser-mg-uox7H.css +1 -0
- package/public/assets/StackMultiple-Dw-7UAYX.css +1 -0
- package/public/assets/StackMultiple-o8pd1Nmf.js +1 -0
- package/public/assets/StackSingle-BzrRRE-y.js +1 -0
- package/public/assets/StackSingle-DWbIQbAl.css +1 -0
- package/public/assets/Tabs-CZAdcV0_.css +1 -0
- package/public/assets/Tabs-Cpjfv5wC.js +1 -0
- package/public/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/public/assets/abap-B-ZgRVsS.js +6 -0
- package/public/assets/apex-pqFeVHah.js +6 -0
- package/public/assets/axios-BZk75tkI.js +6 -0
- package/public/assets/azcli-DrGgKfrx.js +6 -0
- package/public/assets/bat-BRahd1m2.js +6 -0
- package/public/assets/bicep-Br5yCzQa.js +7 -0
- package/public/assets/cameligo-BPiAgOve.js +6 -0
- package/public/assets/clojure-CpX5XwJp.js +6 -0
- package/public/assets/codicon-CgFDqQ3p.ttf +0 -0
- package/public/assets/coffee-DPYBl3Sw.js +6 -0
- package/public/assets/cpp-A-JA5b_j.js +6 -0
- package/public/assets/csharp-CwCtWZg4.js +6 -0
- package/public/assets/csp-DKfky23r.js +6 -0
- package/public/assets/css-C0oCs38a.js +8 -0
- package/public/assets/css.worker-7uusSYJx.js +84 -0
- package/public/assets/cssMode-CUrSSrg6.js +9 -0
- package/public/assets/cursor-CgsCZvc6.svg +3 -0
- package/public/assets/cypher-BHNfvd4C.js +6 -0
- package/public/assets/dart-BLNd8_RN.js +6 -0
- package/public/assets/dockerfile-Bi2t-SDM.js +6 -0
- package/public/assets/ecl-A9rov3bq.js +6 -0
- package/public/assets/editor.worker-C6wdibMX.js +11 -0
- package/public/assets/elixir-DJHHJNm9.js +6 -0
- package/public/assets/fa-brands-400-C99Yv4gD.woff2 +0 -0
- package/public/assets/fa-brands-400-DtZKBM2a.ttf +0 -0
- package/public/assets/fa-regular-400-BMFokQJ2.ttf +0 -0
- package/public/assets/fa-regular-400-OOsPf1xj.woff2 +0 -0
- package/public/assets/fa-solid-900-DAI24fNt.woff2 +0 -0
- package/public/assets/fa-solid-900-DM0teJdg.ttf +0 -0
- package/public/assets/fa-v4compatibility-F0dlVTLQ.ttf +0 -0
- package/public/assets/fa-v4compatibility-aR9vOKaP.woff2 +0 -0
- package/public/assets/favicon-ClgyP8FQ.ico +0 -0
- package/public/assets/flow9-BXCop7c-.js +6 -0
- package/public/assets/freemarker2-dec3WQLB.js +8 -0
- package/public/assets/fsharp-BWYaIR55.js +6 -0
- package/public/assets/go-Bd3rW8Cw.js +6 -0
- package/public/assets/graphql-Dm4lPrOw.js +6 -0
- package/public/assets/handlebars-Da_reGXs.js +6 -0
- package/public/assets/hcl-B_GIsMV3.js +6 -0
- package/public/assets/html-DiMqDoaf.js +6 -0
- package/public/assets/html.worker-BGQnBRGr.js +458 -0
- package/public/assets/htmlMode-wRbKtV-5.js +9 -0
- package/public/assets/index-DUMOL4cy.css +1 -0
- package/public/assets/index-aZm7xMRp.js +233 -0
- package/public/assets/ini-8BCaSfCG.js +6 -0
- package/public/assets/java-BzOp7UBR.js +6 -0
- package/public/assets/javascript-ByCKYcx1.js +6 -0
- package/public/assets/json.worker-Be5ebZoT.js +42 -0
- package/public/assets/jsonMode-BQtLraFt.js +11 -0
- package/public/assets/julia-I1-aRIRv.js +6 -0
- package/public/assets/kotlin-BggX9fXn.js +6 -0
- package/public/assets/less-ByFiWodf.js +7 -0
- package/public/assets/lexon-B2yfmeoX.js +6 -0
- package/public/assets/liquid-Ig1gPJ1q.js +6 -0
- package/public/assets/lua-CTHhD-fD.js +6 -0
- package/public/assets/m3-qBOyJ0vE.js +6 -0
- package/public/assets/markdown-Cm28xlel.js +6 -0
- package/public/assets/mdx-CYaZVbeY.js +6 -0
- package/public/assets/mips-DqiVsLO5.js +6 -0
- package/public/assets/msdax-C3nM-ZR_.js +6 -0
- package/public/assets/mysql-BPWqZDWr.js +6 -0
- package/public/assets/objective-c-afWjKtEP.js +6 -0
- package/public/assets/pascal-DMmvnikK.js +6 -0
- package/public/assets/pascaligo-BaiKb_sq.js +6 -0
- package/public/assets/perl-xMumSrWe.js +6 -0
- package/public/assets/pgsql-C-EgqMcd.js +6 -0
- package/public/assets/php-DkYVXRex.js +6 -0
- package/public/assets/pla-CG9rR3U0.js +6 -0
- package/public/assets/postiats-BCC2sChj.js +6 -0
- package/public/assets/powerquery-BhOZIDqB.js +6 -0
- package/public/assets/powershell-wocyr7cA.js +6 -0
- package/public/assets/protobuf-DU3uZwW0.js +7 -0
- package/public/assets/pug-Bqn_XUqj.js +6 -0
- package/public/assets/python-H9Bd9rT3.js +6 -0
- package/public/assets/qsharp-Cj1jue1V.js +6 -0
- package/public/assets/r-CIZIOQYl.js +6 -0
- package/public/assets/razor-Hy2I2roR.js +6 -0
- package/public/assets/redis-Brk2d6n9.js +6 -0
- package/public/assets/redshift-BraSvCe6.js +6 -0
- package/public/assets/restructuredtext-Hh-PJCdS.js +6 -0
- package/public/assets/rocket-Cqyxqx2p.png +0 -0
- package/public/assets/router-DdnNyrCa.css +32 -0
- package/public/assets/router-ZJYrvDkp.js +4962 -0
- package/public/assets/ruby-Cro5SiRh.js +6 -0
- package/public/assets/rust-GtgTsMTz.js +6 -0
- package/public/assets/sb-DrBYdvZl.js +6 -0
- package/public/assets/scala-u8KvBYJ0.js +6 -0
- package/public/assets/scheme-CC8-3vA2.js +6 -0
- package/public/assets/scss-CG62jlW4.js +8 -0
- package/public/assets/shell-CWImXz8u.js +6 -0
- package/public/assets/solidity-DFsCHDMA.js +6 -0
- package/public/assets/sophia-CWBVWc0_.js +6 -0
- package/public/assets/sparql-Ca6jL_8E.js +6 -0
- package/public/assets/sql-C86UFuzS.js +6 -0
- package/public/assets/st-CjrOQGnb.js +6 -0
- package/public/assets/swift-TX6SQEBl.js +8 -0
- package/public/assets/system-DC3M5FtK.js +1 -0
- package/public/assets/systemverilog-DYRoH6ZJ.js +6 -0
- package/public/assets/tcl-DLjrRbxU.js +6 -0
- package/public/assets/ts.worker-Dap_1Gm7.js +37021 -0
- package/public/assets/tsMode-C0bgKAt8.js +16 -0
- package/public/assets/twig-CRyFog85.js +6 -0
- package/public/assets/typescript-B77iTojx.js +6 -0
- package/public/assets/vb-CQSqy7yk.js +6 -0
- package/public/assets/vscode-icon-DGpXKq7_.svg +182 -0
- package/public/assets/vue.runtime.esm-bundler-VmRDinbK.js +9 -0
- package/public/assets/wgsl-DbhGdQ56.js +303 -0
- package/public/assets/xml-uQhiANeS.js +6 -0
- package/public/assets/yaml-2OwCXstu.js +6 -0
- package/public/index.html +4 -0
- package/runeya.vsix +0 -0
- package/www.js +7030 -0
- package/www.js.map +1 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{t as O,m as I}from"./Editor-DjNB5m3y.js";import"./index-aZm7xMRp.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var N=Object.defineProperty,M=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyNames,K=Object.prototype.hasOwnProperty,E=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of R(t))!K.call(e,i)&&i!==r&&N(e,i,{get:()=>t[i],enumerable:!(o=M(t,i))||o.enumerable});return e},H=(e,t,r)=>(E(e,t,"default"),r),a={};H(a,I);var V=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;const e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=a.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync()?await this._worker.withSyncedResources(a.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy()))()),this._client}async getLanguageServiceWorker(...e){const t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},n={};n["lib.d.ts"]=!0;n["lib.decorators.d.ts"]=!0;n["lib.decorators.legacy.d.ts"]=!0;n["lib.dom.d.ts"]=!0;n["lib.dom.iterable.d.ts"]=!0;n["lib.es2015.collection.d.ts"]=!0;n["lib.es2015.core.d.ts"]=!0;n["lib.es2015.d.ts"]=!0;n["lib.es2015.generator.d.ts"]=!0;n["lib.es2015.iterable.d.ts"]=!0;n["lib.es2015.promise.d.ts"]=!0;n["lib.es2015.proxy.d.ts"]=!0;n["lib.es2015.reflect.d.ts"]=!0;n["lib.es2015.symbol.d.ts"]=!0;n["lib.es2015.symbol.wellknown.d.ts"]=!0;n["lib.es2016.array.include.d.ts"]=!0;n["lib.es2016.d.ts"]=!0;n["lib.es2016.full.d.ts"]=!0;n["lib.es2017.d.ts"]=!0;n["lib.es2017.full.d.ts"]=!0;n["lib.es2017.intl.d.ts"]=!0;n["lib.es2017.object.d.ts"]=!0;n["lib.es2017.sharedmemory.d.ts"]=!0;n["lib.es2017.string.d.ts"]=!0;n["lib.es2017.typedarrays.d.ts"]=!0;n["lib.es2018.asyncgenerator.d.ts"]=!0;n["lib.es2018.asynciterable.d.ts"]=!0;n["lib.es2018.d.ts"]=!0;n["lib.es2018.full.d.ts"]=!0;n["lib.es2018.intl.d.ts"]=!0;n["lib.es2018.promise.d.ts"]=!0;n["lib.es2018.regexp.d.ts"]=!0;n["lib.es2019.array.d.ts"]=!0;n["lib.es2019.d.ts"]=!0;n["lib.es2019.full.d.ts"]=!0;n["lib.es2019.intl.d.ts"]=!0;n["lib.es2019.object.d.ts"]=!0;n["lib.es2019.string.d.ts"]=!0;n["lib.es2019.symbol.d.ts"]=!0;n["lib.es2020.bigint.d.ts"]=!0;n["lib.es2020.d.ts"]=!0;n["lib.es2020.date.d.ts"]=!0;n["lib.es2020.full.d.ts"]=!0;n["lib.es2020.intl.d.ts"]=!0;n["lib.es2020.number.d.ts"]=!0;n["lib.es2020.promise.d.ts"]=!0;n["lib.es2020.sharedmemory.d.ts"]=!0;n["lib.es2020.string.d.ts"]=!0;n["lib.es2020.symbol.wellknown.d.ts"]=!0;n["lib.es2021.d.ts"]=!0;n["lib.es2021.full.d.ts"]=!0;n["lib.es2021.intl.d.ts"]=!0;n["lib.es2021.promise.d.ts"]=!0;n["lib.es2021.string.d.ts"]=!0;n["lib.es2021.weakref.d.ts"]=!0;n["lib.es2022.array.d.ts"]=!0;n["lib.es2022.d.ts"]=!0;n["lib.es2022.error.d.ts"]=!0;n["lib.es2022.full.d.ts"]=!0;n["lib.es2022.intl.d.ts"]=!0;n["lib.es2022.object.d.ts"]=!0;n["lib.es2022.regexp.d.ts"]=!0;n["lib.es2022.sharedmemory.d.ts"]=!0;n["lib.es2022.string.d.ts"]=!0;n["lib.es2023.array.d.ts"]=!0;n["lib.es2023.d.ts"]=!0;n["lib.es2023.full.d.ts"]=!0;n["lib.es5.d.ts"]=!0;n["lib.es6.d.ts"]=!0;n["lib.esnext.d.ts"]=!0;n["lib.esnext.full.d.ts"]=!0;n["lib.esnext.intl.d.ts"]=!0;n["lib.scripthost.d.ts"]=!0;n["lib.webworker.d.ts"]=!0;n["lib.webworker.importscripts.d.ts"]=!0;n["lib.webworker.iterable.d.ts"]=!0;function D(e,t,r=0){if(typeof e=="string")return e;if(e===void 0)return"";let o="";if(r){o+=t;for(let i=0;i<r;i++)o+=" "}if(o+=e.messageText,r++,e.next)for(const i of e.next)o+=D(i,t,r);return o}function w(e){return e?e.map(t=>t.text).join(""):""}var _=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let r=e.getPositionAt(t.start),o=e.getPositionAt(t.start+t.length),{lineNumber:i,column:l}=r,{lineNumber:u,column:s}=o;return{startLineNumber:i,startColumn:l,endLineNumber:u,endColumn:s}}},W=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return e&&e.path.indexOf("/lib.")===0?!!n[e.path.slice(1)]:!1}getOrCreateModel(e){const t=a.Uri.parse(e),r=a.editor.getModel(t);if(r)return r;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return a.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);const o=O.getExtraLibs()[e];return o?a.editor.createModel(o.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},j=class extends _{constructor(e,t,r,o){super(o),this._libFiles=e,this._defaults=t,this._selector=r,this._disposables=[],this._listener=Object.create(null);const i=s=>{if(s.getLanguageId()!==r)return;const c=()=>{const{onlyVisible:h}=this._defaults.getDiagnosticsOptions();h?s.isAttachedToEditor()&&this._doValidate(s):this._doValidate(s)};let g;const d=s.onDidChangeContent(()=>{clearTimeout(g),g=window.setTimeout(c,500)}),b=s.onDidChangeAttached(()=>{const{onlyVisible:h}=this._defaults.getDiagnosticsOptions();h&&(s.isAttachedToEditor()?c():a.editor.setModelMarkers(s,this._selector,[]))});this._listener[s.uri.toString()]={dispose(){d.dispose(),b.dispose(),clearTimeout(g)}},c()},l=s=>{a.editor.setModelMarkers(s,this._selector,[]);const c=s.uri.toString();this._listener[c]&&(this._listener[c].dispose(),delete this._listener[c])};this._disposables.push(a.editor.onDidCreateModel(s=>i(s))),this._disposables.push(a.editor.onWillDisposeModel(l)),this._disposables.push(a.editor.onDidChangeModelLanguage(s=>{l(s.model),i(s.model)})),this._disposables.push({dispose(){for(const s of a.editor.getModels())l(s)}});const u=()=>{for(const s of a.editor.getModels())l(s),i(s)};this._disposables.push(this._defaults.onDidChange(u)),this._disposables.push(this._defaults.onDidExtraLibsChange(u)),a.editor.getModels().forEach(s=>i(s))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){const t=await this._worker(e.uri);if(e.isDisposed())return;const r=[],{noSyntaxValidation:o,noSemanticValidation:i,noSuggestionDiagnostics:l}=this._defaults.getDiagnosticsOptions();o||r.push(t.getSyntacticDiagnostics(e.uri.toString())),i||r.push(t.getSemanticDiagnostics(e.uri.toString())),l||r.push(t.getSuggestionDiagnostics(e.uri.toString()));const u=await Promise.all(r);if(!u||e.isDisposed())return;const s=u.reduce((g,d)=>d.concat(g),[]).filter(g=>(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(g.code)===-1),c=s.map(g=>g.relatedInformation||[]).reduce((g,d)=>d.concat(g),[]).map(g=>g.file?a.Uri.parse(g.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(c),!e.isDisposed()&&a.editor.setModelMarkers(e,this._selector,s.map(g=>this._convertDiagnostics(e,g)))}_convertDiagnostics(e,t){const r=t.start||0,o=t.length||1,{lineNumber:i,column:l}=e.getPositionAt(r),{lineNumber:u,column:s}=e.getPositionAt(r+o),c=[];return t.reportsUnnecessary&&c.push(a.MarkerTag.Unnecessary),t.reportsDeprecated&&c.push(a.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:i,startColumn:l,endLineNumber:u,endColumn:s,message:D(t.messageText,`
|
|
7
|
+
`),code:t.code.toString(),tags:c,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];const r=[];return t.forEach(o=>{let i=e;if(o.file&&(i=this._libFiles.getOrCreateModel(o.file.fileName)),!i)return;const l=o.start||0,u=o.length||1,{lineNumber:s,column:c}=i.getPositionAt(l),{lineNumber:g,column:d}=i.getPositionAt(l+u);r.push({resource:i.uri,startLineNumber:s,startColumn:c,endLineNumber:g,endColumn:d,message:D(o.messageText,`
|
|
8
|
+
`)})}),r}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return a.MarkerSeverity.Error;case 3:return a.MarkerSeverity.Info;case 0:return a.MarkerSeverity.Warning;case 2:return a.MarkerSeverity.Hint}return a.MarkerSeverity.Info}},B=class C extends _{get triggerCharacters(){return["."]}async provideCompletionItems(t,r,o,i){const l=t.getWordUntilPosition(r),u=new a.Range(r.lineNumber,l.startColumn,r.lineNumber,l.endColumn),s=t.uri,c=t.getOffsetAt(r),g=await this._worker(s);if(t.isDisposed())return;const d=await g.getCompletionsAtPosition(s.toString(),c);return!d||t.isDisposed()?void 0:{suggestions:d.entries.map(h=>{let y=u;if(h.replacementSpan){const S=t.getPositionAt(h.replacementSpan.start),x=t.getPositionAt(h.replacementSpan.start+h.replacementSpan.length);y=new a.Range(S.lineNumber,S.column,x.lineNumber,x.column)}const v=[];return h.kindModifiers!==void 0&&h.kindModifiers.indexOf("deprecated")!==-1&&v.push(a.languages.CompletionItemTag.Deprecated),{uri:s,position:r,offset:c,range:y,label:h.name,insertText:h.name,sortText:h.sortText,kind:C.convertKind(h.kind),tags:v}})}}async resolveCompletionItem(t,r){const o=t,i=o.uri,l=o.position,u=o.offset,c=await(await this._worker(i)).getCompletionEntryDetails(i.toString(),u,o.label);return c?{uri:i,position:l,label:c.name,kind:C.convertKind(c.kind),detail:w(c.displayParts),documentation:{value:C.createDocumentationString(c)}}:o}static convertKind(t){switch(t){case f.primitiveType:case f.keyword:return a.languages.CompletionItemKind.Keyword;case f.variable:case f.localVariable:return a.languages.CompletionItemKind.Variable;case f.memberVariable:case f.memberGetAccessor:case f.memberSetAccessor:return a.languages.CompletionItemKind.Field;case f.function:case f.memberFunction:case f.constructSignature:case f.callSignature:case f.indexSignature:return a.languages.CompletionItemKind.Function;case f.enum:return a.languages.CompletionItemKind.Enum;case f.module:return a.languages.CompletionItemKind.Module;case f.class:return a.languages.CompletionItemKind.Class;case f.interface:return a.languages.CompletionItemKind.Interface;case f.warning:return a.languages.CompletionItemKind.File}return a.languages.CompletionItemKind.Property}static createDocumentationString(t){let r=w(t.documentation);if(t.tags)for(const o of t.tags)r+=`
|
|
9
|
+
|
|
10
|
+
${T(o)}`;return r}};function T(e){let t=`*@${e.name}*`;if(e.name==="param"&&e.text){const[r,...o]=e.text;t+=`\`${r.text}\``,o.length>0&&(t+=` — ${o.map(i=>i.text).join(" ")}`)}else Array.isArray(e.text)?t+=` — ${e.text.map(r=>r.text).join(" ")}`:e.text&&(t+=` — ${e.text}`);return t}var U=class P extends _{constructor(){super(...arguments),this.signatureHelpTriggerCharacters=["(",","]}static _toSignatureHelpTriggerReason(t){switch(t.triggerKind){case a.languages.SignatureHelpTriggerKind.TriggerCharacter:return t.triggerCharacter?t.isRetrigger?{kind:"retrigger",triggerCharacter:t.triggerCharacter}:{kind:"characterTyped",triggerCharacter:t.triggerCharacter}:{kind:"invoked"};case a.languages.SignatureHelpTriggerKind.ContentChange:return t.isRetrigger?{kind:"retrigger"}:{kind:"invoked"};case a.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:"invoked"}}}async provideSignatureHelp(t,r,o,i){const l=t.uri,u=t.getOffsetAt(r),s=await this._worker(l);if(t.isDisposed())return;const c=await s.getSignatureHelpItems(l.toString(),u,{triggerReason:P._toSignatureHelpTriggerReason(i)});if(!c||t.isDisposed())return;const g={activeSignature:c.selectedItemIndex,activeParameter:c.argumentIndex,signatures:[]};return c.items.forEach(d=>{const b={label:"",parameters:[]};b.documentation={value:w(d.documentation)},b.label+=w(d.prefixDisplayParts),d.parameters.forEach((h,y,v)=>{const S=w(h.displayParts),x={label:S,documentation:{value:w(h.documentation)}};b.label+=S,b.parameters.push(x),y<v.length-1&&(b.label+=w(d.separatorDisplayParts))}),b.label+=w(d.suffixDisplayParts),g.signatures.push(b)}),{value:g,dispose(){}}}},$=class extends _{async provideHover(e,t,r){const o=e.uri,i=e.getOffsetAt(t),l=await this._worker(o);if(e.isDisposed())return;const u=await l.getQuickInfoAtPosition(o.toString(),i);if(!u||e.isDisposed())return;const s=w(u.documentation),c=u.tags?u.tags.map(d=>T(d)).join(`
|
|
11
|
+
|
|
12
|
+
`):"",g=w(u.displayParts);return{range:this._textSpanToRange(e,u.textSpan),contents:[{value:"```typescript\n"+g+"\n```\n"},{value:s+(c?`
|
|
13
|
+
|
|
14
|
+
`+c:"")}]}}},z=class extends _{async provideDocumentHighlights(e,t,r){const o=e.uri,i=e.getOffsetAt(t),l=await this._worker(o);if(e.isDisposed())return;const u=await l.getDocumentHighlights(o.toString(),i,[o.toString()]);if(!(!u||e.isDisposed()))return u.flatMap(s=>s.highlightSpans.map(c=>({range:this._textSpanToRange(e,c.textSpan),kind:c.kind==="writtenReference"?a.languages.DocumentHighlightKind.Write:a.languages.DocumentHighlightKind.Text})))}},G=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,r){const o=e.uri,i=e.getOffsetAt(t),l=await this._worker(o);if(e.isDisposed())return;const u=await l.getDefinitionAtPosition(o.toString(),i);if(!u||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(u.map(c=>a.Uri.parse(c.fileName))),e.isDisposed()))return;const s=[];for(let c of u){const g=this._libFiles.getOrCreateModel(c.fileName);g&&s.push({uri:g.uri,range:this._textSpanToRange(g,c.textSpan)})}return s}},J=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,r,o){const i=e.uri,l=e.getOffsetAt(t),u=await this._worker(i);if(e.isDisposed())return;const s=await u.getReferencesAtPosition(i.toString(),l);if(!s||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(s.map(g=>a.Uri.parse(g.fileName))),e.isDisposed()))return;const c=[];for(let g of s){const d=this._libFiles.getOrCreateModel(g.fileName);d&&c.push({uri:d.uri,range:this._textSpanToRange(d,g.textSpan)})}return c}},Q=class extends _{async provideDocumentSymbols(e,t){const r=e.uri,o=await this._worker(r);if(e.isDisposed())return;const i=await o.getNavigationTree(r.toString());if(!i||e.isDisposed())return;const l=(s,c)=>{var d;return{name:s.text,detail:"",kind:m[s.kind]||a.languages.SymbolKind.Variable,range:this._textSpanToRange(e,s.spans[0]),selectionRange:this._textSpanToRange(e,s.spans[0]),tags:[],children:(d=s.childItems)==null?void 0:d.map(b=>l(b,s.text)),containerName:c}};return i.childItems?i.childItems.map(s=>l(s)):[]}},p,f=(p=class{},p.unknown="",p.keyword="keyword",p.script="script",p.module="module",p.class="class",p.interface="interface",p.type="type",p.enum="enum",p.variable="var",p.localVariable="local var",p.function="function",p.localFunction="local function",p.memberFunction="method",p.memberGetAccessor="getter",p.memberSetAccessor="setter",p.memberVariable="property",p.constructorImplementation="constructor",p.callSignature="call",p.indexSignature="index",p.constructSignature="construct",p.parameter="parameter",p.typeParameter="type parameter",p.primitiveType="primitive type",p.label="label",p.alias="alias",p.const="const",p.let="let",p.warning="warning",p),m=Object.create(null);m[f.module]=a.languages.SymbolKind.Module;m[f.class]=a.languages.SymbolKind.Class;m[f.enum]=a.languages.SymbolKind.Enum;m[f.interface]=a.languages.SymbolKind.Interface;m[f.memberFunction]=a.languages.SymbolKind.Method;m[f.memberVariable]=a.languages.SymbolKind.Property;m[f.memberGetAccessor]=a.languages.SymbolKind.Property;m[f.memberSetAccessor]=a.languages.SymbolKind.Property;m[f.variable]=a.languages.SymbolKind.Variable;m[f.const]=a.languages.SymbolKind.Variable;m[f.localVariable]=a.languages.SymbolKind.Variable;m[f.variable]=a.languages.SymbolKind.Variable;m[f.function]=a.languages.SymbolKind.Function;m[f.localFunction]=a.languages.SymbolKind.Function;var k=class extends _{static _convertOptions(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:2,NewLineCharacter:`
|
|
15
|
+
`,InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}}},q=class extends k{constructor(){super(...arguments),this.canFormatMultipleRanges=!1}async provideDocumentRangeFormattingEdits(e,t,r,o){const i=e.uri,l=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),u=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=await this._worker(i);if(e.isDisposed())return;const c=await s.getFormattingEditsForRange(i.toString(),l,u,k._convertOptions(r));if(!(!c||e.isDisposed()))return c.map(g=>this._convertTextChanges(e,g))}},X=class extends k{get autoFormatTriggerCharacters(){return[";","}",`
|
|
16
|
+
`]}async provideOnTypeFormattingEdits(e,t,r,o,i){const l=e.uri,u=e.getOffsetAt(t),s=await this._worker(l);if(e.isDisposed())return;const c=await s.getFormattingEditsAfterKeystroke(l.toString(),u,r,k._convertOptions(o));if(!(!c||e.isDisposed()))return c.map(g=>this._convertTextChanges(e,g))}},Y=class extends k{async provideCodeActions(e,t,r,o){const i=e.uri,l=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),u=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=k._convertOptions(e.getOptions()),c=r.markers.filter(h=>h.code).map(h=>h.code).map(Number),g=await this._worker(i);if(e.isDisposed())return;const d=await g.getCodeFixesAtPosition(i.toString(),l,u,c,s);return!d||e.isDisposed()?{actions:[],dispose:()=>{}}:{actions:d.filter(h=>h.changes.filter(y=>y.isNewFile).length===0).map(h=>this._tsCodeFixActionToMonacoCodeAction(e,r,h)),dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,r){const o=[];for(const l of r.changes)for(const u of l.textChanges)o.push({resource:e.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(e,u.span),text:u.newText}});return{title:r.description,edit:{edits:o},diagnostics:t.markers,kind:"quickfix"}}},Z=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,r,o){const i=e.uri,l=i.toString(),u=e.getOffsetAt(t),s=await this._worker(i);if(e.isDisposed())return;const c=await s.getRenameInfo(l,u,{allowRenameOfImportPath:!1});if(c.canRename===!1)return{edits:[],rejectReason:c.localizedErrorMessage};if(c.fileToRename!==void 0)throw new Error("Renaming files is not supported.");const g=await s.findRenameLocations(l,u,!1,!1,!1);if(!g||e.isDisposed())return;const d=[];for(const b of g){const h=this._libFiles.getOrCreateModel(b.fileName);if(h)d.push({resource:h.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(h,b.textSpan),text:r}});else throw new Error(`Unknown file ${b.fileName}.`)}return{edits:d}}},ee=class extends _{async provideInlayHints(e,t,r){const o=e.uri,i=o.toString(),l=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),u=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=await this._worker(o);return e.isDisposed()?null:{hints:(await s.provideInlayHints(i,l,u)).map(d=>({...d,label:d.text,position:e.getPositionAt(d.position),kind:this._convertHintKind(d.kind)})),dispose:()=>{}}}_convertHintKind(e){switch(e){case"Parameter":return a.languages.InlayHintKind.Parameter;case"Type":return a.languages.InlayHintKind.Type;default:return a.languages.InlayHintKind.Type}}},A,F;function ne(e){F=L(e,"typescript")}function ae(e){A=L(e,"javascript")}function oe(){return new Promise((e,t)=>{if(!A)return t("JavaScript not registered!");e(A)})}function ce(){return new Promise((e,t)=>{if(!F)return t("TypeScript not registered!");e(F)})}function L(e,t){const r=[],o=new V(t,e),i=(...s)=>o.getLanguageServiceWorker(...s),l=new W(i);function u(){const{modeConfiguration:s}=e;te(r),s.completionItems&&r.push(a.languages.registerCompletionItemProvider(t,new B(i))),s.signatureHelp&&r.push(a.languages.registerSignatureHelpProvider(t,new U(i))),s.hovers&&r.push(a.languages.registerHoverProvider(t,new $(i))),s.documentHighlights&&r.push(a.languages.registerDocumentHighlightProvider(t,new z(i))),s.definitions&&r.push(a.languages.registerDefinitionProvider(t,new G(l,i))),s.references&&r.push(a.languages.registerReferenceProvider(t,new J(l,i))),s.documentSymbols&&r.push(a.languages.registerDocumentSymbolProvider(t,new Q(i))),s.rename&&r.push(a.languages.registerRenameProvider(t,new Z(l,i))),s.documentRangeFormattingEdits&&r.push(a.languages.registerDocumentRangeFormattingEditProvider(t,new q(i))),s.onTypeFormattingEdits&&r.push(a.languages.registerOnTypeFormattingEditProvider(t,new X(i))),s.codeActions&&r.push(a.languages.registerCodeActionProvider(t,new Y(i))),s.inlayHints&&r.push(a.languages.registerInlayHintsProvider(t,new ee(i))),s.diagnostics&&r.push(new j(l,e,t,i))}return u(),i}function te(e){for(;e.length;)e.pop().dispose()}export{_ as Adapter,Y as CodeActionAdaptor,G as DefinitionAdapter,j as DiagnosticsAdapter,z as DocumentHighlightAdapter,q as FormatAdapter,k as FormatHelper,X as FormatOnTypeAdapter,ee as InlayHintsAdapter,f as Kind,W as LibFiles,Q as OutlineAdapter,$ as QuickInfoAdapter,J as ReferenceAdapter,Z as RenameAdapter,U as SignatureHelpAdapter,B as SuggestAdapter,V as WorkerManager,D as flattenDiagnosticMessageText,oe as getJavaScriptWorker,ce as getTypeScriptWorker,ae as setupJavaScript,ne as setupTypeScript};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["<!--","-->"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},e={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<{]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{t as conf,e as language};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{m as s}from"./Editor-DjNB5m3y.js";import"./index-aZm7xMRp.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,a=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,l=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of p(e))!g.call(t,n)&&n!==o&&c(t,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return t},d=(t,e,o)=>(l(t,e,"default"),o),r={};d(r,s);var u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:r.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:r.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:r.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:r.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},f={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/#?[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}};export{u as conf,f as language};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},n={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/["\u201c\u201d]/,{token:"string.quote",next:"@string"}]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^"\u201c\u201d]+/,"string"],[/["\u201c\u201d]{2}/,"string.escape"],[/["\u201c\u201d]C?/,{token:"string.quote",next:"@pop"}]]}};export{e as conf,n as language};
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
viewBox="0 0 100 100"
|
|
4
|
+
fill="none"
|
|
5
|
+
version="1.1"
|
|
6
|
+
id="svg11"
|
|
7
|
+
sodipodi:docname="Visual_Studio_Code_1.35_icon.svg"
|
|
8
|
+
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
13
|
+
<sodipodi:namedview
|
|
14
|
+
id="namedview11"
|
|
15
|
+
pagecolor="#ffffff"
|
|
16
|
+
bordercolor="#000000"
|
|
17
|
+
borderopacity="0.25"
|
|
18
|
+
inkscape:showpageshadow="2"
|
|
19
|
+
inkscape:pageopacity="0.0"
|
|
20
|
+
inkscape:pagecheckerboard="0"
|
|
21
|
+
inkscape:deskcolor="#d1d1d1"
|
|
22
|
+
inkscape:zoom="9.48"
|
|
23
|
+
inkscape:cx="50"
|
|
24
|
+
inkscape:cy="50"
|
|
25
|
+
inkscape:window-width="5120"
|
|
26
|
+
inkscape:window-height="1378"
|
|
27
|
+
inkscape:window-x="0"
|
|
28
|
+
inkscape:window-y="0"
|
|
29
|
+
inkscape:window-maximized="1"
|
|
30
|
+
inkscape:current-layer="svg11" />
|
|
31
|
+
<mask
|
|
32
|
+
id="mask0"
|
|
33
|
+
mask-type="alpha"
|
|
34
|
+
maskUnits="userSpaceOnUse"
|
|
35
|
+
x="0"
|
|
36
|
+
y="0"
|
|
37
|
+
width="100"
|
|
38
|
+
height="100">
|
|
39
|
+
<path
|
|
40
|
+
fill-rule="evenodd"
|
|
41
|
+
clip-rule="evenodd"
|
|
42
|
+
d="M70.9119 99.3171C72.4869 99.9307 74.2828 99.8914 75.8725 99.1264L96.4608 89.2197C98.6242 88.1787 100 85.9892 100 83.5872V16.4133C100 14.0113 98.6243 11.8218 96.4609 10.7808L75.8725 0.873756C73.7862 -0.130129 71.3446 0.11576 69.5135 1.44695C69.252 1.63711 69.0028 1.84943 68.769 2.08341L29.3551 38.0415L12.1872 25.0096C10.589 23.7965 8.35363 23.8959 6.86933 25.2461L1.36303 30.2549C-0.452552 31.9064 -0.454633 34.7627 1.35853 36.417L16.2471 50.0001L1.35853 63.5832C-0.454633 65.2374 -0.452552 68.0938 1.36303 69.7453L6.86933 74.7541C8.35363 76.1043 10.589 76.2037 12.1872 74.9905L29.3551 61.9587L68.769 97.9167C69.3925 98.5406 70.1246 99.0104 70.9119 99.3171ZM75.0152 27.2989L45.1091 50.0001L75.0152 72.7012V27.2989Z"
|
|
43
|
+
fill="white"
|
|
44
|
+
id="path1" />
|
|
45
|
+
</mask>
|
|
46
|
+
<g
|
|
47
|
+
mask="url(#mask0)"
|
|
48
|
+
id="g6">
|
|
49
|
+
<path
|
|
50
|
+
d="M 96.4614,10.7962 75.8569,0.875542 C 73.4719,-0.272773 70.6217,0.211611 68.75,2.08333 L 1.29858,63.5832 c -1.814273,1.6541 -1.812187,4.5105 0.0045,6.162 l 5.50964,5.0088 c 1.48521,1.3502 3.72198,1.4496 5.32108,0.2365 L 93.3609,13.3699 C 96.086,11.3026 100,13.2462 100,16.6667 v -0.2392 c 0,-2.401 -1.3754,-4.5897 -3.5386,-5.6313 z"
|
|
51
|
+
fill="#0065a9"
|
|
52
|
+
id="path2"
|
|
53
|
+
style="display:inline;fill:#000000;fill-opacity:1" />
|
|
54
|
+
<g
|
|
55
|
+
filter="url(#filter0_d)"
|
|
56
|
+
id="g3"
|
|
57
|
+
style="display:inline">
|
|
58
|
+
<path
|
|
59
|
+
d="m 96.4614,89.2038 -20.6045,9.9207 c -2.385,1.1485 -5.2352,0.6639 -7.1069,-1.2078 L 1.29858,36.4169 c -1.814273,-1.6542 -1.812187,-4.5106 0.0045,-6.1621 L 6.81272,25.246 C 8.29793,23.8958 10.5347,23.7964 12.1338,25.0095 L 93.3609,86.6301 C 96.086,88.6974 100,86.7538 100,83.3334 v 0.2392 c 0,2.4009 -1.3754,4.5896 -3.5386,5.6312 z"
|
|
60
|
+
fill="#007acc"
|
|
61
|
+
id="path3"
|
|
62
|
+
style="display:inline;fill:#000000;fill-opacity:1" />
|
|
63
|
+
</g>
|
|
64
|
+
<g
|
|
65
|
+
filter="url(#filter1_d)"
|
|
66
|
+
id="g4"
|
|
67
|
+
style="display:inline">
|
|
68
|
+
<path
|
|
69
|
+
d="M 75.8578,99.1263 C 73.4721,100.274 70.6219,99.7885 68.75,97.9166 71.0564,100.223 75,98.5895 75,95.3278 V 4.67213 C 75,1.41039 71.0564,-0.223106 68.75,2.08329 70.6219,0.211402 73.4721,-0.273666 75.8578,0.873633 L 96.4587,10.7807 C 98.6234,11.8217 100,14.0112 100,16.4132 v 67.1739 c 0,2.402 -1.3766,4.5915 -3.5414,5.6325 z"
|
|
70
|
+
fill="#1f9cf0"
|
|
71
|
+
id="path4"
|
|
72
|
+
style="display:inline;fill:#000000;fill-opacity:1" />
|
|
73
|
+
</g>
|
|
74
|
+
<g
|
|
75
|
+
style="mix-blend-mode:overlay"
|
|
76
|
+
opacity="0.25"
|
|
77
|
+
id="g5">
|
|
78
|
+
<path
|
|
79
|
+
fill-rule="evenodd"
|
|
80
|
+
clip-rule="evenodd"
|
|
81
|
+
d="m 70.8511,99.3171 c 1.575,0.6135 3.371,0.5742 4.9606,-0.1907 L 96.4,89.2197 c 2.1634,-1.041 3.5392,-3.2305 3.5392,-5.6326 V 16.4133 c 0,-2.4021 -1.3757,-4.5916 -3.5391,-5.6326 L 75.8117,0.873695 C 73.7255,-0.13019 71.2838,0.115699 69.4527,1.44688 69.1912,1.63705 68.942,1.84937 68.7082,2.08335 L 29.2943,38.0414 12.1264,25.0096 C 10.5283,23.7964 8.29285,23.8959 6.80855,25.246 l -5.5063,5.0088 c -1.815584,1.6516 -1.817665,4.5079 -0.0045,6.1621 L 16.1863,50 1.29775,63.5832 c -1.813165,1.6542 -1.811084,4.5105 0.0045,6.162 l 5.5063,5.0088 c 1.4843,1.3502 3.71975,1.4496 5.31785,0.2365 L 29.2943,61.9586 68.7082,97.9167 c 0.6235,0.6238 1.3556,1.0937 2.1429,1.4004 z M 74.9544,27.2989 45.0483,50 74.9544,72.7012 Z"
|
|
82
|
+
fill="url(#paint0_linear)"
|
|
83
|
+
id="path5"
|
|
84
|
+
style="display:none;fill:#000000;fill-opacity:1" />
|
|
85
|
+
</g>
|
|
86
|
+
</g>
|
|
87
|
+
<defs
|
|
88
|
+
id="defs11">
|
|
89
|
+
<filter
|
|
90
|
+
id="filter0_d"
|
|
91
|
+
x="-8.39411"
|
|
92
|
+
y="15.8291"
|
|
93
|
+
width="116.727"
|
|
94
|
+
height="92.2456"
|
|
95
|
+
filterUnits="userSpaceOnUse"
|
|
96
|
+
color-interpolation-filters="sRGB">
|
|
97
|
+
<feFlood
|
|
98
|
+
flood-opacity="0"
|
|
99
|
+
result="BackgroundImageFix"
|
|
100
|
+
id="feFlood6" />
|
|
101
|
+
<feColorMatrix
|
|
102
|
+
in="SourceAlpha"
|
|
103
|
+
type="matrix"
|
|
104
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
105
|
+
id="feColorMatrix6" />
|
|
106
|
+
<feOffset
|
|
107
|
+
id="feOffset6" />
|
|
108
|
+
<feGaussianBlur
|
|
109
|
+
stdDeviation="4.16667"
|
|
110
|
+
id="feGaussianBlur6" />
|
|
111
|
+
<feColorMatrix
|
|
112
|
+
type="matrix"
|
|
113
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
|
|
114
|
+
id="feColorMatrix7" />
|
|
115
|
+
<feBlend
|
|
116
|
+
mode="overlay"
|
|
117
|
+
in2="BackgroundImageFix"
|
|
118
|
+
result="effect1_dropShadow"
|
|
119
|
+
id="feBlend7" />
|
|
120
|
+
<feBlend
|
|
121
|
+
mode="normal"
|
|
122
|
+
in="SourceGraphic"
|
|
123
|
+
in2="effect1_dropShadow"
|
|
124
|
+
result="shape"
|
|
125
|
+
id="feBlend8" />
|
|
126
|
+
</filter>
|
|
127
|
+
<filter
|
|
128
|
+
id="filter1_d"
|
|
129
|
+
x="60.4167"
|
|
130
|
+
y="-8.07558"
|
|
131
|
+
width="47.9167"
|
|
132
|
+
height="116.151"
|
|
133
|
+
filterUnits="userSpaceOnUse"
|
|
134
|
+
color-interpolation-filters="sRGB">
|
|
135
|
+
<feFlood
|
|
136
|
+
flood-opacity="0"
|
|
137
|
+
result="BackgroundImageFix"
|
|
138
|
+
id="feFlood8" />
|
|
139
|
+
<feColorMatrix
|
|
140
|
+
in="SourceAlpha"
|
|
141
|
+
type="matrix"
|
|
142
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
143
|
+
id="feColorMatrix8" />
|
|
144
|
+
<feOffset
|
|
145
|
+
id="feOffset8" />
|
|
146
|
+
<feGaussianBlur
|
|
147
|
+
stdDeviation="4.16667"
|
|
148
|
+
id="feGaussianBlur8" />
|
|
149
|
+
<feColorMatrix
|
|
150
|
+
type="matrix"
|
|
151
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
|
|
152
|
+
id="feColorMatrix9" />
|
|
153
|
+
<feBlend
|
|
154
|
+
mode="overlay"
|
|
155
|
+
in2="BackgroundImageFix"
|
|
156
|
+
result="effect1_dropShadow"
|
|
157
|
+
id="feBlend9" />
|
|
158
|
+
<feBlend
|
|
159
|
+
mode="normal"
|
|
160
|
+
in="SourceGraphic"
|
|
161
|
+
in2="effect1_dropShadow"
|
|
162
|
+
result="shape"
|
|
163
|
+
id="feBlend10" />
|
|
164
|
+
</filter>
|
|
165
|
+
<linearGradient
|
|
166
|
+
id="paint0_linear"
|
|
167
|
+
x1="49.9392"
|
|
168
|
+
y1="0.257812"
|
|
169
|
+
x2="49.9392"
|
|
170
|
+
y2="99.7423"
|
|
171
|
+
gradientUnits="userSpaceOnUse">
|
|
172
|
+
<stop
|
|
173
|
+
stop-color="white"
|
|
174
|
+
id="stop10" />
|
|
175
|
+
<stop
|
|
176
|
+
offset="1"
|
|
177
|
+
stop-color="white"
|
|
178
|
+
stop-opacity="0"
|
|
179
|
+
id="stop11" />
|
|
180
|
+
</linearGradient>
|
|
181
|
+
</defs>
|
|
182
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{bn as dt,bo as pe,b3 as I,bp as ae,bq as v,br as $,bs as ao,bc as b,bt as Q,bu as B,b2 as R,bv as de,O as J,bw as co,u as he,b8 as A,d as Y,bx as ht,a6 as me,b9 as ne,aV as V,by as be,bz as ge,f as _e,s as Se,m as Ce,bA as ce,bB as ye,F as Z,bC as ve,bd as lo,bD as fo,bE as uo,bF as mt,b5 as po,b7 as Te,bG as Ee,a9 as we,bH as Ae,ba as ho,b1 as mo,bI as Re,bJ as Pe,bK as Me,bL as Ne,bM as W,bN as z,bO as bt,bP as gt,bQ as _t,bR as St,bS as Ct,bT as yt,bU as vt,bV as Tt,P as Et,bW as wt,bX as At,bY as Rt,bZ as Pt,b_ as Mt,b$ as Nt,c0 as Ot,e as Vt,h as xt,i as Dt,c as Lt,b as It,c1 as Bt,N as Ht,c2 as $t,j as Ft,c3 as Kt,c4 as Ut,c5 as jt,c6 as Wt,c7 as zt,c8 as qt,c9 as kt,ca as Gt,cb as Xt,cc as Qt,cd as Jt,a$ as Yt,ce as Zt,cf as es,cg as ts,ch as ss,ci as ns,cj as os,ck as is,cl as rs,cm as as,a8 as cs,cn as ls,co as fs,cp as us,cq as ps,cr as ds,cs as hs,ct as ms,cu as bs,cv as gs,cw as _s,cx as Ss,p as Cs,n as ys,ax as vs,x as Ts,cy as Es,cz as ws,y as As,cA as Rs,cB as Ps,cC as Ms,cD as Ns,b0 as Os,cE as Vs,cF as xs,o as Ds,cG as Ls,aa as Is,cH as Bs,cI as Hs,r as $s,aX as Fs,a as Ks,cJ as Us,k as js,v as Ws,g as zs,M as qs,q as ks,cK as Gs,cL as Xs,cM as Qs,a7 as Js,cN as Ys,a5 as Zs,cO as en,cP as tn,cQ as sn,t as nn,bb as on,aB as rn,cR as an,cS as cn,aW as ln,cT as fn,cU as un,cV as pn,Q as dn,cW as hn,cX as mn,cY as bn,cZ as gn,c_ as _n,c$ as Sn,H as Cn,d0 as yn,d1 as vn,d2 as Tn,w as En,d3 as wn,l as An,d4 as Rn,d5 as Pn}from"./index-aZm7xMRp.js";/**
|
|
2
|
+
* @vue/runtime-dom v3.5.13
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/let le;const ze=typeof window<"u"&&window.trustedTypes;if(ze)try{le=ze.createPolicy("vue",{createHTML:e=>e})}catch{}const Mn=le?e=>le.createHTML(e):e=>e,bo="http://www.w3.org/2000/svg",go="http://www.w3.org/1998/Math/MathML",_=typeof document<"u"?document:null,qe=_&&_.createElement("template"),_o={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?_.createElementNS(bo,e):t==="mathml"?_.createElementNS(go,e):s?_.createElement(e,{is:s}):_.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>_.createTextNode(e),createComment:e=>_.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,i){const r=s?s.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===i||!(o=o.nextSibling)););else{qe.innerHTML=Mn(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=qe.content;if(n==="svg"||n==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},C="transition",x="animation",N=Symbol("_vtc"),Nn={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},On=R({},de,Nn),So=e=>(e.displayName="Transition",e.props=On,e),Vn=So((e,{slots:t})=>we(Ae,xn(e),t)),w=(e,t=[])=>{b(e)?e.forEach(s=>s(...t)):e&&e(...t)},ke=e=>e?b(e)?e.some(t=>t.length>1):e.length>1:!1;function xn(e){const t={};for(const l in e)l in Nn||(t[l]=e[l]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:i=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:c=i,appearActiveClass:f=r,appearToClass:u=a,leaveFromClass:p=`${s}-leave-from`,leaveActiveClass:d=`${s}-leave-active`,leaveToClass:P=`${s}-leave-to`}=e,M=Co(o),to=M&&M[0],so=M&&M[1],{onBeforeEnter:He,onEnter:$e,onEnterCancelled:Fe,onLeave:Ke,onLeaveCancelled:no,onBeforeAppear:oo=He,onAppear:io=$e,onAppearCancelled:ro=Fe}=t,se=(l,h,E,K)=>{l._enterCancelled=K,y(l,h?u:a),y(l,h?f:r),E&&E()},Ue=(l,h)=>{l._isLeaving=!1,y(l,p),y(l,P),y(l,d),h&&h()},je=l=>(h,E)=>{const K=l?io:$e,We=()=>se(h,l,E);w(K,[h,We]),Ge(()=>{y(h,l?c:i),g(h,l?u:a),ke(K)||Xe(h,n,to,We)})};return R(t,{onBeforeEnter(l){w(He,[l]),g(l,i),g(l,r)},onBeforeAppear(l){w(oo,[l]),g(l,c),g(l,f)},onEnter:je(!1),onAppear:je(!0),onLeave(l,h){l._isLeaving=!0;const E=()=>Ue(l,h);g(l,p),l._enterCancelled?(g(l,d),fe()):(fe(),g(l,d)),Ge(()=>{l._isLeaving&&(y(l,p),g(l,P),ke(Ke)||Xe(l,n,so,E))}),w(Ke,[l,E])},onEnterCancelled(l){se(l,!1,void 0,!0),w(Fe,[l])},onAppearCancelled(l){se(l,!0,void 0,!0),w(ro,[l])},onLeaveCancelled(l){Ue(l),w(no,[l])}})}function Co(e){if(e==null)return null;if(ho(e))return[oe(e.enter),oe(e.leave)];{const t=oe(e);return[t,t]}}function oe(e){return ce(e)}function g(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[N]||(e[N]=new Set)).add(t)}function y(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[N];s&&(s.delete(t),s.size||(e[N]=void 0))}function Ge(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let yo=0;function Xe(e,t,s,n){const o=e._endId=++yo,i=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(i,s);const{type:r,timeout:a,propCount:c}=Dn(e,t);if(!r)return n();const f=r+"end";let u=0;const p=()=>{e.removeEventListener(f,d),i()},d=P=>{P.target===e&&++u>=c&&p()};setTimeout(()=>{u<c&&p()},a+1),e.addEventListener(f,d)}function Dn(e,t){const s=window.getComputedStyle(e),n=M=>(s[M]||"").split(", "),o=n(`${C}Delay`),i=n(`${C}Duration`),r=Qe(o,i),a=n(`${x}Delay`),c=n(`${x}Duration`),f=Qe(a,c);let u=null,p=0,d=0;t===C?r>0&&(u=C,p=r,d=i.length):t===x?f>0&&(u=x,p=f,d=c.length):(p=Math.max(r,f),u=p>0?r>f?C:x:null,d=u?u===C?i.length:c.length:0);const P=u===C&&/\b(transform|all)(,|$)/.test(n(`${C}Property`).toString());return{type:u,timeout:p,propCount:d,hasTransform:P}}function Qe(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>Je(s)+Je(e[n])))}function Je(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function fe(){return document.body.offsetHeight}function vo(e,t,s){const n=e[N];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const q=Symbol("_vod"),Ln=Symbol("_vsh"),Oe={beforeMount(e,{value:t},{transition:s}){e[q]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):D(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),D(e,!0),n.enter(e)):n.leave(e,()=>{D(e,!1)}):D(e,t))},beforeUnmount(e,{value:t}){D(e,t)}};function D(e,t){e.style.display=t?e[q]:"none",e[Ln]=!t}function To(){Oe.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const In=Symbol("");function Bn(e){const t=V();if(!t)return;const s=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>k(i,o))},n=()=>{const o=e(t.proxy);t.ce?k(t.ce,o):ue(t.subTree,o),s(o)};be(()=>{ge(n)}),_e(()=>{Se(n,mo,{flush:"post"});const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),Ce(()=>o.disconnect())})}function ue(e,t){if(e.shapeFlag&128){const s=e.suspense;e=s.activeBranch,s.pendingBranch&&!s.isHydrating&&s.effects.push(()=>{ue(s.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)k(e.el,t);else if(e.type===Z)e.children.forEach(s=>ue(s,t));else if(e.type===ve){let{el:s,anchor:n}=e;for(;s&&(k(s,t),s!==n);)s=s.nextSibling}}function k(e,t){if(e.nodeType===1){const s=e.style;let n="";for(const o in t)s.setProperty(`--${o}`,t[o]),n+=`--${o}: ${t[o]};`;s[In]=n}}const Eo=/(^|;)\s*display\s*:/;function wo(e,t,s){const n=e.style,o=I(s);let i=!1;if(s&&!o){if(t)if(I(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&j(n,a,"")}else for(const r in t)s[r]==null&&j(n,r,"");for(const r in s)r==="display"&&(i=!0),j(n,r,s[r])}else if(o){if(t!==s){const r=n[In];r&&(s+=";"+r),n.cssText=s,i=Eo.test(s)}}else t&&e.removeAttribute("style");q in e&&(e[q]=i?n.display:"",e[Ln]&&(n.display="none"))}const Ye=/\s*!important$/;function j(e,t,s){if(b(s))s.forEach(n=>j(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Ao(e,t);Ye.test(s)?e.setProperty(v(n),s.replace(Ye,""),"important"):e[n]=s}}const Ze=["Webkit","Moz","ms"],ie={};function Ao(e,t){const s=ie[t];if(s)return s;let n=A(t);if(n!=="filter"&&n in e)return ie[t]=n;n=Te(n);for(let o=0;o<Ze.length;o++){const i=Ze[o]+n;if(i in e)return ie[t]=i}return t}const et="http://www.w3.org/1999/xlink";function tt(e,t,s,n,o,i=uo(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(et,t.slice(6,t.length)):e.setAttributeNS(et,t,s):s==null||i&&!mt(s)?e.removeAttribute(t):e.setAttribute(t,i?"":po(s)?String(s):s)}function st(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Mn(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(a!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let r=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=mt(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{e[t]=s}catch{}r&&e.removeAttribute(o||t)}function S(e,t,s,n){e.addEventListener(t,s,n)}function Ro(e,t,s,n){e.removeEventListener(t,s,n)}const nt=Symbol("_vei");function Po(e,t,s,n,o=null){const i=e[nt]||(e[nt]={}),r=i[t];if(n&&r)r.value=n;else{const[a,c]=Mo(t);if(n){const f=i[t]=Vo(n,o);S(e,a,f,c)}else r&&(Ro(e,a,r,c),i[t]=void 0)}}const ot=/(?:Once|Passive|Capture)$/;function Mo(e){let t;if(ot.test(e)){t={};let n;for(;n=e.match(ot);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):v(e.slice(2)),t]}let re=0;const No=Promise.resolve(),Oo=()=>re||(No.then(()=>re=0),re=Date.now());function Vo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ee(xo(n,s.value),t,5,[n])};return s.value=e,s.attached=Oo(),s}function xo(e,t){if(b(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const it=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Do=(e,t,s,n,o,i)=>{const r=o==="svg";t==="class"?vo(e,n,r):t==="style"?wo(e,s,n):lo(t)?fo(t)||Po(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Lo(e,t,n,r))?(st(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&tt(e,t,n,r,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!I(n))?st(e,A(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),tt(e,t,n,r))};function Lo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&it(t)&&dt(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return it(t)&&I(s)?!1:t in e}const rt={};/*! #__NO_SIDE_EFFECTS__ */function Ve(e,t,s){const n=me(e,t);ht(n)&&R(n,t);class o extends F{constructor(r){super(n,r,s)}}return o.def=n,o}/*! #__NO_SIDE_EFFECTS__ */const Hn=(e,t)=>Ve(e,t,Be),Io=typeof HTMLElement<"u"?HTMLElement:class{};class F extends Io{constructor(t,s={},n=X){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==X?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof F){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,J(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const o of n)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=n;let a;if(i&&!b(i))for(const c in i){const f=i[c];(f===Number||f&&f.type===Number)&&(c in this._props&&(this._props[c]=ce(this._props[c])),(a||(a=Object.create(null)))[A(c)]=!0)}this._numberProps=a,o&&this._resolveProps(n),this.shadowRoot&&this._applyStyles(r),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)co(this,n)||Object.defineProperty(this,n,{get:()=>he(s[n])})}_resolveProps(t){const{props:s}=t,n=b(s)?s:Object.keys(s||{});for(const o of Object.keys(this))o[0]!=="_"&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(A))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):rt;const o=A(t);s&&this._numberProps&&this._numberProps[o]&&(n=ce(n)),this._setProp(o,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,o=!1){if(s!==this._props[t]&&(s===rt?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),o&&this._instance&&this._update(),n)){const i=this._ob;i&&i.disconnect(),s===!0?this.setAttribute(v(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(v(t),s+""):s||this.removeAttribute(v(t)),i&&i.observe(this,{attributes:!0})}}_update(){Ie(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Y(this._def,R(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const o=(i,r)=>{this.dispatchEvent(new CustomEvent(i,ht(r[0])?R({detail:r},r[0]):{detail:r}))};n.emit=(i,...r)=>{o(i,r),v(i)!==i&&o(v(i),r)},this._setParent()}),s}_applyStyles(t,s){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const n=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),s=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const o=t[n],i=o.getAttribute("name")||"default",r=this._slots[i],a=o.parentNode;if(r)for(const c of r){if(s&&c.nodeType===1){const f=s+"-s",u=document.createTreeWalker(c,1);c.setAttribute(f,"");let p;for(;p=u.nextNode();)p.setAttribute(f,"")}a.insertBefore(c,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function xe(e){const t=V(),s=t&&t.ce;return s||null}function $n(){const e=xe();return e&&e.shadowRoot}function Fn(e="$style"){{const t=V();if(!t)return ne;const s=t.type.__cssModules;if(!s)return ne;const n=s[e];return n||ne}}const Kn=new WeakMap,Un=new WeakMap,G=Symbol("_moveCb"),at=Symbol("_enterCb"),Bo=e=>(delete e.props.mode,e),Ho=Bo({name:"TransitionGroup",props:R({},On,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=V(),n=Re();let o,i;return Pe(()=>{if(!o.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!Uo(o[0].el,s.vnode.el,r))return;o.forEach($o),o.forEach(Fo);const a=o.filter(Ko);fe(),a.forEach(c=>{const f=c.el,u=f.style;g(f,r),u.transform=u.webkitTransform=u.transitionDuration="";const p=f[G]=d=>{d&&d.target!==f||(!d||/transform$/.test(d.propertyName))&&(f.removeEventListener("transitionend",p),f[G]=null,y(f,r))};f.addEventListener("transitionend",p)})}),()=>{const r=Me(e),a=xn(r);let c=r.tag||Z;if(o=[],i)for(let f=0;f<i.length;f++){const u=i[f];u.el&&u.el instanceof Element&&(o.push(u),W(u,z(u,a,n,s)),Kn.set(u,u.el.getBoundingClientRect()))}i=t.default?Ne(t.default()):[];for(let f=0;f<i.length;f++){const u=i[f];u.key!=null&&W(u,z(u,a,n,s))}return Y(c,null,i)}}}),jn=Ho;function $o(e){const t=e.el;t[G]&&t[G](),t[at]&&t[at]()}function Fo(e){Un.set(e,e.el.getBoundingClientRect())}function Ko(e){const t=Kn.get(e),s=Un.get(e),n=t.left-s.left,o=t.top-s.top;if(n||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${o}px)`,i.transitionDuration="0s",e}}function Uo(e,t,s){const n=e.cloneNode(),o=e[N];o&&o.forEach(a=>{a.split(/\s+/).forEach(c=>c&&n.classList.remove(c))}),s.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:r}=Dn(n);return i.removeChild(n),r}const T=e=>{const t=e.props["onUpdate:modelValue"]||!1;return b(t)?s=>ao(t,s):t};function jo(e){e.target.composing=!0}function ct(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const m=Symbol("_assign"),H={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[m]=T(o);const i=n||o.props&&o.props.type==="number";S(e,t?"change":"input",r=>{if(r.target.composing)return;let a=e.value;s&&(a=a.trim()),i&&(a=ae(a)),e[m](a)}),s&&S(e,"change",()=>{e.value=e.value.trim()}),t||(S(e,"compositionstart",jo),S(e,"compositionend",ct),S(e,"change",ct))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:i}},r){if(e[m]=T(r),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?ae(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===c)||(e.value=c))}},ee={deep:!0,created(e,t,s){e[m]=T(s),S(e,"change",()=>{const n=e._modelValue,o=O(e),i=e.checked,r=e[m];if(b(n)){const a=Q(n,o),c=a!==-1;if(i&&!c)r(n.concat(o));else if(!i&&c){const f=[...n];f.splice(a,1),r(f)}}else if($(n)){const a=new Set(n);i?a.add(o):a.delete(o),r(a)}else r(Wn(e,i))})},mounted:lt,beforeUpdate(e,t,s){e[m]=T(s),lt(e,t,s)}};function lt(e,{value:t,oldValue:s},n){e._modelValue=t;let o;if(b(t))o=Q(t,n.props.value)>-1;else if($(t))o=t.has(n.props.value);else{if(t===s)return;o=B(t,Wn(e,!0))}e.checked!==o&&(e.checked=o)}const te={created(e,{value:t},s){e.checked=B(t,s.props.value),e[m]=T(s),S(e,"change",()=>{e[m](O(e))})},beforeUpdate(e,{value:t,oldValue:s},n){e[m]=T(n),t!==s&&(e.checked=B(t,n.props.value))}},De={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const o=$(t);S(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>s?ae(O(r)):O(r));e[m](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,J(()=>{e._assigning=!1})}),e[m]=T(n)},mounted(e,{value:t}){ft(e,t)},beforeUpdate(e,t,s){e[m]=T(s)},updated(e,{value:t}){e._assigning||ft(e,t)}};function ft(e,t){const s=e.multiple,n=b(t);if(!(s&&!n&&!$(t))){for(let o=0,i=e.options.length;o<i;o++){const r=e.options[o],a=O(r);if(s)if(n){const c=typeof a;c==="string"||c==="number"?r.selected=t.some(f=>String(f)===String(a)):r.selected=Q(t,a)>-1}else r.selected=t.has(a);else if(B(O(r),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function O(e){return"_value"in e?e._value:e.value}function Wn(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Le={created(e,t,s){U(e,t,s,null,"created")},mounted(e,t,s){U(e,t,s,null,"mounted")},beforeUpdate(e,t,s,n){U(e,t,s,n,"beforeUpdate")},updated(e,t,s,n){U(e,t,s,n,"updated")}};function zn(e,t){switch(e){case"SELECT":return De;case"TEXTAREA":return H;default:switch(t){case"checkbox":return ee;case"radio":return te;default:return H}}}function U(e,t,s,n,o){const r=zn(e.tagName,s.props&&s.props.type)[o];r&&r(e,t,s,n)}function Wo(){H.getSSRProps=({value:e})=>({value:e}),te.getSSRProps=({value:e},t)=>{if(t.props&&B(t.props.value,e))return{checked:!0}},ee.getSSRProps=({value:e},t)=>{if(b(e)){if(t.props&&Q(e,t.props.value)>-1)return{checked:!0}}else if($(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Le.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const s=zn(t.type.toUpperCase(),t.props&&t.props.type);if(s.getSSRProps)return s.getSSRProps(e,t)}}const zo=["ctrl","shift","alt","meta"],qo={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>zo.some(s=>e[`${s}Key`]&&!t.includes(s))},qn=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(o,...i)=>{for(let r=0;r<t.length;r++){const a=qo[t[r]];if(a&&a(o,t))return}return e(o,...i)})},ko={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kn=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=o=>{if(!("key"in o))return;const i=v(o.key);if(t.some(r=>r===i||ko[r]===i))return e(o)})},Gn=R({patchProp:Do},_o);let L,ut=!1;function Xn(){return L||(L=pe(Gn))}function Qn(){return L=ut?L:ye(Gn),ut=!0,L}const Ie=(...e)=>{Xn().render(...e)},Jn=(...e)=>{Qn().hydrate(...e)},X=(...e)=>{const t=Xn().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=Zn(n);if(!o)return;const i=t._component;!dt(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=s(o,!1,Yn(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t},Be=(...e)=>{const t=Qn().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=Zn(n);if(o)return s(o,!0,Yn(o))},t};function Yn(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Zn(e){return I(e)?document.querySelector(e):e}let pt=!1;const eo=()=>{pt||(pt=!0,Wo(),To())},Xo=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ae,BaseTransitionPropsValidators:de,Comment:bt,DeprecationTypes:gt,EffectScope:_t,ErrorCodes:St,ErrorTypeStrings:Ct,Fragment:Z,KeepAlive:yt,ReactiveEffect:vt,Static:ve,Suspense:Tt,Teleport:Et,Text:wt,TrackOpTypes:At,Transition:Vn,TransitionGroup:jn,TriggerOpTypes:Rt,VueElement:F,assertNumber:Pt,callWithAsyncErrorHandling:Ee,callWithErrorHandling:Mt,camelize:A,capitalize:Te,cloneVNode:Nt,compatUtils:Ot,computed:Vt,createApp:X,createBlock:xt,createCommentVNode:Dt,createElementBlock:Lt,createElementVNode:It,createHydrationRenderer:ye,createPropsRestProxy:Bt,createRenderer:pe,createSSRApp:Be,createSlots:Ht,createStaticVNode:$t,createTextVNode:Ft,createVNode:Y,customRef:Kt,defineAsyncComponent:Ut,defineComponent:me,defineCustomElement:Ve,defineEmits:jt,defineExpose:Wt,defineModel:zt,defineOptions:qt,defineProps:kt,defineSSRCustomElement:Hn,defineSlots:Gt,devtools:Xt,effect:Qt,effectScope:Jt,getCurrentInstance:V,getCurrentScope:Yt,getCurrentWatcher:Zt,getTransitionRawChildren:Ne,guardReactiveProps:es,h:we,handleError:ts,hasInjectionContext:ss,hydrate:Jn,hydrateOnIdle:ns,hydrateOnInteraction:os,hydrateOnMediaQuery:is,hydrateOnVisible:rs,initCustomFormatter:as,initDirectivesForSSR:eo,inject:cs,isMemoSame:ls,isProxy:fs,isReactive:us,isReadonly:ps,isRef:ds,isRuntimeOnly:hs,isShallow:ms,isVNode:bs,markRaw:gs,mergeDefaults:_s,mergeModels:Ss,mergeProps:Cs,nextTick:J,normalizeClass:ys,normalizeProps:vs,normalizeStyle:Ts,onActivated:Es,onBeforeMount:ws,onBeforeUnmount:As,onBeforeUpdate:be,onDeactivated:Rs,onErrorCaptured:Ps,onMounted:_e,onRenderTracked:Ms,onRenderTriggered:Ns,onScopeDispose:Os,onServerPrefetch:Vs,onUnmounted:Ce,onUpdated:Pe,onWatcherCleanup:xs,openBlock:Ds,popScopeId:Ls,provide:Is,proxyRefs:Bs,pushScopeId:Hs,queuePostFlushCb:ge,reactive:$s,readonly:Fs,ref:Ks,registerRuntimeCompiler:Us,render:Ie,renderList:js,renderSlot:Ws,resolveComponent:zs,resolveDirective:qs,resolveDynamicComponent:ks,resolveFilter:Gs,resolveTransitionHooks:z,setBlockTracking:Xs,setDevtoolsHook:Qs,setTransitionHooks:W,shallowReactive:Js,shallowReadonly:Ys,shallowRef:Zs,ssrContextKey:en,ssrUtils:tn,stop:sn,toDisplayString:nn,toHandlerKey:on,toHandlers:rn,toRaw:Me,toRef:an,toRefs:cn,toValue:ln,transformVNodeArgs:fn,triggerRef:un,unref:he,useAttrs:pn,useCssModule:Fn,useCssVars:Bn,useHost:xe,useId:dn,useModel:hn,useSSRContext:mn,useShadowRoot:$n,useSlots:bn,useTemplateRef:gn,useTransitionState:Re,vModelCheckbox:ee,vModelDynamic:Le,vModelRadio:te,vModelSelect:De,vModelText:H,vShow:Oe,version:_n,warn:Sn,watch:Se,watchEffect:Cn,watchPostEffect:yn,watchSyncEffect:vn,withAsyncContext:Tn,withCtx:En,withDefaults:wn,withDirectives:An,withKeys:kn,withMemo:Rn,withModifiers:qn,withScopeId:Pn},Symbol.toStringTag,{value:"Module"}));/**
|
|
6
|
+
* vue v3.5.13
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/const Qo=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ae,BaseTransitionPropsValidators:de,Comment:bt,DeprecationTypes:gt,EffectScope:_t,ErrorCodes:St,ErrorTypeStrings:Ct,Fragment:Z,KeepAlive:yt,ReactiveEffect:vt,Static:ve,Suspense:Tt,Teleport:Et,Text:wt,TrackOpTypes:At,Transition:Vn,TransitionGroup:jn,TriggerOpTypes:Rt,VueElement:F,assertNumber:Pt,callWithAsyncErrorHandling:Ee,callWithErrorHandling:Mt,camelize:A,capitalize:Te,cloneVNode:Nt,compatUtils:Ot,computed:Vt,createApp:X,createBlock:xt,createCommentVNode:Dt,createElementBlock:Lt,createElementVNode:It,createHydrationRenderer:ye,createPropsRestProxy:Bt,createRenderer:pe,createSSRApp:Be,createSlots:Ht,createStaticVNode:$t,createTextVNode:Ft,createVNode:Y,customRef:Kt,defineAsyncComponent:Ut,defineComponent:me,defineCustomElement:Ve,defineEmits:jt,defineExpose:Wt,defineModel:zt,defineOptions:qt,defineProps:kt,defineSSRCustomElement:Hn,defineSlots:Gt,devtools:Xt,effect:Qt,effectScope:Jt,getCurrentInstance:V,getCurrentScope:Yt,getCurrentWatcher:Zt,getTransitionRawChildren:Ne,guardReactiveProps:es,h:we,handleError:ts,hasInjectionContext:ss,hydrate:Jn,hydrateOnIdle:ns,hydrateOnInteraction:os,hydrateOnMediaQuery:is,hydrateOnVisible:rs,initCustomFormatter:as,initDirectivesForSSR:eo,inject:cs,isMemoSame:ls,isProxy:fs,isReactive:us,isReadonly:ps,isRef:ds,isRuntimeOnly:hs,isShallow:ms,isVNode:bs,markRaw:gs,mergeDefaults:_s,mergeModels:Ss,mergeProps:Cs,nextTick:J,normalizeClass:ys,normalizeProps:vs,normalizeStyle:Ts,onActivated:Es,onBeforeMount:ws,onBeforeUnmount:As,onBeforeUpdate:be,onDeactivated:Rs,onErrorCaptured:Ps,onMounted:_e,onRenderTracked:Ms,onRenderTriggered:Ns,onScopeDispose:Os,onServerPrefetch:Vs,onUnmounted:Ce,onUpdated:Pe,onWatcherCleanup:xs,openBlock:Ds,popScopeId:Ls,provide:Is,proxyRefs:Bs,pushScopeId:Hs,queuePostFlushCb:ge,reactive:$s,readonly:Fs,ref:Ks,registerRuntimeCompiler:Us,render:Ie,renderList:js,renderSlot:Ws,resolveComponent:zs,resolveDirective:qs,resolveDynamicComponent:ks,resolveFilter:Gs,resolveTransitionHooks:z,setBlockTracking:Xs,setDevtoolsHook:Qs,setTransitionHooks:W,shallowReactive:Js,shallowReadonly:Ys,shallowRef:Zs,ssrContextKey:en,ssrUtils:tn,stop:sn,toDisplayString:nn,toHandlerKey:on,toHandlers:rn,toRaw:Me,toRef:an,toRefs:cn,toValue:ln,transformVNodeArgs:fn,triggerRef:un,unref:he,useAttrs:pn,useCssModule:Fn,useCssVars:Bn,useHost:xe,useId:dn,useModel:hn,useSSRContext:mn,useShadowRoot:$n,useSlots:bn,useTemplateRef:gn,useTransitionState:Re,vModelCheckbox:ee,vModelDynamic:Le,vModelRadio:te,vModelSelect:De,vModelText:H,vShow:Oe,version:_n,warn:Sn,watch:Se,watchEffect:Cn,watchPostEffect:yn,watchSyncEffect:vn,withAsyncContext:Tn,withCtx:En,withDefaults:wn,withDirectives:An,withKeys:kn,withMemo:Rn,withModifiers:qn,withScopeId:Pn},Symbol.toStringTag,{value:"Module"}));export{jn as T,kn as a,Vn as b,De as c,ee as d,Oe as e,te as f,Qo as g,Xo as r,H as v,qn as w};
|