yanzi-monaco-editorbb
Version:
这是一个基于微软的monaco和vue封装的一个代码编辑器,浏览器可运行。主要功能有:html、javascript、css代码编辑,高亮显示,语法错误提示等,可以帮您的项目很快的拥有一个web端的代码编辑器
22 lines • 4.33 MB
JavaScript
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["yanziMonacoEditor"]=t(require("vue")):e["yanziMonacoEditor"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){function t(t){for(var n,r,o=t[0],a=t[1],s=0,l=[];s<o.length;s++)r=o[s],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&l.push(i[r][0]),i[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);u&&u(t);while(l.length)l.shift()()}var n={},i={3:0};function r(e){return o.p+"yanziMonacoEditor.umd.min."+({}[e]||e)+".js"}function o(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.e=function(e){var t=[],n=i[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,r){n=i[e]=[t,r]}));t.push(n[2]=a);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.src=r(e);var u=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(c);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}i[e]=void 0}};var c=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=("undefined"!==typeof self?self:this)["webpackJsonpyanziMonacoEditor"]=("undefined"!==typeof self?self:this)["webpackJsonpyanziMonacoEditor"]||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var u=s;return o(o.s="fb15")}({"00a3":function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h}));var i=n("b85c"),r=n("d4ec"),o=n("bee2"),a=(n("d81d"),n("11f7")),s=n("e757"),l=n("5d28"),u=n("a666"),c=n("30db");function d(e,t){var n=new l["a"](t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}var h=function(){function e(){Object(r["a"])(this,e),this._hooks=new u["b"],this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}return Object(o["a"])(e,[{key:"dispose",value:function(){this.stopMonitoring(!1),this._hooks.dispose()}},{key:"stopMonitoring",value:function(e,t){if(this.isMonitoring()){this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;var n=this._onStopCallback;this._onStopCallback=null,e&&n&&n(t)}}},{key:"isMonitoring",value:function(){return!!this._mouseMoveEventMerger}},{key:"startMonitoring",value:function(e,t,n,r,o){var u=this;if(!this.isMonitoring()){this._mouseMoveEventMerger=n,this._mouseMoveCallback=r,this._onStopCallback=o;var d=s["a"].getSameOriginWindowChain(),h=c["f"]?"pointermove":"mousemove",f="mouseup",p=d.map((function(e){return e.window.document})),g=a["getShadowRoot"](e);g&&p.unshift(g);var v,m=Object(i["a"])(p);try{for(m.s();!(v=m.n()).done;){var b=v.value;this._hooks.add(a["addDisposableThrottledListener"](b,h,(function(e){e.buttons===t?u._mouseMoveCallback(e):u.stopMonitoring(!0)}),(function(e,t){return u._mouseMoveEventMerger(e,t)}))),this._hooks.add(a["addDisposableListener"](b,f,(function(e){return u.stopMonitoring(!0)})))}}catch(_){m.e(_)}finally{m.f()}if(s["a"].hasDifferentOriginAncestor()){var y=d[d.length-1];this._hooks.add(a["addDisposableListener"](y.window.document,"mouseout",(function(e){var t=new l["a"](e);"html"===t.target.tagName.toLowerCase()&&u.stopMonitoring(!0)}))),this._hooks.add(a["addDisposableListener"](y.window.document,"mouseover",(function(e){var t=new l["a"](e);"html"===t.target.tagName.toLowerCase()&&u.stopMonitoring(!0)}))),this._hooks.add(a["addDisposableListener"](y.window.document.body,"mouseleave",(function(e){u.stopMonitoring(!0)})))}}}}]),e}()},"00b4":function(e,t,n){"use strict";n("ac1f");var i=n("23e7"),r=n("da84"),o=n("c65b"),a=n("e330"),s=n("1626"),l=n("861d"),u=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),c=r.Error,d=a(/./.test);i({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=this.exec;if(!s(t))return d(this,e);var n=o(t,this,e);if(null!==n&&!l(n))throw new c("RegExp exec method returned something other than an Object or null");return!!n}})},"00ee":function(e,t,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},"0184":function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return V}));var i=n("b85c"),r=n("3835"),o=n("262e"),a=n("2caf"),s=n("d4ec"),l=n("bee2"),u=n("53ca"),c=(n("e439"),n("d3b7"),n("f8c9"),n("e260"),n("4ec9"),n("3ca3"),n("ddb0"),n("6062"),n("07ac"),n("d81d"),n("4de4"),n("d9e2"),n("ac1f"),n("00b4"),n("a434"),n("4e82"),n("308f")),d=n("a666"),h=n("3742"),f=n("879b"),p=n("3d70"),g=n("a758"),v=function(){function e(t){if(Object(s["a"])(this,e),t.autoClosingPairs?this._autoClosingPairs=t.autoClosingPairs.map((function(e){return new p["c"](e)})):t.brackets?this._autoClosingPairs=t.brackets.map((function(e){return new p["c"]({open:e[0],close:e[1]})})):this._autoClosingPairs=[],t.colorizedBracketPairs?this._colorizedBracketPairs=m(t.colorizedBracketPairs.map((function(e){return[e[0],e[1]]}))):t.brackets?this._colorizedBracketPairs=m(t.brackets.map((function(e){return[e[0],e[1]]})).filter((function(e){return!("<"===e[0]&&">"===e[1])}))):this._colorizedBracketPairs=[],t.__electricCharacterSupport&&t.__electricCharacterSupport.docComment){var n=t.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new p["c"]({open:n.open,close:n.close||""}))}this._autoCloseBefore="string"===typeof t.autoCloseBefore?t.autoCloseBefore:e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return Object(l["a"])(e,[{key:"getAutoClosingPairs",value:function(){return this._autoClosingPairs}},{key:"getAutoCloseBeforeSet",value:function(){return this._autoCloseBefore}},{key:"getSurroundingPairs",value:function(){return this._surroundingPairs}},{key:"getColorizedBrackets",value:function(){return this._colorizedBracketPairs}}]),e}();function m(e){return e.filter((function(e){var t=Object(r["a"])(e,2),n=t[0],i=t[1];return""!==n&&""!==i}))}v.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";var b=n("e8e3"),y=n("83fe"),_=function(){function e(t){Object(s["a"])(this,e),this._richEditBrackets=t}return Object(l["a"])(e,[{key:"getElectricCharacters",value:function(){var e=[];if(this._richEditBrackets){var t,n=Object(i["a"])(this._richEditBrackets.brackets);try{for(n.s();!(t=n.n()).done;){var r,o=t.value,a=Object(i["a"])(o.close);try{for(a.s();!(r=a.n()).done;){var s=r.value,l=s.charAt(s.length-1);e.push(l)}}catch(u){a.e(u)}finally{a.f()}}}catch(u){n.e(u)}finally{n.f()}}return Object(b["g"])(e)}},{key:"onElectricCharacter",value:function(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var i=t.findTokenIndexAtOffset(n-1);if(Object(g["b"])(t.getStandardTokenType(i)))return null;var r=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,n-1)+e,a=y["a"].findPrevBracketInRange(r,1,o,0,o.length);if(!a)return null;var s=o.substring(a.startColumn-1,a.endColumn-1).toLowerCase(),l=this._richEditBrackets.textIsOpenBracket[s];if(l)return null;var u=t.getActualLineContentBefore(a.startColumn-1);return/^\s*$/.test(u)?{matchOpenBracket:s}:null}}]),e}();function k(e){return e.global&&(e.lastIndex=0),!0}var w=function(){function e(t){Object(s["a"])(this,e),this._indentationRules=t}return Object(l["a"])(e,[{key:"shouldIncrease",value:function(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&k(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}},{key:"shouldDecrease",value:function(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&k(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}},{key:"shouldIndentNextLine",value:function(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&k(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}},{key:"shouldIgnore",value:function(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&k(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}},{key:"getIndentMetadata",value:function(e){var t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}]),e}(),C=(n("159b"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("fdcc")),O=function(){function e(t){var n=this;Object(s["a"])(this,e),t=t||{},t.brackets=t.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],t.brackets.forEach((function(t){var i=e._createOpenBracketRegExp(t[0]),r=e._createCloseBracketRegExp(t[1]);i&&r&&n._brackets.push({open:t[0],openRegExp:i,close:t[1],closeRegExp:r})})),this._regExpRules=t.onEnterRules||[]}return Object(l["a"])(e,[{key:"onEnter",value:function(e,t,n,i){if(e>=3)for(var r=0,o=this._regExpRules.length;r<o;r++){var a=this._regExpRules[r],s=[{reg:a.beforeText,text:n},{reg:a.afterText,text:i},{reg:a.previousLineText,text:t}].every((function(e){return!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text))}));if(s)return a.action}if(e>=2&&n.length>0&&i.length>0)for(var l=0,u=this._brackets.length;l<u;l++){var c=this._brackets[l];if(c.openRegExp.test(n)&&c.closeRegExp.test(i))return{indentAction:p["b"].IndentOutdent}}if(e>=2&&n.length>0)for(var d=0,h=this._brackets.length;d<h;d++){var f=this._brackets[d];if(f.openRegExp.test(n))return{indentAction:p["b"].Indent}}return null}}],[{key:"_createOpenBracketRegExp",value:function(t){var n=h["t"](t);return/\B/.test(n.charAt(0))||(n="\\b"+n),n+="\\s*$",e._safeRegExp(n)}},{key:"_createCloseBracketRegExp",value:function(t){var n=h["t"](t);return/\B/.test(n.charAt(n.length-1))||(n+="\\b"),n="^\\s*"+n,e._safeRegExp(n)}},{key:"_safeRegExp",value:function(e){try{return new RegExp(e)}catch(t){return Object(C["g"])(t),null}}}]),e}(),S=n("0a0f"),x=n("fbba"),j=n("8c92"),D=n("f5f3"),L=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===("undefined"===typeof Reflect?"undefined":Object(u["a"])(Reflect))&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},E=function(e,t){return function(n,i){t(n,i,e)}},N=function(){function e(t){Object(s["a"])(this,e),this.languageId=t}return Object(l["a"])(e,[{key:"affects",value:function(e){return!this.languageId||this.languageId===e}}]),e}(),I=Object(S["c"])("languageConfigurationService"),T=function(e){Object(o["a"])(n,e);var t=Object(a["a"])(n);function n(e,o){var a;Object(s["a"])(this,n),a=t.call(this),a.configurationService=e,a.languageService=o,a.onDidChangeEmitter=a._register(new c["b"]),a.onDidChange=a.onDidChangeEmitter.event,a.configurations=new Map;var l=new Set(Object.values(A));return a._register(a.configurationService.onDidChangeConfiguration((function(e){var t=e.change.keys.some((function(e){return l.has(e)})),n=e.change.overrides.filter((function(e){var t=Object(r["a"])(e,2),n=(t[0],t[1]);return n.some((function(e){return l.has(e)}))})).map((function(e){var t=Object(r["a"])(e,1),n=t[0];return n}));if(t)a.configurations.clear(),a.onDidChangeEmitter.fire(new N(void 0));else{var o,s=Object(i["a"])(n);try{for(s.s();!(o=s.n()).done;){var u=o.value;a.languageService.isRegisteredLanguageId(u)&&(a.configurations.delete(u),a.onDidChangeEmitter.fire(new N(u)))}}catch(c){s.e(c)}finally{s.f()}}}))),a._register(V.onDidChange((function(e){a.configurations.delete(e.languageId),a.onDidChangeEmitter.fire(new N(e.languageId))}))),a}return Object(l["a"])(n,[{key:"getLanguageConfiguration",value:function(e){var t=this.configurations.get(e);return t||(t=M(e,this.configurationService,this.languageService),this.configurations.set(e,t)),t}}]),n}(d["a"]);function M(e,t,n){var i=V.getLanguageConfiguration(e);if(!i){if(!n.isRegisteredLanguageId(e))throw new Error("Unexpected languageId");i=new $(e,{})}var r=R(i.languageId,t),o=H([i.underlyingConfig,r]),a=new $(i.languageId,o);return a}T=L([E(0,x["a"]),E(1,j["a"])],T);var A={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function R(e,t){var n=t.getValue(A.brackets,{overrideIdentifier:e}),i=t.getValue(A.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:P(n),colorizedBracketPairs:P(i)}}function P(e){if(Array.isArray(e))return e.map((function(e){if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]})).filter((function(e){return!!e}))}var F=Object(l["a"])((function e(t){Object(s["a"])(this,e),this.languageId=t})),B=function(){function e(){Object(s["a"])(this,e),this._entries=new Map,this._onDidChange=new c["b"],this.onDidChange=this._onDidChange.event}return Object(l["a"])(e,[{key:"register",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this._entries.get(e);r||(r=new W(e),this._entries.set(e,r));var o=r.register(t,i);return this._onDidChange.fire(new F(e)),Object(d["i"])((function(){o.dispose(),n._onDidChange.fire(new F(e))}))}},{key:"getLanguageConfiguration",value:function(e){var t=this._entries.get(e);return(null===t||void 0===t?void 0:t.getResolvedConfiguration())||null}},{key:"getComments",value:function(e){var t=this.getLanguageConfiguration(e);return t&&t.comments||null}},{key:"getIndentRulesSupport",value:function(e){var t=this.getLanguageConfiguration(e);return t&&t.indentRulesSupport||null}},{key:"getPrecedingValidLine",value:function(e,t,n){var i=e.getLanguageIdAtPosition(t,0);if(t>1){var r,o=-1;for(r=t-1;r>=1;r--){if(e.getLanguageIdAtPosition(r,0)!==i)return o;var a=e.getLineContent(r);if(!n.shouldIgnore(a)&&!/^\s+$/.test(a)&&""!==a)return r;o=r}}return-1}},{key:"getInheritIndentForLine",value:function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e<4)return null;var r=this.getIndentRulesSupport(t.getLanguageId());if(!r)return null;if(n<=1)return{indentation:"",action:null};var o=this.getPrecedingValidLine(t,n,r);if(o<0)return null;if(o<1)return{indentation:"",action:null};var a=t.getLineContent(o);if(r.shouldIncrease(a)||r.shouldIndentNextLine(a))return{indentation:h["x"](a),action:p["b"].Indent,line:o};if(r.shouldDecrease(a))return{indentation:h["x"](a),action:null,line:o};if(1===o)return{indentation:h["x"](t.getLineContent(o)),action:null,line:o};var s=o-1,l=r.getIndentMetadata(t.getLineContent(s));if(!(3&l)&&4&l){for(var u=0,c=s-1;c>0;c--)if(!r.shouldIndentNextLine(t.getLineContent(c))){u=c;break}return{indentation:h["x"](t.getLineContent(u+1)),action:null,line:u+1}}if(i)return{indentation:h["x"](t.getLineContent(o)),action:null,line:o};for(var d=o;d>0;d--){var f=t.getLineContent(d);if(r.shouldIncrease(f))return{indentation:h["x"](f),action:p["b"].Indent,line:d};if(r.shouldIndentNextLine(f)){for(var g=0,v=d-1;v>0;v--)if(!r.shouldIndentNextLine(t.getLineContent(d))){g=v;break}return{indentation:h["x"](t.getLineContent(g+1)),action:null,line:g+1}}if(r.shouldDecrease(f))return{indentation:h["x"](f),action:null,line:d}}return{indentation:h["x"](t.getLineContent(1)),action:null,line:1}}},{key:"getGoodIndentForLine",value:function(e,t,n,i,r){if(e<4)return null;var o=this.getLanguageConfiguration(n);if(!o)return null;var a=this.getIndentRulesSupport(n);if(!a)return null;var s=this.getInheritIndentForLine(e,t,i),l=t.getLineContent(i);if(s){var u=s.line;if(void 0!==u){var c=o.onEnter(e,"",t.getLineContent(u),"");if(c){var d=h["x"](t.getLineContent(u));return c.removeText&&(d=d.substring(0,d.length-c.removeText)),c.indentAction===p["b"].Indent||c.indentAction===p["b"].IndentOutdent?d=r.shiftIndent(d):c.indentAction===p["b"].Outdent&&(d=r.unshiftIndent(d)),a.shouldDecrease(l)&&(d=r.unshiftIndent(d)),c.appendText&&(d+=c.appendText),h["x"](d)}}return a.shouldDecrease(l)?s.action===p["b"].Indent?s.indentation:r.unshiftIndent(s.indentation):s.action===p["b"].Indent?r.shiftIndent(s.indentation):s.indentation}return null}},{key:"getIndentForEnter",value:function(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);var r,o,a=t.getLineTokens(n.startLineNumber),s=Object(g["a"])(a,n.startColumn-1),l=s.getLineContent(),u=!1;if(s.firstCharOffset>0&&a.getLanguageId(0)!==s.languageId?(u=!0,r=l.substr(0,n.startColumn-1-s.firstCharOffset)):r=a.getLineContent().substring(0,n.startColumn-1),n.isEmpty())o=l.substr(n.startColumn-1-s.firstCharOffset);else{var c=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);o=c.getLineContent().substr(n.endColumn-1-s.firstCharOffset)}var d=this.getIndentRulesSupport(s.languageId);if(!d)return null;var f=r,v=h["x"](r),m={getLineTokens:function(e){return t.getLineTokens(e)},getLanguageId:function(){return t.getLanguageId()},getLanguageIdAtPosition:function(e,n){return t.getLanguageIdAtPosition(e,n)},getLineContent:function(e){return e===n.startLineNumber?f:t.getLineContent(e)}},b=h["x"](a.getLineContent()),y=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!y){var _=u?b:v;return{beforeEnter:_,afterEnter:_}}var k=u?b:y.indentation;return y.action===p["b"].Indent&&(k=i.shiftIndent(k)),d.shouldDecrease(o)&&(k=i.unshiftIndent(k)),{beforeEnter:u?b:v,afterEnter:k}}},{key:"getIndentActionForType",value:function(e,t,n,i,r){if(e<4)return null;var o=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn);if(o.firstCharOffset)return null;var a=this.getIndentRulesSupport(o.languageId);if(!a)return null;var s,l=o.getLineContent(),u=l.substr(0,n.startColumn-1-o.firstCharOffset);if(n.isEmpty())s=l.substr(n.startColumn-1-o.firstCharOffset);else{var c=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);s=c.getLineContent().substr(n.endColumn-1-o.firstCharOffset)}if(!a.shouldDecrease(u+s)&&a.shouldDecrease(u+i+s)){var d=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!d)return null;var h=d.indentation;return d.action!==p["b"].Indent&&(h=r.unshiftIndent(h)),h}return null}},{key:"getIndentMetadata",value:function(e,t){var n=this.getIndentRulesSupport(e.getLanguageId());return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null}},{key:"getEnterAction",value:function(e,t,n){var i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),r=this.getLanguageConfiguration(i.languageId);if(!r)return null;var o,a=i.getLineContent(),s=a.substr(0,n.startColumn-1-i.firstCharOffset);if(n.isEmpty())o=a.substr(n.startColumn-1-i.firstCharOffset);else{var l=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);o=l.getLineContent().substr(n.endColumn-1-i.firstCharOffset)}var u="";if(n.startLineNumber>1&&0===i.firstCharOffset){var c=this.getScopedLineTokens(t,n.startLineNumber-1);c.languageId===i.languageId&&(u=c.getLineContent())}var d=r.onEnter(e,u,s,o);if(!d)return null;var h=d.indentAction,f=d.appendText,g=d.removeText||0;f?h===p["b"].Indent&&(f="\t"+f):f=h===p["b"].Indent||h===p["b"].IndentOutdent?"\t":"";var v=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return g&&(v=v.substring(0,v.length-g)),{indentAction:h,appendText:f,removeText:g,indentation:v}}},{key:"getIndentationAtPosition",value:function(e,t,n){var i=e.getLineContent(t),r=h["x"](i);return r.length>n-1&&(r=r.substring(0,n-1)),r}},{key:"getScopedLineTokens",value:function(e,t,n){e.forceTokenization(t);var i=e.getLineTokens(t),r="undefined"===typeof n?e.getLineMaxColumn(t)-1:n-1;return Object(g["a"])(i,r)}}]),e}(),V=new B,W=function(){function e(t){Object(s["a"])(this,e),this.languageId=t,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}return Object(l["a"])(e,[{key:"register",value:function(e,t){var n=this,i=new z(e,t,++this._order);return this._entries.push(i),this._resolved=null,Object(d["i"])((function(){for(var e=0;e<n._entries.length;e++)if(n._entries[e]===i){n._entries.splice(e,1),n._resolved=null;break}}))}},{key:"getResolvedConfiguration",value:function(){if(!this._resolved){var e=this._resolve();e&&(this._resolved=new $(this.languageId,e))}return this._resolved}},{key:"_resolve",value:function(){return 0===this._entries.length?null:(this._entries.sort(z.cmp),H(this._entries.map((function(e){return e.configuration}))))}}]),e}();function H(e){var t,n={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0},r=Object(i["a"])(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;n={comments:o.comments||n.comments,brackets:o.brackets||n.brackets,wordPattern:o.wordPattern||n.wordPattern,indentationRules:o.indentationRules||n.indentationRules,onEnterRules:o.onEnterRules||n.onEnterRules,autoClosingPairs:o.autoClosingPairs||n.autoClosingPairs,surroundingPairs:o.surroundingPairs||n.surroundingPairs,autoCloseBefore:o.autoCloseBefore||n.autoCloseBefore,folding:o.folding||n.folding,colorizedBracketPairs:o.colorizedBracketPairs||n.colorizedBracketPairs,__electricCharacterSupport:o.__electricCharacterSupport||n.__electricCharacterSupport}}}catch(a){r.e(a)}finally{r.f()}return n}var z=function(){function e(t,n,i){Object(s["a"])(this,e),this.configuration=t,this.priority=n,this.order=i}return Object(l["a"])(e,null,[{key:"cmp",value:function(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}]),e}(),$=function(){function e(t,n){Object(s["a"])(this,e),this.languageId=t,this.underlyingConfig=n,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new O(this.underlyingConfig):null,this.comments=e._handleComments(this.underlyingConfig),this.characterPair=new v(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||f["a"],this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new w(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{}}return Object(l["a"])(e,[{key:"getWordDefinition",value:function(){return Object(f["c"])(this.wordDefinition)}},{key:"brackets",get:function(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new y["b"](this.languageId,this.underlyingConfig.brackets)),this._brackets}},{key:"electricCharacter",get:function(){return this._electricCharacter||(this._electricCharacter=new _(this.brackets)),this._electricCharacter}},{key:"onEnter",value:function(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null}},{key:"getAutoClosingPairs",value:function(){return new p["a"](this.characterPair.getAutoClosingPairs())}},{key:"getAutoCloseBeforeSet",value:function(){return this.characterPair.getAutoCloseBeforeSet()}},{key:"getSurroundingPairs",value:function(){return this.characterPair.getSurroundingPairs()}}],[{key:"_handleComments",value:function(e){var t=e.comments;if(!t)return null;var n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){var i=Object(r["a"])(t.blockComment,2),o=i[0],a=i[1];n.blockCommentStartToken=o,n.blockCommentEndToken=a}return n}}]),e}();Object(D["b"])(I,T)},"01b4":function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},"0292":function(e,t,n){"use strict";n.r(t);n("d3b7"),n("e6cf"),n("e260"),n("3ca3"),n("ddb0");var i=n("fa12");
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.32.1(29a273516805a852aa8edc5e05059f119b13eff0)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
Object(i["a"])({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return n.e(12).then(n.bind(null,"0287"))}})},"0366":function(e,t,n){var i=n("e330"),r=n("59ed"),o=n("40d5"),a=i(i.bind);e.exports=function(e,t){return r(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},"03d6":function(e,t,n){var i=n("9c0e"),r=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);while(t.length>l)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},"03d9":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"i",(function(){return c})),n.d(t,"h",(function(){return d}));var i,r,o,a,s,l,u,c,d,h=n("dff7");(function(e){e.noSelection=h["a"]("noSelection","No selection"),e.singleSelectionRange=h["a"]("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=h["a"]("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=h["a"]("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=h["a"]("multiSelection","{0} selections"),e.emergencyConfOn=h["a"]("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=h["a"]("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=h["a"]("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=h["a"]("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=h["a"]("readonlyEditor"," in a read-only code editor"),e.editableEditor=h["a"]("editableEditor"," in a code editor"),e.changeConfigToOnMac=h["a"]("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=h["a"]("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=h["a"]("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=h["a"]("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=h["a"]("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=h["a"]("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=h["a"]("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=h["a"]("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=h["a"]("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=h["a"]("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=h["a"]("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=h["a"]("showAccessibilityHelpAction","Show Accessibility Help")})(i||(i={})),function(e){e.inspectTokensAction=h["a"]("inspectTokens","Developer: Inspect Tokens")}(r||(r={})),function(e){e.gotoLineActionLabel=h["a"]("gotoLineActionLabel","Go to Line/Column...")}(o||(o={})),function(e){e.helpQuickAccessActionLabel=h["a"]("helpQuickAccess","Show all Quick Access Providers")}(a||(a={})),function(e){e.quickCommandActionLabel=h["a"]("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=h["a"]("quickCommandActionHelp","Show And Run Commands")}(s||(s={})),function(e){e.quickOutlineActionLabel=h["a"]("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=h["a"]("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(l||(l={})),function(e){e.editorViewAccessibleLabel=h["a"]("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=h["a"]("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(u||(u={})),function(e){e.toggleHighContrast=h["a"]("toggleHighContrast","Toggle High Contrast Theme")}(c||(c={})),function(e){e.bulkEditServiceSummary=h["a"]("bulkEditServiceSummary","Made {0} edits in {1} files")}(d||(d={}))},"03e8":function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return w}));var i,r=n("d4ec"),o=n("bee2"),a=n("262e"),s=n("2caf"),l=(n("e9c4"),n("308f")),u=n("a666"),c=n("ef8e"),d=n("45eb"),h=n("7e84"),f=(n("96cf"),n("d3b7"),n("e6cf"),n("e260"),n("4ec9"),n("3ca3"),n("ddb0"),n("6062"),n("159b"),n("a79d"),n("5fe7")),p=function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):r(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))};(function(e){e[e["None"]=0]="None",e[e["Initialized"]=1]="Initialized",e[e["Closed"]=2]="Closed"})(i||(i={}));var g=function(e){Object(a["a"])(n,e);var t=Object(s["a"])(n);function n(e){var o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null);return Object(r["a"])(this,n),o=t.call(this),o.database=e,o.options=a,o._onDidChangeStorage=o._register(new l["b"]),o.onDidChangeStorage=o._onDidChangeStorage.event,o.state=i.None,o.cache=new Map,o.flushDelayer=new f["i"](n.DEFAULT_FLUSH_DELAY),o.pendingDeletes=new Set,o.pendingInserts=new Map,o.whenFlushedCallbacks=[],o.registerListeners(),o}return Object(o["a"])(n,[{key:"registerListeners",value:function(){var e=this;this._register(this.database.onDidChangeItemsExternal((function(t){return e.onDidChangeItemsExternal(t)})))}},{key:"onDidChangeItemsExternal",value:function(e){var t,n,i=this;null===(t=e.changed)||void 0===t||t.forEach((function(e,t){return i.accept(t,e)})),null===(n=e.deleted)||void 0===n||n.forEach((function(e){return i.accept(e,void 0)}))}},{key:"accept",value:function(e,t){if(this.state!==i.Closed){var n=!1;if(Object(c["n"])(t))n=this.cache.delete(e);else{var r=this.cache.get(e);r!==t&&(this.cache.set(e,t),n=!0)}n&&this._onDidChangeStorage.fire(e)}}},{key:"get",value:function(e,t){var n=this.cache.get(e);return Object(c["n"])(n)?t:n}},{key:"getBoolean",value:function(e,t){var n=this.get(e);return Object(c["n"])(n)?t:"true"===n}},{key:"getNumber",value:function(e,t){var n=this.get(e);return Object(c["n"])(n)?t:parseInt(n,10)}},{key:"set",value:function(e,t){return p(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(this.state!==i.Closed){n.next=2;break}return n.abrupt("return");case 2:if(!Object(c["n"])(t)){n.next=4;break}return n.abrupt("return",this.delete(e));case 4:if(r=String(t),o=this.cache.get(e),o!==r){n.next=8;break}return n.abrupt("return");case 8:return this.cache.set(e,r),this.pendingInserts.set(e,r),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire(e),n.abrupt("return",this.doFlush());case 13:case"end":return n.stop()}}),n,this)})))}},{key:"delete",value:function(e){return p(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.state!==i.Closed){t.next=2;break}return t.abrupt("return");case 2:if(n=this.cache.delete(e),n){t.next=5;break}return t.abrupt("return");case 5:return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire(e),t.abrupt("return",this.doFlush());case 9:case"end":return t.stop()}}),t,this)})))}},{key:"hasPending",get:function(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}},{key:"flushPending",value:function(){return p(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.hasPending){e.next=2;break}return e.abrupt("return");case 2:return t={insert:this.pendingInserts,delete:this.pendingDeletes},this.pendingDeletes=new Set,this.pendingInserts=new Map,e.abrupt("return",this.database.updateItems(t).finally((function(){var e;if(!n.hasPending)while(n.whenFlushedCallbacks.length)null===(e=n.whenFlushedCallbacks.pop())||void 0===e||e()})));case 6:case"end":return e.stop()}}),e,this)})))}},{key:"doFlush",value:function(e){return p(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.flushDelayer.trigger((function(){return n.flushPending()}),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"dispose",value:function(){this.flushDelayer.dispose(),Object(d["a"])(Object(h["a"])(n.prototype),"dispose",this).call(this)}}]),n}(u["a"]);g.DEFAULT_FLUSH_DELAY=100;var v,m=function(){function e(){Object(r["a"])(this,e),this.onDidChangeItemsExternal=l["c"].None,this.items=new Map}return Object(o["a"])(e,[{key:"updateItems",value:function(e){return p(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.insert&&e.insert.forEach((function(e,t){return n.items.set(t,e)})),e.delete&&e.delete.forEach((function(e){return n.items.delete(e)}));case 2:case"end":return t.stop()}}),t)})))}}]),e}(),b=n("0a0f"),y="__$__targetStorageMarker",_=Object(b["c"])("storageService");(function(e){e[e["NONE"]=0]="NONE",e[e["SHUTDOWN"]=1]="SHUTDOWN"})(v||(v={}));var k=function(e){Object(a["a"])(n,e);var t=Object(s["a"])(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{flushInterval:n.DEFAULT_FLUSH_INTERVAL};return Object(r["a"])(this,n),e=t.call(this),e.options=i,e._onDidChangeValue=e._register(new l["e"]),e._onDidChangeTarget=e._register(new l["e"]),e._onWillSaveState=e._register(new l["b"]),e.onWillSaveState=e._onWillSaveState.event,e._workspaceKeyTargets=void 0,e._globalKeyTargets=void 0,e}return Object(o["a"])(n,[{key:"emitDidChangeValue",value:function(e,t){t===y?(0===e?this._globalKeyTargets=void 0:1===e&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:e})):this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}},{key:"get",value:function(e,t,n){var i;return null===(i=this.getStorage(t))||void 0===i?void 0:i.get(e,n)}},{key:"getBoolean",value:function(e,t,n){var i;return null===(i=this.getStorage(t))||void 0===i?void 0:i.getBoolean(e,n)}},{key:"getNumber",value:function(e,t,n){var i;return null===(i=this.getStorage(t))||void 0===i?void 0:i.getNumber(e,n)}},{key:"store",value:function(e,t,n,i){var r=this;Object(c["n"])(t)?this.remove(e,n):this.withPausedEmitters((function(){var o;r.updateKeyTarget(e,n,i),null===(o=r.getStorage(n))||void 0===o||o.set(e,t)}))}},{key:"remove",value:function(e,t){var n=this;this.withPausedEmitters((function(){var i;n.updateKeyTarget(e,t,void 0),null===(i=n.getStorage(t))||void 0===i||i.delete(e)}))}},{key:"withPausedEmitters",value:function(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}},{key:"updateKeyTarget",value:function(e,t,n){var i,r,o=this.getKeyTargets(t);"number"===typeof n?o[e]!==n&&(o[e]=n,null===(i=this.getStorage(t))||void 0===i||i.set(y,JSON.stringify(o))):"number"===typeof o[e]&&(delete o[e],null===(r=this.getStorage(t))||void 0===r||r.set(y,JSON.stringify(o)))}},{key:"workspaceKeyTargets",get:function(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}},{key:"globalKeyTargets",get:function(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}},{key:"getKeyTargets",value:function(e){return 0===e?this.globalKeyTargets:this.workspaceKeyTargets}},{key:"loadKeyTargets",value:function(e){var t=this.get(y,e);if(t)try{return JSON.parse(t)}catch(n){}return Object.create(null)}}]),n}(u["a"]);k.DEFAULT_FLUSH_INTERVAL=6e4;var w=function(e){Object(a["a"])(n,e);var t=Object(s["a"])(n);function n(){var e;return Object(r["a"])(this,n),e=t.call(this),e.globalStorage=e._register(new g(new m)),e.workspaceStorage=e._register(new g(new m)),e._register(e.workspaceStorage.onDidChangeStorage((function(t){return e.emitDidChangeValue(1,t)}))),e._register(e.globalStorage.onDidChangeStorage((function(t){return e.emitDidChangeValue(0,t)}))),e}return Object(o["a"])(n,[{key:"getStorage",value:function(e){return 0===e?this.globalStorage:this.workspaceStorage}}]),n}(k)},"0447":function(e,t,n){"use strict";n.r(t);n("d3b7"),n("e6cf"),n("e260"),n("3ca3"),n("ddb0");var i=n("fa12");
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.32.1(29a273516805a852aa8edc5e05059f119b13eff0)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
Object(i["a"])({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return n.e(77).then(n.bind(null,"687d"))}})},"0481":function(e,t,n){"use strict";var i=n("23e7"),r=n("a2bf"),o=n("7b0b"),a=n("07fa"),s=n("5926"),l=n("65f0");i({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),n=a(t),i=l(t,0);return i.length=r(i,t,t,n,0,void 0===e?1:s(e)),i}})},"04d1":function(e,t,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"051b":function(e,t,n){var i=n("1a14"),r=n("10db");e.exports=n("0bad")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"0538":function(e,t,n){"use strict";var i=n("da84"),r=n("e330"),o=n("59ed"),a=n("861d"),s=n("1a2d"),l=n("f36a"),u=n("40d5"),c=i.Function,d=r([].concat),h=r([].join),f={},p=function(e,t,n){if(!s(f,t)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";f[t]=c("C,a","return new C("+h(i,",")+")")}return f[t](e,n)};e.exports=u?c.bind:function(e){var t=o(this),n=t.prototype,i=l(arguments,1),r=function(){var n=d(i,l(arguments));return this instanceof r?p(t,n.length,n):t.apply(e,n)};return a(n)&&(r.prototype=n),r}},"0542":function(e,t,n){"use strict";n.r(t);n("d3b7"),n("e6cf"),n("e260"),n("3ca3"),n("ddb0");var i=n("fa12");
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.32.1(29a273516805a852aa8edc5e05059f119b13eff0)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
Object(i["a"])({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return n.e(73).then(n.bind(null,"c53f"))}})},"057f":function(e,t,n){var i=n("c6b6"),r=n("fc6a"),o=n("241c").f,a=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return o(e)}catch(t){return a(s)}};e.exports.f=function(e){return s&&"Window"==i(e)?l(e):o(r(e))}},"05f5":function(e,t,n){var i=n("7a41"),r=n("ef08").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"06c5":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("fb6a"),n("d3b7"),n("b0c0"),n("a630"),n("3ca3"),n("ac1f"),n("00b4");var i=n("6b75");function r(e,t){if(e){if("string"===typeof e)return Object(i["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i["a"])(e,t):void 0}}},"06cf":function(e,t,n){var i=n("83ab"),r=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),l=n("a04b"),u=n("1a2d"),c=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(n){}if(u(e,t))return a(!r(o.f,e,t),e[t])}},"072d":function(e,t,n){"use strict";var i=n("0bad"),r=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),l=n("9fbb"),u=Object.assign;e.exports=!u||n("4b8b")((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=i}))?function(e,t){var n=s(e),u=arguments.length,c=1,d=o.f,h=a.f;while(u>c){var f,p=l(arguments[c++]),g=d?r(p).concat(d(p)):r(p),v=g.length,m=0;while(v>m)f=g[m++],i&&!h.call(p,f)||(n[f]=p[f])}return n}:u},"07ac":function(e,t,n){var i=n("23e7"),r=n("6f53").values;i({target:"Object",stat:!0},{values:function(e){return r(e)}})},"07fa":function(e,t,n){var i=n("50c4");e.exports=function(e){return i(e.length)}},"0836":function(e,t,n){},"0910":function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return x})),n.d(t,"c",(function(){return j}));var i=n("2909"),r=n("b85c"),o=n("d4ec"),a=n("bee2"),s=(n("e260"),n("d3b7"),n("6062"),n("3ca3"),n("ddb0"),n("4ec9"),n("ac1f"),n("00b4"),n("cca6"),n("159b"),n("caad"),n("2532"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("498a"),n("e8e3")),l=n("308f"),u=n("ef8e"),c=n("dff7"),d=n("dd1b"),h=n("89cd"),f={Configuration:"base.contributions.configuration"},p={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},v={properties:{},patternProperties:{}},m={properties:{},patternProperties:{}},b={properties:{},patternProperties:{}},y={properties:{},patternProperties:{}},_="vscode://schemas/settings/resourceLanguage",k=h["a"].as(d["a"].JSONContribution),w=function(){function e(){Object(o["a"])(this,e),this.overrideIdentifiers=new Set,this._onDidSchemaChange=new l["b"],this._onDidUpdateConfiguration=new l["b"],this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:c["a"]("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},k.registerSchema(_,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}return Object(a["a"])(e,[{key:"registerConfiguration",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.registerConfigurations([e],t)}},{key:"registerConfigurations",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.doRegisterConfigurations(e,t);k.registerSchema(_,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:n})}},{key:"registerDefaultConfigurations",value:function(e){var t,n,o=[],a=[],s=Object(r["a"])(e);try{for(s.s();!(n=s.n()).done;){var l=n.value,d=l.overrides,h=l.source;for(var f in d)if(o.push(f),x.test(f)){var p=Object.assign(Object.assign({},(null===(t=this.configurationDefaultsOverrides.get(f))||void 0===t?void 0:t.value)||{}),d[f]);this.configurationDefaultsOverrides.set(f,{source:h,value:p});var g={type:"object",default:p,description:c["a"]("defaultLanguageConfiguration.description","Configure settings to be overridden for {0} language.",f),$ref:_,defaultDefaultValue:p,source:u["l"](h)?void 0:h};a.push.apply(a,Object(i["a"])(j(f))),this.configurationProperties[f]=g,this.defaultLanguageConfigurationOverridesNode.properties[f]=g}else{this.configurationDefaultsOverrides.set(f,{value:d[f],source:h});var v=this.configurationProperties[f];v&&(this.updatePropertyDefaultValue(f,v),this.updateSchema(f,v))}}}catch(m){s.e(m)}finally{s.f()}this.registerOverrideIdentifiers(a),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:o,defaultsOverrides:!0})}},{key:"registerOverrideIdentifiers",value:function(e){var t,n=Object(r["a"])(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.overrideIdentifiers.add(i)}}catch(o){n.e(o)}finally{n.f()}this.updateOverridePropertyPatternKey()}},{key:"doRegisterConfigurations",value:function(e,t){var n=this,r=[];return e.forEach((function(e){r.push.apply(r,Object(i["a"])(n.validateAndRegisterProperties(e,t,e.extensionInfo,e.restrictedProperties))),n.configurationContributors.push(e),n.registerJSONConfiguration(e)})),r}},{key:"validateAndRegisterProperties",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:3;a=u["n"](e.scope)?a:e.scope;var s=[],l=e.properties;if(l)for(var c in l)if(t&&E(c))delete l[c];else{var d=l[c];d.source=n,d.defaultDefaultValue=l[c].default,this.updatePropertyDefaultValue(c,d),x.test(c)?d.scope=void 0:(d.scope=u["n"](d.scope)?a:d.scope,d.restricted=u["n"](d.restricted)?!!(null===o||void 0===o?void 0:o.includes(c)):d.restricted),!l[c].hasOwnProperty("included")||l[c].included?(this.configurationProperties[c]=l[c],!l[c].deprecationMessage&&l[c].markdownDeprecationMessage&&(l[c].deprecationMessage=l[c].markdownDeprecationMessage),s.push(c)):(this.excludedConfigurationProperties[c]=l[c],delete l[c])}var h=e.allOf;if(h){var f,p=Object(r["a"])(h);try{for(p.s();!(f=p.n()).done;){var g=f.value;s.push.apply(s,Object(i["a"])(this.validateAndRegisterProperties(g,t,n,o,a)))}}catch(v){p.e(v)}finally{p.f()}}return s}},{key:"getConfigurationProperties",value:function(){return this.configurationProperties}},{key:"registerJSONConfiguration",value:function(e){var t=this,n=function e(n){var i=n.properties;if(i)for(var r in i)t.updateSchema(r,i[r]);var o=n.allOf;o&&o.forEach(e)};n(e)}},{key:"updateSchema",value:function(e,t){switch(p.properties[e]=t,t.scope){case 1:g.properties[e]=t;break;case 2:v.properties[e]=t;break;case 6:m.properties[e]=t;break;case 3:b.properties[e]=t;break;case 4:y.properties[e]=t;break;case 5:y.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t;break}}},{key:"updateOverridePropertyPatternKey",value:function(){var e,t=Object(r["a"])(this.overrideIdentifiers.values());try{for(t.s();!(e=t.n()).done;){var n=e.value,i="[".concat(n,"]"),o={type:"object",description:c["a"]("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:c["a"]("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};this.updatePropertyDefaultValue(i,o),p.properties[i]=o,g.properties[i]=o,v.properties[i]=o,m.properties[i]=o,b.properties[i]=o,y.properties[i]=o}}catch(a){t.e(a)}finally{t.f()}this._onDidSchemaChange.fire()}},{key:"registerOverridePropertyPatternKey",value:function(){var e={type:"object",description:c["a"]("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:c["a"]("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};p.patternProperties[S]=e,g.patternProperties[S]=e,v.patternProperties[S]=e,m.patternProperties[S]=e,b.patternProperties[S]=e,y.patternProperties[S]=e,this._onDidSchemaChange.fire()}},{key:"updatePropertyDefaultValue",value:function(e,t){var n=this.configurationDefaultsOverrides.get(e),i=null===n||void 0===n?void 0:n.value,r=null===n||void 0===n?void 0:n.source;u["m"](i)&&(i=t.defaultDefaultValue,r=void 0),u["m"](i)&&(i=D(t.type)),t.default=i,t.defaultValueSource=r}}]),e}(),C="\\[([^\\]]+)\\]",O=new RegExp(C,"g"),S="^(".concat(C,")+$"),x=new RegExp(S);function j(e){var t=[];if(x.test(e)){var n=O.exec(e);while(null===n||void 0===n?void 0:n.length){var i=n[1].trim();i&&t.push(i),n=O.exec(e)}}return Object(s["g"])(t)}function D(e){var t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return