You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/editor.worker.js

9 lines
134 KiB

(function(ue){var E={};function T(y){if(E[y])return E[y].exports;var k=E[y]={i:y,l:!1,exports:{}};return ue[y].call(k.exports,k,k.exports,T),k.l=!0,k.exports}return T.m=ue,T.c=E,T.d=function(y,k,Y){T.o(y,k)||Object.defineProperty(y,k,{enumerable:!0,get:Y})},T.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},T.t=function(y,k){if(k&1&&(y=T(y)),k&8||k&4&&typeof y=="object"&&y&&y.__esModule)return y;var Y=Object.create(null);if(T.r(Y),Object.defineProperty(Y,"default",{enumerable:!0,value:y}),k&2&&typeof y!="string")for(var G in y)T.d(Y,G,function($){return y[$]}.bind(null,G));return Y},T.n=function(y){var k=y&&y.__esModule?function(){return y.default}:function(){return y};return T.d(k,"a",k),k},T.o=function(y,k){return Object.prototype.hasOwnProperty.call(y,k)},T.p="/react/build/",T(T.s="5QBA")})({"33yf":function(ue,E,T){(function(y){function k(h,w){for(var D=0,R=h.length-1;R>=0;R--){var B=h[R];B==="."?h.splice(R,1):B===".."?(h.splice(R,1),D++):D&&(h.splice(R,1),D--)}if(w)for(;D--;D)h.unshift("..");return h}E.resolve=function(){for(var h="",w=!1,D=arguments.length-1;D>=-1&&!w;D--){var R=D>=0?arguments[D]:y.cwd();if(typeof R!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!R)continue;h=R+"/"+h,w=R.charAt(0)==="/"}return h=k(G(h.split("/"),function(B){return!!B}),!w).join("/"),(w?"/":"")+h||"."},E.normalize=function(h){var w=E.isAbsolute(h),D=$(h,-1)==="/";return h=k(G(h.split("/"),function(R){return!!R}),!w).join("/"),!h&&!w&&(h="."),h&&D&&(h+="/"),(w?"/":"")+h},E.isAbsolute=function(h){return h.charAt(0)==="/"},E.join=function(){var h=Array.prototype.slice.call(arguments,0);return E.normalize(G(h,function(w,D){if(typeof w!="string")throw new TypeError("Arguments to path.join must be strings");return w}).join("/"))},E.relative=function(h,w){h=E.resolve(h).substr(1),w=E.resolve(w).substr(1);function D(S){for(var x=0;x<S.length&&S[x]==="";x++);for(var q=S.length-1;q>=0&&S[q]==="";q--);return x>q?[]:S.slice(x,q-x+1)}for(var R=D(h.split("/")),B=D(w.split("/")),z=Math.min(R.length,B.length),X=z,W=0;W<z;W++)if(R[W]!==B[W]){X=W;break}for(var v=[],W=X;W<R.length;W++)v.push("..");return v=v.concat(B.slice(X)),v.join("/")},E.sep="/",E.delimiter=":",E.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";for(var w=h.charCodeAt(0),D=w===47,R=-1,B=!0,z=h.length-1;z>=1;--z)if(w=h.charCodeAt(z),w===47){if(!B){R=z;break}}else B=!1;return R===-1?D?"/":".":D&&R===1?"/":h.slice(0,R)};function Y(h){typeof h!="string"&&(h=h+"");var w=0,D=-1,R=!0,B;for(B=h.length-1;B>=0;--B)if(h.charCodeAt(B)===47){if(!R){w=B+1;break}}else D===-1&&(R=!1,D=B+1);return D===-1?"":h.slice(w,D)}E.basename=function(h,w){var D=Y(h);return w&&D.substr(-1*w.length)===w&&(D=D.substr(0,D.length-w.length)),D},E.extname=function(h){typeof h!="string"&&(h=h+"");for(var w=-1,D=0,R=-1,B=!0,z=0,X=h.length-1;X>=0;--X){var W=h.charCodeAt(X);if(W===47){if(!B){D=X+1;break}continue}R===-1&&(B=!1,R=X+1),W===46?w===-1?w=X:z!==1&&(z=1):w!==-1&&(z=-1)}return w===-1||R===-1||z===0||z===1&&w===R-1&&w===D+1?"":h.slice(w,R)};function G(h,w){if(h.filter)return h.filter(w);for(var D=[],R=0;R<h.length;R++)w(h[R],R,h)&&D.push(h[R]);return D}var $="ab".substr(-1)==="b"?function(h,w,D){return h.substr(w,D)}:function(h,w,D){return w<0&&(w=h.length+w),h.substr(w,D)}}).call(this,T("Q2Ig"))},"5QBA":function(ue,E,T){"use strict";T.r(E),T.d(E,"initialize",function(){return _r});var y=function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(function(){throw t.stack?new Error(t.message+`
`+t.stack):t},0)}}return e.prototype.emit=function(t){this.listeners.forEach(function(r){r(t)})},e.prototype.onUnexpectedError=function(t){this.unexpectedErrorHandler(t),this.emit(t)},e.prototype.onUnexpectedExternalError=function(t){this.unexpectedErrorHandler(t)},e}(),k=new y;function Y(e){w(e)||k.onUnexpectedError(e)}function G(e){w(e)||k.onUnexpectedExternalError(e)}function $(e){if(e instanceof Error){var t=e.name,r=e.message,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:r,stack:n}}return e}var h="Canceled";function w(e){return e instanceof Error&&e.name===h&&e.message===h}function D(){var e=new Error(h);return e.name=e.message,e}function R(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function B(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}var z=!1,X="__is_disposable_tracked__";function W(e){if(!!z&&e&&e!==re.None)try{e[X]=!0}catch(t){}}function v(e){if(!z)return e;var t=new Error("Potentially leaked disposable").stack;return setTimeout(function(){e[X]||console.log(t)},3e3),e}function S(e){return typeof e.dispose=="function"&&e.dispose.length===0}function x(e){return Array.isArray(e)?(e.forEach(function(t){t&&(W(t),t.dispose())}),[]):e?(W(e),e.dispose(),e):void 0}function q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.forEach(W),v({dispose:function(){return x(e)}})}function J(e){var t=v({dispose:function(){W(t),e()}});return t}var ve=function(){function e(){this._toDispose=new Set,this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed||(W(this),this._isDisposed=!0,this.clear())},e.prototype.clear=function(){this._toDispose.forEach(function(t){return t.dispose()}),this._toDispose.clear()},e.prototype.add=function(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return W(t),this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t},e}(),re=function(){function e(){this._store=new ve,v(this)}return e.prototype.dispose=function(){W(this),this._store.dispose()},e.prototype._register=function(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)},e.None=Object.freeze({dispose:function(){}}),e}(),Se=function(){function e(){this._isDisposed=!1,v(this)}return Object.defineProperty(e.prototype,"value",{get:function(){return this._isDisposed?void 0:this._value},set:function(r){this._isDisposed||r===this._value||(this._value&&this._value.dispose(),r&&W(r),this._value=r)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.value=void 0},e.prototype.dispose=function(){this._isDisposed=!0,W(this),this._value&&this._value.dispose(),this._value=void 0},e}(),le=function(){function e(t){this.object=t}return e.prototype.dispose=function(){},e}(),ne=T("MNsG"),K={number:"number",string:"string",undefined:"undefined",object:"object",function:"function"};function ut(e){return Array.isArray?Array.isArray(e):!!(e&&typeof e.length===K.number&&e.constructor===Array)}function ie(e){return typeof e===K.string||e instanceof String}function st(e){return typeof e===K.object&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function pr(e){return(typeof e===K.number||e instanceof Number)&&!isNaN(e)}function ot(e){return e===!0||e===!1}function me(e){return typeof e===K.undefined}function Re(e){return me(e)||e===null}function at(e,t){if(!e)throw new Error(t?"Unexpected type, expected '"+t+"'":"Unexpected type")}var se=Object.prototype.hasOwnProperty;function ce(e){if(!st(e))return!1;for(var t in e)if(se.call(e,t))return!1;return!0}function Ue(e){return typeof e===K.function}function Ce(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++)gr(e[n],t[n])}function gr(e,t){if(ie(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(Ue(t)){try{if(e instanceof t)return}catch(r){}if(!Re(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function dr(e){for(var t=[],r=Object.getPrototypeOf(e);Object.prototype!==r;)t=t.concat(Object.getOwnPropertyNames(r)),r=Object.getPrototypeOf(r);return t}function Ae(e){for(var t=[],r=0,n=dr(e);r<n.length;r++){var i=n[r];typeof e[i]=="function"&&t.push(i)}return t}function ke(e,t){for(var r=function(a){return function(){var o=Array.prototype.slice.call(arguments,0);return t(a,o)}},n={},i=0,u=e;i<u.length;i++){var s=u[i];n[s]=r(s)}return n}function Un(e){return e===null?void 0:e}function Cn(e){return typeof e=="undefined"?null:e}var Lr=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])},e(r,n)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ft="$initialize",lt=!1;function kn(e){!ne.b||(lt||(lt=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}var ct=function(){function e(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(t){this._workerId=t},e.prototype.sendMessage=function(t,r){var n=this,i=String(++this._lastSentReq);return new Promise(function(u,s){n._pendingReplies[i]={resolve:u,reject:s},n._send({vsWorker:n._workerId,req:i,method:t,args:r})})},e.prototype.handleMessage=function(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)},e.prototype._handleMessage=function(t){var r=this;if(t.seq){var n=t;if(!this._pendingReplies[n.seq]){console.warn("Got reply to unknown seq");return}var i=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var u=n.err;n.err.$isError&&(u=new Error,u.name=n.err.name,u.message=n.err.message,u.stack=n.err.stack),i.reject(u);return}i.resolve(n.res);return}var s=t,f=s.req,a=this._handler.handleMessage(s.method,s.args);a.then(function(o){r._send({vsWorker:r._workerId,seq:f,res:o,err:void 0})},function(o){o.detail instanceof Error&&(o.detail=$(o.detail)),r._send({vsWorker:r._workerId,seq:f,res:void 0,err:$(o)})})},e.prototype._send=function(t){var r=[];if(t.req)for(var n=t,i=0;i<n.args.length;i++)n.args[i]instanceof ArrayBuffer&&r.push(n.args[i]);else{var n=t;n.res instanceof ArrayBuffer&&r.push(n.res)}this._handler.sendMessage(t,r)},e}(),xn=function(e){Lr(t,e);function t(r,n,i){var u=e.call(this)||this,s=null;u._worker=u._register(r.create("vs/base/common/worker/simpleWorker",function(c){u._protocol.handleMessage(c)},function(c){s&&s(c)})),u._protocol=new ct({sendMessage:function(l,_){u._worker.postMessage(l,_)},handleMessage:function(l,_){if(typeof i[l]!="function")return Promise.reject(new Error("Missing method "+l+" on main thread host."));try{return Promise.resolve(i[l].apply(i,_))}catch(d){return Promise.reject(d)}}}),u._protocol.setWorkerId(u._worker.getId());var f=null;typeof self.require!="undefined"&&typeof self.require.getConfig=="function"?f=self.require.getConfig():typeof self.requirejs!="undefined"&&(f=self.requirejs.s.contexts._.config);var a=Ae(i);u._onModuleLoaded=u._protocol.sendMessage(ft,[u._worker.getId(),JSON.parse(JSON.stringify(f)),n,a]);var o=function(l,_){return u._request(l,_)};return u._lazyProxy=new Promise(function(c,l){s=l,u._onModuleLoaded.then(function(_){c(ke(_,o))},function(_){l(_),u._onError("Worker failed to load "+n,_)})}),u}return t.prototype.getProxyObject=function(){return this._lazyProxy},t.prototype._request=function(r,n){var i=this;return new Promise(function(u,s){i._onModuleLoaded.then(function(){i._protocol.sendMessage(r,n).then(u,s)},s)})},t.prototype._onError=function(r,n){console.error(r),console.info(n)},t}(re),ht=function(){function e(t,r){var n=this;this._requestHandlerFactory=r,this._requestHandler=null,this._protocol=new ct({sendMessage:function(u,s){t(u,s)},handleMessage:function(u,s){return n._handleMessage(u,s)}})}return e.prototype.onmessage=function(t){this._protocol.handleMessage(t)},e.prototype._handleMessage=function(t,r){if(t===ft)return this.initialize(r[0],r[1],r[2],r[3]);if(!this._requestHandler||typeof this._requestHandler[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,r))}catch(n){return Promise.reject(n)}},e.prototype.initialize=function(t,r,n,i){var u=this;this._protocol.setWorkerId(t);var s=function(o,c){return u._protocol.sendMessage(o,c)},f=ke(i,s);return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(f),Promise.resolve(Ae(this._requestHandler))):(r&&(typeof r.baseUrl!="undefined"&&delete r.baseUrl,typeof r.paths!="undefined"&&typeof r.paths.vs!="undefined"&&delete r.paths.vs,r.catchError=!0,self.require.config(r)),new Promise(function(a,o){self.require([n],function(c){if(u._requestHandler=c.create(f),!u._requestHandler){o(new Error("No RequestHandler!"));return}a(Ae(u._requestHandler))},o)}))},e}();function In(e){return new ht(e,null)}function Tn(e,t){return t===void 0&&(t=0),e[e.length-(1+t)]}function Wn(e){if(e.length===0)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function qn(e,t,r){if(r===void 0&&(r=function(s,f){return s===f}),e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(var n=0,i=e.length;n<i;n++)if(!r(e[n],t[n]))return!1;return!0}function Hn(e,t,r){for(var n=0,i=e.length-1;n<=i;){var u=(n+i)/2|0,s=r(e[u],t);if(s<0)n=u+1;else if(s>0)i=u-1;else return u}return-(n+1)}function Bn(e,t){var r=0,n=e.length;if(n===0)return 0;for(;r<n;){var i=Math.floor((r+n)/2);t(e[i])?n=i:r=i+1}return r}function vt(e,t){return xe(e,t,0,e.length-1,[]),e}function Nr(e,t,r,n,i,u){for(var s=r,f=n+1,a=r;a<=i;a++)u[a]=e[a];for(var a=r;a<=i;a++)s>n?e[a]=u[f++]:f>i?e[a]=u[s++]:t(u[f],u[s])<0?e[a]=u[f++]:e[a]=u[s++]}function xe(e,t,r,n,i){if(!(n<=r)){var u=r+(n-r)/2|0;xe(e,t,r,u,i),xe(e,t,u+1,n,i),!(t(e[u],e[u+1])<=0)&&Nr(e,t,r,u,n,i)}}function Yn(e,t){for(var r=[],n=void 0,i=0,u=vt(e.slice(0),t);i<u.length;i++){var s=u[i];!n||t(n[0],s)!==0?(n=[s],r.push(n)):n.push(s)}return r}function jn(e){return e.filter(function(t){return!!t})}function Gn(e){return!Array.isArray(e)||e.length===0}function zn(e){return Array.isArray(e)&&e.length>0}function Vn(e,t){if(!t)return e.filter(function(n,i){return e.indexOf(n)===i});var r=Object.create(null);return e.filter(function(n){var i=t(n);return r[i]?!1:(r[i]=!0,!0)})}function On(e){var t=new Set;return e.filter(function(r){return t.has(r)?!1:(t.add(r),!0)})}function Qn(e){var t=[];return e.forEach(function(r){return t.push(r)}),t}function br(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return r}return-1}function $n(e,t,r){r===void 0&&(r=void 0);var n=br(e,t);return n<0?r:e[n]}function Xn(e,t){return e.length>0?e[0]:t}function Zn(e){var t;return(t=[]).concat.apply(t,e)}function Jn(e,t){var r=typeof t=="number"?e:0;typeof t=="number"?r=e:(r=0,t=e);var n=[];if(r<=t)for(var i=r;i<t;i++)n.push(i);else for(var i=r;i>t;i--)n.push(i);return n}function Kn(e,t,r){var n=e.slice(0,t),i=e.slice(t);return n.concat(r,i)}function e1(e,t){var r=e.indexOf(t);r>-1&&(e.splice(r,1),e.unshift(t))}function t1(e,t){var r=e.indexOf(t);r>-1&&(e.splice(r,1),e.push(t))}function r1(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n,r,e))return n}}function n1(e){return Array.isArray(e)?e:[e]}var he=function(){function e(t,r,n,i){this.originalStart=t,this.originalLength=r,this.modifiedStart=n,this.modifiedLength=i}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function mt(e,t){switch(t===void 0&&(t=0),typeof e){case"object":return e===null?oe(349,t):Array.isArray(e)?wr(e,t):Sr(e,t);case"string":return Ie(e,t);case"boolean":return yr(e,t);case"number":return oe(e,t);case"undefined":return oe(0,937);default:return oe(0,617)}}function oe(e,t){return(t<<5)-t+e|0}function yr(e,t){return oe(e?433:863,t)}function Ie(e,t){t=oe(149417,t);for(var r=0,n=e.length;r<n;r++)t=oe(e.charCodeAt(r),t);return t}function wr(e,t){return t=oe(104579,t),e.reduce(function(r,n){return mt(n,r)},t)}function Sr(e,t){return t=oe(181387,t),Object.keys(e).sort().reduce(function(r,n){return r=Ie(n,r),mt(e[n],r)},t)}var _t=function(){function e(t){this.source=t}return e.prototype.getElements=function(){for(var t=this.source,r=new Int32Array(t.length),n=0,i=t.length;n<i;n++)r[n]=t.charCodeAt(n);return r},e}();function Ar(e,t,r){return new gt(new _t(e),new _t(t)).ComputeDiff(r).changes}var _e=function(){function e(){}return e.Assert=function(t,r){if(!t)throw new Error(r)},e}(),pe=function(){function e(){}return e.Copy=function(t,r,n,i,u){for(var s=0;s<u;s++)n[i+s]=t[r+s]},e.Copy2=function(t,r,n,i,u){for(var s=0;s<u;s++)n[i+s]=t[r+s]},e}(),pt=function(){function e(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new he(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_originalCount++},e.prototype.AddModifiedElement=function(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),gt=function(){function e(t,r,n){n===void 0&&(n=null),this.ContinueProcessingPredicate=n;var i=e._getElements(t),u=i[0],s=i[1],f=i[2],a=e._getElements(r),o=a[0],c=a[1],l=a[2];this._hasStrings=f&&l,this._originalStringElements=u,this._originalElementsOrHash=s,this._modifiedStringElements=o,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(t){return t.length>0&&typeof t[0]=="string"},e._getElements=function(t){var r=t.getElements();if(e._isStringArray(r)){for(var n=new Int32Array(r.length),i=0,u=r.length;i<u;i++)n[i]=Ie(r[i],0);return[r,n,!0]}return r instanceof Int32Array?[[],r,!1]:[[],new Int32Array(r),!1]},e.prototype.ElementsAreEqual=function(t,r){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[r]:!0},e.prototype.OriginalElementsAreEqual=function(t,r){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[r]:!0},e.prototype.ModifiedElementsAreEqual=function(t,r){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[r]:!0},e.prototype.ComputeDiff=function(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)},e.prototype._ComputeDiff=function(t,r,n,i,u){var s=[!1],f=this.ComputeDiffRecursive(t,r,n,i,s);return u&&(f=this.PrettifyChanges(f)),{quitEarly:s[0],changes:f}},e.prototype.ComputeDiffRecursive=function(t,r,n,i,u){for(u[0]=!1;t<=r&&n<=i&&this.ElementsAreEqual(t,n);)t++,n++;for(;r>=t&&i>=n&&this.ElementsAreEqual(r,i);)r--,i--;if(t>r||n>i){var s=void 0;return n<=i?(_e.Assert(t===r+1,"originalStart should only be one more than originalEnd"),s=[new he(t,0,n,i-n+1)]):t<=r?(_e.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[new he(t,r-t+1,n,0)]):(_e.Assert(t===r+1,"originalStart should only be one more than originalEnd"),_e.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}var f=[0],a=[0],o=this.ComputeRecursionPoint(t,r,n,i,f,a,u),c=f[0],l=a[0];if(o!==null)return o;if(!u[0]){var _=this.ComputeDiffRecursive(t,c,n,l,u),d=[];return u[0]?d=[new he(c+1,r-(c+1)+1,l+1,i-(l+1)+1)]:d=this.ComputeDiffRecursive(c+1,r,l+1,i,u),this.ConcatenateChanges(_,d)}return[new he(t,r-t+1,n,i-n+1)]},e.prototype.WALKTRACE=function(t,r,n,i,u,s,f,a,o,c,l,_,d,N,F,P,C,U){var m=null,p=null,g=new pt,L=r,M=n,A=d[0]-P[0]-i,I=-1073741824,H=this.m_forwardHistory.length-1;do{var b=A+t;b===L||b<M&&o[b-1]<o[b+1]?(l=o[b+1],N=l-A-i,l<I&&g.MarkNextChange(),I=l,g.AddModifiedElement(l+1,N),A=b+1-t):(l=o[b-1]+1,N=l-A-i,l<I&&g.MarkNextChange(),I=l-1,g.AddOriginalElement(l,N+1),A=b-1-t),H>=0&&(o=this.m_forwardHistory[H],t=o[0],L=1,M=o.length-1)}while(--H>=-1);if(m=g.getReverseChanges(),U[0]){var V=d[0]+1,fe=P[0]+1;if(m!==null&&m.length>0){var Z=m[m.length-1];V=Math.max(V,Z.getOriginalEnd()),fe=Math.max(fe,Z.getModifiedEnd())}p=[new he(V,_-V+1,fe,F-fe+1)]}else{g=new pt,L=s,M=f,A=d[0]-P[0]-a,I=1073741824,H=C?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var b=A+u;b===L||b<M&&c[b-1]>=c[b+1]?(l=c[b+1]-1,N=l-A-a,l>I&&g.MarkNextChange(),I=l+1,g.AddOriginalElement(l+1,N+1),A=b+1-u):(l=c[b-1],N=l-A-a,l>I&&g.MarkNextChange(),I=l,g.AddModifiedElement(l+1,N+1),A=b-1-u),H>=0&&(c=this.m_reverseHistory[H],u=c[0],L=1,M=c.length-1)}while(--H>=-1);p=g.getChanges()}return this.ConcatenateChanges(m,p)},e.prototype.ComputeRecursionPoint=function(t,r,n,i,u,s,f){var a=0,o=0,c=0,l=0,_=0,d=0;t--,n--,u[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var N=r-t+(i-n),F=N+1,P=new Int32Array(F),C=new Int32Array(F),U=i-n,m=r-t,p=t-n,g=r-i,L=m-U,M=L%2==0;P[U]=t,C[m]=r,f[0]=!1;for(var A=1;A<=N/2+1;A++){var I=0,H=0;c=this.ClipDiagonalBound(U-A,A,U,F),l=this.ClipDiagonalBound(U+A,A,U,F);for(var b=c;b<=l;b+=2){b===c||b<l&&P[b-1]<P[b+1]?a=P[b+1]:a=P[b-1]+1,o=a-(b-U)-p;for(var V=a;a<r&&o<i&&this.ElementsAreEqual(a+1,o+1);)a++,o++;if(P[b]=a,a+o>I+H&&(I=a,H=o),!M&&Math.abs(b-m)<=A-1&&a>=C[b])return u[0]=a,s[0]=o,V<=C[b]&&1447>0&&A<=1447+1?this.WALKTRACE(U,c,l,p,m,_,d,g,P,C,a,r,u,o,i,s,M,f):null}var fe=(I-t+(H-n)-A)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(I,fe))return f[0]=!0,u[0]=I,s[0]=H,fe>0&&1447>0&&A<=1447+1?this.WALKTRACE(U,c,l,p,m,_,d,g,P,C,a,r,u,o,i,s,M,f):(t++,n++,[new he(t,r-t+1,n,i-n+1)]);_=this.ClipDiagonalBound(m-A,A,m,F),d=this.ClipDiagonalBound(m+A,A,m,F);for(var b=_;b<=d;b+=2){b===_||b<d&&C[b-1]>=C[b+1]?a=C[b+1]-1:a=C[b-1],o=a-(b-m)-g;for(var V=a;a>t&&o>n&&this.ElementsAreEqual(a,o);)a--,o--;if(C[b]=a,M&&Math.abs(b-U)<=A&&a<=P[b])return u[0]=a,s[0]=o,V>=P[b]&&1447>0&&A<=1447+1?this.WALKTRACE(U,c,l,p,m,_,d,g,P,C,a,r,u,o,i,s,M,f):null}if(A<=1447){var Z=new Int32Array(l-c+2);Z[0]=U-c+1,pe.Copy2(P,c,Z,1,l-c+1),this.m_forwardHistory.push(Z),Z=new Int32Array(d-_+2),Z[0]=m-_+1,pe.Copy2(C,_,Z,1,d-_+1),this.m_reverseHistory.push(Z)}}return this.WALKTRACE(U,c,l,p,m,_,d,g,P,C,a,r,u,o,i,s,M,f)},e.prototype.PrettifyChanges=function(t){for(var r=0;r<t.length;r++){for(var n=t[r],i=r<t.length-1?t[r+1].originalStart:this._originalElementsOrHash.length,u=r<t.length-1?t[r+1].modifiedStart:this._modifiedElementsOrHash.length,s=n.originalLength>0,f=n.modifiedLength>0;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<u&&(!s||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!f||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;var a=[null];if(r<t.length-1&&this.ChangesOverlap(t[r],t[r+1],a)){t[r]=a[0],t.splice(r+1,1),r--;continue}}for(var r=t.length-1;r>=0;r--){var n=t[r],i=0,u=0;if(r>0){var o=t[r-1];o.originalLength>0&&(i=o.originalStart+o.originalLength),o.modifiedLength>0&&(u=o.modifiedStart+o.modifiedLength)}for(var s=n.originalLength>0,f=n.modifiedLength>0,c=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),_=1;;_++){var d=n.originalStart-_,N=n.modifiedStart-_;if(d<i||N<u||s&&!this.OriginalElementsAreEqual(d,d+n.originalLength)||f&&!this.ModifiedElementsAreEqual(N,N+n.modifiedLength))break;var F=this._boundaryScore(d,n.originalLength,N,n.modifiedLength);F>l&&(l=F,c=_)}n.originalStart-=c,n.modifiedStart-=c}return t},e.prototype._OriginalIsBoundary=function(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])},e.prototype._OriginalRegionIsBoundary=function(t,r){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(r>0){var n=t+r;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])},e.prototype._ModifiedRegionIsBoundary=function(t,r){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(r>0){var n=t+r;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(t,r,n,i){var u=this._OriginalRegionIsBoundary(t,r)?1:0,s=this._ModifiedRegionIsBoundary(n,i)?1:0;return u+s},e.prototype.ConcatenateChanges=function(t,r){var n=[];if(t.length===0||r.length===0)return r.length>0?r:t;if(this.ChangesOverlap(t[t.length-1],r[0],n)){var i=new Array(t.length+r.length-1);return pe.Copy(t,0,i,0,t.length-1),i[t.length-1]=n[0],pe.Copy(r,1,i,t.length,r.length-1),i}else{var i=new Array(t.length+r.length);return pe.Copy(t,0,i,0,t.length),pe.Copy(r,0,i,t.length,r.length),i}},e.prototype.ChangesOverlap=function(t,r,n){if(_e.Assert(t.originalStart<=r.originalStart,"Left change is not less than or equal to right change"),_e.Assert(t.modifiedStart<=r.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=r.originalStart||t.modifiedStart+t.modifiedLength>=r.modifiedStart){var i=t.originalStart,u=t.originalLength,s=t.modifiedStart,f=t.modifiedLength;return t.originalStart+t.originalLength>=r.originalStart&&(u=r.originalStart+r.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=r.modifiedStart&&(f=r.modifiedStart+r.modifiedLength-t.modifiedStart),n[0]=new he(i,u,s,f),!0}else return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(t,r,n,i){if(t>=0&&t<i)return t;var u=n,s=i-n-1,f=r%2==0;if(t<0){var a=u%2==0;return f===a?0:1}else{var o=s%2==0;return f===o?i-1:i-2}},e}(),Fr=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])},e(r,n)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ae={done:!0,value:void 0},Fe;(function(e){var t={next:function(){return ae}};function r(){return t}e.empty=r;function n(d){var N=!1;return{next:function(){return N?ae:(N=!0,{done:!1,value:d})}}}e.single=n;function i(d,N,F){return N===void 0&&(N=0),F===void 0&&(F=d.length),{next:function(){return N>=F?ae:{done:!1,value:d[N++]}}}}e.fromArray=i;function u(d){return{next:function(){var F=d.next();return F.done?ae:{done:!1,value:F.value}}}}e.fromNativeIterator=u;function s(d){return d?Array.isArray(d)?e.fromArray(d):d:e.empty()}e.from=s;function f(d,N){return{next:function(){var P=d.next();return P.done?ae:{done:!1,value:N(P.value)}}}}e.map=f;function a(d,N){return{next:function(){for(;;){var P=d.next();if(P.done)return ae;if(N(P.value))return{done:!1,value:P.value}}}}}e.filter=a;function o(d,N){for(var F=d.next();!F.done;F=d.next())N(F.value)}e.forEach=o;function c(d,N){N===void 0&&(N=Number.POSITIVE_INFINITY);var F=[];if(N===0)return F;for(var P=0,C=d.next();!C.done&&(F.push(C.value),!(++P>=N));C=d.next());return F}e.collect=c;function l(){for(var d=[],N=0;N<arguments.length;N++)d[N]=arguments[N];var F=0;return{next:function(){if(F>=d.length)return ae;var C=d[F],U=C.next();return U.done?(F++,this.next()):U}}}e.concat=l;function _(d){return new Mr(d)}e.chain=_})(Fe||(Fe={}));var Mr=function(){function e(t){this.it=t}return e.prototype.next=function(){return this.it.next()},e}();function i1(e){return Array.isArray(e)?Fe.fromArray(e):e||Fe.empty()}var Er=function(){function e(t,r,n,i){r===void 0&&(r=0),n===void 0&&(n=t.length),i===void 0&&(i=r-1),this.items=t,this.start=r,this.end=n,this.index=i}return e.prototype.first=function(){return this.index=this.start,this.current()},e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}(),u1=function(e){Fr(t,e);function t(r,n,i,u){return n===void 0&&(n=0),i===void 0&&(i=r.length),u===void 0&&(u=n-1),e.call(this,r,n,i,u)||this}return t.prototype.current=function(){return e.prototype.current.call(this)},t.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},t.prototype.first=function(){return this.index=this.start,this.current()},t.prototype.last=function(){return this.index=this.end-1,this.current()},t.prototype.parent=function(){return null},t}(Er),s1=function(){function e(t,r){this.iterator=t,this.fn=r}return e.prototype.next=function(){return this.fn(this.iterator.next())},e}(),Pr=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])},e(r,n)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),O,Dr=/^\w[\w\d+.-]*$/,Rr=/^\//,Ur=/^\/\//;function Cr(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!Dr.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!Rr.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Ur.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function kr(e,t){return!e&&!t?"file":e}function xr(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ee&&(t=ee+t):t=ee;break}return t}var j="",ee="/",Ir=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Te=function(){function e(t,r,n,i,u,s){s===void 0&&(s=!1),typeof t=="object"?(this.scheme=t.scheme||j,this.authority=t.authority||j,this.path=t.path||j,this.query=t.query||j,this.fragment=t.fragment||j):(this.scheme=kr(t,s),this.authority=r||j,this.path=xr(this.scheme,n||j),this.query=i||j,this.fragment=u||j,Cr(this,s))}return e.isUri=function(t){return t instanceof e?!0:t?typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="function"&&typeof t.with=="function"&&typeof t.toString=="function":!1},Object.defineProperty(e.prototype,"fsPath",{get:function(){return bt(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(t){if(!t)return this;var r=t.scheme,n=t.authority,i=t.path,u=t.query,s=t.fragment;return r===void 0?r=this.scheme:r===null&&(r=j),n===void 0?n=this.authority:n===null&&(n=j),i===void 0?i=this.path:i===null&&(i=j),u===void 0?u=this.query:u===null&&(u=j),s===void 0?s=this.fragment:s===null&&(s=j),r===this.scheme&&n===this.authority&&i===this.path&&u===this.query&&s===this.fragment?this:new ge(r,n,i,u,s)},e.parse=function(t,r){r===void 0&&(r=!1);var n=Ir.exec(t);return n?new ge(n[2]||j,Me(n[4]||j),Me(n[5]||j),Me(n[7]||j),Me(n[9]||j),r):new ge(j,j,j,j,j)},e.file=function(t){var r=j;if(ne.c&&(t=t.replace(/\\/g,ee)),t[0]===ee&&t[1]===ee){var n=t.indexOf(ee,2);n===-1?(r=t.substring(2),t=ee):(r=t.substring(2,n),t=t.substring(n)||ee)}return new ge("file",r,t,j,j)},e.from=function(t){return new ge(t.scheme,t.authority,t.path,t.query,t.fragment)},e.prototype.toString=function(t){return t===void 0&&(t=!1),We(this,t)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var r=new ge(t);return r._formatted=t.external,r._fsPath=t._sep===dt?t.fsPath:null,r}else return t},e}(),dt=ne.c?1:void 0,ge=function(e){Pr(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._formatted=null,r._fsPath=null,r}return Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=bt(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(r){return r===void 0&&(r=!1),r?We(this,!0):(this._formatted||(this._formatted=We(this,!1)),this._formatted)},t.prototype.toJSON=function(){var r={$mid:1};return this._fsPath&&(r.fsPath=this._fsPath,r._sep=dt),this._formatted&&(r.external=this._formatted),this.path&&(r.path=this.path),this.scheme&&(r.scheme=this.scheme),this.authority&&(r.authority=this.authority),this.query&&(r.query=this.query),this.fragment&&(r.fragment=this.fragment),r},t}(Te),Lt=(O={},O[58]="%3A",O[47]="%2F",O[63]="%3F",O[35]="%23",O[91]="%5B",O[93]="%5D",O[64]="%40",O[33]="%21",O[36]="%24",O[38]="%26",O[39]="%27",O[40]="%28",O[41]="%29",O[42]="%2A",O[43]="%2B",O[44]="%2C",O[59]="%3B",O[61]="%3D",O[32]="%20",O);function Nt(e,t){for(var r=void 0,n=-1,i=0;i<e.length;i++){var u=e.charCodeAt(i);if(u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===45||u===46||u===95||u===126||t&&u===47)n!==-1&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r!==void 0&&(r+=e.charAt(i));else{r===void 0&&(r=e.substr(0,i));var s=Lt[u];s!==void 0?(n!==-1&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=s):n===-1&&(n=i)}}return n!==-1&&(r+=encodeURIComponent(e.substring(n))),r!==void 0?r:e}function Tr(e){for(var t=void 0,r=0;r<e.length;r++){var n=e.charCodeAt(r);n===35||n===63?(t===void 0&&(t=e.substr(0,r)),t+=Lt[n]):t!==void 0&&(t+=e[r])}return t!==void 0?t:e}function bt(e){var t;return e.authority&&e.path.length>1&&e.scheme==="file"?t="//"+e.authority+e.path:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t=e.path[1].toLowerCase()+e.path.substr(2):t=e.path,ne.c&&(t=t.replace(/\//g,"\\")),t}function We(e,t){var r=t?Tr:Nt,n="",i=e.scheme,u=e.authority,s=e.path,f=e.query,a=e.fragment;if(i&&(n+=i,n+=":"),(u||i==="file")&&(n+=ee,n+=ee),u){var o=u.indexOf("@");if(o!==-1){var c=u.substr(0,o);u=u.substr(o+1),o=c.indexOf(":"),o===-1?n+=r(c,!1):(n+=r(c.substr(0,o),!1),n+=":",n+=r(c.substr(o+1),!1)),n+="@"}u=u.toLowerCase(),o=u.indexOf(":"),o===-1?n+=r(u,!1):(n+=r(u.substr(0,o),!1),n+=u.substr(o))}if(s){if(s.length>=3&&s.charCodeAt(0)===47&&s.charCodeAt(2)===58){var l=s.charCodeAt(1);l>=65&&l<=90&&(s="/"+String.fromCharCode(l+32)+":"+s.substr(3))}else if(s.length>=2&&s.charCodeAt(1)===58){var l=s.charCodeAt(0);l>=65&&l<=90&&(s=String.fromCharCode(l+32)+":"+s.substr(2))}n+=r(s,!0)}return f&&(n+="?",n+=r(f,!1)),a&&(n+="#",n+=t?a:Nt(a,!1)),n}function yt(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+yt(e.substr(3)):e}}var wt=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Me(e){return e.match(wt)?e.replace(wt,function(t){return yt(t)}):e}var de=function(){function e(t,r){this.lineNumber=t,this.column=r}return e.prototype.with=function(t,r){return t===void 0&&(t=this.lineNumber),r===void 0&&(r=this.column),t===this.lineNumber&&r===this.column?this:new e(t,r)},e.prototype.delta=function(t,r){return t===void 0&&(t=0),r===void 0&&(r=0),this.with(this.lineNumber+t,this.column+r)},e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(t,r){return!t&&!r?!0:!!t&&!!r&&t.lineNumber===r.lineNumber&&t.column===r.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<r.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<=r.column},e.compare=function(t,r){var n=t.lineNumber|0,i=r.lineNumber|0;if(n===i){var u=t.column|0,s=r.column|0;return u-s}return n-i},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(t){return new e(t.lineNumber,t.column)},e.isIPosition=function(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"},e}(),Le=function(){function e(t,r,n,i){t>n||t===n&&r>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=t,this.endColumn=r):(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=n,this.endColumn=i)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(t,r){return!(r.lineNumber<t.startLineNumber||r.lineNumber>t.endLineNumber||r.lineNumber===t.startLineNumber&&r.column<t.startColumn||r.lineNumber===t.endLineNumber&&r.column>t.endColumn)},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(t,r){return!(r.startLineNumber<t.startLineNumber||r.endLineNumber<t.startLineNumber||r.startLineNumber>t.endLineNumber||r.endLineNumber>t.endLineNumber||r.startLineNumber===t.startLineNumber&&r.startColumn<t.startColumn||r.endLineNumber===t.endLineNumber&&r.endColumn>t.endColumn)},e.prototype.strictContainsRange=function(t){return e.strictContainsRange(this,t)},e.strictContainsRange=function(t,r){return!(r.startLineNumber<t.startLineNumber||r.endLineNumber<t.startLineNumber||r.startLineNumber>t.endLineNumber||r.endLineNumber>t.endLineNumber||r.startLineNumber===t.startLineNumber&&r.startColumn<=t.startColumn||r.endLineNumber===t.endLineNumber&&r.endColumn>=t.endColumn)},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,r){var n,i,u,s;return r.startLineNumber<t.startLineNumber?(n=r.startLineNumber,i=r.startColumn):r.startLineNumber===t.startLineNumber?(n=r.startLineNumber,i=Math.min(r.startColumn,t.startColumn)):(n=t.startLineNumber,i=t.startColumn),r.endLineNumber>t.endLineNumber?(u=r.endLineNumber,s=r.endColumn):r.endLineNumber===t.endLineNumber?(u=r.endLineNumber,s=Math.max(r.endColumn,t.endColumn)):(u=t.endLineNumber,s=t.endColumn),new e(n,i,u,s)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,r){var n=t.startLineNumber,i=t.startColumn,u=t.endLineNumber,s=t.endColumn,f=r.startLineNumber,a=r.startColumn,o=r.endLineNumber,c=r.endColumn;return n<f?(n=f,i=a):n===f&&(i=Math.max(i,a)),u>o?(u=o,s=c):u===o&&(s=Math.min(s,c)),n>u||n===u&&i>s?null:new e(n,i,u,s)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(t,r){return!!t&&!!r&&t.startLineNumber===r.startLineNumber&&t.startColumn===r.startColumn&&t.endLineNumber===r.endLineNumber&&t.endColumn===r.endColumn},e.prototype.getEndPosition=function(){return new de(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new de(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,r){return new e(this.startLineNumber,this.startColumn,t,r)},e.prototype.setStartPosition=function(t,r){return new e(t,r,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,r){return r===void 0&&(r=t),new e(t.lineNumber,t.column,r.lineNumber,r.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"},e.areIntersectingOrTouching=function(t,r){return!(t.endLineNumber<r.startLineNumber||t.endLineNumber===r.startLineNumber&&t.endColumn<r.startColumn||r.endLineNumber<t.startLineNumber||r.endLineNumber===t.startLineNumber&&r.endColumn<t.startColumn)},e.areIntersecting=function(t,r){return!(t.endLineNumber<r.startLineNumber||t.endLineNumber===r.startLineNumber&&t.endColumn<=r.startColumn||r.endLineNumber<t.startLineNumber||r.endLineNumber===t.startLineNumber&&r.endColumn<=t.startColumn)},e.compareRangesUsingStarts=function(t,r){if(t&&r){var n=t.startLineNumber|0,i=r.startLineNumber|0;if(n===i){var u=t.startColumn|0,s=r.startColumn|0;if(u===s){var f=t.endLineNumber|0,a=r.endLineNumber|0;if(f===a){var o=t.endColumn|0,c=r.endColumn|0;return o-c}return f-a}return u-s}return n-i}var l=t?1:0,_=r?1:0;return l-_},e.compareRangesUsingEnds=function(t,r){return t.endLineNumber===r.endLineNumber?t.endColumn===r.endColumn?t.startLineNumber===r.startLineNumber?t.startColumn-r.startColumn:t.startLineNumber-r.startLineNumber:t.endColumn-r.endColumn:t.endLineNumber-r.endLineNumber},e.spansMultipleLines=function(t){return t.endLineNumber>t.startLineNumber},e}();function o1(e){return!e||typeof e!="string"?!0:e.trim().length===0}function a1(e,t,r){r===void 0&&(r="0");for(var n=""+e,i=[n],u=n.length;u<t;u++)i.push(r);return i.reverse().join("")}var Wr=/{(\d+)}/g;function f1(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.length===0?e:e.replace(Wr,function(n,i){var u=parseInt(i,10);return isNaN(u)||u<0||u>=t.length?n:t[u]})}function l1(e){return e.replace(/[<>&]/g,function(t){switch(t){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return t}})}function qr(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c1(e,t){t===void 0&&(t=" ");var r=Hr(e,t);return Br(r,t)}function Hr(e,t){if(!e||!t)return e;var r=t.length;if(r===0||e.length===0)return e;for(var n=0;e.indexOf(t,n)===n;)n=n+r;return e.substring(n)}function Br(e,t){if(!e||!t)return e;var r=t.length,n=e.length;if(r===0||n===0)return e;for(var i=n,u=-1;u=e.lastIndexOf(t,i-1),!(u===-1||u+r!==i);){if(u===0)return"";i=u}return e.substring(0,i)}function h1(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function v1(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(var r=0;r<t.length;r++)if(e[r]!==t[r])return!1;return!0}function m1(e,t){var r=e.length-t.length;return r>0?e.indexOf(t,r)===r:r===0?e===t:!1}function _1(e,t,r){if(r===void 0&&(r={}),!e)throw new Error("Cannot create regex from empty string");t||(e=qr(e)),r.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e=e+"\\b"));var n="";return r.global&&(n+="g"),r.matchCase||(n+="i"),r.multiline&&(n+="m"),r.unicode&&(n+="u"),new RegExp(e,n)}function p1(e){if(e.source==="^"||e.source==="^$"||e.source==="$"||e.source==="^\\s*$")return!1;var t=e.exec("");return!!(t&&e.lastIndex===0)}function g1(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function Yr(e){for(var t=0,r=e.length;t<r;t++){var n=e.charCodeAt(t);if(n!==32&&n!==9)return t}return-1}function d1(e,t,r){t===void 0&&(t=0),r===void 0&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(i!==32&&i!==9)return e.substring(t,n)}return e.substring(t,r)}function jr(e,t){t===void 0&&(t=e.length-1);for(var r=t;r>=0;r--){var n=e.charCodeAt(r);if(n!==32&&n!==9)return r}return-1}function Gr(e,t){return e<t?-1:e>t?1:0}function L1(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){var i=e.charCodeAt(n),u=t.charCodeAt(n);if(i!==u){He(i)&&(i+=32),He(u)&&(u+=32);var s=i-u;if(s!==0)return qe(i)&&qe(u)?s:Gr(e.toLowerCase(),t.toLowerCase())}}return e.length<t.length?-1:e.length>t.length?1:0}function qe(e){return e>=97&&e<=122}function He(e){return e>=65&&e<=90}function St(e){return qe(e)||He(e)}function N1(e,t){return e.length===t.length&&At(e,t)}function At(e,t,r){r===void 0&&(r=e.length);for(var n=0;n<r;n++){var i=e.charCodeAt(n),u=t.charCodeAt(n);if(i!==u){if(St(i)&&St(u)){var s=Math.abs(i-u);if(s!==0&&s!==32)return!1}else if(String.fromCharCode(i).toLowerCase()!==String.fromCharCode(u).toLowerCase())return!1}}return!0}function b1(e,t){var r=t.length;return t.length>e.length?!1:At(e,t,r)}function y1(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r++)if(e.charCodeAt(r)!==t.charCodeAt(r))return r;return n}function w1(e,t){var r,n=Math.min(e.length,t.length),i=e.length-1,u=t.length-1;for(r=0;r<n;r++)if(e.charCodeAt(i-r)!==t.charCodeAt(u-r))return r;return n}function Ft(e){return 55296<=e&&e<=56319}function Mt(e){return 56320<=e&&e<=57343}function Et(e,t,r){var n=e.charCodeAt(r);if(Ft(n)&&r+1<t){var i=e.charCodeAt(r+1);if(Mt(i))return(n-55296<<10)+(i-56320)+65536}return n}function Pt(e,t){var r=e.charCodeAt(t-1);if(Mt(r)&&t>1){var n=e.charCodeAt(t-2);if(Ft(n))return(n-55296<<10)+(r-56320)+65536}return r}function S1(e,t){var r=Be.getInstance(),n=t,i=e.length,u=Et(e,i,t);t+=u>=65536?2:1;for(var s=r.getGraphemeBreakType(u);t<i;){var f=Et(e,i,t),a=r.getGraphemeBreakType(f);if(Dt(s,a))break;t+=f>=65536?2:1,s=a}return t-n}function A1(e,t){var r=Be.getInstance(),n=t,i=Pt(e,t);t-=i>=65536?2:1;for(var u=r.getGraphemeBreakType(i);t>0;){var s=Pt(e,t),f=r.getGraphemeBreakType(s);if(Dt(f,u))break;t-=s>=65536?2:1,u=f}return n-t}var zr=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function F1(e){return zr.test(e)}var Vr=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function M1(e){return Vr.test(e)}var Or=/^[\t\n\r\x20-\x7E]*$/;function E1(e){return Or.test(e)}function P1(e){for(var t=0,r=e.length;t<r;t++)if(Qr(e.charCodeAt(t)))return!0;return!1}function Qr(e){return e=+e,e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function D1(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}var R1=String.fromCharCode(65279);function U1(e){return!!(e&&e.length>0&&e.charCodeAt(0)===65279)}function C1(e){return btoa(encodeURIComponent(e))}function k1(e,t){for(var r="",n=0;n<t;n++)r+=e;return r}function x1(e,t){return t===void 0&&(t=!1),e?(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e):!1}function I1(e){var t=90-65+1;return e=e%(2*t),e<t?String.fromCharCode(97+e):String.fromCharCode(65+e-t)}function T1(e){var t=Be.getInstance();return t.getGraphemeBreakType(e)}function Dt(e,t){return e===0?t!==5&&t!==7:e===2&&t===3?!1:e===4||e===2||e===3||t===4||t===2||t===3?!0:!(e===8&&(t===8||t===9||t===11||t===12)||(e===11||e===9)&&(t===9||t===10)||(e===12||e===10)&&t===10||t===5||t===13||t===7||e===1||e===13&&t===14||e===6&&t===6)}var Be=function(){function e(){this._data=$r()}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getGraphemeBreakType=function(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;for(var r=this._data,n=r.length/3,i=1;i<=n;)if(t<r[3*i])i=2*i;else if(t>r[3*i+1])i=2*i+1;else return r[3*i+2];return 0},e._INSTANCE=null,e}();function $r(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}var Xr=3;function Rt(e,t,r,n){var i=new gt(e,t,r);return i.ComputeDiff(n)}var Ut=function(){function e(t){for(var r=[],n=[],i=0,u=t.length;i<u;i++)r[i]=Ge(t[i],1),n[i]=ze(t[i],1);this.lines=t,this._startColumns=r,this._endColumns=n}return e.prototype.getElements=function(){for(var t=[],r=0,n=this.lines.length;r<n;r++)t[r]=this.lines[r].substring(this._startColumns[r]-1,this._endColumns[r]-1);return t},e.prototype.getStartLineNumber=function(t){return t+1},e.prototype.getEndLineNumber=function(t){return t+1},e.prototype.createCharSequence=function(t,r,n){for(var i=[],u=[],s=[],f=0,a=r;a<=n;a++)for(var o=this.lines[a],c=t?this._startColumns[a]:1,l=t?this._endColumns[a]:o.length+1,_=c;_<l;_++)i[f]=o.charCodeAt(_-1),u[f]=a+1,s[f]=_,f++;return new Zr(i,u,s)},e}(),Zr=function(){function e(t,r,n){this._charCodes=t,this._lineNumbers=r,this._columns=n}return e.prototype.getElements=function(){return this._charCodes},e.prototype.getStartLineNumber=function(t){return this._lineNumbers[t]},e.prototype.getStartColumn=function(t){return this._columns[t]},e.prototype.getEndLineNumber=function(t){return this._lineNumbers[t]},e.prototype.getEndColumn=function(t){return this._columns[t]+1},e}(),Ye=function(){function e(t,r,n,i,u,s,f,a){this.originalStartLineNumber=t,this.originalStartColumn=r,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=u,this.modifiedStartColumn=s,this.modifiedEndLineNumber=f,this.modifiedEndColumn=a}return e.createFromDiffChange=function(t,r,n){var i,u,s,f,a,o,c,l;return t.originalLength===0?(i=0,u=0,s=0,f=0):(i=r.getStartLineNumber(t.originalStart),u=r.getStartColumn(t.originalStart),s=r.getEndLineNumber(t.originalStart+t.originalLength-1),f=r.getEndColumn(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(a=0,o=0,c=0,l=0):(a=n.getStartLineNumber(t.modifiedStart),o=n.getStartColumn(t.modifiedStart),c=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),l=n.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(i,u,s,f,a,o,c,l)},e}();function Jr(e){if(e.length<=1)return e;for(var t=[e[0]],r=t[0],n=1,i=e.length;n<i;n++){var u=e[n],s=u.originalStart-(r.originalStart+r.originalLength),f=u.modifiedStart-(r.modifiedStart+r.modifiedLength),a=Math.min(s,f);a<Xr?(r.originalLength=u.originalStart+u.originalLength-r.originalStart,r.modifiedLength=u.modifiedStart+u.modifiedLength-r.modifiedStart):(t.push(u),r=u)}return t}var je=function(){function e(t,r,n,i,u){this.originalStartLineNumber=t,this.originalEndLineNumber=r,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=u}return e.createFromDiffResult=function(t,r,n,i,u,s,f){var a,o,c,l,_=void 0;if(r.originalLength===0?(a=n.getStartLineNumber(r.originalStart)-1,o=0):(a=n.getStartLineNumber(r.originalStart),o=n.getEndLineNumber(r.originalStart+r.originalLength-1)),r.modifiedLength===0?(c=i.getStartLineNumber(r.modifiedStart)-1,l=0):(c=i.getStartLineNumber(r.modifiedStart),l=i.getEndLineNumber(r.modifiedStart+r.modifiedLength-1)),s&&r.originalLength>0&&r.originalLength<20&&r.modifiedLength>0&&r.modifiedLength<20&&u()){var d=n.createCharSequence(t,r.originalStart,r.originalStart+r.originalLength-1),N=i.createCharSequence(t,r.modifiedStart,r.modifiedStart+r.modifiedLength-1),F=Rt(d,N,u,!0).changes;f&&(F=Jr(F)),_=[];for(var P=0,C=F.length;P<C;P++)_.push(Ye.createFromDiffChange(F[P],d,N))}return new e(a,o,c,l,_)},e}(),Kr=function(){function e(t,r,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=r,this.original=new Ut(t),this.modified=new Ut(r),this.continueLineDiff=Ct(n.maxComputationTime),this.continueCharDiff=Ct(n.maxComputationTime===0?0:Math.min(n.maxComputationTime,5e3))}return e.prototype.computeDiff=function(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};var t=Rt(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),r=t.changes,n=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var i=[],u=0,s=r.length;u<s;u++)i.push(je.createFromDiffResult(this.shouldIgnoreTrimWhitespace,r[u],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:i}}for(var f=[],a=0,o=0,u=-1,c=r.length;u<c;u++){for(var l=u+1<c?r[u+1]:null,_=l?l.originalStart:this.originalLines.length,d=l?l.modifiedStart:this.modifiedLines.length;a<_&&o<d;){var N=this.originalLines[a],F=this.modifiedLines[o];if(N!==F){{for(var P=Ge(N,1),C=Ge(F,1);P>1&&C>1;){var U=N.charCodeAt(P-2),m=F.charCodeAt(C-2);if(U!==m)break;P--,C--}(P>1||C>1)&&this._pushTrimWhitespaceCharChange(f,a+1,1,P,o+1,1,C)}{for(var p=ze(N,1),g=ze(F,1),L=N.length+1,M=F.length+1;p<L&&g<M;){var U=N.charCodeAt(p-1),m=N.charCodeAt(g-1);if(U!==m)break;p++,g++}(p<L||g<M)&&this._pushTrimWhitespaceCharChange(f,a+1,p,L,o+1,g,M)}}a++,o++}l&&(f.push(je.createFromDiffResult(this.shouldIgnoreTrimWhitespace,l,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=l.originalLength,o+=l.modifiedLength)}return{quitEarly:n,changes:f}},e.prototype._pushTrimWhitespaceCharChange=function(t,r,n,i,u,s,f){if(!this._mergeTrimWhitespaceCharChange(t,r,n,i,u,s,f)){var a=void 0;this.shouldComputeCharChanges&&(a=[new Ye(r,n,r,i,u,s,u,f)]),t.push(new je(r,r,u,u,a))}},e.prototype._mergeTrimWhitespaceCharChange=function(t,r,n,i,u,s,f){var a=t.length;if(a===0)return!1;var o=t[a-1];return o.originalEndLineNumber===0||o.modifiedEndLineNumber===0?!1:o.originalEndLineNumber+1===r&&o.modifiedEndLineNumber+1===u?(o.originalEndLineNumber=r,o.modifiedEndLineNumber=u,this.shouldComputeCharChanges&&o.charChanges&&o.charChanges.push(new Ye(r,n,r,i,u,s,u,f)),!0):!1},e}();function Ge(e,t){var r=Yr(e);return r===-1?t:r+1}function ze(e,t){var r=jr(e);return r===-1?t:r+2}function Ct(e){if(e===0)return function(){return!0};var t=Date.now();return function(){return Date.now()-t<e}}function kt(e){return e<0?0:e>255?255:e|0}function Ne(e){return e<0?0:e>4294967295?4294967295:e|0}var en=function(){function e(t,r){this.index=t,this.remainder=r}return e}(),tn=function(){function e(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.insertValues=function(t,r){t=Ne(t);var n=this.values,i=this.prefixSum,u=r.length;return u===0?!1:(this.values=new Uint32Array(n.length+u),this.values.set(n.subarray(0,t),0),this.values.set(n.subarray(t),t+u),this.values.set(r,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(t,r){return t=Ne(t),r=Ne(r),this.values[t]===r?!1:(this.values[t]=r,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)},e.prototype.removeValues=function(t,r){t=Ne(t),r=Ne(r);var n=this.values,i=this.prefixSum;if(t>=n.length)return!1;var u=n.length-t;return r>=u&&(r=u),r===0?!1:(this.values=new Uint32Array(n.length-r),this.values.set(n.subarray(0,t),0),this.values.set(n.subarray(t+r),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return this.values.length===0?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(t){return t<0?0:(t=Ne(t),this._getAccumulatedValue(t))},e.prototype._getAccumulatedValue=function(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];var r=this.prefixSumValidIndex[0]+1;r===0&&(this.prefixSum[0]=this.values[0],r++),t>=this.values.length&&(t=this.values.length-1);for(var n=r;n<=t;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]},e.prototype.getIndexOf=function(t){t=Math.floor(t),this.getTotalValue();for(var r=0,n=this.values.length-1,i=0,u=0,s=0;r<=n;)if(i=r+(n-r)/2|0,u=this.prefixSum[i],s=u-this.values[i],t<s)n=i-1;else if(t>=u)r=i+1;else break;return new en(i,t-s)},e}(),rn=function(){function e(t,r,n,i){this._uri=t,this._lines=r,this._eol=n,this._versionId=i,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);for(var r=t.changes,n=0,i=r;n<i.length;n++){var u=i[n];this._acceptDeleteRange(u.range),this._acceptInsertText(new de(u.range.startLineNumber,u.range.startColumn),u.text)}this._versionId=t.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var t=this._eol.length,r=this._lines.length,n=new Uint32Array(r),i=0;i<r;i++)n[i]=this._lines[i].length+t;this._lineStarts=new tn(n)}},e.prototype._setLineText=function(t,r){this._lines[t]=r,this._lineStarts&&this._lineStarts.changeValue(t,this._lines[t].length+this._eol.length)},e.prototype._acceptDeleteRange=function(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)},e.prototype._acceptInsertText=function(t,r){if(r.length!==0){var n=r.split(/\r\n|\r|\n/);if(n.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+n[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}n[n.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+n[0]);for(var i=new Uint32Array(n.length-1),u=1;u<n.length;u++)this._lines.splice(t.lineNumber+u-1,0,n[u]),i[u-1]=n[u].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}},e}(),nn="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function un(e){e===void 0&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",r=0,n=nn;r<n.length;r++){var i=n[r];e.indexOf(i)>=0||(t+="\\"+i)}return t+="\\s]+)",new RegExp(t,"g")}var sn=un();function on(e){var t=sn;if(e&&e instanceof RegExp)if(e.global)t=e;else{var r="g";e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.unicode&&(r+="u"),t=new RegExp(e.source,r)}return t.lastIndex=0,t}function an(e,t,r,n){var i=e-1-n,u=r.lastIndexOf(" ",i-1)+1;t.lastIndex=u;for(var s;s=t.exec(r);){var f=s.index||0;if(f<=i&&t.lastIndex>=i)return{word:s[0],startColumn:n+1+f,endColumn:n+1+t.lastIndex}}return null}function fn(e,t,r,n){var i=e-1-n;t.lastIndex=0;for(var u;u=t.exec(r);){var s=u.index||0;if(s>i)return null;if(t.lastIndex>=i)return{word:u[0],startColumn:n+1+s,endColumn:n+1+t.lastIndex}}return null}function ln(e,t,r,n){t.lastIndex=0;var i=t.exec(r);if(!i)return null;var u=i[0].indexOf(" ")>=0?fn(e,t,r,n):an(e,t,r,n);return t.lastIndex=0,u}var xt=function(){function e(t){var r=kt(t);this._defaultValue=r,this._asciiMap=e._createAsciiMap(r),this._map=new Map}return e._createAsciiMap=function(t){for(var r=new Uint8Array(256),n=0;n<256;n++)r[n]=t;return r},e.prototype.set=function(t,r){var n=kt(r);t>=0&&t<256?this._asciiMap[t]=n:this._map.set(t,n)},e.prototype.get=function(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue},e}(),W1=function(){function e(){this._actual=new xt(0)}return e.prototype.add=function(t){this._actual.set(t,1)},e.prototype.has=function(t){return this._actual.get(t)===1},e}(),cn=function(){function e(t,r,n){for(var i=new Uint8Array(t*r),u=0,s=t*r;u<s;u++)i[u]=n;this._data=i,this.rows=t,this.cols=r}return e.prototype.get=function(t,r){return this._data[t*this.cols+r]},e.prototype.set=function(t,r,n){this._data[t*this.cols+r]=n},e}(),hn=function(){function e(t){for(var r=0,n=0,i=0,u=t.length;i<u;i++){var s=t[i],f=s[0],a=s[1],o=s[2];a>r&&(r=a),f>n&&(n=f),o>n&&(n=o)}r++,n++;for(var c=new cn(n,r,0),i=0,u=t.length;i<u;i++){var l=t[i],f=l[0],a=l[1],o=l[2];c.set(f,a,o)}this._states=c,this._maxCharCode=r}return e.prototype.nextState=function(t,r){return r<0||r>=this._maxCharCode?0:this._states.get(t,r)},e}(),Ve=null;function vn(){return Ve===null&&(Ve=new hn([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Ve}var we=null;function mn(){if(we===null){we=new xt(0);for(var e=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF20\uFF03\uFF04\uFF05\uFF06\uFF0A\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`,t=0;t<e.length;t++)we.set(e.charCodeAt(t),1);for(var r=".,;",t=0;t<r.length;t++)we.set(r.charCodeAt(t),2)}return we}var _n=function(){function e(){}return e._createLink=function(t,r,n,i,u){var s=u-1;do{var f=r.charCodeAt(s),a=t.get(f);if(a!==2)break;s--}while(s>i);if(i>0){var o=r.charCodeAt(i-1),c=r.charCodeAt(s);(o===40&&c===41||o===91&&c===93||o===123&&c===125)&&s--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:s+2},url:r.substring(i,s+1)}},e.computeLinks=function(t,r){r===void 0&&(r=vn());for(var n=mn(),i=[],u=1,s=t.getLineCount();u<=s;u++){for(var f=t.getLineContent(u),a=f.length,o=0,c=0,l=0,_=1,d=!1,N=!1,F=!1;o<a;){var P=!1,C=f.charCodeAt(o);if(_===13){var U=void 0;switch(C){case 40:d=!0,U=0;break;case 41:U=d?0:1;break;case 91:N=!0,U=0;break;case 93:U=N?0:1;break;case 123:F=!0,U=0;break;case 125:U=F?0:1;break;case 39:U=l===34||l===96?0:1;break;case 34:U=l===39||l===96?0:1;break;case 96:U=l===39||l===34?0:1;break;case 42:U=l===42?1:0;break;case 124:U=l===124?1:0;break;default:U=n.get(C)}U===1&&(i.push(e._createLink(n,f,u,c,o)),P=!0)}else if(_===12){var U=void 0;C===91?(N=!0,U=0):U=n.get(C),U===1?P=!0:_=13}else _=r.nextState(_,C),_===0&&(P=!0);P&&(_=1,d=!1,N=!1,F=!1,c=o+1,l=C),o++}_===13&&i.push(e._createLink(n,f,u,c,a))}return i},e}();function pn(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:_n.computeLinks(e)}var gn=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(t,r,n,i,u){if(t&&r){var s=this.doNavigateValueSet(r,u);if(s)return{range:t,value:s}}if(n&&i){var s=this.doNavigateValueSet(i,u);if(s)return{range:n,value:s}}return null},e.prototype.doNavigateValueSet=function(t,r){var n=this.numberReplace(t,r);return n!==null?n:this.textReplace(t,r)},e.prototype.numberReplace=function(t,r){var n=Math.pow(10,t.length-(t.lastIndexOf(".")+1)),i=Number(t),u=parseFloat(t);return!isNaN(i)&&!isNaN(u)&&i===u?i===0&&!r?null:(i=Math.floor(i*n),i+=r?n:-n,String(i/n)):null},e.prototype.textReplace=function(t,r){return this.valueSetsReplace(this._defaultValueSet,t,r)},e.prototype.valueSetsReplace=function(t,r,n){for(var i=null,u=0,s=t.length;i===null&&u<s;u++)i=this.valueSetReplace(t[u],r,n);return i},e.prototype.valueSetReplace=function(t,r,n){var i=t.indexOf(r);return i>=0?(i+=n?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null},e.INSTANCE=new e,e}(),q1=T("URDS");function dn(e){var t=this,r=!1,n;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}var Q=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),Oe=function(){function e(){this._first=Q.Undefined,this._last=Q.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===Q.Undefined},e.prototype.clear=function(){this._first=Q.Undefined,this._last=Q.Undefined,this._size=0},e.prototype.unshift=function(t){return this._insert(t,!1)},e.prototype.push=function(t){return this._insert(t,!0)},e.prototype._insert=function(t,r){var n=this,i=new Q(t);if(this._first===Q.Undefined)this._first=i,this._last=i;else if(r){var u=this._last;this._last=i,i.prev=u,u.next=i}else{var s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;var f=!1;return function(){f||(f=!0,n._remove(i))}},e.prototype.shift=function(){if(this._first!==Q.Undefined){var t=this._first.element;return this._remove(this._first),t}},e.prototype.pop=function(){if(this._last!==Q.Undefined){var t=this._last.element;return this._remove(this._last),t}},e.prototype._remove=function(t){if(t.prev!==Q.Undefined&&t.next!==Q.Undefined){var r=t.prev;r.next=t.next,t.next.prev=r}else t.prev===Q.Undefined&&t.next===Q.Undefined?(this._first=Q.Undefined,this._last=Q.Undefined):t.next===Q.Undefined?(this._last=this._last.prev,this._last.next=Q.Undefined):t.prev===Q.Undefined&&(this._first=this._first.next,this._first.prev=Q.Undefined);this._size-=1},e.prototype.iterator=function(){var t,r=this._first;return{next:function(){return r===Q.Undefined?ae:(t?t.value=r.element:t={done:!1,value:r.element},r=r.next,t)}}},e.prototype.toArray=function(){for(var t=[],r=this._first;r!==Q.Undefined;r=r.next)t.push(r.element);return t},e}(),Ln=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])},e(r,n)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ee;(function(e){e.None=function(){return re.None};function t(m){return function(p,g,L){g===void 0&&(g=null);var M=!1,A;return A=m(function(I){if(!M)return A?A.dispose():M=!0,p.call(g,I)},null,L),M&&A.dispose(),A}}e.once=t;function r(m,p){return a(function(g,L,M){return L===void 0&&(L=null),m(function(A){return g.call(L,p(A))},null,M)})}e.map=r;function n(m,p){return a(function(g,L,M){return L===void 0&&(L=null),m(function(A){p(A),g.call(L,A)},null,M)})}e.forEach=n;function i(m,p){return a(function(g,L,M){return L===void 0&&(L=null),m(function(A){return p(A)&&g.call(L,A)},null,M)})}e.filter=i;function u(m){return m}e.signal=u;function s(){for(var m=[],p=0;p<arguments.length;p++)m[p]=arguments[p];return function(g,L,M){return L===void 0&&(L=null),q.apply(void 0,m.map(function(A){return A(function(I){return g.call(L,I)},null,M)}))}}e.any=s;function f(m,p,g){var L=g;return r(m,function(M){return L=p(L,M),L})}e.reduce=f;function a(m){var p,g=new te({onFirstListenerAdd:function(){p=m(g.fire,g)},onLastListenerRemove:function(){p.dispose()}});return g.event}e.snapshot=a;function o(m,p,g,L,M){g===void 0&&(g=100),L===void 0&&(L=!1);var A,I=void 0,H=void 0,b=0,V=new te({leakWarningThreshold:M,onFirstListenerAdd:function(){A=m(function(Z){b++,I=p(I,Z),L&&!H&&(V.fire(I),I=void 0),clearTimeout(H),H=setTimeout(function(){var Rn=I;I=void 0,H=void 0,(!L||b>1)&&V.fire(Rn),b=0},g)})},onLastListenerRemove:function(){A.dispose()}});return V.event}e.debounce=o;function c(m){var p=new Date().getTime();return r(t(m),function(g){return new Date().getTime()-p})}e.stopwatch=c;function l(m){var p=!0,g;return i(m,function(L){var M=p||L!==g;return p=!1,g=L,M})}e.latch=l;function _(m,p,g){p===void 0&&(p=!1),g===void 0&&(g=[]);var L=g.slice(),M=m(function(H){L?L.push(H):I.fire(H)}),A=function(){L&&L.forEach(function(b){return I.fire(b)}),L=null},I=new te({onFirstListenerAdd:function(){M||(M=m(function(b){return I.fire(b)}))},onFirstListenerDidAdd:function(){L&&(p?setTimeout(A):A())},onLastListenerRemove:function(){M&&M.dispose(),M=null}});return I.event}e.buffer=_;var d=function(){function m(p){this.event=p}return m.prototype.map=function(p){return new m(r(this.event,p))},m.prototype.forEach=function(p){return new m(n(this.event,p))},m.prototype.filter=function(p){return new m(i(this.event,p))},m.prototype.reduce=function(p,g){return new m(f(this.event,p,g))},m.prototype.latch=function(){return new m(l(this.event))},m.prototype.debounce=function(p,g,L,M){return g===void 0&&(g=100),L===void 0&&(L=!1),new m(o(this.event,p,g,L,M))},m.prototype.on=function(p,g,L){return this.event(p,g,L)},m.prototype.once=function(p,g,L){return t(this.event)(p,g,L)},m}();function N(m){return new d(m)}e.chain=N;function F(m,p,g){g===void 0&&(g=function(b){return b});var L=function(){for(var b=[],V=0;V<arguments.length;V++)b[V]=arguments[V];return I.fire(g.apply(void 0,b))},M=function(){return m.on(p,L)},A=function(){return m.removeListener(p,L)},I=new te({onFirstListenerAdd:M,onLastListenerRemove:A});return I.event}e.fromNodeEventEmitter=F;function P(m,p,g){g===void 0&&(g=function(b){return b});var L=function(){for(var b=[],V=0;V<arguments.length;V++)b[V]=arguments[V];return I.fire(g.apply(void 0,b))},M=function(){return m.addEventListener(p,L)},A=function(){return m.removeEventListener(p,L)},I=new te({onFirstListenerAdd:M,onLastListenerRemove:A});return I.event}e.fromDOMEventEmitter=P;function C(m){var p=new te,g=!1;return m.then(void 0,function(){return null}).then(function(){g?p.fire(void 0):setTimeout(function(){return p.fire(void 0)},0)}),g=!0,p.event}e.fromPromise=C;function U(m){return new Promise(function(p){return t(m)(p)})}e.toPromise=U})(Ee||(Ee={}));var It=-1,Nn=function(){function e(t,r){r===void 0&&(r=Math.random().toString(18).slice(2,5)),this.customThreshold=t,this.name=r,this._warnCountdown=0}return e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(t){var r=this,n=It;if(typeof this.customThreshold=="number"&&(n=this.customThreshold),!(n<=0||t<n)){this._stacks||(this._stacks=new Map);var i=new Error().stack.split(`
`).slice(3).join(`
`),u=this._stacks.get(i)||0;if(this._stacks.set(i,u+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=n*.5;var s,f=0;this._stacks.forEach(function(a,o){(!s||f<a)&&(s=o,f=a)}),console.warn("["+this.name+"] potential listener LEAK detected, having "+t+" listeners already. MOST frequent listener ("+f+"):"),console.warn(s)}return function(){var a=r._stacks.get(i)||0;r._stacks.set(i,a-1)}}},e}(),te=function(){function e(t){this._disposed=!1,this._options=t,this._leakageMon=It>0?new Nn(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var r=this;return this._event||(this._event=function(n,i,u){r._listeners||(r._listeners=new Oe);var s=r._listeners.isEmpty();s&&r._options&&r._options.onFirstListenerAdd&&r._options.onFirstListenerAdd(r);var f=r._listeners.push(i?[n,i]:n);s&&r._options&&r._options.onFirstListenerDidAdd&&r._options.onFirstListenerDidAdd(r),r._options&&r._options.onListenerDidAdd&&r._options.onListenerDidAdd(r,n,i);var a;r._leakageMon&&(a=r._leakageMon.check(r._listeners.size));var o;return o={dispose:function(){if(a&&a(),o.dispose=e._noop,!r._disposed&&(f(),r._options&&r._options.onLastListenerRemove)){var l=r._listeners&&!r._listeners.isEmpty();l||r._options.onLastListenerRemove(r)}}},u instanceof ve?u.add(o):Array.isArray(u)&&u.push(o),o}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(t){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Oe);for(var r=this._listeners.iterator(),n=r.next();!n.done;n=r.next())this._deliveryQueue.push([n.value,t]);for(;this._deliveryQueue.size>0;){var i=this._deliveryQueue.shift(),u=i[0],s=i[1];try{typeof u=="function"?u.call(void 0,s):u[0].call(u[1],s)}catch(f){Y(f)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),H1=function(e){Ln(t,e);function t(r){var n=e.call(this,r)||this;return n._isPaused=0,n._eventQueue=new Oe,n._mergeFn=r&&r.merge,n}return t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){var r=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(r))}else for(;!this._isPaused&&this._eventQueue.size!==0;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(r){this._listeners&&(this._isPaused!==0?this._eventQueue.push(r):e.prototype.fire.call(this,r))},t}(te),B1=function(){function e(){var t=this;this.hasListeners=!1,this.events=[],this.emitter=new te({onFirstListenerAdd:function(){return t.onFirstListenerAdd()},onLastListenerRemove:function(){return t.onLastListenerRemove()}})}return Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(t){var r=this,n={event:t,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);var i=function(){r.hasListeners&&r.unhook(n);var s=r.events.indexOf(n);r.events.splice(s,1)};return J(dn(i))},e.prototype.onFirstListenerAdd=function(){var t=this;this.hasListeners=!0,this.events.forEach(function(r){return t.hook(r)})},e.prototype.onLastListenerRemove=function(){var t=this;this.hasListeners=!1,this.events.forEach(function(r){return t.unhook(r)})},e.prototype.hook=function(t){var r=this;t.listener=t.event(function(n){return r.emitter.fire(n)})},e.prototype.unhook=function(t){t.listener&&t.listener.dispose(),t.listener=null},e.prototype.dispose=function(){this.emitter.dispose()},e}(),Y1=function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(t){var r=this;return function(n,i,u){return t(function(s){var f=r.buffers[r.buffers.length-1];f?f.push(function(){return n.call(i,s)}):n.call(i,s)},void 0,u)}},e.prototype.bufferEvents=function(t){var r=[];this.buffers.push(r);var n=t();return this.buffers.pop(),r.forEach(function(i){return i()}),n},e}(),j1=function(){function e(){var t=this;this.listening=!1,this.inputEvent=Ee.None,this.inputEventListener=re.None,this.emitter=new te({onFirstListenerDidAdd:function(){t.listening=!0,t.inputEventListener=t.inputEvent(t.emitter.fire,t.emitter)},onLastListenerRemove:function(){t.listening=!1,t.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(r){this.inputEvent=r,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=r(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}(),Tt=Object.freeze(function(e,t){var r=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(r)}}}),Pe;(function(e){function t(r){return r===e.None||r===e.Cancelled||r instanceof De?!0:!r||typeof r!="object"?!1:typeof r.isCancellationRequested=="boolean"&&typeof r.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Ee.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Tt})})(Pe||(Pe={}));var De=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?Tt:(this._emitter||(this._emitter=new te),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),bn=function(){function e(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new De),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof De&&this._token.cancel():this._token=Pe.Cancelled},e.prototype.dispose=function(t){t===void 0&&(t=!1),t&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof De&&this._token.dispose():this._token=Pe.None},e}(),Qe=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(t,r){this._keyCodeToStr[t]=r,this._strToKeyCode[r.toLowerCase()]=t},e.prototype.keyCodeToStr=function(t){return this._keyCodeToStr[t]},e.prototype.strToKeyCode=function(t){return this._strToKeyCode[t.toLowerCase()]||0},e}(),$e=new Qe,Xe=new Qe,Ze=new Qe;(function(){function e(t,r,n,i){n===void 0&&(n=r),i===void 0&&(i=n),$e.define(t,r),Xe.define(t,n),Ze.define(t,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")})();var Wt;(function(e){function t(s){return $e.keyCodeToStr(s)}e.toString=t;function r(s){return $e.strToKeyCode(s)}e.fromString=r;function n(s){return Xe.keyCodeToStr(s)}e.toUserSettingsUS=n;function i(s){return Ze.keyCodeToStr(s)}e.toUserSettingsGeneral=i;function u(s){return Xe.strToKeyCode(s)||Ze.strToKeyCode(s)}e.fromUserSettings=u})(Wt||(Wt={}));function yn(e,t){var r=(t&65535)<<16>>>0;return(e|r)>>>0}function G1(e,t){if(e===0)return null;var r=(e&65535)>>>0,n=(e&4294901760)>>>16;return n!==0?new Ke([Je(r,t),Je(n,t)]):new Ke([Je(r,t)])}function Je(e,t){var r=!!(e&2048),n=!!(e&256),i=t===2?n:r,u=!!(e&1024),s=!!(e&512),f=t===2?r:n,a=e&255;return new wn(i,u,s,f,a)}var wn=function(){function e(t,r,n,i,u){this.ctrlKey=t,this.shiftKey=r,this.altKey=n,this.metaKey=i,this.keyCode=u}return e.prototype.equals=function(t){return this.ctrlKey===t.ctrlKey&&this.shiftKey===t.shiftKey&&this.altKey===t.altKey&&this.metaKey===t.metaKey&&this.keyCode===t.keyCode},e.prototype.isModifierKey=function(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4},e.prototype.toChord=function(){return new Ke([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57},e}(),Ke=function(){function e(t){if(t.length===0)throw R("parts");this.parts=t}return e.prototype.equals=function(t){if(t===null||this.parts.length!==t.parts.length)return!1;for(var r=0;r<this.parts.length;r++)if(!this.parts[r].equals(t.parts[r]))return!1;return!0},e}(),z1=function(){function e(t,r,n,i,u,s){this.ctrlKey=t,this.shiftKey=r,this.altKey=n,this.metaKey=i,this.keyLabel=u,this.keyAriaLabel=s}return e}(),V1=function(){function e(){}return e}(),Sn=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])},e(r,n)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),An=function(e){Sn(t,e);function t(r,n,i,u){var s=e.call(this,r,n,i,u)||this;return s.selectionStartLineNumber=r,s.selectionStartColumn=n,s.positionLineNumber=i,s.positionColumn=u,s}return t.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(r){return t.selectionsEqual(this,r)},t.selectionsEqual=function(r,n){return r.selectionStartLineNumber===n.selectionStartLineNumber&&r.selectionStartColumn===n.selectionStartColumn&&r.positionLineNumber===n.positionLineNumber&&r.positionColumn===n.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(r,n){return this.getDirection()===0?new t(this.startLineNumber,this.startColumn,r,n):new t(r,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new de(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(r,n){return this.getDirection()===0?new t(r,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,r,n)},t.fromPositions=function(r,n){return n===void 0&&(n=r),new t(r.lineNumber,r.column,n.lineNumber,n.column)},t.liftSelection=function(r){return new t(r.selectionStartLineNumber,r.selectionStartColumn,r.positionLineNumber,r.positionColumn)},t.selectionsArrEqual=function(r,n){if(r&&!n||!r&&n)return!1;if(!r&&!n)return!0;if(r.length!==n.length)return!1;for(var i=0,u=r.length;i<u;i++)if(!this.selectionsEqual(r[i],n[i]))return!1;return!0},t.isISelection=function(r){return r&&typeof r.selectionStartLineNumber=="number"&&typeof r.selectionStartColumn=="number"&&typeof r.positionLineNumber=="number"&&typeof r.positionColumn=="number"},t.createWithDirection=function(r,n,i,u,s){return s===0?new t(r,n,i,u):new t(i,u,r,n)},t}(Le),Fn=function(){function e(t,r,n){this.offset=t|0,this.type=r,this.language=n}return e.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},e}(),O1=function(){function e(t,r){this.tokens=t,this.endState=r}return e}(),Q1=function(){function e(t,r){this.tokens=t,this.endState=r}return e}(),qt;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(qt||(qt={}));var Ht;(function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Ht||(Ht={}));var Bt;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.Snippet=25]="Snippet"})(Bt||(Bt={}));var Yt;(function(e){e[e.Deprecated=1]="Deprecated"})(Yt||(Yt={}));var jt;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(jt||(jt={}));var Gt;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(Gt||(Gt={}));var zt;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(zt||(zt={}));var Vt;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Vt||(Vt={}));var Ot;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Ot||(Ot={}));var Qt;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(Qt||(Qt={}));var $t;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.comments=13]="comments",e[e.contextmenu=14]="contextmenu",e[e.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",e[e.cursorBlinking=16]="cursorBlinking",e[e.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",e[e.cursorStyle=18]="cursorStyle",e[e.cursorSurroundingLines=19]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",e[e.cursorWidth=21]="cursorWidth",e[e.disableLayerHinting=22]="disableLayerHinting",e[e.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",e[e.dragAndDrop=24]="dragAndDrop",e[e.emptySelectionClipboard=25]="emptySelectionClipboard",e[e.extraEditorClassName=26]="extraEditorClassName",e[e.fastScrollSensitivity=27]="fastScrollSensitivity",e[e.find=28]="find",e[e.fixedOverflowWidgets=29]="fixedOverflowWidgets",e[e.folding=30]="folding",e[e.foldingStrategy=31]="foldingStrategy",e[e.foldingHighlight=32]="foldingHighlight",e[e.fontFamily=33]="fontFamily",e[e.fontInfo=34]="fontInfo",e[e.fontLigatures=35]="fontLigatures",e[e.fontSize=36]="fontSize",e[e.fontWeight=37]="fontWeight",e[e.formatOnPaste=38]="formatOnPaste",e[e.formatOnType=39]="formatOnType",e[e.glyphMargin=40]="glyphMargin",e[e.gotoLocation=41]="gotoLocation",e[e.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",e[e.hover=44]="hover",e[e.inDiffEditor=45]="inDiffEditor",e[e.letterSpacing=46]="letterSpacing",e[e.lightbulb=47]="lightbulb",e[e.lineDecorationsWidth=48]="lineDecorationsWidth",e[e.lineHeight=49]="lineHeight",e[e.lineNumbers=50]="lineNumbers",e[e.lineNumbersMinChars=51]="lineNumbersMinChars",e[e.links=52]="links",e[e.matchBrackets=53]="matchBrackets",e[e.minimap=54]="minimap",e[e.mouseStyle=55]="mouseStyle",e[e.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=57]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",e[e.multiCursorModifier=59]="multiCursorModifier",e[e.multiCursorPaste=60]="multiCursorPaste",e[e.occurrencesHighlight=61]="occurrencesHighlight",e[e.overviewRulerBorder=62]="overviewRulerBorder",e[e.overviewRulerLanes=63]="overviewRulerLanes",e[e.parameterHints=64]="parameterHints",e[e.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",e[e.quickSuggestions=66]="quickSuggestions",e[e.quickSuggestionsDelay=67]="quickSuggestionsDelay",e[e.readOnly=68]="readOnly",e[e.renderControlCharacters=69]="renderControlCharacters",e[e.renderIndentGuides=70]="renderIndentGuides",e[e.renderFinalNewline=71]="renderFinalNewline",e[e.renderLineHighlight=72]="renderLineHighlight",e[e.renderValidationDecorations=73]="renderValidationDecorations",e[e.renderWhitespace=74]="renderWhitespace",e[e.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",e[e.roundedSelection=76]="roundedSelection",e[e.rulers=77]="rulers",e[e.scrollbar=78]="scrollbar",e[e.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=80]="scrollBeyondLastLine",e[e.selectionClipboard=81]="selectionClipboard",e[e.selectionHighlight=82]="selectionHighlight",e[e.selectOnLineNumbers=83]="selectOnLineNumbers",e[e.showFoldingControls=84]="showFoldingControls",e[e.showUnused=85]="showUnused",e[e.snippetSuggestions=86]="snippetSuggestions",e[e.smoothScrolling=87]="smoothScrolling",e[e.stopRenderingLineAfter=88]="stopRenderingLineAfter",e[e.suggest=89]="suggest",e[e.suggestFontSize=90]="suggestFontSize",e[e.suggestLineHeight=91]="suggestLineHeight",e[e.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",e[e.suggestSelection=93]="suggestSelection",e[e.tabCompletion=94]="tabCompletion",e[e.useTabStops=95]="useTabStops",e[e.wordSeparators=96]="wordSeparators",e[e.wordWrap=97]="wordWrap",e[e.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=100]="wordWrapColumn",e[e.wordWrapMinified=101]="wordWrapMinified",e[e.wrappingIndent=102]="wrappingIndent",e[e.wrappingStrategy=103]="wrappingStrategy",e[e.editorClassName=104]="editorClassName",e[e.pixelRatio=105]="pixelRatio",e[e.tabFocusMode=106]="tabFocusMode",e[e.layoutInfo=107]="layoutInfo",e[e.wrappingInfo=108]="wrappingInfo"})($t||($t={}));var Xt;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Xt||(Xt={}));var Zt;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(Zt||(Zt={}));var Jt;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(Jt||(Jt={}));var et;(function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"})(et||(et={}));var tt;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(tt||(tt={}));var rt;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(rt||(rt={}));var Kt;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(Kt||(Kt={}));var er;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(er||(er={}));var tr;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(tr||(tr={}));var rr;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(rr||(rr={}));var nr;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(nr||(nr={}));var ir;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(ir||(ir={}));var ur;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(ur||(ur={}));var sr;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(sr||(sr={}));var nt;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(nt||(nt={}));var or;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(or||(or={}));var ar;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(ar||(ar={}));var fr;(function(e){e[e.Deprecated=1]="Deprecated"})(fr||(fr={}));var lr;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(lr||(lr={}));var cr;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(cr||(cr={}));var hr;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(hr||(hr={}));var vr;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(vr||(vr={}));var Mn=function(){function e(){}return e.chord=function(t,r){return yn(t,r)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();function En(){return{editor:void 0,languages:void 0,CancellationTokenSource:bn,Emitter:te,KeyCode:et,KeyMod:Mn,Position:de,Range:Le,Selection:An,SelectionDirection:nt,MarkerSeverity:tt,MarkerTag:rt,Uri:Te,Token:Fn}}var Pn=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])},e(r,n)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),be=function(e,t,r,n){function i(u){return u instanceof r?u:new r(function(s){s(u)})}return new(r||(r=Promise))(function(u,s){function f(c){try{o(n.next(c))}catch(l){s(l)}}function a(c){try{o(n.throw(c))}catch(l){s(l)}}function o(c){c.done?u(c.value):i(c.value).then(f,a)}o((n=n.apply(e,t||[])).next())})},ye=function(e,t){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(o){return function(c){return a([o,c])}}function a(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=t.call(e,r)}catch(c){o=[6,c],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Dn=function(e){Pn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(r){return this._lines[r-1]},t.prototype.getWordAtPosition=function(r,n){var i=ln(r.column,on(n),this._lines[r.lineNumber-1],0);return i?new Le(r.lineNumber,i.startColumn,r.lineNumber,i.endColumn):null},t.prototype.createWordIterator=function(r){var n=this,i,u=0,s,f=0,a=[],o=function c(){if(f<a.length){var l=s.substring(a[f].start,a[f].end);return f+=1,i?i.value=l:i={done:!1,value:l},i}else return u>=n._lines.length?ae:(s=n._lines[u],a=n._wordenize(s,r),f=0,u+=1,c())};return{next:o}},t.prototype.getLineWords=function(r,n){for(var i=this._lines[r-1],u=this._wordenize(i,n),s=[],f=0,a=u;f<a.length;f++){var o=a[f];s.push({word:i.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1})}return s},t.prototype._wordenize=function(r,n){var i=[],u;for(n.lastIndex=0;(u=n.exec(r))&&u[0].length!==0;)i.push({start:u.index,end:u.index+u[0].length});return i},t.prototype.getValueInRange=function(r){if(r=this._validateRange(r),r.startLineNumber===r.endLineNumber)return this._lines[r.startLineNumber-1].substring(r.startColumn-1,r.endColumn-1);var n=this._eol,i=r.startLineNumber-1,u=r.endLineNumber-1,s=[];s.push(this._lines[i].substring(r.startColumn-1));for(var f=i+1;f<u;f++)s.push(this._lines[f]);return s.push(this._lines[u].substring(0,r.endColumn-1)),s.join(n)},t.prototype.offsetAt=function(r){return r=this._validatePosition(r),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(r.lineNumber-2)+(r.column-1)},t.prototype.positionAt=function(r){r=Math.floor(r),r=Math.max(0,r),this._ensureLineStarts();var n=this._lineStarts.getIndexOf(r),i=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,i)}},t.prototype._validateRange=function(r){var n=this._validatePosition({lineNumber:r.startLineNumber,column:r.startColumn}),i=this._validatePosition({lineNumber:r.endLineNumber,column:r.endColumn});return n.lineNumber!==r.startLineNumber||n.column!==r.startColumn||i.lineNumber!==r.endLineNumber||i.column!==r.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}:r},t.prototype._validatePosition=function(r){if(!de.isIPosition(r))throw new Error("bad position");var n=r.lineNumber,i=r.column,u=!1;if(n<1)n=1,i=1,u=!0;else if(n>this._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,u=!0;else{var s=this._lines[n-1].length+1;i<1?(i=1,u=!0):i>s&&(i=s,u=!0)}return u?{lineNumber:n,column:i}:r},t}(rn),mr=function(){function e(t,r){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=r,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(t){return this._models[t]},e.prototype._getModels=function(){var t=this,r=[];return Object.keys(this._models).forEach(function(n){return r.push(t._models[n])}),r},e.prototype.acceptNewModel=function(t){this._models[t.url]=new Dn(Te.parse(t.url),t.lines,t.EOL,t.versionId)},e.prototype.acceptModelChanged=function(t,r){if(!!this._models[t]){var n=this._models[t];n.onEvents(r)}},e.prototype.acceptRemovedModel=function(t){!this._models[t]||delete this._models[t]},e.prototype.computeDiff=function(t,r,n,i){return be(this,void 0,void 0,function(){var u,s,f,a,o,c,l;return ye(this,function(_){return u=this._getModel(t),s=this._getModel(r),!u||!s?[2,null]:(f=u.getLinesContent(),a=s.getLinesContent(),o=new Kr(f,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}),c=o.computeDiff(),l=c.changes.length>0?!1:this._modelsAreIdentical(u,s),[2,{quitEarly:c.quitEarly,identical:l,changes:c.changes}])})})},e.prototype._modelsAreIdentical=function(t,r){var n=t.getLineCount(),i=r.getLineCount();if(n!==i)return!1;for(var u=1;u<=n;u++){var s=t.getLineContent(u),f=r.getLineContent(u);if(s!==f)return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,r){return be(this,void 0,void 0,function(){var n,i,u,s,f,a,o,c,l,_,d,N,F,P,C,U,m,p;return ye(this,function(g){if(n=this._getModel(t),!n)return[2,r];for(i=[],u=void 0,r=vt(r,function(L,M){if(L.range&&M.range)return Le.compareRangesUsingStarts(L.range,M.range);var A=L.range?0:1,I=M.range?0:1;return A-I}),s=0,f=r;s<f.length;s++)if(a=f[s],o=a.range,c=a.text,l=a.eol,typeof l=="number"&&(u=l),!(Le.isEmpty(o)&&!c)&&(_=n.getValueInRange(o),c=c.replace(/\r\n|\n|\r/g,n.eol),_!==c)){if(Math.max(c.length,_.length)>e._diffLimit){i.push({range:o,text:c});continue}for(d=Ar(_,c,!1),N=n.offsetAt(Le.lift(o).getStartPosition()),F=0,P=d;F<P.length;F++)C=P[F],U=n.positionAt(N+C.originalStart),m=n.positionAt(N+C.originalStart+C.originalLength),p={text:c.substr(C.modifiedStart,C.modifiedLength),range:{startLineNumber:U.lineNumber,startColumn:U.column,endLineNumber:m.lineNumber,endColumn:m.column}},n.getValueInRange(p.range)!==p.text&&i.push(p)}return typeof u=="number"&&i.push({eol:u,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),[2,i]})})},e.prototype.computeLinks=function(t){return be(this,void 0,void 0,function(){var r;return ye(this,function(n){return r=this._getModel(t),r?[2,pn(r)]:[2,null]})})},e.prototype.textualSuggest=function(t,r,n,i){return be(this,void 0,void 0,function(){var u,s,f,a,o,c,l,_;return ye(this,function(d){if(u=this._getModel(t),!u)return[2,null];for(s=[],f=new Set,a=new RegExp(n,i),o=u.getWordAtPosition(r,a),o&&f.add(u.getValueInRange(o)),c=u.createWordIterator(a),l=c.next();!l.done&&f.size<=e._suggestionsLimit;l=c.next())_=l.value,!f.has(_)&&(f.add(_),!!isNaN(Number(_))&&s.push(_));return[2,s]})})},e.prototype.computeWordRanges=function(t,r,n,i){return be(this,void 0,void 0,function(){var u,s,f,a,o,c,l,_,d;return ye(this,function(N){if(u=this._getModel(t),!u)return[2,Object.create(null)];for(s=new RegExp(n,i),f=Object.create(null),a=r.startLineNumber;a<r.endLineNumber;a++)for(o=u.getLineWords(a,s),c=0,l=o;c<l.length;c++)_=l[c],!!isNaN(Number(_.word))&&(d=f[_.word],d||(d=[],f[_.word]=d),d.push({startLineNumber:a,startColumn:_.startColumn,endLineNumber:a,endColumn:_.endColumn}));return[2,f]})})},e.prototype.navigateValueSet=function(t,r,n,i,u){return be(this,void 0,void 0,function(){var s,f,a,o,c,l;return ye(this,function(_){return s=this._getModel(t),s?(f=new RegExp(i,u),r.startColumn===r.endColumn&&(r={startLineNumber:r.startLineNumber,startColumn:r.startColumn,endLineNumber:r.endLineNumber,endColumn:r.endColumn+1}),a=s.getValueInRange(r),o=s.getWordAtPosition({lineNumber:r.startLineNumber,column:r.startColumn},f),o?(c=s.getValueInRange(o),l=gn.INSTANCE.navigateValueSet(r,a,o,c,n),[2,l]):[2,null]):[2,null]})})},e.prototype.loadForeignModule=function(t,r,n){var i=this,u=function(o,c){return i._host.fhr(o,c)},s=ke(n,u),f={host:s,getMirrorModels:function(){return i._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(f,r),Promise.resolve(Ae(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))},e.prototype.fmr=function(t,r){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,r))}catch(n){return Promise.reject(n)}},e._diffLimit=1e5,e._suggestionsLimit=1e4,e}();function $1(e){return new mr(e,null)}typeof importScripts=="function"&&(ne.a.monaco=En());var it=!1;function _r(e){if(!it){it=!0;var t=new ht(function(r){self.postMessage(r)},function(r){return new mr(r,e)});self.onmessage=function(r){t.onmessage(r.data)}}}self.onmessage=function(e){it||_r(null)}},IyRk:function(ue,E){(function(T){ue.exports=function(){var y={873:function($){var h;h=function(){return this}();try{h=h||new Function("return this")()}catch(w){typeof window=="object"&&(h=window)}$.exports=h}},k={};function Y(G){if(k[G])return k[G].exports;var $=k[G]={exports:{}},h=!0;try{y[G]($,$.exports,Y),h=!1}finally{h&&delete k[G]}return $.exports}return Y.ab=T+"/",Y(873)}()}).call(this,"/")},MNsG:function(ue,E,T){"use strict";(function(y,k){T.d(E,"c",function(){return ve}),T.d(E,"b",function(){return ne}),T.d(E,"a",function(){return ie});var Y="en",G=!1,$=!1,h=!1,w=!1,D=!1,R=!1,B=void 0,z=Y,X=void 0,W=void 0,v=typeof y!="undefined"&&typeof y.versions!="undefined"&&typeof y.versions.electron!="undefined"&&y.type==="renderer";if(typeof navigator=="object"&&!v)W=navigator.userAgent,G=W.indexOf("Windows")>=0,$=W.indexOf("Macintosh")>=0,R=W.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,h=W.indexOf("Linux")>=0,D=!0,B=navigator.language,z=B;else if(typeof y=="object"){G=y.platform==="win32",$=y.platform==="darwin",h=y.platform==="linux",B=Y,z=Y;var S=Object({NODE_ENV:"production"}).VSCODE_NLS_CONFIG;if(S)try{var x=JSON.parse(S),q=x.availableLanguages["*"];B=x.locale,z=q||Y,X=x._translationsConfigFile}catch(ot){}w=!0}var J=0;$?J=1:G?J=3:h&&(J=2);var ve=G,re=$,Se=h,le=w,ne=D,K=R,ut=typeof self=="object"?self:typeof k=="object"?k:{},ie=ut,st=function(){if(ie.setImmediate)return ie.setImmediate.bind(ie);if(typeof ie.postMessage=="function"&&!ie.importScripts){var me=[];ie.addEventListener("message",function(se){if(se.data&&se.data.vscodeSetImmediateId)for(var ce=0,Ue=me.length;ce<Ue;ce++){var Ce=me[ce];if(Ce.id===se.data.vscodeSetImmediateId){me.splice(ce,1),Ce.callback();return}}});var Re=0;return function(se){var ce=++Re;me.push({id:ce,callback:se}),ie.postMessage({vscodeSetImmediateId:ce},"*")}}if(typeof y!="undefined"&&typeof y.nextTick=="function")return y.nextTick.bind(y);var at=Promise.resolve();return function(se){return at.then(se)}}(),pr=$?2:G?1:3}).call(this,T("Q2Ig"),T("IyRk"))},Q2Ig:function(ue,E,T){E.nextTick=function(k){var Y=Array.prototype.slice.call(arguments);Y.shift(),setTimeout(function(){k.apply(null,Y)},0)},E.platform=E.arch=E.execPath=E.title="browser",E.pid=1,E.browser=!0,E.env={},E.argv=[],E.binding=function(y){throw new Error("No such module. (Possibly not yet loaded)")},function(){var y="/",k;E.cwd=function(){return y},E.chdir=function(Y){k||(k=T("33yf")),y=k.resolve(Y,y)}}(),E.exit=E.kill=E.umask=E.dlopen=E.uptime=E.memoryUsage=E.uvCounters=function(){},E.features={}},URDS:function(ue,E,T){(function(y){/*!
Copyright (c) 2014 Taylor Hakes
Copyright (c) 2014 Forbes Lindesay
*/(function(k,Y){Y()})(this,function(){"use strict";function k(v){var S=this.constructor;return this.then(function(x){return S.resolve(v()).then(function(){return x})},function(x){return S.resolve(v()).then(function(){return S.reject(x)})})}var Y=setTimeout;function G(){}function $(v,S){return function(){v.apply(S,arguments)}}function h(v){if(!(this instanceof h))throw new TypeError("Promises must be constructed via new");if(typeof v!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],X(v,this)}function w(v,S){for(;v._state===3;)v=v._value;if(v._state===0){v._deferreds.push(S);return}v._handled=!0,h._immediateFn(function(){var x=v._state===1?S.onFulfilled:S.onRejected;if(x===null){(v._state===1?D:R)(S.promise,v._value);return}var q;try{q=x(v._value)}catch(J){R(S.promise,J);return}D(S.promise,q)})}function D(v,S){try{if(S===v)throw new TypeError("A promise cannot be resolved with itself.");if(S&&(typeof S=="object"||typeof S=="function")){var x=S.then;if(S instanceof h){v._state=3,v._value=S,B(v);return}else if(typeof x=="function"){X($(x,S),v);return}}v._state=1,v._value=S,B(v)}catch(q){R(v,q)}}function R(v,S){v._state=2,v._value=S,B(v)}function B(v){v._state===2&&v._deferreds.length===0&&h._immediateFn(function(){v._handled||h._unhandledRejectionFn(v._value)});for(var S=0,x=v._deferreds.length;S<x;S++)w(v,v._deferreds[S]);v._deferreds=null}function z(v,S,x){this.onFulfilled=typeof v=="function"?v:null,this.onRejected=typeof S=="function"?S:null,this.promise=x}function X(v,S){var x=!1;try{v(function(q){x||(x=!0,D(S,q))},function(q){x||(x=!0,R(S,q))})}catch(q){if(x)return;x=!0,R(S,q)}}h.prototype.catch=function(v){return this.then(null,v)},h.prototype.then=function(v,S){var x=new this.constructor(G);return w(this,new z(v,S,x)),x},h.prototype.finally=k,h.all=function(v){return new h(function(S,x){if(!v||typeof v.length=="undefined")throw new TypeError("Promise.all accepts an array");var q=Array.prototype.slice.call(v);if(q.length===0)return S([]);var J=q.length;function ve(Se,le){try{if(le&&(typeof le=="object"||typeof le=="function")){var ne=le.then;if(typeof ne=="function"){ne.call(le,function(K){ve(Se,K)},x);return}}q[Se]=le,--J==0&&S(q)}catch(K){x(K)}}for(var re=0;re<q.length;re++)ve(re,q[re])})},h.resolve=function(v){return v&&typeof v=="object"&&v.constructor===h?v:new h(function(S){S(v)})},h.reject=function(v){return new h(function(S,x){x(v)})},h.race=function(v){return new h(function(S,x){for(var q=0,J=v.length;q<J;q++)v[q].then(S,x)})},h._immediateFn=typeof setImmediate=="function"&&function(v){setImmediate(v)}||function(v){Y(v,0)},h._unhandledRejectionFn=function(S){typeof console!="undefined"&&console&&console.warn("Possible Unhandled Promise Rejection:",S)};var W=function(){if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof y!="undefined")return y;throw new Error("unable to locate global object")}();"Promise"in W?W.Promise.prototype.finally||(W.Promise.prototype.finally=k):W.Promise=h})}).call(this,T("IyRk"))}});