-
Notifications
You must be signed in to change notification settings - Fork 0
/
editor.worker.js
76 lines (67 loc) · 198 KB
/
editor.worker.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
(function(){var Ln={49:function(U,y,g){"use strict";var h=g(224),L=g(500);function P(S){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},P(S)}function x(S,b){for(var l=0;l<b.length;l++){var W=b[l];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(S,G(W.key),W)}}function D(S,b,l){return b&&x(S.prototype,b),l&&x(S,l),Object.defineProperty(S,"prototype",{writable:!1}),S}function G(S){var b=q(S,"string");return P(b)==="symbol"?b:String(b)}function q(S,b){if(P(S)!=="object"||S===null)return S;var l=S[Symbol.toPrimitive];if(l!==void 0){var W=l.call(S,b||"default");if(P(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(S)}function w(S,b){if(!(S instanceof b))throw new TypeError("Cannot call a class as a function")}var E=g(895),V=E.codes,O=V.ERR_AMBIGUOUS_ARGUMENT,I=V.ERR_INVALID_ARG_TYPE,$=V.ERR_INVALID_ARG_VALUE,j=V.ERR_INVALID_RETURN_VALUE,J=V.ERR_MISSING_ARGS,se=g(960),ce=g(585),k=ce.inspect,K=g(585).types,me=K.isPromise,Ee=K.isRegExp,M=g(724)(),F=g(75)(),Q=g(791)("RegExp.prototype.test"),ee=new Map,Ae,_e,ke,Ne,ue;function Pe(){var S=g(984);Ae=S.isDeepEqual,_e=S.isDeepStrictEqual}var Fe=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,Oe=null,Be=function(b){return Oe[b.charCodeAt(0)]},ze=!1,ge=U.exports=p,C={};function A(S){throw S.message instanceof Error?S.message:new se(S)}function B(S,b,l,W,de){var pe=arguments.length,je;if(pe===0)je="Failed";else if(pe===1)l=S,S=void 0;else{if(ze===!1){ze=!0;var Ke=h.emitWarning?h.emitWarning:L.warn.bind(L);Ke("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}pe===2&&(W="!=")}if(l instanceof Error)throw l;var Ze={actual:S,expected:b,operator:W===void 0?"fail":W,stackStartFn:de||B};l!==void 0&&(Ze.message=l);var d=new se(Ze);throw je&&(d.message=je,d.generatedMessage=!0),d}ge.fail=B,ge.AssertionError=se;function c(S,b,l,W){if(!l){var de=!1;if(b===0)de=!0,W="No value argument passed to `assert.ok()`";else if(W instanceof Error)throw W;var pe=new se({actual:l,expected:!0,message:W,operator:"==",stackStartFn:S});throw pe.generatedMessage=de,pe}}function p(){for(var S=arguments.length,b=new Array(S),l=0;l<S;l++)b[l]=arguments[l];c.apply(void 0,[p,b.length].concat(b))}ge.ok=p,ge.equal=function S(b,l,W){if(arguments.length<2)throw new J("actual","expected");b!=l&&A({actual:b,expected:l,message:W,operator:"==",stackStartFn:S})},ge.notEqual=function S(b,l,W){if(arguments.length<2)throw new J("actual","expected");b==l&&A({actual:b,expected:l,message:W,operator:"!=",stackStartFn:S})},ge.deepEqual=function S(b,l,W){if(arguments.length<2)throw new J("actual","expected");Ae===void 0&&Pe(),Ae(b,l)||A({actual:b,expected:l,message:W,operator:"deepEqual",stackStartFn:S})},ge.notDeepEqual=function S(b,l,W){if(arguments.length<2)throw new J("actual","expected");Ae===void 0&&Pe(),Ae(b,l)&&A({actual:b,expected:l,message:W,operator:"notDeepEqual",stackStartFn:S})},ge.deepStrictEqual=function S(b,l,W){if(arguments.length<2)throw new J("actual","expected");Ae===void 0&&Pe(),_e(b,l)||A({actual:b,expected:l,message:W,operator:"deepStrictEqual",stackStartFn:S})},ge.notDeepStrictEqual=N;function N(S,b,l){if(arguments.length<2)throw new J("actual","expected");Ae===void 0&&Pe(),_e(S,b)&&A({actual:S,expected:b,message:l,operator:"notDeepStrictEqual",stackStartFn:N})}ge.strictEqual=function S(b,l,W){if(arguments.length<2)throw new J("actual","expected");F(b,l)||A({actual:b,expected:l,message:W,operator:"strictEqual",stackStartFn:S})},ge.notStrictEqual=function S(b,l,W){if(arguments.length<2)throw new J("actual","expected");F(b,l)&&A({actual:b,expected:l,message:W,operator:"notStrictEqual",stackStartFn:S})};var te=D(function S(b,l,W){var de=this;w(this,S),l.forEach(function(pe){pe in b&&(W!==void 0&&typeof W[pe]=="string"&&Ee(b[pe])&&Q(b[pe],W[pe])?de[pe]=W[pe]:de[pe]=b[pe])})});function Z(S,b,l,W,de,pe){if(!(l in S)||!_e(S[l],b[l])){if(!W){var je=new te(S,de),Ke=new te(b,de,S),Ze=new se({actual:je,expected:Ke,operator:"deepStrictEqual",stackStartFn:pe});throw Ze.actual=S,Ze.expected=b,Ze.operator=pe.name,Ze}A({actual:S,expected:b,message:W,operator:pe.name,stackStartFn:pe})}}function be(S,b,l,W){if(typeof b!="function"){if(Ee(b))return Q(b,S);if(arguments.length===2)throw new I("expected",["Function","RegExp"],b);if(P(S)!=="object"||S===null){var de=new se({actual:S,expected:b,message:l,operator:"deepStrictEqual",stackStartFn:W});throw de.operator=W.name,de}var pe=Object.keys(b);if(b instanceof Error)pe.push("name","message");else if(pe.length===0)throw new $("error",b,"may not be an empty object");return Ae===void 0&&Pe(),pe.forEach(function(je){typeof S[je]=="string"&&Ee(b[je])&&Q(b[je],S[je])||Z(S,b,je,l,pe,W)}),!0}return b.prototype!==void 0&&S instanceof b?!0:Error.isPrototypeOf(b)?!1:b.call({},S)===!0}function Y(S){if(typeof S!="function")throw new I("fn","Function",S);try{S()}catch(b){return b}return C}function re(S){return me(S)||S!==null&&P(S)==="object"&&typeof S.then=="function"&&typeof S.catch=="function"}function X(S){return Promise.resolve().then(function(){var b;if(typeof S=="function"){if(b=S(),!re(b))throw new j("instance of Promise","promiseFn",b)}else if(re(S))b=S;else throw new I("promiseFn",["Function","Promise"],S);return Promise.resolve().then(function(){return b}).then(function(){return C}).catch(function(l){return l})})}function De(S,b,l,W){if(typeof l=="string"){if(arguments.length===4)throw new I("error",["Object","Error","Function","RegExp"],l);if(P(b)==="object"&&b!==null){if(b.message===l)throw new O("error/message",'The error message "'.concat(b.message,'" is identical to the message.'))}else if(b===l)throw new O("error/message",'The error "'.concat(b,'" is identical to the message.'));W=l,l=void 0}else if(l!=null&&P(l)!=="object"&&typeof l!="function")throw new I("error",["Object","Error","Function","RegExp"],l);if(b===C){var de="";l&&l.name&&(de+=" (".concat(l.name,")")),de+=W?": ".concat(W):".";var pe=S.name==="rejects"?"rejection":"exception";A({actual:void 0,expected:l,operator:S.name,message:"Missing expected ".concat(pe).concat(de),stackStartFn:S})}if(l&&!be(b,l,W,S))throw b}function Ve(S,b,l,W){if(b!==C){if(typeof l=="string"&&(W=l,l=void 0),!l||be(b,l)){var de=W?": ".concat(W):".",pe=S.name==="doesNotReject"?"rejection":"exception";A({actual:b,expected:l,operator:S.name,message:"Got unwanted ".concat(pe).concat(de,`
`)+'Actual message: "'.concat(b&&b.message,'"'),stackStartFn:S})}throw b}}ge.throws=function S(b){for(var l=arguments.length,W=new Array(l>1?l-1:0),de=1;de<l;de++)W[de-1]=arguments[de];De.apply(void 0,[S,Y(b)].concat(W))},ge.rejects=function S(b){for(var l=arguments.length,W=new Array(l>1?l-1:0),de=1;de<l;de++)W[de-1]=arguments[de];return X(b).then(function(pe){return De.apply(void 0,[S,pe].concat(W))})},ge.doesNotThrow=function S(b){for(var l=arguments.length,W=new Array(l>1?l-1:0),de=1;de<l;de++)W[de-1]=arguments[de];Ve.apply(void 0,[S,Y(b)].concat(W))},ge.doesNotReject=function S(b){for(var l=arguments.length,W=new Array(l>1?l-1:0),de=1;de<l;de++)W[de-1]=arguments[de];return X(b).then(function(pe){return Ve.apply(void 0,[S,pe].concat(W))})},ge.ifError=function S(b){if(b!=null){var l="ifError got unwanted exception: ";P(b)==="object"&&typeof b.message=="string"?b.message.length===0&&b.constructor?l+=b.constructor.name:l+=b.message:l+=k(b);var W=new se({actual:b,expected:null,operator:"ifError",message:l,stackStartFn:S}),de=b.stack;if(typeof de=="string"){var pe=de.split(`
`);pe.shift();for(var je=W.stack.split(`
`),Ke=0;Ke<pe.length;Ke++){var Ze=je.indexOf(pe[Ke]);if(Ze!==-1){je=je.slice(0,Ze);break}}W.stack="".concat(je.join(`
`),`
`).concat(pe.join(`
`))}throw W}};function $e(S,b,l,W,de){if(!Ee(b))throw new I("regexp","RegExp",b);var pe=de==="match";if(typeof S!="string"||Q(b,S)!==pe){if(l instanceof Error)throw l;var je=!l;l=l||(typeof S!="string"?'The "string" argument must be of type string. Received type '+"".concat(P(S)," (").concat(k(S),")"):(pe?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(k(b),`. Input:
`).concat(k(S),`
`));var Ke=new se({actual:S,expected:b,message:l,operator:de,stackStartFn:W});throw Ke.generatedMessage=je,Ke}}ge.match=function S(b,l,W){$e(b,l,W,S,"match")},ge.doesNotMatch=function S(b,l,W){$e(b,l,W,S,"doesNotMatch")};function qe(){for(var S=arguments.length,b=new Array(S),l=0;l<S;l++)b[l]=arguments[l];c.apply(void 0,[qe,b.length].concat(b))}ge.strict=M(qe,ge,{equal:ge.strictEqual,deepEqual:ge.deepStrictEqual,notEqual:ge.notStrictEqual,notDeepEqual:ge.notDeepStrictEqual}),ge.strict.strict=ge.strict},960:function(U,y,g){"use strict";var h=g(224);function L(C,A){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(C);A&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(C,p).enumerable})),B.push.apply(B,c)}return B}function P(C){for(var A=1;A<arguments.length;A++){var B=arguments[A]!=null?arguments[A]:{};A%2?L(Object(B),!0).forEach(function(c){x(C,c,B[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):L(Object(B)).forEach(function(c){Object.defineProperty(C,c,Object.getOwnPropertyDescriptor(B,c))})}return C}function x(C,A,B){return A=w(A),A in C?Object.defineProperty(C,A,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[A]=B,C}function D(C,A){if(!(C instanceof A))throw new TypeError("Cannot call a class as a function")}function G(C,A){for(var B=0;B<A.length;B++){var c=A[B];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(C,w(c.key),c)}}function q(C,A,B){return A&&G(C.prototype,A),B&&G(C,B),Object.defineProperty(C,"prototype",{writable:!1}),C}function w(C){var A=E(C,"string");return me(A)==="symbol"?A:String(A)}function E(C,A){if(me(C)!=="object"||C===null)return C;var B=C[Symbol.toPrimitive];if(B!==void 0){var c=B.call(C,A||"default");if(me(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(C)}function V(C,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(A&&A.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),A&&k(C,A)}function O(C){var A=se();return function(){var c=K(C),p;if(A){var N=K(this).constructor;p=Reflect.construct(c,arguments,N)}else p=c.apply(this,arguments);return I(this,p)}}function I(C,A){if(A&&(me(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $(C)}function $(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function j(C){var A=typeof Map=="function"?new Map:void 0;return j=function(c){if(c===null||!ce(c))return c;if(typeof c!="function")throw new TypeError("Super expression must either be null or a function");if(typeof A<"u"){if(A.has(c))return A.get(c);A.set(c,p)}function p(){return J(c,arguments,K(this).constructor)}return p.prototype=Object.create(c.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),k(p,c)},j(C)}function J(C,A,B){return se()?J=Reflect.construct.bind():J=function(p,N,te){var Z=[null];Z.push.apply(Z,N);var be=Function.bind.apply(p,Z),Y=new be;return te&&k(Y,te.prototype),Y},J.apply(null,arguments)}function se(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ce(C){return Function.toString.call(C).indexOf("[native code]")!==-1}function k(C,A){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,p){return c.__proto__=p,c},k(C,A)}function K(C){return K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(B){return B.__proto__||Object.getPrototypeOf(B)},K(C)}function me(C){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},me(C)}var Ee=g(585),M=Ee.inspect,F=g(895),Q=F.codes.ERR_INVALID_ARG_TYPE;function ee(C,A,B){return(B===void 0||B>C.length)&&(B=C.length),C.substring(B-A.length,B)===A}function Ae(C,A){if(A=Math.floor(A),C.length==0||A==0)return"";var B=C.length*A;for(A=Math.floor(Math.log(A)/Math.log(2));A;)C+=C,A--;return C+=C.substring(0,B-C.length),C}var _e="",ke="",Ne="",ue="",Pe={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},Fe=10;function Oe(C){var A=Object.keys(C),B=Object.create(Object.getPrototypeOf(C));return A.forEach(function(c){B[c]=C[c]}),Object.defineProperty(B,"message",{value:C.message}),B}function Be(C){return M(C,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function ze(C,A,B){var c="",p="",N=0,te="",Z=!1,be=Be(C),Y=be.split(`
`),re=Be(A).split(`
`),X=0,De="";if(B==="strictEqual"&&me(C)==="object"&&me(A)==="object"&&C!==null&&A!==null&&(B="strictEqualObject"),Y.length===1&&re.length===1&&Y[0]!==re[0]){var Ve=Y[0].length+re[0].length;if(Ve<=Fe){if((me(C)!=="object"||C===null)&&(me(A)!=="object"||A===null)&&(C!==0||A!==0))return"".concat(Pe[B],`
`)+"".concat(Y[0]," !== ").concat(re[0],`
`)}else if(B!=="strictEqualObject"){var $e=h.stderr&&h.stderr.isTTY?h.stderr.columns:80;if(Ve<$e){for(;Y[0][X]===re[0][X];)X++;X>2&&(De=`
`.concat(Ae(" ",X),"^"),X=0)}}}for(var qe=Y[Y.length-1],S=re[re.length-1];qe===S&&(X++<2?te=`
`.concat(qe).concat(te):c=qe,Y.pop(),re.pop(),!(Y.length===0||re.length===0));)qe=Y[Y.length-1],S=re[re.length-1];var b=Math.max(Y.length,re.length);if(b===0){var l=be.split(`
`);if(l.length>30)for(l[26]="".concat(_e,"...").concat(ue);l.length>27;)l.pop();return"".concat(Pe.notIdentical,`
`).concat(l.join(`
`),`
`)}X>3&&(te=`
`.concat(_e,"...").concat(ue).concat(te),Z=!0),c!==""&&(te=`
`.concat(c).concat(te),c="");var W=0,de=Pe[B]+`
`.concat(ke,"+ actual").concat(ue," ").concat(Ne,"- expected").concat(ue),pe=" ".concat(_e,"...").concat(ue," Lines skipped");for(X=0;X<b;X++){var je=X-N;if(Y.length<X+1)je>1&&X>2&&(je>4?(p+=`
`.concat(_e,"...").concat(ue),Z=!0):je>3&&(p+=`
`.concat(re[X-2]),W++),p+=`
`.concat(re[X-1]),W++),N=X,c+=`
`.concat(Ne,"-").concat(ue," ").concat(re[X]),W++;else if(re.length<X+1)je>1&&X>2&&(je>4?(p+=`
`.concat(_e,"...").concat(ue),Z=!0):je>3&&(p+=`
`.concat(Y[X-2]),W++),p+=`
`.concat(Y[X-1]),W++),N=X,p+=`
`.concat(ke,"+").concat(ue," ").concat(Y[X]),W++;else{var Ke=re[X],Ze=Y[X],d=Ze!==Ke&&(!ee(Ze,",")||Ze.slice(0,-1)!==Ke);d&&ee(Ke,",")&&Ke.slice(0,-1)===Ze&&(d=!1,Ze+=","),d?(je>1&&X>2&&(je>4?(p+=`
`.concat(_e,"...").concat(ue),Z=!0):je>3&&(p+=`
`.concat(Y[X-2]),W++),p+=`
`.concat(Y[X-1]),W++),N=X,p+=`
`.concat(ke,"+").concat(ue," ").concat(Ze),c+=`
`.concat(Ne,"-").concat(ue," ").concat(Ke),W+=2):(p+=c,c="",(je===1||X===0)&&(p+=`
`.concat(Ze),W++))}if(W>20&&X<b-2)return"".concat(de).concat(pe,`
`).concat(p,`
`).concat(_e,"...").concat(ue).concat(c,`
`)+"".concat(_e,"...").concat(ue)}return"".concat(de).concat(Z?pe:"",`
`).concat(p).concat(c).concat(te).concat(De)}var ge=function(C,A){V(c,C);var B=O(c);function c(p){var N;if(D(this,c),me(p)!=="object"||p===null)throw new Q("options","Object",p);var te=p.message,Z=p.operator,be=p.stackStartFn,Y=p.actual,re=p.expected,X=Error.stackTraceLimit;if(Error.stackTraceLimit=0,te!=null)N=B.call(this,String(te));else if(h.stderr&&h.stderr.isTTY&&(h.stderr&&h.stderr.getColorDepth&&h.stderr.getColorDepth()!==1?(_e="\x1B[34m",ke="\x1B[32m",ue="\x1B[39m",Ne="\x1B[31m"):(_e="",ke="",ue="",Ne="")),me(Y)==="object"&&Y!==null&&me(re)==="object"&&re!==null&&"stack"in Y&&Y instanceof Error&&"stack"in re&&re instanceof Error&&(Y=Oe(Y),re=Oe(re)),Z==="deepStrictEqual"||Z==="strictEqual")N=B.call(this,ze(Y,re,Z));else if(Z==="notDeepStrictEqual"||Z==="notStrictEqual"){var De=Pe[Z],Ve=Be(Y).split(`
`);if(Z==="notStrictEqual"&&me(Y)==="object"&&Y!==null&&(De=Pe.notStrictEqualObject),Ve.length>30)for(Ve[26]="".concat(_e,"...").concat(ue);Ve.length>27;)Ve.pop();Ve.length===1?N=B.call(this,"".concat(De," ").concat(Ve[0])):N=B.call(this,"".concat(De,`
`).concat(Ve.join(`
`),`
`))}else{var $e=Be(Y),qe="",S=Pe[Z];Z==="notDeepEqual"||Z==="notEqual"?($e="".concat(Pe[Z],`
`).concat($e),$e.length>1024&&($e="".concat($e.slice(0,1021),"..."))):(qe="".concat(Be(re)),$e.length>512&&($e="".concat($e.slice(0,509),"...")),qe.length>512&&(qe="".concat(qe.slice(0,509),"...")),Z==="deepEqual"||Z==="equal"?$e="".concat(S,`
`).concat($e,`
should equal
`):qe=" ".concat(Z," ").concat(qe)),N=B.call(this,"".concat($e).concat(qe))}return Error.stackTraceLimit=X,N.generatedMessage=!te,Object.defineProperty($(N),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),N.code="ERR_ASSERTION",N.actual=Y,N.expected=re,N.operator=Z,Error.captureStackTrace&&Error.captureStackTrace($(N),be),N.stack,N.name="AssertionError",I(N)}return q(c,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:A,value:function(N,te){return M(this,P(P({},te),{},{customInspect:!1,depth:0}))}}]),c}(j(Error),M.custom);U.exports=ge},895:function(U,y,g){"use strict";function h(M){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},h(M)}function L(M,F){for(var Q=0;Q<F.length;Q++){var ee=F[Q];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(M,x(ee.key),ee)}}function P(M,F,Q){return F&&L(M.prototype,F),Q&&L(M,Q),Object.defineProperty(M,"prototype",{writable:!1}),M}function x(M){var F=D(M,"string");return h(F)==="symbol"?F:String(F)}function D(M,F){if(h(M)!=="object"||M===null)return M;var Q=M[Symbol.toPrimitive];if(Q!==void 0){var ee=Q.call(M,F||"default");if(h(ee)!=="object")return ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(F==="string"?String:Number)(M)}function G(M,F){if(!(M instanceof F))throw new TypeError("Cannot call a class as a function")}function q(M,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(F&&F.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),Object.defineProperty(M,"prototype",{writable:!1}),F&&w(M,F)}function w(M,F){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ee,Ae){return ee.__proto__=Ae,ee},w(M,F)}function E(M){var F=I();return function(){var ee=$(M),Ae;if(F){var _e=$(this).constructor;Ae=Reflect.construct(ee,arguments,_e)}else Ae=ee.apply(this,arguments);return V(this,Ae)}}function V(M,F){if(F&&(h(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(M)}function O(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function I(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function $(M){return $=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Q){return Q.__proto__||Object.getPrototypeOf(Q)},$(M)}var j={},J,se;function ce(M,F,Q){Q||(Q=Error);function ee(_e,ke,Ne){return typeof F=="string"?F:F(_e,ke,Ne)}var Ae=function(_e){q(Ne,_e);var ke=E(Ne);function Ne(ue,Pe,Fe){var Oe;return G(this,Ne),Oe=ke.call(this,ee(ue,Pe,Fe)),Oe.code=M,Oe}return P(Ne)}(Q);j[M]=Ae}function k(M,F){if(Array.isArray(M)){var Q=M.length;return M=M.map(function(ee){return String(ee)}),Q>2?"one of ".concat(F," ").concat(M.slice(0,Q-1).join(", "),", or ")+M[Q-1]:Q===2?"one of ".concat(F," ").concat(M[0]," or ").concat(M[1]):"of ".concat(F," ").concat(M[0])}else return"of ".concat(F," ").concat(String(M))}function K(M,F,Q){return M.substr(!Q||Q<0?0:+Q,F.length)===F}function me(M,F,Q){return(Q===void 0||Q>M.length)&&(Q=M.length),M.substring(Q-F.length,Q)===F}function Ee(M,F,Q){return typeof Q!="number"&&(Q=0),Q+F.length>M.length?!1:M.indexOf(F,Q)!==-1}ce("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),ce("ERR_INVALID_ARG_TYPE",function(M,F,Q){J===void 0&&(J=g(49)),J(typeof M=="string","'name' must be a string");var ee;typeof F=="string"&&K(F,"not ")?(ee="must not be",F=F.replace(/^not /,"")):ee="must be";var Ae;if(me(M," argument"))Ae="The ".concat(M," ").concat(ee," ").concat(k(F,"type"));else{var _e=Ee(M,".")?"property":"argument";Ae='The "'.concat(M,'" ').concat(_e," ").concat(ee," ").concat(k(F,"type"))}return Ae+=". Received type ".concat(h(Q)),Ae},TypeError),ce("ERR_INVALID_ARG_VALUE",function(M,F){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";se===void 0&&(se=g(585));var ee=se.inspect(F);return ee.length>128&&(ee="".concat(ee.slice(0,128),"...")),"The argument '".concat(M,"' ").concat(Q,". Received ").concat(ee)},TypeError,RangeError),ce("ERR_INVALID_RETURN_VALUE",function(M,F,Q){var ee;return Q&&Q.constructor&&Q.constructor.name?ee="instance of ".concat(Q.constructor.name):ee="type ".concat(h(Q)),"Expected ".concat(M,' to be returned from the "').concat(F,'"')+" function but got ".concat(ee,".")},TypeError),ce("ERR_MISSING_ARGS",function(){for(var M=arguments.length,F=new Array(M),Q=0;Q<M;Q++)F[Q]=arguments[Q];J===void 0&&(J=g(49)),J(F.length>0,"At least one arg needs to be specified");var ee="The ",Ae=F.length;switch(F=F.map(function(_e){return'"'.concat(_e,'"')}),Ae){case 1:ee+="".concat(F[0]," argument");break;case 2:ee+="".concat(F[0]," and ").concat(F[1]," arguments");break;default:ee+=F.slice(0,Ae-1).join(", "),ee+=", and ".concat(F[Ae-1]," arguments");break}return"".concat(ee," must be specified")},TypeError),U.exports.codes=j},984:function(U,y,g){"use strict";function h(d,v){return G(d)||D(d,v)||P(d,v)||L()}function L(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P(d,v){if(d){if(typeof d=="string")return x(d,v);var z=Object.prototype.toString.call(d).slice(8,-1);if(z==="Object"&&d.constructor&&(z=d.constructor.name),z==="Map"||z==="Set")return Array.from(d);if(z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return x(d,v)}}function x(d,v){(v==null||v>d.length)&&(v=d.length);for(var z=0,ae=new Array(v);z<v;z++)ae[z]=d[z];return ae}function D(d,v){var z=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(z!=null){var ae,he,Re,Le,Ie=[],Te=!0,Xe=!1;try{if(Re=(z=z.call(d)).next,v===0){if(Object(z)!==z)return;Te=!1}else for(;!(Te=(ae=Re.call(z)).done)&&(Ie.push(ae.value),Ie.length!==v);Te=!0);}catch(tt){Xe=!0,he=tt}finally{try{if(!Te&&z.return!=null&&(Le=z.return(),Object(Le)!==Le))return}finally{if(Xe)throw he}}return Ie}}function G(d){if(Array.isArray(d))return d}function q(d){"@babel/helpers - typeof";return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},q(d)}var w=/a/g.flags!==void 0,E=function(v){var z=[];return v.forEach(function(ae){return z.push(ae)}),z},V=function(v){var z=[];return v.forEach(function(ae,he){return z.push([he,ae])}),z},O=Object.is?Object.is:g(373),I=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},$=Number.isNaN?Number.isNaN:g(757);function j(d){return d.call.bind(d)}var J=j(Object.prototype.hasOwnProperty),se=j(Object.prototype.propertyIsEnumerable),ce=j(Object.prototype.toString),k=g(585).types,K=k.isAnyArrayBuffer,me=k.isArrayBufferView,Ee=k.isDate,M=k.isMap,F=k.isRegExp,Q=k.isSet,ee=k.isNativeError,Ae=k.isBoxedPrimitive,_e=k.isNumberObject,ke=k.isStringObject,Ne=k.isBooleanObject,ue=k.isBigIntObject,Pe=k.isSymbolObject,Fe=k.isFloat32Array,Oe=k.isFloat64Array;function Be(d){if(d.length===0||d.length>10)return!0;for(var v=0;v<d.length;v++){var z=d.charCodeAt(v);if(z<48||z>57)return!0}return d.length===10&&d>=Math.pow(2,32)}function ze(d){return Object.keys(d).filter(Be).concat(I(d).filter(Object.prototype.propertyIsEnumerable.bind(d)))}/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function ge(d,v){if(d===v)return 0;for(var z=d.length,ae=v.length,he=0,Re=Math.min(z,ae);he<Re;++he)if(d[he]!==v[he]){z=d[he],ae=v[he];break}return z<ae?-1:ae<z?1:0}var C=void 0,A=!0,B=!1,c=0,p=1,N=2,te=3;function Z(d,v){return w?d.source===v.source&&d.flags===v.flags:RegExp.prototype.toString.call(d)===RegExp.prototype.toString.call(v)}function be(d,v){if(d.byteLength!==v.byteLength)return!1;for(var z=0;z<d.byteLength;z++)if(d[z]!==v[z])return!1;return!0}function Y(d,v){return d.byteLength!==v.byteLength?!1:ge(new Uint8Array(d.buffer,d.byteOffset,d.byteLength),new Uint8Array(v.buffer,v.byteOffset,v.byteLength))===0}function re(d,v){return d.byteLength===v.byteLength&&ge(new Uint8Array(d),new Uint8Array(v))===0}function X(d,v){return _e(d)?_e(v)&&O(Number.prototype.valueOf.call(d),Number.prototype.valueOf.call(v)):ke(d)?ke(v)&&String.prototype.valueOf.call(d)===String.prototype.valueOf.call(v):Ne(d)?Ne(v)&&Boolean.prototype.valueOf.call(d)===Boolean.prototype.valueOf.call(v):ue(d)?ue(v)&&BigInt.prototype.valueOf.call(d)===BigInt.prototype.valueOf.call(v):Pe(v)&&Symbol.prototype.valueOf.call(d)===Symbol.prototype.valueOf.call(v)}function De(d,v,z,ae){if(d===v)return d!==0?!0:z?O(d,v):!0;if(z){if(q(d)!=="object")return typeof d=="number"&&$(d)&&$(v);if(q(v)!=="object"||d===null||v===null||Object.getPrototypeOf(d)!==Object.getPrototypeOf(v))return!1}else{if(d===null||q(d)!=="object")return v===null||q(v)!=="object"?d==v:!1;if(v===null||q(v)!=="object")return!1}var he=ce(d),Re=ce(v);if(he!==Re)return!1;if(Array.isArray(d)){if(d.length!==v.length)return!1;var Le=ze(d,C),Ie=ze(v,C);return Le.length!==Ie.length?!1:$e(d,v,z,ae,p,Le)}if(he==="[object Object]"&&(!M(d)&&M(v)||!Q(d)&&Q(v)))return!1;if(Ee(d)){if(!Ee(v)||Date.prototype.getTime.call(d)!==Date.prototype.getTime.call(v))return!1}else if(F(d)){if(!F(v)||!Z(d,v))return!1}else if(ee(d)||d instanceof Error){if(d.message!==v.message||d.name!==v.name)return!1}else if(me(d)){if(!z&&(Fe(d)||Oe(d))){if(!be(d,v))return!1}else if(!Y(d,v))return!1;var Te=ze(d,C),Xe=ze(v,C);return Te.length!==Xe.length?!1:$e(d,v,z,ae,c,Te)}else{if(Q(d))return!Q(v)||d.size!==v.size?!1:$e(d,v,z,ae,N);if(M(d))return!M(v)||d.size!==v.size?!1:$e(d,v,z,ae,te);if(K(d)){if(!re(d,v))return!1}else if(Ae(d)&&!X(d,v))return!1}return $e(d,v,z,ae,c)}function Ve(d,v){return v.filter(function(z){return se(d,z)})}function $e(d,v,z,ae,he,Re){if(arguments.length===5){Re=Object.keys(d);var Le=Object.keys(v);if(Re.length!==Le.length)return!1}for(var Ie=0;Ie<Re.length;Ie++)if(!J(v,Re[Ie]))return!1;if(z&&arguments.length===5){var Te=I(d);if(Te.length!==0){var Xe=0;for(Ie=0;Ie<Te.length;Ie++){var tt=Te[Ie];if(se(d,tt)){if(!se(v,tt))return!1;Re.push(tt),Xe++}else if(se(v,tt))return!1}var ut=I(v);if(Te.length!==ut.length&&Ve(v,ut).length!==Xe)return!1}else{var ht=I(v);if(ht.length!==0&&Ve(v,ht).length!==0)return!1}}if(Re.length===0&&(he===c||he===p&&d.length===0||d.size===0))return!0;if(ae===void 0)ae={val1:new Map,val2:new Map,position:0};else{var mt=ae.val1.get(d);if(mt!==void 0){var ct=ae.val2.get(v);if(ct!==void 0)return mt===ct}ae.position++}ae.val1.set(d,ae.position),ae.val2.set(v,ae.position);var pt=je(d,v,z,Re,ae,he);return ae.val1.delete(d),ae.val2.delete(v),pt}function qe(d,v,z,ae){for(var he=E(d),Re=0;Re<he.length;Re++){var Le=he[Re];if(De(v,Le,z,ae))return d.delete(Le),!0}return!1}function S(d){switch(q(d)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":d=+d;case"number":if($(d))return!1}return!0}function b(d,v,z){var ae=S(z);return ae??(v.has(ae)&&!d.has(ae))}function l(d,v,z,ae,he){var Re=S(z);if(Re!=null)return Re;var Le=v.get(Re);return Le===void 0&&!v.has(Re)||!De(ae,Le,!1,he)?!1:!d.has(Re)&&De(ae,Le,!1,he)}function W(d,v,z,ae){for(var he=null,Re=E(d),Le=0;Le<Re.length;Le++){var Ie=Re[Le];if(q(Ie)==="object"&&Ie!==null)he===null&&(he=new Set),he.add(Ie);else if(!v.has(Ie)){if(z||!b(d,v,Ie))return!1;he===null&&(he=new Set),he.add(Ie)}}if(he!==null){for(var Te=E(v),Xe=0;Xe<Te.length;Xe++){var tt=Te[Xe];if(q(tt)==="object"&&tt!==null){if(!qe(he,tt,z,ae))return!1}else if(!z&&!d.has(tt)&&!qe(he,tt,z,ae))return!1}return he.size===0}return!0}function de(d,v,z,ae,he,Re){for(var Le=E(d),Ie=0;Ie<Le.length;Ie++){var Te=Le[Ie];if(De(z,Te,he,Re)&&De(ae,v.get(Te),he,Re))return d.delete(Te),!0}return!1}function pe(d,v,z,ae){for(var he=null,Re=V(d),Le=0;Le<Re.length;Le++){var Ie=h(Re[Le],2),Te=Ie[0],Xe=Ie[1];if(q(Te)==="object"&&Te!==null)he===null&&(he=new Set),he.add(Te);else{var tt=v.get(Te);if(tt===void 0&&!v.has(Te)||!De(Xe,tt,z,ae)){if(z||!l(d,v,Te,Xe,ae))return!1;he===null&&(he=new Set),he.add(Te)}}}if(he!==null){for(var ut=V(v),ht=0;ht<ut.length;ht++){var mt=h(ut[ht],2),ct=mt[0],pt=mt[1];if(q(ct)==="object"&&ct!==null){if(!de(he,d,ct,pt,z,ae))return!1}else if(!z&&(!d.has(ct)||!De(d.get(ct),pt,!1,ae))&&!de(he,d,ct,pt,!1,ae))return!1}return he.size===0}return!0}function je(d,v,z,ae,he,Re){var Le=0;if(Re===N){if(!W(d,v,z,he))return!1}else if(Re===te){if(!pe(d,v,z,he))return!1}else if(Re===p)for(;Le<d.length;Le++)if(J(d,Le)){if(!J(v,Le)||!De(d[Le],v[Le],z,he))return!1}else{if(J(v,Le))return!1;for(var Ie=Object.keys(d);Le<Ie.length;Le++){var Te=Ie[Le];if(!J(v,Te)||!De(d[Te],v[Te],z,he))return!1}return Ie.length===Object.keys(v).length}for(Le=0;Le<ae.length;Le++){var Xe=ae[Le];if(!De(d[Xe],v[Xe],z,he))return!1}return!0}function Ke(d,v){return De(d,v,B)}function Ze(d,v){return De(d,v,A)}U.exports={isDeepEqual:Ke,isDeepStrictEqual:Ze}},791:function(U,y,g){"use strict";var h=g(237),L=g(332),P=L(h("String.prototype.indexOf"));U.exports=function(D,G){var q=h(D,!!G);return typeof q=="function"&&P(D,".prototype.")>-1?L(q):q}},332:function(U,y,g){"use strict";var h=g(794),L=g(237),P=g(886),x=L("%TypeError%"),D=L("%Function.prototype.apply%"),G=L("%Function.prototype.call%"),q=L("%Reflect.apply%",!0)||h.call(G,D),w=L("%Object.defineProperty%",!0),E=L("%Math.max%");if(w)try{w({},"a",{value:1})}catch{w=null}U.exports=function(I){if(typeof I!="function")throw new x("a function is required");var $=q(h,G,arguments);return P($,1+E(0,I.length-(arguments.length-1)),!0)};var V=function(){return q(h,D,arguments)};w?w(U.exports,"apply",{value:V}):U.exports.apply=V},500:function(U,y,g){var h=g(585),L=g(49);function P(){return new Date().getTime()}var x=Array.prototype.slice,D,G={};typeof g.g<"u"&&g.g.console?D=g.g.console:typeof window<"u"&&window.console?D=window.console:D={};for(var q=[[I,"log"],[$,"info"],[j,"warn"],[J,"error"],[se,"time"],[ce,"timeEnd"],[k,"trace"],[K,"dir"],[me,"assert"]],w=0;w<q.length;w++){var E=q[w],V=E[0],O=E[1];D[O]||(D[O]=V)}U.exports=D;function I(){}function $(){D.log.apply(D,arguments)}function j(){D.log.apply(D,arguments)}function J(){D.warn.apply(D,arguments)}function se(Ee){G[Ee]=P()}function ce(Ee){var M=G[Ee];if(!M)throw new Error("No such label: "+Ee);delete G[Ee];var F=P()-M;D.log(Ee+": "+F+"ms")}function k(){var Ee=new Error;Ee.name="Trace",Ee.message=h.format.apply(null,arguments),D.error(Ee.stack)}function K(Ee){D.log(h.inspect(Ee)+`
`)}function me(Ee){if(!Ee){var M=x.call(arguments,1);L.ok(!1,h.format.apply(null,M))}}},487:function(U,y,g){"use strict";var h=g(71)(),L=g(237),P=h&&L("%Object.defineProperty%",!0);if(P)try{P({},"a",{value:1})}catch{P=!1}var x=L("%SyntaxError%"),D=L("%TypeError%"),G=g(658);U.exports=function(w,E,V){if(!w||typeof w!="object"&&typeof w!="function")throw new D("`obj` must be an object or a function`");if(typeof E!="string"&&typeof E!="symbol")throw new D("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new D("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new D("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new D("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new D("`loose`, if provided, must be a boolean");var O=arguments.length>3?arguments[3]:null,I=arguments.length>4?arguments[4]:null,$=arguments.length>5?arguments[5]:null,j=arguments.length>6?arguments[6]:!1,J=!!G&&G(w,E);if(P)P(w,E,{configurable:$===null&&J?J.configurable:!$,enumerable:O===null&&J?J.enumerable:!O,value:V,writable:I===null&&J?J.writable:!I});else if(j||!O&&!I&&!$)w[E]=V;else throw new x("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}},722:function(U,y,g){"use strict";var h=g(51),L=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",P=Object.prototype.toString,x=Array.prototype.concat,D=g(487),G=function(V){return typeof V=="function"&&P.call(V)==="[object Function]"},q=g(71)(),w=function(V,O,I,$){if(O in V){if($===!0){if(V[O]===I)return}else if(!G($)||!$())return}q?D(V,O,I,!0):D(V,O,I)},E=function(V,O){var I=arguments.length>2?arguments[2]:{},$=h(O);L&&($=x.call($,Object.getOwnPropertySymbols(O)));for(var j=0;j<$.length;j+=1)w(V,$[j],O[$[j]],I[$[j]])};E.supportsDescriptors=!!q,U.exports=E},904:function(U,y,g){"use strict";var h=g(655),L=Object.prototype.toString,P=Object.prototype.hasOwnProperty,x=function(E,V,O){for(var I=0,$=E.length;I<$;I++)P.call(E,I)&&(O==null?V(E[I],I,E):V.call(O,E[I],I,E))},D=function(E,V,O){for(var I=0,$=E.length;I<$;I++)O==null?V(E.charAt(I),I,E):V.call(O,E.charAt(I),I,E)},G=function(E,V,O){for(var I in E)P.call(E,I)&&(O==null?V(E[I],I,E):V.call(O,E[I],I,E))},q=function(E,V,O){if(!h(V))throw new TypeError("iterator must be a function");var I;arguments.length>=3&&(I=O),L.call(E)==="[object Array]"?x(E,V,I):typeof E=="string"?D(E,V,I):G(E,V,I)};U.exports=q},59:function(U){"use strict";var y="Function.prototype.bind called on incompatible ",g=Object.prototype.toString,h=Math.max,L="[object Function]",P=function(q,w){for(var E=[],V=0;V<q.length;V+=1)E[V]=q[V];for(var O=0;O<w.length;O+=1)E[O+q.length]=w[O];return E},x=function(q,w){for(var E=[],V=w||0,O=0;V<q.length;V+=1,O+=1)E[O]=q[V];return E},D=function(G,q){for(var w="",E=0;E<G.length;E+=1)w+=G[E],E+1<G.length&&(w+=q);return w};U.exports=function(q){var w=this;if(typeof w!="function"||g.apply(w)!==L)throw new TypeError(y+w);for(var E=x(arguments,1),V,O=function(){if(this instanceof V){var se=w.apply(this,P(E,arguments));return Object(se)===se?se:this}return w.apply(q,P(E,arguments))},I=h(0,w.length-E.length),$=[],j=0;j<I;j++)$[j]="$"+j;if(V=Function("binder","return function ("+D($,",")+"){ return binder.apply(this,arguments); }")(O),w.prototype){var J=function(){};J.prototype=w.prototype,V.prototype=new J,J.prototype=null}return V}},794:function(U,y,g){"use strict";var h=g(59);U.exports=Function.prototype.bind||h},237:function(U,y,g){"use strict";var h,L=SyntaxError,P=Function,x=TypeError,D=function(Ne){try{return P('"use strict"; return ('+Ne+").constructor;")()}catch{}},G=Object.getOwnPropertyDescriptor;if(G)try{G({},"")}catch{G=null}var q=function(){throw new x},w=G?function(){try{return arguments.callee,q}catch{try{return G(arguments,"callee").get}catch{return q}}}():q,E=g(143)(),V=g(413)(),O=Object.getPrototypeOf||(V?function(Ne){return Ne.__proto__}:null),I={},$=typeof Uint8Array>"u"||!O?h:O(Uint8Array),j={"%AggregateError%":typeof AggregateError>"u"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?h:ArrayBuffer,"%ArrayIteratorPrototype%":E&&O?O([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":typeof Atomics>"u"?h:Atomics,"%BigInt%":typeof BigInt>"u"?h:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?h:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?h:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?h:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?h:Float32Array,"%Float64Array%":typeof Float64Array>"u"?h:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?h:FinalizationRegistry,"%Function%":P,"%GeneratorFunction%":I,"%Int8Array%":typeof Int8Array>"u"?h:Int8Array,"%Int16Array%":typeof Int16Array>"u"?h:Int16Array,"%Int32Array%":typeof Int32Array>"u"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&O?O(O([][Symbol.iterator]())):h,"%JSON%":typeof JSON=="object"?JSON:h,"%Map%":typeof Map>"u"?h:Map,"%MapIteratorPrototype%":typeof Map>"u"||!E||!O?h:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?h:Promise,"%Proxy%":typeof Proxy>"u"?h:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?h:Set,"%SetIteratorPrototype%":typeof Set>"u"||!E||!O?h:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&O?O(""[Symbol.iterator]()):h,"%Symbol%":E?Symbol:h,"%SyntaxError%":L,"%ThrowTypeError%":w,"%TypedArray%":$,"%TypeError%":x,"%Uint8Array%":typeof Uint8Array>"u"?h:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?h:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?h:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?h:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?h:WeakMap,"%WeakRef%":typeof WeakRef>"u"?h:WeakRef,"%WeakSet%":typeof WeakSet>"u"?h:WeakSet};if(O)try{null.error}catch(Ne){var J=O(O(Ne));j["%Error.prototype%"]=J}var se=function Ne(ue){var Pe;if(ue==="%AsyncFunction%")Pe=D("async function () {}");else if(ue==="%GeneratorFunction%")Pe=D("function* () {}");else if(ue==="%AsyncGeneratorFunction%")Pe=D("async function* () {}");else if(ue==="%AsyncGenerator%"){var Fe=Ne("%AsyncGeneratorFunction%");Fe&&(Pe=Fe.prototype)}else if(ue==="%AsyncIteratorPrototype%"){var Oe=Ne("%AsyncGenerator%");Oe&&O&&(Pe=O(Oe.prototype))}return j[ue]=Pe,Pe},ce={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=g(794),K=g(894),me=k.call(Function.call,Array.prototype.concat),Ee=k.call(Function.apply,Array.prototype.splice),M=k.call(Function.call,String.prototype.replace),F=k.call(Function.call,String.prototype.slice),Q=k.call(Function.call,RegExp.prototype.exec),ee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ae=/\\(\\)?/g,_e=function(ue){var Pe=F(ue,0,1),Fe=F(ue,-1);if(Pe==="%"&&Fe!=="%")throw new L("invalid intrinsic syntax, expected closing `%`");if(Fe==="%"&&Pe!=="%")throw new L("invalid intrinsic syntax, expected opening `%`");var Oe=[];return M(ue,ee,function(Be,ze,ge,C){Oe[Oe.length]=ge?M(C,Ae,"$1"):ze||Be}),Oe},ke=function(ue,Pe){var Fe=ue,Oe;if(K(ce,Fe)&&(Oe=ce[Fe],Fe="%"+Oe[0]+"%"),K(j,Fe)){var Be=j[Fe];if(Be===I&&(Be=se(Fe)),typeof Be>"u"&&!Pe)throw new x("intrinsic "+ue+" exists, but is not available. Please file an issue!");return{alias:Oe,name:Fe,value:Be}}throw new L("intrinsic "+ue+" does not exist!")};U.exports=function(ue,Pe){if(typeof ue!="string"||ue.length===0)throw new x("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Pe!="boolean")throw new x('"allowMissing" argument must be a boolean');if(Q(/^%?[^%]*%?$/,ue)===null)throw new L("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Fe=_e(ue),Oe=Fe.length>0?Fe[0]:"",Be=ke("%"+Oe+"%",Pe),ze=Be.name,ge=Be.value,C=!1,A=Be.alias;A&&(Oe=A[0],Ee(Fe,me([0,1],A)));for(var B=1,c=!0;B<Fe.length;B+=1){var p=Fe[B],N=F(p,0,1),te=F(p,-1);if((N==='"'||N==="'"||N==="`"||te==='"'||te==="'"||te==="`")&&N!==te)throw new L("property names with quotes must have matching quotes");if((p==="constructor"||!c)&&(C=!0),Oe+="."+p,ze="%"+Oe+"%",K(j,ze))ge=j[ze];else if(ge!=null){if(!(p in ge)){if(!Pe)throw new x("base intrinsic for "+ue+" exists, but the property is not available.");return}if(G&&B+1>=Fe.length){var Z=G(ge,p);c=!!Z,c&&"get"in Z&&!("originalValue"in Z.get)?ge=Z.get:ge=ge[p]}else c=K(ge,p),ge=ge[p];c&&!C&&(j[ze]=ge)}}return ge}},658:function(U,y,g){"use strict";var h=g(237),L=h("%Object.getOwnPropertyDescriptor%",!0);if(L)try{L([],"length")}catch{L=null}U.exports=L},71:function(U,y,g){"use strict";var h=g(237),L=h("%Object.defineProperty%",!0),P=function(){if(L)try{return L({},"a",{value:1}),!0}catch{return!1}return!1};P.hasArrayLengthDefineBug=function(){if(!P())return null;try{return L([],"length",{value:1}).length!==1}catch{return!0}},U.exports=P},413:function(U){"use strict";var y={foo:{}},g=Object;U.exports=function(){return{__proto__:y}.foo===y.foo&&!({__proto__:null}instanceof g)}},143:function(U,y,g){"use strict";var h=typeof Symbol<"u"&&Symbol,L=g(985);U.exports=function(){return typeof h!="function"||typeof Symbol!="function"||typeof h("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:L()}},985:function(U){"use strict";U.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var g={},h=Symbol("test"),L=Object(h);if(typeof h=="string"||Object.prototype.toString.call(h)!=="[object Symbol]"||Object.prototype.toString.call(L)!=="[object Symbol]")return!1;var P=42;g[h]=P;for(h in g)return!1;if(typeof Object.keys=="function"&&Object.keys(g).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(g).length!==0)return!1;var x=Object.getOwnPropertySymbols(g);if(x.length!==1||x[0]!==h||!Object.prototype.propertyIsEnumerable.call(g,h))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var D=Object.getOwnPropertyDescriptor(g,h);if(D.value!==P||D.enumerable!==!0)return!1}return!0}},60:function(U,y,g){"use strict";var h=g(985);U.exports=function(){return h()&&!!Symbol.toStringTag}},894:function(U,y,g){"use strict";var h=Function.prototype.call,L=Object.prototype.hasOwnProperty,P=g(794);U.exports=P.call(h,L)},937:function(U){typeof Object.create=="function"?U.exports=function(g,h){h&&(g.super_=h,g.prototype=Object.create(h.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}))}:U.exports=function(g,h){if(h){g.super_=h;var L=function(){};L.prototype=h.prototype,g.prototype=new L,g.prototype.constructor=g}}},571:function(U,y,g){"use strict";var h=g(60)(),L=g(791),P=L("Object.prototype.toString"),x=function(w){return h&&w&&typeof w=="object"&&Symbol.toStringTag in w?!1:P(w)==="[object Arguments]"},D=function(w){return x(w)?!0:w!==null&&typeof w=="object"&&typeof w.length=="number"&&w.length>=0&&P(w)!=="[object Array]"&&P(w.callee)==="[object Function]"},G=function(){return x(arguments)}();x.isLegacyArguments=D,U.exports=G?x:D},655:function(U){"use strict";var y=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,h,L;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{h=Object.defineProperty({},"length",{get:function(){throw L}}),L={},g(function(){throw 42},null,h)}catch(ce){ce!==L&&(g=null)}else g=null;var P=/^\s*class\b/,x=function(k){try{var K=y.call(k);return P.test(K)}catch{return!1}},D=function(k){try{return x(k)?!1:(y.call(k),!0)}catch{return!1}},G=Object.prototype.toString,q="[object Object]",w="[object Function]",E="[object GeneratorFunction]",V="[object HTMLAllCollection]",O="[object HTML document.all class]",I="[object HTMLCollection]",$=typeof Symbol=="function"&&!!Symbol.toStringTag,j=!(0 in[,]),J=function(){return!1};if(typeof document=="object"){var se=document.all;G.call(se)===G.call(document.all)&&(J=function(k){if((j||!k)&&(typeof k>"u"||typeof k=="object"))try{var K=G.call(k);return(K===V||K===O||K===I||K===q)&&k("")==null}catch{}return!1})}U.exports=g?function(k){if(J(k))return!0;if(!k||typeof k!="function"&&typeof k!="object")return!1;try{g(k,null,h)}catch(K){if(K!==L)return!1}return!x(k)&&D(k)}:function(k){if(J(k))return!0;if(!k||typeof k!="function"&&typeof k!="object")return!1;if($)return D(k);if(x(k))return!1;var K=G.call(k);return K!==w&&K!==E&&!/^\[object HTML/.test(K)?!1:D(k)}},141:function(U,y,g){"use strict";var h=Object.prototype.toString,L=Function.prototype.toString,P=/^\s*(?:function)?\*/,x=g(60)(),D=Object.getPrototypeOf,G=function(){if(!x)return!1;try{return Function("return function*() {}")()}catch{}},q;U.exports=function(E){if(typeof E!="function")return!1;if(P.test(L.call(E)))return!0;if(!x){var V=h.call(E);return V==="[object GeneratorFunction]"}if(!D)return!1;if(typeof q>"u"){var O=G();q=O?D(O):!1}return D(E)===q}},612:function(U){"use strict";U.exports=function(g){return g!==g}},757:function(U,y,g){"use strict";var h=g(332),L=g(722),P=g(612),x=g(774),D=g(928),G=h(x(),Number);L(G,{getPolyfill:x,implementation:P,shim:D}),U.exports=G},774:function(U,y,g){"use strict";var h=g(612);U.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:h}},928:function(U,y,g){"use strict";var h=g(722),L=g(774);U.exports=function(){var x=L();return h(Number,{isNaN:x},{isNaN:function(){return Number.isNaN!==x}}),x}},38:function(U,y,g){"use strict";var h=g(556);U.exports=function(P){return!!h(P)}},628:function(U){"use strict";var y=function(g){return g!==g};U.exports=function(h,L){return h===0&&L===0?1/h===1/L:!!(h===L||y(h)&&y(L))}},373:function(U,y,g){"use strict";var h=g(722),L=g(332),P=g(628),x=g(75),D=g(322),G=L(x(),Object);h(G,{getPolyfill:x,implementation:P,shim:D}),U.exports=G},75:function(U,y,g){"use strict";var h=g(628);U.exports=function(){return typeof Object.is=="function"?Object.is:h}},322:function(U,y,g){"use strict";var h=g(75),L=g(722);U.exports=function(){var x=h();return L(Object,{is:x},{is:function(){return Object.is!==x}}),x}},121:function(U,y,g){"use strict";var h;if(!Object.keys){var L=Object.prototype.hasOwnProperty,P=Object.prototype.toString,x=g(999),D=Object.prototype.propertyIsEnumerable,G=!D.call({toString:null},"toString"),q=D.call(function(){},"prototype"),w=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],E=function($){var j=$.constructor;return j&&j.prototype===$},V={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},O=function(){if(typeof window>"u")return!1;for(var $ in window)try{if(!V["$"+$]&&L.call(window,$)&&window[$]!==null&&typeof window[$]=="object")try{E(window[$])}catch{return!0}}catch{return!0}return!1}(),I=function($){if(typeof window>"u"||!O)return E($);try{return E($)}catch{return!1}};h=function(j){var J=j!==null&&typeof j=="object",se=P.call(j)==="[object Function]",ce=x(j),k=J&&P.call(j)==="[object String]",K=[];if(!J&&!se&&!ce)throw new TypeError("Object.keys called on a non-object");var me=q&&se;if(k&&j.length>0&&!L.call(j,0))for(var Ee=0;Ee<j.length;++Ee)K.push(String(Ee));if(ce&&j.length>0)for(var M=0;M<j.length;++M)K.push(String(M));else for(var F in j)!(me&&F==="prototype")&&L.call(j,F)&&K.push(String(F));if(G)for(var Q=I(j),ee=0;ee<w.length;++ee)!(Q&&w[ee]==="constructor")&&L.call(j,w[ee])&&K.push(w[ee]);return K}}U.exports=h},51:function(U,y,g){"use strict";var h=Array.prototype.slice,L=g(999),P=Object.keys,x=P?function(q){return P(q)}:g(121),D=Object.keys;x.shim=function(){if(Object.keys){var q=function(){var w=Object.keys(arguments);return w&&w.length===arguments.length}(1,2);q||(Object.keys=function(E){return L(E)?D(h.call(E)):D(E)})}else Object.keys=x;return Object.keys||x},U.exports=x},999:function(U){"use strict";var y=Object.prototype.toString;U.exports=function(h){var L=y.call(h),P=L==="[object Arguments]";return P||(P=L!=="[object Array]"&&h!==null&&typeof h=="object"&&typeof h.length=="number"&&h.length>=0&&y.call(h.callee)==="[object Function]"),P}},45:function(U,y,g){"use strict";var h=g(51),L=g(985)(),P=g(791),x=Object,D=P("Array.prototype.push"),G=P("Object.prototype.propertyIsEnumerable"),q=L?Object.getOwnPropertySymbols:null;U.exports=function(E,V){if(E==null)throw new TypeError("target must be an object");var O=x(E);if(arguments.length===1)return O;for(var I=1;I<arguments.length;++I){var $=x(arguments[I]),j=h($),J=L&&(Object.getOwnPropertySymbols||q);if(J)for(var se=J($),ce=0;ce<se.length;++ce){var k=se[ce];G($,k)&&D(j,k)}for(var K=0;K<j.length;++K){var me=j[K];if(G($,me)){var Ee=$[me];O[me]=Ee}}}return O}},724:function(U,y,g){"use strict";var h=g(45),L=function(){if(!Object.assign)return!1;for(var x="abcdefghijklmnopqrst",D=x.split(""),G={},q=0;q<D.length;++q)G[D[q]]=D[q];var w=Object.assign({},G),E="";for(var V in w)E+=V;return x!==E},P=function(){if(!Object.assign||!Object.preventExtensions)return!1;var x=Object.preventExtensions({1:2});try{Object.assign(x,"xy")}catch{return x[1]==="y"}return!1};U.exports=function(){return!Object.assign||L()||P()?h:Object.assign}},224:function(U){var y=U.exports={},g,h;function L(){throw new Error("setTimeout has not been defined")}function P(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?g=setTimeout:g=L}catch{g=L}try{typeof clearTimeout=="function"?h=clearTimeout:h=P}catch{h=P}})();function x(j){if(g===setTimeout)return setTimeout(j,0);if((g===L||!g)&&setTimeout)return g=setTimeout,setTimeout(j,0);try{return g(j,0)}catch{try{return g.call(null,j,0)}catch{return g.call(this,j,0)}}}function D(j){if(h===clearTimeout)return clearTimeout(j);if((h===P||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(j);try{return h(j)}catch{try{return h.call(null,j)}catch{return h.call(this,j)}}}var G=[],q=!1,w,E=-1;function V(){!q||!w||(q=!1,w.length?G=w.concat(G):E=-1,G.length&&O())}function O(){if(!q){var j=x(V);q=!0;for(var J=G.length;J;){for(w=G,G=[];++E<J;)w&&w[E].run();E=-1,J=G.length}w=null,q=!1,D(j)}}y.nextTick=function(j){var J=new Array(arguments.length-1);if(arguments.length>1)for(var se=1;se<arguments.length;se++)J[se-1]=arguments[se];G.push(new I(j,J)),G.length===1&&!q&&x(O)};function I(j,J){this.fun=j,this.array=J}I.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={};function $(){}y.on=$,y.addListener=$,y.once=$,y.off=$,y.removeListener=$,y.removeAllListeners=$,y.emit=$,y.prependListener=$,y.prependOnceListener=$,y.listeners=function(j){return[]},y.binding=function(j){throw new Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(j){throw new Error("process.chdir is not supported")},y.umask=function(){return 0}},886:function(U,y,g){"use strict";var h=g(237),L=g(487),P=g(71)(),x=g(658),D=h("%TypeError%"),G=h("%Math.floor%");U.exports=function(w,E){if(typeof w!="function")throw new D("`fn` is not a function");if(typeof E!="number"||E<0||E>4294967295||G(E)!==E)throw new D("`length` must be a positive 32-bit integer");var V=arguments.length>2&&!!arguments[2],O=!0,I=!0;if("length"in w&&x){var $=x(w,"length");$&&!$.configurable&&(O=!1),$&&!$.writable&&(I=!1)}return(O||I||!V)&&(P?L(w,"length",E,!0,!0):L(w,"length",E)),w}},952:function(U){U.exports=function(g){return g&&typeof g=="object"&&typeof g.copy=="function"&&typeof g.fill=="function"&&typeof g.readUInt8=="function"}},911:function(U,y,g){"use strict";var h=g(571),L=g(141),P=g(556),x=g(38);function D(l){return l.call.bind(l)}var G=typeof BigInt<"u",q=typeof Symbol<"u",w=D(Object.prototype.toString),E=D(Number.prototype.valueOf),V=D(String.prototype.valueOf),O=D(Boolean.prototype.valueOf);if(G)var I=D(BigInt.prototype.valueOf);if(q)var $=D(Symbol.prototype.valueOf);function j(l,W){if(typeof l!="object")return!1;try{return W(l),!0}catch{return!1}}y.isArgumentsObject=h,y.isGeneratorFunction=L,y.isTypedArray=x;function J(l){return typeof Promise<"u"&&l instanceof Promise||l!==null&&typeof l=="object"&&typeof l.then=="function"&&typeof l.catch=="function"}y.isPromise=J;function se(l){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(l):x(l)||B(l)}y.isArrayBufferView=se;function ce(l){return P(l)==="Uint8Array"}y.isUint8Array=ce;function k(l){return P(l)==="Uint8ClampedArray"}y.isUint8ClampedArray=k;function K(l){return P(l)==="Uint16Array"}y.isUint16Array=K;function me(l){return P(l)==="Uint32Array"}y.isUint32Array=me;function Ee(l){return P(l)==="Int8Array"}y.isInt8Array=Ee;function M(l){return P(l)==="Int16Array"}y.isInt16Array=M;function F(l){return P(l)==="Int32Array"}y.isInt32Array=F;function Q(l){return P(l)==="Float32Array"}y.isFloat32Array=Q;function ee(l){return P(l)==="Float64Array"}y.isFloat64Array=ee;function Ae(l){return P(l)==="BigInt64Array"}y.isBigInt64Array=Ae;function _e(l){return P(l)==="BigUint64Array"}y.isBigUint64Array=_e;function ke(l){return w(l)==="[object Map]"}ke.working=typeof Map<"u"&&ke(new Map);function Ne(l){return typeof Map>"u"?!1:ke.working?ke(l):l instanceof Map}y.isMap=Ne;function ue(l){return w(l)==="[object Set]"}ue.working=typeof Set<"u"&&ue(new Set);function Pe(l){return typeof Set>"u"?!1:ue.working?ue(l):l instanceof Set}y.isSet=Pe;function Fe(l){return w(l)==="[object WeakMap]"}Fe.working=typeof WeakMap<"u"&&Fe(new WeakMap);function Oe(l){return typeof WeakMap>"u"?!1:Fe.working?Fe(l):l instanceof WeakMap}y.isWeakMap=Oe;function Be(l){return w(l)==="[object WeakSet]"}Be.working=typeof WeakSet<"u"&&Be(new WeakSet);function ze(l){return Be(l)}y.isWeakSet=ze;function ge(l){return w(l)==="[object ArrayBuffer]"}ge.working=typeof ArrayBuffer<"u"&&ge(new ArrayBuffer);function C(l){return typeof ArrayBuffer>"u"?!1:ge.working?ge(l):l instanceof ArrayBuffer}y.isArrayBuffer=C;function A(l){return w(l)==="[object DataView]"}A.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&A(new DataView(new ArrayBuffer(1),0,1));function B(l){return typeof DataView>"u"?!1:A.working?A(l):l instanceof DataView}y.isDataView=B;var c=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function p(l){return w(l)==="[object SharedArrayBuffer]"}function N(l){return typeof c>"u"?!1:(typeof p.working>"u"&&(p.working=p(new c)),p.working?p(l):l instanceof c)}y.isSharedArrayBuffer=N;function te(l){return w(l)==="[object AsyncFunction]"}y.isAsyncFunction=te;function Z(l){return w(l)==="[object Map Iterator]"}y.isMapIterator=Z;function be(l){return w(l)==="[object Set Iterator]"}y.isSetIterator=be;function Y(l){return w(l)==="[object Generator]"}y.isGeneratorObject=Y;function re(l){return w(l)==="[object WebAssembly.Module]"}y.isWebAssemblyCompiledModule=re;function X(l){return j(l,E)}y.isNumberObject=X;function De(l){return j(l,V)}y.isStringObject=De;function Ve(l){return j(l,O)}y.isBooleanObject=Ve;function $e(l){return G&&j(l,I)}y.isBigIntObject=$e;function qe(l){return q&&j(l,$)}y.isSymbolObject=qe;function S(l){return X(l)||De(l)||Ve(l)||$e(l)||qe(l)}y.isBoxedPrimitive=S;function b(l){return typeof Uint8Array<"u"&&(C(l)||N(l))}y.isAnyArrayBuffer=b,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(l){Object.defineProperty(y,l,{enumerable:!1,value:function(){throw new Error(l+" is not supported in userland")}})})},585:function(U,y,g){var h=g(224),L=g(500),P=Object.getOwnPropertyDescriptors||function(p){for(var N=Object.keys(p),te={},Z=0;Z<N.length;Z++)te[N[Z]]=Object.getOwnPropertyDescriptor(p,N[Z]);return te},x=/%[sdj%]/g;y.format=function(c){if(!F(c)){for(var p=[],N=0;N<arguments.length;N++)p.push(w(arguments[N]));return p.join(" ")}for(var N=1,te=arguments,Z=te.length,be=String(c).replace(x,function(re){if(re==="%%")return"%";if(N>=Z)return re;switch(re){case"%s":return String(te[N++]);case"%d":return Number(te[N++]);case"%j":try{return JSON.stringify(te[N++])}catch{return"[Circular]"}default:return re}}),Y=te[N];N<Z;Y=te[++N])me(Y)||!_e(Y)?be+=" "+Y:be+=" "+w(Y);return be},y.deprecate=function(c,p){if(typeof h<"u"&&h.noDeprecation===!0)return c;if(typeof h>"u")return function(){return y.deprecate(c,p).apply(this,arguments)};var N=!1;function te(){if(!N){if(h.throwDeprecation)throw new Error(p);h.traceDeprecation?L.trace(p):L.error(p),N=!0}return c.apply(this,arguments)}return te};var D={},G=/^$/;if({NODE_ENV:"production",BASE_URL:""}.NODE_DEBUG){var q={NODE_ENV:"production",BASE_URL:""}.NODE_DEBUG;q=q.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),G=new RegExp("^"+q+"$","i")}y.debuglog=function(c){if(c=c.toUpperCase(),!D[c])if(G.test(c)){var p=h.pid;D[c]=function(){var N=y.format.apply(y,arguments);L.error("%s %d: %s",c,p,N)}}else D[c]=function(){};return D[c]};function w(c,p){var N={seen:[],stylize:V};return arguments.length>=3&&(N.depth=arguments[2]),arguments.length>=4&&(N.colors=arguments[3]),K(p)?N.showHidden=p:p&&y._extend(N,p),ee(N.showHidden)&&(N.showHidden=!1),ee(N.depth)&&(N.depth=2),ee(N.colors)&&(N.colors=!1),ee(N.customInspect)&&(N.customInspect=!0),N.colors&&(N.stylize=E),I(N,c,N.depth)}y.inspect=w,w.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},w.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function E(c,p){var N=w.styles[p];return N?"\x1B["+w.colors[N][0]+"m"+c+"\x1B["+w.colors[N][1]+"m":c}function V(c,p){return c}function O(c){var p={};return c.forEach(function(N,te){p[N]=!0}),p}function I(c,p,N){if(c.customInspect&&p&&ue(p.inspect)&&p.inspect!==y.inspect&&!(p.constructor&&p.constructor.prototype===p)){var te=p.inspect(N,c);return F(te)||(te=I(c,te,N)),te}var Z=$(c,p);if(Z)return Z;var be=Object.keys(p),Y=O(be);if(c.showHidden&&(be=Object.getOwnPropertyNames(p)),Ne(p)&&(be.indexOf("message")>=0||be.indexOf("description")>=0))return j(p);if(be.length===0){if(ue(p)){var re=p.name?": "+p.name:"";return c.stylize("[Function"+re+"]","special")}if(Ae(p))return c.stylize(RegExp.prototype.toString.call(p),"regexp");if(ke(p))return c.stylize(Date.prototype.toString.call(p),"date");if(Ne(p))return j(p)}var X="",De=!1,Ve=["{","}"];if(k(p)&&(De=!0,Ve=["[","]"]),ue(p)){var $e=p.name?": "+p.name:"";X=" [Function"+$e+"]"}if(Ae(p)&&(X=" "+RegExp.prototype.toString.call(p)),ke(p)&&(X=" "+Date.prototype.toUTCString.call(p)),Ne(p)&&(X=" "+j(p)),be.length===0&&(!De||p.length==0))return Ve[0]+X+Ve[1];if(N<0)return Ae(p)?c.stylize(RegExp.prototype.toString.call(p),"regexp"):c.stylize("[Object]","special");c.seen.push(p);var qe;return De?qe=J(c,p,N,Y,be):qe=be.map(function(S){return se(c,p,N,Y,S,De)}),c.seen.pop(),ce(qe,X,Ve)}function $(c,p){if(ee(p))return c.stylize("undefined","undefined");if(F(p)){var N="'"+JSON.stringify(p).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return c.stylize(N,"string")}if(M(p))return c.stylize(""+p,"number");if(K(p))return c.stylize(""+p,"boolean");if(me(p))return c.stylize("null","null")}function j(c){return"["+Error.prototype.toString.call(c)+"]"}function J(c,p,N,te,Z){for(var be=[],Y=0,re=p.length;Y<re;++Y)ge(p,String(Y))?be.push(se(c,p,N,te,String(Y),!0)):be.push("");return Z.forEach(function(X){X.match(/^\d+$/)||be.push(se(c,p,N,te,X,!0))}),be}function se(c,p,N,te,Z,be){var Y,re,X;if(X=Object.getOwnPropertyDescriptor(p,Z)||{value:p[Z]},X.get?X.set?re=c.stylize("[Getter/Setter]","special"):re=c.stylize("[Getter]","special"):X.set&&(re=c.stylize("[Setter]","special")),ge(te,Z)||(Y="["+Z+"]"),re||(c.seen.indexOf(X.value)<0?(me(N)?re=I(c,X.value,null):re=I(c,X.value,N-1),re.indexOf(`
`)>-1&&(be?re=re.split(`
`).map(function(De){return" "+De}).join(`
`).slice(2):re=`
`+re.split(`
`).map(function(De){return" "+De}).join(`
`))):re=c.stylize("[Circular]","special")),ee(Y)){if(be&&Z.match(/^\d+$/))return re;Y=JSON.stringify(""+Z),Y.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Y=Y.slice(1,-1),Y=c.stylize(Y,"name")):(Y=Y.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Y=c.stylize(Y,"string"))}return Y+": "+re}function ce(c,p,N){var te=0,Z=c.reduce(function(be,Y){return te++,Y.indexOf(`
`)>=0&&te++,be+Y.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Z>60?N[0]+(p===""?"":p+`
`)+" "+c.join(`,
`)+" "+N[1]:N[0]+p+" "+c.join(", ")+" "+N[1]}y.types=g(911);function k(c){return Array.isArray(c)}y.isArray=k;function K(c){return typeof c=="boolean"}y.isBoolean=K;function me(c){return c===null}y.isNull=me;function Ee(c){return c==null}y.isNullOrUndefined=Ee;function M(c){return typeof c=="number"}y.isNumber=M;function F(c){return typeof c=="string"}y.isString=F;function Q(c){return typeof c=="symbol"}y.isSymbol=Q;function ee(c){return c===void 0}y.isUndefined=ee;function Ae(c){return _e(c)&&Fe(c)==="[object RegExp]"}y.isRegExp=Ae,y.types.isRegExp=Ae;function _e(c){return typeof c=="object"&&c!==null}y.isObject=_e;function ke(c){return _e(c)&&Fe(c)==="[object Date]"}y.isDate=ke,y.types.isDate=ke;function Ne(c){return _e(c)&&(Fe(c)==="[object Error]"||c instanceof Error)}y.isError=Ne,y.types.isNativeError=Ne;function ue(c){return typeof c=="function"}y.isFunction=ue;function Pe(c){return c===null||typeof c=="boolean"||typeof c=="number"||typeof c=="string"||typeof c=="symbol"||typeof c>"u"}y.isPrimitive=Pe,y.isBuffer=g(952);function Fe(c){return Object.prototype.toString.call(c)}function Oe(c){return c<10?"0"+c.toString(10):c.toString(10)}var Be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ze(){var c=new Date,p=[Oe(c.getHours()),Oe(c.getMinutes()),Oe(c.getSeconds())].join(":");return[c.getDate(),Be[c.getMonth()],p].join(" ")}y.log=function(){L.log("%s - %s",ze(),y.format.apply(y,arguments))},y.inherits=g(937),y._extend=function(c,p){if(!p||!_e(p))return c;for(var N=Object.keys(p),te=N.length;te--;)c[N[te]]=p[N[te]];return c};function ge(c,p){return Object.prototype.hasOwnProperty.call(c,p)}var C=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;y.promisify=function(p){if(typeof p!="function")throw new TypeError('The "original" argument must be of type Function');if(C&&p[C]){var N=p[C];if(typeof N!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(N,C,{value:N,enumerable:!1,writable:!1,configurable:!0}),N}function N(){for(var te,Z,be=new Promise(function(X,De){te=X,Z=De}),Y=[],re=0;re<arguments.length;re++)Y.push(arguments[re]);Y.push(function(X,De){X?Z(X):te(De)});try{p.apply(this,Y)}catch(X){Z(X)}return be}return Object.setPrototypeOf(N,Object.getPrototypeOf(p)),C&&Object.defineProperty(N,C,{value:N,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(N,P(p))},y.promisify.custom=C;function A(c,p){if(!c){var N=new Error("Promise was rejected with a falsy value");N.reason=c,c=N}return p(c)}function B(c){if(typeof c!="function")throw new TypeError('The "original" argument must be of type Function');function p(){for(var N=[],te=0;te<arguments.length;te++)N.push(arguments[te]);var Z=N.pop();if(typeof Z!="function")throw new TypeError("The last argument must be of type Function");var be=this,Y=function(){return Z.apply(be,arguments)};c.apply(this,N).then(function(re){h.nextTick(Y.bind(null,null,re))},function(re){h.nextTick(A.bind(null,re,Y))})}return Object.setPrototypeOf(p,Object.getPrototypeOf(c)),Object.defineProperties(p,P(c)),p}y.callbackify=B},556:function(U,y,g){"use strict";var h=g(904),L=g(668),P=g(332),x=g(791),D=g(658),G=x("Object.prototype.toString"),q=g(60)(),w=typeof globalThis>"u"?g.g:globalThis,E=L(),V=x("String.prototype.slice"),O=Object.getPrototypeOf,I=x("Array.prototype.indexOf",!0)||function(ce,k){for(var K=0;K<ce.length;K+=1)if(ce[K]===k)return K;return-1},$={__proto__:null};q&&D&&O?h(E,function(se){var ce=new w[se];if(Symbol.toStringTag in ce){var k=O(ce),K=D(k,Symbol.toStringTag);if(!K){var me=O(k);K=D(me,Symbol.toStringTag)}$["$"+se]=P(K.get)}}):h(E,function(se){var ce=new w[se],k=ce.slice||ce.set;k&&($["$"+se]=P(k))});var j=function(ce){var k=!1;return h($,function(K,me){if(!k)try{"$"+K(ce)===me&&(k=V(me,1))}catch{}}),k},J=function(ce){var k=!1;return h($,function(K,me){if(!k)try{K(ce),k=V(me,1)}catch{}}),k};U.exports=function(ce){if(!ce||typeof ce!="object")return!1;if(!q){var k=V(G(ce),8,-1);return I(E,k)>-1?k:k!=="Object"?!1:J(ce)}return D?j(ce):null}},668:function(U,y,g){"use strict";var h=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],L=typeof globalThis>"u"?g.g:globalThis;U.exports=function(){for(var x=[],D=0;D<h.length;D++)typeof L[h[D]]=="function"&&(x[x.length]=h[D]);return x}}},wr={};function ft(U){var y=wr[U];if(y!==void 0)return y.exports;var g=wr[U]={exports:{}};return Ln[U](g,g.exports,ft),g.exports}(function(){ft.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})();var Mi={};(function(){"use strict";class U{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`
`+t.stack):t},0)}}emit(t){this.listeners.forEach(r=>{r(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const y=new U;function g(e){x(e)||y.onUnexpectedError(e)}function h(e){x(e)||y.onUnexpectedExternalError(e)}function L(e){if(e instanceof Error){let{name:t,message:r}=e;const n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:r,stack:n}}return e}const P="Canceled";function x(e){return e instanceof Error&&e.name===P&&e.message===P}function D(){const e=new Error(P);return e.name=e.message,e}function G(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function q(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}var w;(function(e){function t(ie){return ie&&typeof ie=="object"&&typeof ie[Symbol.iterator]=="function"}e.is=t;const r=Object.freeze([]);function n(){return r}e.empty=n;function*i(ie){yield ie}e.single=i;function s(ie){return ie||r}e.from=s;function o(ie){return!ie||ie[Symbol.iterator]().next().done===!0}e.isEmpty=o;function u(ie){return ie[Symbol.iterator]().next().value}e.first=u;function a(ie,R){for(const H of ie)if(R(H))return!0;return!1}e.some=a;function f(ie,R){for(const H of ie)if(R(H))return H}e.find=f;function*_(ie,R){for(const H of ie)R(H)&&(yield H)}e.filter=_;function*m(ie,R){for(const H of ie)yield R(H)}e.map=m;function*T(...ie){for(const R of ie)for(const H of R)yield H}e.concat=T;function*oe(ie){for(const R of ie)for(const H of R)yield H}e.concatNested=oe;function ve(ie,R,H){let ne=H;for(const le of ie)ne=R(ne,le);return ne}e.reduce=ve;function*Se(ie,R,H=ie.length){for(R<0&&(R+=ie.length),H<0?H+=ie.length:H>ie.length&&(H=ie.length);R<H;R++)yield ie[R]}e.slice=Se;function Me(ie,R=Number.POSITIVE_INFINITY){const H=[];if(R===0)return[H,ie];const ne=ie[Symbol.iterator]();for(let le=0;le<R;le++){const ye=ne.next();if(ye.done)return[H,e.empty()];H.push(ye.value)}return[H,{[Symbol.iterator](){return ne}}]}e.consume=Me;function Ue(ie,R,H=(ne,le)=>ne===le){const ne=ie[Symbol.iterator](),le=R[Symbol.iterator]();for(;;){const ye=ne.next(),fe=le.next();if(ye.done!==fe.done)return!1;if(ye.done)return!0;if(!H(ye.value,fe.value))return!1}}e.equals=Ue})(w||(w={}));var E=ft(500);const V=!1;let O=null;if(V){const e="__is_disposable_tracked__";O=new class{trackDisposable(t){const r=new Error("Potentially leaked disposable").stack;setTimeout(()=>{t[e]||E.log(r)},3e3)}markTracked(t){if(t&&t!==me.None)try{t[e]=!0}catch{}}}}function I(e){O&&O.markTracked(e)}function $(e){return O&&O.trackDisposable(e),e}class j extends Error{constructor(t){super(`Encountered errors while disposing of store. Errors: [${t.join(", ")}]`),this.errors=t}}function J(e){return typeof e.dispose=="function"&&e.dispose.length===0}function se(e){if(w.is(e)){let t=[];for(const r of e)if(r){I(r);try{r.dispose()}catch(n){t.push(n)}}if(t.length===1)throw t[0];if(t.length>1)throw new j(t);return Array.isArray(e)?[]:e}else if(e)return I(e),e.dispose(),e}function ce(...e){return e.forEach(I),k(()=>se(e))}function k(e){const t=$({dispose:()=>{I(t),e()}});return t}class K{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(I(this),this._isDisposed=!0,this.clear())}clear(){try{se(this._toDispose.values())}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return I(t),this._isDisposed?K.DISABLE_DISPOSED_WARNING||E.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}}K.DISABLE_DISPOSED_WARNING=!1;class me{constructor(){this._store=new K,$(this)}dispose(){I(this),this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}}me.None=Object.freeze({dispose(){}});class Ee{constructor(){this._isDisposed=!1,$(this)}get value(){return this._isDisposed?void 0:this._value}set value(t){var r;this._isDisposed||t===this._value||((r=this._value)===null||r===void 0||r.dispose(),t&&I(t),this._value=t)}clear(){this.value=void 0}dispose(){var t;this._isDisposed=!0,I(this),(t=this._value)===null||t===void 0||t.dispose(),this._value=void 0}}class M{constructor(t){this.object=t}dispose(){}}var F=ft(224),Q=ft(500),ee;const Ae="en";let _e=!1,ke=!1,Ne=!1,ue=!1,Pe=!1,Fe=!1,Oe=!1,Be,ze=null,ge=null,C;const A=typeof self=="object"?self:typeof ft.g=="object"?ft.g:{};let B;typeof A.vscode<"u"&&typeof A.vscode.process<"u"?B=A.vscode.process:typeof F<"u"&&(B=F);const c=typeof((ee=B?.versions)===null||ee===void 0?void 0:ee.electron)=="string"&&B.type==="renderer",p=c&&B?.sandboxed,te=typeof(()=>{if(p)return"bypassHeatCheck";const e=B?.env.VSCODE_BROWSER_CODE_LOADING;if(typeof e=="string")return e==="none"||e==="code"||e==="bypassHeatCheck"||e==="bypassHeatCheckAndEagerCompile"?e:"bypassHeatCheck"})()=="string";if(typeof navigator=="object"&&!c)C=navigator.userAgent,_e=C.indexOf("Windows")>=0,ke=C.indexOf("Macintosh")>=0,Oe=(C.indexOf("Macintosh")>=0||C.indexOf("iPad")>=0||C.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ne=C.indexOf("Linux")>=0,Fe=!0,Be=navigator.language,ze=Be;else if(typeof B=="object"){_e=B.platform==="win32",ke=B.platform==="darwin",Ne=B.platform==="linux",ue=Ne&&!!B.env.SNAP&&!!B.env.SNAP_REVISION,Be=Ae,ze=Ae;const e=B.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),r=t.availableLanguages["*"];Be=t.locale,ze=r||Ae,ge=t._translationsConfigFile}catch{}Pe=!0}else Q.error("Unable to resolve platform.");let Z=0;ke?Z=1:_e?Z=3:Ne&&(Z=2);const be=_e,Y=ke,re=null,X=null,De=null,Ve=null,$e=null,qe=function(){if(A.setImmediate)return A.setImmediate.bind(A);if(typeof A.postMessage=="function"&&!A.importScripts){let r=[];A.addEventListener("message",i=>{if(i.data&&i.data.vscodeSetImmediateId)for(let s=0,o=r.length;s<o;s++){const u=r[s];if(u.id===i.data.vscodeSetImmediateId){r.splice(s,1),u.callback();return}}});let n=0;return i=>{const s=++n;r.push({id:s,callback:i}),A.postMessage({vscodeSetImmediateId:s},"*")}}if(typeof B?.nextTick=="function")return B.nextTick.bind(B);const t=Promise.resolve();return r=>t.then(r)}(),S=null;let b=!0,l=!1;function W(){if(!l){l=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2,b=new Uint16Array(e.buffer)[0]===512+1}return b}function de(e){return Array.isArray(e)}function pe(e){return typeof e=="string"}function je(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Ke(e){return typeof e=="number"&&!isNaN(e)}function Ze(e){return e===!0||e===!1}function d(e){return typeof e>"u"}function v(e){return d(e)||e===null}function z(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function ae(e){if(v(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function he(e){return typeof e=="function"}function Re(e,t){const r=Math.min(e.length,t.length);for(let n=0;n<r;n++)Le(e[n],t[n])}function Le(e,t){if(pe(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(he(t)){try{if(e instanceof t)return}catch{}if(!v(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 Ie(e){let t=[],r=Object.getPrototypeOf(e);for(;Object.prototype!==r;)t=t.concat(Object.getOwnPropertyNames(r)),r=Object.getPrototypeOf(r);return t}function Te(e){const t=[];for(const r of Ie(e))typeof e[r]=="function"&&t.push(r);return t}function Xe(e,t){const r=i=>function(){const s=Array.prototype.slice.call(arguments,0);return t(i,s)};let n={};for(const i of e)n[i]=r(i);return n}function tt(e){return e===null?void 0:e}var ut=ft(500);const ht="$initialize";let mt=!1;function ct(e){isWeb&&(mt||(mt=!0,ut.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")),ut.warn(e.message))}class pt{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(t){this._workerId=t}sendMessage(t,r){let n=String(++this._lastSentReq);return new Promise((i,s)=>{this._pendingReplies[n]={resolve:i,reject:s},this._send({vsWorker:this._workerId,req:n,method:t,args:r})})}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){if(t.seq){let s=t;if(!this._pendingReplies[s.seq]){ut.warn("Got reply to unknown seq");return}let o=this._pendingReplies[s.seq];if(delete this._pendingReplies[s.seq],s.err){let u=s.err;s.err.$isError&&(u=new Error,u.name=s.err.name,u.message=s.err.message,u.stack=s.err.stack),o.reject(u);return}o.resolve(s.res);return}let r=t,n=r.req;this._handler.handleMessage(r.method,r.args).then(s=>{this._send({vsWorker:this._workerId,seq:n,res:s,err:void 0})},s=>{s.detail instanceof Error&&(s.detail=L(s.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:L(s)})})}_send(t){let r=[];if(t.req){const n=t;for(let i=0;i<n.args.length;i++)n.args[i]instanceof ArrayBuffer&&r.push(n.args[i])}else{const n=t;n.res instanceof ArrayBuffer&&r.push(n.res)}this._handler.sendMessage(t,r)}}class xi extends null{constructor(t,r,n){super();let i=null;this._worker=this._register(t.create("vs/base/common/worker/simpleWorker",a=>{this._protocol.handleMessage(a)},a=>{i&&i(a)})),this._protocol=new pt({sendMessage:(a,f)=>{this._worker.postMessage(a,f)},handleMessage:(a,f)=>{if(typeof n[a]!="function")return Promise.reject(new Error("Missing method "+a+" on main thread host."));try{return Promise.resolve(n[a].apply(n,f))}catch(_){return Promise.reject(_)}}}),this._protocol.setWorkerId(this._worker.getId());let s=null;typeof self.require<"u"&&typeof self.require.getConfig=="function"?s=self.require.getConfig():typeof self.requirejs<"u"&&(s=self.requirejs.s.contexts._.config);const o=types.getAllMethodNames(n);this._onModuleLoaded=this._protocol.sendMessage(ht,[this._worker.getId(),JSON.parse(JSON.stringify(s)),r,o]);const u=(a,f)=>this._request(a,f);this._lazyProxy=new Promise((a,f)=>{i=f,this._onModuleLoaded.then(_=>{a(types.createProxyObject(_,u))},_=>{f(_),this._onError("Worker failed to load "+r,_)})})}getProxyObject(){return this._lazyProxy}_request(t,r){return new Promise((n,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(t,r).then(n,i)},i)})}_onError(t,r){ut.error(t),ut.info(r)}}class Ar{constructor(t,r){this._requestHandlerFactory=r,this._requestHandler=null,this._protocol=new pt({sendMessage:(n,i)=>{t(n,i)},handleMessage:(n,i)=>this._handleMessage(n,i)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,r){if(t===ht)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)}}initialize(t,r,n,i){this._protocol.setWorkerId(t);const o=Xe(i,(u,a)=>this._protocol.sendMessage(u,a));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(o),Promise.resolve(Te(this._requestHandler))):(r&&(typeof r.baseUrl<"u"&&delete r.baseUrl,typeof r.paths<"u"&&typeof r.paths.vs<"u"&&delete r.paths.vs,typeof r.trustedTypesPolicy!==void 0&&delete r.trustedTypesPolicy,r.catchError=!0,self.require.config(r)),new Promise((u,a)=>{self.require([n],f=>{if(this._requestHandler=f.create(o),!this._requestHandler){a(new Error("No RequestHandler!"));return}u(Te(this._requestHandler))},a)}))}}function Oi(e){return new Ar(e,null)}class yt{constructor(t,r,n,i){this.originalStart=t,this.originalLength=r,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Ii(e){return!e||typeof e!="string"?!0:e.trim().length===0}const En=/{(\d+)}/g;function ji(e,...t){return t.length===0?e:e.replace(En,function(r,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?r:t[i]})}function Ui(e){return e.replace(/[<>&]/g,function(t){switch(t){case"<":return"<";case">":return">";case"&":return"&";default:return t}})}function Cn(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function ki(e,t=" "){const r=Pn(e,t);return Dn(r,t)}function Pn(e,t){if(!e||!t)return e;const r=t.length;if(r===0||e.length===0)return e;let n=0;for(;e.indexOf(t,n)===n;)n=n+r;return e.substring(n)}function Dn(e,t){if(!e||!t)return e;const r=t.length,n=e.length;if(r===0||n===0)return e;let i=n,s=-1;for(;s=e.lastIndexOf(t,i-1),!(s===-1||s+r!==i);){if(s===0)return"";i=s}return e.substring(0,i)}function Bi(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function Wi(e){return e.replace(/\*/g,"")}function $i(e,t,r={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=Cn(e)),r.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e=e+"\\b"));let n="";return r.global&&(n+="g"),r.matchCase||(n+="i"),r.multiline&&(n+="m"),r.unicode&&(n+="u"),new RegExp(e,n)}function qi(e){return e.source==="^"||e.source==="^$"||e.source==="$"||e.source==="^\\s*$"?!1:!!(e.exec("")&&e.lastIndex===0)}function Hi(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function Fn(e){return e.split(/\r\n|\r|\n/)}function Rn(e){for(let t=0,r=e.length;t<r;t++){const n=e.charCodeAt(t);if(n!==32&&n!==9)return t}return-1}function Gi(e,t=0,r=e.length){for(let n=t;n<r;n++){const i=e.charCodeAt(n);if(i!==32&&i!==9)return e.substring(t,n)}return e.substring(t,r)}function Tn(e,t=e.length-1){for(let r=t;r>=0;r--){const n=e.charCodeAt(r);if(n!==32&&n!==9)return r}return-1}function Vi(e,t){return e<t?-1:e>t?1:0}function Mn(e,t,r=0,n=e.length,i=0,s=t.length){for(;r<n&&i<s;r++,i++){let a=e.charCodeAt(r),f=t.charCodeAt(i);if(a<f)return-1;if(a>f)return 1}const o=n-r,u=s-i;return o<u?-1:o>u?1:0}function Yi(e,t){return xn(e,t,0,e.length,0,t.length)}function xn(e,t,r=0,n=e.length,i=0,s=t.length){for(;r<n&&i<s;r++,i++){let a=e.charCodeAt(r),f=t.charCodeAt(i);if(a===f)continue;const _=a-f;if(!(_===32&&Qt(f))&&!(_===-32&&Qt(a)))return zt(a)&&zt(f)?_:Mn(e.toLowerCase(),t.toLowerCase(),r,n,i,s)}const o=n-r,u=s-i;return o<u?-1:o>u?1:0}function zt(e){return e>=97&&e<=122}function Qt(e){return e>=65&&e<=90}function Nr(e){return zt(e)||Qt(e)}function zi(e,t){return e.length===t.length&&Lr(e,t)}function Lr(e,t,r=e.length){for(let n=0;n<r;n++){const i=e.charCodeAt(n),s=t.charCodeAt(n);if(i!==s){if(Nr(i)&&Nr(s)){const o=Math.abs(i-s);if(o!==0&&o!==32)return!1}else if(String.fromCharCode(i).toLowerCase()!==String.fromCharCode(s).toLowerCase())return!1}}return!0}function Qi(e,t){const r=t.length;return t.length>e.length?!1:Lr(e,t,r)}function Ji(e,t){let 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 Zi(e,t){let r,n=Math.min(e.length,t.length);const i=e.length-1,s=t.length-1;for(r=0;r<n;r++)if(e.charCodeAt(i-r)!==t.charCodeAt(s-r))return r;return n}function Jt(e){return 55296<=e&&e<=56319}function jt(e){return 56320<=e&&e<=57343}function Zt(e,t){return(e-55296<<10)+(t-56320)+65536}function Er(e,t,r){const n=e.charCodeAt(r);if(Jt(n)&&r+1<t){const i=e.charCodeAt(r+1);if(jt(i))return Zt(n,i)}return n}function Cr(e,t){const r=e.charCodeAt(t-1);if(jt(r)&&t>1){const n=e.charCodeAt(t-2);if(Jt(n))return Zt(n,r)}return r}function Xi(e,t){const r=gt.getInstance(),n=t,i=e.length,s=Er(e,i,t);t+=s>=65536?2:1;let o=r.getGraphemeBreakType(s);for(;t<i;){const u=Er(e,i,t),a=r.getGraphemeBreakType(u);if(Pr(o,a))break;t+=u>=65536?2:1,o=a}return t-n}function Ki(e,t){const r=gt.getInstance(),n=t,i=Cr(e,t);t-=i>=65536?2:1;let s=r.getGraphemeBreakType(i);for(;t>0;){const o=Cr(e,t),u=r.getGraphemeBreakType(o);if(Pr(u,s))break;t-=o>=65536?2:1,s=u}return n-t}function es(e){const t=e.byteLength,r=[];let n=0;for(;n<t;){const i=e[n];let s;if(i>=240&&n+3<t?s=(e[n++]&7)<<18>>>0|(e[n++]&63)<<12>>>0|(e[n++]&63)<<6>>>0|(e[n++]&63)<<0>>>0:i>=224&&n+2<t?s=(e[n++]&15)<<12>>>0|(e[n++]&63)<<6>>>0|(e[n++]&63)<<0>>>0:i>=192&&n+1<t?s=(e[n++]&31)<<6>>>0|(e[n++]&63)<<0>>>0:s=e[n++],s>=0&&s<=55295||s>=57344&&s<=65535)r.push(String.fromCharCode(s));else if(s>=65536&&s<=1114111){const o=s-65536,u=55296+((o&1047552)>>>10),a=56320+((o&1023)>>>0);r.push(String.fromCharCode(u)),r.push(String.fromCharCode(a))}else r.push(String.fromCharCode(65533))}return r.join("")}const On=/(?:[\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 ts(e){return On.test(e)}const In=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function rs(e){return In.test(e)}const jn=/^[\t\n\r\x20-\x7E]*$/;function ns(e){return jn.test(e)}const Un=/[\u2028\u2029]/;function is(e){return Un.test(e)}function ss(e){for(let t=0,r=e.length;t<r;t++)if(kn(e.charCodeAt(t)))return!0;return!1}function kn(e){return e=+e,e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function os(e){return e>=127462&&e<=127487||e===8986||e===8987||e===9200||e===9203||e>=9728&&e<=10175||e===11088||e===11093||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129750}const us=String.fromCharCode(65279);function as(e){return!!(e&&e.length>0&&e.charCodeAt(0)===65279)}function ls(e,t=!1){return e?(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e):!1}function fs(e){return e=e%(2*26),e<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function cs(e){return gt.getInstance().getGraphemeBreakType(e)}function Pr(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)}class gt{constructor(){this._data=Bn()}static getInstance(){return gt._INSTANCE||(gt._INSTANCE=new gt),gt._INSTANCE}getGraphemeBreakType(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;const r=this._data,n=r.length/3;let i=1;for(;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}}gt._INSTANCE=null;function Bn(){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]")}function hs(e){return Xt(e,0)}function Xt(e,t){switch(typeof e){case"object":return e===null?dt(349,t):Array.isArray(e)?$n(e,t):qn(e,t);case"string":return Kt(e,t);case"boolean":return Wn(e,t);case"number":return dt(e,t);case"undefined":return dt(937,t);default:return dt(617,t)}}function dt(e,t){return(t<<5)-t+e|0}function Wn(e,t){return dt(e?433:863,t)}function Kt(e,t){t=dt(149417,t);for(let r=0,n=e.length;r<n;r++)t=dt(e.charCodeAt(r),t);return t}function $n(e,t){return t=dt(104579,t),e.reduce((r,n)=>Xt(n,r),t)}function qn(e,t){return t=dt(181387,t),Object.keys(e).sort().reduce((r,n)=>(r=Kt(n,r),Xt(e[n],r)),t)}function er(e,t,r=32){const n=r-t,i=~((1<<n)-1);return(e<<t|(i&e)>>>n)>>>0}function Dr(e,t=0,r=e.byteLength,n=0){for(let i=0;i<r;i++)e[t+i]=n}function Hn(e,t,r="0"){for(;e.length<t;)e=r+e;return e}function Tt(e,t=32){return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map(r=>r.toString(16).padStart(2,"0")).join(""):Hn((e>>>0).toString(16),t/4)}class tr{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(t){const r=t.length;if(r===0)return;const n=this._buff;let i=this._buffLen,s=this._leftoverHighSurrogate,o,u;for(s!==0?(o=s,u=-1,s=0):(o=t.charCodeAt(0),u=0);;){let a=o;if(Jt(o))if(u+1<r){const f=t.charCodeAt(u+1);jt(f)?(u++,a=Zt(o,f)):a=65533}else{s=o;break}else jt(o)&&(a=65533);if(i=this._push(n,i,a),u++,u<r)o=t.charCodeAt(u);else break}this._buffLen=i,this._leftoverHighSurrogate=s}_push(t,r,n){return n<128?t[r++]=n:n<2048?(t[r++]=192|(n&1984)>>>6,t[r++]=128|(n&63)>>>0):n<65536?(t[r++]=224|(n&61440)>>>12,t[r++]=128|(n&4032)>>>6,t[r++]=128|(n&63)>>>0):(t[r++]=240|(n&1835008)>>>18,t[r++]=128|(n&258048)>>>12,t[r++]=128|(n&4032)>>>6,t[r++]=128|(n&63)>>>0),r>=64&&(this._step(),r-=64,this._totalLen+=64,t[0]=t[64+0],t[1]=t[64+1],t[2]=t[64+2]),r}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Tt(this._h0)+Tt(this._h1)+Tt(this._h2)+Tt(this._h3)+Tt(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Dr(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Dr(this._buff));const t=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(t/4294967296),!1),this._buffDV.setUint32(60,t%4294967296,!1),this._step()}_step(){const t=tr._bigBlock32,r=this._buffDV;for(let m=0;m<64;m+=4)t.setUint32(m,r.getUint32(m,!1),!1);for(let m=64;m<320;m+=4)t.setUint32(m,er(t.getUint32(m-12,!1)^t.getUint32(m-32,!1)^t.getUint32(m-56,!1)^t.getUint32(m-64,!1),1),!1);let n=this._h0,i=this._h1,s=this._h2,o=this._h3,u=this._h4,a,f,_;for(let m=0;m<80;m++)m<20?(a=i&s|~i&o,f=1518500249):m<40?(a=i^s^o,f=1859775393):m<60?(a=i&s|i&o|s&o,f=2400959708):(a=i^s^o,f=3395469782),_=er(n,5)+a+u+f+t.getUint32(m*4,!1)&4294967295,u=o,o=s,s=er(i,30),i=n,n=_;this._h0=this._h0+n&4294967295,this._h1=this._h1+i&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+o&4294967295,this._h4=this._h4+u&4294967295}}tr._bigBlock32=new DataView(new ArrayBuffer(320));class Fr{constructor(t){this.source=t}getElements(){const t=this.source,r=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)r[n]=t.charCodeAt(n);return r}}function Gn(e,t,r){return new Ct(new Fr(e),new Fr(t)).ComputeDiff(r).changes}class Lt{static Assert(t,r){if(!t)throw new Error(r)}}class Et{static Copy(t,r,n,i,s){for(let o=0;o<s;o++)n[i+o]=t[r+o]}static Copy2(t,r,n,i,s){for(let o=0;o<s;o++)n[i+o]=t[r+o]}}class Rr{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new yt(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}AddOriginalElement(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_originalCount++}AddModifiedElement(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Ct{constructor(t,r,n=null){this.ContinueProcessingPredicate=n;const[i,s,o]=Ct._getElements(t),[u,a,f]=Ct._getElements(r);this._hasStrings=o&&f,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=u,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const r=t.getElements();if(Ct._isStringArray(r)){const n=new Int32Array(r.length);for(let i=0,s=r.length;i<s;i++)n[i]=Kt(r[i],0);return[r,n,!0]}return r instanceof Int32Array?[[],r,!1]:[[],new Int32Array(r),!1]}ElementsAreEqual(t,r){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[r]:!0}OriginalElementsAreEqual(t,r){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[r]:!0}ModifiedElementsAreEqual(t,r){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[r]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,r,n,i,s){const o=[!1];let u=this.ComputeDiffRecursive(t,r,n,i,o);return s&&(u=this.PrettifyChanges(u)),{quitEarly:o[0],changes:u}}ComputeDiffRecursive(t,r,n,i,s){for(s[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){let m;return n<=i?(Lt.Assert(t===r+1,"originalStart should only be one more than originalEnd"),m=[new yt(t,0,n,i-n+1)]):t<=r?(Lt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),m=[new yt(t,r-t+1,n,0)]):(Lt.Assert(t===r+1,"originalStart should only be one more than originalEnd"),Lt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),m=[]),m}const o=[0],u=[0],a=this.ComputeRecursionPoint(t,r,n,i,o,u,s),f=o[0],_=u[0];if(a!==null)return a;if(!s[0]){const m=this.ComputeDiffRecursive(t,f,n,_,s);let T=[];return s[0]?T=[new yt(f+1,r-(f+1)+1,_+1,i-(_+1)+1)]:T=this.ComputeDiffRecursive(f+1,r,_+1,i,s),this.ConcatenateChanges(m,T)}return[new yt(t,r-t+1,n,i-n+1)]}WALKTRACE(t,r,n,i,s,o,u,a,f,_,m,T,oe,ve,Se,Me,Ue,ie){let R=null,H=null,ne=new Rr,le=r,ye=n,fe=oe[0]-Me[0]-i,xe=-1073741824,He=this.m_forwardHistory.length-1;do{const We=fe+t;We===le||We<ye&&f[We-1]<f[We+1]?(m=f[We+1],ve=m-fe-i,m<xe&&ne.MarkNextChange(),xe=m,ne.AddModifiedElement(m+1,ve),fe=We+1-t):(m=f[We-1]+1,ve=m-fe-i,m<xe&&ne.MarkNextChange(),xe=m-1,ne.AddOriginalElement(m,ve+1),fe=We-1-t),He>=0&&(f=this.m_forwardHistory[He],t=f[0],le=1,ye=f.length-1)}while(--He>=-1);if(R=ne.getReverseChanges(),ie[0]){let We=oe[0]+1,we=Me[0]+1;if(R!==null&&R.length>0){const St=R[R.length-1];We=Math.max(We,St.getOriginalEnd()),we=Math.max(we,St.getModifiedEnd())}H=[new yt(We,T-We+1,we,Se-we+1)]}else{ne=new Rr,le=o,ye=u,fe=oe[0]-Me[0]-a,xe=1073741824,He=Ue?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const We=fe+s;We===le||We<ye&&_[We-1]>=_[We+1]?(m=_[We+1]-1,ve=m-fe-a,m>xe&&ne.MarkNextChange(),xe=m+1,ne.AddOriginalElement(m+1,ve+1),fe=We+1-s):(m=_[We-1],ve=m-fe-a,m>xe&&ne.MarkNextChange(),xe=m,ne.AddModifiedElement(m+1,ve+1),fe=We-1-s),He>=0&&(_=this.m_reverseHistory[He],s=_[0],le=1,ye=_.length-1)}while(--He>=-1);H=ne.getChanges()}return this.ConcatenateChanges(R,H)}ComputeRecursionPoint(t,r,n,i,s,o,u){let a=0,f=0,_=0,m=0,T=0,oe=0;t--,n--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const ve=r-t+(i-n),Se=ve+1,Me=new Int32Array(Se),Ue=new Int32Array(Se),ie=i-n,R=r-t,H=t-n,ne=r-i,ye=(R-ie)%2===0;Me[ie]=t,Ue[R]=r,u[0]=!1;for(let fe=1;fe<=ve/2+1;fe++){let xe=0,He=0;_=this.ClipDiagonalBound(ie-fe,fe,ie,Se),m=this.ClipDiagonalBound(ie+fe,fe,ie,Se);for(let we=_;we<=m;we+=2){we===_||we<m&&Me[we-1]<Me[we+1]?a=Me[we+1]:a=Me[we-1]+1,f=a-(we-ie)-H;const St=a;for(;a<r&&f<i&&this.ElementsAreEqual(a+1,f+1);)a++,f++;if(Me[we]=a,a+f>xe+He&&(xe=a,He=f),!ye&&Math.abs(we-R)<=fe-1&&a>=Ue[we])return s[0]=a,o[0]=f,St<=Ue[we]&&1447>0&&fe<=1447+1?this.WALKTRACE(ie,_,m,H,R,T,oe,ne,Me,Ue,a,r,s,f,i,o,ye,u):null}const We=(xe-t+(He-n)-fe)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(xe,We))return u[0]=!0,s[0]=xe,o[0]=He,We>0&&1447>0&&fe<=1447+1?this.WALKTRACE(ie,_,m,H,R,T,oe,ne,Me,Ue,a,r,s,f,i,o,ye,u):(t++,n++,[new yt(t,r-t+1,n,i-n+1)]);T=this.ClipDiagonalBound(R-fe,fe,R,Se),oe=this.ClipDiagonalBound(R+fe,fe,R,Se);for(let we=T;we<=oe;we+=2){we===T||we<oe&&Ue[we-1]>=Ue[we+1]?a=Ue[we+1]-1:a=Ue[we-1],f=a-(we-R)-ne;const St=a;for(;a>t&&f>n&&this.ElementsAreEqual(a,f);)a--,f--;if(Ue[we]=a,ye&&Math.abs(we-ie)<=fe&&a<=Me[we])return s[0]=a,o[0]=f,St>=Me[we]&&1447>0&&fe<=1447+1?this.WALKTRACE(ie,_,m,H,R,T,oe,ne,Me,Ue,a,r,s,f,i,o,ye,u):null}if(fe<=1447){let we=new Int32Array(m-_+2);we[0]=ie-_+1,Et.Copy2(Me,_,we,1,m-_+1),this.m_forwardHistory.push(we),we=new Int32Array(oe-T+2),we[0]=R-T+1,Et.Copy2(Ue,T,we,1,oe-T+1),this.m_reverseHistory.push(we)}}return this.WALKTRACE(ie,_,m,H,R,T,oe,ne,Me,Ue,a,r,s,f,i,o,ye,u)}PrettifyChanges(t){for(let r=0;r<t.length;r++){const n=t[r],i=r<t.length-1?t[r+1].originalStart:this._originalElementsOrHash.length,s=r<t.length-1?t[r+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,u=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<s&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!u||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let 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(let r=t.length-1;r>=0;r--){const n=t[r];let i=0,s=0;if(r>0){const m=t[r-1];i=m.originalStart+m.originalLength,s=m.modifiedStart+m.modifiedLength}const o=n.originalLength>0,u=n.modifiedLength>0;let a=0,f=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let m=1;;m++){const T=n.originalStart-m,oe=n.modifiedStart-m;if(T<i||oe<s||o&&!this.OriginalElementsAreEqual(T,T+n.originalLength)||u&&!this.ModifiedElementsAreEqual(oe,oe+n.modifiedLength))break;const Se=(T===i&&oe===s?5:0)+this._boundaryScore(T,n.originalLength,oe,n.modifiedLength);Se>f&&(f=Se,a=m)}n.originalStart-=a,n.modifiedStart-=a;const _=[null];if(r>0&&this.ChangesOverlap(t[r-1],t[r],_)){t[r-1]=_[0],t.splice(r,1),r++;continue}}if(this._hasStrings)for(let r=1,n=t.length;r<n;r++){const i=t[r-1],s=t[r],o=s.originalStart-i.originalStart-i.originalLength,u=i.originalStart,a=s.originalStart+s.originalLength,f=a-u,_=i.modifiedStart,m=s.modifiedStart+s.modifiedLength,T=m-_;if(o<5&&f<20&&T<20){const oe=this._findBetterContiguousSequence(u,f,_,T,o);if(oe){const[ve,Se]=oe;(ve!==i.originalStart+i.originalLength||Se!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=ve-i.originalStart,i.modifiedLength=Se-i.modifiedStart,s.originalStart=ve+o,s.modifiedStart=Se+o,s.originalLength=a-s.originalStart,s.modifiedLength=m-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,r,n,i,s){if(r<s||i<s)return null;const o=t+r-s+1,u=n+i-s+1;let a=0,f=0,_=0;for(let m=t;m<o;m++)for(let T=n;T<u;T++){const oe=this._contiguousSequenceScore(m,T,s);oe>0&&oe>a&&(a=oe,f=m,_=T)}return a>0?[f,_]:null}_contiguousSequenceScore(t,r,n){let i=0;for(let s=0;s<n;s++){if(!this.ElementsAreEqual(t+s,r+s))return 0;i+=this._originalStringElements[t+s].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,r){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(r>0){const n=t+r;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,r){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(r>0){const n=t+r;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(t,r,n,i){const s=this._OriginalRegionIsBoundary(t,r)?1:0,o=this._ModifiedRegionIsBoundary(n,i)?1:0;return s+o}ConcatenateChanges(t,r){let n=[];if(t.length===0||r.length===0)return r.length>0?r:t;if(this.ChangesOverlap(t[t.length-1],r[0],n)){const i=new Array(t.length+r.length-1);return Et.Copy(t,0,i,0,t.length-1),i[t.length-1]=n[0],Et.Copy(r,1,i,t.length,r.length-1),i}else{const i=new Array(t.length+r.length);return Et.Copy(t,0,i,0,t.length),Et.Copy(r,0,i,t.length,r.length),i}}ChangesOverlap(t,r,n){if(Lt.Assert(t.originalStart<=r.originalStart,"Left change is not less than or equal to right change"),Lt.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){const i=t.originalStart;let s=t.originalLength;const o=t.modifiedStart;let u=t.modifiedLength;return t.originalStart+t.originalLength>=r.originalStart&&(s=r.originalStart+r.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=r.modifiedStart&&(u=r.modifiedStart+r.modifiedLength-t.modifiedStart),n[0]=new yt(i,s,o,u),!0}else return n[0]=null,!1}ClipDiagonalBound(t,r,n,i){if(t>=0&&t<i)return t;const s=n,o=i-n-1,u=r%2===0;if(t<0){const a=s%2===0;return u===a?0:1}else{const a=o%2===0;return u===a?i-1:i-2}}}var Ut=ft(224);let Pt;if(typeof A.vscode<"u"&&typeof A.vscode.process<"u"){const e=A.vscode.process;Pt={get platform(){return e.platform},get env(){return e.env},cwd(){return e.cwd()},nextTick(t){return qe(t)}}}else typeof Ut<"u"?Pt={get platform(){return Ut.platform},get env(){return{NODE_ENV:"production",BASE_URL:""}},cwd(){return{NODE_ENV:"production",BASE_URL:""}.VSCODE_CWD||Ut.cwd()},nextTick(e){return Ut.nextTick(e)}}:Pt={get platform(){return be?"win32":Y?"darwin":"linux"},nextTick(e){return qe(e)},get env(){return Object.create(null)},cwd(){return"/"}};const rr=Pt.cwd,gs=Pt.env,wt=Pt.platform,Vn=65,Yn=97,zn=90,Qn=122,bt=46,et=47,nt=92,vt=58,Jn=63;class Tr extends Error{constructor(t,r,n){let i;typeof r=="string"&&r.indexOf("not ")===0?(i="must not be",r=r.replace(/^not /,"")):i="must be";const s=t.indexOf(".")!==-1?"property":"argument";let o=`The "${t}" ${s} ${i} of type ${r}`;o+=`. Received type ${typeof n}`,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function Je(e,t){if(typeof e!="string")throw new Tr(t,"string",e)}function Ce(e){return e===et||e===nt}function nr(e){return e===et}function _t(e){return e>=Vn&&e<=zn||e>=Yn&&e<=Qn}function kt(e,t,r,n){let i="",s=0,o=-1,u=0,a=0;for(let f=0;f<=e.length;++f){if(f<e.length)a=e.charCodeAt(f);else{if(n(a))break;a=et}if(n(a)){if(!(o===f-1||u===1))if(u===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==bt||i.charCodeAt(i.length-2)!==bt){if(i.length>2){const _=i.lastIndexOf(r);_===-1?(i="",s=0):(i=i.slice(0,_),s=i.length-1-i.lastIndexOf(r)),o=f,u=0;continue}else if(i.length!==0){i="",s=0,o=f,u=0;continue}}t&&(i+=i.length>0?`${r}..`:"..",s=2)}else i.length>0?i+=`${r}${e.slice(o+1,f)}`:i=e.slice(o+1,f),s=f-o-1;o=f,u=0}else a===bt&&u!==-1?++u:u=-1}return i}function Mr(e,t){if(t===null||typeof t!="object")throw new Tr("pathObject","Object",t);const r=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return r?r===t.root?`${r}${n}`:`${r}${e}${n}`:n}const rt={resolve(...e){let t="",r="",n=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(s=e[i],Je(s,"path"),s.length===0)continue}else t.length===0?s=rr():(s={NODE_ENV:"production",BASE_URL:""}[`=${t}`]||rr(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===nt)&&(s=`${t}\\`));const o=s.length;let u=0,a="",f=!1;const _=s.charCodeAt(0);if(o===1)Ce(_)&&(u=1,f=!0);else if(Ce(_))if(f=!0,Ce(s.charCodeAt(1))){let m=2,T=m;for(;m<o&&!Ce(s.charCodeAt(m));)m++;if(m<o&&m!==T){const oe=s.slice(T,m);for(T=m;m<o&&Ce(s.charCodeAt(m));)m++;if(m<o&&m!==T){for(T=m;m<o&&!Ce(s.charCodeAt(m));)m++;(m===o||m!==T)&&(a=`\\\\${oe}\\${s.slice(T,m)}`,u=m)}}}else u=1;else _t(_)&&s.charCodeAt(1)===vt&&(a=s.slice(0,2),u=2,o>2&&Ce(s.charCodeAt(2))&&(f=!0,u=3));if(a.length>0)if(t.length>0){if(a.toLowerCase()!==t.toLowerCase())continue}else t=a;if(n){if(t.length>0)break}else if(r=`${s.slice(u)}\\${r}`,n=f,f&&t.length>0)break}return r=kt(r,!n,"\\",Ce),n?`${t}\\${r}`:`${t}${r}`||"."},normalize(e){Je(e,"path");const t=e.length;if(t===0)return".";let r=0,n,i=!1;const s=e.charCodeAt(0);if(t===1)return nr(s)?"\\":e;if(Ce(s))if(i=!0,Ce(e.charCodeAt(1))){let u=2,a=u;for(;u<t&&!Ce(e.charCodeAt(u));)u++;if(u<t&&u!==a){const f=e.slice(a,u);for(a=u;u<t&&Ce(e.charCodeAt(u));)u++;if(u<t&&u!==a){for(a=u;u<t&&!Ce(e.charCodeAt(u));)u++;if(u===t)return`\\\\${f}\\${e.slice(a)}\\`;u!==a&&(n=`\\\\${f}\\${e.slice(a,u)}`,r=u)}}}else r=1;else _t(s)&&e.charCodeAt(1)===vt&&(n=e.slice(0,2),r=2,t>2&&Ce(e.charCodeAt(2))&&(i=!0,r=3));let o=r<t?kt(e.slice(r),!i,"\\",Ce):"";return o.length===0&&!i&&(o="."),o.length>0&&Ce(e.charCodeAt(t-1))&&(o+="\\"),n===void 0?i?`\\${o}`:o:i?`${n}\\${o}`:`${n}${o}`},isAbsolute(e){Je(e,"path");const t=e.length;if(t===0)return!1;const r=e.charCodeAt(0);return Ce(r)||t>2&&_t(r)&&e.charCodeAt(1)===vt&&Ce(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,r;for(let s=0;s<e.length;++s){const o=e[s];Je(o,"path"),o.length>0&&(t===void 0?t=r=o:t+=`\\${o}`)}if(t===void 0)return".";let n=!0,i=0;if(typeof r=="string"&&Ce(r.charCodeAt(0))){++i;const s=r.length;s>1&&Ce(r.charCodeAt(1))&&(++i,s>2&&(Ce(r.charCodeAt(2))?++i:n=!1))}if(n){for(;i<t.length&&Ce(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return rt.normalize(t)},relative(e,t){if(Je(e,"from"),Je(t,"to"),e===t)return"";const r=rt.resolve(e),n=rt.resolve(t);if(r===n||(e=r.toLowerCase(),t=n.toLowerCase(),e===t))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===nt;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===nt;)s--;const o=s-i;let u=0;for(;u<t.length&&t.charCodeAt(u)===nt;)u++;let a=t.length;for(;a-1>u&&t.charCodeAt(a-1)===nt;)a--;const f=a-u,_=o<f?o:f;let m=-1,T=0;for(;T<_;T++){const ve=e.charCodeAt(i+T);if(ve!==t.charCodeAt(u+T))break;ve===nt&&(m=T)}if(T!==_){if(m===-1)return n}else{if(f>_){if(t.charCodeAt(u+T)===nt)return n.slice(u+T+1);if(T===2)return n.slice(u+T)}o>_&&(e.charCodeAt(i+T)===nt?m=T:T===2&&(m=3)),m===-1&&(m=0)}let oe="";for(T=i+m+1;T<=s;++T)(T===s||e.charCodeAt(T)===nt)&&(oe+=oe.length===0?"..":"\\..");return u+=m,oe.length>0?`${oe}${n.slice(u,a)}`:(n.charCodeAt(u)===nt&&++u,n.slice(u,a))},toNamespacedPath(e){if(typeof e!="string")return e;if(e.length===0)return"";const t=rt.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===nt){if(t.charCodeAt(1)===nt){const r=t.charCodeAt(2);if(r!==Jn&&r!==bt)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(_t(t.charCodeAt(0))&&t.charCodeAt(1)===vt&&t.charCodeAt(2)===nt)return`\\\\?\\${t}`;return e},dirname(e){Je(e,"path");const t=e.length;if(t===0)return".";let r=-1,n=0;const i=e.charCodeAt(0);if(t===1)return Ce(i)?e:".";if(Ce(i)){if(r=n=1,Ce(e.charCodeAt(1))){let u=2,a=u;for(;u<t&&!Ce(e.charCodeAt(u));)u++;if(u<t&&u!==a){for(a=u;u<t&&Ce(e.charCodeAt(u));)u++;if(u<t&&u!==a){for(a=u;u<t&&!Ce(e.charCodeAt(u));)u++;if(u===t)return e;u!==a&&(r=n=u+1)}}}}else _t(i)&&e.charCodeAt(1)===vt&&(r=t>2&&Ce(e.charCodeAt(2))?3:2,n=r);let s=-1,o=!0;for(let u=t-1;u>=n;--u)if(Ce(e.charCodeAt(u))){if(!o){s=u;break}}else o=!1;if(s===-1){if(r===-1)return".";s=r}return e.slice(0,s)},basename(e,t){t!==void 0&&Je(t,"ext"),Je(e,"path");let r=0,n=-1,i=!0,s;if(e.length>=2&&_t(e.charCodeAt(0))&&e.charCodeAt(1)===vt&&(r=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,u=-1;for(s=e.length-1;s>=r;--s){const a=e.charCodeAt(s);if(Ce(a)){if(!i){r=s+1;break}}else u===-1&&(i=!1,u=s+1),o>=0&&(a===t.charCodeAt(o)?--o===-1&&(n=s):(o=-1,n=u))}return r===n?n=u:n===-1&&(n=e.length),e.slice(r,n)}for(s=e.length-1;s>=r;--s)if(Ce(e.charCodeAt(s))){if(!i){r=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?"":e.slice(r,n)},extname(e){Je(e,"path");let t=0,r=-1,n=0,i=-1,s=!0,o=0;e.length>=2&&e.charCodeAt(1)===vt&&_t(e.charCodeAt(0))&&(t=n=2);for(let u=e.length-1;u>=t;--u){const a=e.charCodeAt(u);if(Ce(a)){if(!s){n=u+1;break}continue}i===-1&&(s=!1,i=u+1),a===bt?r===-1?r=u:o!==1&&(o=1):r!==-1&&(o=-1)}return r===-1||i===-1||o===0||o===1&&r===i-1&&r===n+1?"":e.slice(r,i)},format:Mr.bind(null,"\\"),parse(e){Je(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const r=e.length;let n=0,i=e.charCodeAt(0);if(r===1)return Ce(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Ce(i)){if(n=1,Ce(e.charCodeAt(1))){let m=2,T=m;for(;m<r&&!Ce(e.charCodeAt(m));)m++;if(m<r&&m!==T){for(T=m;m<r&&Ce(e.charCodeAt(m));)m++;if(m<r&&m!==T){for(T=m;m<r&&!Ce(e.charCodeAt(m));)m++;m===r?n=m:m!==T&&(n=m+1)}}}}else if(_t(i)&&e.charCodeAt(1)===vt){if(r<=2)return t.root=t.dir=e,t;if(n=2,Ce(e.charCodeAt(2))){if(r===3)return t.root=t.dir=e,t;n=3}}n>0&&(t.root=e.slice(0,n));let s=-1,o=n,u=-1,a=!0,f=e.length-1,_=0;for(;f>=n;--f){if(i=e.charCodeAt(f),Ce(i)){if(!a){o=f+1;break}continue}u===-1&&(a=!1,u=f+1),i===bt?s===-1?s=f:_!==1&&(_=1):s!==-1&&(_=-1)}return u!==-1&&(s===-1||_===0||_===1&&s===u-1&&s===o+1?t.base=t.name=e.slice(o,u):(t.name=e.slice(o,s),t.base=e.slice(o,u),t.ext=e.slice(s,u))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},it={resolve(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){const i=n>=0?e[n]:rr();Je(i,"path"),i.length!==0&&(t=`${i}/${t}`,r=i.charCodeAt(0)===et)}return t=kt(t,!r,"/",nr),r?`/${t}`:t.length>0?t:"."},normalize(e){if(Je(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===et,r=e.charCodeAt(e.length-1)===et;return e=kt(e,!t,"/",nr),e.length===0?t?"/":r?"./":".":(r&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return Je(e,"path"),e.length>0&&e.charCodeAt(0)===et},join(...e){if(e.length===0)return".";let t;for(let r=0;r<e.length;++r){const n=e[r];Je(n,"path"),n.length>0&&(t===void 0?t=n:t+=`/${n}`)}return t===void 0?".":it.normalize(t)},relative(e,t){if(Je(e,"from"),Je(t,"to"),e===t||(e=it.resolve(e),t=it.resolve(t),e===t))return"";const r=1,n=e.length,i=n-r,s=1,o=t.length-s,u=i<o?i:o;let a=-1,f=0;for(;f<u;f++){const m=e.charCodeAt(r+f);if(m!==t.charCodeAt(s+f))break;m===et&&(a=f)}if(f===u)if(o>u){if(t.charCodeAt(s+f)===et)return t.slice(s+f+1);if(f===0)return t.slice(s+f)}else i>u&&(e.charCodeAt(r+f)===et?a=f:f===0&&(a=0));let _="";for(f=r+a+1;f<=n;++f)(f===n||e.charCodeAt(f)===et)&&(_+=_.length===0?"..":"/..");return`${_}${t.slice(s+a)}`},toNamespacedPath(e){return e},dirname(e){if(Je(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===et;let r=-1,n=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===et){if(!n){r=i;break}}else n=!1;return r===-1?t?"/":".":t&&r===1?"//":e.slice(0,r)},basename(e,t){t!==void 0&&Je(t,"ext"),Je(e,"path");let r=0,n=-1,i=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,u=-1;for(s=e.length-1;s>=0;--s){const a=e.charCodeAt(s);if(a===et){if(!i){r=s+1;break}}else u===-1&&(i=!1,u=s+1),o>=0&&(a===t.charCodeAt(o)?--o===-1&&(n=s):(o=-1,n=u))}return r===n?n=u:n===-1&&(n=e.length),e.slice(r,n)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===et){if(!i){r=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?"":e.slice(r,n)},extname(e){Je(e,"path");let t=-1,r=0,n=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const u=e.charCodeAt(o);if(u===et){if(!i){r=o+1;break}continue}n===-1&&(i=!1,n=o+1),u===bt?t===-1?t=o:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||n===-1||s===0||s===1&&t===n-1&&t===r+1?"":e.slice(t,n)},format:Mr.bind(null,"/"),parse(e){Je(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const r=e.charCodeAt(0)===et;let n;r?(t.root="/",n=1):n=0;let i=-1,s=0,o=-1,u=!0,a=e.length-1,f=0;for(;a>=n;--a){const _=e.charCodeAt(a);if(_===et){if(!u){s=a+1;break}continue}o===-1&&(u=!1,o=a+1),_===bt?i===-1?i=a:f!==1&&(f=1):i!==-1&&(f=-1)}if(o!==-1){const _=s===0&&r?1:s;i===-1||f===0||f===1&&i===o-1&&i===s+1?t.base=t.name=e.slice(_,o):(t.name=e.slice(_,i),t.base=e.slice(_,o),t.ext=e.slice(i,o))}return s>0?t.dir=e.slice(0,s-1):r&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};it.win32=rt.win32=rt,it.posix=rt.posix=it;const ds=wt==="win32"?rt.normalize:it.normalize,ms=wt==="win32"?rt.resolve:it.resolve,ps=wt==="win32"?rt.relative:it.relative,ys=wt==="win32"?rt.dirname:it.dirname,bs=wt==="win32"?rt.basename:it.basename,vs=wt==="win32"?rt.extname:it.extname,_s=wt==="win32"?rt.sep:it.sep,Zn=/^\w[\w\d+.-]*$/,Xn=/^\//,Kn=/^\/\//;function ei(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&&!Zn.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!Xn.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(Kn.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 ti(e,t){return!e&&!t?"file":e}function ri(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==at&&(t=at+t):t=at;break}return t}const Ge="",at="/",ni=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class At{constructor(t,r,n,i,s,o=!1){typeof t=="object"?(this.scheme=t.scheme||Ge,this.authority=t.authority||Ge,this.path=t.path||Ge,this.query=t.query||Ge,this.fragment=t.fragment||Ge):(this.scheme=ti(t,o),this.authority=r||Ge,this.path=ri(this.scheme,n||Ge),this.query=i||Ge,this.fragment=s||Ge,ei(this,o))}static isUri(t){return t instanceof At?!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=="string"&&typeof t.with=="function"&&typeof t.toString=="function":!1}get fsPath(){return ir(this,!1)}with(t){if(!t)return this;let{scheme:r,authority:n,path:i,query:s,fragment:o}=t;return r===void 0?r=this.scheme:r===null&&(r=Ge),n===void 0?n=this.authority:n===null&&(n=Ge),i===void 0?i=this.path:i===null&&(i=Ge),s===void 0?s=this.query:s===null&&(s=Ge),o===void 0?o=this.fragment:o===null&&(o=Ge),r===this.scheme&&n===this.authority&&i===this.path&&s===this.query&&o===this.fragment?this:new Dt(r,n,i,s,o)}static parse(t,r=!1){const n=ni.exec(t);return n?new Dt(n[2]||Ge,Bt(n[4]||Ge),Bt(n[5]||Ge),Bt(n[7]||Ge),Bt(n[9]||Ge),r):new Dt(Ge,Ge,Ge,Ge,Ge)}static file(t){let r=Ge;if(be&&(t=t.replace(/\\/g,at)),t[0]===at&&t[1]===at){const n=t.indexOf(at,2);n===-1?(r=t.substring(2),t=at):(r=t.substring(2,n),t=t.substring(n)||at)}return new Dt("file",r,t,Ge,Ge)}static from(t){return new Dt(t.scheme,t.authority,t.path,t.query,t.fragment)}static joinPath(t,...r){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return be&&t.scheme==="file"?n=At.file(rt.join(ir(t,!0),...r)).path:n=it.join(t.path,...r),t.with({path:n})}toString(t=!1){return sr(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof At)return t;{const r=new Dt(t);return r._formatted=t.external,r._fsPath=t._sep===xr?t.fsPath:null,r}}else return t}}const xr=be?1:void 0;class Dt extends At{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=ir(this,!1)),this._fsPath}toString(t=!1){return t?sr(this,!0):(this._formatted||(this._formatted=sr(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=xr),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const Or={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function Ir(e,t){let r,n=-1;for(let i=0;i<e.length;i++){const s=e.charCodeAt(i);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===45||s===46||s===95||s===126||t&&s===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));const o=Or[s];o!==void 0?(n!==-1&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=o):n===-1&&(n=i)}}return n!==-1&&(r+=encodeURIComponent(e.substring(n))),r!==void 0?r:e}function ii(e){let t;for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);n===35||n===63?(t===void 0&&(t=e.substr(0,r)),t+=Or[n]):t!==void 0&&(t+=e[r])}return t!==void 0?t:e}function ir(e,t){let r;return e.authority&&e.path.length>1&&e.scheme==="file"?r=`//${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?r=e.path.substr(1):r=e.path[1].toLowerCase()+e.path.substr(2):r=e.path,be&&(r=r.replace(/\//g,"\\")),r}function sr(e,t){const r=t?ii:Ir;let n="",{scheme:i,authority:s,path:o,query:u,fragment:a}=e;if(i&&(n+=i,n+=":"),(s||i==="file")&&(n+=at,n+=at),s){let f=s.indexOf("@");if(f!==-1){const _=s.substr(0,f);s=s.substr(f+1),f=_.indexOf(":"),f===-1?n+=r(_,!1):(n+=r(_.substr(0,f),!1),n+=":",n+=r(_.substr(f+1),!1)),n+="@"}s=s.toLowerCase(),f=s.indexOf(":"),f===-1?n+=r(s,!1):(n+=r(s.substr(0,f),!1),n+=s.substr(f))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const f=o.charCodeAt(1);f>=65&&f<=90&&(o=`/${String.fromCharCode(f+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const f=o.charCodeAt(0);f>=65&&f<=90&&(o=`${String.fromCharCode(f+32)}:${o.substr(2)}`)}n+=r(o,!0)}return u&&(n+="?",n+=r(u,!1)),a&&(n+="#",n+=t?a:Ir(a,!1)),n}function jr(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+jr(e.substr(3)):e}}const Ur=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Bt(e){return e.match(Ur)?e.replace(Ur,t=>jr(t)):e}class st{constructor(t,r){this.lineNumber=t,this.column=r}with(t=this.lineNumber,r=this.column){return t===this.lineNumber&&r===this.column?this:new st(t,r)}delta(t=0,r=0){return this.with(this.lineNumber+t,this.column+r)}equals(t){return st.equals(this,t)}static equals(t,r){return!t&&!r?!0:!!t&&!!r&&t.lineNumber===r.lineNumber&&t.column===r.column}isBefore(t){return st.isBefore(this,t)}static isBefore(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<r.column}isBeforeOrEqual(t){return st.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<=r.column}static compare(t,r){let n=t.lineNumber|0,i=r.lineNumber|0;if(n===i){let s=t.column|0,o=r.column|0;return s-o}return n-i}clone(){return new st(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new st(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}}class Qe{constructor(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)}isEmpty(){return Qe.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return Qe.containsPosition(this,t)}static containsPosition(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)}containsRange(t){return Qe.containsRange(this,t)}static containsRange(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)}strictContainsRange(t){return Qe.strictContainsRange(this,t)}static strictContainsRange(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)}plusRange(t){return Qe.plusRange(this,t)}static plusRange(t,r){let n,i,s,o;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?(s=r.endLineNumber,o=r.endColumn):r.endLineNumber===t.endLineNumber?(s=r.endLineNumber,o=Math.max(r.endColumn,t.endColumn)):(s=t.endLineNumber,o=t.endColumn),new Qe(n,i,s,o)}intersectRanges(t){return Qe.intersectRanges(this,t)}static intersectRanges(t,r){let n=t.startLineNumber,i=t.startColumn,s=t.endLineNumber,o=t.endColumn,u=r.startLineNumber,a=r.startColumn,f=r.endLineNumber,_=r.endColumn;return n<u?(n=u,i=a):n===u&&(i=Math.max(i,a)),s>f?(s=f,o=_):s===f&&(o=Math.min(o,_)),n>s||n===s&&i>o?null:new Qe(n,i,s,o)}equalsRange(t){return Qe.equalsRange(this,t)}static equalsRange(t,r){return!!t&&!!r&&t.startLineNumber===r.startLineNumber&&t.startColumn===r.startColumn&&t.endLineNumber===r.endLineNumber&&t.endColumn===r.endColumn}getEndPosition(){return Qe.getEndPosition(this)}static getEndPosition(t){return new st(t.endLineNumber,t.endColumn)}getStartPosition(){return Qe.getStartPosition(this)}static getStartPosition(t){return new st(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,r){return new Qe(this.startLineNumber,this.startColumn,t,r)}setStartPosition(t,r){return new Qe(t,r,this.endLineNumber,this.endColumn)}collapseToStart(){return Qe.collapseToStart(this)}static collapseToStart(t){return new Qe(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}static fromPositions(t,r=t){return new Qe(t.lineNumber,t.column,r.lineNumber,r.column)}static lift(t){return t?new Qe(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(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)}static areIntersecting(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)}static compareRangesUsingStarts(t,r){if(t&&r){const s=t.startLineNumber|0,o=r.startLineNumber|0;if(s===o){const u=t.startColumn|0,a=r.startColumn|0;if(u===a){const f=t.endLineNumber|0,_=r.endLineNumber|0;if(f===_){const m=t.endColumn|0,T=r.endColumn|0;return m-T}return f-_}return u-a}return s-o}return(t?1:0)-(r?1:0)}static compareRangesUsingEnds(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}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}}const si=3;function kr(e,t,r,n){return new Ct(e,t,r).ComputeDiff(n)}class Br{constructor(t){const r=[],n=[];for(let i=0,s=t.length;i<s;i++)r[i]=or(t[i],1),n[i]=ur(t[i],1);this.lines=t,this._startColumns=r,this._endColumns=n}getElements(){const t=[];for(let 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}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,r,n){const i=[],s=[],o=[];let u=0;for(let a=r;a<=n;a++){const f=this.lines[a],_=t?this._startColumns[a]:1,m=t?this._endColumns[a]:f.length+1;for(let T=_;T<m;T++)i[u]=f.charCodeAt(T-1),s[u]=a+1,o[u]=T,u++}return new oi(i,s,o)}}class oi{constructor(t,r,n){this._charCodes=t,this._lineNumbers=r,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(t){return this._lineNumbers[t]}getStartColumn(t){return this._columns[t]}getEndLineNumber(t){return this._lineNumbers[t]}getEndColumn(t){return this._columns[t]+1}}class Mt{constructor(t,r,n,i,s,o,u,a){this.originalStartLineNumber=t,this.originalStartColumn=r,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=u,this.modifiedEndColumn=a}static createFromDiffChange(t,r,n){let i,s,o,u,a,f,_,m;return t.originalLength===0?(i=0,s=0,o=0,u=0):(i=r.getStartLineNumber(t.originalStart),s=r.getStartColumn(t.originalStart),o=r.getEndLineNumber(t.originalStart+t.originalLength-1),u=r.getEndColumn(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(a=0,f=0,_=0,m=0):(a=n.getStartLineNumber(t.modifiedStart),f=n.getStartColumn(t.modifiedStart),_=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),m=n.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new Mt(i,s,o,u,a,f,_,m)}}function ui(e){if(e.length<=1)return e;const t=[e[0]];let r=t[0];for(let n=1,i=e.length;n<i;n++){const s=e[n],o=s.originalStart-(r.originalStart+r.originalLength),u=s.modifiedStart-(r.modifiedStart+r.modifiedLength);Math.min(o,u)<si?(r.originalLength=s.originalStart+s.originalLength-r.originalStart,r.modifiedLength=s.modifiedStart+s.modifiedLength-r.modifiedStart):(t.push(s),r=s)}return t}class xt{constructor(t,r,n,i,s){this.originalStartLineNumber=t,this.originalEndLineNumber=r,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(t,r,n,i,s,o,u){let a,f,_,m,T;if(r.originalLength===0?(a=n.getStartLineNumber(r.originalStart)-1,f=0):(a=n.getStartLineNumber(r.originalStart),f=n.getEndLineNumber(r.originalStart+r.originalLength-1)),r.modifiedLength===0?(_=i.getStartLineNumber(r.modifiedStart)-1,m=0):(_=i.getStartLineNumber(r.modifiedStart),m=i.getEndLineNumber(r.modifiedStart+r.modifiedLength-1)),o&&r.originalLength>0&&r.originalLength<20&&r.modifiedLength>0&&r.modifiedLength<20&&s()){const oe=n.createCharSequence(t,r.originalStart,r.originalStart+r.originalLength-1),ve=i.createCharSequence(t,r.modifiedStart,r.modifiedStart+r.modifiedLength-1);let Se=kr(oe,ve,s,!0).changes;u&&(Se=ui(Se)),T=[];for(let Me=0,Ue=Se.length;Me<Ue;Me++)T.push(Mt.createFromDiffChange(Se[Me],oe,ve))}return new xt(a,f,_,m,T)}}class ai{constructor(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 Br(t),this.modified=new Br(r),this.continueLineDiff=Wr(n.maxComputationTime),this.continueCharDiff=Wr(n.maxComputationTime===0?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{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}]}]};const t=kr(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),r=t.changes,n=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const u=[];for(let a=0,f=r.length;a<f;a++)u.push(xt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,r[a],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:u}}const i=[];let s=0,o=0;for(let u=-1,a=r.length;u<a;u++){const f=u+1<a?r[u+1]:null,_=f?f.originalStart:this.originalLines.length,m=f?f.modifiedStart:this.modifiedLines.length;for(;s<_&&o<m;){const T=this.originalLines[s],oe=this.modifiedLines[o];if(T!==oe){{let ve=or(T,1),Se=or(oe,1);for(;ve>1&&Se>1;){const Me=T.charCodeAt(ve-2),Ue=oe.charCodeAt(Se-2);if(Me!==Ue)break;ve--,Se--}(ve>1||Se>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,ve,o+1,1,Se)}{let ve=ur(T,1),Se=ur(oe,1);const Me=T.length+1,Ue=oe.length+1;for(;ve<Me&&Se<Ue;){const ie=T.charCodeAt(ve-1),R=T.charCodeAt(Se-1);if(ie!==R)break;ve++,Se++}(ve<Me||Se<Ue)&&this._pushTrimWhitespaceCharChange(i,s+1,ve,Me,o+1,Se,Ue)}}s++,o++}f&&(i.push(xt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,f,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=f.originalLength,o+=f.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(t,r,n,i,s,o,u){if(this._mergeTrimWhitespaceCharChange(t,r,n,i,s,o,u))return;let a;this.shouldComputeCharChanges&&(a=[new Mt(r,n,r,i,s,o,s,u)]),t.push(new xt(r,r,s,s,a))}_mergeTrimWhitespaceCharChange(t,r,n,i,s,o,u){const a=t.length;if(a===0)return!1;const f=t[a-1];return f.originalEndLineNumber===0||f.modifiedEndLineNumber===0?!1:f.originalEndLineNumber+1===r&&f.modifiedEndLineNumber+1===s?(f.originalEndLineNumber=r,f.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&f.charChanges&&f.charChanges.push(new Mt(r,n,r,i,s,o,s,u)),!0):!1}}function or(e,t){const r=Rn(e);return r===-1?t:r+1}function ur(e,t){const r=Tn(e);return r===-1?t:r+2}function Wr(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function $r(e){return e<0?0:e>255?255:e|0}function Ft(e){return e<0?0:e>4294967295?4294967295:e|0}class li{constructor(t,r){this.index=t,this.remainder=r}}class fi{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,r){t=Ft(t);const n=this.values,i=this.prefixSum,s=r.length;return s===0?!1:(this.values=new Uint32Array(n.length+s),this.values.set(n.subarray(0,t),0),this.values.set(n.subarray(t),t+s),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)}changeValue(t,r){return t=Ft(t),r=Ft(r),this.values[t]===r?!1:(this.values[t]=r,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,r){t=Ft(t),r=Ft(r);const n=this.values,i=this.prefixSum;if(t>=n.length)return!1;let s=n.length-t;return r>=s&&(r=s),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)}getTotalValue(){return this.values.length===0?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(t){return t<0?0:(t=Ft(t),this._getAccumulatedValue(t))}_getAccumulatedValue(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let r=this.prefixSumValidIndex[0]+1;r===0&&(this.prefixSum[0]=this.values[0],r++),t>=this.values.length&&(t=this.values.length-1);for(let 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]}getIndexOf(t){t=Math.floor(t),this.getTotalValue();let r=0,n=this.values.length-1,i=0,s=0,o=0;for(;r<=n;)if(i=r+(n-r)/2|0,s=this.prefixSum[i],o=s-this.values[i],t<o)n=i-1;else if(t>=s)r=i+1;else break;return new li(i,t-o)}}class ci{constructor(t,r,n,i){this._uri=t,this._lines=r,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const r=t.changes;for(const n of r)this._acceptDeleteRange(n.range),this._acceptInsertText(new st(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,r=this._lines.length,n=new Uint32Array(r);for(let i=0;i<r;i++)n[i]=this._lines[i].length+t;this._lineStarts=new fi(n)}}_setLineText(t,r){this._lines[t]=r,this._lineStarts&&this._lineStarts.changeValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(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)}_acceptInsertText(t,r){if(r.length===0)return;let n=Fn(r);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]);let i=new Uint32Array(n.length-1);for(let s=1;s<n.length;s++)this._lines.splice(t.lineNumber+s-1,0,n[s]),i[s-1]=n[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}const hi="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function gi(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const r of hi)e.indexOf(r)>=0||(t+="\\"+r);return t+="\\s]+)",new RegExp(t,"g")}const di=gi();function mi(e){let t=di;if(e&&e instanceof RegExp)if(e.global)t=e;else{let 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}const pi={maxLen:1e3,windowSize:15,timeBudget:150};function qr(e,t,r,n,i=pi){if(r.length>i.maxLen){let f=e-i.maxLen/2;return f<0?f=0:n+=f,r=r.substring(f,e+i.maxLen/2),qr(e,t,r,n,i)}const s=Date.now(),o=e-1-n;let u=-1,a=null;for(let f=1;!(Date.now()-s>=i.timeBudget);f++){const _=o-i.windowSize*f;t.lastIndex=Math.max(0,_);const m=yi(t,r,o,u);if(!m&&a||(a=m,_<=0))break;u=_}if(a){let f={word:a[0],startColumn:n+1+a.index,endColumn:n+1+a.index+a[0].length};return t.lastIndex=0,f}return null}function yi(e,t,r,n){let i;for(;i=e.exec(t);){const s=i.index||0;if(s<=r&&e.lastIndex>=r)return i;if(n>0&&s>n)return null}return null}class Wt{constructor(t){let r=$r(t);this._defaultValue=r,this._asciiMap=Wt._createAsciiMap(r),this._map=new Map}static _createAsciiMap(t){let r=new Uint8Array(256);for(let n=0;n<256;n++)r[n]=t;return r}set(t,r){let n=$r(r);t>=0&&t<256?this._asciiMap[t]=n:this._map.set(t,n)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}}class Ss{constructor(){this._actual=new Wt(0)}add(t){this._actual.set(t,1)}has(t){return this._actual.get(t)===1}}class bi{constructor(t,r,n){const i=new Uint8Array(t*r);for(let s=0,o=t*r;s<o;s++)i[s]=n;this._data=i,this.rows=t,this.cols=r}get(t,r){return this._data[t*this.cols+r]}set(t,r,n){this._data[t*this.cols+r]=n}}class vi{constructor(t){let r=0,n=0;for(let s=0,o=t.length;s<o;s++){let[u,a,f]=t[s];a>r&&(r=a),u>n&&(n=u),f>n&&(n=f)}r++,n++;let i=new bi(n,r,0);for(let s=0,o=t.length;s<o;s++){let[u,a,f]=t[s];i.set(u,a,f)}this._states=i,this._maxCharCode=r}nextState(t,r){return r<0||r>=this._maxCharCode?0:this._states.get(t,r)}}let ar=null;function _i(){return ar===null&&(ar=new vi([[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]])),ar}let Ot=null;function Si(){if(Ot===null){Ot=new Wt(0);const e=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\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`;for(let r=0;r<e.length;r++)Ot.set(e.charCodeAt(r),1);const t=".,;";for(let r=0;r<t.length;r++)Ot.set(t.charCodeAt(r),2)}return Ot}class $t{static _createLink(t,r,n,i,s){let o=s-1;do{const u=r.charCodeAt(o);if(t.get(u)!==2)break;o--}while(o>i);if(i>0){const u=r.charCodeAt(i-1),a=r.charCodeAt(o);(u===40&&a===41||u===91&&a===93||u===123&&a===125)&&o--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:o+2},url:r.substring(i,o+1)}}static computeLinks(t,r=_i()){const n=Si();let i=[];for(let s=1,o=t.getLineCount();s<=o;s++){const u=t.getLineContent(s),a=u.length;let f=0,_=0,m=0,T=1,oe=!1,ve=!1,Se=!1,Me=!1;for(;f<a;){let Ue=!1;const ie=u.charCodeAt(f);if(T===13){let R;switch(ie){case 40:oe=!0,R=0;break;case 41:R=oe?0:1;break;case 91:Se=!0,ve=!0,R=0;break;case 93:Se=!1,R=ve?0:1;break;case 123:Me=!0,R=0;break;case 125:R=Me?0:1;break;case 39:R=m===34||m===96?0:1;break;case 34:R=m===39||m===96?0:1;break;case 96:R=m===39||m===34?0:1;break;case 42:R=m===42?1:0;break;case 124:R=m===124?1:0;break;case 32:R=Se?0:1;break;default:R=n.get(ie)}R===1&&(i.push($t._createLink(n,u,s,_,f)),Ue=!0)}else if(T===12){let R;ie===91?(ve=!0,R=0):R=n.get(ie),R===1?Ue=!0:T=13}else T=r.nextState(T,ie),T===0&&(Ue=!0);Ue&&(T=1,oe=!1,ve=!1,Me=!1,_=f+1,m=ie),f++}T===13&&i.push($t._createLink(n,u,s,_,a))}return i}}function wi(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:$t.computeLinks(e)}class lr{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(t,r,n,i,s){if(t&&r){let o=this.doNavigateValueSet(r,s);if(o)return{range:t,value:o}}if(n&&i){let o=this.doNavigateValueSet(i,s);if(o)return{range:n,value:o}}return null}doNavigateValueSet(t,r){let n=this.numberReplace(t,r);return n!==null?n:this.textReplace(t,r)}numberReplace(t,r){let n=Math.pow(10,t.length-(t.lastIndexOf(".")+1)),i=Number(t),s=parseFloat(t);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!r?null:(i=Math.floor(i*n),i+=r?n:-n,String(i/n)):null}textReplace(t,r){return this.valueSetsReplace(this._defaultValueSet,t,r)}valueSetsReplace(t,r,n){let i=null;for(let s=0,o=t.length;i===null&&s<o;s++)i=this.valueSetReplace(t[s],r,n);return i}valueSetReplace(t,r,n){let i=t.indexOf(r);return i>=0?(i+=n?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}}lr.INSTANCE=new lr;class Ye{constructor(t){this.element=t,this.next=Ye.Undefined,this.prev=Ye.Undefined}}Ye.Undefined=new Ye(void 0);class Hr{constructor(){this._first=Ye.Undefined,this._last=Ye.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Ye.Undefined}clear(){this._first=Ye.Undefined,this._last=Ye.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,r){const n=new Ye(t);if(this._first===Ye.Undefined)this._first=n,this._last=n;else if(r){const s=this._last;this._last=n,n.prev=s,s.next=n}else{const s=this._first;this._first=n,n.next=s,s.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==Ye.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==Ye.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==Ye.Undefined&&t.next!==Ye.Undefined){const r=t.prev;r.next=t.next,t.next.prev=r}else t.prev===Ye.Undefined&&t.next===Ye.Undefined?(this._first=Ye.Undefined,this._last=Ye.Undefined):t.next===Ye.Undefined?(this._last=this._last.prev,this._last.next=Ye.Undefined):t.prev===Ye.Undefined&&(this._first=this._first.next,this._first.prev=Ye.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==Ye.Undefined;)yield t.element,t=t.next}}const Ai=A.performance&&typeof A.performance.now=="function";class qt{constructor(t){this._highResolution=Ai&&t,this._startTime=this._now(),this._stopTime=-1}static create(t=!0){return new qt(t)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?A.performance.now():Date.now()}}var fr=ft(500),Ht;(function(e){e.None=()=>me.None;function t(R){return(H,ne=null,le)=>{let ye=!1,fe;return fe=R(xe=>{if(!ye)return fe?fe.dispose():ye=!0,H.call(ne,xe)},null,le),ye&&fe.dispose(),fe}}e.once=t;function r(R,H){return a((ne,le=null,ye)=>R(fe=>ne.call(le,H(fe)),null,ye))}e.map=r;function n(R,H){return a((ne,le=null,ye)=>R(fe=>{H(fe),ne.call(le,fe)},null,ye))}e.forEach=n;function i(R,H){return a((ne,le=null,ye)=>R(fe=>H(fe)&&ne.call(le,fe),null,ye))}e.filter=i;function s(R){return R}e.signal=s;function o(...R){return(H,ne=null,le)=>ce(...R.map(ye=>ye(fe=>H.call(ne,fe),null,le)))}e.any=o;function u(R,H,ne){let le=ne;return r(R,ye=>(le=H(le,ye),le))}e.reduce=u;function a(R){let H;const ne=new ot({onFirstListenerAdd(){H=R(ne.fire,ne)},onLastListenerRemove(){H.dispose()}});return ne.event}e.snapshot=a;function f(R,H,ne=100,le=!1,ye){let fe,xe,He,We=0;const we=new ot({leakWarningThreshold:ye,onFirstListenerAdd(){fe=R(St=>{We++,xe=H(xe,St),le&&!He&&(we.fire(xe),xe=void 0),clearTimeout(He),He=setTimeout(()=>{const Ti=xe;xe=void 0,He=void 0,(!le||We>1)&&we.fire(Ti),We=0},ne)})},onLastListenerRemove(){fe.dispose()}});return we.event}e.debounce=f;function _(R){const H=new Date().getTime();return r(t(R),ne=>new Date().getTime()-H)}e.stopwatch=_;function m(R){let H=!0,ne;return i(R,le=>{const ye=H||le!==ne;return H=!1,ne=le,ye})}e.latch=m;function T(R,H=!1,ne=[]){let le=ne.slice(),ye=R(He=>{le?le.push(He):xe.fire(He)});const fe=()=>{le&&le.forEach(He=>xe.fire(He)),le=null},xe=new ot({onFirstListenerAdd(){ye||(ye=R(He=>xe.fire(He)))},onFirstListenerDidAdd(){le&&(H?setTimeout(fe):fe())},onLastListenerRemove(){ye&&ye.dispose(),ye=null}});return xe.event}e.buffer=T;class oe{constructor(H){this.event=H}map(H){return new oe(r(this.event,H))}forEach(H){return new oe(n(this.event,H))}filter(H){return new oe(i(this.event,H))}reduce(H,ne){return new oe(u(this.event,H,ne))}latch(){return new oe(m(this.event))}debounce(H,ne=100,le=!1,ye){return new oe(f(this.event,H,ne,le,ye))}on(H,ne,le){return this.event(H,ne,le)}once(H,ne,le){return t(this.event)(H,ne,le)}}function ve(R){return new oe(R)}e.chain=ve;function Se(R,H,ne=le=>le){const le=(...He)=>xe.fire(ne(...He)),ye=()=>R.on(H,le),fe=()=>R.removeListener(H,le),xe=new ot({onFirstListenerAdd:ye,onLastListenerRemove:fe});return xe.event}e.fromNodeEventEmitter=Se;function Me(R,H,ne=le=>le){const le=(...He)=>xe.fire(ne(...He)),ye=()=>R.addEventListener(H,le),fe=()=>R.removeEventListener(H,le),xe=new ot({onFirstListenerAdd:ye,onLastListenerRemove:fe});return xe.event}e.fromDOMEventEmitter=Me;function Ue(R){const H=new ot;let ne=!1;return R.then(void 0,()=>null).then(()=>{ne?H.fire(void 0):setTimeout(()=>H.fire(void 0),0)}),ne=!0,H.event}e.fromPromise=Ue;function ie(R){return new Promise(H=>t(R)(H))}e.toPromise=ie})(Ht||(Ht={}));class Gt{constructor(t){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${t}_${Gt._idPool++}`}start(t){this._stopWatch=new qt(!0),this._listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this._elapsedOverall+=t,this._invocationCount+=1,fr.info(`did FIRE ${this._name}: elapsed_ms: ${t.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}Gt._idPool=0;let Gr=-1;class Ni{constructor(t,r=Math.random().toString(18).slice(2,5)){this.customThreshold=t,this.name=r,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(t){let r=Gr;if(typeof this.customThreshold=="number"&&(r=this.customThreshold),r<=0||t<r)return;this._stacks||(this._stacks=new Map);const n=new Error().stack.split(`
`).slice(3).join(`
`),i=this._stacks.get(n)||0;if(this._stacks.set(n,i+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=r*.5;let s,o=0;for(const[u,a]of this._stacks)(!s||o<a)&&(s=u,o=a);fr.warn(`[${this.name}] potential listener LEAK detected, having ${t} listeners already. MOST frequent listener (${o}):`),fr.warn(s)}return()=>{const s=this._stacks.get(n)||0;this._stacks.set(n,s-1)}}}class ot{constructor(t){var r;this._disposed=!1,this._options=t,this._leakageMon=Gr>0?new Ni(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((r=this._options)===null||r===void 0)&&r._profName?new Gt(this._options._profName):void 0}get event(){return this._event||(this._event=(t,r,n)=>{var i;this._listeners||(this._listeners=new Hr);const s=this._listeners.isEmpty();s&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(r?[t,r]:t);s&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,t,r);const u=(i=this._leakageMon)===null||i===void 0?void 0:i.check(this._listeners.size);let a;return a={dispose:()=>{u&&u(),a.dispose=ot._noop,this._disposed||(o(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))}},n instanceof K?n.add(a):Array.isArray(n)&&n.push(a),a}),this._event}fire(t){var r,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Hr);for(let i of this._listeners)this._deliveryQueue.push([i,t]);for((r=this._perfMon)===null||r===void 0||r.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[i,s]=this._deliveryQueue.shift();try{typeof i=="function"?i.call(void 0,s):i[0].call(i[1],s)}catch(o){g(o)}}(n=this._perfMon)===null||n===void 0||n.stop()}}dispose(){var t,r,n;(t=this._listeners)===null||t===void 0||t.clear(),(r=this._deliveryQueue)===null||r===void 0||r.clear(),(n=this._leakageMon)===null||n===void 0||n.dispose(),this._disposed=!0}}ot._noop=function(){};class ws extends null{constructor(t){super(t),this._isPaused=0,this._eventQueue=new LinkedList,this._mergeFn=t?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const t=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(t))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(t){this._listeners&&(this._isPaused!==0?this._eventQueue.push(t):super.fire(t))}}class As{constructor(){this.buffers=[]}wrapEvent(t){return(r,n,i)=>t(s=>{const o=this.buffers[this.buffers.length-1];o?o.push(()=>r.call(n,s)):r.call(n,s)},void 0,i)}bufferEvents(t){const r=[];this.buffers.push(r);const n=t();return this.buffers.pop(),r.forEach(i=>i()),n}}class Ns{constructor(){this.listening=!1,this.inputEvent=Ht.None,this.inputEventListener=Disposable.None,this.emitter=new ot({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(t){this.inputEvent=t,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=t(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const Vr=Object.freeze(function(e,t){const r=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(r)}}});var Vt;(function(e){function t(r){return r===e.None||r===e.Cancelled||r instanceof Yt?!0:!r||typeof r!="object"?!1:typeof r.isCancellationRequested=="boolean"&&typeof r.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Ht.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Vr})})(Vt||(Vt={}));class Yt{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Vr:(this._emitter||(this._emitter=new ot),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Li{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Yt),this._token}cancel(){this._token?this._token instanceof Yt&&this._token.cancel():this._token=Vt.Cancelled}dispose(t=!1){t&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Yt&&this._token.dispose():this._token=Vt.None}}class cr{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,r){this._keyCodeToStr[t]=r,this._strToKeyCode[r.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const hr=new cr,gr=new cr,dr=new cr;(function(){function e(t,r,n=r,i=n){hr.define(t,r),gr.define(t,n),dr.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 Yr;(function(e){function t(o){return hr.keyCodeToStr(o)}e.toString=t;function r(o){return hr.strToKeyCode(o)}e.fromString=r;function n(o){return gr.keyCodeToStr(o)}e.toUserSettingsUS=n;function i(o){return dr.keyCodeToStr(o)}e.toUserSettingsGeneral=i;function s(o){return gr.strToKeyCode(o)||dr.strToKeyCode(o)}e.fromUserSettings=s})(Yr||(Yr={}));function Ei(e,t){const r=(t&65535)<<16>>>0;return(e|r)>>>0}function Ls(e,t){if(e===0)return null;const r=(e&65535)>>>0,n=(e&4294901760)>>>16;return n!==0?new pr([mr(r,t),mr(n,t)]):new pr([mr(r,t)])}function mr(e,t){const r=!!(e&2048),n=!!(e&256),i=t===2?n:r,s=!!(e&1024),o=!!(e&512),u=t===2?r:n,a=e&255;return new Ci(i,s,o,u,a)}class Ci{constructor(t,r,n,i,s){this.ctrlKey=t,this.shiftKey=r,this.altKey=n,this.metaKey=i,this.keyCode=s}equals(t){return this.ctrlKey===t.ctrlKey&&this.shiftKey===t.shiftKey&&this.altKey===t.altKey&&this.metaKey===t.metaKey&&this.keyCode===t.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}toChord(){return new pr([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}class pr{constructor(t){if(t.length===0)throw illegalArgument("parts");this.parts=t}}class Es{constructor(t,r,n,i,s,o){this.ctrlKey=t,this.shiftKey=r,this.altKey=n,this.metaKey=i,this.keyLabel=s,this.keyAriaLabel=o}}class Cs{}class lt extends Qe{constructor(t,r,n,i){super(t,r,n,i),this.selectionStartLineNumber=t,this.selectionStartColumn=r,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return lt.selectionsEqual(this,t)}static selectionsEqual(t,r){return t.selectionStartLineNumber===r.selectionStartLineNumber&&t.selectionStartColumn===r.selectionStartColumn&&t.positionLineNumber===r.positionLineNumber&&t.positionColumn===r.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,r){return this.getDirection()===0?new lt(this.startLineNumber,this.startColumn,t,r):new lt(t,r,this.startLineNumber,this.startColumn)}getPosition(){return new st(this.positionLineNumber,this.positionColumn)}setStartPosition(t,r){return this.getDirection()===0?new lt(t,r,this.endLineNumber,this.endColumn):new lt(this.endLineNumber,this.endColumn,t,r)}static fromPositions(t,r=t){return new lt(t.lineNumber,t.column,r.lineNumber,r.column)}static liftSelection(t){return new lt(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,r){if(t&&!r||!t&&r)return!1;if(!t&&!r)return!0;if(t.length!==r.length)return!1;for(let n=0,i=t.length;n<i;n++)if(!this.selectionsEqual(t[n],r[n]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber=="number"&&typeof t.selectionStartColumn=="number"&&typeof t.positionLineNumber=="number"&&typeof t.positionColumn=="number"}static createWithDirection(t,r,n,i,s){return s===0?new lt(t,r,n,i):new lt(n,i,t,r)}}class Pi{constructor(t,r,n){this.offset=t|0,this.type=r,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class Ps{constructor(t,r){this.tokens=t,this.endState=r}}class Ds{constructor(t,r){this.tokens=t,this.endState=r}}var zr;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(zr||(zr={}));var Qr;(function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Qr||(Qr={}));var Jr;(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.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(Jr||(Jr={}));var Zr;(function(e){e[e.Deprecated=1]="Deprecated"})(Zr||(Zr={}));var Xr;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(Xr||(Xr={}));var Kr;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(Kr||(Kr={}));var en;(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"})(en||(en={}));var tn;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(tn||(tn={}));var rn;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(rn||(rn={}));var nn;(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"})(nn||(nn={}));var sn;(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.autoClosingDelete=6]="autoClosingDelete",e[e.autoClosingOvertype=7]="autoClosingOvertype",e[e.autoClosingQuotes=8]="autoClosingQuotes",e[e.autoIndent=9]="autoIndent",e[e.automaticLayout=10]="automaticLayout",e[e.autoSurround=11]="autoSurround",e[e.codeLens=12]="codeLens",e[e.codeLensFontFamily=13]="codeLensFontFamily",e[e.codeLensFontSize=14]="codeLensFontSize",e[e.colorDecorators=15]="colorDecorators",e[e.columnSelection=16]="columnSelection",e[e.comments=17]="comments",e[e.contextmenu=18]="contextmenu",e[e.copyWithSyntaxHighlighting=19]="copyWithSyntaxHighlighting",e[e.cursorBlinking=20]="cursorBlinking",e[e.cursorSmoothCaretAnimation=21]="cursorSmoothCaretAnimation",e[e.cursorStyle=22]="cursorStyle",e[e.cursorSurroundingLines=23]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=24]="cursorSurroundingLinesStyle",e[e.cursorWidth=25]="cursorWidth",e[e.disableLayerHinting=26]="disableLayerHinting",e[e.disableMonospaceOptimizations=27]="disableMonospaceOptimizations",e[e.domReadOnly=28]="domReadOnly",e[e.dragAndDrop=29]="dragAndDrop",e[e.emptySelectionClipboard=30]="emptySelectionClipboard",e[e.extraEditorClassName=31]="extraEditorClassName",e[e.fastScrollSensitivity=32]="fastScrollSensitivity",e[e.find=33]="find",e[e.fixedOverflowWidgets=34]="fixedOverflowWidgets",e[e.folding=35]="folding",e[e.foldingStrategy=36]="foldingStrategy",e[e.foldingHighlight=37]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=38]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=39]="fontFamily",e[e.fontInfo=40]="fontInfo",e[e.fontLigatures=41]="fontLigatures",e[e.fontSize=42]="fontSize",e[e.fontWeight=43]="fontWeight",e[e.formatOnPaste=44]="formatOnPaste",e[e.formatOnType=45]="formatOnType",e[e.glyphMargin=46]="glyphMargin",e[e.gotoLocation=47]="gotoLocation",e[e.hideCursorInOverviewRuler=48]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=49]="highlightActiveIndentGuide",e[e.hover=50]="hover",e[e.inDiffEditor=51]="inDiffEditor",e[e.letterSpacing=52]="letterSpacing",e[e.lightbulb=53]="lightbulb",e[e.lineDecorationsWidth=54]="lineDecorationsWidth",e[e.lineHeight=55]="lineHeight",e[e.lineNumbers=56]="lineNumbers",e[e.lineNumbersMinChars=57]="lineNumbersMinChars",e[e.linkedEditing=58]="linkedEditing",e[e.links=59]="links",e[e.matchBrackets=60]="matchBrackets",e[e.minimap=61]="minimap",e[e.mouseStyle=62]="mouseStyle",e[e.mouseWheelScrollSensitivity=63]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=64]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=65]="multiCursorMergeOverlapping",e[e.multiCursorModifier=66]="multiCursorModifier",e[e.multiCursorPaste=67]="multiCursorPaste",e[e.occurrencesHighlight=68]="occurrencesHighlight",e[e.overviewRulerBorder=69]="overviewRulerBorder",e[e.overviewRulerLanes=70]="overviewRulerLanes",e[e.padding=71]="padding",e[e.parameterHints=72]="parameterHints",e[e.peekWidgetDefaultFocus=73]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=74]="definitionLinkOpensInPeek",e[e.quickSuggestions=75]="quickSuggestions",e[e.quickSuggestionsDelay=76]="quickSuggestionsDelay",e[e.readOnly=77]="readOnly",e[e.renameOnType=78]="renameOnType",e[e.renderControlCharacters=79]="renderControlCharacters",e[e.renderIndentGuides=80]="renderIndentGuides",e[e.renderFinalNewline=81]="renderFinalNewline",e[e.renderLineHighlight=82]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=83]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=84]="renderValidationDecorations",e[e.renderWhitespace=85]="renderWhitespace",e[e.revealHorizontalRightPadding=86]="revealHorizontalRightPadding",e[e.roundedSelection=87]="roundedSelection",e[e.rulers=88]="rulers",e[e.scrollbar=89]="scrollbar",e[e.scrollBeyondLastColumn=90]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=91]="scrollBeyondLastLine",e[e.scrollPredominantAxis=92]="scrollPredominantAxis",e[e.selectionClipboard=93]="selectionClipboard",e[e.selectionHighlight=94]="selectionHighlight",e[e.selectOnLineNumbers=95]="selectOnLineNumbers",e[e.showFoldingControls=96]="showFoldingControls",e[e.showUnused=97]="showUnused",e[e.snippetSuggestions=98]="snippetSuggestions",e[e.smartSelect=99]="smartSelect",e[e.smoothScrolling=100]="smoothScrolling",e[e.stickyTabStops=101]="stickyTabStops",e[e.stopRenderingLineAfter=102]="stopRenderingLineAfter",e[e.suggest=103]="suggest",e[e.suggestFontSize=104]="suggestFontSize",e[e.suggestLineHeight=105]="suggestLineHeight",e[e.suggestOnTriggerCharacters=106]="suggestOnTriggerCharacters",e[e.suggestSelection=107]="suggestSelection",e[e.tabCompletion=108]="tabCompletion",e[e.tabIndex=109]="tabIndex",e[e.unusualLineTerminators=110]="unusualLineTerminators",e[e.useShadowDOM=111]="useShadowDOM",e[e.useTabStops=112]="useTabStops",e[e.wordSeparators=113]="wordSeparators",e[e.wordWrap=114]="wordWrap",e[e.wordWrapBreakAfterCharacters=115]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=116]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=117]="wordWrapColumn",e[e.wordWrapOverride1=118]="wordWrapOverride1",e[e.wordWrapOverride2=119]="wordWrapOverride2",e[e.wrappingIndent=120]="wrappingIndent",e[e.wrappingStrategy=121]="wrappingStrategy",e[e.showDeprecated=122]="showDeprecated",e[e.inlineHints=123]="inlineHints",e[e.editorClassName=124]="editorClassName",e[e.pixelRatio=125]="pixelRatio",e[e.tabFocusMode=126]="tabFocusMode",e[e.layoutInfo=127]="layoutInfo",e[e.wrappingInfo=128]="wrappingInfo"})(sn||(sn={}));var on;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(on||(on={}));var un;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(un||(un={}));var an;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(an||(an={}));var ln;(function(e){e[e.Other=0]="Other",e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(ln||(ln={}));var yr;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",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"})(yr||(yr={}));var br;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(br||(br={}));var vr;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(vr||(vr={}));var fn;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(fn||(fn={}));var cn;(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"})(cn||(cn={}));var hn;(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"})(hn||(hn={}));var gn;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(gn||(gn={}));var dn;(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"})(dn||(dn={}));var mn;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(mn||(mn={}));var pn;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(pn||(pn={}));var yn;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(yn||(yn={}));var _r;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(_r||(_r={}));var bn;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(bn||(bn={}));var vn;(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"})(vn||(vn={}));var _n;(function(e){e[e.Deprecated=1]="Deprecated"})(_n||(_n={}));var Sn;(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"})(Sn||(Sn={}));var wn;(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"})(wn||(wn={}));var An;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(An||(An={}));var Nn;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(Nn||(Nn={}));class It{static chord(t,r){return Ei(t,r)}}It.CtrlCmd=2048,It.Shift=1024,It.Alt=512,It.WinCtrl=256;function Di(){return{editor:void 0,languages:void 0,CancellationTokenSource:Li,Emitter:ot,KeyCode:yr,KeyMod:It,Position:st,Range:Qe,Selection:lt,SelectionDirection:_r,MarkerSeverity:br,MarkerTag:vr,Uri:At,Token:Pi}}var Rt=function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function u(_){try{f(n.next(_))}catch(m){o(m)}}function a(_){try{f(n.throw(_))}catch(m){o(m)}}function f(_){_.done?s(_.value):i(_.value).then(u,a)}f((n=n.apply(e,t||[])).next())})};class Fi extends ci{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,r){let n=qr(t.column,mi(r),this._lines[t.lineNumber-1],0);return n?new Qe(t.lineNumber,n.startColumn,t.lineNumber,n.endColumn):null}words(t){const r=this._lines,n=this._wordenize.bind(this);let i=0,s="",o=0,u=[];return{*[Symbol.iterator](){for(;;)if(o<u.length){const a=s.substring(u[o].start,u[o].end);o+=1,yield a}else if(i<r.length)s=r[i],u=n(s,t),o=0,i+=1;else break}}}getLineWords(t,r){let n=this._lines[t-1],i=this._wordenize(n,r),s=[];for(const o of i)s.push({word:n.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return s}_wordenize(t,r){const n=[];let i;for(r.lastIndex=0;(i=r.exec(t))&&i[0].length!==0;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);let r=this._eol,n=t.startLineNumber-1,i=t.endLineNumber-1,s=[];s.push(this._lines[n].substring(t.startColumn-1));for(let o=n+1;o<i;o++)s.push(this._lines[o]);return s.push(this._lines[i].substring(0,t.endColumn-1)),s.join(r)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();let r=this._lineStarts.getIndexOf(t),n=this._lines[r.index].length;return{lineNumber:1+r.index,column:1+Math.min(r.remainder,n)}}_validateRange(t){const r=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),n=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return r.lineNumber!==t.startLineNumber||r.column!==t.startColumn||n.lineNumber!==t.endLineNumber||n.column!==t.endColumn?{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:n.lineNumber,endColumn:n.column}:t}_validatePosition(t){if(!st.isIPosition(t))throw new Error("bad position");let{lineNumber:r,column:n}=t,i=!1;if(r<1)r=1,n=1,i=!0;else if(r>this._lines.length)r=this._lines.length,n=this._lines[r-1].length+1,i=!0;else{let s=this._lines[r-1].length+1;n<1?(n=1,i=!0):n>s&&(n=s,i=!0)}return i?{lineNumber:r,column:n}:t}}class Nt{constructor(t,r){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=r,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){let t=[];return Object.keys(this._models).forEach(r=>t.push(this._models[r])),t}acceptNewModel(t){this._models[t.url]=new Fi(At.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,r){if(!this._models[t])return;this._models[t].onEvents(r)}acceptRemovedModel(t){this._models[t]&&delete this._models[t]}computeDiff(t,r,n,i){return Rt(this,void 0,void 0,function*(){const s=this._getModel(t),o=this._getModel(r);if(!s||!o)return null;const u=s.getLinesContent(),a=o.getLinesContent(),_=new ai(u,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),m=_.changes.length>0?!1:this._modelsAreIdentical(s,o);return{quitEarly:_.quitEarly,identical:m,changes:_.changes}})}_modelsAreIdentical(t,r){const n=t.getLineCount(),i=r.getLineCount();if(n!==i)return!1;for(let s=1;s<=n;s++){const o=t.getLineContent(s),u=r.getLineContent(s);if(o!==u)return!1}return!0}computeMoreMinimalEdits(t,r){return Rt(this,void 0,void 0,function*(){const n=this._getModel(t);if(!n)return r;const i=[];let s;r=r.slice(0).sort((o,u)=>{if(o.range&&u.range)return Qe.compareRangesUsingStarts(o.range,u.range);let a=o.range?0:1,f=u.range?0:1;return a-f});for(let{range:o,text:u,eol:a}of r){if(typeof a=="number"&&(s=a),Qe.isEmpty(o)&&!u)continue;const f=n.getValueInRange(o);if(u=u.replace(/\r\n|\n|\r/g,n.eol),f===u)continue;if(Math.max(u.length,f.length)>Nt._diffLimit){i.push({range:o,text:u});continue}const _=Gn(f,u,!1),m=n.offsetAt(Qe.lift(o).getStartPosition());for(const T of _){const oe=n.positionAt(m+T.originalStart),ve=n.positionAt(m+T.originalStart+T.originalLength),Se={text:u.substr(T.modifiedStart,T.modifiedLength),range:{startLineNumber:oe.lineNumber,startColumn:oe.column,endLineNumber:ve.lineNumber,endColumn:ve.column}};n.getValueInRange(Se.range)!==Se.text&&i.push(Se)}}return typeof s=="number"&&i.push({eol:s,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(t){return Rt(this,void 0,void 0,function*(){let r=this._getModel(t);return r?wi(r):null})}textualSuggest(t,r,n,i){return Rt(this,void 0,void 0,function*(){const s=new qt(!0),o=new RegExp(n,i),u=new Set;e:for(let a of t){const f=this._getModel(a);if(f){for(let _ of f.words(o))if(!(_===r||!isNaN(Number(_)))&&(u.add(_),u.size>Nt._suggestionsLimit))break e}}return{words:Array.from(u),duration:s.elapsed()}})}computeWordRanges(t,r,n,i){return Rt(this,void 0,void 0,function*(){let s=this._getModel(t);if(!s)return Object.create(null);const o=new RegExp(n,i),u=Object.create(null);for(let a=r.startLineNumber;a<r.endLineNumber;a++){let f=s.getLineWords(a,o);for(const _ of f){if(!isNaN(Number(_.word)))continue;let m=u[_.word];m||(m=[],u[_.word]=m),m.push({startLineNumber:a,startColumn:_.startColumn,endLineNumber:a,endColumn:_.endColumn})}}return u})}navigateValueSet(t,r,n,i,s){return Rt(this,void 0,void 0,function*(){let o=this._getModel(t);if(!o)return null;let u=new RegExp(i,s);r.startColumn===r.endColumn&&(r={startLineNumber:r.startLineNumber,startColumn:r.startColumn,endLineNumber:r.endLineNumber,endColumn:r.endColumn+1});let a=o.getValueInRange(r),f=o.getWordAtPosition({lineNumber:r.startLineNumber,column:r.startColumn},u);if(!f)return null;let _=o.getValueInRange(f);return lr.INSTANCE.navigateValueSet(r,a,f,_,n)})}loadForeignModule(t,r,n){let o={host:Xe(n,(u,a)=>this._host.fhr(u,a)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,r),Promise.resolve(Te(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(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)}}}Nt._diffLimit=1e5,Nt._suggestionsLimit=1e4;function Fs(e){return new Nt(e,null)}typeof importScripts=="function"&&(A.monaco=Di());let Sr=!1;function Ri(e){if(Sr)return;Sr=!0;const t=new Ar(r=>{self.postMessage(r)},r=>new Nt(r,e));self.onmessage=r=>{t.onmessage(r.data)}}self.onmessage=e=>{Sr||Ri(null)}})()})();