cloudstudio
Version:
Run VS Code on a remote server.
1 lines • 247 kB
JavaScript
(()=>{var e={105:(e,t,n)=>{"use strict";n.r(t),n.d(t,{lexer:()=>we,Token:()=>m,any:()=>ie,selector:()=>ae,value:()=>se,keyword:()=>ce,variable:()=>te,formatting:()=>ue,comment:()=>R,whitespace:()=>U,ident:()=>A,string:()=>_,url:()=>Y,interpolation:()=>j,backtick:()=>L,parseMediaExpression:()=>de,parsePropertyName:()=>pe,parsePropertyValue:()=>fe,parseSelector:()=>le,createProperty:()=>ve,createRule:()=>ge,createAtRule:()=>ye,default:()=>Ae});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 a 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 s(e){return function(e){let t;for(e=e.slice();t!==e.length;)t=e.length,c(e[0])&&e.shift(),c(f(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 p(e,t){const n=e.pos;return!!e.eatWhile(t)&&(e.start=n,!0)}function f(e){return e[e.length-1]}function d(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 g=123,h=125,y=(new Map).set(44,"comma").set(58,"propertyDelimiter").set(59,"propertyTerminator").set(g,"ruleStart").set(h,"ruleEnd");var b=function(e,t){if(40===e.peek()){const r=e.pos;e.next();const o=[];let i,a=!1;for(;!e.eof()&&(n=e.peek())!==g&&n!==h&&!e.eat(41)&&(i=t(e),i);)k(i)&&(a=!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,a=0,s=t.length;a<s;a++)n=t[a],o(n)?(r.add(v(e,i)||x(e,n.start)),i.length=0):i.push(n);return i.length&&r.add(v(e,i)),r}(e,o,a)}var n};function v(e,t){if((t=s(t)).length){const n=new m(e,"argument",t[0].start,f(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 A(e){return S(e)&&new m(e,"ident")}function S(e){const t=e.pos;return e.eat(45),e.eat(E)?(e.eatWhile(T),e.start=t,!0):(e.pos=t,!1)}function E(e){return 95===e||45===e||(0,o.$9)(e)||e>=128}function T(e){return(0,o.hj)(e)||E(e)}function C(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 P(e){return C(e,"at-keyword",64,A)}function j(e,t){const n=e.pos;if(t=t||I,(e.eat(35)||e.eat(64))&&e.eat(g)){const r=new m(e,"interpolation",n);let o,i=1;for(;!e.eof();)if(e.eat(g))i++;else if(e.eat(h)){if(i--,!i)return r.end=e.pos,r}else{if(!(o=t(e)))break;r.add(o)}}e.pos=n}function O(e){const t=e.pos;return(e.eat(35)||e.eat(64))&&(0,o.nC)(e,g,h)?(e.start=t,!0):(e.pos=t,!1)}function I(e){const t=e.pos;for(;!e.eof()&&e.peek()!==h;)$(e)||e.next();if(t!==e.pos)return new m(e,"expression",t)}function _(e){return $(e,!0)}function $(e,t){let n,r,i,a=e.peek();if((0,o.LN)(a)){e.start=e.pos,e.next();const o=a,s=e.pos;for(;!e.eof()&&(n=e.pos,!e.eat(o)&&!e.eat(F));)e.eat(92)?e.eat(F):t&&(i=j(e))&&(r?r.push(i):r=[i]),e.next();if(t){const t=new m(e,"string"),i=new m(e,"unquoted",s,n);return i.add(r),t.add(i),t.property("quote",o),t}return!0}return!1}function F(e){return 10===e||13===e}var R=function(e){return function(e){if(z(e)){const t=new m(e,"comment");return t.property("type","single-line"),t}}(e)||function(e){if(M(e)){const t=new m(e,"comment");return t.property("type","multiline"),t}}(e)};function N(e){return z(e)||M(e)}function z(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 M(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 U(e){return W(e)&&new m(e,"whitespace")}function W(e){return p(e,o.Wd)}function B(e){for(;!e.eof();)if(!W(e)&&!N(e))return!0}function D(e){return 126===e||124===e||94===e||36===e||42===e||61===e}function L(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 q={43:"adjacentSibling",126:"generalSibling",62:"child",38:"nesting"};function G(e){if(function(e){return p(e,H)}(e))return new m(e,"hash-value")}function H(e){return(0,o.hj)(e)||(0,o.$9)(e,65,70)||95===e||45===e||e>128}function J(e){return 45===e||43===e}function Z(e){return 33===e||60===e||61===e||62===e}function Q(e){return 42===e||43===e||45===e||47===e||Z(e)}function K(e){return p(e,X)}function X(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=_(e)||function(e){return K(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),$(e)||K(e),W(e),e.eat(41),e.start=t,!0):(e.pos=t,!1)}function te(e){return C(e,"variable",36,ne)}function ne(e){if(function(e){return p(e,re)}(e))return new m(e,"name")}function re(e){return 36===e||T(e)}function oe(e){const t=ie(e)||b(e,oe);if(t&&"ident"===t.type){const n=b(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)||ae(e)||se(e)||function(e){if(44===(t=e.peek())||58===t||59===t||t===g||t===h){const t=e.pos,n=y.get(e.next()),r=new m(e,"separator",t);return r.property("type",n),r}var t}(e)}function ae(e){return j(e)||L(e)||A(e)||P(e)||function(e){return C(e,"class",46,A)}(e)||function(e){return C(e,"id",35,A)}(e)||function(e){const t=e.pos;if(e.eatWhile(58)){const n=A(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)){B(e);const n=A(e);B(e);const r=function(e){return p(e,D)&&new m(e,"operator")}(e);B(e);const o=_(e)||A(e);return B(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=q[e.next()],r=new m(e,"combinator",t);return r.property("type",n),r}var t}(e)}function se(e){return Y(e)||_(e)||j(e)||L(e)||function(e){if(function(e){const t=e.pos;if(e.eat(J),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 S(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 C(e,"hash",35,G,!0)}(e)||ce(e)||function(e){return C(e,"important",33,A)}(e)||function(e){return function(e){return l(e,Z)?(e.eatWhile(61),!0):!!l(e,Q)}(e)&&new m(e,"operator")}(e)}function ce(e){return L(e)||te(e)||P(e)||A(e)}function ue(e){return R(e)||U(e)}function le(e){return me(e,"selector")}function pe(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 fe(e){return me(e)}function de(e){return me(e)}function me(e,t){t=t||"item";const n="string"==typeof e?new r.Z(e):e,o=[],i=[],a=()=>{const e=s(i);if(e.length){const r=new m(n,t,e[0].start,f(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))a();else{if(!(c=oe(n)))throw n.error("Unexpected character");"comment"!==c.type&&i.push(c)}return a(),o}function ge(e,t,n,r){if(!t.length)return null;const o=t[0];return o.end=f(t).end,new he(e,o,n,r)}class he 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 d(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 ye(e,t,n,r){if(!t.length)return null;let o,i=0;const a=t[i++];return i<t.length?(o=t[i++],o.type="expression",o.end=f(t).end):o=new m(e,"expression",a.end,a.end),new be(e,a,o,n,r)}class be 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 d(this.nameToken&&this.nameToken.item(0))}get expression(){return d(this.expressionToken)}get parsedExpression(){return this._parsedExpression||(this._parsedExpression=de(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 ve(e,t,n){if(!t.length)return null;let r,o,i=0;const a=t[i++];return i<t.length&&(o=t[i++],o.type="value",o.end=f(t).end),a&&o&&(r=new m(e,"separator",a.end,o.start)),new xe(e,a,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 d(this.nameToken)}get parsedName(){return this._parsedName||(this._parsedName=pe(this.nameToken.limit())),this._parsedName}get value(){return d(this.valueToken)}get parsedValue(){return this._parsedValue||(this._parsedValue=fe(this.valueToken.limit())),this._parsedValue}get separator(){return d(this.separatorToken)}get terminator(){return d(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)||$(e))continue;if(n=R(e)){t.addComment(n);continue}e.next()}return!0}return!1}const Ae=function(e){const t="string"==typeof e?new r.Z(e):e,n=new a;let o,i,s,c=n,u=[];const l=()=>{i&&(u.push(i),i=null)};for(;!t.eof();)if(!W(t))if(s=R(t))n.addComment(s);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(ve(t,u,new m(t,"termintator"))),u.length=0;else if(t.eat(123))l(),u.length>0&&(o="at-keyword"===u[0].type?ye(t,u,new m(t,"body-start")):ge(t,u,new m(t,"body-start")),c.add(o),c=o,u.length=0);else if(t.eat(125))l(),c.add(ve(t,u)),"stylesheet"!==c.type&&(c.contentEndToken=new m(t,"body-end"),c=c.parent),u.length=0;else if(s=P(t))l(),u.push(s);else{if(!(ee(t)||O(t)||V(t)||ke(t,n)||$(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(ve(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:()=>S,match:()=>E,default:()=>P});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 a=function(e,t,n){return"function"==typeof t?function(e,t){const n=e.pos;if(e.eatWhile(t))return new s(e,n,e.pos);e.pos=n}(e,t):new s(e,t,n)};class s{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 a(e,t)};function l(e){return u(e)||a(e,f)}function p(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=a(e,r,o);return e.pos=n,i}return u(e)||function(e){return a(e,m)}(e)}function f(e){return 61!==e&&!d(e)&&!(0,o.Wd)(e)}function d(e){return 62===e||47===e}function m(e){return!(isNaN(e)||(0,o.LN)(e)||(0,o.Wd)(e)||d(e))}var g=function(e){const t=e.pos;if(e.eat(60)){const n={type:e.eat(47)?"close":"open"};if((n.name=function(e){return a(e,h)}(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=p(e):n.boolean=!0,n.end=e.pos,t.push(n);else{if(d(e.peek()))break;e.next()}return t}(e),e.eatWhile(o.Wd),n.selfClosing=e.eat(47)),e.eat(62)))return Object.assign(a(e,t),n)}return e.pos=t,null};function h(e){return(0,o.bJ)(e)||58===e||46===e||45===e||95===e}function y(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 b(e,t,n,r){const o=e.pos;if(y(e,t)){for(;!e.eof();){if(y(e,n))return!0;e.next()}return!!r||(e.pos=o,!1)}return e.pos=o,null}function v(e){return e.split("").map((e=>e.charCodeAt(0)))}const x=v("\x3c!--"),w=v("--\x3e"),k=v("<![CDATA["),A=v("]]>"),S={xml:!1,special:["script","style"],empty:["img","meta","link","br","base","hr","area","wbr","col","embed","input","param","source","track"]};function E(e){if(60===e.peek())return function(e){const t=e.pos;if(b(e,x,w,!0)){const n=a(e,t);return n.type="comment",n}return null}(e)||function(e){const t=e.pos;if(b(e,k,A,!0)){const n=a(e,t);return n.type="cdata",n}return null}(e)||g(e)}function T(e,t){const n=e.pos;for(;!e.eof();){if(y(e,t))return e.pos=e.start,g(e);e.next()}return e.pos=n,null}function C(e){return e[e.length-1]}const P=function(e,t){t=Object.assign({},S,t);const n="string"==typeof e?new r.Z(e):e,o=new i(n,"root"),a=new Set(t.empty),s=t.special.reduce(((e,t)=>e.set(t,v(`</${t}>`))),new Map),c=(e,n)=>e.selfClosing||!t.xml&&a.has(n);let u,l,p,f=[o];for(;!n.eof();)if(u=E(n))if(p=(d=u).name?d.name.value.toLowerCase():`#${d.type}`,"open"===u.type)l=new i(n,"tag",u),C(f).addChild(l),s.has(p)?l.close=T(n,s.get(p)):c(u,p)||f.push(l);else if("close"===u.type){for(let e=f.length-1;e>0;e--)if(f[e].name.toLowerCase()===p){f[e].close=u,f=f.slice(0,e);break}}else C(f).addChild(new i(n,u.type,u));else n.next();var d;return o}},2791:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k,extract:()=>h,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 g=[];for(;!t.eof();)t.eatWhile(r.FD),t.start=t.pos,a(t)?(0==(1&m)&&l("Unexpected number",t),g.push(s(t.current())),m=10):d(t.peek())?(n=t.next(),p(n)&&16&m?(f(n)&&g.push(c(n,i)),m=21):(0==(2&m)&&l("Unexpected operator",t),g.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?g.push(o):0==(8&m)&&l('Unexpected ")"',t),m=14):l("Unknown character",t);(i<0||i>=10)&&l('Unmatched "()"',t);const h=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}(g);return null===h&&l("Parity",t),h}function a(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 s(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 p(e){return function(e){return 43===e}(e)||f(e)}function f(e){return 45===e}function d(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 g={lookAhead:!0,whitespace:!0};function h(e,t=e.length,n){const o=Object.assign(Object.assign({},g),n),i={text:e,pos:t};let a;if(o.lookAhead&&41===v(i)){i.pos++;const t=e.length;for(;i.pos<t&&(a=v(i),41===a||o.whitespace&&(0,r.Wd)(a));)i.pos++}const s=i.pos;let c=0;for(;i.pos>=0;)if(!y(i)){if(a=b(i),41===a)c++;else if(40===a){if(!c)break;c--}else if(!(o.whitespace&&(0,r.Wd)(a)||p(a)||d(a)))break;i.pos--}if(i.pos!==s&&!c){for(;(0,r.Wd)(v(i));)i.pos++;return[i.pos,s]}return null}function y(e){if((0,r.hj)(b(e))){e.pos--;let t,n=!1;for(;e.pos>=0;){if(t=b(e),46===t){if(n)break;n=!0}else if(!(0,r.hj)(t))break;e.pos--}return!0}return!1}function b(e){return e.text.charCodeAt(e.pos-1)}function v(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,a=e.length;i<a;i++){const a=e[i];if("num"===a.type)t.push(a.value);else if("op2"===a.type)r=t.pop(),n=t.pop(),o=w[a.value],t.push(o(n,r));else{if("op1"!==a.type)throw new Error("Invalid expression");n=t.pop(),o=x[a.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)||a(e)}function a(e){return 95===e||o(e)}function s(e){return 32===e||9===e||160===e}function c(e){return s(e)||10===e||13===e}function u(e){return 39===e||34===e}n.d(t,{ZP:()=>f,u5:()=>p,$9:()=>o,T0:()=>i,QS:()=>a,hj:()=>r,LN:()=>u,Wd:()=>c,FD:()=>s});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 p(`${e} at ${t+1}`,t,this.string)}}class p extends Error{constructor(e,t,n){super(e),this.pos=t,this.string=n}}const f=l},3240:(e,t,n)=>{"use strict";n.d(t,{Kv:()=>o,LN:()=>i,$9:()=>s,hj:()=>a,bJ:()=>c,Wd:()=>u,nC:()=>p});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 a(e){return e>47&&e<58}function s(e,t,n){return n=n||90,(e&=-33)>=(t=t||65)&&e<=n}function c(e){return a(e)||s(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 p(e,t,n,r){r=r?Object.assign({},l,r):l;const i=e.pos;if(e.eat(t)){let a,s=1;for(;!e.eof();)if(!o(e,r))if(a=e.next(),a===t)s++;else if(a===n){if(s--,!s)return e.start=i,!0}else a===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}}},6001:(e,t,n)=>{"use strict";var r,o,i,a,s,c,u,l,p,f,d,m,g,h,y,b,v,x,w,k,A,S,E,T,C,P;n.r(t),n.d(t,{FileType:()=>ze,doComplete:()=>gi,emmetSnippetField:()=>Si,expandAbbreviation:()=>Ni,extractAbbreviation:()=>Oi,extractAbbreviationFromText:()=>Ii,getDefaultSnippets:()=>Pi,getDefaultSyntax:()=>Ci,getEmmetMode:()=>Li,getExpandOptions:()=>$i,getSyntaxType:()=>Ti,isAbbreviationValid:()=>_i,isStyleSheet:()=>Ei,parseAbbreviation:()=>Ri,updateExtensionsPath:()=>zi}),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)}}(a||(a={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ce.defined(t)&&a.is(t.range)&&(ce.string(t.uri)||ce.undefined(t.uri))}}(s||(s={})),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)&&a.is(t.targetRange)&&ce.string(t.targetUri)&&(a.is(t.targetSelectionRange)||ce.undefined(t.targetSelectionRange))&&(a.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 a.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))}}(p||(p={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(f||(f={})),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))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ce.defined(t)&&s.is(t.location)&&ce.string(t.message)}}(m||(m={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(g||(g={})),function(e){e.Unnecessary=1,e.Deprecated=2}(h||(h={})),function(e){e.is=function(e){var t=e;return null!=t&&ce.string(t.href)}}(y||(y={})),function(e){e.create=function(e,t,n,r,o,i){var a={range:e,message:t};return ce.defined(n)&&(a.severity=n),ce.defined(r)&&(a.code=r),ce.defined(o)&&(a.source=o),ce.defined(i)&&(a.relatedInformation=i),a},e.is=function(e){var t,n=e;return ce.defined(n)&&a.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))}}(b||(b={})),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)}}(v||(v={})),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)&&a.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))}}(A||(A={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ce.defined(t)&&I.is(t.textDocument)&&Array.isArray(t.edits)}}(S||(S={})),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))}}(E||(E={})),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))}}(T||(T={})),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))}}(C||(C={})),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)?E.is(e)||T.is(e)||C.is(e):S.is(e)})))}}(P||(P={}));var j,O,I,_,$,F,R,N,z,M,U,W,B,D,L,V,q,G,H,J,Z,Q,K,X,Y,ee,te,ne,re,oe,ie,ae=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=A.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(n),r=A.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=A.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(n),r=A.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=A.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=A.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}(),se=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 se(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(S.is(e)){var n=new ae(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new ae(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(I.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 ae(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 ae(o),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new se,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=E.create(e,n):(i=k.is(r)?r:this._changeAnnotations.manage(r),o=E.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,a;if(w.is(n)||k.is(n)?o=n:r=n,void 0===o?i=T.create(e,t,r):(a=k.is(o)?o:this._changeAnnotations.manage(o),i=T.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(i),void 0!==a)return a},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=C.create(e,n):(i=k.is(r)?r:this._changeAnnotations.manage(r),o=C.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)}}(j||(j={})),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)}}(O||(O={})),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))}}(I||(I={})),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)}}(_||(_={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}($||($={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}($||($={})),function(e){e.is=function(e){var t=e;return ce.objectLiteral(e)&&$.is(t.kind)&&ce.string(t.value)}}(F||(F={})),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}(R||(R={})),function(e){e.PlainText=1,e.Snippet=2}(N||(N={})),function(e){e.Deprecated=1}(z||(z={})),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)&&a.is(t.insert)&&a.is(t.replace)}}(M||(M={})),function(e){e.asIs=1,e.adjustIndentation=2}(U||(U={})),function(e){e.create=function(e){return{label:e}}}(W||(W={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(B||(B={})),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)}}(D||(D={})),function(e){e.is=function(e){var t=e;return!!t&&ce.objectLiteral(t)&&(F.is(t.contents)||D.is(t.contents)||ce.typedArray(t.contents,D.is))&&(void 0===e.range||a.is(e.range))}}(L||(L={})),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}}(q||(q={})),function(e){e.Text=1,e.Read=2,e.Write=3}(G||(G={})),function(e){e.create=function(e,t){var n={range:e};return ce.number(t)&&(n.kind=t),n}}(H||(H={})),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}(J||(J={})),function(e){e.Deprecated=1}(Z||(Z={})),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}}(Q||(Q={})),function(e){e.create=function(e,t,n,r,o,i){var a={name:e,detail:t,kind:n,range:r,selectionRange:o};return void 0!==i&&(a.children=i),a},e.is=function(e){var t=e;return t&&ce.string(t.name)&&ce.number(t.kind)&&a.is(t.range)&&a.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))}}(K||(K={})),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"}(X||(X={})),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,b.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):v.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,b.is))&&(void 0===t.kind||ce.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||v.is(t.command))&&(void 0===t.isPreferred||ce.boolean(t.isPreferred))&&(void 0===t.edit||P.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)&&a.is(t.range)&&(ce.undefined(t.command)||v.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)&&a.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&&a.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 a=0,s=0,c=0;a<o.length&&s<i.length;){var u=n(o[a],i[s]);e[c++]=u<=0?o[a++]:i[s++]}for(;a<o.length;)e[c++]=o[a++];for(;s<i.length;)e[c++]=i[s++];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,a=o.length-1;a>=0;a--){var s=o[a],c=e.offsetAt(s.range.start),u=e.offsetAt(s.range.end);if(!(u<=i))throw new Error("Overlapping edit");r=r.substring(0,c)+s.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 a=n-1;return i.create(a,e-t[a])},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 pe(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 fe(e){return 10===e||13===e||8232===e||8233===e}function de(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,a=16,s=0,c=0,u=0,l=0,p=0;function f(t,n){for(var o=0,i=0;o<t||!n;){var a=e.charCodeAt(r);if(a>=48&&a<=57)i=16*i+a-48;else if(a>=65&&a<=70)i=16*i+a-65+10;else{if(!(a>=97&&a<=102))break;i=16*i+a-97+10}r++,o++}return o<t&&(i=-1),i}function d(){if(o="",p=0,i=r,c=s,l=u,r>=n)return i=n,a=17;var t=e.charCodeAt(r);if(pe(t)){do{r++,o+=String.fromCharCode(t),t=e.charCodeAt(r)}while(pe(t));return a=15}if(fe(t))return r++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,o+="\n"),s++,u=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,o=function(){for(var t="",o=r;;){if(r>=n){t+=e.substring(o,r),p=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(fe(i)){t+=e.substring(o,r),p=2;break}p=6}r++}else{if(t+=e.substring(o,r),++r>=n){p=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 a=f(4,!0);a>=0?t+=String.fromCharCode(a):p=4;break;default:p=5}o=r}}return t}(),a=10;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!fe(e.charCodeAt(r));)r++;return o=e.substring(d,r),a=12}if(42===e.charCodeAt(r+1)){r+=2;for(var g=n-1,h=!1;r<g;){var y=e.charCodeAt(r);if(42===y&&47===e.charCodeAt(r+1)){r+=2,h=!0;break}r++,fe(y)&&(13===y&&10===e.charCodeAt(r)&&r++,s++,u=r)}return h||(r++,p=1),o=e.substring(d,r),a=13}return o+=String.fromCharCode(t),r++,a=16;case 45:if(o+=String.fromCharCode(t),++r===n||!de(e.charCodeAt(r)))return a=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&&de(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&de(e.charCodeAt(r))))return p=3,e.substring(t,r);for(r++;r<e.length&&de(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&&de(e.charCodeAt(r))){for(r++;r<e.length&&de(e.charCodeAt(r));)r++;n=r}else p=3;return e.substring(t,n)}(),a=11;default:for(;r<n&&m(t);)r++,t=e.charCodeAt(r);if(i!==r){switch(o=e.substring(i,r)){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return o+=String.fromCharCode(t),r++,a=16}}function m(e){if(pe(e)||fe(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,a=16,p=0},getPosition:function(){return r},scan:t?function(){var e;do{e=d()}while(e>=12&&e<=15);return e}:d,getToken:function(){return a},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 p}}}(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 a=o(t.onObjectBegin),s=i(t.onObjectProperty),c=o(t.onObjectEnd),u=o(t.onArrayBegin),l=o(t.onArrayEnd),p=i(t.onLiteralValue),f=i(t.onSeparator),d=o(t.onComment),m=i(t.onError),g=n&&n.disallowComments,h=n&&n.allowTrailingComma;function y(){for(;;){var e=r.scan();switch(r.getTokenError()){case 4:b(14);break;case 5:b(15);break;case 3:b(13);break;case 1:g||b(11);break;case 2:b(12);break;case 6:b(16)}switch(e){case 12:case 13:g?b(10):d();break;case 16:b(1);break;case 15:case 14:break;default:return e}}}function b(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)){y();break}if(-1!==n.indexOf(o))break;o=y()}}function v(e){var t=r.getTokenValue();return e?p(t):s(t),y(),!0}return y(),17===r.getToken()?!!n.allowEmptyContent||(b(4,[],[]),!1):function e(){switch(r.getToken()){case 3:return function(){u(),y();for(var t=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||b(4,[],[]),f(","),y(),4===r.getToken()&&h)break}else t&&b(6,[],[]);e()||b(4,[],[4,5]),t=!0}return l(),4!==r.getToken()?b(8,[4],[]):y(),!0}();case 1:return function(){a(),y();for(var t=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||b(4,[],[]),f(","),y(),2===r.getToken()&&h)break}else t&&b(6,[],[]);(10!==r.getToken()?(b(3,[],[2,5]),0):(v(!1),6===r.getToken()?(f(":"),y(),e()||b(4,[],[2,5])):b(5,[],[2,5]),1))||b(4,[],[2,5]),t=!0}return c(),2!==r.getToken()?b(7,[2],[]):y(),!0}();case 10:return v(!0);default:return function(){switch(r.getToken()){case 11:var e=r.getTokenValue(),t=Number(e);isNaN(t)&&(b(2),t=0),p(t);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return y(),!0}()}}()?(17!==r.getToken()&&b(9,[],[]),!0):(b(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 ge={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