@codingame/monaco-vscode-emmet-default-extension 31.0.0 → 32.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -5
- package/package.json +2 -2
- package/resources/emmetBrowserMain.js +18 -18
- package/resources/emmetBrowserMain.js.map +4 -4
- package/resources/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
`;break;case 114:y+="\r";break;case 116:y+=" ";break;case 117:var P=m(4,!0);P>=0?y+=String.fromCharCode(P):f=4;break;default:f=5}
|
|
3
|
-
`),a++,u=n,s=14;switch(y){case 123:return n++,s=1;case 125:return n++,s=2;case 91:return n++,s=3;case 93:return n++,s=4;case 58:return n++,s=6;case 44:return n++,s=5;case 34:return n++,i=b(),s=10;case 47:var E=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<r&&!Mt(e.charCodeAt(n));)n++;return i=e.substring(E,n),s=12}if(e.charCodeAt(n+1)===42){n+=2;for(var S=r-1,k=!1;n<S;){var P=e.charCodeAt(n);if(P===42&&e.charCodeAt(n+1)===47){n+=2,k=!0;break}n++,Mt(P)&&(P===13&&e.charCodeAt(n)===10&&n++,a++,u=n)}return k||(n++,f=1),i=e.substring(E,n),s=13}return i+=String.fromCharCode(y),n++,s=16;case 45:if(i+=String.fromCharCode(y),n++,n===r||!ut(e.charCodeAt(n)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=v(),s=11;default:for(;n<r&&x(y);)n++,y=e.charCodeAt(n);if(o!==n){switch(i=e.substring(o,n),i){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return i+=String.fromCharCode(y),n++,s=16}}function x(y){if(gi(y)||Mt(y))return!1;switch(y){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function T(){var y;do y=A();while(y>=12&&y<=15);return y}return{setPosition:d,getPosition:function(){return n},scan:t?T:A,getToken:function(){return s},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return n-o},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return o-c},getTokenError:function(){return f}}}function gi(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function Mt(e){return e===10||e===13||e===8232||e===8233}function ut(e){return e>=48&&e<=57}var Rr=he(()=>{"use strict";p()});var bi=he(()=>{"use strict";p();Rr()});function ha(e,t,r){t===void 0&&(t=[]),r===void 0&&(r=jr.DEFAULT);var n=null,i=[],o=[];function s(l){Array.isArray(i)?i.push(l):n!==null&&(i[n]=l)}var a={onObjectBegin:function(){var l={};s(l),o.push(i),i=l,n=null},onObjectProperty:function(l){n=l},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var l=[];s(l),o.push(i),i=l,n=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:s,onError:function(l,u,c){t.push({error:l,offset:u,length:c})}};return ma(e,a,r),i[0]}function ma(e,t,r){r===void 0&&(r=jr.DEFAULT);var n=$r(e,!1);function i($){return $?function(){return $(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:function(){return!0}}function o($){return $?function(F){return $(F,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:function(){return!0}}var s=i(t.onObjectBegin),a=o(t.onObjectProperty),l=i(t.onObjectEnd),u=i(t.onArrayBegin),c=i(t.onArrayEnd),f=o(t.onLiteralValue),m=o(t.onSeparator),d=i(t.onComment),v=o(t.onError),b=r&&r.disallowComments,A=r&&r.allowTrailingComma;function x(){for(;;){var $=n.scan();switch(n.getTokenError()){case 4:T(14);break;case 5:T(15);break;case 3:T(13);break;case 1:b||T(11);break;case 2:T(12);break;case 6:T(16);break}switch($){case 12:case 13:b?T(10):d();break;case 16:T(1);break;case 15:case 14:break;default:return $}}}function T($,F,C){if(F===void 0&&(F=[]),C===void 0&&(C=[]),v($),F.length+C.length>0)for(var g=n.getToken();g!==17;){if(F.indexOf(g)!==-1){x();break}else if(C.indexOf(g)!==-1)break;g=x()}}function y($){var F=n.getTokenValue();return $?f(F):a(F),x(),!0}function E(){switch(n.getToken()){case 11:var $=n.getTokenValue(),F=Number($);isNaN(F)&&(T(2),F=0),f(F);break;case 7:f(null);break;case 8:f(!0);break;case 9:f(!1);break;default:return!1}return x(),!0}function S(){return n.getToken()!==10?(T(3,[],[2,5]),!1):(y(!1),n.getToken()===6?(m(":"),x(),j()||T(4,[],[2,5])):T(5,[],[2,5]),!0)}function k(){s(),x();for(var $=!1;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if($||T(4,[],[]),m(","),x(),n.getToken()===2&&A)break}else $&&T(6,[],[]);S()||T(4,[],[2,5]),$=!0}return l(),n.getToken()!==2?T(7,[2],[]):x(),!0}function P(){u(),x();for(var $=!1;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if($||T(4,[],[]),m(","),x(),n.getToken()===4&&A)break}else $&&T(6,[],[]);j()||T(4,[],[4,5]),$=!0}return c(),n.getToken()!==4?T(8,[4],[]):x(),!0}function j(){switch(n.getToken()){case 3:return P();case 1:return k();case 10:return y(!0);default:return E()}}return x(),n.getToken()===17?r.allowEmptyContent?!0:(T(4,[],[]),!1):j()?(n.getToken()!==17&&T(9,[],[]),!0):(T(4,[],[]),!1)}var jr,yi=he(()=>{"use strict";p();Rr();(function(e){e.DEFAULT={allowTrailingComma:!1}})(jr||(jr={}))});var ga=he(()=>{"use strict";p();bi();yi()});function ya(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}var ba,va=he(()=>{"use strict";p();bi();ga();Rr();yi();ba=ha});var vi=R((G1,xa)=>{"use strict";p();xa.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==i||a.enumerable!==!0)return!1}return!0}});var xi=R((J1,wa)=>{"use strict";p();var ig=vi();wa.exports=function(){return ig()&&!!Symbol.toStringTag}});var wi=R((X1,ka)=>{"use strict";p();ka.exports=Object});var Sa=R((K1,Aa)=>{"use strict";p();Aa.exports=Error});var Ta=R((tk,Ea)=>{"use strict";p();Ea.exports=EvalError});var Oa=R((nk,Ca)=>{"use strict";p();Ca.exports=RangeError});var Na=R((ok,Pa)=>{"use strict";p();Pa.exports=ReferenceError});var ki=R((ak,$a)=>{"use strict";p();$a.exports=SyntaxError});var ct=R((uk,Ra)=>{"use strict";p();Ra.exports=TypeError});var Ia=R((fk,ja)=>{"use strict";p();ja.exports=URIError});var La=R((dk,Fa)=>{"use strict";p();Fa.exports=Math.abs});var Da=R((mk,_a)=>{"use strict";p();_a.exports=Math.floor});var Ba=R((bk,qa)=>{"use strict";p();qa.exports=Math.max});var Ua=R((vk,za)=>{"use strict";p();za.exports=Math.min});var Wa=R((wk,Ma)=>{"use strict";p();Ma.exports=Math.pow});var Ha=R((Ak,Va)=>{"use strict";p();Va.exports=Math.round});var Qa=R((Ek,Ga)=>{"use strict";p();Ga.exports=Number.isNaN||function(t){return t!==t}});var Za=R((Ck,Ja)=>{"use strict";p();var og=Qa();Ja.exports=function(t){return og(t)||t===0?t:t<0?-1:1}});var Ya=R((Pk,Xa)=>{"use strict";p();Xa.exports=Object.getOwnPropertyDescriptor});var ft=R(($k,Ka)=>{"use strict";p();var Ir=Ya();if(Ir)try{Ir([],"length")}catch{Ir=null}Ka.exports=Ir});var Wt=R((jk,el)=>{"use strict";p();var Fr=Object.defineProperty||!1;if(Fr)try{Fr({},"a",{value:1})}catch{Fr=!1}el.exports=Fr});var nl=R((Fk,rl)=>{"use strict";p();var tl=typeof Symbol<"u"&&Symbol,sg=vi();rl.exports=function(){return typeof tl!="function"||typeof Symbol!="function"||typeof tl("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:sg()}});var Ai=R((_k,il)=>{"use strict";p();il.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Si=R((qk,ol)=>{"use strict";p();var ag=wi();ol.exports=ag.getPrototypeOf||null});var ll=R((zk,al)=>{"use strict";p();var lg="Function.prototype.bind called on incompatible ",ug=Object.prototype.toString,cg=Math.max,fg="[object Function]",sl=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var o=0;o<r.length;o+=1)n[o+t.length]=r[o];return n},pg=function(t,r){for(var n=[],i=r||0,o=0;i<t.length;i+=1,o+=1)n[o]=t[i];return n},dg=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};al.exports=function(t){var r=this;if(typeof r!="function"||ug.apply(r)!==fg)throw new TypeError(lg+r);for(var n=pg(arguments,1),i,o=function(){if(this instanceof i){var c=r.apply(this,sl(n,arguments));return Object(c)===c?c:this}return r.apply(t,sl(n,arguments))},s=cg(0,r.length-n.length),a=[],l=0;l<s;l++)a[l]="$"+l;if(i=Function("binder","return function ("+dg(a,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var pt=R((Mk,ul)=>{"use strict";p();var hg=ll();ul.exports=Function.prototype.bind||hg});var Lr=R((Vk,cl)=>{"use strict";p();cl.exports=Function.prototype.call});var Ei=R((Gk,fl)=>{"use strict";p();fl.exports=Function.prototype.apply});var dl=R((Jk,pl)=>{"use strict";p();pl.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var ml=R((Xk,hl)=>{"use strict";p();var mg=pt(),gg=Ei(),bg=Lr(),yg=dl();hl.exports=yg||mg.call(bg,gg)});var bl=R((Kk,gl)=>{"use strict";p();var vg=pt(),xg=ct(),wg=Lr(),kg=ml();gl.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new xg("a function is required");return kg(vg,wg,t)}});var Al=R((tA,kl)=>{"use strict";p();var Ag=bl(),yl=ft(),xl;try{xl=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Ti=!!xl&&yl&&yl(Object.prototype,"__proto__"),wl=Object,vl=wl.getPrototypeOf;kl.exports=Ti&&typeof Ti.get=="function"?Ag([Ti.get]):typeof vl=="function"?function(t){return vl(t==null?t:wl(t))}:!1});var Ol=R((nA,Cl)=>{"use strict";p();var Sl=Ai(),El=Si(),Tl=Al();Cl.exports=Sl?function(t){return Sl(t)}:El?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return El(t)}:Tl?function(t){return Tl(t)}:null});var Nl=R((oA,Pl)=>{"use strict";p();var Sg=Function.prototype.call,Eg=Object.prototype.hasOwnProperty,Tg=pt();Pl.exports=Tg.call(Sg,Eg)});var qr=R((aA,Ll)=>{"use strict";p();var U,Cg=wi(),Og=Sa(),Pg=Ta(),Ng=Oa(),$g=Na(),gt=ki(),mt=ct(),Rg=Ia(),jg=La(),Ig=Da(),Fg=Ba(),Lg=Ua(),_g=Wa(),Dg=Ha(),qg=Za(),Il=Function,Ci=function(e){try{return Il('"use strict"; return ('+e+").constructor;")()}catch{}},Vt=ft(),Bg=Wt(),Oi=function(){throw new mt},zg=Vt?(function(){try{return arguments.callee,Oi}catch{try{return Vt(arguments,"callee").get}catch{return Oi}}})():Oi,dt=nl()(),se=Ol(),Ug=Si(),Mg=Ai(),Fl=Ei(),Ht=Lr(),ht={},Wg=typeof Uint8Array>"u"||!se?U:se(Uint8Array),We={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":dt&&se?se([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":ht,"%AsyncGenerator%":ht,"%AsyncGeneratorFunction%":ht,"%AsyncIteratorPrototype%":ht,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Og,"%eval%":eval,"%EvalError%":Pg,"%Float16Array%":typeof Float16Array>"u"?U:Float16Array,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":Il,"%GeneratorFunction%":ht,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":dt&&se?se(se([][Symbol.iterator]())):U,"%JSON%":typeof JSON=="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!dt||!se?U:se(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Cg,"%Object.getOwnPropertyDescriptor%":Vt,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":Ng,"%ReferenceError%":$g,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!dt||!se?U:se(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":dt&&se?se(""[Symbol.iterator]()):U,"%Symbol%":dt?Symbol:U,"%SyntaxError%":gt,"%ThrowTypeError%":zg,"%TypedArray%":Wg,"%TypeError%":mt,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":Rg,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet,"%Function.prototype.call%":Ht,"%Function.prototype.apply%":Fl,"%Object.defineProperty%":Bg,"%Object.getPrototypeOf%":Ug,"%Math.abs%":jg,"%Math.floor%":Ig,"%Math.max%":Fg,"%Math.min%":Lg,"%Math.pow%":_g,"%Math.round%":Dg,"%Math.sign%":qg,"%Reflect.getPrototypeOf%":Mg};if(se)try{null.error}catch(e){$l=se(se(e)),We["%Error.prototype%"]=$l}var $l,Vg=function e(t){var r;if(t==="%AsyncFunction%")r=Ci("async function () {}");else if(t==="%GeneratorFunction%")r=Ci("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ci("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&se&&(r=se(i.prototype))}return We[t]=r,r},Rl={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Gt=pt(),_r=Nl(),Hg=Gt.call(Ht,Array.prototype.concat),Gg=Gt.call(Fl,Array.prototype.splice),jl=Gt.call(Ht,String.prototype.replace),Dr=Gt.call(Ht,String.prototype.slice),Qg=Gt.call(Ht,RegExp.prototype.exec),Jg=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Zg=/\\(\\)?/g,Xg=function(t){var r=Dr(t,0,1),n=Dr(t,-1);if(r==="%"&&n!=="%")throw new gt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new gt("invalid intrinsic syntax, expected opening `%`");var i=[];return jl(t,Jg,function(o,s,a,l){i[i.length]=a?jl(l,Zg,"$1"):s||o}),i},Yg=function(t,r){var n=t,i;if(_r(Rl,n)&&(i=Rl[n],n="%"+i[0]+"%"),_r(We,n)){var o=We[n];if(o===ht&&(o=Vg(n)),typeof o>"u"&&!r)throw new mt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new gt("intrinsic "+t+" does not exist!")};Ll.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new mt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new mt('"allowMissing" argument must be a boolean');if(Qg(/^%?[^%]*%?$/,t)===null)throw new gt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Xg(t),i=n.length>0?n[0]:"",o=Yg("%"+i+"%",r),s=o.name,a=o.value,l=!1,u=o.alias;u&&(i=u[0],Gg(n,Hg([0,1],u)));for(var c=1,f=!0;c<n.length;c+=1){var m=n[c],d=Dr(m,0,1),v=Dr(m,-1);if((d==='"'||d==="'"||d==="`"||v==='"'||v==="'"||v==="`")&&d!==v)throw new gt("property names with quotes must have matching quotes");if((m==="constructor"||!f)&&(l=!0),i+="."+m,s="%"+i+"%",_r(We,s))a=We[s];else if(a!=null){if(!(m in a)){if(!r)throw new mt("base intrinsic for "+t+" exists, but the property is not available.");return}if(Vt&&c+1>=n.length){var b=Vt(a,m);f=!!b,f&&"get"in b&&!("originalValue"in b.get)?a=b.get:a=a[m]}else f=_r(a,m),a=a[m];f&&!l&&(We[s]=a)}}return a}});var Bl=R((uA,ql)=>{"use strict";p();var _l=Wt(),Kg=ki(),bt=ct(),Dl=ft();ql.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new bt("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new bt("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new bt("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new bt("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new bt("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new bt("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,l=!!Dl&&Dl(t,r);if(_l)_l(t,r,{configurable:s===null&&l?l.configurable:!s,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:o===null&&l?l.writable:!o});else if(a||!i&&!o&&!s)t[r]=n;else throw new Kg("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Ml=R((fA,Ul)=>{"use strict";p();var Pi=Wt(),zl=function(){return!!Pi};zl.hasArrayLengthDefineBug=function(){if(!Pi)return null;try{return Pi([],"length",{value:1}).length!==1}catch{return!0}};Ul.exports=zl});var Ql=R((dA,Gl)=>{"use strict";p();var eb=qr(),Wl=Bl(),tb=Ml()(),Vl=ft(),Hl=ct(),rb=eb("%Math.floor%");Gl.exports=function(t,r){if(typeof t!="function")throw new Hl("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||rb(r)!==r)throw new Hl("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in t&&Vl){var s=Vl(t,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!n)&&(tb?Wl(t,"length",r,!0,!0):Wl(t,"length",r)),t}});var $i=R((mA,Br)=>{"use strict";p();var Ni=pt(),zr=qr(),nb=Ql(),ib=ct(),Xl=zr("%Function.prototype.apply%"),Yl=zr("%Function.prototype.call%"),Kl=zr("%Reflect.apply%",!0)||Ni.call(Yl,Xl),Jl=Wt(),ob=zr("%Math.max%");Br.exports=function(t){if(typeof t!="function")throw new ib("a function is required");var r=Kl(Ni,Yl,arguments);return nb(r,1+ob(0,t.length-(arguments.length-1)),!0)};var Zl=function(){return Kl(Ni,Xl,arguments)};Jl?Jl(Br.exports,"apply",{value:Zl}):Br.exports.apply=Zl});var Ri=R((bA,ru)=>{"use strict";p();var eu=qr(),tu=$i(),sb=tu(eu("String.prototype.indexOf"));ru.exports=function(t,r){var n=eu(t,!!r);return typeof n=="function"&&sb(t,".prototype.")>-1?tu(n):n}});var ou=R((vA,iu)=>{"use strict";p();var ab=xi()(),lb=Ri(),ji=lb("Object.prototype.toString"),Ur=function(t){return ab&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:ji(t)==="[object Arguments]"},nu=function(t){return Ur(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&ji(t)!=="[object Array]"&&ji(t.callee)==="[object Function]"},ub=(function(){return Ur(arguments)})();Ur.isLegacyArguments=nu;iu.exports=ub?Ur:nu});var lu=R((wA,au)=>{"use strict";p();var cb=Object.prototype.toString,fb=Function.prototype.toString,pb=/^\s*(?:function)?\*/,su=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Ii=Object.getPrototypeOf,db=function(){if(!su)return!1;try{return Function("return function*() {}")()}catch{}},Fi;au.exports=function(t){if(typeof t!="function")return!1;if(pb.test(fb.call(t)))return!0;if(!su){var r=cb.call(t);return r==="[object GeneratorFunction]"}if(!Ii)return!1;if(typeof Fi>"u"){var n=db();Fi=n?Ii(n):!1}return Ii(t)===Fi}});var fu=R((AA,cu)=>{"use strict";p();var uu=Function.prototype.toString,yt=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Li,Mr;if(typeof yt=="function"&&typeof Object.defineProperty=="function")try{Li=Object.defineProperty({},"length",{get:function(){throw Mr}}),Mr={},yt(function(){throw 42},null,Li)}catch(e){e!==Mr&&(yt=null)}else yt=null;var hb=/^\s*class\b/,_i=function(t){try{var r=uu.call(t);return hb.test(r)}catch{return!1}},mb=function(t){try{return _i(t)?!1:(uu.call(t),!0)}catch{return!1}},gb=Object.prototype.toString,bb="[object Function]",yb="[object GeneratorFunction]",vb=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";cu.exports=yt?function(t){if(!t||typeof t!="function"&&typeof t!="object")return!1;if(typeof t=="function"&&!t.prototype)return!0;try{yt(t,null,Li)}catch(r){if(r!==Mr)return!1}return!_i(t)}:function(t){if(!t||typeof t!="function"&&typeof t!="object")return!1;if(typeof t=="function"&&!t.prototype)return!0;if(vb)return mb(t);if(_i(t))return!1;var r=gb.call(t);return r===bb||r===yb}});var hu=R((EA,du)=>{"use strict";p();var xb=fu(),wb=Object.prototype.toString,pu=Object.prototype.hasOwnProperty,kb=function(t,r,n){for(var i=0,o=t.length;i<o;i++)pu.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Ab=function(t,r,n){for(var i=0,o=t.length;i<o;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},Sb=function(t,r,n){for(var i in t)pu.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},Eb=function(t,r,n){if(!xb(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),wb.call(t)==="[object Array]"?kb(t,r,i):typeof t=="string"?Ab(t,r,i):Sb(t,r,i)};du.exports=Eb});var gu=R((CA,mu)=>{"use strict";p();var Di=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Tb=typeof globalThis>"u"?global:globalThis;mu.exports=function(){for(var t=[],r=0;r<Di.length;r++)typeof Tb[Di[r]]=="function"&&(t[t.length]=Di[r]);return t}});var Mi=R((PA,xu)=>{"use strict";p();var Vr=hu(),Cb=gu(),bu=$i(),zi=Ri(),Wr=ft(),Ob=zi("Object.prototype.toString"),vu=xi()(),yu=typeof globalThis>"u"?global:globalThis,Bi=Cb(),Ui=zi("String.prototype.slice"),qi=Object.getPrototypeOf,Pb=zi("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},Hr={__proto__:null};vu&&Wr&&qi?Vr(Bi,function(e){var t=new yu[e];if(Symbol.toStringTag in t){var r=qi(t),n=Wr(r,Symbol.toStringTag);if(!n){var i=qi(r);n=Wr(i,Symbol.toStringTag)}Hr["$"+e]=bu(n.get)}}):Vr(Bi,function(e){var t=new yu[e];Hr["$"+e]=bu(t.slice)});var Nb=function(t){var r=!1;return Vr(Hr,function(n,i){if(!r)try{"$"+n(t)===i&&(r=Ui(i,1))}catch{}}),r},$b=function(t){var r=!1;return Vr(Hr,function(n,i){if(!r)try{n(t),r=Ui(i,1)}catch{}}),r};xu.exports=function(t){if(!t||typeof t!="object")return!1;if(!vu){var r=Ui(Ob(t),8,-1);return Pb(Bi,r)>-1?r:r!=="Object"?!1:$b(t)}return Wr?Nb(t):null}});var ku=R(($A,wu)=>{"use strict";p();var Rb=Mi();wu.exports=function(t){return!!Rb(t)}});var Lu=R(M=>{"use strict";p();var jb=ou(),Ib=lu(),xe=Mi(),Au=ku();function vt(e){return e.call.bind(e)}var Su=typeof BigInt<"u",Eu=typeof Symbol<"u",ge=vt(Object.prototype.toString),Fb=vt(Number.prototype.valueOf),Lb=vt(String.prototype.valueOf),_b=vt(Boolean.prototype.valueOf);Su&&(Tu=vt(BigInt.prototype.valueOf));var Tu;Eu&&(Cu=vt(Symbol.prototype.valueOf));var Cu;function Jt(e,t){if(typeof e!="object")return!1;try{return t(e),!0}catch{return!1}}M.isArgumentsObject=jb;M.isGeneratorFunction=Ib;M.isTypedArray=Au;function Db(e){return typeof Promise<"u"&&e instanceof Promise||e!==null&&typeof e=="object"&&typeof e.then=="function"&&typeof e.catch=="function"}M.isPromise=Db;function qb(e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):Au(e)||Pu(e)}M.isArrayBufferView=qb;function Bb(e){return xe(e)==="Uint8Array"}M.isUint8Array=Bb;function zb(e){return xe(e)==="Uint8ClampedArray"}M.isUint8ClampedArray=zb;function Ub(e){return xe(e)==="Uint16Array"}M.isUint16Array=Ub;function Mb(e){return xe(e)==="Uint32Array"}M.isUint32Array=Mb;function Wb(e){return xe(e)==="Int8Array"}M.isInt8Array=Wb;function Vb(e){return xe(e)==="Int16Array"}M.isInt16Array=Vb;function Hb(e){return xe(e)==="Int32Array"}M.isInt32Array=Hb;function Gb(e){return xe(e)==="Float32Array"}M.isFloat32Array=Gb;function Qb(e){return xe(e)==="Float64Array"}M.isFloat64Array=Qb;function Jb(e){return xe(e)==="BigInt64Array"}M.isBigInt64Array=Jb;function Zb(e){return xe(e)==="BigUint64Array"}M.isBigUint64Array=Zb;function Gr(e){return ge(e)==="[object Map]"}Gr.working=typeof Map<"u"&&Gr(new Map);function Xb(e){return typeof Map>"u"?!1:Gr.working?Gr(e):e instanceof Map}M.isMap=Xb;function Qr(e){return ge(e)==="[object Set]"}Qr.working=typeof Set<"u"&&Qr(new Set);function Yb(e){return typeof Set>"u"?!1:Qr.working?Qr(e):e instanceof Set}M.isSet=Yb;function Jr(e){return ge(e)==="[object WeakMap]"}Jr.working=typeof WeakMap<"u"&&Jr(new WeakMap);function Kb(e){return typeof WeakMap>"u"?!1:Jr.working?Jr(e):e instanceof WeakMap}M.isWeakMap=Kb;function Vi(e){return ge(e)==="[object WeakSet]"}Vi.working=typeof WeakSet<"u"&&Vi(new WeakSet);function ey(e){return Vi(e)}M.isWeakSet=ey;function Zr(e){return ge(e)==="[object ArrayBuffer]"}Zr.working=typeof ArrayBuffer<"u"&&Zr(new ArrayBuffer);function Ou(e){return typeof ArrayBuffer>"u"?!1:Zr.working?Zr(e):e instanceof ArrayBuffer}M.isArrayBuffer=Ou;function Xr(e){return ge(e)==="[object DataView]"}Xr.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Xr(new DataView(new ArrayBuffer(1),0,1));function Pu(e){return typeof DataView>"u"?!1:Xr.working?Xr(e):e instanceof DataView}M.isDataView=Pu;var Wi=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Qt(e){return ge(e)==="[object SharedArrayBuffer]"}function Nu(e){return typeof Wi>"u"?!1:(typeof Qt.working>"u"&&(Qt.working=Qt(new Wi)),Qt.working?Qt(e):e instanceof Wi)}M.isSharedArrayBuffer=Nu;function ty(e){return ge(e)==="[object AsyncFunction]"}M.isAsyncFunction=ty;function ry(e){return ge(e)==="[object Map Iterator]"}M.isMapIterator=ry;function ny(e){return ge(e)==="[object Set Iterator]"}M.isSetIterator=ny;function iy(e){return ge(e)==="[object Generator]"}M.isGeneratorObject=iy;function oy(e){return ge(e)==="[object WebAssembly.Module]"}M.isWebAssemblyCompiledModule=oy;function $u(e){return Jt(e,Fb)}M.isNumberObject=$u;function Ru(e){return Jt(e,Lb)}M.isStringObject=Ru;function ju(e){return Jt(e,_b)}M.isBooleanObject=ju;function Iu(e){return Su&&Jt(e,Tu)}M.isBigIntObject=Iu;function Fu(e){return Eu&&Jt(e,Cu)}M.isSymbolObject=Fu;function sy(e){return $u(e)||Ru(e)||ju(e)||Iu(e)||Fu(e)}M.isBoxedPrimitive=sy;function ay(e){return typeof Uint8Array<"u"&&(Ou(e)||Nu(e))}M.isAnyArrayBuffer=ay;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(M,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})});var Du=R((FA,_u)=>{"use strict";p();_u.exports=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}});var qu=R((_A,Hi)=>{"use strict";p();typeof Object.create=="function"?Hi.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Hi.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Vu=R(W=>{"use strict";p();var Bu=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),n={},i=0;i<r.length;i++)n[r[i]]=Object.getOwnPropertyDescriptor(t,r[i]);return n},ly=/%[sdj%]/g;W.format=function(e){if(!on(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(De(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,o=String(e).replace(ly,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return a}}),s=n[r];r<i;s=n[++r])nn(s)||!xt(s)?o+=" "+s:o+=" "+De(s);return o};W.deprecate=function(e,t){if(typeof process<"u"&&process.noDeprecation===!0)return e;if(typeof process>"u")return function(){return W.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var Yr={},zu=/^$/;w.NODE_DEBUG&&(Kr=w.NODE_DEBUG,Kr=Kr.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),zu=new RegExp("^"+Kr+"$","i"));var Kr;W.debuglog=function(e){if(e=e.toUpperCase(),!Yr[e])if(zu.test(e)){var t=process.pid;Yr[e]=function(){var r=W.format.apply(W,arguments);console.error("%s %d: %s",e,t,r)}}else Yr[e]=function(){};return Yr[e]};function De(e,t){var r={seen:[],stylize:cy};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Zi(t)?r.showHidden=t:t&&W._extend(r,t),He(r.showHidden)&&(r.showHidden=!1),He(r.depth)&&(r.depth=2),He(r.colors)&&(r.colors=!1),He(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=uy),tn(r,e,r.depth)}W.inspect=De;De.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};De.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function uy(e,t){var r=De.styles[t];return r?"\x1B["+De.colors[r][0]+"m"+e+"\x1B["+De.colors[r][1]+"m":e}function cy(e,t){return e}function fy(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function tn(e,t,r){if(e.customInspect&&t&&en(t.inspect)&&t.inspect!==W.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return on(n)||(n=tn(e,n,r)),n}var i=py(e,t);if(i)return i;var o=Object.keys(t),s=fy(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Xt(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Gi(t);if(o.length===0){if(en(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Zt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(rn(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Xt(t))return Gi(t)}var l="",u=!1,c=["{","}"];if(Uu(t)&&(u=!0,c=["[","]"]),en(t)){var f=t.name?": "+t.name:"";l=" [Function"+f+"]"}if(Zt(t)&&(l=" "+RegExp.prototype.toString.call(t)),rn(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Xt(t)&&(l=" "+Gi(t)),o.length===0&&(!u||t.length==0))return c[0]+l+c[1];if(r<0)return Zt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var m;return u?m=dy(e,t,r,s,o):m=o.map(function(d){return Ji(e,t,r,s,d,u)}),e.seen.pop(),hy(m,l,c)}function py(e,t){if(He(t))return e.stylize("undefined","undefined");if(on(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Mu(t))return e.stylize(""+t,"number");if(Zi(t))return e.stylize(""+t,"boolean");if(nn(t))return e.stylize("null","null")}function Gi(e){return"["+Error.prototype.toString.call(e)+"]"}function dy(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)Wu(t,String(s))?o.push(Ji(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(l){l.match(/^\d+$/)||o.push(Ji(e,t,r,n,l,!0))}),o}function Ji(e,t,r,n,i,o){var s,a,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?l.set?a=e.stylize("[Getter/Setter]","special"):a=e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),Wu(n,i)||(s="["+i+"]"),a||(e.seen.indexOf(l.value)<0?(nn(r)?a=tn(e,l.value,null):a=tn(e,l.value,r-1),a.indexOf(`
|
|
1
|
+
"use strict";var Kd=Object.create;var kr=Object.defineProperty;var eh=Object.getOwnPropertyDescriptor;var th=Object.getOwnPropertyNames;var rh=Object.getPrototypeOf,nh=Object.prototype.hasOwnProperty;var he=(e,t)=>()=>(e&&(t=e(e=0)),t);var $=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Es=(e,t)=>{for(var r in t)kr(e,r,{get:t[r],enumerable:!0})},Cs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of th(t))!nh.call(e,i)&&i!==r&&kr(e,i,{get:()=>t[i],enumerable:!(n=eh(t,i))||n.enumerable});return e};var le=(e,t,r)=>(r=e!=null?Kd(rh(e)):{},Cs(t||!e||!e.__esModule?kr(r,"default",{value:e,enumerable:!0}):r,e)),Os=e=>Cs(kr({},"__esModule",{value:!0}),e);var x,p=he(()=>{x={}});function jr(e,t){t===void 0&&(t=!1);var r=e.length,n=0,i="",o=0,s=16,a=0,l=0,u=0,c=0,f=0;function m(y,T){for(var S=0,k=0;S<y||!T;){var P=e.charCodeAt(n);if(P>=48&&P<=57)k=k*16+P-48;else if(P>=65&&P<=70)k=k*16+P-65+10;else if(P>=97&&P<=102)k=k*16+P-97+10;else break;n++,S++}return S<y&&(k=-1),k}function d(y){n=y,i="",o=0,s=16,f=0}function v(){var y=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&ct(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&ct(e.charCodeAt(n)))for(n++;n<e.length&&ct(e.charCodeAt(n));)n++;else return f=3,e.substring(y,n);var T=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&ct(e.charCodeAt(n))){for(n++;n<e.length&&ct(e.charCodeAt(n));)n++;T=n}else f=3;return e.substring(y,T)}function b(){for(var y="",T=n;;){if(n>=r){y+=e.substring(T,n),f=2;break}var S=e.charCodeAt(n);if(S===34){y+=e.substring(T,n),n++;break}if(S===92){if(y+=e.substring(T,n),n++,n>=r){f=2;break}var k=e.charCodeAt(n++);switch(k){case 34:y+='"';break;case 92:y+="\\";break;case 47:y+="/";break;case 98:y+="\b";break;case 102:y+="\f";break;case 110:y+=`
|
|
2
|
+
`;break;case 114:y+="\r";break;case 116:y+=" ";break;case 117:var P=m(4,!0);P>=0?y+=String.fromCharCode(P):f=4;break;default:f=5}T=n;continue}if(S>=0&&S<=31)if(Mt(S)){y+=e.substring(T,n),f=2;break}else f=6;n++}return y}function A(){if(i="",f=0,o=n,l=a,c=u,n>=r)return o=r,s=17;var y=e.charCodeAt(n);if(Ai(y)){do n++,i+=String.fromCharCode(y),y=e.charCodeAt(n);while(Ai(y));return s=15}if(Mt(y))return n++,i+=String.fromCharCode(y),y===13&&e.charCodeAt(n)===10&&(n++,i+=`
|
|
3
|
+
`),a++,u=n,s=14;switch(y){case 123:return n++,s=1;case 125:return n++,s=2;case 91:return n++,s=3;case 93:return n++,s=4;case 58:return n++,s=6;case 44:return n++,s=5;case 34:return n++,i=b(),s=10;case 47:var T=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<r&&!Mt(e.charCodeAt(n));)n++;return i=e.substring(T,n),s=12}if(e.charCodeAt(n+1)===42){n+=2;for(var S=r-1,k=!1;n<S;){var P=e.charCodeAt(n);if(P===42&&e.charCodeAt(n+1)===47){n+=2,k=!0;break}n++,Mt(P)&&(P===13&&e.charCodeAt(n)===10&&n++,a++,u=n)}return k||(n++,f=1),i=e.substring(T,n),s=13}return i+=String.fromCharCode(y),n++,s=16;case 45:if(i+=String.fromCharCode(y),n++,n===r||!ct(e.charCodeAt(n)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=v(),s=11;default:for(;n<r&&w(y);)n++,y=e.charCodeAt(n);if(o!==n){switch(i=e.substring(o,n),i){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return i+=String.fromCharCode(y),n++,s=16}}function w(y){if(Ai(y)||Mt(y))return!1;switch(y){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function E(){var y;do y=A();while(y>=12&&y<=15);return y}return{setPosition:d,getPosition:function(){return n},scan:t?E:A,getToken:function(){return s},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return n-o},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return o-c},getTokenError:function(){return f}}}function Ai(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function Mt(e){return e===10||e===13||e===8232||e===8233}function ct(e){return e>=48&&e<=57}var Ir=he(()=>{"use strict";p()});var Si=he(()=>{"use strict";p();Ir()});function wa(e,t,r){t===void 0&&(t=[]),r===void 0&&(r=Lr.DEFAULT);var n=null,i=[],o=[];function s(l){Array.isArray(i)?i.push(l):n!==null&&(i[n]=l)}var a={onObjectBegin:function(){var l={};s(l),o.push(i),i=l,n=null},onObjectProperty:function(l){n=l},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var l=[];s(l),o.push(i),i=l,n=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:s,onError:function(l,u,c){t.push({error:l,offset:u,length:c})}};return ka(e,a,r),i[0]}function ka(e,t,r){r===void 0&&(r=Lr.DEFAULT);var n=jr(e,!1);function i(R){return R?function(){return R(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:function(){return!0}}function o(R){return R?function(L){return R(L,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:function(){return!0}}var s=i(t.onObjectBegin),a=o(t.onObjectProperty),l=i(t.onObjectEnd),u=i(t.onArrayBegin),c=i(t.onArrayEnd),f=o(t.onLiteralValue),m=o(t.onSeparator),d=i(t.onComment),v=o(t.onError),b=r&&r.disallowComments,A=r&&r.allowTrailingComma;function w(){for(;;){var R=n.scan();switch(n.getTokenError()){case 4:E(14);break;case 5:E(15);break;case 3:E(13);break;case 1:b||E(11);break;case 2:E(12);break;case 6:E(16);break}switch(R){case 12:case 13:b?E(10):d();break;case 16:E(1);break;case 15:case 14:break;default:return R}}}function E(R,L,C){if(L===void 0&&(L=[]),C===void 0&&(C=[]),v(R),L.length+C.length>0)for(var g=n.getToken();g!==17;){if(L.indexOf(g)!==-1){w();break}else if(C.indexOf(g)!==-1)break;g=w()}}function y(R){var L=n.getTokenValue();return R?f(L):a(L),w(),!0}function T(){switch(n.getToken()){case 11:var R=n.getTokenValue(),L=Number(R);isNaN(L)&&(E(2),L=0),f(L);break;case 7:f(null);break;case 8:f(!0);break;case 9:f(!1);break;default:return!1}return w(),!0}function S(){return n.getToken()!==10?(E(3,[],[2,5]),!1):(y(!1),n.getToken()===6?(m(":"),w(),j()||E(4,[],[2,5])):E(5,[],[2,5]),!0)}function k(){s(),w();for(var R=!1;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(R||E(4,[],[]),m(","),w(),n.getToken()===2&&A)break}else R&&E(6,[],[]);S()||E(4,[],[2,5]),R=!0}return l(),n.getToken()!==2?E(7,[2],[]):w(),!0}function P(){u(),w();for(var R=!1;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(R||E(4,[],[]),m(","),w(),n.getToken()===4&&A)break}else R&&E(6,[],[]);j()||E(4,[],[4,5]),R=!0}return c(),n.getToken()!==4?E(8,[4],[]):w(),!0}function j(){switch(n.getToken()){case 3:return P();case 1:return k();case 10:return y(!0);default:return T()}}return w(),n.getToken()===17?r.allowEmptyContent?!0:(E(4,[],[]),!1):j()?(n.getToken()!==17&&E(9,[],[]),!0):(E(4,[],[]),!1)}var Lr,Ti=he(()=>{"use strict";p();Ir();(function(e){e.DEFAULT={allowTrailingComma:!1}})(Lr||(Lr={}))});var Aa=he(()=>{"use strict";p();Si();Ti()});function Ta(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}var Sa,Ea=he(()=>{"use strict";p();Si();Aa();Ir();Ti();Sa=wa});var Ei=$((Pk,Ca)=>{"use strict";p();Ca.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==i||a.enumerable!==!0)return!1}return!0}});var Wt=$(($k,Oa)=>{"use strict";p();var Sg=Ei();Oa.exports=function(){return Sg()&&!!Symbol.toStringTag}});var Ci=$((jk,Pa)=>{"use strict";p();Pa.exports=Object});var $a=$((Lk,Na)=>{"use strict";p();Na.exports=Error});var ja=$((_k,Ra)=>{"use strict";p();Ra.exports=EvalError});var La=$((qk,Ia)=>{"use strict";p();Ia.exports=RangeError});var _a=$((zk,Fa)=>{"use strict";p();Fa.exports=ReferenceError});var Oi=$((Mk,Da)=>{"use strict";p();Da.exports=SyntaxError});var ft=$((Vk,qa)=>{"use strict";p();qa.exports=TypeError});var za=$((Gk,Ba)=>{"use strict";p();Ba.exports=URIError});var Ma=$((Jk,Ua)=>{"use strict";p();Ua.exports=Math.abs});var Va=$((Xk,Wa)=>{"use strict";p();Wa.exports=Math.floor});var Ga=$((Kk,Ha)=>{"use strict";p();Ha.exports=Math.max});var Ja=$((tA,Qa)=>{"use strict";p();Qa.exports=Math.min});var Xa=$((nA,Za)=>{"use strict";p();Za.exports=Math.pow});var Ka=$((oA,Ya)=>{"use strict";p();Ya.exports=Math.round});var tl=$((aA,el)=>{"use strict";p();el.exports=Number.isNaN||function(t){return t!==t}});var nl=$((uA,rl)=>{"use strict";p();var Tg=tl();rl.exports=function(t){return Tg(t)||t===0?t:t<0?-1:1}});var ol=$((fA,il)=>{"use strict";p();il.exports=Object.getOwnPropertyDescriptor});var We=$((dA,sl)=>{"use strict";p();var Fr=ol();if(Fr)try{Fr([],"length")}catch{Fr=null}sl.exports=Fr});var Vt=$((mA,al)=>{"use strict";p();var _r=Object.defineProperty||!1;if(_r)try{_r({},"a",{value:1})}catch{_r=!1}al.exports=_r});var cl=$((bA,ul)=>{"use strict";p();var ll=typeof Symbol<"u"&&Symbol,Eg=Ei();ul.exports=function(){return typeof ll!="function"||typeof Symbol!="function"||typeof ll("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Eg()}});var Pi=$((vA,fl)=>{"use strict";p();fl.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Ni=$((wA,pl)=>{"use strict";p();var Cg=Ci();pl.exports=Cg.getPrototypeOf||null});var ml=$((AA,hl)=>{"use strict";p();var Og="Function.prototype.bind called on incompatible ",Pg=Object.prototype.toString,Ng=Math.max,$g="[object Function]",dl=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var o=0;o<r.length;o+=1)n[o+t.length]=r[o];return n},Rg=function(t,r){for(var n=[],i=r||0,o=0;i<t.length;i+=1,o+=1)n[o]=t[i];return n},jg=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};hl.exports=function(t){var r=this;if(typeof r!="function"||Pg.apply(r)!==$g)throw new TypeError(Og+r);for(var n=Rg(arguments,1),i,o=function(){if(this instanceof i){var c=r.apply(this,dl(n,arguments));return Object(c)===c?c:this}return r.apply(t,dl(n,arguments))},s=Ng(0,r.length-n.length),a=[],l=0;l<s;l++)a[l]="$"+l;if(i=Function("binder","return function ("+jg(a,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var pt=$((TA,gl)=>{"use strict";p();var Ig=ml();gl.exports=Function.prototype.bind||Ig});var Dr=$((CA,bl)=>{"use strict";p();bl.exports=Function.prototype.call});var qr=$((PA,yl)=>{"use strict";p();yl.exports=Function.prototype.apply});var xl=$(($A,vl)=>{"use strict";p();vl.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var $i=$((jA,wl)=>{"use strict";p();var Lg=pt(),Fg=qr(),_g=Dr(),Dg=xl();wl.exports=Dg||Lg.call(_g,Fg)});var Br=$((LA,kl)=>{"use strict";p();var qg=pt(),Bg=ft(),zg=Dr(),Ug=$i();kl.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new Bg("a function is required");return Ug(qg,zg,t)}});var Ol=$((_A,Cl)=>{"use strict";p();var Mg=Br(),Al=We(),Tl;try{Tl=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Ri=!!Tl&&Al&&Al(Object.prototype,"__proto__"),El=Object,Sl=El.getPrototypeOf;Cl.exports=Ri&&typeof Ri.get=="function"?Mg([Ri.get]):typeof Sl=="function"?function(t){return Sl(t==null?t:El(t))}:!1});var zr=$((qA,Rl)=>{"use strict";p();var Pl=Pi(),Nl=Ni(),$l=Ol();Rl.exports=Pl?function(t){return Pl(t)}:Nl?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return Nl(t)}:$l?function(t){return $l(t)}:null});var ji=$((zA,jl)=>{"use strict";p();var Wg=Function.prototype.call,Vg=Object.prototype.hasOwnProperty,Hg=pt();jl.exports=Hg.call(Wg,Vg)});var Wr=$((MA,ql)=>{"use strict";p();var U,Gg=Ci(),Qg=$a(),Jg=ja(),Zg=La(),Xg=_a(),gt=Oi(),mt=ft(),Yg=za(),Kg=Ma(),eb=Va(),tb=Ga(),rb=Ja(),nb=Xa(),ib=Ka(),ob=nl(),_l=Function,Ii=function(e){try{return _l('"use strict"; return ('+e+").constructor;")()}catch{}},Ht=We(),sb=Vt(),Li=function(){throw new mt},ab=Ht?(function(){try{return arguments.callee,Li}catch{try{return Ht(arguments,"callee").get}catch{return Li}}})():Li,dt=cl()(),se=zr(),lb=Ni(),ub=Pi(),Dl=qr(),Gt=Dr(),ht={},cb=typeof Uint8Array>"u"||!se?U:se(Uint8Array),Ve={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":dt&&se?se([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":ht,"%AsyncGenerator%":ht,"%AsyncGeneratorFunction%":ht,"%AsyncIteratorPrototype%":ht,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Qg,"%eval%":eval,"%EvalError%":Jg,"%Float16Array%":typeof Float16Array>"u"?U:Float16Array,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":_l,"%GeneratorFunction%":ht,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":dt&&se?se(se([][Symbol.iterator]())):U,"%JSON%":typeof JSON=="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!dt||!se?U:se(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Gg,"%Object.getOwnPropertyDescriptor%":Ht,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":Zg,"%ReferenceError%":Xg,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!dt||!se?U:se(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":dt&&se?se(""[Symbol.iterator]()):U,"%Symbol%":dt?Symbol:U,"%SyntaxError%":gt,"%ThrowTypeError%":ab,"%TypedArray%":cb,"%TypeError%":mt,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":Yg,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet,"%Function.prototype.call%":Gt,"%Function.prototype.apply%":Dl,"%Object.defineProperty%":sb,"%Object.getPrototypeOf%":lb,"%Math.abs%":Kg,"%Math.floor%":eb,"%Math.max%":tb,"%Math.min%":rb,"%Math.pow%":nb,"%Math.round%":ib,"%Math.sign%":ob,"%Reflect.getPrototypeOf%":ub};if(se)try{null.error}catch(e){Il=se(se(e)),Ve["%Error.prototype%"]=Il}var Il,fb=function e(t){var r;if(t==="%AsyncFunction%")r=Ii("async function () {}");else if(t==="%GeneratorFunction%")r=Ii("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Ii("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&se&&(r=se(i.prototype))}return Ve[t]=r,r},Ll={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Qt=pt(),Ur=ji(),pb=Qt.call(Gt,Array.prototype.concat),db=Qt.call(Dl,Array.prototype.splice),Fl=Qt.call(Gt,String.prototype.replace),Mr=Qt.call(Gt,String.prototype.slice),hb=Qt.call(Gt,RegExp.prototype.exec),mb=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gb=/\\(\\)?/g,bb=function(t){var r=Mr(t,0,1),n=Mr(t,-1);if(r==="%"&&n!=="%")throw new gt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new gt("invalid intrinsic syntax, expected opening `%`");var i=[];return Fl(t,mb,function(o,s,a,l){i[i.length]=a?Fl(l,gb,"$1"):s||o}),i},yb=function(t,r){var n=t,i;if(Ur(Ll,n)&&(i=Ll[n],n="%"+i[0]+"%"),Ur(Ve,n)){var o=Ve[n];if(o===ht&&(o=fb(n)),typeof o>"u"&&!r)throw new mt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new gt("intrinsic "+t+" does not exist!")};ql.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new mt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new mt('"allowMissing" argument must be a boolean');if(hb(/^%?[^%]*%?$/,t)===null)throw new gt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=bb(t),i=n.length>0?n[0]:"",o=yb("%"+i+"%",r),s=o.name,a=o.value,l=!1,u=o.alias;u&&(i=u[0],db(n,pb([0,1],u)));for(var c=1,f=!0;c<n.length;c+=1){var m=n[c],d=Mr(m,0,1),v=Mr(m,-1);if((d==='"'||d==="'"||d==="`"||v==='"'||v==="'"||v==="`")&&d!==v)throw new gt("property names with quotes must have matching quotes");if((m==="constructor"||!f)&&(l=!0),i+="."+m,s="%"+i+"%",Ur(Ve,s))a=Ve[s];else if(a!=null){if(!(m in a)){if(!r)throw new mt("base intrinsic for "+t+" exists, but the property is not available.");return}if(Ht&&c+1>=n.length){var b=Ht(a,m);f=!!b,f&&"get"in b&&!("originalValue"in b.get)?a=b.get:a=a[m]}else f=Ur(a,m),a=a[m];f&&!l&&(Ve[s]=a)}}return a}});var Ml=$((VA,Ul)=>{"use strict";p();var Bl=Vt(),vb=Oi(),bt=ft(),zl=We();Ul.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new bt("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new bt("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new bt("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new bt("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new bt("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new bt("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,l=!!zl&&zl(t,r);if(Bl)Bl(t,r,{configurable:s===null&&l?l.configurable:!s,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:o===null&&l?l.writable:!o});else if(a||!i&&!o&&!s)t[r]=n;else throw new vb("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Hl=$((GA,Vl)=>{"use strict";p();var Fi=Vt(),Wl=function(){return!!Fi};Wl.hasArrayLengthDefineBug=function(){if(!Fi)return null;try{return Fi([],"length",{value:1}).length!==1}catch{return!0}};Vl.exports=Wl});var Xl=$((JA,Zl)=>{"use strict";p();var xb=Wr(),Gl=Ml(),wb=Hl()(),Ql=We(),Jl=ft(),kb=xb("%Math.floor%");Zl.exports=function(t,r){if(typeof t!="function")throw new Jl("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||kb(r)!==r)throw new Jl("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in t&&Ql){var s=Ql(t,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!n)&&(wb?Gl(t,"length",r,!0,!0):Gl(t,"length",r)),t}});var Kl=$((XA,Yl)=>{"use strict";p();var Ab=pt(),Sb=qr(),Tb=$i();Yl.exports=function(){return Tb(Ab,Sb,arguments)}});var _i=$((KA,Vr)=>{"use strict";p();var Eb=Xl(),eu=Vt(),Cb=Br(),tu=Kl();Vr.exports=function(t){var r=Cb(arguments),n=1+t.length-(arguments.length-1);return Eb(r,n>0?n:0,!0)};eu?eu(Vr.exports,"apply",{value:tu}):Vr.exports.apply=tu});var ou=$((tS,iu)=>{"use strict";p();var ru=Wr(),nu=_i(),Ob=nu(ru("String.prototype.indexOf"));iu.exports=function(t,r){var n=ru(t,!!r);return typeof n=="function"&&Ob(t,".prototype.")>-1?nu(n):n}});var lu=$((nS,au)=>{"use strict";p();var Pb=Wt()(),Nb=ou(),Di=Nb("Object.prototype.toString"),Hr=function(t){return Pb&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Di(t)==="[object Arguments]"},su=function(t){return Hr(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Di(t)!=="[object Array]"&&Di(t.callee)==="[object Function]"},$b=(function(){return Hr(arguments)})();Hr.isLegacyArguments=su;au.exports=$b?Hr:su});var Jt=$((oS,fu)=>{"use strict";p();var uu=Wr(),cu=Br(),Rb=cu([uu("%String.prototype.indexOf%")]);fu.exports=function(t,r){var n=uu(t,!!r);return typeof n=="function"&&Rb(t,".prototype.")>-1?cu([n]):n}});var bu=$((aS,gu)=>{"use strict";p();var pu=Jt(),jb=Wt()(),Ib=ji(),Lb=We(),zi;jb?(du=pu("RegExp.prototype.exec"),qi={},Gr=function(){throw qi},Bi={toString:Gr,valueOf:Gr},typeof Symbol.toPrimitive=="symbol"&&(Bi[Symbol.toPrimitive]=Gr),zi=function(t){if(!t||typeof t!="object")return!1;var r=Lb(t,"lastIndex"),n=r&&Ib(r,"value");if(!n)return!1;try{du(t,Bi)}catch(i){return i===qi}}):(hu=pu("Object.prototype.toString"),mu="[object RegExp]",zi=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:hu(t)===mu});var du,qi,Gr,Bi,hu,mu;gu.exports=zi});var vu=$((uS,yu)=>{"use strict";p();var Fb=Jt(),_b=bu(),Db=Fb("RegExp.prototype.exec"),qb=ft();yu.exports=function(t){if(!_b(t))throw new qb("`regex` must be a RegExp");return function(n){return Db(t,n)!==null}}});var wu=$((fS,xu)=>{"use strict";p();var Bb=function*(){}.constructor;xu.exports=()=>Bb});var Tu=$((dS,Su)=>{"use strict";p();var Au=Jt(),zb=vu(),Ub=zb(/^\s*(?:function)?\*/),Mb=Wt()(),ku=zr(),Wb=Au("Object.prototype.toString"),Vb=Au("Function.prototype.toString"),Hb=wu();Su.exports=function(t){if(typeof t!="function")return!1;if(Ub(Vb(t)))return!0;if(!Mb){var r=Wb(t);return r==="[object GeneratorFunction]"}if(!ku)return!1;var n=Hb();return n&&ku(t)===n.prototype}});var Pu=$((mS,Ou)=>{"use strict";p();var Cu=Function.prototype.toString,yt=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Mi,Qr;if(typeof yt=="function"&&typeof Object.defineProperty=="function")try{Mi=Object.defineProperty({},"length",{get:function(){throw Qr}}),Qr={},yt(function(){throw 42},null,Mi)}catch(e){e!==Qr&&(yt=null)}else yt=null;var Gb=/^\s*class\b/,Wi=function(t){try{var r=Cu.call(t);return Gb.test(r)}catch{return!1}},Ui=function(t){try{return Wi(t)?!1:(Cu.call(t),!0)}catch{return!1}},Jr=Object.prototype.toString,Qb="[object Object]",Jb="[object Function]",Zb="[object GeneratorFunction]",Xb="[object HTMLAllCollection]",Yb="[object HTML document.all class]",Kb="[object HTMLCollection]",ey=typeof Symbol=="function"&&!!Symbol.toStringTag,ty=!(0 in[,]),Vi=function(){return!1};typeof document=="object"&&(Eu=document.all,Jr.call(Eu)===Jr.call(document.all)&&(Vi=function(t){if((ty||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Jr.call(t);return(r===Xb||r===Yb||r===Kb||r===Qb)&&t("")==null}catch{}return!1}));var Eu;Ou.exports=yt?function(t){if(Vi(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{yt(t,null,Mi)}catch(r){if(r!==Qr)return!1}return!Wi(t)&&Ui(t)}:function(t){if(Vi(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(ey)return Ui(t);if(Wi(t))return!1;var r=Jr.call(t);return r!==Jb&&r!==Zb&&!/^\[object HTML/.test(r)?!1:Ui(t)}});var Ru=$((bS,$u)=>{"use strict";p();var ry=Pu(),ny=Object.prototype.toString,Nu=Object.prototype.hasOwnProperty,iy=function(t,r,n){for(var i=0,o=t.length;i<o;i++)Nu.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},oy=function(t,r,n){for(var i=0,o=t.length;i<o;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},sy=function(t,r,n){for(var i in t)Nu.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))};function ay(e){return ny.call(e)==="[object Array]"}$u.exports=function(t,r,n){if(!ry(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),ay(t)?iy(t,r,i):typeof t=="string"?oy(t,r,i):sy(t,r,i)}});var Iu=$((vS,ju)=>{"use strict";p();ju.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var Fu=$((wS,Lu)=>{"use strict";p();var Hi=Iu(),ly=typeof globalThis>"u"?global:globalThis;Lu.exports=function(){for(var t=[],r=0;r<Hi.length;r++)typeof ly[Hi[r]]=="function"&&(t[t.length]=Hi[r]);return t}});var Zi=$((AS,Bu)=>{"use strict";p();var Yr=Ru(),uy=Fu(),_u=_i(),Qi=Jt(),Xr=We(),Zr=zr(),cy=Qi("Object.prototype.toString"),qu=Wt()(),Du=typeof globalThis>"u"?global:globalThis,Gi=uy(),Ji=Qi("String.prototype.slice"),fy=Qi("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},Kr={__proto__:null};qu&&Xr&&Zr?Yr(Gi,function(e){var t=new Du[e];if(Symbol.toStringTag in t&&Zr){var r=Zr(t),n=Xr(r,Symbol.toStringTag);if(!n&&r){var i=Zr(r);n=Xr(i,Symbol.toStringTag)}if(n&&n.get){var o=_u(n.get);Kr["$"+e]=o}}}):Yr(Gi,function(e){var t=new Du[e],r=t.slice||t.set;if(r){var n=_u(r);Kr["$"+e]=n}});var py=function(t){var r=!1;return Yr(Kr,function(n,i){if(!r)try{"$"+n(t)===i&&(r=Ji(i,1))}catch{}}),r},dy=function(t){var r=!1;return Yr(Kr,function(n,i){if(!r)try{n(t),r=Ji(i,1)}catch{}}),r};Bu.exports=function(t){if(!t||typeof t!="object")return!1;if(!qu){var r=Ji(cy(t),8,-1);return fy(Gi,r)>-1?r:r!=="Object"?!1:dy(t)}return Xr?py(t):null}});var Uu=$((TS,zu)=>{"use strict";p();var hy=Zi();zu.exports=function(t){return!!hy(t)}});var rc=$(M=>{"use strict";p();var my=lu(),gy=Tu(),xe=Zi(),Mu=Uu();function vt(e){return e.call.bind(e)}var Wu=typeof BigInt<"u",Vu=typeof Symbol<"u",ge=vt(Object.prototype.toString),by=vt(Number.prototype.valueOf),yy=vt(String.prototype.valueOf),vy=vt(Boolean.prototype.valueOf);Wu&&(Hu=vt(BigInt.prototype.valueOf));var Hu;Vu&&(Gu=vt(Symbol.prototype.valueOf));var Gu;function Xt(e,t){if(typeof e!="object")return!1;try{return t(e),!0}catch{return!1}}M.isArgumentsObject=my;M.isGeneratorFunction=gy;M.isTypedArray=Mu;function xy(e){return typeof Promise<"u"&&e instanceof Promise||e!==null&&typeof e=="object"&&typeof e.then=="function"&&typeof e.catch=="function"}M.isPromise=xy;function wy(e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):Mu(e)||Ju(e)}M.isArrayBufferView=wy;function ky(e){return xe(e)==="Uint8Array"}M.isUint8Array=ky;function Ay(e){return xe(e)==="Uint8ClampedArray"}M.isUint8ClampedArray=Ay;function Sy(e){return xe(e)==="Uint16Array"}M.isUint16Array=Sy;function Ty(e){return xe(e)==="Uint32Array"}M.isUint32Array=Ty;function Ey(e){return xe(e)==="Int8Array"}M.isInt8Array=Ey;function Cy(e){return xe(e)==="Int16Array"}M.isInt16Array=Cy;function Oy(e){return xe(e)==="Int32Array"}M.isInt32Array=Oy;function Py(e){return xe(e)==="Float32Array"}M.isFloat32Array=Py;function Ny(e){return xe(e)==="Float64Array"}M.isFloat64Array=Ny;function $y(e){return xe(e)==="BigInt64Array"}M.isBigInt64Array=$y;function Ry(e){return xe(e)==="BigUint64Array"}M.isBigUint64Array=Ry;function en(e){return ge(e)==="[object Map]"}en.working=typeof Map<"u"&&en(new Map);function jy(e){return typeof Map>"u"?!1:en.working?en(e):e instanceof Map}M.isMap=jy;function tn(e){return ge(e)==="[object Set]"}tn.working=typeof Set<"u"&&tn(new Set);function Iy(e){return typeof Set>"u"?!1:tn.working?tn(e):e instanceof Set}M.isSet=Iy;function rn(e){return ge(e)==="[object WeakMap]"}rn.working=typeof WeakMap<"u"&&rn(new WeakMap);function Ly(e){return typeof WeakMap>"u"?!1:rn.working?rn(e):e instanceof WeakMap}M.isWeakMap=Ly;function Yi(e){return ge(e)==="[object WeakSet]"}Yi.working=typeof WeakSet<"u"&&Yi(new WeakSet);function Fy(e){return Yi(e)}M.isWeakSet=Fy;function nn(e){return ge(e)==="[object ArrayBuffer]"}nn.working=typeof ArrayBuffer<"u"&&nn(new ArrayBuffer);function Qu(e){return typeof ArrayBuffer>"u"?!1:nn.working?nn(e):e instanceof ArrayBuffer}M.isArrayBuffer=Qu;function on(e){return ge(e)==="[object DataView]"}on.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&on(new DataView(new ArrayBuffer(1),0,1));function Ju(e){return typeof DataView>"u"?!1:on.working?on(e):e instanceof DataView}M.isDataView=Ju;var Xi=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Zt(e){return ge(e)==="[object SharedArrayBuffer]"}function Zu(e){return typeof Xi>"u"?!1:(typeof Zt.working>"u"&&(Zt.working=Zt(new Xi)),Zt.working?Zt(e):e instanceof Xi)}M.isSharedArrayBuffer=Zu;function _y(e){return ge(e)==="[object AsyncFunction]"}M.isAsyncFunction=_y;function Dy(e){return ge(e)==="[object Map Iterator]"}M.isMapIterator=Dy;function qy(e){return ge(e)==="[object Set Iterator]"}M.isSetIterator=qy;function By(e){return ge(e)==="[object Generator]"}M.isGeneratorObject=By;function zy(e){return ge(e)==="[object WebAssembly.Module]"}M.isWebAssemblyCompiledModule=zy;function Xu(e){return Xt(e,by)}M.isNumberObject=Xu;function Yu(e){return Xt(e,yy)}M.isStringObject=Yu;function Ku(e){return Xt(e,vy)}M.isBooleanObject=Ku;function ec(e){return Wu&&Xt(e,Hu)}M.isBigIntObject=ec;function tc(e){return Vu&&Xt(e,Gu)}M.isSymbolObject=tc;function Uy(e){return Xu(e)||Yu(e)||Ku(e)||ec(e)||tc(e)}M.isBoxedPrimitive=Uy;function My(e){return typeof Uint8Array<"u"&&(Qu(e)||Zu(e))}M.isAnyArrayBuffer=My;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(M,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})});var ic=$((PS,nc)=>{"use strict";p();nc.exports=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}});var oc=$(($S,Ki)=>{"use strict";p();typeof Object.create=="function"?Ki.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ki.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var fc=$(W=>{"use strict";p();var sc=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),n={},i=0;i<r.length;i++)n[r[i]]=Object.getOwnPropertyDescriptor(t,r[i]);return n},Wy=/%[sdj%]/g;W.format=function(e){if(!pn(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(De(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,o=String(e).replace(Wy,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return a}}),s=n[r];r<i;s=n[++r])fn(s)||!xt(s)?o+=" "+s:o+=" "+De(s);return o};W.deprecate=function(e,t){if(typeof process<"u"&&process.noDeprecation===!0)return e;if(typeof process>"u")return function(){return W.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var sn={},ac=/^$/;x.NODE_DEBUG&&(an=x.NODE_DEBUG,an=an.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ac=new RegExp("^"+an+"$","i"));var an;W.debuglog=function(e){if(e=e.toUpperCase(),!sn[e])if(ac.test(e)){var t=process.pid;sn[e]=function(){var r=W.format.apply(W,arguments);console.error("%s %d: %s",e,t,r)}}else sn[e]=function(){};return sn[e]};function De(e,t){var r={seen:[],stylize:Hy};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),no(t)?r.showHidden=t:t&&W._extend(r,t),Ge(r.showHidden)&&(r.showHidden=!1),Ge(r.depth)&&(r.depth=2),Ge(r.colors)&&(r.colors=!1),Ge(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Vy),un(r,e,r.depth)}W.inspect=De;De.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};De.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Vy(e,t){var r=De.styles[t];return r?"\x1B["+De.colors[r][0]+"m"+e+"\x1B["+De.colors[r][1]+"m":e}function Hy(e,t){return e}function Gy(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function un(e,t,r){if(e.customInspect&&t&&ln(t.inspect)&&t.inspect!==W.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return pn(n)||(n=un(e,n,r)),n}var i=Qy(e,t);if(i)return i;var o=Object.keys(t),s=Gy(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Kt(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return eo(t);if(o.length===0){if(ln(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Yt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(cn(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Kt(t))return eo(t)}var l="",u=!1,c=["{","}"];if(lc(t)&&(u=!0,c=["[","]"]),ln(t)){var f=t.name?": "+t.name:"";l=" [Function"+f+"]"}if(Yt(t)&&(l=" "+RegExp.prototype.toString.call(t)),cn(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Kt(t)&&(l=" "+eo(t)),o.length===0&&(!u||t.length==0))return c[0]+l+c[1];if(r<0)return Yt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var m;return u?m=Jy(e,t,r,s,o):m=o.map(function(d){return ro(e,t,r,s,d,u)}),e.seen.pop(),Zy(m,l,c)}function Qy(e,t){if(Ge(t))return e.stylize("undefined","undefined");if(pn(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(uc(t))return e.stylize(""+t,"number");if(no(t))return e.stylize(""+t,"boolean");if(fn(t))return e.stylize("null","null")}function eo(e){return"["+Error.prototype.toString.call(e)+"]"}function Jy(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)cc(t,String(s))?o.push(ro(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(l){l.match(/^\d+$/)||o.push(ro(e,t,r,n,l,!0))}),o}function ro(e,t,r,n,i,o){var s,a,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?l.set?a=e.stylize("[Getter/Setter]","special"):a=e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),cc(n,i)||(s="["+i+"]"),a||(e.seen.indexOf(l.value)<0?(fn(r)?a=un(e,l.value,null):a=un(e,l.value,r-1),a.indexOf(`
|
|
4
4
|
`)>-1&&(o?a=a.split(`
|
|
5
5
|
`).map(function(u){return" "+u}).join(`
|
|
6
6
|
`).slice(2):a=`
|
|
7
7
|
`+a.split(`
|
|
8
8
|
`).map(function(u){return" "+u}).join(`
|
|
9
|
-
`))):a=e.stylize("[Circular]","special")),
|
|
9
|
+
`))):a=e.stylize("[Circular]","special")),Ge(s)){if(o&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function Zy(e,t,r){var n=0,i=e.reduce(function(o,s){return n++,s.indexOf(`
|
|
10
10
|
`)>=0&&n++,o+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(t===""?"":t+`
|
|
11
11
|
`)+" "+e.join(`,
|
|
12
|
-
`)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}W.types=Lu();function Uu(e){return Array.isArray(e)}W.isArray=Uu;function Zi(e){return typeof e=="boolean"}W.isBoolean=Zi;function nn(e){return e===null}W.isNull=nn;function my(e){return e==null}W.isNullOrUndefined=my;function Mu(e){return typeof e=="number"}W.isNumber=Mu;function on(e){return typeof e=="string"}W.isString=on;function gy(e){return typeof e=="symbol"}W.isSymbol=gy;function He(e){return e===void 0}W.isUndefined=He;function Zt(e){return xt(e)&&Xi(e)==="[object RegExp]"}W.isRegExp=Zt;W.types.isRegExp=Zt;function xt(e){return typeof e=="object"&&e!==null}W.isObject=xt;function rn(e){return xt(e)&&Xi(e)==="[object Date]"}W.isDate=rn;W.types.isDate=rn;function Xt(e){return xt(e)&&(Xi(e)==="[object Error]"||e instanceof Error)}W.isError=Xt;W.types.isNativeError=Xt;function en(e){return typeof e=="function"}W.isFunction=en;function by(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}W.isPrimitive=by;W.isBuffer=Du();function Xi(e){return Object.prototype.toString.call(e)}function Qi(e){return e<10?"0"+e.toString(10):e.toString(10)}var yy=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function vy(){var e=new Date,t=[Qi(e.getHours()),Qi(e.getMinutes()),Qi(e.getSeconds())].join(":");return[e.getDate(),yy[e.getMonth()],t].join(" ")}W.log=function(){console.log("%s - %s",vy(),W.format.apply(W,arguments))};W.inherits=qu();W._extend=function(e,t){if(!t||!xt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function Wu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Ve=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;W.promisify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(Ve&&t[Ve]){var r=t[Ve];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,Ve,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var n,i,o=new Promise(function(l,u){n=l,i=u}),s=[],a=0;a<arguments.length;a++)s.push(arguments[a]);s.push(function(l,u){l?i(l):n(u)});try{t.apply(this,s)}catch(l){i(l)}return o}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Ve&&Object.defineProperty(r,Ve,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,Bu(t))};W.promisify.custom=Ve;function xy(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function wy(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function t(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var o=this,s=function(){return i.apply(o,arguments)};e.apply(this,r).then(function(a){process.nextTick(s.bind(null,null,a))},function(a){process.nextTick(xy.bind(null,a,s))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,Bu(e)),t}W.callbackify=wy});var Hu,Yi,Gu,sn,we,K,an,Qu,Ki,Ju,Zu,Xu,Yu,eo,Ku,ec,tc,ln,wt,Se,to,kt,rc,ro,no,io,oo,so,nc,ic,ao,oc,lo,Yt,un,Kt,sc,ac,lc,uc,er,tr,cn,cc,fc,pc,dc,hc,mc,gc,bc,yc,vc,xc,fn,wc,kc,Ac,Sc,Ec,Tc,Cc,Oc,Pc,Nc,$c,Rc,jc,uo,co,Ic,Fc,Lc,_c,Dc,qc,Bc,zc,Uc,fo,h,Mc=he(()=>{"use strict";p();(function(e){function t(r){return typeof r=="string"}e.is=t})(Hu||(Hu={}));(function(e){function t(r){return typeof r=="string"}e.is=t})(Yi||(Yi={}));(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(r){return typeof r=="number"&&e.MIN_VALUE<=r&&r<=e.MAX_VALUE}e.is=t})(Gu||(Gu={}));(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(r){return typeof r=="number"&&e.MIN_VALUE<=r&&r<=e.MAX_VALUE}e.is=t})(sn||(sn={}));(function(e){function t(n,i){return n===Number.MAX_VALUE&&(n=sn.MAX_VALUE),i===Number.MAX_VALUE&&(i=sn.MAX_VALUE),{line:n,character:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.uinteger(i.line)&&h.uinteger(i.character)}e.is=r})(we||(we={}));(function(e){function t(n,i,o,s){if(h.uinteger(n)&&h.uinteger(i)&&h.uinteger(o)&&h.uinteger(s))return{start:we.create(n,i),end:we.create(o,s)};if(we.is(n)&&we.is(i))return{start:n,end:i};throw new Error(`Range#create called with invalid arguments[${n}, ${i}, ${o}, ${s}]`)}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&we.is(i.start)&&we.is(i.end)}e.is=r})(K||(K={}));(function(e){function t(n,i){return{uri:n,range:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.range)&&(h.string(i.uri)||h.undefined(i.uri))}e.is=r})(an||(an={}));(function(e){function t(n,i,o,s){return{targetUri:n,targetRange:i,targetSelectionRange:o,originSelectionRange:s}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.targetRange)&&h.string(i.targetUri)&&K.is(i.targetSelectionRange)&&(K.is(i.originSelectionRange)||h.undefined(i.originSelectionRange))}e.is=r})(Qu||(Qu={}));(function(e){function t(n,i,o,s){return{red:n,green:i,blue:o,alpha:s}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.numberRange(i.red,0,1)&&h.numberRange(i.green,0,1)&&h.numberRange(i.blue,0,1)&&h.numberRange(i.alpha,0,1)}e.is=r})(Ki||(Ki={}));(function(e){function t(n,i){return{range:n,color:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.range)&&Ki.is(i.color)}e.is=r})(Ju||(Ju={}));(function(e){function t(n,i,o){return{label:n,textEdit:i,additionalTextEdits:o}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.string(i.label)&&(h.undefined(i.textEdit)||Se.is(i))&&(h.undefined(i.additionalTextEdits)||h.typedArray(i.additionalTextEdits,Se.is))}e.is=r})(Zu||(Zu={}));(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Xu||(Xu={}));(function(e){function t(n,i,o,s,a,l){let u={startLine:n,endLine:i};return h.defined(o)&&(u.startCharacter=o),h.defined(s)&&(u.endCharacter=s),h.defined(a)&&(u.kind=a),h.defined(l)&&(u.collapsedText=l),u}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.uinteger(i.startLine)&&h.uinteger(i.startLine)&&(h.undefined(i.startCharacter)||h.uinteger(i.startCharacter))&&(h.undefined(i.endCharacter)||h.uinteger(i.endCharacter))&&(h.undefined(i.kind)||h.string(i.kind))}e.is=r})(Yu||(Yu={}));(function(e){function t(n,i){return{location:n,message:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&an.is(i.location)&&h.string(i.message)}e.is=r})(eo||(eo={}));(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Ku||(Ku={}));(function(e){e.Unnecessary=1,e.Deprecated=2})(ec||(ec={}));(function(e){function t(r){let n=r;return h.objectLiteral(n)&&h.string(n.href)}e.is=t})(tc||(tc={}));(function(e){function t(n,i,o,s,a,l){let u={range:n,message:i};return h.defined(o)&&(u.severity=o),h.defined(s)&&(u.code=s),h.defined(a)&&(u.source=a),h.defined(l)&&(u.relatedInformation=l),u}e.create=t;function r(n){var i;let o=n;return h.defined(o)&&K.is(o.range)&&h.string(o.message)&&(h.number(o.severity)||h.undefined(o.severity))&&(h.integer(o.code)||h.string(o.code)||h.undefined(o.code))&&(h.undefined(o.codeDescription)||h.string((i=o.codeDescription)===null||i===void 0?void 0:i.href))&&(h.string(o.source)||h.undefined(o.source))&&(h.undefined(o.relatedInformation)||h.typedArray(o.relatedInformation,eo.is))}e.is=r})(ln||(ln={}));(function(e){function t(n,i,...o){let s={title:n,command:i};return h.defined(o)&&o.length>0&&(s.arguments=o),s}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.title)&&h.string(i.command)}e.is=r})(wt||(wt={}));(function(e){function t(o,s){return{range:o,newText:s}}e.replace=t;function r(o,s){return{range:{start:o,end:o},newText:s}}e.insert=r;function n(o){return{range:o,newText:""}}e.del=n;function i(o){let s=o;return h.objectLiteral(s)&&h.string(s.newText)&&K.is(s.range)}e.is=i})(Se||(Se={}));(function(e){function t(n,i,o){let s={label:n};return i!==void 0&&(s.needsConfirmation=i),o!==void 0&&(s.description=o),s}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.string(i.label)&&(h.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(h.string(i.description)||i.description===void 0)}e.is=r})(to||(to={}));(function(e){function t(r){let n=r;return h.string(n)}e.is=t})(kt||(kt={}));(function(e){function t(o,s,a){return{range:o,newText:s,annotationId:a}}e.replace=t;function r(o,s,a){return{range:{start:o,end:o},newText:s,annotationId:a}}e.insert=r;function n(o,s){return{range:o,newText:"",annotationId:s}}e.del=n;function i(o){let s=o;return Se.is(s)&&(to.is(s.annotationId)||kt.is(s.annotationId))}e.is=i})(rc||(rc={}));(function(e){function t(n,i){return{textDocument:n,edits:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&ao.is(i.textDocument)&&Array.isArray(i.edits)}e.is=r})(ro||(ro={}));(function(e){function t(n,i,o){let s={kind:"create",uri:n};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function r(n){let i=n;return i&&i.kind==="create"&&h.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||h.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||h.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||kt.is(i.annotationId))}e.is=r})(no||(no={}));(function(e){function t(n,i,o,s){let a={kind:"rename",oldUri:n,newUri:i};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(a.options=o),s!==void 0&&(a.annotationId=s),a}e.create=t;function r(n){let i=n;return i&&i.kind==="rename"&&h.string(i.oldUri)&&h.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||h.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||h.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||kt.is(i.annotationId))}e.is=r})(io||(io={}));(function(e){function t(n,i,o){let s={kind:"delete",uri:n};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function r(n){let i=n;return i&&i.kind==="delete"&&h.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||h.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||h.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||kt.is(i.annotationId))}e.is=r})(oo||(oo={}));(function(e){function t(r){let n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(i=>h.string(i.kind)?no.is(i)||io.is(i)||oo.is(i):ro.is(i)))}e.is=t})(so||(so={}));(function(e){function t(n){return{uri:n}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)}e.is=r})(nc||(nc={}));(function(e){function t(n,i){return{uri:n,version:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)&&h.integer(i.version)}e.is=r})(ic||(ic={}));(function(e){function t(n,i){return{uri:n,version:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)&&(i.version===null||h.integer(i.version))}e.is=r})(ao||(ao={}));(function(e){function t(n,i,o,s){return{uri:n,languageId:i,version:o,text:s}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)&&h.string(i.languageId)&&h.integer(i.version)&&h.string(i.text)}e.is=r})(oc||(oc={}));(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(r){let n=r;return n===e.PlainText||n===e.Markdown}e.is=t})(lo||(lo={}));(function(e){function t(r){let n=r;return h.objectLiteral(r)&&lo.is(n.kind)&&h.string(n.value)}e.is=t})(Yt||(Yt={}));(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})(un||(un={}));(function(e){e.PlainText=1,e.Snippet=2})(Kt||(Kt={}));(function(e){e.Deprecated=1})(sc||(sc={}));(function(e){function t(n,i,o){return{newText:n,insert:i,replace:o}}e.create=t;function r(n){let i=n;return i&&h.string(i.newText)&&K.is(i.insert)&&K.is(i.replace)}e.is=r})(ac||(ac={}));(function(e){e.asIs=1,e.adjustIndentation=2})(lc||(lc={}));(function(e){function t(r){let n=r;return n&&(h.string(n.detail)||n.detail===void 0)&&(h.string(n.description)||n.description===void 0)}e.is=t})(uc||(uc={}));(function(e){function t(r){return{label:r}}e.create=t})(er||(er={}));(function(e){function t(r,n){return{items:r||[],isIncomplete:!!n}}e.create=t})(tr||(tr={}));(function(e){function t(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function r(n){let i=n;return h.string(i)||h.objectLiteral(i)&&h.string(i.language)&&h.string(i.value)}e.is=r})(cn||(cn={}));(function(e){function t(r){let n=r;return!!n&&h.objectLiteral(n)&&(Yt.is(n.contents)||cn.is(n.contents)||h.typedArray(n.contents,cn.is))&&(r.range===void 0||K.is(r.range))}e.is=t})(cc||(cc={}));(function(e){function t(r,n){return n?{label:r,documentation:n}:{label:r}}e.create=t})(fc||(fc={}));(function(e){function t(r,n,...i){let o={label:r};return h.defined(n)&&(o.documentation=n),h.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(pc||(pc={}));(function(e){e.Text=1,e.Read=2,e.Write=3})(dc||(dc={}));(function(e){function t(r,n){let i={range:r};return h.number(n)&&(i.kind=n),i}e.create=t})(hc||(hc={}));(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})(mc||(mc={}));(function(e){e.Deprecated=1})(gc||(gc={}));(function(e){function t(r,n,i,o,s){let a={name:r,kind:n,location:{uri:o,range:i}};return s&&(a.containerName=s),a}e.create=t})(bc||(bc={}));(function(e){function t(r,n,i,o){return o!==void 0?{name:r,kind:n,location:{uri:i,range:o}}:{name:r,kind:n,location:{uri:i}}}e.create=t})(yc||(yc={}));(function(e){function t(n,i,o,s,a,l){let u={name:n,detail:i,kind:o,range:s,selectionRange:a};return l!==void 0&&(u.children=l),u}e.create=t;function r(n){let i=n;return i&&h.string(i.name)&&h.number(i.kind)&&K.is(i.range)&&K.is(i.selectionRange)&&(i.detail===void 0||h.string(i.detail))&&(i.deprecated===void 0||h.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=r})(vc||(vc={}));(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"})(xc||(xc={}));(function(e){e.Invoked=1,e.Automatic=2})(fn||(fn={}));(function(e){function t(n,i,o){let s={diagnostics:n};return i!=null&&(s.only=i),o!=null&&(s.triggerKind=o),s}e.create=t;function r(n){let i=n;return h.defined(i)&&h.typedArray(i.diagnostics,ln.is)&&(i.only===void 0||h.typedArray(i.only,h.string))&&(i.triggerKind===void 0||i.triggerKind===fn.Invoked||i.triggerKind===fn.Automatic)}e.is=r})(wc||(wc={}));(function(e){function t(n,i,o){let s={title:n},a=!0;return typeof i=="string"?(a=!1,s.kind=i):wt.is(i)?s.command=i:s.edit=i,a&&o!==void 0&&(s.kind=o),s}e.create=t;function r(n){let i=n;return i&&h.string(i.title)&&(i.diagnostics===void 0||h.typedArray(i.diagnostics,ln.is))&&(i.kind===void 0||h.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||wt.is(i.command))&&(i.isPreferred===void 0||h.boolean(i.isPreferred))&&(i.edit===void 0||so.is(i.edit))}e.is=r})(kc||(kc={}));(function(e){function t(n,i){let o={range:n};return h.defined(i)&&(o.data=i),o}e.create=t;function r(n){let i=n;return h.defined(i)&&K.is(i.range)&&(h.undefined(i.command)||wt.is(i.command))}e.is=r})(Ac||(Ac={}));(function(e){function t(n,i){return{tabSize:n,insertSpaces:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.uinteger(i.tabSize)&&h.boolean(i.insertSpaces)}e.is=r})(Sc||(Sc={}));(function(e){function t(n,i,o){return{range:n,target:i,data:o}}e.create=t;function r(n){let i=n;return h.defined(i)&&K.is(i.range)&&(h.undefined(i.target)||h.string(i.target))}e.is=r})(Ec||(Ec={}));(function(e){function t(n,i){return{range:n,parent:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=r})(Tc||(Tc={}));(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Cc||(Cc={}));(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(Oc||(Oc={}));(function(e){function t(r){let n=r;return h.objectLiteral(n)&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}e.is=t})(Pc||(Pc={}));(function(e){function t(n,i){return{range:n,text:i}}e.create=t;function r(n){let i=n;return i!=null&&K.is(i.range)&&h.string(i.text)}e.is=r})(Nc||(Nc={}));(function(e){function t(n,i,o){return{range:n,variableName:i,caseSensitiveLookup:o}}e.create=t;function r(n){let i=n;return i!=null&&K.is(i.range)&&h.boolean(i.caseSensitiveLookup)&&(h.string(i.variableName)||i.variableName===void 0)}e.is=r})($c||($c={}));(function(e){function t(n,i){return{range:n,expression:i}}e.create=t;function r(n){let i=n;return i!=null&&K.is(i.range)&&(h.string(i.expression)||i.expression===void 0)}e.is=r})(Rc||(Rc={}));(function(e){function t(n,i){return{frameId:n,stoppedLocation:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&K.is(n.stoppedLocation)}e.is=r})(jc||(jc={}));(function(e){e.Type=1,e.Parameter=2;function t(r){return r===1||r===2}e.is=t})(uo||(uo={}));(function(e){function t(n){return{value:n}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&(i.tooltip===void 0||h.string(i.tooltip)||Yt.is(i.tooltip))&&(i.location===void 0||an.is(i.location))&&(i.command===void 0||wt.is(i.command))}e.is=r})(co||(co={}));(function(e){function t(n,i,o){let s={position:n,label:i};return o!==void 0&&(s.kind=o),s}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&we.is(i.position)&&(h.string(i.label)||h.typedArray(i.label,co.is))&&(i.kind===void 0||uo.is(i.kind))&&i.textEdits===void 0||h.typedArray(i.textEdits,Se.is)&&(i.tooltip===void 0||h.string(i.tooltip)||Yt.is(i.tooltip))&&(i.paddingLeft===void 0||h.boolean(i.paddingLeft))&&(i.paddingRight===void 0||h.boolean(i.paddingRight))}e.is=r})(Ic||(Ic={}));(function(e){function t(r){return{kind:"snippet",value:r}}e.createSnippet=t})(Fc||(Fc={}));(function(e){function t(r,n,i,o){return{insertText:r,filterText:n,range:i,command:o}}e.create=t})(Lc||(Lc={}));(function(e){function t(r){return{items:r}}e.create=t})(_c||(_c={}));(function(e){e.Invoked=0,e.Automatic=1})(Dc||(Dc={}));(function(e){function t(r,n){return{range:r,text:n}}e.create=t})(qc||(qc={}));(function(e){function t(r,n){return{triggerKind:r,selectedCompletionInfo:n}}e.create=t})(Bc||(Bc={}));(function(e){function t(r){let n=r;return h.objectLiteral(n)&&Yi.is(n.uri)&&h.string(n.name)}e.is=t})(zc||(zc={}));(function(e){function t(o,s,a,l){return new fo(o,s,a,l)}e.create=t;function r(o){let s=o;return!!(h.defined(s)&&h.string(s.uri)&&(h.undefined(s.languageId)||h.string(s.languageId))&&h.uinteger(s.lineCount)&&h.func(s.getText)&&h.func(s.positionAt)&&h.func(s.offsetAt))}e.is=r;function n(o,s){let a=o.getText(),l=i(s,(c,f)=>{let m=c.range.start.line-f.range.start.line;return m===0?c.range.start.character-f.range.start.character:m}),u=a.length;for(let c=l.length-1;c>=0;c--){let f=l[c],m=o.offsetAt(f.range.start),d=o.offsetAt(f.range.end);if(d<=u)a=a.substring(0,m)+f.newText+a.substring(d,a.length);else throw new Error("Overlapping edit");u=m}return a}e.applyEdits=n;function i(o,s){if(o.length<=1)return o;let a=o.length/2|0,l=o.slice(0,a),u=o.slice(a);i(l,s),i(u,s);let c=0,f=0,m=0;for(;c<l.length&&f<u.length;)s(l[c],u[f])<=0?o[m++]=l[c++]:o[m++]=u[f++];for(;c<l.length;)o[m++]=l[c++];for(;f<u.length;)o[m++]=u[f++];return o}})(Uc||(Uc={}));fo=class{constructor(t,r,n,i){this._uri=t,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let r=this.offsetAt(t.start),n=this.offsetAt(t.end);return this._content.substring(r,n)}return this._content}update(t,r){this._content=t.text,this._version=r,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],r=this._content,n=!0;for(let i=0;i<r.length;i++){n&&(t.push(i),n=!1);let o=r.charAt(i);n=o==="\r"||o===`
|
|
12
|
+
`)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}W.types=rc();function lc(e){return Array.isArray(e)}W.isArray=lc;function no(e){return typeof e=="boolean"}W.isBoolean=no;function fn(e){return e===null}W.isNull=fn;function Xy(e){return e==null}W.isNullOrUndefined=Xy;function uc(e){return typeof e=="number"}W.isNumber=uc;function pn(e){return typeof e=="string"}W.isString=pn;function Yy(e){return typeof e=="symbol"}W.isSymbol=Yy;function Ge(e){return e===void 0}W.isUndefined=Ge;function Yt(e){return xt(e)&&io(e)==="[object RegExp]"}W.isRegExp=Yt;W.types.isRegExp=Yt;function xt(e){return typeof e=="object"&&e!==null}W.isObject=xt;function cn(e){return xt(e)&&io(e)==="[object Date]"}W.isDate=cn;W.types.isDate=cn;function Kt(e){return xt(e)&&(io(e)==="[object Error]"||e instanceof Error)}W.isError=Kt;W.types.isNativeError=Kt;function ln(e){return typeof e=="function"}W.isFunction=ln;function Ky(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}W.isPrimitive=Ky;W.isBuffer=ic();function io(e){return Object.prototype.toString.call(e)}function to(e){return e<10?"0"+e.toString(10):e.toString(10)}var ev=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function tv(){var e=new Date,t=[to(e.getHours()),to(e.getMinutes()),to(e.getSeconds())].join(":");return[e.getDate(),ev[e.getMonth()],t].join(" ")}W.log=function(){console.log("%s - %s",tv(),W.format.apply(W,arguments))};W.inherits=oc();W._extend=function(e,t){if(!t||!xt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function cc(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var He=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;W.promisify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(He&&t[He]){var r=t[He];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,He,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var n,i,o=new Promise(function(l,u){n=l,i=u}),s=[],a=0;a<arguments.length;a++)s.push(arguments[a]);s.push(function(l,u){l?i(l):n(u)});try{t.apply(this,s)}catch(l){i(l)}return o}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),He&&Object.defineProperty(r,He,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,sc(t))};W.promisify.custom=He;function rv(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function nv(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function t(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var o=this,s=function(){return i.apply(o,arguments)};e.apply(this,r).then(function(a){process.nextTick(s.bind(null,null,a))},function(a){process.nextTick(rv.bind(null,a,s))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,sc(e)),t}W.callbackify=nv});var pc,oo,dc,dn,we,K,hn,hc,so,mc,gc,bc,yc,ao,vc,xc,wc,mn,wt,Se,lo,kt,kc,uo,co,fo,po,ho,Ac,Sc,mo,Tc,go,er,gn,tr,Ec,Cc,Oc,Pc,rr,nr,bn,Nc,$c,Rc,jc,Ic,Lc,Fc,_c,Dc,qc,Bc,yn,zc,Uc,Mc,Wc,Vc,Hc,Gc,Qc,Jc,Zc,Xc,Yc,Kc,bo,yo,ef,tf,rf,nf,of,sf,af,lf,uf,vo,h,cf=he(()=>{"use strict";p();(function(e){function t(r){return typeof r=="string"}e.is=t})(pc||(pc={}));(function(e){function t(r){return typeof r=="string"}e.is=t})(oo||(oo={}));(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(r){return typeof r=="number"&&e.MIN_VALUE<=r&&r<=e.MAX_VALUE}e.is=t})(dc||(dc={}));(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(r){return typeof r=="number"&&e.MIN_VALUE<=r&&r<=e.MAX_VALUE}e.is=t})(dn||(dn={}));(function(e){function t(n,i){return n===Number.MAX_VALUE&&(n=dn.MAX_VALUE),i===Number.MAX_VALUE&&(i=dn.MAX_VALUE),{line:n,character:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.uinteger(i.line)&&h.uinteger(i.character)}e.is=r})(we||(we={}));(function(e){function t(n,i,o,s){if(h.uinteger(n)&&h.uinteger(i)&&h.uinteger(o)&&h.uinteger(s))return{start:we.create(n,i),end:we.create(o,s)};if(we.is(n)&&we.is(i))return{start:n,end:i};throw new Error(`Range#create called with invalid arguments[${n}, ${i}, ${o}, ${s}]`)}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&we.is(i.start)&&we.is(i.end)}e.is=r})(K||(K={}));(function(e){function t(n,i){return{uri:n,range:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.range)&&(h.string(i.uri)||h.undefined(i.uri))}e.is=r})(hn||(hn={}));(function(e){function t(n,i,o,s){return{targetUri:n,targetRange:i,targetSelectionRange:o,originSelectionRange:s}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.targetRange)&&h.string(i.targetUri)&&K.is(i.targetSelectionRange)&&(K.is(i.originSelectionRange)||h.undefined(i.originSelectionRange))}e.is=r})(hc||(hc={}));(function(e){function t(n,i,o,s){return{red:n,green:i,blue:o,alpha:s}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.numberRange(i.red,0,1)&&h.numberRange(i.green,0,1)&&h.numberRange(i.blue,0,1)&&h.numberRange(i.alpha,0,1)}e.is=r})(so||(so={}));(function(e){function t(n,i){return{range:n,color:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.range)&&so.is(i.color)}e.is=r})(mc||(mc={}));(function(e){function t(n,i,o){return{label:n,textEdit:i,additionalTextEdits:o}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.string(i.label)&&(h.undefined(i.textEdit)||Se.is(i))&&(h.undefined(i.additionalTextEdits)||h.typedArray(i.additionalTextEdits,Se.is))}e.is=r})(gc||(gc={}));(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(bc||(bc={}));(function(e){function t(n,i,o,s,a,l){let u={startLine:n,endLine:i};return h.defined(o)&&(u.startCharacter=o),h.defined(s)&&(u.endCharacter=s),h.defined(a)&&(u.kind=a),h.defined(l)&&(u.collapsedText=l),u}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.uinteger(i.startLine)&&h.uinteger(i.startLine)&&(h.undefined(i.startCharacter)||h.uinteger(i.startCharacter))&&(h.undefined(i.endCharacter)||h.uinteger(i.endCharacter))&&(h.undefined(i.kind)||h.string(i.kind))}e.is=r})(yc||(yc={}));(function(e){function t(n,i){return{location:n,message:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&hn.is(i.location)&&h.string(i.message)}e.is=r})(ao||(ao={}));(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(vc||(vc={}));(function(e){e.Unnecessary=1,e.Deprecated=2})(xc||(xc={}));(function(e){function t(r){let n=r;return h.objectLiteral(n)&&h.string(n.href)}e.is=t})(wc||(wc={}));(function(e){function t(n,i,o,s,a,l){let u={range:n,message:i};return h.defined(o)&&(u.severity=o),h.defined(s)&&(u.code=s),h.defined(a)&&(u.source=a),h.defined(l)&&(u.relatedInformation=l),u}e.create=t;function r(n){var i;let o=n;return h.defined(o)&&K.is(o.range)&&h.string(o.message)&&(h.number(o.severity)||h.undefined(o.severity))&&(h.integer(o.code)||h.string(o.code)||h.undefined(o.code))&&(h.undefined(o.codeDescription)||h.string((i=o.codeDescription)===null||i===void 0?void 0:i.href))&&(h.string(o.source)||h.undefined(o.source))&&(h.undefined(o.relatedInformation)||h.typedArray(o.relatedInformation,ao.is))}e.is=r})(mn||(mn={}));(function(e){function t(n,i,...o){let s={title:n,command:i};return h.defined(o)&&o.length>0&&(s.arguments=o),s}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.title)&&h.string(i.command)}e.is=r})(wt||(wt={}));(function(e){function t(o,s){return{range:o,newText:s}}e.replace=t;function r(o,s){return{range:{start:o,end:o},newText:s}}e.insert=r;function n(o){return{range:o,newText:""}}e.del=n;function i(o){let s=o;return h.objectLiteral(s)&&h.string(s.newText)&&K.is(s.range)}e.is=i})(Se||(Se={}));(function(e){function t(n,i,o){let s={label:n};return i!==void 0&&(s.needsConfirmation=i),o!==void 0&&(s.description=o),s}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&h.string(i.label)&&(h.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(h.string(i.description)||i.description===void 0)}e.is=r})(lo||(lo={}));(function(e){function t(r){let n=r;return h.string(n)}e.is=t})(kt||(kt={}));(function(e){function t(o,s,a){return{range:o,newText:s,annotationId:a}}e.replace=t;function r(o,s,a){return{range:{start:o,end:o},newText:s,annotationId:a}}e.insert=r;function n(o,s){return{range:o,newText:"",annotationId:s}}e.del=n;function i(o){let s=o;return Se.is(s)&&(lo.is(s.annotationId)||kt.is(s.annotationId))}e.is=i})(kc||(kc={}));(function(e){function t(n,i){return{textDocument:n,edits:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&mo.is(i.textDocument)&&Array.isArray(i.edits)}e.is=r})(uo||(uo={}));(function(e){function t(n,i,o){let s={kind:"create",uri:n};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function r(n){let i=n;return i&&i.kind==="create"&&h.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||h.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||h.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||kt.is(i.annotationId))}e.is=r})(co||(co={}));(function(e){function t(n,i,o,s){let a={kind:"rename",oldUri:n,newUri:i};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(a.options=o),s!==void 0&&(a.annotationId=s),a}e.create=t;function r(n){let i=n;return i&&i.kind==="rename"&&h.string(i.oldUri)&&h.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||h.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||h.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||kt.is(i.annotationId))}e.is=r})(fo||(fo={}));(function(e){function t(n,i,o){let s={kind:"delete",uri:n};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function r(n){let i=n;return i&&i.kind==="delete"&&h.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||h.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||h.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||kt.is(i.annotationId))}e.is=r})(po||(po={}));(function(e){function t(r){let n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(i=>h.string(i.kind)?co.is(i)||fo.is(i)||po.is(i):uo.is(i)))}e.is=t})(ho||(ho={}));(function(e){function t(n){return{uri:n}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)}e.is=r})(Ac||(Ac={}));(function(e){function t(n,i){return{uri:n,version:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)&&h.integer(i.version)}e.is=r})(Sc||(Sc={}));(function(e){function t(n,i){return{uri:n,version:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)&&(i.version===null||h.integer(i.version))}e.is=r})(mo||(mo={}));(function(e){function t(n,i,o,s){return{uri:n,languageId:i,version:o,text:s}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.string(i.uri)&&h.string(i.languageId)&&h.integer(i.version)&&h.string(i.text)}e.is=r})(Tc||(Tc={}));(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(r){let n=r;return n===e.PlainText||n===e.Markdown}e.is=t})(go||(go={}));(function(e){function t(r){let n=r;return h.objectLiteral(r)&&go.is(n.kind)&&h.string(n.value)}e.is=t})(er||(er={}));(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})(gn||(gn={}));(function(e){e.PlainText=1,e.Snippet=2})(tr||(tr={}));(function(e){e.Deprecated=1})(Ec||(Ec={}));(function(e){function t(n,i,o){return{newText:n,insert:i,replace:o}}e.create=t;function r(n){let i=n;return i&&h.string(i.newText)&&K.is(i.insert)&&K.is(i.replace)}e.is=r})(Cc||(Cc={}));(function(e){e.asIs=1,e.adjustIndentation=2})(Oc||(Oc={}));(function(e){function t(r){let n=r;return n&&(h.string(n.detail)||n.detail===void 0)&&(h.string(n.description)||n.description===void 0)}e.is=t})(Pc||(Pc={}));(function(e){function t(r){return{label:r}}e.create=t})(rr||(rr={}));(function(e){function t(r,n){return{items:r||[],isIncomplete:!!n}}e.create=t})(nr||(nr={}));(function(e){function t(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function r(n){let i=n;return h.string(i)||h.objectLiteral(i)&&h.string(i.language)&&h.string(i.value)}e.is=r})(bn||(bn={}));(function(e){function t(r){let n=r;return!!n&&h.objectLiteral(n)&&(er.is(n.contents)||bn.is(n.contents)||h.typedArray(n.contents,bn.is))&&(r.range===void 0||K.is(r.range))}e.is=t})(Nc||(Nc={}));(function(e){function t(r,n){return n?{label:r,documentation:n}:{label:r}}e.create=t})($c||($c={}));(function(e){function t(r,n,...i){let o={label:r};return h.defined(n)&&(o.documentation=n),h.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(Rc||(Rc={}));(function(e){e.Text=1,e.Read=2,e.Write=3})(jc||(jc={}));(function(e){function t(r,n){let i={range:r};return h.number(n)&&(i.kind=n),i}e.create=t})(Ic||(Ic={}));(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})(Lc||(Lc={}));(function(e){e.Deprecated=1})(Fc||(Fc={}));(function(e){function t(r,n,i,o,s){let a={name:r,kind:n,location:{uri:o,range:i}};return s&&(a.containerName=s),a}e.create=t})(_c||(_c={}));(function(e){function t(r,n,i,o){return o!==void 0?{name:r,kind:n,location:{uri:i,range:o}}:{name:r,kind:n,location:{uri:i}}}e.create=t})(Dc||(Dc={}));(function(e){function t(n,i,o,s,a,l){let u={name:n,detail:i,kind:o,range:s,selectionRange:a};return l!==void 0&&(u.children=l),u}e.create=t;function r(n){let i=n;return i&&h.string(i.name)&&h.number(i.kind)&&K.is(i.range)&&K.is(i.selectionRange)&&(i.detail===void 0||h.string(i.detail))&&(i.deprecated===void 0||h.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=r})(qc||(qc={}));(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"})(Bc||(Bc={}));(function(e){e.Invoked=1,e.Automatic=2})(yn||(yn={}));(function(e){function t(n,i,o){let s={diagnostics:n};return i!=null&&(s.only=i),o!=null&&(s.triggerKind=o),s}e.create=t;function r(n){let i=n;return h.defined(i)&&h.typedArray(i.diagnostics,mn.is)&&(i.only===void 0||h.typedArray(i.only,h.string))&&(i.triggerKind===void 0||i.triggerKind===yn.Invoked||i.triggerKind===yn.Automatic)}e.is=r})(zc||(zc={}));(function(e){function t(n,i,o){let s={title:n},a=!0;return typeof i=="string"?(a=!1,s.kind=i):wt.is(i)?s.command=i:s.edit=i,a&&o!==void 0&&(s.kind=o),s}e.create=t;function r(n){let i=n;return i&&h.string(i.title)&&(i.diagnostics===void 0||h.typedArray(i.diagnostics,mn.is))&&(i.kind===void 0||h.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||wt.is(i.command))&&(i.isPreferred===void 0||h.boolean(i.isPreferred))&&(i.edit===void 0||ho.is(i.edit))}e.is=r})(Uc||(Uc={}));(function(e){function t(n,i){let o={range:n};return h.defined(i)&&(o.data=i),o}e.create=t;function r(n){let i=n;return h.defined(i)&&K.is(i.range)&&(h.undefined(i.command)||wt.is(i.command))}e.is=r})(Mc||(Mc={}));(function(e){function t(n,i){return{tabSize:n,insertSpaces:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&h.uinteger(i.tabSize)&&h.boolean(i.insertSpaces)}e.is=r})(Wc||(Wc={}));(function(e){function t(n,i,o){return{range:n,target:i,data:o}}e.create=t;function r(n){let i=n;return h.defined(i)&&K.is(i.range)&&(h.undefined(i.target)||h.string(i.target))}e.is=r})(Vc||(Vc={}));(function(e){function t(n,i){return{range:n,parent:i}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&K.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=r})(Hc||(Hc={}));(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Gc||(Gc={}));(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(Qc||(Qc={}));(function(e){function t(r){let n=r;return h.objectLiteral(n)&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}e.is=t})(Jc||(Jc={}));(function(e){function t(n,i){return{range:n,text:i}}e.create=t;function r(n){let i=n;return i!=null&&K.is(i.range)&&h.string(i.text)}e.is=r})(Zc||(Zc={}));(function(e){function t(n,i,o){return{range:n,variableName:i,caseSensitiveLookup:o}}e.create=t;function r(n){let i=n;return i!=null&&K.is(i.range)&&h.boolean(i.caseSensitiveLookup)&&(h.string(i.variableName)||i.variableName===void 0)}e.is=r})(Xc||(Xc={}));(function(e){function t(n,i){return{range:n,expression:i}}e.create=t;function r(n){let i=n;return i!=null&&K.is(i.range)&&(h.string(i.expression)||i.expression===void 0)}e.is=r})(Yc||(Yc={}));(function(e){function t(n,i){return{frameId:n,stoppedLocation:i}}e.create=t;function r(n){let i=n;return h.defined(i)&&K.is(n.stoppedLocation)}e.is=r})(Kc||(Kc={}));(function(e){e.Type=1,e.Parameter=2;function t(r){return r===1||r===2}e.is=t})(bo||(bo={}));(function(e){function t(n){return{value:n}}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&(i.tooltip===void 0||h.string(i.tooltip)||er.is(i.tooltip))&&(i.location===void 0||hn.is(i.location))&&(i.command===void 0||wt.is(i.command))}e.is=r})(yo||(yo={}));(function(e){function t(n,i,o){let s={position:n,label:i};return o!==void 0&&(s.kind=o),s}e.create=t;function r(n){let i=n;return h.objectLiteral(i)&&we.is(i.position)&&(h.string(i.label)||h.typedArray(i.label,yo.is))&&(i.kind===void 0||bo.is(i.kind))&&i.textEdits===void 0||h.typedArray(i.textEdits,Se.is)&&(i.tooltip===void 0||h.string(i.tooltip)||er.is(i.tooltip))&&(i.paddingLeft===void 0||h.boolean(i.paddingLeft))&&(i.paddingRight===void 0||h.boolean(i.paddingRight))}e.is=r})(ef||(ef={}));(function(e){function t(r){return{kind:"snippet",value:r}}e.createSnippet=t})(tf||(tf={}));(function(e){function t(r,n,i,o){return{insertText:r,filterText:n,range:i,command:o}}e.create=t})(rf||(rf={}));(function(e){function t(r){return{items:r}}e.create=t})(nf||(nf={}));(function(e){e.Invoked=0,e.Automatic=1})(of||(of={}));(function(e){function t(r,n){return{range:r,text:n}}e.create=t})(sf||(sf={}));(function(e){function t(r,n){return{triggerKind:r,selectedCompletionInfo:n}}e.create=t})(af||(af={}));(function(e){function t(r){let n=r;return h.objectLiteral(n)&&oo.is(n.uri)&&h.string(n.name)}e.is=t})(lf||(lf={}));(function(e){function t(o,s,a,l){return new vo(o,s,a,l)}e.create=t;function r(o){let s=o;return!!(h.defined(s)&&h.string(s.uri)&&(h.undefined(s.languageId)||h.string(s.languageId))&&h.uinteger(s.lineCount)&&h.func(s.getText)&&h.func(s.positionAt)&&h.func(s.offsetAt))}e.is=r;function n(o,s){let a=o.getText(),l=i(s,(c,f)=>{let m=c.range.start.line-f.range.start.line;return m===0?c.range.start.character-f.range.start.character:m}),u=a.length;for(let c=l.length-1;c>=0;c--){let f=l[c],m=o.offsetAt(f.range.start),d=o.offsetAt(f.range.end);if(d<=u)a=a.substring(0,m)+f.newText+a.substring(d,a.length);else throw new Error("Overlapping edit");u=m}return a}e.applyEdits=n;function i(o,s){if(o.length<=1)return o;let a=o.length/2|0,l=o.slice(0,a),u=o.slice(a);i(l,s),i(u,s);let c=0,f=0,m=0;for(;c<l.length&&f<u.length;)s(l[c],u[f])<=0?o[m++]=l[c++]:o[m++]=u[f++];for(;c<l.length;)o[m++]=l[c++];for(;f<u.length;)o[m++]=u[f++];return o}})(uf||(uf={}));vo=class{constructor(t,r,n,i){this._uri=t,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let r=this.offsetAt(t.start),n=this.offsetAt(t.end);return this._content.substring(r,n)}return this._content}update(t,r){this._content=t.text,this._version=r,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],r=this._content,n=!0;for(let i=0;i<r.length;i++){n&&(t.push(i),n=!1);let o=r.charAt(i);n=o==="\r"||o===`
|
|
13
13
|
`,o==="\r"&&i+1<r.length&&r.charAt(i+1)===`
|
|
14
|
-
`&&i++}n&&r.length>0&&t.push(r.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return we.create(0,t);for(;n<i;){let s=Math.floor((n+i)/2);r[s]>t?i=s:n=s+1}let o=n-1;return we.create(o,t-r[o])}offsetAt(t){let r=this.getLineOffsets();if(t.line>=r.length)return this._content.length;if(t.line<0)return 0;let n=r[t.line],i=t.line+1<r.length?r[t.line+1]:this._content.length;return Math.max(Math.min(n+t.character,i),n)}get lineCount(){return this.getLineOffsets().length}};(function(e){let t=Object.prototype.toString;function r(d){return typeof d<"u"}e.defined=r;function n(d){return typeof d>"u"}e.undefined=n;function i(d){return d===!0||d===!1}e.boolean=i;function o(d){return t.call(d)==="[object String]"}e.string=o;function s(d){return t.call(d)==="[object Number]"}e.number=s;function a(d,v,b){return t.call(d)==="[object Number]"&&v<=d&&d<=b}e.numberRange=a;function l(d){return t.call(d)==="[object Number]"&&-2147483648<=d&&d<=2147483647}e.integer=l;function u(d){return t.call(d)==="[object Number]"&&0<=d&&d<=2147483647}e.uinteger=u;function c(d){return t.call(d)==="[object Function]"}e.func=c;function f(d){return d!==null&&typeof d=="object"}e.objectLiteral=f;function m(d,v){return Array.isArray(d)&&d.every(v)}e.typedArray=m})(h||(h={}))});var Wc,Vc,MA,Hc=he(()=>{"use strict";p();(()=>{"use strict";var e={470:i=>{function o(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function s(l,u){for(var c,f="",m=0,d=-1,v=0,b=0;b<=l.length;++b){if(b<l.length)c=l.charCodeAt(b);else{if(c===47)break;c=47}if(c===47){if(!(d===b-1||v===1))if(d!==b-1&&v===2){if(f.length<2||m!==2||f.charCodeAt(f.length-1)!==46||f.charCodeAt(f.length-2)!==46){if(f.length>2){var A=f.lastIndexOf("/");if(A!==f.length-1){A===-1?(f="",m=0):m=(f=f.slice(0,A)).length-1-f.lastIndexOf("/"),d=b,v=0;continue}}else if(f.length===2||f.length===1){f="",m=0,d=b,v=0;continue}}u&&(f.length>0?f+="/..":f="..",m=2)}else f.length>0?f+="/"+l.slice(d+1,b):f=l.slice(d+1,b),m=b-d-1;d=b,v=0}else c===46&&v!==-1?++v:v=-1}return f}var a={resolve:function(){for(var l,u="",c=!1,f=arguments.length-1;f>=-1&&!c;f--){var m;f>=0?m=arguments[f]:(l===void 0&&(l=process.cwd()),m=l),o(m),m.length!==0&&(u=m+"/"+u,c=m.charCodeAt(0)===47)}return u=s(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(l){if(o(l),l.length===0)return".";var u=l.charCodeAt(0)===47,c=l.charCodeAt(l.length-1)===47;return(l=s(l,!u)).length!==0||u||(l="."),l.length>0&&c&&(l+="/"),u?"/"+l:l},isAbsolute:function(l){return o(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,u=0;u<arguments.length;++u){var c=arguments[u];o(c),c.length>0&&(l===void 0?l=c:l+="/"+c)}return l===void 0?".":a.normalize(l)},relative:function(l,u){if(o(l),o(u),l===u||(l=a.resolve(l))===(u=a.resolve(u)))return"";for(var c=1;c<l.length&&l.charCodeAt(c)===47;++c);for(var f=l.length,m=f-c,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var v=u.length-d,b=m<v?m:v,A=-1,x=0;x<=b;++x){if(x===b){if(v>b){if(u.charCodeAt(d+x)===47)return u.slice(d+x+1);if(x===0)return u.slice(d+x)}else m>b&&(l.charCodeAt(c+x)===47?A=x:x===0&&(A=0));break}var T=l.charCodeAt(c+x);if(T!==u.charCodeAt(d+x))break;T===47&&(A=x)}var y="";for(x=c+A+1;x<=f;++x)x!==f&&l.charCodeAt(x)!==47||(y.length===0?y+="..":y+="/..");return y.length>0?y+u.slice(d+A):(d+=A,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(l){return l},dirname:function(l){if(o(l),l.length===0)return".";for(var u=l.charCodeAt(0),c=u===47,f=-1,m=!0,d=l.length-1;d>=1;--d)if((u=l.charCodeAt(d))===47){if(!m){f=d;break}}else m=!1;return f===-1?c?"/":".":c&&f===1?"//":l.slice(0,f)},basename:function(l,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');o(l);var c,f=0,m=-1,d=!0;if(u!==void 0&&u.length>0&&u.length<=l.length){if(u.length===l.length&&u===l)return"";var v=u.length-1,b=-1;for(c=l.length-1;c>=0;--c){var A=l.charCodeAt(c);if(A===47){if(!d){f=c+1;break}}else b===-1&&(d=!1,b=c+1),v>=0&&(A===u.charCodeAt(v)?--v==-1&&(m=c):(v=-1,m=b))}return f===m?m=b:m===-1&&(m=l.length),l.slice(f,m)}for(c=l.length-1;c>=0;--c)if(l.charCodeAt(c)===47){if(!d){f=c+1;break}}else m===-1&&(d=!1,m=c+1);return m===-1?"":l.slice(f,m)},extname:function(l){o(l);for(var u=-1,c=0,f=-1,m=!0,d=0,v=l.length-1;v>=0;--v){var b=l.charCodeAt(v);if(b!==47)f===-1&&(m=!1,f=v+1),b===46?u===-1?u=v:d!==1&&(d=1):u!==-1&&(d=-1);else if(!m){c=v+1;break}}return u===-1||f===-1||d===0||d===1&&u===f-1&&u===c+1?"":l.slice(u,f)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return(function(u,c){var f=c.dir||c.root,m=c.base||(c.name||"")+(c.ext||"");return f?f===c.root?f+m:f+"/"+m:m})(0,l)},parse:function(l){o(l);var u={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return u;var c,f=l.charCodeAt(0),m=f===47;m?(u.root="/",c=1):c=0;for(var d=-1,v=0,b=-1,A=!0,x=l.length-1,T=0;x>=c;--x)if((f=l.charCodeAt(x))!==47)b===-1&&(A=!1,b=x+1),f===46?d===-1?d=x:T!==1&&(T=1):d!==-1&&(T=-1);else if(!A){v=x+1;break}return d===-1||b===-1||T===0||T===1&&d===b-1&&d===v+1?b!==-1&&(u.base=u.name=v===0&&m?l.slice(1,b):l.slice(v,b)):(v===0&&m?(u.name=l.slice(1,d),u.base=l.slice(1,b)):(u.name=l.slice(v,d),u.base=l.slice(v,b)),u.ext=l.slice(d,b)),v>0?u.dir=l.slice(0,v-1):m&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,i.exports=a}},t={};function r(i){var o=t[i];if(o!==void 0)return o.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,r),s.exports}r.d=(i,o)=>{for(var s in o)r.o(o,s)&&!r.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})},r.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),r.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var n={};(()=>{let i;r.r(n),r.d(n,{URI:()=>m,Utils:()=>F}),typeof process=="object"?i=!1:typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);let o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;function l(C,g){if(!C.scheme&&g)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${C.authority}", path: "${C.path}", query: "${C.query}", fragment: "${C.fragment}"}`);if(C.scheme&&!o.test(C.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(C.path){if(C.authority){if(!s.test(C.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(C.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let u="",c="/",f=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class m{static isUri(g){return g instanceof m||!!g&&typeof g.authority=="string"&&typeof g.fragment=="string"&&typeof g.path=="string"&&typeof g.query=="string"&&typeof g.scheme=="string"&&typeof g.fsPath=="string"&&typeof g.with=="function"&&typeof g.toString=="function"}scheme;authority;path;query;fragment;constructor(g,N,O,L,I,_=!1){typeof g=="object"?(this.scheme=g.scheme||u,this.authority=g.authority||u,this.path=g.path||u,this.query=g.query||u,this.fragment=g.fragment||u):(this.scheme=(function(ce,fe){return ce||fe?ce:"file"})(g,_),this.authority=N||u,this.path=(function(ce,fe){switch(ce){case"https":case"http":case"file":fe?fe[0]!==c&&(fe=c+fe):fe=c}return fe})(this.scheme,O||u),this.query=L||u,this.fragment=I||u,l(this,_))}get fsPath(){return T(this,!1)}with(g){if(!g)return this;let{scheme:N,authority:O,path:L,query:I,fragment:_}=g;return N===void 0?N=this.scheme:N===null&&(N=u),O===void 0?O=this.authority:O===null&&(O=u),L===void 0?L=this.path:L===null&&(L=u),I===void 0?I=this.query:I===null&&(I=u),_===void 0?_=this.fragment:_===null&&(_=u),N===this.scheme&&O===this.authority&&L===this.path&&I===this.query&&_===this.fragment?this:new v(N,O,L,I,_)}static parse(g,N=!1){let O=f.exec(g);return O?new v(O[2]||u,k(O[4]||u),k(O[5]||u),k(O[7]||u),k(O[9]||u),N):new v(u,u,u,u,u)}static file(g){let N=u;if(i&&(g=g.replace(/\\/g,c)),g[0]===c&&g[1]===c){let O=g.indexOf(c,2);O===-1?(N=g.substring(2),g=c):(N=g.substring(2,O),g=g.substring(O)||c)}return new v("file",N,g,u,u)}static from(g){let N=new v(g.scheme,g.authority,g.path,g.query,g.fragment);return l(N,!0),N}toString(g=!1){return y(this,g)}toJSON(){return this}static revive(g){if(g){if(g instanceof m)return g;{let N=new v(g);return N._formatted=g.external,N._fsPath=g._sep===d?g.fsPath:null,N}}return g}}let d=i?1:void 0;class v extends m{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=T(this,!1)),this._fsPath}toString(g=!1){return g?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)}toJSON(){let g={$mid:1};return this._fsPath&&(g.fsPath=this._fsPath,g._sep=d),this._formatted&&(g.external=this._formatted),this.path&&(g.path=this.path),this.scheme&&(g.scheme=this.scheme),this.authority&&(g.authority=this.authority),this.query&&(g.query=this.query),this.fragment&&(g.fragment=this.fragment),g}}let b={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function A(C,g,N){let O,L=-1;for(let I=0;I<C.length;I++){let _=C.charCodeAt(I);if(_>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===45||_===46||_===95||_===126||g&&_===47||N&&_===91||N&&_===93||N&&_===58)L!==-1&&(O+=encodeURIComponent(C.substring(L,I)),L=-1),O!==void 0&&(O+=C.charAt(I));else{O===void 0&&(O=C.substr(0,I));let ce=b[_];ce!==void 0?(L!==-1&&(O+=encodeURIComponent(C.substring(L,I)),L=-1),O+=ce):L===-1&&(L=I)}}return L!==-1&&(O+=encodeURIComponent(C.substring(L))),O!==void 0?O:C}function x(C){let g;for(let N=0;N<C.length;N++){let O=C.charCodeAt(N);O===35||O===63?(g===void 0&&(g=C.substr(0,N)),g+=b[O]):g!==void 0&&(g+=C[N])}return g!==void 0?g:C}function T(C,g){let N;return N=C.authority&&C.path.length>1&&C.scheme==="file"?`//${C.authority}${C.path}`:C.path.charCodeAt(0)===47&&(C.path.charCodeAt(1)>=65&&C.path.charCodeAt(1)<=90||C.path.charCodeAt(1)>=97&&C.path.charCodeAt(1)<=122)&&C.path.charCodeAt(2)===58?g?C.path.substr(1):C.path[1].toLowerCase()+C.path.substr(2):C.path,i&&(N=N.replace(/\//g,"\\")),N}function y(C,g){let N=g?x:A,O="",{scheme:L,authority:I,path:_,query:ce,fragment:fe}=C;if(L&&(O+=L,O+=":"),(I||L==="file")&&(O+=c,O+=c),I){let Y=I.indexOf("@");if(Y!==-1){let _t=I.substr(0,Y);I=I.substr(Y+1),Y=_t.lastIndexOf(":"),Y===-1?O+=N(_t,!1,!1):(O+=N(_t.substr(0,Y),!1,!1),O+=":",O+=N(_t.substr(Y+1),!1,!0)),O+="@"}I=I.toLowerCase(),Y=I.lastIndexOf(":"),Y===-1?O+=N(I,!1,!0):(O+=N(I.substr(0,Y),!1,!0),O+=I.substr(Y))}if(_){if(_.length>=3&&_.charCodeAt(0)===47&&_.charCodeAt(2)===58){let Y=_.charCodeAt(1);Y>=65&&Y<=90&&(_=`/${String.fromCharCode(Y+32)}:${_.substr(3)}`)}else if(_.length>=2&&_.charCodeAt(1)===58){let Y=_.charCodeAt(0);Y>=65&&Y<=90&&(_=`${String.fromCharCode(Y+32)}:${_.substr(2)}`)}O+=N(_,!0,!1)}return ce&&(O+="?",O+=N(ce,!1,!1)),fe&&(O+="#",O+=g?fe:A(fe,!1,!1)),O}function E(C){try{return decodeURIComponent(C)}catch{return C.length>3?C.substr(0,3)+E(C.substr(3)):C}}let S=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function k(C){return C.match(S)?C.replace(S,(g=>E(g))):C}var P=r(470);let j=P.posix||P,$="/";var F;(function(C){C.joinPath=function(g,...N){return g.with({path:j.join(g.path,...N)})},C.resolvePath=function(g,...N){let O=g.path,L=!1;O[0]!==$&&(O=$+O,L=!0);let I=j.resolve(O,...N);return L&&I[0]===$&&!g.authority&&(I=I.substring(1)),g.with({path:I})},C.dirname=function(g){if(g.path.length===0||g.path===$)return g;let N=j.dirname(g.path);return N.length===1&&N.charCodeAt(0)===46&&(N=""),g.with({path:N})},C.basename=function(g){return j.basename(g.path)},C.extname=function(g){return j.extname(g.path)}})(F||(F={}))})(),Wc=n})();({URI:Vc,Utils:MA}=Wc)});var Gc,po,Qc=he(()=>{"use strict";p();Gc={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-slice","border-image-source","border-image-width","border-inline-end","border-inline-start","border-inline-end-color","border-inline-start-color","border-inline-end-style","border-inline-start-style","border-inline-end-width","border-inline-start-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation-filters","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","contain","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","enable-background","fallback","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","height","hyphens","image-orientation","image-rendering","ime-mode","inline-size","isolation","justify-content","kerning","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker","marker-end","marker-mid","marker-start","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-background-clip","-moz-background-inline-policy","-moz-background-origin","-moz-border-bottom-colors","-moz-border-image","-moz-border-left-colors","-moz-border-right-colors","-moz-border-top-colors","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-flexgroup","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-column-count","-moz-column-gap","-moz-column-rule","-moz-column-rule-color","-moz-column-rule-style","-moz-column-rule-width","-moz-columns","-moz-column-width","-moz-font-feature-settings","-moz-hyphens","-moz-perspective","-moz-perspective-origin","-moz-text-align-last","-moz-text-decoration-color","-moz-text-decoration-line","-moz-text-decoration-style","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-select","-ms-accelerator","-ms-behavior","-ms-block-progression","-ms-content-zoom-chaining","-ms-content-zooming","-ms-content-zoom-limit","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-filter","-ms-flex","-ms-flex-align","-ms-flex-direction","-ms-flex-flow","-ms-flex-item-align","-ms-flex-line-pack","-ms-flex-order","-ms-flex-pack","-ms-flex-wrap","-ms-flow-from","-ms-flow-into","-ms-grid-column","-ms-grid-column-align","-ms-grid-columns","-ms-grid-column-span","-ms-grid-layer","-ms-grid-row","-ms-grid-row-align","-ms-grid-rows","-ms-grid-row-span","-ms-high-contrast-adjust","-ms-hyphenate-limit-chars","-ms-hyphenate-limit-lines","-ms-hyphenate-limit-zone","-ms-hyphens","-ms-ime-mode","-ms-interpolation-mode","-ms-layout-grid","-ms-layout-grid-char","-ms-layout-grid-line","-ms-layout-grid-mode","-ms-layout-grid-type","-ms-line-break","-ms-overflow-style","-ms-perspective","-ms-perspective-origin","-ms-perspective-origin-x","-ms-perspective-origin-y","-ms-progress-appearance","-ms-scrollbar-3dlight-color","-ms-scrollbar-arrow-color","-ms-scrollbar-base-color","-ms-scrollbar-darkshadow-color","-ms-scrollbar-face-color","-ms-scrollbar-highlight-color","-ms-scrollbar-shadow-color","-ms-scrollbar-track-color","-ms-scroll-chaining","-ms-scroll-limit","-ms-scroll-limit-x-max","-ms-scroll-limit-x-min","-ms-scroll-limit-y-max","-ms-scroll-limit-y-min","-ms-scroll-rails","-ms-scroll-snap-points-x","-ms-scroll-snap-points-y","-ms-scroll-snap-type","-ms-scroll-snap-x","-ms-scroll-snap-y","-ms-scroll-translation","-ms-text-align-last","-ms-text-autospace","-ms-text-combine-horizontal","-ms-text-justify","-ms-text-kashida-space","-ms-text-overflow","-ms-text-size-adjust","-ms-text-underline-position","-ms-touch-action","-ms-touch-select","-ms-transform","-ms-transform-origin","-ms-transform-origin-x","-ms-transform-origin-y","-ms-transform-origin-z","-ms-user-select","-ms-word-break","-ms-word-wrap","-ms-wrap-flow","-ms-wrap-margin","-ms-wrap-through","-ms-writing-mode","-ms-zoom","-ms-zoom-animation","nav-down","nav-index","nav-left","nav-right","nav-up","negative","-o-animation","-o-animation-delay","-o-animation-direction","-o-animation-duration","-o-animation-fill-mode","-o-animation-iteration-count","-o-animation-name","-o-animation-play-state","-o-animation-timing-function","object-fit","object-position","-o-border-image","-o-object-fit","-o-object-position","opacity","order","orphans","-o-table-baseline","-o-tab-size","-o-text-overflow","-o-transform","-o-transform-origin","-o-transition","-o-transition-delay","-o-transition-duration","-o-transition-property","-o-transition-timing-function","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","pad","padding","padding-bottom","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","pointer-events","position","prefix","quotes","range","resize","right","ruby-align","ruby-overhang","ruby-position","ruby-span","scrollbar-3dlight-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scroll-behavior","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","suffix","system","symbols","table-layout","tab-size","text-align","text-align-last","text-anchor","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","unicode-range","user-select","vertical-align","visibility","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backdrop-filter","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-composite","-webkit-background-origin","-webkit-border-image","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-flex-group","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-reflect","-webkit-box-sizing","-webkit-break-after","-webkit-break-before","-webkit-break-inside","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","-webkit-column-count","-webkit-column-gap","-webkit-column-rule","-webkit-column-rule-color","-webkit-column-rule-style","-webkit-column-rule-width","-webkit-columns","-webkit-column-span","-webkit-column-width","-webkit-filter","-webkit-flow-from","-webkit-flow-into","-webkit-font-feature-settings","-webkit-hyphens","-webkit-line-break","-webkit-margin-bottom-collapse","-webkit-margin-collapse","-webkit-margin-start","-webkit-margin-top-collapse","-webkit-mask-clip","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-repeat","-webkit-mask-size","-webkit-nbsp-mode","-webkit-overflow-scrolling","-webkit-padding-start","-webkit-perspective","-webkit-perspective-origin","-webkit-region-fragment","-webkit-tap-highlight-color","-webkit-text-fill-color","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-touch-callout","-webkit-transform","-webkit-transform-origin","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-drag","-webkit-user-modify","-webkit-user-select","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","zoom"]},po={tags:["body","head","html","address","blockquote","dd","div","section","article","aside","header","footer","nav","menu","dl","dt","fieldset","form","frame","frameset","h1","h2","h3","h4","h5","h6","iframe","noframes","object","ol","p","ul","applet","center","dir","hr","pre","a","abbr","acronym","area","b","base","basefont","bdo","big","br","button","caption","cite","code","col","colgroup","del","dfn","em","font","i","img","input","ins","isindex","kbd","label","legend","li","link","map","meta","noscript","optgroup","option","param","q","s","samp","script","select","small","span","strike","strong","style","sub","sup","table","tbody","td","textarea","tfoot","th","thead","title","tr","tt","u","var","canvas","main","figure","plaintext","figcaption","hgroup","details","summary","audio","bdi","data","datalist","dialog","embed","mark","math","meter","output","picture","portal","progress","rp","rt","ruby","search","slot","source","template","time","track","video","wbr"]}});function Jc(e){return ky.test(e)}function Ay(e){let t=[];for(let n of e)n.length===0||n.length===1&&n.charCodeAt(0)===ho||(n.length===2&&n.charCodeAt(0)===ho&&n.charCodeAt(1)===ho?t.pop():t.push(n));e.length>1&&e[e.length-1].length===0&&t.push("");let r=t.join("/");return e[0].length===0&&(r="/"+r),r}function nr(e,...t){let r=e.path.split("/");for(let n of t)r.push(...n.split("/"));return e.with({path:Ay(r)})}var rr,ky,ho,Zc=he(()=>{"use strict";p();(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(rr||(rr={}));ky=new RegExp("^(/|//|\\\\\\\\|[A-Za-z]:(/|\\\\))"),ho=46});function ke(e){return e>47&&e<58}function kn(e,t,r){return t=t||65,r=r||90,e&=-33,e>=t&&e<=r}function Sf(e){return ke(e)||An(e)}function An(e){return e===95||kn(e)}function Sy(e){return e===196||e==214||e===220||e===228||e===246||e===252}function Ey(e){return e===32||e===9||e===160}function Oo(e){return Ey(e)||e===10||e===13}function Po(e){return e===39||e===34}function Ty(e){return{tokens:e,start:0,pos:0,size:e.length}}function Be(e){return e.tokens[e.pos]}function No(e){return e.tokens[e.pos++]}function At(e,t=e.start,r=e.pos){return e.tokens.slice(t,r)}function Pe(e){return e.pos<e.size}function ue(e,t){let r=Be(e);return r&&t(r)?(e.pos++,!0):!1}function $o(e,t,r=Be(e)){r&&r.start!=null&&(t+=` at ${r.start}`);let n=new Error(t);return n.pos=r&&r.start,n}function Cy(e,t={}){let r=Ty(e),n=Ef(r,t);if(Pe(r))throw $o(r,"Unexpected character");return n}function Ef(e,t){let r={type:"TokenGroup",elements:[]},n=r,i,o=[];for(;Pe(e)&&(i=Py(e,t)||Oy(e,t));)if(n.elements.push(i),ue(e,My))o.push(n),n=i;else{if(ue(e,Wy))continue;if(ue(e,ef))do o.length&&(n=o.pop());while(ue(e,ef))}return r}function Oy(e,t){if(ue(e,zy)){let r=Ef(e,t),n=No(e);return ve(n,"group",!1)&&(r.repeat=Ry(e)),r}}function Py(e,t){let r,n={type:"TokenElement",name:void 0,attributes:void 0,value:void 0,repeat:void 0,selfClose:!1,elements:[]};for(jy(e,t)&&(n.name=At(e));Pe(e);)if(e.start=e.pos,!n.repeat&&!mo(n)&&ue(e,gn))n.repeat=e.tokens[e.pos-1];else if(!n.value&&Tf(e))n.value=Cf(e);else if(r=Xc(e,"id",t)||Xc(e,"class",t)||Ny(e))n.attributes?n.attributes=n.attributes.concat(r):n.attributes=Array.isArray(r)?r.slice():[r];else{!mo(n)&&ue(e,Vy)&&(n.selfClose=!0,!n.repeat&&ue(e,gn)&&(n.repeat=e.tokens[e.pos-1]));break}return mo(n)?void 0:n}function Ny(e){if(ue(e,Dy)){let t=[],r;for(;Pe(e);)if(r=$y(e))t.push(r);else{if(ue(e,qy))break;if(!ue(e,Of))throw $o(e,`Unexpected "${Be(e).type}" token`)}return t}}function Xc(e,t,r){if(Ne(Be(e),t)){e.pos++;let n=1;for(;Ne(Be(e),t);)e.pos++,n++;let i={name:[Uy(t)]};return n>1&&(i.multiple=!0),r.jsx&&Tf(e)?(i.value=Cf(e),i.expression=!0):i.value=wo(e)?At(e):void 0,i}}function $y(e){if(Yc(e))return{value:At(e)};if(wo(e,!0)){let t=At(e),r;return ue(e,Iy)&&(Yc(e)||wo(e,!0))&&(r=At(e)),{name:t,value:r}}}function Ry(e){return gn(Be(e))?e.tokens[e.pos++]:void 0}function Yc(e){let t=e.pos,r=Be(e);if(mn(r)){for(e.pos++;Pe(e);)if(mn(No(e),r.single))return e.start=t,!0;throw $o(e,"Unclosed quote",r)}return!1}function wo(e,t){let r=e.pos,n={attribute:0,expression:0,group:0};for(;Pe(e);){let i=Be(e);if(n.expression)ve(i,"expression")&&(n[i.context]+=i.open?1:-1);else{if(mn(i)||Ne(i)||Of(i)||gn(i))break;if(ve(i)){if(!t)break;if(i.open)n[i.context]++;else if(n[i.context])n[i.context]--;else break}}e.pos++}return r!==e.pos?(e.start=r,!0):!1}function jy(e,t){let r=e.pos;if(t.jsx&&ue(e,Kc))for(;Pe(e);){let{pos:n}=e;if(!ue(e,_y)||!ue(e,Kc)){e.pos=n;break}}for(;Pe(e)&&ue(e,Ly););return e.pos!==r?(e.start=r,!0):!1}function Tf(e){let t=e.pos;if(ue(e,By)){let r=0;for(;Pe(e);){let n=No(e);if(ve(n,"expression"))if(n.open)r++;else if(r)r--;else break}return e.start=t,!0}return!1}function Cf(e){let t=e.start,r=e.pos;return ve(e.tokens[t],"expression",!0)&&t++,ve(e.tokens[r-1],"expression",!1)&&r--,At(e,t,r)}function ve(e,t,r){return!!(e&&e.type==="Bracket"&&(!t||e.context===t)&&(r==null||e.open===r))}function Ne(e,t){return!!(e&&e.type==="Operator"&&(!t||e.operator===t))}function mn(e,t){return!!(e&&e.type==="Quote"&&(t==null||e.single===t))}function Of(e){return!!(e&&e.type==="WhiteSpace")}function Iy(e){return Ne(e,"equal")}function gn(e){return!!(e&&e.type==="Repeater")}function Fy(e){return e.type==="Literal"}function Kc(e){if(Fy(e)){let t=e.value.charCodeAt(0);return t>=65&&t<=90}return!1}function Ly(e){return e.type==="Literal"||e.type==="RepeaterNumber"||e.type==="RepeaterPlaceholder"}function _y(e){return Ne(e,"class")}function Dy(e){return ve(e,"attribute",!0)}function qy(e){return ve(e,"attribute",!1)}function By(e){return ve(e,"expression",!0)}function zy(e){return ve(e,"group",!0)}function Uy(e){return{type:"Literal",value:e}}function mo(e){return!e.name&&!e.value&&!e.attributes}function My(e){return Ne(e,"child")}function Wy(e){return Ne(e,"sibling")}function ef(e){return Ne(e,"climb")}function Vy(e){return Ne(e,"close")}function Hy(e){return e.eat(B.Escape)?(e.start=e.pos,e.eof()||e.pos++,!0):!1}function Gy(e){let t=new hn(e),r=[],n={group:0,attribute:0,expression:0,quote:0},i=0,o;for(;!t.eof();)if(i=t.peek(),o=Qy(t,n),o)r.push(o),o.type==="Quote"?n.quote=i===n.quote?0:i:o.type==="Bracket"&&(n[o.context]+=o.open?1:-1);else throw t.error("Unexpected character");return r}function Qy(e,t){return nv(e,t)||tv(e)||rv(e)||ev(e)||Zy(e)||Jy(e,t)||Ky(e)||Xy(e)||Yy(e)}function Jy(e,t){let r=e.pos,n=t.expression,i="";for(;!e.eof();){if(Hy(e)){i+=e.current();continue}let o=e.peek();if(o===B.Slash&&!t.quote&&!t.expression&&!t.attribute){let s=e.string.charCodeAt(e.pos-1),a=e.string.charCodeAt(e.pos+1);if(ke(s)&&ke(a)){i+=e.string[e.pos++];continue}}if(o===t.quote||o===B.Dollar||iv(o,t))break;if(n){if(o===B.CurlyBracketOpen)t.expression++;else if(o===B.CurlyBracketClose)if(t.expression>n)t.expression--;else break}else if(!t.quote&&(!t.attribute&&!lv(o)||ov(o,t)||sv(o,t)||Po(o)||Pf(o)))break;i+=e.string[e.pos++]}if(r!==e.pos)return e.start=r,{type:"Literal",value:i,start:r,end:e.pos}}function Zy(e){let t=e.pos;if(e.eatWhile(Oo))return{type:"WhiteSpace",start:t,end:e.pos,value:e.substring(t,e.pos)}}function Xy(e){let t=e.peek();if(Po(t))return{type:"Quote",single:t===B.SingleQuote,start:e.pos++,end:e.pos}}function Yy(e){let t=e.peek(),r=Pf(t);if(r)return{type:"Bracket",open:av(t),context:r,start:e.pos++,end:e.pos}}function Ky(e){let t=Nf(e.peek());if(t)return{type:"Operator",operator:t,start:e.pos++,end:e.pos}}function ev(e){let t=e.pos;if(e.eat(B.Asterisk)){e.start=e.pos;let r=1,n=!1;return e.eatWhile(ke)?r=Number(e.current()):n=!0,{type:"Repeater",count:r,value:0,implicit:n,start:t,end:e.pos}}}function tv(e){let t=e.pos;if(e.eat(B.Dollar)&&e.eat(B.Hash))return{type:"RepeaterPlaceholder",value:void 0,start:t,end:e.pos};e.pos=t}function rv(e){let t=e.pos;if(e.eatWhile(B.Dollar)){let r=e.pos-t,n=!1,i=1,o=0;if(e.eat(B.At)){for(;e.eat(B.Climb);)o++;n=e.eat(B.Dash),e.start=e.pos,e.eatWhile(ke)&&(i=Number(e.current()))}return e.start=t,{type:"RepeaterNumber",size:r,reverse:n,base:i,parent:o,start:t,end:e.pos}}}function nv(e,t){let r=e.pos;if((t.expression||t.attribute)&&e.eat(B.Dollar)&&e.eat(B.CurlyBracketOpen)){e.start=e.pos;let n,i="";if(e.eatWhile(ke)?(n=Number(e.current()),i=e.eat(B.Colon)?tf(e):""):kn(e.peek())&&(i=tf(e)),e.eat(B.CurlyBracketClose))return{type:"Field",index:n,name:i,start:r,end:e.pos};throw e.error("Expecting }")}e.pos=r}function tf(e){let t=[];for(e.start=e.pos;!e.eof();)if(e.eat(B.CurlyBracketOpen))t.push(e.pos);else if(e.eat(B.CurlyBracketClose)){if(!t.length){e.pos--;break}t.pop()}else e.pos++;if(t.length)throw e.pos=t.pop(),e.error("Expecting }");return e.current()}function iv(e,t){let r=Nf(e);return!r||t.quote||t.expression?!1:!t.attribute||r==="equal"}function ov(e,t){return Oo(e)&&!t.expression}function sv(e,t){return e===B.Asterisk&&!t.attribute&&!t.expression}function Pf(e){if(e===B.RoundBracketOpen||e===B.RoundBracketClose)return"group";if(e===B.SquareBracketOpen||e===B.SquareBracketClose)return"attribute";if(e===B.CurlyBracketOpen||e===B.CurlyBracketClose)return"expression"}function Nf(e){return e===B.Child&&"child"||e===B.Sibling&&"sibling"||e===B.Climb&&"climb"||e===B.Dot&&"class"||e===B.Hash&&"id"||e===B.Slash&&"close"||e===B.Equals&&"equal"||void 0}function av(e){return e===B.CurlyBracketOpen||e===B.SquareBracketOpen||e===B.RoundBracketOpen}function lv(e){return Sf(e)||Sy(e)||e===B.Dash||e===B.Colon||e===B.Excl}function $f(e,t){if(!rf[e.type])throw new Error(`Unknown token ${e.type}`);return rf[e.type](e,t)}function pv(e,t={}){let r=!1,n;t.text&&(Array.isArray(t.text)?n=t.text.filter(o=>o.trim()):n=t.text);let i={type:"Abbreviation",children:ko(e,{inserted:!1,repeaters:[],text:t.text,cleanText:n,repeatGuard:t.maxRepeat||Number.POSITIVE_INFINITY,getText(o){var s;r=!0;let a;if(Array.isArray(t.text)){if(o!==void 0&&o>=0&&o<n.length)return n[o];a=o!==void 0?t.text[o]:t.text.join(`
|
|
15
|
-
`)}else a=(s=t.text)!==null&&s!==void 0?s:"";return a},getVariable(o){let s=t.variables&&t.variables[o];return s??o}})};if(t.text!=null&&!r){let o=
|
|
16
|
-
`):t.text;
|
|
14
|
+
`&&i++}n&&r.length>0&&t.push(r.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return we.create(0,t);for(;n<i;){let s=Math.floor((n+i)/2);r[s]>t?i=s:n=s+1}let o=n-1;return we.create(o,t-r[o])}offsetAt(t){let r=this.getLineOffsets();if(t.line>=r.length)return this._content.length;if(t.line<0)return 0;let n=r[t.line],i=t.line+1<r.length?r[t.line+1]:this._content.length;return Math.max(Math.min(n+t.character,i),n)}get lineCount(){return this.getLineOffsets().length}};(function(e){let t=Object.prototype.toString;function r(d){return typeof d<"u"}e.defined=r;function n(d){return typeof d>"u"}e.undefined=n;function i(d){return d===!0||d===!1}e.boolean=i;function o(d){return t.call(d)==="[object String]"}e.string=o;function s(d){return t.call(d)==="[object Number]"}e.number=s;function a(d,v,b){return t.call(d)==="[object Number]"&&v<=d&&d<=b}e.numberRange=a;function l(d){return t.call(d)==="[object Number]"&&-2147483648<=d&&d<=2147483647}e.integer=l;function u(d){return t.call(d)==="[object Number]"&&0<=d&&d<=2147483647}e.uinteger=u;function c(d){return t.call(d)==="[object Function]"}e.func=c;function f(d){return d!==null&&typeof d=="object"}e.objectLiteral=f;function m(d,v){return Array.isArray(d)&&d.every(v)}e.typedArray=m})(h||(h={}))});var ff,pf,_S,df=he(()=>{"use strict";p();(()=>{"use strict";var e={470:i=>{function o(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function s(l,u){for(var c,f="",m=0,d=-1,v=0,b=0;b<=l.length;++b){if(b<l.length)c=l.charCodeAt(b);else{if(c===47)break;c=47}if(c===47){if(!(d===b-1||v===1))if(d!==b-1&&v===2){if(f.length<2||m!==2||f.charCodeAt(f.length-1)!==46||f.charCodeAt(f.length-2)!==46){if(f.length>2){var A=f.lastIndexOf("/");if(A!==f.length-1){A===-1?(f="",m=0):m=(f=f.slice(0,A)).length-1-f.lastIndexOf("/"),d=b,v=0;continue}}else if(f.length===2||f.length===1){f="",m=0,d=b,v=0;continue}}u&&(f.length>0?f+="/..":f="..",m=2)}else f.length>0?f+="/"+l.slice(d+1,b):f=l.slice(d+1,b),m=b-d-1;d=b,v=0}else c===46&&v!==-1?++v:v=-1}return f}var a={resolve:function(){for(var l,u="",c=!1,f=arguments.length-1;f>=-1&&!c;f--){var m;f>=0?m=arguments[f]:(l===void 0&&(l=process.cwd()),m=l),o(m),m.length!==0&&(u=m+"/"+u,c=m.charCodeAt(0)===47)}return u=s(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(l){if(o(l),l.length===0)return".";var u=l.charCodeAt(0)===47,c=l.charCodeAt(l.length-1)===47;return(l=s(l,!u)).length!==0||u||(l="."),l.length>0&&c&&(l+="/"),u?"/"+l:l},isAbsolute:function(l){return o(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,u=0;u<arguments.length;++u){var c=arguments[u];o(c),c.length>0&&(l===void 0?l=c:l+="/"+c)}return l===void 0?".":a.normalize(l)},relative:function(l,u){if(o(l),o(u),l===u||(l=a.resolve(l))===(u=a.resolve(u)))return"";for(var c=1;c<l.length&&l.charCodeAt(c)===47;++c);for(var f=l.length,m=f-c,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var v=u.length-d,b=m<v?m:v,A=-1,w=0;w<=b;++w){if(w===b){if(v>b){if(u.charCodeAt(d+w)===47)return u.slice(d+w+1);if(w===0)return u.slice(d+w)}else m>b&&(l.charCodeAt(c+w)===47?A=w:w===0&&(A=0));break}var E=l.charCodeAt(c+w);if(E!==u.charCodeAt(d+w))break;E===47&&(A=w)}var y="";for(w=c+A+1;w<=f;++w)w!==f&&l.charCodeAt(w)!==47||(y.length===0?y+="..":y+="/..");return y.length>0?y+u.slice(d+A):(d+=A,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(l){return l},dirname:function(l){if(o(l),l.length===0)return".";for(var u=l.charCodeAt(0),c=u===47,f=-1,m=!0,d=l.length-1;d>=1;--d)if((u=l.charCodeAt(d))===47){if(!m){f=d;break}}else m=!1;return f===-1?c?"/":".":c&&f===1?"//":l.slice(0,f)},basename:function(l,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');o(l);var c,f=0,m=-1,d=!0;if(u!==void 0&&u.length>0&&u.length<=l.length){if(u.length===l.length&&u===l)return"";var v=u.length-1,b=-1;for(c=l.length-1;c>=0;--c){var A=l.charCodeAt(c);if(A===47){if(!d){f=c+1;break}}else b===-1&&(d=!1,b=c+1),v>=0&&(A===u.charCodeAt(v)?--v==-1&&(m=c):(v=-1,m=b))}return f===m?m=b:m===-1&&(m=l.length),l.slice(f,m)}for(c=l.length-1;c>=0;--c)if(l.charCodeAt(c)===47){if(!d){f=c+1;break}}else m===-1&&(d=!1,m=c+1);return m===-1?"":l.slice(f,m)},extname:function(l){o(l);for(var u=-1,c=0,f=-1,m=!0,d=0,v=l.length-1;v>=0;--v){var b=l.charCodeAt(v);if(b!==47)f===-1&&(m=!1,f=v+1),b===46?u===-1?u=v:d!==1&&(d=1):u!==-1&&(d=-1);else if(!m){c=v+1;break}}return u===-1||f===-1||d===0||d===1&&u===f-1&&u===c+1?"":l.slice(u,f)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return(function(u,c){var f=c.dir||c.root,m=c.base||(c.name||"")+(c.ext||"");return f?f===c.root?f+m:f+"/"+m:m})(0,l)},parse:function(l){o(l);var u={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return u;var c,f=l.charCodeAt(0),m=f===47;m?(u.root="/",c=1):c=0;for(var d=-1,v=0,b=-1,A=!0,w=l.length-1,E=0;w>=c;--w)if((f=l.charCodeAt(w))!==47)b===-1&&(A=!1,b=w+1),f===46?d===-1?d=w:E!==1&&(E=1):d!==-1&&(E=-1);else if(!A){v=w+1;break}return d===-1||b===-1||E===0||E===1&&d===b-1&&d===v+1?b!==-1&&(u.base=u.name=v===0&&m?l.slice(1,b):l.slice(v,b)):(v===0&&m?(u.name=l.slice(1,d),u.base=l.slice(1,b)):(u.name=l.slice(v,d),u.base=l.slice(v,b)),u.ext=l.slice(d,b)),v>0?u.dir=l.slice(0,v-1):m&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,i.exports=a}},t={};function r(i){var o=t[i];if(o!==void 0)return o.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,r),s.exports}r.d=(i,o)=>{for(var s in o)r.o(o,s)&&!r.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})},r.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),r.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var n={};(()=>{let i;r.r(n),r.d(n,{URI:()=>m,Utils:()=>L}),typeof process=="object"?i=!1:typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);let o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;function l(C,g){if(!C.scheme&&g)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${C.authority}", path: "${C.path}", query: "${C.query}", fragment: "${C.fragment}"}`);if(C.scheme&&!o.test(C.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(C.path){if(C.authority){if(!s.test(C.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(C.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let u="",c="/",f=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class m{static isUri(g){return g instanceof m||!!g&&typeof g.authority=="string"&&typeof g.fragment=="string"&&typeof g.path=="string"&&typeof g.query=="string"&&typeof g.scheme=="string"&&typeof g.fsPath=="string"&&typeof g.with=="function"&&typeof g.toString=="function"}scheme;authority;path;query;fragment;constructor(g,N,O,F,I,_=!1){typeof g=="object"?(this.scheme=g.scheme||u,this.authority=g.authority||u,this.path=g.path||u,this.query=g.query||u,this.fragment=g.fragment||u):(this.scheme=(function(ce,fe){return ce||fe?ce:"file"})(g,_),this.authority=N||u,this.path=(function(ce,fe){switch(ce){case"https":case"http":case"file":fe?fe[0]!==c&&(fe=c+fe):fe=c}return fe})(this.scheme,O||u),this.query=F||u,this.fragment=I||u,l(this,_))}get fsPath(){return E(this,!1)}with(g){if(!g)return this;let{scheme:N,authority:O,path:F,query:I,fragment:_}=g;return N===void 0?N=this.scheme:N===null&&(N=u),O===void 0?O=this.authority:O===null&&(O=u),F===void 0?F=this.path:F===null&&(F=u),I===void 0?I=this.query:I===null&&(I=u),_===void 0?_=this.fragment:_===null&&(_=u),N===this.scheme&&O===this.authority&&F===this.path&&I===this.query&&_===this.fragment?this:new v(N,O,F,I,_)}static parse(g,N=!1){let O=f.exec(g);return O?new v(O[2]||u,k(O[4]||u),k(O[5]||u),k(O[7]||u),k(O[9]||u),N):new v(u,u,u,u,u)}static file(g){let N=u;if(i&&(g=g.replace(/\\/g,c)),g[0]===c&&g[1]===c){let O=g.indexOf(c,2);O===-1?(N=g.substring(2),g=c):(N=g.substring(2,O),g=g.substring(O)||c)}return new v("file",N,g,u,u)}static from(g){let N=new v(g.scheme,g.authority,g.path,g.query,g.fragment);return l(N,!0),N}toString(g=!1){return y(this,g)}toJSON(){return this}static revive(g){if(g){if(g instanceof m)return g;{let N=new v(g);return N._formatted=g.external,N._fsPath=g._sep===d?g.fsPath:null,N}}return g}}let d=i?1:void 0;class v extends m{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=E(this,!1)),this._fsPath}toString(g=!1){return g?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)}toJSON(){let g={$mid:1};return this._fsPath&&(g.fsPath=this._fsPath,g._sep=d),this._formatted&&(g.external=this._formatted),this.path&&(g.path=this.path),this.scheme&&(g.scheme=this.scheme),this.authority&&(g.authority=this.authority),this.query&&(g.query=this.query),this.fragment&&(g.fragment=this.fragment),g}}let b={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function A(C,g,N){let O,F=-1;for(let I=0;I<C.length;I++){let _=C.charCodeAt(I);if(_>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===45||_===46||_===95||_===126||g&&_===47||N&&_===91||N&&_===93||N&&_===58)F!==-1&&(O+=encodeURIComponent(C.substring(F,I)),F=-1),O!==void 0&&(O+=C.charAt(I));else{O===void 0&&(O=C.substr(0,I));let ce=b[_];ce!==void 0?(F!==-1&&(O+=encodeURIComponent(C.substring(F,I)),F=-1),O+=ce):F===-1&&(F=I)}}return F!==-1&&(O+=encodeURIComponent(C.substring(F))),O!==void 0?O:C}function w(C){let g;for(let N=0;N<C.length;N++){let O=C.charCodeAt(N);O===35||O===63?(g===void 0&&(g=C.substr(0,N)),g+=b[O]):g!==void 0&&(g+=C[N])}return g!==void 0?g:C}function E(C,g){let N;return N=C.authority&&C.path.length>1&&C.scheme==="file"?`//${C.authority}${C.path}`:C.path.charCodeAt(0)===47&&(C.path.charCodeAt(1)>=65&&C.path.charCodeAt(1)<=90||C.path.charCodeAt(1)>=97&&C.path.charCodeAt(1)<=122)&&C.path.charCodeAt(2)===58?g?C.path.substr(1):C.path[1].toLowerCase()+C.path.substr(2):C.path,i&&(N=N.replace(/\//g,"\\")),N}function y(C,g){let N=g?w:A,O="",{scheme:F,authority:I,path:_,query:ce,fragment:fe}=C;if(F&&(O+=F,O+=":"),(I||F==="file")&&(O+=c,O+=c),I){let Y=I.indexOf("@");if(Y!==-1){let _t=I.substr(0,Y);I=I.substr(Y+1),Y=_t.lastIndexOf(":"),Y===-1?O+=N(_t,!1,!1):(O+=N(_t.substr(0,Y),!1,!1),O+=":",O+=N(_t.substr(Y+1),!1,!0)),O+="@"}I=I.toLowerCase(),Y=I.lastIndexOf(":"),Y===-1?O+=N(I,!1,!0):(O+=N(I.substr(0,Y),!1,!0),O+=I.substr(Y))}if(_){if(_.length>=3&&_.charCodeAt(0)===47&&_.charCodeAt(2)===58){let Y=_.charCodeAt(1);Y>=65&&Y<=90&&(_=`/${String.fromCharCode(Y+32)}:${_.substr(3)}`)}else if(_.length>=2&&_.charCodeAt(1)===58){let Y=_.charCodeAt(0);Y>=65&&Y<=90&&(_=`${String.fromCharCode(Y+32)}:${_.substr(2)}`)}O+=N(_,!0,!1)}return ce&&(O+="?",O+=N(ce,!1,!1)),fe&&(O+="#",O+=g?fe:A(fe,!1,!1)),O}function T(C){try{return decodeURIComponent(C)}catch{return C.length>3?C.substr(0,3)+T(C.substr(3)):C}}let S=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function k(C){return C.match(S)?C.replace(S,(g=>T(g))):C}var P=r(470);let j=P.posix||P,R="/";var L;(function(C){C.joinPath=function(g,...N){return g.with({path:j.join(g.path,...N)})},C.resolvePath=function(g,...N){let O=g.path,F=!1;O[0]!==R&&(O=R+O,F=!0);let I=j.resolve(O,...N);return F&&I[0]===R&&!g.authority&&(I=I.substring(1)),g.with({path:I})},C.dirname=function(g){if(g.path.length===0||g.path===R)return g;let N=j.dirname(g.path);return N.length===1&&N.charCodeAt(0)===46&&(N=""),g.with({path:N})},C.basename=function(g){return j.basename(g.path)},C.extname=function(g){return j.extname(g.path)}})(L||(L={}))})(),ff=n})();({URI:pf,Utils:_S}=ff)});var hf,xo,mf=he(()=>{"use strict";p();hf={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-slice","border-image-source","border-image-width","border-inline-end","border-inline-start","border-inline-end-color","border-inline-start-color","border-inline-end-style","border-inline-start-style","border-inline-end-width","border-inline-start-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation-filters","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","contain","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","enable-background","fallback","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","height","hyphens","image-orientation","image-rendering","ime-mode","inline-size","isolation","justify-content","kerning","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker","marker-end","marker-mid","marker-start","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-background-clip","-moz-background-inline-policy","-moz-background-origin","-moz-border-bottom-colors","-moz-border-image","-moz-border-left-colors","-moz-border-right-colors","-moz-border-top-colors","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-flexgroup","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-column-count","-moz-column-gap","-moz-column-rule","-moz-column-rule-color","-moz-column-rule-style","-moz-column-rule-width","-moz-columns","-moz-column-width","-moz-font-feature-settings","-moz-hyphens","-moz-perspective","-moz-perspective-origin","-moz-text-align-last","-moz-text-decoration-color","-moz-text-decoration-line","-moz-text-decoration-style","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-select","-ms-accelerator","-ms-behavior","-ms-block-progression","-ms-content-zoom-chaining","-ms-content-zooming","-ms-content-zoom-limit","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-filter","-ms-flex","-ms-flex-align","-ms-flex-direction","-ms-flex-flow","-ms-flex-item-align","-ms-flex-line-pack","-ms-flex-order","-ms-flex-pack","-ms-flex-wrap","-ms-flow-from","-ms-flow-into","-ms-grid-column","-ms-grid-column-align","-ms-grid-columns","-ms-grid-column-span","-ms-grid-layer","-ms-grid-row","-ms-grid-row-align","-ms-grid-rows","-ms-grid-row-span","-ms-high-contrast-adjust","-ms-hyphenate-limit-chars","-ms-hyphenate-limit-lines","-ms-hyphenate-limit-zone","-ms-hyphens","-ms-ime-mode","-ms-interpolation-mode","-ms-layout-grid","-ms-layout-grid-char","-ms-layout-grid-line","-ms-layout-grid-mode","-ms-layout-grid-type","-ms-line-break","-ms-overflow-style","-ms-perspective","-ms-perspective-origin","-ms-perspective-origin-x","-ms-perspective-origin-y","-ms-progress-appearance","-ms-scrollbar-3dlight-color","-ms-scrollbar-arrow-color","-ms-scrollbar-base-color","-ms-scrollbar-darkshadow-color","-ms-scrollbar-face-color","-ms-scrollbar-highlight-color","-ms-scrollbar-shadow-color","-ms-scrollbar-track-color","-ms-scroll-chaining","-ms-scroll-limit","-ms-scroll-limit-x-max","-ms-scroll-limit-x-min","-ms-scroll-limit-y-max","-ms-scroll-limit-y-min","-ms-scroll-rails","-ms-scroll-snap-points-x","-ms-scroll-snap-points-y","-ms-scroll-snap-type","-ms-scroll-snap-x","-ms-scroll-snap-y","-ms-scroll-translation","-ms-text-align-last","-ms-text-autospace","-ms-text-combine-horizontal","-ms-text-justify","-ms-text-kashida-space","-ms-text-overflow","-ms-text-size-adjust","-ms-text-underline-position","-ms-touch-action","-ms-touch-select","-ms-transform","-ms-transform-origin","-ms-transform-origin-x","-ms-transform-origin-y","-ms-transform-origin-z","-ms-user-select","-ms-word-break","-ms-word-wrap","-ms-wrap-flow","-ms-wrap-margin","-ms-wrap-through","-ms-writing-mode","-ms-zoom","-ms-zoom-animation","nav-down","nav-index","nav-left","nav-right","nav-up","negative","-o-animation","-o-animation-delay","-o-animation-direction","-o-animation-duration","-o-animation-fill-mode","-o-animation-iteration-count","-o-animation-name","-o-animation-play-state","-o-animation-timing-function","object-fit","object-position","-o-border-image","-o-object-fit","-o-object-position","opacity","order","orphans","-o-table-baseline","-o-tab-size","-o-text-overflow","-o-transform","-o-transform-origin","-o-transition","-o-transition-delay","-o-transition-duration","-o-transition-property","-o-transition-timing-function","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","pad","padding","padding-bottom","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","pointer-events","position","prefix","quotes","range","resize","right","ruby-align","ruby-overhang","ruby-position","ruby-span","scrollbar-3dlight-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scroll-behavior","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","suffix","system","symbols","table-layout","tab-size","text-align","text-align-last","text-anchor","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","unicode-range","user-select","vertical-align","visibility","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backdrop-filter","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-composite","-webkit-background-origin","-webkit-border-image","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-flex-group","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-reflect","-webkit-box-sizing","-webkit-break-after","-webkit-break-before","-webkit-break-inside","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","-webkit-column-count","-webkit-column-gap","-webkit-column-rule","-webkit-column-rule-color","-webkit-column-rule-style","-webkit-column-rule-width","-webkit-columns","-webkit-column-span","-webkit-column-width","-webkit-filter","-webkit-flow-from","-webkit-flow-into","-webkit-font-feature-settings","-webkit-hyphens","-webkit-line-break","-webkit-margin-bottom-collapse","-webkit-margin-collapse","-webkit-margin-start","-webkit-margin-top-collapse","-webkit-mask-clip","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-repeat","-webkit-mask-size","-webkit-nbsp-mode","-webkit-overflow-scrolling","-webkit-padding-start","-webkit-perspective","-webkit-perspective-origin","-webkit-region-fragment","-webkit-tap-highlight-color","-webkit-text-fill-color","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-touch-callout","-webkit-transform","-webkit-transform-origin","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-drag","-webkit-user-modify","-webkit-user-select","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","zoom"]},xo={tags:["body","head","html","address","blockquote","dd","div","section","article","aside","header","footer","nav","menu","dl","dt","fieldset","form","frame","frameset","h1","h2","h3","h4","h5","h6","iframe","noframes","object","ol","p","ul","applet","center","dir","hr","pre","a","abbr","acronym","area","b","base","basefont","bdo","big","br","button","caption","cite","code","col","colgroup","del","dfn","em","font","i","img","input","ins","isindex","kbd","label","legend","li","link","map","meta","noscript","optgroup","option","param","q","s","samp","script","select","small","span","strike","strong","style","sub","sup","table","tbody","td","textarea","tfoot","th","thead","title","tr","tt","u","var","canvas","main","figure","plaintext","figcaption","hgroup","details","summary","audio","bdi","data","datalist","dialog","embed","mark","math","meter","output","picture","portal","progress","rp","rt","ruby","search","slot","source","template","time","track","video","wbr"]}});function gf(e){return iv.test(e)}function ov(e){let t=[];for(let n of e)n.length===0||n.length===1&&n.charCodeAt(0)===wo||(n.length===2&&n.charCodeAt(0)===wo&&n.charCodeAt(1)===wo?t.pop():t.push(n));e.length>1&&e[e.length-1].length===0&&t.push("");let r=t.join("/");return e[0].length===0&&(r="/"+r),r}function or(e,...t){let r=e.path.split("/");for(let n of t)r.push(...n.split("/"));return e.with({path:ov(r)})}var ir,iv,wo,bf=he(()=>{"use strict";p();(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(ir||(ir={}));iv=new RegExp("^(/|//|\\\\\\\\|[A-Za-z]:(/|\\\\))"),wo=46});function ke(e){return e>47&&e<58}function Pn(e,t,r){return t=t||65,r=r||90,e&=-33,e>=t&&e<=r}function Wf(e){return ke(e)||Nn(e)}function Nn(e){return e===95||Pn(e)}function sv(e){return e===196||e==214||e===220||e===228||e===246||e===252}function av(e){return e===32||e===9||e===160}function Lo(e){return av(e)||e===10||e===13}function Fo(e){return e===39||e===34}function lv(e){return{tokens:e,start:0,pos:0,size:e.length}}function Be(e){return e.tokens[e.pos]}function _o(e){return e.tokens[e.pos++]}function At(e,t=e.start,r=e.pos){return e.tokens.slice(t,r)}function Pe(e){return e.pos<e.size}function ue(e,t){let r=Be(e);return r&&t(r)?(e.pos++,!0):!1}function Do(e,t,r=Be(e)){r&&r.start!=null&&(t+=` at ${r.start}`);let n=new Error(t);return n.pos=r&&r.start,n}function uv(e,t={}){let r=lv(e),n=Vf(r,t);if(Pe(r))throw Do(r,"Unexpected character");return n}function Vf(e,t){let r={type:"TokenGroup",elements:[]},n=r,i,o=[];for(;Pe(e)&&(i=fv(e,t)||cv(e,t));)if(n.elements.push(i),ue(e,Tv))o.push(n),n=i;else{if(ue(e,Ev))continue;if(ue(e,wf))do o.length&&(n=o.pop());while(ue(e,wf))}return r}function cv(e,t){if(ue(e,Av)){let r=Vf(e,t),n=_o(e);return ve(n,"group",!1)&&(r.repeat=hv(e)),r}}function fv(e,t){let r,n={type:"TokenElement",name:void 0,attributes:void 0,value:void 0,repeat:void 0,selfClose:!1,elements:[]};for(mv(e,t)&&(n.name=At(e));Pe(e);)if(e.start=e.pos,!n.repeat&&!ko(n)&&ue(e,An))n.repeat=e.tokens[e.pos-1];else if(!n.value&&Hf(e))n.value=Gf(e);else if(r=yf(e,"id",t)||yf(e,"class",t)||pv(e))n.attributes?n.attributes=n.attributes.concat(r):n.attributes=Array.isArray(r)?r.slice():[r];else{!ko(n)&&ue(e,Cv)&&(n.selfClose=!0,!n.repeat&&ue(e,An)&&(n.repeat=e.tokens[e.pos-1]));break}return ko(n)?void 0:n}function pv(e){if(ue(e,xv)){let t=[],r;for(;Pe(e);)if(r=dv(e))t.push(r);else{if(ue(e,wv))break;if(!ue(e,Qf))throw Do(e,`Unexpected "${Be(e).type}" token`)}return t}}function yf(e,t,r){if(Ne(Be(e),t)){e.pos++;let n=1;for(;Ne(Be(e),t);)e.pos++,n++;let i={name:[Sv(t)]};return n>1&&(i.multiple=!0),r.jsx&&Hf(e)?(i.value=Gf(e),i.expression=!0):i.value=Oo(e)?At(e):void 0,i}}function dv(e){if(vf(e))return{value:At(e)};if(Oo(e,!0)){let t=At(e),r;return ue(e,gv)&&(vf(e)||Oo(e,!0))&&(r=At(e)),{name:t,value:r}}}function hv(e){return An(Be(e))?e.tokens[e.pos++]:void 0}function vf(e){let t=e.pos,r=Be(e);if(kn(r)){for(e.pos++;Pe(e);)if(kn(_o(e),r.single))return e.start=t,!0;throw Do(e,"Unclosed quote",r)}return!1}function Oo(e,t){let r=e.pos,n={attribute:0,expression:0,group:0};for(;Pe(e);){let i=Be(e);if(n.expression)ve(i,"expression")&&(n[i.context]+=i.open?1:-1);else{if(kn(i)||Ne(i)||Qf(i)||An(i))break;if(ve(i)){if(!t)break;if(i.open)n[i.context]++;else if(n[i.context])n[i.context]--;else break}}e.pos++}return r!==e.pos?(e.start=r,!0):!1}function mv(e,t){let r=e.pos;if(t.jsx&&ue(e,xf))for(;Pe(e);){let{pos:n}=e;if(!ue(e,vv)||!ue(e,xf)){e.pos=n;break}}for(;Pe(e)&&ue(e,yv););return e.pos!==r?(e.start=r,!0):!1}function Hf(e){let t=e.pos;if(ue(e,kv)){let r=0;for(;Pe(e);){let n=_o(e);if(ve(n,"expression"))if(n.open)r++;else if(r)r--;else break}return e.start=t,!0}return!1}function Gf(e){let t=e.start,r=e.pos;return ve(e.tokens[t],"expression",!0)&&t++,ve(e.tokens[r-1],"expression",!1)&&r--,At(e,t,r)}function ve(e,t,r){return!!(e&&e.type==="Bracket"&&(!t||e.context===t)&&(r==null||e.open===r))}function Ne(e,t){return!!(e&&e.type==="Operator"&&(!t||e.operator===t))}function kn(e,t){return!!(e&&e.type==="Quote"&&(t==null||e.single===t))}function Qf(e){return!!(e&&e.type==="WhiteSpace")}function gv(e){return Ne(e,"equal")}function An(e){return!!(e&&e.type==="Repeater")}function bv(e){return e.type==="Literal"}function xf(e){if(bv(e)){let t=e.value.charCodeAt(0);return t>=65&&t<=90}return!1}function yv(e){return e.type==="Literal"||e.type==="RepeaterNumber"||e.type==="RepeaterPlaceholder"}function vv(e){return Ne(e,"class")}function xv(e){return ve(e,"attribute",!0)}function wv(e){return ve(e,"attribute",!1)}function kv(e){return ve(e,"expression",!0)}function Av(e){return ve(e,"group",!0)}function Sv(e){return{type:"Literal",value:e}}function ko(e){return!e.name&&!e.value&&!e.attributes}function Tv(e){return Ne(e,"child")}function Ev(e){return Ne(e,"sibling")}function wf(e){return Ne(e,"climb")}function Cv(e){return Ne(e,"close")}function Ov(e){return e.eat(B.Escape)?(e.start=e.pos,e.eof()||e.pos++,!0):!1}function Pv(e){let t=new wn(e),r=[],n={group:0,attribute:0,expression:0,quote:0},i=0,o;for(;!t.eof();)if(i=t.peek(),o=Nv(t,n),o)r.push(o),o.type==="Quote"?n.quote=i===n.quote?0:i:o.type==="Bracket"&&(n[o.context]+=o.open?1:-1);else throw t.error("Unexpected character");return r}function Nv(e,t){return qv(e,t)||_v(e)||Dv(e)||Fv(e)||Rv(e)||$v(e,t)||Lv(e)||jv(e)||Iv(e)}function $v(e,t){let r=e.pos,n=t.expression,i="";for(;!e.eof();){if(Ov(e)){i+=e.current();continue}let o=e.peek();if(o===B.Slash&&!t.quote&&!t.expression&&!t.attribute){let s=e.string.charCodeAt(e.pos-1),a=e.string.charCodeAt(e.pos+1);if(ke(s)&&ke(a)){i+=e.string[e.pos++];continue}}if(o===t.quote||o===B.Dollar||Bv(o,t))break;if(n){if(o===B.CurlyBracketOpen)t.expression++;else if(o===B.CurlyBracketClose)if(t.expression>n)t.expression--;else break}else if(!t.quote&&(!t.attribute&&!Wv(o)||zv(o,t)||Uv(o,t)||Fo(o)||Jf(o)))break;i+=e.string[e.pos++]}if(r!==e.pos)return e.start=r,{type:"Literal",value:i,start:r,end:e.pos}}function Rv(e){let t=e.pos;if(e.eatWhile(Lo))return{type:"WhiteSpace",start:t,end:e.pos,value:e.substring(t,e.pos)}}function jv(e){let t=e.peek();if(Fo(t))return{type:"Quote",single:t===B.SingleQuote,start:e.pos++,end:e.pos}}function Iv(e){let t=e.peek(),r=Jf(t);if(r)return{type:"Bracket",open:Mv(t),context:r,start:e.pos++,end:e.pos}}function Lv(e){let t=Zf(e.peek());if(t)return{type:"Operator",operator:t,start:e.pos++,end:e.pos}}function Fv(e){let t=e.pos;if(e.eat(B.Asterisk)){e.start=e.pos;let r=1,n=!1;return e.eatWhile(ke)?r=Number(e.current()):n=!0,{type:"Repeater",count:r,value:0,implicit:n,start:t,end:e.pos}}}function _v(e){let t=e.pos;if(e.eat(B.Dollar)&&e.eat(B.Hash))return{type:"RepeaterPlaceholder",value:void 0,start:t,end:e.pos};e.pos=t}function Dv(e){let t=e.pos;if(e.eatWhile(B.Dollar)){let r=e.pos-t,n=!1,i=1,o=0;if(e.eat(B.At)){for(;e.eat(B.Climb);)o++;n=e.eat(B.Dash),e.start=e.pos,e.eatWhile(ke)&&(i=Number(e.current()))}return e.start=t,{type:"RepeaterNumber",size:r,reverse:n,base:i,parent:o,start:t,end:e.pos}}}function qv(e,t){let r=e.pos;if((t.expression||t.attribute)&&e.eat(B.Dollar)&&e.eat(B.CurlyBracketOpen)){e.start=e.pos;let n,i="";if(e.eatWhile(ke)?(n=Number(e.current()),i=e.eat(B.Colon)?kf(e):""):Pn(e.peek())&&(i=kf(e)),e.eat(B.CurlyBracketClose))return{type:"Field",index:n,name:i,start:r,end:e.pos};throw e.error("Expecting }")}e.pos=r}function kf(e){let t=[];for(e.start=e.pos;!e.eof();)if(e.eat(B.CurlyBracketOpen))t.push(e.pos);else if(e.eat(B.CurlyBracketClose)){if(!t.length){e.pos--;break}t.pop()}else e.pos++;if(t.length)throw e.pos=t.pop(),e.error("Expecting }");return e.current()}function Bv(e,t){let r=Zf(e);return!r||t.quote||t.expression?!1:!t.attribute||r==="equal"}function zv(e,t){return Lo(e)&&!t.expression}function Uv(e,t){return e===B.Asterisk&&!t.attribute&&!t.expression}function Jf(e){if(e===B.RoundBracketOpen||e===B.RoundBracketClose)return"group";if(e===B.SquareBracketOpen||e===B.SquareBracketClose)return"attribute";if(e===B.CurlyBracketOpen||e===B.CurlyBracketClose)return"expression"}function Zf(e){return e===B.Child&&"child"||e===B.Sibling&&"sibling"||e===B.Climb&&"climb"||e===B.Dot&&"class"||e===B.Hash&&"id"||e===B.Slash&&"close"||e===B.Equals&&"equal"||void 0}function Mv(e){return e===B.CurlyBracketOpen||e===B.SquareBracketOpen||e===B.RoundBracketOpen}function Wv(e){return Wf(e)||sv(e)||e===B.Dash||e===B.Colon||e===B.Excl}function Xf(e,t){if(!Af[e.type])throw new Error(`Unknown token ${e.type}`);return Af[e.type](e,t)}function Qv(e,t={}){let r=!1,n;t.text&&(Array.isArray(t.text)?n=t.text.filter(o=>o.trim()):n=t.text);let i={type:"Abbreviation",children:Po(e,{inserted:!1,repeaters:[],text:t.text,cleanText:n,repeatGuard:t.maxRepeat||Number.POSITIVE_INFINITY,getText(o){var s;r=!0;let a;if(Array.isArray(t.text)){if(o!==void 0&&o>=0&&o<n.length)return n[o];a=o!==void 0?t.text[o]:t.text.join(`
|
|
15
|
+
`)}else a=(s=t.text)!==null&&s!==void 0?s:"";return a},getVariable(o){let s=t.variables&&t.variables[o];return s??o}})};if(t.text!=null&&!r){let o=qo(Et(i.children));if(o){let s=Array.isArray(t.text)?t.text.join(`
|
|
16
|
+
`):t.text;rp(o,s),o.name==="a"&&t.href&&Zv(o,s)}}return i}function Yf(e,t){let r=[];if(e.repeat){let n=e.repeat,i=Object.assign({},n);i.count=i.implicit&&Array.isArray(t.text)?t.cleanText.length:i.count||1;let o;t.repeaters.push(i);for(let s=0;s<i.count;s++){if(i.value=s,e.repeat=i,o=Tf(e)?Po(e,t):Sf(e,t),i.implicit&&!t.inserted){let a=Et(o),l=a&&qo(a);l&&rp(l,t.getText(i.value))}if(r=r.concat(o),--t.repeatGuard<=0)break}t.repeaters.pop(),e.repeat=n,i.implicit&&(t.inserted=!0)}else r=r.concat(Tf(e)?Po(e,t):Sf(e,t));return r}function Sf(e,t){let r=[],n={type:"AbbreviationNode",name:e.name&&Kf(e.name,t),value:e.value&&ep(e.value,t),attributes:void 0,children:r,repeat:e.repeat&&Object.assign({},e.repeat),selfClosing:e.selfClose},i=[n];for(let o of e.elements)r=r.concat(Yf(o,t));if(e.attributes){n.attributes=[];for(let o of e.attributes)n.attributes.push(Jv(o,t))}return!n.name&&!n.attributes&&n.value&&!n.value.some(tp)?i=i.concat(r):n.children=r,i}function Po(e,t){let r=[];for(let n of e.elements)r=r.concat(Yf(n,t));return e.repeat&&(r=Xv(r,e.repeat)),r}function Jv(e,t){let r=!1,n=!1,i=e.expression?"expression":"raw",o,s=e.name&&Kf(e.name,t);if(s&&s[0]==="!"&&(r=!0),s&&s[s.length-1]==="."&&(n=!0),e.value){let a=e.value.slice();if(kn(a[0])){let l=a.shift();a.length&&Et(a).type===l.type&&a.pop(),i=l.single?"singleQuote":"doubleQuote"}else ve(a[0],"expression",!0)&&(i="expression",a.shift(),ve(Et(a),"expression",!1)&&a.pop());o=ep(a,t)}return{name:n||r?s.slice(r?1:0,n?-1:void 0):s,value:o,boolean:n,implied:r,valueType:i,multiple:e.multiple}}function Kf(e,t){let r="";for(let n=0;n<e.length;n++)r+=Xf(e[n],t);return r}function ep(e,t){let r=[],n="";for(let i=0,o;i<e.length;i++)o=e[i],tp(o)?(n&&(r.push(n),n=""),r.push(o)):n+=Xf(o,t);return n&&r.push(n),r}function Tf(e){return e.type==="TokenGroup"}function tp(e){return typeof e=="object"&&e.type==="Field"&&e.index!=null}function Et(e){return e[e.length-1]}function qo(e){return e.children.length?qo(Et(e.children)):e}function rp(e,t){e.value?typeof Et(e.value)=="string"?e.value[e.value.length-1]+=t:e.value.push(t):e.value=[t]}function Zv(e,t){var r;let n="";Hv.test(t)?(n=t,!/\w+:/.test(n)&&!n.startsWith("//")&&(n=`http://${n}`)):Gv.test(t)&&(n=`mailto:${t}`);let i=(r=e.attributes)===null||r===void 0?void 0:r.find(o=>o.name==="href");i?i.value||(i.value=[n]):(e.attributes||(e.attributes=[]),e.attributes.push({name:"href",value:[n],valueType:"doubleQuote"}))}function Xv(e,t){for(let r of e)r.repeat||(r.repeat=Object.assign({},t));return e}function np(e,t){try{let r=typeof e=="string"?Pv(e):e;return Qv(uv(r,t),t)}catch(r){throw r instanceof sr&&typeof e=="string"&&(r.message+=`
|
|
17
17
|
${e}
|
|
18
|
-
${"-".repeat(r.pos)}^`),r}}function
|
|
18
|
+
${"-".repeat(r.pos)}^`),r}}function Yv(e,t){let r=0,n,i=new wn(e),o=[];for(;!i.eof();){if(n=Kv(i,r===0&&!t),!n)throw i.error("Unexpected character");if(n.type==="Bracket"&&(!r&&n.open&&mx(i,o),r+=n.open?1:-1,r<0))throw i.error("Unexpected bracket",n.start);o.push(n),hx(n)&&(n=ip(i))&&o.push(n)}return o}function Kv(e,t){return ex(e)||sx(e)||rx(e)||ix(e)||nx(e)||ax(e)||ip(e)||ox(e)||tx(e,t)}function ex(e){let t=e.pos;if(e.eat(V.Dollar)&&e.eat(V.CurlyBracketOpen)){e.start=e.pos;let r,n="";if(e.eatWhile(ke)?(r=Number(e.current()),n=e.eat(V.Colon)?Ef(e):""):Pn(e.peek())&&(n=Ef(e)),e.eat(V.CurlyBracketClose))return{type:"Field",index:r,name:n,start:t,end:e.pos};throw e.error("Expecting }")}e.pos=t}function Ef(e){let t=[];for(e.start=e.pos;!e.eof();)if(e.eat(V.CurlyBracketOpen))t.push(e.pos);else if(e.eat(V.CurlyBracketClose)){if(!t.length){e.pos--;break}t.pop()}else e.pos++;if(t.length)throw e.pos=t.pop(),e.error("Expecting }");return e.current()}function tx(e,t){let r=e.pos;if(e.eat(ux)?e.eatWhile(r?No:So):e.eat(Nn)?e.eatWhile(t?So:No):(e.eat(V.Dot),e.eatWhile(So)),r!==e.pos)return e.start=r,Bo(e,e.start=r)}function Bo(e,t=e.start,r=e.pos){return{type:"Literal",value:e.substring(t,r),start:t,end:r}}function rx(e){let t=e.pos;if(lx(e)){e.start=t;let r=e.current();return e.start=e.pos,e.eat(V.Percent)||e.eatWhile(Nn),{type:"NumberValue",value:Number(r),rawValue:r,unit:e.current(),start:t,end:e.pos}}}function nx(e){let t=e.peek(),r=e.pos,n=!1;if(Fo(t)){for(e.pos++;!e.eof();)if(e.eat(t)){n=!0;break}else e.pos++;return e.start=r,{type:"StringValue",value:e.substring(r+1,e.pos-(n?1:0)),quote:t===V.SingleQuote?"single":"double",start:r,end:e.pos}}}function ix(e){let t=e.pos;if(e.eat(V.Hash)){let r=e.pos,n="",i="";if(e.eatWhile(fx)?(n=e.substring(r,e.pos),i=Ao(e)):e.eat(V.Transparent)?(n="0",i=Ao(e)||"0"):i=Ao(e),n||i||e.eof()){let{r:o,g:s,b:a,a:l}=dx(n,i);return{type:"ColorValue",r:o,g:s,b:a,a:l,raw:e.substring(t+1,e.pos),start:t,end:e.pos}}else return Bo(e,t)}e.pos=t}function Ao(e){let t=e.pos;return e.eat(V.Dot)?(e.start=t,e.eatWhile(ke)?e.current():"1"):""}function ox(e){let t=e.pos;if(e.eatWhile(Lo))return{type:"WhiteSpace",start:t,end:e.pos}}function sx(e){let t=e.pos;if(e.eat(V.Dash)&&e.eat(V.Dash))return e.start=t,e.eatWhile(No),{type:"CustomProperty",value:e.current(),start:t,end:e.pos};e.pos=t}function ax(e){let t=e.peek();if(px(t))return{type:"Bracket",open:t===V.RoundBracketOpen,start:e.pos++,end:e.pos}}function ip(e){let t=cx(e.peek());if(t)return{type:"Operator",operator:t,start:e.pos++,end:e.pos}}function lx(e){let t=e.pos;e.eat(V.Dash);let r=e.pos,n=e.eatWhile(ke),i=e.pos;if(e.eat(V.Dot)){let o=e.eatWhile(ke);!n&&!o&&(e.pos=i)}return e.pos===r&&(e.pos=t),e.pos!==t}function ux(e){return e===V.At||e===V.Dollar}function cx(e){return e===V.Sibling&&be.Sibling||e===V.Excl&&be.Important||e===V.Comma&&be.ArgumentDelimiter||e===V.Colon&&be.PropertyDelimiter||e===V.Dash&&be.ValueDelimiter||void 0}function fx(e){return ke(e)||Pn(e,65,70)}function No(e){return Wf(e)||e===V.Dash}function px(e){return e===V.RoundBracketOpen||e===V.RoundBracketClose}function So(e){return Nn(e)||e===V.Percent||e===V.Slash}function dx(e,t){let r="0",n="0",i="0",o=Number(t!=null&&t!==""?t:1);if(e==="t")o=0;else switch(e.length){case 0:break;case 1:r=n=i=e+e;break;case 2:r=n=i=e;break;case 3:r=e[0]+e[0],n=e[1]+e[1],i=e[2]+e[2];break;default:e+=e,r=e.slice(0,2),n=e.slice(2,4),i=e.slice(4,6)}return{r:parseInt(r,16),g:parseInt(n,16),b:parseInt(i,16),a:o}}function hx(e){return e.type==="ColorValue"||e.type==="NumberValue"&&!e.unit}function mx(e,t){let r=0,n=0;for(;t.length;){let i=gx(t);if(i.type==="Literal"||i.type==="NumberValue")r=i.start,n||(n=i.end),t.pop();else break}r!==n&&t.push(Bo(e,r,n))}function gx(e){return e[e.length-1]}function bx(e){return{tokens:e,start:0,pos:0,size:e.length}}function $n(e){return e.tokens[e.pos]}function Rn(e){return e.pos<e.size}function Oe(e,t){return t($n(e))?(e.pos++,!0):!1}function op(e,t,r=$n(e)){r&&r.start!=null&&(t+=` at ${r.start}`);let n=new Error(t);return n.pos=r&&r.start,n}function yx(e,t={}){let r=bx(e),n=[],i;for(;Rn(r);)if(i=vx(r,t))n.push(i);else if(!Oe(r,Ax))throw op(r,"Unexpected token");return n}function vx(e,t){let r,n=!1,i,o=[],s=$n(e),a=!!t.value;for(!a&&zo(s)&&!Cx(e)&&(e.pos++,r=s.value,Oe(e,up)),a&&Oe(e,Uo);Rn(e);)if(Oe(e,Tx))n=!0;else if(i=sp(e,a))o.push(i);else if(!Oe(e,Sx))break;if(r||o.length||n)return{name:r,value:o,important:n}}function sp(e,t){let r=[],n,i;for(;Rn(e);)if(n=$n(e),Ex(n))e.pos++,zo(n)&&(i=xx(e))?r.push({type:"FunctionCall",name:n.value,arguments:i}):r.push(n);else if(up(n)||t&&Uo(n))e.pos++;else break;return r.length?{type:"CSSValue",value:r}:void 0}function xx(e){let t=e.pos;if(Oe(e,wx)){let r=[],n;for(;Rn(e)&&!Oe(e,kx);)if(n=sp(e,!0))r.push(n);else if(!Oe(e,Uo)&&!Oe(e,lp))throw op(e,"Unexpected token");return e.start=t,r}}function zo(e){return e&&e.type==="Literal"}function ap(e,t){return e&&e.type==="Bracket"&&(t==null||e.open===t)}function wx(e){return ap(e,!0)}function kx(e){return ap(e,!1)}function Uo(e){return e&&e.type==="WhiteSpace"}function ar(e,t){return e&&e.type==="Operator"&&(!t||e.operator===t)}function Ax(e){return ar(e,be.Sibling)}function lp(e){return ar(e,be.ArgumentDelimiter)}function Sx(e){return lp(e)}function Tx(e){return ar(e,be.Important)}function Ex(e){return e.type==="StringValue"||e.type==="ColorValue"||e.type==="NumberValue"||e.type==="Literal"||e.type==="Field"||e.type==="CustomProperty"}function up(e){return ar(e,be.PropertyDelimiter)||ar(e,be.ValueDelimiter)}function Cx(e){let t=e.tokens[e.pos],r=e.tokens[e.pos+1];return t&&r&&zo(t)&&r.type==="Bracket"}function cp(e,t){try{let r=typeof e=="string"?Yv(e,t&&t.value):e;return yx(r,t)}catch(r){throw r instanceof sr&&typeof e=="string"&&(r.message+=`
|
|
19
19
|
${e}
|
|
20
|
-
${"-".repeat(r.pos)}^`),r}}function Hv(e,t){if(!e.attributes)return;let r=[],n={};for(let i of e.attributes)if(i.name){let o=i.name;if(o in n){let s=n[o];o==="class"?s.value=Gv(s.value,i.value," "):Qv(s,i,t)}else r.push(n[o]=Object.assign({},i))}else r.push(i);e.attributes=r}function Gv(e,t,r){if(e&&t){e.length&&r&&af(e,r);for(let i of t)af(e,i);return e}let n=e||t;return n&&n.slice()}function Qv(e,t,r){return e.name=t.name,r.options["output.reverseAttributes"]||(e.value=t.value),e.implied||(e.implied=t.implied),e.boolean||(e.boolean=t.boolean),e.valueType!=="expression"&&(e.valueType=t.valueType),e}function af(e,t){let r=e.length-1;typeof e[r]=="string"&&typeof t=="string"?e[r]+=t:e.push(t)}function Jv(e,t,r){let n=[e],i=o=>{t(o,n,r),n.push(o),o.children.forEach(i),n.pop()};e.children.forEach(i)}function Vf(e,t){for(let r=0;r<e.children.length;r++){let n=e.children[r];if(t(n))return n;let i=Vf(n,t);if(i)return i}}function Zv(e){let t;for(;e.children.length;)t=e,e=e.children[e.children.length-1];return{parent:t,node:e}}function Hf(e){return e.type==="AbbreviationNode"}function Xv(e,t){let r=[],n=t.options["output.reverseAttributes"],{warn:i}=t,o=s=>{let a=s.name&&t.snippets[s.name];if(!a||r.includes(a))return null;let l;try{l=_f(a,t)}catch(u){return i?.(`Unable to parse "${a}" snippet`,u),null}r.push(a),bn(l,o),r.pop();for(let u of l.children){if(s.attributes){let c=u.attributes||[],f=s.attributes||[];u.attributes=n?f.concat(c):c.concat(f)}Yv(s,u)}return l};return bn(e,o),e}function bn(e,t,r){let n=[];for(let i of e.children){let o=t(i);if(o){n=n.concat(o.children);let s=Zv(o);Hf(s.node)&&(s.node.children=s.node.children.concat(bn(i,t)))}else n.push(i),i.children=bn(i,t)}return e.children=n}function Yv(e,t){e.selfClosing&&(t.selfClosing=!0),e.value!=null&&(t.value=e.value),e.repeat&&(t.repeat=e.repeat)}function Gf(e,t=0){return{options:e,value:"",level:t,offset:0,line:0,column:0}}function re(e,t){let r=e.options["output.text"];Zf(e,r(t,e.offset,e.line,e.column))}function G(e,t){let r=rx(t);for(let n=0,i=r.length-1;n<=i;n++)re(e,r[n]),n!==i&&Ee(e,!0)}function Ee(e,t){let r=e.options["output.baseIndent"],n=e.options["output.newline"];re(e,n+r),e.line++,e.column=r.length,t&&Kv(e,t===!0?e.level:t)}function Kv(e,t=e.level){let r=e.options["output.indent"];re(e,r.repeat(Math.max(t,0)))}function Lo(e,t,r){let n=e.options["output.field"];Zf(e,n(t,r,e.offset,e.line,e.column))}function ex(e,t){return Xf(e,t.options["output.tagCase"])}function Qf(e,t){return Xf(e,t.options["output.attributeCase"])}function yn(e,t,r){return e.valueType==="expression"?r?So:Eo:t.options["output.attributeQuotes"]==="single"?"'":'"'}function Jf(e,t){return e.boolean||t.options["output.booleanAttributes"].includes((e.name||"").toLowerCase())}function tx(e){switch(e.options["output.selfClosingStyle"]){case"xhtml":return" /";case"xml":return"/";default:return""}}function St(e,t){return typeof e=="string"?t.options.inlineElements.includes(e.toLowerCase()):e.name?St(e.name,t):!!(e.value&&!e.attributes)}function rx(e){return e.split(/\r\n|\r|\n/g)}function Zf(e,t){e.value+=t,e.offset+=t.length,e.column+=t.length}function Xf(e,t){return t?t==="upper"?e.toUpperCase():e.toLowerCase():e}function ix(e,t,r){!e.name&&e.attributes&&Yf(e,t,r)}function Yf(e,t,r){let n=sx(t),i=r.context?r.context.name:"",o=ox(n?n.name:i);e.name=nx[o]||(St(o,r)?"span":"div")}function ox(e){return(e||"").toLowerCase()}function sx(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Hf(r))return r}}function fx(e,t,r){let n;if(e.name&&(n=e.name.match(cx))){let i=lf[n[1]]||lf.latin,o=n[2]?Math.max(1,Number(n[2])):30,s=n[3]?Math.max(o,Number(n[3].slice(1))):o,a=qe(o,s),l=e.repeat||gx(t);e.name=e.attributes=void 0,e.value=[mx(i,a,!l||l.value===0)],e.repeat&&t.length>1&&Yf(e,t,r)}}function qe(e,t){return Math.floor(Math.random()*(t-e)+e)}function px(e,t){let r=e.length,n=Math.min(r,t),i=[];for(;i.length<n;){let o=e[qe(0,r)];i.includes(o)||i.push(o)}return i}function dx(e){return e[qe(0,e.length-1)]}function uf(e,t){return e.length&&(e=[hx(e[0])].concat(e.slice(1))),e.join(" ")+(t||dx("?!..."))}function hx(e){return e[0].toUpperCase()+e.slice(1)}function cf(e){if(e.length<2)return e;e=e.slice();let t=e.length,r=/,$/,n=0;t>3&&t<=6?n=qe(0,1):t>6&&t<=12?n=qe(0,2):n=qe(1,4);for(let i=0,o;i<n;i++)o=qe(0,t-2),r.test(e[o])||(e[o]+=",");return e}function mx(e,t,r){let n=[],i=0,o;for(r&&e.common&&(o=e.common.slice(0,t),i+=o.length,n.push(uf(cf(o),".")));i<t;)o=px(e.words,Math.min(qe(2,30),t-i)),i+=o.length,n.push(uf(cf(o)));return n.join(" ")}function gx(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r.type==="AbbreviationNode"&&r.repeat)return r.repeat}}function bx(e){vx(e.name)&&e.attributes&&(e.children.length||e.value)&&(e.attributes=e.attributes.filter(yx))}function yx(e){return e.name!=="select"}function vx(e){return e==="xsl:variable"||e==="xsl:with-param"}function kx(e,t,r){Ax(e),Sx(e,t,r)}function Ax(e){let t=_o(e),r=[];for(let n of t.classNames){let i=n.indexOf("_");i>0&&!n.startsWith("-")?(r.push(n.slice(0,i)),r.push(n.slice(i))):r.push(n)}r.length&&(t.classNames=r.filter(ip),t.block=rp(t.classNames),np(e,t.classNames.join(" ")))}function Sx(e,t,r){let n=_o(e),i=[],{options:o}=r,s=t.slice(1).concat(e);for(let l of n.classNames){let u="",c,f=l;(c=l.match(Kf))&&(u=ff(s,c[1].length,r.context)+o["bem.element"]+c[2],i.push(u),l=l.slice(c[0].length)),(c=l.match(ep))&&(u||(u=ff(s,c[1].length),i.push(u)),i.push(`${u}${o["bem.modifier"]}${c[2]}`),l=l.slice(c[0].length)),l===f&&i.push(f)}let a=i.filter(ip);a.length&&np(e,a.join(" "))}function _o(e){if(!e._bem){let t="";if(e.attributes){for(let r of e.attributes)if(r.name==="class"&&r.value){t=Tx(r.value);break}}e._bem=tp(t)}return e._bem}function Ex(e){return e._bem||(e._bem=tp(e.attributes&&e.attributes.class||"")),e._bem}function tp(e){let t=e?e.split(/\s+/):[];return{classNames:t,block:rp(t)}}function ff(e,t=0,r){let i=Math.max(e.length-t,0);do{let o=e[i];if(o){let s=_o(o);if(s.block)return s.block}}while(0<i--);if(r){let o=Ex(r);if(o.block)return o.block}return""}function rp(e){return pf(e,xx)||pf(e,wx)||void 0}function pf(e,t){for(let r of e){if(Kf.test(r)||ep.test(r))break;if(t(r))return r}}function np(e,t){for(let r of e.attributes)if(r.name==="class"){r.value=[t];break}}function Tx(e){let t="";for(let r of e)t+=typeof r=="string"?r:r.name;return t}function ip(e,t,r){return!!e&&r.indexOf(e)===t}function Cx(e){if(e.name==="label"){let t=Vf(e,r=>r.name==="input"||r.name==="textarea");t&&(e.attributes&&(e.attributes=e.attributes.filter(r=>!(r.name==="for"&&df(r)))),t.attributes&&(t.attributes=t.attributes.filter(r=>!(r.name==="id"&&df(r)))))}}function df(e){if(!e.value)return!0;if(e.value.length===1){let t=e.value[0];if(t&&typeof t!="string"&&!t.name)return!0}return!1}function op(e,t,r){let n=(o,s,a)=>{let{parent:l,current:u}=r;r.parent=u,r.current=o,t(o,s,a,r,i),r.current=u,r.parent=l},i=(o,s,a)=>{r.ancestors.push(r.current),n(o,s,a),r.ancestors.pop()};e.children.forEach(n)}function sp(e){return{current:null,parent:void 0,ancestors:[],config:e,field:1,out:Gf(e.options)}}function Qe(e){return e?!e.name&&!e.attributes:!1}function hf(e,t){return e?St(e,t):!1}function ap(e){return typeof e=="object"&&e.type==="Field"}function ye(e,t){let{out:r}=t,n=-1;for(let i of e)typeof i=="string"?G(r,i):(Lo(r,t.field+i.index,i.name),i.index>n&&(n=i.index));n!==-1&&(t.field+=n+1)}function Ox(e){let t=[],r=[];for(let n of e)if(typeof n=="string"){let i=n.split(/\r\n?|\n/g);for(r.push(i.shift()||"");i.length;)t.push(r),r=[i.shift()||""]}else r.push(n);return r.length&&t.push(r),t}function lp(e){return!e.implied||e.valueType!=="raw"||!!e.value&&e.value.length>0}function mf(e){let t=[],r={pos:0,text:e},n,i=r.pos,o=r.pos;for(;r.pos<r.text.length;)o=r.pos,(n=Px(r))?(i!==r.pos&&t.push(e.slice(i,o)),t.push(n),i=r.pos):r.pos++;return i!==r.pos&&t.push(e.slice(i)),t}function Px(e){if(yo(e)===Je.Start){let t=++e.pos,r=t,n=t,i=1;for(;e.pos<e.text.length;){let o=yo(e);if(up(o)){for(r=e.pos;Nx(yo(e));)e.pos++;n=e.pos}else{if(o===Je.Start)i++;else if(o===Je.End&&--i===0)return{before:e.text.slice(t,r),after:e.text.slice(n,e.pos++),name:e.text.slice(r,n)};e.pos++}}}}function yo(e,t=e.pos){return e.text.charCodeAt(t)}function up(e){return e>=65&&e<=90}function Nx(e){return up(e)||e>47&&e<58||e===Je.Underscore||e===Je.Dash}function $x(e){let{options:t}=e;return{enabled:t["comment.enabled"],trigger:t["comment.trigger"],before:t["comment.before"]?mf(t["comment.before"]):void 0,after:t["comment.after"]?mf(t["comment.after"]):void 0}}function Rx(e,t){cp(e,t)&&t.comment.before&&fp(e,t.comment.before,t)}function jx(e,t){cp(e,t)&&t.comment.after&&fp(e,t.comment.after,t)}function cp(e,t){let{comment:r}=t;if(!r.enabled||!r.trigger||!e.name||!e.attributes)return!1;for(let n of e.attributes)if(n.name&&r.trigger.includes(n.name))return!0;return!1}function fp(e,t,r){let n={},{out:i}=r;for(let o of e.attributes)o.name&&o.value&&(n[o.name.toUpperCase()]=o.value);for(let o of t)typeof o=="string"?G(i,o):n[o.name]&&(G(i,o.before),ye(n[o.name],r),G(i,o.after))}function pp(e,t){let r=sp(t);return r.comment=$x(t),op(e,Lx,r),r.out.value}function Lx(e,t,r,n,i){let{out:o,config:s}=n,a=dp(e,t,r,n),l=Dx(n);if(o.level+=l,a&&Ee(o,!0),e.name){let u=ex(e.name,s);if(Rx(e,n),G(o,`<${u}`),e.attributes)for(let c of e.attributes)lp(c)&&_x(c,n);if(e.selfClosing&&!e.children.length&&!e.value)G(o,`${tx(s)}>`);else{if(G(o,">"),!gf(e,n,i)){if(e.value){let c=e.value.some(hp)||qx(e.value,s);c&&Ee(n.out,++o.level),ye(e.value,n),c&&Ee(n.out,--o.level)}if(e.children.forEach(i),!e.value&&!e.children.length){let c=s.options["output.formatLeafNode"]||s.options["output.formatForce"].includes(e.name);c&&Ee(n.out,++o.level),ye(Tn,n),c&&Ee(n.out,--o.level)}}G(o,`</${u}>`),jx(e,n)}}else!gf(e,n,i)&&e.value&&(ye(e.value,n),e.children.forEach(i));if(a&&t===r.length-1&&n.parent){let u=Qe(n.parent)?0:1;Ee(o,o.level-u)}o.level-=l}function _x(e,t){let{out:r,config:n}=t;if(e.name){let i=n.options["markup.attributes"],o=n.options["markup.valuePrefix"],{name:s,value:a}=e,l=yn(e,n,!0),u=yn(e,n);i&&(s=bf(s,i,e.multiple)||s),s=Qf(s,n),n.options["jsx.enabled"]&&e.multiple&&(l=So,u=Eo);let c=o?bf(e.name,o,e.multiple):null;if(c&&a?.length===1&&typeof a[0]=="string"){let f=a[0];a=[Bx(f)?`${c}.${f}`:`${c}['${f}']`],n.options["jsx.enabled"]&&(l=So,u=Eo)}Jf(e,n)&&!a?n.options["output.compactBoolean"]||(a=[s]):a||(a=Tn),G(r," "+s),a?(G(r,"="+l),ye(a,t),G(r,u)):n.options["output.selfClosingStyle"]!=="html"&&G(r,"="+l+u)}}function gf(e,t,r){if(e.value&&e.children.length){let n=e.value.findIndex(ap);if(n!==-1){ye(e.value.slice(0,n),t);let i=t.out.line,o=n+1;return e.children.forEach(r),t.out.line!==i&&typeof e.value[o]=="string"&&G(t.out,e.value[o++].trimLeft()),ye(e.value.slice(o),t),!0}}return!1}function dp(e,t,r,n){let{config:i,parent:o}=n;if(!i.options["output.format"]||t===0&&!o||o&&Qe(o)&&r.length===1)return!1;if(Qe(e)&&(Qe(r[t-1])||Qe(r[t+1])||e.value.some(hp)||e.value.some(ap)&&e.children.length))return!0;if(St(e,i)){if(t===0){for(let s=0;s<r.length;s++)if(!St(r[s],i))return!0}else if(!St(r[t-1],i))return!0;if(i.options["output.inlineBreak"]){let s=1,a=t,l=t;for(;hf(r[--a],i);)s++;for(;hf(r[++l],i);)s++;if(s>=i.options["output.inlineBreak"])return!0}for(let s=0,a=e.children.length;s<a;s++)if(dp(e.children[s],s,e.children,n))return!0;return!1}return!0}function Dx(e){let{config:t,parent:r}=e;return!r||Qe(r)||r.name&&t.options["output.formatSkip"].includes(r.name)?0:1}function hp(e){return typeof e=="string"&&/\r|\n/.test(e)}function qx(e,t){if(e.length&&typeof e[0]=="string"){let r=Ix.exec(e[0]);if(r?.length&&!t.options.inlineElements.includes(r[1].toLowerCase()))return!0}return!1}function bf(e,t,r){return r&&t[`${e}*`]||t[e]}function Bx(e){return!Fx.has(e)&&/^[a-zA-Z_$][\w_$]*$/.test(e)}function Do(e,t,r){let n=sp(t);return n.options=r||{},op(e,zx,n),n.out.value}function zx(e,t,r,n,i){let{out:o,options:s}=n,{primary:a,secondary:l}=Ux(e),u=n.parent?1:0;o.level+=u,Qx(e,t,r,n)&&Ee(o,!0),e.name&&(e.name!=="div"||!a.length)&&G(o,(s.beforeName||"")+e.name+(s.afterName||"")),Mx(a,n),Wx(l.filter(lp),n),e.selfClosing&&!e.value&&!e.children.length?n.options.selfClose&&G(o,n.options.selfClose):(Vx(e,n),e.children.forEach(i)),o.level-=u}function Ux(e){let t=[],r=[];if(e.attributes)for(let n of e.attributes)Hx(n)?t.push(n):r.push(n);return{primary:t,secondary:r}}function Mx(e,t){for(let r of e)if(r.value)if(r.name==="class"){G(t.out,".");let n=r.value.map(i=>typeof i=="string"?i.replace(/\s+/g,"."):i);ye(n,t)}else G(t.out,"#"),ye(r.value,t)}function Wx(e,t){if(e.length){let{out:r,config:n,options:i}=t;i.beforeAttribute&&G(r,i.beforeAttribute);for(let o=0;o<e.length;o++){let s=e[o];G(r,Qf(s.name||"",n)),Jf(s,n)&&!s.value?!n.options["output.compactBoolean"]&&i.booleanValue&&G(r,"="+i.booleanValue):(G(r,"="+yn(s,n,!0)),ye(s.value||Tn,t),G(r,yn(s,n))),o!==e.length-1&&i.glueAttribute&&G(r,i.glueAttribute)}i.afterAttribute&&G(r,i.afterAttribute)}}function Vx(e,t){if(!e.value&&e.children.length)return;let r=e.value||Tn,n=Ox(r),{out:i,options:o}=t;if(n.length===1)(e.name||e.attributes)&&re(i," "),ye(r,t);else{let s=[],a=0;for(let l of n){let u=Gx(l);s.push(u),u>a&&(a=u)}i.level++;for(let l=0;l<n.length;l++)Ee(i,!0),o.beforeTextLine&&re(i,o.beforeTextLine),ye(n[l],t),o.afterTextLine&&(re(i," ".repeat(a-s[l])),re(i,o.afterTextLine));i.level--}}function Hx(e){return e.name==="class"||e.name==="id"}function Gx(e){let t=0;for(let r of e)t+=typeof r=="string"?r.length:r.name.length;return t}function Qx(e,t,r,n){return!n.parent&&t===0?!1:!Qe(e)}function Jx(e,t){return Do(e,t,{beforeName:"%",beforeAttribute:"(",afterAttribute:")",glueAttribute:" ",afterTextLine:" |",booleanValue:"true",selfClose:"/"})}function Zx(e,t){return Do(e,t,{beforeAttribute:" ",glueAttribute:" ",beforeTextLine:"| ",selfClose:"/"})}function Xx(e,t){return Do(e,t,{beforeAttribute:"(",afterAttribute:")",glueAttribute:", ",beforeTextLine:"| ",selfClose:t.options["output.selfClosingStyle"]==="xml"?"/":""})}function qo(e,t){let r;if(typeof e=="string"){let n=Object.assign({},t);t.options["jsx.enabled"]&&(n.jsx=!0),t.options["markup.href"]&&(n.href=!0),e=_f(e,n),r=t.text,t.text=void 0}return e=Xv(e,t),Jv(e,Kx,t),t.text=r??t.text,e}function Bo(e,t){return(Yx[t.syntax]||pp)(e,t)}function Kx(e,t,r){ix(e,t,r),Hv(e,r),fx(e,t,r),r.syntax==="xsl"&&bx(e),r.type==="markup"&&Cx(e),r.options["bem.enabled"]&&kx(e,t,r)}function rw(e,t){let r=t.match(ew);if(r){let n={},i=r[2]?r[2].split("|").map(ow):[];for(let o of i)for(let s of o)aw(s,n);return{type:$e.Property,key:e,property:r[1],value:i,keywords:n,dependencies:[]}}return{type:$e.Raw,key:e,value:t}}function nw(e){e=e.slice().sort(iw);let t=[],r;for(let n of e.filter(sw)){for(;t.length;){if(r=t[t.length-1],n.property.startsWith(r.property)&&n.property.charCodeAt(r.property.length)===45){r.dependencies.push(n),t.push(n);break}t.pop()}t.length||t.push(n)}return e}function iw(e,t){return e.key===t.key?0:e.key<t.key?-1:1}function ow(e){return Wf(e.trim(),tw)[0].value}function sw(e){return e.type===$e.Property}function aw(e,t){for(let r of e.value)if(r.type==="Literal")t[r.value]=r;else if(r.type==="FunctionCall")t[r.name]=r;else if(r.type==="Field"){let n=r.name.trim();n&&(t[n]={type:"Literal",value:n})}}function lw(e,t,r=!1){if(e=e.toLowerCase(),t=t.toLowerCase(),e===t)return 1;if(!e||!t||e.charCodeAt(0)!==t.charCodeAt(0))return 0;let n=e.length,i=t.length;if(!r&&n>i)return 0;let o=Math.min(n,i),s=Math.max(n,i),a=1,l=1,u=s,c=0,f=0,m=!1,d=!1;for(;a<n;){for(c=e.charCodeAt(a),m=!1,d=!1;l<i;){if(f=t.charCodeAt(l),c===f){m=!0,u+=s-(d?a:l);break}d=f===45,l++}if(!m){if(!r)return 0;break}a++}let v=a/s,b=s-o,A=yf(s)-yf(b);return u*v/A}function yf(e){return e*(e+1)/2}function mp(e,t){return!e.r&&!e.g&&!e.b&&!e.a?"transparent":e.a===1?uw(e,t):cw(e)}function uw(e,t){let r=t&&vo(e.r)&&vo(e.g)&&vo(e.b)?fw:pw;return"#"+r(e.r)+r(e.g)+r(e.b)}function cw(e){let t=[e.r,e.g,e.b];return e.a!==1&&t.push(gp(e.a,8)),`${t.length===3?"rgb":"rgba"}(${t.join(", ")})`}function gp(e,t=4){return e.toFixed(t).replace(/\.?0+$/,"")}function vo(e){return!(e%17)}function fw(e){return(e>>4).toString(16)}function pw(e){return dw(e.toString(16),2)}function dw(e,t){for(;e.length<t;)e="0"+e;return e}function zo(e,t){var r;let n=Gf(t.options),i=t.options["output.format"];((r=t.context)===null||r===void 0?void 0:r.name)===vn.Section&&(e=e.filter(o=>o.snippet));for(let o=0;o<e.length;o++)i&&o!==0&&Ee(n,!0),hw(e[o],n,t);return n.value}function hw(e,t,r){let n=r.options["stylesheet.json"];if(e.name){let i=n?bw(e.name):e.name;G(t,i+r.options["stylesheet.between"]),e.value.length?mw(e,t,r):Lo(t,0,""),n?re(t,","):(vf(e,t,!0),re(t,r.options["stylesheet.after"]))}else{for(let i of e.value)for(let o of i.value)yp(o,t,r);vf(e,t,e.value.length>0)}}function mw(e,t,r){let n=r.options["stylesheet.json"],i=n?gw(e):null;if(i&&(!i.unit||i.unit==="px"))re(t,String(i.value));else{let o=yw(r);n&&re(t,o);for(let s=0;s<e.value.length;s++)s!==0&&re(t,", "),bp(e.value[s],t,r);n&&re(t,o)}}function vf(e,t,r){e.important&&(r&&re(t," "),re(t,"!important"))}function bp(e,t,r){for(let n=0,i=-1;n<e.value.length;n++){let o=e.value[n];n!==0&&(o.type!=="Field"||o.start!==i)&&re(t," "),yp(o,t,r),i=o.end}}function yp(e,t,r){if(e.type==="ColorValue")re(t,mp(e,r.options["stylesheet.shortHex"]));else if(e.type==="Literal"||e.type==="CustomProperty")G(t,e.value);else if(e.type==="NumberValue")G(t,gp(e.value,4)+e.unit);else if(e.type==="StringValue"){let n=e.quote==="double"?'"':"'";G(t,n+e.value+n)}else if(e.type==="Field")Lo(t,e.index,e.name);else if(e.type==="FunctionCall"){re(t,e.name+"(");for(let n=0;n<e.arguments.length;n++)n&&re(t,", "),bp(e.arguments[n],t,r);re(t,")")}}function gw(e){if(e.value.length===1){let t=e.value[0];if(t.value.length===1&&t.value[0].type==="NumberValue")return t.value[0]}}function bw(e){return e.replace(/\-(\w)/g,(t,r)=>r.toUpperCase())}function yw(e){return e.options["stylesheet.jsonDoubleQuotes"]?'"':"'"}function Uo(e,t){var r;let n=((r=t.cache)===null||r===void 0?void 0:r.stylesheetSnippets)||vw(t.snippets),i=[];t.cache&&(t.cache.stylesheetSnippets=n),typeof e=="string"&&(e=Wf(e,{value:kp(t)}));let o=Cw(n,t);for(let s of e){let a=xw(s,o,t);a&&i.push(a)}return i}function vw(e){let t=[];for(let r of Object.keys(e))t.push(rw(r,e[r]));return nw(t)}function xw(e,t,r){if(!ww(e,r)){let n=r.options["stylesheet.fuzzySearchMinScore"];if(kp(r)){let i=r.context.name,o=t.find(s=>s.type===$e.Property&&s.property===i);vp(e,r,o,n),e.snippet=o}else if(e.name){let i=dn(e.name,t,n,!0);if(e.snippet=i,i){let o=i.type===$e.Property?kw(e,i,r):Aw(e,i);if(o)e=o;else if(r.options["stylesheet.strictMatch"])return null}}}return(e.name||r.context)&&Tw(e,r),e}function ww(e,t){let r=null,n=e.value.length===1?e.value[0]:null;if(n&&n.value.length===1){let i=n.value[0];i.type==="FunctionCall"&&i.name===xf&&(r=i)}return r||e.name===xf?(r?r=Object.assign(Object.assign({},r),{name:"linear-gradient"}):r={type:"FunctionCall",name:"linear-gradient",arguments:[xn(Ge(0,""))]},t.context||(e.name="background-image"),e.value=[xn(r)],!0):!1}function kw(e,t,r){let n=e.name,i=Ew(n,t.key);if(i){if(e.value.length)return null;let o=To(i,r,t);if(!o)return null;e.value.push(xn(o))}if(e.name=t.property,e.value.length)vp(e,r,t);else if(t.value.length){let o=t.value[0];e.value=t.value.length===1||o.some(xp)?o:o.map(s=>wp(s,r))}return e}function vp(e,t,r,n){for(let i of e.value){let o=[];for(let s of i.value)if(s.type==="Literal")o.push(To(s.value,t,r,n)||s);else if(s.type==="FunctionCall"){let a=To(s.name,t,r,n);a&&a.type==="FunctionCall"?o.push(Object.assign(Object.assign({},a),{arguments:s.arguments.concat(a.arguments.slice(s.arguments.length))})):o.push(s)}else o.push(s);i.value=o}}function Aw(e,t){let r=0,n,i=/\$\{(\d+)(:[^}]+)?\}/g,o=e.value[0],s=[];for(;n=i.exec(t.value);)r!==n.index&&s.push(Et(t.value.slice(r,n.index))),r=n.index+n[0].length,o&&o.value.length?s.push(o.value.shift()):s.push(Ge(Number(n[1]),n[2]?n[2].slice(1):""));let a=t.value.slice(r);return a&&s.push(Et(a)),e.name=void 0,e.value=[xn(...s)],e}function dn(e,t,r=0,n=!1){let i=null,o=0;for(let s of t){let a=lw(e,Sw(s),n);if(a===1)return s;a&&a>=o&&(o=a,i=s)}return o>=r?i:null}function Sw(e){return typeof e=="string"?e:e.key}function Ew(e,t){for(let r=0,n=0;r<e.length;r++){if(n=t.indexOf(e[r],n),n===-1)return e.slice(r);n++}return""}function To(e,t,r,n){let i;if(r){if(i=dn(e,Object.keys(r.keywords),n))return r.keywords[i];for(let o of r.dependencies)if(i=dn(e,Object.keys(o.keywords),n))return o.keywords[i]}return(i=dn(e,t.options["stylesheet.keywords"],n))?Et(i):null}function Tw(e,t){let r=t.options["stylesheet.unitAliases"],n=t.options["stylesheet.unitless"];for(let i of e.value)for(let o of i.value)o.type==="NumberValue"&&(o.unit?o.unit=r[o.unit]||o.unit:o.value!==0&&!n.includes(e.name)&&(o.unit=o.rawValue.includes(".")?t.options["stylesheet.floatUnit"]:t.options["stylesheet.intUnit"]))}function xn(...e){return{type:"CSSValue",value:e}}function Et(e){return{type:"Literal",value:e}}function Ge(e,t){return{type:"Field",index:e,name:t}}function xp(e){for(let t of e.value)if(t.type==="Field"||t.type==="FunctionCall"&&t.arguments.some(xp))return!0;return!1}function wp(e,t,r={index:1}){let n=[];for(let i of e.value)switch(i.type){case"ColorValue":n.push(Ge(r.index++,mp(i,t.options["stylesheet.shortHex"])));break;case"Literal":n.push(Ge(r.index++,i.value));break;case"NumberValue":n.push(Ge(r.index++,`${i.value}${i.unit}`));break;case"StringValue":let o=i.quote==="single"?"'":'"';n.push(Ge(r.index++,o+i.value+o));break;case"FunctionCall":n.push(Ge(r.index++,i.name),Et("("));for(let s=0,a=i.arguments.length;s<a;s++)n=n.concat(wp(i.arguments[s],t,r).value),s!==a-1&&n.push(Et(", "));n.push(Et(")"));break;default:n.push(i)}return Object.assign(Object.assign({},e),{value:n})}function kp(e){return e.context?e.context.name===vn.Value||!e.context.name.startsWith("@@"):!1}function Cw(e,t){if(t.context){if(t.context.name===vn.Section)return e.filter(r=>r.type===$e.Raw);if(t.context.name===vn.Property)return e.filter(r=>r.type===$e.Property)}return e}function pn(e){let t={};return Object.keys(e).forEach(r=>{for(let n of r.split("|"))t[n]=e[r]}),t}function lr(e={},t={}){let r=e.type||"markup",n=e.syntax||jw[r];return Object.assign(Object.assign(Object.assign({},Ap),e),{type:r,syntax:n,variables:xo(r,n,"variables",e,t),snippets:xo(r,n,"snippets",e,t),options:xo(r,n,"options",e,t)})}function xo(e,t,r,n,i={}){let o=wf[e],s=i[e],a=wf[t],l=i[t];return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ap[r]),o&&o[r]),a&&a[r]),s&&s[r]),l&&l[r]),n[r])}function Sp(e,t=0){return{text:e,start:t,pos:e.length}}function Re(e){return e.pos===e.start}function sr(e,t=0){return e.text.charCodeAt(e.pos-1+t)}function kf(e){if(!Re(e))return e.text.charCodeAt(--e.pos)}function me(e,t){if(Re(e))return!1;let r=typeof t=="function"?t(sr(e)):t===sr(e);return r&&e.pos--,!!r}function Ep(e,t){let r=e.pos;for(;me(e,t););return e.pos<r}function Mo(e){return e===ar.SingleQuote||e===ar.DoubleQuote}function Fw(e){let t=e.pos,r=kf(e);if(Mo(r)){for(;!Re(e);)if(kf(e)===r&&sr(e)!==ar.Escape)return!0}return e.pos=t,!1}function Lw(e){let t=e.pos;if(!me(e,pe.AngleRight))return!1;let r=!1;for(me(e,pe.Slash);!Re(e);){if(Ep(e,Co),wn(e)){if(me(e,pe.Slash)){r=me(e,pe.AngleLeft);break}else if(me(e,pe.AngleLeft)){r=!0;break}else{if(me(e,Co))continue;if(me(e,pe.Equals)){if(wn(e))continue;break}else if(Cp(e)){r=!0;break}}break}if(!_w(e))break}return e.pos=t,r}function _w(e){return Dw(e)||Cp(e)}function Dw(e){let t=e.pos;return Fw(e)&&me(e,pe.Equals)&&wn(e)?!0:(e.pos=t,!1)}function Cp(e){let t=e.pos,r=[];for(;!Re(e);){let n=sr(e);if(Ww(n))r.push(n);else if(Mw(n)){if(r.pop()!==Tp[n])break}else if(!Uw(n))break;e.pos--}return t!==e.pos&&me(e,pe.Equals)&&wn(e)?!0:(e.pos=t,!1)}function wn(e){return Ep(e,qw)}function qw(e){return e===pe.Colon||e===pe.Dash||Bw(e)||zw(e)}function Bw(e){return e&=-33,e>=65&&e<=90}function zw(e){return e>47&&e<58}function Co(e){return e===pe.Space||e===pe.Tab}function Uw(e){return!isNaN(e)&&e!==pe.Equals&&!Co(e)&&!Mo(e)}function Mw(e){return e===H.CurlyL||e===H.RoundL||e===H.SquareL}function Ww(e){return e===H.CurlyR||e===H.RoundR||e===H.SquareR}function Wo(e,t=e.length,r={}){let n=Object.assign(Object.assign({},Hw),r);t=Math.min(e.length,Math.max(0,t??e.length)),n.lookAhead&&(t=Gw(e,t,n));let i,o=Qw(e,t,n.prefix||"");if(o===-1)return;let s=Sp(e,o);s.pos=t;let a=[];for(;!Re(s);){if(i=sr(s),a.includes(H.CurlyR)){if(i===H.CurlyR){a.push(i),s.pos--;continue}if(i!==H.CurlyL){s.pos--;continue}}if(Pp(i,n.type))a.push(i);else if(Xw(i,n.type)){if(a.pop()!==Tp[i])break}else if(a.includes(H.SquareR)||a.includes(H.CurlyR)){s.pos--;continue}else if(Lw(s)||!Zw(i))break;s.pos--}if(!a.length&&s.pos!==t){let l=e.slice(s.pos,t).replace(/^[*+>^]+/,"");return{abbreviation:l,location:t-l.length,start:r.prefix?o-r.prefix.length:t-l.length,end:t}}}function Gw(e,t,r){for(Mo(e.charCodeAt(t))&&t++;Pp(e.charCodeAt(t),r.type);)t++;return t}function Qw(e,t,r){if(!r)return 0;let n=Sp(e),i=r.split("").map(Op);n.pos=t;let o;for(;!Re(n);)if(!(Af(n,H.SquareR,H.SquareL)||Af(n,H.CurlyR,H.CurlyL))){if(o=n.pos,Jw(n,i))return o;n.pos--}return-1}function Af(e,t,r){let n=e.pos;if(me(e,t))for(;!Re(e);){if(me(e,r))return!0;e.pos--}return e.pos=n,!1}function Jw(e,t){let r=e.pos,n=!1;for(let i=t.length-1;i>=0&&!Re(e)&&me(e,t[i]);i--)n=i===0;return n||(e.pos=r),n}function Zw(e){return e>64&&e<91||e>96&&e<123||e>47&&e<58||Vw.includes(e)}function Xw(e,t){return e===H.RoundL||t==="markup"&&(e===H.SquareL||e===H.CurlyL)}function Pp(e,t){return e===H.RoundR||t==="markup"&&(e===H.SquareR||e===H.CurlyR)}function ur(e,t){let r=lr(t);return r.type==="stylesheet"?Kw(e,r):Yw(e,r)}function Yw(e,t){return Bo(qo(e,t),t)}function Kw(e,t){return zo(Uo(e,t),t)}var hn,ir,B,uv,rf,cv,fv,be,V,So,Eo,nx,ax,lx,ux,lf,cx,Kf,ep,xx,wx,Tn,Je,Ix,Fx,Yx,$e,ew,tw,vn,xf,Ow,Pw,Nw,$w,Rw,jw,Iw,Ap,wf,ar,H,Tp,pe,Op,Vw,Hw,Np=he(()=>{"use strict";p();hn=class e{constructor(t,r,n){n==null&&typeof t=="string"&&(n=t.length),this.string=t,this.pos=this.start=r||0,this.end=n||0}eof(){return this.pos>=this.end}limit(t,r){return new e(this.string,t,r)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}backUp(t){this.pos-=t||1}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.string.slice(t,r)}error(t,r=this.pos){return new ir(`${t} at ${r+1}`,r,this.string)}},ir=class extends Error{constructor(t,r,n){super(t),this.pos=r,this.string=n}};(function(e){e[e.CurlyBracketOpen=123]="CurlyBracketOpen",e[e.CurlyBracketClose=125]="CurlyBracketClose",e[e.Escape=92]="Escape",e[e.Equals=61]="Equals",e[e.SquareBracketOpen=91]="SquareBracketOpen",e[e.SquareBracketClose=93]="SquareBracketClose",e[e.Asterisk=42]="Asterisk",e[e.Hash=35]="Hash",e[e.Dollar=36]="Dollar",e[e.Dash=45]="Dash",e[e.Dot=46]="Dot",e[e.Slash=47]="Slash",e[e.Colon=58]="Colon",e[e.Excl=33]="Excl",e[e.At=64]="At",e[e.Underscore=95]="Underscore",e[e.RoundBracketOpen=40]="RoundBracketOpen",e[e.RoundBracketClose=41]="RoundBracketClose",e[e.Sibling=43]="Sibling",e[e.Child=62]="Child",e[e.Climb=94]="Climb",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote"})(B||(B={}));uv={child:">",class:".",climb:"^",id:"#",equal:"=",close:"/",sibling:"+"},rf={Literal(e){return e.value},Quote(e){return e.single?"'":'"'},Bracket(e){return e.context==="attribute"?e.open?"[":"]":e.context==="expression"?e.open?"{":"}":e.open?"(":"}"},Operator(e){return uv[e.operator]},Field(e,t){return e.index!=null?e.name?`\${${e.index}:${e.name}}`:`\${${e.index}`:e.name?t.getVariable(e.name):""},RepeaterPlaceholder(e,t){let r;for(let n=t.repeaters.length-1;n>=0;n--)if(t.repeaters[n].implicit){r=t.repeaters[n];break}return t.inserted=!0,t.getText(r&&r.value)},RepeaterNumber(e,t){let r=1,n=t.repeaters.length-1,i=t.repeaters[n];if(i&&(r=e.reverse?e.base+i.count-i.value-1:e.base+i.value,e.parent)){let s=Math.max(0,n-e.parent);if(s!==n){let a=t.repeaters[s];r+=i.count*a.value}}let o=String(r);for(;o.length<e.size;)o="0"+o;return o},WhiteSpace(e){return e.value}};cv=/^((https?:|ftp:|file:)?\/\/|(www|ftp)\.)[^ ]*$/,fv=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,5}$/;(function(e){e.Sibling="+",e.Important="!",e.ArgumentDelimiter=",",e.ValueDelimiter="-",e.PropertyDelimiter=":"})(be||(be={}));(function(e){e[e.Hash=35]="Hash",e[e.Dollar=36]="Dollar",e[e.Dash=45]="Dash",e[e.Dot=46]="Dot",e[e.Colon=58]="Colon",e[e.Comma=44]="Comma",e[e.Excl=33]="Excl",e[e.At=64]="At",e[e.Percent=37]="Percent",e[e.Underscore=95]="Underscore",e[e.RoundBracketOpen=40]="RoundBracketOpen",e[e.RoundBracketClose=41]="RoundBracketClose",e[e.CurlyBracketOpen=123]="CurlyBracketOpen",e[e.CurlyBracketClose=125]="CurlyBracketClose",e[e.Sibling=43]="Sibling",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Transparent=116]="Transparent",e[e.Slash=47]="Slash"})(V||(V={}));So="{",Eo="}";nx={p:"span",ul:"li",ol:"li",table:"tr",tr:"td",tbody:"tr",thead:"tr",tfoot:"tr",colgroup:"col",select:"option",optgroup:"option",audio:"source",video:"source",object:"param",map:"area"};ax={common:["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit"],words:["exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]},lx={common:["\u0434\u0430\u043B\u0435\u043A\u043E-\u0434\u0430\u043B\u0435\u043A\u043E","\u0437\u0430","\u0441\u043B\u043E\u0432\u0435\u0441\u043D\u044B\u043C\u0438","\u0433\u043E\u0440\u0430\u043C\u0438","\u0432 \u0441\u0442\u0440\u0430\u043D\u0435","\u0433\u043B\u0430\u0441\u043D\u044B\u0445","\u0438 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B\u0445","\u0436\u0438\u0432\u0443\u0442","\u0440\u044B\u0431\u043D\u044B\u0435","\u0442\u0435\u043A\u0441\u0442\u044B"],words:["\u0432\u0434\u0430\u043B\u0438","\u043E\u0442 \u0432\u0441\u0435\u0445","\u043E\u043D\u0438","\u0431\u0443\u043A\u0432\u0435\u043D\u043D\u044B\u0445","\u0434\u043E\u043C\u0430\u0445","\u043D\u0430 \u0431\u0435\u0440\u0435\u0433\u0443","\u0441\u0435\u043C\u0430\u043D\u0442\u0438\u043A\u0430","\u0431\u043E\u043B\u044C\u0448\u043E\u0433\u043E","\u044F\u0437\u044B\u043A\u043E\u0432\u043E\u0433\u043E","\u043E\u043A\u0435\u0430\u043D\u0430","\u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439","\u0440\u0443\u0447\u0435\u0435\u043A","\u0434\u0430\u043B\u044C","\u0436\u0443\u0440\u0447\u0438\u0442","\u043F\u043E \u0432\u0441\u0435\u0439","\u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0432\u0430\u0435\u0442","\u0435\u0435","\u0432\u0441\u0435\u043C\u0438","\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u043C\u0438","\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u043C\u0438","\u044D\u0442\u0430","\u043F\u0430\u0440\u0430\u0434\u0438\u0433\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F","\u0441\u0442\u0440\u0430\u043D\u0430","\u043A\u043E\u0442\u043E\u0440\u043E\u0439","\u0436\u0430\u0440\u0435\u043D\u043D\u044B\u0435","\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F","\u0437\u0430\u043B\u0435\u0442\u0430\u044E\u0442","\u043F\u0440\u044F\u043C\u043E","\u0440\u043E\u0442","\u0434\u0430\u0436\u0435","\u0432\u0441\u0435\u043C\u043E\u0433\u0443\u0449\u0430\u044F","\u043F\u0443\u043D\u043A\u0442\u0443\u0430\u0446\u0438\u044F","\u043D\u0435","\u0438\u043C\u0435\u0435\u0442","\u0432\u043B\u0430\u0441\u0442\u0438","\u043D\u0430\u0434","\u0440\u044B\u0431\u043D\u044B\u043C\u0438","\u0442\u0435\u043A\u0441\u0442\u0430\u043C\u0438","\u0432\u0435\u0434\u0443\u0449\u0438\u043C\u0438","\u0431\u0435\u0437\u043E\u0440\u0444\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u043D\u044B\u0439","\u043E\u0431\u0440\u0430\u0437","\u0436\u0438\u0437\u043D\u0438","\u043E\u0434\u043D\u0430\u0436\u0434\u044B","\u043E\u0434\u043D\u0430","\u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0430\u044F","\u0441\u0442\u0440\u043E\u0447\u043A\u0430","\u0440\u044B\u0431\u043D\u043E\u0433\u043E","\u0442\u0435\u043A\u0441\u0442\u0430","\u0438\u043C\u0435\u043D\u0438","lorem","ipsum","\u0440\u0435\u0448\u0438\u043B\u0430","\u0432\u044B\u0439\u0442\u0438","\u0431\u043E\u043B\u044C\u0448\u043E\u0439","\u043C\u0438\u0440","\u0433\u0440\u0430\u043C\u043C\u0430\u0442\u0438\u043A\u0438","\u0432\u0435\u043B\u0438\u043A\u0438\u0439","\u043E\u043A\u0441\u043C\u043E\u043A\u0441","\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0430\u043B","\u043E","\u0437\u043B\u044B\u0445","\u0437\u0430\u043F\u044F\u0442\u044B\u0445","\u0434\u0438\u043A\u0438\u0445","\u0437\u043D\u0430\u043A\u0430\u0445","\u0432\u043E\u043F\u0440\u043E\u0441\u0430","\u043A\u043E\u0432\u0430\u0440\u043D\u044B\u0445","\u0442\u043E\u0447\u043A\u0430\u0445","\u0437\u0430\u043F\u044F\u0442\u043E\u0439","\u043D\u043E","\u0442\u0435\u043A\u0441\u0442","\u0434\u0430\u043B","\u0441\u0431\u0438\u0442\u044C","\u0441\u0435\u0431\u044F","\u0442\u043E\u043B\u043A\u0443","\u043E\u043D","\u0441\u043E\u0431\u0440\u0430\u043B","\u0441\u0435\u043C\u044C","\u0441\u0432\u043E\u0438\u0445","\u0437\u0430\u0433\u043B\u0430\u0432\u043D\u044B\u0445","\u0431\u0443\u043A\u0432","\u043F\u043E\u0434\u043F\u043E\u044F\u0441\u0430\u043B","\u0438\u043D\u0438\u0446\u0438\u0430\u043B","\u0437\u0430","\u043F\u043E\u044F\u0441","\u043F\u0443\u0441\u0442\u0438\u043B\u0441\u044F","\u0434\u043E\u0440\u043E\u0433\u0443","\u0432\u0437\u043E\u0431\u0440\u0430\u0432\u0448\u0438\u0441\u044C","\u043F\u0435\u0440\u0432\u0443\u044E","\u0432\u0435\u0440\u0448\u0438\u043D\u0443","\u043A\u0443\u0440\u0441\u0438\u0432\u043D\u044B\u0445","\u0433\u043E\u0440","\u0431\u0440\u043E\u0441\u0438\u043B","\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439","\u0432\u0437\u0433\u043B\u044F\u0434","\u043D\u0430\u0437\u0430\u0434","\u0441\u0438\u043B\u0443\u044D\u0442","\u0441\u0432\u043E\u0435\u0433\u043E","\u0440\u043E\u0434\u043D\u043E\u0433\u043E","\u0433\u043E\u0440\u043E\u0434\u0430","\u0431\u0443\u043A\u0432\u043E\u0433\u0440\u0430\u0434","\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A","\u0434\u0435\u0440\u0435\u0432\u043D\u0438","\u0430\u043B\u0444\u0430\u0432\u0438\u0442","\u043F\u043E\u0434\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A","\u0441\u0432\u043E\u0435\u0433\u043E","\u043F\u0435\u0440\u0435\u0443\u043B\u043A\u0430","\u0433\u0440\u0443\u0441\u0442\u043D\u044B\u0439","\u0440\u0435\u0442\u043E\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439","\u0432\u043E\u043F\u0440\u043E\u0441","\u0441\u043A\u0430\u0442\u0438\u043B\u0441\u044F","\u0435\u0433\u043E","\u0449\u0435\u043A\u0435","\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u043B","\u0441\u0432\u043E\u0439","\u043F\u0443\u0442\u044C","\u0434\u043E\u0440\u043E\u0433\u0435","\u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043B","\u0440\u0443\u043A\u043E\u043F\u0438\u0441\u044C","\u043E\u043D\u0430","\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0434\u0438\u043B\u0430","\u043C\u043E\u0435\u0439","\u0432\u0441\u0435","\u043F\u0435\u0440\u0435\u043F\u0438\u0441\u044B\u0432\u0430\u0435\u0442\u0441\u044F","\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E","\u0440\u0430\u0437","\u0435\u0434\u0438\u043D\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0435","\u0447\u0442\u043E","\u043C\u0435\u043D\u044F","\u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C","\u044D\u0442\u043E","\u043F\u0440\u0438\u0441\u0442\u0430\u0432\u043A\u0430","\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0439\u0441\u044F","\u0442\u044B","\u043B\u0443\u0447\u0448\u0435","\u0441\u0432\u043E\u044E","\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u0443\u044E","\u0441\u0442\u0440\u0430\u043D\u0443","\u043F\u043E\u0441\u043B\u0443\u0448\u0430\u0432\u0448\u0438\u0441\u044C","\u0440\u0443\u043A\u043E\u043F\u0438\u0441\u0438","\u043D\u0430\u0448","\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u043B","\u0441\u0432\u043E\u0439","\u043F\u0443\u0442\u044C","\u0432\u0441\u043A\u043E\u0440\u0435","\u0435\u043C\u0443","\u043F\u043E\u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043B\u0441\u044F","\u043A\u043E\u0432\u0430\u0440\u043D\u044B\u0439","\u0441\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C","\u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445","\u0442\u0435\u043A\u0441\u0442\u043E\u0432","\u043D\u0430\u043F\u043E\u0438\u0432\u0448\u0438\u0439","\u044F\u0437\u044B\u043A\u043E\u043C","\u0440\u0435\u0447\u044C\u044E","\u0437\u0430\u043C\u0430\u043D\u0438\u0432\u0448\u0438\u0439","\u0441\u0432\u043E\u0435","\u0430\u0433\u0435\u043D\u0442\u0441\u0442\u0432\u043E","\u043A\u043E\u0442\u043E\u0440\u043E\u0435","\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043B\u043E","\u0441\u043D\u043E\u0432\u0430","\u0441\u043D\u043E\u0432\u0430","\u0441\u0432\u043E\u0438\u0445","\u043F\u0440\u043E\u0435\u043A\u0442\u0430\u0445","\u0435\u0441\u043B\u0438","\u043F\u0435\u0440\u0435\u043F\u0438\u0441\u0430\u043B\u0438","\u0442\u043E","\u0436\u0438\u0432\u0435\u0442","\u0442\u0430\u043C","\u0434\u043E","\u0441\u0438\u0445","\u043F\u043E\u0440"]},ux={common:["mujer","uno","dolor","m\xE1s","de","poder","mismo","si"],words:["ejercicio","preferencia","perspicacia","laboral","pa\xF1o","suntuoso","molde","namibia","planeador","mirar","dem\xE1s","oficinista","excepci\xF3n","odio","consecuencia","casi","auto","chicharra","velo","elixir","ataque","no","odio","temporal","cu\xF3rum","dign\xEDsimo","facilismo","letra","nihilista","expedici\xF3n","alma","alveolar","aparte","le\xF3n","animal","como","paria","belleza","modo","natividad","justo","ataque","s\xE9quito","pillo","sed","ex","y","voluminoso","temporalidad","verdades","racional","asunci\xF3n","incidente","marejada","placenta","amanecer","fuga","previsor","presentaci\xF3n","lejos","necesariamente","sospechoso","adiposidad","quind\xEDo","p\xF3cima","voluble","d\xE9bito","sinti\xF3","accesorio","falda","sapiencia","volutas","queso","permacultura","laudo","soluciones","entero","pan","litro","tonelada","culpa","libertario","mosca","dictado","reincidente","nascimiento","dolor","escolar","impedimento","m\xEDnima","mayores","repugnante","dulce","obcecado","monta\xF1a","enigma","total","delet\xE9reo","d\xE9cima","c\xE1bala","fotograf\xEDa","dolores","molesto","olvido","paciencia","resiliencia","voluntad","molestias","magn\xEDfico","distinci\xF3n","ovni","marejada","cerro","torre","y","abogada","manantial","corporal","agua","crep\xFAsculo","ataque","desierto","laboriosamente","angustia","afortunado","alma","encefalograma","materialidad","cosas","o","renuncia","error","menos","conejo","abad\xEDa","analfabeto","remo","fugacidad","oficio","en","alm\xE1cigo","vos","pan","represi\xF3n","n\xFAmeros","triste","refugiado","trote","inventor","corchea","repelente","magma","recusado","patr\xF3n","expl\xEDcito","paloma","s\xEDndrome","inmune","autoinmune","comodidad","ley","vietnamita","demonio","tasmania","repeler","ap\xE9ndice","arquitecto","columna","yugo","computador","mula","a","prop\xF3sito","fantas\xEDa","alias","rayo","tenedor","deleznable","ventana","cara","anemia","corrupto"]},lf={ru:lx,sp:ux,latin:ax},cx=/^lorem([a-z]*)(\d*)(-\d*)?$/i;Kf=/^(-+)([a-z0-9]+[a-z0-9-]*)/i,ep=/^(_+)([a-z0-9]+[a-z0-9-_]*)/i,xx=e=>/^[a-z]\-/i.test(e),wx=e=>/^[a-z]/i.test(e);Tn=[{type:"Field",index:0,name:""}];(function(e){e[e.Start=91]="Start",e[e.End=93]="End",e[e.Underscore=95]="Underscore",e[e.Dash=45]="Dash"})(Je||(Je={}));Ix=/^<([\w\-:]+)[\s>]/,Fx=new Set(["for","while","of","async","await","const","let","var","continue","break","debugger","do","export","import","in","instanceof","new","return","switch","this","throw","try","catch","typeof","void","with","yield"]);Yx={html:pp,haml:Jx,slim:Zx,pug:Xx};(function(e){e.Raw="Raw",e.Property="Property"})($e||($e={}));ew=/^([a-z-]+)(?:\s*:\s*([^\n\r;]+?);*)?$/,tw={value:!0};vn={Global:"@@global",Section:"@@section",Property:"@@property",Value:"@@value"};xf="lg";Ow={a:"a[href]","a:blank":"a[href='http://${0}' target='_blank' rel='noopener noreferrer']","a:link":"a[href='http://${0}']","a:mail":"a[href='mailto:${0}']","a:tel":"a[href='tel:+${0}']",abbr:"abbr[title]","acr|acronym":"acronym[title]",base:"base[href]/",basefont:"basefont/",br:"br/",frame:"frame/",hr:"hr/",bdo:"bdo[dir]","bdo:r":"bdo[dir=rtl]","bdo:l":"bdo[dir=ltr]",col:"col/",link:"link[rel=stylesheet href]/","link:css":"link[href='${1:style}.css']","link:print":"link[href='${1:print}.css' media=print]","link:favicon":"link[rel='shortcut icon' type=image/x-icon href='${1:favicon.ico}']","link:mf|link:manifest":"link[rel='manifest' href='${1:manifest.json}']","link:touch":"link[rel=apple-touch-icon href='${1:favicon.png}']","link:rss":"link[rel=alternate type=application/rss+xml title=RSS href='${1:rss.xml}']","link:atom":"link[rel=alternate type=application/atom+xml title=Atom href='${1:atom.xml}']","link:im|link:import":"link[rel=import href='${1:component}.html']",meta:"meta/","meta:utf":"meta[http-equiv=Content-Type content='text/html;charset=UTF-8']","meta:vp":"meta[name=viewport content='width=${1:device-width}, initial-scale=${2:1.0}']","meta:compat":"meta[http-equiv=X-UA-Compatible content='${1:IE=7}']","meta:edge":"meta:compat[content='${1:ie=edge}']","meta:redirect":"meta[http-equiv=refresh content='0; url=${1:http://example.com}']","meta:refresh":"meta[http-equiv=refresh content='${1:5}']","meta:kw":"meta[name=keywords content]","meta:desc":"meta[name=description content]",style:"style",script:"script","script:src":"script[src]","script:module":"script[type=module src]",img:"img[src alt]/","img:s|img:srcset":"img[srcset src alt]","img:z|img:sizes":"img[sizes srcset src alt]",picture:"picture","src|source":"source/","src:sc|source:src":"source[src type]","src:s|source:srcset":"source[srcset]","src:t|source:type":"source[srcset type='${1:image/}']","src:z|source:sizes":"source[sizes srcset]","src:m|source:media":"source[media='(${1:min-width: })' srcset]","src:mt|source:media:type":"source:media[type='${2:image/}']","src:mz|source:media:sizes":"source:media[sizes srcset]","src:zt|source:sizes:type":"source[sizes srcset type='${1:image/}']",iframe:"iframe[src frameborder=0]",embed:"embed[src type]/",object:"object[data type]",param:"param[name value]/",map:"map[name]",area:"area[shape coords href alt]/","area:d":"area[shape=default]","area:c":"area[shape=circle]","area:r":"area[shape=rect]","area:p":"area[shape=poly]",form:"form[action]","form:get":"form[method=get]","form:post":"form[method=post]",label:"label[for]",input:"input[type=${1:text}]/",inp:"input[name=${1} id=${1}]","input:h|input:hidden":"input[type=hidden name]","input:t|input:text":"inp[type=text]","input:search":"inp[type=search]","input:email":"inp[type=email]","input:url":"inp[type=url]","input:p|input:password":"inp[type=password]","input:datetime":"inp[type=datetime]","input:date":"inp[type=date]","input:datetime-local":"inp[type=datetime-local]","input:month":"inp[type=month]","input:week":"inp[type=week]","input:time":"inp[type=time]","input:tel":"inp[type=tel]","input:number":"inp[type=number]","input:color":"inp[type=color]","input:c|input:checkbox":"inp[type=checkbox]","input:r|input:radio":"inp[type=radio]","input:range":"inp[type=range]","input:f|input:file":"inp[type=file]","input:s|input:submit":"input[type=submit value]","input:i|input:image":"input[type=image src alt]","input:b|input:btn|input:button":"input[type=button value]","input:reset":"input:button[type=reset]",isindex:"isindex/",select:"select[name=${1} id=${1}]","select:d|select:disabled":"select[disabled.]","opt|option":"option[value]",textarea:"textarea[name=${1} id=${1}]","tarea:c|textarea:cols":"textarea[name=${1} id=${1} cols=${2:30}]","tarea:r|textarea:rows":"textarea[name=${1} id=${1} rows=${3:10}]","tarea:cr|textarea:cols:rows":"textarea[name=${1} id=${1} cols=${2:30} rows=${3:10}]",marquee:"marquee[behavior direction]","menu:c|menu:context":"menu[type=context]","menu:t|menu:toolbar":"menu[type=toolbar]",video:"video[src]",audio:"audio[src]","html:xml":"html[xmlns=http://www.w3.org/1999/xhtml]",keygen:"keygen/",command:"command/","btn:s|button:s|button:submit":"button[type=submit]","btn:r|button:r|button:reset":"button[type=reset]","btn:b|button:b|button:button":"button[type=button]","btn:d|button:d|button:disabled":"button[disabled.]","fst:d|fset:d|fieldset:d|fieldset:disabled":"fieldset[disabled.]",bq:"blockquote",fig:"figure",figc:"figcaption",pic:"picture",ifr:"iframe",emb:"embed",obj:"object",cap:"caption",colg:"colgroup",fst:"fieldset",btn:"button",optg:"optgroup",tarea:"textarea",leg:"legend",sect:"section",art:"article",hdr:"header",ftr:"footer",adr:"address",dlg:"dialog",str:"strong",prog:"progress",mn:"main",tem:"template",fset:"fieldset",datal:"datalist",kg:"keygen",out:"output",det:"details",sum:"summary",cmd:"command",data:"data[value]",meter:"meter[value]",time:"time[datetime]","ri:d|ri:dpr":"img:s","ri:v|ri:viewport":"img:z","ri:a|ri:art":"pic>src:m+img","ri:t|ri:type":"pic>src:t+img","!!!":"{<!DOCTYPE html>}",doc:"html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body","!|html:5":"!!!+doc",c:"{<!-- ${0} -->}","cc:ie":"{<!--[if IE]>${0}<![endif]-->}","cc:noie":"{<!--[if !IE]><!-->${0}<!--<![endif]-->}"},Pw={"@f":`@font-face {
|
|
20
|
+
${"-".repeat(r.pos)}^`),r}}function Ox(e,t){if(!e.attributes)return;let r=[],n={};for(let i of e.attributes)if(i.name){let o=i.name;if(o in n){let s=n[o];o==="class"?s.value=Px(s.value,i.value," "):Nx(s,i,t)}else r.push(n[o]=Object.assign({},i))}else r.push(i);e.attributes=r}function Px(e,t,r){if(e&&t){e.length&&r&&Cf(e,r);for(let i of t)Cf(e,i);return e}let n=e||t;return n&&n.slice()}function Nx(e,t,r){return e.name=t.name,r.options["output.reverseAttributes"]||(e.value=t.value),e.implied||(e.implied=t.implied),e.boolean||(e.boolean=t.boolean),e.valueType!=="expression"&&(e.valueType=t.valueType),e}function Cf(e,t){let r=e.length-1;typeof e[r]=="string"&&typeof t=="string"?e[r]+=t:e.push(t)}function $x(e,t,r){let n=[e],i=o=>{t(o,n,r),n.push(o),o.children.forEach(i),n.pop()};e.children.forEach(i)}function fp(e,t){for(let r=0;r<e.children.length;r++){let n=e.children[r];if(t(n))return n;let i=fp(n,t);if(i)return i}}function Rx(e){let t;for(;e.children.length;)t=e,e=e.children[e.children.length-1];return{parent:t,node:e}}function pp(e){return e.type==="AbbreviationNode"}function jx(e,t){let r=[],n=t.options["output.reverseAttributes"],{warn:i}=t,o=s=>{let a=s.name&&t.snippets[s.name];if(!a||r.includes(a))return null;let l;try{l=np(a,t)}catch(u){return i?.(`Unable to parse "${a}" snippet`,u),null}r.push(a),Sn(l,o),r.pop();for(let u of l.children){if(s.attributes){let c=u.attributes||[],f=s.attributes||[];u.attributes=n?f.concat(c):c.concat(f)}Ix(s,u)}return l};return Sn(e,o),e}function Sn(e,t,r){let n=[];for(let i of e.children){let o=t(i);if(o){n=n.concat(o.children);let s=Rx(o);pp(s.node)&&(s.node.children=s.node.children.concat(Sn(i,t)))}else n.push(i),i.children=Sn(i,t)}return e.children=n}function Ix(e,t){e.selfClosing&&(t.selfClosing=!0),e.value!=null&&(t.value=e.value),e.repeat&&(t.repeat=e.repeat)}function dp(e,t=0){return{options:e,value:"",level:t,offset:0,line:0,column:0}}function re(e,t){let r=e.options["output.text"];gp(e,r(t,e.offset,e.line,e.column))}function G(e,t){let r=Dx(t);for(let n=0,i=r.length-1;n<=i;n++)re(e,r[n]),n!==i&&Te(e,!0)}function Te(e,t){let r=e.options["output.baseIndent"],n=e.options["output.newline"];re(e,n+r),e.line++,e.column=r.length,t&&Lx(e,t===!0?e.level:t)}function Lx(e,t=e.level){let r=e.options["output.indent"];re(e,r.repeat(Math.max(t,0)))}function Mo(e,t,r){let n=e.options["output.field"];gp(e,n(t,r,e.offset,e.line,e.column))}function Fx(e,t){return bp(e,t.options["output.tagCase"])}function hp(e,t){return bp(e,t.options["output.attributeCase"])}function Tn(e,t,r){return e.valueType==="expression"?r?$o:Ro:t.options["output.attributeQuotes"]==="single"?"'":'"'}function mp(e,t){return e.boolean||t.options["output.booleanAttributes"].includes((e.name||"").toLowerCase())}function _x(e){switch(e.options["output.selfClosingStyle"]){case"xhtml":return" /";case"xml":return"/";default:return""}}function St(e,t){return typeof e=="string"?t.options.inlineElements.includes(e.toLowerCase()):e.name?St(e.name,t):!!(e.value&&!e.attributes)}function Dx(e){return e.split(/\r\n|\r|\n/g)}function gp(e,t){e.value+=t,e.offset+=t.length,e.column+=t.length}function bp(e,t){return t?t==="upper"?e.toUpperCase():e.toLowerCase():e}function Bx(e,t,r){!e.name&&e.attributes&&yp(e,t,r)}function yp(e,t,r){let n=Ux(t),i=r.context?r.context.name:"",o=zx(n?n.name:i);e.name=qx[o]||(St(o,r)?"span":"div")}function zx(e){return(e||"").toLowerCase()}function Ux(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(pp(r))return r}}function Gx(e,t,r){let n;if(e.name&&(n=e.name.match(Hx))){let i=Of[n[1]]||Of.latin,o=n[2]?Math.max(1,Number(n[2])):30,s=n[3]?Math.max(o,Number(n[3].slice(1))):o,a=qe(o,s),l=e.repeat||Yx(t);e.name=e.attributes=void 0,e.value=[Xx(i,a,!l||l.value===0)],e.repeat&&t.length>1&&yp(e,t,r)}}function qe(e,t){return Math.floor(Math.random()*(t-e)+e)}function Qx(e,t){let r=e.length,n=Math.min(r,t),i=[];for(;i.length<n;){let o=e[qe(0,r)];i.includes(o)||i.push(o)}return i}function Jx(e){return e[qe(0,e.length-1)]}function Pf(e,t){return e.length&&(e=[Zx(e[0])].concat(e.slice(1))),e.join(" ")+(t||Jx("?!..."))}function Zx(e){return e[0].toUpperCase()+e.slice(1)}function Nf(e){if(e.length<2)return e;e=e.slice();let t=e.length,r=/,$/,n=0;t>3&&t<=6?n=qe(0,1):t>6&&t<=12?n=qe(0,2):n=qe(1,4);for(let i=0,o;i<n;i++)o=qe(0,t-2),r.test(e[o])||(e[o]+=",");return e}function Xx(e,t,r){let n=[],i=0,o;for(r&&e.common&&(o=e.common.slice(0,t),i+=o.length,n.push(Pf(Nf(o),".")));i<t;)o=Qx(e.words,Math.min(qe(2,30),t-i)),i+=o.length,n.push(Pf(Nf(o)));return n.join(" ")}function Yx(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r.type==="AbbreviationNode"&&r.repeat)return r.repeat}}function Kx(e){tw(e.name)&&e.attributes&&(e.children.length||e.value)&&(e.attributes=e.attributes.filter(ew))}function ew(e){return e.name!=="select"}function tw(e){return e==="xsl:variable"||e==="xsl:with-param"}function iw(e,t,r){ow(e),sw(e,t,r)}function ow(e){let t=Wo(e),r=[];for(let n of t.classNames){let i=n.indexOf("_");i>0&&!n.startsWith("-")?(r.push(n.slice(0,i)),r.push(n.slice(i))):r.push(n)}r.length&&(t.classNames=r.filter(Sp),t.block=kp(t.classNames),Ap(e,t.classNames.join(" ")))}function sw(e,t,r){let n=Wo(e),i=[],{options:o}=r,s=t.slice(1).concat(e);for(let l of n.classNames){let u="",c,f=l;(c=l.match(vp))&&(u=$f(s,c[1].length,r.context)+o["bem.element"]+c[2],i.push(u),l=l.slice(c[0].length)),(c=l.match(xp))&&(u||(u=$f(s,c[1].length),i.push(u)),i.push(`${u}${o["bem.modifier"]}${c[2]}`),l=l.slice(c[0].length)),l===f&&i.push(f)}let a=i.filter(Sp);a.length&&Ap(e,a.join(" "))}function Wo(e){if(!e._bem){let t="";if(e.attributes){for(let r of e.attributes)if(r.name==="class"&&r.value){t=lw(r.value);break}}e._bem=wp(t)}return e._bem}function aw(e){return e._bem||(e._bem=wp(e.attributes&&e.attributes.class||"")),e._bem}function wp(e){let t=e?e.split(/\s+/):[];return{classNames:t,block:kp(t)}}function $f(e,t=0,r){let i=Math.max(e.length-t,0);do{let o=e[i];if(o){let s=Wo(o);if(s.block)return s.block}}while(0<i--);if(r){let o=aw(r);if(o.block)return o.block}return""}function kp(e){return Rf(e,rw)||Rf(e,nw)||void 0}function Rf(e,t){for(let r of e){if(vp.test(r)||xp.test(r))break;if(t(r))return r}}function Ap(e,t){for(let r of e.attributes)if(r.name==="class"){r.value=[t];break}}function lw(e){let t="";for(let r of e)t+=typeof r=="string"?r:r.name;return t}function Sp(e,t,r){return!!e&&r.indexOf(e)===t}function uw(e){if(e.name==="label"){let t=fp(e,r=>r.name==="input"||r.name==="textarea");t&&(e.attributes&&(e.attributes=e.attributes.filter(r=>!(r.name==="for"&&jf(r)))),t.attributes&&(t.attributes=t.attributes.filter(r=>!(r.name==="id"&&jf(r)))))}}function jf(e){if(!e.value)return!0;if(e.value.length===1){let t=e.value[0];if(t&&typeof t!="string"&&!t.name)return!0}return!1}function Tp(e,t,r){let n=(o,s,a)=>{let{parent:l,current:u}=r;r.parent=u,r.current=o,t(o,s,a,r,i),r.current=u,r.parent=l},i=(o,s,a)=>{r.ancestors.push(r.current),n(o,s,a),r.ancestors.pop()};e.children.forEach(n)}function Ep(e){return{current:null,parent:void 0,ancestors:[],config:e,field:1,out:dp(e.options)}}function Je(e){return e?!e.name&&!e.attributes:!1}function If(e,t){return e?St(e,t):!1}function Cp(e){return typeof e=="object"&&e.type==="Field"}function ye(e,t){let{out:r}=t,n=-1;for(let i of e)typeof i=="string"?G(r,i):(Mo(r,t.field+i.index,i.name),i.index>n&&(n=i.index));n!==-1&&(t.field+=n+1)}function cw(e){let t=[],r=[];for(let n of e)if(typeof n=="string"){let i=n.split(/\r\n?|\n/g);for(r.push(i.shift()||"");i.length;)t.push(r),r=[i.shift()||""]}else r.push(n);return r.length&&t.push(r),t}function Op(e){return!e.implied||e.valueType!=="raw"||!!e.value&&e.value.length>0}function Lf(e){let t=[],r={pos:0,text:e},n,i=r.pos,o=r.pos;for(;r.pos<r.text.length;)o=r.pos,(n=fw(r))?(i!==r.pos&&t.push(e.slice(i,o)),t.push(n),i=r.pos):r.pos++;return i!==r.pos&&t.push(e.slice(i)),t}function fw(e){if(To(e)===Ze.Start){let t=++e.pos,r=t,n=t,i=1;for(;e.pos<e.text.length;){let o=To(e);if(Pp(o)){for(r=e.pos;pw(To(e));)e.pos++;n=e.pos}else{if(o===Ze.Start)i++;else if(o===Ze.End&&--i===0)return{before:e.text.slice(t,r),after:e.text.slice(n,e.pos++),name:e.text.slice(r,n)};e.pos++}}}}function To(e,t=e.pos){return e.text.charCodeAt(t)}function Pp(e){return e>=65&&e<=90}function pw(e){return Pp(e)||e>47&&e<58||e===Ze.Underscore||e===Ze.Dash}function dw(e){let{options:t}=e;return{enabled:t["comment.enabled"],trigger:t["comment.trigger"],before:t["comment.before"]?Lf(t["comment.before"]):void 0,after:t["comment.after"]?Lf(t["comment.after"]):void 0}}function hw(e,t){Np(e,t)&&t.comment.before&&$p(e,t.comment.before,t)}function mw(e,t){Np(e,t)&&t.comment.after&&$p(e,t.comment.after,t)}function Np(e,t){let{comment:r}=t;if(!r.enabled||!r.trigger||!e.name||!e.attributes)return!1;for(let n of e.attributes)if(n.name&&r.trigger.includes(n.name))return!0;return!1}function $p(e,t,r){let n={},{out:i}=r;for(let o of e.attributes)o.name&&o.value&&(n[o.name.toUpperCase()]=o.value);for(let o of t)typeof o=="string"?G(i,o):n[o.name]&&(G(i,o.before),ye(n[o.name],r),G(i,o.after))}function Rp(e,t){let r=Ep(t);return r.comment=dw(t),Tp(e,yw,r),r.out.value}function yw(e,t,r,n,i){let{out:o,config:s}=n,a=jp(e,t,r,n),l=xw(n);if(o.level+=l,a&&Te(o,!0),e.name){let u=Fx(e.name,s);if(hw(e,n),G(o,`<${u}`),e.attributes)for(let c of e.attributes)Op(c)&&vw(c,n);if(e.selfClosing&&!e.children.length&&!e.value)G(o,`${_x(s)}>`);else{if(G(o,">"),!Ff(e,n,i)){if(e.value){let c=e.value.some(Ip)||ww(e.value,s);c&&Te(n.out,++o.level),ye(e.value,n),c&&Te(n.out,--o.level)}if(e.children.forEach(i),!e.value&&!e.children.length){let c=s.options["output.formatLeafNode"]||s.options["output.formatForce"].includes(e.name);c&&Te(n.out,++o.level),ye(jn,n),c&&Te(n.out,--o.level)}}G(o,`</${u}>`),mw(e,n)}}else!Ff(e,n,i)&&e.value&&(ye(e.value,n),e.children.forEach(i));if(a&&t===r.length-1&&n.parent){let u=Je(n.parent)?0:1;Te(o,o.level-u)}o.level-=l}function vw(e,t){let{out:r,config:n}=t;if(e.name){let i=n.options["markup.attributes"],o=n.options["markup.valuePrefix"],{name:s,value:a}=e,l=Tn(e,n,!0),u=Tn(e,n);i&&(s=_f(s,i,e.multiple)||s),s=hp(s,n),n.options["jsx.enabled"]&&e.multiple&&(l=$o,u=Ro);let c=o?_f(e.name,o,e.multiple):null;if(c&&a?.length===1&&typeof a[0]=="string"){let f=a[0];a=[kw(f)?`${c}.${f}`:`${c}['${f}']`],n.options["jsx.enabled"]&&(l=$o,u=Ro)}mp(e,n)&&!a?n.options["output.compactBoolean"]||(a=[s]):a||(a=jn),G(r," "+s),a?(G(r,"="+l),ye(a,t),G(r,u)):n.options["output.selfClosingStyle"]!=="html"&&G(r,"="+l+u)}}function Ff(e,t,r){if(e.value&&e.children.length){let n=e.value.findIndex(Cp);if(n!==-1){ye(e.value.slice(0,n),t);let i=t.out.line,o=n+1;return e.children.forEach(r),t.out.line!==i&&typeof e.value[o]=="string"&&G(t.out,e.value[o++].trimLeft()),ye(e.value.slice(o),t),!0}}return!1}function jp(e,t,r,n){let{config:i,parent:o}=n;if(!i.options["output.format"]||t===0&&!o||o&&Je(o)&&r.length===1)return!1;if(Je(e)&&(Je(r[t-1])||Je(r[t+1])||e.value.some(Ip)||e.value.some(Cp)&&e.children.length))return!0;if(St(e,i)){if(t===0){for(let s=0;s<r.length;s++)if(!St(r[s],i))return!0}else if(!St(r[t-1],i))return!0;if(i.options["output.inlineBreak"]){let s=1,a=t,l=t;for(;If(r[--a],i);)s++;for(;If(r[++l],i);)s++;if(s>=i.options["output.inlineBreak"])return!0}for(let s=0,a=e.children.length;s<a;s++)if(jp(e.children[s],s,e.children,n))return!0;return!1}return!0}function xw(e){let{config:t,parent:r}=e;return!r||Je(r)||r.name&&t.options["output.formatSkip"].includes(r.name)?0:1}function Ip(e){return typeof e=="string"&&/\r|\n/.test(e)}function ww(e,t){if(e.length&&typeof e[0]=="string"){let r=gw.exec(e[0]);if(r?.length&&!t.options.inlineElements.includes(r[1].toLowerCase()))return!0}return!1}function _f(e,t,r){return r&&t[`${e}*`]||t[e]}function kw(e){return!bw.has(e)&&/^[a-zA-Z_$][\w_$]*$/.test(e)}function Vo(e,t,r){let n=Ep(t);return n.options=r||{},Tp(e,Aw,n),n.out.value}function Aw(e,t,r,n,i){let{out:o,options:s}=n,{primary:a,secondary:l}=Sw(e),u=n.parent?1:0;o.level+=u,Nw(e,t,r,n)&&Te(o,!0),e.name&&(e.name!=="div"||!a.length)&&G(o,(s.beforeName||"")+e.name+(s.afterName||"")),Tw(a,n),Ew(l.filter(Op),n),e.selfClosing&&!e.value&&!e.children.length?n.options.selfClose&&G(o,n.options.selfClose):(Cw(e,n),e.children.forEach(i)),o.level-=u}function Sw(e){let t=[],r=[];if(e.attributes)for(let n of e.attributes)Ow(n)?t.push(n):r.push(n);return{primary:t,secondary:r}}function Tw(e,t){for(let r of e)if(r.value)if(r.name==="class"){G(t.out,".");let n=r.value.map(i=>typeof i=="string"?i.replace(/\s+/g,"."):i);ye(n,t)}else G(t.out,"#"),ye(r.value,t)}function Ew(e,t){if(e.length){let{out:r,config:n,options:i}=t;i.beforeAttribute&&G(r,i.beforeAttribute);for(let o=0;o<e.length;o++){let s=e[o];G(r,hp(s.name||"",n)),mp(s,n)&&!s.value?!n.options["output.compactBoolean"]&&i.booleanValue&&G(r,"="+i.booleanValue):(G(r,"="+Tn(s,n,!0)),ye(s.value||jn,t),G(r,Tn(s,n))),o!==e.length-1&&i.glueAttribute&&G(r,i.glueAttribute)}i.afterAttribute&&G(r,i.afterAttribute)}}function Cw(e,t){if(!e.value&&e.children.length)return;let r=e.value||jn,n=cw(r),{out:i,options:o}=t;if(n.length===1)(e.name||e.attributes)&&re(i," "),ye(r,t);else{let s=[],a=0;for(let l of n){let u=Pw(l);s.push(u),u>a&&(a=u)}i.level++;for(let l=0;l<n.length;l++)Te(i,!0),o.beforeTextLine&&re(i,o.beforeTextLine),ye(n[l],t),o.afterTextLine&&(re(i," ".repeat(a-s[l])),re(i,o.afterTextLine));i.level--}}function Ow(e){return e.name==="class"||e.name==="id"}function Pw(e){let t=0;for(let r of e)t+=typeof r=="string"?r.length:r.name.length;return t}function Nw(e,t,r,n){return!n.parent&&t===0?!1:!Je(e)}function $w(e,t){return Vo(e,t,{beforeName:"%",beforeAttribute:"(",afterAttribute:")",glueAttribute:" ",afterTextLine:" |",booleanValue:"true",selfClose:"/"})}function Rw(e,t){return Vo(e,t,{beforeAttribute:" ",glueAttribute:" ",beforeTextLine:"| ",selfClose:"/"})}function jw(e,t){return Vo(e,t,{beforeAttribute:"(",afterAttribute:")",glueAttribute:", ",beforeTextLine:"| ",selfClose:t.options["output.selfClosingStyle"]==="xml"?"/":""})}function Ho(e,t){let r;if(typeof e=="string"){let n=Object.assign({},t);t.options["jsx.enabled"]&&(n.jsx=!0),t.options["markup.href"]&&(n.href=!0),e=np(e,n),r=t.text,t.text=void 0}return e=jx(e,t),$x(e,Lw,t),t.text=r??t.text,e}function Go(e,t){return(Iw[t.syntax]||Rp)(e,t)}function Lw(e,t,r){Bx(e,t,r),Ox(e,r),Gx(e,t,r),r.syntax==="xsl"&&Kx(e),r.type==="markup"&&uw(e),r.options["bem.enabled"]&&iw(e,t,r)}function Dw(e,t){let r=t.match(Fw);if(r){let n={},i=r[2]?r[2].split("|").map(zw):[];for(let o of i)for(let s of o)Mw(s,n);return{type:$e.Property,key:e,property:r[1],value:i,keywords:n,dependencies:[]}}return{type:$e.Raw,key:e,value:t}}function qw(e){e=e.slice().sort(Bw);let t=[],r;for(let n of e.filter(Uw)){for(;t.length;){if(r=t[t.length-1],n.property.startsWith(r.property)&&n.property.charCodeAt(r.property.length)===45){r.dependencies.push(n),t.push(n);break}t.pop()}t.length||t.push(n)}return e}function Bw(e,t){return e.key===t.key?0:e.key<t.key?-1:1}function zw(e){return cp(e.trim(),_w)[0].value}function Uw(e){return e.type===$e.Property}function Mw(e,t){for(let r of e.value)if(r.type==="Literal")t[r.value]=r;else if(r.type==="FunctionCall")t[r.name]=r;else if(r.type==="Field"){let n=r.name.trim();n&&(t[n]={type:"Literal",value:n})}}function Ww(e,t,r=!1){if(e=e.toLowerCase(),t=t.toLowerCase(),e===t)return 1;if(!e||!t||e.charCodeAt(0)!==t.charCodeAt(0))return 0;let n=e.length,i=t.length;if(!r&&n>i)return 0;let o=Math.min(n,i),s=Math.max(n,i),a=1,l=1,u=s,c=0,f=0,m=!1,d=!1;for(;a<n;){for(c=e.charCodeAt(a),m=!1,d=!1;l<i;){if(f=t.charCodeAt(l),c===f){m=!0,u+=s-(d?a:l);break}d=f===45,l++}if(!m){if(!r)return 0;break}a++}let v=a/s,b=s-o,A=Df(s)-Df(b);return u*v/A}function Df(e){return e*(e+1)/2}function Lp(e,t){return!e.r&&!e.g&&!e.b&&!e.a?"transparent":e.a===1?Vw(e,t):Hw(e)}function Vw(e,t){let r=t&&Eo(e.r)&&Eo(e.g)&&Eo(e.b)?Gw:Qw;return"#"+r(e.r)+r(e.g)+r(e.b)}function Hw(e){let t=[e.r,e.g,e.b];return e.a!==1&&t.push(Fp(e.a,8)),`${t.length===3?"rgb":"rgba"}(${t.join(", ")})`}function Fp(e,t=4){return e.toFixed(t).replace(/\.?0+$/,"")}function Eo(e){return!(e%17)}function Gw(e){return(e>>4).toString(16)}function Qw(e){return Jw(e.toString(16),2)}function Jw(e,t){for(;e.length<t;)e="0"+e;return e}function Qo(e,t){var r;let n=dp(t.options),i=t.options["output.format"];((r=t.context)===null||r===void 0?void 0:r.name)===En.Section&&(e=e.filter(o=>o.snippet));for(let o=0;o<e.length;o++)i&&o!==0&&Te(n,!0),Zw(e[o],n,t);return n.value}function Zw(e,t,r){let n=r.options["stylesheet.json"];if(e.name){let i=n?Kw(e.name):e.name;G(t,i+r.options["stylesheet.between"]),e.value.length?Xw(e,t,r):Mo(t,0,""),n?re(t,","):(qf(e,t,!0),re(t,r.options["stylesheet.after"]))}else{for(let i of e.value)for(let o of i.value)Dp(o,t,r);qf(e,t,e.value.length>0)}}function Xw(e,t,r){let n=r.options["stylesheet.json"],i=n?Yw(e):null;if(i&&(!i.unit||i.unit==="px"))re(t,String(i.value));else{let o=e0(r);n&&re(t,o);for(let s=0;s<e.value.length;s++)s!==0&&re(t,", "),_p(e.value[s],t,r);n&&re(t,o)}}function qf(e,t,r){e.important&&(r&&re(t," "),re(t,"!important"))}function _p(e,t,r){for(let n=0,i=-1;n<e.value.length;n++){let o=e.value[n];n!==0&&(o.type!=="Field"||o.start!==i)&&re(t," "),Dp(o,t,r),i=o.end}}function Dp(e,t,r){if(e.type==="ColorValue")re(t,Lp(e,r.options["stylesheet.shortHex"]));else if(e.type==="Literal"||e.type==="CustomProperty")G(t,e.value);else if(e.type==="NumberValue")G(t,Fp(e.value,4)+e.unit);else if(e.type==="StringValue"){let n=e.quote==="double"?'"':"'";G(t,n+e.value+n)}else if(e.type==="Field")Mo(t,e.index,e.name);else if(e.type==="FunctionCall"){re(t,e.name+"(");for(let n=0;n<e.arguments.length;n++)n&&re(t,", "),_p(e.arguments[n],t,r);re(t,")")}}function Yw(e){if(e.value.length===1){let t=e.value[0];if(t.value.length===1&&t.value[0].type==="NumberValue")return t.value[0]}}function Kw(e){return e.replace(/\-(\w)/g,(t,r)=>r.toUpperCase())}function e0(e){return e.options["stylesheet.jsonDoubleQuotes"]?'"':"'"}function Jo(e,t){var r;let n=((r=t.cache)===null||r===void 0?void 0:r.stylesheetSnippets)||t0(t.snippets),i=[];t.cache&&(t.cache.stylesheetSnippets=n),typeof e=="string"&&(e=cp(e,{value:Up(t)}));let o=u0(n,t);for(let s of e){let a=r0(s,o,t);a&&i.push(a)}return i}function t0(e){let t=[];for(let r of Object.keys(e))t.push(Dw(r,e[r]));return qw(t)}function r0(e,t,r){if(!n0(e,r)){let n=r.options["stylesheet.fuzzySearchMinScore"];if(Up(r)){let i=r.context.name,o=t.find(s=>s.type===$e.Property&&s.property===i);qp(e,r,o,n),e.snippet=o}else if(e.name){let i=xn(e.name,t,n,!0);if(e.snippet=i,i){let o=i.type===$e.Property?i0(e,i,r):o0(e,i);if(o)e=o;else if(r.options["stylesheet.strictMatch"])return null}}}return(e.name||r.context)&&l0(e,r),e}function n0(e,t){let r=null,n=e.value.length===1?e.value[0]:null;if(n&&n.value.length===1){let i=n.value[0];i.type==="FunctionCall"&&i.name===Bf&&(r=i)}return r||e.name===Bf?(r?r=Object.assign(Object.assign({},r),{name:"linear-gradient"}):r={type:"FunctionCall",name:"linear-gradient",arguments:[Cn(Qe(0,""))]},t.context||(e.name="background-image"),e.value=[Cn(r)],!0):!1}function i0(e,t,r){let n=e.name,i=a0(n,t.key);if(i){if(e.value.length)return null;let o=jo(i,r,t);if(!o)return null;e.value.push(Cn(o))}if(e.name=t.property,e.value.length)qp(e,r,t);else if(t.value.length){let o=t.value[0];e.value=t.value.length===1||o.some(Bp)?o:o.map(s=>zp(s,r))}return e}function qp(e,t,r,n){for(let i of e.value){let o=[];for(let s of i.value)if(s.type==="Literal")o.push(jo(s.value,t,r,n)||s);else if(s.type==="FunctionCall"){let a=jo(s.name,t,r,n);a&&a.type==="FunctionCall"?o.push(Object.assign(Object.assign({},a),{arguments:s.arguments.concat(a.arguments.slice(s.arguments.length))})):o.push(s)}else o.push(s);i.value=o}}function o0(e,t){let r=0,n,i=/\$\{(\d+)(:[^}]+)?\}/g,o=e.value[0],s=[];for(;n=i.exec(t.value);)r!==n.index&&s.push(Tt(t.value.slice(r,n.index))),r=n.index+n[0].length,o&&o.value.length?s.push(o.value.shift()):s.push(Qe(Number(n[1]),n[2]?n[2].slice(1):""));let a=t.value.slice(r);return a&&s.push(Tt(a)),e.name=void 0,e.value=[Cn(...s)],e}function xn(e,t,r=0,n=!1){let i=null,o=0;for(let s of t){let a=Ww(e,s0(s),n);if(a===1)return s;a&&a>=o&&(o=a,i=s)}return o>=r?i:null}function s0(e){return typeof e=="string"?e:e.key}function a0(e,t){for(let r=0,n=0;r<e.length;r++){if(n=t.indexOf(e[r],n),n===-1)return e.slice(r);n++}return""}function jo(e,t,r,n){let i;if(r){if(i=xn(e,Object.keys(r.keywords),n))return r.keywords[i];for(let o of r.dependencies)if(i=xn(e,Object.keys(o.keywords),n))return o.keywords[i]}return(i=xn(e,t.options["stylesheet.keywords"],n))?Tt(i):null}function l0(e,t){let r=t.options["stylesheet.unitAliases"],n=t.options["stylesheet.unitless"];for(let i of e.value)for(let o of i.value)o.type==="NumberValue"&&(o.unit?o.unit=r[o.unit]||o.unit:o.value!==0&&!n.includes(e.name)&&(o.unit=o.rawValue.includes(".")?t.options["stylesheet.floatUnit"]:t.options["stylesheet.intUnit"]))}function Cn(...e){return{type:"CSSValue",value:e}}function Tt(e){return{type:"Literal",value:e}}function Qe(e,t){return{type:"Field",index:e,name:t}}function Bp(e){for(let t of e.value)if(t.type==="Field"||t.type==="FunctionCall"&&t.arguments.some(Bp))return!0;return!1}function zp(e,t,r={index:1}){let n=[];for(let i of e.value)switch(i.type){case"ColorValue":n.push(Qe(r.index++,Lp(i,t.options["stylesheet.shortHex"])));break;case"Literal":n.push(Qe(r.index++,i.value));break;case"NumberValue":n.push(Qe(r.index++,`${i.value}${i.unit}`));break;case"StringValue":let o=i.quote==="single"?"'":'"';n.push(Qe(r.index++,o+i.value+o));break;case"FunctionCall":n.push(Qe(r.index++,i.name),Tt("("));for(let s=0,a=i.arguments.length;s<a;s++)n=n.concat(zp(i.arguments[s],t,r).value),s!==a-1&&n.push(Tt(", "));n.push(Tt(")"));break;default:n.push(i)}return Object.assign(Object.assign({},e),{value:n})}function Up(e){return e.context?e.context.name===En.Value||!e.context.name.startsWith("@@"):!1}function u0(e,t){if(t.context){if(t.context.name===En.Section)return e.filter(r=>r.type===$e.Raw);if(t.context.name===En.Property)return e.filter(r=>r.type===$e.Property)}return e}function vn(e){let t={};return Object.keys(e).forEach(r=>{for(let n of r.split("|"))t[n]=e[r]}),t}function cr(e={},t={}){let r=e.type||"markup",n=e.syntax||m0[r];return Object.assign(Object.assign(Object.assign({},Mp),e),{type:r,syntax:n,variables:Co(r,n,"variables",e,t),snippets:Co(r,n,"snippets",e,t),options:Co(r,n,"options",e,t)})}function Co(e,t,r,n,i={}){let o=zf[e],s=i[e],a=zf[t],l=i[t];return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Mp[r]),o&&o[r]),a&&a[r]),s&&s[r]),l&&l[r]),n[r])}function Wp(e,t=0){return{text:e,start:t,pos:e.length}}function Re(e){return e.pos===e.start}function lr(e,t=0){return e.text.charCodeAt(e.pos-1+t)}function Uf(e){if(!Re(e))return e.text.charCodeAt(--e.pos)}function me(e,t){if(Re(e))return!1;let r=typeof t=="function"?t(lr(e)):t===lr(e);return r&&e.pos--,!!r}function Vp(e,t){let r=e.pos;for(;me(e,t););return e.pos<r}function Zo(e){return e===ur.SingleQuote||e===ur.DoubleQuote}function b0(e){let t=e.pos,r=Uf(e);if(Zo(r)){for(;!Re(e);)if(Uf(e)===r&&lr(e)!==ur.Escape)return!0}return e.pos=t,!1}function y0(e){let t=e.pos;if(!me(e,pe.AngleRight))return!1;let r=!1;for(me(e,pe.Slash);!Re(e);){if(Vp(e,Io),On(e)){if(me(e,pe.Slash)){r=me(e,pe.AngleLeft);break}else if(me(e,pe.AngleLeft)){r=!0;break}else{if(me(e,Io))continue;if(me(e,pe.Equals)){if(On(e))continue;break}else if(Gp(e)){r=!0;break}}break}if(!v0(e))break}return e.pos=t,r}function v0(e){return x0(e)||Gp(e)}function x0(e){let t=e.pos;return b0(e)&&me(e,pe.Equals)&&On(e)?!0:(e.pos=t,!1)}function Gp(e){let t=e.pos,r=[];for(;!Re(e);){let n=lr(e);if(E0(n))r.push(n);else if(T0(n)){if(r.pop()!==Hp[n])break}else if(!S0(n))break;e.pos--}return t!==e.pos&&me(e,pe.Equals)&&On(e)?!0:(e.pos=t,!1)}function On(e){return Vp(e,w0)}function w0(e){return e===pe.Colon||e===pe.Dash||k0(e)||A0(e)}function k0(e){return e&=-33,e>=65&&e<=90}function A0(e){return e>47&&e<58}function Io(e){return e===pe.Space||e===pe.Tab}function S0(e){return!isNaN(e)&&e!==pe.Equals&&!Io(e)&&!Zo(e)}function T0(e){return e===H.CurlyL||e===H.RoundL||e===H.SquareL}function E0(e){return e===H.CurlyR||e===H.RoundR||e===H.SquareR}function Xo(e,t=e.length,r={}){let n=Object.assign(Object.assign({},O0),r);t=Math.min(e.length,Math.max(0,t??e.length)),n.lookAhead&&(t=P0(e,t,n));let i,o=N0(e,t,n.prefix||"");if(o===-1)return;let s=Wp(e,o);s.pos=t;let a=[];for(;!Re(s);){if(i=lr(s),a.includes(H.CurlyR)){if(i===H.CurlyR){a.push(i),s.pos--;continue}if(i!==H.CurlyL){s.pos--;continue}}if(Jp(i,n.type))a.push(i);else if(j0(i,n.type)){if(a.pop()!==Hp[i])break}else if(a.includes(H.SquareR)||a.includes(H.CurlyR)){s.pos--;continue}else if(y0(s)||!R0(i))break;s.pos--}if(!a.length&&s.pos!==t){let l=e.slice(s.pos,t).replace(/^[*+>^]+/,"");return{abbreviation:l,location:t-l.length,start:r.prefix?o-r.prefix.length:t-l.length,end:t}}}function P0(e,t,r){for(Zo(e.charCodeAt(t))&&t++;Jp(e.charCodeAt(t),r.type);)t++;return t}function N0(e,t,r){if(!r)return 0;let n=Wp(e),i=r.split("").map(Qp);n.pos=t;let o;for(;!Re(n);)if(!(Mf(n,H.SquareR,H.SquareL)||Mf(n,H.CurlyR,H.CurlyL))){if(o=n.pos,$0(n,i))return o;n.pos--}return-1}function Mf(e,t,r){let n=e.pos;if(me(e,t))for(;!Re(e);){if(me(e,r))return!0;e.pos--}return e.pos=n,!1}function $0(e,t){let r=e.pos,n=!1;for(let i=t.length-1;i>=0&&!Re(e)&&me(e,t[i]);i--)n=i===0;return n||(e.pos=r),n}function R0(e){return e>64&&e<91||e>96&&e<123||e>47&&e<58||C0.includes(e)}function j0(e,t){return e===H.RoundL||t==="markup"&&(e===H.SquareL||e===H.CurlyL)}function Jp(e,t){return e===H.RoundR||t==="markup"&&(e===H.SquareR||e===H.CurlyR)}function fr(e,t){let r=cr(t);return r.type==="stylesheet"?L0(e,r):I0(e,r)}function I0(e,t){return Go(Ho(e,t),t)}function L0(e,t){return Qo(Jo(e,t),t)}var wn,sr,B,Vv,Af,Hv,Gv,be,V,$o,Ro,qx,Mx,Wx,Vx,Of,Hx,vp,xp,rw,nw,jn,Ze,gw,bw,Iw,$e,Fw,_w,En,Bf,c0,f0,p0,d0,h0,m0,g0,Mp,zf,ur,H,Hp,pe,Qp,C0,O0,Zp=he(()=>{"use strict";p();wn=class e{constructor(t,r,n){n==null&&typeof t=="string"&&(n=t.length),this.string=t,this.pos=this.start=r||0,this.end=n||0}eof(){return this.pos>=this.end}limit(t,r){return new e(this.string,t,r)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}backUp(t){this.pos-=t||1}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.string.slice(t,r)}error(t,r=this.pos){return new sr(`${t} at ${r+1}`,r,this.string)}},sr=class extends Error{constructor(t,r,n){super(t),this.pos=r,this.string=n}};(function(e){e[e.CurlyBracketOpen=123]="CurlyBracketOpen",e[e.CurlyBracketClose=125]="CurlyBracketClose",e[e.Escape=92]="Escape",e[e.Equals=61]="Equals",e[e.SquareBracketOpen=91]="SquareBracketOpen",e[e.SquareBracketClose=93]="SquareBracketClose",e[e.Asterisk=42]="Asterisk",e[e.Hash=35]="Hash",e[e.Dollar=36]="Dollar",e[e.Dash=45]="Dash",e[e.Dot=46]="Dot",e[e.Slash=47]="Slash",e[e.Colon=58]="Colon",e[e.Excl=33]="Excl",e[e.At=64]="At",e[e.Underscore=95]="Underscore",e[e.RoundBracketOpen=40]="RoundBracketOpen",e[e.RoundBracketClose=41]="RoundBracketClose",e[e.Sibling=43]="Sibling",e[e.Child=62]="Child",e[e.Climb=94]="Climb",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote"})(B||(B={}));Vv={child:">",class:".",climb:"^",id:"#",equal:"=",close:"/",sibling:"+"},Af={Literal(e){return e.value},Quote(e){return e.single?"'":'"'},Bracket(e){return e.context==="attribute"?e.open?"[":"]":e.context==="expression"?e.open?"{":"}":e.open?"(":"}"},Operator(e){return Vv[e.operator]},Field(e,t){return e.index!=null?e.name?`\${${e.index}:${e.name}}`:`\${${e.index}`:e.name?t.getVariable(e.name):""},RepeaterPlaceholder(e,t){let r;for(let n=t.repeaters.length-1;n>=0;n--)if(t.repeaters[n].implicit){r=t.repeaters[n];break}return t.inserted=!0,t.getText(r&&r.value)},RepeaterNumber(e,t){let r=1,n=t.repeaters.length-1,i=t.repeaters[n];if(i&&(r=e.reverse?e.base+i.count-i.value-1:e.base+i.value,e.parent)){let s=Math.max(0,n-e.parent);if(s!==n){let a=t.repeaters[s];r+=i.count*a.value}}let o=String(r);for(;o.length<e.size;)o="0"+o;return o},WhiteSpace(e){return e.value}};Hv=/^((https?:|ftp:|file:)?\/\/|(www|ftp)\.)[^ ]*$/,Gv=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,5}$/;(function(e){e.Sibling="+",e.Important="!",e.ArgumentDelimiter=",",e.ValueDelimiter="-",e.PropertyDelimiter=":"})(be||(be={}));(function(e){e[e.Hash=35]="Hash",e[e.Dollar=36]="Dollar",e[e.Dash=45]="Dash",e[e.Dot=46]="Dot",e[e.Colon=58]="Colon",e[e.Comma=44]="Comma",e[e.Excl=33]="Excl",e[e.At=64]="At",e[e.Percent=37]="Percent",e[e.Underscore=95]="Underscore",e[e.RoundBracketOpen=40]="RoundBracketOpen",e[e.RoundBracketClose=41]="RoundBracketClose",e[e.CurlyBracketOpen=123]="CurlyBracketOpen",e[e.CurlyBracketClose=125]="CurlyBracketClose",e[e.Sibling=43]="Sibling",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Transparent=116]="Transparent",e[e.Slash=47]="Slash"})(V||(V={}));$o="{",Ro="}";qx={p:"span",ul:"li",ol:"li",table:"tr",tr:"td",tbody:"tr",thead:"tr",tfoot:"tr",colgroup:"col",select:"option",optgroup:"option",audio:"source",video:"source",object:"param",map:"area"};Mx={common:["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit"],words:["exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]},Wx={common:["\u0434\u0430\u043B\u0435\u043A\u043E-\u0434\u0430\u043B\u0435\u043A\u043E","\u0437\u0430","\u0441\u043B\u043E\u0432\u0435\u0441\u043D\u044B\u043C\u0438","\u0433\u043E\u0440\u0430\u043C\u0438","\u0432 \u0441\u0442\u0440\u0430\u043D\u0435","\u0433\u043B\u0430\u0441\u043D\u044B\u0445","\u0438 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B\u0445","\u0436\u0438\u0432\u0443\u0442","\u0440\u044B\u0431\u043D\u044B\u0435","\u0442\u0435\u043A\u0441\u0442\u044B"],words:["\u0432\u0434\u0430\u043B\u0438","\u043E\u0442 \u0432\u0441\u0435\u0445","\u043E\u043D\u0438","\u0431\u0443\u043A\u0432\u0435\u043D\u043D\u044B\u0445","\u0434\u043E\u043C\u0430\u0445","\u043D\u0430 \u0431\u0435\u0440\u0435\u0433\u0443","\u0441\u0435\u043C\u0430\u043D\u0442\u0438\u043A\u0430","\u0431\u043E\u043B\u044C\u0448\u043E\u0433\u043E","\u044F\u0437\u044B\u043A\u043E\u0432\u043E\u0433\u043E","\u043E\u043A\u0435\u0430\u043D\u0430","\u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439","\u0440\u0443\u0447\u0435\u0435\u043A","\u0434\u0430\u043B\u044C","\u0436\u0443\u0440\u0447\u0438\u0442","\u043F\u043E \u0432\u0441\u0435\u0439","\u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0432\u0430\u0435\u0442","\u0435\u0435","\u0432\u0441\u0435\u043C\u0438","\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u043C\u0438","\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u043C\u0438","\u044D\u0442\u0430","\u043F\u0430\u0440\u0430\u0434\u0438\u0433\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F","\u0441\u0442\u0440\u0430\u043D\u0430","\u043A\u043E\u0442\u043E\u0440\u043E\u0439","\u0436\u0430\u0440\u0435\u043D\u043D\u044B\u0435","\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F","\u0437\u0430\u043B\u0435\u0442\u0430\u044E\u0442","\u043F\u0440\u044F\u043C\u043E","\u0440\u043E\u0442","\u0434\u0430\u0436\u0435","\u0432\u0441\u0435\u043C\u043E\u0433\u0443\u0449\u0430\u044F","\u043F\u0443\u043D\u043A\u0442\u0443\u0430\u0446\u0438\u044F","\u043D\u0435","\u0438\u043C\u0435\u0435\u0442","\u0432\u043B\u0430\u0441\u0442\u0438","\u043D\u0430\u0434","\u0440\u044B\u0431\u043D\u044B\u043C\u0438","\u0442\u0435\u043A\u0441\u0442\u0430\u043C\u0438","\u0432\u0435\u0434\u0443\u0449\u0438\u043C\u0438","\u0431\u0435\u0437\u043E\u0440\u0444\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u043D\u044B\u0439","\u043E\u0431\u0440\u0430\u0437","\u0436\u0438\u0437\u043D\u0438","\u043E\u0434\u043D\u0430\u0436\u0434\u044B","\u043E\u0434\u043D\u0430","\u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0430\u044F","\u0441\u0442\u0440\u043E\u0447\u043A\u0430","\u0440\u044B\u0431\u043D\u043E\u0433\u043E","\u0442\u0435\u043A\u0441\u0442\u0430","\u0438\u043C\u0435\u043D\u0438","lorem","ipsum","\u0440\u0435\u0448\u0438\u043B\u0430","\u0432\u044B\u0439\u0442\u0438","\u0431\u043E\u043B\u044C\u0448\u043E\u0439","\u043C\u0438\u0440","\u0433\u0440\u0430\u043C\u043C\u0430\u0442\u0438\u043A\u0438","\u0432\u0435\u043B\u0438\u043A\u0438\u0439","\u043E\u043A\u0441\u043C\u043E\u043A\u0441","\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0430\u043B","\u043E","\u0437\u043B\u044B\u0445","\u0437\u0430\u043F\u044F\u0442\u044B\u0445","\u0434\u0438\u043A\u0438\u0445","\u0437\u043D\u0430\u043A\u0430\u0445","\u0432\u043E\u043F\u0440\u043E\u0441\u0430","\u043A\u043E\u0432\u0430\u0440\u043D\u044B\u0445","\u0442\u043E\u0447\u043A\u0430\u0445","\u0437\u0430\u043F\u044F\u0442\u043E\u0439","\u043D\u043E","\u0442\u0435\u043A\u0441\u0442","\u0434\u0430\u043B","\u0441\u0431\u0438\u0442\u044C","\u0441\u0435\u0431\u044F","\u0442\u043E\u043B\u043A\u0443","\u043E\u043D","\u0441\u043E\u0431\u0440\u0430\u043B","\u0441\u0435\u043C\u044C","\u0441\u0432\u043E\u0438\u0445","\u0437\u0430\u0433\u043B\u0430\u0432\u043D\u044B\u0445","\u0431\u0443\u043A\u0432","\u043F\u043E\u0434\u043F\u043E\u044F\u0441\u0430\u043B","\u0438\u043D\u0438\u0446\u0438\u0430\u043B","\u0437\u0430","\u043F\u043E\u044F\u0441","\u043F\u0443\u0441\u0442\u0438\u043B\u0441\u044F","\u0434\u043E\u0440\u043E\u0433\u0443","\u0432\u0437\u043E\u0431\u0440\u0430\u0432\u0448\u0438\u0441\u044C","\u043F\u0435\u0440\u0432\u0443\u044E","\u0432\u0435\u0440\u0448\u0438\u043D\u0443","\u043A\u0443\u0440\u0441\u0438\u0432\u043D\u044B\u0445","\u0433\u043E\u0440","\u0431\u0440\u043E\u0441\u0438\u043B","\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439","\u0432\u0437\u0433\u043B\u044F\u0434","\u043D\u0430\u0437\u0430\u0434","\u0441\u0438\u043B\u0443\u044D\u0442","\u0441\u0432\u043E\u0435\u0433\u043E","\u0440\u043E\u0434\u043D\u043E\u0433\u043E","\u0433\u043E\u0440\u043E\u0434\u0430","\u0431\u0443\u043A\u0432\u043E\u0433\u0440\u0430\u0434","\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A","\u0434\u0435\u0440\u0435\u0432\u043D\u0438","\u0430\u043B\u0444\u0430\u0432\u0438\u0442","\u043F\u043E\u0434\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A","\u0441\u0432\u043E\u0435\u0433\u043E","\u043F\u0435\u0440\u0435\u0443\u043B\u043A\u0430","\u0433\u0440\u0443\u0441\u0442\u043D\u044B\u0439","\u0440\u0435\u0442\u043E\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439","\u0432\u043E\u043F\u0440\u043E\u0441","\u0441\u043A\u0430\u0442\u0438\u043B\u0441\u044F","\u0435\u0433\u043E","\u0449\u0435\u043A\u0435","\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u043B","\u0441\u0432\u043E\u0439","\u043F\u0443\u0442\u044C","\u0434\u043E\u0440\u043E\u0433\u0435","\u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043B","\u0440\u0443\u043A\u043E\u043F\u0438\u0441\u044C","\u043E\u043D\u0430","\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0434\u0438\u043B\u0430","\u043C\u043E\u0435\u0439","\u0432\u0441\u0435","\u043F\u0435\u0440\u0435\u043F\u0438\u0441\u044B\u0432\u0430\u0435\u0442\u0441\u044F","\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E","\u0440\u0430\u0437","\u0435\u0434\u0438\u043D\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0435","\u0447\u0442\u043E","\u043C\u0435\u043D\u044F","\u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C","\u044D\u0442\u043E","\u043F\u0440\u0438\u0441\u0442\u0430\u0432\u043A\u0430","\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0439\u0441\u044F","\u0442\u044B","\u043B\u0443\u0447\u0448\u0435","\u0441\u0432\u043E\u044E","\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u0443\u044E","\u0441\u0442\u0440\u0430\u043D\u0443","\u043F\u043E\u0441\u043B\u0443\u0448\u0430\u0432\u0448\u0438\u0441\u044C","\u0440\u0443\u043A\u043E\u043F\u0438\u0441\u0438","\u043D\u0430\u0448","\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u043B","\u0441\u0432\u043E\u0439","\u043F\u0443\u0442\u044C","\u0432\u0441\u043A\u043E\u0440\u0435","\u0435\u043C\u0443","\u043F\u043E\u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043B\u0441\u044F","\u043A\u043E\u0432\u0430\u0440\u043D\u044B\u0439","\u0441\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C","\u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445","\u0442\u0435\u043A\u0441\u0442\u043E\u0432","\u043D\u0430\u043F\u043E\u0438\u0432\u0448\u0438\u0439","\u044F\u0437\u044B\u043A\u043E\u043C","\u0440\u0435\u0447\u044C\u044E","\u0437\u0430\u043C\u0430\u043D\u0438\u0432\u0448\u0438\u0439","\u0441\u0432\u043E\u0435","\u0430\u0433\u0435\u043D\u0442\u0441\u0442\u0432\u043E","\u043A\u043E\u0442\u043E\u0440\u043E\u0435","\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043B\u043E","\u0441\u043D\u043E\u0432\u0430","\u0441\u043D\u043E\u0432\u0430","\u0441\u0432\u043E\u0438\u0445","\u043F\u0440\u043E\u0435\u043A\u0442\u0430\u0445","\u0435\u0441\u043B\u0438","\u043F\u0435\u0440\u0435\u043F\u0438\u0441\u0430\u043B\u0438","\u0442\u043E","\u0436\u0438\u0432\u0435\u0442","\u0442\u0430\u043C","\u0434\u043E","\u0441\u0438\u0445","\u043F\u043E\u0440"]},Vx={common:["mujer","uno","dolor","m\xE1s","de","poder","mismo","si"],words:["ejercicio","preferencia","perspicacia","laboral","pa\xF1o","suntuoso","molde","namibia","planeador","mirar","dem\xE1s","oficinista","excepci\xF3n","odio","consecuencia","casi","auto","chicharra","velo","elixir","ataque","no","odio","temporal","cu\xF3rum","dign\xEDsimo","facilismo","letra","nihilista","expedici\xF3n","alma","alveolar","aparte","le\xF3n","animal","como","paria","belleza","modo","natividad","justo","ataque","s\xE9quito","pillo","sed","ex","y","voluminoso","temporalidad","verdades","racional","asunci\xF3n","incidente","marejada","placenta","amanecer","fuga","previsor","presentaci\xF3n","lejos","necesariamente","sospechoso","adiposidad","quind\xEDo","p\xF3cima","voluble","d\xE9bito","sinti\xF3","accesorio","falda","sapiencia","volutas","queso","permacultura","laudo","soluciones","entero","pan","litro","tonelada","culpa","libertario","mosca","dictado","reincidente","nascimiento","dolor","escolar","impedimento","m\xEDnima","mayores","repugnante","dulce","obcecado","monta\xF1a","enigma","total","delet\xE9reo","d\xE9cima","c\xE1bala","fotograf\xEDa","dolores","molesto","olvido","paciencia","resiliencia","voluntad","molestias","magn\xEDfico","distinci\xF3n","ovni","marejada","cerro","torre","y","abogada","manantial","corporal","agua","crep\xFAsculo","ataque","desierto","laboriosamente","angustia","afortunado","alma","encefalograma","materialidad","cosas","o","renuncia","error","menos","conejo","abad\xEDa","analfabeto","remo","fugacidad","oficio","en","alm\xE1cigo","vos","pan","represi\xF3n","n\xFAmeros","triste","refugiado","trote","inventor","corchea","repelente","magma","recusado","patr\xF3n","expl\xEDcito","paloma","s\xEDndrome","inmune","autoinmune","comodidad","ley","vietnamita","demonio","tasmania","repeler","ap\xE9ndice","arquitecto","columna","yugo","computador","mula","a","prop\xF3sito","fantas\xEDa","alias","rayo","tenedor","deleznable","ventana","cara","anemia","corrupto"]},Of={ru:Wx,sp:Vx,latin:Mx},Hx=/^lorem([a-z]*)(\d*)(-\d*)?$/i;vp=/^(-+)([a-z0-9]+[a-z0-9-]*)/i,xp=/^(_+)([a-z0-9]+[a-z0-9-_]*)/i,rw=e=>/^[a-z]\-/i.test(e),nw=e=>/^[a-z]/i.test(e);jn=[{type:"Field",index:0,name:""}];(function(e){e[e.Start=91]="Start",e[e.End=93]="End",e[e.Underscore=95]="Underscore",e[e.Dash=45]="Dash"})(Ze||(Ze={}));gw=/^<([\w\-:]+)[\s>]/,bw=new Set(["for","while","of","async","await","const","let","var","continue","break","debugger","do","export","import","in","instanceof","new","return","switch","this","throw","try","catch","typeof","void","with","yield"]);Iw={html:Rp,haml:$w,slim:Rw,pug:jw};(function(e){e.Raw="Raw",e.Property="Property"})($e||($e={}));Fw=/^([a-z-]+)(?:\s*:\s*([^\n\r;]+?);*)?$/,_w={value:!0};En={Global:"@@global",Section:"@@section",Property:"@@property",Value:"@@value"};Bf="lg";c0={a:"a[href]","a:blank":"a[href='http://${0}' target='_blank' rel='noopener noreferrer']","a:link":"a[href='http://${0}']","a:mail":"a[href='mailto:${0}']","a:tel":"a[href='tel:+${0}']",abbr:"abbr[title]","acr|acronym":"acronym[title]",base:"base[href]/",basefont:"basefont/",br:"br/",frame:"frame/",hr:"hr/",bdo:"bdo[dir]","bdo:r":"bdo[dir=rtl]","bdo:l":"bdo[dir=ltr]",col:"col/",link:"link[rel=stylesheet href]/","link:css":"link[href='${1:style}.css']","link:print":"link[href='${1:print}.css' media=print]","link:favicon":"link[rel='shortcut icon' type=image/x-icon href='${1:favicon.ico}']","link:mf|link:manifest":"link[rel='manifest' href='${1:manifest.json}']","link:touch":"link[rel=apple-touch-icon href='${1:favicon.png}']","link:rss":"link[rel=alternate type=application/rss+xml title=RSS href='${1:rss.xml}']","link:atom":"link[rel=alternate type=application/atom+xml title=Atom href='${1:atom.xml}']","link:im|link:import":"link[rel=import href='${1:component}.html']",meta:"meta/","meta:utf":"meta[http-equiv=Content-Type content='text/html;charset=UTF-8']","meta:vp":"meta[name=viewport content='width=${1:device-width}, initial-scale=${2:1.0}']","meta:compat":"meta[http-equiv=X-UA-Compatible content='${1:IE=7}']","meta:edge":"meta:compat[content='${1:ie=edge}']","meta:redirect":"meta[http-equiv=refresh content='0; url=${1:http://example.com}']","meta:refresh":"meta[http-equiv=refresh content='${1:5}']","meta:kw":"meta[name=keywords content]","meta:desc":"meta[name=description content]",style:"style",script:"script","script:src":"script[src]","script:module":"script[type=module src]",img:"img[src alt]/","img:s|img:srcset":"img[srcset src alt]","img:z|img:sizes":"img[sizes srcset src alt]",picture:"picture","src|source":"source/","src:sc|source:src":"source[src type]","src:s|source:srcset":"source[srcset]","src:t|source:type":"source[srcset type='${1:image/}']","src:z|source:sizes":"source[sizes srcset]","src:m|source:media":"source[media='(${1:min-width: })' srcset]","src:mt|source:media:type":"source:media[type='${2:image/}']","src:mz|source:media:sizes":"source:media[sizes srcset]","src:zt|source:sizes:type":"source[sizes srcset type='${1:image/}']",iframe:"iframe[src frameborder=0]",embed:"embed[src type]/",object:"object[data type]",param:"param[name value]/",map:"map[name]",area:"area[shape coords href alt]/","area:d":"area[shape=default]","area:c":"area[shape=circle]","area:r":"area[shape=rect]","area:p":"area[shape=poly]",form:"form[action]","form:get":"form[method=get]","form:post":"form[method=post]",label:"label[for]",input:"input[type=${1:text}]/",inp:"input[name=${1} id=${1}]","input:h|input:hidden":"input[type=hidden name]","input:t|input:text":"inp[type=text]","input:search":"inp[type=search]","input:email":"inp[type=email]","input:url":"inp[type=url]","input:p|input:password":"inp[type=password]","input:datetime":"inp[type=datetime]","input:date":"inp[type=date]","input:datetime-local":"inp[type=datetime-local]","input:month":"inp[type=month]","input:week":"inp[type=week]","input:time":"inp[type=time]","input:tel":"inp[type=tel]","input:number":"inp[type=number]","input:color":"inp[type=color]","input:c|input:checkbox":"inp[type=checkbox]","input:r|input:radio":"inp[type=radio]","input:range":"inp[type=range]","input:f|input:file":"inp[type=file]","input:s|input:submit":"input[type=submit value]","input:i|input:image":"input[type=image src alt]","input:b|input:btn|input:button":"input[type=button value]","input:reset":"input:button[type=reset]",isindex:"isindex/",select:"select[name=${1} id=${1}]","select:d|select:disabled":"select[disabled.]","opt|option":"option[value]",textarea:"textarea[name=${1} id=${1}]","tarea:c|textarea:cols":"textarea[name=${1} id=${1} cols=${2:30}]","tarea:r|textarea:rows":"textarea[name=${1} id=${1} rows=${3:10}]","tarea:cr|textarea:cols:rows":"textarea[name=${1} id=${1} cols=${2:30} rows=${3:10}]",marquee:"marquee[behavior direction]","menu:c|menu:context":"menu[type=context]","menu:t|menu:toolbar":"menu[type=toolbar]",video:"video[src]",audio:"audio[src]","html:xml":"html[xmlns=http://www.w3.org/1999/xhtml]",keygen:"keygen/",command:"command/","btn:s|button:s|button:submit":"button[type=submit]","btn:r|button:r|button:reset":"button[type=reset]","btn:b|button:b|button:button":"button[type=button]","btn:d|button:d|button:disabled":"button[disabled.]","fst:d|fset:d|fieldset:d|fieldset:disabled":"fieldset[disabled.]",bq:"blockquote",fig:"figure",figc:"figcaption",pic:"picture",ifr:"iframe",emb:"embed",obj:"object",cap:"caption",colg:"colgroup",fst:"fieldset",btn:"button",optg:"optgroup",tarea:"textarea",leg:"legend",sect:"section",art:"article",hdr:"header",ftr:"footer",adr:"address",dlg:"dialog",str:"strong",prog:"progress",mn:"main",tem:"template",fset:"fieldset",datal:"datalist",kg:"keygen",out:"output",det:"details",sum:"summary",cmd:"command",data:"data[value]",meter:"meter[value]",time:"time[datetime]","ri:d|ri:dpr":"img:s","ri:v|ri:viewport":"img:z","ri:a|ri:art":"pic>src:m+img","ri:t|ri:type":"pic>src:t+img","!!!":"{<!DOCTYPE html>}",doc:"html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body","!|html:5":"!!!+doc",c:"{<!-- ${0} -->}","cc:ie":"{<!--[if IE]>${0}<![endif]-->}","cc:noie":"{<!--[if !IE]><!-->${0}<!--<![endif]-->}"},f0={"@f":`@font-face {
|
|
21
21
|
font-family: \${1};
|
|
22
22
|
src: url(\${2});
|
|
23
|
-
}`,"@ff":"@font-face {\n font-family: '${1:FontName}';\n src: url('${2:FileName}.eot');\n src: url('${2:FileName}.eot?#iefix') format('embedded-opentype'),\n url('${2:FileName}.woff') format('woff'),\n url('${2:FileName}.ttf') format('truetype'),\n url('${2:FileName}.svg#${1:FontName}') format('svg');\n font-style: ${3:normal};\n font-weight: ${4:normal};\n}","@i|@import":"@import url(${0});","@kf":"@keyframes ${1:identifier} {\n ${2}\n}","@m|@media":"@media ${1:screen} {\n ${0}\n}",ac:"align-content:start|end|flex-start|flex-end|center|space-between|space-around|stretch|space-evenly",ai:"align-items:start|end|flex-start|flex-end|center|baseline|stretch",anim:"animation:${1:name} ${2:duration} ${3:timing-function} ${4:delay} ${5:iteration-count} ${6:direction} ${7:fill-mode}",animdel:"animation-delay:time",animdir:"animation-direction:normal|reverse|alternate|alternate-reverse",animdur:"animation-duration:${1:0}s",animfm:"animation-fill-mode:both|forwards|backwards",animic:"animation-iteration-count:1|infinite",animn:"animation-name",animps:"animation-play-state:running|paused",animtf:"animation-timing-function:linear|ease|ease-in|ease-out|ease-in-out|cubic-bezier(${1:0.1}, ${2:0.7}, ${3:1.0}, ${3:0.1})",ap:"appearance:none",as:"align-self:start|end|auto|flex-start|flex-end|center|baseline|stretch",b:"bottom",bd:"border:${1:1px} ${2:solid} ${3:#000}",bdb:"border-bottom:${1:1px} ${2:solid} ${3:#000}",bdbc:"border-bottom-color:${1:#000}",bdbi:"border-bottom-image:url(${0})",bdbk:"border-break:close",bdbli:"border-bottom-left-image:url(${0})|continue",bdblrs:"border-bottom-left-radius",bdbri:"border-bottom-right-image:url(${0})|continue",bdbrrs:"border-bottom-right-radius",bdbs:"border-bottom-style",bdbw:"border-bottom-width",bdc:"border-color:${1:#000}",bdci:"border-corner-image:url(${0})|continue",bdcl:"border-collapse:collapse|separate",bdf:"border-fit:repeat|clip|scale|stretch|overwrite|overflow|space",bdi:"border-image:url(${0})",bdl:"border-left:${1:1px} ${2:solid} ${3:#000}",bdlc:"border-left-color:${1:#000}",bdlen:"border-length",bdli:"border-left-image:url(${0})",bdls:"border-left-style",bdlw:"border-left-width",bdr:"border-right:${1:1px} ${2:solid} ${3:#000}",bdrc:"border-right-color:${1:#000}",bdri:"border-right-image:url(${0})",bdrs:"border-radius",bdrst:"border-right-style",bdrw:"border-right-width",bds:"border-style:none|hidden|dotted|dashed|solid|double|dot-dash|dot-dot-dash|wave|groove|ridge|inset|outset",bdsp:"border-spacing",bdt:"border-top:${1:1px} ${2:solid} ${3:#000}",bdtc:"border-top-color:${1:#000}",bdti:"border-top-image:url(${0})",bdtli:"border-top-left-image:url(${0})|continue",bdtlrs:"border-top-left-radius",bdtri:"border-top-right-image:url(${0})|continue",bdtrrs:"border-top-right-radius",bdts:"border-top-style",bdtw:"border-top-width",bdw:"border-width",bbs:"border-block-start",bbe:"border-block-end",bis:"border-inline-start",bie:"border-inline-end",bfv:"backface-visibility:hidden|visible",bg:"background:${1:#000}","bg:n":"background: none",bga:"background-attachment:fixed|scroll",bgbk:"background-break:bounding-box|each-box|continuous",bgc:"background-color:${1:#fff}",bgcp:"background-clip:padding-box|border-box|content-box|no-clip",bgi:"background-image:url(${0})",bgo:"background-origin:padding-box|border-box|content-box",bgp:"background-position:${1:0} ${2:0}",bgpx:"background-position-x",bgpy:"background-position-y",bgr:"background-repeat:no-repeat|repeat-x|repeat-y|space|round",bgsz:"background-size:contain|cover",bs:"block-size",bxsh:"box-shadow:${1:inset }${2:hoff} ${3:voff} ${4:blur} ${5:#000}|none",bxsz:"box-sizing:border-box|content-box|border-box",c:"color:${1:#000}",cg:"column-gap",cr:"color:rgb(${1:0}, ${2:0}, ${3:0})",cra:"color:rgba(${1:0}, ${2:0}, ${3:0}, ${4:.5})",cl:"clear:both|left|right|none",cm:"/* ${0} */",cnt:"content:'${0}'|normal|open-quote|no-open-quote|close-quote|no-close-quote|attr(${0})|counter(${0})|counters(${0})",coi:"counter-increment",colm:"columns",colmc:"column-count",colmf:"column-fill",colmg:"column-gap",colmr:"column-rule",colmrc:"column-rule-color",colmrs:"column-rule-style",colmrw:"column-rule-width",colms:"column-span",colmw:"column-width",cor:"counter-reset",cp:"clip:auto|rect(${1:top} ${2:right} ${3:bottom} ${4:left})",cps:"caption-side:top|bottom",cur:"cursor:pointer|auto|default|crosshair|hand|help|move|pointer|text",d:"display:block|none|flex|inline-flex|inline|inline-block|grid|inline-grid|subgrid|list-item|run-in|contents|table|inline-table|table-caption|table-column|table-column-group|table-header-group|table-footer-group|table-row|table-row-group|table-cell|ruby|ruby-base|ruby-base-group|ruby-text|ruby-text-group",ec:"empty-cells:show|hide",f:"font:${1:1em} ${2:sans-serif}",fd:"font-display:auto|block|swap|fallback|optional",fef:"font-effect:none|engrave|emboss|outline",fem:"font-emphasize",femp:"font-emphasize-position:before|after",fems:"font-emphasize-style:none|accent|dot|circle|disc",ff:"font-family:serif|sans-serif|cursive|fantasy|monospace",fft:'font-family:"Times New Roman", Times, Baskerville, Georgia, serif',ffa:'font-family:Arial, "Helvetica Neue", Helvetica, sans-serif',ffv:"font-family:Verdana, Geneva, sans-serif",fl:"float:left|right|none",fs:"font-style:italic|normal|oblique",fsm:"font-smoothing:antialiased|subpixel-antialiased|none",fst:"font-stretch:normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",fv:"font-variant:normal|small-caps",fvs:"font-variation-settings:normal|inherit|initial|unset",fw:"font-weight:normal|bold|bolder|lighter",fx:"flex",fxb:"flex-basis:fill|max-content|min-content|fit-content|content",fxd:"flex-direction:row|row-reverse|column|column-reverse",fxf:"flex-flow",fxg:"flex-grow",fxsh:"flex-shrink",fxw:"flex-wrap:nowrap|wrap|wrap-reverse",fsz:"font-size",fsza:"font-size-adjust",g:"gap",gtc:"grid-template-columns:repeat(${0})|minmax()",gtr:"grid-template-rows:repeat(${0})|minmax()",gta:"grid-template-areas",gt:"grid-template",gg:"grid-gap",gcg:"grid-column-gap",grg:"grid-row-gap",gac:"grid-auto-columns:auto|minmax()",gar:"grid-auto-rows:auto|minmax()",gaf:"grid-auto-flow:row|column|dense|inherit|initial|unset",gd:"grid",gc:"grid-column",gcs:"grid-column-start",gce:"grid-column-end",gr:"grid-row",grs:"grid-row-start",gre:"grid-row-end",ga:"grid-area",h:"height",is:"inline-size",jc:"justify-content:start|end|stretch|flex-start|flex-end|center|space-between|space-around|space-evenly",ji:"justify-items:start|end|center|stretch",js:"justify-self:start|end|center|stretch",l:"left",lg:"background-image:linear-gradient(${1})",lh:"line-height",lis:"list-style",lisi:"list-style-image",lisp:"list-style-position:inside|outside",list:"list-style-type:disc|circle|square|decimal|decimal-leading-zero|lower-roman|upper-roman",lts:"letter-spacing:normal",m:"margin",mah:"max-height",mar:"max-resolution",maw:"max-width",mb:"margin-bottom",mih:"min-height",mir:"min-resolution",miw:"min-width",ml:"margin-left",mr:"margin-right",mt:"margin-top",mbs:"margin-block-start",mbe:"margin-block-end",mis:"margin-inline-start",mie:"margin-inline-end",ol:"outline",olc:"outline-color:${1:#000}|invert",olo:"outline-offset",ols:"outline-style:none|dotted|dashed|solid|double|groove|ridge|inset|outset",olw:"outline-width:thin|medium|thick","op|opa":"opacity",ord:"order",ori:"orientation:landscape|portrait",orp:"orphans",ov:"overflow:hidden|visible|hidden|scroll|auto",ovs:"overflow-style:scrollbar|auto|scrollbar|panner|move|marquee",ovx:"overflow-x:hidden|visible|hidden|scroll|auto",ovy:"overflow-y:hidden|visible|hidden|scroll|auto",p:"padding",pb:"padding-bottom",pgba:"page-break-after:auto|always|left|right",pgbb:"page-break-before:auto|always|left|right",pgbi:"page-break-inside:auto|avoid",pl:"padding-left",pos:"position:relative|absolute|relative|fixed|static",pr:"padding-right",pt:"padding-top",pbs:"padding-block-start",pbe:"padding-block-end",pis:"padding-inline-start",pie:"padding-inline-end",spbs:"scroll-padding-block-start",spbe:"scroll-padding-block-end",spis:"scroll-padding-inline-start",spie:"scroll-padding-inline-end",q:"quotes",qen:"quotes:'\\201C' '\\201D' '\\2018' '\\2019'",qru:"quotes:'\\00AB' '\\00BB' '\\201E' '\\201C'",r:"right",rg:"row-gap",rsz:"resize:none|both|horizontal|vertical",t:"top",ta:"text-align:left|center|right|justify",tal:"text-align-last:left|center|right",tbl:"table-layout:fixed",td:"text-decoration:none|underline|overline|line-through",te:"text-emphasis:none|accent|dot|circle|disc|before|after",th:"text-height:auto|font-size|text-size|max-size",ti:"text-indent",tj:"text-justify:auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|tibetan",to:"text-outline:${1:0} ${2:0} ${3:#000}",tov:"text-overflow:ellipsis|clip",tr:"text-replace",trf:"transform:${1}|skewX(${1:angle})|skewY(${1:angle})|scale(${1:x}, ${2:y})|scaleX(${1:x})|scaleY(${1:y})|scaleZ(${1:z})|scale3d(${1:x}, ${2:y}, ${3:z})|rotate(${1:angle})|rotateX(${1:angle})|rotateY(${1:angle})|rotateZ(${1:angle})|translate(${1:x}, ${2:y})|translateX(${1:x})|translateY(${1:y})|translateZ(${1:z})|translate3d(${1:tx}, ${2:ty}, ${3:tz})",trfo:"transform-origin",trfs:"transform-style:preserve-3d",trs:"transition:${1:prop} ${2:time}",trsde:"transition-delay:${1:time}",trsdu:"transition-duration:${1:time}",trsp:"transition-property:${1:prop}",trstf:"transition-timing-function:${1:fn}",tsh:"text-shadow:${1:hoff} ${2:voff} ${3:blur} ${4:#000}",tt:"text-transform:uppercase|lowercase|capitalize|none",tw:"text-wrap:none|normal|unrestricted|suppress",us:"user-select:none",v:"visibility:hidden|visible|collapse",va:"vertical-align:top|super|text-top|middle|baseline|bottom|text-bottom|sub","w|wid":"width",whs:"white-space:nowrap|pre|pre-wrap|pre-line|normal",whsc:"white-space-collapse:normal|keep-all|loose|break-strict|break-all",wido:"widows",wm:"writing-mode:lr-tb|lr-tb|lr-bt|rl-tb|rl-bt|tb-rl|tb-lr|bt-lr|bt-rl",wob:"word-break:normal|keep-all|break-all",wos:"word-spacing",wow:"word-wrap:none|unrestricted|suppress|break-word|normal",z:"z-index",zom:"zoom:1"},Nw={"tm|tmatch":"xsl:template[match mode]","tn|tname":"xsl:template[name]",call:"xsl:call-template[name]",ap:"xsl:apply-templates[select mode]",api:"xsl:apply-imports",imp:"xsl:import[href]",inc:"xsl:include[href]",ch:"xsl:choose","wh|xsl:when":"xsl:when[test]",ot:"xsl:otherwise",if:"xsl:if[test]",par:"xsl:param[name]",pare:"xsl:param[name select]",var:"xsl:variable[name]",vare:"xsl:variable[name select]",wp:"xsl:with-param[name select]",key:"xsl:key[name match use]",elem:"xsl:element[name]",attr:"xsl:attribute[name]",attrs:"xsl:attribute-set[name]",cp:"xsl:copy[select]",co:"xsl:copy-of[select]",val:"xsl:value-of[select]","for|each":"xsl:for-each[select]",tex:"xsl:text",com:"xsl:comment",msg:"xsl:message[terminate=no]",fall:"xsl:fallback",num:"xsl:number[value]",nam:"namespace-alias[stylesheet-prefix result-prefix]",pres:"xsl:preserve-space[elements]",strip:"xsl:strip-space[elements]",proc:"xsl:processing-instruction[name]",sort:"xsl:sort[select order]",choose:"xsl:choose>xsl:when+xsl:otherwise",xsl:`!!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{
|
|
24
|
-
|}`,"!!!":'{<?xml version="1.0" encoding="UTF-8"?>}'}
|
|
25
|
-
`},
|
|
23
|
+
}`,"@ff":"@font-face {\n font-family: '${1:FontName}';\n src: url('${2:FileName}.eot');\n src: url('${2:FileName}.eot?#iefix') format('embedded-opentype'),\n url('${2:FileName}.woff') format('woff'),\n url('${2:FileName}.ttf') format('truetype'),\n url('${2:FileName}.svg#${1:FontName}') format('svg');\n font-style: ${3:normal};\n font-weight: ${4:normal};\n}","@i|@import":"@import url(${0});","@kf":"@keyframes ${1:identifier} {\n ${2}\n}","@m|@media":"@media ${1:screen} {\n ${0}\n}",ac:"align-content:start|end|flex-start|flex-end|center|space-between|space-around|stretch|space-evenly",ai:"align-items:start|end|flex-start|flex-end|center|baseline|stretch",anim:"animation:${1:name} ${2:duration} ${3:timing-function} ${4:delay} ${5:iteration-count} ${6:direction} ${7:fill-mode}",animdel:"animation-delay:time",animdir:"animation-direction:normal|reverse|alternate|alternate-reverse",animdur:"animation-duration:${1:0}s",animfm:"animation-fill-mode:both|forwards|backwards",animic:"animation-iteration-count:1|infinite",animn:"animation-name",animps:"animation-play-state:running|paused",animtf:"animation-timing-function:linear|ease|ease-in|ease-out|ease-in-out|cubic-bezier(${1:0.1}, ${2:0.7}, ${3:1.0}, ${3:0.1})",ap:"appearance:none",as:"align-self:start|end|auto|flex-start|flex-end|center|baseline|stretch",b:"bottom",bd:"border:${1:1px} ${2:solid} ${3:#000}",bdb:"border-bottom:${1:1px} ${2:solid} ${3:#000}",bdbc:"border-bottom-color:${1:#000}",bdbi:"border-bottom-image:url(${0})",bdbk:"border-break:close",bdbli:"border-bottom-left-image:url(${0})|continue",bdblrs:"border-bottom-left-radius",bdbri:"border-bottom-right-image:url(${0})|continue",bdbrrs:"border-bottom-right-radius",bdbs:"border-bottom-style",bdbw:"border-bottom-width",bdc:"border-color:${1:#000}",bdci:"border-corner-image:url(${0})|continue",bdcl:"border-collapse:collapse|separate",bdf:"border-fit:repeat|clip|scale|stretch|overwrite|overflow|space",bdi:"border-image:url(${0})",bdl:"border-left:${1:1px} ${2:solid} ${3:#000}",bdlc:"border-left-color:${1:#000}",bdlen:"border-length",bdli:"border-left-image:url(${0})",bdls:"border-left-style",bdlw:"border-left-width",bdr:"border-right:${1:1px} ${2:solid} ${3:#000}",bdrc:"border-right-color:${1:#000}",bdri:"border-right-image:url(${0})",bdrs:"border-radius",bdrst:"border-right-style",bdrw:"border-right-width",bds:"border-style:none|hidden|dotted|dashed|solid|double|dot-dash|dot-dot-dash|wave|groove|ridge|inset|outset",bdsp:"border-spacing",bdt:"border-top:${1:1px} ${2:solid} ${3:#000}",bdtc:"border-top-color:${1:#000}",bdti:"border-top-image:url(${0})",bdtli:"border-top-left-image:url(${0})|continue",bdtlrs:"border-top-left-radius",bdtri:"border-top-right-image:url(${0})|continue",bdtrrs:"border-top-right-radius",bdts:"border-top-style",bdtw:"border-top-width",bdw:"border-width",bbs:"border-block-start",bbe:"border-block-end",bis:"border-inline-start",bie:"border-inline-end",bfv:"backface-visibility:hidden|visible",bg:"background:${1:#000}","bg:n":"background: none",bga:"background-attachment:fixed|scroll",bgbk:"background-break:bounding-box|each-box|continuous",bgc:"background-color:${1:#fff}",bgcp:"background-clip:padding-box|border-box|content-box|no-clip",bgi:"background-image:url(${0})",bgo:"background-origin:padding-box|border-box|content-box",bgp:"background-position:${1:0} ${2:0}",bgpx:"background-position-x",bgpy:"background-position-y",bgr:"background-repeat:no-repeat|repeat-x|repeat-y|space|round",bgsz:"background-size:contain|cover",bs:"block-size",bxsh:"box-shadow:${1:inset }${2:hoff} ${3:voff} ${4:blur} ${5:#000}|none",bxsz:"box-sizing:border-box|content-box|border-box",c:"color:${1:#000}",cg:"column-gap",cr:"color:rgb(${1:0}, ${2:0}, ${3:0})",cra:"color:rgba(${1:0}, ${2:0}, ${3:0}, ${4:.5})",cl:"clear:both|left|right|none",cm:"/* ${0} */",cnt:"content:'${0}'|normal|open-quote|no-open-quote|close-quote|no-close-quote|attr(${0})|counter(${0})|counters(${0})",coi:"counter-increment",colm:"columns",colmc:"column-count",colmf:"column-fill",colmg:"column-gap",colmr:"column-rule",colmrc:"column-rule-color",colmrs:"column-rule-style",colmrw:"column-rule-width",colms:"column-span",colmw:"column-width",cor:"counter-reset",cp:"clip:auto|rect(${1:top} ${2:right} ${3:bottom} ${4:left})",cps:"caption-side:top|bottom",cur:"cursor:pointer|auto|default|crosshair|hand|help|move|pointer|text",d:"display:block|none|flex|inline-flex|inline|inline-block|grid|inline-grid|subgrid|list-item|run-in|contents|table|inline-table|table-caption|table-column|table-column-group|table-header-group|table-footer-group|table-row|table-row-group|table-cell|ruby|ruby-base|ruby-base-group|ruby-text|ruby-text-group",ec:"empty-cells:show|hide",f:"font:${1:1em} ${2:sans-serif}",fd:"font-display:auto|block|swap|fallback|optional",fef:"font-effect:none|engrave|emboss|outline",fem:"font-emphasize",femp:"font-emphasize-position:before|after",fems:"font-emphasize-style:none|accent|dot|circle|disc",ff:"font-family:serif|sans-serif|cursive|fantasy|monospace",fft:'font-family:"Times New Roman", Times, Baskerville, Georgia, serif',ffa:'font-family:Arial, "Helvetica Neue", Helvetica, sans-serif',ffv:"font-family:Verdana, Geneva, sans-serif",fl:"float:left|right|none",fs:"font-style:italic|normal|oblique",fsm:"font-smoothing:antialiased|subpixel-antialiased|none",fst:"font-stretch:normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",fv:"font-variant:normal|small-caps",fvs:"font-variation-settings:normal|inherit|initial|unset",fw:"font-weight:normal|bold|bolder|lighter",fx:"flex",fxb:"flex-basis:fill|max-content|min-content|fit-content|content",fxd:"flex-direction:row|row-reverse|column|column-reverse",fxf:"flex-flow",fxg:"flex-grow",fxsh:"flex-shrink",fxw:"flex-wrap:nowrap|wrap|wrap-reverse",fsz:"font-size",fsza:"font-size-adjust",g:"gap",gtc:"grid-template-columns:repeat(${0})|minmax()",gtr:"grid-template-rows:repeat(${0})|minmax()",gta:"grid-template-areas",gt:"grid-template",gg:"grid-gap",gcg:"grid-column-gap",grg:"grid-row-gap",gac:"grid-auto-columns:auto|minmax()",gar:"grid-auto-rows:auto|minmax()",gaf:"grid-auto-flow:row|column|dense|inherit|initial|unset",gd:"grid",gc:"grid-column",gcs:"grid-column-start",gce:"grid-column-end",gr:"grid-row",grs:"grid-row-start",gre:"grid-row-end",ga:"grid-area",h:"height",is:"inline-size",jc:"justify-content:start|end|stretch|flex-start|flex-end|center|space-between|space-around|space-evenly",ji:"justify-items:start|end|center|stretch",js:"justify-self:start|end|center|stretch",l:"left",lg:"background-image:linear-gradient(${1})",lh:"line-height",lis:"list-style",lisi:"list-style-image",lisp:"list-style-position:inside|outside",list:"list-style-type:disc|circle|square|decimal|decimal-leading-zero|lower-roman|upper-roman",lts:"letter-spacing:normal",m:"margin",mah:"max-height",mar:"max-resolution",maw:"max-width",mb:"margin-bottom",mih:"min-height",mir:"min-resolution",miw:"min-width",ml:"margin-left",mr:"margin-right",mt:"margin-top",mbs:"margin-block-start",mbe:"margin-block-end",mis:"margin-inline-start",mie:"margin-inline-end",ol:"outline",olc:"outline-color:${1:#000}|invert",olo:"outline-offset",ols:"outline-style:none|dotted|dashed|solid|double|groove|ridge|inset|outset",olw:"outline-width:thin|medium|thick","op|opa":"opacity",ord:"order",ori:"orientation:landscape|portrait",orp:"orphans",ov:"overflow:hidden|visible|hidden|scroll|auto",ovs:"overflow-style:scrollbar|auto|scrollbar|panner|move|marquee",ovx:"overflow-x:hidden|visible|hidden|scroll|auto",ovy:"overflow-y:hidden|visible|hidden|scroll|auto",p:"padding",pb:"padding-bottom",pgba:"page-break-after:auto|always|left|right",pgbb:"page-break-before:auto|always|left|right",pgbi:"page-break-inside:auto|avoid",pl:"padding-left",pos:"position:relative|absolute|relative|fixed|static",pr:"padding-right",pt:"padding-top",pbs:"padding-block-start",pbe:"padding-block-end",pis:"padding-inline-start",pie:"padding-inline-end",spbs:"scroll-padding-block-start",spbe:"scroll-padding-block-end",spis:"scroll-padding-inline-start",spie:"scroll-padding-inline-end",q:"quotes",qen:"quotes:'\\201C' '\\201D' '\\2018' '\\2019'",qru:"quotes:'\\00AB' '\\00BB' '\\201E' '\\201C'",r:"right",rg:"row-gap",rsz:"resize:none|both|horizontal|vertical",t:"top",ta:"text-align:left|center|right|justify",tal:"text-align-last:left|center|right",tbl:"table-layout:fixed",td:"text-decoration:none|underline|overline|line-through",te:"text-emphasis:none|accent|dot|circle|disc|before|after",th:"text-height:auto|font-size|text-size|max-size",ti:"text-indent",tj:"text-justify:auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|tibetan",to:"text-outline:${1:0} ${2:0} ${3:#000}",tov:"text-overflow:ellipsis|clip",tr:"text-replace",trf:"transform:${1}|skewX(${1:angle})|skewY(${1:angle})|scale(${1:x}, ${2:y})|scaleX(${1:x})|scaleY(${1:y})|scaleZ(${1:z})|scale3d(${1:x}, ${2:y}, ${3:z})|rotate(${1:angle})|rotateX(${1:angle})|rotateY(${1:angle})|rotateZ(${1:angle})|translate(${1:x}, ${2:y})|translateX(${1:x})|translateY(${1:y})|translateZ(${1:z})|translate3d(${1:tx}, ${2:ty}, ${3:tz})",trfo:"transform-origin",trfs:"transform-style:preserve-3d",trs:"transition:${1:prop} ${2:time}",trsde:"transition-delay:${1:time}",trsdu:"transition-duration:${1:time}",trsp:"transition-property:${1:prop}",trstf:"transition-timing-function:${1:fn}",tsh:"text-shadow:${1:hoff} ${2:voff} ${3:blur} ${4:#000}",tt:"text-transform:uppercase|lowercase|capitalize|none",tw:"text-wrap:none|normal|unrestricted|suppress",us:"user-select:none",v:"visibility:hidden|visible|collapse",va:"vertical-align:top|super|text-top|middle|baseline|bottom|text-bottom|sub","w|wid":"width",whs:"white-space:nowrap|pre|pre-wrap|pre-line|normal",whsc:"white-space-collapse:normal|keep-all|loose|break-strict|break-all",wido:"widows",wm:"writing-mode:lr-tb|lr-tb|lr-bt|rl-tb|rl-bt|tb-rl|tb-lr|bt-lr|bt-rl",wob:"word-break:normal|keep-all|break-all",wos:"word-spacing",wow:"word-wrap:none|unrestricted|suppress|break-word|normal",z:"z-index",zom:"zoom:1"},p0={"tm|tmatch":"xsl:template[match mode]","tn|tname":"xsl:template[name]",call:"xsl:call-template[name]",ap:"xsl:apply-templates[select mode]",api:"xsl:apply-imports",imp:"xsl:import[href]",inc:"xsl:include[href]",ch:"xsl:choose","wh|xsl:when":"xsl:when[test]",ot:"xsl:otherwise",if:"xsl:if[test]",par:"xsl:param[name]",pare:"xsl:param[name select]",var:"xsl:variable[name]",vare:"xsl:variable[name select]",wp:"xsl:with-param[name select]",key:"xsl:key[name match use]",elem:"xsl:element[name]",attr:"xsl:attribute[name]",attrs:"xsl:attribute-set[name]",cp:"xsl:copy[select]",co:"xsl:copy-of[select]",val:"xsl:value-of[select]","for|each":"xsl:for-each[select]",tex:"xsl:text",com:"xsl:comment",msg:"xsl:message[terminate=no]",fall:"xsl:fallback",num:"xsl:number[value]",nam:"namespace-alias[stylesheet-prefix result-prefix]",pres:"xsl:preserve-space[elements]",strip:"xsl:strip-space[elements]",proc:"xsl:processing-instruction[name]",sort:"xsl:sort[select order]",choose:"xsl:choose>xsl:when+xsl:otherwise",xsl:`!!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{
|
|
24
|
+
|}`,"!!!":'{<?xml version="1.0" encoding="UTF-8"?>}'},d0={"!!!":"{doctype html}"},h0={lang:"en",locale:"en-US",charset:"UTF-8",indentation:" ",newline:`
|
|
25
|
+
`},m0={markup:"html",stylesheet:"css"},g0={inlineElements:["a","abbr","acronym","applet","b","basefont","bdo","big","br","button","cite","code","del","dfn","em","font","i","iframe","img","input","ins","kbd","label","map","object","q","s","samp","select","small","span","strike","strong","sub","sup","textarea","tt","u","var"],"output.indent":" ","output.baseIndent":"","output.newline":`
|
|
26
26
|
`,"output.tagCase":"","output.attributeCase":"","output.attributeQuotes":"double","output.format":!0,"output.formatLeafNode":!1,"output.formatSkip":["html"],"output.formatForce":["body"],"output.inlineBreak":3,"output.compactBoolean":!1,"output.booleanAttributes":["contenteditable","seamless","async","autofocus","autoplay","checked","controls","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","novalidate","readonly","required","reversed","selected","typemustmatch"],"output.reverseAttributes":!1,"output.selfClosingStyle":"html","output.field":(e,t)=>t,"output.text":e=>e,"markup.href":!0,"comment.enabled":!1,"comment.trigger":["id","class"],"comment.before":"","comment.after":`
|
|
27
|
-
<!-- /[#ID][.CLASS] -->`,"bem.enabled":!1,"bem.element":"__","bem.modifier":"_","jsx.enabled":!1,"stylesheet.keywords":["auto","inherit","unset","none"],"stylesheet.unitless":["z-index","line-height","opacity","font-weight","zoom","flex","flex-grow","flex-shrink"],"stylesheet.shortHex":!0,"stylesheet.between":": ","stylesheet.after":";","stylesheet.intUnit":"px","stylesheet.floatUnit":"em","stylesheet.unitAliases":{e:"em",p:"%",x:"ex",r:"rem"},"stylesheet.json":!1,"stylesheet.jsonDoubleQuotes":!1,"stylesheet.fuzzySearchMinScore":0,"stylesheet.strictMatch":!1},
|
|
27
|
+
<!-- /[#ID][.CLASS] -->`,"bem.enabled":!1,"bem.element":"__","bem.modifier":"_","jsx.enabled":!1,"stylesheet.keywords":["auto","inherit","unset","none"],"stylesheet.unitless":["z-index","line-height","opacity","font-weight","zoom","flex","flex-grow","flex-shrink"],"stylesheet.shortHex":!0,"stylesheet.between":": ","stylesheet.after":";","stylesheet.intUnit":"px","stylesheet.floatUnit":"em","stylesheet.unitAliases":{e:"em",p:"%",x:"ex",r:"rem"},"stylesheet.json":!1,"stylesheet.jsonDoubleQuotes":!1,"stylesheet.fuzzySearchMinScore":0,"stylesheet.strictMatch":!1},Mp={type:"markup",syntax:"html",variables:h0,snippets:{},options:g0},zf={markup:{snippets:vn(c0)},xhtml:{options:{"output.selfClosingStyle":"xhtml"}},xml:{options:{"output.selfClosingStyle":"xml"}},xsl:{snippets:vn(p0),options:{"output.selfClosingStyle":"xml"}},jsx:{options:{"jsx.enabled":!0,"markup.attributes":{class:"className","class*":"styleName",for:"htmlFor"},"markup.valuePrefix":{"class*":"styles"}}},vue:{options:{"markup.attributes":{"class*":":class"}}},svelte:{options:{"jsx.enabled":!0}},pug:{snippets:vn(d0)},stylesheet:{snippets:vn(f0)},sass:{options:{"stylesheet.after":""}},stylus:{options:{"stylesheet.between":" ","stylesheet.after":""}}};(function(e){e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Escape=92]="Escape"})(ur||(ur={}));(function(e){e[e.SquareL=91]="SquareL",e[e.SquareR=93]="SquareR",e[e.RoundL=40]="RoundL",e[e.RoundR=41]="RoundR",e[e.CurlyL=123]="CurlyL",e[e.CurlyR=125]="CurlyR"})(H||(H={}));Hp={[H.SquareL]:H.SquareR,[H.RoundL]:H.RoundR,[H.CurlyL]:H.CurlyR};(function(e){e[e.Tab=9]="Tab",e[e.Space=32]="Space",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Colon=58]="Colon",e[e.Equals=61]="Equals",e[e.AngleLeft=60]="AngleLeft",e[e.AngleRight=62]="AngleRight"})(pe||(pe={}));Qp=e=>e.charCodeAt(0),C0="#.*:$-_!@%^+>/".split("").map(Qp),O0={type:"markup",lookAhead:!0,prefix:""}});function Xp(e){let t={};return Object.keys(e).forEach(r=>{for(let n of r.split("|"))t[n]=e[r]}),t}var pr,Yp=he(()=>{"use strict";p();pr={markup:["html","xml","xsl","jsx","js","pug","slim","haml","vue"],stylesheet:["css","sass","scss","less","sss","stylus"]}});var ud={};Es(ud,{FileType:()=>ir,doComplete:()=>z0,emmetSnippetField:()=>ns,expandAbbreviation:()=>Q0,extractAbbreviation:()=>od,extractAbbreviationFromText:()=>W0,getDefaultSnippets:()=>nd,getDefaultSyntax:()=>os,getEmmetMode:()=>ld,getExpandOptions:()=>ad,getSyntaxType:()=>is,isAbbreviationValid:()=>sd,isStyleSheet:()=>Ae,parseAbbreviation:()=>G0,updateExtensionsPath:()=>Y0});function z0(e,t,r,n){var i,o;if(n.showExpandedAbbreviation==="never"||!ld(r,n.excludeLanguages))return;let s=Ae(r);if(!s){if(!_n.has(r)){let y=Object.assign(Object.assign({},nd(r)),Xe[r]);_n.set(r,Object.keys(y))}ts=(i=_n.get(r))!==null&&i!==void 0?i:[]}let l=od(e,t,{lookAhead:!s,type:s?"stylesheet":"markup"});if(!l)return;let{abbreviationRange:u,abbreviation:c,filter:f}=l,m=rd(e,t).substr(0,t.character);if(U0(m)===c&&m.endsWith(`<${c}`)&&pr.markup.includes(r))return;let v=ad(r,n,f),b="",A,w=[],E=(y,T)=>{if(sd(y,c)){try{b=fr(T,v),s&&"!important".startsWith(T)&&(b="!important")}catch{}!b||V0(y,T,b,v.options)||(A=rr.create(T),A.textEdit=Se.replace(u,Dn(qn(b))),A.documentation=rs(b),A.insertTextFormat=tr.Snippet,A.detail=Ot.t("Emmet Abbreviation"),A.label=c,A.label+=f?"|"+f.replace(",","|"):"",w=[A])}};if(Ae(r)){if(E(r,c),c.length>4&&hf.properties.find(y=>y.startsWith(c)))return nr.create([],!0);if(A&&b.length){A.textEdit=Se.replace(u,Dn(qn(b))),A.documentation=rs(b),A.label=M0(b),A.filterText=c;let y=Ct.has(r)?Ct.get(r):Ct.get("css");if(w=Ko(y??[],c,c,u,v,"Emmet Custom Snippet",!1),!w.find(T=>{var S,k,P;return((S=T.textEdit)===null||S===void 0?void 0:S.newText)&&((k=T.textEdit)===null||k===void 0?void 0:k.newText)===((P=A?.textEdit)===null||P===void 0?void 0:P.newText)})){let T=new RegExp(".*"+c.split("").map(S=>S==="$"||S==="+"?"\\"+S:S).join(".*")+".*","i");(/\d/.test(c)||T.test(A.label))&&w.push(A)}}}else{E(r,c);let y=c,T=c.match(/(>|\+)([\w:-]+)$/);if(T&&T.length===3&&(y=T[2]),r!=="xml"){let S=Ko(dr,y,c,u,v,"Emmet Abbreviation");w=w.concat(S)}if(n.showAbbreviationSuggestions===!0){let S=Ko(ts.filter(k=>!dr.includes(k)),y,c,u,v,"Emmet Abbreviation");A&&S.length>0&&y!==c&&(A.sortText="0"+A.label,S.forEach(k=>{k.filterText=c,k.sortText="9"+c})),w=w.concat(S)}r==="html"&&w.length>=2&&c.includes(":")&&((o=A?.textEdit)===null||o===void 0?void 0:o.newText)===`<${c}>\${0}</${c}>`&&(w=w.filter(S=>S.label!==c))}return n.showSuggestionsAsSnippets===!0&&w.forEach(y=>y.kind=gn.Snippet),w.length?nr.create(w,!0):void 0}function Ko(e,t,r,n,i,o,s=!0){if(!t||!e)return[];let a=[];return e.forEach(l=>{if(!l.startsWith(t.toLowerCase())||s&&l===t.toLowerCase())return;let u=r+l.substr(t.length),c;try{c=fr(u,i)}catch{}if(!c)return;let f=rr.create(t+l.substr(t.length));f.documentation=rs(c),f.detail=o,f.textEdit=Se.replace(n,Dn(qn(c))),f.insertTextFormat=tr.Snippet,a.push(f)}),a}function U0(e){if(e){let t=e.match(/[\w,:,-,\.]*$/);if(t)return t[0]}}function rs(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1|").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function M0(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function Dn(e){return e&&e.replace(/([^\\])(\$)([^\{])/g,"$1\\$2$3")}function qn(e){if(!e||!e.trim())return e;let t=-1,r=[],n=!1,i=!1,o=0,s=e.length;try{for(;o<s&&!n;){if(e[o++]!="$"||e[o++]!="{")continue;let a=-1,l=-1;for(;o<s&&/\d/.test(e[o]);)a=a<0?o:a,l=o+1,o++;if(a===-1||l===-1||o>=s||e[o]!="}"&&e[o]!=":")continue;let u=e.substring(a,l);if(n=u==="0",n)break;let c=!1;if(e[o++]==":")for(;o<s;){if(e[o]=="}"){c=!0;break}o++}Number(u)>Number(t)?(t=Number(u),r=[{numberStart:a,numberEnd:l}],i=!c):Number(u)===t&&r.push({numberStart:a,numberEnd:l})}}catch{}if(i&&!n)for(let a=0;a<r.length;a++){let l=r[a].numberStart,u=r[a].numberEnd;e=e.substr(0,l)+"0"+e.substr(u)}return e}function rd(e,t){let r=e.offsetAt(t),n=e.getText(),i=0,o=n.length;for(let s=r-1;s>=0;s--)if(n[s]===`
|
|
28
28
|
`){i=s+1;break}for(let s=r;s<n.length;s++)if(n[s]===`
|
|
29
|
-
`){o=s;break}return n.substring(i,o)}function Ae(e){return
|
|
30
|
-
<!-- /[#ID][.CLASS] -->`,"bem.enabled":!1,"bem.element":"__","bem.modifier":"_","jsx.enabled":e==="jsx","stylesheet.shortHex":!0,"stylesheet.between":e==="stylus"?" ":": ","stylesheet.after":e==="sass"||e==="stylus"?"":";","stylesheet.intUnit":"px","stylesheet.floatUnit":"em","stylesheet.unitAliases":{e:"em",p:"%",x:"ex",r:"rem"},"stylesheet.fuzzySearchMinScore":.3},P={"output.tagCase":b.tagCase,"output.attributeCase":b.attributeCase,"output.attributeQuotes":b.attributeQuotes,"output.format":(o=b.format)!==null&&o!==void 0?o:!0,"output.formatSkip":d["format.noIndentTags"],"output.formatForce":d["format.forceIndentationForTags"],"output.inlineBreak":(s=b.inlineBreak)!==null&&s!==void 0?s:d["output.inlineBreak"],"output.compactBoolean":(a=b.compactBooleanAttributes)!==null&&a!==void 0?a:d["profile.allowCompactBoolean"],"output.reverseAttributes":d["output.reverseAttributes"],"output.selfClosingStyle":(u=(l=b.selfClosingStyle)!==null&&l!==void 0?l:d["output.selfClosingStyle"])!==null&&u!==void 0?u:c0(e),"output.field":Zo,"comment.enabled":y,"comment.trigger":d["filter.commentTrigger"],"comment.before":d["filter.commentBefore"],"comment.after":d["filter.commentAfter"],"bem.enabled":T,"bem.element":(c=d["bem.elementSeparator"])!==null&&c!==void 0?c:"__","bem.modifier":(f=d["bem.modifierSeparator"])!==null&&f!==void 0?f:"_","jsx.enabled":e==="jsx","stylesheet.shortHex":d["css.color.short"],"stylesheet.between":d[`${v}.valueSeparator`],"stylesheet.after":d[`${v}.propertyEnd`],"stylesheet.intUnit":d["css.intUnit"],"stylesheet.floatUnit":d["css.floatUnit"],"stylesheet.unitAliases":S,"stylesheet.fuzzySearchMinScore":d["css.fuzzySearchMinScore"]};if(e==="jsx"){let O={class:"className","class*":"styleName",for:"htmlFor"},L={"class*":"styles"};b["markup.attributes"]&&(P["markup.attributes"]=Object.assign(Object.assign({},O),b["markup.attributes"])),b["markup.valuePrefix"]&&(P["markup.valuePrefix"]=Object.assign(Object.assign({},L),b["markup.valuePrefix"]))}if(e==="vue"){let O={"class*":":class"},L={"class*":"$style"};b["markup.attributes"]&&(P["markup.attributes"]=Object.assign(Object.assign({},O),b["markup.attributes"])),b["markup.valuePrefix"]&&(P["markup.valuePrefix"]=Object.assign(Object.assign({},L),b["markup.valuePrefix"]))}let j={};[...Object.keys(k),...Object.keys(P)].forEach(O=>{var L;let I=O;j[I]=(L=P[I])!==null&&L!==void 0?L:k[I]});let $=Object.assign(Object.assign({},k["stylesheet.unitAliases"]),P["stylesheet.unitAliases"]);j["stylesheet.unitAliases"]=$;let F=Xo(e),C=h0(t.variables),g=Yo(e),N=F==="stylesheet"?(m=Ze[e])!==null&&m!==void 0?m:Ze[g]:Ze[e];return{type:F,options:j,variables:C,snippets:N,syntax:e,text:void 0,maxRepeat:1e3}}function c0(e){switch(e){case"xhtml":return"xhtml";case"xml":return"xml";case"xsl":return"xml";case"jsx":return"xhtml";default:return"html"}}function f0(e,t){let r=lr(t);return t.type==="stylesheet"?Uo(e,r):qo(e,r)}function p0(e,t){let r,n=lr(t);return t.type==="stylesheet"?typeof e=="string"?r=ur(e,n):r=zo(e,n):typeof e=="string"?r=ur(e,n):r=Bo(e,n),$n(Rn(r))}function d0(e,t){t||(t={});let n=Object.assign({},jn,t)[e];if(!n||typeof n=="string")return n==="xhtml"?{selfClosingStyle:"xhtml"}:{};let i={};for(let o in n)switch(o){case"tag_case":i.tagCase=n[o]==="lower"||n[o]==="upper"?n[o]:"";break;case"attr_case":i.attributeCase=n[o]==="lower"||n[o]==="upper"?n[o]:"";break;case"attr_quotes":i.attributeQuotes=n[o];break;case"tag_nl":i.format=n[o]===!0||n[o]===!1?n[o]:!0;break;case"inline_break":i.inlineBreak=n[o];break;case"self_closing_tag":if(n[o]===!0){i.selfClosingStyle="xml";break}if(n[o]===!1){i.selfClosingStyle="html";break}i.selfClosingStyle=n[o];break;case"compact_bool":i.compactBooleanAttributes=n[o];break;default:i[o]=n[o];break}return i}function h0(e){return e?Object.assign({},pr,e):pr}function m0(e,t){if(!t||typeof t!="object")return{};if(!Ae(e)){let i={};for(let o in t)switch(o){case"filter.commentAfter":i.after=t[o];break;case"filter.commentBefore":i.before=t[o];break;case"filter.commentTrigger":i.trigger=t[o];break;default:break}return{comment:i}}let r=typeof t?.["css.fuzzySearchMinScore"]=="number"?t["css.fuzzySearchMinScore"]:.3;r>1?r=1:r<0&&(r=0);let n={fuzzySearchMinScore:r};for(let i in t)switch(i){case"css.floatUnit":n.floatUnit=t[i];break;case"css.intUnit":n.intUnit=t[i];break;case"css.unitAliases":let o={};t[i].split(",").forEach(s=>{if(!s||!s.trim()||!s.includes(":"))return;let a=s.substr(0,s.indexOf(":")),l=s.substr(a.length+1);!a.trim()||!l||(o[a.trim()]=l)}),n.unitAliases=o;break;case`${e}.valueSeparator`:n.between=t[i];break;case`${e}.propertyEnd`:n.after=t[i];break;default:break}return{stylesheet:n}}function g0(e,t,r,n){return e0(this,void 0,void 0,function*(){if(Go(),!e.length)return;let i=[];for(let o of e){if(typeof o!="string"){console.warn("The following emmetExtensionsPath isn't a string: "+JSON.stringify(o));continue}if(o=o.trim(),o.length&&o[0]==="~")n&&i.push(nr(n,o.substring(1)));else if(Jc(o))i.push(Vc.file(o));else if(r)for(let s of r)i.push(nr(s,o))}for(let o of i){try{if((yield t.stat(o)).type!==rr.Directory)continue}catch{continue}let s=nr(o,"snippets.json"),a=nr(o,"syntaxProfiles.json"),l;typeof globalThis.TextDecoder=="function"?l=new globalThis.TextDecoder:l=new Fp.TextDecoder;let u="";try{let f=yield t.readFile(s);u=l.decode(f)}catch{}if(u.length)try{let f=Ip(s,u);f.variables&&b0(f.variables),v0(f)}catch(f){throw Go(),f}let c="";try{let f=yield t.readFile(a);c=l.decode(f)}catch{}if(c.length)try{let f=Ip(a,c);y0(f)}catch(f){throw Go(),f}}})}function Ip(e,t){let r=[],n=ba(t,r);if(r.length)throw new Error(`Found error ${ya(r[0].error)} while parsing the file ${e} at offset ${r[0].offset}`);return n}function b0(e){if(typeof e=="object"&&e)pr=Object.assign({},pr,e);else throw new Error(Ot.t("Invalid emmet.variables field. See https://code.visualstudio.com/docs/editor/emmet#_emmet-configuration for a valid example."))}function y0(e){if(typeof e=="object"&&e)jn=Object.assign({},jn,e);else throw new Error(Ot.t("Invalid syntax profile. See https://code.visualstudio.com/docs/editor/emmet#_emmet-configuration for a valid example."))}function v0(e){if(typeof e=="object"&&e)Object.keys(e).forEach(t=>{if(!e[t].snippets)return;let r=Yo(t),n=e[t].snippets;if(e[r]&&e[r].snippets&&r!==t&&(n=Object.assign({},e[r].snippets,e[t].snippets)),Ae(t)){let a=Ct.get(t),l=Object.assign([],a,Object.keys(n));Ct.set(t,l)}else for(let a in n)n.hasOwnProperty(a)&&n[a].startsWith("<")&&n[a].endsWith(">")&&(n[a]=`{${n[a]}}`);let i=Ze[t],o=$p(n),s=Object.assign({},i,o);Ze[t]=s});else throw new Error(Ot.t("Invalid snippets file. See https://code.visualstudio.com/docs/editor/emmet#_using-custom-emmet-snippets for a valid example."))}function Go(){Ze={},Nn.clear(),Ct.clear(),jn={},pr={}}function Up(e,t=[]){if(!(!e||t.includes(e))){if(/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e))return"jsx";if(e==="sass-indented")return"sass";if(e==="jade")return"pug";if(cr.markup.includes(e)||cr.stylesheet.includes(e))return e}}var Fp,e0,Ot,Nn,Qo,Ct,t0,r0,n0,jp,fr,Cn,Vo,On,Pn,i0,Ze,pr,jn,Zo,Wp=he(()=>{"use strict";p();va();Fp=le(Vu());Mc();Hc();Qc();Zc();Np();Rp();e0=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(c){try{u(n.next(c))}catch(f){s(f)}}function l(c){try{u(n.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((n=n.apply(e,t||[])).next())})};try{Ot=require("vscode").l10n}catch{Ot={t:t=>t}}Nn=new Map,Ct=new Map,t0=/^[a-z,A-Z,!,(,[,#,\.\{]/,r0=/^[a-z,A-Z,!,(,[,#,\.]/,n0=/^-?[a-z,A-Z,!,@,#]/,jp=/[a-z,A-Z\.]/,fr=[...po.tags,"lorem"],Cn="bem",Vo="|",On="t",Pn="c",i0=3;Ze={},pr={},jn={},Zo=(e,t)=>`\${${e}${t?":"+t:""}}`});var s1={};vs(s1,{activate:()=>o1});module.exports=ws(s1);p();p();var z=le(require("vscode"));p();var te=le(require("vscode"));p();var D=le(require("vscode"));p();var Z=le(require("vscode"));p();p();var Yn=class{constructor(t,r,n){n==null&&typeof t=="string"&&(n=t.length),this.string=t,this.pos=this.start=r||0,this.end=n}eof(){return this.pos>=this.end}limit(t,r){return new this.constructor(this.string,t,r)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}backUp(t){this.pos-=t||1}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.string.slice(t,r)}error(t){let r=new Error(`${t} at char ${this.pos+1}`);return r.originalMessage=t,r.pos=this.pos,r.string=this.string,r}},rt=Yn;p();var ks={escape:92,throws:!1},Kn=function(e,t){t=t?Object.assign({},ks,t):ks;let r=e.pos,n=e.peek();if(e.eat(nt)){for(;!e.eof();)switch(e.next()){case n:return e.start=r,!0;case t.escape:e.next();break}if(e.pos=r,t.throws)throw e.error("Unable to consume quoted string")}return!1};function nt(e){return e===39||e===34}function ze(e){return e>47&&e<58}function wr(e,t,r){return t=t||65,r=r||90,e&=-33,e>=t&&e<=r}function Ss(e){return ze(e)||wr(e)}function qd(e){return e===32||e===9||e===160}function Ie(e){return qd(e)||e===10||e===13}var As={escape:92,throws:!1};function Fe(e,t,r,n){n=n?Object.assign({},As,n):As;let i=e.pos;if(e.eat(t)){let o=1,s;for(;!e.eof();)if(!Kn(e,n))if(s=e.next(),s===t)o++;else if(s===r){if(o--,!o)return e.start=i,!0}else s===n.escape&&e.next();if(e.pos=i,n.throws)throw e.error(`Unable to find matching pair for ${String.fromCharCode(t)}`)}return!1}var Dt=class{constructor(t,r,n,i){this.stream=t,this.type=r,this.open=n,this.close=i,this.children=[],this.parent=null}get name(){return this.type==="tag"&&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(){let t=this.getIndex();return t!==-1?this.parent.children[t+1]:null}get previousSibling(){let t=this.getIndex();return t!==-1?this.parent.children[t-1]:null}getIndex(){return this.parent?this.parent.children.indexOf(this):-1}addChild(t){return this.removeChild(t),this.children.push(t),t.parent=this,this}removeChild(t){let r=this.children.indexOf(t);return r!==-1&&(this.children.splice(r,1),t.parent=null),this}},Le=function(e,t,r){return typeof t=="function"?Bd(e,t):new Ar(e,t,r)};function Bd(e,t){let r=e.pos;if(e.eatWhile(t))return new Ar(e,r,e.pos);e.pos=r}var Ar=class{constructor(t,r,n){this.stream=t,this.start=r??t.start,this.end=n??t.pos,this._value=null}get value(){if(this._value===null){let t=this.stream.start,r=this.stream.pos;this.stream.start=this.start,this.stream.pos=this.end,this._value=this.stream.current(),this.stream.start=t,this.stream.pos=r}return this._value}toString(){return this.value}valueOf(){return`${this.value} [${this.start}; ${this.end}]`}},zd=60,Ud=62,Md=91,Wd=93,Vd=40,Hd=41,Gd=123,Qd=125,kr={throws:!0},Cs=function(e){let t=e.pos;if(Fe(e,zd,Ud,kr)||Fe(e,Md,Wd,kr)||Fe(e,Vd,Hd,kr)||Fe(e,Gd,Qd,kr))return Le(e,t)},Jd=47,Os=61,Zd=62,Xd=function(e){let t=[],r,n,i;for(;!e.eof();)if(e.eatWhile(Ie),i={start:e.pos},i.name=Yd(e))e.eat(Os)?i.value=Kd(e):i.boolean=!0,i.end=e.pos,t.push(i);else{if(ti(e.peek()))break;e.next()}return t};function Yd(e){return Cs(e)||Le(e,eh)}function Kd(e){let t=e.pos;if(Kn(e)){let r=e.pos,n,i;e.pos=t,e.next(),n=e.start=e.pos,e.pos=r,e.backUp(1),i=e.pos;let o=Le(e,n,i);return e.pos=r,o}return Cs(e)||th(e)}function eh(e){return e!==Os&&!ti(e)&&!Ie(e)}function ti(e){return e===Zd||e===Jd}function th(e){return Le(e,rh)}function rh(e){return!isNaN(e)&&!nt(e)&&!Ie(e)&&!ti(e)}var nh=45,ih=46,Es=47,oh=58,sh=60,ah=62,lh=95,Ps=function(e){let t=e.pos;if(e.eat(sh)){let r={type:e.eat(Es)?"close":"open"};if((r.name=uh(e))&&(r.type!=="close"&&(r.attributes=Xd(e),e.eatWhile(Ie),r.selfClosing=e.eat(Es)),e.eat(ah)))return Object.assign(Le(e,t),r)}return e.pos=t,null};function uh(e){return Le(e,ch)}function ch(e){return Ss(e)||e===oh||e===ih||e===nh||e===lh}function ei(e,t){let r=e.pos;for(let n=0;n<t.length;n++)if(!e.eat(t[n]))return e.pos=r,!1;return e.start=r,!0}function Ns(e,t,r,n){let i=e.pos;if(ei(e,t)){for(;!e.eof();){if(ei(e,r))return!0;e.next()}return n?!0:(e.pos=i,!1)}return e.pos=i,null}function qt(e){return e.split("").map(t=>t.charCodeAt(0))}var fh=qt("<!--"),ph=qt("-->"),dh=function(e){let t=e.pos;if(Ns(e,fh,ph,!0)){let r=Le(e,t);return r.type="comment",r}return null},hh=qt("<![CDATA["),mh=qt("]]>"),gh=function(e){let t=e.pos;if(Ns(e,hh,mh,!0)){let r=Le(e,t);return r.type="cdata",r}return null},bh={xml:!1,special:["script","style"],empty:["img","meta","link","br","base","hr","area","wbr","col","embed","input","param","source","track"]};function yh(e,t){t=Object.assign({},bh,t);let r=typeof e=="string"?new rt(e):e,n=new Dt(r,"root"),i=new Set(t.empty),o=t.special.reduce((f,m)=>f.set(m,qt(`</${m}>`)),new Map),s=(f,m)=>f.selfClosing||!t.xml&&i.has(m),a,l,u,c=[n];for(;!r.eof();)if(a=vh(r))if(u=wh(a),a.type==="open")l=new Dt(r,"tag",a),Ts(c).addChild(l),o.has(u)?l.close=xh(r,o.get(u)):s(a,u)||c.push(l);else if(a.type==="close"){for(let f=c.length-1;f>0;f--)if(c[f].name.toLowerCase()===u){c[f].close=a,c=c.slice(0,f);break}}else Ts(c).addChild(new Dt(r,a.type,a));else r.next();return n}function vh(e){if(e.peek()===60)return dh(e)||gh(e)||Ps(e)}function xh(e,t){let r=e.pos,n;for(;!e.eof();){if(ei(e,t))return e.pos=e.start,Ps(e);e.next()}return e.pos=r,null}function wh(e){return e.name?e.name.value.toLowerCase():`#${e.type}`}function Ts(e){return e[e.length-1]}var Bt=yh;p();var it=class{constructor(t){this.type=t,this.children=[],this.parent=null}get firstChild(){return this.children[0]}get nextSibling(){let t=this.index();return t!==-1?this.parent.children[t+1]:null}get previousSibling(){let t=this.index();return t!==-1?this.parent.children[t-1]:null}index(){return this.parent?this.parent.children.indexOf(this):-1}add(t){return t&&(t.remove(),this.children.push(t),t.parent=this),this}remove(){if(this.parent){let t=this.index();t!==-1&&(this.parent.children.splice(t,1),this.parent=null)}return this}},ni=class extends it{constructor(){super("stylesheet"),this.comments=[]}get start(){let t=this.firstChild;return t&&t.start}get end(){let t=this.children[this.children.length-1];return t&&t.end}addComment(t){this.comments.push(t)}};function kh(e){e=e.slice();let t;for(;t!==e.length;)t=e.length,ii(e[0])&&e.shift(),ii(st(e))&&e.pop();return e}function Ds(e){return kh(e,ii)}function ii(e){let t=e&&e.type;return t==="whitespace"||t==="comment"}function qs(e,t){let r=e.pos;for(let n=0,i=t.length;n<i;n++)if(!e.eat(t.charCodeAt(n)))return e.pos=r,!1;return!0}function oi(e,t){let r=e.pos;return e.eat(t)?(e.start=r,!0):!1}function zt(e,t){let r=e.pos;return e.eatWhile(t)?(e.start=r,!0):!1}function st(e){return e[e.length-1]}function Ue(e){return e&&e.valueOf()}var q=class{constructor(t,r,n,i){this.stream=t,this.start=n??t.start,this.end=i??t.pos,this.type=r,this._props=null,this._value=null,this._items=null}get size(){return this._items?this._items.length:0}get items(){return this._items}clone(t,r){return new this.constructor(this.stream,this.type,t??this.start,r??this.end)}add(t){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)this.add(t[r]);else t&&(this._items?this._items.push(t):this._items=[t]);return this}remove(t){if(this._items){let r=this._items.indexOf(t);r!==-1&&this._items.splice(r,1)}return this}item(t){let r=this.size;return this._items&&this._items[(r+t)%r]}limit(){return this.stream.limit(this.start,this.end)}slice(t,r){let n=this.clone(),i=this._items&&this._items.slice(t,r);return i&&i.length?(n.start=i[0].start,n.end=i[i.length-1].end,n.add(i)):i&&(n.start=n.end),n}property(t,r){return typeof r<"u"&&(this._props||(this._props={}),this._props[t]=r),this._props&&this._props[t]}toString(){return`${this.valueOf()} [${this.start}, ${this.end}] (${this.type})`}valueOf(){return this._value===null&&(this._value=this.stream.substring(this.start,this.end)),this._value}},Bs=44,zs=58,Us=59,ot=123,at=125,Ah=new Map().set(Bs,"comma").set(zs,"propertyDelimiter").set(Us,"propertyTerminator").set(ot,"ruleStart").set(at,"ruleEnd");function Sh(e){if(Eh(e.peek())){let t=e.pos,r=Ah.get(e.next()),n=new q(e,"separator",t);return n.property("type",r),n}}function Eh(e){return e===Bs||e===zs||e===Us||e===ot||e===at}var Th=40,Ch=41,$s=function(e,t){if(e.peek()===Th){let r=e.pos;e.next();let n=[],i,o=!1;for(;!e.eof()&&!(Oh(e.peek())||e.eat(Ch)||(i=t(e),!i));)Ms(i)&&(o=!0),n.push(i);return e.start=r,Ph(e,n,o)}};function Oh(e){return e===ot||e===at}function Ph(e,t,r){let n=new q(e,"arguments"),i=r?Ms:$h,o=[];for(let s=0,a=t.length,l;s<a;s++)l=t[s],i(l)?(n.add(Rs(e,o)||Nh(e,l.start)),o.length=0):o.push(l);return o.length&&n.add(Rs(e,o)),n}function Rs(e,t){if(t=Ds(t),t.length){let r=new q(e,"argument",t[0].start,st(t).end);for(let n=0;n<t.length;n++)r.add(t[n]);return r}}function Nh(e,t){let r=new q(e,"argument",t,t);return r.property("empty",!0),r}function $h(e){return e.property("type")==="comma"}function Ms(e){return e.property("type")==="propertyTerminator"}var Ws=45,Rh=95;function Ce(e){return Vs(e)&&new q(e,"ident")}function Vs(e){let t=e.pos;return e.eat(Ws),e.eat(Hs)?(e.eatWhile(Gs),e.start=t,!0):(e.pos=t,!1)}function Hs(e){return e===Rh||e===Ws||wr(e)||e>=128}function Gs(e){return ze(e)||Hs(e)}function lt(e,t,r,n,i){let o=e.pos;if(e.eat(r)){let s=n(e,o);if(s||i)return e.start=o,new q(e,t,o).add(s)}e.pos=o}var jh=64;function ui(e){return lt(e,"at-keyword",jh,Ce)}var Qs=35,Js=64;function ci(e,t){let r=e.pos;if(t=t||Fh,(e.eat(Qs)||e.eat(Js))&&e.eat(ot)){let n=new q(e,"interpolation",r),i=1,o;for(;!e.eof();)if(e.eat(ot))i++;else if(e.eat(at)){if(i--,!i)return n.end=e.pos,n}else if(o=t(e))n.add(o);else break}e.pos=r}function Ih(e){let t=e.pos;return(e.eat(Qs)||e.eat(Js))&&Fe(e,ot,at)?(e.start=t,!0):(e.pos=t,!1)}function Fh(e){let t=e.pos;for(;!e.eof()&&e.peek()!==at;)Ut(e)||e.next();if(t!==e.pos)return new q(e,"expression",t)}function fi(e){return Ut(e,!0)}function Ut(e,t){let r=e.peek(),n,i,o;if(nt(r)){e.start=e.pos,e.next();let s=r,a=e.pos;for(;!e.eof()&&(n=e.pos,!(e.eat(s)||e.eat(js)));)e.eat(92)?e.eat(js):t&&(o=ci(e))&&(i?i.push(o):i=[o]),e.next();if(t){let l=new q(e,"string"),u=new q(e,"unquoted",a,n);return u.add(i),l.add(u),l.property("quote",s),l}return!0}return!1}function js(e){return e===10||e===13}var Is=42,Er=47,pi=function(e){return Lh(e)||_h(e)};function Lh(e){if(Zs(e)){let t=new q(e,"comment");return t.property("type","single-line"),t}}function _h(e){if(Xs(e)){let t=new q(e,"comment");return t.property("type","multiline"),t}}function Dh(e){return Zs(e)||Xs(e)}function Zs(e){let t=e.pos;if(e.eat(Er)&&e.eat(Er)){for(e.start=t;!e.eof()&&!qh(e.next()););return!0}return e.pos=t,!1}function Xs(e){let t=e.pos;if(e.eat(Er)&&e.eat(Is)){for(;!e.eof()&&!(e.next()===Is&&e.eat(Er)););return e.start=t,!0}return e.pos=t,!1}function qh(e){return e===10||e===13}function Bh(e){return Me(e)&&new q(e,"whitespace")}function Me(e){return zt(e,Ie)}var zh=91,Uh=93;function Mh(e){let t=e.pos;if(e.eat(zh)){Sr(e);let r=Ce(e);Sr(e);let n=Wh(e);Sr(e);let i=fi(e)||Ce(e);return Sr(e),e.eat(Uh),new q(e,"attribute",t).add(r).add(n).add(i)}}function Sr(e){for(;!e.eof();)if(!Me(e)&&!Dh(e))return!0}function Wh(e){return zt(e,Vh)&&new q(e,"operator")}function Vh(e){return e===126||e===124||e===94||e===36||e===42||e===61}var Fs=96;function di(e){if(Ys(e))return new q(e,"backtick")}function Ys(e){let t=e.pos;return Fe(e,Fs,Fs)?(e.start=t,!0):!1}var Hh=46;function Gh(e){return lt(e,"class",Hh,Ce)}var Ks=43,ea=126,ta=62,ra=38,Qh={[Ks]:"adjacentSibling",[ea]:"generalSibling",[ta]:"child",[ra]:"nesting"},Jh=function(e){if(Zh(e.peek())){let t=e.pos,r=Qh[e.next()],n=new q(e,"combinator",t);return n.property("type",r),n}};function Zh(e){return e===Ks||e===ea||e===ra||e===ta}var Xh=35;function Yh(e){return lt(e,"hash",Xh,Kh,!0)}function Kh(e){if(em(e))return new q(e,"hash-value")}function em(e){return zt(e,tm)}function tm(e){return ze(e)||wr(e,65,70)||e===95||e===45||e>128}var rm=35;function nm(e){return lt(e,"id",rm,Ce)}var im=33;function om(e){return lt(e,"important",im,Ce)}var Ls=46;function sm(e){if(am(e)){let t=e.start,r=new q(e,"value"),n=lm(e)?new q(e,"unit"):null;return new q(e,"number",t).add(r).add(n)}}function am(e){let t=e.pos;if(e.eat(cm),e.eatWhile(ze)){e.start=t;let r=e.pos;return e.eat(Ls)&&e.eatWhile(ze)||(e.pos=r),!0}else if(e.eat(Ls)&&e.eatWhile(ze))return e.start=t,!0;return e.pos=t,!1}function lm(e){return Vs(e)||um(e)}function um(e){return oi(e,37)}function cm(e){return e===45||e===43}var fm=33,pm=42,dm=43,hm=45,mm=47,gm=60,na=61,bm=62;function ym(e){return vm(e)&&new q(e,"operator")}function vm(e){return oi(e,ia)?(e.eatWhile(na),!0):!!oi(e,xm)}function ia(e){return e===fm||e===gm||e===na||e===bm}function xm(e){return e===pm||e===dm||e===hm||e===mm||ia(e)}var wm=58,km=function(e){let t=e.pos;if(e.eatWhile(wm)){let r=Ce(e);if(r)return new q(e,"pseudo",t).add(r)}e.pos=t},Am=function(e){return oa(e)&&new q(e,"unquoted")};function oa(e){return zt(e,Sm)}function Sm(e){return!isNaN(e)&&!nt(e)&&!Ie(e)&&e!==40&&e!==41&&e!==92&&!Em(e)}function Em(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function sa(e){let t=e.pos;if(qs(e,"url(")){Me(e);let r=fi(e)||Am(e);return Me(e),e.eat(41),new q(e,"url",t).add(r)}e.pos=t}function aa(e){let t=e.pos;return qs(e,"url(")?(Me(e),Ut(e)||oa(e),Me(e),e.eat(41),e.start=t,!0):(e.pos=t,!1)}var la=36;function Tm(e){return lt(e,"variable",la,Cm)}function Cm(e){if(Om(e))return new q(e,"name")}function Om(e){return zt(e,Pm)}function Pm(e){return e===la||Gs(e)}function Tr(e){let t=Nm(e)||$s(e,Tr);if(t&&t.type==="ident"){let r=$s(e,Tr);if(r)return new q(e,"function",t.start,r.end).add(t).add(r)}return t||Fm(e)}function Nm(e){return Im(e)||sa(e)||$m(e)||Rm(e)||Sh(e)}function $m(e){return ci(e)||di(e)||Ce(e)||ui(e)||Gh(e)||nm(e)||km(e)||Mh(e)||Jh(e)}function Rm(e){return sa(e)||fi(e)||ci(e)||di(e)||sm(e)||Yh(e)||jm(e)||om(e)||ym(e)}function jm(e){return di(e)||Tm(e)||ui(e)||Ce(e)}function Im(e){return pi(e)||Bh(e)}function Fm(e){if(e.start=e.pos,e.next()!=null)return new q(e,"unknown")}function Lm(e){return hi(e,"selector")}function _m(e){let t=typeof e=="string"?new rt(e):e,r=[];for(;!t.eof();)r.push(Tr(t));let n;if(r.length===1)n=r[0];else{n=new q(t,"property-name",t.start,t.end);for(let i=0,o=r.length;i<o;i++)n.add(r[i])}return n}function Dm(e){return hi(e)}function qm(e){return hi(e)}function hi(e,t){t=t||"item";let r=typeof e=="string"?new rt(e):e,n=[],i=[],o=()=>{let a=Ds(i);if(a.length){let l=new q(r,t,a[0].start,st(a).end);for(let u=0;u<a.length;u++)l.add(a[u]);n.push(l)}i.length=0},s;for(;!r.eof();)if(r.eat(44))o();else if(s=Tr(r))s.type!=="comment"&&i.push(s);else throw r.error("Unexpected character");return o(),n}function Bm(e,t,r,n){if(!t.length)return null;let i=t[0];return i.end=st(t).end,new si(e,i,r,n)}var si=class extends it{constructor(t,r,n,i){super("rule"),this.stream=t,this.selectorToken=r,this.contentStartToken=n,this.contentEndToken=i||n,this._parsedSelector=null}get selector(){return Ue(this.selectorToken)}get parsedSelector(){return this._parsedSelector||(this._parsedSelector=Lm(this.selectorToken.limit())),this._parsedSelector}get start(){return this.selectorToken&&this.selectorToken.start}get end(){let t=this.contentEndToken||this.contentStartToken||this.nameToken;return t&&t.end}};function zm(e,t,r,n){if(!t.length)return null;let i=0,o,s=t[i++];return i<t.length?(o=t[i++],o.type="expression",o.end=st(t).end):o=new q(e,"expression",s.end,s.end),new ai(e,s,o,r,n)}var ai=class extends it{constructor(t,r,n,i,o){super("at-rule"),this.stream=t,this.nameToken=r,this.expressionToken=n,this.contentStartToken=i,this.contentEndToken=o||i,this._parsedExpression=null}get name(){return Ue(this.nameToken&&this.nameToken.item(0))}get expression(){return Ue(this.expressionToken)}get parsedExpression(){return this._parsedExpression||(this._parsedExpression=qm(this.expressionToken.limit())),this._parsedExpression}get start(){return this.nameToken&&this.nameToken.start}get end(){let t=this.contentEndToken||this.contentStartToken||this.nameToken;return t&&t.end}};function ri(e,t,r){if(!t.length)return null;let n,i,o=0,s=t[o++];return o<t.length&&(i=t[o++],i.type="value",i.end=st(t).end),s&&i&&(n=new q(e,"separator",s.end,i.start)),new li(e,s,i,n,r)}var li=class extends it{constructor(t,r,n,i,o){super("property"),this.stream=t,this.nameToken=r,this.valueToken=n,this._parsedName=null,this._parsedValue=null,this.separatorToken=i,this.terminatorToken=o}get name(){return Ue(this.nameToken)}get parsedName(){return this._parsedName||(this._parsedName=_m(this.nameToken.limit())),this._parsedName}get value(){return Ue(this.valueToken)}get parsedValue(){return this._parsedValue||(this._parsedValue=Dm(this.valueToken.limit())),this._parsedValue}get separator(){return Ue(this.separatorToken)}get terminator(){return Ue(this.terminatorToken)}get start(){let t=this.nameToken||this.separatorToken||this.valueToken||this.terminatorToken;return t&&t.start}get end(){let t=this.terminatorToken||this.valueToken||this.separatorToken||this.nameToken;return t&&t.end}},_s=40,Um=41,Mm=58,Wm=59,Vm=123,Hm=125;function Gm(e){let t=typeof e=="string"?new rt(e):e,r=new ni,n=r,i,o,s,a=[],l=()=>{o&&(a.push(o),o=null)};for(;!t.eof();)if(!Me(t)){if(s=pi(t)){r.addComment(s);continue}if(t.start=t.pos,t.eatWhile(Mm))a.length||(o?l():o=new q(t,"preparse"));else if(t.eat(Wm))l(),n.add(ri(t,a,new q(t,"termintator"))),a.length=0;else if(t.eat(Vm))l(),a.length>0&&(i=a[0].type==="at-keyword"?zm(t,a,new q(t,"body-start")):Bm(t,a,new q(t,"body-start")),n.add(i),n=i,a.length=0);else if(t.eat(Hm))l(),n.add(ri(t,a)),n.type!=="stylesheet"&&(n.contentEndToken=new q(t,"body-end"),n=n.parent),a.length=0;else if(s=ui(t))l(),a.push(s);else if(aa(t)||Ih(t)||Ys(t)||Qm(t,r)||Ut(t)||t.next())o=o||new q(t,"preparse"),o.end=t.pos;else throw new Error(`Unexpected end-of-stream at ${t.pos}`)}for(o&&a.push(o),n.add(ri(t,a)),t.start=t.pos;n&&n!==r;)n.contentEndToken=new q(t,"body-end"),n=n.parent;return r}function Qm(e,t){if(e.eat(_s)){let r=1,n;for(;!e.eof();)if(e.eat(Um)){if(r--,!r)break}else if(e.eat(_s))r++;else{if(aa(e)||Ut(e))continue;if(n=pi(e)){t.addComment(n);continue}else e.next()}return!0}return!1}var _e=Gm;p();var Cr=class e{document;start;_eof;_sof;pos;constructor(t,r,n){this.document=t,this.start=this.pos=r||0,this._sof=n?n[0]:0,this._eof=n?n[1]:t.getText().length}sof(){return this.pos<=this._sof}eof(){return this.pos>=this._eof}limit(t,r){return new e(this.document,t,[t,r])}peek(){return this.eof()?NaN:this.document.getText().charCodeAt(this.pos)}next(){if(this.eof())return NaN;let t=this.document.getText().charCodeAt(this.pos);return this.pos++,this.eof()&&(this.pos=this._eof),t}backUp(t){return this.pos-=t,this.pos<0&&(this.pos=0),this.peek()}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.document.getText().substring(t,r)}error(t){return new Error(`${t} at offset ${this.pos}`)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}};p();var Or=class e{constructor(t,r,n,i){this._uri=t,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let r=this.offsetAt(t.start),n=this.offsetAt(t.end);return this._content.substring(r,n)}return this._content}update(t,r){for(let n of t)if(e.isIncremental(n)){let i=fa(n.range),o=this.offsetAt(i.start),s=this.offsetAt(i.end);this._content=this._content.substring(0,o)+n.text+this._content.substring(s,this._content.length);let a=Math.max(i.start.line,0),l=Math.max(i.end.line,0),u=this._lineOffsets,c=ua(n.text,!1,o);if(l-a===c.length)for(let m=0,d=c.length;m<d;m++)u[m+a+1]=c[m];else c.length<1e4?u.splice(a+1,l-a,...c):this._lineOffsets=u=u.slice(0,a+1).concat(c,u.slice(l+1));let f=n.text.length-(s-o);if(f!==0)for(let m=a+1+c.length,d=u.length;m<d;m++)u[m]=u[m]+f}else if(e.isFull(n))this._content=n.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=r}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=ua(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return{line:0,character:t};for(;n<i;){let s=Math.floor((n+i)/2);r[s]>t?i=s:n=s+1}let o=n-1;return t=this.ensureBeforeEOL(t,r[o]),{line:o,character:t-r[o]}}offsetAt(t){let r=this.getLineOffsets();if(t.line>=r.length)return this._content.length;if(t.line<0)return 0;let n=r[t.line];if(t.character<=0)return n;let i=t.line+1<r.length?r[t.line+1]:this._content.length,o=Math.min(n+t.character,i);return this.ensureBeforeEOL(o,n)}ensureBeforeEOL(t,r){for(;t>r&&ca(this._content.charCodeAt(t-1));)t--;return t}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let r=t;return r!=null&&typeof r.text=="string"&&r.range!==void 0&&(r.rangeLength===void 0||typeof r.rangeLength=="number")}static isFull(t){let r=t;return r!=null&&typeof r.text=="string"&&r.range===void 0&&r.rangeLength===void 0}},Pr;(function(e){function t(i,o,s,a){return new Or(i,o,s,a)}e.create=t;function r(i,o,s){if(i instanceof Or)return i.update(o,s),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=r;function n(i,o){let s=i.getText(),a=mi(o.map(Jm),(c,f)=>{let m=c.range.start.line-f.range.start.line;return m===0?c.range.start.character-f.range.start.character:m}),l=0,u=[];for(let c of a){let f=i.offsetAt(c.range.start);if(f<l)throw new Error("Overlapping edit");f>l&&u.push(s.substring(l,f)),c.newText.length&&u.push(c.newText),l=i.offsetAt(c.range.end)}return u.push(s.substr(l)),u.join("")}e.applyEdits=n})(Pr||(Pr={}));function mi(e,t){if(e.length<=1)return e;let r=e.length/2|0,n=e.slice(0,r),i=e.slice(r);mi(n,t),mi(i,t);let o=0,s=0,a=0;for(;o<n.length&&s<i.length;)t(n[o],i[s])<=0?e[a++]=n[o++]:e[a++]=i[s++];for(;o<n.length;)e[a++]=n[o++];for(;s<i.length;)e[a++]=i[s++];return e}function ua(e,t,r=0){let n=t?[r]:[];for(let i=0;i<e.length;i++){let o=e.charCodeAt(i);ca(o)&&(o===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,n.push(r+i+1))}return n}function ca(e){return e===13||e===10}function fa(e){let t=e.start,r=e.end;return t.line>r.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function Jm(e){let t=fa(e.range);return t!==e.range?{newText:e.newText,range:t}:e}p();var Nr=new Map;function J(e,t){let r=e.uri.toString(),n=Nr.get(r),i=e.version;if(t&&n&&i===n.key)return n.value;let s=(oe(e.languageId)?_e:Bt)(e.getText());return t&&Nr.set(r,{key:i,value:s}),s}function pa(e){let t=e.uri.toString();Nr.set(t,void 0)}function da(e){let t=e.uri.toString();Nr.delete(t)}var Ko,Vp,x0;function Xe(){return Ko||(Ko=(Wp(),ws(Mp))),Ko}function Fn(e=!1){let t=Xe(),r=Z.workspace.getConfiguration("emmet").get("extensionsPath");if(r||(r=[]),e||Vp!==r){Vp=r;let n=Z.workspace.workspaceFolders?.length?Z.workspace.workspaceFolders.map(o=>o.uri):void 0,i=Z.workspace.fs;t.updateExtensionsPath(r,i,n,x0).catch(o=>{Array.isArray(r)&&r.length&&Z.window.showErrorMessage(o.message)})}}function Qp(){let e=Z.workspace.getConfiguration().inspect("emmet.extensionsPath");typeof e?.globalValue=="string"?Z.workspace.getConfiguration().update("emmet.extensionsPath",[e.globalValue],!0):e?.globalValue===null&&Z.workspace.getConfiguration().update("emmet.extensionsPath",[],!0),typeof e?.workspaceValue=="string"?Z.workspace.getConfiguration().update("emmet.extensionsPath",[e.workspaceValue],!1):e?.workspaceValue===null&&Z.workspace.getConfiguration().update("emmet.extensionsPath",[],!1),typeof e?.workspaceFolderValue=="string"?Z.workspace.getConfiguration().update("emmet.extensionsPath",[e.workspaceFolderValue]):e?.workspaceFolderValue===null&&Z.workspace.getConfiguration().update("emmet.extensionsPath",[])}var dr={html:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],jade:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],slim:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],haml:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],xml:[".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],xsl:["!",".","}","*","$","/","]",">","0","1","2","3","4","5","6","7","8","9"],css:[":","!","-","0","1","2","3","4","5","6","7","8","9"],scss:[":","!","-","0","1","2","3","4","5","6","7","8","9"],sass:[":","!","0","1","2","3","4","5","6","7","8","9"],less:[":","!","-","0","1","2","3","4","5","6","7","8","9"],stylus:[":","!","0","1","2","3","4","5","6","7","8","9"],javascriptreact:["!",".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],typescriptreact:["!",".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"]};function oe(e){return["css","scss","sass","less","stylus"].includes(e)}function ee(e=!0){let t=Z.window.activeTextEditor;return t?!(!e&&oe(t.document.languageId)):(Z.window.showInformationMessage("No editor is active"),!1)}function Nt(){let e={handlebars:"html",php:"html"},t={},r=Z.workspace.getConfiguration("emmet").get("includeLanguages"),n=Object.assign({},e,r??{});return Object.keys(n).forEach(i=>{typeof n[i]=="string"&&dr[n[i]]&&(t[i]=n[i])}),t}function Te(e,t,r){if(!e||r.includes(e))return;e==="jsx-tags"&&(e="javascriptreact"),t[e]&&(e=t[e]),/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e)?e="jsx":e==="sass-indented"?e="sass":(e==="jade"||e==="pug")&&(e="pug");let n=Bn();if(n.markup.includes(e)||n.stylesheet.includes(e))return e}var es=125,Hp=123,Pt=47,Gp=42;function Ln(e,t){let r=e.languageId==="css",n=e.offsetAt(t),i=0,o=e.getText().length,s=n-5e3,a=s>0?s:i,l=new Cr(e,n);function u(T){let E=e.getText().substring(0,T).lastIndexOf("/*");if(E!==-1)return E}function c(T){let E=e.getText().substring(T).indexOf("*/");if(E!==-1)return E+=2+T,E}function f(){let T=e.positionAt(l.pos).line;if(!r&&b!==T){b=T;let y=e.lineAt(b).text.indexOf("//");y>-1&&(l.pos=e.offsetAt(new Z.Position(b,y)))}}function m(){!l.sof()&&l.peek()===Pt&&(l.backUp(1)===Gp?l.pos=u(l.pos)??i:l.next())}function d(){if(l.eat(Pt))if(l.eat(Pt)&&!r){let T=e.positionAt(l.pos).line;l.pos=e.offsetAt(new Z.Position(T+1,0))}else l.eat(Gp)&&(l.pos=c(l.pos)??o)}for(;!l.eof()&&!l.eat(es);)l.peek()===Pt?d():l.next();l.eof()||(o=l.pos),l.pos=n;let v=1,b=t.line,A=!1;for(;!A&&v>0&&!l.sof();){switch(f(),l.backUp(1)){case Hp:v--;break;case es:r?(l.next(),i=l.pos,A=!0):v++;break;case Pt:m();break;default:break}(t.line-e.positionAt(l.pos).line>100||l.pos<=a)&&(A=!0)}b=e.positionAt(l.pos).line,v=0;let x=!1;for(;!A&&!l.sof()&&!x&&v>=0;){f();let T=l.backUp(1);if(!/\s/.test(String.fromCharCode(T))){switch(T){case Pt:m();break;case es:v++;break;case Hp:v--;break;default:v||(x=!0);break}!l.sof()&&x&&(i=l.pos)}}try{let T=" ".repeat(i)+e.getText().substring(i,o);return _e(T)}catch{return}}function ne(e,t,r){if(!e)return;function n(o){if(!o)return;let s=o.start,a=o.end;if(s<t&&a>t||r&&s<=t&&a>=t)return i(o.children)??o;if("close"in o){let l=o;if(l.open&&!l.close)return i(l.children)}}function i(o){for(let s=0;s<o.length;s++){let a=n(o[s]);if(a)return a}}return i(e.children)}var hr=["text/html","text/plain","text/x-template","text/template","text/ng-template"];function X(e,t,r,n){let i=ne(t,r,n);if(i){if(i.name==="script"&&i.children.length===0){let o=w0(e,i);o&&(i=X(o,i,r,n)??i)}else if(i.type==="cdata"){let o=k0(e,i);i=X(o,i,r,n)??i}return i}}function w0(e,t){if(t.name==="script"&&t.attributes&&t.attributes.some(n=>n.name.toString()==="type"&&hr.includes(n.value.toString()))&&t.open){let n=" ".repeat(t.open.end),i=t.close?t.close.start:t.end,o=n+e.substring(t.open.end,i);return Bt(o).children.forEach(a=>{t.children.push(a),a.parent=t}),o}return""}function k0(e,t){let i=t.start+"<![CDATA[".length,o=t.end-3,a=" ".repeat(i)+e.substring(i,o);return Bt(a).children.forEach(u=>{t.children.push(u),u.parent=t}),a}function ts(e,t){let r=e;return!!(r.open&&t>r.open.start&&t<r.open.end||r.close&&t>r.close.start&&t<r.close.end)}function Q(e,t,r){let n=e.positionAt(t),i=e.positionAt(r);return new Z.Selection(n,i)}function ae(e,t,r){let n=e.positionAt(t),i=e.positionAt(r);return new Z.Range(n,i)}function $t(e){if(!e||!e.children||e.children.length===0||!e.children.find(t=>t.type!=="comment"))return e;for(let t=e.children.length-1;t>=0;t--)if(e.children[t].type!=="comment")return $t(e.children[t])}function _n(e,t){let r=t===-1,n=!1,i=!1,o,s;for(;t<e.length-1;){if(t++,!r){e[t]===" "&&(r=!0);continue}if(!(r&&!n&&e[t]===" ")){if(!n){o=t,n=!0;continue}if(e[t]===" "){s=t,i=!0;break}}}return n&&!i&&(s=e.length),[o,s]}function Dn(e,t){let r=t===e.length,n=!1,i=!1,o,s;for(;t>-1;){if(t--,!r){e[t]===" "&&(r=!0);continue}if(!(r&&!i&&e[t]===" ")){if(!i){s=t+1,i=!0;continue}if(e[t]===" "){o=t+1,n=!0;break}}}return i&&!n&&(o=0),[o,s]}function Jp(e,t){if(In(e,t))return[e];if(!In(e.parent,t.parent)){if(t.start<e.start)return[t];if(t.start<e.end)return[e];for(;e.parent&&e.parent.end<t.start;)e=e.parent;for(;t.parent&&t.parent.start>e.start;)t=t.parent}let r=[],n=e,i=t.end;for(;n&&i>n.start;)r.push(n),n=n.nextSibling;return r}function In(e,t){return!e&&!t?!0:!e||!t?!1:e.start===t.start&&e.end===t.end}function Rt(e){let t=Z.workspace.getConfiguration("emmet"),r=Object.assign({},t.syntaxProfiles||{}),n=Object.assign({},t.preferences||{});return(e==="jsx"||e==="xml"||e==="xsl")&&(r[e]=r[e]||{},typeof r[e]=="object"&&!r[e].hasOwnProperty("self_closing_tag")&&!r[e].hasOwnProperty("selfClosingStyle")&&(r[e]={...r[e],selfClosingStyle:e==="jsx"?"xhtml":"xml"})),{preferences:n,showExpandedAbbreviation:t.showExpandedAbbreviation,showAbbreviationSuggestions:t.showAbbreviationSuggestions,syntaxProfiles:r,variables:t.variables,excludeLanguages:t.excludeLanguages,showSuggestionsAsSnippets:t.showSuggestionsAsSnippets}}function Zp(e,t){return e.children.find(r=>r.type==="property"&&r.name===t)}function Xp(e,t){let r=e.document,n=J(r,!0),i=r.offsetAt(t),o=ne(n,i,!0);if(oe(e.document.languageId))return o&&o.type==="property"?o:null;let s=o;if(s&&s.name==="style"&&s.open&&s.close&&s.open.end<i&&s.close.start>i){let a=" ".repeat(s.start)+r.getText().substring(s.start,s.end),l=_e(a),u=ne(l,i,!0);return u&&u.type==="property"?u:null}return null}function qn(e,t,r){if(!t)return;let n=t;if(n&&n.open&&n.close){let i=e.offsetAt(r);if(n.open.end<i&&i<=n.close.start&&n.name==="style"){let o=" ".repeat(n.open.end)+e.getText().substring(n.open.end,n.close.start);return _e(o)}}}function Yp(e,t){if(!e)return!1;let r=e,n=(r.attributes||[]).findIndex(o=>o.name.toString()==="style");if(n===-1)return!1;let i=r.attributes[n];return t>=i.value.start&&t<=i.value.end}function mr(e){return Pr.create(e.uri.toString(),e.languageId,e.version,e.getText())}function Kp(e){let t=e.split("/").pop();return(t?t.split("\\").pop():"")??""}function Bn(){return{markup:["html","xml","xsl","jsx","js","pug","slim","haml"],stylesheet:["css","sass","scss","less","sss","stylus"]}}var A0=/[\u00a0]*[\d#\-\*\u2022]+\.?/,rs=/^#[\da-fA-F]{0,6}$/;async function ed(e){if(!ee(!1))return!1;let t=D.window.activeTextEditor,r=t.document;e=e||{},e.language||(e.language=r.languageId);let n=gr(e)||"html",i=J(r,!0),o=Xe(),s=Array.from(t.selections).sort((S,k)=>S.start.compareTo(k.start)).map(S=>{let k=S;{let{start:j,end:$}=k,F=r.offsetAt(j),C=r.getText(),g=X(C,i,F,!0);if(g&&ts(g,F)){j=r.positionAt(g.start);let L=r.positionAt(g.end);$=L.isAfter($)?L:$}let N=r.offsetAt($),O=X(C,i,N,!0);if(O&&ts(O,N)){let L=r.positionAt(O.start);j=L.isBefore(j)?L:j;let I=r.positionAt(O.end);$=I.isAfter($)?I:$}k=new D.Range(j,$)}if(!k.isSingleLine&&k.end.character===0){let j=k.end.line-1;k=new D.Range(k.start,r.lineAt(j).range.end)}k.isEmpty&&(k=r.lineAt(k.start).range);let P=r.lineAt(k.start);return!P.isEmptyOrWhitespace&&P.firstNonWhitespaceCharacterIndex>k.start.character&&(k=k.with(new D.Position(k.start.line,P.firstNonWhitespaceCharacterIndex))),k}).reduce((S,k)=>(S.length>0&&k.intersection(S[S.length-1])?S.push(k.union(S.pop())):S.push(k),S),[]),a=t.selections;t.selections=s.map(S=>new D.Selection(S.start,S.end));let l=s.map(S=>{let k,P=r.getText(S),$=r.lineAt(S.start).text.match(/^(\s*)/),F=$?$[1]:"";return k=S.isSingleLine?[P]:P.split(`
|
|
31
|
-
`+
|
|
32
|
-
`),L=g.end.line-g.start.line+1,I=O.length-L,_=g.start.line+j,ce=g.start.character,fe=g.end.line+j+I,Y=O[O.length-1].length;F>0&&fe===P.end.line?(ce=P.end.character+(g.start.character-k.end.character),Y+=ce):F>0&&_===P.end.line?ce=P.end.character+(g.start.character-k.end.character):O.length===1&&(Y+=g.start.character),k=l[F].previewRange,P=new D.Range(_,ce,fe,Y),l[F].previewRange=P,j+=I}},{undoStopBefore:!1,undoStopAfter:!1})}let v=!1;async function b(S,k){let j=!!S&&!!S.trim()&&o.isAbbreviationValid(n,S)?o.extractAbbreviationFromText(S,n):void 0;if(!j)return v&&(v=!1,await m()),!1;let{abbreviation:$,filter:F}=j;if(k){let g=l.map(N=>({syntax:n,abbreviation:$,rangeToReplace:N.originalRange,textToWrap:N.textToWrapInPreview,filter:F,indent:f,baseIndent:N.baseIndent}));return v=!0,d(g)}let C=l.map(g=>({syntax:n,abbreviation:$,rangeToReplace:g.originalRange,textToWrap:g.textToWrapInPreview,filter:F,indent:f}));return v&&(v=!1,await m()),rd(t,C,!1)}let A="";async function x(S){return S!==A&&(A=S,await b(S,!0)),""}let T=D.l10n.t("Enter Abbreviation"),y=e&&e.abbreviation?e.abbreviation:await D.window.showInputBox({prompt:T,validateInput:x}),E=await b(y,!1);return E||(t.selections=a),E}function td(e){if(!ee()||!D.window.activeTextEditor)return Ye();if(D.window.activeTextEditor.selections.length===1&&D.window.activeTextEditor.selection.isEmpty){let f=D.window.activeTextEditor.selection.anchor;if(f.character===0)return Ye();let m=f.translate(0,-1),d=D.window.activeTextEditor.document.getText(new D.Range(m,f));if(d===" "||d===" ")return Ye()}if(e=e||{},!e.language)e.language=D.window.activeTextEditor.document.languageId;else if((D.workspace.getConfiguration("emmet").excludeLanguages?D.workspace.getConfiguration("emmet").excludeLanguages:[]).includes(D.window.activeTextEditor.document.languageId))return Ye();let t=gr(e);if(!t)return Ye();let r=D.window.activeTextEditor;if(D.workspace.getConfiguration("emmet").triggerExpansionOnTab===!0&&r.selections.find(f=>!f.isEmpty))return Ye();let n=[],i,o=!0,s=Xe(),a=(f,m,d,v)=>{d=f.validatePosition(d);let b=m,A=f.getText(b);if(!b.isEmpty){let P=s.extractAbbreviationFromText(A,v);return P?[b,P.abbreviation,P.filter]:[null,"",""]}let T=r.document.lineAt(d.line).text.substr(0,d.character);if(v==="html"){let P=T.match(/<(\w+)$/);if(P)return A=P[1],b=new D.Range(d.translate(0,-(A.length+1)),d),[b,A,""]}let y=s.extractAbbreviation(mr(r.document),d,{lookAhead:!1});if(!y)return[null,"",""];let{abbreviationRange:E,abbreviation:S,filter:k}=y;return[new D.Range(E.start.line,E.start.character,E.end.line,E.end.character),S,k]},l=r.selections.slice(0);l.sort((f,m)=>{let d=f.isReversed?f.anchor:f.active,v=m.isReversed?m.anchor:m.active;return d.compareTo(v)*-1});let u;function c(){if(u)return u;let f=D.workspace.getConfiguration("emmet").optimizeStylesheetParsing===!0;return r.selections.length===1&&oe(r.document.languageId)&&f&&r.document.lineCount>1e3?u=Ln(r.document,r.selection.isReversed?r.selection.anchor:r.selection.active):u=J(r.document,!0),u}return l.forEach(f=>{let m=f.isReversed?f.anchor:f.active,[d,v,b]=a(r.document,f,m,t);if(!d||!s.isAbbreviationValid(t,v)||oe(t)&&v.endsWith(":"))return;let A=r.document.offsetAt(m),x=ne(c(),A,!0),T=!0,y=t;if(r.document.languageId==="html")if(Yp(x,A))y="css",T=!1;else{let E=qn(r.document,x,m);E&&(x=ne(E,A,!0),y="css")}T&&!is(r.document,c(),x,y,A,d)||(i?o&&i!==v&&(o=!1):i=v,n.push({syntax:y,abbreviation:v,rangeToReplace:d,filter:b}))}),rd(r,n,o).then(f=>f?Promise.resolve(void 0):Ye())}function Ye(){return D.workspace.getConfiguration("emmet").triggerExpansionOnTab===!0?D.commands.executeCommand("tab"):Promise.resolve(!0)}function is(e,t,r,n,i,o){if(oe(n)){let x=t;if(x&&(x.comments||[]).some(E=>i>=E.start&&i<=E.end))return!1;if(!r)return!0;let T=e.getText(new D.Range(o.start.line,o.start.character,o.end.line,o.end.character));if(T.startsWith("@"))return!0;if(n!=="sass"&&n!=="stylus"&&r.type==="property"){if(r.parent&&r.parent.type!=="rule"&&r.parent.type!=="at-rule")return!1;let E=r;if(E.terminatorToken&&E.separator&&i>=E.separatorToken.end&&i<=E.terminatorToken.start&&!T.includes(":")||!E.terminatorToken&&E.separator&&i>=E.separatorToken.end&&!T.includes(":"))return rs.test(T)||T==="!";if(rs.test(T)||T==="!")return!1}if(r.type!=="rule"&&r.type!=="at-rule")return!0;let y=r;if(i>y.contentStartToken.end)return!0;if(y.parent&&(y.parent.type==="rule"||y.parent.type==="at-rule")&&y.selectorToken){let E=e.positionAt(i),S=e.positionAt(y.selectorToken.start),k=e.positionAt(y.selectorToken.end);if(E.line!==k.line&&S.character===o.start.character&&S.line===o.start.line)return!0}return!1}let s="<",a=">",l="\\",u="?",c=r,f=0;if(c){if(c.name==="script"){let T=(c.attributes||[]).filter(S=>S.name.toString()==="type")[0],y=T?T.value.toString():"";return hr.includes(y)?!0:!y||y==="application/javascript"||y==="text/javascript"?!!gr({language:"javascript"}):!1}if(!c.open||!c.close||!(c.open.end<=i&&i<=c.close.start))return!1;f=c.open.end;let x=c.firstChild;for(;x&&!(x.end>i);)f=x.end,x=x.nextSibling}let m=e.positionAt(f),d=e.getText(new D.Range(m.line,m.character,o.start.line,o.start.character));if(d.length>500&&(d=d.substr(d.length-500)),!d.trim())return!0;let v=!0,b=!1,A=d.length-1;if(d[A]===s)return!1;for(;A>=0;){let x=d[A];if(A--,!b&&/\s/.test(x)){b=!0;continue}if(x===u&&d[A]===s){A--;continue}if(/\s/.test(x)&&d[A]===s){A--;continue}if(!(x!==s&&x!==a)){if(A>=0&&d[A]===l){A--;continue}if(x===a){if(A>=0&&d[A]==="=")continue;break}if(x===s){v=!b;break}}}return v}async function rd(e,t,r){if(!t||t.length===0)return!1;let n=0;if(!r){t.sort((a,l)=>l.rangeToReplace.start.compareTo(a.rangeToReplace.start));for(let a of t){let l=ns(a);l&&(await e.insertSnippet(new D.SnippetString(l),a.rangeToReplace,{undoStopBefore:!1,undoStopAfter:!1}),n++)}return n>0}let i=t[0],o=ns(i),s=t.map(a=>a.rangeToReplace);return o?e.insertSnippet(new D.SnippetString(o),s):!1}function ns(e){let t=Xe(),r=t.getExpandOptions(e.syntax,Rt(e.syntax),e.filter);e.textToWrap&&(e.textToWrap=e.textToWrap.map(i=>i.replace(/\$\{/g,"\\${")),e.filter&&e.filter.includes("t")&&(e.textToWrap=e.textToWrap.map(i=>i.replace(A0,"").trim())),r.text=e.textToWrap,r.options&&(e.rangeToReplace.isSingleLine||(r.options["output.inlineBreak"]=1),e.indent&&(r.options["output.indent"]=e.indent),e.baseIndent&&(r.options["output.baseIndent"]=e.baseIndent)));let n;try{n=t.expandAbbreviation(e.abbreviation,r)}catch{D.window.showErrorMessage("Failed to expand abbreviation")}return n}function gr(e){let t=Nt(),r=e.language,n=e.parentMode,i=D.workspace.getConfiguration("emmet").excludeLanguages?D.workspace.getConfiguration("emmet").excludeLanguages:[];if(i.includes(r))return;let o=Te(t[r]??r,t,i);return o||(o=Te(t[n]??n,t,i)),o}var zn=class{lastCompletionType;provideCompletionItems(t,r,n,i){let o=this.provideCompletionItemsInternal(t,r,i);if(!o){this.lastCompletionType=void 0;return}return o.then(s=>{if(!s||!s.items.length)return this.lastCompletionType=void 0,s;let a=s.items[0],l=a.documentation?a.documentation.toString():"";return l.startsWith("<")?this.lastCompletionType="html":l.indexOf(":")>0&&l.endsWith(";")?this.lastCompletionType="css":this.lastCompletionType=void 0,s})}provideCompletionItemsInternal(t,r,n){let i=te.workspace.getConfiguration("emmet"),o=i.excludeLanguages?i.excludeLanguages:[];if(o.includes(t.languageId))return;let s=Nt(),a=!!s[t.languageId],l=Te(a?s[t.languageId]:t.languageId,s,o);if(!l||i.showExpandedAbbreviation==="never"||(a||l==="jsx")&&i.showExpandedAbbreviation!=="always")return;let u=l,c=u==="html"||u==="jsx"||u==="xml",f,m,d=mr(t);r=t.validatePosition(r);let v=new te.Range(r.line,0,r.line,r.character);if(t.getText(v).trimStart().startsWith("//"))return;let b=Xe();if(u==="html"){if(n.triggerKind===te.CompletionTriggerKind.TriggerForIncompleteCompletions)switch(this.lastCompletionType){case"html":c=!1;break;case"css":c=!1,u="css";break;default:break}if(c){let E=t.offsetAt(r),S=J(t,!0),k=X(t.getText(),S,E,!1);if(k)if(k.name==="script"){let P=k.attributes.find(j=>j.name.toString()==="type");if(P){let j=P.value.toString();if(j==="application/javascript"||j==="text/javascript")if(gr({language:"javascript"}))c=!1;else return;else hr.includes(j)&&(c=!1)}else return}else if(k.name==="style")u="css",c=!1;else{let P=k.attributes.find(j=>j.name.toString()==="style");P&&P.value.start<=E&&E<=P.value.end&&(u="css",c=!1)}}}let A=oe(u)?{lookAhead:!1,syntax:"stylesheet"}:{lookAhead:!0,syntax:"markup"},x=b.extractAbbreviation(d,r,A);if(!x||!b.isAbbreviationValid(u,x.abbreviation))return;let T=t.offsetAt(r);if(oe(t.languageId)&&n.triggerKind!==te.CompletionTriggerKind.TriggerForIncompleteCompletions){if(c=!0,f=te.workspace.getConfiguration("emmet").optimizeStylesheetParsing===!0&&t.lineCount>1e3?Ln(t,r):J(t,!0),!f)return;m=ne(f,T,!0)}if(!oe(t.languageId)&&oe(u)&&n.triggerKind!==te.CompletionTriggerKind.TriggerForIncompleteCompletions){if(c=!0,f=J(t,!0),!f)return;let E=ne(f,T,!0),S=qn(t,E,r);m=ne(S,T,!0)}if(c&&!is(t,f,m,u,T,S0(x.abbreviationRange)))return;let y=Promise.resolve(!1);if(!oe(u)&&(t.languageId==="javascript"||t.languageId==="javascriptreact"||t.languageId==="typescript"||t.languageId==="typescriptreact")){let E=x.abbreviation;E.startsWith("this.")||/\[[^\]=]*\]/.test(E)?y=Promise.resolve(!0):y=te.commands.executeCommand("vscode.executeDocumentSymbolProvider",t.uri).then(S=>!!S&&S.some(k=>E===k.name||E.startsWith(k.name+".")&&!/>|\*|\+/.test(E)))}return y.then(E=>{if(E)return;let S=Rt(u),k=b.doComplete(mr(t),r,u,S),P=[];return k&&k.items&&k.items.forEach(j=>{let $=new te.CompletionItem(j.label);$.documentation=j.documentation,$.detail=j.detail,$.insertText=new te.SnippetString(j.textEdit.newText);let F=j.textEdit.range;$.range=new te.Range(F.start.line,F.start.character,F.end.line,F.end.character),$.filterText=j.filterText,$.sortText=j.sortText,i.showSuggestionsAsSnippets===!0&&($.kind=te.CompletionItemKind.Snippet),P.push($)}),new te.CompletionList(P,!0)})}};function S0(e){return new te.Range(e.start.line,e.start.character,e.end.line,e.end.character)}p();var je=le(require("vscode"));function id(){if(!ee(!1)||!je.window.activeTextEditor)return;let e=je.window.activeTextEditor,t=e.document,r=J(t,!0);if(!r)return;let n=Array.from(e.selections).reverse().reduce((i,o)=>i.concat(E0(e.document,r,o)),[]);return e.edit(i=>{n.forEach(o=>{i.delete(o)})})}function E0(e,t,r){let n=e.offsetAt(r.start),i=X(e.getText(),t,n,!0);if(!i)return[];let o;i.open&&(o=ae(e,i.open.start,i.open.end));let s;if(i.close&&(s=ae(e,i.close.start,i.close.end)),o&&s){let l=new je.Range(o.end.line,o.end.character,s.start.line,s.start.character),u=new je.Range(o.start.line,o.start.character,s.end.line,s.end.character);if(e.getText(l).trim()===""&&i.name!=="pre")return[u]}let a=[];if(o&&(a.push(o),s)){let l=T0(e,o,s),u,c;for(let f=o.start.line+1;f<s.start.line;f++)e.lineAt(f).isEmptyOrWhitespace||(a.push(new je.Range(f,0,f,l)),u===void 0&&(u=f),c=f);nd(e,s)&&c?a.push(new je.Range(c,e.lineAt(c).range.end.character,s.end.line,s.end.character)):a.push(s),nd(e,o)&&u&&(a[1]=new je.Range(o.start.line,o.start.character,u,e.lineAt(u).firstNonWhitespaceCharacterIndex),a.shift())}return a}function nd(e,t){if(t.start.line===t.end.line){let r=e.lineAt(t.start).text,n=e.getText(t);if(r.trim()===n)return!0}return!1}function T0(e,t,r){let n=t.start.line,i=r.start.line,o=e.lineAt(n).firstNonWhitespaceCharacterIndex,s=e.lineAt(i).firstNonWhitespaceCharacterIndex,a;for(let u=n+1;u<i;u++){let c=e.lineAt(u);if(!c.isEmptyOrWhitespace){let f=c.firstNonWhitespaceCharacterIndex;a=a?Math.min(a,f):f}}let l=0;return a&&(a<o||a<s?l=0:l=Math.min(a-o,a-s)),l}p();var Ke=le(require("vscode"));async function os(e){if(!ee(!1)||!Ke.window.activeTextEditor)return;let t=Ke.window.activeTextEditor,r=t.document,n=J(r,!0);if(!n)return;let i=t.selections.reduceRight((a,l)=>a.concat(O0(r,l,n)),[]);if(!i.length)return;let o=i[0].name,s=i.every(a=>a.name===o);return e===void 0&&(e=await Ke.window.showInputBox({prompt:"Enter Tag",value:s?o:void 0}),!e)?!1:t.edit(a=>{i.forEach(l=>{a.replace(l.range,e)})})}function C0(e,t){let r=[];if(e.open){let n=t.positionAt(e.open.start);r.push({name:e.name,range:new Ke.Range(n.translate(0,1),n.translate(0,1).translate(0,e.name.length))})}if(e.close){let n=t.positionAt(e.close.start),i=t.positionAt(e.close.end);r.push({name:e.name,range:new Ke.Range(n.translate(0,2),i.translate(0,-1))})}return r}function O0(e,t,r){let n=e.getText(),i=e.offsetAt(t.start),o=X(n,r,i,!0);return o?C0(o,e):[]}p();var ss=le(require("vscode"));function od(){if(!ee(!1)||!ss.window.activeTextEditor)return;let e=ss.window.activeTextEditor,t=e.document,r=J(t,!0);if(!r)return;let n=[];e.selections.forEach(i=>{let o=P0(t,r,i.start);o&&n.push(o)}),n.length&&(e.selections=n,e.revealRange(e.selections[n.length-1]))}function P0(e,t,r){let n=e.offsetAt(r),i=X(e.getText(),t,n,!0);if(!i||!i.open||!i.close||n>i.open.end&&n<i.close.start)return;let o=n<=i.open.end?i.close.start+2:i.start+1;return Q(e,o,o)}p();var as=le(require("vscode"));var Un=[],sd=[];function ld(){cd(!0)}function ud(){cd(!1)}function cd(e){if(!ee(!1)||!as.window.activeTextEditor)return;let t=as.window.activeTextEditor,r=t.document,n=J(r,!0);if(!n)return;let i=e?N0:$0,o=t.selections.map(s=>i(r,n,s));ad(sd,t.selections)?e?ad(t.selections,o)||Un.push(t.selections):Un.length&&(o=Un.pop()):Un=e?[t.selections]:[],t.selections=o,sd=t.selections}function N0(e,t,r){let n=e.offsetAt(r.start),i=X(e.getText(),t,n,!1);if(!i)return r;if(!i.open||!i.close)return Q(e,i.start,i.end);let o,s;return i.close.start<=n&&i.close.end>n?(o=Q(e,i.close.start,i.open.end),s=Q(e,i.close.end,i.open.start)):(o=Q(e,i.open.end,i.close.start),s=Q(e,i.open.start,i.close.end)),o.contains(r)&&!o.isEqual(r)?o:s.contains(r)&&!s.isEqual(r)?s:r}function $0(e,t,r){let n=e.offsetAt(r.start),i=X(e.getText(),t,n,!0);if(!i)return r;let o=e.offsetAt(r.start),s=e.offsetAt(r.end);if(i.open&&i.close){let l=o===i.start&&s===i.end,u=o>i.open.start&&o<i.open.end,c=o>i.close.start&&o<i.close.end;if(l||u||c)return Q(e,i.open.end,i.close.start)}if(!i.firstChild)return r;let a=i.firstChild;return o===a.start&&s===a.end&&a.open&&a.close?Q(e,a.open.end,a.close.start):Q(e,a.start,a.end)}function ad(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].isEqual(t[r]))return!1;return!0}p();var br=le(require("vscode"));function fd(){if(!ee(!1)||!br.window.activeTextEditor)return;let e=br.window.activeTextEditor,t=e.document,r=J(e.document,!0);if(r)return e.edit(n=>{Array.from(e.selections).reverse().forEach(i=>{let o=t.getText(),s=t.offsetAt(i.start),a=X(o,r,s,!0);if(a){let l=R0(t,a);n.replace(l.range,l.newText)}})})}function R0(e,t){let r,n;if(!t.open||!t.close){let o=e.getText().substring(t.start,t.end).match(/(\s*\/)?>$/),s=t.end,a=o?s-o[0].length:s;r=ae(e,a,s),n=`></${t.name}>`}else{let i=t.open.end-1,o=t.end;r=ae(e,i,o),n="/>";let s=Te(e.languageId,{},[])??"",a=Rt(s);s&&a.syntaxProfiles[s]&&(a.syntaxProfiles[s].selfClosingStyle==="xhtml"||a.syntaxProfiles[s].self_closing_tag==="xhtml")&&(n=" "+n)}return new br.TextEdit(r,n)}p();var yr=le(require("vscode"));function pd(){if(!ee(!1)||!yr.window.activeTextEditor)return;let e=yr.window.activeTextEditor,t=J(e.document,!0);if(t)return e.edit(r=>{Array.from(e.selections).reverse().forEach(n=>{let i=j0(e.document,n,t);i&&r.replace(i.range,i.newText)})})}function j0(e,t,r){let n,i,o=e.offsetAt(t.start),s=e.offsetAt(t.end);if(t.isEmpty?n=i=ne(r,o,!0):(n=ne(r,o,!0),i=ne(r,s,!0)),!n||!i)return;let a=e.positionAt(n.start),l=a.line,u=a.character,f=e.positionAt(i.end).line;if(l===f)return;let m=ae(e,n.start,i.end),d=e.lineAt(l).text.substr(u);for(let v=l+1;v<=f;v++)d+=e.lineAt(v).text.trim();return new yr.TextEdit(m,d)}p();var ie=le(require("vscode"));var Mn,Wn,Vn,Hn;function dd(){if(!ee()||!ie.window.activeTextEditor)return;F0();let e=ie.window.activeTextEditor,t=J(e.document,!0);if(t)return e.edit(r=>{let n=[];Array.from(e.selections).reverse().forEach(o=>{let s=oe(e.document.languageId)?md(e.document,o,t):I0(e.document,o,t);s.length>0&&n.push(s)}),n.sort((o,s)=>{let a=o[0].range.start.line-s[0].range.start.line;return a===0?o[0].range.start.character-s[0].range.start.character:a});let i=new ie.Position(0,0);for(let o of n)o[0].range.end.isAfterOrEqual(i)&&o.forEach(s=>{r.replace(s.range,s.newText),i=s.range.end})})}function I0(e,t,r){let n=t.isReversed?t.active:t.anchor,i=t.isReversed?t.anchor:t.active,o=e.offsetAt(n),s=e.offsetAt(i),a=e.getText(),l=X(a,r,o,!0),u=X(a,r,s,!0);if(!l||!u)return[];if(In(l,u)&&l.name==="style"&&l.open&&l.close&&l.open.end<o&&l.close.start>s){let m=" ".repeat(l.open.end)+a.substring(l.open.end,l.close.start),d=_e(m);return md(e,t,d)}let c=Jp(l,u),f=[];return c.forEach(m=>{f=f.concat(hd(m,e))}),l.type==="comment"||(f.push(new ie.TextEdit(ae(e,c[0].start,c[0].start),Vn)),f.push(new ie.TextEdit(ae(e,c[c.length-1].end,c[c.length-1].end),Hn))),f}function hd(e,t){let r=[];return e.type==="comment"?(r.push(new ie.TextEdit(ae(t,e.start,e.start+Vn.length),"")),r.push(new ie.TextEdit(ae(t,e.end-Hn.length,e.end),"")),r):(e.children.forEach(n=>{r=r.concat(hd(n,t))}),r)}function md(e,t,r){let n=t.isReversed?t.active:t.anchor,i=t.isReversed?t.anchor:t.active,o=e.offsetAt(n),s=e.offsetAt(i),a=ne(r,o,!0),l=ne(r,s,!0);t.isEmpty?a&&(o=a.start,s=a.end,t=Q(e,o,s)):(o=L0(a,o,r),s=_0(l,s,r),t=Q(e,o,s));let u=[],c=[];return r.comments.forEach(f=>{let m=ae(e,f.start,f.end);t.intersection(m)&&(u.push(m),c.push(new ie.TextEdit(ae(e,f.start,f.start+Mn.length),"")),c.push(new ie.TextEdit(ae(e,f.end-Wn.length,f.end),"")))}),c.length>0?c:[new ie.TextEdit(new ie.Range(t.start,t.start),Mn),new ie.TextEdit(new ie.Range(t.end,t.end),Wn)]}function F0(){ie.workspace.getConfiguration("editor.comments").get("insertSpace")?(Mn="/* ",Wn=" */",Vn="<!-- ",Hn=" -->"):(Mn="/*",Wn="*/",Vn="<!--",Hn="-->")}function L0(e,t,r){for(let o of r.comments)if(o.start<=t&&t<=o.end)return t;if(!e)return t;if(e.type==="property")return e.start;let n=e;if(t<n.contentStartToken.end||!n.firstChild)return n.start;if(t<n.firstChild.start)return t;let i=n.firstChild;for(;i.nextSibling&&t>i.end;)i=i.nextSibling;return i.start}function _0(e,t,r){for(let o of r.comments)if(o.start<=t&&t<=o.end)return t;if(!e)return t;if(e.type==="property")return e.end;let n=e;if(t===n.contentEndToken.end||!n.firstChild)return n.end;if(t>n.children[n.children.length-1].end)return t;let i=n.children[n.children.length-1];for(;i.previousSibling&&t<i.start;)i=i.previousSibling;return i.end}p();var jt=le(require("vscode"));function ls(e){if(!ee()||!jt.window.activeTextEditor)return;let t=jt.window.activeTextEditor,r=[];t.selections.forEach(n=>{let i=e==="next"?D0(n,t):q0(n,t);r.push(i)}),t.selections=r,t.revealRange(t.selections[t.selections.length-1])}function D0(e,t){for(let r=e.anchor.line;r<t.document.lineCount;r++){let n=gd(r,t,e.anchor,"next");if(n)return n}return e}function q0(e,t){for(let r=e.anchor.line;r>=0;r--){let n=gd(r,t,e.anchor,"prev");if(n)return n}return e}function gd(e,t,r,n){let i=t.document.lineAt(e),o=i.text;if(e!==r.line&&i.isEmptyOrWhitespace&&o.length)return new jt.Selection(e,o.length,e,o.length);e===r.line&&n==="prev"&&(o=o.substr(0,r.character));let s=n==="next"?o.indexOf('""',e===r.line?r.character:0):o.lastIndexOf('""'),a=n==="next"?o.indexOf("><",e===r.line?r.character:0):o.lastIndexOf("><"),l=-1;if(s>-1&&a>-1?l=n==="next"?Math.min(s,a):Math.max(s,a):s>-1?l=s:l=a,l>-1)return new jt.Selection(e,l+1,e,l+1)}p();var cs=le(require("vscode"));p();function bd(e,t,r,n){let i=e.offsetAt(r),o=X(e.getText(),n,i,!1),s;if(o){if(o.type!=="comment"){if(o.open&&i<=o.open.start+o.name.length)return us(e,o);if(o.open&&i<o.open.end){let a=e.offsetAt(t),l=B0(e,a,i,o);if(l)return l}for(s=o.firstChild;s&&(i>=s.end||s.type==="comment");)s=s.nextSibling}for(;!s&&o;)o.nextSibling?o.nextSibling.type!=="comment"?s=o.nextSibling:o=o.nextSibling:o=o.parent;return s&&us(e,s)}}function yd(e,t,r,n){let i=e.offsetAt(t),o=X(e.getText(),n,i,!1),s;if(!o)return;let a=e.offsetAt(r);if(o.open&&o.type!=="comment"&&i-1>o.open.start)if(i<o.open.end||!o.firstChild||a<=o.firstChild.start)s=o;else{s=o.firstChild;let u;for(;s.nextSibling&&i>=s.nextSibling.end;)s&&s.type!=="comment"&&(u=s),s=s.nextSibling;s=$t(s&&s.type!=="comment"?s:u)}for(;!s&&o;)o.previousSibling?o.previousSibling.type!=="comment"?s=$t(o.previousSibling):o=o.previousSibling:s=o.parent;if(!s)return;let l=z0(e,i,a,s);return l||us(e,s)}function us(e,t){if(t&&t.open){let r=t.open.start+1,n=r+t.name.length;return Q(e,r,n)}}function B0(e,t,r,n){if(!(!n.attributes||n.attributes.length===0||n.type==="comment"))for(let i of n.attributes){if(r<i.start)return Q(e,i.start,i.end);if(!i.value||i.value.start===i.value.end)continue;if(t===i.start&&r===i.end||r<i.value.start)return Q(e,i.value.start,i.value.end);if(!i.value.toString().includes(" "))continue;let o;if(t===i.value.start&&r===i.value.end&&(o=-1),o===void 0&&r<i.end){let s=e.positionAt(r).character,a=e.positionAt(i.value.start).character;o=s-a-1}if(o!==void 0){let[s,a]=_n(i.value.toString(),o);if(s===void 0||a===void 0)return;if(s>=0&&a>=0){let l=i.value.start+s,u=i.value.start+a;return Q(e,l,u)}}}}function z0(e,t,r,n){if(!(!n.attributes||n.attributes.length===0||n.type==="comment"))for(let i=n.attributes.length-1;i>=0;i--){let o=n.attributes[i];if(t<=o.start)continue;if(!o.value||o.value.start===o.value.end||t<o.value.start)return Q(e,o.start,o.end);if(t===o.value.start)return r>=o.value.end?Q(e,o.start,o.end):Q(e,o.value.start,o.value.end);let s=e.positionAt(t).character,a=e.positionAt(o.value.start).character,l=t>o.value.end?o.value.toString().length:s-a,[u,c]=Dn(o.value.toString(),l);if(u===void 0||c===void 0)return;if(u>=0&&c>=0){let f=o.value.start+u,m=o.value.start+c;return Q(e,f,m)}}}p();var vd=le(require("vscode"));function xd(e,t,r,n){let i=e.offsetAt(t),o=e.offsetAt(r),s=ne(n,o,!0);if(s||(s=n),!s)return;if(s.type==="property"&&i===s.start&&o===s.end)return Qn(e,s,i,o,!0,"next");if(s.type==="property"&&i>=s.valueToken.start&&o<=s.valueToken.end){let l=Qn(e,s,i,o,!1,"next");if(l)return l}if(s.type==="rule"&&o<s.selectorToken.end||s.type==="property"&&o<s.valueToken.end)return Gn(e,s);let a=s.firstChild;for(;a&&o>=a.end;)a=a.nextSibling;for(;!a&&s;)a=s.nextSibling,s=s.parent;return a?Gn(e,a):void 0}function wd(e,t,r,n){let i=e.offsetAt(t),o=e.offsetAt(r),s=ne(n,i,!1);if(s||(s=n),!s)return;if(s.type==="property"&&i===s.valueToken.start&&o===s.valueToken.end)return Gn(e,s);if(s.type==="property"&&i>=s.valueToken.start&&o<=s.valueToken.end){let l=Qn(e,s,i,o,!1,"prev");if(l)return l}if(s.type==="property"||!s.firstChild||s.type==="rule"&&i<=s.firstChild.start)return Gn(e,s);let a=s.firstChild;for(;a.nextSibling&&i>=a.nextSibling.end;)a=a.nextSibling;return a=$t(a),Qn(e,a,i,o,!1,"prev")}function Gn(e,t){if(!t)return;let r=t.type==="rule"?t.selectorToken:t;return Q(e,r.start,r.end)}function Qn(e,t,r,n,i,o){if(!t||t.type!=="property")return;let s=t,a=s.valueToken.stream.substring(s.valueToken.start,s.valueToken.end);if(i=i||o==="prev"&&r===s.valueToken.start&&n<s.valueToken.end,i)return Q(e,s.valueToken.start,s.valueToken.end);let l=-1;if(o==="prev"){if(r===s.valueToken.start)return;let v=e.positionAt(r).character,b=e.positionAt(s.valueToken.start).character;l=r>s.valueToken.end?a.length:v-b}else if(o==="next"){if(n===s.valueToken.end&&(r>s.valueToken.start||!a.includes(" ")))return;let v=e.positionAt(n).character,b=e.positionAt(s.valueToken.start).character;l=n===s.valueToken.end?-1:v-b-1}let[u,c]=o==="prev"?Dn(a,l):_n(a,l);if(!u&&!c)return;let f=e.positionAt(s.valueToken.start),m=f.translate(0,u),d=f.translate(0,c);return new vd.Selection(m,d)}function fs(e){if(!ee()||!cs.window.activeTextEditor)return;let t=cs.window.activeTextEditor,r=t.document,n=J(r,!0);if(!n)return;let i=[];t.selections.forEach(o=>{let s=o.isReversed?o.active:o.anchor,a=o.isReversed?o.anchor:o.active,l;oe(t.document.languageId)?l=e==="next"?xd(r,s,a,n):wd(r,s,a,n):l=e==="next"?bd(r,s,a,n):yd(r,s,a,n),i.push(l||o)}),t.selections=i,t.revealRange(t.selections[t.selections.length-1])}p();var de=le(require("vscode"));p();p();function It(e){return e>47&&e<58}function ds(e){return e===32||e===9||e===160}function Zn(e){return ds(e)||e===10||e===13}var Jn=class e{constructor(t,r,n){n==null&&typeof t=="string"&&(n=t.length),this.string=t,this.pos=this.start=r||0,this.end=n||0}eof(){return this.pos>=this.end}limit(t,r){return new e(this.string,t,r)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}backUp(t){this.pos-=t||1}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.string.slice(t,r)}error(t,r=this.pos){return new ps(`${t} at ${r+1}`,r,this.string)}},ps=class extends Error{constructor(t,r,n){super(t),this.pos=r,this.string=n}};var U0=Xn("null",0);function M0(e){let t=typeof e=="string"?new Jn(e):e,r,n=0,i=21,o=[];for(;!t.eof();)t.eatWhile(ds),t.start=t.pos,W0(t)?((i&1)===0&&et("Unexpected number",t),o.push(H0(t.current())),i=10):Sd(t.peek())?(r=t.next(),kd(r)&&i&16?(Ad(r)&&o.push(G0(r,n)),i=21):((i&2)===0&&et("Unexpected operator",t),o.push(Q0(r,n)),i=21)):t.eat(40)?((i&4)===0&&et('Unexpected "("',t),n+=10,i=53):t.eat(41)?(n-=10,i&32?o.push(U0):(i&8)===0&&et('Unexpected ")"',t),i=14):et("Unknown character",t);(n<0||n>=10)&&et('Unmatched "()"',t);let s=V0(o);return s===null&&et("Parity",t),s}function W0(e){let t=e.pos;return e.eat(46)&&e.eatWhile(It)||e.eatWhile(It)&&(!e.eat(46)||e.eatWhile(It))?!0:(e.pos=t,!1)}function V0(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++){let o=e[i];if(o.type==="num")r.push(o);else{for(n+=o.type==="op1"?1:2;t.length&&o.priority<=t[t.length-1].priority;)r.push(t.pop());t.push(o)}}return n+1===r.length+t.length?r.concat(t.reverse()):null}function H0(e,t){return Xn("num",parseFloat(e),t)}function G0(e,t=0){return e===45&&(t+=2),Xn("op1",e,t)}function Q0(e,t=0){return e===42?t+=1:(e===47||e===92)&&(t+=2),Xn("op2",e,t)}function et(e,t){throw t&&(e+=` at column ${t.pos} of expression`),new Error(e)}function kd(e){return J0(e)||Ad(e)}function J0(e){return e===43}function Ad(e){return e===45}function Sd(e){return e===43||e===45||e===42||e===47||e===92}function Xn(e,t,r=0){return{type:e,value:t,priority:r}}var Z0={lookAhead:!0,whitespace:!0};function Ed(e,t=e.length,r){let n=Object.assign(Object.assign({},Z0),r),i={text:e,pos:t},o;if(n.lookAhead&&hs(i)===41){i.pos++;let l=e.length;for(;i.pos<l&&(o=hs(i),!(o!==41&&!(n.whitespace&&Zn(o))));)i.pos++}let s=i.pos,a=0;for(;i.pos>=0;)if(!X0(i)){if(o=ms(i),o===41)a++;else if(o===40){if(!a)break;a--}else if(!(n.whitespace&&Zn(o)||kd(o)||Sd(o)))break;i.pos--}if(i.pos!==s&&!a){for(;Zn(hs(i));)i.pos++;return[i.pos,s]}return null}function X0(e){if(It(ms(e))){e.pos--;let t=!1,r;for(;e.pos>=0;){if(r=ms(e),r===46){if(t)break;t=!0}else if(!It(r))break;e.pos--}return!0}return!1}function ms(e){return e.text.charCodeAt(e.pos-1)}function hs(e){return e.text.charCodeAt(e.pos)}var Y0={45:e=>-e},K0={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)};function e1(e){if(Array.isArray(e)||(e=M0(e)),!e||!e.length)return null;let t=[],r,n,i;for(let o=0,s=e.length;o<s;o++){let a=e[o];if(a.type==="num")t.push(a.value);else if(a.type==="op2")n=t.pop(),r=t.pop(),i=K0[a.value],t.push(i(r,n));else if(a.type==="op1")r=t.pop(),i=Y0[a.value],t.push(i(r));else throw new Error("Invalid expression")}if(t.length>1)throw new Error("Invalid Expression (parity)");return t[0]}var gs=e1;function Td(){if(!de.window.activeTextEditor)return de.window.showInformationMessage("No editor is active"),Promise.resolve(!1);let e=de.window.activeTextEditor;return e.edit(t=>{e.selections.forEach(r=>{let n=r.isReversed?r.active:r.anchor,i=r.isReversed?r.anchor:r.active,o=e.document.getText(new de.Range(n,i));try{if(o){let s=String(gs(o));t.replace(new de.Range(n,i),s)}else{let s=e.document.getText(new de.Range(new de.Position(r.end.line,0),i)),a=Ed(s);if(!a)throw new Error("Invalid extracted indices");let l=String(gs(s.substr(a[0],a[1]))),u=new de.Range(new de.Position(r.end.line,a[0]),new de.Position(r.end.line,a[1]));t.replace(u,l)}}catch(s){de.window.showErrorMessage("Could not evaluate expression"),console.warn("Math evaluation error",s)}})})}p();var Ft=le(require("vscode")),bs=/[0-9]/;function tt(e){if(!Ft.window.activeTextEditor){Ft.window.showInformationMessage("No editor is active");return}let t=Ft.window.activeTextEditor;return t.edit(r=>{t.selections.forEach(n=>{let i=r1(t.document,n.isReversed?n.anchor:n.active);if(!i)return;let o=t.document.getText(i);Cd(o)&&r.replace(i,t1(o,e))})})}function t1(e,t){let r,n=(r=e.match(/\.(\d+)$/))?r[1].length:1,i=String((parseFloat(e)+t).toFixed(n)).replace(/\.0+$/,"");return(r=e.match(/^\-?(0\d+)/))&&(i=i.replace(/^(\-?)(\d+)/,(o,s,a)=>s+"0".repeat(Math.max(0,(r?r[1].length:0)-a.length))+a)),/^\-?\./.test(e)&&(i=i.replace(/^(\-?)0+/,"$1")),i}function r1(e,t){let r=e.lineAt(t.line).text,n=t.character,i=t.character,o=!1,s=!1,a;for(;n>0;)if(a=r[--n],a==="-"){s=!0;break}else if(a==="."&&!o)o=!0;else if(!bs.test(a)){n++;break}for(r[i]==="-"&&!s&&i++;i<r.length;)if(a=r[i++],a==="."&&!o&&bs.test(r[i]))o=!0;else if(!bs.test(a)){i--;break}if(n!==i&&Cd(r.slice(n,i)))return new Ft.Range(t.line,n,t.line,i)}function Cd(e){return e?!isNaN(parseFloat(e)):!1}p();var ys=require("vscode");var Od=["-webkit-","-moz-","-ms-","-o-",""];function Pd(){let e=ys.window.activeTextEditor;if(!e){ys.window.showInformationMessage("No editor is active.");return}let t=Xp(e,e.selection.active);if(t)return n1(e,t)}function n1(e,t){let r=t.parent,n="";for(let s of Od)if(t.name.startsWith(s)){n=s;break}let i=t.name.substr(n.length),o=t.value;return e.edit(s=>{Od.forEach(a=>{if(a===n)return;let l=Zp(r,a+i);if(l){let u=ae(e.document,l.valueToken.start,l.valueToken.end);s.replace(u,o)}})})}function $d(e){Qp(),Nd(e),Fn(),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.wrapWithAbbreviation",t=>{ed(t)})),e.subscriptions.push(z.commands.registerCommand("emmet.expandAbbreviation",t=>{td(t)})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.removeTag",()=>id())),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.updateTag",t=>t&&typeof t=="string"?os(t):os(void 0))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.matchTag",()=>{od()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.balanceOut",()=>{ld()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.balanceIn",()=>{ud()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.splitJoinTag",()=>fd())),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.mergeLines",()=>{pd()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.toggleComment",()=>{dd()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.nextEditPoint",()=>{ls("next")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.prevEditPoint",()=>{ls("prev")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.selectNextItem",()=>{fs("next")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.selectPrevItem",()=>{fs("prev")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.evaluateMathExpression",()=>{Td()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.incrementNumberByOneTenth",()=>tt(.1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.incrementNumberByOne",()=>tt(1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.incrementNumberByTen",()=>tt(10))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.decrementNumberByOneTenth",()=>tt(-.1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.decrementNumberByOne",()=>tt(-1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.decrementNumberByTen",()=>tt(-10))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.reflectCSSValue",()=>Pd())),e.subscriptions.push(z.commands.registerCommand("workbench.action.showEmmetCommands",()=>{z.commands.executeCommand("workbench.action.quickOpen",">Emmet: ")})),e.subscriptions.push(z.workspace.onDidChangeConfiguration(t=>{(t.affectsConfiguration("emmet.includeLanguages")||t.affectsConfiguration("emmet.useInlineCompletions"))&&Nd(e),t.affectsConfiguration("emmet.extensionsPath")&&Fn()})),e.subscriptions.push(z.workspace.onDidSaveTextDocument(t=>{let r=Kp(t.fileName);r.startsWith("snippets")&&r.endsWith(".json")&&Fn(!0)})),e.subscriptions.push(z.workspace.onDidOpenTextDocument(t=>{let r=Te(t.languageId,{},[])??"",n=Bn();(n.markup.includes(r)||n.stylesheet.includes(r))&&pa(t)})),e.subscriptions.push(z.workspace.onDidCloseTextDocument(t=>{let r=Te(t.languageId,{},[])??"",n=Bn();(n.markup.includes(r)||n.stylesheet.includes(r))&&da(t)}))}var Lt=new Map,vr=[];function Nd(e){i1();let t=new zn,r={async provideInlineCompletionItems(o,s,a,l){let u=await t.provideCompletionItems(o,s,l,{triggerCharacter:void 0,triggerKind:z.CompletionTriggerKind.Invoke});if(!u)return;let c=u.items[0];if(!c||!c.insertText)return;let f=c.range;if(o.getText(f)===c.label)return[{insertText:c.insertText,filterText:c.label,range:f}]}},n=z.workspace.getConfiguration("emmet").get("useInlineCompletions"),i=Nt();Object.keys(i).forEach(o=>{if(Lt.has(o)&&Lt.get(o)===i[o])return;if(n){let a=z.languages.registerInlineCompletionItemProvider({language:o,scheme:"*"},r);vr.push(a)}let s=z.languages.registerCompletionItemProvider({language:o,scheme:"*"},t,...dr[i[o]]);vr.push(s),Lt.set(o,i[o])}),Object.keys(dr).forEach(o=>{if(!Lt.has(o)){if(n){let a=z.languages.registerInlineCompletionItemProvider({language:o,scheme:"*"},r);vr.push(a)}let s=z.languages.registerCompletionItemProvider({language:o,scheme:"*"},t,...dr[o]);vr.push(s),Lt.set(o,o)}})}function i1(){Lt.clear();let e;for(;e=vr.pop();)e.dispose()}function o1(e){$d(e)}
|
|
29
|
+
`){o=s;break}return n.substring(i,o)}function Ae(e){return pr.stylesheet.includes(e)}function is(e){return Ae(e)?"stylesheet":"markup"}function os(e){return Ae(e)?"css":"html"}function nd(e){let r={type:is(e),syntax:e},n=cr(r);return e==="xml"?{}:n.snippets}function id(e,t){let r;for(let n=0;n<B0;n++)if(e.endsWith(`${Yo}${In}`,t))t-=In.length+1,r=r?In+","+r:In;else if(e.endsWith(`${Yo}${Fn}`,t))t-=Fn.length+1,r=r?Fn+","+r:Fn;else if(e.endsWith(`${Yo}${Ln}`,t))t-=Ln.length+1,r=r?Ln+","+r:Ln;else break;return{pos:t,filter:r}}function od(e,t,r){let n=rd(e,t),i=n.substr(0,t.character),{pos:o,filter:s}=id(i,t.character),a=s?s.length+1:0,l=Xo(n,o,r);return l?{abbreviationRange:K.create(t.line,l.location,t.line,l.location+l.abbreviation.length+a),abbreviation:l.abbreviation,filter:s}:void 0}function W0(e,t){if(!e)return;let{pos:r,filter:n}=id(e,e.length),i=Ae(t)||t==="stylesheet"?{syntax:"stylesheet",lookAhead:!1}:{lookAhead:!0},o=Xo(e,r,i);if(o)return{abbreviation:o.abbreviation,filter:n}}function sd(e,t){if(!t)return!1;if(Ae(e)){if(t.includes("#")){if(t.startsWith("#"))return/^#[\d,a-f,A-F]{1,6}$/.test(t);if(dr.includes(t.substring(0,t.indexOf("#"))))return!1}return q0.test(t)}return t.startsWith("!")?!/[^!]/.test(t):(/\(/.test(t)||/\)/.test(t))&&!/\{[^\}\{]*[\(\)]+[^\}\{]*\}(?:[>\+\*\^]|$)/.test(t)&&!/\(.*\)[>\+\*\^]/.test(t)&&!/\[[^\[\]\(\)]+=".*"\]/.test(t)&&!/[>\+\*\^]\(.*\)/.test(t)?!1:e==="jsx"?D0.test(t)&&Kp.test(t):/^{%|{#|{{/.test(t)?!1:_0.test(t)&&Kp.test(t)}function V0(e,t,r,n){var i,o;if(Ae(e)&&n){let a=(i=n["stylesheet.between"])!==null&&i!==void 0?i:": ",l=(o=n["stylesheet.after"])!==null&&o!==void 0?o:";",u=t.indexOf(a[0],Math.max(t.length-a.length,0));u=u>=0?u:t.length;let c=t.substring(0,u);return r===`${c}${a}\${0}${l}`||r.replace(/\s/g,"")===t.replace(/\s/g,"")+l}if(e==="xml"&&dr.some(a=>a.startsWith(t.toLowerCase())))return!0;if(dr.includes(t.toLowerCase())||ts.includes(t)||/[-,:]/.test(t)&&!/--|::/.test(t)&&!t.endsWith(":"))return!1;if(/^\.{2,}$/.test(t))return!0;if(t===".")return!1;let s=t.match(/^([a-z,A-Z,\d]*)\.$/);return s?!(s[1]&&xo.tags.includes(s[1])):e==="jsx"&&/^([A-Z][A-Za-z0-9]*)+$/.test(t)?!1:r.toLowerCase()===`<${t.toLowerCase()}>\${1}</${t.toLowerCase()}>`}function ad(e,t,r){var n,i,o,s,a,l,u,c,f,m;t=t??{},t.preferences=(n=t.preferences)!==null&&n!==void 0?n:{};let d=t.preferences,v=Ae(e)?e:"css",b=J0(e,(i=t.syntaxProfiles)!==null&&i!==void 0?i:{}),w=(b&&b.filters?b.filters.split(","):[]).map(O=>O.trim()),E=r&&r.split(",").some(O=>O.trim()==="bem")||w.includes("bem"),y=r&&r.split(",").some(O=>O.trim()==="c")||w.includes("c"),T=X0(e,t.preferences),S=T?.stylesheet&&T.stylesheet.unitAliases||{},k={"output.formatSkip":["html"],"output.formatForce":["body"],"output.inlineBreak":0,"output.compactBoolean":!1,"output.reverseAttributes":!1,"output.field":ns,"markup.href":!0,"comment.enabled":!1,"comment.trigger":["id","class"],"comment.before":"","comment.after":`
|
|
30
|
+
<!-- /[#ID][.CLASS] -->`,"bem.enabled":!1,"bem.element":"__","bem.modifier":"_","jsx.enabled":e==="jsx","stylesheet.shortHex":!0,"stylesheet.between":e==="stylus"?" ":": ","stylesheet.after":e==="sass"||e==="stylus"?"":";","stylesheet.intUnit":"px","stylesheet.floatUnit":"em","stylesheet.unitAliases":{e:"em",p:"%",x:"ex",r:"rem"},"stylesheet.fuzzySearchMinScore":.3},P={"output.tagCase":b.tagCase,"output.attributeCase":b.attributeCase,"output.attributeQuotes":b.attributeQuotes,"output.format":(o=b.format)!==null&&o!==void 0?o:!0,"output.formatSkip":d["format.noIndentTags"],"output.formatForce":d["format.forceIndentationForTags"],"output.inlineBreak":(s=b.inlineBreak)!==null&&s!==void 0?s:d["output.inlineBreak"],"output.compactBoolean":(a=b.compactBooleanAttributes)!==null&&a!==void 0?a:d["profile.allowCompactBoolean"],"output.reverseAttributes":d["output.reverseAttributes"],"output.selfClosingStyle":(u=(l=b.selfClosingStyle)!==null&&l!==void 0?l:d["output.selfClosingStyle"])!==null&&u!==void 0?u:H0(e),"output.field":ns,"comment.enabled":y,"comment.trigger":d["filter.commentTrigger"],"comment.before":d["filter.commentBefore"],"comment.after":d["filter.commentAfter"],"bem.enabled":E,"bem.element":(c=d["bem.elementSeparator"])!==null&&c!==void 0?c:"__","bem.modifier":(f=d["bem.modifierSeparator"])!==null&&f!==void 0?f:"_","jsx.enabled":e==="jsx","stylesheet.shortHex":d["css.color.short"],"stylesheet.between":d[`${v}.valueSeparator`],"stylesheet.after":d[`${v}.propertyEnd`],"stylesheet.intUnit":d["css.intUnit"],"stylesheet.floatUnit":d["css.floatUnit"],"stylesheet.unitAliases":S,"stylesheet.fuzzySearchMinScore":d["css.fuzzySearchMinScore"]};if(e==="jsx"){let O={class:"className","class*":"styleName",for:"htmlFor"},F={"class*":"styles"};b["markup.attributes"]&&(P["markup.attributes"]=Object.assign(Object.assign({},O),b["markup.attributes"])),b["markup.valuePrefix"]&&(P["markup.valuePrefix"]=Object.assign(Object.assign({},F),b["markup.valuePrefix"]))}if(e==="vue"){let O={"class*":":class"},F={"class*":"$style"};b["markup.attributes"]&&(P["markup.attributes"]=Object.assign(Object.assign({},O),b["markup.attributes"])),b["markup.valuePrefix"]&&(P["markup.valuePrefix"]=Object.assign(Object.assign({},F),b["markup.valuePrefix"]))}let j={};[...Object.keys(k),...Object.keys(P)].forEach(O=>{var F;let I=O;j[I]=(F=P[I])!==null&&F!==void 0?F:k[I]});let R=Object.assign(Object.assign({},k["stylesheet.unitAliases"]),P["stylesheet.unitAliases"]);j["stylesheet.unitAliases"]=R;let L=is(e),C=Z0(t.variables),g=os(e),N=L==="stylesheet"?(m=Xe[e])!==null&&m!==void 0?m:Xe[g]:Xe[e];return{type:L,options:j,variables:C,snippets:N,syntax:e,text:void 0,maxRepeat:1e3}}function H0(e){switch(e){case"xhtml":return"xhtml";case"xml":return"xml";case"xsl":return"xml";case"jsx":return"xhtml";default:return"html"}}function G0(e,t){let r=cr(t);return t.type==="stylesheet"?Jo(e,r):Ho(e,r)}function Q0(e,t){let r,n=cr(t);return t.type==="stylesheet"?typeof e=="string"?r=fr(e,n):r=Qo(e,n):typeof e=="string"?r=fr(e,n):r=Go(e,n),Dn(qn(r))}function J0(e,t){t||(t={});let n=Object.assign({},Bn,t)[e];if(!n||typeof n=="string")return n==="xhtml"?{selfClosingStyle:"xhtml"}:{};let i={};for(let o in n)switch(o){case"tag_case":i.tagCase=n[o]==="lower"||n[o]==="upper"?n[o]:"";break;case"attr_case":i.attributeCase=n[o]==="lower"||n[o]==="upper"?n[o]:"";break;case"attr_quotes":i.attributeQuotes=n[o];break;case"tag_nl":i.format=n[o]===!0||n[o]===!1?n[o]:!0;break;case"inline_break":i.inlineBreak=n[o];break;case"self_closing_tag":if(n[o]===!0){i.selfClosingStyle="xml";break}if(n[o]===!1){i.selfClosingStyle="html";break}i.selfClosingStyle=n[o];break;case"compact_bool":i.compactBooleanAttributes=n[o];break;default:i[o]=n[o];break}return i}function Z0(e){return e?Object.assign({},hr,e):hr}function X0(e,t){if(!t||typeof t!="object")return{};if(!Ae(e)){let i={};for(let o in t)switch(o){case"filter.commentAfter":i.after=t[o];break;case"filter.commentBefore":i.before=t[o];break;case"filter.commentTrigger":i.trigger=t[o];break;default:break}return{comment:i}}let r=typeof t?.["css.fuzzySearchMinScore"]=="number"?t["css.fuzzySearchMinScore"]:.3;r>1?r=1:r<0&&(r=0);let n={fuzzySearchMinScore:r};for(let i in t)switch(i){case"css.floatUnit":n.floatUnit=t[i];break;case"css.intUnit":n.intUnit=t[i];break;case"css.unitAliases":let o={};t[i].split(",").forEach(s=>{if(!s||!s.trim()||!s.includes(":"))return;let a=s.substr(0,s.indexOf(":")),l=s.substr(a.length+1);!a.trim()||!l||(o[a.trim()]=l)}),n.unitAliases=o;break;case`${e}.valueSeparator`:n.between=t[i];break;case`${e}.propertyEnd`:n.after=t[i];break;default:break}return{stylesheet:n}}function Y0(e,t,r,n){return F0(this,void 0,void 0,function*(){if(es(),!e.length)return;let i=[];for(let o of e){if(typeof o!="string"){console.warn("The following emmetExtensionsPath isn't a string: "+JSON.stringify(o));continue}if(o=o.trim(),o.length&&o[0]==="~")n&&i.push(or(n,o.substring(1)));else if(gf(o))i.push(pf.file(o));else if(r)for(let s of r)i.push(or(s,o))}for(let o of i){try{if((yield t.stat(o)).type!==ir.Directory)continue}catch{continue}let s=or(o,"snippets.json"),a=or(o,"syntaxProfiles.json"),l;typeof globalThis.TextDecoder=="function"?l=new globalThis.TextDecoder:l=new td.TextDecoder;let u="";try{let f=yield t.readFile(s);u=l.decode(f)}catch{}if(u.length)try{let f=ed(s,u);f.variables&&K0(f.variables),t1(f)}catch(f){throw es(),f}let c="";try{let f=yield t.readFile(a);c=l.decode(f)}catch{}if(c.length)try{let f=ed(a,c);e1(f)}catch(f){throw es(),f}}})}function ed(e,t){let r=[],n=Sa(t,r);if(r.length)throw new Error(`Found error ${Ta(r[0].error)} while parsing the file ${e} at offset ${r[0].offset}`);return n}function K0(e){if(typeof e=="object"&&e)hr=Object.assign({},hr,e);else throw new Error(Ot.t("Invalid emmet.variables field. See https://code.visualstudio.com/docs/editor/emmet#_emmet-configuration for a valid example."))}function e1(e){if(typeof e=="object"&&e)Bn=Object.assign({},Bn,e);else throw new Error(Ot.t("Invalid syntax profile. See https://code.visualstudio.com/docs/editor/emmet#_emmet-configuration for a valid example."))}function t1(e){if(typeof e=="object"&&e)Object.keys(e).forEach(t=>{if(!e[t].snippets)return;let r=os(t),n=e[t].snippets;if(e[r]&&e[r].snippets&&r!==t&&(n=Object.assign({},e[r].snippets,e[t].snippets)),Ae(t)){let a=Ct.get(t),l=Object.assign([],a,Object.keys(n));Ct.set(t,l)}else for(let a in n)n.hasOwnProperty(a)&&n[a].startsWith("<")&&n[a].endsWith(">")&&(n[a]=`{${n[a]}}`);let i=Xe[t],o=Xp(n),s=Object.assign({},i,o);Xe[t]=s});else throw new Error(Ot.t("Invalid snippets file. See https://code.visualstudio.com/docs/editor/emmet#_using-custom-emmet-snippets for a valid example."))}function es(){Xe={},_n.clear(),Ct.clear(),Bn={},hr={}}function ld(e,t=[]){if(!(!e||t.includes(e))){if(/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e))return"jsx";if(e==="sass-indented")return"sass";if(e==="jade")return"pug";if(pr.markup.includes(e)||pr.stylesheet.includes(e))return e}}var td,F0,Ot,_n,ts,Ct,_0,D0,q0,Kp,dr,In,Yo,Ln,Fn,B0,Xe,hr,Bn,ns,cd=he(()=>{"use strict";p();Ea();td=le(fc());cf();df();mf();bf();Zp();Yp();F0=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(c){try{u(n.next(c))}catch(f){s(f)}}function l(c){try{u(n.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((n=n.apply(e,t||[])).next())})};try{Ot=require("vscode").l10n}catch{Ot={t:t=>t}}_n=new Map,Ct=new Map,_0=/^[a-z,A-Z,!,(,[,#,\.\{]/,D0=/^[a-z,A-Z,!,(,[,#,\.]/,q0=/^-?[a-z,A-Z,!,@,#]/,Kp=/[a-z,A-Z\.]/,dr=[...xo.tags,"lorem"],In="bem",Yo="|",Ln="t",Fn="c",B0=3;Xe={},hr={},Bn={},ns=(e,t)=>`\${${e}${t?":"+t:""}}`});var U1={};Es(U1,{activate:()=>z1});module.exports=Os(U1);p();p();var z=le(require("vscode"));p();var te=le(require("vscode"));p();var D=le(require("vscode"));p();var Z=le(require("vscode"));p();p();var oi=class{constructor(t,r,n){n==null&&typeof t=="string"&&(n=t.length),this.string=t,this.pos=this.start=r||0,this.end=n}eof(){return this.pos>=this.end}limit(t,r){return new this.constructor(this.string,t,r)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}backUp(t){this.pos-=t||1}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.string.slice(t,r)}error(t){let r=new Error(`${t} at char ${this.pos+1}`);return r.originalMessage=t,r.pos=this.pos,r.string=this.string,r}},nt=oi;p();var Ps={escape:92,throws:!1},si=function(e,t){t=t?Object.assign({},Ps,t):Ps;let r=e.pos,n=e.peek();if(e.eat(it)){for(;!e.eof();)switch(e.next()){case n:return e.start=r,!0;case t.escape:e.next();break}if(e.pos=r,t.throws)throw e.error("Unable to consume quoted string")}return!1};function it(e){return e===39||e===34}function ze(e){return e>47&&e<58}function Ar(e,t,r){return t=t||65,r=r||90,e&=-33,e>=t&&e<=r}function $s(e){return ze(e)||Ar(e)}function oh(e){return e===32||e===9||e===160}function Ie(e){return oh(e)||e===10||e===13}var Ns={escape:92,throws:!1};function Le(e,t,r,n){n=n?Object.assign({},Ns,n):Ns;let i=e.pos;if(e.eat(t)){let o=1,s;for(;!e.eof();)if(!si(e,n))if(s=e.next(),s===t)o++;else if(s===r){if(o--,!o)return e.start=i,!0}else s===n.escape&&e.next();if(e.pos=i,n.throws)throw e.error(`Unable to find matching pair for ${String.fromCharCode(t)}`)}return!1}var Dt=class{constructor(t,r,n,i){this.stream=t,this.type=r,this.open=n,this.close=i,this.children=[],this.parent=null}get name(){return this.type==="tag"&&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(){let t=this.getIndex();return t!==-1?this.parent.children[t+1]:null}get previousSibling(){let t=this.getIndex();return t!==-1?this.parent.children[t-1]:null}getIndex(){return this.parent?this.parent.children.indexOf(this):-1}addChild(t){return this.removeChild(t),this.children.push(t),t.parent=this,this}removeChild(t){let r=this.children.indexOf(t);return r!==-1&&(this.children.splice(r,1),t.parent=null),this}},Fe=function(e,t,r){return typeof t=="function"?sh(e,t):new Tr(e,t,r)};function sh(e,t){let r=e.pos;if(e.eatWhile(t))return new Tr(e,r,e.pos);e.pos=r}var Tr=class{constructor(t,r,n){this.stream=t,this.start=r??t.start,this.end=n??t.pos,this._value=null}get value(){if(this._value===null){let t=this.stream.start,r=this.stream.pos;this.stream.start=this.start,this.stream.pos=this.end,this._value=this.stream.current(),this.stream.start=t,this.stream.pos=r}return this._value}toString(){return this.value}valueOf(){return`${this.value} [${this.start}; ${this.end}]`}},ah=60,lh=62,uh=91,ch=93,fh=40,ph=41,dh=123,hh=125,Sr={throws:!0},Is=function(e){let t=e.pos;if(Le(e,ah,lh,Sr)||Le(e,uh,ch,Sr)||Le(e,fh,ph,Sr)||Le(e,dh,hh,Sr))return Fe(e,t)},mh=47,Ls=61,gh=62,bh=function(e){let t=[],r,n,i;for(;!e.eof();)if(e.eatWhile(Ie),i={start:e.pos},i.name=yh(e))e.eat(Ls)?i.value=vh(e):i.boolean=!0,i.end=e.pos,t.push(i);else{if(li(e.peek()))break;e.next()}return t};function yh(e){return Is(e)||Fe(e,xh)}function vh(e){let t=e.pos;if(si(e)){let r=e.pos,n,i;e.pos=t,e.next(),n=e.start=e.pos,e.pos=r,e.backUp(1),i=e.pos;let o=Fe(e,n,i);return e.pos=r,o}return Is(e)||wh(e)}function xh(e){return e!==Ls&&!li(e)&&!Ie(e)}function li(e){return e===gh||e===mh}function wh(e){return Fe(e,kh)}function kh(e){return!isNaN(e)&&!it(e)&&!Ie(e)&&!li(e)}var Ah=45,Sh=46,Rs=47,Th=58,Eh=60,Ch=62,Oh=95,Fs=function(e){let t=e.pos;if(e.eat(Eh)){let r={type:e.eat(Rs)?"close":"open"};if((r.name=Ph(e))&&(r.type!=="close"&&(r.attributes=bh(e),e.eatWhile(Ie),r.selfClosing=e.eat(Rs)),e.eat(Ch)))return Object.assign(Fe(e,t),r)}return e.pos=t,null};function Ph(e){return Fe(e,Nh)}function Nh(e){return $s(e)||e===Th||e===Sh||e===Ah||e===Oh}function ai(e,t){let r=e.pos;for(let n=0;n<t.length;n++)if(!e.eat(t[n]))return e.pos=r,!1;return e.start=r,!0}function _s(e,t,r,n){let i=e.pos;if(ai(e,t)){for(;!e.eof();){if(ai(e,r))return!0;e.next()}return n?!0:(e.pos=i,!1)}return e.pos=i,null}function qt(e){return e.split("").map(t=>t.charCodeAt(0))}var $h=qt("<!--"),Rh=qt("-->"),jh=function(e){let t=e.pos;if(_s(e,$h,Rh,!0)){let r=Fe(e,t);return r.type="comment",r}return null},Ih=qt("<![CDATA["),Lh=qt("]]>"),Fh=function(e){let t=e.pos;if(_s(e,Ih,Lh,!0)){let r=Fe(e,t);return r.type="cdata",r}return null},_h={xml:!1,special:["script","style"],empty:["img","meta","link","br","base","hr","area","wbr","col","embed","input","param","source","track"]};function Dh(e,t){t=Object.assign({},_h,t);let r=typeof e=="string"?new nt(e):e,n=new Dt(r,"root"),i=new Set(t.empty),o=t.special.reduce((f,m)=>f.set(m,qt(`</${m}>`)),new Map),s=(f,m)=>f.selfClosing||!t.xml&&i.has(m),a,l,u,c=[n];for(;!r.eof();)if(a=qh(r))if(u=zh(a),a.type==="open")l=new Dt(r,"tag",a),js(c).addChild(l),o.has(u)?l.close=Bh(r,o.get(u)):s(a,u)||c.push(l);else if(a.type==="close"){for(let f=c.length-1;f>0;f--)if(c[f].name.toLowerCase()===u){c[f].close=a,c=c.slice(0,f);break}}else js(c).addChild(new Dt(r,a.type,a));else r.next();return n}function qh(e){if(e.peek()===60)return jh(e)||Fh(e)||Fs(e)}function Bh(e,t){let r=e.pos,n;for(;!e.eof();){if(ai(e,t))return e.pos=e.start,Fs(e);e.next()}return e.pos=r,null}function zh(e){return e.name?e.name.value.toLowerCase():`#${e.type}`}function js(e){return e[e.length-1]}var Bt=Dh;p();var ot=class{constructor(t){this.type=t,this.children=[],this.parent=null}get firstChild(){return this.children[0]}get nextSibling(){let t=this.index();return t!==-1?this.parent.children[t+1]:null}get previousSibling(){let t=this.index();return t!==-1?this.parent.children[t-1]:null}index(){return this.parent?this.parent.children.indexOf(this):-1}add(t){return t&&(t.remove(),this.children.push(t),t.parent=this),this}remove(){if(this.parent){let t=this.index();t!==-1&&(this.parent.children.splice(t,1),this.parent=null)}return this}},ci=class extends ot{constructor(){super("stylesheet"),this.comments=[]}get start(){let t=this.firstChild;return t&&t.start}get end(){let t=this.children[this.children.length-1];return t&&t.end}addComment(t){this.comments.push(t)}};function Uh(e){e=e.slice();let t;for(;t!==e.length;)t=e.length,fi(e[0])&&e.shift(),fi(at(e))&&e.pop();return e}function Vs(e){return Uh(e,fi)}function fi(e){let t=e&&e.type;return t==="whitespace"||t==="comment"}function Hs(e,t){let r=e.pos;for(let n=0,i=t.length;n<i;n++)if(!e.eat(t.charCodeAt(n)))return e.pos=r,!1;return!0}function pi(e,t){let r=e.pos;return e.eat(t)?(e.start=r,!0):!1}function zt(e,t){let r=e.pos;return e.eatWhile(t)?(e.start=r,!0):!1}function at(e){return e[e.length-1]}function Ue(e){return e&&e.valueOf()}var q=class{constructor(t,r,n,i){this.stream=t,this.start=n??t.start,this.end=i??t.pos,this.type=r,this._props=null,this._value=null,this._items=null}get size(){return this._items?this._items.length:0}get items(){return this._items}clone(t,r){return new this.constructor(this.stream,this.type,t??this.start,r??this.end)}add(t){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)this.add(t[r]);else t&&(this._items?this._items.push(t):this._items=[t]);return this}remove(t){if(this._items){let r=this._items.indexOf(t);r!==-1&&this._items.splice(r,1)}return this}item(t){let r=this.size;return this._items&&this._items[(r+t)%r]}limit(){return this.stream.limit(this.start,this.end)}slice(t,r){let n=this.clone(),i=this._items&&this._items.slice(t,r);return i&&i.length?(n.start=i[0].start,n.end=i[i.length-1].end,n.add(i)):i&&(n.start=n.end),n}property(t,r){return typeof r<"u"&&(this._props||(this._props={}),this._props[t]=r),this._props&&this._props[t]}toString(){return`${this.valueOf()} [${this.start}, ${this.end}] (${this.type})`}valueOf(){return this._value===null&&(this._value=this.stream.substring(this.start,this.end)),this._value}},Gs=44,Qs=58,Js=59,st=123,lt=125,Mh=new Map().set(Gs,"comma").set(Qs,"propertyDelimiter").set(Js,"propertyTerminator").set(st,"ruleStart").set(lt,"ruleEnd");function Wh(e){if(Vh(e.peek())){let t=e.pos,r=Mh.get(e.next()),n=new q(e,"separator",t);return n.property("type",r),n}}function Vh(e){return e===Gs||e===Qs||e===Js||e===st||e===lt}var Hh=40,Gh=41,Ds=function(e,t){if(e.peek()===Hh){let r=e.pos;e.next();let n=[],i,o=!1;for(;!e.eof()&&!(Qh(e.peek())||e.eat(Gh)||(i=t(e),!i));)Zs(i)&&(o=!0),n.push(i);return e.start=r,Jh(e,n,o)}};function Qh(e){return e===st||e===lt}function Jh(e,t,r){let n=new q(e,"arguments"),i=r?Zs:Xh,o=[];for(let s=0,a=t.length,l;s<a;s++)l=t[s],i(l)?(n.add(qs(e,o)||Zh(e,l.start)),o.length=0):o.push(l);return o.length&&n.add(qs(e,o)),n}function qs(e,t){if(t=Vs(t),t.length){let r=new q(e,"argument",t[0].start,at(t).end);for(let n=0;n<t.length;n++)r.add(t[n]);return r}}function Zh(e,t){let r=new q(e,"argument",t,t);return r.property("empty",!0),r}function Xh(e){return e.property("type")==="comma"}function Zs(e){return e.property("type")==="propertyTerminator"}var Xs=45,Yh=95;function Ce(e){return Ys(e)&&new q(e,"ident")}function Ys(e){let t=e.pos;return e.eat(Xs),e.eat(Ks)?(e.eatWhile(ea),e.start=t,!0):(e.pos=t,!1)}function Ks(e){return e===Yh||e===Xs||Ar(e)||e>=128}function ea(e){return ze(e)||Ks(e)}function ut(e,t,r,n,i){let o=e.pos;if(e.eat(r)){let s=n(e,o);if(s||i)return e.start=o,new q(e,t,o).add(s)}e.pos=o}var Kh=64;function gi(e){return ut(e,"at-keyword",Kh,Ce)}var ta=35,ra=64;function bi(e,t){let r=e.pos;if(t=t||tm,(e.eat(ta)||e.eat(ra))&&e.eat(st)){let n=new q(e,"interpolation",r),i=1,o;for(;!e.eof();)if(e.eat(st))i++;else if(e.eat(lt)){if(i--,!i)return n.end=e.pos,n}else if(o=t(e))n.add(o);else break}e.pos=r}function em(e){let t=e.pos;return(e.eat(ta)||e.eat(ra))&&Le(e,st,lt)?(e.start=t,!0):(e.pos=t,!1)}function tm(e){let t=e.pos;for(;!e.eof()&&e.peek()!==lt;)Ut(e)||e.next();if(t!==e.pos)return new q(e,"expression",t)}function yi(e){return Ut(e,!0)}function Ut(e,t){let r=e.peek(),n,i,o;if(it(r)){e.start=e.pos,e.next();let s=r,a=e.pos;for(;!e.eof()&&(n=e.pos,!(e.eat(s)||e.eat(Bs)));)e.eat(92)?e.eat(Bs):t&&(o=bi(e))&&(i?i.push(o):i=[o]),e.next();if(t){let l=new q(e,"string"),u=new q(e,"unquoted",a,n);return u.add(i),l.add(u),l.property("quote",s),l}return!0}return!1}function Bs(e){return e===10||e===13}var zs=42,Cr=47,vi=function(e){return rm(e)||nm(e)};function rm(e){if(na(e)){let t=new q(e,"comment");return t.property("type","single-line"),t}}function nm(e){if(ia(e)){let t=new q(e,"comment");return t.property("type","multiline"),t}}function im(e){return na(e)||ia(e)}function na(e){let t=e.pos;if(e.eat(Cr)&&e.eat(Cr)){for(e.start=t;!e.eof()&&!om(e.next()););return!0}return e.pos=t,!1}function ia(e){let t=e.pos;if(e.eat(Cr)&&e.eat(zs)){for(;!e.eof()&&!(e.next()===zs&&e.eat(Cr)););return e.start=t,!0}return e.pos=t,!1}function om(e){return e===10||e===13}function sm(e){return Me(e)&&new q(e,"whitespace")}function Me(e){return zt(e,Ie)}var am=91,lm=93;function um(e){let t=e.pos;if(e.eat(am)){Er(e);let r=Ce(e);Er(e);let n=cm(e);Er(e);let i=yi(e)||Ce(e);return Er(e),e.eat(lm),new q(e,"attribute",t).add(r).add(n).add(i)}}function Er(e){for(;!e.eof();)if(!Me(e)&&!im(e))return!0}function cm(e){return zt(e,fm)&&new q(e,"operator")}function fm(e){return e===126||e===124||e===94||e===36||e===42||e===61}var Us=96;function xi(e){if(oa(e))return new q(e,"backtick")}function oa(e){let t=e.pos;return Le(e,Us,Us)?(e.start=t,!0):!1}var pm=46;function dm(e){return ut(e,"class",pm,Ce)}var sa=43,aa=126,la=62,ua=38,hm={[sa]:"adjacentSibling",[aa]:"generalSibling",[la]:"child",[ua]:"nesting"},mm=function(e){if(gm(e.peek())){let t=e.pos,r=hm[e.next()],n=new q(e,"combinator",t);return n.property("type",r),n}};function gm(e){return e===sa||e===aa||e===ua||e===la}var bm=35;function ym(e){return ut(e,"hash",bm,vm,!0)}function vm(e){if(xm(e))return new q(e,"hash-value")}function xm(e){return zt(e,wm)}function wm(e){return ze(e)||Ar(e,65,70)||e===95||e===45||e>128}var km=35;function Am(e){return ut(e,"id",km,Ce)}var Sm=33;function Tm(e){return ut(e,"important",Sm,Ce)}var Ms=46;function Em(e){if(Cm(e)){let t=e.start,r=new q(e,"value"),n=Om(e)?new q(e,"unit"):null;return new q(e,"number",t).add(r).add(n)}}function Cm(e){let t=e.pos;if(e.eat(Nm),e.eatWhile(ze)){e.start=t;let r=e.pos;return e.eat(Ms)&&e.eatWhile(ze)||(e.pos=r),!0}else if(e.eat(Ms)&&e.eatWhile(ze))return e.start=t,!0;return e.pos=t,!1}function Om(e){return Ys(e)||Pm(e)}function Pm(e){return pi(e,37)}function Nm(e){return e===45||e===43}var $m=33,Rm=42,jm=43,Im=45,Lm=47,Fm=60,ca=61,_m=62;function Dm(e){return qm(e)&&new q(e,"operator")}function qm(e){return pi(e,fa)?(e.eatWhile(ca),!0):!!pi(e,Bm)}function fa(e){return e===$m||e===Fm||e===ca||e===_m}function Bm(e){return e===Rm||e===jm||e===Im||e===Lm||fa(e)}var zm=58,Um=function(e){let t=e.pos;if(e.eatWhile(zm)){let r=Ce(e);if(r)return new q(e,"pseudo",t).add(r)}e.pos=t},Mm=function(e){return pa(e)&&new q(e,"unquoted")};function pa(e){return zt(e,Wm)}function Wm(e){return!isNaN(e)&&!it(e)&&!Ie(e)&&e!==40&&e!==41&&e!==92&&!Vm(e)}function Vm(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function da(e){let t=e.pos;if(Hs(e,"url(")){Me(e);let r=yi(e)||Mm(e);return Me(e),e.eat(41),new q(e,"url",t).add(r)}e.pos=t}function ha(e){let t=e.pos;return Hs(e,"url(")?(Me(e),Ut(e)||pa(e),Me(e),e.eat(41),e.start=t,!0):(e.pos=t,!1)}var ma=36;function Hm(e){return ut(e,"variable",ma,Gm)}function Gm(e){if(Qm(e))return new q(e,"name")}function Qm(e){return zt(e,Jm)}function Jm(e){return e===ma||ea(e)}function Or(e){let t=Zm(e)||Ds(e,Or);if(t&&t.type==="ident"){let r=Ds(e,Or);if(r)return new q(e,"function",t.start,r.end).add(t).add(r)}return t||tg(e)}function Zm(e){return eg(e)||da(e)||Xm(e)||Ym(e)||Wh(e)}function Xm(e){return bi(e)||xi(e)||Ce(e)||gi(e)||dm(e)||Am(e)||Um(e)||um(e)||mm(e)}function Ym(e){return da(e)||yi(e)||bi(e)||xi(e)||Em(e)||ym(e)||Km(e)||Tm(e)||Dm(e)}function Km(e){return xi(e)||Hm(e)||gi(e)||Ce(e)}function eg(e){return vi(e)||sm(e)}function tg(e){if(e.start=e.pos,e.next()!=null)return new q(e,"unknown")}function rg(e){return wi(e,"selector")}function ng(e){let t=typeof e=="string"?new nt(e):e,r=[];for(;!t.eof();)r.push(Or(t));let n;if(r.length===1)n=r[0];else{n=new q(t,"property-name",t.start,t.end);for(let i=0,o=r.length;i<o;i++)n.add(r[i])}return n}function ig(e){return wi(e)}function og(e){return wi(e)}function wi(e,t){t=t||"item";let r=typeof e=="string"?new nt(e):e,n=[],i=[],o=()=>{let a=Vs(i);if(a.length){let l=new q(r,t,a[0].start,at(a).end);for(let u=0;u<a.length;u++)l.add(a[u]);n.push(l)}i.length=0},s;for(;!r.eof();)if(r.eat(44))o();else if(s=Or(r))s.type!=="comment"&&i.push(s);else throw r.error("Unexpected character");return o(),n}function sg(e,t,r,n){if(!t.length)return null;let i=t[0];return i.end=at(t).end,new di(e,i,r,n)}var di=class extends ot{constructor(t,r,n,i){super("rule"),this.stream=t,this.selectorToken=r,this.contentStartToken=n,this.contentEndToken=i||n,this._parsedSelector=null}get selector(){return Ue(this.selectorToken)}get parsedSelector(){return this._parsedSelector||(this._parsedSelector=rg(this.selectorToken.limit())),this._parsedSelector}get start(){return this.selectorToken&&this.selectorToken.start}get end(){let t=this.contentEndToken||this.contentStartToken||this.nameToken;return t&&t.end}};function ag(e,t,r,n){if(!t.length)return null;let i=0,o,s=t[i++];return i<t.length?(o=t[i++],o.type="expression",o.end=at(t).end):o=new q(e,"expression",s.end,s.end),new hi(e,s,o,r,n)}var hi=class extends ot{constructor(t,r,n,i,o){super("at-rule"),this.stream=t,this.nameToken=r,this.expressionToken=n,this.contentStartToken=i,this.contentEndToken=o||i,this._parsedExpression=null}get name(){return Ue(this.nameToken&&this.nameToken.item(0))}get expression(){return Ue(this.expressionToken)}get parsedExpression(){return this._parsedExpression||(this._parsedExpression=og(this.expressionToken.limit())),this._parsedExpression}get start(){return this.nameToken&&this.nameToken.start}get end(){let t=this.contentEndToken||this.contentStartToken||this.nameToken;return t&&t.end}};function ui(e,t,r){if(!t.length)return null;let n,i,o=0,s=t[o++];return o<t.length&&(i=t[o++],i.type="value",i.end=at(t).end),s&&i&&(n=new q(e,"separator",s.end,i.start)),new mi(e,s,i,n,r)}var mi=class extends ot{constructor(t,r,n,i,o){super("property"),this.stream=t,this.nameToken=r,this.valueToken=n,this._parsedName=null,this._parsedValue=null,this.separatorToken=i,this.terminatorToken=o}get name(){return Ue(this.nameToken)}get parsedName(){return this._parsedName||(this._parsedName=ng(this.nameToken.limit())),this._parsedName}get value(){return Ue(this.valueToken)}get parsedValue(){return this._parsedValue||(this._parsedValue=ig(this.valueToken.limit())),this._parsedValue}get separator(){return Ue(this.separatorToken)}get terminator(){return Ue(this.terminatorToken)}get start(){let t=this.nameToken||this.separatorToken||this.valueToken||this.terminatorToken;return t&&t.start}get end(){let t=this.terminatorToken||this.valueToken||this.separatorToken||this.nameToken;return t&&t.end}},Ws=40,lg=41,ug=58,cg=59,fg=123,pg=125;function dg(e){let t=typeof e=="string"?new nt(e):e,r=new ci,n=r,i,o,s,a=[],l=()=>{o&&(a.push(o),o=null)};for(;!t.eof();)if(!Me(t)){if(s=vi(t)){r.addComment(s);continue}if(t.start=t.pos,t.eatWhile(ug))a.length||(o?l():o=new q(t,"preparse"));else if(t.eat(cg))l(),n.add(ui(t,a,new q(t,"termintator"))),a.length=0;else if(t.eat(fg))l(),a.length>0&&(i=a[0].type==="at-keyword"?ag(t,a,new q(t,"body-start")):sg(t,a,new q(t,"body-start")),n.add(i),n=i,a.length=0);else if(t.eat(pg))l(),n.add(ui(t,a)),n.type!=="stylesheet"&&(n.contentEndToken=new q(t,"body-end"),n=n.parent),a.length=0;else if(s=gi(t))l(),a.push(s);else if(ha(t)||em(t)||oa(t)||hg(t,r)||Ut(t)||t.next())o=o||new q(t,"preparse"),o.end=t.pos;else throw new Error(`Unexpected end-of-stream at ${t.pos}`)}for(o&&a.push(o),n.add(ui(t,a)),t.start=t.pos;n&&n!==r;)n.contentEndToken=new q(t,"body-end"),n=n.parent;return r}function hg(e,t){if(e.eat(Ws)){let r=1,n;for(;!e.eof();)if(e.eat(lg)){if(r--,!r)break}else if(e.eat(Ws))r++;else{if(ha(e)||Ut(e))continue;if(n=vi(e)){t.addComment(n);continue}else e.next()}return!0}return!1}var _e=dg;p();var Pr=class e{document;start;_eof;_sof;pos;constructor(t,r,n){this.document=t,this.start=this.pos=r||0,this._sof=n?n[0]:0,this._eof=n?n[1]:t.getText().length}sof(){return this.pos<=this._sof}eof(){return this.pos>=this._eof}limit(t,r){return new e(this.document,t,[t,r])}peek(){return this.eof()?NaN:this.document.getText().charCodeAt(this.pos)}next(){if(this.eof())return NaN;let t=this.document.getText().charCodeAt(this.pos);return this.pos++,this.eof()&&(this.pos=this._eof),t}backUp(t){return this.pos-=t,this.pos<0&&(this.pos=0),this.peek()}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.document.getText().substring(t,r)}error(t){return new Error(`${t} at offset ${this.pos}`)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}};p();var Nr=class e{constructor(t,r,n,i){this._uri=t,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let r=this.offsetAt(t.start),n=this.offsetAt(t.end);return this._content.substring(r,n)}return this._content}update(t,r){for(let n of t)if(e.isIncremental(n)){let i=ya(n.range),o=this.offsetAt(i.start),s=this.offsetAt(i.end);this._content=this._content.substring(0,o)+n.text+this._content.substring(s,this._content.length);let a=Math.max(i.start.line,0),l=Math.max(i.end.line,0),u=this._lineOffsets,c=ga(n.text,!1,o);if(l-a===c.length)for(let m=0,d=c.length;m<d;m++)u[m+a+1]=c[m];else c.length<1e4?u.splice(a+1,l-a,...c):this._lineOffsets=u=u.slice(0,a+1).concat(c,u.slice(l+1));let f=n.text.length-(s-o);if(f!==0)for(let m=a+1+c.length,d=u.length;m<d;m++)u[m]=u[m]+f}else if(e.isFull(n))this._content=n.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=r}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=ga(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return{line:0,character:t};for(;n<i;){let s=Math.floor((n+i)/2);r[s]>t?i=s:n=s+1}let o=n-1;return t=this.ensureBeforeEOL(t,r[o]),{line:o,character:t-r[o]}}offsetAt(t){let r=this.getLineOffsets();if(t.line>=r.length)return this._content.length;if(t.line<0)return 0;let n=r[t.line];if(t.character<=0)return n;let i=t.line+1<r.length?r[t.line+1]:this._content.length,o=Math.min(n+t.character,i);return this.ensureBeforeEOL(o,n)}ensureBeforeEOL(t,r){for(;t>r&&ba(this._content.charCodeAt(t-1));)t--;return t}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let r=t;return r!=null&&typeof r.text=="string"&&r.range!==void 0&&(r.rangeLength===void 0||typeof r.rangeLength=="number")}static isFull(t){let r=t;return r!=null&&typeof r.text=="string"&&r.range===void 0&&r.rangeLength===void 0}},$r;(function(e){function t(i,o,s,a){return new Nr(i,o,s,a)}e.create=t;function r(i,o,s){if(i instanceof Nr)return i.update(o,s),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=r;function n(i,o){let s=i.getText(),a=ki(o.map(mg),(c,f)=>{let m=c.range.start.line-f.range.start.line;return m===0?c.range.start.character-f.range.start.character:m}),l=0,u=[];for(let c of a){let f=i.offsetAt(c.range.start);if(f<l)throw new Error("Overlapping edit");f>l&&u.push(s.substring(l,f)),c.newText.length&&u.push(c.newText),l=i.offsetAt(c.range.end)}return u.push(s.substr(l)),u.join("")}e.applyEdits=n})($r||($r={}));function ki(e,t){if(e.length<=1)return e;let r=e.length/2|0,n=e.slice(0,r),i=e.slice(r);ki(n,t),ki(i,t);let o=0,s=0,a=0;for(;o<n.length&&s<i.length;)t(n[o],i[s])<=0?e[a++]=n[o++]:e[a++]=i[s++];for(;o<n.length;)e[a++]=n[o++];for(;s<i.length;)e[a++]=i[s++];return e}function ga(e,t,r=0){let n=t?[r]:[];for(let i=0;i<e.length;i++){let o=e.charCodeAt(i);ba(o)&&(o===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,n.push(r+i+1))}return n}function ba(e){return e===13||e===10}function ya(e){let t=e.start,r=e.end;return t.line>r.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function mg(e){let t=ya(e.range);return t!==e.range?{newText:e.newText,range:t}:e}p();var Rr=new Map;function J(e,t){let r=e.uri.toString(),n=Rr.get(r),i=e.version;if(t&&n&&i===n.key)return n.value;let s=(oe(e.languageId)?_e:Bt)(e.getText());return t&&Rr.set(r,{key:i,value:s}),s}function va(e){let t=e.uri.toString();Rr.set(t,void 0)}function xa(e){let t=e.uri.toString();Rr.delete(t)}var ss,fd,r1;function Ye(){return ss||(ss=(cd(),Os(ud))),ss}function Un(e=!1){let t=Ye(),r=Z.workspace.getConfiguration("emmet").get("extensionsPath");if(r||(r=[]),e||fd!==r){fd=r;let n=Z.workspace.workspaceFolders?.length?Z.workspace.workspaceFolders.map(o=>o.uri):void 0,i=Z.workspace.fs;t.updateExtensionsPath(r,i,n,r1).catch(o=>{Array.isArray(r)&&r.length&&Z.window.showErrorMessage(o.message)})}}function hd(){let e=Z.workspace.getConfiguration().inspect("emmet.extensionsPath");typeof e?.globalValue=="string"?Z.workspace.getConfiguration().update("emmet.extensionsPath",[e.globalValue],!0):e?.globalValue===null&&Z.workspace.getConfiguration().update("emmet.extensionsPath",[],!0),typeof e?.workspaceValue=="string"?Z.workspace.getConfiguration().update("emmet.extensionsPath",[e.workspaceValue],!1):e?.workspaceValue===null&&Z.workspace.getConfiguration().update("emmet.extensionsPath",[],!1),typeof e?.workspaceFolderValue=="string"?Z.workspace.getConfiguration().update("emmet.extensionsPath",[e.workspaceFolderValue]):e?.workspaceFolderValue===null&&Z.workspace.getConfiguration().update("emmet.extensionsPath",[])}var mr={html:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],jade:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],slim:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],haml:["!",".","}",":","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],xml:[".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],xsl:["!",".","}","*","$","/","]",">","0","1","2","3","4","5","6","7","8","9"],css:[":","!","-","0","1","2","3","4","5","6","7","8","9"],scss:[":","!","-","0","1","2","3","4","5","6","7","8","9"],sass:[":","!","0","1","2","3","4","5","6","7","8","9"],less:[":","!","-","0","1","2","3","4","5","6","7","8","9"],stylus:[":","!","0","1","2","3","4","5","6","7","8","9"],javascriptreact:["!",".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"],typescriptreact:["!",".","}","*","$","]","/",">","0","1","2","3","4","5","6","7","8","9"]};function oe(e){return["css","scss","sass","less","stylus"].includes(e)}function ee(e=!0){let t=Z.window.activeTextEditor;return t?!(!e&&oe(t.document.languageId)):(Z.window.showInformationMessage("No editor is active"),!1)}function Nt(){let e={handlebars:"html",php:"html"},t={},r=Z.workspace.getConfiguration("emmet").get("includeLanguages"),n=Object.assign({},e,r??{});return Object.keys(n).forEach(i=>{typeof n[i]=="string"&&mr[n[i]]&&(t[i]=n[i])}),t}function Ee(e,t,r){if(!e||r.includes(e))return;e==="jsx-tags"&&(e="javascriptreact"),t[e]&&(e=t[e]),/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e)?e="jsx":e==="sass-indented"?e="sass":(e==="jade"||e==="pug")&&(e="pug");let n=Gn();if(n.markup.includes(e)||n.stylesheet.includes(e))return e}var as=125,pd=123,Pt=47,dd=42;function Mn(e,t){let r=e.languageId==="css",n=e.offsetAt(t),i=0,o=e.getText().length,s=n-5e3,a=s>0?s:i,l=new Pr(e,n);function u(E){let T=e.getText().substring(0,E).lastIndexOf("/*");if(T!==-1)return T}function c(E){let T=e.getText().substring(E).indexOf("*/");if(T!==-1)return T+=2+E,T}function f(){let E=e.positionAt(l.pos).line;if(!r&&b!==E){b=E;let y=e.lineAt(b).text.indexOf("//");y>-1&&(l.pos=e.offsetAt(new Z.Position(b,y)))}}function m(){!l.sof()&&l.peek()===Pt&&(l.backUp(1)===dd?l.pos=u(l.pos)??i:l.next())}function d(){if(l.eat(Pt))if(l.eat(Pt)&&!r){let E=e.positionAt(l.pos).line;l.pos=e.offsetAt(new Z.Position(E+1,0))}else l.eat(dd)&&(l.pos=c(l.pos)??o)}for(;!l.eof()&&!l.eat(as);)l.peek()===Pt?d():l.next();l.eof()||(o=l.pos),l.pos=n;let v=1,b=t.line,A=!1;for(;!A&&v>0&&!l.sof();){switch(f(),l.backUp(1)){case pd:v--;break;case as:r?(l.next(),i=l.pos,A=!0):v++;break;case Pt:m();break;default:break}(t.line-e.positionAt(l.pos).line>100||l.pos<=a)&&(A=!0)}b=e.positionAt(l.pos).line,v=0;let w=!1;for(;!A&&!l.sof()&&!w&&v>=0;){f();let E=l.backUp(1);if(!/\s/.test(String.fromCharCode(E))){switch(E){case Pt:m();break;case as:v++;break;case pd:v--;break;default:v||(w=!0);break}!l.sof()&&w&&(i=l.pos)}}try{let E=" ".repeat(i)+e.getText().substring(i,o);return _e(E)}catch{return}}function ne(e,t,r){if(!e)return;function n(o){if(!o)return;let s=o.start,a=o.end;if(s<t&&a>t||r&&s<=t&&a>=t)return i(o.children)??o;if("close"in o){let l=o;if(l.open&&!l.close)return i(l.children)}}function i(o){for(let s=0;s<o.length;s++){let a=n(o[s]);if(a)return a}}return i(e.children)}var gr=["text/html","text/plain","text/x-template","text/template","text/ng-template"];function X(e,t,r,n){let i=ne(t,r,n);if(i){if(i.name==="script"&&i.children.length===0){let o=n1(e,i);o&&(i=X(o,i,r,n)??i)}else if(i.type==="cdata"){let o=i1(e,i);i=X(o,i,r,n)??i}return i}}function n1(e,t){if(t.name==="script"&&t.attributes&&t.attributes.some(n=>n.name.toString()==="type"&&gr.includes(n.value.toString()))&&t.open){let n=" ".repeat(t.open.end),i=t.close?t.close.start:t.end,o=n+e.substring(t.open.end,i);return Bt(o).children.forEach(a=>{t.children.push(a),a.parent=t}),o}return""}function i1(e,t){let i=t.start+"<![CDATA[".length,o=t.end-3,a=" ".repeat(i)+e.substring(i,o);return Bt(a).children.forEach(u=>{t.children.push(u),u.parent=t}),a}function ls(e,t){let r=e;return!!(r.open&&t>r.open.start&&t<r.open.end||r.close&&t>r.close.start&&t<r.close.end)}function Q(e,t,r){let n=e.positionAt(t),i=e.positionAt(r);return new Z.Selection(n,i)}function ae(e,t,r){let n=e.positionAt(t),i=e.positionAt(r);return new Z.Range(n,i)}function $t(e){if(!e||!e.children||e.children.length===0||!e.children.find(t=>t.type!=="comment"))return e;for(let t=e.children.length-1;t>=0;t--)if(e.children[t].type!=="comment")return $t(e.children[t])}function Wn(e,t){let r=t===-1,n=!1,i=!1,o,s;for(;t<e.length-1;){if(t++,!r){e[t]===" "&&(r=!0);continue}if(!(r&&!n&&e[t]===" ")){if(!n){o=t,n=!0;continue}if(e[t]===" "){s=t,i=!0;break}}}return n&&!i&&(s=e.length),[o,s]}function Vn(e,t){let r=t===e.length,n=!1,i=!1,o,s;for(;t>-1;){if(t--,!r){e[t]===" "&&(r=!0);continue}if(!(r&&!i&&e[t]===" ")){if(!i){s=t+1,i=!0;continue}if(e[t]===" "){o=t+1,n=!0;break}}}return i&&!n&&(o=0),[o,s]}function md(e,t){if(zn(e,t))return[e];if(!zn(e.parent,t.parent)){if(t.start<e.start)return[t];if(t.start<e.end)return[e];for(;e.parent&&e.parent.end<t.start;)e=e.parent;for(;t.parent&&t.parent.start>e.start;)t=t.parent}let r=[],n=e,i=t.end;for(;n&&i>n.start;)r.push(n),n=n.nextSibling;return r}function zn(e,t){return!e&&!t?!0:!e||!t?!1:e.start===t.start&&e.end===t.end}function Rt(e){let t=Z.workspace.getConfiguration("emmet"),r=Object.assign({},t.syntaxProfiles||{}),n=Object.assign({},t.preferences||{});return(e==="jsx"||e==="xml"||e==="xsl")&&(r[e]=r[e]||{},typeof r[e]=="object"&&!r[e].hasOwnProperty("self_closing_tag")&&!r[e].hasOwnProperty("selfClosingStyle")&&(r[e]={...r[e],selfClosingStyle:e==="jsx"?"xhtml":"xml"})),{preferences:n,showExpandedAbbreviation:t.showExpandedAbbreviation,showAbbreviationSuggestions:t.showAbbreviationSuggestions,syntaxProfiles:r,variables:t.variables,excludeLanguages:t.excludeLanguages,showSuggestionsAsSnippets:t.showSuggestionsAsSnippets}}function gd(e,t){return e.children.find(r=>r.type==="property"&&r.name===t)}function bd(e,t){let r=e.document,n=J(r,!0),i=r.offsetAt(t),o=ne(n,i,!0);if(oe(e.document.languageId))return o&&o.type==="property"?o:null;let s=o;if(s&&s.name==="style"&&s.open&&s.close&&s.open.end<i&&s.close.start>i){let a=" ".repeat(s.start)+r.getText().substring(s.start,s.end),l=_e(a),u=ne(l,i,!0);return u&&u.type==="property"?u:null}return null}function Hn(e,t,r){if(!t)return;let n=t;if(n&&n.open&&n.close){let i=e.offsetAt(r);if(n.open.end<i&&i<=n.close.start&&n.name==="style"){let o=" ".repeat(n.open.end)+e.getText().substring(n.open.end,n.close.start);return _e(o)}}}function yd(e,t){if(!e)return!1;let r=e,n=(r.attributes||[]).findIndex(o=>o.name.toString()==="style");if(n===-1)return!1;let i=r.attributes[n];return t>=i.value.start&&t<=i.value.end}function br(e){return $r.create(e.uri.toString(),e.languageId,e.version,e.getText())}function vd(e){let t=e.split("/").pop();return(t?t.split("\\").pop():"")??""}function Gn(){return{markup:["html","xml","xsl","jsx","js","pug","slim","haml"],stylesheet:["css","sass","scss","less","sss","stylus"]}}var o1=/[\u00a0]*[\d#\-\*\u2022]+\.?/,us=/^#[\da-fA-F]{0,6}$/;async function xd(e){if(!ee(!1))return!1;let t=D.window.activeTextEditor,r=t.document;e=e||{},e.language||(e.language=r.languageId);let n=yr(e)||"html",i=J(r,!0),o=Ye(),s=Array.from(t.selections).sort((S,k)=>S.start.compareTo(k.start)).map(S=>{let k=S;{let{start:j,end:R}=k,L=r.offsetAt(j),C=r.getText(),g=X(C,i,L,!0);if(g&&ls(g,L)){j=r.positionAt(g.start);let F=r.positionAt(g.end);R=F.isAfter(R)?F:R}let N=r.offsetAt(R),O=X(C,i,N,!0);if(O&&ls(O,N)){let F=r.positionAt(O.start);j=F.isBefore(j)?F:j;let I=r.positionAt(O.end);R=I.isAfter(R)?I:R}k=new D.Range(j,R)}if(!k.isSingleLine&&k.end.character===0){let j=k.end.line-1;k=new D.Range(k.start,r.lineAt(j).range.end)}k.isEmpty&&(k=r.lineAt(k.start).range);let P=r.lineAt(k.start);return!P.isEmptyOrWhitespace&&P.firstNonWhitespaceCharacterIndex>k.start.character&&(k=k.with(new D.Position(k.start.line,P.firstNonWhitespaceCharacterIndex))),k}).reduce((S,k)=>(S.length>0&&k.intersection(S[S.length-1])?S.push(k.union(S.pop())):S.push(k),S),[]),a=t.selections;t.selections=s.map(S=>new D.Selection(S.start,S.end));let l=s.map(S=>{let k,P=r.getText(S),R=r.lineAt(S.start).text.match(/^(\s*)/),L=R?R[1]:"";return k=S.isSingleLine?[P]:P.split(`
|
|
31
|
+
`+L).map(C=>C.trimEnd()),k=k.map(C=>C.replace(/(\$\d)/g,"\\$1")),{previewRange:S,originalRange:S,originalContent:P,textToWrapInPreview:k,baseIndent:L}}),{tabSize:u,insertSpaces:c}=t.options,f=c?" ".repeat(u):" ";function m(){return t.edit(S=>{for(let k of l)S.replace(k.previewRange,k.originalContent),k.previewRange=k.originalRange},{undoStopBefore:!1,undoStopAfter:!1})}function d(S){let k=new D.Range(0,0,0,0),P=new D.Range(0,0,0,0),j=0;return t.edit(R=>{for(let L=0;L<l.length;L++){let C=cs(S[L])||"";if(!C)break;let g=l[L].previewRange,N=C.replace(/\$\{[\d]*\}/g,"|").replace(/\$\{[\d]*:([^}]*)\}/g,(_t,Yd)=>Yd).replace(/\\\$/g,"$");R.replace(g,N);let O=N.split(`
|
|
32
|
+
`),F=g.end.line-g.start.line+1,I=O.length-F,_=g.start.line+j,ce=g.start.character,fe=g.end.line+j+I,Y=O[O.length-1].length;L>0&&fe===P.end.line?(ce=P.end.character+(g.start.character-k.end.character),Y+=ce):L>0&&_===P.end.line?ce=P.end.character+(g.start.character-k.end.character):O.length===1&&(Y+=g.start.character),k=l[L].previewRange,P=new D.Range(_,ce,fe,Y),l[L].previewRange=P,j+=I}},{undoStopBefore:!1,undoStopAfter:!1})}let v=!1;async function b(S,k){let j=!!S&&!!S.trim()&&o.isAbbreviationValid(n,S)?o.extractAbbreviationFromText(S,n):void 0;if(!j)return v&&(v=!1,await m()),!1;let{abbreviation:R,filter:L}=j;if(k){let g=l.map(N=>({syntax:n,abbreviation:R,rangeToReplace:N.originalRange,textToWrap:N.textToWrapInPreview,filter:L,indent:f,baseIndent:N.baseIndent}));return v=!0,d(g)}let C=l.map(g=>({syntax:n,abbreviation:R,rangeToReplace:g.originalRange,textToWrap:g.textToWrapInPreview,filter:L,indent:f}));return v&&(v=!1,await m()),kd(t,C,!1)}let A="";async function w(S){return S!==A&&(A=S,await b(S,!0)),""}let E=D.l10n.t("Enter Abbreviation"),y=e&&e.abbreviation?e.abbreviation:await D.window.showInputBox({prompt:E,validateInput:w}),T=await b(y,!1);return T||(t.selections=a),T}function wd(e){if(!ee()||!D.window.activeTextEditor)return Ke();if(D.window.activeTextEditor.selections.length===1&&D.window.activeTextEditor.selection.isEmpty){let f=D.window.activeTextEditor.selection.anchor;if(f.character===0)return Ke();let m=f.translate(0,-1),d=D.window.activeTextEditor.document.getText(new D.Range(m,f));if(d===" "||d===" ")return Ke()}if(e=e||{},!e.language)e.language=D.window.activeTextEditor.document.languageId;else if((D.workspace.getConfiguration("emmet").excludeLanguages?D.workspace.getConfiguration("emmet").excludeLanguages:[]).includes(D.window.activeTextEditor.document.languageId))return Ke();let t=yr(e);if(!t)return Ke();let r=D.window.activeTextEditor;if(D.workspace.getConfiguration("emmet").triggerExpansionOnTab===!0&&r.selections.find(f=>!f.isEmpty))return Ke();let n=[],i,o=!0,s=Ye(),a=(f,m,d,v)=>{d=f.validatePosition(d);let b=m,A=f.getText(b);if(!b.isEmpty){let P=s.extractAbbreviationFromText(A,v);return P?[b,P.abbreviation,P.filter]:[null,"",""]}let E=r.document.lineAt(d.line).text.substr(0,d.character);if(v==="html"){let P=E.match(/<(\w+)$/);if(P)return A=P[1],b=new D.Range(d.translate(0,-(A.length+1)),d),[b,A,""]}let y=s.extractAbbreviation(br(r.document),d,{lookAhead:!1});if(!y)return[null,"",""];let{abbreviationRange:T,abbreviation:S,filter:k}=y;return[new D.Range(T.start.line,T.start.character,T.end.line,T.end.character),S,k]},l=r.selections.slice(0);l.sort((f,m)=>{let d=f.isReversed?f.anchor:f.active,v=m.isReversed?m.anchor:m.active;return d.compareTo(v)*-1});let u;function c(){if(u)return u;let f=D.workspace.getConfiguration("emmet").optimizeStylesheetParsing===!0;return r.selections.length===1&&oe(r.document.languageId)&&f&&r.document.lineCount>1e3?u=Mn(r.document,r.selection.isReversed?r.selection.anchor:r.selection.active):u=J(r.document,!0),u}return l.forEach(f=>{let m=f.isReversed?f.anchor:f.active,[d,v,b]=a(r.document,f,m,t);if(!d||!s.isAbbreviationValid(t,v)||oe(t)&&v.endsWith(":"))return;let A=r.document.offsetAt(m),w=ne(c(),A,!0),E=!0,y=t;if(r.document.languageId==="html")if(yd(w,A))y="css",E=!1;else{let T=Hn(r.document,w,m);T&&(w=ne(T,A,!0),y="css")}E&&!fs(r.document,c(),w,y,A,d)||(i?o&&i!==v&&(o=!1):i=v,n.push({syntax:y,abbreviation:v,rangeToReplace:d,filter:b}))}),kd(r,n,o).then(f=>f?Promise.resolve(void 0):Ke())}function Ke(){return D.workspace.getConfiguration("emmet").triggerExpansionOnTab===!0?D.commands.executeCommand("tab"):Promise.resolve(!0)}function fs(e,t,r,n,i,o){if(oe(n)){let w=t;if(w&&(w.comments||[]).some(T=>i>=T.start&&i<=T.end))return!1;if(!r)return!0;let E=e.getText(new D.Range(o.start.line,o.start.character,o.end.line,o.end.character));if(E.startsWith("@"))return!0;if(n!=="sass"&&n!=="stylus"&&r.type==="property"){if(r.parent&&r.parent.type!=="rule"&&r.parent.type!=="at-rule")return!1;let T=r;if(T.terminatorToken&&T.separator&&i>=T.separatorToken.end&&i<=T.terminatorToken.start&&!E.includes(":")||!T.terminatorToken&&T.separator&&i>=T.separatorToken.end&&!E.includes(":"))return us.test(E)||E==="!";if(us.test(E)||E==="!")return!1}if(r.type!=="rule"&&r.type!=="at-rule")return!0;let y=r;if(i>y.contentStartToken.end)return!0;if(y.parent&&(y.parent.type==="rule"||y.parent.type==="at-rule")&&y.selectorToken){let T=e.positionAt(i),S=e.positionAt(y.selectorToken.start),k=e.positionAt(y.selectorToken.end);if(T.line!==k.line&&S.character===o.start.character&&S.line===o.start.line)return!0}return!1}let s="<",a=">",l="\\",u="?",c=r,f=0;if(c){if(c.name==="script"){let E=(c.attributes||[]).filter(S=>S.name.toString()==="type")[0],y=E?E.value.toString():"";return gr.includes(y)?!0:!y||y==="application/javascript"||y==="text/javascript"?!!yr({language:"javascript"}):!1}if(!c.open||!c.close||!(c.open.end<=i&&i<=c.close.start))return!1;f=c.open.end;let w=c.firstChild;for(;w&&!(w.end>i);)f=w.end,w=w.nextSibling}let m=e.positionAt(f),d=e.getText(new D.Range(m.line,m.character,o.start.line,o.start.character));if(d.length>500&&(d=d.substr(d.length-500)),!d.trim())return!0;let v=!0,b=!1,A=d.length-1;if(d[A]===s)return!1;for(;A>=0;){let w=d[A];if(A--,!b&&/\s/.test(w)){b=!0;continue}if(w===u&&d[A]===s){A--;continue}if(/\s/.test(w)&&d[A]===s){A--;continue}if(!(w!==s&&w!==a)){if(A>=0&&d[A]===l){A--;continue}if(w===a){if(A>=0&&d[A]==="=")continue;break}if(w===s){v=!b;break}}}return v}async function kd(e,t,r){if(!t||t.length===0)return!1;let n=0;if(!r){t.sort((a,l)=>l.rangeToReplace.start.compareTo(a.rangeToReplace.start));for(let a of t){let l=cs(a);l&&(await e.insertSnippet(new D.SnippetString(l),a.rangeToReplace,{undoStopBefore:!1,undoStopAfter:!1}),n++)}return n>0}let i=t[0],o=cs(i),s=t.map(a=>a.rangeToReplace);return o?e.insertSnippet(new D.SnippetString(o),s):!1}function cs(e){let t=Ye(),r=t.getExpandOptions(e.syntax,Rt(e.syntax),e.filter);e.textToWrap&&(e.textToWrap=e.textToWrap.map(i=>i.replace(/\$\{/g,"\\${")),e.filter&&e.filter.includes("t")&&(e.textToWrap=e.textToWrap.map(i=>i.replace(o1,"").trim())),r.text=e.textToWrap,r.options&&(e.rangeToReplace.isSingleLine||(r.options["output.inlineBreak"]=1),e.indent&&(r.options["output.indent"]=e.indent),e.baseIndent&&(r.options["output.baseIndent"]=e.baseIndent)));let n;try{n=t.expandAbbreviation(e.abbreviation,r)}catch{D.window.showErrorMessage("Failed to expand abbreviation")}return n}function yr(e){let t=Nt(),r=e.language,n=e.parentMode,i=D.workspace.getConfiguration("emmet").excludeLanguages?D.workspace.getConfiguration("emmet").excludeLanguages:[];if(i.includes(r))return;let o=Ee(t[r]??r,t,i);return o||(o=Ee(t[n]??n,t,i)),o}var Qn=class{lastCompletionType;provideCompletionItems(t,r,n,i){let o=this.provideCompletionItemsInternal(t,r,i);if(!o){this.lastCompletionType=void 0;return}return o.then(s=>{if(!s||!s.items.length)return this.lastCompletionType=void 0,s;let a=s.items[0],l=a.documentation?a.documentation.toString():"";return l.startsWith("<")?this.lastCompletionType="html":l.indexOf(":")>0&&l.endsWith(";")?this.lastCompletionType="css":this.lastCompletionType=void 0,s})}provideCompletionItemsInternal(t,r,n){let i=te.workspace.getConfiguration("emmet"),o=i.excludeLanguages?i.excludeLanguages:[];if(o.includes(t.languageId))return;let s=Nt(),a=!!s[t.languageId],l=Ee(a?s[t.languageId]:t.languageId,s,o);if(!l||i.showExpandedAbbreviation==="never"||(a||l==="jsx")&&i.showExpandedAbbreviation!=="always")return;let u=l,c=u==="html"||u==="jsx"||u==="xml",f,m,d=br(t);r=t.validatePosition(r);let v=new te.Range(r.line,0,r.line,r.character);if(t.getText(v).trimStart().startsWith("//"))return;let b=Ye();if(u==="html"){if(n.triggerKind===te.CompletionTriggerKind.TriggerForIncompleteCompletions)switch(this.lastCompletionType){case"html":c=!1;break;case"css":c=!1,u="css";break;default:break}if(c){let T=t.offsetAt(r),S=J(t,!0),k=X(t.getText(),S,T,!1);if(k)if(k.name==="script"){let P=k.attributes.find(j=>j.name.toString()==="type");if(P){let j=P.value.toString();if(j==="application/javascript"||j==="text/javascript")if(yr({language:"javascript"}))c=!1;else return;else gr.includes(j)&&(c=!1)}else return}else if(k.name==="style")u="css",c=!1;else{let P=k.attributes.find(j=>j.name.toString()==="style");P&&P.value.start<=T&&T<=P.value.end&&(u="css",c=!1)}}}let A=oe(u)?{lookAhead:!1,syntax:"stylesheet"}:{lookAhead:!0,syntax:"markup"},w=b.extractAbbreviation(d,r,A);if(!w||!b.isAbbreviationValid(u,w.abbreviation))return;let E=t.offsetAt(r);if(oe(t.languageId)&&n.triggerKind!==te.CompletionTriggerKind.TriggerForIncompleteCompletions){if(c=!0,f=te.workspace.getConfiguration("emmet").optimizeStylesheetParsing===!0&&t.lineCount>1e3?Mn(t,r):J(t,!0),!f)return;m=ne(f,E,!0)}if(!oe(t.languageId)&&oe(u)&&n.triggerKind!==te.CompletionTriggerKind.TriggerForIncompleteCompletions){if(c=!0,f=J(t,!0),!f)return;let T=ne(f,E,!0),S=Hn(t,T,r);m=ne(S,E,!0)}if(c&&!fs(t,f,m,u,E,s1(w.abbreviationRange)))return;let y=Promise.resolve(!1);if(!oe(u)&&(t.languageId==="javascript"||t.languageId==="javascriptreact"||t.languageId==="typescript"||t.languageId==="typescriptreact")){let T=w.abbreviation;T.startsWith("this.")||/\[[^\]=]*\]/.test(T)?y=Promise.resolve(!0):y=te.commands.executeCommand("vscode.executeDocumentSymbolProvider",t.uri).then(S=>!!S&&S.some(k=>T===k.name||T.startsWith(k.name+".")&&!/>|\*|\+/.test(T)))}return y.then(T=>{if(T)return;let S=Rt(u),k=b.doComplete(br(t),r,u,S),P=[];return k&&k.items&&k.items.forEach(j=>{let R=new te.CompletionItem(j.label);R.documentation=j.documentation,R.detail=j.detail,R.insertText=new te.SnippetString(j.textEdit.newText);let L=j.textEdit.range;R.range=new te.Range(L.start.line,L.start.character,L.end.line,L.end.character),R.filterText=j.filterText,R.sortText=j.sortText,i.showSuggestionsAsSnippets===!0&&(R.kind=te.CompletionItemKind.Snippet),P.push(R)}),new te.CompletionList(P,!0)})}};function s1(e){return new te.Range(e.start.line,e.start.character,e.end.line,e.end.character)}p();var je=le(require("vscode"));function Sd(){if(!ee(!1)||!je.window.activeTextEditor)return;let e=je.window.activeTextEditor,t=e.document,r=J(t,!0);if(!r)return;let n=Array.from(e.selections).reverse().reduce((i,o)=>i.concat(a1(e.document,r,o)),[]);return e.edit(i=>{n.forEach(o=>{i.delete(o)})})}function a1(e,t,r){let n=e.offsetAt(r.start),i=X(e.getText(),t,n,!0);if(!i)return[];let o;i.open&&(o=ae(e,i.open.start,i.open.end));let s;if(i.close&&(s=ae(e,i.close.start,i.close.end)),o&&s){let l=new je.Range(o.end.line,o.end.character,s.start.line,s.start.character),u=new je.Range(o.start.line,o.start.character,s.end.line,s.end.character);if(e.getText(l).trim()===""&&i.name!=="pre")return[u]}let a=[];if(o&&(a.push(o),s)){let l=l1(e,o,s),u,c;for(let f=o.start.line+1;f<s.start.line;f++)e.lineAt(f).isEmptyOrWhitespace||(a.push(new je.Range(f,0,f,l)),u===void 0&&(u=f),c=f);Ad(e,s)&&c?a.push(new je.Range(c,e.lineAt(c).range.end.character,s.end.line,s.end.character)):a.push(s),Ad(e,o)&&u&&(a[1]=new je.Range(o.start.line,o.start.character,u,e.lineAt(u).firstNonWhitespaceCharacterIndex),a.shift())}return a}function Ad(e,t){if(t.start.line===t.end.line){let r=e.lineAt(t.start).text,n=e.getText(t);if(r.trim()===n)return!0}return!1}function l1(e,t,r){let n=t.start.line,i=r.start.line,o=e.lineAt(n).firstNonWhitespaceCharacterIndex,s=e.lineAt(i).firstNonWhitespaceCharacterIndex,a;for(let u=n+1;u<i;u++){let c=e.lineAt(u);if(!c.isEmptyOrWhitespace){let f=c.firstNonWhitespaceCharacterIndex;a=a?Math.min(a,f):f}}let l=0;return a&&(a<o||a<s?l=0:l=Math.min(a-o,a-s)),l}p();var et=le(require("vscode"));async function ps(e){if(!ee(!1)||!et.window.activeTextEditor)return;let t=et.window.activeTextEditor,r=t.document,n=J(r,!0);if(!n)return;let i=t.selections.reduceRight((a,l)=>a.concat(c1(r,l,n)),[]);if(!i.length)return;let o=i[0].name,s=i.every(a=>a.name===o);return e===void 0&&(e=await et.window.showInputBox({prompt:"Enter Tag",value:s?o:void 0}),!e)?!1:t.edit(a=>{i.forEach(l=>{a.replace(l.range,e)})})}function u1(e,t){let r=[];if(e.open){let n=t.positionAt(e.open.start);r.push({name:e.name,range:new et.Range(n.translate(0,1),n.translate(0,1).translate(0,e.name.length))})}if(e.close){let n=t.positionAt(e.close.start),i=t.positionAt(e.close.end);r.push({name:e.name,range:new et.Range(n.translate(0,2),i.translate(0,-1))})}return r}function c1(e,t,r){let n=e.getText(),i=e.offsetAt(t.start),o=X(n,r,i,!0);return o?u1(o,e):[]}p();var ds=le(require("vscode"));function Td(){if(!ee(!1)||!ds.window.activeTextEditor)return;let e=ds.window.activeTextEditor,t=e.document,r=J(t,!0);if(!r)return;let n=[];e.selections.forEach(i=>{let o=f1(t,r,i.start);o&&n.push(o)}),n.length&&(e.selections=n,e.revealRange(e.selections[n.length-1]))}function f1(e,t,r){let n=e.offsetAt(r),i=X(e.getText(),t,n,!0);if(!i||!i.open||!i.close||n>i.open.end&&n<i.close.start)return;let o=n<=i.open.end?i.close.start+2:i.start+1;return Q(e,o,o)}p();var hs=le(require("vscode"));var Jn=[],Ed=[];function Od(){Nd(!0)}function Pd(){Nd(!1)}function Nd(e){if(!ee(!1)||!hs.window.activeTextEditor)return;let t=hs.window.activeTextEditor,r=t.document,n=J(r,!0);if(!n)return;let i=e?p1:d1,o=t.selections.map(s=>i(r,n,s));Cd(Ed,t.selections)?e?Cd(t.selections,o)||Jn.push(t.selections):Jn.length&&(o=Jn.pop()):Jn=e?[t.selections]:[],t.selections=o,Ed=t.selections}function p1(e,t,r){let n=e.offsetAt(r.start),i=X(e.getText(),t,n,!1);if(!i)return r;if(!i.open||!i.close)return Q(e,i.start,i.end);let o,s;return i.close.start<=n&&i.close.end>n?(o=Q(e,i.close.start,i.open.end),s=Q(e,i.close.end,i.open.start)):(o=Q(e,i.open.end,i.close.start),s=Q(e,i.open.start,i.close.end)),o.contains(r)&&!o.isEqual(r)?o:s.contains(r)&&!s.isEqual(r)?s:r}function d1(e,t,r){let n=e.offsetAt(r.start),i=X(e.getText(),t,n,!0);if(!i)return r;let o=e.offsetAt(r.start),s=e.offsetAt(r.end);if(i.open&&i.close){let l=o===i.start&&s===i.end,u=o>i.open.start&&o<i.open.end,c=o>i.close.start&&o<i.close.end;if(l||u||c)return Q(e,i.open.end,i.close.start)}if(!i.firstChild)return r;let a=i.firstChild;return o===a.start&&s===a.end&&a.open&&a.close?Q(e,a.open.end,a.close.start):Q(e,a.start,a.end)}function Cd(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].isEqual(t[r]))return!1;return!0}p();var vr=le(require("vscode"));function $d(){if(!ee(!1)||!vr.window.activeTextEditor)return;let e=vr.window.activeTextEditor,t=e.document,r=J(e.document,!0);if(r)return e.edit(n=>{Array.from(e.selections).reverse().forEach(i=>{let o=t.getText(),s=t.offsetAt(i.start),a=X(o,r,s,!0);if(a){let l=h1(t,a);n.replace(l.range,l.newText)}})})}function h1(e,t){let r,n;if(!t.open||!t.close){let o=e.getText().substring(t.start,t.end).match(/(\s*\/)?>$/),s=t.end,a=o?s-o[0].length:s;r=ae(e,a,s),n=`></${t.name}>`}else{let i=t.open.end-1,o=t.end;r=ae(e,i,o),n="/>";let s=Ee(e.languageId,{},[])??"",a=Rt(s);s&&a.syntaxProfiles[s]&&(a.syntaxProfiles[s].selfClosingStyle==="xhtml"||a.syntaxProfiles[s].self_closing_tag==="xhtml")&&(n=" "+n)}return new vr.TextEdit(r,n)}p();var xr=le(require("vscode"));function Rd(){if(!ee(!1)||!xr.window.activeTextEditor)return;let e=xr.window.activeTextEditor,t=J(e.document,!0);if(t)return e.edit(r=>{Array.from(e.selections).reverse().forEach(n=>{let i=m1(e.document,n,t);i&&r.replace(i.range,i.newText)})})}function m1(e,t,r){let n,i,o=e.offsetAt(t.start),s=e.offsetAt(t.end);if(t.isEmpty?n=i=ne(r,o,!0):(n=ne(r,o,!0),i=ne(r,s,!0)),!n||!i)return;let a=e.positionAt(n.start),l=a.line,u=a.character,f=e.positionAt(i.end).line;if(l===f)return;let m=ae(e,n.start,i.end),d=e.lineAt(l).text.substr(u);for(let v=l+1;v<=f;v++)d+=e.lineAt(v).text.trim();return new xr.TextEdit(m,d)}p();var ie=le(require("vscode"));var Zn,Xn,Yn,Kn;function jd(){if(!ee()||!ie.window.activeTextEditor)return;b1();let e=ie.window.activeTextEditor,t=J(e.document,!0);if(t)return e.edit(r=>{let n=[];Array.from(e.selections).reverse().forEach(o=>{let s=oe(e.document.languageId)?Ld(e.document,o,t):g1(e.document,o,t);s.length>0&&n.push(s)}),n.sort((o,s)=>{let a=o[0].range.start.line-s[0].range.start.line;return a===0?o[0].range.start.character-s[0].range.start.character:a});let i=new ie.Position(0,0);for(let o of n)o[0].range.end.isAfterOrEqual(i)&&o.forEach(s=>{r.replace(s.range,s.newText),i=s.range.end})})}function g1(e,t,r){let n=t.isReversed?t.active:t.anchor,i=t.isReversed?t.anchor:t.active,o=e.offsetAt(n),s=e.offsetAt(i),a=e.getText(),l=X(a,r,o,!0),u=X(a,r,s,!0);if(!l||!u)return[];if(zn(l,u)&&l.name==="style"&&l.open&&l.close&&l.open.end<o&&l.close.start>s){let m=" ".repeat(l.open.end)+a.substring(l.open.end,l.close.start),d=_e(m);return Ld(e,t,d)}let c=md(l,u),f=[];return c.forEach(m=>{f=f.concat(Id(m,e))}),l.type==="comment"||(f.push(new ie.TextEdit(ae(e,c[0].start,c[0].start),Yn)),f.push(new ie.TextEdit(ae(e,c[c.length-1].end,c[c.length-1].end),Kn))),f}function Id(e,t){let r=[];return e.type==="comment"?(r.push(new ie.TextEdit(ae(t,e.start,e.start+Yn.length),"")),r.push(new ie.TextEdit(ae(t,e.end-Kn.length,e.end),"")),r):(e.children.forEach(n=>{r=r.concat(Id(n,t))}),r)}function Ld(e,t,r){let n=t.isReversed?t.active:t.anchor,i=t.isReversed?t.anchor:t.active,o=e.offsetAt(n),s=e.offsetAt(i),a=ne(r,o,!0),l=ne(r,s,!0);t.isEmpty?a&&(o=a.start,s=a.end,t=Q(e,o,s)):(o=y1(a,o,r),s=v1(l,s,r),t=Q(e,o,s));let u=[],c=[];return r.comments.forEach(f=>{let m=ae(e,f.start,f.end);t.intersection(m)&&(u.push(m),c.push(new ie.TextEdit(ae(e,f.start,f.start+Zn.length),"")),c.push(new ie.TextEdit(ae(e,f.end-Xn.length,f.end),"")))}),c.length>0?c:[new ie.TextEdit(new ie.Range(t.start,t.start),Zn),new ie.TextEdit(new ie.Range(t.end,t.end),Xn)]}function b1(){ie.workspace.getConfiguration("editor.comments").get("insertSpace")?(Zn="/* ",Xn=" */",Yn="<!-- ",Kn=" -->"):(Zn="/*",Xn="*/",Yn="<!--",Kn="-->")}function y1(e,t,r){for(let o of r.comments)if(o.start<=t&&t<=o.end)return t;if(!e)return t;if(e.type==="property")return e.start;let n=e;if(t<n.contentStartToken.end||!n.firstChild)return n.start;if(t<n.firstChild.start)return t;let i=n.firstChild;for(;i.nextSibling&&t>i.end;)i=i.nextSibling;return i.start}function v1(e,t,r){for(let o of r.comments)if(o.start<=t&&t<=o.end)return t;if(!e)return t;if(e.type==="property")return e.end;let n=e;if(t===n.contentEndToken.end||!n.firstChild)return n.end;if(t>n.children[n.children.length-1].end)return t;let i=n.children[n.children.length-1];for(;i.previousSibling&&t<i.start;)i=i.previousSibling;return i.end}p();var jt=le(require("vscode"));function ms(e){if(!ee()||!jt.window.activeTextEditor)return;let t=jt.window.activeTextEditor,r=[];t.selections.forEach(n=>{let i=e==="next"?x1(n,t):w1(n,t);r.push(i)}),t.selections=r,t.revealRange(t.selections[t.selections.length-1])}function x1(e,t){for(let r=e.anchor.line;r<t.document.lineCount;r++){let n=Fd(r,t,e.anchor,"next");if(n)return n}return e}function w1(e,t){for(let r=e.anchor.line;r>=0;r--){let n=Fd(r,t,e.anchor,"prev");if(n)return n}return e}function Fd(e,t,r,n){let i=t.document.lineAt(e),o=i.text;if(e!==r.line&&i.isEmptyOrWhitespace&&o.length)return new jt.Selection(e,o.length,e,o.length);e===r.line&&n==="prev"&&(o=o.substr(0,r.character));let s=n==="next"?o.indexOf('""',e===r.line?r.character:0):o.lastIndexOf('""'),a=n==="next"?o.indexOf("><",e===r.line?r.character:0):o.lastIndexOf("><"),l=-1;if(s>-1&&a>-1?l=n==="next"?Math.min(s,a):Math.max(s,a):s>-1?l=s:l=a,l>-1)return new jt.Selection(e,l+1,e,l+1)}p();var bs=le(require("vscode"));p();function _d(e,t,r,n){let i=e.offsetAt(r),o=X(e.getText(),n,i,!1),s;if(o){if(o.type!=="comment"){if(o.open&&i<=o.open.start+o.name.length)return gs(e,o);if(o.open&&i<o.open.end){let a=e.offsetAt(t),l=k1(e,a,i,o);if(l)return l}for(s=o.firstChild;s&&(i>=s.end||s.type==="comment");)s=s.nextSibling}for(;!s&&o;)o.nextSibling?o.nextSibling.type!=="comment"?s=o.nextSibling:o=o.nextSibling:o=o.parent;return s&&gs(e,s)}}function Dd(e,t,r,n){let i=e.offsetAt(t),o=X(e.getText(),n,i,!1),s;if(!o)return;let a=e.offsetAt(r);if(o.open&&o.type!=="comment"&&i-1>o.open.start)if(i<o.open.end||!o.firstChild||a<=o.firstChild.start)s=o;else{s=o.firstChild;let u;for(;s.nextSibling&&i>=s.nextSibling.end;)s&&s.type!=="comment"&&(u=s),s=s.nextSibling;s=$t(s&&s.type!=="comment"?s:u)}for(;!s&&o;)o.previousSibling?o.previousSibling.type!=="comment"?s=$t(o.previousSibling):o=o.previousSibling:s=o.parent;if(!s)return;let l=A1(e,i,a,s);return l||gs(e,s)}function gs(e,t){if(t&&t.open){let r=t.open.start+1,n=r+t.name.length;return Q(e,r,n)}}function k1(e,t,r,n){if(!(!n.attributes||n.attributes.length===0||n.type==="comment"))for(let i of n.attributes){if(r<i.start)return Q(e,i.start,i.end);if(!i.value||i.value.start===i.value.end)continue;if(t===i.start&&r===i.end||r<i.value.start)return Q(e,i.value.start,i.value.end);if(!i.value.toString().includes(" "))continue;let o;if(t===i.value.start&&r===i.value.end&&(o=-1),o===void 0&&r<i.end){let s=e.positionAt(r).character,a=e.positionAt(i.value.start).character;o=s-a-1}if(o!==void 0){let[s,a]=Wn(i.value.toString(),o);if(s===void 0||a===void 0)return;if(s>=0&&a>=0){let l=i.value.start+s,u=i.value.start+a;return Q(e,l,u)}}}}function A1(e,t,r,n){if(!(!n.attributes||n.attributes.length===0||n.type==="comment"))for(let i=n.attributes.length-1;i>=0;i--){let o=n.attributes[i];if(t<=o.start)continue;if(!o.value||o.value.start===o.value.end||t<o.value.start)return Q(e,o.start,o.end);if(t===o.value.start)return r>=o.value.end?Q(e,o.start,o.end):Q(e,o.value.start,o.value.end);let s=e.positionAt(t).character,a=e.positionAt(o.value.start).character,l=t>o.value.end?o.value.toString().length:s-a,[u,c]=Vn(o.value.toString(),l);if(u===void 0||c===void 0)return;if(u>=0&&c>=0){let f=o.value.start+u,m=o.value.start+c;return Q(e,f,m)}}}p();var qd=le(require("vscode"));function Bd(e,t,r,n){let i=e.offsetAt(t),o=e.offsetAt(r),s=ne(n,o,!0);if(s||(s=n),!s)return;if(s.type==="property"&&i===s.start&&o===s.end)return ti(e,s,i,o,!0,"next");if(s.type==="property"&&i>=s.valueToken.start&&o<=s.valueToken.end){let l=ti(e,s,i,o,!1,"next");if(l)return l}if(s.type==="rule"&&o<s.selectorToken.end||s.type==="property"&&o<s.valueToken.end)return ei(e,s);let a=s.firstChild;for(;a&&o>=a.end;)a=a.nextSibling;for(;!a&&s;)a=s.nextSibling,s=s.parent;return a?ei(e,a):void 0}function zd(e,t,r,n){let i=e.offsetAt(t),o=e.offsetAt(r),s=ne(n,i,!1);if(s||(s=n),!s)return;if(s.type==="property"&&i===s.valueToken.start&&o===s.valueToken.end)return ei(e,s);if(s.type==="property"&&i>=s.valueToken.start&&o<=s.valueToken.end){let l=ti(e,s,i,o,!1,"prev");if(l)return l}if(s.type==="property"||!s.firstChild||s.type==="rule"&&i<=s.firstChild.start)return ei(e,s);let a=s.firstChild;for(;a.nextSibling&&i>=a.nextSibling.end;)a=a.nextSibling;return a=$t(a),ti(e,a,i,o,!1,"prev")}function ei(e,t){if(!t)return;let r=t.type==="rule"?t.selectorToken:t;return Q(e,r.start,r.end)}function ti(e,t,r,n,i,o){if(!t||t.type!=="property")return;let s=t,a=s.valueToken.stream.substring(s.valueToken.start,s.valueToken.end);if(i=i||o==="prev"&&r===s.valueToken.start&&n<s.valueToken.end,i)return Q(e,s.valueToken.start,s.valueToken.end);let l=-1;if(o==="prev"){if(r===s.valueToken.start)return;let v=e.positionAt(r).character,b=e.positionAt(s.valueToken.start).character;l=r>s.valueToken.end?a.length:v-b}else if(o==="next"){if(n===s.valueToken.end&&(r>s.valueToken.start||!a.includes(" ")))return;let v=e.positionAt(n).character,b=e.positionAt(s.valueToken.start).character;l=n===s.valueToken.end?-1:v-b-1}let[u,c]=o==="prev"?Vn(a,l):Wn(a,l);if(!u&&!c)return;let f=e.positionAt(s.valueToken.start),m=f.translate(0,u),d=f.translate(0,c);return new qd.Selection(m,d)}function ys(e){if(!ee()||!bs.window.activeTextEditor)return;let t=bs.window.activeTextEditor,r=t.document,n=J(r,!0);if(!n)return;let i=[];t.selections.forEach(o=>{let s=o.isReversed?o.active:o.anchor,a=o.isReversed?o.anchor:o.active,l;oe(t.document.languageId)?l=e==="next"?Bd(r,s,a,n):zd(r,s,a,n):l=e==="next"?_d(r,s,a,n):Dd(r,s,a,n),i.push(l||o)}),t.selections=i,t.revealRange(t.selections[t.selections.length-1])}p();var de=le(require("vscode"));p();p();function It(e){return e>47&&e<58}function xs(e){return e===32||e===9||e===160}function ni(e){return xs(e)||e===10||e===13}var ri=class e{constructor(t,r,n){n==null&&typeof t=="string"&&(n=t.length),this.string=t,this.pos=this.start=r||0,this.end=n||0}eof(){return this.pos>=this.end}limit(t,r){return new e(this.string,t,r)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos<this.string.length)return this.string.charCodeAt(this.pos++)}eat(t){let r=this.peek(),n=typeof t=="function"?t(r):r===t;return n&&this.next(),n}eatWhile(t){let r=this.pos;for(;!this.eof()&&this.eat(t););return this.pos!==r}backUp(t){this.pos-=t||1}current(){return this.substring(this.start,this.pos)}substring(t,r){return this.string.slice(t,r)}error(t,r=this.pos){return new vs(`${t} at ${r+1}`,r,this.string)}},vs=class extends Error{constructor(t,r,n){super(t),this.pos=r,this.string=n}};var S1=ii("null",0);function T1(e){let t=typeof e=="string"?new ri(e):e,r,n=0,i=21,o=[];for(;!t.eof();)t.eatWhile(xs),t.start=t.pos,E1(t)?((i&1)===0&&tt("Unexpected number",t),o.push(O1(t.current())),i=10):Wd(t.peek())?(r=t.next(),Ud(r)&&i&16?(Md(r)&&o.push(P1(r,n)),i=21):((i&2)===0&&tt("Unexpected operator",t),o.push(N1(r,n)),i=21)):t.eat(40)?((i&4)===0&&tt('Unexpected "("',t),n+=10,i=53):t.eat(41)?(n-=10,i&32?o.push(S1):(i&8)===0&&tt('Unexpected ")"',t),i=14):tt("Unknown character",t);(n<0||n>=10)&&tt('Unmatched "()"',t);let s=C1(o);return s===null&&tt("Parity",t),s}function E1(e){let t=e.pos;return e.eat(46)&&e.eatWhile(It)||e.eatWhile(It)&&(!e.eat(46)||e.eatWhile(It))?!0:(e.pos=t,!1)}function C1(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++){let o=e[i];if(o.type==="num")r.push(o);else{for(n+=o.type==="op1"?1:2;t.length&&o.priority<=t[t.length-1].priority;)r.push(t.pop());t.push(o)}}return n+1===r.length+t.length?r.concat(t.reverse()):null}function O1(e,t){return ii("num",parseFloat(e),t)}function P1(e,t=0){return e===45&&(t+=2),ii("op1",e,t)}function N1(e,t=0){return e===42?t+=1:(e===47||e===92)&&(t+=2),ii("op2",e,t)}function tt(e,t){throw t&&(e+=` at column ${t.pos} of expression`),new Error(e)}function Ud(e){return $1(e)||Md(e)}function $1(e){return e===43}function Md(e){return e===45}function Wd(e){return e===43||e===45||e===42||e===47||e===92}function ii(e,t,r=0){return{type:e,value:t,priority:r}}var R1={lookAhead:!0,whitespace:!0};function Vd(e,t=e.length,r){let n=Object.assign(Object.assign({},R1),r),i={text:e,pos:t},o;if(n.lookAhead&&ws(i)===41){i.pos++;let l=e.length;for(;i.pos<l&&(o=ws(i),!(o!==41&&!(n.whitespace&&ni(o))));)i.pos++}let s=i.pos,a=0;for(;i.pos>=0;)if(!j1(i)){if(o=ks(i),o===41)a++;else if(o===40){if(!a)break;a--}else if(!(n.whitespace&&ni(o)||Ud(o)||Wd(o)))break;i.pos--}if(i.pos!==s&&!a){for(;ni(ws(i));)i.pos++;return[i.pos,s]}return null}function j1(e){if(It(ks(e))){e.pos--;let t=!1,r;for(;e.pos>=0;){if(r=ks(e),r===46){if(t)break;t=!0}else if(!It(r))break;e.pos--}return!0}return!1}function ks(e){return e.text.charCodeAt(e.pos-1)}function ws(e){return e.text.charCodeAt(e.pos)}var I1={45:e=>-e},L1={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)};function F1(e){if(Array.isArray(e)||(e=T1(e)),!e||!e.length)return null;let t=[],r,n,i;for(let o=0,s=e.length;o<s;o++){let a=e[o];if(a.type==="num")t.push(a.value);else if(a.type==="op2")n=t.pop(),r=t.pop(),i=L1[a.value],t.push(i(r,n));else if(a.type==="op1")r=t.pop(),i=I1[a.value],t.push(i(r));else throw new Error("Invalid expression")}if(t.length>1)throw new Error("Invalid Expression (parity)");return t[0]}var As=F1;function Hd(){if(!de.window.activeTextEditor)return de.window.showInformationMessage("No editor is active"),Promise.resolve(!1);let e=de.window.activeTextEditor;return e.edit(t=>{e.selections.forEach(r=>{let n=r.isReversed?r.active:r.anchor,i=r.isReversed?r.anchor:r.active,o=e.document.getText(new de.Range(n,i));try{if(o){let s=String(As(o));t.replace(new de.Range(n,i),s)}else{let s=e.document.getText(new de.Range(new de.Position(r.end.line,0),i)),a=Vd(s);if(!a)throw new Error("Invalid extracted indices");let l=String(As(s.substr(a[0],a[1]))),u=new de.Range(new de.Position(r.end.line,a[0]),new de.Position(r.end.line,a[1]));t.replace(u,l)}}catch(s){de.window.showErrorMessage("Could not evaluate expression"),console.warn("Math evaluation error",s)}})})}p();var Lt=le(require("vscode")),Ss=/[0-9]/;function rt(e){if(!Lt.window.activeTextEditor){Lt.window.showInformationMessage("No editor is active");return}let t=Lt.window.activeTextEditor;return t.edit(r=>{t.selections.forEach(n=>{let i=D1(t.document,n.isReversed?n.anchor:n.active);if(!i)return;let o=t.document.getText(i);Gd(o)&&r.replace(i,_1(o,e))})})}function _1(e,t){let r,n=(r=e.match(/\.(\d+)$/))?r[1].length:1,i=String((parseFloat(e)+t).toFixed(n)).replace(/\.0+$/,"");return(r=e.match(/^\-?(0\d+)/))&&(i=i.replace(/^(\-?)(\d+)/,(o,s,a)=>s+"0".repeat(Math.max(0,(r?r[1].length:0)-a.length))+a)),/^\-?\./.test(e)&&(i=i.replace(/^(\-?)0+/,"$1")),i}function D1(e,t){let r=e.lineAt(t.line).text,n=t.character,i=t.character,o=!1,s=!1,a;for(;n>0;)if(a=r[--n],a==="-"){s=!0;break}else if(a==="."&&!o)o=!0;else if(!Ss.test(a)){n++;break}for(r[i]==="-"&&!s&&i++;i<r.length;)if(a=r[i++],a==="."&&!o&&Ss.test(r[i]))o=!0;else if(!Ss.test(a)){i--;break}if(n!==i&&Gd(r.slice(n,i)))return new Lt.Range(t.line,n,t.line,i)}function Gd(e){return e?!isNaN(parseFloat(e)):!1}p();var Ts=require("vscode");var Qd=["-webkit-","-moz-","-ms-","-o-",""];function Jd(){let e=Ts.window.activeTextEditor;if(!e){Ts.window.showInformationMessage("No editor is active.");return}let t=bd(e,e.selection.active);if(t)return q1(e,t)}function q1(e,t){let r=t.parent,n="";for(let s of Qd)if(t.name.startsWith(s)){n=s;break}let i=t.name.substr(n.length),o=t.value;return e.edit(s=>{Qd.forEach(a=>{if(a===n)return;let l=gd(r,a+i);if(l){let u=ae(e.document,l.valueToken.start,l.valueToken.end);s.replace(u,o)}})})}function Xd(e){hd(),Zd(e),Un(),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.wrapWithAbbreviation",t=>{xd(t)})),e.subscriptions.push(z.commands.registerCommand("emmet.expandAbbreviation",t=>{wd(t)})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.removeTag",()=>Sd())),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.updateTag",t=>t&&typeof t=="string"?ps(t):ps(void 0))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.matchTag",()=>{Td()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.balanceOut",()=>{Od()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.balanceIn",()=>{Pd()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.splitJoinTag",()=>$d())),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.mergeLines",()=>{Rd()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.toggleComment",()=>{jd()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.nextEditPoint",()=>{ms("next")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.prevEditPoint",()=>{ms("prev")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.selectNextItem",()=>{ys("next")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.selectPrevItem",()=>{ys("prev")})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.evaluateMathExpression",()=>{Hd()})),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.incrementNumberByOneTenth",()=>rt(.1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.incrementNumberByOne",()=>rt(1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.incrementNumberByTen",()=>rt(10))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.decrementNumberByOneTenth",()=>rt(-.1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.decrementNumberByOne",()=>rt(-1))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.decrementNumberByTen",()=>rt(-10))),e.subscriptions.push(z.commands.registerCommand("editor.emmet.action.reflectCSSValue",()=>Jd())),e.subscriptions.push(z.commands.registerCommand("workbench.action.showEmmetCommands",()=>{z.commands.executeCommand("workbench.action.quickOpen",">Emmet: ")})),e.subscriptions.push(z.workspace.onDidChangeConfiguration(t=>{(t.affectsConfiguration("emmet.includeLanguages")||t.affectsConfiguration("emmet.useInlineCompletions"))&&Zd(e),t.affectsConfiguration("emmet.extensionsPath")&&Un()})),e.subscriptions.push(z.workspace.onDidSaveTextDocument(t=>{let r=vd(t.fileName);r.startsWith("snippets")&&r.endsWith(".json")&&Un(!0)})),e.subscriptions.push(z.workspace.onDidOpenTextDocument(t=>{let r=Ee(t.languageId,{},[])??"",n=Gn();(n.markup.includes(r)||n.stylesheet.includes(r))&&va(t)})),e.subscriptions.push(z.workspace.onDidCloseTextDocument(t=>{let r=Ee(t.languageId,{},[])??"",n=Gn();(n.markup.includes(r)||n.stylesheet.includes(r))&&xa(t)}))}var Ft=new Map,wr=[];function Zd(e){B1();let t=new Qn,r={async provideInlineCompletionItems(o,s,a,l){let u=await t.provideCompletionItems(o,s,l,{triggerCharacter:void 0,triggerKind:z.CompletionTriggerKind.Invoke});if(!u)return;let c=u.items[0];if(!c||!c.insertText)return;let f=c.range;if(o.getText(f)===c.label)return[{insertText:c.insertText,filterText:c.label,range:f}]}},n=z.workspace.getConfiguration("emmet").get("useInlineCompletions"),i=Nt();Object.keys(i).forEach(o=>{if(Ft.has(o)&&Ft.get(o)===i[o])return;if(n){let a=z.languages.registerInlineCompletionItemProvider({language:o,scheme:"*"},r);wr.push(a)}let s=z.languages.registerCompletionItemProvider({language:o,scheme:"*"},t,...mr[i[o]]);wr.push(s),Ft.set(o,i[o])}),Object.keys(mr).forEach(o=>{if(!Ft.has(o)){if(n){let a=z.languages.registerInlineCompletionItemProvider({language:o,scheme:"*"},r);wr.push(a)}let s=z.languages.registerCompletionItemProvider({language:o,scheme:"*"},t,...mr[o]);wr.push(s),Ft.set(o,o)}})}function B1(){Ft.clear();let e;for(;e=wr.pop();)e.dispose()}function z1(e){Xd(e)}
|
|
33
33
|
//# sourceMappingURL=emmetBrowserMain.js.map
|