code-server
Version:
Run VS Code on a remote server.
1 lines • 223 kB
JavaScript
(()=>{var e={105:(e,t,n)=>{"use strict";n.r(t),n.d(t,{lexer:()=>we,Token:()=>m,any:()=>ie,selector:()=>se,value:()=>ae,keyword:()=>ce,variable:()=>te,formatting:()=>ue,comment:()=>z,whitespace:()=>M,ident:()=>T,string:()=>I,url:()=>Y,interpolation:()=>$,backtick:()=>B,parseMediaExpression:()=>pe,parsePropertyName:()=>fe,parsePropertyValue:()=>de,parseSelector:()=>le,createProperty:()=>ye,createRule:()=>he,createAtRule:()=>be,default:()=>Te});var r=n(2205),o=n(3240);class i{constructor(e){this.type=e,this.children=[],this.parent=null}get firstChild(){return this.children[0]}get nextSibling(){const e=this.index();return-1!==e?this.parent.children[e+1]:null}get previousSibling(){const e=this.index();return-1!==e?this.parent.children[e-1]:null}index(){return this.parent?this.parent.children.indexOf(this):-1}add(e){return e&&(e.remove(),this.children.push(e),e.parent=this),this}remove(){if(this.parent){const e=this.index();-1!==e&&(this.parent.children.splice(e,1),this.parent=null)}return this}}class s extends i{constructor(){super("stylesheet"),this.comments=[]}get start(){const e=this.firstChild;return e&&e.start}get end(){const e=this.children[this.children.length-1];return e&&e.end}addComment(e){this.comments.push(e)}}function a(e){return function(e){let t;for(e=e.slice();t!==e.length;)t=e.length,c(e[0])&&e.shift(),c(d(e))&&e.pop();return e}(e)}function c(e){const t=e&&e.type;return"whitespace"===t||"comment"===t}function u(e,t){const n=e.pos;for(let r=0,o=t.length;r<o;r++)if(!e.eat(t.charCodeAt(r)))return e.pos=n,!1;return!0}function l(e,t){const n=e.pos;return!!e.eat(t)&&(e.start=n,!0)}function f(e,t){const n=e.pos;return!!e.eatWhile(t)&&(e.start=n,!0)}function d(e){return e[e.length-1]}function p(e){return e&&e.valueOf()}class m{constructor(e,t,n,r){this.stream=e,this.start=null!=n?n:e.start,this.end=null!=r?r:e.pos,this.type=t,this._props=null,this._value=null,this._items=null}get size(){return this._items?this._items.length:0}get items(){return this._items}clone(e,t){return new this.constructor(this.stream,this.type,null!=e?e:this.start,null!=t?t:this.end)}add(e){if(Array.isArray(e))for(let t=0,n=e.length;t<n;t++)this.add(e[t]);else e&&(this._items?this._items.push(e):this._items=[e]);return this}remove(e){if(this._items){const t=this._items.indexOf(e);-1!==t&&this._items.splice(t,1)}return this}item(e){const t=this.size;return this._items&&this._items[(t+e)%t]}limit(){return this.stream.limit(this.start,this.end)}slice(e,t){const n=this.clone(),r=this._items&&this._items.slice(e,t);return r&&r.length?(n.start=r[0].start,n.end=r[r.length-1].end,n.add(r)):r&&(n.start=n.end),n}property(e,t){return void 0!==t&&(this._props||(this._props={}),this._props[e]=t),this._props&&this._props[e]}toString(){return`${this.valueOf()} [${this.start}, ${this.end}] (${this.type})`}valueOf(){return null===this._value&&(this._value=this.stream.substring(this.start,this.end)),this._value}}const h=123,g=125,b=(new Map).set(44,"comma").set(58,"propertyDelimiter").set(59,"propertyTerminator").set(h,"ruleStart").set(g,"ruleEnd");var v=function(e,t){if(40===e.peek()){const r=e.pos;e.next();const o=[];let i,s=!1;for(;!e.eof()&&(n=e.peek())!==h&&n!==g&&!e.eat(41)&&(i=t(e),i);)k(i)&&(s=!0),o.push(i);return e.start=r,function(e,t,n){const r=new m(e,"arguments"),o=n?k:w;let i=[];for(let n,s=0,a=t.length;s<a;s++)n=t[s],o(n)?(r.add(y(e,i)||x(e,n.start)),i.length=0):i.push(n);return i.length&&r.add(y(e,i)),r}(e,o,s)}var n};function y(e,t){if((t=a(t)).length){const n=new m(e,"argument",t[0].start,d(t).end);for(let e=0;e<t.length;e++)n.add(t[e]);return n}}function x(e,t){const n=new m(e,"argument",t,t);return n.property("empty",!0),n}function w(e){return"comma"===e.property("type")}function k(e){return"propertyTerminator"===e.property("type")}function T(e){return C(e)&&new m(e,"ident")}function C(e){const t=e.pos;return e.eat(45),e.eat(S)?(e.eatWhile(E),e.start=t,!0):(e.pos=t,!1)}function S(e){return 95===e||45===e||(0,o.$9)(e)||e>=128}function E(e){return(0,o.hj)(e)||S(e)}function A(e,t,n,r,o){const i=e.pos;if(e.eat(n)){const n=r(e,i);if(n||o)return e.start=i,new m(e,t,i).add(n)}e.pos=i}function j(e){return A(e,"at-keyword",64,T)}function $(e,t){const n=e.pos;if(t=t||O,(e.eat(35)||e.eat(64))&&e.eat(h)){const r=new m(e,"interpolation",n);let o,i=1;for(;!e.eof();)if(e.eat(h))i++;else if(e.eat(g)){if(i--,!i)return r.end=e.pos,r}else{if(!(o=t(e)))break;r.add(o)}}e.pos=n}function _(e){const t=e.pos;return(e.eat(35)||e.eat(64))&&(0,o.nC)(e,h,g)?(e.start=t,!0):(e.pos=t,!1)}function O(e){const t=e.pos;for(;!e.eof()&&e.peek()!==g;)P(e)||e.next();if(t!==e.pos)return new m(e,"expression",t)}function I(e){return P(e,!0)}function P(e,t){let n,r,i,s=e.peek();if((0,o.LN)(s)){e.start=e.pos,e.next();const o=s,a=e.pos;for(;!e.eof()&&(n=e.pos,!e.eat(o)&&!e.eat(N));)e.eat(92)?e.eat(N):t&&(i=$(e))&&(r?r.push(i):r=[i]),e.next();if(t){const t=new m(e,"string"),i=new m(e,"unquoted",a,n);return i.add(r),t.add(i),t.property("quote",o),t}return!0}return!1}function N(e){return 10===e||13===e}var z=function(e){return function(e){if(F(e)){const t=new m(e,"comment");return t.property("type","single-line"),t}}(e)||function(e){if(L(e)){const t=new m(e,"comment");return t.property("type","multiline"),t}}(e)};function R(e){return F(e)||L(e)}function F(e){const t=e.pos;if(e.eat(47)&&e.eat(47)){for(e.start=t;!e.eof()&&10!==(n=e.next())&&13!==n;);return!0}var n;return e.pos=t,!1}function L(e){const t=e.pos;if(e.eat(47)&&e.eat(42)){for(;!(e.eof()||42===e.next()&&e.eat(47)););return e.start=t,!0}return e.pos=t,!1}function M(e){return W(e)&&new m(e,"whitespace")}function W(e){return f(e,o.Wd)}function U(e){for(;!e.eof();)if(!W(e)&&!R(e))return!0}function q(e){return 126===e||124===e||94===e||36===e||42===e||61===e}function B(e){if(V(e))return new m(e,"backtick")}function V(e){const t=e.pos;return!!(0,o.nC)(e,96,96)&&(e.start=t,!0)}const D={43:"adjacentSibling",126:"generalSibling",62:"child",38:"nesting"};function H(e){if(function(e){return f(e,G)}(e))return new m(e,"hash-value")}function G(e){return(0,o.hj)(e)||(0,o.$9)(e,65,70)||95===e||45===e||e>128}function Z(e){return 45===e||43===e}function Q(e){return 33===e||60===e||61===e||62===e}function J(e){return 42===e||43===e||45===e||47===e||Q(e)}function X(e){return f(e,K)}function K(e){return!(isNaN(e)||(0,o.LN)(e)||(0,o.Wd)(e)||40===e||41===e||92===e||function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}(e))}function Y(e){const t=e.pos;if(u(e,"url(")){W(e);const n=I(e)||function(e){return X(e)&&new m(e,"unquoted")}(e);return W(e),e.eat(41),new m(e,"url",t).add(n)}e.pos=t}function ee(e){const t=e.pos;return u(e,"url(")?(W(e),P(e)||X(e),W(e),e.eat(41),e.start=t,!0):(e.pos=t,!1)}function te(e){return A(e,"variable",36,ne)}function ne(e){if(function(e){return f(e,re)}(e))return new m(e,"name")}function re(e){return 36===e||E(e)}function oe(e){const t=ie(e)||v(e,oe);if(t&&"ident"===t.type){const n=v(e,oe);if(n)return new m(e,"function",t.start,n.end).add(t).add(n)}return t||function(e){if(e.start=e.pos,null!=e.next())return new m(e,"unknown")}(e)}function ie(e){return ue(e)||Y(e)||se(e)||ae(e)||function(e){if(44===(t=e.peek())||58===t||59===t||t===h||t===g){const t=e.pos,n=b.get(e.next()),r=new m(e,"separator",t);return r.property("type",n),r}var t}(e)}function se(e){return $(e)||B(e)||T(e)||j(e)||function(e){return A(e,"class",46,T)}(e)||function(e){return A(e,"id",35,T)}(e)||function(e){const t=e.pos;if(e.eatWhile(58)){const n=T(e);if(n)return new m(e,"pseudo",t).add(n)}e.pos=t}(e)||function(e){const t=e.pos;if(e.eat(91)){U(e);const n=T(e);U(e);const r=function(e){return f(e,q)&&new m(e,"operator")}(e);U(e);const o=I(e)||T(e);return U(e),e.eat(93),new m(e,"attribute",t).add(n).add(r).add(o)}}(e)||function(e){if(43===(t=e.peek())||126===t||38===t||62===t){const t=e.pos,n=D[e.next()],r=new m(e,"combinator",t);return r.property("type",n),r}var t}(e)}function ae(e){return Y(e)||I(e)||$(e)||B(e)||function(e){if(function(e){const t=e.pos;if(e.eat(Z),e.eatWhile(o.hj)){e.start=t;const n=e.pos;return e.eat(46)&&e.eatWhile(o.hj)||(e.pos=n),!0}return e.eat(46)&&e.eatWhile(o.hj)?(e.start=t,!0):(e.pos=t,!1)}(e)){const t=e.start,n=new m(e,"value"),r=function(e){return C(e)||function(e){return l(e,37)}(e)}(e)?new m(e,"unit"):null;return new m(e,"number",t).add(n).add(r)}}(e)||function(e){return A(e,"hash",35,H,!0)}(e)||ce(e)||function(e){return A(e,"important",33,T)}(e)||function(e){return function(e){return l(e,Q)?(e.eatWhile(61),!0):!!l(e,J)}(e)&&new m(e,"operator")}(e)}function ce(e){return B(e)||te(e)||j(e)||T(e)}function ue(e){return z(e)||M(e)}function le(e){return me(e,"selector")}function fe(e){const t="string"==typeof e?new r.Z(e):e,n=[];for(;!t.eof();)n.push(oe(t));let o;if(1===n.length)o=n[0];else{o=new m(t,"property-name",t.start,t.end);for(let e=0,t=n.length;e<t;e++)o.add(n[e])}return o}function de(e){return me(e)}function pe(e){return me(e)}function me(e,t){t=t||"item";const n="string"==typeof e?new r.Z(e):e,o=[],i=[],s=()=>{const e=a(i);if(e.length){const r=new m(n,t,e[0].start,d(e).end);for(let t=0;t<e.length;t++)r.add(e[t]);o.push(r)}i.length=0};let c;for(;!n.eof();)if(n.eat(44))s();else{if(!(c=oe(n)))throw n.error("Unexpected character");"comment"!==c.type&&i.push(c)}return s(),o}function he(e,t,n,r){if(!t.length)return null;const o=t[0];return o.end=d(t).end,new ge(e,o,n,r)}class ge extends i{constructor(e,t,n,r){super("rule"),this.stream=e,this.selectorToken=t,this.contentStartToken=n,this.contentEndToken=r||n,this._parsedSelector=null}get selector(){return p(this.selectorToken)}get parsedSelector(){return this._parsedSelector||(this._parsedSelector=le(this.selectorToken.limit())),this._parsedSelector}get start(){return this.selectorToken&&this.selectorToken.start}get end(){const e=this.contentEndToken||this.contentStartToken||this.nameToken;return e&&e.end}}function be(e,t,n,r){if(!t.length)return null;let o,i=0;const s=t[i++];return i<t.length?(o=t[i++],o.type="expression",o.end=d(t).end):o=new m(e,"expression",s.end,s.end),new ve(e,s,o,n,r)}class ve extends i{constructor(e,t,n,r,o){super("at-rule"),this.stream=e,this.nameToken=t,this.expressionToken=n,this.contentStartToken=r,this.contentEndToken=o||r,this._parsedExpression=null}get name(){return p(this.nameToken&&this.nameToken.item(0))}get expression(){return p(this.expressionToken)}get parsedExpression(){return this._parsedExpression||(this._parsedExpression=pe(this.expressionToken.limit())),this._parsedExpression}get start(){return this.nameToken&&this.nameToken.start}get end(){const e=this.contentEndToken||this.contentStartToken||this.nameToken;return e&&e.end}}function ye(e,t,n){if(!t.length)return null;let r,o,i=0;const s=t[i++];return i<t.length&&(o=t[i++],o.type="value",o.end=d(t).end),s&&o&&(r=new m(e,"separator",s.end,o.start)),new xe(e,s,o,r,n)}class xe extends i{constructor(e,t,n,r,o){super("property"),this.stream=e,this.nameToken=t,this.valueToken=n,this._parsedName=null,this._parsedValue=null,this.separatorToken=r,this.terminatorToken=o}get name(){return p(this.nameToken)}get parsedName(){return this._parsedName||(this._parsedName=fe(this.nameToken.limit())),this._parsedName}get value(){return p(this.valueToken)}get parsedValue(){return this._parsedValue||(this._parsedValue=de(this.valueToken.limit())),this._parsedValue}get separator(){return p(this.separatorToken)}get terminator(){return p(this.terminatorToken)}get start(){const e=this.nameToken||this.separatorToken||this.valueToken||this.terminatorToken;return e&&e.start}get end(){const e=this.terminatorToken||this.valueToken||this.separatorToken||this.nameToken;return e&&e.end}}function we(e,t){t=t||oe;const n="string"==typeof e?new r.Z(e):e,o=[];let i;for(;!n.eof()&&(i=t(n));)o.push(i);return o}function ke(e,t){if(e.eat(40)){let n,r=1;for(;!e.eof();)if(e.eat(41)){if(r--,!r)break}else if(e.eat(40))r++;else{if(ee(e)||P(e))continue;if(n=z(e)){t.addComment(n);continue}e.next()}return!0}return!1}const Te=function(e){const t="string"==typeof e?new r.Z(e):e,n=new s;let o,i,a,c=n,u=[];const l=()=>{i&&(u.push(i),i=null)};for(;!t.eof();)if(!W(t))if(a=z(t))n.addComment(a);else if(t.start=t.pos,t.eatWhile(58))u.length||(i?l():i=new m(t,"preparse"));else if(t.eat(59))l(),c.add(ye(t,u,new m(t,"termintator"))),u.length=0;else if(t.eat(123))l(),u.length>0&&(o="at-keyword"===u[0].type?be(t,u,new m(t,"body-start")):he(t,u,new m(t,"body-start")),c.add(o),c=o,u.length=0);else if(t.eat(125))l(),c.add(ye(t,u)),"stylesheet"!==c.type&&(c.contentEndToken=new m(t,"body-end"),c=c.parent),u.length=0;else if(a=j(t))l(),u.push(a);else{if(!(ee(t)||_(t)||V(t)||ke(t,n)||P(t)||t.next()))throw new Error(`Unexpected end-of-stream at ${t.pos}`);i=i||new m(t,"preparse"),i.end=t.pos}for(i&&u.push(i),c.add(ye(t,u)),t.start=t.pos;c&&c!==n;)c.contentEndToken=new m(t,"body-end"),c=c.parent;return n}},7378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultOptions:()=>C,match:()=>S,default:()=>j});var r=n(2205),o=n(3240);class i{constructor(e,t,n,r){this.stream=e,this.type=t,this.open=n,this.close=r,this.children=[],this.parent=null}get name(){return"tag"===this.type&&this.open?this.open&&this.open.name&&this.open.name.value:"#"+this.type}get attributes(){return this.open&&this.open.attributes}get start(){return this.open&&this.open.start}get end(){return this.close?this.close.end:this.open&&this.open.end}get firstChild(){return this.children[0]}get nextSibling(){const e=this.getIndex();return-1!==e?this.parent.children[e+1]:null}get previousSibling(){const e=this.getIndex();return-1!==e?this.parent.children[e-1]:null}getIndex(){return this.parent?this.parent.children.indexOf(this):-1}addChild(e){return this.removeChild(e),this.children.push(e),e.parent=this,this}removeChild(e){const t=this.children.indexOf(e);return-1!==t&&(this.children.splice(t,1),e.parent=null),this}}var s=function(e,t,n){return"function"==typeof t?function(e,t){const n=e.pos;if(e.eatWhile(t))return new a(e,n,e.pos);e.pos=n}(e,t):new a(e,t,n)};class a{constructor(e,t,n){this.stream=e,this.start=null!=t?t:e.start,this.end=null!=n?n:e.pos,this._value=null}get value(){if(null===this._value){const e=this.stream.start,t=this.stream.pos;this.stream.start=this.start,this.stream.pos=this.end,this._value=this.stream.current(),this.stream.start=e,this.stream.pos=t}return this._value}toString(){return this.value}valueOf(){return`${this.value} [${this.start}; ${this.end}]`}}const c={throws:!0};var u=function(e){const t=e.pos;if((0,o.nC)(e,60,62,c)||(0,o.nC)(e,91,93,c)||(0,o.nC)(e,40,41,c)||(0,o.nC)(e,123,125,c))return s(e,t)};function l(e){return u(e)||s(e,d)}function f(e){const t=e.pos;if((0,o.Kv)(e)){const n=e.pos;let r,o;e.pos=t,e.next(),r=e.start=e.pos,e.pos=n,e.backUp(1),o=e.pos;const i=s(e,r,o);return e.pos=n,i}return u(e)||function(e){return s(e,m)}(e)}function d(e){return 61!==e&&!p(e)&&!(0,o.Wd)(e)}function p(e){return 62===e||47===e}function m(e){return!(isNaN(e)||(0,o.LN)(e)||(0,o.Wd)(e)||p(e))}var h=function(e){const t=e.pos;if(e.eat(60)){const n={type:e.eat(47)?"close":"open"};if((n.name=function(e){return s(e,g)}(e))&&("close"!==n.type&&(n.attributes=function(e){const t=[];let n;for(;!e.eof();)if(e.eatWhile(o.Wd),n={start:e.pos},n.name=l(e))e.eat(61)?n.value=f(e):n.boolean=!0,n.end=e.pos,t.push(n);else{if(p(e.peek()))break;e.next()}return t}(e),e.eatWhile(o.Wd),n.selfClosing=e.eat(47)),e.eat(62)))return Object.assign(s(e,t),n)}return e.pos=t,null};function g(e){return(0,o.bJ)(e)||58===e||46===e||45===e||95===e}function b(e,t){const n=e.pos;for(let r=0;r<t.length;r++)if(!e.eat(t[r]))return e.pos=n,!1;return e.start=n,!0}function v(e,t,n,r){const o=e.pos;if(b(e,t)){for(;!e.eof();){if(b(e,n))return!0;e.next()}return!!r||(e.pos=o,!1)}return e.pos=o,null}function y(e){return e.split("").map((e=>e.charCodeAt(0)))}const x=y("\x3c!--"),w=y("--\x3e"),k=y("<![CDATA["),T=y("]]>"),C={xml:!1,special:["script","style"],empty:["img","meta","link","br","base","hr","area","wbr","col","embed","input","param","source","track"]};function S(e){if(60===e.peek())return function(e){const t=e.pos;if(v(e,x,w,!0)){const n=s(e,t);return n.type="comment",n}return null}(e)||function(e){const t=e.pos;if(v(e,k,T,!0)){const n=s(e,t);return n.type="cdata",n}return null}(e)||h(e)}function E(e,t){const n=e.pos;for(;!e.eof();){if(b(e,t))return e.pos=e.start,h(e);e.next()}return e.pos=n,null}function A(e){return e[e.length-1]}const j=function(e,t){t=Object.assign({},C,t);const n="string"==typeof e?new r.Z(e):e,o=new i(n,"root"),s=new Set(t.empty),a=t.special.reduce(((e,t)=>e.set(t,y(`</${t}>`))),new Map),c=(e,n)=>e.selfClosing||!t.xml&&s.has(n);let u,l,f,d=[o];for(;!n.eof();)if(u=S(n))if(f=(p=u).name?p.name.value.toLowerCase():`#${p.type}`,"open"===u.type)l=new i(n,"tag",u),A(d).addChild(l),a.has(f)?l.close=E(n,a.get(f)):c(u,f)||d.push(l);else if("close"===u.type){for(let e=d.length-1;e>0;e--)if(d[e].name.toLowerCase()===f){d[e].close=u,d=d.slice(0,e);break}}else A(d).addChild(new i(n,u.type,u));else n.next();var p;return o}},2791:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k,extract:()=>g,parse:()=>i});var r=n(9790);const o=m("null",0);function i(e){const t="string"==typeof e?new r.ZP(e):e;let n,i=0,m=21;const h=[];for(;!t.eof();)t.eatWhile(r.FD),t.start=t.pos,s(t)?(0==(1&m)&&l("Unexpected number",t),h.push(a(t.current())),m=10):p(t.peek())?(n=t.next(),f(n)&&16&m?(d(n)&&h.push(c(n,i)),m=21):(0==(2&m)&&l("Unexpected operator",t),h.push(u(n,i)),m=21)):t.eat(40)?(0==(4&m)&&l('Unexpected "("',t),i+=10,m=53):t.eat(41)?(i-=10,32&m?h.push(o):0==(8&m)&&l('Unexpected ")"',t),m=14):l("Unknown character",t);(i<0||i>=10)&&l('Unmatched "()"',t);const g=function(e){const t=[],n=[];let r=0;for(let o=0;o<e.length;o++){const i=e[o];if("num"===i.type)n.push(i);else{for(r+="op1"===i.type?1:2;t.length&&i.priority<=t[t.length-1].priority;)n.push(t.pop());t.push(i)}}return r+1===n.length+t.length?n.concat(t.reverse()):null}(h);return null===g&&l("Parity",t),g}function s(e){const t=e.pos;return!(!e.eat(46)||!e.eatWhile(r.hj))||!(!e.eatWhile(r.hj)||e.eat(46)&&!e.eatWhile(r.hj))||(e.pos=t,!1)}function a(e,t){return m("num",parseFloat(e),t)}function c(e,t=0){return 45===e&&(t+=2),m("op1",e,t)}function u(e,t=0){return 42===e?t+=1:47!==e&&92!==e||(t+=2),m("op2",e,t)}function l(e,t){throw t&&(e+=` at column ${t.pos} of expression`),new Error(e)}function f(e){return function(e){return 43===e}(e)||d(e)}function d(e){return 45===e}function p(e){return 43===e||45===e||42===e||47===e||92===e}function m(e,t,n=0){return{type:e,value:t,priority:n}}const h={lookAhead:!0,whitespace:!0};function g(e,t=e.length,n){const o=Object.assign(Object.assign({},h),n),i={text:e,pos:t};let s;if(o.lookAhead&&41===y(i)){i.pos++;const t=e.length;for(;i.pos<t&&(s=y(i),41===s||o.whitespace&&(0,r.Wd)(s));)i.pos++}const a=i.pos;let c=0;for(;i.pos>=0;)if(!b(i)){if(s=v(i),41===s)c++;else if(40===s){if(!c)break;c--}else if(!(o.whitespace&&(0,r.Wd)(s)||f(s)||p(s)))break;i.pos--}if(i.pos!==a&&!c){for(;(0,r.Wd)(y(i));)i.pos++;return[i.pos,a]}return null}function b(e){if((0,r.hj)(v(e))){e.pos--;let t,n=!1;for(;e.pos>=0;){if(t=v(e),46===t){if(n)break;n=!0}else if(!(0,r.hj)(t))break;e.pos--}return!0}return!1}function v(e){return e.text.charCodeAt(e.pos-1)}function y(e){return e.text.charCodeAt(e.pos)}const x={45:e=>-e},w={43:(e,t)=>e+t,45:(e,t)=>e-t,42:(e,t)=>e*t,47:(e,t)=>e/t,92:(e,t)=>Math.floor(e/t)},k=function(e){if(Array.isArray(e)||(e=i(e)),!e||!e.length)return null;const t=[];let n,r,o;for(let i=0,s=e.length;i<s;i++){const s=e[i];if("num"===s.type)t.push(s.value);else if("op2"===s.type)r=t.pop(),n=t.pop(),o=w[s.value],t.push(o(n,r));else{if("op1"!==s.type)throw new Error("Invalid expression");n=t.pop(),o=x[s.value],t.push(o(n))}}if(t.length>1)throw new Error("Invalid Expression (parity)");return t[0]}},9790:(e,t,n)=>{"use strict";function r(e){return e>47&&e<58}function o(e,t,n){return n=n||90,(e&=-33)>=(t=t||65)&&e<=n}function i(e){return r(e)||s(e)}function s(e){return 95===e||o(e)}function a(e){return 32===e||9===e||160===e}function c(e){return a(e)||10===e||13===e}function u(e){return 39===e||34===e}n.d(t,{ZP:()=>d,u5:()=>f,$9:()=>o,T0:()=>i,QS:()=>s,hj:()=>r,LN:()=>u,Wd:()=>c,FD:()=>a});class l{constructor(e,t,n){null==n&&"string"==typeof e&&(n=e.length),this.string=e,this.pos=this.start=t||0,this.end=n||0}eof(){return this.pos>=this.end}limit(e,t){return new l(this.string,e,t)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(e){const t=this.peek(),n="function"==typeof e?e(t):t===e;return n&&this.next(),n}eatWhile(e){const t=this.pos;for(;!this.eof()&&this.eat(e););return this.pos!==t}backUp(e){this.pos-=e||1}current(){return this.substring(this.start,this.pos)}substring(e,t){return this.string.slice(e,t)}error(e,t=this.pos){return new f(`${e} at ${t+1}`,t,this.string)}}class f extends Error{constructor(e,t,n){super(e),this.pos=t,this.string=n}}const d=l},3240:(e,t,n)=>{"use strict";n.d(t,{Kv:()=>o,LN:()=>i,$9:()=>a,hj:()=>s,bJ:()=>c,Wd:()=>u,nC:()=>f});const r={escape:92,throws:!1};var o=function(e,t){t=t?Object.assign({},r,t):r;const n=e.pos,o=e.peek();if(e.eat(i)){for(;!e.eof();)switch(e.next()){case o:return e.start=n,!0;case t.escape:e.next()}if(e.pos=n,t.throws)throw e.error("Unable to consume quoted string")}return!1};function i(e){return 39===e||34===e}function s(e){return e>47&&e<58}function a(e,t,n){return n=n||90,(e&=-33)>=(t=t||65)&&e<=n}function c(e){return s(e)||a(e)}function u(e){return function(e){return 32===e||9===e||160===e}(e)||10===e||13===e}const l={escape:92,throws:!1};function f(e,t,n,r){r=r?Object.assign({},l,r):l;const i=e.pos;if(e.eat(t)){let s,a=1;for(;!e.eof();)if(!o(e,r))if(s=e.next(),s===t)a++;else if(s===n){if(a--,!a)return e.start=i,!0}else s===r.escape&&e.next();if(e.pos=i,r.throws)throw e.error(`Unable to find matching pair for ${String.fromCharCode(t)}`)}return!1}},2205:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=class{constructor(e,t,n){null==n&&"string"==typeof e&&(n=e.length),this.string=e,this.pos=this.start=t||0,this.end=n}eof(){return this.pos>=this.end}limit(e,t){return new this.constructor(this.string,e,t)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(e){const t=this.peek(),n="function"==typeof e?e(t):t===e;return n&&this.next(),n}eatWhile(e){const t=this.pos;for(;!this.eof()&&this.eat(e););return this.pos!==t}backUp(e){this.pos-=e||1}current(){return this.substring(this.start,this.pos)}substring(e,t){return this.string.slice(e,t)}error(e){const t=new Error(`${e} at char ${this.pos+1}`);return t.originalMessage=e,t.pos=this.pos,t.string=this.string,t}}},561:(e,t,n)=>{"use strict";var r,o,i,s,a,c,u,l,f,d,p,m,h,g,b,v,y,x,w,k,T,C,S,E,A,j;n.r(t),n.d(t,{FileType:()=>Fe,doComplete:()=>hi,emmetSnippetField:()=>Ci,expandAbbreviation:()=>Ri,extractAbbreviation:()=>_i,extractAbbreviationFromText:()=>Oi,getDefaultSnippets:()=>ji,getDefaultSyntax:()=>Ai,getEmmetMode:()=>Bi,getExpandOptions:()=>Pi,getSyntaxType:()=>Ei,isAbbreviationValid:()=>Ii,isStyleSheet:()=>Si,parseAbbreviation:()=>zi,updateExtensionsPath:()=>Fi}),function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(r||(r={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(o||(o={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=o.MAX_VALUE),t===Number.MAX_VALUE&&(t=o.MAX_VALUE),{line:e,character:t}},e.is=function(e){var t=e;return ce.objectLiteral(t)&&ce.uinteger(t.line)&&ce.uinteger(t.character)}}(i||(i={})),function(e){e.create=function(e,t,n,r){if(ce.uinteger(e)&&ce.uinteger(t)&&ce.uinteger(n)&&ce.uinteger(r))return{start:i.create(e,t),end:i.create(n,r)};if(i.is(e)&&i.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return ce.objectLiteral(t)&&i.is(t.start)&&i.is(t.end)}}(s||(s={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ce.defined(t)&&s.is(t.range)&&(ce.string(t.uri)||ce.undefined(t.uri))}}(a||(a={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return ce.defined(t)&&s.is(t.targetRange)&&ce.string(t.targetUri)&&(s.is(t.targetSelectionRange)||ce.undefined(t.targetSelectionRange))&&(s.is(t.originSelectionRange)||ce.undefined(t.originSelectionRange))}}(c||(c={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return ce.numberRange(t.red,0,1)&&ce.numberRange(t.green,0,1)&&ce.numberRange(t.blue,0,1)&&ce.numberRange(t.alpha,0,1)}}(u||(u={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return s.is(t.range)&&u.is(t.color)}}(l||(l={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ce.string(t.label)&&(ce.undefined(t.textEdit)||x.is(t))&&(ce.undefined(t.additionalTextEdits)||ce.typedArray(t.additionalTextEdits,x.is))}}(f||(f={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(d||(d={})),function(e){e.create=function(e,t,n,r,o){var i={startLine:e,endLine:t};return ce.defined(n)&&(i.startCharacter=n),ce.defined(r)&&(i.endCharacter=r),ce.defined(o)&&(i.kind=o),i},e.is=function(e){var t=e;return ce.uinteger(t.startLine)&&ce.uinteger(t.startLine)&&(ce.undefined(t.startCharacter)||ce.uinteger(t.startCharacter))&&(ce.undefined(t.endCharacter)||ce.uinteger(t.endCharacter))&&(ce.undefined(t.kind)||ce.string(t.kind))}}(p||(p={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ce.defined(t)&&a.is(t.location)&&ce.string(t.message)}}(m||(m={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(h||(h={})),function(e){e.Unnecessary=1,e.Deprecated=2}(g||(g={})),function(e){e.is=function(e){var t=e;return null!=t&&ce.string(t.href)}}(b||(b={})),function(e){e.create=function(e,t,n,r,o,i){var s={range:e,message:t};return ce.defined(n)&&(s.severity=n),ce.defined(r)&&(s.code=r),ce.defined(o)&&(s.source=o),ce.defined(i)&&(s.relatedInformation=i),s},e.is=function(e){var t,n=e;return ce.defined(n)&&s.is(n.range)&&ce.string(n.message)&&(ce.number(n.severity)||ce.undefined(n.severity))&&(ce.integer(n.code)||ce.string(n.code)||ce.undefined(n.code))&&(ce.undefined(n.codeDescription)||ce.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(ce.string(n.source)||ce.undefined(n.source))&&(ce.undefined(n.relatedInformation)||ce.typedArray(n.relatedInformation,m.is))}}(v||(v={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o={title:e,command:t};return ce.defined(n)&&n.length>0&&(o.arguments=n),o},e.is=function(e){var t=e;return ce.defined(t)&&ce.string(t.title)&&ce.string(t.command)}}(y||(y={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ce.objectLiteral(t)&&ce.string(t.newText)&&s.is(t.range)}}(x||(x={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){var t=e;return void 0!==t&&ce.objectLiteral(t)&&ce.string(t.label)&&(ce.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(ce.string(t.description)||void 0===t.description)}}(w||(w={})),function(e){e.is=function(e){return"string"==typeof e}}(k||(k={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){var t=e;return x.is(t)&&(w.is(t.annotationId)||k.is(t.annotationId))}}(T||(T={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ce.defined(t)&&O.is(t.textDocument)&&Array.isArray(t.edits)}}(C||(C={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&ce.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ce.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ce.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(S||(S={})),function(e){e.create=function(e,t,n,r){var o={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(o.options=n),void 0!==r&&(o.annotationId=r),o},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ce.string(t.oldUri)&&ce.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ce.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ce.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(E||(E={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ce.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ce.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ce.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||k.is(t.annotationId))}}(A||(A={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ce.string(e.kind)?S.is(e)||E.is(e)||A.is(e):C.is(e)})))}}(j||(j={}));var $,_,O,I,P,N,z,R,F,L,M,W,U,q,B,V,D,H,G,Z,Q,J,X,K,Y,ee,te,ne,re,oe,ie,se=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,o;if(void 0===n?r=x.insert(e,t):k.is(n)?(o=n,r=T.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(n),r=T.insert(e,t,o)),this.edits.push(r),void 0!==o)return o},e.prototype.replace=function(e,t,n){var r,o;if(void 0===n?r=x.replace(e,t):k.is(n)?(o=n,r=T.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(n),r=T.replace(e,t,o)),this.edits.push(r),void 0!==o)return o},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=x.del(e):k.is(t)?(r=t,n=T.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=T.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),ae=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(k.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new ae(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(C.is(e)){var n=new se(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new se(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(O.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:o=[]};this._workspaceEdit.documentChanges.push(n),r=new se(o,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var o=[];this._workspaceEdit.changes[e]=o,r=new se(o),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,o,i;if(w.is(t)||k.is(t)?r=t:n=t,void 0===r?o=S.create(e,n):(i=k.is(r)?r:this._changeAnnotations.manage(r),o=S.create(e,n,i)),this._workspaceEdit.documentChanges.push(o),void 0!==i)return i},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var o,i,s;if(w.is(n)||k.is(n)?o=n:r=n,void 0===o?i=E.create(e,t,r):(s=k.is(o)?o:this._changeAnnotations.manage(o),i=E.create(e,t,r,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,o,i;if(w.is(t)||k.is(t)?r=t:n=t,void 0===r?o=A.create(e,n):(i=k.is(r)?r:this._changeAnnotations.manage(r),o=A.create(e,n,i)),this._workspaceEdit.documentChanges.push(o),void 0!==i)return i}}(),function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ce.defined(t)&&ce.string(t.uri)}}($||($={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ce.defined(t)&&ce.string(t.uri)&&ce.integer(t.version)}}(_||(_={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ce.defined(t)&&ce.string(t.uri)&&(null===t.version||ce.integer(t.version))}}(O||(O={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return ce.defined(t)&&ce.string(t.uri)&&ce.string(t.languageId)&&ce.integer(t.version)&&ce.string(t.text)}}(I||(I={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(P||(P={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(P||(P={})),function(e){e.is=function(e){var t=e;return ce.objectLiteral(e)&&P.is(t.kind)&&ce.string(t.value)}}(N||(N={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(z||(z={})),function(e){e.PlainText=1,e.Snippet=2}(R||(R={})),function(e){e.Deprecated=1}(F||(F={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ce.string(t.newText)&&s.is(t.insert)&&s.is(t.replace)}}(L||(L={})),function(e){e.asIs=1,e.adjustIndentation=2}(M||(M={})),function(e){e.create=function(e){return{label:e}}}(W||(W={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(U||(U={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ce.string(t)||ce.objectLiteral(t)&&ce.string(t.language)&&ce.string(t.value)}}(q||(q={})),function(e){e.is=function(e){var t=e;return!!t&&ce.objectLiteral(t)&&(N.is(t.contents)||q.is(t.contents)||ce.typedArray(t.contents,q.is))&&(void 0===e.range||s.is(e.range))}}(B||(B={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(V||(V={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o={label:e};return ce.defined(t)&&(o.documentation=t),ce.defined(n)?o.parameters=n:o.parameters=[],o}}(D||(D={})),function(e){e.Text=1,e.Read=2,e.Write=3}(H||(H={})),function(e){e.create=function(e,t){var n={range:e};return ce.number(t)&&(n.kind=t),n}}(G||(G={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Z||(Z={})),function(e){e.Deprecated=1}(Q||(Q={})),function(e){e.create=function(e,t,n,r,o){var i={name:e,kind:t,location:{uri:r,range:n}};return o&&(i.containerName=o),i}}(J||(J={})),function(e){e.create=function(e,t,n,r,o,i){var s={name:e,detail:t,kind:n,range:r,selectionRange:o};return void 0!==i&&(s.children=i),s},e.is=function(e){var t=e;return t&&ce.string(t.name)&&ce.number(t.kind)&&s.is(t.range)&&s.is(t.selectionRange)&&(void 0===t.detail||ce.string(t.detail))&&(void 0===t.deprecated||ce.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(X||(X={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(K||(K={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ce.defined(t)&&ce.typedArray(t.diagnostics,v.is)&&(void 0===t.only||ce.typedArray(t.only,ce.string))}}(Y||(Y={})),function(e){e.create=function(e,t,n){var r={title:e},o=!0;return"string"==typeof t?(o=!1,r.kind=t):y.is(t)?r.command=t:r.edit=t,o&&void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&ce.string(t.title)&&(void 0===t.diagnostics||ce.typedArray(t.diagnostics,v.is))&&(void 0===t.kind||ce.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||y.is(t.command))&&(void 0===t.isPreferred||ce.boolean(t.isPreferred))&&(void 0===t.edit||j.is(t.edit))}}(ee||(ee={})),function(e){e.create=function(e,t){var n={range:e};return ce.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ce.defined(t)&&s.is(t.range)&&(ce.undefined(t.command)||y.is(t.command))}}(te||(te={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ce.defined(t)&&ce.uinteger(t.tabSize)&&ce.boolean(t.insertSpaces)}}(ne||(ne={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ce.defined(t)&&s.is(t.range)&&(ce.undefined(t.target)||ce.string(t.target))}}(re||(re={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&s.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(oe||(oe={})),function(e){function t(e,n){if(e.length<=1)return e;var r=e.length/2|0,o=e.slice(0,r),i=e.slice(r);t(o,n),t(i,n);for(var s=0,a=0,c=0;s<o.length&&a<i.length;){var u=n(o[s],i[a]);e[c++]=u<=0?o[s++]:i[a++]}for(;s<o.length;)e[c++]=o[s++];for(;a<i.length;)e[c++]=i[a++];return e}e.create=function(e,t,n,r){return new le(e,t,n,r)},e.is=function(e){var t=e;return!!(ce.defined(t)&&ce.string(t.uri)&&(ce.undefined(t.languageId)||ce.string(t.languageId))&&ce.uinteger(t.lineCount)&&ce.func(t.getText)&&ce.func(t.positionAt)&&ce.func(t.offsetAt))},e.applyEdits=function(e,n){for(var r=e.getText(),o=t(n,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=r.length,s=o.length-1;s>=0;s--){var a=o[s],c=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(!(u<=i))throw new Error("Overlapping edit");r=r.substring(0,c)+a.newText+r.substring(u,r.length),i=c}return r}}(ie||(ie={}));var ce,ue,le=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var o=t.charAt(r);n="\r"===o||"\n"===o,"\r"===o&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return i.create(0,e);for(;n<r;){var o=Math.floor((n+r)/2);t[o]>e?r=o:n=o+1}var s=n-1;return i.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();function fe(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function de(e){return 10===e||13===e||8232===e||8233===e}function pe(e){return e>=48&&e<=57}function me(e,t,n){void 0===n&&(n=ue.DEFAULT);var r=function(e,t){void 0===t&&(t=!1);var n=e.length,r=0,o="",i=0,s=16,a=0,c=0,u=0,l=0,f=0;function d(t,n){for(var o=0,i=0;o<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)i=16*i+s-48;else if(s>=65&&s<=70)i=16*i+s-65+10;else{if(!(s>=97&&s<=102))break;i=16*i+s-97+10}r++,o++}return o<t&&(i=-1),i}function p(){if(o="",f=0,i=r,c=a,l=u,r>=n)return i=n,s=17;var t=e.charCodeAt(r);if(fe(t)){do{r++,o+=String.fromCharCode(t),t=e.charCodeAt(r)}while(fe(t));return s=15}if(de(t))return r++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,o+="\n"),a++,u=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,o=function(){for(var t="",o=r;;){if(r>=n){t+=e.substring(o,r),f=2;break}var i=e.charCodeAt(r);if(34===i){t+=e.substring(o,r),r++;break}if(92!==i){if(i>=0&&i<=31){if(de(i)){t+=e.substring(o,r),f=2;break}f=6}r++}else{if(t+=e.substring(o,r),++r>=n){f=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var s=d(4,!0);s>=0?t+=String.fromCharCode(s):f=4;break;default:f=5}o=r}}return t}(),s=10;case 47:var p=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!de(e.charCodeAt(r));)r++;return o=e.substring(p,r),s=12}if(42===e.charCodeAt(r+1)){r+=2;for(var h=n-1,g=!1;r<h;){var b=e.charCodeAt(r);if(42===b&&47===e.charCodeAt(r+1)){r+=2,g=!0;break}r++,de(b)&&(13===b&&10===e.charCodeAt(r)&&r++,a++,u=r)}return g||(r++,f=1),o=e.substring(p,r),s=13}return o+=String.fromCharCode(t),r++,s=16;case 45:if(o+=String.fromCharCode(t),++r===n||!pe(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&pe(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&pe(e.charCodeAt(r))))return f=3,e.substring(t,r);for(r++;r<e.length&&pe(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&pe(e.charCodeAt(r))){for(r++;r<e.length&&pe(e.charCodeAt(r));)r++;n=r}else f=3;return e.substring(t,n)}(),s=11;default:for(;r<n&&m(t);)r++,t=e.charCodeAt(r);if(i!==r){switch(o=e.substring(i,r)){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return o+=String.fromCharCode(t),r++,s=16}}function m(e){if(fe(e)||de(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,o="",i=0,s=16,f=0},getPosition:function(){return r},scan:t?function(){var e;do{e=p()}while(e>=12&&e<=15);return e}:p,getToken:function(){return s},getTokenValue:function(){return o},getTokenOffset:function(){return i},getTokenLength:function(){return r-i},getTokenStartLine:function(){return c},getTokenStartCharacter:function(){return i-l},getTokenError:function(){return f}}}(e,!1);function o(e){return e?function(){return e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}function i(e){return e?function(t){return e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}var s=o(t.onObjectBegin),a=i(t.onObjectProperty),c=o(t.onObjectEnd),u=o(t.onArrayBegin),l=o(t.onArrayEnd),f=i(t.onLiteralValue),d=i(t.onSeparator),p=o(t.onComment),m=i(t.onError),h=n&&n.disallowComments,g=n&&n.allowTrailingComma;function b(){for(;;){var e=r.scan();switch(r.getTokenError()){case 4:v(14);break;case 5:v(15);break;case 3:v(13);break;case 1:h||v(11);break;case 2:v(12);break;case 6:v(16)}switch(e){case 12:case 13:h?v(10):p();break;case 16:v(1);break;case 15:case 14:break;default:return e}}}function v(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),m(e),t.length+n.length>0)for(var o=r.getToken();17!==o;){if(-1!==t.indexOf(o)){b();break}if(-1!==n.indexOf(o))break;o=b()}}function y(e){var t=r.getTokenValue();return e?f(t):a(t),b(),!0}return b(),17===r.getToken()?!!n.allowEmptyContent||(v(4,[],[]),!1):function e(){switch(r.getToken()){case 3:return function(){u(),b();for(var t=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||v(4,[],[]),d(","),b(),4===r.getToken()&&g)break}else t&&v(6,[],[]);e()||v(4,[],[4,5]),t=!0}return l(),4!==r.getToken()?v(8,[4],[]):b(),!0}();case 1:return function(){s(),b();for(var t=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||v(4,[],[]),d(","),b(),2===r.getToken()&&g)break}else t&&v(6,[],[]);(10!==r.getToken()?(v(3,[],[2,5]),0):(y(!1),6===r.getToken()?(d(":"),b(),e()||v(4,[],[2,5])):v(5,[],[2,5]),1))||v(4,[],[2,5]),t=!0}return c(),2!==r.getToken()?v(7,[2],[]):b(),!0}();case 10:return y(!0);default:return function(){switch(r.getToken()){case 11:var e=r.getTokenValue(),t=Number(e);isNaN(t)&&(v(2),t=0),f(t);break;case 7:f(null);break;case 8:f(!0);break;case 9:f(!1);break;default:return!1}return b(),!0}()}}()?(17!==r.getToken()&&v(9,[],[]),!0):(v(4,[],[]),!1)}!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ce||(ce={})),function(e){e.DEFAULT={allowTrailingComma:!1}}(ue||(ue={}));const he={properties:["additive-symbols","align-content","align-items","justify-items","justify-self","justify-items","align-self","all","alt","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","behavior","block-size","border","border-block-end","border-block-start","border-block-end-color","border-block-start-color","border-block-end-style","border-block-start-style","border-block-end-width","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-