UNPKG

imba

Version:

Intuitive and powerful language for building webapps that fly

370 lines 701 kB
var bo=Object.defineProperty;var ad=Object.getOwnPropertyDescriptor;var od=Object.getOwnPropertyNames;var ld=Object.prototype.hasOwnProperty;var hd=(e,t)=>{for(var s in t)bo(e,s,{get:t[s],enumerable:!0})},cd=(e,t,s,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of od(t))!ld.call(e,i)&&i!==s&&bo(e,i,{get:()=>t[i],enumerable:!(r=ad(t,i))||r.enumerable});return e};var ud=e=>cd(bo({},"__esModule",{value:!0}),e);var O4={};hd(O4,{aliases:()=>di,compile:()=>zp,deserialize:()=>Gp,fonts:()=>ya,helpers:()=>Fp,modifiers:()=>va,parse:()=>Hp,parser:()=>pi,program:()=>ed,resolve:()=>Up,resolveConfig:()=>jp,rewrite:()=>Vp,selparser:()=>Qp,tokenize:()=>Bp,variants:()=>ml});module.exports=ud(O4);var pd=Object.defineProperty,Ci=(e,t)=>{for(var s in t)pd(e,s,{get:t[s],enumerable:!0})},xo={};Ci(xo,{Diagnostic:()=>Bh,DiagnosticSeverity:()=>Fn,InternalPrefixes:()=>So,Position:()=>za,Range:()=>jh,ReservedIdentifierRegex:()=>Nh,ReservedPrefixes:()=>Ah,ToImbaMap:()=>Lh,ToJSMap:()=>Ih,ansi:()=>pr,brace:()=>wd,bracketize:()=>Ph,camelCase:()=>Td,clearLocationMarkers:()=>To,computeLineOffsets:()=>Fh,dashToCamelCase:()=>ko,dasherize:()=>Ch,deepAssign:()=>Dd,flatten:()=>Sd,fromValidIdentifier:()=>Nd,identifierForPath:()=>No,indent:()=>Mh,isPlainObject:()=>Od,isSystemIdentifier:()=>Id,isValidIdentifier:()=>Oh,locationToLineColMap:()=>Ao,markLineColForTokens:()=>Ld,normalizeIndentation:()=>Ha,parenthesize:()=>Di,parseArgs:()=>Rd,pascalCase:()=>$h,printExcerpt:()=>$d,printWarning:()=>Cd,quote:()=>Ad,setterSym:()=>Ed,singlequote:()=>Oi,snakeCase:()=>kd,symbolize:()=>Dh,toCustomTagIdentifier:()=>bd,toImbaIdentifier:()=>Rh,toJSIdentifier:()=>Va,toValidIdentifier:()=>Us,unionOfLocations:()=>Eo});var Eh={32:16777619n,64:1099511628211n,128:309485009821345068724781371n,256:374144419156711147060143317175368453031918731002211n,512:35835915874844867368919076489095108449946327955754392558399825615420669938882575126094039892345713852759n,1024:5016456510113118655434598811035278955030765345404790744303017523831112055108147451509157692220295382716162651878526895249385292291816524375083746691371804094271873160484737966720260389217684476157468082573n},dd={32:2166136261n,64:14695981039346656037n,128:144066263297769815596495629667062367629n,256:100029257958052580907070968620625704837092796014241193945225284501741471925557n,512:9659303129496669498009435400716310466090418745672637896108374329434462657994582932197716438449813051892206539805784495328239340083876191928701583869517785n,1024:14197795064947621068722070641403218320880622795441933960878474914617582723252296732303717722150864096521202355549365628174669108571814760471015076148029755969804077320157692458563003215304957150157403644460363550505412711285966361610267868082893823963790439336411086884584107735010676915n};function fd(e,{size:t=32}={}){if(!Eh[t])throw new Error("The `size` option must be one of 32, 64, 128, 256, 512, or 1024");let s=dd[t],r=Eh[t],i=!1;for(let n=0;n<e.length;n++){let a=e.charCodeAt(n);a>127&&!i&&(e=unescape(encodeURIComponent(e)),a=e.charCodeAt(n),i=!0),s^=BigInt(a),s=BigInt.asUintN(t,s*r)}return s}function wo(e){return e?e.toArray?e.toArray():e:[]}var Qe={},_d={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},pr={bold:function(e){return"\x1B[1m"+e+"\x1B[22m"},red:function(e){return"\x1B[31m"+e+"\x1B[39m"},green:function(e){return"\x1B[32m"+e+"\x1B[39m"},yellow:function(e){return"\x1B[33m"+e+"\x1B[39m"},blue:function(e){return"\x1B[94m"+e+"\x1B[39m"},gray:function(e){return"\x1B[90m"+e+"\x1B[39m"},white:function(e){return"\x1B[37m"+e+"\x1B[39m"},f:function(e,t){let s=_d[e];return"\x1B["+s[0]+"m"+t+"\x1B["+s[1]+"m"}};pr.warn=pr.yellow,pr.error=pr.red;var So={TAG:"\u03C4",FLIP:"\u03C9",VALUE:"\u03C5",CACHE:"\u03F2",KEY:"\u03BA",ANY:"\u03C6",SYM:"\u03B5",SEP:"\u03B9",PRIVATE:"\u03A8",B:"\u03B9",T:"\u03C4",C:"\u03C1",V:"\u03C5",K:"\u03BA",D:"\u0394",H:"\u03B8",EXTEND:"\u03A9"},Ah=new Set(Object.values(So)),Nh=new RegExp("^["+Array.from(Ah).join("")+"]","u"),Ih={"-":"\u039E","?":"\u03A6","#":"\u03A8","@":"\u03B1"},md=/[-?#@]/gu,gd=function(e){return Ih[e]},Va=Qe.toJSIdentifier=function(e){return e.replace(md,gd)},Lh={\u039E:"-",\u03A6:"?",\u03A8:"#",\u03B1:"@"},yd=new RegExp("[\u039E\u03A6\u03A8\u03B1]","gu"),vd=function(e){return Lh[e]},Rh=Qe.toImbaIdentifier=function(e){return e.replace(yd,vd)},bd=Qe.toCustomTagIdentifier=function(e){return"\u0393"+Va(e)},xd="\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9",wd=Qe.brace=function(e){var t=e.match(/\n/);return t?"{"+e+`
}`:`{
`+e+`
}`},Ha=Qe.normalizeIndentation=function(e){for(var t,s=/\n+([^\n\S]*)/g,r=null,i;t=s.exec(e);){var n=t[1];(r===null||0<(i=n.length)&&i<r.length)&&(r=n)}return r&&(e=e.replace(RegExp("\\n"+r,"g"),`
`)),e},Sd=Qe.flatten=function(e){var t=[];return e.forEach(function(s){return s instanceof Array?t.push.apply(t,Qe.flatten(s)):t.push(s)}),t},To=Qe.clearLocationMarkers=function(e){return e.replace(/\/\*\%([\w\|]*)\$\*\//g,"")},$h=Qe.pascalCase=function(e){return e.replace(/(^|[\-\_\s])(\w)/g,function(t,s,r){return r.toUpperCase()})},Td=Qe.camelCase=function(e){return e=String(e),e.replace(/([\-\_\s])(\w)/g,function(t,s,r){return r.toUpperCase()})},ko=Qe.dashToCamelCase=function(e){return e=String(e),e.indexOf("-")>=0&&(e=e.replace(/([\-\s])(\w)/g,function(t,s,r){return r.toUpperCase()})),e},kd=Qe.snakeCase=function(t){var t=t.replace(/([\-\s])(\w)/g,"_");return t.replace(/()([A-Z])/g,"_$1",function(s,r,i){return i.toUpperCase()})},Ch=Qe.dasherize=function(e){return e.replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()},Ed=Qe.setterSym=function(e){return Qe.dashToCamelCase("set-"+e)},Ad=Qe.quote=function(e){return'"'+e+'"'},Oi=Qe.singlequote=function(e){return"'"+e+"'"},Oh=Qe.isValidIdentifier=function(e){return!/[?-\s]/.test(e)&&e[0]!="#"},Us=Qe.toValidIdentifier=function(e){return Va(e)},Nd=Qe.fromValidIdentifier=function(e){return Rh(e)},Id=Qe.isSystemIdentifier=function(e){return xd.indexOf(e[0])>=0},Dh=Qe.symbolize=function(e,t){return e=String(e),Qe.toValidIdentifier(e);var s},Mh=Qe.indent=function(e){return String(e).replace(/^/g,"	").replace(/\n/g,`
	`).replace(/\n\t$/g,`
`)},Ph=Qe.bracketize=function(e,t){return t===void 0&&(t=!0),t&&(e=`
`+Qe.indent(e)+`
`),"{"+e+"}"},Di=Qe.parenthesize=function(e){return"("+String(e)+")"},Eo=Qe.unionOfLocations=function(){for(var e=arguments,t=e.length,s=new Array(t>0?t:0);t>0;)s[t-1]=e[--t];var r=1/0,i=-1/0;for(let n=0,a=wo(s),o=a.length,l;n<o;n++)l=a[n],l&&l._loc!=null&&(l=l._loc),l&&l.loc instanceof Function&&(l=l.loc()),l instanceof Array?(r>l[0]&&(r=l[0]),i<l[0]&&(i=l[1])):(typeof l=="number"||l instanceof Number)&&(r>l&&(r=l),i<l&&(i=l));return[r,i]},Ao=Qe.locationToLineColMap=function(e){for(var t=e.split(/\n/g),s=[],r,i=0,n=0,a=0;r=e[i];)s[i]=[a,n],r==`
`?(a++,n=0):n++,i++;return s[i]=[a,n],s[i+1]=[a,n],s},Ld=Qe.markLineColForTokens=function(e,t){return Qe},Rd=Qe.parseArgs=function(e,t){var s;t===void 0&&(t={});var r=t.alias||(t.alias={}),i=t.group||(t.group=[]),n=t.schema||{};n.main={};var a={},o={};e=e||process.argv.slice(2);for(var l=null,p=0,c;p<e.length;){var d=e[p];if(p++,c=d.match(/^\-([a-zA-Z]+)(\=\S+)?$/)){l=null;let y=c[1].split("");for(let T=0,_=wo(y),b=_.length,m;T<b;T++){m=_[T];var v=r[m]||m;y[T]=v,a[v]=!0}y.length==1&&(l=y);continue}else if(c=d.match(/^\-\-([a-z0-9\-\_A-Z]+)(\=\S+)?$/)){var f=!0;v=c[1],v.indexOf("no-")==0&&(v=v.substr(3),f=!1),v=Qe.dashToCamelCase(v),c[2]&&(f=c[2].slice(1)),a[v]=f,l=v;continue}else{var g=n[l];l&&n[l]||(l="main"),d.match(/^\d+$/)&&(d=parseInt(d)),f=a[l],f==!0||f==!1?a[l]=d:typeof f=="string"||f instanceof String||typeof f=="number"||f instanceof Number?a[l]=[f].concat(d):f instanceof Array?f.push(d):a[l]=d,g&&g.multi||(l="main")}}for(let y=0,T=wo(i),_=T.length;y<_;y++){let b=Qe.dashToCamelCase(T[y]);for(let m,C=0,k=Object.keys(a),L=k.length,x;C<L;C++)if(x=k[C],m=a[x],x.indexOf(b)==0){let E=x.substr(b.length).replace(/^\w/,function(N){return N.toLowerCase()});E?(a[b]||(a[b]={}),a[b][E]=m):a[b]||(a[b]={})}}return(typeof(s=a.env)=="string"||s instanceof String)&&(a["ENV_"+a.env]=!0),a},$d=Qe.printExcerpt=function(e,t,s){(!s||s.constructor!==Object)&&(s={});var r=s.hl!==void 0?s.hl:!1,i=s.gutter!==void 0?s.gutter:!0,n=s.type!==void 0?s.type:"warn",a=s.pad!==void 0?s.pad:2,o=e.split(/\n/g),l=Qe.locationToLineColMap(e),p=l[t[0]]||[0,0],c=p[0],d=p[1],v=o[c],f=Math.max(0,c-a),g=Math.min(f+a+1+a,o.length);let y=c-f;for(var T=f,_=[];T<g;)_.push(o[T++]);var b=_;return i&&(b=b.map(function(m,C){let k=""+(f+C+1),L;for(;k.length<String(g).length;)k=" "+k;return C==y?(L="   -> "+k+" | "+m,r&&(L=pr.f(r,L))):(L="      "+k+" | "+m,r&&(L=pr.f("gray",L))),L})),b.join(`
`)},Cd=Qe.printWarning=function(e,t){let s=t.message,r=Qe.printExcerpt(e,t.loc,{hl:"whiteBright",type:"warn",pad:1});return s+`
`+r},No=Qe.identifierForPath=function(e){let t=fd(e).toString(36);return t[0].match(/\d/)&&(t="z"+t),t},Od=Qe.isPlainObject=function(e){return typeof e=="object"&&Object.getPrototypeOf(e)==Object.prototype},Dd=Qe.deepAssign=function(e,t){for(let s,r=0,i=Object.keys(t),n=i.length,a;r<n;r++){a=i[r],s=t[a];let o=e[a];Qe.isPlainObject(o)&&Qe.isPlainObject(s)?Qe.deepAssign(o,s):e[a]=s}return e},Fh=Qe.computeLineOffsets=function(e,t,s){s===void 0&&(s=0);for(var r=t?[s]:[],i=0;i<e.length;){var n=e.charCodeAt(i);(n===13||n===10)&&(n===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,r.push(s+i+1)),i++}return r},za=class{constructor(e,t,s,r=null){this.line=e,this.character=t,this.offset=s}toString(){return this.line+":"+this.character}valueOf(){return this.offset}},jh=class{constructor(e,t){this.start=e,this.end=t}get offset(){return this.start.offset}get length(){return this.end.offset-this.start.offset}get 0(){return this.start.offset}get 1(){return this.end.offset}getText(e){return e.slice(this.start,this.end)}equals(e){return e.offset==this.offset&&e.length==this.length}},Fn={Error:1,Warning:2,Information:3,Hint:4,error:1,warning:2,warn:2,info:3,hint:4},Gh=new WeakMap,Bh=class{constructor(e,t=null){this.range=e.range,this.severity=Fn[e.severity]||e.severity,this.code=e.code,this.source=e.source,this.message=e.message,Gh.set(this,t)}get sourceDocument(){return Gh.get(this)}toSnippet(){let e=this.sourceDocument,t=this.range.start,s=this.range.end,r=e.sourcePath+":"+(t.line+1)+":"+(t.character+1)+": "+this.message,i=e.doc.getLineText(t.line),n=s.line==t.line?s.character:i.length,a=Math.max(n-t.character,1),o=[r,i];return o.push(i.replace(/[^\t]/g," ").slice(0,t.character)+"^".repeat(a)),o.join(`
`).replace(/\t/g,"    ")+`
`}toError(){let e=this.range.start,t=this.sourceDocument.sourcePath+":"+(e.line+1)+":"+(e.character+1)+": "+this.message,s=new SyntaxError(t);return s.stack=`
`+this.toSnippet(),s}raise(){throw this.toError()}},rr={},Lr={},B4=Lr.TERMINATOR=1,V4=Lr.IDENTIFIER=Lr.IVAR=2,H4=Lr.CONST=3,z4=Lr.VAR=4,U4=Lr.IF=5,Y4=Lr.ELSE=6,q4=Lr.DEF=7;function tt(e,t,s,r){return this._type=e,this._value=t,this._loc=s??-1,this._len=r??this._value.length,this._meta=null,this.generated=!1,this.newLine=!1,this.spaced=!1,this.call=!1,this}tt.prototype.type=function(){return this._type},tt.prototype.value=function(){return this._value},tt.prototype.traverse=function(){},tt.prototype.match=function(e){return this._value.match(e)},tt.prototype.c=function(){return""+this._value},tt.prototype.prepend=function(e){return this._value=e+this._value,this},tt.prototype.toString=function(){return this._value},tt.prototype.charAt=function(e){return this._value.charAt(e)},tt.prototype.slice=function(e){return this._value.slice(e)},tt.prototype.cloneSlice=function(e,t){return new tt(t||this._type,this.slice(e),this._loc+e,this._len-e)},tt.prototype.region=function(){return[this._loc,this._loc+this._len]},tt.prototype.startLoc=function(){return this._loc},tt.prototype.endLoc=function(){return this._loc+this._len},tt.prototype.loc=function(){return[this._loc,this.endLoc()]};var Md=rr.lex=function(){var e=this.tokens[this.pos++],t;return e?(t=e._type,this.yytext=e):t="",t},Rr=rr.token=function(e,t){return new tt(e,t,-1,0)},Pd=rr.typ=function(e){return e._type},Fd=rr.val=function(e){return e._value},K4=rr.line=function(e){return e._line},W4=rr.loc=function(e){return e._loc},Vh=rr.setTyp=function(e,t){return e._type=t},jd=rr.setVal=function(e,t){return e._value=t},X4=rr.setLine=function(e,t){return e._line=t},J4=rr.setLoc=function(e,t){return e._loc=t},Gd=new tt("{","{",0,0,0),Bd=new tt("}","}",0,0,0),Vd=new tt("(","(",0,0,0),Hd=new tt(")",")",0,0,0);Gd.generated=!0,Bd.generated=!0,Vd.generated=!0,Hd.generated=!0;var Z4=new tt("INDENT","2",0,0,0),zd=new tt("OUTDENT","2",0,0,0),Hh={};Ci(Hh,{ALL_KEYWORDS:()=>Yd,ASSIGNMENT_OPERATORS:()=>Uh,BALANCED_PAIRS:()=>Mi,BITWISE_OPERATORS:()=>zh,HEREGEX:()=>qh,HEREGEX_OMIT:()=>Yh,HEX_REGEX:()=>Wd,INVERSES:()=>ir,OPERATOR_ALIASES:()=>Kd,SYSVAR_PREFIX:()=>Xd,TAG_GLOBAL_ATTRIBUTES:()=>Kh,TAG_NAMES:()=>Pi,TAG_TYPES:()=>jn,TOK:()=>qd});function Ud(e){return e?e.toArray?e.toArray():e:[]}var Mi=[["(",")"],["[","]"],["{","}"],["{{","}}"],["INDENT","OUTDENT"],["CALL_START","CALL_END"],["PARAM_START","PARAM_END"],["INDEX_START","INDEX_END"],["TAG_START","TAG_END"],["STYLE_START","STYLE_END"],["BLOCK_PARAM_START","BLOCK_PARAM_END"]],zh={"|":!0,"&":!0,"!&":!0,"~":!0,"|=":!0,"&=":!0,"~=":!0,"^=":!0,"^":!0,"<<":!0,"<<=":!0,">>":!0,">>=":!0},Uh={"=":!0,"=?":!0,"??=":!0,"||=":!0,"&&=":!0,"|=":!0,"|=?":!0,"&=":!0,"&=?":!0,"^=":!0,"^=?":!0,"~=":!0,"~=?":!0},ir={};for(let e=0,t=Mi.length,s;e<t;e++)s=Mi[e],Ua=s[0],Ya=s[1],ir[Ya]=Ua,ir[Ua]=Ya,Mi[Ua]=Ya;var Ua,Ya,Yd=["true","false","null","this","delete","typeof","in","instanceof","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","return","undefined","then","unless","until","loop","of","by","when","def","tag","do","elif","begin","var","let","self","await","import","and","or","is","isnt","not","yes","no","isa","case","nil","require"],qd={TERMINATOR:"TERMINATOR",INDENT:"INDENT",OUTDENT:"OUTDENT",DEF_BODY:"DEF_BODY",THEN:"THEN",CATCH:"CATCH"},Kd={and:"&&",or:"||",is:"==",isnt:"!=",isa:"instanceof"},Yh=/\s+(?:#.*)?/g,qh=/^\/{3}([\s\S]+?)\/{3}([a-z]{0,8})(?!\w)/,Wd=/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6}([A-Fa-f0-9]{2})?)$/,Kh={itemid:1,itemprop:1,itemref:1,itemscope:1,itemtype:1,enterkeyhint:1,autofocus:1,autocapitalize:1,autocomplete:1,accesskey:1,inputmode:1,spellcheck:1,translate:1,is:1},Xd={TAG:"\u03C4",FLIP:"\u03C9",VALUE:"\u03C5",CACHE:"\u03C1",KEY:"\u03BA",ANY:"\u03C6",B:"\u0398",T:"\u03C4",C:"\u03C1",V:"\u03C5",K:"\u03BA",D:"\u0394"},jn={"":[-1,{id:1,className:"class",slot:1,part:1,elementTiming:"elementtiming"}],HTML:[-1,{title:1,lang:1,translate:1,dir:1,accessKey:"accesskey",draggable:1,spellcheck:1,autocapitalize:1,inputMode:"inputmode",style:1,tabIndex:"tabindex",enterKeyHint:"enterkeyhint"}],HTMLAnchor:[1,{target:1,download:1,ping:1,rel:1,relList:"rel",hreflang:1,type:1,referrerPolicy:"referrerpolicy",coords:1,charset:1,name:1,rev:1,shape:1,href:1}],HTMLArea:[1,{alt:1,coords:1,download:1,shape:1,target:1,ping:1,rel:1,relList:"rel",referrerPolicy:"referrerpolicy",href:1}],HTMLMedia:[1,{src:1,crossOrigin:"crossorigin",preload:1,controlsList:"controlslist"}],HTMLAudio:[4,{}],HTMLBase:[1,{href:1,target:1}],HTMLQuote:[1,{cite:1}],HTMLBody:[1,{text:1,link:1,vLink:"vlink",aLink:"alink",bgColor:"bgcolor",background:1}],HTMLBR:[1,{clear:1}],HTMLButton:[1,{formAction:"formaction",formEnctype:"formenctype",formMethod:"formmethod",formTarget:"formtarget",name:1,type:1,value:1}],HTMLCanvas:[1,{width:1,height:1}],HTMLTableCaption:[1,{align:1}],HTMLTableCol:[1,{span:1,align:1,ch:"char",chOff:"charoff",vAlign:"valign",width:1}],HTMLData:[1,{value:1}],HTMLDataList:[1,{}],HTMLMod:[1,{cite:1,dateTime:"datetime"}],HTMLDetails:[1,{}],HTMLDialog:[1,{}],HTMLDiv:[1,{align:1}],HTMLDList:[1,{}],HTMLEmbed:[1,{src:1,type:1,width:1,height:1,align:1,name:1}],HTMLFieldSet:[1,{name:1}],HTMLForm:[1,{acceptCharset:"accept-charset",action:1,autocomplete:1,enctype:1,encoding:"enctype",method:1,name:1,target:1}],HTMLHeading:[1,{align:1}],HTMLHead:[1,{}],HTMLHR:[1,{align:1,color:1,size:1,width:1}],HTMLHtml:[1,{version:1}],HTMLIFrame:[1,{src:1,srcdoc:1,name:1,sandbox:1,width:1,height:1,referrerPolicy:"referrerpolicy",csp:1,allow:1,align:1,scrolling:1,frameBorder:"frameborder",longDesc:"longdesc",marginHeight:"marginheight",marginWidth:"marginwidth",loading:1}],HTMLImage:[1,{alt:1,src:1,srcset:1,sizes:1,crossOrigin:"crossorigin",useMap:"usemap",width:1,height:1,referrerPolicy:"referrerpolicy",decoding:1,name:1,lowsrc:1,align:1,hspace:1,vspace:1,longDesc:"longdesc",border:1,loading:1}],HTMLInput:[1,{accept:1,alt:1,autocomplete:1,dirName:"dirname",formAction:"formaction",formEnctype:"formenctype",formMethod:"formmethod",formTarget:"formtarget",height:1,max:1,maxLength:"maxlength",min:1,minLength:"minlength",name:1,pattern:1,placeholder:1,src:1,step:1,type:1,defaultValue:"value",width:1,align:1,useMap:"usemap"}],HTMLLabel:[1,{htmlFor:"for"}],HTMLLegend:[1,{align:1}],HTMLLI:[1,{value:1,type:1}],HTMLLink:[1,{href:1,crossOrigin:"crossorigin",rel:1,relList:"rel",media:1,hreflang:1,type:1,as:1,referrerPolicy:"referrerpolicy",sizes:1,imageSrcset:"imagesrcset",imageSizes:"imagesizes",charset:1,rev:1,target:1,integrity:1}],HTMLMap:[1,{name:1}],HTMLMenu:[1,{}],HTMLMeta:[1,{name:1,httpEquiv:"http-equiv",content:1,scheme:1}],HTMLMeter:[1,{value:1,min:1,max:1,low:1,high:1,optimum:1}],HTMLObject:[1,{data:1,type:1,name:1,useMap:"usemap",width:1,height:1,align:1,archive:1,code:1,hspace:1,standby:1,vspace:1,codeBase:"codebase",codeType:"codetype",border:1}],HTMLOList:[1,{start:1,type:1}],HTMLOptGroup:[1,{label:1}],HTMLOption:[1,{label:1,value:1}],HTMLOutput:[1,{htmlFor:"for",name:1}],HTMLParagraph:[1,{align:1}],HTMLParam:[1,{name:1,value:1,type:1,valueType:"valuetype"}],HTMLPicture:[1,{}],HTMLPre:[1,{width:1}],HTMLProgress:[1,{value:1,max:1}],HTMLScript:[1,{src:1,type:1,charset:1,crossOrigin:"crossorigin",referrerPolicy:"referrerpolicy",event:1,htmlFor:"for",integrity:1}],HTMLSelect:[1,{autocomplete:1,name:1,size:1}],HTMLSlot:[1,{name:1}],HTMLSource:[1,{src:1,type:1,srcset:1,sizes:1,media:1}],HTMLSpan:[1,{}],HTMLStyle:[1,{media:1,type:1}],HTMLTable:[1,{align:1,border:1,frame:1,rules:1,summary:1,width:1,bgColor:"bgcolor",cellPadding:"cellpadding",cellSpacing:"cellspacing"}],HTMLTableSection:[1,{align:1,ch:"char",chOff:"charoff",vAlign:"valign"}],HTMLTableCell:[1,{colSpan:"colspan",rowSpan:"rowspan",headers:1,align:1,axis:1,height:1,width:1,ch:"char",chOff:"charoff",vAlign:"valign",bgColor:"bgcolor",abbr:1,scope:1}],HTMLTemplate:[1,{}],HTMLTextArea:[1,{autocomplete:1,cols:1,dirName:"dirname",maxLength:"maxlength",minLength:"minlength",name:1,placeholder:1,rows:1,wrap:1}],HTMLTime:[1,{dateTime:"datetime"}],HTMLTitle:[1,{}],HTMLTableRow:[1,{align:1,ch:"char",chOff:"charoff",vAlign:"valign",bgColor:"bgcolor"}],HTMLTrack:[1,{kind:1,src:1,srclang:1,label:1}],HTMLUList:[1,{type:1}],HTMLVideo:[4,{width:1,height:1,poster:1}],SVG:[-1,{}],SVGGraphics:[66,{transform:1}],SVGA:[67,{}],SVGAnimation:[66,{}],SVGAnimate:[69,{}],SVGAnimateMotion:[69,{}],SVGAnimateTransform:[69,{}],SVGGeometry:[67,{}],SVGCircle:[73,{cx:1,cy:1,r:1}],SVGClipPath:[67,{clipPathUnits:1}],SVGDefs:[67,{}],SVGDesc:[66,{}],SVGDiscard:[66,{}],SVGEllipse:[73,{cx:1,cy:1,rx:1,ry:1}],SVGFEBlend:[66,{mode:1,x:1,y:1,width:1,height:1}],SVGFEColorMatrix:[66,{type:1,values:1,x:1,y:1,width:1,height:1}],SVGFEComponentTransfer:[66,{x:1,y:1,width:1,height:1}],SVGFEComposite:[66,{operator:1,x:1,y:1,width:1,height:1}],SVGFEConvolveMatrix:[66,{orderX:1,orderY:1,kernelMatrix:1,divisor:1,edgeMode:1,x:1,y:1,width:1,height:1}],SVGFEDiffuseLighting:[66,{surfaceScale:1,diffuseConstant:1,x:1,y:1,width:1,height:1}],SVGFEDisplacementMap:[66,{xChannelSelector:1,yChannelSelector:1,x:1,y:1,width:1,height:1}],SVGFEDistantLight:[66,{}],SVGFEDropShadow:[66,{dx:1,dy:1,stdDeviationX:1,stdDeviationY:1,x:1,y:1,width:1,height:1}],SVGFEFlood:[66,{x:1,y:1,width:1,height:1}],SVGComponentTransferFunction:[66,{type:1,tableValues:1,slope:1,amplitude:1,exponent:1}],SVGFEFuncA:[90,{}],SVGFEFuncB:[90,{}],SVGFEFuncG:[90,{}],SVGFEFuncR:[90,{}],SVGFEGaussianBlur:[66,{x:1,y:1,width:1,height:1}],SVGFEImage:[66,{preserveAspectRatio:1,x:1,y:1,width:1,height:1}],SVGFEMerge:[66,{x:1,y:1,width:1,height:1}],SVGFEMergeNode:[66,{}],SVGFEMorphology:[66,{operator:1,x:1,y:1,width:1,height:1}],SVGFEOffset:[66,{x:1,y:1,width:1,height:1}],SVGFEPointLight:[66,{}],SVGFESpecularLighting:[66,{surfaceScale:1,specularConstant:1,specularExponent:1,x:1,y:1,width:1,height:1}],SVGFESpotLight:[66,{specularExponent:1}],SVGFETile:[66,{x:1,y:1,width:1,height:1}],SVGFETurbulence:[66,{numOctaves:1,stitchTiles:1,type:1,x:1,y:1,width:1,height:1}],SVGFilter:[66,{filterUnits:1,primitiveUnits:1,x:1,y:1,width:1,height:1}],SVGForeignObject:[67,{x:1,y:1,width:1,height:1}],SVGG:[67,{}],SVGImage:[67,{x:1,y:1,width:1,height:1,preserveAspectRatio:1}],SVGLine:[73,{x1:1,y1:1,x2:1,y2:1}],SVGGradient:[66,{gradientUnits:1,gradientTransform:1,spreadMethod:1}],SVGLinearGradient:[111,{x1:1,y1:1,x2:1,y2:1}],SVGMarker:[66,{refX:1,refY:1,markerUnits:1,markerWidth:1,markerHeight:1,orientType:1,orientAngle:1,viewBox:1,preserveAspectRatio:1}],SVGMask:[66,{maskUnits:1,maskContentUnits:1,x:1,y:1,width:1,height:1}],SVGMetadata:[66,{}],SVGMPath:[66,{}],SVGPath:[73,{}],SVGPattern:[66,{patternUnits:1,patternContentUnits:1,patternTransform:1,x:1,y:1,width:1,height:1,viewBox:1,preserveAspectRatio:1}],SVGPolygon:[73,{}],SVGPolyline:[73,{}],SVGRadialGradient:[111,{cx:1,cy:1,r:1,fx:1,fy:1,fr:1}],SVGRect:[73,{x:1,y:1,width:1,height:1,rx:1,ry:1}],SVGScript:[66,{}],SVGSet:[69,{}],SVGStop:[66,{}],SVGStyle:[66,{}],SVGSVG:[67,{x:1,y:1,width:1,height:1,viewBox:1,preserveAspectRatio:1}],SVGSwitch:[67,{}],SVGSymbol:[66,{viewBox:1,preserveAspectRatio:1}],SVGTextContent:[67,{textLength:1,lengthAdjust:1}],SVGTextPositioning:[130,{x:1,y:1,dx:1,dy:1,rotate:1}],SVGText:[131,{}],SVGTextPath:[130,{startOffset:1,method:1,spacing:1}],SVGTitle:[66,{}],SVGTSpan:[131,{}],SVGUse:[67,{x:1,y:1,width:1,height:1}],SVGView:[66,{viewBox:1,preserveAspectRatio:1}]},Pi={a:2,abbr:1,address:1,area:3,article:1,aside:1,audio:5,b:1,base:6,bdi:1,bdo:1,blockquote:7,body:8,br:9,button:10,canvas:11,caption:12,cite:1,code:1,col:13,colgroup:13,data:14,datalist:15,dd:1,del:16,details:17,dfn:1,dialog:18,div:19,dl:20,dt:1,em:1,embed:21,fieldset:22,figcaption:1,figure:1,footer:1,form:23,h1:24,h2:24,h3:24,h4:24,h5:24,h6:24,head:25,header:1,hgroup:1,hr:26,html:27,i:1,iframe:28,img:29,input:30,ins:16,kbd:1,label:31,legend:32,li:33,link:34,main:1,map:35,mark:1,menu:36,meta:37,meter:38,nav:1,noscript:1,object:39,ol:40,optgroup:41,option:42,output:43,p:44,param:45,picture:46,pre:47,progress:48,q:7,rp:1,rt:1,ruby:1,s:1,samp:1,script:49,section:1,select:50,slot:51,small:1,source:52,span:53,strike:1,strong:1,style:54,sub:1,summary:1,sup:1,table:55,tbody:56,td:57,template:58,textarea:59,tfoot:56,th:57,thead:56,time:60,title:61,tr:62,track:63,u:1,ul:64,var:1,video:65,wbr:1,svg_a:68,svg_animate:70,svg_animateMotion:71,svg_animateTransform:72,svg_audio:66,svg_canvas:66,svg_circle:74,svg_clipPath:75,svg_defs:76,svg_desc:77,svg_discard:78,svg_ellipse:79,svg_feBlend:80,svg_feColorMatrix:81,svg_feComponentTransfer:82,svg_feComposite:83,svg_feConvolveMatrix:84,svg_feDiffuseLighting:85,svg_feDisplacementMap:86,svg_feDistantLight:87,svg_feDropShadow:88,svg_feFlood:89,svg_feFuncA:91,svg_feFuncB:92,svg_feFuncG:93,svg_feFuncR:94,svg_feGaussianBlur:95,svg_feImage:96,svg_feMerge:97,svg_feMergeNode:98,svg_feMorphology:99,svg_feOffset:100,svg_fePointLight:101,svg_feSpecularLighting:102,svg_feSpotLight:103,svg_feTile:104,svg_feTurbulence:105,svg_filter:106,svg_foreignObject:107,svg_g:108,svg_iframe:66,svg_image:109,svg_line:110,svg_linearGradient:112,svg_marker:113,svg_mask:114,svg_metadata:115,svg_mpath:116,svg_path:117,svg_pattern:118,svg_polygon:119,svg_polyline:120,svg_radialGradient:121,svg_rect:122,svg_script:123,svg_set:124,svg_stop:125,svg_style:126,svg_svg:127,svg_switch:128,svg_symbol:129,svg_text:132,svg_textPath:133,svg_title:134,svg_tspan:135,svg_unknown:66,svg_use:136,svg_video:66,svg_view:137},Io=Object.keys(jn);for(let e=0,t=Ud(Io),s=t.length,r;e<s;e++){r=t[e];let i=jn[r];i.up=jn[Io[i[0]]],i.name=r+"Element"}for(let e,t=0,s=Object.keys(Pi),r=s.length,i;t<r;t++)i=s[t],e=Pi[i],Pi[i]=jn[Io[e]];function Wh(e,t){for(var s=0,r=e.length-1;r>=0;r--){var i=e[r];i==="."?e.splice(r,1):i===".."?(e.splice(r,1),s++):s&&(e.splice(r,1),s--)}if(t)for(;s--;s)e.unshift("..");return e}var Jd=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Lo=function(e){return Jd.exec(e).slice(1)};function qa(){for(var e="",t=!1,s=arguments.length-1;s>=-1&&!t;s--){var r=s>=0?arguments[s]:"/";if(typeof r!="string")throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t=r.charAt(0)==="/")}return e=Wh(Oo(e.split("/"),function(i){return!!i}),!t).join("/"),(t?"/":"")+e||"."}function Xh(e){var t=Jh(e),s=sf(e,-1)==="/";return e=Wh(Oo(e.split("/"),function(r){return!!r}),!t).join("/"),!e&&!t&&(e="."),e&&s&&(e+="/"),(t?"/":"")+e}function Jh(e){return e.charAt(0)==="/"}function Zd(){var e=Array.prototype.slice.call(arguments,0);return Xh(Oo(e,function(t,s){if(typeof t!="string")throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))}function Ro(e,t){e=qa(e).substr(1),t=qa(t).substr(1);function s(p){for(var c=0;c<p.length&&p[c]==="";c++);for(var d=p.length-1;d>=0&&p[d]==="";d--);return c>d?[]:p.slice(c,d-c+1)}for(var r=s(e.split("/")),i=s(t.split("/")),n=Math.min(r.length,i.length),a=n,o=0;o<n;o++)if(r[o]!==i[o]){a=o;break}for(var l=[],o=a;o<r.length;o++)l.push("..");return l=l.concat(i.slice(a)),l.join("/")}var Zh="/",Qd=":";function $o(e){var t=Lo(e),s=t[0],r=t[1];return!s&&!r?".":(r&&(r=r.substr(0,r.length-1)),s+r)}function Co(e,t){var s=Lo(e)[2];return t&&s.substr(-1*t.length)===t&&(s=s.substr(0,s.length-t.length)),s}function ef(e){return Lo(e)[3]}var tf={extname:ef,basename:Co,dirname:$o,sep:Zh,delimiter:Qd,relative:Ro,join:Zd,isAbsolute:Jh,normalize:Xh,resolve:qa};function Oo(e,t){if(e.filter)return e.filter(t);for(var s=[],r=0;r<e.length;r++)t(e[r],r,e)&&s.push(e[r]);return s}var sf="ab".substr(-1)==="b"?function(e,t,s){return e.substr(t,s)}:function(e,t,s){return t<0&&(t=e.length+t),e.substr(t,s)},dr=class{static strip(e){return e.indexOf("/*%")<0?e:e.replace(/\/\*\%([\w\|]*)\$\*\//g,"")}static run(e,t={}){return e.indexOf("/*%")<0?{code:e,map:null,toString(){return this.code}}:{code:e.replace(/\/\*\%([\w\|]*)\$\*\//g,""),map:null,toString(){return this.code}}}},Qh=Symbol.for("#lineOffsets"),Do={TOKENIZE:1,REWRITE:2,PARSE:4,TRAVERSE:8,COMPILE:16},Ys=class ga{static current;static error(t){var s,r;return(r=(s=this.current)==null?void 0:s.addDiagnostic)==null?void 0:r.call(s,"error",t)}static warn(t){var s,r;return(r=(s=this.current)==null?void 0:s.addDiagnostic)==null?void 0:r.call(s,"warning",t)}static info(t){var s,r;return(r=(s=this.current)==null?void 0:s.addDiagnostic)==null?void 0:r.call(s,"info",t)}static deserialize(t,s={}){return new ga("",s).deserialize(t)}constructor(t,s){this.sourceCode=t,this.sourcePath=s.sourcePath,this.options=s,this.flags=0,this.js="",this.css="",this.result={},this.diagnostics=[],this.tokens=null,this.ast=null}step(t){return(this.flags&t)==t?!1:(this.flags|=t,!0)}deserialize(t){let s;try{s=JSON.parse(t)}catch(r){throw console.log("failed",t,this.options),r}return this.rawResult=s,this.deserialized=s,this}serialize(){if(this.rawResult)return JSON.stringify(this.rawResult,null,2)}tokenize(){if(this.step(Do.TOKENIZE))try{ga.current=this,this.lexer.reset(),this.tokens=this.lexer.tokenize(this.sourceCode,this.options,this),this.tokens=this.rewriter.rewrite(this.tokens,this.options,this)}catch{}return this.tokens}parse(){if(this.tokenize(),this.step(Do.PARSE)&&!this.errored){ga.current=this;try{this.ast=this.parser.parse(this.tokens,this)}catch{}}return this}compile(){if(this.parse(),this.step(Do.COMPILE)){if(!this.errored){ga.current=this;try{this.result=this.ast.compile(this.options,this)}catch(t){let s=t._loc;s&&s[0]>=0&&s[1]>=s[0]||(s=[0,0]);let r=t.error||t;this.addDiagnostic("error",{message:"Internal compiler error: "+(r.message||r),source:"imba-compiler",range:this.rangeAt(s[0],s[1])}),console.error("[imba] internal compiler error in "+(this.sourcePath||"<unknown>")+`
`+(r.stack||r))}}this.options.raiseErrors&&this.raiseErrors()}return this}recompile(t={}){if(this.deserialized){let s=this.deserialized.js,r={};return r.js=dr.run(s,t),r.css=dr.run(this.deserialized.css||"",t),t.styles=="import"&&r.css.code&&(r.js.code+=`
import './`+tf.basename(this.sourcePath)+".css'"),r}return{js:this.js}}addDiagnostic(t,s){s.severity||(s.severity=t);let r=new Bh(s,this);return this.diagnostics.push(r),r}get tsc(){return this.options.tsc||this.options.platform==="tsc"}get errored(){return this.errors.length>0}get errors(){return this.diagnostics.filter(t=>t.severity==Fn.Error)}get warnings(){return this.diagnostics.filter(t=>t.severity==Fn.Warning)}get info(){return this.diagnostics.filter(t=>t.severity==Fn.Information)}get doc(){return this}get lineOffsets(){return this[Qh]||(this[Qh]=Fh(this.sourceCode,!0,0))}getLineText(t){let s=this.lineOffsets[t],r=this.lineOffsets[t+1];return this.sourceCode.substring(s,r).replace(/[\r\n]/g,"")}positionAt(t){if(t instanceof za)return t;typeof t=="object"&&(t=t.offset),t=Math.max(Math.min(t,this.sourceCode.length),0);let s=this.lineOffsets,r=0,i=s.length;if(i===0)return new za(0,t,t);for(;r<i;){let a=Math.floor((r+i)/2);s[a]>t?i=a:r=a+1}let n=r-1;return new za(n,t-s[n],t)}offsetAt(t){if(t.offset!==void 0)return t.offset;let s=this.lineOffsets;if(t.line>=s.length)return this.sourceCode.length;if(t.line<0)return 0;let r=s[t.line],i=t.line+1<s.length?s[t.line+1]:this.sourceCode.length;return t.offset=Math.max(Math.min(r+t.character,i),r)}rangeAt(t,s){return new jh(this.positionAt(t),this.positionAt(s))}toString(){return this.js}raiseErrors(){if(this.errors.length)throw this.errors[0].toError();return this}};function ec(e,t){for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=Object.create(t.prototype),e.__super__=e.prototype.__super__=t.prototype,e.prototype.initialize=e.prototype.constructor=e}var tc=new WeakMap;function Vt(e,t){var s;this.error=e,this._options=t||{},this.severity=this._options.severity||"error";let r=e.message;(s=r.match(/Unexpected '([\w\-]+)'/))&&s[1]=="TERMINATOR"&&(r="Unexpected newline"),this.message=r,this.sourcePath=e.sourcePath,this.line=e.line}ec(Vt,Error),Vt.wrap=function(e){return new this(e)},Object.defineProperty(Vt.prototype,"_options",{get:function(){return tc.get(this)},configurable:!0}),Object.defineProperty(Vt.prototype,"_options",{set:function(e){return tc.set(this,e)},configurable:!0}),Vt.prototype.set=function(e){this._options||(this._options={});for(let t,s=0,r=Object.keys(e),i=r.length,n;s<i;s++)n=r[s],t=e[n],this._options[n]=t;return this},Vt.prototype.start=function(){for(var e=this._options,t=e.pos-1,s=e.tokens&&e.tokens[t];s&&(s._loc==-1||s._loc==0||s._len==0);)s=e.tokens[--t];return s},Object.defineProperty(Vt.prototype,"token",{get:function(){if(this._token)return this._token;for(var e=this._options,t=e.pos-1,s=e.tokens&&e.tokens[t];s&&(s._loc==-1||s._loc==0||s._len==0);)s=e.tokens[--t];return this._token=s},configurable:!0}),Vt.prototype.desc=function(){var e=this._options;let t=this.message;return e.token&&e.token._loc==-1?"Syntax Error":t},Vt.prototype.loc=function(){var e;return this._loc||(e=this.start())&&e.region&&e.region()},Vt.prototype.toJSON=function(){var e=this._options,t=this.start();return{warn:!0,message:this.desc(),loc:this.loc()}},Vt.prototype.toNativeError=function(){let e=new SyntaxError("hello");return e.fileName=this._sourcePath,e.message=this.message,e.stack=this.excerpt({colors:!1,details:!0}),e.lineNumber=this.lineNumber,e.columnNumber=this.columnNumber,e},Vt.prototype.excerpt=function(e){(!e||e.constructor!==Object)&&(e={});var t=e.gutter!==void 0?e.gutter:!0,s=e.colors!==void 0?e.colors:!1,r=e.details!==void 0?e.details:!0;try{var i=this._code,n=this.loc(),a=i.split(/\n/g),o=Ao(i),l=o[n[0]]||[0,0],p=l[0],c=l[1],d=a[p];this.lineNumber=p+1,this.columnNumber=c;var v=Math.max(0,p-2),f=Math.min(v+5,a.length);let b=p-v;var g=v,y=function(m){return m};if(s){let m=this.severity=="warn"?"yellow":"red";(typeof s=="string"||s instanceof String)&&(m=s),y=function(C){return pr[m](pr.bold(C))}}for(var T=[];g<f;)T.push(d=a[g++]);var _=T;return t&&(_=_.map(function(m,C){let k=""+(v+C+1);for(;k.length<String(f).length;)k=" "+k;return C==b?"   -> "+k+" | "+m:"      "+k+" | "+m})),_[b]=y(_[b]),r&&_.unshift(y(this.message)),_.join(`
`)+`
`}catch{return""}},Vt.prototype.prettyMessage=function(){var e;return e=this.excerpt()};function Fi(){return Vt.apply(this,arguments)}ec(Fi,Vt),Fi.prototype.loc=function(){return this._loc},Fi.prototype.excerpt=function(){var e=Fi.prototype.__super__.excerpt.apply(this,arguments);return e+`
---
`+this.error.stack};function rf(e){return e&&(e.len instanceof Function?e.len():e.length)||0}function $r(e){return e?e.toArray?e.toArray():e:[]}function Et(e){var t=Object.create(null);for(let s=0,r=$r(e),i=r.length;s<i;s++)t[r[s]]=1;return t}function nf(e,t){for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=Object.create(t.prototype),e.__super__=e.prototype.__super__=t.prototype,e.prototype.initialize=e.prototype.constructor=e}var Wr=tt,af=["true","false","null","this","delete","typeof","in","instanceof","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","return","yield"],sc={",":1,"\n":1,")":1,"]":1,"}":1,">":1," ":1},rc=/\w|\]|\)$/,ic={LET:{global:1,declare:1,static:1},CONST:{global:1,declare:1,static:1},VAR:{global:1,declare:1,static:1},CLASS:{global:1,declare:1,static:1,extend:1,strict:1,abstract:1,mixin:1},MIXIN:{global:1,declare:1,extend:1,strict:1,abstract:1},INTERFACE:{global:1,declare:1,extend:1,strict:1,mixin:1},TAG:{global:1,declare:1,local:1,extend:1,strict:1,abstract:1},DEF:{global:1,declare:1,protected:1},PROP:{static:1},ATTR:{static:1},CSS:{global:1,export:1}},of={DEF:1,PROP:1,ATTR:1},nc=["true","false","null","this","self","delete","typeof","in","instanceof","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","return","undefined","then","unless","until","loop","of","by","when","def","tag","do","elif","begin","var","let","const","await","import","and","or","is","isnt","not","yes","no","isa","case","nil","module","export","static","extend","yield"],lf=Et(nc),ac=Et(nc.concat(["mixin","guard","alter","watch","css","interface","attr","prop","get","set","constructor","declare"])),hf=Et(["default","type","from","as","new","arguments"]),cf=["case","default","function","void","with","const","enum","native"],Q4=af.concat(cf),uf=/^((\$|##|#|@@|@|\%)[\$\wA-Za-z_\-\x7f-\uffff][$\w\x7f-\uffff]*(\-[$\w\x7f-\uffff]+)*[\?]?|[$A-Za-z_][$\w\x7f-\uffff]*(\-[$\w\x7f-\uffff]+)*[\?]?)([^\n\S]*:)?/,pf=/^import\s+(\{?[^\"\'\}]+\}?)(?=\s+from\s+)/,df=/^(\<)(?=[A-Za-z\#\.\%\$\[\{\@\>\(])/,oc=/^(\w[\w\d]*:)?(\w[\w\d]*)(-[\w\d]+)*/,ff=/^#((\w[\w\d]*)(-[\w\d]+)*)/,_f=/^([%\$]{1,2})([\(])/,mf=/^\:((([\*\@$\w\x7f-\uffff]+)+([\-\\\:][\w\x7f-\uffff]+)*)|==|\<=\>)/,gf=/^\#[\w\-]+/,yf=/^(\-?\d*\.?\d+)([A-Za-z]+|\%)?(?![\d\w])/,vf=/^[\w\-\$]*\w[\w\-\$]*/,bf=/^url\(([^\)]*)\)/,Mo=function(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122||e==95},xf=function(e){return Mo(e)||e==45||e==36||e==64||e==46||e==33||e==35||e==94},wf=function(e){return e>=9&&e<=13||e==32||e==160||e==5760||e==65279||e==8232||e==8233||e==8239||e==8287||e==12288||e>=8192&&e<=8202},lc=function(e,t){t===void 0&&(t=0);for(var s=t,r=e.length;s<r&&xf(e.charCodeAt(s));)s++;if(s==t)return 0;if(e.charCodeAt(s)==58&&e.charCodeAt(s+1)!=58)return s-t;for(var i=s;i<r&&wf(e.charCodeAt(i));)i++;return e.charCodeAt(i)==61?s-t:0},Sf=function(e,t){var s=t.charCodeAt(0);if(Mo(s)||s==94||s==37||s==42||s==38||s==36||s==62||s==47||s==46||s==91||s==64||s==33)return!0;if(s==35){let r=e.charCodeAt(1);return Mo(r)||r==45}return s==58&&e.charCodeAt(1)==58},Tf=/^0x[\da-f_]+|^0b[01_]+|^0o[\d_]+|^[\-]?(?:\d[_\d]*)\.?\d[_\d]*(?:e[+-]?\d+)?|^[\-]?\d*\.?\d+(?:e[+-]?\d+)?/i,kf=/^("""|''')([\s\S]*?)(?:\n[^\n\S]*)?\1/,Ef=/^(?:[-=]=>|!&(?=[\s\n])|[&|~^]?=\?|[&|~^]=|\?\?=|===|---|->|=>|\/>|!==|\*\*=?|[-+*\/%<>&|^!?=]=|=<|>>>=?|([-+:])\1|([&|<>])\2=?|\?\.|\?\?|\.{2,3}|\*(?=[a-zA-Z\_]))/,Po=/^[^\n\S]+/,Af=/^###([^#][\s\S]*?)(?:###[^\n\S]*|(?:###)?$)/,Nf=/^\/\*([\s\S]*?)\*\//,hc=/^(\s*)((#[ \t\!]|\/\/(?!\/))(.*)|#[ \t]?(?=\n|$))+/,If=/^[-=]=>/,Lf=/^(?:\n[^\n\S]*)+/,Rf=/^'[^\\']*(?:\\.[^\\']*)*'/,cc=/^(\/(?![\s=])[^[\/\n\\]*(?:(?:\\[\s\S]|\[[^\]\n\\]*(?:\\[\s\S][^\]\n\\]*)*])[^[\/\n\\]*)*\/)([a-z]{0,8})(?!\w)/,uc=/^\/{3}([\s\S]+?)\/{3}([a-z]{0,8})(?!\w)/,pc=/\n/g,$f=/\n+([^\n\S]*)/g,Cf=/\*\//,Of=/^\s*(?:,|\??\.(?![.\d])|(?:&&|\|\||and|or)[\n\s])/,Df=/^\$\w+\$/,Mf=/^\$\d$/,Pf=["-=","+=","/=","*=","%=","||=","&&=","?=","??=","<<=",">>=",">>>=","&=","^=","|=","~=","=<","**=","=?","~=?","|=?","&=?","^=?"],Ff=Et(Pf),jf=["!","~","NEW","TYPEOF","DELETE"],dc=Et(jf),Gf=["&&","||","??","and","or"],Bf=Et(Gf),Vf=["<<",">>",">>>"],Hf=Et(Vf),zf=["===","!==","==","!=","<",">","<=",">=","===","!==","&","|","^","!&"],Uf=Et(zf),Yf=["*","/","%","\u222A","\u2229","\u221A"],qf=Et(Yf),Kf=["IN","OF","INSTANCEOF","ISA"],Wf=Et(Kf),Xf=["NUMBER","REGEX","BOOL","TRUE","FALSE","++","--","]"],Jf=Et(Xf),Zf=["NUMBER","REGEX","BOOL","TRUE","FALSE","++","--","]",")","}","THIS","SELF","IDENTIFIER","STRING"],Qf=Et(Zf),e5=["\\",".","UNARY","MATH","EXP","+","-","SHIFT","RELATION","COMPARE","THROW","EXTENDS"],t5=Et(e5),s5=["IDENTIFIER","SYMBOLID","STRING","REGEX",")","]","INDEX_END","THIS","SUPER","TAG_END","IVAR","SELF","NEW","ARGVAR","SYMBOL","RETURN","INDEX_END","CALL_END","DECORATOR","@","GENERICS"],r5=Et(s5),i5=["IDENTIFIER","SYMBOLID","STRING","REGEX",")","]","THIS","SUPER","TAG_END","IVAR","SELF","NEW","ARGVAR","SYMBOL","RETURN","BANG","NUMBER","BOOL","TAG_SELECTOR","ARGUMENTS","}","TAG_TYPE","TAG_REF","INDEX_END","CALL_END","DO_VALUE"],n5=Et(i5),a5=["INDENT","OUTDENT","TERMINATOR"],fc=Et(a5),_c=Et(["INDENT","TERMINATOR","DECORATOR"]),o5=Et(["INDENT","OUTDENT","TERMINATOR","EXPORT","DEFAULT","DECLARE","GLOBAL","LOCAL","EXTEND","ABSTRACT","STRICT","DECORATOR"]),l5=Et(["global","declare","local","extend","abstract","strict"]),h5=Et(["IDENTIFIER",")","}","]","NUMBER"]),c5=Et(["(","[","="]),u5=Et([",","(","[","{","|",`
`,"	"]),p5=Et(["COMPARE",".","(","["]);function d5(e,t,s){return this.message=e,this.file=t,this.line=s,this}nf(d5,SyntaxError);var bs=function(e,t){return t===void 0&&(t=0),e[e.length-t-1]},f5=function(e){var t=0;for(let s=0,r=e.length;s<r;s++)e.charCodeAt(s)==10&&t++;return t},_5=function(e,t){for(var s="";t>0;)t%2==1&&(s+=e),e+=e,t>>=1;return s},nr=Pd,ji=Fd,ar=Vh,Ka=jd;function De(){this.reset()}De.prototype.reset=function(){return this._code=null,this._chunk=null,this._opts=null,this._state={},this._indent=0,this._indebt=0,this._outdebt=0,this._indents=[],this._ends=[],this._contexts=[],this._scopes=[],this._nextScope=null,this._context=null,this._indentStyle="	",this._inTag=!1,this._inStyle=0,this._tokens=[],this._seenFor=!1,this._seenLoop=!1,this._loopEnds=0,this._loc=0,this._locOffset=0,this._end=null,this._char=null,this._bridge=null,this._last=null,this._lastTyp="",this._lastVal=null,this._script=null,this},De.prototype.jisonBridge=function(e){return this._bridge={lex:Md,setInput:function(t){return this.tokens=t,this.pos=0},upcomingInput:function(){return""}}},De.prototype.tokenize=function(e,t,s){var r;if(s===void 0&&(s=null),e.length==0)return[];if(!t.inline){if(Po.test(e)&&(e=`
`+e,e.match(/^\s*$/g)))return[];e.indexOf("\r")>=0&&(e=e.replace(/\r/g,""));let i=e.charCodeAt(e.length-1);(i==9||i==32)&&(e=e.replace(/[\t ]+$/g,""))}if(this._last=null,this._lastTyp=null,this._lastVal=null,this._script=s,this._code=e,this._opts=t,this._locOffset=t.loc||0,this._platform=t.platform||t.target,this._indentStyle="	",(r=e.match(/^([\ \t]*)[^\n\s\t]/))&&(this._state.gutter=r[1]),t.gutter!==void 0&&(this._state.gutter=t.gutter),this._script&&!t.inline&&(this._script.tokens=this._tokens),this.parse(e),t.inline||this.closeIndentation(),this._ends.length&&this.unclosedError("end of file"),this._platform=="tsc")for(let i=0,n=$r(this._tokens),a=n.length,o;i<a;i++)o=n[i],o._type=="SYMBOLID"&&(o._type="IDENTIFIER");return this._tokens},De.prototype.parse=function(e){var t=0,s=0;for(this._loc=this._locOffset+t;this._chunk=e.slice(t);){let r=this._context;r&&r.pop&&r.pop.test(this._chunk)&&this.popEnd(),s=r&&r.lexer&&r.lexer.call(this)||this._end=="TAG"&&this.tagDefContextToken()||this._inTag&&this.tagContextToken()||this._inStyle2&&this.lexStyleBody()||this.basicContext(),t+=s,this._loc=this._locOffset+t}},De.prototype.basicContext=function(){var e=this._chunk.charAt(0);if(this._end=="%")return this.selectorToken()||this.symbolToken()||this.identifierToken()||this.whitespaceToken()||this.lineToken()||this.commentToken()||this.heredocToken()||this.tagToken()||this.stringToken()||this.numberToken()||this.regexToken()||this.literalToken()||0;switch(e){case" ":case"	":return this.whitespaceToken()||this.commentToken()||this.literalToken()||0;case`
`:return this.whitespaceToken()||this.lineToken()||this.commentToken()||this.literalToken()||0;case"$":case"%":return this.selectorToken()||this.identifierToken()||this.literalToken()||0;case"#":return this.identifierToken()||this.commentToken()||this.literalToken()||0;case"@":return this.identifierToken()||this.literalToken()||0;case":":return this.symbolToken()||this.literalToken()||0;case'"':case"'":return this.heredocToken()||this.stringToken()||this.literalToken()||0;case"`":return this.stringToken()||this.literalToken()||0;case"/":return this.commentToken()||this.regexToken()||this.literalToken()||0;case"<":return this.tagToken()||this.literalToken()||0;case".":case"-":return this.numberToken()||this.literalToken()||0}var t=e.charCodeAt(0);return(t>127||t==11||t==12||t==13)&&Po.test(this._chunk)?this.whitespaceToken()||this.commentToken()||this.literalToken()||0:t>=65&&t<=90||t>=97&&t<=122||e=="_"?this.identifierToken()||this.literalToken()||0:t>=48&&t<=57?this.numberToken()||this.literalToken()||0:this.literalToken()||0},De.prototype.prevChars=function(e){return e===void 0&&(e=1),e==1?this._code[this._loc-1]:this._code.slice(this._loc-e,this._loc)},De.prototype.moveCaret=function(e){return this._loc+=e},De.prototype.context=function(){return this._ends[this._ends.length-1]},De.prototype.inContext=function(e){var t=this._contexts[this._contexts.length-1];return t&&t[e]},De.prototype.pushEnd=function(e,t){let s=this._context;return this._ends.push(e),this._contexts.push(this._context=t||{}),this._end=e,this.refreshScope(),t&&(t.closeType=="STYLE_END"||t.style)&&(t.lexer=this.lexStyleBody,t.style=!0,this._inStyle++),s&&s.style&&e!="}"&&(t.lexer=this.lexStyleBody,t.style=!0),t&&t.id&&(t.start=new Wr(t.id+"_START",e,this._last.region()[1],0),this._tokens.push(t.start)),this},De.prototype.popEnd=function(e){var t=this._ends.pop();this._end=this._ends[this._ends.length-1];var s=this._context;return s&&s.start&&(s.end=new Wr(s.closeType||s.id+"_END",t,this._last.region()[1],0),s.end._start=s.start,s.start._end=s.end,this._tokens.push(s.end)),s&&(s.closeType=="STYLE_END"||s.style)&&this._inStyle--,this._contexts.pop(),this._context=this._contexts[this._contexts.length-1],this.refreshScope(),[t,s]},De.prototype.refreshScope=function(){var e=this._ends[this._ends.length-1],t=this._ends[this._ends.length-2];return this._inTag=e=="TAG_END"||t=="TAG_END"&&e=="OUTDENT"},De.prototype.queueScope=function(e){return this._scopes[this._indents.length]=e,this},De.prototype.popScope=function(e){return this._scopes.pop(),this},De.prototype.getScope=function(){return this._scopes[this._indents.length-1]},De.prototype.scope=function(e,t){var s=this._ends.push(this._end=e);return this._contexts.push(t||null),e},De.prototype.closeSelector=function(){if(this._end=="%")return this.token("SELECTOR_END","%",0),this.pair("%")},De.prototype.openDef=function(){return this.pushEnd("DEF")},De.prototype.closeDef=function(){if(this.context()=="DEF"){var e=bs(this._tokens);if(nr(e)=="TERMINATOR"){let t=this._tokens.pop();this.token("DEF_BODY","DEF_BODY",0),this._tokens.push(t)}else this.token("DEF_BODY","DEF_BODY",0);this.pair("DEF")}},De.prototype.tagContextToken=function(){let e=this._chunk[0],t=this._chunk[1],s=/^([A-Za-z\_\-\$\%\#][\w\-\$]*(\:[A-Za-z\_\-\$]+)*)/.exec(this._chunk);if(s){let r=s[1],i="TAG_LITERAL",n=s[0].length;return r=="self"&&this._lastVal=="<"&&(i="SELF"),e=="$"&&(this._lastTyp=="TAG_TYPE"||this._lastTyp=="TAG_START")&&(i="TAG_REF"),e=="%"&&(i="CSS_MIXIN"),e=="#"&&(i="TAG_SYMBOL_ID",r.length==1)?0:(this.token(i,r,n),n)}if(e=="/"&&t==">")return this.token("TAG_END","/>",2),this.pair("TAG_END"),2;if(e=="%"||e==":"||e=="."||e=="@")return this.token("T"+e,e,1),e=="."&&(!t||sc[t])&&this._platform=="tsc"&&this.token("TAG_LITERAL","$CARET$",0,1),1;if(e==" "||e==`
`||e=="	"){let r=/^[\n\s\t]+/.exec(this._chunk);return this.token("TAG_WS",r[0],r[0].length),r[0].length}else if(e=="="&&this._chunk[1]!=">")return this.token("=","=",1),this.pushEnd("TAG_ATTR",{id:"VALUE",pop:/^([\s\n\>]|\/\>)/}),1;return 0},De.prototype.tagDefContextToken=function(){var e;if(e=oc.exec(this._chunk))return this.token("TAG_TYPE",e[0],e[0].length),e[0].length;if(e=ff.exec(this._chunk)){var t=e[0];return this.token("TAG_ID",t,t.length),t.length}return this._chunk[0]==`
`&&this.pair("TAG"),0},De.prototype.findTypeAnnotation=function(e,t){t===void 0&&(t=!1);for(var s=[],r=0,i=[],n=/[\=\n\ \t\.\,\:\+]/;r<e.length;){var a=e.charAt(r);let o=s[0],l=o=='"'||o=="'";if(a&&a==o){if(s.shift(),t&&s.length==0){r++;break}}else{if(!o&&(a==")"||a=="]"||a=="}"||a==">"))break;if(a=="(")s.unshift(")");else if(a=="[")s.unshift("]");else if(a=="{")s.unshift("}");else if(a=="<")s.unshift(">");else if(a=='"')s.unshift('"');else if(a=="'")s.unshift("'");else if(!o&&n.test(a))break}r++}return r==0?null:e.slice(0,r)},De.prototype.findBalancedSelector=function(e){for(var t=[],s=0,r=[];s<e.length-1;){var i=e.charAt(s);let a=t[0],o=a=='"'||a=="'";if(i&&i==a)t.shift();else if(!o&&(i==")"||i=="]"||i=="}")){console.log("out of balance!!");break}else i=="/"?r.unshift([s,1,":"]):i=="("&&!o?t.unshift(")"):i=="["&&!o?t.unshift("]"):i=='"'?t.unshift('"'):i=="'"&&t.unshift("'");if(!a&&(i=="="||i==`
`||i=="{"))break;if(!a&&i==" "){if(lc(e,s+1))break;let l=e.slice(s+1);if(hc.exec(l))break}s++}if(s==0)return null;let n=e.slice(0,s);if(r.length){n=n.split("");for(let a=0,o=r.length;a<o;a++)n.splice.apply(n,r[a]);n=n.join("")}return n},De.prototype.lexStyleRule=function(e,t){e===void 0&&(e=0),t===void 0&&(t=!1);let s=e?this._chunk.slice(e):this._chunk,r=this.findBalancedSelector(s);if(r||t){let i=r?r.length:0;this.token("CSS_SEL",r||"",i,e);let n=this._last;return s[i]=="="&&i++,this._indents.push(1),this._outdebt=this._indebt=0,this.token("INDENT","1",0,1),this.pushEnd("OUTDENT",{lexer:this.lexStyleBody,opener:n,style:!0}),this._indent++,i}return 0},De.prototype.lexStyleBody=function(){if(this._end=="%")return 0;let e=this._chunk[0];var t;let s=lc(this._chunk),r=this._lastTyp;if(!s&&(r=="TERMINATOR"||r=="INDENT")&&Sf(this._chunk,e)&&this.findBalancedSelector(this._chunk))return this.lexStyleRule(0);if(s)return this.token("CSSPROP",this._chunk.slice(0,s),s),s;if(e[0]=="#"&&(t=gf.exec(this._chunk))){let i=this._chunk[t[0].length]=="("?"COLORMIX":"COLOR";return this.token(i,t[0],t[0].length),t[0].length}if(e=="/"&&!this._last.spaced)return this.token("/",e,1),1;if(t=yf.exec(this._chunk)){let i=t[0].length,n="NUMBER";return t[2]=="%"?n="PERCENTAGE":t[2]&&(n="DIMENSION"),this._lastTyp=="COMPARE"&&this._last.spaced,this.token(n,t[0],i),i}else if(t=bf.exec(this._chunk)){let i=t[0].length;return this.token("CSSURL",t[0],i),t[0].length}else if(t=vf.exec(this._chunk)){let i="CSSIDENTIFIER",n=t[0],a=n.length;return n[0]=="-"&&n[1]=="-"?i="CSSVAR":this._last&&!this._last.spaced&&(r=="}"||r==")")&&(i="CSSUNIT"),this._chunk[a]=="("&&(i="CSSFUNCTION"),this.token(i,n,a),a}else if(this._last&&!this._last.spaced&&(r=="}"||r==")")&&e=="%")return this.token("CSSUNIT",e,1),1;return 0},De.prototype.importsToken=function(){var e;return(e=pf.exec(this._chunk))?(this.token("IMPORTS",e[1],e[1].length,7),e[0].length):0},De.prototype.tagToken=function(){var e,t;if(!(e=df.exec(this._chunk)))return 0;var t=$r(e),s=t[0],r=t[1],i=t[2];if(r=="<"){if(rc.test(this.prevChars(1)||""))return 0;if(this.token("TAG_START","<",1),this.pushEnd(ir.TAG_START,{i:this._tokens.length-1}),e=oc.exec(this._chunk.substr(1,40))){let n=this._chunk[e[0].length+1];if(e[0]!="self"&&n!="{"&&n!="-")return this.token("TAG_TYPE",e[0],e[0].length,1),s.length+e[0].length}else this._chunk[1]==">"&&this.token("TAG_TYPE","fragment",0,0);if(i){if(i.substr(0,1)=="{")return r.length;this.token("TAG_NAME",s.substr(1),0)}}return s.length},De.prototype.selectorToken=function(){var a,e;if(this._end=="%"){for(var t=this._chunk[0],s=this._context,r=0,i="",n=!1;t=this._chunk[r++];)if(t==")"&&s.parens==0){n=!0;break}else if(t=="(")s.parens++,i+="(";else if(t==")")s.parens--,i+=")";else{if(t=="{")break;i+=t}return i&&this.token("SELECTOR_PART",i,r-1),n?(this.token("SELECTOR_END",")",1,r-1),this.pair("%"),r):r-1}if(!(e=_f.exec(this._chunk)))return 0;var a=$r(e),o=a[0],l=a[1],p=a[2];return p=="("?(this.token("SELECTOR_START",l,l.length+1),this.pushEnd("%",{parens:0}),l.length+1):l=="%"?this.context()=="%"?1:(this.token("SELECTOR_START",l,l.length),this.pushEnd("%",{open:!0}),l.length):0},De.prototype.inTag=function(){var e=this._ends.length;if(e>0){var t=this._ends[e-1],s=e>1?this._ends[e-2]:t;return t=="TAG_END"||s=="TAG_END"&&t=="OUTDENT"}return!1},De.prototype.isKeyword=function(e,t){var s;if(t===void 0&&(t=""),e=="tag")return this.isTagDeclarationKeyword();if(e=="mixin"&&(!t||t==" "))return!of[this._lastTyp];if(this._lastTyp=="ATTR"||this._lastTyp=="PROP"||this._lastTyp=="DEF")return!1;if(e=="when"||e=="by")return!this._lastTyp||fc[this._lastTyp]==1?e=="when"&&this.getScope()=="SWITCH":this._seenLoop;if((e=="get"||e=="set")&&(s=this._chunk.match(/^[gs]et ([\$\w\-]+|\[)/))){let n=this._contexts[this._contexts.length-1]||{},a=n.opener&&this._tokens[this._tokens.indexOf(n.opener)-1];if((this._lastTyp=="TERMINATOR"||this._lastTyp=="INDENT")&&a&&(a._type=="="||a._type=="{"))return!0}if((e=="guard"||e=="alter"||e=="watch")&&this.getScope()=="PROP"||e=="css"||e=="interface"&&(this._lastVal=="global"||this._lastVal=="export"||this._lastVal=="default"||this._lastVal=="declare"))return!0;if(e=="attr"||e=="prop"||e=="get"||e=="set"||e=="css"||e=="constructor"||e=="declare"){var r=this.getScope(),i=r=="CLASS"||r=="TAG"||r=="EXTEND";if(e=="declare")return i&&_c[this._lastTyp]==1;if(e=="constructor")return i&&_c[this._lastTyp]==1;if(i)return!0}return lf[e]==1},De.prototype.isTagDeclarationKeyword=function(){var e=this._lastTyp,t=this._lastVal,s=!e||o5[e]==1||e=="IDENTIFIER"&&l5[t]==1;return s&&/^tag[^\n\S]+(\w[\w\d]*:)?(\w[\w\d]*)(-[\w\d]+)*/.test(this._chunk)},De.prototype.identifierToken=function(){var t,e,i;if(!(e=uf.exec(this._chunk)))return 0;var t=$r(e),s=t[0],r=t[1],i=t[2],n=t[3],a=t[4],o=t[5],l=r.length;if(r==="own"&&this.lastTokenType()=="FOR")return this.token("OWN",r,r.length),r.length;var p=bs(this._tokens),c=this._lastTyp;if(c=="#")return this.token("IDENTIFIER",r,l),l;var d=o||c=="."||c=="?.";if(o&&c=="?"&&(d=!1),!i&&!o&&(c=="."||c=="?."))return this.token("IDENTIFIER",r,l),l;r=="css"&&/css\s\:\:/.exec(this._chunk)&&(s=r+" ",o=null,d=!1);var v=!1;if(i=="$"&&Mf.test(r))i="ARGVAR",r=r.substr(1);else if(i=="$"&&Df.test(r))i="ENV_FLAG",r=r.toUpperCase();else if(i=="@")c=="."?i="IDENTIFIER":i="DECORATOR";else if(i=="#")i="SYMBOLID";else if(i=="##")i="SYMBOLID";else if(i=="%"){let m=this._lastTyp;if(m=="TERMINATOR"||m=="INDENT"||m=="EXPORT")return this.token("CSS",r,0),this.queueScope("CSS"),this.lexStyleRule(0,!0);i="CSS_MIXIN"}else if(i=="$"&&!o)i="IDENTIFIER";else{if(r=="elif"&&!d)return this.token("ELSE","elif",r.length),this.token("IF","if"),r.length;i="IDENTIFIER"}if(i=="IDENTIFIER"&&!o&&!ac[r]&&!hf[r]&&c!="CATCH"&&!(c=="IDENTIFIER"&&this._lastVal=="protected")&&!((c=="NUMBER"||c==")")&&p&&!p.spaced)&&this._end!="IMPORT"&&this._end!="EXPORT"&&c!="IMPORT")return this.token("IDENTIFIER",r,l),l;var f=this._end;if(!d&&ac[r]&&(v=this.isKeyword(r,this._chunk[r.length])))if(typeof v=="string"?i=v:i=r.toUpperCase(),i=="MODULE"&&(!/^module [a-zA-Z]/.test(this._chunk)||f=="TAG_ATTR")&&(i="IDENTIFIER"),i=="YES")i="TRUE";else if(i=="NO")i="FALSE";else if(i=="NIL")i="NULL";else if(i=="MIXIN"||i=="INTERFACE")i="CLASS";else if(i=="VAR"||i=="CONST"||i=="LET"){let m=this._lastTyp}else i=="IF"||i=="ELSE"||i=="TRUE"||i=="FALSE"||i=="NULL"||(i=="TAG"?this.pushEnd("TAG"):i=="DEF"||i=="GET"||i=="SET"?(i="DEF",this.openDef()):i=="CONSTRUCTOR"?(this.token("DEF","",0),i="IDENTIFIER",this.openDef()):i=="DO"?this.context()=="DEF"&&this.closeDef():i==="WHEN"&&fc[this.lastTokenType()]==1?i="LEADING_WHEN":i==="FOR"?(this._seenFor=!0,this._seenLoop=!0,this._loopEnds=this._ends.length):i==="WHILE"||i==="UNTIL"?(this._seenLoop=!0,this._loopEnds=this._ends.length):i==="UNLESS"?i="IF":dc[i]==1?i="UNARY":Wf[i]==1&&(i!="INSTANCEOF"&&i!="ISA"&&this._seenFor?(i="FOR"+i,this._seenFor=!1):(i="RELATION",p._type=="UNARY"&&(p._type="NOT"))));if(!d)switch(this._lastVal=="export"&&r=="default"&&(ar(p,"EXPORT"),i="DEFAULT"),r){case"!":case"not":{i="UNARY";break}case"==":case"!=":case"===":case"!==":case"is":case"isnt":{i="COMPARE";break}case"&&":case"||":case"and":case"or":case"??":{i="LOGIC";break}case"super":case"break":case"continue":case"debugger":case"arguments":{i=r.toUpperCase();break}}var g=s.length;if((i=="CLASS"||i=="DEF"||i=="TAG"||i=="PROP"||i=="CSS"||i=="SWITCH")&&this.queueScope(i),v&&ic[i])for(var y=this._tokens.length,T=ic[i];y;){p=this._tokens[--y];var _=""+ji(p);if(T[_])ar(p,_.toUpperCase());else break}else if(i=="IF")this.queueScope(i);else if(i=="EXTEND"&&!this._chunk.match(/^extend (class|tag|interface|mixin)(\s|\n|$)/))this.queueScope(i);else if(i=="IMPORT"){let m=this._chunk[l];if(c=="AWAIT"||m=="("||m==".")i="IDENTIFIER";else return this.pushEnd("IMPORT"),this.token(i,r,l),g}else{if(r=="type"&&c=="IMPORT")return this.token("TYPEIMPORT",r,l),g;if(i=="EXPORT")return this.pushEnd("EXPORT"),this.token(i,r,l),g;r=="from"&&f=="IMPORT"?(i="FROM",this.pair("IMPORT")):r=="from"&&f=="EXPORT"?(i="FROM",this.pair("EXPORT")):r=="as"&&(f=="IMPORT"||this._lastTyp=="IDENTIFIER"||f=="EXPORT")&&(i="AS")}if(r=="new"&&this._lastTyp!="."&&this._chunk.match(/^new\s+[\w\$\(\<\#]/)&&this._lastTyp!="DEF"&&(i="NEW"),i=="IDENTIFIER"&&(c=="CATCH"&&(i="CATCH_VAR"),this._lastVal=="protected"&&c=="IDENTIFIER"&&ar(p,"PROTECTED")),(c=="NUMBER"||c==")")&&!p.spaced&&(i=="IDENTIFIER"||r=="%")&&(i="UNIT"),o){this.token(i,r,l);var b=o.indexOf(":");this.moveCaret(l+b),this.token(":",":",1),this.moveCaret(-(l+b))}else this.token(i,r,l);return i=="CSS"?g+this.lexStyleRule(g,!0):g},De.prototype.numberToken=function(){var e,t,s,r;if(!(t=Tf.exec(this._chunk)))return 0;s=t[0],r=s.length,(e=/0b([01_]+)/.exec(s))&&(s=""+parseInt(e[1].replace(/_/g,""),2));var i=bs(this._tokens);return t[0][0]=="."&&i&&!i.spaced&&h5[nr(i)]==1&&(this.token(".","."),s=s.substr(1)),this.token("NUMBER",s,r),r},De.prototype.symbolToken=function(){var e,t,s;if(!(e=mf.exec(this._chunk)))return 0;if(t=e[0],s=bs(this._tokens),!s||s.spaced||c5[this._prevVal]==1){let r=ko(t.slice(1));return this.token("STRING",'"'+r+'"',e[0].length),e[0].length}return 0},De.prototype.escapeStr=function(e,t,s){if(e=e.replace(pc,t?"\\n":""),s){var r=RegExp("\\\\["+s+"]","g");e=e.replace(r,s),e=e.replace(RegExp(""+s,"g"),"\\$&")}return e},De.prototype.stringToken=function(){var e,t;switch(this._chunk.charAt(0)){case"'":{if(!(e=Rf.exec(this._chunk)))return 0;t=e[0],this.token("STRING",this.escapeStr(t),t.length);break}case'"':{if(!(t=this.balancedString(this._chunk,'"')))return 0;if(t.indexOf("{")>=0){var s=t.length;this.token("STRING_START",t.charAt(0),1),this.interpolateString(t.slice(1,-1)),this.token("STRING_END",t.charAt(s-1),1,t.length-1)}else s=t.length,this.token("STRING",this.escapeStr(t),s);break}case"`":{if(!(t=this.balancedString(this._chunk,"`")))return 0;t.indexOf("{")>=0?(s=t.length,this.token("STRING_START",t.charAt(0),1),this.interpolateString(t.slice(1,-1),{heredoc:!0}),this.token("STRING_END",t.charAt(s-1),1,t.length-1)):(s=t.length,this.token("STRING",this.escapeStr(t,!0),s));break}default:return 0}return this.moveHead(t),t.length},De.prototype.heredocToken=function(){var e,t,s,r;if(!(e=kf.exec(this._chunk)))return 0;t=e[0],s=t.charAt(0);var i={quote:s,indent:null,offset:0};if(r=this.sanitizeHeredoc(e[2],i),s=='"'&&r.indexOf("{")>=0){var n=e[1];this.token("STRING_START",n,n.length),this.interpolateString(r,{heredoc:!0,offset:n.length+i.offset,quote:s,indent:i.realIndent}),this.token("STRING_END",n,n.length,t.length-n.length)}else this.token("STRING",this.makeString(r,s,!0),0);return this.moveHead(t),t.length},De.prototype.parseMagicalOptions=function(e){var t=this;return e.indexOf("imba$")>=0&&e.replace(/imba\$(\w+)\=(\S*)\b/g,function(s,r,i){return/^\d+$/.test(i)&&(i=parseInt(i)),t._opts[r]=i}),t},De.prototype.commentToken=function(){var e,t,s,r,i,n="HERECOMMENT";if(e=Nf.exec(this._chunk))return this.token("HERECOMMENT",e[1],e[1].length),this.token("TERMINATOR",`
`),e[0].length;if(e=hc.exec(this._chunk)){t=e[0].length,r=e[1],s=e[2];let p=e[4]||"";s[0]=="#"&&(p=" "+p),i=bs(this._tokens);var a=i&&nr(i),o="//"+p;return this.parseMagicalOptions(o),this._last&&this._last.spaced&&(o=" "+o),o.match(/^\/\/ \@(type|param)/)?o="/**"+p+"*/":o.match(/^\/\/ \<(reference)/)&&(o="///"+p),a&&a!="INDENT"&&a!="TERMINATOR"||!a?this.token("TERMINATOR",o,t):a=="TERMINATOR"?Ka(i,ji(i)+o):a=="INDENT"?this.addLinebreaks(1,o):this.token(n,s.substr(2),t),t}if(!(e=Af.exec(this._chunk)))return 0;s=e[0];var l=e[1];return l?(this.token("HERECOMMENT",this.sanitizeHeredoc(l,{herecomment:!0,indent:Array(this._indent+1).join(" ")}),s.length),this.token("TERMINATOR",`
`)):(this.token("HERECOMMENT",s,s.length),this.token("TERMINATOR",`
`)),this.moveHead(s),s.length},De.prototype.regexToken=function(){var r,e,t,s;if(this._chunk.charAt(0)!="/")return 0;if(e=uc.exec(this._chunk))return t=this.heregexToken(e),this.moveHead(e[0]),t;if(s=bs(this._tokens),s&&(s.spaced?Jf:Qf)[nr(s)]==1||!(e=cc.exec(this._chunk)))return 0;var r=$r(e),i=r[0],n=r[1],a=r[2];return this.token("REGEX",""+n+a,i.length),i.length},De.prototype.heregexToken=function(e){var t,t=$r(e),s=t[0],r=t[1],i=t[2];return this.token("REGEX",s,s.length),s.length},De.prototype.lineToken=function(){var e,t;if(!(t=Lf.exec(this._chunk)))return 0;var s=t[0],r=this.moveHead(s);this._seenFor=!1;var i=bs(this._tokens,1);let n=s.substr(s.lastIndexOf(`
`)+1);var a=this.unfinished();if(!a&&this._ends.length<=this._loopEnds&&(this._seenLoop=!1),/^\n#\s/.test(this._chunk))return this.addLinebreaks(1),0;this._state.gutter==null&&(this._state.gutter=n),(e=this._state.gutter||this._opts.gutter)&&(n.indexOf(e)==0?n=n.slice(e.length):this._chunk[s.length]===void 0||this.error("incorrect indentation"));var o=n.length;if(this._opts.dropIndentation)return o;if(o>0){this._indentStyle||(this._opts.indent=this._indentStyle=n,this._indentRegex=new RegExp(n,"g"));let d=0,v=0,f=this._loc;for(;;)if(n.indexOf(this._indentStyle,v)==v)d++,v+=this._indentStyle.length;else{if(v==n.length)break;{this._loc+=s.length-n.length;let g=this._loc;this.token("INDENT",n,n.length),this.error("Use tabs for indentation",{offset:g+v,length:n.length-v})}}o=d}if(o-this._indebt==this._indent)return this._scopes.length=this._indents.length,a?this.suppressNewlines():this.newlineToken(r,s),s.length;if(o>this._indent){if(a)return this._indebt=o-this._indent,this.suppressNewlines(),s.length;if(this.inTag())return s.length;var l=o-this._indent+this._outdebt;this.closeDef();var p=this._scopes[this._indents.length],c=bs(this._tokens);c&&nr(c)=="TERMINATOR"?(ar(c,"INDENT"),c._meta||(c._meta={pre:ji(c),post:""}),c.scope=p):(this.token("INDENT",""+l,0),this._last.scope=p),this._indents.push(l),this.pushEnd("OUTDENT",{opener:this._last}),this._outdebt=this._indebt=0,this.addLinebreaks(r)}else{this._indebt=0;let d=this._indent-o,v=this._indent,f=this._indentStyle=="	",g=s.replace().split(`
`),y=[],T=g.length,_=0;for(;T>0;){let k=g[--T],L=f?k.length:k.replace(this._indentRegex,"	").length;L>_&&(_=L),y[T]=_}y[0]=v;let b=0,m=[],C="";for(let k=0,L=$r(g),x=L.length;k<x;k++){let E=y[k];for(;v>E;)C?(this.terminatorToken(C),C=""):this.terminatorToken(""),d--,this.outdentToken(1,!0),v--;C+=`
`+L[k]}for(C&&this.terminatorToken(C);d>0;)this.outdentToken(1,!0),d--}return this._indent=o,s.length},De.prototype.outdentToken=function(e,t,s){this.context()=="DEF"&&this.closeDef();for(var r=0;e>0;){var i=this._indents.length-1;if(this._indents[i]==null)e=0;else if(this._indents[i]==this._outdebt)e-=this._outdebt,this._outdebt=0;else if(this._indents[i]<this._outdebt)this._outdebt-=this._indents[i],e-=this._indents[i];else{r=this._indents.pop()-this._outdebt,e-=r,this._outdebt=0,t||this.addLinebreaks(1);let a=this.pair("OUTDENT");if(this.token("OUTDENT",""+r,0),a[1]&&a[1].opener){let o=a[1].opener;this._last._opener=o,o._closer=this._last,o._closerIndex=this._tokens.length-1,o._type=="CSS_SEL"&&this.token("CSS_END","",0)}}}for(r&&(this._outdebt-=e);this.lastTokenValue()==";";)this._tokens.pop();this.lastTokenType()=="TERMINATOR"||t||this.token("TERMINATOR",`
`,0),this._scopes.length=this._indents.length,this.closeDef();var n=this.context();return(n=="%"||n=="TAG"||n=="IMPORT"||n=="EXPORT")&&this.pair(n),this},De.prototype.whitespaceToken=function(e){var t,s,r;if(!((t=Po.exec(this._chunk))||(s=this._chunk.charAt(0)===`
`)))return 0;if(r=bs(this._tokens),r)return t?(r.spaced=!0,t[0].length):(r.newLine=!0,0)},De.prototype.moveHead=function(e){var t=f5(e);return t},De.prototype.terminatorToken=function(e,t){return this._lastTyp=="TERMINATOR"?this._last._value+=e:this.token("TERMINATOR",e,t)},De.prototype.addLinebreaks=function(e,t){var s;if(!t&&e==0)return this;var r=this._last;if(t||(e==1?s=`
`:e==2?s=`

`:e==3?s=`


`:s=_5(`
`,e)),r){var i=r._type,n=ji(r);if(i=="INDENT"){var a=r._meta||(r._meta={pre:"",post:""});return a.post+=t||s,this}else if(i=="TERMINATOR")return Ka(r,n+(t||s)),this}this.token("TERMINATOR",t||s,0)},De.prototype.newlineToken=function(e,t){this.addLinebreaks(e,t),this.closeDef();var s=this.context();return(s=="TAG"||s=="IMPORT"||s=="EXPORT")&&this.pair(s),this},De.prototype.suppressNewlines=function(){return this.value()==="\\"&&this._tokens.pop(),this},De.prototype.literalToken=function(){var e,t;(e=Ef.exec(this._chunk))?(t=e[0],If.test(t)&&this.tagParameters()):t=this._chunk.charAt(0);var s=this._ends[this._ends.length-1],r=this._ends[this._ends.length-2],i=s=="TAG_END"||s=="OUTDENT"&&r=="TAG_END",n=t,a=bs(this._tokens),o=a&&nr(a),l=a&&ji(a),p=t.length;if(t=="="&&a&&(l=="||"||l=="&&"))return ar(a,"COMPOUND_ASSIGN"),Ka(a,l+"="),a._len=this._loc-a._loc+t.length,t.length;if(t=="\u0192"&&(n="DO"),t=="|"){if(l=="(")return this.token("DO","DO",0),this.pushEnd("|"),this.token("BLOCK_PARAM_START",t,1),p;if(o=="DO")return this.pushEnd("|"),this.token("BLOCK_PARAM_START",t,1),p;if(s=="|")return this.token("BLOCK_PARAM_END",t,1),this.pair("|"),p}t===";"&&(this._seenFor=!1,this._seenLoop=!1,n="TERMINATOR"),t=="("&&o=="T."||t=="["&&i?n="STYLE_START":t==="("&&i&&o!="="&&a.spaced?this.token(",",","):t==="->"&&i?(n="TAG_END",this.pair("TAG_END")):t==="=>"&&i?(n="TAG_END",this.pair("TAG_END")):t==="/>"&&i?(n="TAG_END",this.pair("TAG_END")):t===">"&&i?(n="TAG_END",this.pair("TAG_END")):t==="TERMINATOR"&&s==="DEF"?this.closeDef():t==="&"&&this.context()=="DEF"?n="BLOCK_ARG":t=="---"||t=="-"&&o=="TERMINATOR"&&this._chunk.match(/^\-\s*\n/)?n="SEPARATOR":t=="*"&&this._chunk.charAt(1).match(/[A-Za-z\_\@\[]/)&&(a.spaced||u5[l]==1)?n="SPLAT":t=="*"&&(this.context()=="IMPORT"||this.context()=="EXPORT")?n=""+this.context()+"_ALL":t==","&&this.context()=="IMPORT"?n="IMPORT_COMMA":t=="!"&&a&&!a.spaced&&(l=="]"||l==")"||o=="IDENTIFIER"||o=="SYMBOLID"||o=="SUPER")?n="BANG":t=="&"&&this._chunk.match(/^\&\s*[,\)\}\]]/)?n="DO_PLACEHOLDER":t=="&"&&this._chunk.match(/^\&(\s*[\.\>\<\=\%\^]|\s+(is|isnt|in|not|isa)\b|[\[\(])/)?n="AMPER_REF":t=="**"?n="EXP":t=="%"&&(o=="NUMBER"||o==")")&&!a.spaced?n="UNIT":qf[t]==1?n="MATH":Uf[t]==1?n="COMPARE":Ff[t]==1?n="COMPOUND_ASSIGN":dc[t]==1?n="UNARY":Hf[t]==1?n="SHIFT":Bf[t]==1?n="LOGIC":a&&!a.spaced&&((t=="{"&&o=="IDENTIFIER"||t=="{"&&o=="#")&&(n="{{"),t==="("&&r5[o]==1?n="CALL_START":t==="("&&o=="DO"?n="BLOCK_PARAM_START":t==="["&&n5[o]==1&&(n="INDEX_START",o=="?"&&ar(a,"INDEX_SOAK"))),l=="&"&&o!="AMPER_REF"&&(!a.spaced&&p5[n]==1||a.spaced&&n=="COMPARE")&&ar(a,o="AMPER_REF");let c=null;switch(t){case"(":case"{":case"[":{this.pushEnd(ir[t],{closeType:ir[n],i:this._tokens.length});break}case")":case"}":case"]":{let d=this.pair(t);if(d&&d[1].closeType){n=d[1].closeType;let v=this._tokens[d[1].i];c=this._tokens[d[1].i]}break}}if(t=="\\"){n="TYPE";let d=this.findTypeAnnotation(this._chunk.slice(1));d&&(t=t+d)}if(t=="<"&&rc.test(this.prevChars(1))){let d=this.findTypeAnnotation(this._chunk,!0);d&&(n="GENERICS",t=d)}if(t==".."&&!a.spaced&&(n="?.",t="?."),t==":"&&s=="TAG_RULE"&&(n="T:"),(n=="-"||n=="+")&&/\w|\(|\$/.test(this._chunk[1])&&(!a||a.spaced)&&(n=n+n+n),this.token(n,t,t.length),c&&(c._closer=this._last,c._closerIndex=this._tokens.length-1),this._platform=="tsc"){let d=this._chunk[1]||"";t=="."&&(!d||sc[d])?this.token("IDENTIFIER","$CARET$",0,1):t=="@"&&(!d||/[^\$\@\-\.\w]/.test(d))}return t.length},De.prototype.sanitizeHeredoc=function(e,t){var s,r=t.indent,i=t.herecomment;if(i){if(Cf.test(e)&&this.error("block comment cannot contain '*/'",{length:2}),e.indexOf(`
`)<=0)return e}else for(var n;s=$f.exec(e);){var a=s[1];(r===null||0<(n=a.length)&&n<r.length)&&(r=a)}return r&&(e=e.replace(RegExp("\\n"+r,"g"),`
`)),i||(e[0]==`
`&&(t.offset=r.length+1),e=e.replace(/^\n/,"")),t.realIndent=r,e},De.prototype.tagParameters=function(){var e;if(this.lastTokenType()!=")")return this;var t=[],s=this._tokens,r=s.length;for(ar(s[--r],"PARAM_END");e=s[--r];){var i=nr(e);switch(i){case")":{t.push(e);break}case"(":case"CALL_START":{if(t.length)t.pop();else return i==="("?(ar(e,"PARAM_START"),this):this;break}}}return this},De.prototype.closeIndentation=function(){for(;;){var e=this.context();if(e=="TAG"||e=="IMPORT"||e=="EXPORT")this.pair(e);else break}return this.closeDef(),this.closeSelector(),this.outdentToken(this._indent,!1,0)},De.prototype.balancedString=function(e,t){for(var s,r,i,n=[t],a=0;a<e.length-1;){switch(a++,r=e.charAt(a),r){case"\\":{a++;continue}case t:{if(n.pop(),!n.length){var o=e.slice(0,a+1);return o}t=n[n.length-1];continue}}t==="}"&&(r=='"'||r=="'"||r=="`")?n.push(t=r):t==="}"&&r==="/"&&(s=uc.exec(e.slice(a))||cc.exec(e.slice(a)))?a+=s[0].length-1:(t==="}"&&r==="{"||t==='"'&&r==="{"||t==="`"&&r==="{")&&n.push(t="}"),i=r}var l=n.pop(),p=this.lineAt(this._loc);return l=="}"?this.error("unclosed interpolation in string starting on line "+p+" - expected '}'",{length:1}):this.error("unterminated string starting on line "+p+" - expected closing "+l,{length:1})},De.prototype.interpolateString=function(e,t){t===void 0&&(t={});for(var s=t.heredoc,r=t.quote,i=t.regex,n=t.prefix,a=t.indent,o=this._loc,l=[],p=0,c=-1,d=t.offset||1,v=e.length,f,g,y=!1;f=e[c+=1];){if(f==="\\"){c+=1;continue}if(f===`
`&&a&&(d+=a.length),!!(e[c]=="{"&&(g=this.balancedString(e.slice(c),"}")))){if(y=!0,p<c){var T=new Wr("NEOSTRING",this.escapeStr(e.slice(p,c),s,r),this._loc+p+d,c-p);l.push(T)}l.push(new Wr("{{","{",this._loc+c+d,1));var _=g.slice(1,-1);if(_=_.replace(/^[^\n\S]+/,""),_.length){var b=0,m=this._loc+c+(g.length-_.length)-1,C=new De().tokenize(_,{inline:!0,rewrite:!1,loc:m+d},this._script);C[0]&&nr(C[0])=="TERMINATOR"&&C.shift(),C.length&&l.push.apply(l,C)}c+=g.length-1,l.push(new Wr("}}","}",this._loc+c+d,1)),p=c+1}}if(c>=p&&p<e.length&&l.push(new Wr("NEOSTRING",this.escapeStr(e.slice(p),s,r),this._loc+p+d,e.length-p)),i)return l;if(!l.length)return this.token("NEOSTRING",'""');for(let k=0,L=l.length;k<L;k++)this._tokens.push(l[k]);return l},De.prototype.balancedSelector=function(e,t){var s,r,i=[t];for(let n=e.length,a=1,o=n-a;o>0?a<n:a>n;o>0?a++:a--){switch(r=e.charAt(a)){case"\\":{a++;continue}case t:{if(i.pop(),!i.length)return e.slice(0,a+1);t=i[i.length-1];continue}}t==="}"&&r===")"?i.push(t=r):(t==="}"&&r==="{"||t===")"&&r==="{")&&i.push(t="}"),s=r}return this.error("unclosed selector starting on line "+this.lineAt(this._loc)+" - expected '"+i.pop()+"'",{length:1})};var m5={")":"'('","]":"'['","}":"'{'",TAG_END:"tag",TAG:"tag declaration",TAG_ATTR:"tag attribute value",DEF:"method",IMPORT:"import",EXPORT:"export","%":"selector","|":"block parameters",OUTDENT:"indented block"},Fo={")":"')'","]":"']'","}":"'}'",TAG_END:"'>'","|":"'|'"};De.prototype.unclosedInfo=function(){var e=this._ends.length-1,t=this._ends[e],s=this._contexts[e],r=null;return s&&(r=s.opener||s.i!=null&&this._tokens[s.i]||null),r&&!(r._loc>=0)&&(r=null),{end:t,opener:r,what:m5[t]||"'"+t+"'",closer:Fo[t]}},De.prototype.unclosedError=function(e){var t=this.unclosedInfo(),s="unclosed "+t.what;t.closer&&(s+=" - expected "+t.closer),e&&(s+=" before "+e);var r={length:1};return t.opener&&(r.range=this._script.rangeAt(t.opener._loc,t.opener._loc+(t.opener._len||1))),this.error(s,r)},De.prototype.lineAt=function(e){return this._script.positionAt(e).line+1},De.prototype.pair=function(e){var t=bs(this._ends);if(e!=t){if(t!=="OUTDENT")if(e=="OUTDENT")this.unclosedError("the block ends (line "+this.lineAt(this._loc)+")");else if(!t)this.error("unmatched "+(Fo[e]||"'"+e+"'"),{length:1});else{let r=this.unclosedInfo(),i="unmatched "+(Fo[e]||"'"+e+"'");r.closer&&(i+=" - expected "+r.closer+" to close "+r.what,r.opener&&(i+=" (line "+this.lineAt(r.opener._loc)+")")),this.error(i,{length:1})}var s=bs(this._indents);return this._indent-=s,this.outdentToken(s,!0,0),this.pair(e)}return this.popEnd()},De.prototype.token=function(e,t,s,r){this._lastTyp=e,this._lastVal=t;var i=this._last=new Wr(e,t,this._loc+(r||0),s||0);this._tokens.push(i)},De.prototype.lastTokenType=function(){var e=this._tokens[this._tokens.length-1];return e?nr(e):"NONE"},De.prototype.lastTokenValue=function(){var e=this._tokens[this._tokens.length-1];return e?e._value:""},De.prototype.tokid=function(e,t){var s;return(s=bs(this._tokens,e))?(t&&ar(s,t),nr(s)):null},De.prototype.value=function(e,t){var s;return(s=bs(this._tokens,e))?(t&&Ka(s,t),ji(s)):null},De.prototype.unfinished=function(){return Of.test(this._chunk)&&(!this._context||!this._context.style)?!0:t5[this._lastTyp]==1&&this._platform!="tsc"},De.prototype.escapeLines=function(e,t){return e.replace(pc,t?"\\n":"")},De.prototype.makeString=function(e,t,s){return e?(e=e.replace(/\\([\s\S])/g,function(r,i){return i==`
`||i==t?i:r}),e=e.replace(RegExp(""+t,"g"),"\\$&"),t+this.escapeLines(e,s)+t):t+t},De.prototype.error=function(e,t){t===void 0&&(t={});let s=t.offset||this._loc;throw this._script.addDiagnostic("error",{message:e,source:t.source||"imba-lexer",range:t.range||this._script.rangeAt(s,s+(t.length||rf(this)))}).toError()};function g5(e){return e?e.toArray?e.toArray():e:[]}var Gi=tt,Es="TERMINATOR",Ht="INDENT",Bi="OUTDENT",jo="THEN",y5="CATCH",mc={_type:"EOF",_value:""},Go=function(e){var t={};for(let s=0,r=g5(e),i=r.length;s<i;s++)t[r[s]]=1;return t},Bo=function(e,t){var s=t._closer;if(!s)return-1;var r=t._closerIndex;return r!=null&&e[r]===s?r:t._closerIndex=e.indexOf(s)},Vi=function(e,t){if(t<0||t>=e.length)return null;var s=e[t];return s&&s._type},v5=[")","]","}","STYLE_END","OUTDENT","CALL_END","PARAM_END","INDEX_END","BLOCK_PARAM_END","STRING_END","}}","TAG_END","CATCH","WHEN","ELSE","FINALLY"],b5=Go(v5),gc={"(":1,"[":1,"{":1,"{{":1,INDENT:1,CALL_START:1,PARAM_START:1,INDEX_START:1,BLOCK_PARAM_START:1,STRING_START:1,TAG_START:1},yc={")":1,"]":1,"}":1,"}}":1,OUTDENT:1,CALL_END:1,PARAM_END:1,INDEX_END:1,BLOCK_PARAM_END:1,STRING_END:1,TAG_END:1},vc="STYLE_START",x5={ELSE:1,TRY:1,FINALLY:1,THEN:1,BLOCK_PARAM_END:1,DO:1,BEGIN:1,CATCH_VAR:1},w5={TERMINATOR:!0,CATCH:!0,FINALLY:!0,ELSE:!0,OUTDENT:!0,LEADING_WHEN:!0},Vo={IDENTIFIER:1,TYPE:1,SYMBOLID:1,SUPER:1,THIS:1,SELF:1,TAG_END:1,IVAR:1,CVAR:1,ARGVAR:1,BREAK:1,CONTINUE:1,RETURN:1,YIELD:1,INDEX_END:1,"]":1,BANG:1},Ho={SELECTOR:1,IDENTIFIER:1,SYMBOLID:1,NUMBER:1,STRING:1,SYMBOL:1,JS:1,REGEX:1,NEW:1,CLASS:1,IF:1,AWAIT:1,UNLESS:1,TRY:1,SWITCH:1,THIS:1,BOOL:1,TRUE:1,FALSE:1,NULL:1,UNDEFINED:1,UNARY:1,SUPER:1,IVAR:1,ARGVAR:1,SELF:1,"[":1,"(":1,"{":1,"--":1,"++":1,"---":1,"+++":1,"#":1,TAG_START:1,PARAM_START:1,SELECTOR_START:1,STRING_START:1,IDREF:1,SPLAT:1,DO:1,AMPER_REF:1,BLOCK_ARG:1,FOR:1,CONTINUE:1,BREAK:1,LET:1,VAR:1,CONST:1,CSS:1,ENV_FLAG:1},S5={"+":1,"-":1},T5=["{","[",",","BLOCK_PARAM_END","DO"],k5=Go(T5),E5=["CLASS","IF","UNLESS","TAG","WHILE","FOR","UNTIL","CATCH","FINALLY","MODULE","LEADING_WHEN","STRUCT"],A5=Go(E5),N5={POST_IF:!0,POST_UNLESS:!0,POST_FOR:!0,WHILE:!0,UNTIL:!0,WHEN:!0,BY:!0,LOOP:!0,TERMINATOR:!0,DEF_BODY:!0,DEF_EMPTY:!0},I5={IF:1,TERNARY:1,FOR:1,DEF:1},bc={CLASS:1,DEF:1,MODULE:1,TAG:1,STRUCT:1},L5={INDENT:1,TERMINATOR:1},R5={NUMBER:1,STRING:1,REGEX:1,SYMBOL:1,"]":1,"}":1,")":1,STRING_END:1},xc=0;function wt(){this._tokens=[],this._options={},this._len=0,this._starter=null}wt.prototype.reset=function(){return this._starter=null,this._len=0,this},wt.prototype.tokens=function(){return this._tokens},wt.prototype.rewrite=function(e,t){t===void 0&&(t={}),this.reset(),this._tokens=e,this._options=t,this._platform=t.platform||t.target;for(var s=0,r=e.length;s<r-1;){var i=e[s];if(i._type=="DEF_BODY"){var n=e[s+1];n&&n._type==Es&&(i._type="DEF_EMPTY")}s++}return this.all(),xc&&console.log(xc),this._tokens},wt.prototype.all=function(){return this.ensureFirstLine(),this.removeLeadingNewlines(),this._platform=="tsc"&&this.addPlaceholderIdentifiers(),this.removeMidExpressionNewlines(),this.tagDefArguments(),this.closeOpenTags(),this.addImplicitIndentation(),this.tagPostfixConditionals(),this.addImplicitBraces(),this.addImplicitParentheses()},wt.prototype.step=function(e){this[e]()},wt.prototype.scanTokens=function(e){for(var t=this._tokens,s=0;s<t.length;)s+=e(t[s],s,t);return!0},wt.prototype.detectEnd=function(e,t,s,r){r===void 0&&(r={});for(var i=this._tokens,n=0,a,o,l;e<i.length;){if(a=i[e],n==0&&t.call(this,a,e,i,r))return s.call(this,a,e,i,r);if(!a||n<0)return s.call(this,a,e-1,i,r);o=a._type,gc[o]?n+=1:yc[o]&&(n-=1),e+=1}return e-1},wt.prototype.ensureFirstLine=function(){var e=this._tokens[0];(!e||e._type===Es)&&this._tokens.unshift(Rr("BODYSTART","BODYSTART"))},wt.prototype.addPlaceholderIdentifiers=function(){let e=/^([\,\]\)\}]|\}\})$/;return this.scanTokens(function(t,s,r){var i=r[s-1]||mc,n=r[s+1]||mc;if(i._type=="="||i._type==":"){if(t._type===Es&&n._type!="INDENT"||t._type==","||t._type=="DEF_BODY")return r.splice(s,0,new Gi("IDENTIFIER","$CARET$",t._loc,0)),2}else if(i._type=="."&&(t._type===Es&&n._type!="INDENT"||e.test(t._value)))return r.splice(s,0,new Gi("IDENTIFIER","$CARET$",t._loc,0)),2;return 1})},wt.prototype.removeLeadingNewlines=function(){for(var e=0,t=0,s=this._tokens,r,i=s.length;t<i;){if(r=s[t],r._type!==Es){e=t;break}t++}e&&s.splice(0,e)},wt.prototype.removeMidExpressionNewlines=function(){return this.scanTokens(function(e,t,s){var r=s.length>t+1?s[t+1]:null;return!(e._type===Es&&r&&b5[r._type])||r&&r._type==Bi?1:(s.splice(t,1),0)})},wt.prototype.tagDefArguments=function(){return!0},wt.prototype.closeOpenTags=function(){var e=this,t=function(r,i){return r._type==">"||r._type=="TAG_END"},s=function(r,i){return r._type="TAG_END"};return e.scanTokens(function(r,i,n){return r._type==="TAG_START"&&e.detectEnd(i+1,t,s),1})},wt.prototype.addImplicitBlockCalls=function(){for(var e=1,t=this._tokens;e<t.length;){var s=t[e],r=s._type,i=s._value;r=="DO"&&(i=="INDEX_END"||i=="IDENTIFIER"||i=="NEW")&&(t.splice(e+1,0,Rr("CALL_END",")")),t.splice(e+1,0,Rr("CALL_START","(")),e++),e++}},wt.prototype.addLeftBrace=function(){return this},wt.prototype.addImplicitBraces=function(){var e=this,t=[],s=null,r=null,i=["ROOT",0],n="DEF",a=I5,o=function(g){return g&&g._loc>=0?g._loc:-1},l=function(g,y,T){let _=new Gi("{","{",o(g),0,0);return _.generated=!0,_.scope=T,e._tokens.splice(y,0,_)},p=function(g,y,T){let _=new Gi("}","}",o(g),0,0);return _.generated=!0,_.scope=T,e._tokens.splice(y,0,_)},c=function(g,y){return[g,y]},d=[],v=[],f=null;return e.scanTokens(function(g,y,T){var _=g._type,b=g._value;if(_=="CSS_SEL"&&g._closer){let V=Bo(T,g);if(V>=0)return V-y+1}if(_=="STYLE_START"&&g._closer){let V=Bo(T,g);if(V>=0)return V-y}if(Mi[_]?v.push(f=_):ir[_]&&ir[_]==f&&(v.pop(),f=v[v.length-1]),f===vc)return 1;var m=t.length?t[t.length-1]:i,C;if(_=="INDENT"?d.unshift(g.scope):_=="OUTDENT"&&d.shift(),a[_]&&_!=n)return t.push(c(_,y)),1;if(b=="?")return t.push(c("TERNARY",y)),1;if(gc[_]){_===Ht&&a[m[0]]&&t.pop();let V=Vi(T,y-1);return _===Ht&&(V=="{"||V=="STYLE_START")?t.push(c("{",y)):t.push(c(_,y)),1}if(yc[_])return m[0]=="TERNARY"&&t.pop(),r=t.pop(),r[2]=y,r[0]=="{"&&r.generated&&p(g,y),1;if(m[0]=="TERNARY"&&(_===Es||_===Bi)||a[m[0]]&&_===Ht)return t.pop(),1;if(_==",")return m[0]=="{"&&m.generated?(p(g,y,t.pop()),2):1;let k=_==n&&!bc[d[0]];if((_==":"||k)&&m[0]!="{"&&m[0]!="TERNARY"&&(!a[m[0]]||m[0]==n)){var L=T[y-2];let V=!1;for(_==n?(C=y-1,L=T[C]):r&&r[2]==y-1?C=r[1]-1:C=y-2;Vi(T,C-1)==="HERECOMMENT";)C-=2;var x=T[C-1],E=T[C];if((!L||!L5[L._type])&&(V=!0),d[0]&&bc[d[0]]&&(V=!0),x&&x._type=="}"&&x.generated&&(E._type==","&&!E.generated||!(x.scope&&x.scope.autoClose))){T.splice(C-1,1);var N=c("{",y-1);return N.generated=!0,t.push(N),_==n?(t.push(c(n,y)),1):0}else return x&&x._type==","&&Vi(T,C-2)=="}"?(T.splice(C-2,1),N=c("{"),N.generated=!0,t.push(N),_==n?(t.push(c(n,y)),1):0):_==n&&(!x||x._type!="=")?(t.push(c(n,y)),1):(N=c("{"),N.generated=!0,N.autoClose=V,t.push(N),l(g,C+1),_==n?(t.push(c(n,y)),3):2)}if(_=="DO"){var S=Vi(T,y-1);if(R5[S]){var D=Rr(",",",");if(D.generated=!0,T.splice(y,0,D),m.generated)return p(g,y),t.pop(),2}}return m.generated&&(_===Es||_===Bi||_==="DEF_BODY")?(s=t.pop(),p(g,y,s),2):1})},wt.prototype.addImplicitParentheses=function(){var e=this,t=e._tokens,s=!1,r=!1,i=!1,n=!1,a=!1,o=!1,l=!1,p=!1,c=0;let d=[],v=null;for(var f=function(x,E,N){let S=new Gi("CALL_END",")",-1,0);return S.generated=!0,N.splice(E,0,S)},g=function(x,E,N){var S=x._type;if(!a&&x.fromThen)return!0;var D=S=="IF"||S=="UNLESS"||S=="ELSE";(D||S==="CATCH")&&(a=!0),(D||S==="SWITCH"||S=="TRY")&&(o=!0);var V=Vi(N,E-1);if((S=="."||S=="?."||S=="::")&&V===Bi||S==":"&&d[d.length-1]=="?"&&N[E-1].spaced||n&&(S===Ht||S===Es))return!0;if((S=="WHEN"||S=="BY")&&!r)return!1;var M=N.length>E+1?N[E+1]:null,W=M&&M._type;if(x.generated||V===",")return!1;var Q=N5[S]||S==Ht&&!o||S=="DOS"&&V!="=";return Q?S!==Ht||!k5[V]&&Vi(N,E-2)!="CLASS"&&!(M&&(M.generated&&W=="{"||Ho[W])):!1};t.length>c+1;){var y=t[c],T=y._type;if(T=="?"&&d.push(T),(T=="STYLE_START"||T=="CSS_SEL")&&y._closer){let E=Bo(t,y);if(E>=0){c=E+1;continue}}if(Mi[T]?d.push(v=T):ir[T]&&ir[T]==v&&(d.pop(),v=d[d.length-1]),v===vc){c++;continue}T==":"&&t[c-1].spaced&&d[d.length-1]=="?"&&d.pop();var _=c>0?t[c-1]:null,b=t[c+1],m=_&&_._type,C=b&&b._type;if(T===Ht&&(m==")"||m=="]")&&(s=!0),m==Ht&&(i=!1),m=="TAG_END"&&(i=_),A5[m]&&(n=!0,s=!0,m=="FOR"&&(r=!0)),l=!1,p=!1,!s&&T==Ht&&b){var k=m&&Vo[m],L=C&&Ho[C];l=(b.generated&&C=="{"||L)&&k,p=L&&k,C=="TAG_START"&&m!="TAG_END"&&L&&(p=!1)}if(a=!1,o=!1,(T==Es||T==Bi||T==Ht)&&(n=!1,s=!1),T==Es&&(i=!1),T=="?"&&_&&!_.spaced&&(y.call=!0),y.fromThen){c+=1;continue}if(!(l||p||_&&_.spaced&&(_.call||Vo[m])&&(Ho[T]||!(y.spaced||y.newLine)&&S5[T]))){c+=1;continue}if(T===Ht&&C=="TAG_START"&&Vo[m]&&m!="TAG_END"){c+=1;continue}if(i&&C!=="TAG_START"&&m!=="TAG_END"){if(T===Ht){c+=1;continue}n=!0}let x=new Gi("CALL_START","(",-1,0);x.generated=!0,t.splice(c,0,x),e.detectEnd(c+1,g,f),_._type=="?"&&(_._type="FUNC_EXIST"),c+=2,n=!1,s=!1,r=!1}},wt.prototype.indentCondition=function(e,t,s){var r=e._type;return w5[r]&&e._value!==";"&&!(r=="ELSE"&&this._starter!="IF"&&this._starter!="THEN")},wt.prototype.indentAction=function(e,t,s){var r=this.tokenType(t-1)===","?t-1:t;s.splice(r,0,zd)},wt.prototype.addImplicitIndentation=function(){for(var e={OUTDENT:1,TERMINATOR:1,FINALLY:1},t=0,s=this._tokens,r;t<s.length;){var i=s[t],n=i._type,a=this.tokenType(t+1);if(n===Es&&a===jo){s.splice(t,1);continue}if((n===y5||n==="CATCH_VAR")&&e[this.tokenType(t+1)]){s.splice(t+1,0,Rr(Ht,"2"),Rr(Bi,"2")),t+=3;continue}if(x5[n]&&a!=Ht&&a!="BLOCK_PARAM_START"&&!(n=="ELSE"&&a=="IF")&&n!="ELIF"){this._starter=r=n;var o=Rr(Ht,"2");r===jo&&(o.fromThen=!0),o.generated=!0,s.splice(t+1,0,o),this.detectEnd(t+2,this.indentCondition,this.indentAction),n===jo&&s.splice(t,1)}t++}},wt.prototype.tagPostfixConditionals=function(){var e=this,t=function(r,i,n){return r._type===Es||r._type===Ht},s=function(r,i,n,a){if(r._type!=Ht)if(a.unfinished){let o=Rr("EMPTY_BLOCK","");return n.splice(i,0,o)}else return Vh(a.original,"POST_"+a.original._type)};return e.scanTokens(function(r,i,n){var a=r._type;if(!(a=="IF"||a=="FOR"))return 1;let o=n[i-1]&&t(n[i-1]);return e.detectEnd(i+1,t,s,{original:r,unfinished:o}),1})},wt.prototype.type=function(e){throw"deprecated";var t},wt.prototype.injectToken=function(e,t){return this},wt.prototype.tokenType=function(e){if(e<0||e>=this._tokens.length)return null;var t=this._tokens[e];return t&&t._type};var pi=function(){var e=function(w,Ar,$,St){for($=$||{},St=w.length;St--;$[w[St]]=Ar);return $},t=[1,4],s=[1,6],r=[1,7],i=[1,16],n=[1,17],a=[1,42],o=[1,43],l=[1,44],p=[1,45],c=[1,84],d=[1,47],v=[1,49],f=[1,130],g=[1,48],y=[1,132],T=[1,112],_=[1,138],b=[1,139],m=[1,110],C=[1,129],k=[1,136],L=[1,142],x=[1,131],E=[1,143],N=[1,100],S=[1,101],D=[1,102],V=[1,103],M=[1,104],W=[1,105],Q=[1,106],le=[1,92],ae=[1,93],fe=[1,111],pe=[1,88],Je=[1,50],st=[1,19],se=[1,73],_e=[1,72],U=[1,107],de=[1,69],re=[1,128],P=[1,108],Ae=[1,37],Ne=[1,38],F=[1,115],J=[1,114],Z=[1,36],j=[1,135],ee=[1,89],te=[1,90],q=[1,91],I=[1,98],R=[1,51],O=[1,57],z=[1,64],B=[1,86],ie=[1,127],K=[1,109],ne=[1,137],ue=[1,79],he=[1,94],H=[1,122],G=[1,123],me=[1,124],Y=[1,140],X=[1,141],ge=[1,83],be=[1,121],Se=[1,68],xe=[1,70],ye=[1,71],we=[1,74],Te=[1,75],_t=[1,145],et=[1,6,15],_n=[1,6,13,14,15,31,32,43,47,65,93,103,112,145,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,305,306,310,311,312,316,318,319,327,331,334,335,336,342,343,344],Oe=[1,153],Pe=[1,150],Fe=[1,151],He=[1,155],ze=[1,156],Be=[1,158],Ze=[1,159],Ue=[1,160],Ce=[1,152],Ge=[1,154],Re=[1,157],wl=[1,163],Sl=[1,164],mn=[1,172],$e=[1,6,13,14,15,32,43,47,65,93,112,145,150,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,342,343,344],B1=[2,470],V1=[1,180],H1=[1,177],z1=[1,178],U1=[1,173],Y1=[1,179],Qs=[1,185],gn=[1,188],Tl=[1,6,14,15,31,32,43,65,91,94,128,147,163,164,176,177,178,179,180,181,183,184,185,189,212,213,214,255],qt=[1,6,15,310,312,318,319,335],kl=[1,6,15,25,39,88,90,91,93,114,223,224,279,289,290],El=[1,191],Al=[2,348],Nl=[1,194],ht=[1,200],Il=[1,202],q1=[1,212],K1=[1,213],ke=[1,219],Ee=[1,218],mt=[1,6,13,14,15,31,32,43,47,65,93,103,112,145,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,327,335,336,342,343,344],Ll=[2,368],Lt=[1,222],Rt=[1,223],W1=[1,6,13,14,15,31,32,43,47,65,93,103,112,145,147,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,327,335,336,342,343,344],Kt=[2,362],yn=[6,31,91,94,128,147,163,175,176,177,178,179,180,181,183,184,185,189,213,214],mi=[1,262],gi=[1,261],X1=[41,88,211],vn=[1,265],J1=[1,6,15,25,39,88,90,91,93,103,114,223,224,279,289,290],jt=[1,6,11,12,13,14,15,31,32,43,47,65,93,103,112,145,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,327,335,336,342,343,344],Z1=[1,273],br=[1,278],Rs=[1,279],Rl=[1,275],$t=[1,283],$s=[1,281],xa=[1,286],wa=[1,6,13,14,15,31,32,41,43,47,65,93,103,112,124,125,145,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,327,335,336,342,343,344],Cs=[1,6,11,12,13,14,15,31,32,43,47,62,65,93,103,108,112,145,147,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,287,294,298,310,311,312,318,319,327,335,336,340,341,342,343,344],Gr=[1,315],It=[1,316],$l=[1,318],Cl=[2,385],bn=[1,332],xn=[1,327],wn=[1,321],Sn=[1,326],Ol=[1,334],Dl=[1,336],Ml=[1,344],Pl=[1,6,11,12,13,14,15,31,32,41,43,47,62,65,88,91,93,103,108,112,145,147,150,151,152,164,174,186,196,200,202,211,212,219,222,230,231,241,253,255,256,265,277,287,294,298,310,311,312,318,319,327,335,336,340,341,342,343,344],Fl=[41,88,211,260,323],Sa=[1,6,11,12,13,14,15,31,32,43,47,65,93,103,109,110,111,112,145,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,327,335,336,342,343,344],Q1=[2,8],jl=[88,90,91],yi=[1,6,15,147],vi=[1,382],hr=[1,386],cr=[1,387],Tn=[1,398],Br=[1,400],Os=[1,402],bi=[1,6,13,14,15,32,43,47,65,93,112,145,150,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,342,343],Gl=[1,6,11,12,13,14,15,31,32,41,43,47,62,65,88,91,93,103,108,112,145,147,150,151,152,164,174,186,196,200,202,211,212,219,222,230,231,241,253,255,256,265,277,287,294,298,310,311,312,318,319,325,326,327,335,336,340,341,342,343,344],Ta=[1,6,13,14,15,32,43,47,65,93,112,145,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,343],Bl=[6,15,31,47,93,103,186,219,253,256,265,294],Vl=[1,414],ka=[1,419],gt=[6,31,91,94,128,147,163,176,177,178,179,180,181,183,184,185,189,213,214],xi=[1,441],wi=[1,440],Ea=[6,31,41,91,94,128,147,163,175,176,177,178,179,180,181,183,184,185,187,189,213,214],eo=[1,6,11,12,13,14,15,31,32,43,47,65,93,103,112,145,147,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,325,326,327,335,336,342,343,344],er=[6,14],At=[2,307],to=[1,446],kn=[6,14,15,65,164],Hl=[2,490],Vr=[1,453],Ds=[6,14,15,32,65,164,212,255],Aa=[2,311],En=[1,464],An=[1,465],zl=[1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,319,327,335],so=[1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,311,319,327,335],Si=[325,326],Na=[65,325,326],Ul=[1,6,13,15,32,43,47,65,93,112,145,150,151,152,164,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,342,343,344],Yl=[1,478],Ti=[1,6,11,12,13,14,15,32,43,47,65,93,103,112,145,150,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,342,343,344],Hr=[1,495],zr=[1,496],tr=[1,502],Ur=[1,491],ro=[1,488],Yr=[1,494],xr=[1,499],wr=[1,500],ql=[1,507],xt=[6,14,15,43,65],Ia=[6,14,15,43,65,145],Nn=[6,14,15,43,65,145,147],Kl=[65,230,231],Wl=[1,520],Xl=[2,304],Jl=[91,103],In=[11,12,31,41,65,88,91,103,200,211,230,231,241],Zl=[1,6,13,14,15,32,43,47,65,93,112,145,150,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,343],Ql=[1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,311,327],qr=[1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,310,311,312,318,319,327,335],ki=[1,538],Sr=[6,15,138,148,182],La=[1,6,13,14,15,32,43,47,65,93,112,145,150,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,316,318,319,327,334,335,336,342,343,344],Ra=[15,316,331],eh=[1,6,13,15,32,43,47,65,93,112,145,150,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,342,343,344],th=[1,6,13,14,15,25,31,32,39,43,47,65,88,90,91,93,103,112,114,145,147,150,151,152,164,174,186,196,200,202,212,219,222,223,224,230,231,253,255,256,265,277,279,289,290,294,298,310,311,312,318,319,327,335,336,342,343,344],Ms=[6,14,15],Ln=[2,308],io=[1,598],$a=[29,30,33,34,36,39,41,62,70,88,90,91,98,100,105,108,113,114,115,116,117,118,119,120,121,123,126,139,151,152,163,188,204,211,218,219,223,224,246,247,248,258,260,262,264,269,270,295,296,302,308,310,312,314,318,319,328,333,337,338,339,340,341],Rn=[1,603],$n=[1,604],sh=[1,6,11,12,13,14,15,31,32,41,43,47,62,65,88,91,93,103,108,109,110,111,112,145,147,150,151,152,164,174,186,196,200,202,211,212,219,222,230,231,241,253,255,256,265,277,287,294,298,310,311,312,318,319,327,335,336,340,341,342,343,344],no=[1,609],Ps=[32,65,222,230,231],rh=[32,65,147,222,230,231],ih=[1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,310,312,318,319,327,335],Gt=[6,15],nh=[1,634],ao=[1,637],oo=[1,638],ur=[6,15,47,93,186],Tr=[6,11,12,15,31,47,93,147,186,287],ah=[1,652],oh=[88,90,91,93,211],lh=[1,662],hh=[1,663],ch=[230,231],ls=[1,669],uh=[1,678],lo=[1,679],Wt=[1,709],Xt=[1,699],Jt=[1,706],Zt=[1,707],Qt=[1,708],es=[1,695],ts=[1,696],ss=[1,698],rs=[1,702],is=[1,703],ns=[1,704],as=[1,705],ph=[1,6,13,14,15,32,43,47,65,93,112,145,150,151,152,164,174,186,196,200,202,212,222,230,231,255,277,298,305,310,311,312,318,319,327,335,336,342,343,344],dh=[13,14,65],Ca=[1,724],kr=[1,726],Er=[1,728],Cn=[6,15,31,47,93,103,147,186,219,253],Ei=[1,786],fh=[1,6,13,14,15,32,43,47,65,93,112,138,145,148,150,151,152,164,174,182,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,342,343,344],_h=[1,799],mh=[6,15,65,138,148,182],Ai=[1,803],Ni=[1,804],Ii=[1,805],gh=[1,802],Oa=[6,15,41,62,65,105,138,148,150,151,152,155,163,166,167,168,169,170,171,172,173,174,182],Bt=[6,15,41,62,65,105,138,148,150,151,152,155,163,164,166,167,168,169,170,171,172,173,174,182],Da=[1,821],Fs=[6,14,15,32,65],Ma=[6,15,41,62,65,105,138,148,150,151,152,155,161,163,164,166,167,168,169,170,171,172,173,174,182],ho=[1,860],co=[1,861],yh=[1,875],vh=[65,164],bh=[1,878],Pa=[41,62,65,105,150,151,152,155,163,164,166,167,168,169,170,171,172,173,174],xh=[150,151,152,164],wh={trace:function(){},yy:{},symbols_:{error:2,Root:3,Body:4,Block:5,TERMINATOR:6,BODYSTART:7,Line:8,Terminator:9,Type:10,TYPE:11,GENERICS:12,EMPTY_BLOCK:13,INDENT:14,OUTDENT:15,CSSDeclaration:16,Expression:17,VarDecl:18,Comment:19,Statement:20,Decorators:21,ImportDeclaration:22,ExportDeclaration:23,GLOBAL:24,DECLARE:25,Return:26,Yield:27,Throw:28,STATEMENT:29,BREAK:30,CALL_START:31,CALL_END:32,CONTINUE:33,DEBUGGER:34,ExtendObject:35,EXTEND:36,Identifier:37,ClassBody:38,ENV_FLAG:39,EXPORT:40,"{":41,ImportSpecifierList:42,"}":43,FROM:44,String:45,EXPORT_ALL:46,AS:47,Exportable:48,DEFAULT:49,DefaultExportable:50,MethodDeclaration:51,Class:52,TagDeclaration:53,VarAssign:54,ImportOrExport:55,IMPORT:56,ImportDefaultSpecifier:57,TYPEIMPORT:58,ImportNamespaceSpecifier:59,IMPORT_COMMA:60,ImportFrom:61,STRING:62,IMPORT_ALL:63,ImportSpecifier:64,",":65,OptComma:66,DecoratorIdentifier:67,StyleMixinIdentifier:68,Require:69,REQUIRE:70,RequireArg:71,Literal:72,Parenthetical:73,Await:74,Value:75,Code:76,Operation:77,Assign:78,If:79,Ternary:80,Try:81,While:82,For:83,Switch:84,Tag:85,ExpressionBlock:86,Outdent:87,IDENTIFIER:88,SymbolIdentifier:89,SYMBOLID:90,"#":91,Interpolation:92,DECORATOR:93,CSS_MIXIN:94,Key:95,KEY:96,Argvar:97,ARGVAR:98,Symbol:99,SYMBOL:100,Decorator:101,Arguments:102,".":103,AlphaNumeric:104,NUMBER:105,UNIT:106,InterpolatedString:107,STRING_START:108,NEOSTRING:109,STRING_END:110,"{{":111,"}}":112,JS:113,REGEX:114,BOOL:115,TRUE:116,FALSE:117,NULL:118,UNDEFINED:119,RETURN:120,YIELD:121,Selector:122,SELECTOR_START:123,SELECTOR_PART:124,SELECTOR_END:125,TAG_START:126,TagOptions:127,TAG_END:128,TagBody:129,TagTypeName:130,Self:131,TAG_TYPE:132,TagIdentifier:133,StyleBlockDeclaration:134,CSS:135,CSS_SEL:136,StyleBody:137,CSS_END:138,LOCAL:139,StyleBlockBody:140,OptStyleBody:141,StyleNode:142,StyleDeclaration:143,StyleProperty:144,":":145,StyleExpressions:146,"=":147,CSSPROP:148,StyleOperator:149,MATH:150,"+":151,"-":152,StyleExpression:153,StyleTerm:154,"/":155,StyleValue:156,StyleOperation:157,StyleFunctionArgs:158,StyleFunctionArg:159,StyleTermPlaceholder:160,CSSUNIT:161,StyleParens:162,"(":163,")":164,StyleColor:165,COLOR:166,COLORMIX:167,CSSVAR:168,DIMENSION:169,PERCENTAGE:170,CSSURL:171,CSSFUNCTION:172,CSSIDENTIFIER:173,COMPARE:174,TAG_REF:175,TAG_ID:176,TAG_SYMBOL_ID:177,SYMBOL_ID:178,TAG_FLAG:179,TAG_ATTR:180,STYLE_START:181,STYLE_END:182,"T.":183,"T:":184,"T@":185,"@":186,TAG_LITERAL:187,UNARY:188,TAG_WS:189,ArgList:190,TagAttrValue:191,TagFlag:192,"%":193,TagPartIdentifier:194,VALUE_START:195,VALUE_END:196,TagBodyList:197,TagBodyItem:198,SEPARATOR:199,"...":200,Splat:201,LOGIC:202,TagDeclarationBlock:203,TAG:204,TagType:205,TagId:206,Assignable:207,AssignObj:208,ObjAssignable:209,SimpleObjAssignable:210,"[":211,"]":212,HERECOMMENT:213,COMMENT:214,Method:215,Do:216,Begin:217,BEGIN:218,DO:219,BLOCK_PARAM_START:220,ParamList:221,BLOCK_PARAM_END:222,STATIC:223,DEF:224,MethodScope:225,MethodScopeType:226,MethodIdentifier:227,MethodParams:228,MethodBody:229,DEF_BODY:230,DEF_EMPTY:231,This:232,OptSemicolon:233,";":234,Param:235,ParamExpression:236,ParamValue:237,Object:238,Array:239,ParamVar:240,BLOCK_ARG:241,SPLAT:242,GlobalDeclaration:243,GlobalAssignable:244,VarKeyword:245,VAR:246,LET:247,CONST:248,VarAssignable:249,SimpleAssignable:250,Access:251,SoakableOp:252,INDEX_START:253,IndexValue:254,INDEX_END:255,"?.":256,Super:257,SUPER:258,TaggedTemplate:259,AWAIT:260,Range:261,ARGUMENTS:262,Invocation:263,AMPER_REF:264,BANG:265,AssignList:266,ExpressionList:267,ClassStart:268,ABSTRACT:269,CLASS:270,ClassName:271,Class2:272,ClassStart2:273,ClassBodyBlock:274,ClassBodyLine:275,ClassDeclLine:276,RELATION:277,ClassFieldDeclaration:278,PROTECTED:279,ClassField:280,ClassFieldOp:281,AccessorBody:282,FieldDescriptorFull:283,FieldDescriptor:284,ClassFieldDecoration:285,WatchBody:286,COMPOUND_ASSIGN:287,ClassFieldIdentifier:288,PROP:289,ATTR:290,ClassFieldBody:291,WATCH:292,OptFuncExist:293,FUNC_EXIST:294,THIS:295,SELF:296,RangeDots:297,"..":298,Arg:299,DO_PLACEHOLDER:300,SimpleArgs:301,TRY:302,Catch:303,Finally:304,FINALLY:305,CATCH:306,CATCH_VAR:307,THROW:308,WhileSource:309,WHILE:310,WHEN:311,UNTIL:312,Loop:313,LOOP:314,ForBody:315,ELSE:316,ForKeyword:317,FOR:318,POST_FOR:319,ForStart:320,ForSource:321,ForVariables:322,OWN:323,ForValue:324,FORIN:325,FOROF:326,BY:327,SWITCH:328,Whens:329,When:330,LEADING_WHEN:331,IfBlock:332,IF:333,ELIF:334,POST_IF:335,"?":336,NEW:337,"---":338,"+++":339,"--":340,"++":341,EXP:342,SHIFT:343,NOT:344,$accept:0,$end:1},terminals_:{2:"error",6:"TERMINATOR",7:"BODYSTART",11:"TYPE",12:"GENERICS",13:"EMPTY_BLOCK",14:"INDENT",15:"OUTDENT",24:"GLOBAL",25:"DECLARE",29:"STATEMENT",30:"BREAK",31:"CALL_START",32:"CALL_END",33:"CONTINUE",34:"DEBUGGER",36:"EXTEND",39:"ENV_FLAG",40:"EXPORT",41:"{",43:"}",44:"FROM",46:"EXPORT_ALL",47:"AS",49:"DEFAULT",56:"IMPORT",58:"TYPEIMPORT",60:"IMPORT_COMMA",62:"STRING",63:"IMPORT_ALL",65:",",70:"REQUIRE",88:"IDENTIFIER",90:"SYMBOLID",91:"#",93:"DECORATOR",94:"CSS_MIXIN",96:"KEY",98:"ARGVAR",100:"SYMBOL",103:".",105:"NUMBER",106:"UNIT",108:"STRING_START",109:"NEOSTRING",110:"STRING_END",111:"{{",112:"}}",113:"JS",114:"REGEX",115:"BOOL",116:"TRUE",117:"FALSE",118:"NULL",119:"UNDEFINED",120:"RETURN",121:"YIELD",123:"SELECTOR_START",124:"SELECTOR_PART",125:"SELECTOR_END",126:"TAG_START",128:"TAG_END",132:"TAG_TYPE",135:"CSS",136:"CSS_SEL",138:"CSS_END",139:"LOCAL",145:":",147:"=",148:"CSSPROP",150:"MATH",151:"+",152:"-",155:"/",161:"CSSUNIT",163:"(",164:")",166:"COLOR",167:"COLORMIX",168:"CSSVAR",169:"DIMENSION",170:"PERCENTAGE",171:"CSSURL",172:"CSSFUNCTION",173:"CSSIDENTIFIER",174:"COMPARE",175:"TAG_REF",176:"TAG_ID",177:"TAG_SYMBOL_ID",178:"SYMBOL_ID",179:"TAG_FLAG",180:"TAG_ATTR",181:"STYLE_START",182:"STYLE_END",183:"T.",184:"T:",185:"T@",186:"@",187:"TAG_LITERAL",188:"UNARY",189:"TAG_WS",193:"%",194:"TagPartIdentifier",195:"VALUE_START",196:"VALUE_END",199:"SEPARATOR",200:"...",202:"LOGIC",204:"TAG",211:"[",212:"]",213:"HERECOMMENT",214:"COMMENT",218:"BEGIN",219:"DO",220:"BLOCK_PARAM_START",222:"BLOCK_PARAM_END",223:"STATIC",224:"DEF",230:"DEF_BODY",231:"DEF_EMPTY",234:";",241:"BLOCK_ARG",242:"SPLAT",246:"VAR",247:"LET",248:"CONST",253:"INDEX_START",255:"INDEX_END",256:"?.",258:"SUPER",260:"AWAIT",262:"ARGUMENTS",264:"AMPER_REF",265:"BANG",269:"ABSTRACT",270:"CLASS",277:"RELATION",279:"PROTECTED",287:"COMPOUND_ASSIGN",289:"PROP",290:"ATTR",292:"WATCH",294:"FUNC_EXIST",295:"THIS",296:"SELF",298:"..",300:"DO_PLACEHOLDER",302:"TRY",305:"FINALLY",306:"CATCH",307:"CATCH_VAR",308:"THROW",310:"WHILE",311:"WHEN",312:"UNTIL",314:"LOOP",316:"ELSE",318:"FOR",319:"POST_FOR",323:"OWN",325:"FORIN",326:"FOROF",327:"BY",328:"SWITCH",331:"LEADING_WHEN",333:"IF",334:"ELIF",335:"POST_IF",336:"?",337:"NEW",338:"---",339:"+++",340:"--",341:"++",342:"EXP",343:"SHIFT",344:"NOT"},productions_:[0,[3,0],[3,1],[3,2],[4,1],[4,1],[4,3],[4,2],[9,1],[10,1],[10,1],[5,1],[5,2],[5,3],[5,4],[5,3],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,2],[8,2],[20,1],[20,1],[20,1],[20,1],[20,1],[20,4],[20,1],[20,4],[20,1],[35,3],[23,2],[23,4],[23,6],[23,4],[23,6],[23,2],[23,3],[48,1],[48,1],[48,1],[48,1],[48,1],[48,2],[50,1],[50,2],[55,1],[55,1],[57,1],[22,2],[22,2],[22,4],[22,5],[22,4],[22,5],[22,6],[22,7],[22,6],[22,8],[61,1],[59,3],[42,1],[42,3],[42,4],[42,4],[42,5],[42,6],[64,1],[64,1],[64,1],[64,3],[64,1],[64,3],[69,2],[71,1],[71,1],[71,0],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[86,1],[86,3],[37,1],[89,1],[89,2],[67,1],[68,1],[95,1],[97,1],[99,1],[101,1],[101,2],[101,3],[21,1],[21,2],[104,2],[104,1],[104,1],[104,1],[104,1],[45,1],[107,1],[107,2],[107,2],[107,2],[92,2],[92,3],[72,1],[72,1],[72,1],[72,1],[72,1],[72,1],[72,1],[72,1],[26,2],[26,2],[26,1],[27,2],[27,2],[27,1],[122,1],[122,2],[122,4],[122,2],[85,3],[85,4],[130,1],[130,1],[130,1],[130,1],[130,0],[134,4],[16,1],[16,2],[140,3],[140,3],[141,0],[141,1],[137,1],[137,2],[137,3],[137,3],[142,1],[142,3],[143,3],[143,3],[144,1],[149,1],[149,1],[149,1],[146,1],[146,3],[153,1],[153,2],[153,2],[153,3],[156,1],[156,1],[157,3],[157,3],[158,1],[158,3],[159,1],[159,2],[159,2],[159,3],[160,3],[160,2],[162,3],[162,2],[165,1],[165,4],[154,1],[154,1],[154,1],[154,1],[154,1],[154,1],[154,1],[154,1],[154,1],[154,4],[154,1],[154,2],[127,2],[127,1],[127,2],[127,2],[127,2],[127,2],[127,2],[127,3],[127,4],[127,5],[127,2],[127,3],[127,3],[127,4],[127,4],[127,3],[127,3],[127,3],[127,3],[127,4],[127,3],[127,4],[127,2],[127,2],[127,2],[127,3],[133,1],[133,3],[133,2],[133,4],[192,1],[192,2],[191,3],[129,2],[129,3],[129,3],[129,3],[129,1],[197,1],[197,3],[197,4],[197,6],[197,4],[197,6],[198,1],[198,2],[198,1],[198,1],[198,1],[198,1],[53,1],[53,2],[53,2],[203,2],[203,3],[203,4],[203,5],[205,1],[206,2],[78,1],[78,3],[78,5],[208,2],[208,1],[208,1],[208,3],[208,5],[208,3],[208,5],[208,1],[210,1],[210,2],[210,1],[210,1],[209,1],[209,3],[209,3],[209,1],[19,1],[19,1],[76,1],[76,1],[76,1],[217,2],[216,2],[216,5],[215,1],[215,2],[51,6],[51,4],[228,1],[228,3],[226,1],[226,1],[227,1],[227,1],[227,1],[227,3],[227,2],[229,2],[229,3],[229,1],[225,1],[225,1],[225,1],[66,0],[66,1],[233,0],[233,1],[221,0],[221,1],[221,3],[236,1],[236,1],[236,1],[236,1],[236,1],[236,1],[237,1],[235,1],[235,1],[235,1],[235,2],[235,2],[235,3],[235,3],[235,3],[235,1],[240,1],[240,2],[201,2],[243,4],[243,2],[244,1],[244,2],[245,1],[245,1],[245,1],[249,1],[249,2],[249,1],[249,1],[18,2],[18,2],[54,3],[54,5],[250,1],[250,1],[250,1],[250,1],[250,1],[250,1],[250,2],[251,3],[251,3],[251,4],[251,5],[252,1],[252,1],[257,1],[207,1],[207,1],[207,1],[259,2],[259,2],[74,2],[75,1],[75,1],[75,1],[75,2],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,2],[254,1],[238,4],[266,0],[266,1],[266,3],[266,4],[266,6],[267,1],[267,3],[267,4],[267,4],[267,6],[52,1],[52,2],[52,2],[268,3],[268,2],[268,2],[268,4],[268,5],[268,4],[272,2],[272,2],[272,2],[273,2],[273,1],[273,1],[273,3],[273,4],[273,3],[271,1],[271,1],[271,1],[271,3],[271,3],[271,2],[38,2],[38,3],[38,4],[38,3],[274,1],[274,3],[274,2],[275,1],[275,1],[275,2],[275,1],[275,2],[275,1],[275,1],[276,2],[276,2],[276,1],[276,1],[276,2],[276,2],[276,2],[278,3],[278,1],[278,3],[278,2],[284,1],[284,4],[284,2],[284,4],[284,3],[283,1],[283,3],[283,2],[282,1],[282,1],[285,3],[286,1],[286,1],[281,1],[281,1],[280,1],[280,2],[280,2],[280,2],[280,3],[288,1],[288,1],[288,1],[291,3],[263,3],[263,2],[293,0],[293,1],[102,2],[102,4],[232,1],[131,1],[239,2],[239,4],[239,2],[297,1],[297,1],[261,5],[190,1],[190,3],[190,4],[190,6],[190,4],[190,6],[87,2],[87,1],[299,1],[299,2],[299,1],[299,1],[299,1],[301,1],[301,3],[81,2],[81,3],[81,3],[81,4],[304,2],[303,3],[303,2],[28,2],[73,3],[73,4],[73,2],[309,2],[309,4],[309,2],[309,4],[82,2],[82,2],[82,2],[82,1],[313,2],[313,2],[83,2],[83,2],[83,2],[83,4],[317,1],[317,1],[315,2],[315,2],[320,2],[320,3],[320,3],[324,1],[324,2],[324,1],[324,1],[322,1],[322,3],[322,5],[321,2],[321,2],[321,4],[321,4],[321,4],[321,6],[321,6],[84,5],[84,7],[84,4],[84,6],[329,1],[329,2],[330,3],[330,4],[332,3],[332,5],[332,4],[332,3],[79,1],[79,3],[79,3],[80,5],[77,2],[77,2],[77,2],[77,2],[77,2],[77,2],[77,2],[77,2],[77,2],[77,2],[77,3],[77,3],[77,3],[77,3],[77,3],[77,3],[77,3],[77,4],[77,3],[77,3],[77,5]],performAction:function(w,Ar,$,St,u){var h=u.length-1;switch(St){case 1:return w.$=new $.Root([]);case 2:return w.$=new $.Root(u[h]);case 3:return w.$=u[h-1];case 4:case 11:w.$=new $.Block([]);break;case 5:w.$=new $.Block([]).add(u[h]);break;case 6:case 424:w.$=u[h-2].break(u[h-1]).add(u[h]);break;case 7:case 425:w.$=u[h-1].break(u[h]);break;case 8:w.$=new $.Terminator(u[h]);break;case 9:w.$=new $.TypeAnnotation(u[h]);break;case 10:w.$=new $.Generics(u[h]);break;case 12:w.$=new $.Block([]).indented(u[h-1],u[h]);break;case 13:case 98:case 153:case 159:case 237:case 420:w.$=u[h-1].indented(u[h-2],u[h]);break;case 14:case 421:w.$=u[h-1].prebreak(u[h-2]).indented(u[h-3],u[h]);break;case 15:w.$=new $.Block([]).indented(u[h-2],u[h]);break;case 16:case 17:case 19:case 20:case 21:case 22:case 23:case 26:case 27:case 28:case 43:case 44:case 45:case 46:case 47:case 49:case 51:case 52:case 64:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 115:case 116:case 124:case 144:case 155:case 160:case 165:case 166:case 167:case 174:case 175:case 190:case 193:case 196:case 197:case 246:case 248:case 249:case 250:case 252:case 261:case 271:case 272:case 274:case 275:case 276:case 279:case 282:case 283:case 284:case 288:case 292:case 296:case 297:case 301:case 302:case 304:case 305:case 306:case 307:case 308:case 309:case 310:case 314:case 315:case 316:case 317:case 318:case 319:case 320:case 323:case 335:case 337:case 338:case 339:case 340:case 342:case 343:case 349:case 350:case 353:case 362:case 363:case 364:case 368:case 369:case 370:case 372:case 373:case 375:case 376:case 377:case 378:case 379:case 380:case 395:case 413:case 426:case 427:case 429:case 431:case 432:case 435:case 436:case 441:case 449:case 455:case 456:case 464:case 466:case 489:case 490:case 492:case 494:case 495:case 515:case 522:case 523:case 529:case 531:case 532:case 547:case 555:w.$=u[h];break;case 18:w.$=u[h].option("block",!0);break;case 24:case 48:case 50:w.$=$.GLOBAL(u[h],u[h-1]);break;case 25:case 438:w.$=$.DECLARE(u[h],u[h-1]);break;case 29:case 125:w.$=new $.Literal(u[h]);break;case 30:w.$=new $.BreakStatement(u[h]);break;case 31:w.$=new $.BreakStatement(u[h-3],u[h-1]);break;case 32:w.$=new $.ContinueStatement(u[h]);break;case 33:w.$=new $.ContinueStatement(u[h-3],u[h-1]);break;case 34:w.$=new $.DebuggerStatement(u[h]);break;case 35:w.$=new $.ExtendDeclaration(u[h-1],null,u[h]).set({instanceOnly:!0,extension:u[h-2]});break;case 36:case 54:case 439:w.$=u[h].addEnv(u[h-1]);break;case 37:w.$=new $.ExportNamedDeclaration(u[h-3],[u[h-1]]).setEnds(u[h-3],u[h]);break;case 38:w.$=new $.ExportNamedDeclaration(u[h-5],[u[h-3]],u[h]).setEnds(u[h-5],u[h]);break;case 39:w.$=new $.ExportAllDeclaration(u[h-3],[new $.ExportAllSpecifier(u[h-2])],u[h]).setEnds(u[h-3],u[h]);break;case 40:w.$=new $.ExportAllDeclaration(u[h-5],[new $.ExportAllSpecifier(u[h-4],u[h-2])],u[h]).setEnds(u[h-5],u[h]);break;case 41:w.$=new $.Export(u[h]).set({keyword:u[h-1]}).setEnds(u[h-1],u[h]);break;case 42:w.$=new $.Export(u[h]).set({keyword:u[h-2],default:u[h-1]}).setEnds(u[h-2],u[h]);break;case 53:w.$=new $.ImportDefaultSpecifier(u[h]);break;case 55:w.$=new $.ImportDeclaration(u[h-1],null,u[h]);break;case 56:case 58:w.$=new $.ImportDeclaration(u[h-3],[u[h-2]],u[h]);break;case 57:w.$=new $.ImportTypeDeclaration(u[h-4],[u[h-2]],u[h]);break;case 59:w.$=new $.ImportDeclaration(u[h-4],null,u[h]);break;case 60:w.$=new $.ImportDeclaration(u[h-5],[u[h-3]],u[h]);break;case 61:w.$=new $.ImportTypeDeclaration(u[h-6],[u[h-3]],u[h]);break;case 62:w.$=new $.ImportDeclaration(u[h-5],[u[h-4],u[h-2]],u[h]);break;case 63:w.$=new $.ImportDeclaration(u[h-7],[u[h-6],u[h-3]],u[h]);break;case 65:w.$=new $.ImportNamespaceSpecifier(new $.Literal(u[h-2]),u[h]);break;case 66:w.$=new $.ESMSpecifierList([]).add(u[h]);break;case 67:case 109:case 158:case 169:case 179:case 241:case 387:case 391:case 448:case 483:w.$=u[h-2].add(u[h]);break;case 68:w.$=u[h-3].add(u[h]);break;case 69:case 209:w.$=u[h-2];break;case 70:w.$=u[h-3];break;case 71:case 245:case 394:case 487:w.$=u[h-5].concat(u[h-2]);break;case 72:case 73:case 74:w.$=new $.ImportSpecifier(u[h]);break;case 75:w.$=new $.ImportSpecifier(u[h-2],u[h]);break;case 76:w.$=new $.ImportSpecifier(new $.Literal(u[h]));break;case 77:w.$=new $.ImportSpecifier(new $.Literal(u[h-2]),u[h]);break;case 78:w.$=new $.Require(u[h]).set({keyword:u[h-1]});break;case 99:case 104:w.$=new $.Identifier(u[h]);break;case 100:w.$=new $.SymbolIdentifier(u[h]);break;case 101:w.$=new $.InterpolatedSymbolIdentifier(u[h-1],u[h]);break;case 102:w.$=new $.DecoratorIdentifier(u[h]);break;case 103:w.$=new $.MixinIdentifier(u[h]);break;case 105:w.$=new $.Argvar(u[h]).setEnds(u[h],u[h]);break;case 106:w.$=new $.Symbol(u[h]);break;case 107:w.$=new $.Decorator(u[h]);break;case 108:w.$=new $.Decorator(u[h-1]).set({params:u[h]});break;case 110:case 312:case 533:w.$=[u[h]];break;case 111:case 548:w.$=u[h-1].concat(u[h]);break;case 112:w.$=new $.NumWithUnit(u[h-1],u[h]);break;case 113:w.$=new $.Num(u[h]);break;case 114:case 117:w.$=new $.Str(u[h]);break;case 118:w.$=new $.InterpolatedString([],{open:u[h]});break;case 119:case 139:case 157:case 171:case 172:case 181:case 182:case 230:case 233:w.$=u[h-1].add(u[h]);break;case 120:w.$=u[h]?u[h-1].add(u[h]):u[h-1];break;case 121:case 141:w.$=u[h-1].option("close",u[h]);break;case 122:w.$=null;break;case 123:case 225:case 226:case 234:case 238:case 293:case 488:w.$=u[h-1];break;case 126:w.$=new $.RegExp(u[h]);break;case 127:w.$=new $.Bool(u[h]);break;case 128:w.$=new $.True(u[h]);break;case 129:w.$=new $.False(u[h]);break;case 130:w.$=new $.Nil(u[h]);break;case 131:w.$=new $.Undefined(u[h]);break;case 132:case 133:w.$=new $.Return(u[h]).set({keyword:u[h-1]});break;case 134:w.$=new $.Return().set({keyword:u[h]});break;case 135:case 136:w.$=new $.Yield(u[h]).set({keyword:u[h-1]});break;case 137:w.$=new $.Yield().set({keyword:u[h]});break;case 138:w.$=new $.Selector([],{type:u[h],open:u[h]});break;case 140:case 231:w.$=u[h-3].add(u[h-1]);break;case 142:w.$=u[h-1].setEnds({open:u[h-2],close:u[h]}).setEnds(u[h-2],u[h]);break;case 143:w.$=u[h-2].set({body:u[h],open:u[h-3],close:u[h-1]});break;case 145:case 146:case 259:w.$=new $.TagTypeIdentifier(u[h]);break;case 147:w.$=new $.ExpressionNode(u[h]);break;case 148:w.$=new $.TagTypeIdentifier("div");break;case 149:w.$=new $.StyleRuleSet(u[h-2],u[h-1]).set({name:u[h-3]});break;case 150:w.$=u[h].set({toplevel:!0});break;case 151:w.$=u[h].set({local:u[h-1]});break;case 152:w.$=new $.StyleBody([]).indented(u[h-2],u[h]);break;case 154:w.$=new $.StyleBody([]);break;case 156:w.$=new $.StyleBody([u[h]]);break;case 161:w.$=new $.StyleRuleSet(u[h-2],u[h-1]);break;case 162:case 163:w.$=new $.StyleDeclaration(u[h-2],u[h].set({parens:!1}));break;case 164:w.$=new $.StyleProperty([u[h]]);break;case 168:case 178:w.$=new $.StyleExpressions([u[h]]);break;case 170:case 180:w.$=new $.StyleExpression().add(u[h]);break;case 173:case 183:w.$=u[h-2].addParam(u[h],u[h-1]);break;case 176:w.$=new $.StyleOperation([u[h-2],u[h-1],u[h]]);break;case 177:w.$=u[h-2].add([u[h-1],u[h]]);break;case 184:w.$=new $.StyleInterpolationExpression(u[h-1]).setEnds(u[h-2],u[h]);break;case 185:case 187:w.$=u[h-1].set({unit:u[h]});break;case 186:w.$=new $.StyleParens(u[h-1]).setEnds(u[h-2],u[h]);break;case 188:w.$=new $.StyleColor(u[h]);break;case 189:w.$=new $.StyleColorMix(u[h-3],u[h-1].setEnds(u[h-2],u[h])).set({params:u[h-1]}).setEnds(u[h-3],u[h]);break;case 191:w.$=new $.StyleVar(u[h]);break;case 192:case 194:w.$=new $.StyleDimension(u[h]);break;case 195:w.$=new $.StyleNumber(u[h]);break;case 198:w.$=new $.StyleURL(u[h]);break;case 199:w.$=new $.StyleFunction(u[h-3],u[h-1].setEnds(u[h-2],u[h])).setEnds(u[h-3],u[h]);break;case 200:w.$=new $.StyleIdentifier(u[h]);break;case 201:w.$=u[h].set({op:u[h-1]});break;case 202:w.$=new $.Tag({type:u[h-1],reference:u[h]});break;case 203:w.$=new $.Tag({type:u[h]});break;case 204:w.$=u[h-1].addPart(u[h],$.TagId);break;case 205:case 206:w.$=u[h-1].addPart(new $.IdentifierExpression(u[h].cloneSlice(1)),$.TagId);break;case 207:w.$=u[h-1].addPart(u[h],$.TagFlag);break;case 208:w.$=u[h-1].addPart(u[h],$.TagAttr);break;case 210:w.$=u[h-3].addPart(new $.StyleRuleSet(null,u[h-1]),$.TagFlag);break;case 211:w.$=u[h-4].addPart(new $.StyleRuleSet(null,u[h-1]),$.TagFlag);break;case 212:w.$=u[h-1].addPart(new $.MixinIdentifier(u[h]),$.TagFlag);break;case 213:case 214:w.$=u[h-2].addPart(u[h],$.TagHandler);break;case 215:w.$=u[h-3].addPart(u[h].prepend("_"),$.TagFlag);break;case 216:w.$=u[h-3].addPart(u[h].prepend("!"),$.TagFlag);break;case 217:w.$=u[h-2].addPart(u[h],$.TagFlag);break;case 218:w.$=u[h-2].addPart(u[h],$.TagId);break;case 219:w.$=u[h-2].addPart(u[h-1],$.TagSep).addPart(u[h],$.TagAttr);break;case 220:w.$=u[h-2].addPart(new $.ArgList([]),$.TagArgList);break;case 221:case 223:w.$=u[h-3].addPart(u[h-1],$.TagArgList);break;case 222:w.$=u[h-2].addPart(null,$.TagArgList);break;case 224:w.$=u[h-1].addPart(u[h],$.TagSep);break;case 227:w.$=u[h-2].addPart(u[h],$.TagAttrValue,u[h-1]);break;case 228:w.$=new $.IdentifierExpression(u[h]);break;case 229:case 277:case 278:w.$=new $.IdentifierExpression(u[h-1]);break;case 232:w.$=new $.TagFlag;break;case 235:w.$=new $.TagBody([]).indented(u[h-1],u[h]);break;case 236:w.$=new $.TagBody([]).indented(u[h-2],u[h]);break;case 239:w.$=new $.TagBody([u[h]]);break;case 240:w.$=new $.TagBody([]).add(u[h]);break;case 242:case 388:case 392:case 484:w.$=u[h-3].add(u[h-1]).add(u[h]);break;case 243:case 485:w.$=u[h-5].add(u[h-1]).add(u[h]);break;case 244:case 393:case 486:w.$=u[h-2].indented(u[h-3],u[h]);break;case 247:case 491:w.$=new $.Splat(u[h]).set({keyword:u[h-1]});break;case 251:w.$=u[h].set({inTagTree:!0});break;case 253:w.$=u[h].set({extension:!0});break;case 254:w.$=u[h].set({local:!0});break;case 255:w.$=new $.TagDeclaration(u[h]).set({keyword:u[h-1]});break;case 256:w.$=new $.TagDeclaration(u[h-1],null,u[h]).set({keyword:u[h-2]});break;case 257:w.$=new $.TagDeclaration(u[h-2],u[h]).set({keyword:u[h-3],extends:u[h-1]});break;case 258:w.$=new $.TagDeclaration(u[h-3],u[h-1],u[h]).set({keyword:u[h-4],extends:u[h-2]});break;case 260:w.$=new $.TagIdRef(u[h]);break;case 262:w.$=new $.Assign(u[h-1],u[h-2],u[h]).setEnds(u[h-2],u[h]);break;case 263:case 347:w.$=new $.Assign(u[h-3],u[h-4],u[h-1].indented(u[h-2],u[h]));break;case 264:w.$=new $.ObjRestAttr(u[h]).set({spread:u[h-1]});break;case 265:w.$=u[h].set({inObject:!0});break;case 266:w.$=new $.ObjAttr(u[h]);break;case 267:w.$=new $.ObjAttr(u[h-2],u[h]);break;case 268:w.$=new $.ObjAttr(u[h-4],u[h-1].indented(u[h-2],u[h]));break;case 269:w.$=new $.ObjAttr(u[h-2],null,u[h]);break;case 270:w.$=new $.ObjAttr(u[h-4],null,u[h-1].indented(u[h-2],u[h]));break;case 273:case 300:case 336:case 341:case 354:case 371:case 418:case 462:case 478:case 507:case 530:w.$=$.SETTYPE(u[h-1],u[h]);break;case 280:w.$=new $.Comment(u[h],!0);break;case 281:w.$=new $.Comment(u[h],!1);break;case 285:w.$=new $.Begin(u[h]);break;case 286:w.$=new $.Lambda([],u[h],null,null,{bound:!0,keyword:u[h-1]});break;case 287:w.$=new $.Lambda(u[h-2],u[h],null,null,{bound:!0,keyword:u[h-4]});break;case 289:case 345:case 433:case 434:w.$=u[h].set({static:u[h-1]});break;case 290:w.$=new $.MethodDeclaration(u[h-1],u[h],u[h-2],u[h-4],u[h-3]).set({def:u[h-5],keyword:u[h-5],datatype:u[h-2].option("datatype")});break;case 291:w.$=new $.MethodDeclaration(u[h-1],u[h],u[h-2],null).set({def:u[h-3],keyword:u[h-3],datatype:u[h-2].option("datatype")});break;case 294:w.$={static:!0};break;case 295:w.$={};break;case 298:w.$=u[h].set({as:"property"});break;case 299:w.$=new $.InterpolatedIdentifier(u[h-1]);break;case 303:w.$=new $.Block([]).set({end:u[h]._loc});break;case 311:w.$=[];break;case 313:w.$=u[h-2].concat(u[h]);break;case 321:case 322:case 330:w.$=new $.Param(u[h]);break;case 324:w.$=u[h].set({splat:u[h-1]});break;case 325:w.$=u[h].set({blk:u[h-1]});break;case 326:w.$=new $.Param(u[h-2].value(),u[h]).set({datatype:u[h-2].option("datatype")});break;case 327:case 328:w.$=new $.Param(u[h-2],u[h]);break;case 329:w.$=new $.RestParam(u[h]);break;case 331:w.$=$.SETTYPE(new $.Param(u[h-1]),u[h]);break;case 332:w.$=$.SPLAT(u[h]);break;case 333:w.$=new $.GlobalDeclaration(u[h-2],u[h]).set({keyword:u[h-3],op:u[h-1]});break;case 334:w.$=new $.GlobalDeclaration(u[h]).set({keyword:u[h-1]});break;case 344:w.$=new $.VarReference(u[h],u[h-1]);break;case 346:w.$=new $.Assign(u[h-1],u[h-2],u[h]);break;case 348:w.$=new $.EnvFlag(u[h]);break;case 351:case 414:w.$=new $.VarOrAccess(u[h]);break;case 352:case 415:w.$=new $.Access(".",null,u[h]);break;case 355:case 416:case 578:w.$=$.OP(u[h-1],u[h-2],u[h]);break;case 356:case 417:w.$=new $.IndexAccess(u[h-1],u[h-2],u[h]);break;case 357:w.$=new $.IndexAccess(".",u[h-3],u[h-1].setEnds(u[h-2],u[h]));break;case 358:w.$=$.OP(u[h-3],u[h-4],u[h-1]);break;case 361:w.$=new $.Super(u[h]);break;case 365:case 366:w.$=new $.TaggedTemplate(u[h-1],u[h]);break;case 367:w.$=new $.Await(u[h]).set({keyword:u[h-1]});break;case 374:w.$=$.ARGUMENTS;break;case 381:w.$=new $.AmperRef(u[h]);break;case 382:w.$=new $.BangCall(u[h-1]).set({keyword:u[h]});break;case 383:w.$=new $.Index(u[h]);break;case 384:w.$=new $.Obj(u[h-2],u[h-3].generated).setEnds(u[h-3],u[h]);break;case 385:w.$=new $.AssignList([]);break;case 386:w.$=new $.AssignList([u[h]]);break;case 389:w.$=u[h-5].concat(u[h-2].indented(u[h-3],u[h]));break;case 390:w.$=new $.ExpressionList([]).add(u[h]);break;case 396:case 405:w.$=u[h].set({abstract:u[h-1]});break;case 397:case 406:w.$=u[h].set({extension:u[h-1]});break;case 398:w.$=new $.ClassDeclaration(u[h-1],null,u[h]).set({keyword:u[h-2]});break;case 399:w.$=new $.ClassDeclaration(u[h],null,[]).set({keyword:u[h-1]});break;case 400:w.$=new $.ClassDeclaration(null,null,u[h]).set({keyword:u[h-1]});break;case 401:w.$=new $.ClassDeclaration(u[h-2],u[h],[]).set({keyword:u[h-3],extends:u[h-1]});break;case 402:w.$=new $.ClassDeclaration(u[h-3],u[h-1],u[h]).set({keyword:u[h-4],extends:u[h-2]});break;case 403:w.$=new $.ClassDeclaration(null,u[h-1],u[h]).set({keyword:u[h-3],extends:u[h-2]});break;case 404:w.$=u[h].set({keyword:u[h-1]});break;case 407:w.$=new $.ClassDeclaration(u[h-1],null,u[h]);break;case 408:w.$=new $.ClassDeclaration(u[h],null,[]);break;case 409:w.$=new $.ClassDeclaration(null,null,u[h]);break;case 410:w.$=new $.ClassDeclaration(u[h-2],u[h],[]).set({extends:u[h-1]});break;case 411:w.$=new $.ClassDeclaration(u[h-3],u[h-1],u[h]).set({extends:u[h-2]});break;case 412:w.$=new $.ClassDeclaration(null,u[h-1],u[h]).set({extends:u[h-2]});break;case 419:w.$=new $.ClassBody([]).indented(u[h-1],u[h]);break;case 422:w.$=new $.ClassBody([]).indented(u[h-2],u[h]);break;case 423:w.$=new $.ClassBody([]).add(u[h]);break;case 428:w.$=u[h-1].concat([u[h]]);break;case 430:w.$=new $.ClassRelation(u[h]).set({keyword:u[h-1]});break;case 437:w.$=u[h].set({protected:u[h-1]});break;case 440:w.$=u[h-2].set({value:u[h],op:u[h-1]});break;case 442:w.$=u[h-2].set({wrapper:u[h]});break;case 443:w.$=u[h-1].set({wrapper:u[h]});break;case 444:w.$=new $.Descriptor(u[h]);break;case 445:w.$=new $.Descriptor(u[h-1]);break;case 446:w.$=u[h-1].add(u[h],"!");break;case 447:w.$=u[h-3].add(u[h-1],"=");break;case 450:w.$=u[h-2].set({default:u[h]});break;case 451:w.$=u[h-1].set({callback:u[h]});break;case 454:w.$=u[h-2].set({watch:u[h]});break;case 459:w.$=new $.ClassField(u[h]);break;case 460:w.$=new $.ClassProperty(u[h]).set({keyword:u[h-1]});break;case 461:w.$=new $.ClassAttribute(u[h]).set({keyword:u[h-1]});break;case 463:w.$=u[h-2].set({controller:u[h-1]});break;case 465:w.$=new $.RegExpIdentifier(u[h]);break;case 467:w.$=[u[h-2],u[h-1]];break;case 468:w.$=new $.Call(u[h-2],u[h],u[h-1]);break;case 469:w.$=u[h-1].addBlock(u[h]);break;case 470:w.$=!1;break;case 471:w.$=!0;break;case 472:w.$=new $.ArgList([]).setEnds(u[h-1],u[h]);break;case 473:w.$=u[h-2].setEnds(u[h-3],u[h]);break;case 474:w.$=new $.This(u[h]);break;case 475:w.$=new $.Self(u[h]);break;case 476:w.$=new $.Arr(new $.ArgList([])).setEnds(u[h-1],u[h]);break;case 477:w.$=new $.Arr(u[h-2]).setEnds(u[h-3],u[h]);break;case 479:w.$="..";break;case 480:w.$="...";break;case 481:w.$=$.OP(u[h-2],u[h-3],u[h-1]);break;case 482:w.$=new $.ArgList([u[h]]);break;case 493:w.$=new $.DoPlaceholder(u[h]);break;case 496:w.$=[].concat(u[h-2],u[h]);break;case 497:w.$=new $.Try(u[h]);break;case 498:w.$=new $.Try(u[h-1],u[h]);break;case 499:w.$=new $.Try(u[h-1],null,u[h]);break;case 500:w.$=new $.Try(u[h-2],u[h-1],u[h]);break;case 501:w.$=new $.Finally(u[h]);break;case 502:w.$=new $.Catch(u[h],u[h-1]);break;case 503:w.$=new $.Catch(u[h],null);break;case 504:w.$=new $.Throw(u[h]);break;case 505:w.$=new $.Parens(u[h-1],u[h-2],u[h]);break;case 506:w.$=new $.ExpressionWithUnit(new $.Parens(u[h-2],u[h-3],u[h-1]),u[h]);break;case 508:w.$=new $.While(u[h],{keyword:u[h-1]});break;case 509:w.$=new $.While(u[h-2],{guard:u[h],keyword:u[h-3]});break;case 510:w.$=new $.While(u[h],{invert:!0,keyword:u[h-1]});break;case 511:w.$=new $.While(u[h-2],{invert:!0,guard:u[h],keyword:u[h-3]});break;case 512:case 520:w.$=u[h-1].addBody(u[h]);break;case 513:case 514:w.$=u[h].addBody($.Block.wrap([u[h-1]]));break;case 516:w.$=new $.While(new $.Literal("true",{keyword:u[h-1]})).addBody(u[h]);break;case 517:w.$=new $.While(new $.Literal("true",{keyword:u[h-1]})).addBody($.Block.wrap([u[h]]));break;case 518:case 519:w.$=u[h].addBody([u[h-1]]);break;case 521:w.$=u[h-3].addBody(u[h-2]).addElse(u[h]);break;case 524:w.$={source:new $.ValueNode(u[h])};break;case 525:w.$=u[h].configure({own:u[h-1].own,await:u[h-1].await,name:u[h-1][0],index:u[h-1][1],keyword:u[h-1].keyword,params:u[h-1]});break;case 526:w.$=(u[h].keyword=u[h-1])&&u[h];break;case 527:w.$=(u[h].await=u[h-1])&&(u[h].keyword=u[h-2])&&u[h];break;case 528:w.$=(u[h].own=!0)&&(u[h].keyword=u[h-2])&&u[h];break;case 534:w.$=[u[h-2],u[h]];break;case 535:w.$=[u[h-4],u[h-2],u[h]];break;case 536:w.$=new $.ForIn({source:u[h]});break;case 537:w.$=new $.ForOf({source:u[h],object:!0});break;case 538:w.$=new $.ForIn({source:u[h-2],guard:u[h]});break;case 539:w.$=new $.ForOf({source:u[h-2],guard:u[h],object:!0});break;case 540:w.$=new $.ForIn({source:u[h-2],step:u[h]});break;case 541:w.$=new $.ForIn({source:u[h-4],guard:u[h-2],step:u[h]});break;case 542:w.$=new $.ForIn({source:u[h-4],step:u[h-2],guard:u[h]});break;case 543:w.$=new $.Switch(u[h-3],u[h-1]);break;case 544:w.$=new $.Switch(u[h-5],u[h-3],u[h-1]);break;case 545:w.$=new $.Switch(null,u[h-1]);break;case 546:w.$=new $.Switch(null,u[h-3],u[h-1]);break;case 549:w.$=[new $.SwitchCase(u[h-1],u[h])];break;case 550:w.$=[new $.SwitchCase(u[h-2],u[h-1])];break;case 551:w.$=new $.If(u[h-1],u[h],{type:u[h-2]});break;case 552:w.$=u[h-4].addElse(new $.If(u[h-1],u[h],{type:u[h-2]}));break;case 553:w.$=u[h-3].addElse(new $.If(u[h-1],u[h],{type:u[h-2]}));break;case 554:w.$=u[h-2].addElse(u[h].set({keyword:u[h-1]}));break;case 556:w.$=new $.If(u[h],new $.Block([u[h-2]]),{type:u[h-1],statement:!0});break;case 557:w.$=new $.If(u[h],new $.Block([u[h-2]]),{type:u[h-1]});break;case 558:w.$=$.If.ternary(u[h-4],u[h-2],u[h]);break;case 559:w.$=$.Instantiation.for(u[h],u[h-1]).setEnds(u[h-1],u[h]);break;case 560:case 561:case 562:case 563:case 564:w.$=$.OP(u[h-1],u[h]).setEnds(u[h-1],u[h]);break;case 565:case 566:w.$=new $.UnaryOp(u[h-1],null,u[h]).setEnds(u[h-1],u[h]);break;case 567:case 568:w.$=new $.UnaryOp(u[h],u[h-1],null,!0).setEnds(u[h-1],u[h]);break;case 569:case 570:w.$=new $.Op(u[h-1],u[h-2],u[h]).setEnds(u[h-2],u[h]);break;case 571:case 572:case 573:case 574:case 575:case 577:w.$=$.OP(u[h-1],u[h-2],u[h]).setEnds(u[h-2],u[h]);break;case 576:w.$=$.OP(u[h-1],u[h-3],u[h]).invert(u[h-2]);break;case 579:w.$=$.OP(u[h-3],u[h-4],u[h-1].indented(u[h-2],u[h]));break}},table:[{1:[2,1],3:1,4:2,5:3,7:t,8:5,13:s,14:r,16:8,17:9,18:10,19:11,20:12,21:13,22:14,23:15,24:i,25:n,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:d,40:v,41:f,51:113,52:32,53:33,54:77,56:g,62:y,67:95,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,93:C,97:116,98:k,99:133,100:L,101:46,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:18,135:Je,139:st,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{1:[3]},{1:[2,2],6:_t,9:144},{6:[1,146]},e(et,[2,4]),e(et,[2,5]),e(_n,[2,11]),{4:148,6:[1,149],7:t,8:5,15:[1,147],16:8,17:9,18:10,19:11,20:12,21:13,22:14,23:15,24:i,25:n,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:d,40:v,41:f,51:113,52:32,53:33,54:77,56:g,62:y,67:95,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,93:C,97:116,98:k,99:133,100:L,101:46,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:18,135:Je,139:st,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(et,[2,16]),e(et,[2,17],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(et,[2,18],{147:wl}),e(et,[2,19]),e(et,[2,20],{317:125,320:126,309:165,315:166,310:H,312:G,318:Y,319:X,335:Sl}),e(et,[2,21],{67:95,101:167,93:C}),e(et,[2,22]),e(et,[2,23]),{8:168,16:8,17:9,18:10,19:11,20:12,21:13,22:14,23:15,24:i,25:n,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:d,40:v,41:f,51:113,52:32,53:33,54:77,56:g,62:y,67:95,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,93:C,97:116,98:k,99:133,100:L,101:46,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:18,135:Je,139:st,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{8:169,16:8,17:9,18:10,19:11,20:12,21:13,22:14,23:15,24:i,25:n,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:d,40:v,41:f,51:113,52:32,53:33,54:77,56:g,62:y,67:95,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,93:C,97:116,98:k,99:133,100:L,101:46,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:18,135:Je,139:st,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(et,[2,150]),{16:170,134:18,135:Je,139:mn,203:171,204:re},e($e,[2,82]),e($e,[2,83],{293:174,216:175,252:176,31:B1,103:V1,219:J,253:H1,256:z1,265:U1,294:Y1}),e($e,[2,84]),e($e,[2,85]),e($e,[2,86]),e($e,[2,87]),e($e,[2,88]),e($e,[2,89]),e($e,[2,90]),e($e,[2,91]),e($e,[2,92]),e($e,[2,93]),e($e,[2,94]),e($e,[2,95]),e($e,[2,96]),{37:182,41:f,88:_,211:Qs,238:184,239:183,249:181},{18:186,51:187,223:gn,224:j,245:35,246:ee,247:te,248:q},e(Tl,[2,280]),e(Tl,[2,281]),e(qt,[2,26]),e(qt,[2,27]),e(qt,[2,28]),e(qt,[2,29]),e(qt,[2,30],{31:[1,189]}),e(qt,[2,32],{31:[1,190]}),e(qt,[2,34]),e(kl,[2,110],{103:El}),e([1,6,11,12,15,31,62,103,108,147,150,151,152,174,202,219,253,256,265,277,287,294,310,312,318,319,335,336,340,341,342,343,344],Al,{22:192,23:193,39:Nl,40:v,56:g}),{37:201,41:[1,199],45:195,57:196,58:[1,197],59:198,62:ht,63:Il,88:_},{16:209,18:214,24:q1,36:K1,41:[1,203],46:[1,204],48:205,49:[1,206],51:207,52:208,53:210,54:211,134:18,135:Je,139:st,203:87,204:re,223:gn,224:j,245:35,246:ee,247:te,248:q,268:85,269:B,270:ie},{136:[1,215]},{17:216,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(mt,Ll,{147:[1,220]}),e(mt,[2,369]),e(mt,[2,370],{10:221,11:Lt,12:Rt}),e(mt,[2,372],{10:224,11:Lt,12:Rt}),e(mt,[2,373]),e(mt,[2,374]),e(mt,[2,375]),e(mt,[2,376]),e(mt,[2,377],{41:[1,226],124:[1,225],125:[1,227]}),e(mt,[2,378]),e(mt,[2,379]),e(mt,[2,380]),e(mt,[2,381]),e($e,[2,282]),e($e,[2,283]),e($e,[2,284]),{17:228,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:229,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:230,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:231,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:232,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:233,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{37:118,39:ke,41:f,62:y,69:63,70:T,72:54,73:55,75:235,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,122:60,123:fe,131:117,163:U,206:59,207:236,211:P,232:58,238:97,239:96,250:234,251:120,257:53,258:I,259:62,261:56,262:O,263:61,264:z,295:K,296:ne},{37:118,39:ke,41:f,62:y,69:63,70:T,72:54,73:55,75:235,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,122:60,123:fe,131:117,163:U,206:59,207:236,211:P,232:58,238:97,239:96,250:237,251:120,257:53,258:I,259:62,261:56,262:O,263:61,264:z,295:K,296:ne},e(W1,Kt,{107:241,45:242,10:243,11:Lt,12:Rt,62:ht,108:E,287:[1,240],340:[1,238],341:[1,239]}),e($e,[2,261]),e($e,[2,555],{316:[1,244],334:[1,245]}),{5:246,13:s,14:r},{5:247,13:s,14:r},e($e,[2,515]),{5:248,13:s,14:r},{14:[1,250],17:249,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{37:251,88:_,203:253,204:re,268:252,270:ie},e($e,[2,395]),{268:254,270:ie},e($e,[2,252]),e(yn,[2,148],{127:255,130:256,131:257,133:260,41:mi,88:[1,258],132:[1,259],187:gi,296:ne}),e(X1,[2,337]),e(X1,[2,338]),e(X1,[2,339]),e(qt,[2,134],{74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,35:31,52:32,53:33,85:34,245:35,26:39,27:40,28:41,207:52,257:53,72:54,73:55,261:56,232:58,206:59,122:60,263:61,259:62,69:63,215:65,216:66,217:67,250:76,54:77,332:78,309:80,313:81,315:82,268:85,203:87,239:96,238:97,104:99,51:113,97:116,131:117,37:118,89:119,251:120,317:125,320:126,99:133,107:134,18:214,20:217,17:263,102:264,29:a,30:o,31:vn,33:l,34:p,36:c,39:ke,41:f,62:y,70:T,88:_,90:b,91:m,98:k,100:L,105:x,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,123:fe,126:pe,139:Ee,151:se,152:_e,163:U,188:de,204:re,211:P,218:F,219:J,223:Z,224:j,246:ee,247:te,248:q,258:I,260:R,262:O,264:z,269:B,270:ie,295:K,296:ne,302:ue,308:he,314:me,328:ge,333:be,337:Se,338:xe,339:ye,340:we,341:Te}),e(qt,[2,137],{74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,35:31,52:32,53:33,85:34,245:35,26:39,27:40,28:41,207:52,257:53,72:54,73:55,261:56,232:58,206:59,122:60,263:61,259:62,69:63,215:65,216:66,217:67,250:76,54:77,332:78,309:80,313:81,315:82,268:85,203:87,239:96,238:97,104:99,51:113,97:116,131:117,37:118,89:119,251:120,317:125,320:126,99:133,107:134,18:214,20:217,17:266,102:267,29:a,30:o,31:vn,33:l,34:p,36:c,39:ke,41:f,62:y,70:T,88:_,90:b,91:m,98:k,100:L,105:x,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,123:fe,126:pe,139:Ee,151:se,152:_e,163:U,188:de,204:re,211:P,218:F,219:J,223:Z,224:j,246:ee,247:te,248:q,258:I,260:R,262:O,264:z,269:B,270:ie,295:K,296:ne,302:ue,308:he,314:me,328:ge,333:be,337:Se,338:xe,339:ye,340:we,341:Te}),{17:268,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(J1,[2,107],{102:269,31:vn}),e(W1,[2,363],{10:270,11:Lt,12:Rt}),e(W1,[2,364]),e(mt,[2,361]),e(jt,[2,124]),e(jt,[2,125]),e(jt,[2,126]),e(jt,[2,127]),e(jt,[2,128]),e(jt,[2,129]),e(jt,[2,130]),e(jt,[2,131]),{14:Z1,17:272,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,267:271,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{14:br,17:274,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,190:276,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,212:Rl,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e([1,6,13,14,15,31,32,43,47,65,91,93,103,112,145,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,327,335,336,342,343,344],[2,474]),{88:[1,284],92:285,111:xa},e(wa,[2,138]),e(mt,[2,81],{104:99,99:133,107:134,71:287,72:288,73:289,62:y,100:L,105:x,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,163:U}),e($e,[2,288]),{5:290,13:s,14:r,220:[1,291]},{5:292,13:s,14:r},e(Cs,[2,349]),e(Cs,[2,350]),e(Cs,[2,351]),e(Cs,[2,352]),e(Cs,[2,353]),{17:293,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:294,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:295,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{5:296,13:s,14:r,17:297,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{37:303,41:f,88:_,211:P,238:305,239:304,260:[1,300],261:298,322:299,323:[1,301],324:302},{321:306,325:[1,307],326:[1,308]},{14:Gr,37:313,38:310,67:312,88:_,89:314,90:b,91:It,93:C,174:[1,311],271:309},{132:$l,205:317},e([1,6,11,12,13,14,15,25,31,32,39,41,43,47,65,88,90,91,93,103,112,114,145,150,151,152,164,174,186,196,200,202,211,212,222,223,224,230,231,241,255,277,279,289,290,298,310,311,312,318,319,327,335,336,342,343,344],[2,102]),e([6,14,43,65],Cl,{99:133,107:134,266:319,208:320,51:322,209:323,210:324,19:325,104:328,37:329,89:330,95:331,62:y,88:_,90:b,91:It,96:bn,100:L,105:x,108:E,163:xn,200:wn,211:Sn,213:Ae,214:Ne,224:j}),e(jt,[2,113],{106:[1,333]}),e(jt,[2,114]),e(jt,[2,115]),e(jt,[2,116],{92:335,109:Ol,110:Dl,111:xa}),{37:341,67:342,88:_,89:343,90:b,91:It,93:C,131:340,211:Ml,225:337,227:338,232:339,295:K,296:ne},e(Cs,[2,105]),e([1,6,11,12,13,14,15,31,32,43,47,62,65,91,93,94,103,108,112,128,145,147,150,151,152,163,164,174,175,176,177,178,179,180,181,183,184,185,186,189,196,200,202,212,213,214,219,222,230,231,253,255,256,265,277,287,294,298,310,311,312,318,319,327,335,336,340,341,342,343,344],[2,475]),e([1,6,11,12,13,14,15,25,31,32,39,41,43,44,47,60,62,65,88,90,91,93,103,108,112,114,145,147,150,151,152,164,174,186,196,200,202,211,212,219,222,223,224,230,231,241,253,255,256,265,277,279,287,289,290,294,298,310,311,312,318,319,325,326,327,335,336,340,341,342,343,344],[2,99]),e(Pl,[2,100]),e(Fl,[2,522]),e(Fl,[2,523]),e(jt,[2,106]),e(Sa,[2,118]),e(et,[2,7],{16:8,17:9,18:10,19:11,20:12,21:13,22:14,23:15,134:18,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,35:31,52:32,53:33,85:34,245:35,26:39,27:40,28:41,101:46,207:52,257:53,72:54,73:55,261:56,232:58,206:59,122:60,263:61,259:62,69:63,215:65,216:66,217:67,250:76,54:77,332:78,309:80,313:81,315:82,268:85,203:87,67:95,239:96,238:97,104:99,51:113,97:116,131:117,37:118,89:119,251:120,317:125,320:126,99:133,107:134,8:345,24:i,25:n,29:a,30:o,33:l,34:p,36:c,39:d,40:v,41:f,56:g,62:y,70:T,88:_,90:b,91:m,93:C,98:k,100:L,105:x,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,123:fe,126:pe,135:Je,139:st,151:se,152:_e,163:U,188:de,204:re,211:P,213:Ae,214:Ne,218:F,219:J,223:Z,224:j,246:ee,247:te,248:q,258:I,260:R,262:O,264:z,269:B,270:ie,295:K,296:ne,302:ue,308:he,310:H,312:G,314:me,318:Y,319:X,328:ge,333:be,337:Se,338:xe,339:ye,340:we,341:Te}),e([1,6,15,24,25,29,30,33,34,36,39,40,41,56,62,70,88,90,91,93,96,98,100,105,108,113,114,115,116,117,118,119,120,121,123,126,135,136,139,148,151,152,163,188,200,202,204,211,213,214,218,219,223,224,242,246,247,248,258,260,262,264,269,270,277,279,289,290,295,296,300,302,308,310,312,314,318,319,328,333,337,338,339,340,341],Q1),{1:[2,3]},e(_n,[2,12]),{6:_t,9:144,15:[1,346]},{4:347,7:t,8:5,15:[1,348],16:8,17:9,18:10,19:11,20:12,21:13,22:14,23:15,24:i,25:n,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:d,40:v,41:f,51:113,52:32,53:33,54:77,56:g,62:y,67:95,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,93:C,97:116,98:k,99:133,100:L,101:46,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:18,135:Je,139:st,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:349,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:350,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:351,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:352,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:353,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:354,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:355,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{277:[1,356]},{17:357,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:358,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:359,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e($e,[2,514]),e($e,[2,519]),{14:[1,361],17:360,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:362,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e($e,[2,513]),e($e,[2,518]),e(kl,[2,111],{103:El}),e(et,[2,24]),e(et,[2,25]),e(et,[2,151]),e($e,[2,254]),{16:170,134:18,135:Je,139:mn},e(mt,[2,382]),{31:vn,102:363},e(mt,[2,469]),{37:364,88:_,89:365,90:b,91:It},{17:367,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,254:366,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(jl,[2,360],{211:[1,368]}),{31:[2,471]},e(jl,[2,359]),e(yi,[2,344]),e(yi,[2,340],{10:369,11:Lt,12:Rt}),e(yi,[2,342],{10:270,11:Lt,12:Rt}),e(yi,[2,343]),{14:br,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,190:276,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,212:Rl,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(yi,[2,345]),e($e,[2,289]),{18:186,223:gn,245:35,246:ee,247:te,248:q},{17:371,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:372,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{37:373,88:_},e(et,[2,54]),e(et,[2,36]),{22:192,23:193,39:Nl,40:v,56:g},e(et,[2,55]),{44:[1,374],60:[1,375]},{37:201,41:[1,377],57:376,88:_},{44:[1,378]},{14:vi,37:383,42:380,43:[1,379],49:hr,64:381,67:384,68:385,88:_,93:C,94:cr},e([1,6,13,14,15,31,32,41,43,47,62,65,93,103,105,112,138,145,148,150,151,152,155,163,164,166,167,168,169,170,171,172,173,174,182,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,327,335,336,342,343,344],[2,117]),e([44,60],[2,53]),{47:[1,388]},{14:vi,37:383,42:389,49:hr,64:381,67:384,68:385,88:_,93:C,94:cr},{44:[1,390],47:[1,391]},e(et,[2,41]),{17:393,18:214,20:217,24:[1,394],26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,50:392,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(et,[2,43]),e(et,[2,44]),e(et,[2,45]),e(et,[2,46]),e(et,[2,47]),{16:209,18:214,24:q1,36:K1,48:395,51:207,52:208,53:210,54:211,134:18,135:Je,139:st,203:87,204:re,223:gn,224:j,245:35,246:ee,247:te,248:q,268:85,269:B,270:ie},{203:253,204:re,268:252,270:ie},{147:wl},{14:Tn,136:Br,137:396,142:397,143:399,144:401,148:Os},e(bi,[2,367],{317:125,320:126,309:161,315:162,344:Re}),{309:165,310:H,312:G,315:166,317:125,318:Y,319:X,320:126,335:Sl},{203:171,204:re},e(Cs,Al),{14:[1,404],17:403,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(mt,[2,371]),e(Gl,[2,9]),e(Gl,[2,10]),e(jt,[2,507]),e(wa,[2,139]),{17:405,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(wa,[2,141]),e(bi,[2,559],{317:125,320:126,309:161,315:162,344:Re}),e(bi,[2,560],{317:125,320:126,309:161,315:162,344:Re}),e(Ta,[2,561],{317:125,320:126,309:161,315:162,150:Oe,342:Ce,344:Re}),e(Ta,[2,562],{317:125,320:126,309:161,315:162,150:Oe,342:Ce,344:Re}),e(bi,[2,563],{317:125,320:126,309:161,315:162,344:Re}),e(bi,[2,564],{317:125,320:126,309:161,315:162,344:Re}),e($e,[2,565],{107:241,45:242,10:243,11:Lt,12:Rt,31:Kt,103:Kt,219:Kt,253:Kt,256:Kt,265:Kt,294:Kt,62:ht,108:E}),{31:B1,103:V1,216:175,219:J,252:176,253:H1,256:z1,265:U1,293:174,294:Y1},e(Bl,Ll),e($e,[2,566],{107:241,45:242,10:243,11:Lt,12:Rt,31:Kt,103:Kt,219:Kt,253:Kt,256:Kt,265:Kt,294:Kt,62:ht,108:E}),e($e,[2,567]),e($e,[2,568]),{14:[1,407],17:406,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(mt,[2,365],{92:335,109:Ol,110:Dl,111:xa}),e(mt,[2,366]),e(Cs,[2,354]),{5:409,13:s,14:r,333:[1,408]},{17:410,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e($e,[2,497],{303:411,304:412,305:Vl,306:[1,413]}),e($e,[2,512]),e($e,[2,520],{316:[1,415]}),{14:[1,416],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{329:417,330:418,331:ka},{14:Gr,38:420},e($e,[2,397]),e($e,[2,253]),e($e,[2,396]),{6:[1,437],19:436,31:[1,435],91:[1,432],94:[1,429],128:[1,421],147:[1,438],163:[1,434],176:[1,422],177:[1,423],178:[1,424],179:[1,425],180:[1,426],181:[1,427],183:[1,428],184:[1,430],185:[1,431],189:[1,433],213:Ae,214:Ne},e(gt,[2,203],{175:[1,439]}),e(yn,[2,144]),e(yn,[2,145]),e(yn,[2,146]),e(yn,[2,147],{41:xi,187:wi}),e(Ea,[2,228]),{17:442,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(qt,[2,132],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),e(qt,[2,133]),{14:br,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,32:[1,443],33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,190:444,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(qt,[2,135],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),e(qt,[2,136]),e(qt,[2,504],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),e(J1,[2,108]),e(eo,[2,478]),e(er,At,{66:447,65:to,164:[1,445]}),e(kn,[2,390],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{14:Z1,17:272,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,267:448,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e([6,14,65,212],Hl,{317:125,320:126,309:161,315:162,297:449,150:Oe,151:Pe,152:Fe,174:He,200:[1,451],202:ze,277:Be,298:[1,450],310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(eo,[2,476]),e([6,14,212],At,{66:452,65:Vr}),e(Ds,[2,482]),{14:br,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,190:454,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:455,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ds,[2,492]),e(Ds,[2,493]),e(Ds,[2,494]),{17:456,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(mt,[2,260]),e(Pl,[2,101]),{17:458,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,112:[1,457],113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(mt,[2,78]),e(mt,[2,79]),e(mt,[2,80],{10:224,11:Lt,12:Rt}),e(mt,[2,286]),e([65,222],Aa,{221:459,235:460,238:461,239:462,240:463,37:466,41:f,88:_,200:En,211:Qs,241:An}),e($e,[2,285]),{5:467,13:s,14:r,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(zl,[2,508],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,311:[1,468],312:G,318:Y,336:Ue,342:Ce,343:Ge,344:Re}),e(zl,[2,510],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,311:[1,469],312:G,318:Y,336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,516]),e(so,[2,517],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,524]),e(Si,[2,526]),{37:303,41:f,88:_,211:Qs,238:305,239:304,322:470,324:302},{37:303,41:f,88:_,211:Qs,238:305,239:304,322:471,324:302},e(Si,[2,533],{65:[1,472]}),e(Na,[2,529],{10:473,11:Lt,12:Rt}),e(Na,[2,531],{10:270,11:Lt,12:Rt}),e(Na,[2,532]),e($e,[2,525]),{17:474,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:475,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ul,[2,399],{38:476,10:479,11:Lt,12:Rt,14:Gr,103:Yl,174:[1,477]}),e($e,[2,400]),{17:480,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ti,[2,413]),e(Ti,[2,414]),e(Ti,[2,415]),{6:[1,483],15:[1,481],16:487,19:489,21:485,25:Hr,37:501,39:zr,51:492,67:95,85:490,88:_,89:503,90:b,91:It,93:C,101:46,114:tr,126:pe,134:18,135:Je,139:mn,213:Ae,214:Ne,223:Ur,224:j,274:482,275:484,276:486,277:ro,278:493,279:Yr,280:497,288:498,289:xr,290:wr},{92:285,111:xa},e(Ul,[2,255],{38:504,14:Gr,174:[1,505]}),e($e,[2,259]),e([6,14,43],At,{66:506,65:ql}),e(xt,[2,386]),{17:508,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(xt,[2,265]),e(xt,[2,266],{145:[1,509]}),e(Ia,[2,276],{147:[1,510]}),e(xt,[2,271]),{17:511,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:512,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ia,[2,279]),e(Nn,[2,272],{10:513,11:Lt,12:Rt}),e(Nn,[2,274]),e(Nn,[2,275]),e(Nn,[2,104]),e(jt,[2,112]),e(Sa,[2,119]),e(Sa,[2,120]),e(Sa,[2,121]),{91:[1,516],103:[1,515],226:514},e(Kl,Aa,{235:460,238:461,239:462,240:463,37:466,228:517,10:518,221:519,11:Lt,12:Rt,31:Wl,41:f,88:_,91:Xl,103:Xl,200:En,211:Qs,241:An}),e(Jl,[2,305]),e(Jl,[2,306]),e(In,[2,296]),e(In,[2,297]),e(In,[2,298]),{17:521,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(et,[2,6]),e(_n,[2,13]),{6:_t,9:144,15:[1,522]},e(_n,[2,15]),e(Ta,[2,569],{317:125,320:126,309:161,315:162,150:Oe,342:Ce,344:Re}),e(Ta,[2,570],{317:125,320:126,309:161,315:162,150:Oe,342:Ce,344:Re}),e(Zl,[2,571],{317:125,320:126,309:161,315:162,342:Ce,344:Re}),e(Zl,[2,572],{317:125,320:126,309:161,315:162,342:Ce,344:Re}),e([1,6,13,14,15,32,43,47,65,93,112,145,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336,343],[2,573],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,342:Ce,344:Re}),e([1,6,13,14,15,32,43,47,65,93,112,145,164,174,186,196,200,202,212,222,230,231,255,298,310,311,312,318,319,327,335,336],[2,574],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,277:Be,342:Ce,343:Ge,344:Re}),e([1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,202,212,222,230,231,255,298,310,311,312,318,319,327,335,336],[2,575],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,277:Be,342:Ce,343:Ge,344:Re}),{17:523,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e([1,6,13,14,15,32,43,47,65,93,112,145,164,174,186,196,200,202,212,222,230,231,255,277,298,310,311,312,318,319,327,335,336],[2,577],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,342:Ce,343:Ge,344:Re}),e(Ql,[2,557],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{145:[1,524],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(qr,[2,346],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),{17:525,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ql,[2,556],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(mt,[2,468]),e(Cs,[2,355]),e(Cs,[2,356]),{255:[1,526]},e([212,255],[2,383],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{17:367,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,254:527,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(yi,[2,341]),e(Ds,Hl,{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{32:[1,528],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{32:[1,529],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(J1,[2,109]),{45:530,62:ht},{41:[1,532],59:531,63:Il},{44:[1,533]},{14:vi,37:383,42:534,49:hr,64:381,67:384,68:385,88:_,93:C,94:cr},{45:535,62:ht},{44:[1,536]},e(er,At,{66:539,43:[1,537],65:ki}),e(xt,[2,66]),{14:vi,37:383,42:540,49:hr,64:381,67:384,68:385,88:_,93:C,94:cr},e(xt,[2,72],{47:[1,541]}),e(xt,[2,73]),e(xt,[2,74]),e(xt,[2,76],{47:[1,542]}),e(xt,[2,103]),{37:543,88:_},e(er,At,{66:539,43:[1,544],65:ki}),{45:545,62:ht},{37:546,88:_},e(et,[2,42]),e(et,[2,49],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{16:209,18:214,24:q1,36:K1,48:547,51:207,52:208,53:210,54:211,134:18,135:Je,139:st,203:87,204:re,223:gn,224:j,245:35,246:ee,247:te,248:q,268:85,269:B,270:ie},e(et,[2,48]),{6:_t,9:550,138:[1,548],143:549,144:401,148:Os},e(Sr,[2,156]),{14:Tn,136:Br,137:551,142:397,143:399,144:401,148:Os},e(Sr,[2,160]),{14:[1,553],140:552},{145:[1,554],147:[1,555]},e([145,147],[2,164]),e(qr,[2,262],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),{17:556,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{43:[1,557],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(qr,[2,578],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),{17:558,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:559,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(La,[2,554]),{5:560,13:s,14:r,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e($e,[2,498],{304:561,305:Vl}),e($e,[2,499]),{5:563,13:s,14:r,307:[1,562]},{5:564,13:s,14:r},{5:565,13:s,14:r},{329:566,330:418,331:ka},{15:[1,567],316:[1,568],330:569,331:ka},e(Ra,[2,547]),{17:571,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,301:570,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e($e,[2,35]),e(eh,[2,142],{129:572,85:575,14:[1,573],31:[1,574],126:pe}),e(gt,[2,204]),e(gt,[2,205]),e(gt,[2,206]),e(gt,[2,207]),e(gt,[2,208]),{14:Tn,136:Br,137:577,142:397,143:399,144:401,148:Os,182:[1,576]},{41:mi,133:581,181:[1,578],186:[1,579],187:gi,188:[1,580]},e(gt,[2,212]),{41:mi,133:582,187:gi},{41:mi,133:583,187:gi},{41:mi,133:584,187:gi},e(gt,[2,224],{133:585,41:mi,187:gi}),{14:br,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,164:[1,586],188:de,190:587,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{14:br,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,32:[1,588],33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,190:589,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(gt,[2,225]),e(gt,[2,226]),{191:590,195:[1,591]},e(gt,[2,202]),e(Ea,[2,230]),{17:592,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{43:[1,593],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(th,[2,472]),e([6,14,32],At,{66:594,65:Vr}),e(jt,[2,505],{106:[1,595]}),e(Ms,Ln,{74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,35:31,52:32,53:33,85:34,245:35,26:39,27:40,28:41,207:52,257:53,72:54,73:55,261:56,232:58,206:59,122:60,263:61,259:62,69:63,215:65,216:66,217:67,250:76,54:77,332:78,309:80,313:81,315:82,268:85,203:87,239:96,238:97,104:99,51:113,97:116,131:117,37:118,89:119,251:120,317:125,320:126,99:133,107:134,18:214,20:217,17:596,29:a,30:o,33:l,34:p,36:c,39:ke,41:f,62:y,70:T,88:_,90:b,91:m,98:k,100:L,105:x,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,123:fe,126:pe,139:Ee,151:se,152:_e,163:U,188:de,204:re,211:P,218:F,219:J,223:Z,224:j,246:ee,247:te,248:q,258:I,260:R,262:O,264:z,269:B,270:ie,295:K,296:ne,302:ue,308:he,310:H,312:G,314:me,318:Y,319:X,328:ge,333:be,337:Se,338:xe,339:ye,340:we,341:Te}),{6:_t,9:597,14:io},e(Ms,At,{66:599,65:to}),{17:600,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e($a,[2,479]),e($a,[2,480]),{6:Rn,9:602,14:$n,212:[1,601]},e([6,14,15,32,212],Ln,{74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,35:31,52:32,53:33,85:34,245:35,26:39,27:40,28:41,207:52,257:53,72:54,73:55,261:56,232:58,206:59,122:60,263:61,259:62,69:63,215:65,216:66,217:67,250:76,54:77,332:78,309:80,313:81,315:82,268:85,203:87,239:96,238:97,104:99,51:113,97:116,131:117,37:118,89:119,251:120,317:125,320:126,99:133,107:134,18:214,20:217,201:280,19:282,17:370,299:605,29:a,30:o,33:l,34:p,36:c,39:ke,41:f,62:y,70:T,88:_,90:b,91:m,98:k,100:L,105:x,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,123:fe,126:pe,139:Ee,151:se,152:_e,163:U,188:de,200:Rs,204:re,211:P,213:Ae,214:Ne,218:F,219:J,223:Z,224:j,242:$t,246:ee,247:te,248:q,258:I,260:R,262:O,264:z,269:B,270:ie,295:K,296:ne,300:$s,302:ue,308:he,310:H,312:G,314:me,318:Y,319:X,328:ge,333:be,337:Se,338:xe,339:ye,340:we,341:Te}),e(Ms,At,{66:606,65:Vr}),e(Ds,[2,491],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(Ds,[2,332],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(sh,[2,122]),{112:[1,607],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{65:no,222:[1,608]},e(Ps,[2,312]),e(Ps,[2,321],{147:[1,610]}),e(Ps,[2,322],{10:270,11:Lt,12:Rt,147:[1,611]}),e(Ps,[2,323],{147:[1,612]}),e(Ps,[2,329],{37:466,240:613,88:_}),{37:466,88:_,240:614},e(rh,[2,330],{10:615,11:Lt,12:Rt}),e(La,[2,551]),{17:616,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:617,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Si,[2,527]),e(Si,[2,528]),{37:303,41:f,88:_,211:Qs,238:305,239:304,324:618},e(Na,[2,530]),e([1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,310,312,318,319,335],[2,536],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,311:[1,619],327:[1,620],336:Ue,342:Ce,343:Ge,344:Re}),e(ih,[2,537],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,311:[1,621],336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,398]),{17:622,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{37:623,88:_,89:624,90:b,91:It},e(Ti,[2,418]),{14:Gr,38:625,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e($e,[2,419]),{6:_t,9:627,15:[1,626]},{15:[1,629],16:487,19:489,21:485,25:Hr,37:501,39:zr,51:492,67:95,85:490,88:_,89:503,90:b,91:It,93:C,101:46,114:tr,126:pe,134:18,135:Je,139:mn,213:Ae,214:Ne,223:Ur,224:j,274:628,275:484,276:486,277:ro,278:493,279:Yr,280:497,288:498,289:xr,290:wr},e(Gt,[2,423]),e(Gt,[2,426],{67:95,101:167,51:492,278:493,280:497,288:498,37:501,89:503,276:630,25:Hr,39:zr,88:_,90:b,91:It,93:C,114:tr,223:Ur,224:j,279:Yr,289:xr,290:wr}),e(Gt,[2,427]),e(Gt,[2,429]),{37:313,67:312,88:_,89:314,90:b,91:It,93:C,271:631},e(Gt,[2,431]),e(Gt,[2,432]),{37:501,51:633,88:_,89:503,90:b,91:It,114:tr,224:j,278:632,280:497,288:498,289:xr,290:wr},e(Gt,[2,435]),e(Gt,[2,436],{283:635,284:636,47:nh,93:ao,186:oo}),{25:Hr,37:501,39:zr,51:492,88:_,89:503,90:b,91:It,114:tr,223:Ur,224:j,276:639,278:493,279:Yr,280:497,288:498,289:xr,290:wr},{25:Hr,37:501,39:zr,51:492,88:_,89:503,90:b,91:It,114:tr,223:Ur,224:j,276:640,278:493,279:Yr,280:497,288:498,289:xr,290:wr},{25:Hr,37:501,39:zr,51:492,88:_,89:503,90:b,91:It,114:tr,223:Ur,224:j,276:641,278:493,279:Yr,280:497,288:498,289:xr,290:wr},e(ur,[2,441],{281:642,10:643,11:Lt,12:Rt,31:[1,644],147:[1,645],287:[1,646]}),e(Tr,[2,459]),{37:501,88:_,89:503,90:b,91:It,114:tr,288:647},{37:501,88:_,89:503,90:b,91:It,114:tr,288:648},e(Tr,[2,464]),e(Tr,[2,465]),e(Tr,[2,466]),e($e,[2,256]),{132:$l,205:649},{6:_t,9:651,14:ah,43:[1,650]},e([6,14,15,43],Ln,{99:133,107:134,51:322,209:323,210:324,19:325,104:328,37:329,89:330,95:331,208:653,62:y,88:_,90:b,91:It,96:bn,100:L,105:x,108:E,163:xn,200:wn,211:Sn,213:Ae,214:Ne,224:j}),e(xt,[2,264],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{14:[1,655],17:654,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{14:[1,657],17:656,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{150:Oe,151:Pe,152:Fe,174:He,202:ze,212:[1,658],277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{150:Oe,151:Pe,152:Fe,164:[1,659],174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(Nn,[2,273]),{37:341,67:342,88:_,89:343,90:b,91:It,93:C,211:Ml,227:660},e(oh,[2,294]),e(oh,[2,295]),{229:661,230:lh,231:hh},e(In,[2,300]),e(ch,[2,292],{65:no}),e([32,65],Aa,{235:460,238:461,239:462,240:463,37:466,221:664,41:f,88:_,200:En,211:Qs,241:An}),{150:Oe,151:Pe,152:Fe,174:He,202:ze,212:[1,665],277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(_n,[2,14]),e(bi,[2,576],{317:125,320:126,309:161,315:162,344:Re}),{17:666,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{6:_t,9:668,15:ls,87:667,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(Cs,[2,357]),{212:[1,670]},e(qt,[2,31]),e(qt,[2,33]),e(et,[2,56]),{44:[1,671]},{14:vi,37:383,42:672,49:hr,64:381,67:384,68:385,88:_,93:C,94:cr},{45:673,62:ht},e(er,At,{66:539,43:[1,674],65:ki}),e(et,[2,58]),{45:675,62:ht},{44:[1,676]},e(Ms,Ln,{37:383,67:384,68:385,64:677,49:hr,88:_,93:C,94:cr}),{6:uh,14:lo},e(Ms,At,{66:680,65:ki}),{37:681,88:_},{37:682,88:_},{44:[2,65]},e(et,[2,37],{44:[1,683]}),e(et,[2,39]),{44:[1,684]},e(et,[2,50]),e([1,6,14,15,32,65],[2,149]),e(Sr,[2,157]),{136:Br,142:685,143:399,144:401,148:Os},{6:_t,9:687,15:ls,87:686,143:549,144:401,148:Os},{138:[1,688]},{6:_t,9:689,14:Tn,136:Br,137:690,142:397,143:399,144:401,148:Os},{41:Wt,45:700,62:ht,105:Xt,146:691,153:692,154:693,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},{41:Wt,45:700,62:ht,105:Xt,146:710,153:692,154:693,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},{6:_t,9:668,15:ls,87:711,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(wa,[2,140]),{6:_t,9:668,15:ls,87:712,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{5:713,13:s,14:r,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(La,[2,553]),e($e,[2,500]),{5:714,13:s,14:r},e(ph,[2,503]),e($e,[2,501]),e($e,[2,521]),{15:[1,715],316:[1,716],330:569,331:ka},e($e,[2,545]),{5:717,13:s,14:r},e(Ra,[2,548]),{5:718,13:s,14:r,65:[1,719]},e(dh,[2,495],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,143]),{6:[1,721],14:Ca,15:[1,720],17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:730,135:Je,139:Ee,151:se,152:_e,163:U,188:de,197:722,198:723,200:kr,201:727,202:Er,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{14:Ca,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:730,135:Je,139:Ee,151:se,152:_e,163:U,188:de,197:731,198:723,200:kr,201:727,202:Er,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e($e,[2,239]),e(gt,[2,209]),{6:_t,9:550,143:549,144:401,148:Os,182:[1,732]},{14:Tn,136:Br,137:733,142:397,143:399,144:401,148:Os},{187:[1,734]},{187:[1,735]},e(gt,[2,217],{41:xi,187:wi}),e(gt,[2,213],{41:xi,187:wi}),e(gt,[2,214],{41:xi,187:wi}),e(gt,[2,218],{41:xi,187:wi}),e(gt,[2,219],{41:xi,187:wi}),e(gt,[2,220]),e(er,At,{66:737,65:Vr,164:[1,736]}),e(gt,[2,222]),e(er,At,{66:737,32:[1,738],65:Vr}),e(gt,[2,227]),{17:739,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{43:[1,740],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(Ea,[2,229]),{6:Rn,9:602,14:$n,32:[1,741]},e(jt,[2,506]),e(kn,[2,391],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{17:742,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{14:Z1,17:272,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,267:743,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{6:_t,9:745,14:io,15:ls,87:744},{150:Oe,151:Pe,152:Fe,174:He,202:ze,212:[1,746],277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(eo,[2,477]),{17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:747,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e([15,29,30,33,34,36,39,41,62,70,88,90,91,98,100,105,108,113,114,115,116,117,118,119,120,121,123,126,139,151,152,163,188,200,204,211,213,214,218,219,223,224,242,246,247,248,258,260,262,264,269,270,295,296,300,302,308,310,312,314,318,319,328,333,337,338,339,340,341],Q1,{199:[1,748]}),{14:br,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,190:749,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ds,[2,483]),{6:Rn,9:751,14:$n,15:ls,87:750},e(sh,[2,123]),{5:752,13:s,14:r},{37:466,41:f,88:_,200:En,211:Qs,235:753,238:461,239:462,240:463,241:An},{17:755,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,237:754,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:755,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,237:756,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:755,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,237:757,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ps,[2,324]),e(Ps,[2,325]),e(rh,[2,331]),e(so,[2,509],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,336:Ue,342:Ce,343:Ge,344:Re}),e(so,[2,511],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,336:Ue,342:Ce,343:Ge,344:Re}),e(Si,[2,534],{65:[1,758]}),{17:759,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:760,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:761,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e([1,6,13,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,311,319,327,335],[2,401],{317:125,320:126,309:161,315:162,38:762,14:Gr,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,336:Ue,342:Ce,343:Ge,344:Re}),e(Ti,[2,416]),e(Ti,[2,417]),e($e,[2,403]),e($e,[2,420]),e(Gt,[2,425],{134:18,101:46,67:95,21:485,276:486,16:487,19:489,85:490,51:492,278:493,280:497,288:498,37:501,89:503,275:763,25:Hr,39:zr,88:_,90:b,91:It,93:C,114:tr,126:pe,135:Je,139:mn,213:Ae,214:Ne,223:Ur,224:j,277:ro,279:Yr,289:xr,290:wr}),{6:_t,9:627,15:[1,764]},e($e,[2,422]),e(Gt,[2,428]),e(Gt,[2,430],{10:479,11:Lt,12:Rt,103:Yl}),e(Gt,[2,433],{283:635,284:636,47:nh,93:ao,186:oo}),e(Gt,[2,434]),{37:118,39:ke,41:f,62:y,69:63,70:T,72:54,73:55,75:767,88:_,89:119,90:b,91:m,93:ao,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,122:60,123:fe,131:117,163:U,186:oo,206:59,207:236,211:P,232:58,238:97,239:96,250:768,251:120,257:53,258:I,259:62,261:56,262:O,263:61,264:z,282:765,283:766,284:636,295:K,296:ne},e(ur,[2,443]),e(ur,[2,449],{216:770,102:771,31:vn,103:[1,773],147:[1,769],219:J,253:[1,772]}),e(Cn,[2,444]),{31:[1,774]},e(Gt,[2,437]),e(Gt,[2,438]),e(Gt,[2,439]),{17:775,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Tr,[2,462]),{32:[1,776]},e($a,[2,457]),e($a,[2,458]),e(Tr,[2,460]),e(Tr,[2,461]),e(eh,[2,257],{38:777,14:Gr}),e([1,6,13,14,15,31,32,43,47,65,93,103,112,145,147,150,151,152,164,174,186,196,200,202,212,219,222,230,231,253,255,256,265,277,294,298,310,311,312,318,319,325,326,327,335,336,342,343,344],[2,384]),{19:325,37:329,51:322,62:y,88:_,89:330,90:b,91:It,95:331,96:bn,99:133,100:L,104:328,105:x,107:134,108:E,163:xn,200:wn,208:778,209:323,210:324,211:Sn,213:Ae,214:Ne,224:j},e([6,14,15,65],Cl,{99:133,107:134,208:320,51:322,209:323,210:324,19:325,104:328,37:329,89:330,95:331,266:779,62:y,88:_,90:b,91:It,96:bn,100:L,105:x,108:E,163:xn,200:wn,211:Sn,213:Ae,214:Ne,224:j}),e(xt,[2,387]),e(xt,[2,267],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{17:780,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(xt,[2,269],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{17:781,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Ia,[2,277]),e(Ia,[2,278]),e(Kl,Aa,{235:460,238:461,239:462,240:463,37:466,10:518,221:519,228:782,11:Lt,12:Rt,31:Wl,41:f,88:_,200:En,211:Qs,241:An}),e($e,[2,291]),{5:783,13:s,14:r,219:[1,784]},e($e,[2,303]),{32:[1,785],65:no},e(In,[2,299]),e(qr,[2,558],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,347]),{15:Ei},e(fh,[2,489]),e(Cs,[2,358]),{45:787,62:ht},e(er,At,{66:539,43:[1,788],65:ki}),e(et,[2,57]),{44:[1,789]},e(et,[2,59]),{45:790,62:ht},e(xt,[2,67]),{37:383,49:hr,64:791,67:384,68:385,88:_,93:C,94:cr},{14:vi,37:383,42:792,49:hr,64:381,67:384,68:385,88:_,93:C,94:cr},{6:[1,794],14:lo,15:[1,793]},e(xt,[2,75]),e(xt,[2,77]),{45:795,62:ht},{45:796,62:ht},e(Sr,[2,158]),e(Sr,[2,159]),{15:Ei,136:Br,142:685,143:399,144:401,148:Os},e(Sr,[2,161]),{15:[1,797]},{6:_t,9:687,15:ls,87:798,143:549,144:401,148:Os},e(Sr,[2,162],{65:_h}),e(mh,[2,168],{162:694,165:697,45:700,160:701,149:800,154:801,41:Wt,62:ht,105:Xt,150:Ai,151:Ni,152:Ii,155:gh,163:Jt,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as}),e(Oa,[2,170]),e(Bt,[2,190],{161:[1,806]}),e(Bt,[2,191]),e(Bt,[2,192]),e(Bt,[2,193]),e(Bt,[2,194]),e(Bt,[2,195]),e(Bt,[2,196]),e(Bt,[2,197],{161:[1,807]}),e(Bt,[2,198]),{163:[1,808]},e(Bt,[2,200]),{41:Wt,45:700,62:ht,105:Xt,154:809,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},{41:Wt,45:700,62:ht,105:Xt,154:811,156:810,157:812,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},e(Bt,[2,188]),{163:[1,813]},{17:814,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Sr,[2,163],{65:_h}),e($e,[2,263]),e($e,[2,579]),e(La,[2,552]),e(ph,[2,502]),e($e,[2,543]),{5:815,13:s,14:r},{15:[1,816]},e(Ra,[2,549],{6:[1,817]}),{17:818,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e($e,[2,235]),{15:[1,819]},e(er,At,{66:822,15:[1,820],65:Da}),e(Fs,[2,240]),{14:Ca,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:730,135:Je,139:Ee,151:se,152:_e,163:U,188:de,197:823,198:723,200:kr,201:727,202:Er,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Fs,[2,246],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),{17:824,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(Fs,[2,248]),e(Fs,[2,249]),e(Fs,[2,250]),e(Fs,[2,251]),e(er,At,{66:822,32:[1,825],65:Da}),e(gt,[2,210]),{6:_t,9:550,143:549,144:401,148:Os,182:[1,826]},e(gt,[2,215]),e(gt,[2,216]),e(gt,[2,221]),{6:Rn,9:602,14:$n},e(gt,[2,223]),{150:Oe,151:Pe,152:Fe,174:He,196:[1,827],202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},e(Ea,[2,231]),e(th,[2,473]),e(kn,[2,392],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(Ms,At,{66:828,65:to}),e(kn,[2,393]),{15:Ei,17:742,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(mt,[2,481]),e(Ds,[2,484]),{6:_t,9:829},e(Ms,At,{66:830,65:Vr}),e(Ds,[2,486]),{15:Ei,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:747,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(mt,[2,287]),e(Ps,[2,313]),e(Ps,[2,327]),e(Ps,[2,320],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(Ps,[2,328]),e(Ps,[2,326]),{37:303,41:f,88:_,211:Qs,238:305,239:304,324:831},e([1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,310,311,312,318,319,335],[2,538],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,327:[1,832],336:Ue,342:Ce,343:Ge,344:Re}),e(ih,[2,540],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,311:[1,833],336:Ue,342:Ce,343:Ge,344:Re}),e(qr,[2,539],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,402]),e(Gt,[2,424]),e($e,[2,421]),e(ur,[2,442]),e(ur,[2,452]),e(ur,[2,453],{293:174,216:175,252:176,31:B1,103:V1,219:J,253:H1,256:z1,265:U1,294:Y1}),e(Bl,Kt,{107:241,45:242,10:243,11:Lt,12:Rt,62:ht,108:E}),{17:834,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(ur,[2,451]),e(Cn,[2,446]),{14:br,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,190:835,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:277,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{37:836,88:_},{17:837,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(ur,[2,440],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(Tr,[2,463]),e($e,[2,258]),e(xt,[2,388]),e(Ms,At,{66:838,65:ql}),{6:_t,9:668,15:ls,87:839,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{6:_t,9:668,15:ls,87:840,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{229:841,230:lh,231:hh},e($e,[2,301]),{5:842,13:s,14:r},e(ch,[2,293]),e(fh,[2,488]),e(et,[2,62]),{44:[1,843]},{45:844,62:ht},e(et,[2,60]),e(xt,[2,68]),e(Ms,At,{66:845,65:ki}),e(xt,[2,69]),{15:[1,846],37:383,49:hr,64:791,67:384,68:385,88:_,93:C,94:cr},e(et,[2,38]),e(et,[2,40]),{138:[2,152]},{138:[2,153]},{41:Wt,45:700,62:ht,105:Xt,153:847,154:693,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},e(Oa,[2,171]),e(Oa,[2,172]),{41:Wt,45:700,62:ht,105:Xt,154:848,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},e(Bt,[2,165]),e(Bt,[2,166]),e(Bt,[2,167]),e(Ma,[2,187]),e(Ma,[2,185]),{41:Wt,45:700,62:ht,105:Xt,154:851,158:849,159:850,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},e(Bt,[2,201]),{164:[1,852]},{149:853,150:Ai,151:Ni,152:Ii,164:[2,174]},{149:854,150:Ai,151:Ni,152:Ii,164:[2,175]},{41:Wt,45:700,62:ht,105:Xt,154:851,158:855,159:850,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},{43:[1,856],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{6:_t,9:668,15:ls,87:857},e($e,[2,546]),e(Ra,[2,550]),e(dh,[2,496],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,236]),e($e,[2,237]),e(Ms,Ln,{74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,35:31,52:32,53:33,85:34,245:35,26:39,27:40,28:41,207:52,257:53,72:54,73:55,261:56,232:58,206:59,122:60,263:61,259:62,69:63,215:65,216:66,217:67,250:76,54:77,332:78,309:80,313:81,315:82,268:85,203:87,239:96,238:97,104:99,51:113,97:116,131:117,37:118,89:119,251:120,317:125,320:126,99:133,107:134,18:214,20:217,17:725,201:727,19:729,134:730,198:858,29:a,30:o,33:l,34:p,36:c,39:ke,41:f,62:y,70:T,88:_,90:b,91:m,98:k,100:L,105:x,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,123:fe,126:pe,135:Je,139:Ee,151:se,152:_e,163:U,188:de,200:kr,202:Er,204:re,211:P,213:Ae,214:Ne,218:F,219:J,223:Z,224:j,242:$t,246:ee,247:te,248:q,258:I,260:R,262:O,264:z,269:B,270:ie,295:K,296:ne,302:ue,308:he,310:H,312:G,314:me,318:Y,319:X,328:ge,333:be,337:Se,338:xe,339:ye,340:we,341:Te}),{6:ho,9:859,14:co},e(Ms,At,{66:862,65:Da}),e(Fs,[2,247],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e($e,[2,238]),e(gt,[2,211]),e(gt,[2,234]),{6:_t,9:745,14:io,15:ls,87:863},{17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,200:Rs,201:280,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,299:864,300:$s,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{6:Rn,9:751,14:$n,15:ls,87:865},e(Si,[2,535]),{17:866,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{17:867,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,139:Ee,151:se,152:_e,163:U,188:de,203:87,204:re,206:59,207:52,211:P,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(ur,[2,450],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,310:H,312:G,318:Y,319:X,335:Ze,336:Ue,342:Ce,343:Ge,344:Re}),e(er,At,{66:737,65:Vr,255:[1,868]}),e(Cn,[2,448]),{32:[1,869],150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,309:161,310:H,312:G,315:162,317:125,318:Y,319:X,320:126,335:Ze,336:Ue,342:Ce,343:Ge,344:Re},{6:_t,9:871,14:ah,15:ls,87:870},e(xt,[2,268]),e(xt,[2,270]),e($e,[2,290]),e($e,[2,302]),{45:872,62:ht},e(et,[2,61]),{6:uh,14:lo,15:[1,873]},e(xt,[2,70]),e(mh,[2,169],{162:694,165:697,45:700,160:701,149:800,154:801,41:Wt,62:ht,105:Xt,150:Ai,151:Ni,152:Ii,155:gh,163:Jt,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as}),e(Oa,[2,173]),{65:yh,164:[1,874]},e(vh,[2,178],{162:694,165:697,45:700,160:701,149:876,154:877,41:Wt,62:ht,105:Xt,150:Ai,151:Ni,152:Ii,155:bh,163:Jt,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as}),e(Pa,[2,180]),e(Ma,[2,186]),{41:Wt,45:700,62:ht,105:Xt,154:879,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},{41:Wt,45:700,62:ht,105:Xt,154:880,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},{65:yh,164:[1,881]},e(Ma,[2,184]),e($e,[2,544]),e(Fs,[2,241]),{17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:730,135:Je,139:Ee,151:se,152:_e,163:U,188:de,198:882,200:kr,201:727,202:Er,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e([15,29,30,33,34,36,39,41,62,70,88,90,91,98,100,105,108,113,114,115,116,117,118,119,120,121,123,126,135,139,151,152,163,188,200,202,204,211,213,214,218,219,223,224,242,246,247,248,258,260,262,264,269,270,295,296,302,308,310,312,314,318,319,328,333,337,338,339,340,341],Q1,{199:[1,883]}),{14:Ca,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:730,135:Je,139:Ee,151:se,152:_e,163:U,188:de,197:884,198:723,200:kr,201:727,202:Er,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{6:ho,9:886,14:co,15:ls,87:885},e(kn,[2,394]),e(Ds,[2,485]),e(Ds,[2,487]),e(qr,[2,541],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),e(qr,[2,542],{317:125,320:126,309:161,315:162,150:Oe,151:Pe,152:Fe,174:He,202:ze,277:Be,336:Ue,342:Ce,343:Ge,344:Re}),e(Cn,[2,447]),e(Cn,[2,445]),e(xt,[2,389]),{15:Ei,19:325,37:329,51:322,62:y,88:_,89:330,90:b,91:It,95:331,96:bn,99:133,100:L,104:328,105:x,107:134,108:E,163:xn,200:wn,208:778,209:323,210:324,211:Sn,213:Ae,214:Ne,224:j},e(et,[2,63]),e(xt,[2,71]),e(Bt,[2,199]),{41:Wt,45:700,62:ht,105:Xt,154:851,159:887,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},e(Pa,[2,181]),e(Pa,[2,182]),{41:Wt,45:700,62:ht,105:Xt,154:888,160:701,162:694,163:Jt,165:697,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as},e(xh,[2,176]),e(xh,[2,177]),e(Bt,[2,189]),e(Fs,[2,242]),{6:_t,9:889},e(Ms,At,{66:890,65:Da}),e(Fs,[2,244]),{15:Ei,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:730,135:Je,139:Ee,151:se,152:_e,163:U,188:de,198:882,200:kr,201:727,202:Er,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},e(vh,[2,179],{162:694,165:697,45:700,160:701,149:876,154:877,41:Wt,62:ht,105:Xt,150:Ai,151:Ni,152:Ii,155:bh,163:Jt,166:Zt,167:Qt,168:es,169:ts,170:ss,171:rs,172:is,173:ns,174:as}),e(Pa,[2,183]),{17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:p,35:31,36:c,37:118,39:ke,41:f,51:113,52:32,53:33,54:77,62:y,69:63,70:T,72:54,73:55,74:20,75:21,76:22,77:23,78:24,79:25,80:26,81:27,82:28,83:29,84:30,85:34,88:_,89:119,90:b,91:m,97:116,98:k,99:133,100:L,104:99,105:x,107:134,108:E,113:N,114:S,115:D,116:V,117:M,118:W,119:Q,120:le,121:ae,122:60,123:fe,126:pe,131:117,134:730,135:Je,139:Ee,151:se,152:_e,163:U,188:de,198:891,200:kr,201:727,202:Er,203:87,204:re,206:59,207:52,211:P,213:Ae,214:Ne,215:65,216:66,217:67,218:F,219:J,223:Z,224:j,232:58,238:97,239:96,242:$t,245:35,246:ee,247:te,248:q,250:76,251:120,257:53,258:I,259:62,260:R,261:56,262:O,263:61,264:z,268:85,269:B,270:ie,295:K,296:ne,302:ue,308:he,309:80,310:H,312:G,313:81,314:me,315:82,317:125,318:Y,319:X,320:126,328:ge,332:78,333:be,337:Se,338:xe,339:ye,340:we,341:Te},{6:ho,9:886,14:co,15:ls,87:892},e(Fs,[2,243]),e(Fs,[2,245])],defaultActions:{146:[2,3],179:[2,471],543:[2,65],797:[2,152],798:[2,153]},parseError:function(w,Ar){if(Ar.recoverable)this.trace(w);else throw new Error(w)},parse:function(w,Ar=null){var $=this,St=[0],u=[],h=[null],Li=this.table,po="",D4=0,M4=0,On=0,Fa=2,Dn=1,hs=Object.create(this.lexer),ja=this.yy;hs.setInput(w,ja),typeof ja.parseError=="function"?this.parseError=ja.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function td(Ir){St.length=St.length-2*Ir,h.length=h.length-Ir}var ys,Ri,Nr,sr,P4,fo,_o={},F4,Ga,Sh,mo;function sd(){var Ir,$i="";function kh(Mn){for(var vs=St.length-1,Pn=0;;){if(Fa.toString()in Li[Mn])return Pn;if(Mn===0||vs<2)return!1;vs-=2,Mn=St[vs],++Pn}}if(On)Ri!==Dn&&(Ir=kh(Nr));else{Ir=kh(Nr),mo=[];var go=hs.yytext,j4=go,Ba=$.terminals_[ys]||ys;let Mn=hs.tokens.indexOf(go),vs=go;for(;vs&&!(vs._loc>=0);)vs=hs.tokens[--Mn];if(!vs){let Pn=hs.tokens.length;for(;--Pn>=0;){let vo=hs.tokens[Pn];if(vo&&vo._loc>=0){vs=vo;break}}}var Kr=vs?vs._loc:-1,yo=Kr>-1?Kr+(vs._len||0):-1,id=Kr!=-1?"["+vs._loc+":"+vs._len+"]":"[0:0]",nd={TERMINATOR:"newline",INDENT:"indentation",OUTDENT:"end of block",EMPTY_BLOCK:"empty block",CALL_END:"')'",CALL_START:"'('",INDEX_END:"']'",INDEX_START:"'['",STRING_START:"start of string",STRING_END:"end of string",TAG_START:"'<'",TAG_END:"'>'"};hs.showPosition?$i="Parse error at "+id+`:
`+hs.showPosition()+`
Expecting `+mo.join(", ")+", got '"+Ba+"'":$i="Unexpected "+(ys==Dn?"end of input":nd[Ba]||"'"+Ba+"'"),Ar&&Ar.addDiagnostic("error",{message:$i,source:"imba-parser",range:Ar.rangeAt(Kr,yo)}).raise(),$.parseError($i,{lexer:hs,text:hs.match,token:Ba,offset:Kr,length:yo-Kr,start:{offset:Kr},end:{offset:yo},line:hs.yylineno,expected:mo,recoverable:Ir!==!1})}if(On==3){if(ys===Dn||Ri===Dn)throw new Error($i||"Parsing halted while starting to recover from another error.");po=hs.yytext}if(Ir===!1)throw new Error($i||"Parsing halted. No suitable error recovery rule available.");td(Ir),Ri=ys==Fa?null:ys,ys=Fa,Nr=St[St.length-1],sr=Li[Nr]&&Li[Nr][Fa],On=3}for(var rd=this.symbols_,Th=this.productions_;;)switch(Nr=St[St.length-1],(ys===null||typeof ys>"u")&&(ys=rd[hs.lex()]||Dn),sr=Li[Nr]&&Li[Nr][ys],(typeof sr>"u"||!sr.length||!sr[0])&&sd(),sr[0]){case 1:St.push(ys),St.push(sr[1]),h.push(hs.yytext),ys=null,Ri?(ys=Ri,Ri=null):(po=hs.yytext,On>0&&On--);break;case 2:if(Ga=Th[sr[1]][1],_o.$=h[h.length-Ga],fo=this.performAction(_o,po,ja,sr[1],h),typeof fo<"u")return fo;for(;Ga>0;)St.pop(),St.pop(),h.pop(),Ga--;St.push(Th[sr[1]][0]),Sh=Li[St[St.length-2]][St[St.length-1]],St.push(Sh),h.push(_o.$);break;case 3:return!0}return!0}};function uo(){this.yy={}}return uo.prototype=wh,wh.Parser=uo,new uo}(),em=pi.Parser,wc={};Ci(wc,{ARGUMENTS:()=>N7,AST:()=>Ie,Access:()=>it,AmperFunc:()=>tn,AmperRef:()=>A6,AmperWalker:()=>W3,ArgList:()=>_s,ArgsReference:()=>Q3,Argvar:()=>E6,Arr:()=>Ut,AssertionNode:()=>D3,AssetReference:()=>Eu,Assign:()=>gs,AssignList:()=>M3,AsyncFunc:()=>Tu,Await:()=>U6,BR:()=>ut,BR0:()=>Hu,BR2:()=>E7,BangCall:()=>si,Begin:()=>C6,Block:()=>Xe,BlockParam:()=>x2,BlockScope:()=>z2,Bool:()=>d1,BreakStatement:()=>b2,Call:()=>ks,Catch:()=>M6,CatchScope:()=>Ru,ClassAttribute:()=>h1,ClassBody:()=>Xn,ClassDeclaration:()=>Vs,ClassField:()=>en,ClassProperty:()=>P3,ClassRelation:()=>F3,ClassScope:()=>ln,ClosedFunc:()=>f6,ClosureScope:()=>k7,Code:()=>Qr,CodeBlock:()=>d6,Comment:()=>r6,ComparisonOp:()=>A2,CompoundAssign:()=>lu,ConditionalAssign:()=>ou,Const:()=>fu,ContinueStatement:()=>B3,ControlFlow:()=>L2,ControlFlowStatement:()=>rn,DECLARE:()=>V_,DebuggerStatement:()=>h6,Decorator:()=>pu,DecoratorIdentifier:()=>ta,Delete:()=>su,Descriptor:()=>I2,DescriptorPart:()=>du,DoPlaceholder:()=>mu,DocumentReference:()=>Fu,EMPTY:()=>A1,ESMDeclaration:()=>w1,ESMSpecifier:()=>an,ESMSpecifierList:()=>X6,EnvFlag:()=>S1,Export:()=>j2,ExportAllDeclaration:()=>Z6,ExportAllSpecifier:()=>W6,ExportDeclaration:()=>F2,ExportNamedDeclaration:()=>Q6,ExportSpecifier:()=>K6,ExpressionBlock:()=>j3,ExpressionList:()=>i6,ExpressionNode:()=>Wn,ExpressionWithUnit:()=>g6,ExtendDeclaration:()=>q3,ExternDeclaration:()=>gu,F:()=>lt,FALSE:()=>E1,False:()=>_1,FieldScope:()=>H2,Finally:()=>P6,FlowScope:()=>Pr,For:()=>R2,ForIn:()=>R6,ForOf:()=>$6,ForScope:()=>Cu,Func:()=>ot,FunctionScope:()=>B2,GLOBAL:()=>H_,Generics:()=>hu,GlobalReference:()=>T1,GreedyReturn:()=>G3,Identifier:()=>Ke,IdentifierExpression:()=>Xs,If:()=>Pt,IfScope:()=>Ou,IifeFunc:()=>K3,ImbaRuntime:()=>Y2,ImplicitAccess:()=>Qn,ImplicitReturn:()=>Zr,ImportDeclaration:()=>P2,ImportDefaultSpecifier:()=>ku,ImportNamespaceSpecifier:()=>q6,ImportProxy:()=>k1,ImportProxyAccess:()=>cu,ImportSpecifier:()=>Y6,ImportTypeDeclaration:()=>J6,In:()=>ru,Indentation:()=>Zi,Index:()=>Qi,IndexAccess:()=>w6,IndirectScopeContext:()=>Bu,InstanceOf:()=>eu,Instantiation:()=>na,InterpolatedIdentifier:()=>_u,InterpolatedString:()=>k2,InterpolatedSymbolIdentifier:()=>T6,Interpolation:()=>v6,IsolatedFunc:()=>Zn,IsolatedFunctionScope:()=>V2,Ivar:()=>N2,IvarAccess:()=>y1,Lambda:()=>S2,LambdaScope:()=>ha,ListNode:()=>Mt,Literal:()=>ms,LocalVarAccess:()=>iu,Loop:()=>ri,LoopFlowStatement:()=>c1,Meta:()=>Bs,MethodDeclaration:()=>gr,MethodScope:()=>li,MixinExports:()=>Nu,MixinIdentifier:()=>ra,MixinReference:()=>Au,ModuleScope:()=>T7,NIL:()=>A7,NODES:()=>U_,NULL:()=>vr,NamedParam:()=>c6,New:()=>I6,Newline:()=>l1,Nil:()=>T2,Node:()=>qe,Num:()=>zt,NumWithUnit:()=>m6,NumberLike:()=>sn,OP:()=>oe,Obj:()=>Ss,ObjAttr:()=>ei,ObjRestAttr:()=>x6,Op:()=>Nt,OptionalParam:()=>H3,PROTO:()=>zu,Param:()=>mr,ParamList:()=>z3,Parens:()=>Ot,Private:()=>uu,PropertyAccess:()=>g1,PureExpression:()=>a6,PureReference:()=>Pu,PushAssign:()=>ti,RESERVED:()=>I7,RESERVED_REGEX:()=>Uu,Range:()=>v1,RawScript:()=>p1,RegExp:()=>b6,RegExpIdentifier:()=>Z3,Require:()=>Iu,RequiredParam:()=>u6,RescueFunc:()=>X3,RestParam:()=>V3,Return:()=>As,Root:()=>Y3,RootScope:()=>on,RootScopeContext:()=>Vu,SELF:()=>q2,SETTYPE:()=>z_,SPLAT:()=>J_,STACK:()=>A,Scope:()=>Js,ScopeContext:()=>hn,ScopeVariables:()=>U3,Selector:()=>H6,SelectorPart:()=>z6,Self:()=>Ns,ShadowedVariable:()=>Mu,Splat:()=>aa,Stack:()=>C3,Statement:()=>Or,Str:()=>ct,StyleBody:()=>s7,StyleColor:()=>g7,StyleColorMix:()=>y7,StyleDeclaration:()=>r7,StyleDimension:()=>b7,StyleExpression:()=>l7,StyleExpressions:()=>o7,StyleFunction:()=>d7,StyleIdentifier:()=>_7,StyleInterpolationExpression:()=>p7,StyleNode:()=>e7,StyleNumber:()=>x7,StyleOperation:()=>c7,StyleParens:()=>h7,StyleProperty:()=>i7,StylePropertyIdentifier:()=>n7,StylePropertyModifier:()=>a7,StyleRuleSet:()=>oi,StyleSelector:()=>t7,StyleString:()=>m7,StyleTerm:()=>u7,StyleURL:()=>f7,StyleVar:()=>v7,Super:()=>Zs,Switch:()=>yu,SwitchCase:()=>O6,Symbol:()=>E2,SymbolIdentifier:()=>sa,SystemVariable:()=>ca,THIS:()=>vt,TPL:()=>ws,TRUE:()=>ua,Tag:()=>ai,TagArgList:()=>$2,TagAttr:()=>ii,TagAttrValue:()=>O2,TagBody:()=>D2,TagBodyScope:()=>Du,TagContent:()=>x1,TagData:()=>j6,TagDeclaration:()=>Jn,TagDynamicArg:()=>wu,TagFlag:()=>yr,TagFragment:()=>Su,TagFragmentFunc:()=>_6,TagHandler:()=>ni,TagHandlerCallback:()=>oa,TagHandlerSpecialArg:()=>F6,TagId:()=>vu,TagIdRef:()=>k6,TagIndexedFragment:()=>G6,TagKeyedFragment:()=>B6,TagLoopFragment:()=>nn,TagModifier:()=>b1,TagModifiers:()=>xu,TagPart:()=>lr,TagPushAssign:()=>au,TagScope:()=>G2,TagSep:()=>bu,TagSlotProxy:()=>M2,TagStyleAttr:()=>C2,TagSwitchFragment:()=>Hs,TagTextContent:()=>la,TagTypeIdentifier:()=>ia,TagWrapper:()=>V6,TaggedTemplate:()=>N6,TemplateString:()=>y6,Terminator:()=>Jr,This:()=>Mr,Throw:()=>l6,True:()=>f1,Try:()=>D6,TypeAnnotation:()=>ea,TypeOf:()=>tu,UNDEFINED:()=>hi,UnaryOp:()=>m1,Undefined:()=>J3,Util:()=>We,ValueNode:()=>nt,ValueReferenceNode:()=>O3,VarAccess:()=>nu,VarDeclList:()=>n6,VarDeclaration:()=>Dr,VarName:()=>p6,VarOrAccess:()=>Tt,VarReference:()=>Ts,Variable:()=>Ft,VariableDeclarator:()=>w2,Walker:()=>u1,While:()=>L6,WhileScope:()=>$u,WindowReference:()=>ju,Yield:()=>o6,ZonedVariable:()=>U2,ZonedVariableAccess:()=>Gu,parseError:()=>e6});function $5(e){let{AST:t,Node:s,ListNode:r,ValueNode:i,LIT:n,C:a,M:o,SourceMapper:l,StyleRule:p,StyleTheme:c,Color:d,colord:v,constants:f,helpers:g,iter$:y,idx$:T,STACK:_,TagDeclaration:b,TagLike:m,ClassBody:C,TagBody:k,TagFlag:L,TagStyleAttr:x}=e;class E extends s{}class N extends E{}let S=new Map;function D(q){let I=q.length,R=0;for(;R<I;){let z=q.charCodeAt(R);if(z<48||z>57)break;R++}if(R==0||R==I)return null;let O=R;for(;O<I;){let z=q.charCodeAt(O);if(!(z>=65&&z<=90||z>=97&&z<=122))return null;O++}return{number:parseInt(q.slice(0,R)),unit:q.slice(R)}}function V(q){let I=q.charCodeAt(0);return I==35||I==45||I==95||I>=48&&I<=57||I>=65&&I<=90||I>=97&&I<=122}function M(q,I){let R=S.get(q);if(R)return R;let O=q.replace(/(^|\b)\$/g,"--").split(/\b(?=[\^\.\@\!])/g);for(let he=0,H=O.length;he<H;he++){let G=O[he];G[0]=="."&&G[1]&&G[1]!="."&&(O[he]="@."+G.slice(1))}let z=String(O[0]),B=null,ie=!1;q[0]=="#"&&(B="color",ie=I.HEX_REGEX.test(z));let K=D(z),ne=K&&K.number,ue=K&&K.unit;return V(z)||(O=[null].concat(O),z=null),R={parts:O,name:z,kind:B,number:ne,unit:ue,colorError:ie},S.set(q,R),R}class W extends E{constructor(I,R){super(...arguments),this._placeholders=[],this._selectors=I,this._body=R}isStatic(){return!0}isGlobal(){return!!this.option("global")}addPlaceholder(I){return this._placeholders.push(I),this}cssid(){return this._cssid||(this._cssid=""+_.root().sourceId()+"-"+this.tid())}visit(I,R){let O=this._tagDeclaration=I.up(b),z=I.parents(m);z[0]&&O&&z[0].isSelf()&&z[1]&&(z[0]=O),z.length==0&&O&&(z=[O]),this._css={},this._flag=I.up(L),this._tag=this._flag&&this._flag._tag;let B=String(this.option("name")||"");B[0]=="%"&&(this._mixin=this.scope__().mixin(B.slice(1)),this._mixin._rule=this,this._mixin,this._mixin._options.id=this.cssid()),this.option("export")&&_.root().mixinExports().add(this._mixin.name(),this._mixin._options);let ie=String(this._selectors).trim();if(I.parent()instanceof C)if(I.up(2)instanceof b)this._css.type="component",this._variable||(this._sel=ie||"&",this._css.scope=O);else throw"css not allowed in class declaration";else I.parent()instanceof k?(this._tag=z[z.length-1],this._sel=ie||"&",this._css.type="scoped",this._css.scope=this._tag):this.option("toplevel")?I.up(k)?(this._tag=I.up(m),this._sel=ie||"&",this._css.scope=this._tag,this._css.ns=this.cssid(),this._css.id=this.cssid(),this._css.type="scoped",this._name=this.cssid(),this.set({inTagTree:!0})):(this._css.scope=this.isGlobal()?null:this.scope__().closure(),this._sel||(this._sel=ie)):R.rule?(this._sel||(this._sel=this._selectors&&this._selectors.toString&&this._selectors.toString().trim()),this._sel.indexOf("&")==-1&&(this._sel="& "+this._sel)):!this._name&&this._tag&&this._flag&&!this._flag._condition?(this._css.scope=this._tag,this._name=this._tag.cssid(),this._sel="&"):this._name||(this._name=this.cssid(),this._sel="."+this._name);if(this._selectors&&this._selectors.traverse&&this._selectors.traverse(),this._styles={},this._body&&this._body.traverse&&this._body.traverse({rule:this,styles:this._styles,rootRule:R.rule||this}),this._placeholders.length){if(this.option("inTagTree"))for(let K=0,ne=y(this._placeholders),ue=ne.length,he;K<ue;K++){he=ne[K];let H=new x(he.name());H._tag=this._tag,H._value=he.runtimeValue(),H.set({propname:he._propname,unit:he.option("unit"),styleterm:he}),he._setter=H,H.traverse()}else if(!this._flag)for(let K=0,ne=y(this._placeholders),ue=ne.length;K<ue;K++)ne[K].warn("Only allowed inside tag tree")}if(R.rule&&R.styles)if(R.styles[this._sel]){let K=R.styles[this._sel];g.deepAssign(K,this._styles)}else R.styles[this._sel]=this._styles;else{let K=this._tagDeclaration,ne={selectors:[],ns:this._css.ns,id:this._css.id,type:this._css.type,scope:this._css.scope,tags:z,component:O,inline:!!this._flag,global:!!this.isGlobal(),mixins:{},apply:{},depth:this._tag?this._tag._level:0};this._css=new p(null,this._sel,this._styles,ne).toString(),_._css.add(this._css,ne)}return this}toRaw(){return""+this._name}c(){if(this.option("toplevel")&&this.option("export"))return"";if(this._tvar){let I=[""+this._tvar+" = '"+this._name+"'"],R=function(B){return I.push(B)},O=this._tag.cvar(),z=this._tag.bvar();for(let B=0,ie=y(this._placeholders),K=ie.length;B<K;B++){let ne=ie[B]._setter,ue=""+O+"["+ne.osym()+"]",he=ne.value();R(""+o(ne.js(this._o),ne))}return _.isExpression()?"("+I.join(",")+")":I.join(`;
`)}if(_.tsc()&&this._placeholders.length){let I=[];for(let R=0,O=y(this._placeholders),z=O.length;R<z;R++)I.push(O[R].runtimeValue().c());return _.isExpression()?"("+I.join(",")+")":I.join(`;
`)}return this.option("inClassBody")||this.option("inTagTree")||this.option("toplevel")?"":"'"+this._name+"'"}}class Q extends r{visit(){let I=this._nodes,R=0,O;for(let z=0,B=y(I),ie=B.length,K;z<ie;z++)K=B[z],K instanceof le&&(K._property._name||K._property.setName(O),O=K._property._name);for(;R<I.length;){let z=I[R],B=z.traverse();if(B!=z&&B instanceof Array){I.splice.apply(I,[].concat([R,1],Array.from(B)));continue}z==I[R]&&R++}return this}toJSON(){return this.values()}}class le extends E{constructor(I,R){super(...arguments),this._property=I,this._expr=R instanceof Je?R:new Je(R)}clone(I,R){return R==null&&(R=this._expr.clone()),(typeof R=="string"||typeof R=="number")&&(R=[R]),!(R instanceof Array)&&(!(R instanceof r)||R instanceof _e)&&(R=[R]),new le(this._property.clone(I),R)}visit(I,R){var O=this,z;let B=I.theme(),ie=I.parent(),K=String(O._property.name()),ne=B.expandProperty(K);if(O._expr&&O._expr.traverse({rule:R.rule,rootRule:R.rootRule,decl:O,property:O._property}),ne instanceof Array){ie.replace(O,ne.map(function(G){return O.clone(G)}));return}else ne&&ne!=K&&(O._property=O._property.clone(ne));let ue=String(ne||K).replace(/-/g,"_");O._expr&&O._expr.traverse({decl:O,property:O._property});let he,H=[];if(O._property.isColor&&O._property.isColor()?he=B.colormix(K.slice(1),O._expr.toArray()):B[ue]&&!O.option("plain")&&(he=B[ue].apply(B,O._expr.toArray())),he instanceof Array)O._expr=new Je(he);else if(he instanceof Object){for(let G,me=0,Y=Object.keys(he),X=Y.length,ge;me<X;me++)if(ge=Y[me],G=he[ge],ge.indexOf("&")>=0){let be=new Q([]),Se=new W(n(ge),be);H.push(Se);for(let xe,ye=0,we=Object.keys(G),Te=we.length,_t;ye<Te;ye++)_t=we[ye],xe=G[_t],be.add(O.clone(_t,xe))}else H.push(O.clone(ge,G).set({plain:ge==K||ge==ne}));ie.replace(O,H);return}if(O._expr&&(O._expr.traverse({decl:O,property:O._property}),O._expr.set({parens:!1})),R.styles){let G=O._property.toKey(),me=O._expr;R.selector&&(G=JSON.stringify([R.selector,G])),O._property.isUnit()&&O._property.number()!=1&&(me=n("calc("+me.c()+" / "+O._property.number()+")")),R.styles[G]&&(z=R.styles[G],delete R.styles[G]),R.styles[G]=me.c({property:O._property})}return O}toCSS(){return""+this._property.c()+": "+t.cary(this._expr).join(" ")}toJSON(){return this.toCSS()}}class ae extends E{constructor(I){super(...arguments),this._token=I;let R=String(this._token),O=M(R,f);this._parts=O.parts.slice(),this._name=O.name,this._kind=O.kind,this._number=O.number,this._unit=O.unit,O.colorError&&this.error("Color name "+this._name+" cannot be identical to valid hex color",{loc:I[0]||I})}setName(I){let R=D(I);return R?(this._number=R.number,this._unit=R.unit):this._number=this._unit=null,this._name=I,this}name(){return this._name||(this._name=String(this._parts[0]))}number(){return this._number}setNumber(I){return this._number=I,this}unit(){return this._unit}setUnit(I){return this._unit=I,this}kind(){return this._kind}setKind(I){return this._kind=I,this}clone(I){return new ae([I||this._name].concat(this.modifiers()).join(""))}addModifier(I){return this._parts.push(I),this}isUnit(){return this._unit}isColor(){return this._kind=="color"||this._name[0]=="#"}modifiers(){return this._parts.slice(1)}toJSON(){return this._name+this.modifiers().join("\xA7")}toString(){return this._name+this.modifiers().join("\xA7")}toKey(){return[this.isUnit()?"--u_"+this._unit:this.isColor()?"--c_"+this._name.slice(1):this._name].concat(this.modifiers()).join("\xA7")}c(){return this.toString()}}class fe extends E{constructor(I){super(...arguments),this._name=I,String(I)[0]=="$"&&(this._name="--"+String(I).slice(1))}toJSON(){return String(this._name)}toString(){return String(this._name)}}class pe extends E{constructor(I){super(...arguments),this._name=I}toJSON(){return String(this._name)}toString(){return String(this._name)}}class Je extends r{load(I){return I instanceof Array&&(I=I.map(function(R){return R instanceof st?R:new st(R)})),[].concat(I)}c(I){let R=t.cary(this._nodes,I).join(", ");return this.option("parens")&&(R="( "+R+" )"),R}clone(){return new Je(this._nodes.slice(0))}toArray(){return this._nodes.filter(function(I){return I instanceof st}).map(function(I){return I.toArray()})}}class st extends r{load(I){return[].concat(I)}toString(){return t.cary(this._nodes).join(" ")}clone(){return new st(this._nodes.slice(0))}c(I){return I&&I.as=="js"?t.cary(this._nodes,I).join(" "):this.toString()}toJSON(){return this.toString()}toArray(){return this._nodes}toIterable(){return this._nodes}addParam(I,R){return I._op=R,this.last().addParam(I),this}reclaimParams(){let I=this.filter(function(R){return R.param});for(let R=0,O=y(I),z=O.length,B;R<z;R++){B=O[R];let ie=B.param,K=ie._op;this.add([K,ie],{after:B}),B._params=[]}}visit(I,R){if(R&&R.property){let O=R.property._name;(O=="gt"||O=="grid-template")&&this.reclaimParams()}return super.visit(...arguments)}}class se extends i{visit(I,R){return super.visit(...arguments),this.set({calc:!I.up(se)&&!I.up(re)})}c(I){let R=this._value.c();if(I&&I.as=="js")return R;if(this.option("calc")){let O=this._options&&String(this._options.unit||"");return O?"calc(calc("+R+") * 1"+O+")":"calc("+R+")"}else return"("+R+")"}}class _e extends r{c(I){return t.cary(this._nodes,I).join(" ")}}class U extends i{valueOf(){return String(this._value)}toString(){return String(this._value)}toRaw(){return this.valueOf()}toAlpha(){return this.valueOf()}visit(I,R){this._token=this._value,this._property=R.property,this._propname=R.property&&R.property._name,this.alone=I.up()instanceof st&&I.up().values().length==1;let O=I.theme().$value(this,0,this._propname);return I.up(se)||I.up(re)||(this._resolvedValue=O),this}get param(){return this._params&&this._params[0]}kind(){return this._kind}runtimeValue(){return this.value()}addParam(I){return this._params||(this._params=[]),this._params.push(I),this}c(I){return this._resolvedValue&&!(this._resolvedValue instanceof s)?a(this._resolvedValue):this.valueOf()}}class de extends U{name(I){return this._name}setName(I){return this._name=I,this}loc(){return[this._startLoc,this._endLoc]}visit(I,R){return super.visit(...arguments),R.rootRule&&R.rootRule.addPlaceholder(this),this._id=""+this.sourceId()+"_"+this.tid(),this._name="--"+this._id,this._runtimeValue=this.value()}runtimeValue(){return this._runtimeValue}get unit(){return this._options&&String(this._options.unit)||""}c(){return"var(--"+this._id+")"}}class re extends s{constructor(I,R){super(...arguments),this._name=I,this._params=R}kind(){return"function"}visit(I,R){this._property=R.property,this._propname=R.property&&R.property._name,this._params&&this._params.traverse&&this._params.traverse();let O=String(this._name),z=this._params.toArray().flat();if(this._property.isColor()&&O.match(/^(lch|rgba?|hsla?)$/)){this._lcha=[];for(let B=0,ie=y(z),K=ie.length,ne;B<K;B++)ne=ie[B],ne._value!="/"&&this._lcha.push(ne);if(O!="lch"){let B=this._lcha[3],ie=O.slice(0,3);for(let K=0,ne=y(this._lcha),ue=ne.length,he;K<ue;K++)if(he=ne[K],!(he instanceof ee)&&K<3)return this.error("Dynamic part not allowed in non-lch #color definitions",{loc:he});try{let K=this._params.c();B&&!(B instanceof ee)&&(K=K.replace(B.c(),"1"));let ne=""+O+"("+K+")",ue=v(ne).toLch();this._lcha=[ue.l,ue.c,ue.h,ue.a],B&&(this._lcha[3]=B)}catch{this.error("Failed to parse color",{loc:this})}}}return this}lcha(){return this._lcha||[0,0,0,1]}toString(){return this.c()}c(I){var R;let O=String(this._name),z=this._params.c(),B=""+O+"("+z+")";if(this._property&&this._property.isColor()){if(O=="hsl"){let ie=this._params.toArray().flat();if(ie.length==3)return t.cary(ie).join(",")}if(R=d.from(B))return R.toVar()}return I&&I.as=="js"&&(B=g.singlequote(B)),B}}class P extends i{c(){let I=String(this._value);return l.strip(I)}}class Ae extends U{color(){return this._color}setColor(I){return this._color=I,this}visit(I){let R=this.toString();if(R.match(/^[lcha]$/)){super.visit(...arguments);let O=I.up(J);return this._colormix=O,this._resolvedValue="var(--u_"+this._colormix._name+R.toUpperCase()+")"}else return R.match(/^([a-zA-Z]+\d+|black|white)$/)&&(this.setColor(""+R),this.param&&this.setColor(this.color()+"/"+this.param.toAlpha())),super.visit(...arguments)}c(I){if(this._colormix)return"var(--u_"+this._colormix._name+this.toString().toUpperCase()+")";if(this.color()){let O=this.color().toString();return(this.option("parameterize")||this._property&&this._property.isColor()?"/*##*/":"/*#*/")+O}let R=this.toString();return R[0]=="$"?(R="var(--"+R.slice(1)+")",I&&I.as=="js"&&(R=g.singlequote(R)),R):super.c(...arguments)}}class Ne extends U{}class F extends U{visit(){var I;super.visit(...arguments);let R=this.toRaw(),O=this._name=R.slice(1);if(I=R.match(f.HEX_REGEX)){this._hex=!0;let B=v(R).toLch();this._lcha=[B.l,B.c,B.h,B.a]}else this._lcha=["var(--u_"+O+"L)","var(--u_"+O+"C)","var(--u_"+O+"H)","var(--u_"+O+"A,1)"];let z=this.param&&this.param.toAlpha();if(z!=null)return z[0]=="$"&&(z="var(--"+z.slice(1)+",100%)"),this._lcha[3]=z}lcha(){return this._lcha}c(I){var B;let R=this.toRaw(),O=R.slice(1),z=d.from(R);if(this._property&&this._property.isColor())return console.log("deprecated"),z.toVar();var B=y(this._lcha);let ie=B[0],K=B[1],ne=B[2],ue=B[3];return this._hex&&ue==1?R:"lch("+ie+" "+K+" "+ne+" / "+ue+")"}}class J extends U{params(){return this.option("params")}lcha(){return this._lcha}visit(){let I=this.params().toArray().flat(),R=this._name=this.toRaw().slice(1);this.params().traverse(),super.visit(...arguments),this._lcha=[];for(let O=0,z=y(I),B=z.length,ie;O<B;O++)ie=z[O],ie._value!="/"&&this._lcha.push(ie);return this._lcha.length==3&&this._lcha.push(n("var(--u_"+R+"A,1)")),this}c(I){var O;let R=this.toRaw().slice(1);var O=y(t.cary(this._lcha));let z=O[0],B=O[1],ie=O[2],K=O[3];return"lch("+z+" "+B+" "+ie+" / "+K+")"}}class Z extends U{c(I){return this.toString()}}var j="cm mm Q in pc pt px em ex ch rem vw vh vmin vmax % s ms fr deg rad grad turn Hz kHz cqw cqh cqi cqb cqmin cqmax".split(" ");class ee extends U{constructor(I){super(...arguments),this._value=I;let R=String(I).match(/^([\-\+]?[\d\.]*)([a-zA-Z]+|%)?$/);this._number=parseFloat(R[1]),this._unit=R[2]||null}get unit(){return this._unit||""}number(){return this._number}setNumber(I){return this._number=I,this}setUnit(I){return this._unit=I,this}clone(I,R){I===void 0&&(I=this._number),R===void 0&&(R=this._unit);let O=new ee(this.value());return O._unit=R,O._number=I,O}visit(I){return this._unit&&this._unit.match(/^[lcha]$/)&&(this._colormix=I.up(J))&&(this._unit=""+this._colormix._name+this._unit.toUpperCase()),super.visit(...arguments)}toString(){return""+this._number+(this._unit||"")}toFloat(I){I===void 0&&(I=.01);let R=this._number;return this._unit=="%"&&(R=R*I),R}toRaw(){return this._unit?this.toString():this._number}c(I){let R=this._resolvedValue&&!(this._resolvedValue instanceof s)?a(this._resolvedValue):this.valueOf();return I&&I.as=="js"&&this._unit&&(R=g.singlequote(R)),R}valueOf(){if(this._unit=="u")return this._number*4+"px";if(this._unit==null)return this._number;if(T(this._unit,j)>=0)return String(this._value);{let I=this._colormix?"":",1"+this._unit;return this._number==1?"var(--u_"+this._unit+I+")":"calc(var(--u_"+this._unit+I+") * "+this._number+")"}}toAlpha(){return this._unit?this.valueOf():this._number+"%"}}class te extends ee{}return{StyleNode:E,StyleSelector:N,StyleRuleSet:W,StyleBody:Q,StyleDeclaration:le,StyleProperty:ae,StylePropertyIdentifier:fe,StylePropertyModifier:pe,StyleExpressions:Je,StyleExpression:st,StyleParens:se,StyleOperation:_e,StyleTerm:U,StyleInterpolationExpression:de,StyleFunction:re,StyleURL:P,StyleIdentifier:Ae,StyleString:Ne,StyleColor:F,StyleColorMix:J,StyleVar:Z,StyleDimension:ee,StyleNumber:te}}var Me={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Wa=Me;for(let e of Object.keys(Me)){if(!("channels"in Me[e]))throw new Error("missing channels property: "+e);if(!("labels"in Me[e]))throw new Error("missing channel labels property: "+e);if(Me[e].labels.length!==Me[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:s}=Me[e];delete Me[e].channels,delete Me[e].labels,Object.defineProperty(Me[e],"channels",{value:t}),Object.defineProperty(Me[e],"labels",{value:s})}Me.rgb.hsl=function(e){let t=e[0]/255,s=e[1]/255,r=e[2]/255,i=Math.min(t,s,r),n=Math.max(t,s,r),a=n-i,o,l;n===i?o=0:t===n?o=(s-r)/a:s===n?o=2+(r-t)/a:r===n&&(o=4+(t-s)/a),o=Math.min(o*60,360),o<0&&(o+=360);let p=(i+n)/2;return n===i?l=0:p<=.5?l=a/(n+i):l=a/(2-n-i),[o,l*100,p*100]},Me.rgb.hsv=function(e){let t,s,r,i,n,a=e[0]/255,o=e[1]/255,l=e[2]/255,p=Math.max(a,o,l),c=p-Math.min(a,o,l),d=function(v){return(p-v)/6/c+1/2};return c===0?(i=0,n=0):(n=c/p,t=d(a),s=d(o),r=d(l),a===p?i=r-s:o===p?i=1/3+t-r:l===p&&(i=2/3+s-t),i<0?i+=1:i>1&&(i-=1)),[i*360,n*100,p*100]},Me.rgb.hwb=function(e){let t=e[0],s=e[1],r=e[2],i=Me.rgb.hsl(e)[0],n=1/255*Math.min(t,Math.min(s,r));return r=1-1/255*Math.max(t,Math.max(s,r)),[i,n*100,r*100]},Me.rgb.cmyk=function(e){let t=e[0]/255,s=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-s,1-r),n=(1-t-i)/(1-i)||0,a=(1-s-i)/(1-i)||0,o=(1-r-i)/(1-i)||0;return[n*100,a*100,o*100,i*100]},Me.rgb.xyz=function(e){let t=e[0]/255,s=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=t*.4124564+s*.3575761+r*.1804375,n=t*.2126729+s*.7151522+r*.072175,a=t*.0193339+s*.119192+r*.9503041;return[i*100,n*100,a*100]},Me.rgb.lab=function(e){let t=Me.rgb.xyz(e),s=t[0],r=t[1],i=t[2];s/=95.047,r/=100,i/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let n=116*r-16,a=500*(s-r),o=200*(r-i);return[n,a,o]},Me.rgb.lch=function(e){return Me.lab.lch(Me.rgb.lab(e))},Me.hsl.lch=function(e){return Me.rgb.lch(Me.hsl.rgb(e))},Me.hsl.rgb=function(e){let t=e[0]/360,s=e[1]/100,r=e[2]/100,i,n,a;if(s===0)return a=r*255,[a,a,a];r<.5?i=r*(1+s):i=r+s-r*s;let o=2*r-i,l=[0,0,0];for(let p=0;p<3;p++)n=t+1/3*-(p-1),n<0&&n++,n>1&&n--,6*n<1?a=o+(i-o)*6*n:2*n<1?a=i:3*n<2?a=o+(i-o)*(2/3-n)*6:a=o,l[p]=a*255;return l},Me.hsl.hsv=function(e){let t=e[0],s=e[1]/100,r=e[2]/100,i=s,n=Math.max(r,.01);r*=2,s*=r<=1?r:2-r,i*=n<=1?n:2-n;let a=(r+s)/2,o=r===0?2*i/(n+i):2*s/(r+s);return[t,o*100,a*100]},Me.hsv.rgb=function(e){let t=e[0]/60,s=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,n=t-Math.floor(t),a=255*r*(1-s),o=255*r*(1-s*n),l=255*r*(1-s*(1-n));switch(r*=255,i){case 0:return[r,l,a];case 1:return[o,r,a];case 2:return[a,r,l];case 3:return[a,o,r];case 4:return[l,a,r];case 5:return[r,a,o]}},Me.hsv.hsl=function(e){let t=e[0],s=e[1]/100,r=e[2]/100,i=Math.max(r,.01),n,a;a=(2-s)*r;let o=(2-s)*i;return n=s*i,n/=o<=1?o:2-o,n=n||0,a/=2,[t,n*100,a*100]},Me.hwb.rgb=function(e){let t=e[0]/360,s=e[1]/100,r=e[2]/100,i=s+r,n;i>1&&(s/=i,r/=i);let a=Math.floor(6*t),o=1-r;n=6*t-a,a&1&&(n=1-n);let l=s+n*(o-s),p,c,d;switch(a){default:case 6:case 0:p=o,c=l,d=s;break;case 1:p=l,c=o,d=s;break;case 2:p=s,c=o,d=l;break;case 3:p=s,c=l,d=o;break;case 4:p=l,c=s,d=o;break;case 5:p=o,c=s,d=l;break}return[p*255,c*255,d*255]},Me.cmyk.rgb=function(e){let t=e[0]/100,s=e[1]/100,r=e[2]/100,i=e[3]/100,n=1-Math.min(1,t*(1-i)+i),a=1-Math.min(1,s*(1-i)+i),o=1-Math.min(1,r*(1-i)+i);return[n*255,a*255,o*255]},Me.xyz.rgb=function(e){let t=e[0]/100,s=e[1]/100,r=e[2]/100,i,n,a;return i=t*3.2404542+s*-1.5371385+r*-.4985314,n=t*-.969266+s*1.8760108+r*.041556,a=t*.0556434+s*-.2040259+r*1.0572252,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,n=n>.0031308?1.055*n**(1/2.4)-.055:n*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),n=Math.min(Math.max(0,n),1),a=Math.min(Math.max(0,a),1),[i*255,n*255,a*255]},Me.xyz.lab=function(e){let t=e[0],s=e[1],r=e[2];t/=95.047,s/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let i=116*s-16,n=500*(t-s),a=200*(s-r);return[i,n,a]},Me.lab.xyz=function(e){let t=e[0],s=e[1],r=e[2],i,n,a;n=(t+16)/116,i=s/500+n,a=n-r/200;let o=n**3,l=i**3,p=a**3;return n=o>.008856?o:(n-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,a=p>.008856?p:(a-16/116)/7.787,i*=95.047,n*=100,a*=108.883,[i,n,a]},Me.lab.lch=function(e){let t=e[0],s=e[1],r=e[2],i;i=Math.atan2(r,s)*360/2/Math.PI,i<0&&(i+=360);let n=Math.sqrt(s*s+r*r);return[t,n,i]},Me.lch.lab=function(e){let t=e[0],s=e[1],r=e[2]/360*2*Math.PI,i=s*Math.cos(r),n=s*Math.sin(r);return[t,i,n]},Me.rgb.ansi16=function(e,t=null){let[s,r,i]=e,n=t===null?Me.rgb.hsv(e)[2]:t;if(n=Math.round(n/50),n===0)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(s/255));return n===2&&(a+=60),a},Me.hsv.ansi16=function(e){return Me.rgb.ansi16(Me.hsv.rgb(e),e[2])},Me.rgb.ansi256=function(e){let t=e[0],s=e[1],r=e[2];return t===s&&s===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(s/255*5)+Math.round(r/255*5)},Me.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let s=(~~(e>50)+1)*.5,r=(t&1)*s*255,i=(t>>1&1)*s*255,n=(t>>2&1)*s*255;return[r,i,n]},Me.ansi256.rgb=function(e){if(e>=232){let n=(e-232)*10+8;return[n,n,n]}e-=16;let t,s=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[s,r,i]},Me.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},Me.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let s=t[0];t[0].length===3&&(s=s.split("").map(o=>o+o).join(""));let r=parseInt(s,16),i=r>>16&255,n=r>>8&255,a=r&255;return[i,n,a]},Me.hex.hsl=function(e){return Me.rgb.hsl(Me.hex.rgb(e))},Me.hex.lch=function(e){return Me.rgb.lch(Me.hex.rgb(e))},Me.rgb.hcg=function(e){let t=e[0]/255,s=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,s),r),n=Math.min(Math.min(t,s),r),a=i-n,o,l;return a<1?o=n/(1-a):o=0,a<=0?l=0:i===t?l=(s-r)/a%6:i===s?l=2+(r-t)/a:l=4+(t-s)/a,l/=6,l%=1,[l*360,a*100,o*100]},Me.hsl.hcg=function(e){let t=e[1]/100,s=e[2]/100,r=s<.5?2*t*s:2*t*(1-s),i=0;return r<1&&(i=(s-.5*r)/(1-r)),[e[0],r*100,i*100]},Me.hsv.hcg=function(e){let t=e[1]/100,s=e[2]/100,r=t*s,i=0;return r<1&&(i=(s-r)/(1-r)),[e[0],r*100,i*100]},Me.hcg.rgb=function(e){let t=e[0]/360,s=e[1]/100,r=e[2]/100;if(s===0)return[r*255,r*255,r*255];let i=[0,0,0],n=t%1*6,a=n%1,o=1-a,l=0;switch(Math.floor(n)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return l=(1-s)*r,[(s*i[0]+l)*255,(s*i[1]+l)*255,(s*i[2]+l)*255]},Me.hcg.hsv=function(e){let t=e[1]/100,s=e[2]/100,r=t+s*(1-t),i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]},Me.hcg.hsl=function(e){let t=e[1]/100,s=e[2]/100*(1-t)+.5*t,r=0;return s>0&&s<.5?r=t/(2*s):s>=.5&&s<1&&(r=t/(2*(1-s))),[e[0],r*100,s*100]},Me.hcg.hwb=function(e){let t=e[1]/100,s=e[2]/100,r=t+s*(1-t);return[e[0],(r-t)*100,(1-r)*100]},Me.hwb.hcg=function(e){let t=e[1]/100,s=1-e[2]/100,r=s-t,i=0;return r<1&&(i=(s-r)/(1-r)),[e[0],r*100,i*100]},Me.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Me.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Me.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Me.gray.hsl=function(e){return[0,0,e[0]]},Me.gray.hsv=Me.gray.hsl,Me.gray.hwb=function(e){return[0,100,e[0]]},Me.gray.cmyk=function(e){return[0,0,0,e[0]]},Me.gray.lab=function(e){return[e[0],0,0]},Me.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,s=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(s.length)+s},Me.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var C5={grad:.9,turn:360,rad:360/(2*Math.PI)},fr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Dt=function(e,t,s){return t===void 0&&(t=0),s===void 0&&(s=Math.pow(10,t)),Math.round(s*e)/s+0},js=function(e,t,s){return t===void 0&&(t=0),s===void 0&&(s=1),e>s?s:e>t?e:t},Sc=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Tc=function(e){return{r:js(e.r,0,255),g:js(e.g,0,255),b:js(e.b,0,255),a:js(e.a)}},zo=function(e){return{r:Dt(e.r),g:Dt(e.g),b:Dt(e.b),a:Dt(e.a,3)}},O5=/^#([0-9a-f]{3,8})$/i,Xa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},kc=function(e){var t=e.r,s=e.g,r=e.b,i=e.a,n=Math.max(t,s,r),a=n-Math.min(t,s,r),o=a?n===t?(s-r)/a:n===s?2+(r-t)/a:4+(t-s)/a:0;return{h:60*(o<0?o+6:o),s:n?a/n*100:0,v:n/255*100,a:i}},Ec=function(e){var t=e.h,s=e.s,r=e.v,i=e.a;t=t/360*6,s/=100,r/=100;var n=Math.floor(t),a=r*(1-s),o=r*(1-(t-n)*s),l=r*(1-(1-t+n)*s),p=n%6;return{r:255*[r,o,a,a,l,r][p],g:255*[l,r,r,o,a,a][p],b:255*[a,a,l,r,r,o][p],a:i}},Ac=function(e){return{h:Sc(e.h),s:js(e.s,0,100),l:js(e.l,0,100),a:js(e.a)}},Nc=function(e){return{h:Dt(e.h),s:Dt(e.s),l:Dt(e.l),a:Dt(e.a,3)}},Ic=function(e){return Ec((s=(t=e).s,{h:t.h,s:(s*=((r=t.l)<50?r:100-r)/100)>0?2*s/(r+s)*100:0,v:r+s,a:t.a}));var t,s,r},Gn=function(e){return{h:(t=kc(e)).h,s:(i=(200-(s=t.s))*(r=t.v)/100)>0&&i<200?s*r/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,s,r,i},D5=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,M5=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,P5=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,F5=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Uo={string:[[function(e){var t=O5.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Dt(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Dt(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=P5.exec(e)||F5.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Tc({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=D5.exec(e)||M5.exec(e);if(!t)return null;var s,r,i=Ac({h:(s=t[1],r=t[2],r===void 0&&(r="deg"),Number(s)*(C5[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Ic(i)},"hsl"]],object:[[function(e){var t=e.r,s=e.g,r=e.b,i=e.a,n=i===void 0?1:i;return fr(t)&&fr(s)&&fr(r)?Tc({r:Number(t),g:Number(s),b:Number(r),a:Number(n)}):null},"rgb"],[function(e){var t=e.h,s=e.s,r=e.l,i=e.a,n=i===void 0?1:i;if(!fr(t)||!fr(s)||!fr(r))return null;var a=Ac({h:Number(t),s:Number(s),l:Number(r),a:Number(n)});return Ic(a)},"hsl"],[function(e){var t=e.h,s=e.s,r=e.v,i=e.a,n=i===void 0?1:i;if(!fr(t)||!fr(s)||!fr(r))return null;var a=function(o){return{h:Sc(o.h),s:js(o.s,0,100),v:js(o.v,0,100),a:js(o.a)}}({h:Number(t),s:Number(s),v:Number(r),a:Number(n)});return Ec(a)},"hsv"]]},Lc=function(e,t){for(var s=0;s<t.length;s++){var r=t[s][0](e);if(r)return[r,t[s][1]]}return[null,void 0]},j5=function(e){return typeof e=="string"?Lc(e.trim(),Uo.string):typeof e=="object"&&e!==null?Lc(e,Uo.object):[null,void 0]},Yo=function(e,t){var s=Gn(e);return{h:s.h,s:js(s.s+100*t,0,100),l:s.l,a:s.a}},qo=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Rc=function(e,t){var s=Gn(e);return{h:s.h,s:s.s,l:js(s.l+100*t,0,100),a:s.a}},Ko=function(){function e(t){this.parsed=j5(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Dt(qo(this.rgba),2)},e.prototype.isDark=function(){return qo(this.rgba)<.5},e.prototype.isLight=function(){return qo(this.rgba)>=.5},e.prototype.toHex=function(){return t=zo(this.rgba),s=t.r,r=t.g,i=t.b,a=(n=t.a)<1?Xa(Dt(255*n)):"","#"+Xa(s)+Xa(r)+Xa(i)+a;var t,s,r,i,n,a},e.prototype.toRgb=function(){return zo(this.rgba)},e.prototype.toRgbString=function(){return t=zo(this.rgba),s=t.r,r=t.g,i=t.b,(n=t.a)<1?"rgba("+s+", "+r+", "+i+", "+n+")":"rgb("+s+", "+r+", "+i+")";var t,s,r,i,n},e.prototype.toHsl=function(){return Nc(Gn(this.rgba))},e.prototype.toHslString=function(){return t=Nc(Gn(this.rgba)),s=t.h,r=t.s,i=t.l,(n=t.a)<1?"hsla("+s+", "+r+"%, "+i+"%, "+n+")":"hsl("+s+", "+r+"%, "+i+"%)";var t,s,r,i,n},e.prototype.toHsv=function(){return t=kc(this.rgba),{h:Dt(t.h),s:Dt(t.s),v:Dt(t.v),a:Dt(t.a,3)};var t},e.prototype.invert=function(){return qs({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),qs(Yo(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),qs(Yo(this.rgba,-t))},e.prototype.grayscale=function(){return qs(Yo(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),qs(Rc(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),qs(Rc(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?qs({r:(s=this.rgba).r,g:s.g,b:s.b,a:t}):Dt(this.rgba.a,3);var s},e.prototype.hue=function(t){var s=Gn(this.rgba);return typeof t=="number"?qs({h:t,s:s.s,l:s.l,a:s.a}):Dt(s.h)},e.prototype.isEqual=function(t){return this.toHex()===qs(t).toHex()},e}(),qs=function(e){return e instanceof Ko?e:new Ko(e)},$c=[],G5=function(e){e.forEach(function(t){$c.indexOf(t)<0&&(t(Ko,Uo),$c.push(t))})},B5={grad:.9,turn:360,rad:360/(2*Math.PI)},Wo=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Hi=function(e,t,s){return t===void 0&&(t=0),s===void 0&&(s=Math.pow(10,t)),Math.round(s*e)/s+0},_r=function(e,t,s){return t===void 0&&(t=0),s===void 0&&(s=1),e>s?s:e>t?e:t},Xo=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Jo=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},Zo=96.422,Qo=100,e2=82.521,V5=function(e){var t,s,r={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return s={r:Jo(.032404542*r.x-.015371385*r.y-.004985314*r.z),g:Jo(-.00969266*r.x+.018760108*r.y+41556e-8*r.z),b:Jo(556434e-9*r.x-.002040259*r.y+.010572252*r.z),a:e.a},{r:_r(s.r,0,255),g:_r(s.g,0,255),b:_r(s.b,0,255),a:_r(s.a)}},H5=function(e){var t=Xo(e.r),s=Xo(e.g),r=Xo(e.b);return function(i){return{x:_r(i.x,0,Zo),y:_r(i.y,0,Qo),z:_r(i.z,0,e2),a:_r(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*t+.3575761*s+.1804375*r),y:100*(.2126729*t+.7151522*s+.072175*r),z:100*(.0193339*t+.119192*s+.9503041*r),a:e.a}))},Bn=216/24389,zi=24389/27,Cc=function(e){return{l:_r(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},Oc=function(e){return{l:Hi(e.l,2),c:Hi(e.c,2),h:Hi(e.h,2),a:Hi(e.a,3)}},z5=function(e){var t=e.l,s=e.c,r=e.h,i=e.a,n=i===void 0?1:i;if(!Wo(t)||!Wo(s)||!Wo(r))return null;var a=Cc({l:Number(t),c:Number(s),h:Number(r),a:Number(n)});return Mc(a)},Dc=function(e){var t=function(n){var a=H5(n),o=a.x/Zo,l=a.y/Qo,p=a.z/e2;return o=o>Bn?Math.cbrt(o):(zi*o+16)/116,{l:116*(l=l>Bn?Math.cbrt(l):(zi*l+16)/116)-16,a:500*(o-l),b:200*(l-(p=p>Bn?Math.cbrt(p):(zi*p+16)/116)),alpha:a.a}}(e),s=Hi(t.a,3),r=Hi(t.b,3),i=Math.atan2(r,s)/Math.PI*180;return{l:t.l,c:Math.sqrt(s*s+r*r),h:i<0?i+360:i,a:t.alpha}},Mc=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},r=t.a/500+(s=(t.l+16)/116),i=s-t.b/200,V5({x:(Math.pow(r,3)>Bn?Math.pow(r,3):(116*r-16)/zi)*Zo,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/zi)*Qo,z:(Math.pow(i,3)>Bn?Math.pow(i,3):(116*i-16)/zi)*e2,a:t.alpha});var t,s,r,i},U5=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Y5=function(e){var t=U5.exec(e);if(!t)return null;var s,r,i=Cc({l:Number(t[1]),c:Number(t[2]),h:(s=t[3],r=t[4],r===void 0&&(r="deg"),Number(s)*(B5[r]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Mc(i)};function q5(e,t){e.prototype.toLch=function(){return Oc(Dc(this.rgba))},e.prototype.toLchString=function(){return s=Oc(Dc(this.rgba)),r=s.l,i=s.c,n=s.h,(a=s.a)<1?"lch("+r+"% "+i+" "+n+" / "+a+")":"lch("+r+"% "+i+" "+n+")";var s,r,i,n,a},t.string.push([Y5,"lch"]),t.object.push([z5,"lch"])}G5([q5]);var K5=qs;function Pc(e){let t=qs(e).toLch();return[t.l,t.c,t.h,t.a]}function Ja(e){return e?e.toArray?e.toArray():e:[]}var Fc=5,jc=1<<Fc,W5=jc-1,X5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function cs(e,t){this._script=e,this._options=t||{},this._sourcePath=this._options.sourcePath,this._sourceRoot=this._options.sourceRoot,this._targetPath=this._options.targetPath,this._maps=[],this._map="",this._js=""}cs.prototype.result=function(e){return this._result},cs.prototype.setResult=function(e){return this._result=e,this},cs.prototype.source=function(){return this._source},cs.prototype.options=function(){return this._options},cs.prototype.sourceCode=function(){return this._script.sourceCode},cs.prototype.sourceName=function(){return Co(this._sourcePath)},cs.prototype.targetName=function(){return Co(this._targetPath)},cs.prototype.sourceFiles=function(){return[this.sourceName()]},cs.prototype.parse=function(){var e=this,t=/\/\*\%([\w\|]*)?\$\*\//,s=/^(.*?)\/\*\%([\w\|]*)\$\*\//,r=e._script.js,i=e._script.js.split(/\n/g),n=e._options.debug,a=e.sourceCode(),o=Ao(a),l="";e._locs=[],e._maps=[],e._names=[];var p=[],c={},d={},v,f=0;for(let T=0,_=Ja(i),b=_.length,m;T<b;T++){m=_[T];var g=0,y=-1;for(e._maps[T]=[];m.match(t);)m=m.replace(s,function(C,k,L){var x;if(L=="")return k;let E=L.split("|"),N=parseInt(E[0]),S=E[1]&&parseInt(E[1]);var D=o[N];if(!D)return k;let V=D[0]+1,M=D[1]+1;if(y!=k.length){y=k.length;var W=[[V,M],[T+1,y+1]];e._maps[T].push(W)}let Q=[f+y,N];if(e._locs.push(Q),S)if(x=c[S]){x[1]=Q[0],x[3]=Q[1];let le=x.join("|");if(d[le])c[S]=[];else{d[le]=!0;let ae=a.slice(x[2],x[3]);x.START&&(x.START[2]=ae,e._names.indexOf(ae)<0&&e._names.push(ae))}}else c[S]=[Q[0],null,Q[1],null];return k});f+=m.length+1,i[T]=m}if(e._script.js=i.join(`
`),e._script.locs={spans:Object.values(c)},n){for(let b=0,m=Ja(e._script.locs.spans),C=m.length,k;b<C;b++)if(k=m[b],k[1]!=null){let L=e._script.js.slice(k[0],k[1]).split(`
`),x=a.slice(k[2],k[3]).split(`
`);k.push(L[0]),k.push(x[0])}let T={0:"\u2080",1:"\u2081",2:"\u2082",3:"\u2083",4:"\u2084",5:"\u2085",6:"\u2086",7:"\u2087",8:"\u2088",9:"\u2089","|":"\u208C"},_=function(b,m){return"["+m+"]"};e._script.js=e._script.js+`
/*
`+r.replace(/\/\*\%([\w\|]*)?\$\*\//g,_).replace(/\/\*/g,"**").replace(/\*\//g,"**")+`
*/`}return e},cs.prototype.generate=function(){this.parse();var e=1,t=1,s=1,r="";for(let l=0,p=Ja(this._maps),c=p.length,d;l<c;l++){d=p[l],e=1;for(let v=0,f=Ja(d),g=f.length,y;v<g;v++){y=f[v],v!=0&&(r+=",");var i=y[0],n=y[1];r+=this.encodeVlq(n[1]-e),e=n[1],r+=this.encodeVlq(0),r+=this.encodeVlq(i[0]-t),t=i[0],r+=this.encodeVlq(i[1]-s),s=i[1]}r+=";"}var a=this._targetPath&&Ro($o(this._targetPath),this._sourcePath),o={version:3,file:this.sourceName().replace(/\.imba/,".js")||"",sourceRoot:this._sourceRoot||"",sources:[a||this._sourcePath],sourcesContent:[this.sourceCode()],names:[],mappings:r};return this._options.sourcemap=="inline"&&(o.file=this.sourceName(),o.sources=[this.sourceName()]),this._result=o,this},cs.prototype.inlined=function(){try{var e=JSON.stringify(this._result);if(globalThis.Buffer)e=Buffer.from(e,"utf-8").toString("base64");else if(typeof btoa=="function")e=btoa(e);else return;return`
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+e}catch{}return console.warn("base64 encoding not supported - skipping inline sourceMapping"),""},cs.prototype.encodeVlq=function(e){for(var t="",s=e<0?1:0,r,i=(Math.abs(e)<<1)+s;i||!t;)r=i&W5,i=i>>Fc,i&&(r|=jc),t+=this.encodeBase64(r);return t},cs.prototype.toJSON=function(){return this._result},cs.prototype.encodeBase64=function(e){return X5[e]};var us=Symbol.for("#__init__"),Gc=Symbol.for("#__initor__"),J5=Symbol.for("#__inited__"),Bc=Symbol.for("#__hooks__"),Z5=Symbol.for("#meta"),Vc=Symbol.for("imba"),ps={IsExtension:1,IsTag:2,HasDescriptors:4,HasSuperCalls:8,HasConstructor:16,HasFields:32,HasMixins:64,HasInitor:128,HasDecorators:256,IsObjectExtension:512,IsMixin:1024},Ui=new Map,Q5=globalThis[Vc]||(globalThis[Vc]={counter:0,classes:Ui});function Yi(e,t={}){var s;return Ui.has(e)||Ui.set(e,{symbol:Symbol(e.name),parent:(s=Object.getPrototypeOf(e.prototype))==null?void 0:s.constructor,for:e,uses:null,inits:null,id:Q5.counter++,...t}),Ui.get(e)}function ds(e,t){var s;return typeof t=="string"?typeof e===t:(s=t?.[Symbol.hasInstance])==null?void 0:s.call(t,e)}function ft(e){var t;return((t=e?.toIterable)==null?void 0:t.call(e))||e}function e_(e,t){if(!e||!t)return!1;if(e.get)return t.get===e.get;if(e.set)return t.set===e.set;if(e.value)return e.value===t.value}function Hc(e,t,s,r={}){let i=e.constructor;!s&&t&&(s=Object.getOwnPropertyDescriptors(t),delete s.constructor,s[us]&&(console.warn(`Cannot define plain fields when extending class ${i.name}`),delete s[us]));let n=Yi(i);if(n&&n.augments){let a=new Map;for(let o of Object.keys(s)){let l=Object.getOwnPropertyDescriptor(e,o);for(let p of n.augments){let c=a.get(p);c||a.set(p,c={});let d=Object.getOwnPropertyDescriptor(p.prototype,o);d&&!e_(l,d)?console.warn("wont extend",o,d,l):c[o]=s[o]}}for(let[o,l]of a)Object.keys(l).length&&Hc(o.prototype,null,l)}return Object.defineProperties(e,s),e}function t2(e,t){var s;let r=Yi(e),i=Yi(t),n=i.parent;for(;n&&((s=Yi(n))==null?void 0:s.flags)&ps.IsMixin;){t2(e,n),n=null;break}if(n&&!(e.prototype instanceof n))throw new Error(`Mixin ${t.name} has superclass not present in target class`);if(!i.augments){i.augments=new Set;let o=i.ref=Symbol(t.name),l=Object[Symbol.hasInstance];t.prototype[o]=!0,Object.defineProperty(t,Symbol.hasInstance,{value:function(p){return this===t?p&&!!p[o]:l.call(this,p)}})}if(e.prototype[i.ref])return e;if(i.uses)for(let o of i.uses)t2(e,o);i.augments.add(e),r.uses||(r.uses=[]),r.uses.push(t);let a=Object.getOwnPropertyDescriptors(t.prototype);return delete a.constructor,a[us]&&(r.inits||(r.inits=[]),r.inits.push(t.prototype[us]),delete a[us]),Object.defineProperties(e.prototype,a),t?.mixed instanceof Function&&t.mixed(e),e}var Xr={cache:{},self:null,target:null,proxy:new Proxy({},{apply:(e,t,s)=>Reflect.apply(Xr.target,t,s),get:(e,t)=>{let s=Reflect.get(Xr.target,t,Xr.self);return s instanceof Function?s.bind(Xr.self):s},set:(e,t,s,r)=>Reflect.set(Xr.target,t,s,Xr.self)})};function Ye(e,t,s,r,i=null){var n;let a=Object.getPrototypeOf(e.prototype),o=(r&(ps.HasMixins|ps.IsExtension))==ps.HasMixins,l;if(o&&(Ui.set(e,Ui.get(a.constructor)),a=Object.getPrototypeOf(a)),i){let c=r&ps.IsObjectExtension?i:i.prototype,d=Yi(e);if(d.uses){i===c&&console.warn("Cannot extend object with mixins");for(let v of d.uses)t2(i,v)}return r&ps.HasSuperCalls&&(Xr.cache[t]=Object.create(Object.getPrototypeOf(c),Object.getOwnPropertyDescriptors(c))),Hc(c,e.prototype),i}let p=a?.constructor;if(l=Yi(e,{symbol:t}),Object.defineProperty(e,Z5,{value:l,enumerable:!1,configurable:!0}),s&&e.name!==s&&Object.defineProperty(e,"name",{value:s,configurable:!0}),l.flags=r,r&ps.HasConstructor&&(e.prototype[Gc]=t),l.uses)for(let c of l.uses)(n=c.mixes)==null||n.call(c,e);return p?.inherited instanceof Function&&p.inherited(e),e}function Ks(e,t){var s;e[Gc]===t&&((s=e[J5])==null||s.call(e),e[Bc]&&e[Bc].inited(e))}var zc={};Ci(zc,{layerize:()=>r2,parse:()=>a2,render:()=>i2,rewrite:()=>e1,test:()=>d_,unwrap:()=>n2});var Uc={};Ci(Uc,{colors:()=>Yc,fonts:()=>ya,modifiers:()=>va,named_colors:()=>s2,variants:()=>ml});var ya={sans:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',serif:'Georgia, Cambria, "Times New Roman", Times, serif',mono:'Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},va={odd:{name:"nth-child",valueType:"string",value:"odd"},even:{name:"nth-child",valueType:"string",value:"even"},first:{name:"first-child"},last:{name:"last-child"},only:{name:"only-child"},"not-first":{name:"not",valueType:"raw",value:":first-child"},"not-last":{name:"not",valueType:"raw",value:":last-child"},"first-child":{},"last-child":{},"font-face":{type:"@"},autofill:{},active:{shim:!0},checked:{shim:!0},default:{},defined:{},disabled:{shim:!0},empty:{},enabled:{shim:!0},"first-of-type":{},"first-page":{name:"first"},fullscreen:{},focus:{shim:!0},focin:{name:"focus-within",shim:"focin"},"focus-within":{},"focus-visible":{shim:"focus-visible"},hover:{shim:!0},indeterminate:{shim:!0},"in-range":{},invalid:{shim:!0},is:{type:"selector"},has:{type:"selector"},lang:{},"last-of-type":{},left:{},link:{},not:{type:"selector"},"nth-child":{},modal:{},"picture-in-picture":{},"nth-last-child":{},"nth-last-of-type":{},"nth-of-type":{},"only-child":{},"only-of-type":{},playing:{},paused:{},optional:{shim:!0},"out-of-range":{},"placeholder-shown":{},"read-only":{},"read-write":{},required:{shim:!0},right:{},scope:{},root:{},target:{},"target-within":{},valid:{shim:!0},visited:{},where:{},after:{type:"el"},"-webkit-scrollbar":{type:"el"},"-webkit-scrollbar-button":{type:"el"},"-webkit-scrollbar-track":{type:"el"},"-webkit-scrollbar-track-piece":{type:"el"},"-webkit-scrollbar-thumb":{type:"el"},"-webkit-scrollbar-corner":{type:"el"},"-webkit-resizer":{type:"el"},start:{type:"@"},"scope-to":{type:"@"},"starting-style":{type:"@"},backdrop:{type:"el"},before:{type:"el"},cue:{type:"el"},"cue-region":{type:"el"},"first-letter":{type:"el"},"first-line":{type:"el"},highlight:{type:"pseudoel"},marker:{type:"el"},placeholder:{type:"el"},selection:{type:"el"},inline:{pri:3},important:{pri:4},force:{pri:6},media:{type:"media"},print:{media:"print"},screen:{media:"screen"},speech:{media:"speech"},all:{media:"all"},scrollable:{type:"@",scrollstate:"scroll-state(scrollable: top)"},"scrollable-top":{type:"@",scrollstate:"scroll-state(scrollable: top)"},"scrollable-left":{type:"@",scrollstate:"scroll-state(scrollable: left)"},"scrollable-right":{type:"@",scrollstate:"scroll-state(scrollable: right)"},"scrollable-bottom":{type:"@",scrollstate:"scroll-state(scrollable: bottom)"},"snapped-x":{type:"@",scrollstate:"scroll-state(snapped:x)"},"snapped-y":{type:"@",scrollstate:"scroll-state(snapped:y)"},"snapped-inline":{type:"@",scrollstate:"scroll-state(snapped:inline)"},"snapped-block":{type:"@",scrollstate:"scroll-state(snapped:block)"},"stuck-top":{type:"@",scrollstate:"scroll-state(stuck:top)"},"stuck-bottom":{type:"@",scrollstate:"scroll-state(stuck:bottom)"},"stuck-left":{type:"@",scrollstate:"scroll-state(stuck:left)"},"stuck-right":{type:"@",scrollstate:"scroll-state(stuck:right)"},xs:{media:"(min-width: 480px)",medianeg:"(max-width: 479px)"},sm:{media:"(min-width: 640px)",medianeg:"(max-width: 639px)"},md:{media:"(min-width: 768px)",medianeg:"(max-width: 767px)"},lg:{media:"(min-width: 1024px)",medianeg:"(max-width: 1023px)"},xl:{media:"(min-width: 1280px)",medianeg:"(max-width: 1279px)"},"2xl":{media:"(min-width: 1536px)"},"lt-xs":{media:"(max-width: 479px)"},"lt-sm":{media:"(max-width: 639px)"},"lt-md":{media:"(max-width: 767px)"},"lt-lg":{media:"(max-width: 1023px)"},"lt-xl":{media:"(max-width: 1279px)"},"lt-2xl":{media:"(max-width: 1535px)"},landscape:{media:"(orientation: landscape)",medianeg:"(orientation: portrait)"},portrait:{media:"(orientation: portrait)",medianeg:"(orientation: landscape)"},dark:{media:"(prefers-color-scheme: dark)",medianeg:"(prefers-color-scheme: light)"},light:{media:"(prefers-color-scheme: light)",medianeg:"(prefers-color-scheme: dark)"},standalone:{media:"(display-mode: standalone)"},browser:{media:"(display-mode: browser)"},enter:{flag:"@enter"},leave:{flag:"@leave"},darky:{flag:"@dark",raw:":is( :where(.@dark,.@dark :where(:root,:not(:root))):not(.@dark .@light :where(:root,:not(:root)),.@dark .@light), :where(.@light .@dark,.@light .@dark :where(:root,:not(:root))):not(.@dark .@light .@dark .@light :where(:root,:not(:root)),.@dark .@light .@dark .@light))",neg:":not( :where(.@dark,.@dark :where(:root,:not(:root))):not(.@dark .@light :where(:root,:not(:root)),.@dark .@light), :where(.@light .@dark,.@light .@dark :where(:root,:not(:root))):not(.@dark .@light .@dark .@light :where(:root,:not(:root)),.@dark .@light .@dark .@light))"},lighty:{flag:"@light",raw:":not( :where(.@dark,.@dark :where(:root,:not(:root))):not(.@dark .@light :where(:root,:not(:root)),.@dark .@light), :where(.@light .@dark,.@light .@dark :where(:root,:not(:root))):not(.@dark .@light .@dark .@light :where(:root,:not(:root)),.@dark .@light .@dark .@light))",neg:":is( :where(.@dark,.@dark :where(:root,:not(:root))):not(.@dark .@light :where(:root,:not(:root)),.@dark .@light), :where(.@light .@dark,.@light .@dark :where(:root,:not(:root))):not(.@dark .@light .@dark .@light :where(:root,:not(:root)),.@dark .@light .@dark .@light))"},touch:{flag:"@touch"},suspended:{flag:"@suspended"},"user-invalid":{},move:{flag:"@move"},hold:{flag:"@hold"},ssr:{flag:"@ssr"}},ml={radius:{full:"9999px",xxs:"1px",xs:"2px",sm:"3px",md:"4px",lg:"6px",xl:"8px",NUMBER:"2px"},sizing:{NUMBER:"0.25rem"},"letter-spacing":{NUMBER:"0.05em"},"font-size":{xxs:["10px",1.5],xs:["12px",1.5],"sm-":["13px",1.5],sm:["14px",1.5],"md-":["15px",1.5],md:["16px",1.5],lg:["18px",1.5],xl:["20px",1.5],"2xl":["24px",1.5],"3xl":["30px",1.5],"4xl":["36px",1.5],"5xl":["48px",1.5],"6xl":["64px",1.5],1:["10px",1.5],2:["12px",1.5],3:["13px",1.5],4:["14px",1.5],5:["15px",1.5],6:["16px",1.5],7:["17px",1.5],8:["18px",1.5],9:["19px",1.5],10:["20px",1.5],11:["24px",1.4],12:["30px",1.3],13:["36px",1.3],14:["48px",1.2],15:["64px",1.2],16:["96px",1.2]},"box-shadow":{xxs:"0 0 0 1px hsla(var(--bxs-xxs-color,0,0%,0%),var(--bxs-xxs-alpha,0.05))",xs:"0 1px 2px 0 hsla(var(--bxs-xs-color,0,0%,0%),var(--bxs-xs-alpha,0.05))",sm:"0 1px 3px 0 hsla(var(--bxs-sm-color,0,0%,0%),var(--bxs-sm-alpha,0.1)), 0 1px 2px 0 hsla(var(--bxs-sm-color,0,0%,0%),calc(var(--bxs-sm-alpha,0.1) * 0.6))",md:"0 4px 6px -1px hsla(var(--bxs-md-color,0,0%,0%), var(--bxs-md-alpha,0.1)), 0 2px 4px -1px hsla(var(--bxs-md-color,0,0%,0%),calc(var(--bxs-md-alpha,0.1) * 0.6))",lg:"0 10px 15px -3px hsla(var(--bxs-lg-color,0,0%,0%), var(--bxs-lg-alpha,0.1)), 0 4px 6px -2px hsla(var(--bxs-lg-color,0,0%,0%),calc(var(--bxs-lg-alpha,0.1) * 0.5))",xl:"0 20px 25px -5px hsla(var(--bxs-xl-color,0,0%,0%), var(--bxs-xl-alpha,0.1)), 0 10px 10px -5px hsla(var(--bxs-xl-color,0,0%,0%), calc(var(--bxs-xl-alpha,0.1) * 0.4))",xxl:"0 25px 50px -6px hsla(var(--bxs-xxl-color,0,0%,0%),var(--bxs-xxl-alpha,0.25))",inner:"inset 0 2px 4px 0 hsla(var(--bxs-inner-color,0,0%,0%),var(--bxs-inner-alpha,0.06))",outline:"0 0 0 3px hsla(var(--bxs-outline-color,207,73%,57%),var(--bxs-outline-alpha,0.5))",none:"none"},easings:{"sine-in":"cubic-bezier(0.47, 0, 0.745, 0.715)","sine-out":"cubic-bezier(0.39, 0.575, 0.565, 1)","sine-in-out":"cubic-bezier(0.445, 0.05, 0.55, 0.95)","quad-in":"cubic-bezier(0.55, 0.085, 0.68, 0.53)","quad-out":"cubic-bezier(0.25, 0.46, 0.45, 0.94)","quad-in-out":"cubic-bezier(0.455, 0.03, 0.515, 0.955)","cubic-in":"cubic-bezier(0.55, 0.055, 0.675, 0.19)","cubic-out":"cubic-bezier(0.215, 0.61, 0.355, 1)","cubic-in-out":"cubic-bezier(0.645, 0.045, 0.355, 1)","quart-in":"cubic-bezier(0.895, 0.03, 0.685, 0.22)","quart-out":"cubic-bezier(0.165, 0.84, 0.44, 1)","quart-in-out":"cubic-bezier(0.77, 0, 0.175, 1)","quint-in":"cubic-bezier(0.755, 0.05, 0.855, 0.06)","quint-out":"cubic-bezier(0.23, 1, 0.32, 1)","quint-in-out":"cubic-bezier(0.86, 0, 0.07, 1)","expo-in":"cubic-bezier(0.95, 0.05, 0.795, 0.035)","expo-out":"cubic-bezier(0.19, 1, 0.22, 1)","expo-in-out":"cubic-bezier(1, 0, 0, 1)","circ-in":"cubic-bezier(0.6, 0.04, 0.98, 0.335)","circ-out":"cubic-bezier(0.075, 0.82, 0.165, 1)","circ-in-out":"cubic-bezier(0.785, 0.135, 0.15, 0.86)","back-in":"cubic-bezier(0.6, -0.28, 0.735, 0.045)","back-out":"cubic-bezier(0.175, 0.885, 0.32, 1.275)","back-in-out":"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}},Yc={rose:{0:"#fff1f2",1:"#ffe4e6",2:"#fecdd3",3:"#fda4af",4:"#fb7185",5:"#f43f5e",6:"#e11d48",7:"#be123c",8:"#9f1239",9:"#881337"},pink:{0:"#fdf2f8",1:"#fce7f3",2:"#fbcfe8",3:"#f9a8d4",4:"#f472b6",5:"#ec4899",6:"#db2777",7:"#be185d",8:"#9d174d",9:"#831843"},fuchsia:{0:"#fdf4ff",1:"#fae8ff",2:"#f5d0fe",3:"#f0abfc",4:"#e879f9",5:"#d946ef",6:"#c026d3",7:"#a21caf",8:"#86198f",9:"#701a75"},purple:{0:"#faf5ff",1:"#f3e8ff",2:"#e9d5ff",3:"#d8b4fe",4:"#c084fc",5:"#a855f7",6:"#9333ea",7:"#7e22ce",8:"#6b21a8",9:"#581c87"},violet:{0:"#f5f3ff",1:"#ede9fe",2:"#ddd6fe",3:"#c4b5fd",4:"#a78bfa",5:"#8b5cf6",6:"#7c3aed",7:"#6d28d9",8:"#5b21b6",9:"#4c1d95"},indigo:{0:"#eef2ff",1:"#e0e7ff",2:"#c7d2fe",3:"#a5b4fc",4:"#818cf8",5:"#6366f1",6:"#4f46e5",7:"#4338ca",8:"#3730a3",9:"#312e81"},blue:{0:"#eff6ff",1:"#dbeafe",2:"#bfdbfe",3:"#93c5fd",4:"#60a5fa",5:"#3b82f6",6:"#2563eb",7:"#1d4ed8",8:"#1e40af",9:"#1e3a8a"},sky:{0:"#f0f9ff",1:"#e0f2fe",2:"#bae6fd",3:"#7dd3fc",4:"#38bdf8",5:"#0ea5e9",6:"#0284c7",7:"#0369a1",8:"#075985",9:"#0c4a6e"},cyan:{0:"#ecfeff",1:"#cffafe",2:"#a5f3fc",3:"#67e8f9",4:"#22d3ee",5:"#06b6d4",6:"#0891b2",7:"#0e7490",8:"#155e75",9:"#164e63"},teal:{0:"#f0fdfa",1:"#ccfbf1",2:"#99f6e4",3:"#5eead4",4:"#2dd4bf",5:"#14b8a6",6:"#0d9488",7:"#0f766e",8:"#115e59",9:"#134e4a"},emerald:{0:"#ecfdf5",1:"#d1fae5",2:"#a7f3d0",3:"#6ee7b7",4:"#34d399",5:"#10b981",6:"#059669",7:"#047857",8:"#065f46",9:"#064e3b"},green:{0:"#f0fdf4",1:"#dcfce7",2:"#bbf7d0",3:"#86efac",4:"#4ade80",5:"#22c55e",6:"#16a34a",7:"#15803d",8:"#166534",9:"#14532d"},lime:{0:"#f7fee7",1:"#ecfccb",2:"#d9f99d",3:"#bef264",4:"#a3e635",5:"#84cc16",6:"#65a30d",7:"#4d7c0f",8:"#3f6212",9:"#365314"},yellow:{0:"#fefce8",1:"#fef9c3",2:"#fef08a",3:"#fde047",4:"#facc15",5:"#eab308",6:"#ca8a04",7:"#a16207",8:"#854d0e",9:"#713f12"},amber:{0:"#fffbeb",1:"#fef3c7",2:"#fde68a",3:"#fcd34d",4:"#fbbf24",5:"#f59e0b",6:"#d97706",7:"#b45309",8:"#92400e",9:"#78350f"},orange:{0:"#fff7ed",1:"#ffedd5",2:"#fed7aa",3:"#fdba74",4:"#fb923c",5:"#f97316",6:"#ea580c",7:"#c2410c",8:"#9a3412",9:"#7c2d12"},red:{0:"#fef2f2",1:"#fee2e2",2:"#fecaca",3:"#fca5a5",4:"#f87171",5:"#ef4444",6:"#dc2626",7:"#b91c1c",8:"#991b1b",9:"#7f1d1d"},warmer:{0:"#fafaf9",1:"#f5f5f4",2:"#e7e5e4",3:"#d6d3d1",4:"#a8a29e",5:"#78716c",6:"#57534e",7:"#44403c",8:"#292524",9:"#1c1917"},warm:{0:"#fafafa",1:"#f5f5f5",2:"#e5e5e5",3:"#d4d4d4",4:"#a3a3a3",5:"#737373",6:"#525252",7:"#404040",8:"#262626",9:"#171717"},gray:{0:"#fafafa",1:"#f4f4f5",2:"#e4e4e7",3:"#d4d4d8",4:"#a1a1aa",5:"#71717a",6:"#52525b",7:"#3f3f46",8:"#27272a",9:"#18181b"},cool:{0:"#f9fafb",1:"#f3f4f6",2:"#e5e7eb",3:"#d1d5db",4:"#9ca3af",5:"#6b7280",6:"#4b5563",7:"#374151",8:"#1f2937",9:"#111827"},cooler:{0:"#f8fafc",1:"#f1f5f9",2:"#e2e8f0",3:"#cbd5e1",4:"#94a3b8",5:"#64748b",6:"#475569",7:"#334155",8:"#1e293b",9:"#0f172a"}},s2={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function os(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}function Za(e,t=[]){return Object.assign(t,e)}os.prototype.registerSelectorPseudos=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],this.pseudos[e]="selector";return this},os.prototype.unregisterSelectorPseudos=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],delete this.pseudos[e];return this},os.prototype.registerNumericPseudos=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],this.pseudos[e]="numeric";return this},os.prototype.unregisterNumericPseudos=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],delete this.pseudos[e];return this},os.prototype.registerNestingOperators=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],this.ruleNestingOperators[e]=!0;return this},os.prototype.unregisterNestingOperators=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],delete this.ruleNestingOperators[e];return this},os.prototype.registerAttrEqualityMods=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],this.attrEqualityMods[e]=!0;return this},os.prototype.unregisterAttrEqualityMods=function(e){for(var t=0,s=arguments.length;t<s;t++)e=arguments[t],delete this.attrEqualityMods[e];return this},os.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},os.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this};function t_(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="-"||e==="_"}function s_(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="-"||e==="_"}function Qa(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}var qc={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},r_={"\n":"\\n","\r":"\\r","	":"\\t","\f":"\\f","\v":"\\v"},Kc={n:`
`,r:"\r",t:"	",f:"\f","\\":"\\","'":"'"},Wc={n:`
`,r:"\r",t:"	",f:"\f","\\":"\\",'"':'"'};function i_(e,t,s,r,i,n,a){var o,l,p,c,d;return c=e.length,o=null,this.options=a,p=function(v,f){var g,y,T;for(T="",t++,o=e.charAt(t);t<c;){if(o===v)return t++,T;if(o==="\\")if(t++,o=e.charAt(t),o===v)T+=v;else if(g=f[o])T+=g;else if(Qa(o)){for(y=o,t++,o=e.charAt(t);Qa(o);)y+=o,t++,o=e.charAt(t);o===" "&&(t++,o=e.charAt(t)),T+=String.fromCharCode(parseInt(y,16));continue}else T+=o;else T+=o;t++,o=e.charAt(t)}return T},l=function(v){var f="";for(o=e.charAt(t);t<c;){if(s_(o)||v&&v[o])f+=o;else if(o==="\\"){if(t++,t>=c)throw Error("Expected symbol but end of file reached.");if(o=e.charAt(t),qc[o])f+=o;else if(Qa(o)){var g=o;for(t++,o=e.charAt(t);Qa(o);)g+=o,t++,o=e.charAt(t);o===" "&&(t++,o=e.charAt(t)),f+=String.fromCharCode(parseInt(g,16));continue}else f+=o}else return f;t++,o=e.charAt(t)}return f},d=function(){o=e.charAt(t);for(var v=!1;o===" "||o==="	"||o===`
`||o==="\r"||o==="\f";)v=!0,t++,o=e.charAt(t);return v},this.parse=function(){var v=this.parseSelector();if(t<c)throw Error('Rule expected but "'+e.charAt(t)+'" found.');return v},this.parseSelector=function(){var v,f=v=this.parseSingleSelector();for(o=e.charAt(t);o===",";){if(t++,d(),v.type!=="selectors"&&(v={type:"selectors",selectors:[f]}),f=this.parseSingleSelector(),!f)throw Error('Rule expected after ",".');v.selectors.push(f)}return v},this.parseSingleSelector=function(){d();let v=e.slice(t,t+4).match(/^(\>{1,3}|\+|~)/);var f={type:"ruleSet"},g=v?Object.assign([],{type:"rule",isScope:!0}):this.parseRule();if(!g)return null;for(var y=f;g&&(g.type="rule",y==g||(y.rule=g,y=g),d(),o=e.charAt(t),!(t>=c||o===","||o===")"));)if(i[o]){var T=o;if(T==">"&&e.charAt(t+1)==">"&&e.charAt(t+2)==">"?(T=">>>",t=t+3):T==">"&&e.charAt(t+1)==">"?(T=">>",t=t+2):t++,d(),g=this.parseRule(null),!g)if(T==">"||T==">>>"||T==">>")g=Za({tagName:"*"});else throw Error('Rule expected after "'+T+'".');g.nestingOperator=T}else g=this.parseRule(y);return f},this.parseSubRule=function(v="is",f=!1,g=!1){let y={name:v,valueType:"selector",up:!0};if(f){let T=this.parseRule();T.type="rule",y.value={type:"ruleSet",rule:T},g&&(y.after=T.rule=Za({tagName:"*",nestingOperator:null,type:"rule"}))}else{let T=this.parseSelector();y.value=T}return y},this.parseRule=function(v){for(var f,g=null,y=!1,T=!1,_=!1,b=!1,m={},C=0;t<c;){if(o=e.charAt(t),m={},o=="!"&&(_=!0,o=e.charAt(++t),g=g||v,m.not=!0),o=="@"&&e.charAt(t+1)==".")g=g||v,m.implicitScope=!0,t++,o=".";else if(o=="@"&&e.charAt(t+1)=="@")m.implicitScope=!0,m.base=(f=this.options.tags)==null?void 0:f[0],m.base&&(m.base="."+m.base.cssid()),b=m,g=g||v,t++,e.charAt(t+1)=="."&&(t++,o=".",m.implicitScope=!0);else if(o=="."&&e.charAt(t+1)=="."){b=m,g=g||v,m.implicitScope=!0,t++;let S=e.charAt(t+1);(S=="%"||S=="$"||S=="@")&&(o=S,t++)}for(;o=="^";)o=e.charAt(++t),g=g||v,m.implicitScope=!0,C++;if(m.up=C,m.closest=b,o==="&")t++,(g=g||[]).isScope=!0;else if(o==="^"){t++;let S=this.parseSubRule("is",!0,!0);(g=g||v||[]).push(S)}else if(o==="*")t++,(g=g||[]).tagName="*";else if(t_(o)||o==="\\")(g=g||[]).tagName=l();else if(o==="$")t++,m.flag="$"+l(),m.ref=!0,(g=g||[]).push(m);else if(o==="%")t++,m.flag=o+l(),(g=g||[]).push(m);else if(o==="."){t++;let S=e.charAt(t++);S=="!"&&(m.not=!0,S=""),S+=l({}),m.flag=S,(g=g||[]).push(m)}else if(o==="#")t++,(g=g||[]).id=l();else if(o==="["){t++,d();var k=m.attr={name:l()};if(d(),o==="]")t++;else{var L="";if(r[o]&&(L=o,t++,o=e.charAt(t)),t>=c)throw Error('Expected "=" but end of file reached.');if(o!=="=")throw Error('Expected "=" but "'+o+'" found.');k.operator=L+"=",t++,d();var x="";if(k.valueType="string",o==='"')x=p('"',Wc);else if(o==="'")x=p("'",Kc);else if(n&&o==="$")t++,x=l(),k.valueType="substitute";else{for(;t<c&&o!=="]";)x+=o,t++,o=e.charAt(t);x=x.trim()}if(d(),t>=c)throw Error('Expected "]" but end of file reached.');if(o!=="]")throw Error('Expected "]" but "'+o+'" found.');t++,k.value=x}(g=g||[]).push(m)}else if(o===":"||o==="@"){if(o==":"&&e.charAt(t+1)==":"){(g=g||v||[]).pseudoElement=l({":":!0});continue}t++,m.name=o;var E=m;let S=e.charAt(t++);if(S=="!"&&(m.not=!0,S=""),S+=l({"~":!0,"+":!0,".":!1,">":!0,"<":!0}),S=="unimportant"){y=!0,m.type="unimportant",(g=g||v||[]).push(m);continue}if(m.name+=S,m.pseudo=S,o==="("){t++;var N="";if(d(),s[S]==="selector")E.valueType="selector",N=this.parseSelector();else{if(E.valueType=s[S]||"string",o==='"')N=p('"',Wc);else if(o==="'")N=p("'",Kc);else if(n&&o==="$")t++,N=l(),E.valueType="substitute";else{for(;t<c&&o!==")";)N+=o,t++,o=e.charAt(t);N=N.trim()}d()}if(t>=c)throw Error('Expected ")" but end of file reached.');if(o!==")")throw Error('Expected ")" but "'+o+'" found.');t++,E.value=N}(g=g||v||[]).push(m)}else break}return g},this}os.prototype.parse=function(e,t){var s=new i_(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled,t);return s.parse()},os.prototype.escapeIdentifier=function(e){for(var t="",s=0,r=e.length;s<r;){var i=e.charAt(s);if(qc[i])t+="\\"+i;else if(i==="_"||i==="-"||i>="A"&&i<="Z"||i>="a"&&i<="z"||s!==0&&i>="0"&&i<="9")t+=i;else{var n=i.charCodeAt(0);if((n&63488)===55296){var a=e.charCodeAt(s++);if((n&64512)!==55296||(a&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");n=((n&1023)<<10)+(a&1023)+65536}t+="\\"+n.toString(16)+" "}s++}return t},os.prototype.escapeStr=function(e){for(var t="",s=0,r=e.length,i,n;s<r;)i=e.charAt(s),i==='"'?i='\\"':i==="\\"?i="\\\\":(n=r_[i])&&(i=n),t+=i,s++;return'"'+t+'"'},os.prototype.render=function(e,t={}){return this._renderEntity(e,null,t).trim()};var n_=null,Xc=":where(:root,:not(:root))";function a_(e){return e&&e!=="*"?`:where(${e})`:Xc}function o_(e,t,s){if(t>5)return`${e} ${s}`;for(var r=e,i=1;i<t;i++)r+=` > ${Xc}`;return`${r} > ${s}`}os.prototype._renderEntity=function(e,t,s={}){var r,i,n,a,o,l;switch(l="",e.type){case"ruleSet":for(a=e.rule,n_=e,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(this._renderEntity(a,null,s)),a=a.rule;if((r=e.media)!=null&&r.length&&(s.media=e.media),(i=e.container)!=null&&i.length&&(s.container=e.container),e.scopeFrom){let T=e.scopeFrom.map(this._renderEntity,this).join(" ");s.scopeFrom=T}e.scopeTo&&(s.scopeTo=e.scopeTo),l=o.join(" ");break;case"selectors":l=e.selectors.map(this._renderEntity,this).join(", ");break;case"rule":let p=e.s1,c=e.s2,d=e.tagName;if(d)if(d==="*")l="*";else{let T=Pi[d]||d=="svg"||d.indexOf("-")>0,_=this.escapeIdentifier(d);T?l=_:l=`:is(${_},${_}-tag)`}e.id&&(l+="#"+this.escapeIdentifier(e.id));let v=0,f=e.length,g,y=()=>(g===void 0&&(g=l),a_(g));for(;v<f;){let T=null,_=e[v++],b=_.attr,m=_.flag,C="",k=_.not,L=k,x=_.pseudo?_:null,E=va[_.pseudo];if(E!=null&&E.raw){let N=k?E.rawneg:E.raw;_.pseudo=="lighty"&&l==":root"?N=k?":not(.@light)":".@light":_.pseudo=="darky"&&l==":root"&&(N=k?":not(.@dark)":".@dark"),l+=N.replace(/\.\@/g,".\\@");continue}if(!(_.media||_.skip||_.container)){if(E&&E.flag&&(m=E.flag,x=null),E&&E.type=="el"&&(x=null,e.pseudoElement||(e.pseudoElement="::"+_.pseudo)),E&&E.type=="@"&&(x=null,e.pseudoElement||(e.pseudoElement="@"+_.pseudo)),m&&(C="."+this.escapeIdentifier(m)),b&&(b.operator?b.valueType==="substitute"?C="["+this.escapeIdentifier(b.name)+b.operator+"$"+b.value+"]":C="["+this.escapeIdentifier(b.name)+b.operator+this.escapeStr(b.value)+"]":C="["+this.escapeIdentifier(b.name)+"]"),x){let N=(n=E&&E.name)!=null?n:x.pseudo,S=this.escapeIdentifier(N);E&&E.valueType&&(x=E);let D="",V=x.value||x.name,M=":"+S;if(E&&E.type=="pseudoel"&&(M=":"+M),x.valueType)x.valueType==="selector"?C=M+"("+this._renderEntity(x.value,t,s)+")"+D:x.valueType==="substitute"?C=M+"($"+x.value+")"+D:x.valueType==="numeric"||x.valueType==="raw"||x.valueType==="string"?C=M+"("+x.value+")"+D:C=M+"("+this.escapeIdentifier(x.value)+")"+D;else if(x.type=="el")C=":"+M;else if(!E)C=`.\\@${S}`;else if(E.shim){let W=k?":not":":is";C=`.\\@${E.shim==!0?S:E.shim}`,C=`${W}(:${typeof E.native=="string"?E.native:S},${C})`,k=!1}else E.flag?C=`.\\@${S}`:C=M+D}if(_.closest){let N=e.filter(D=>D.closest==_);N.map(D=>D.closest=null),_.not=!1;let S=this._renderEntity(Za({type:"rule"},N),null,s);N.map(D=>D.skip=!0),_.base&&(S=`${_.base}${S}`),C=`:${L?"not":"is"}(${S} ${y()})`,k=!1}else if(_.up){if(L){let N=Object.assign({},_,{not:!1,up:0,closest:!1,skip:!1});C=this._renderEntity(Za({type:"rule"},[N]),null,s)}C=`:${L?"not":"is"}(${o_(C,_.up,y())})`,k=!1}k&&(C=`:not(${C})`),l+=C}}if(p>0)for(;--p>=0;)l+=":not(#_)";if(c>0)for(;--c>=0;)l+=":not(._0)";e.pseudoElement&&(l+=e.pseudoElement);break;default:throw Error('Unknown entity type: "'+e.type(+'".'))}return l};var qi=new os;qi.registerSelectorPseudos("has","not","is","matches","any","where"),qi.registerNumericPseudos("nth-child"),qi.registerNestingOperators(">>>",">>",">","+","~"),qi.registerAttrEqualityMods("^","$","*","~");var Jc=function(e,t){return qi.parse(e,t)},l_=function(e,t={}){return qi.render(e,t)};function xs(e){let t;return e&&((t=e.toIterable)?t.call(e):e)}function Zc(e,t){return e[e.length+t]}function Qc(e,t){var s;return e===t||((s=t?.[h_])==null?void 0:s.call(t,e))||!1}var h_=Symbol.for("#matcher"),e3=Symbol.for("#rules"),c_=Symbol.for("#string"),u_=Symbol.for("#media"),p_=Symbol.for("#container");function t3(e,t){return e.unshift({flag:t}),e}function s3(e,t){return t3(e,t),e.metas||(e.metas=[]),e.metas.push(t),e}function e1(e,t,s={}){var r,i,n,a,o;if(e.type=="selectors")for(let S=0,D=xs(e.selectors),V=D.length;S<V;S++){let M=D[S];e1(M,e,s)}if(e.type!="ruleSet")return e;let l=e,p=0,c=0,d=0,v=0;e.meta={},e.scopeTo=null,e.media=[],e.container=[];let f=[],g=e.rule;for(;g;)f.push(g),g=g.rule;let y=f.slice(0).reverse();for(let S=0,D=xs(y),V=D.length;S<V;S++){let M=D[S],W=y[S+1];for(let Q=0,le=xs(M),ae=le.length;Q<ae;Q++){let fe=le[Q];fe.up>0&&W&&(fe.up-=1,W.push(fe),M[Q]={})}}let T=f[0],_=null,b=null,m=!1,C=!!s.global,k=!1,L=0;if(((r=f[0])==null?void 0:r.tagName)=="*"){f[0].nestingOperator=">>>";let S=f[0];f[0].length==0&&f[1]&&(S=f[1],S.nestingOperator=">>>"),f.unshift(e.rule=Object.assign([],{type:"rule",rule:S,isScope:!0,nestingOperator:">>>"}))}for(let S=0,D=xs(f),V=D.length;S<V;S++){let M=D[S],W=f[S-1],Q=f[S+1],le=M.tagName,ae=M.slice(0),fe=M.op=M.nestingOperator;if(le=="*"&&(ae.length==0&&Q&&W&&!C&&(W.rule=Q,Q.op=Q.nestingOperator=">>>"),_||(_=W),m||(m=M),C=!0,M.op=">>>"),S==0&&!le&&!fe&&((i=M[0])!=null&&i.pseudo||(n=M[0])!=null&&n.implicitScope)&&(M.implicitScope=!0),fe==">>"?(_=W,m=M,M.nestingOperator=">",C=!0):fe==">>>"&&(_=W,m=M,M.nestingOperator=null,C=!0),C||(M.isScoped=!0),le=="html"&&(M.isRoot=!0),ae.some(function(pe){return pe.pseudo=="root"})&&(M.isRoot=!0),le=="self"||M.isScope){for(let pe=0,Je=xs(f.slice(0,S)),st=Je.length;pe<st;pe++){let se=Je[pe];se.isScoped=!1}M.isScope=!0,M.isScoped=!1,M.tagName=null}(le=="body"||le=="html")&&(M.isScoped=!1),s.ns&&(!Q||Q.nestingOperator==">>>")&&!_&&!b&&(M.isScope,_=M);for(let pe=0,Je=xs(ae),st=Je.length,se,_e;pe<st;pe++){let U=Je[pe],de=U.pseudo,re=va[U.pseudo],P=/^(\!)?(\d+)([a-z]+)?$/;if(se=(a=de?.match)==null?void 0:a.call(de,P)){let Ae=parseInt(se[2]);se[1]=="!"&&(U.not=!U.not);let Ne={w:"width",h:"height","":"width"}[se[3]||""],F=U.not?"(max-"+Ne+": "+(Ae-1)+"px)":"(min-"+Ne+": "+Ae+"px)";U.closest?U.container=F:U.media=F}if(de=="scoped"){try{_e=s.scope.cssid()}catch{}U.pseudo=null;let Ae=[];for(;Zc(M,-1)!=U;)Ae.unshift(M.pop());e.scopeFrom=f.slice(0,S+1),e.scopeTo="."+_e,C=!0,e.rule=[{pseudo:"scope"}].concat(Ae),e.rule.type="rule",e.rule.rule=Q}if(de=="scope-to"){U.scopeTo=U.value,U.pseudo=null;let Ae=[];for(;Zc(M,-1)!=U;)Ae.unshift(M.pop());e.scopeFrom=f.slice(0,S+1),e.scopeTo=U.value,e.rule=[{pseudo:"scope"}].concat(Ae),e.rule.type="rule",e.rule.rule=Q}(de=="important"||de=="force")&&(U.pseudo=null,U.important=!0,L+=1),re!=null&&re.scrollstate&&(U.container=re.scrollstate),re!=null&&re.media&&(U.not?re.medianeg&&(U.media=re.medianeg):U.media=re.media),re!=null&&re.container&&(U.not?re.containerneg&&(U.container=re.containerneg):U.container=re.media),U.pseudo=="media"&&(U.media="("+U.value+")"),de=="local"?(U.remove=!0,s.hasScopedStyles=!0,s.ns&&t3(M,s.ns)):de=="off"||de=="out"||de=="in"?(k=!0,(t||e).hasTransitionStyles=!0,(t||e)["_"+de+"_"]=!0):(U.name=="enter"||U.name=="leave")&&((t||e)["_"+de+"_"]=!0),U.media&&e.media.push(U.media),U.container&&e.container.push(U.container),(Qc(de,"odd")||Qc(de,"even"))&&Object.assign(U,re)}}let x=f[f.length-1],E=f.find(function(S){return S.isScope});if(!E&&(s.id||f[0].nestingOperator||f[0].tagName=="*")){let S=f.findIndex(function(V){return V.isScoped}),D=0>=S?e:f[S-1];E=D.rule=Object.assign([],{isScope:!0,rule:f[S],type:"rule"})}!E&&f[0].implicitScope&&(f[0].isScope=!0,E=f[0],E.isScoped=!1);for(let S=0,D=xs(f),V=D.length;S<V;S++){let M=D[S];if(M.isScoped&&s.scope){let W=s.scope.cssns();s3(M,W)}}if(E&&s.scope&&!(!E.length&&E!=x&&E==f[0]&&!s.id&&(!E.rule||!E.rule.op))){let S=s.id||(s.scope.cssid?s.scope.cssid():s.scope.cssns());s3(E,S)}let N=0;for(let S=0,D=xs(f),V=D.length;S<V;S++){let M=D[S];M.isScope||!((o=M.metas)!=null&&o.length)&&M.length&&(N+=1)}return N>1&&(N=1),v=N,s.inline&&(d=3,v=0),s.type=="component"&&(d=x.isScope?0:1),s.type=="scoped"&&(d=x.isScope?2:1),k&&(d=4),d+=L,s.respecify!==!1&&(x.s1=Math.max(c,d),x.s2=v),s.respecify===!1&&(x.s1=x.s2=0),e}function r2(e,t={}){let s=[[]],r=[s],i=e.selectors||[e];e[e3]=[];for(let n=0,a=xs(i),o=a.length;n<o;n++){let l=a[n],p={media:"",scopeFrom:null,scopeTo:null,container:null},c=l_(l,p);l[c_]=c;let d=[];if(p.scopeTo){let v="@scope ("+p.scopeFrom+") to ("+p.scopeTo+")";d.push(v)}if(p.media){let v="@media "+p.media.join(" and ");d.push(l[u_]=v)}if(p.container){let v="@container "+p.container.join(" and ");l[p_]=v,d.push(v)}for(let v=0,f=xs(d),g=f.length;v<g;v++){let y=f[v];if(s[0][v]!=y){r.push(s=[d]);break}}s.push(c),e[e3].push(l)}return r}function i2(e,t,s={},r={}){let i=r2(e,s),n=[],a=r.indent||"",o=a;for(let l=0,p=xs(i),c=p.length;l<c;l++){let[d,...v]=p[l];if(v.length==0)continue;let f=v.join(",")+" {$CONTENT$}";for(let g=0,y=xs(d.toReversed()),T=y.length;g<T;g++){let _=y[g];o+="	",f=_+"{ "+f+" }"}n.push(f)}return n.join(`
`).replace(/\$CONTENT\$/g,t+a)}function n2(e,t){let s=e.split(","),r=t.split(","),i=[];for(let n=0,a=xs(r),o=a.length;n<o;n++){let l=a[n];for(let p=0,c=xs(s),d=c.length;p<d;p++){let v=c[p],f=l;f.indexOf("&")>=0?f=f.replace("&",v):f=v+" "+f,i.push(f)}}return i.join(",")}function a2(e,t){let s=Jc(e,t);return s&&e1(s,null,t)}function d_(e,t=!1){let s=Jc(e),r=e1(s,null,{ns:"dvs342"}),i=i2(r);return console.log(i),t&&console.dir(s,{depth:null}),i}function yt(e){let t;return e&&((t=e.toIterable)?t.call(e):e)}function Ki(e,t){var s;return typeof t=="string"?typeof e===t:(s=t[Symbol.hasInstance])==null?void 0:s.call(t,e)}function r3(e,t){var s;return e===t||((s=t?.[f_])==null?void 0:s.call(t,e))||!1}function i3(e,t){return e[e.length+t]}var n3,a3=Symbol.for("#lcha"),f_=Symbol.for("#matcher"),o2=Symbol.for("#stack"),Vn=Symbol.for("#parts"),Hn=Symbol.for("#apply"),t1=Symbol.for("#register"),Cr=Symbol.for("#string"),__=Symbol.for("#media"),m_=Symbol.for("#rules"),o3=null,l3=new WeakMap,h3={vflex:function(e){return e.display="flex",e.fld="column"},hflex:function(e){return e.display="flex",e.fld="row"},box:function(e){return e.display="flex",e.ai="center",e.jc="center"},vbox:function(e){return e.display="flex",e.fld="column",e.ai="center",e.jc="center"},hbox:function(e){return e.display="flex",e.fld="row",e.ai="center",e.jc="center"},lbox:function(e){return e.display="flex",e.fld="row",e.ai="center",e.jc="flex-start"},rbox:function(e){return e.display="flex",e.fld="row",e.ai="center",e.jc="flex-end"},tbox:function(e){return e.display="flex",e.fld="column",e.ai="center",e.jc="flex-start"},bbox:function(e){return e.display="flex",e.fld="column",e.ai="center",e.jc="flex-end"},hgrid:function(e){return e.display="grid",e.gaf="column",e.gac="1fr"},vgrid:function(e){return e.display="grid",e.gaf="row"}};n3=0;for(let e of yt("vh")){let t=n3++;for(let s of yt("tcbs"))for(let r of yt("lcrs")){let i={t:"flex-start",b:"flex-end",c:"center",s:t?"stretch":"space-between"},n={l:"flex-start",r:"flex-end",c:"center",s:t?"space-between":"stretch"},a=""+e+s+r,o={display:"flex",fld:t?"row":"column",jc:t?n[r]:i[s],ai:t?i[s]:n[r],ac:t?i[s]:n[r]};h3[a]=function(l){return Object.assign(l,o),l}}}var s1={ease:"linear|ease|ease-in|ease-out|ease-in-out|step-start|step-end|steps\u0192|cubic-bezier\u0192"};for(let e=0,t=Object.keys(s1),s=t.length,r,i;e<s;e++){r=t[e],i=s1[r];let n={};for(let a=0,o=yt(i.split("|")),l=o.length;a<l;a++){let p=o[a];n[p]=1}s1[r]=n}var di={c:"color",d:"display",pos:"position",p:"padding",pl:"padding-left",pr:"padding-right",pt:"padding-top",pb:"padding-bottom",px:"padding-x",py:"padding-y",m:"margin",ml:"margin-left",mr:"margin-right",mt:"margin-top",mb:"margin-bottom",mx:"margin-x",my:"margin-y",w:"width",h:"height",t:"top",b:"bottom",l:"left",r:"right",s:"size",mih:"min-height",mah:"max-height",miw:"min-width",maw:"max-width",ji:"justify-items",jc:"justify-content",js:"justify-self",j:["justify-content","justify-items"],ai:"align-items",ac:"align-content",as:"align-self",a:["align-content","align-items"],jai:"place-items",jac:"place-content",jas:"place-self",ja:"justify-align",fl:"flex",flf:"flex-flow",fld:"flex-direction",flb:"flex-basis",flg:"flex-grow",fls:"flex-shrink",flw:"flex-wrap",ff:"font-family",fs:"font-size",fw:"font-weight",ts:"text-shadow",txs:"text-shadow",td:"text-decoration",tdl:"text-decoration-line",tdc:"text-decoration-color",tds:"text-decoration-style",tdt:"text-decoration-thickness",tdsi:"text-decoration-skip-ink",tuo:"text-underline-offset",te:"text-emphasis",tec:"text-emphasis-color",tes:"text-emphasis-style",tep:"text-emphasis-position",tet:"text-emphasis-thickness",tt:"text-transform",ta:"text-align",va:"vertical-align",ls:"letter-spacing",lh:"line-height",bd:"border",bdr:"border-right",bdl:"border-left",bdt:"border-top",bdb:"border-bottom",bdx:"border-x",bdy:"border-y",bs:"border-style",bsr:"border-right-style",bsl:"border-left-style",bst:"border-top-style",bsb:"border-bottom-style",bsx:"border-x-style",bsy:"border-y-style",bw:"border-width",bwr:"border-right-width",bwl:"border-left-width",bwt:"border-top-width",bwb:"border-bottom-width",bwx:"border-x-width",bwy:"border-y-width",bc:"border-color",bcr:"border-right-color",bcl:"border-left-color",bct:"border-top-color",bcb:"border-bottom-color",bcx:"border-x-color",bcy:"border-y-color",rd:"border-radius",rdtl:"border-top-left-radius",rdtr:"border-top-right-radius",rdbl:"border-bottom-left-radius",rdbr:"border-bottom-right-radius",rdt:"border-top-radius",rdb:"border-bottom-radius",rdl:"border-left-radius",rdr:"border-right-radius",bg:"background",bgp:"background-position",bgc:"background-color",bgr:"background-repeat",bgi:"background-image",bga:"background-attachment",bgs:"background-size",bgo:"background-origin",bgclip:"background-clip",g:"gap",rg:"row-gap",cg:"column-gap",gtr:"grid-template-rows",gtc:"grid-template-columns",gta:"grid-template-areas",gar:"grid-auto-rows",gac:"grid-auto-columns",gaf:"grid-auto-flow",gcg:"grid-column-gap",grg:"grid-row-gap",ga:"grid-area",gr:"grid-row",gc:"grid-column",gt:"grid-template",grs:"grid-row-start",gcs:"grid-column-start",gre:"grid-row-end",gce:"grid-column-end",shadow:"box-shadow",bxs:"box-shadow",of:"overflow",ofx:"overflow-x",ofy:"overflow-y",ofa:"overflow-anchor",tof:"text-overflow",prefix:"content@before",suffix:"content@after",x:"x",y:"y",z:"z",rotate:"rotate",scale:"scale","scale-x":"scale-x","scale-y":"scale-y","skew-x":"skew-x","skew-y":"skew-y",origin:"transform-origin",ws:"white-space",zi:"z-index",pe:"pointer-events",us:"user-select",o:"opacity",tween:"transition",e:"ease-styles",ea:"ease-all",ead:"ease-all-duration",eaf:"ease-all-function",eaw:"ease-all-delay",es:"ease-styles",esd:"ease-styles-duration",esf:"ease-styles-function",esw:"ease-styles-delay",eo:"ease-opacity",eod:"ease-opacity-duration",eof:"ease-opacity-function",eow:"ease-opacity-delay",ec:"ease-colors",ecd:"ease-colors-duration",ecf:"ease-colors-function",ecw:"ease-colors-delay",eb:"ease-box",ebd:"ease-box-duration",ebf:"ease-box-function",ebw:"ease-box-delay",et:"ease-transform",etd:"ease-transform-duration",etf:"ease-transform-function",etw:"ease-transform-delay",ol:"outline",olo:"outline-offset",olc:"outline-color",ols:"outline-style",olw:"outline-width"},l2={};for(let e=0,t=Object.keys(di),s=t.length,r,i;e<s;e++)r=t[e],i=di[r],typeof i=="string"&&(l2[i]=r);function c3(e){return!!(e._value&&e._value._type=="NUMBER"&&!e._unit)}function h2(e){let t=parseFloat(e);return typeof e=="string"&&e.indexOf("%")>0&&(t=t/100),t}function c2(e,t="hsl"){let s;if(s2[e]&&(e=s2[e]),t=="lch")return Pc(e);if(e[0]=="#"){let r=Wa.hex.rgb(e);return Wa.rgb.hsl(r)}if(s=e.match(/^(hsla?|rgba?)\((.+)\)$/)){let[r,i,n,a=""]=s[2].replace(/[\,\/]/g," ").split(/\s+/g),o;return r=h2(r),i=h2(i),n=h2(n),t=="lch"?Wa.rgb.lch([r,i,n]):((s[1]=="rgb"||s[1]=="rgba")&&(o=Wa.rgb.hsl([parseFloat(r),parseFloat(i),parseFloat(n)])),(s[1]=="hsl"||s[1]=="hsla")&&(o=[parseFloat(r),parseFloat(i),parseFloat(n)]),o)}return null}var g_=Symbol(),u3=class j1{static from(t){if(typeof t=="string"){if(t[0]=="#"&&!t.match(/^\#([A-Fa-f0-9]{6})([A-Fa-f0-9]{2})?$/))return new v_(t.slice(1));t=c2(t)}return Ki(t,Array)?new this("",t[0],t[1],t[2]):null}constructor(t,s,r,i,n=1){this.name=t,this.h=s,this.s=r,this.l=i,this.a=n}lcha(){return this[a3]||(this[a3]=Pc("hsla("+this.h+" "+this.s+"% "+this.l+"% / "+this.a+")"))}alpha(t=1){return new j1(this.name,this.h,this.s,this.l,t)}clone(){return new j1(this.name,this.h,this.s,this.l,this.a)}mix(t,s=.5,r=.5,i=.5){let n=this.h+(t.h-this.h)*s,a=this.s+(t.s-this.s)*r,o=this.l+(t.l-this.l)*i;return new j1(this.name+t.name,n,a,o)}toString(t=this.a){return typeof t=="string"&&t[0]=="$"&&(t="var(--"+t.slice(1)+",100%)"),"hsla("+this.h.toFixed(2)+","+this.s.toFixed(2)+"%,"+this.l.toFixed(2)+"%,"+t+")"}toVar(t=2){return""+Math.round(this.h)+","+Math.round(this.s)+"%,"+Math.round(this.l)+"%"}toLchString(){let[t,s,r,i]=this.lcha();return"lcha("+t.toFixed(2)+" "+s.toFixed(2)+" "+r.toFixed(2)+"% / "+i+")"}c(){return this.toString()}};Ye(u3,g_,"Color",16);var or=u3,y_=Symbol(),p3=class extends or{toVar(){return"var(--c_"+this.name+")"}};Ye(p3,y_,"NamedColor",0);var v_=p3,b_=Symbol(),d3=class gl extends or{alpha(t=1){return new gl(this.name,this.h,this.s,this.l,t)}clone(){return new gl(this.name,this.h,this.s,this.l,this.a)}toString(t=this.a){return typeof t=="string"&&t[0]=="$"&&(t="var(--"+t.slice(1)+",100%)"),"hsla(var(--"+this.name+"),"+t+")"}toVar(t=2){return"var(--"+this.name+")"}};Ye(d3,b_,"Tint",0);var x_=d3,w_=Symbol(),f3=class Ip{static parse(t){let s=String(t).match(/^(\-?[\d\.]+)(\w+|%)?$/);return s?new this(parseFloat(s[1]),s[2]):null}constructor(t,s){this.number=t,this.unit=s}valueOf(){return this.number}toString(){return this.number+(this.unit||"")}clone(t=this.number,s=this.unit){return new Ip(t,s)}rounded(){return this.clone(Math.round(this.number))}c(){return this.toString()}get _unit(){return this.unit}get _number(){return this.number}};Ye(f3,w_,"Length",16);var r1=f3,S_=Symbol(),_3=class{constructor(t,s){this.name=t,this.fallback=s}c(){return this.fallback?"var(--"+this.name+","+(this.fallback.c?this.fallback.c():String(this.fallback))+")":"var(--"+this.name+")"}};Ye(_3,S_,"Var",16);var zn=_3,T_=Symbol(),m3=class{constructor(t){this.expr=t}cpart(t){let s="(";for(let r=0,i=yt(t),n=i.length;r<n;r++){let a=i[r];typeof a=="string"?s+=" "+a+" ":typeof a=="number"?s+=a:Ki(a.c,Function)?s+=a.c():Ki(a,Array)&&(s+=this.cpart(a))}return s+=")",s}c(){return"calc"+this.cpart(this.expr)}};Ye(m3,T_,"Calc",16);var im=m3,g3={current:{string:"currentColor",c:function(){return"currentColor"}},transparent:new or("transparent",0,0,100,"0%"),clear:new or("transparent",100,100,100,"0%"),black:new or("black",0,0,0,"100%"),white:new or("white",0,0,100,"100%")};function y3(e,t){for(let s=0,r=Object.keys(t),i=r.length,n,a;s<i;s++){if(n=r[s],a=t[n],typeof a=="string"){e[n]=a;continue}for(let o=0,l=Object.keys(a),p=l.length,c,d;o<p;o++){c=l[o],d=a[c];let v=n+c;if(e[d])e[v]=e[d];else{let[f,g,y]=c2(d),T=e[v]=new or(v,f,g,y,"100%")}}}return e}y3(g3,Yc);var k_="cm mm Q in pc pt px em ex ch rem vw vh vmin vmax % s ms fr deg rad grad turn Hz kHz".split(" "),E_=Symbol(),v3=class{static instance(){return o3||(o3=new this)}static propAbbr(t){return l2[t]||t}static wrap(t){if(!t)return this.instance();let s=l3.get(t);return s||l3.set(t,s=new this(t)),s}constructor(t={}){this.options=Uc,this.palette=Object.assign({},g3),t.theme&&(t=t.theme),t&&t.colors&&y3(this.palette,t.colors)}expandProperty(t){return di[t]||void 0}expandValue(t,s){if(t==null&&(t=s.default),s.hasOwnProperty(t)&&(t=s[t]),typeof t=="number"&&s.NUMBER){let[r,i,n]=s.NUMBER.match(/^(\-?[\d\.]+)(\w+|%)?$/);return t*parseFloat(i)+n}return t}padding_x([t,s=t]){return{"padding-left":t,"padding-right":s}}padding_y([t,s=t]){return{"padding-top":t,"padding-bottom":s}}margin_x([t,s=t]){return{"margin-left":t,"margin-right":s}}margin_y([t,s=t]){return{"margin-top":t,"margin-bottom":s}}ease(t){return this.$ease(t,"s")}ease_all(t){return this.$ease(t,"a")}ease_opacity(t){return this.$ease(t,"o")}ease_styles(t){return this.$ease(t,"s")}ease_box(t){return this.$ease(t,"b")}ease_transform(t){return this.$ease(t,"t")}ease_colors(t){return this.$ease(t,"c")}$ease(t,s="",r=null){var i;t=t.slice(0);let n={__ease__:s};if((i=t[0])!=null&&i.unit&&(n["--e_"+s+"d"]=t[0],t.shift()),t[0]&&!t[0].unit){let a=this.$varFallback("ease",[t[0]]);n["--e_"+s+"f"]=a,t.shift()}return t[0]&&t[0].unit&&(n["--e_"+s+"w"]=t[0],t.shift()),n}inset([t,s=t,r=t,i=s]){return{position:"absolute",top:t,right:s,bottom:r,left:i}}grid(t){let s;if(s=this.$varFallback("grid",t))return s}animation(...t){let s={normal:1,reverse:1,alternate:1,"alternate-reverse":1,infinite:2,none:3,forwards:3,backwards:3,both:3,running:4,paused:4},r={};for(let i=0,n=yt(t),a=n.length;i<a;i++){let o=n[i],l=null,p=null;for(let c=0,d=yt(o),v=d.length;c<v;c++){let f=d[c],g=String(f),y=s[g];s1.ease[g]&&!p?p=!0:y?(r[y]&&(l=[c,g]),r[y]=!0):g.match(/^[^\d\.]/)&&g.indexOf("(")==-1&&(l?p=[c,g]:l=[c,g])}if(l&&(o[l[0]]=new zn("animation-"+l[1],l[1])),Ki(p,Array)){let c=this.options.variants.easings[p[1]];o[p[0]]=new zn("ease-"+p[1],c)}}return{animation:t}}animation_timing_function(...t){for(let s=0,r=yt(t),i=r.length;s<i;s++){let n=r[s],a=this.$varFallback("ease",n);a&&(t[s]=a)}return t}animation_name(...t){let s;for(let r=0,i=yt(t),n=i.length;r<n;r++){let a=i[r],o=this.$varFallback("animation",a);o&&(t[r]=o)}return t}display(t){let s={display:t};for(let r=0,i=yt(t),n=i.length,a;r<n;r++){let o=i[r];(a=h3[String(o)])&&a.call(this,s,o,t)}return s}text_transform(t){let s={"text-transform":t},r=String(t[0]);return r3(r,"cap")?s["text-transform"]="capitalize":r3(r,"up")&&(s["text-transform"]="uppercase"),s}position(t){let s={position:t},r=String(t[0]);return r=="abs"?s.position="absolute":r=="rel"&&(s.position="relative"),s}width([...t]){let s={};for(let r=0,i=yt(t),n=i.length;r<n;r++){let a=i[r],o=a._options||{},l=a._unit;l=="c"||l=="col"||l=="cols"?s["grid-column-end"]="span "+a._number:o.op&&String(o.op)==">"?s["min-width"]=a:o.op&&String(o.op)=="<"?s["max-width"]=a:s.width=a}return s}height([...t]){let s={};for(let r=0,i=yt(t),n=i.length;r<n;r++){let a=i[r],o=a._options||{},l=a._unit;l=="r"||l=="row"||l=="rows"?s["grid-row-end"]="span "+a._number:o.op&&String(o.op)==">"?s["min-height"]=a:o.op&&String(o.op)=="<"?s["max-height"]=a:s.height=a}return s}transition(...t){let s={},r={},i=["name | duration","name | duration | delay","name | duration | ease","name | duration | ease | delay"],n={styles:["background-color","border-color","color","fill","stroke","opacity","box-shadow","transform"],sizes:["width","height","left","top","right","bottom","margin","padding"],colors:["background-color","border-color","color","fill","stroke"]},a=0;for(;a<t.length;){let o=t[a],l=String(o[0]);l.match(/^[\-\+]?\d?(\.?\d+)(s|ms)?$/)&&o.unshift(l="styles");let p=o[2],c=n[l];if(c&&t.length==0)o[0]="none",Object.assign(r,{"transition-property":c.join(",")});else if(c&&t.length>1){let d=c.map(function(v){return[v].concat(o.slice(1))});t.splice(a,1,...d);continue}a++}return Object.assign(s,{"--e_rest":t},r),s}font(t,...s){for(let r=0,i=yt(t),n=i.length;r<n;r++){let a=i[r]}}font_family(t){let s;if(s=this.$varFallback("font",t))return s}text_shadow(...t){for(let s=0,r=yt(t),i=r.length,n;s<i;s++){let a=r[s];(n=this.$varFallback("text-shadow",a))&&(t[s]=n)}return t}box_shadow(...t){let s={"box-shadow":t};for(let r=0,i=yt(t),n=i.length;r<n;r++){let a=i[r],o=!1;for(let l=0,p=yt(a),c=p.length;l<c;l++){let d=p[l];if(l==0&&a.length<3){let v=String(d);v.match(/^[\w\-]+$/)&&(o=v,a[l]=new zn("box-shadow-"+v,d))}l==1&&o&&(s["--bxs-"+o+"-color"]="/*##*/"+d,d.param&&(s["--bxs-"+o+"-alpha"]=d.param.toAlpha()),d.set({parameterize:!0}),a[l]="")}}return s}grid_template(t){for(let s=0,r=yt(t),i=r.length;s<i;s++){let n=r[s];c3(n)&&(n._resolvedValue="repeat("+n._value+",1fr)")}}grid_template_columns(t){return this.grid_template(t)}grid_template_rows(t){return this.grid_template(t)}size([t,s=t]){return{width:t,height:s}}font_size([t]){let s=this.options.variants["font-size"],r=String(t),i=t,n,a={};if(s[r]&&([i,n]=s[r],i=r1.parse(i),n=r1.parse(n||"")),t.param&&t.param&&(n=t.param),a["font-size"]=i,n){let o=n._unit,l=n._number;if(a.lh=n,o=="fs")a.lh=new r1(l);else if(o)a.lh=n;else if(l==0)a.lh="inherit";else if(l&&i._unit=="px"){let p=Math.round(i._number*l);p%2==1&&p++,a.lh=new r1(p,"px")}}return a}line_height([t]){let s=t;return t._number&&!t._unit&&(s=t.clone(t._number,"em")),{"line-height":t,"--u_lh":s}}text_decoration(t){for(let s=0,r=yt(t),i=r.length;s<i;s++){let n=r[s],a=String(n);a=="u"?n._resolvedValue="underline":a=="s"&&(n._resolvedValue="line-through")}return[t]}border([...t]){return this.$border(t,"")}$border(t,s=""){var r;let i={__border__:!0},n=t.length;if(n==3)return i["border"+s]=[t],i;if(this.isNumeric(t[0])){if(n==2&&this.isColorish(t[1]))return t.splice(1,0,"solid"),i["border"+s]=[t],i;i["border"+s+"-style"]="solid",i["border"+s+"-width"]=t.shift()}return this.isColorish(t[0])&&(n==1?i["border"+s]=[["1px","solid",t.shift()]]:(i[r="border"+s+"-width"]||(i[r]="1px"),i["border"+s+"-style"]="solid",i["border"+s+"-color"]=t.shift())),t[0]&&(i["border"+s+"-style"]=t[0]),i}border_left(t){return this.$border(t,"-left")}border_right(t){return this.$border(t,"-right")}border_top(t){return this.$border(t,"-top")}border_bottom(t){return this.$border(t,"-bottom")}border_x(t){return this.$border(t,"-inline")}border_y(t){return this.$border(t,"-block")}border_x_width([t,s=t]){return{bwl:t,bwr:s}}border_y_width([t,s=t]){return{bwt:t,bwb:s}}border_x_style([t,s=t]){return{bsl:t,bsr:s}}border_y_style([t,s=t]){return{bst:t,bsb:s}}border_x_color([t,s=t]){return{bcl:t,bcr:s}}border_y_color([t,s=t]){return{bct:t,bcb:s}}border_top_radius(t){return{"border-top-left-radius":[t],"border-top-right-radius":[t]}}border_left_radius(t){return{"border-top-left-radius":[t],"border-bottom-left-radius":[t]}}border_bottom_radius(t){return{"border-bottom-left-radius":[t],"border-bottom-right-radius":[t]}}border_right_radius(t){return{"border-top-right-radius":[t],"border-bottom-right-radius":[t]}}justify_align([t,s=t]){let r={};return t==s?r["place-items"]=r["place-content"]=t:(r["justify-content"]=r["justify-items"]=t,r["align-content"]=r["align-items"]=s),r}outline(t){if(t.length==3||t.length==1&&String(t[0])=="none")return{outline:[t]};let s={__outline__:!0};return this.isNumeric(t[0])&&(s.olw=t.shift()),this.isColorish(t[0])&&(s.olc=t.shift()),s.olw||(s["--ol_w"]="1px"),s}gap([t,s=t]){let r={};return s!=t?r={"row-gap":t,"column-gap":s}:(r={gap:t},t._unit!="rg"&&(r["--u_rg"]=t),t._unit!="cg"&&(r["--u_cg"]=t)),r}row_gap([t]){let s={"row-gap":t};return t._unit!="rg"&&(s["--u_rg"]=t),s}column_gap([t]){let s={"column-gap":t};return t._unit!="cg"&&(s["--u_cg"]=t),s}tint([t]){let s={"--hue":t};for(let r=0;r<10;r++)s["--hue"+r]="/*##*/"+t+r;return s}hue([t]){let s={"--hue":t};for(let r=0;r<10;r++)s["--hue"+r]="/*##*/"+t+r;return s}colormix(t,s){var r;let i={},n="--c_"+t,a=s[0][0],[o,l,p,c]=[null,null,null,1];return a!=null&&a.lcha?[o,l,p,c]=a.lcha():Ki(a?._resolvedValue,or)&&([o,l,p,c]=a._resolvedValue.lcha(),a.param&&a.param.toAlpha&&(c=a.param.toAlpha())),typeof o=="number"&&(o=Math.round(o*10)/10),typeof l=="number"&&(l=Math.round(l*10)/10),typeof p=="number"&&(p=Math.round(p*10)/10),o!=null&&(i["--u_"+t+"L"]=o,i["--u_"+t+"C"]=l,i["--u_"+t+"H"]=(r=p?._resolvedValue)!=null?r:p,i["--u_"+t+"A"]=c??1),i}$color(t){let s,r=t.match(/^([A-Za-z\-]+)(\d)(\d*)$/),i=r&&r[1];if(i&&typeof this.palette[i]=="string")return this.$color(this.palette[i]+t.slice(i.length));if(i=="hue")return new x_(t);if(this.palette[t])return this.palette[t];if(r){let n=parseInt(r[2]),a=r[3]?parseFloat("0."+r[3]):0,o=null,l=null,p=n+1,c=n;if(typeof this.palette[i]=="string")return this.$color(this.palette[i]+t.slice(i.length));for(;p>1&&!o;)o=this.palette[i+--p];for(;c<9&&!l;)l=this.palette[i+ ++c];let d=(n-p+a)/(c-p),v=d,f=d,g=d;if(l||(l=this.palette.black,v=0,f=g=a),o||(o=this.palette.blue1,v=1,f=g=1-a),o&&l)return this.palette[t]=o.mix(l,v,f,g)}return(s=c2(t))?new or("",...s):null}isNumeric(t){return!!(c3(t)||typeof t=="number"||String(t).match(/^[\-\+]?\d?(\.?\d+)(\w+|%)?$/))}isColorish(t){return!!this.$parseColor(t)}$parseColor(t){let s,r=String(t);return(s=this.$color(r))?s:r.match(/^#[a-fA-F0-9]{3,8}/)||r.match(/^(rgb|hsl)/)||r=="currentColor"?t:null}$varFallback(t,s,r=[]){if(s.length==1){let i=String(s[0]),n=s[0];if(r.push("none","initial","unset","inherit"),r.indexOf(i)==-1&&i.match(/^[\w\-]+$/))return t=="font"&&ya[i]&&(n=ya[i]),t=="ease"&&this.options.variants.easings[i]&&(n=this.options.variants.easings[i]),[new zn(""+t+"-"+i,n)]}}$value(t,s,r){let i,n=r,a=t,o=t&&t.toRaw?t.toRaw():String(t),l=String(t),p=!1,c=null,d=a._unit;if(typeof r=="string"){if(di[r]&&(r=di[r],Ki(r,Array)&&(r=r[0])),r.match(/^((min-|max-)?(width|height)|top|left|bottom|right|padding|margin|sizing|inset|spacing|sy$|s$|\-\-s[xy])/))r="sizing";else if(r.match(/^\-\-[gs][xy]_/))r="sizing";else if(r.match(/^(row-|column-)?gap/))r="sizing";else if(r.match(/^[mps][trblxy]?$/))r="sizing";else if(r.match(/^[trblwh]$/))r="sizing";else if(r.match(/^e[otbca]?f$/)||r.match(/^ease(-\w+)?-function$/))r="easings",p="ease";else if(r.match(/^border-.*radius/)||r.match(/^rd[tlbr]{0,2}$/))r="radius",p="border-radius";else if(r.match(/^tween|transition/)&&this.options.variants.easings[o])return this.options.variants.easings[o];r=this.options.variants[r]||{}}if(t==null&&(t=r.default),r.hasOwnProperty(o)&&(t=r[t]),typeof o=="number"&&r.NUMBER){let[v,f,g]=r.NUMBER.match(/^(\-?[\d\.]+)(\w+|%)?$/);return t*parseFloat(f)+g}else if(typeof o=="string"&&(i=this.$parseColor(o)))return i;if(p&&!d){let v=l.match(/^[a-zA-Z\-][\w\-]*$/)&&!l.match(/^(none|inherit|unset|initial)$/),f=d&&k_.indexOf(d)==-1;if((v||f)&&t.alone)return new zn(""+p+"-"+l,a!=t?t:o)}return t}transformColors(t){var s=this;return t=t.replace(/\/\*(#+)\*\/(\#?\w+)(?:\/(\d+%?|\$[\w\-]+))?/g,function(r,i,n,a){let o;if(o=s.$color(n)){if(i=="#")return o.toString(a,i);if(i=="##")return o.toVar(a)}return r}),t}};Ye(v3,E_,"StyleTheme",16);var u2=v3,A_={transform:{specificity:0,body:`--t_x:0;--t_y:0;--t_rotate:0;
--t_scale:1;--t_scale-x:1;--t_scale-y:1;
transform: translate(var(--t_x),var(--t_y)) rotate(var(--t_rotate))
	scaleX(var(--t_scale-x)) scaleY(var(--t_scale-y)) scale(var(--t_scale));`},transform_complex:{specificity:0,body:`--t_z:0;--t_skew-x:0;--t_skew-y:0;
transform: translate3d(var(--t_x),var(--t_y),var(--t_z))
					rotate(var(--t_rotate))
					skewX(var(--t_skew-x)) skewY(var(--t_skew-y))
					scaleX(var(--t_scale-x)) scaleY(var(--t_scale-y)) scale(var(--t_scale)) !important;`},outline:{body:`--ol_s:solid;--ol_w:1px;--ol_o:0px; --ol_c:transparent;
outline:var(--ol_w) var(--ol_s) var(--ol_c); outline-offset:var(--ol_o);
outline:1px solid transparent; outline-offset:var(--ol_o);`},ease:{body:`--e_ad:0ms;--e_af:cubic-bezier(0.23, 1, 0.32, 1);--e_aw:0ms;
--e_sd:var(--e_ad);--e_sf:var(--e_af);--e_sw:var(--e_aw);
--e_od:var(--e_sd);--e_of:var(--e_sf);--e_ow:var(--e_sw);
--e_cd:var(--e_sd);--e_cf:var(--e_sf);--e_cw:var(--e_sw);
--e_bd:var(--e_sd);--e_bf:var(--e_sf);--e_bw:var(--e_sw);
--e_td:var(--e_bd);--e_tf:var(--e_bf);--e_tw:var(--e_bw);
--e_b:var(--e_bd) var(--e_bf) var(--e_bw);
--e_c:var(--e_cd) var(--e_cf) var(--e_cw);
--e_rest:any;
transition:
	all var(--e_ad) var(--e_af) var(--e_aw),
	opacity var(--e_od) var(--e_of) var(--e_ow),
	transform var(--e_td) var(--e_tf) var(--e_tw),
	color var(--e_c),background-color var(--e_c),border-color var(--e_c),fill var(--e_c),stroke var(--e_c), outline-color var(--e_c), box-shadow var(--e_c), filter var(--e_c),
	inset var(--e_b), width var(--e_b),height var(--e_b),max-width var(--e_b),max-height var(--e_b),min-width var(--e_b),min-height var(--e_b),border-width var(--e_b),outline-width var(--e_b),stroke-width var(--e_b),margin var(--e_b),padding var(--e_b),
	var(--e_rest);`}},b3={"user-select":["-webkit-user-select"],appearance:["-webkit-appearance"],"backdrop-filter":["-webkit-backdrop-filter"],"mask-image":["-webkit-mask-image"]},N_=Symbol(),x3=class{constructor(t){this[o2]=t,this[Vn]=[],this[Hn]={transform_complex:[],transform:[]},this[t1]={},this.transforms=null}get transitions(){return this[t1].transition}add(t,s={}){var r;if(this[Vn].push(t),s.apply)for(let i=s.apply,n=0,a=Object.keys(i),o=a.length,l,p;n<o;n++){l=a[n],p=i[l];let c=(r=this[Hn])[l]||(r[l]=[]);for(let d=0,v=yt(p),f=v.length;d<f;d++){let g=v[d];c.indexOf(g)<0&&c.push(g)}}}js(t,s){let r=[];for(let i=this[t1],n=0,a=Object.keys(i),o=a.length,l,p;n<o;n++)l=a[n],p=i[l],r.push(t.runtime().transitions+(".addSelectors("+JSON.stringify(p)+",'"+l+"')"));return r.join(`
`)}parse(){if(this[Cr]!==void 0)return this[Cr];if(this[Vn].length==0&&this[Hn].transform_complex.length==0&&this[Hn].transform.length==0)return this[Cr]="";let t=[],s=this[Vn].slice(0),r=function(i){if(s.indexOf(i)<0)return s.unshift(i)};for(let i=this[Hn],n=0,a=Object.keys(i),o=a.length,l,p;n<o;n++){if(l=a[n],p=i[l],!p||p.length==0)continue;let c=A_[l],d={},v={},f={"":d},g=l=="transition"||l.match(/^_(off|out|in)_sized/);for(let T=0,_=yt(p),b=_.length;T<b;T++){let m=_[T];for(let C=0,k=yt(m[m_]||[]),L=k.length;C<L;C++){let x=k[C],E=x[__]||"",N=x[Cr].replace(/:not\((#_|\._0?)+\)/g,"");(g||l=="ease")&&(N=N.replace(/\.\\@(off|out|in|on)\b/g,"")),N=N.replace(/((\:+)[\w\-]+)(?!\()/g,function(D,V){return V.length>1?D:""}),N=N.replace(/^\:root /g,"");let S=f[E]||(f[E]={});S[N]=x,v[N]=!0}}if(c)for(let T=0,_=Object.keys(f),b=_.length,m,C;T<b;T++){m=_[T],C=f[m];let k=Object.keys(C);if(m!=""&&(k=k.filter(function(N){return!d[N]})),k.length==0)continue;let L=k.sort(function(N,S){return N.length-S.length}),x=[];for(let N=0,S=yt(L),D=S.length;N<D;N++){let V=S[N];(!L.slice(0,N).find(function(M){return V.indexOf(M)>=0})||V.match(/[\s\>\,]|:(not|before|after|marker)|::/))&&x.push(V)}k=x;let E=k.join(", ")+` {
`+c.body+`
}`;m&&(E=m+` {
`+E+`
}`),s.unshift(E)}let y=Object.keys(v);l=="transition"&&y.length&&(r(".\\@enter:not(#_),.\\@leave:not(#_) {--e_ad:300ms;}"),r("._instant_:not(#_):not(#_):not(#_):not(#_) { transition-duration:0ms !important; }")),g&&(this[t1][l]=y)}return this[Cr]=s.join(`

`),this[o2].resolveColors()&&(this[Cr]=this[o2].theme().transformColors(this[Cr],{prefix:!1})),this[Cr]}toString(){try{return this.parse()}catch(t){return console.warn("failed to parse stylesheet",this[Vn],t),""}}};Ye(x3,N_,"StyleSheet",16);var I_=x3,L_=Symbol(),w3=class jr{constructor(t,s,r,i={}){this.parent=t,this.selector=s,this.content=r,this.options=i,this.isKeyFrames=!!s.match(/\@keyframes \w/),this.isKeyFrame=t&&t.isKeyFrames,this.meta={}}root(){return this.parent?this.parent.root:this}apply(t,s){var r;return((r=this.options.apply)[t]||(r[t]=[])).push(s)}register(t,s){var r;return((r=this.options.register)[t]||(r[t]=[])).push(s)}toString(t={}){if(!this.parent&&this.selector){let c,d;try{c=a2(this.selector,this.options),d=r2(c,this.options),d[1]&&d[1][0]&&([this.ownsel,...this.ownrules]=d[1])}catch(v){console.log("error",v,c,this.selector)}}let s=[],r=[],i,n="",a=[],o=t.indent||"";if(this.isKeyFrames){let[c,d]=this.selector.split(/\s*\@keyframes\s*/);c=c.trim(),d=d.trim();let v=[d,c,this.options.ns].filter(function(g){return g}).join("-");this.meta.name=d,this.meta.uniqueName=v.replace(/[\s\.\,]+/g,"").replace(/[^\w\-]/g,"_"),this.options.global&&!c&&(this.meta.uniqueName=this.meta.name);let f={};f["--animation-"+d]=""+this.meta.uniqueName,c?r.push(new jr(null,c,f,this.options)):this.options.ns&&!this.options.global&&r.push(new jr(null,"."+this.options.ns,f,{}))}let l=typeof this.selector=="string"&&this.selector.indexOf("@important")>=0?1:0;for(let c=this.content,d=0,v=Object.keys(c),f=v.length,g,y;d<f;d++){if(g=v[d],y=c[g],y==null)continue;let T=null,_=l?" !important":"",b=g;if(g.indexOf("&")>=0){if(this.isKeyFrames){let C=g.replace(/&/g,""),k=new jr(this,C,y,this.options);s.push(k.toString({indent:o+"	"}));continue}if(g.match(/@start\b/)){let[C,k]=g.split(/\s*\@start\s*/),L=new jr(null,"@starting-style",y,{});s.push(L.toString({indent:o+"	"}));continue}let m=n2(this.selector,g);this.ownsel&&(m=g.replace(/&/g,":scope")),r.push(new jr(this,m,y,this.options));continue}else if(g.indexOf("\xA7")>=0){let m=b.split("\xA7"),C=m.slice(1).join(""),k=n2(this.selector,C),L={};L[m[0]]=y,(i=r[k])?i.content[m[0]]=y:(i=new jr(this,k,L,this.options),r.push(r[k]=i));continue}else if(g.match(/^__(\w+)__$/))this.meta[g.slice(2,-2)]=!0;else if(g[0]=="["){let m=JSON.parse(g);r.push(new jr(this,this.selector,y,this.options));continue}else if(g.match(/^(x|y|z|scale|scale-x|scale-y|skew-x|skew-y|rotate)$/))this.meta.transform||(this.meta.transform=!0),g.match(/^(z|skew-x|skew-y)$/)&&(this.meta.transform_complex=!0),s.push("--t_"+g+": "+y+" !important;");else if(g.match(/^(ease-.*)$/)){this.meta.ease=!0;let m=g.replace("delay","wait").split("-").map(function(C){return C[0]}).join("");s.push("--e_"+m.slice(1)+": "+y+" !important;"),l2[g]||console.warn(""+g+" is not a valid style property")}else if(g.match(/^(--e_\w+)$/))this.meta.ease=!0,this.selector.match(/@in\b/),s.push(""+g+": "+y+" !important;");else if(!g.match(/^__ease__$/)){if(g.match(/^raw-/))s.push(""+g.slice(4)+": "+y+_+";");else if(g.match(/^__outline__$/))this.meta.outline=!0;else if(g.match(/^(width|height)$/)&&(this.meta.size=!0),s.push(""+g+": "+y+_+";"),b3[g])for(let m=0,C=yt(b3[g]),k=C.length;m<k;m++){let L=C[m];s.push(""+L+": "+y+_+";")}}}let p=s.map(function(c){return o+"	"+c}).join(`
`);if((t.indent||this.isKeyFrames)&&(p=`
`+p+`
`),this.isKeyFrame)n=""+this.selector+" {"+p+"}";else if(this.isKeyFrames)n="@keyframes "+this.meta.uniqueName+" {"+p+"}";else{let c=this.isKeyFrame?this.selector:a2(this.selector,this.options);if(this.meta.transform&&this.apply("transform",c),this.meta.transform_complex&&this.apply("transform_complex",c),this.meta.ease&&this.apply("ease",c),this.meta.outline&&this.apply("outline",c),c&&c.hasTransitionStyles&&(this.apply("transition",c),this.meta.ease||this.apply("ease",c)),this.meta.size)for(let d=0,v=["_off_","_out_","_in_"],f=v.length;d<f;d++){let g=v[d];c[g]&&this.apply(""+g+"sized",c)}n=p.match(/[^\n\s]/)?i2(c,p,this.options,t):"",n=o+n}if(t.indent=o,!this.parent&&this.ownsel){n="";let c=o;for(let d=0,v=yt(this.ownsel),f=v.length;d<f;d++){let g=v[d];n+=c+g+`{
`,a.push(`
`+c+"}"),c+="	"}for(let d=0,v=yt(this.ownrules),f=v.length;d<f;d++){let g=v[d];n+=c+g+` {
`,a.push(`
`+c+"}"),c+="	"}p&&(n+=s.map(function(d){return c+d}).join(`
`)),i3(this.ownrules,-1)==":scope"&&(c=c.slice(0,-1),n+=i3(a,-1),a.pop()),t.indent=c}for(let c=0,d=yt(r),v=d.length;c<v;c++){let f=d[c];n+=`
`+f.toString(t)}return t.indent=o,n+=a.toReversed().join(""),n}};Ye(w3,L_,"StyleRule",16);var R_=w3,$_={"[":"]","{":"}","<":">","(":")",'"':'"',"'":'"'};function C_(e){let t=[],s=0,r="";for(;s<e.length;){let i=e.charAt(s),n=t[0];if(i&&i==n&&(t.shift(),i=null),i&&!n&&!$_[i])r+=i;else{if(!n&&(i==")"||i=="]"||i=="}"||i==">"))break;if(i=="(")t.unshift(")");else if(i=="[")t.unshift("]");else if(i=="{")t.unshift("}");else if(i=="<")t.unshift(">");else if(i=='"')t.unshift('"');else if(i=="'")t.unshift("'");else if(!n&&i==">")break}s++}return r}function O_(e){return"<"+C_(e.slice(1,-1)).split(/,\s*/g).map(t=>t.split(/\W/)[0]).join(",")+">"}function Wi(e){return e&&(e.len instanceof Function?e.len():e.length)||0}function i1(e,t){return t&&t.indexOf?t.indexOf(e):[].indexOf.call(e,t)}function Le(e){return e?e.toArray?e.toArray():e:[]}var D_={},S3=Nh,Xi=So,M_=Va,Un=class{constructor(e,t){this._value=e,this._source=t}startLoc(){return this._source.startLoc()}endLoc(){return this._source.endLoc()}toString(){return this._value}c(){return ve(this._value,this)}},P_=class{constructor(e,t,s){this._template=e,this._options=t,this._source=s}c(){return ws(this._options,this._template)}toString(){return this.c()}},n1=class{constructor(e,t){this._source=t||e,e.toClassName&&(e=e.toClassName()),e.c instanceof Function&&(e=e.c({mark:!1})),e="\u03A9"+dr.strip(e).split(".").join("__");let s=A.incr(e);s>1&&(e+="\u03A9"+s),this._value=e}startLoc(){return this._source.startLoc()}endLoc(){return this._source.endLoc()}toString(){return this._value}c(){return this._value}},T3=Pi,k3=Kh,Yn={},E3={},A3=!0,N3=!0,F_="_$INTERNAL$_imbaFieldRegistry",j_="_$INTERNAL$_imbaFieldTarget",p2={},d2={Array:{interface:"ArrayConstructor"},Number:{interface:"NumberConstructor",thistype:"number"},String:{interface:"StringConstructor",thistype:"string"},Object:{interface:"ObjectConstructor"},Math:{namespace:"Math"},window:{global:!0}},G_={svg:"image",png:"image",apng:"image",jpg:"image",jpeg:"image",gif:"image",tiff:"image",bmp:"image"};Yn.HTML="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param pre progress q rp rt ruby s samp script section select small source span strong strike style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr".split(" "),Yn.SVG="circle defs ellipse g line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),E3.HTML="accept accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked className cols colSpan content contentEditable contextMenu controls coords crossOrigin data dateTime defer dir disabled download draggable encType form formNoValidate frameBorder height hidden href hrefLang htmlFor httpEquiv icon id label lang list loop max maxLength mediaGroup method min multiple muted name noValidate pattern placeholder poster preload radioGroup readOnly rel required role rows rowSpan sandbox scope scrollLeft scrolling scrollTop seamless selected shape size span spellCheck src srcDoc srcSet start step style tabIndex target title type useMap value width wmode",E3.SVG="cx cy d dx dy fill fillOpacity fontFamily fontSize fx fy gradientTransform gradientUnits markerEnd markerMid markerStart offset opacity patternContentUnits patternUnits points preserveAspectRatio r rx ry spreadMethod stopColor stopOpacity stroke strokeDasharray strokeLinecap strokeOpacity strokeWidth textAnchor transform version viewBox x1 x2 x y1 y2 y";var I3={intersect:"events_intersect",selection:"events_selection",resize:"events_resize",mutate:"events_mutate",hotkey:"events_hotkey",touch:"events_touch",pointer:"events_pointer",pointerdown:"events_pointer",pointermove:"events_pointer",pointerover:"events_pointer",pointerout:"events_pointer",pointerup:"events_pointer",pointercancel:"events_pointer",lostpointercapture:"events_pointer",click:"events_mouse",mousedown:"events_mouse",mouseup:"events_mouse",mouseenter:"events_mouse",mouseleave:"events_mouse",mousemove:"events_mouse",mouseout:"events_mouse",mouseover:"events_mouse",mousewheel:"events_mouse",keydown:"events_keyboard",keyup:"events_keyboard",keypress:"events_keyboard"},Ie={},lt={TAG_INITED:2**0,TAG_BUILT:2**1,TAG_CUSTOM:2**2,TAG_AWAKENED:2**3,TAG_MOUNTED:2**4,TAG_SCHEDULE:2**5,TAG_SCHEDULED:2**6,TAG_FIRST_CHILD:2**7,TAG_LAST_CHILD:2**8,TAG_HAS_DYNAMIC_FLAGS:2**9,TAG_HAS_BRANCHES:2**10,TAG_HAS_LOOPS:2**11,TAG_HAS_DYNAMIC_CHILDREN:2**12,TAG_IN_BRANCH:2**13,TAG_BIND_MODEL:2**14,TAG_INDEXED:2**15,TAG_KEYED:2**16,EL_INITED:2**0,EL_HYDRATED:2**1,EL_HYDRATING:2**2,EL_AWAKENED:2**3,EL_MOUNTING:2**4,EL_MOUNTED:2**5,EL_SCHEDULE:2**6,EL_SCHEDULED:2**7,EL_RENDERING:2**8,EL_RENDERED:2**9,EL_SSR:2**10,EL_TRACKED:2**11,EL_SUSPENDED:2**12,EL_UNRENDERED:2**13,EL_MOVING:2**14,DIFF_BUILT:2**0,DIFF_FLAGS:2**1,DIFF_ATTRS:2**2,DIFF_CHILDREN:2**3,DIFF_MODIFIERS:2**4,DIFF_INLINE:2**5},B_=/@\{(@(\!?\w+)\?)?([^{}]*(:?\{([^{}]*(:?\{[^{}]*\}[^{}]*)*)\}[^{}]*)*)\}/g,ws=function(e,t,s,r){return s===void 0&&(s={}),r===void 0&&(r=0),A.call({template:t},function(){return t=t.replace(/\%/g,"@"),t=t.replace(B_,function(i,n,a,o){if(a){if(a[0]=="!"){if(e[a.slice(1)])return"\u03B5\u03B5"}else if(!e[a])return"\u03B5\u03B5"}let l={},p=ws(e,o,l,r+1);return l.replaced||a?p:"\u03B5\u03B5"}),t=t.replace(/\@([\w\-]+)\|?/g,function(i,n){if(n=="ts-ignore")return"@ts-ignore";let a=e[n];return a===!0?(s.replaced=!0,n):(a&&(a=ve(a)),a&&(s.replaced=!0),a||"\u03B5\u03B5")}),t=t.replace(/(\n\s*)(εε)\s*(?=\n)/g,""),t=t.replace(/(^|\s)(εε[ ]?)*/gm,"$1").replace(/εε/g,""),t=t.replace(/(^[ ]+)/gm,""),r==0&&(t=t.trim()),t})},V_=function(e,t){return Ys.current.tsc?e.set({declareOnly:t}):ce("")},H_=function(e,t){return e.set({global:t})},z_=function(e,t,s){return Ys.current.tsc?t instanceof hu?(e.set({generics:t}),e):e.set({datatype:t}):e},oe=function(e,t,s){var r=String(e);switch(r){case".":case"?.":return t instanceof Zs&&!t._member?(t._member=s,t):((typeof s=="string"||s instanceof String)&&(s=new Ke(s)),new it(e,t,s));case"=":return new gs(e,t,s);case"~=":return oe("&=",t,oe("~",s));case"||=":case"&&=":case"??=":return new ou(e,t,s);case"+=":case"-=":case"*=":case"/=":case"^=":case"%=":case"**=":return new lu(e,t,s);case"instanceof":case"isa":return new eu(e,t,s);case"in":return new ru(e,t,s);case"typeof":return new tu(e,t,s);case"delete":return new su(e,t,s);case"--":case"++":case"!":case"\u221A":case"not":case"!!":return new m1(e,t,s);case">":case"<":case">=":case"<=":case"==":case"===":case"!=":case"!==":return new A2(e,t,s);case"..":case"...":return new v1(e,t,s);default:return new Nt(e,t,s)}},L3=function(e){for(e instanceof O2&&(e=e.value()),e instanceof _s&&(e=e.values()[0]);e instanceof Ot;)e=e.value();if(e instanceof Tt&&(e=e._variable||e.value()),e instanceof it){let t=e._left,s=e._right instanceof Qi?e._right.value():e._right;return t instanceof Tt&&(t=t._variable||t.value()),s instanceof Tt&&(s=s._variable||s.value()),e instanceof y1&&(t||(t=e.scope__().context())),s instanceof sa||s instanceof Ke&&(s=Oi(String(s.js())),s=new ct(s)),[t,s]}return e},Gs={},Ws=null,U_=[],fs=function(e,t){return typeof e=="string"||typeof e=="number"?e:e.c(t)},f2=function(e,t){return t==null&&(t=e),{startLoc:function(){return e},endLoc:function(){return t}}},qn=[-1,-1,-1],a1=!0,ve=function(e,t,s){if(t==null&&(t=e,s||(s={mark:!1})),t&&t.startLoc){if(e=fs(e,s),!a1)return e;let r=A.incr("sourcePair"),i=t.startLoc(),n=t.endLoc(),a="",o="";return i===qn[0]&&n===qn[1]&&r==qn[2]+1&&e.startsWith("/*%")?(A.decr("sourcePair"),e):((i==0||i>0)&&(a=n>=i?"/*%"+i+"|"+r+"$*/":"/*%"+i+"$*/"),(n==0||n>0)&&(o=i>=0?"/*%"+n+"|"+r+"$*/":"/*%"+n+"$*/"),qn=[i,n,r],a+e+o)}return fs(e,s)},Y_=function(){for(var e=arguments,t=e.length,s=new Array(t>0?t:0);t>0;)s[t-1]=e[--t];for(let r=0,i=Le(s),n=i.length,a;r<n;r++){if(a=i[r],typeof a=="number"||a instanceof Number)return a;if(a&&a.startLoc instanceof Function)return a.startLoc()}return null},q_=function(){for(var e=arguments,t=e.length,s=new Array(t>0?t:0);t>0;)s[t-1]=e[--t];for(let r=0,i=Le(s),n=i.length,a;r<n;r++){if(a=i[r],typeof a=="number"||a instanceof Number)return a;if(a&&a.endLoc instanceof Function)return a.endLoc()}return null},R3=function(e,t){return t?""+fs(e)+":"+fs(t):fs(e)},ce=function(e,t){return t?new Un(e,t):e instanceof p1?e:new p1(e)},$3=function(e){return e instanceof tt&&(e=e.value()),(typeof e=="string"||e instanceof String)&&(e.match(/^[a-zA-Z\$\_]+[\d\w\$\_]*$/)?e=new Ke(e):e=new ct(Oi(String(e)))),e},pt=function(e){return e instanceof ct?e:new ct(Oi(String(e)))},_2=function(e,t,s,r){r===void 0&&(r={});var i=new Pt(e,t,r);return s&&i.addElse(s),i},K_=function(e){return e==null?new T2:e==!1?new _1:e==!0?new f1:typeof e=="string"||e instanceof String?pt(e):typeof e=="number"||e instanceof Number?new zt(e):e},Ji=function(e,t,s){let r=new ot(e,t);return s&&(r._scope._systemscope=s),r},rt=function(e,t){return t===void 0&&(t=[]),new ks(e,t)},W_=function(e,t){return t===void 0&&(t=[]),rt(A.corelib()[e],t)},X_=function(e){return new K3([],e)},Kn=function(e,t){return oe(".",e,t)},J_=function(e){return new aa(e)},Z_=function(e){let t=e.length-1;if(e.charCodeAt(t)==59)return!0;for(;t>=0;){let n=e.charCodeAt(t);if(!(n==9||n==10||n==13||n==32))break;t--}if(t<0)return!1;if(e.charCodeAt(t)==59)return!0;let s=e.lastIndexOf(`
`,t)+1,r=e.indexOf("//",s);if(r<0||r>t)return!1;let i=r-1;for(;i>=0;){let n=e.charCodeAt(i);if(!(n==9||n==10||n==13||n==32))break;i--}return i>=0&&e.charCodeAt(i)==59},Q_=/^(default|char|for)$/,e6=D_.parseError=function(e,t){var s=Ys.error({category:"parser",severity:"error",offset:t.offset,length:t.length,message:e});return s.raise()};Ie.c=function(e){return typeof e=="string"?e:e.c()},Ie.compileRaw=function(e){let t="";if(e instanceof Array){t="[";for(let s=0,r=Le(e),i=r.length;s<i;s++)t+=Ie.compileRaw(r[s])+",";t=t.slice(0,-1)+"]"}else if(e instanceof Object){t="{ ";for(let s,r=0,i=Object.keys(e),n=i.length,a;r<n;r++)a=i[r],s=e[a],t+=""+a+": "+Ie.compileRaw(s)+",";t=t.slice(0,-1)+" }"}else t=JSON.stringify(e);return t},Ie.blk=function(e){return e instanceof Array?Xe.wrap(e):e},Ie.sym=function(e){return Dh(String(e),A)},Ie.cary=function(e,t){return t===void 0&&(t=null),e.map(function(s){return typeof s=="string"?s:s&&s.c?t?s.c(t):s.c():String(s)})},Ie.dump=function(e,t){if(e instanceof Array)return e.map(function(s){return s&&s.dump?s.dump(t):s});if(e&&e.dump)return e.dump()},Ie.compact=function(e){return e instanceof Mt?e.compact():e.filter(function(t){return t!=null&&t!=null})},Ie.reduce=function(e,t){for(let s=0,r=Le(t),i=r.length,n;s<i;s++)n=r[s],n instanceof Array?Ie.reduce(e,n):e.push(n)},Ie.flatten=function(e,t){t===void 0&&(t=!1);var s=[];for(let r=0,i=Le(e),n=i.length,a;r<n;r++)a=i[r],a instanceof Array?Ie.reduce(s,a):s.push(a);return s},Ie.loc=function(e){if(e){if(e instanceof tt)return e.region();if(e instanceof qe)return e.loc()}else return[0,0]},Ie.parse=function(e,t){t===void 0&&(t={});var s=e.match(/\t+/)[0];return Imbac.parse(e,t)},Ie.inline=function(e,t){return t===void 0&&(t={}),this.parse(e,t).body()},Ie.node=function(e,t){if(e=="call")return t[0].c()=="return"&&(t[0]="tata"),new ks(t[0],t[1],t[2])},Ie.escapeComments=function(e){return e||""};var o1=[];Ie.counterToShortRef=function(e){var t=65;for(e+=30;o1.length<=e;){for(var s=o1.length+1,r="";s-=1,r=String.fromCharCode(t+s%26)+r,s=Math.floor(s/26),!(s<=0););o1.push(r.toLowerCase())}return o1[e]},Ie.truthy=function(e){if(e instanceof f1)return!0;if(e instanceof _1)return!1;if(e.isTruthy)return e.isTruthy()};var t6=function(e){return e.indexOf(`
`)<0?"	"+e:e[e.length-1]==`
`?"	"+e.slice(0,-1).split(`
`).join(`
	`)+`
`:"	"+e.split(`
`).join(`
	`)},Zi=class{constructor(e,t){this._open=e,this._close=t}isGenerated(){return this._open&&this._open.generated}aloc(){return this._open&&this._open._loc||0}bloc(){return this._close&&this._close._loc||0}startLoc(){return this.aloc()}endLoc(){return this.bloc()}wrap(e){var t=this._open&&this._open._meta,s=t&&t.pre||"",r=t&&t.post||"",i=Ie.escapeComments,n=this._close;return r[0]==`
`&&(r=r.slice(1)),e=t6(r+e),e=s+`
`+e,n instanceof Jr&&(e+=n.c()),e[e.length-1]!=`
`&&(e=e+`
`),e}},m2=new Zi({},{}),s6=class{constructor(){this._entities=[]}add(e){return this._entities.unshift(e),this}pluck(e){var t=null;for(let s=0,r=Le(this._entities),i=r.length,n;s<i;s++)if(n=r[s],n==e||n instanceof e)return t=n,this._entities.splice(s,1),t;return null}},C3=class{constructor(){this.reset()}nodes(e){return this._nodes}root(e){return this._root}meta(e){return this._meta}reset(){return this._nodes=[],this._scoping=[],this._scopes=[],this._stash=new s6(this),this._loglevel=3,this._counter=0,this._counters={},this._options={},this._state={},this._tag=null,this._sourceId=null,this._symbols={},this._fieldRegistryEntries=[],this._css=new I_(this),this._theme=null,this._meta={},this._runtime,qn=[-1,-1,-1],this}runtime(){return this._root.runtime()}corelib(){return this._root.importProxy("core","imba/runtime","").proxy()}cssns(){return this._root.cssns()}use(e){return this._root.use(e)}addFieldRegistryEntry(e){return this._fieldRegistryEntries||(this._fieldRegistryEntries=[]),this._fieldRegistryEntries.push(e),this}fieldRegistryDeclaration(){if(!N3||!(this._fieldRegistryEntries&&this._fieldRegistryEntries.length))return"";let e=["declare global {","	interface ImbaFieldRegistry {"];for(let t=0,s=Le(this._fieldRegistryEntries),r=s.length,i;t<r;t++)i=s[t],e.push("		"+JSON.stringify(i.key)+": {"),e.push("			owner: "+i.owner),e.push("			ownerType: typeof "+i.ownerType),e.push("			field: "+JSON.stringify(i.field)),e.push("			decorator: "+JSON.stringify(i.decorator)),i.firstArg&&(e.push("			firstArg: "+i.firstArg),e.push("			firstArgType: "+i.firstArgType)),e.push("			args: ["+i.args.join(", ")+"]"),e.push("		}");e.push("	}"),e.push("}");for(let t=0,s=Le(this._fieldRegistryEntries),r=s.length,i;t<r;t++)i=s[t],i.firstArgTarget&&e.push(this.fieldRegistryTargetDeclaration(i,i.firstArgTarget));return e.join(`
`)}fieldRegistryTargetDeclaration(e,t){let s=JSON.stringify(t.key),r="ImbaFieldRegistry["+JSON.stringify(e.key)+"]",i="readonly "+s+"?: "+r;return t.module?["declare module "+t.module+" {","	interface "+t.name+" {","		"+i,"	}","}"].join(`
`):t.global?["declare global {","	interface "+t.name+" {","		"+i,"	}","}"].join(`
`):[(t.export?"export ":"")+"interface "+t.name+" {","	"+i,"}"].join(`
`)}incr(e){return this._counters[e]||(this._counters[e]=0),this._counters[e]+=1}decr(e){return this._counters[e]||(this._counters[e]=0),this._counters[e]-=1}strip(e){return dr.strip(e)}generateId(e){return e===void 0&&(e="oid"),Ie.counterToShortRef(A.tsc()?1:A.incr(e))}getSymbol(e,t,s){t===void 0&&(t=null),s===void 0&&(s="");let r=e||(A.tsc()?1:this.incr("symbols"));return this._symbols[r]||(this._symbols[r]=this._root.declare(t||e,ce("Symbol("+(s?Oi(s):"")+")"),{system:!0,alias:t||e}).resolve().c())}symbolFor(e){return this._root.symbolRef(e)}imbaSymbol(e){return A.isStdLib()?this.symbolFor("#"+e):this.corelib()[e+"$"]}toInternalName(e){let t=e;e.c instanceof Function&&(e=e.c());let s="\u03A9"+this.strip(e).split(".").join("__"),r=this.incr(s);return r>1&&(s+="\u03A9"+r),s}toInternalClassName(e){e.toClassName?e=e.toClassName():e.c instanceof Function&&(e=e.c());let t=this.strip(e),s="\u03A9"+this.strip(e).split(".").join("__"),r=this.incr(s);return r>1&&(s+="\u03A9"+r),s}domCall(e){return e={start:"beforeVisit",end:"afterVisit",open:"beforeReconcile",close:"afterReconcile",insert:"placeChild"}[e]||e,"["+this.symbolFor("#"+e)+"]"}sourceId(){if(this._sourceId||(this._sourceId=this._options.sourceId))return this._sourceId;let e=this.sourcePath(),t=this.cwd();if(this._options.path&&t&&(e=this._options.path.relative(t,e)),!e)throw new Error("Include sourceId or sourcePath in options compile(code,options)");return this._sourceId=No(e),this._sourceId}theme(){return this._theme||(this._theme=u2.wrap(this._options.config))}set(e){this._options||(this._options={});for(let t,s=0,r=Object.keys(e),i=r.length,n;s<i;s++)n=r[s],t=e[n],this._options[n]=t;return this}option(e,t){return t!=null?(this._options||(this._options={}),this._options[e]=t,this):this._options&&this._options[e]}platform(){return this._options.platform||"browser"}mode(){return this._options.mode||"production"}format(){return this._options.format}sourcePath(){return this._options.sourcePath}imbaPath(){return this._options.imbaPath}resolveColors(){return this._options.styles!=="extern"||this._options.resolveColors}config(){return this._options.config||{}}cwd(){return this.config()&&this.config().cwd}tsc(){return this.platform()=="tsc"||this._options.tsc}hmr(){return!!this._options.hmr}isStdLib(){return!!this._options.stdlib}isWeb(){return this.platform()=="browser"||this.platform()=="web"}isWorker(){return this.platform()=="worker"}isNode(){return this.platform()=="node"}isDev(){return this.mode()=="development"}isProd(){return this.mode()=="production"}env(e){var t,s=this._options["ENV_"+e];if(s!=null)return s;if(lt[e]!==void 0)return lt[e];var r=e.toLowerCase();if(this._options[r]!=null)return this._options[r];if(e=="WEB"||e=="BROWSER")return this._meta.universal=!1,this.isWeb();if(e=="NODE")return this._meta.universal=!1,this.isNode();if(e=="DEV")return this.isDev();if(e=="PROD")return this.isProd();if(e=="NODEISH")return this._meta.universal=!1,this.isNode()||!!this.tsc();if(e=="TSC")return this.tsc();if(e=="WORKER")return this._meta.universal=!1,this.platform()&&this.platform().indexOf("worker")>=0;if(e=="WEBWORKER")return this._meta.universal=!1,this.platform()=="webworker";if(e=="HMR")return!!this._options.hmr;if(t=this._options.env){if(t.hasOwnProperty(e))return t[e];if(t.hasOwnProperty(e.toLowerCase()))return t[e.toLowerCase()]}if(typeof process<"u"&&process.env)return s=process.env[e.toUpperCase()],s??null}addScope(e){return this._scopes.push(e),this}traverse(e){return this}push(e){return this._nodes.push(e),this}pop(e){return this._nodes.pop(),this}call(e,t){let s=p2;p2=e;let r=t();return p2=s,r}get is_top_level(){return this._nodes.length<4}parent(){return this._nodes[this._nodes.length-2]}current(){return this._nodes[this._nodes.length-1]}indexOf(e){if(e&&e.prototype instanceof qe){for(var t=this._nodes.length-2;t>=0;){if(this._nodes[t]instanceof e)return t;t-=1}return-1}let s=this.up(e);return s?this._nodes.indexOf(s):-1}up(e){if(typeof e=="number")return this._nodes[this._nodes.length-(1+e)];var t=this._nodes.length-2,s;if(!e){for(;t>=0;)if(s=this._nodes[t--],!(s instanceof Tt))return s;return null}if(e.prototype instanceof qe){for(;t>=0;)if(s=this._nodes[t--],s instanceof e)return s;return null}for(;t>=0;){if(s=this._nodes[t],e(s))return s;t-=1}return null}parents(e){if(e||(e=function(t){return!(t instanceof Tt)}),e.prototype instanceof qe){let t=e;e=function(s){return s instanceof t}}return this._nodes.filter(e)}relative(e,t){t===void 0&&(t=0);var s=this._nodes.indexOf(e);return s>=0?this._nodes[s+t]:null}scope(e){if(e===void 0&&(e=0),this._withScope)return this._withScope;for(var t=this._nodes.length-1-e;t>=0;){var s=this._nodes[t];if(s._scope)return s._scope;t-=1}return null}withScope(e,t){let s=this._withScope;this._withScope=e,t(),this._withScope=s}scopes(){for(var e=[],t=this._nodes.length-1;t>=0;){var s=this._nodes[t];s._scope&&e.push(s._scope),t-=1}return e}closure(){return this.scope().closure()}closures(){return this.scopes().filter(function(e){return e.closure()==e})}method(){return this.up(gr)}block(){return this.up(Xe)}blockpart(){let e=this._nodes.length-1;for(;e;){if(this._nodes[e-1]instanceof Xe)return this._nodes[e];e--}}prependInBlock(e){return this.block().add([e,ut],{before:this.blockpart()})}lastImport(){let e=this._scopes;for(let t=0,s=Le(e),r=s.length,i;t<r;t++)if(i=s[t],i._lastImport)return i._lastImport;return null}isExpression(){for(var e=this._nodes.length-1;e>=0;){var t=this._nodes[e];if(t instanceof Qr||t instanceof ri||t.isStatementLike())return!1;if(t.isExpression())return!0;e-=1}return!1}toString(){return"Stack("+this._nodes.join(" -> ")+")"}scoping(){return this._nodes.filter(function(e){return e._scope}).map(function(e){return e._scope})}currentRegion(){let e=this._nodes.length;for(;e>0;){let t=this._nodes[--e],s=t&&t.startLoc&&t.startLoc(),r=t&&t.endLoc&&t.endLoc();if(s>=0&&r>=s)return[s,r]}return null}},A=new C3,qe=class dn{constructor(){new.target==dn&&this.setup()}script(){return Ys.current}safechain(){return!1}addEnv(t){return this._envs||(this._envs=[]),this._envs.push(new S1(t)),this}isExcluded(){return!1}sourcecode(){let t=A.SOURCECODE,s=this.startLoc(),r=this.endLoc();return t.slice(s,r)}oid(){return this._oid||(this._oid=A.generateId(""))}tid(){return this._tid||(this._tid=A.generateId("tag"))}osym(t,s){return t===void 0&&(t=""),s===void 0&&(s=""),A.getSymbol(this.oid()+t,null,s)}symbolRef(t){return A.root().symbolRef(t)}domCall(t){return A.domCall(t)}gsym(t){return A.root().symbolRef(t)}sourceId(){return A.sourceId()}slf(){return this.scope__().context()}p(){return A._loglevel>0&&console.log.apply(console,arguments),this}runtime(){return A.runtime()}typeName(){return this.constructor.name}namepath(){return this.typeName()}setup(){return this._expression=!1,this._traversed=!1,this._parens=!1,this._cache=null,this._value=null,this}setRegion(t){return t instanceof dn&&(t=t.region()),t instanceof Array&&(this._startLoc=t[0],this._endLoc=t[1]),this}setEnds(t,s){return s&&s.endLoc&&(this._endLoc=s.endLoc()),t&&t.startLoc&&(this._startLoc=t.startLoc()),this}startLoc(){return this._startLoc}endLoc(){return this._endLoc}set(t){this._options||(this._options={});for(let s,r=0,i=Object.keys(t),n=i.length,a;r<n;r++)a=i[r],s=t[a],this._options[a]=s;return this}option(t,s){return s!=null?(this._options||(this._options={}),this._options[t]=s,this):this._options&&this._options[t]}o(){return this._options||(this._options={})}keyword(){return this._keyword||this._options&&this._options.keyword}datatype(){return this._options?this._options.datatype:null}setDatatype(t){return this.option("datatype",t),this}configure(t){return this.set(t)}region(){return[0,0]}loc(){return[this.startLoc()||0,this.endLoc()||0]}token(){return null}compile(){return this}visit(){return this}stack(){return A}isString(){return!1}isPrimitive(t){return!1}isReserved(){return!1}isGlobal(t){return!1}isConstant(){return!1}traverse(t){if(this._traversed)return this;this._traversed=!0;let s;return t&&(s=A._state,A._state=t),A.push(this),this.visit(A,A._state),A.pop(this),t&&(A._state=s),this}inspect(){return{type:this.constructor.toString()}}js(t){return"NODE"}toString(){return""+this.constructor.name}consume(t){return t instanceof kt?t.register(this):t instanceof ti?(t.register(this),new ti(t.op(),t._left,this)):t instanceof gs?oe(t.op(),t._left,this):t instanceof Dr?oe("=",t._left,this):t instanceof Nt?oe(t.op(),t._left,this):t instanceof As?new As(this):t==sn?new sn(this):t instanceof We.Is?t.clone(this):(t instanceof W3&&t.test(this),this)}toExpression(){return this._expression=!0,this}forceExpression(){return this._expression=!0,this}isExpressable(){return!0}isExpression(){return this._expression||!1}isStatementLike(){return!1}isRuntimeReference(){return!1}hasSideEffects(){return!0}isUsed(){return!0}shouldParenthesize(){return!1}shouldParenthesizeInTernary(){return!0}block(){return Xe.wrap([this])}node(){return this}unwrappedNode(){return this}scope__(){return A.scope()}up(){return A.parent()}util(){return We}receiver(){return this}indented(t,s){return t instanceof Zi?(this._indentation=t,this):(s instanceof Array&&(this.add(s[0]),s=s[1]),this._indentation||(this._indentation=t&&s?new Zi(t,s):m2),this)}prebreak(t){return t===void 0&&(t=`
`),this}invert(){return oe("!",this)}cache(t){return t===void 0&&(t={}),this._cache=t,t.var=(t.scope||this.scope__()).temporary(this,t),t.lookups=0,this}cachevar(){return this._cache&&this._cache.var}decache(){return this._cache&&(this.cachevar().free(),this._cache=null),this}alias(){return null}mo(t,s){s===void 0&&(s=!1);let r=this._options&&this._options[t];return s&&!r?"":ve(t,r)}warn(t,s){s===void 0&&(s={});let r=s.loc||this.loc()||[0,0];return r instanceof dn&&(r=[r.startLoc(),r.endLoc()]),r instanceof tt&&(r=r.loc()),this.script().addDiagnostic(s.severity||"warning",{message:t,range:this.script().rangeAt(r[0],r[1])})}error(t,s){return s===void 0&&(s={}),s.severity="error",this.warn(t,s)}c(t){var s,r=A,i=this._cache;if(i&&i.cached)return this.c_cached(i);if(!t&&!i&&!this._indentation&&this.shouldParenthesize==dn.prototype.shouldParenthesize&&!(this._options&&this._options.braces)&&!Gs.sourcemap){r.push(this);let p=this.js(r);return r.pop(this),p}r.push(this),t&&t.expression&&this.forceExpression(),t&&t.indent&&(this._indentation||(this._indentation=m2));var n=this.js(r,t),a=this.shouldParenthesize,o=a==dn.prototype.shouldParenthesize?!1:a.call(this);if(r.pop(this),n==null)return n;if((s=this._indentation)&&(n=s.wrap(n,t)),o&&(n="("+n+")"),(t&&t.braces||this._options&&this._options.braces)&&(s?n="{"+n+"}":n="{ "+n+" }"),i=this._cache){i.manual||(n=""+i.var.c()+" = "+n);var l=r.current();l instanceof nt&&(l=l.node()),(l instanceof it||l instanceof Nt)&&(n="("+n+")"),i.cached=!0}return Gs.sourcemap&&(!t||t.mark!==!1)&&(n=ve(n,this)),n}c_cached(t){return t.lookups++,t.uses==t.lookups&&t.var.free(),t.var.c()}},nt=class extends qe{constructor(e){super(...arguments),this.setup(),this._value=this.load(e)}value(e){return this._value}startLoc(){let e=this._startLoc;return typeof e=="number"?e:this._value&&this._value.startLoc?this._value.startLoc():-1}load(e){return e}js(e){return typeof this._value=="string"?this._value:this._value.c()}visit(){return this._value instanceof qe&&this._value.traverse(),this}region(){return[this._value._loc,this._value._loc+this._value._len]}},O3=class extends qe{constructor(e,t){super(...arguments),this.setup(),this._value=e,this._orig=t||e}value(e){return this._value}startLoc(){return this._orig&&this._orig.startLoc&&this._orig.startLoc()}endLoc(){return this._orig&&this._orig.endLoc&&this._orig.endLoc()}load(e){return e}js(e){return ve(this._value.c({mark:!1}),this)}visit(){return this._value instanceof qe&&this._value.traverse(),this}region(){return[this._orig._loc,this._orig._loc+this._orig._len]}},Wn=class extends nt{},D3=class extends nt{sourceFor(e){var s;let t=A.SOURCECODE;var s=Le(e.loc());let r=s[0],i=s[1];return JSON.stringify(t.slice(r,i))}isInspectableBinary(e){return e instanceof Nt&&!(e instanceof it)&&!(e instanceof m1)&&!e.isLogical()&&!e.isAssignment()&&e._left&&e._right}js(e){let t=this._value,s=[];if(t instanceof gs){let r=this.sourceFor(t);s.push("globalThis.IMBA_ASSERT={type:'assignment',source:"+r+"}"),s.push(t.c(e))}else if(this.isInspectableBinary(t)){let r=t._left,i=t._right,n=this.sourceFor(t),a=this.sourceFor(r),o=this.sourceFor(i),l=JSON.stringify(t._op),p=r.cache().c(e),c=i.cache().c(e);s=["source:"+n,"operator:"+l,"left:{source:"+a+",value:"+p+"}","right:{source:"+o+",value:"+c+"}"],s=["globalThis.IMBA_ASSERT={type:'binary',"+s.join(",")+"}"],s.push(t.c(e))}else{let r=this.sourceFor(t),i=t.cache().c(e);s.push("globalThis.IMBA_ASSERT={type:'expression',source:"+r+",value:"+i+"}"),s.push(t.c(e))}return"("+s.join(",")+")"}},Or=class extends nt{isExpressable(){return!1}},Bs=class extends nt{isPrimitive(e){return!0}},r6=class extends Bs{visit(){var e,t;if(e=this.up()){var s=e.indexOf(this)+1;e.index(s)instanceof Jr&&(s+=1),(t=e.index(s))&&(this.toString().match(/@(overload|ts)\b/)||(t._desc=this))}return this}isMultiline(){return this._value.type()=="HERECOMMENT"}toDoc(){return Ha(""+this._value._value)}toJSON(){return Ha(""+this._value._value)}toString(){return this._value._value}c(e){if(A.option("comments")==!1||this._skip)return"";var t=this._value._value,s="";return A.tsc()&&t.indexOf(` @ts
`)==0?t.slice(5):(e&&e.expression||t.match(/\n/)||this.isMultiline()?(t=t.replace(/\*\//g,"\\*\\/").replace(/\/\*/g,"\\/\\*"),(t.match(/\@(type|param|satisfies|template)/)||A.tsc())&&(t="*"+t),s+="/*"+t+"*/"):t.match(/\@(type|param|satisfies|template)/)?s+="/** "+t+" */":s+="// "+t,s)}},Jr=class extends Bs{constructor(e){super(...arguments),this._value=e}traverse(){return this}loc(){return[this._value._loc,this._value._loc+this._value._value.length]}startLoc(){return this._value.startLoc?this._value.startLoc():-1}endLoc(){return this._value._value?this.startLoc()+this._value._value.length:-1}c(){let e=this._value.c();return A.option("comments")==!1&&(e=e.replace(/\/\/.*$/gm,"")),A.tsc()&&(e=e.replace(/\/{3}/g,"~~/~~"),e=e.replace(/\/\/\s(.*)$/gm,"/** $1 */ "),e=e.replace(/\~\~\/\~\~/g,"///")),A.tsc()&&(e.length>1||this._first)?ve(e.replace(/^[\t ]+/gm,""),this):e.replace(/^[\t ]+/gm,"")}},l1=class extends Jr{constructor(e){super(...arguments),this._traversed=!1,this._value=e||`
`}c(){return this._value}},Qi=class extends nt{startLoc(){return this._startLoc||this._value&&this._value.startLoc&&this._value.startLoc()}endLoc(){return this._endLoc||this._value&&this._value.endLoc&&this._value.endLoc()}cache(e){return e===void 0&&(e={}),this._value.cache(e)}js(e){return this._value.c()}},Mt=class extends qe{constructor(e){super(...arguments),this.setup(),this._nodes=this.load(e??[]),this._indentation=null}nodes(e){return this._nodes}consume(e){if(e instanceof u1){for(let t=0,s=Le(this._nodes),r=s.length;t<r;t++)s[t].consume(e);return this}return super.consume(...arguments)}compact(){return this._nodes=Ie.compact(this._nodes),this}load(e){return e}concat(e){return this._nodes=this._nodes.concat(e instanceof Array?e:e.nodes()),this}swap(e,t){var s=this.indexOf(e);return s>=0&&(this._nodes[s]=t),this}push(e){return this._nodes.push(e),this}pop(){var e=this._nodes.pop();return e}add(e,t){let s=null;if(t&&t.before)s=this._nodes.indexOf(t.before),s==-1&&(s=null);else if(t&&t.after){if(s=this._nodes.indexOf(t.after)+1,s==0&&(s=null),s>=1)for(;this._nodes[s]instanceof Bs;)s++}else(typeof t=="number"||t instanceof Number)&&(s=t);return s!==null?e instanceof Array?this._nodes.splice.apply(this._nodes,[].concat([s,0],Array.from(e))):this._nodes.splice(s,0,e):e instanceof Array?this._nodes.push.apply(this._nodes,e):this._nodes.push(e),this}unshift(e,t){return t&&this._nodes.unshift(ut),this._nodes.unshift(e),this}slice(e,t){return new this.constructor(this._nodes.slice(e,t))}break(e,t){return t===void 0&&(t=!1),typeof e=="string"&&(e=new Jr(e)),t?this.unshift(e):this.push(e),this}some(e){for(let t=0,s=Le(this._nodes),r=s.length,i;t<r;t++)if(i=s[t],e(i))return!0;return!1}every(e){for(let t=0,s=Le(this._nodes),r=s.length,i;t<r;t++)if(i=s[t],!e(i))return!1;return!0}values(){return this._nodes.filter(function(e){return!(e instanceof Bs)})}filter(e){return this._nodes.filter(e)}pluck(e){var t=this.filter(e)[0];return t&&this.remove(t),t}indexOf(e){return this._nodes.indexOf(e)}index(e){return this._nodes[e]}remove(e){var t=this._nodes.indexOf(e);return t>=0&&this._nodes.splice(t,1),this}removeAt(e){var t=this._nodes[e];return e>=0&&this._nodes.splice(e,1),t}replace(e,t){var s=this._nodes.indexOf(e);return s>=0&&(t instanceof Array?this._nodes.splice.apply(this._nodes,[].concat([s,1],Array.from(t))):this._nodes[s]=t),this}first(){return this._nodes[0]}last(){for(var e=this._nodes.length;e;){e=e-1;var t=this._nodes[e];if(!(t instanceof Bs))return t}return null}map(e){return this._nodes.map(e)}forEach(e){return this._nodes.forEach(e)}remap(e){return this._nodes=this.map(e),this}count(){return this._nodes.length}len(){return this._nodes.length}realCount(){var e=0;for(let t=0,s=Le(this._nodes),r=s.length,i;t<r;t++)i=s[t],i&&!(i instanceof Bs)&&e++;return e}isEmpty(){return this.realCount()==0}visit(){let e=this._nodes,t=0;for(;t<e.length;){let s=e[t];if(s.traverse){let r=s.traverse();if(r!=s&&r instanceof Array){e.splice.apply(e,[].concat([t,1],Array.from(r)));continue}}t++}return this}isExpressable(){for(let e=0,t=Le(this._nodes),s=t.length,r;e<s;e++)if(r=t[e],r&&!r.isExpressable())return!1;return!0}toArray(){return this._nodes}delimiter(){return this._delimiter||","}js(e,t){(!t||t.constructor!==Object)&&(t={});var s=t.nodes!==void 0?t.nodes:this._nodes,r=",",i=r!=";",n=this.last(),a=0,o=s.length,l="";for(let c=0,d=Le(s),v=d.length,f;c<v;c++){f=d[c];var p=typeof f=="string"?f:f?f.c({expression:i}):"";l+=p,p&&(!i||f!=n)&&!(f instanceof Bs)&&(l+=r)}return l}indented(e,t){return e instanceof Zi?(this._indentation=e,this):(this._indentation||(this._indentation=e&&t?new Zi(e,t):m2),this)}endLoc(){var e;if(this._endLoc)return this._endLoc;var t=this._nodes.length;return(e=this._nodes[t-1])&&e.endLoc&&e.endLoc()}},_s=class extends Mt{startLoc(){var e;return typeof this._startLoc=="number"?this._startLoc:(e=this.first())&&e.startLoc&&e.startLoc()}consume(e){return e instanceof kt?(this._nodes=this._nodes.map(function(t){return t instanceof Bs?t:t.consume(e)}),this):super.consume(...arguments)}setEnds(e,t){return this._generated=e&&e.generated,t&&t.endLoc&&t.endLoc()!=-1&&(this._endLoc=t.endLoc()),e&&e.startLoc&&e.startLoc()!=-1&&(this._startLoc=e.startLoc()),this}},M3=class Lp extends _s{concat(t){return this._nodes.length==0&&t instanceof Lp?t:(super.concat(t),this)}},Xe=class yl extends Mt{constructor(t){super(...arguments),this.setup(),this._nodes=t||[],this._head=null,this._indentation=null}head(t){return this._head}startLoc(){return this._indentation?this._indentation.startLoc():super.startLoc(...arguments)}endLoc(){return this._indentation?this._indentation.endLoc():super.endLoc(...arguments)}visit(t){this._scope&&this._scope.visit(),t&&t._tag&&(this._tag=t._tag),this._traversing=!0;for(let s=0,r=this._nodes.slice(0),i=r.length,n;s<i;s++)n=r[s],n&&n.traverse();return this._traversing=!1,this}block(){return this}collectDecorators(){var t;return(t=this._decorators)?(this._decorators=null,t):null}loc(){var t,s;if(t=this.option("ends")){var r=t[0].loc(),i=t[1].loc();return r||this.p("no loc for "+t[0]),i||this.p("no loc for "+t[1]),[r[0],i[1]]}return(s=this._indentation)&&s.aloc()!=-1?[s.aloc(),s.bloc()]:(r=this._nodes[0],i=this._nodes[this._nodes.length-1],[r&&r.loc()[0]||0,i&&i.loc()[1]||0])}unwrap(){var t=[];for(let s=0,r=Le(this.nodes()),i=r.length,n;s<i;s++)n=r[s],n instanceof yl?t.push.apply(t,n.unwrap()):t.push(n);return t}compile(t){t===void 0&&(t={});var s=new Y3(this,t);return s.compile(t)}analyze(t){return t===void 0&&(t={}),this}cpart(t){if(t===Hu)return"";var s=typeof t=="string"?t:t?t.c():"";if(s==null||s==null||s=="")return"";if(s instanceof Array){for(var r="",i=s.length,n=0;n<i;)r+=this.cpart(s[n++]);return r}var a=Z_(s);return a||t instanceof Bs||(s+=this.delimiter()),s}delimiter(){return this._delimiter==null?";":this._delimiter}js(t,s){var r=this._nodes,i=r.length,n=this.isExpression()||t.isExpression()||this.option("express")&&this.isExpressable();if(r.length==0&&(!this._head||this._head.length==0))return"";if(n)return super.js(t,{nodes:r});var a="";let o=!1;for(let c=0,d=r,v=d.length;c<v;c++){let f=this.cpart(d[c]);if(f[0]==`
`&&/^\n+$/.test(f)){if(o)continue;o=!0}else f&&(o=!1);a+=f}if(this._head&&this._head.length>0){var l="";for(let c=0,d=this._head,v=d.length;c<v;c++){var p=this.cpart(d[c]);p&&(l+=p+`
`)}a=l+a}return this.option("strict")&&(a=this.cpart(`"use strict";
`)+a),a}defers(t,s){var r=this._nodes.indexOf(t);r>=0&&(this._nodes[r]=s);var i=this._nodes.splice(r+1);return i}expressions(){var t=[];for(let s=0,r=Le(this.nodes()),i=r.length,n;s<i;s++)n=r[s],n instanceof Jr||t.push(n);return t}consume(t){var s;if(t instanceof kt){let i=this.expressions();return this._nodes=this._nodes.map(function(n){return i1(n,i)>=0&&!(n instanceof gs)?n.consume(t):n}),this}if(s=this.last()){var r=s.consume(t);r!=s&&(r instanceof yl&&(r=r.nodes()),this.replace(s,r))}return this}isExpressable(){return!!this._nodes.every(function(t){return t.isExpressable()})}isExpression(){return this.option("express")||this._expression}shouldParenthesizeInTernary(){return this.count()==1?this.first().shouldParenthesizeInTernary():!0}indented(t,s){var r;return super.indented(...arguments),t instanceof tt&&t._type=="INDENT"&&(r=t._meta&&t._meta.post)&&(t._meta.post=r.trim()+`
`),this}};Xe.wrap=function(e){if(!(e instanceof Array))throw new SyntaxError("what");return e.length==1&&e[0]instanceof Xe?e[0]:new Xe(e)};var g2=class extends Xe{c(e){let t=super.c(...arguments);return this._nodes.length>1?`static {
`+Mh(t)+`
}`:"static { "+t.replace(/\;$/,"")+" }"}},y2=class extends Xe{},v2=class extends y2{},en=class extends qe{constructor(e){super(...arguments),this._name=e}name(e){return this._name}setName(e){return this._name=e,this}isExcluded(){return A.tsc()?this._envs&&this._envs.find(function(e){return e._key=="JS"})||!1:this._envs?!this._envs.find(function(e){return e.isTruthy()}):!1}visit(){var e;if(!this.isExcluded())return this._decorators=(e=this.up())&&e.collectDecorators&&e.collectDecorators(),this._classdecl=A.up(Vs),this._name&&this._name.traverse&&this._name.traverse(),this.value()&&(this.value()._scope=this._vscope=new H2(this.value()),this.value()._scope._parent=this.scope__(),this.value().traverse()),this.watchBody()&&(this._descriptor=A.root().declare(""+this.oid()+"$Prop",this.util().watcher(this.storageSymbol(),this.watcherSymbol()),{type:"const",system:!0})),this.wrapper()&&(this._vslot=this.osym("slot",String(this._name)),this._fslot=this.osym("meta"),this._fname=this._name.metaIdentifier(),this.wrapper()._scope=this._vscope=new H2(this.wrapper()),this.wrapper()._scope._parent=this.scope__(),this.wrapper().traverse()),this}value(){return this.option("value")}target(){return this.option("static")?ce("this"):ce("this.prototype")}storageSymbol(){return this.symbolRef("#"+this._name.c({as:"symbolpart"}))}watcherSymbol(){return this.symbolRef("#"+this._name.c({as:"symbolpart"})+"DidSet")}storageKey(){return this._storageKey||(this._storageKey=pt(this._name.c()+"$$"))}storageMap(){return this._storageMap||(this._storageMap=this.scope__().root().declare(null,ce("new WeakMap()")))}isPlain(){return!this._decorators&&(!this._value||this._value.isPrimitive())}isMember(){return!this.option("static")}isLazy(){return!1}hasStaticInits(){return this.isStatic()||this._decorators}hasConstructorInits(){return!this.isStatic()}isStatic(){return this.option("static")}watchBody(){return this.option("watch")}wrapper(){return this.option("wrapper")}fieldRegistryEntry(e){if(!N3||!A.tsc()||this.isStatic())return null;let t=this.wrapper();if(!(t instanceof I2)||!(this._name instanceof Ke||this._name instanceof Z3)||this._name instanceof sa)return null;let s=t.fieldRegistryDecoratorName();if(!s)return null;let r=String(this._name),i=this._name.startLoc()||0,n=this._name.endLoc()||i,a=t.fieldRegistryArgs();if(!a.length)return null;let o=[];for(let d=0,v=Le(a),f=v.length;d<f;d++)o.push(v[d].constructorType);let l=a[0],p=""+F_+":"+s+":"+r+":imba:"+this.sourceId()+":"+e+":"+i+":"+n,c=""+j_+":"+s+":"+r+":imba:"+this.sourceId()+":"+e+":"+i+":"+n;return{key:p,owner:e,ownerType:e,field:r,decorator:s,firstArg:l&&l.instanceType,firstArgType:l&&l.constructorType,firstArgTarget:l&&l.target?Object.assign({key:c},l.target):null,args:o}}loc(){return[this._name._loc,this._name.region()[1]]}c(){var e,t;if(this.option("struct")||this.isExcluded())return;let s=A.current(),r=A.tsc(),i;if(s instanceof Xn){let n=this.isStatic()?""+ve("static",this.option("static"))+" ":"",a=this._name instanceof Xs?this._name.asObjectKey():this._name.c({as:"field"}),o=A.up(Vs),l=A.tsc()&&this.datatype();if(this.wrapper()){let p=this._metaname=this._name.metaIdentifier(),c=this._vslot,d=this._fslot,v,f=null;this.isStatic()?f=o.classReference().c():f=""+o.classReference().c()+".prototype";let g=oe(".",ce("this"),p),y="this,"+c+","+this._name.c({as:"value"});if(this._getter=ce("(){ return "+g.c()+".$get("+y+") }"),this._setter=ce("(val){ "+g.c()+".$set(val,"+y+") }"),r){this._getter=ce("():ReturnType<typeof "+g.c()+".$get> { return "+g.c()+".$get("+y+") }"),this._setter=ce("(val:Parameters<typeof "+g.c()+".$set>[0]){ "+g.c()+".$set(val,"+y+") }");let T=[this.wrapper().c({expression:!0}),y,d,f],_=o.option("extension"),b="const self = this";if(_){let m=o._className,C=null;if(m instanceof Ke&&!m._variable&&(C=d2[m._value]),m){let k=m&&m.option("generics"),L=m.c();k&&(L+=String(k)),b=C&&C.thistype?ce("const self = null as any as "+C.thistype):ce("const self = this as unknown as ("+L+")")}}v=""+b+";return "+this.runtime().accessor+"("+T.join(",")+")",this.wrapper()._callback&&(v+=".$function("+this.wrapper()._callback.c()+")")}else v="return this["+d+"] || "+this.runtime().accessor+"("+this.wrapper().c({expression:!0})+","+y+","+d+","+f+")";this._handler=ce(""+ve(p.c({as:"field"}),this._name)+"(){ "+v+" }")}if(r){let p={name:this._name,static:this.option("static"),declare:this.option("declareOnly"),protected:this.option("protected"),type:this.datatype(),value:this.value()},c;if(this.wrapper()){let d=""+this.mo("protected",!0)+" "+n+"get "+ve(this._name)+this.getter().c({keyword:""}),v=""+this.mo("protected",!0)+" "+n+"set "+ve(this._name)+this.setter().c({keyword:""});return l&&(d=""+d+":"+l.c()),i=""+d+`
`+v+`
`+n+"get "+this._handler.c(),i}else if(this instanceof h1||this._decorators&&this._decorators.length){let d=this.osym();return i="declare "+n+" "+ve(a,this._name),l&&(i=""+i+":"+fs(l)),i}else c="@declare @protected @static @name@{:@type} @{ = @value}",i=""+n+ve(a,this._name),l&&(i+=":"+fs(l)),this.value()&&(i+=" = "+this.value().c());if(c)return ws(p,c)}else if(this instanceof h1||this._decorators&&this._decorators.length>0&&!1||this.wrapper()){let p=""+n+"set "+a+this.setter().c({keyword:""}),c=""+n+"get "+a+this.getter().c({keyword:""});i=""+p+`
`+c,this.wrapper()&&(i+=`
`+n+"get "+this._handler.c())}return i}if(!A.tsc()){if(this.isStatic()&&s instanceof g2)this._vscope&&(e=A.up(ot))&&this._vscope.mergeScopeInto(e._scope),i=oe("=",oe(".",vt,this._name),this.value()||hi).c()+`;
`;else{if(!this.isStatic()&&s instanceof g2)return"";if(!this.isStatic()&&s instanceof y2){this._vscope&&(t=A.up(ot))&&this._vscope.mergeScopeInto(t._scope);let n=this._name;this._name instanceof Ke&&(n=this._name.toStr());let a=s.option("ctor"),o=s.option("opts"),l=this.value()||hi,p=this.option("paramIndex"),c=this.option("restIndex"),d,v;if(s instanceof v2){v=a._params.at(c,!0,"$$",ce("{}")),d=oe(".",v,this._name),d.cache({reuse:!0,name:"vsds",safe:!0});let f=oe("=",oe(".",vt,this._name),d);this.wrapper()&&(f=rt(oe(".",oe(".",vt,this._fname),pt("$init")),[d,vt,this._vslot,ce(this._name.c({as:"value"})),v])),i=oe("&&",oe("!==",d,hi),f)}else if(p!=null){let f=this.option("paramName");d=a._params.at(p,!0,f),this.value()?l=Pt.ternary(oe("!==",d,hi),d,l):l=d}else c!=null&&(v=a._params.at(c,!0,"$$",ce("null")),d=oe(".",v,this._name),this.value()?(d.cache({reuse:!0,name:"v",safe:!0}),l=Pt.ternary(oe("&&",v,oe("!==",d,hi)),d,l)):l=Pt.ternary(v,d,hi));if(this instanceof h1&&!this.value())return;this.wrapper()&&(s instanceof v2||(i=rt(oe(".",oe(".",vt,this._fname),pt("$init")),[l,vt,this._vslot,ce(this._name.c({as:"value"})),v])),i=oe("&&",ce("fields"),i)),i||(i=oe("=",oe(".",vt,this._name),l)),i=i.c()+`;
`,this.watchBody()&&(this._descriptor||(this._descriptor=A.root().declare(""+this.oid()+"$Prop",this.util().watcher(this.storageSymbol(),this.watcherSymbol()),{type:"const",system:!0})),i="Object.defineProperty(this,"+n.c()+","+this._descriptor.c()+`);
`+i)}}return i}}getter(){return this._getter||(this._getter=this.wrapper()?ce("(){ return this.__"+this._name.c()+".$get(this,"+this._name.toStr().c()+","+this.osym()+") }"):this.parseTemplate("(){ return $get$; }"))}setterForValue(e){return oe("=",oe(".",vt,this.storageKey()),e)}parseTemplate(e){var t=this;return e=e.replace(/\$(\w+)\$/g,function(s,r){return r=="get"?Kn(vt,t.storageSymbol()).c():r=="name"?t.name().c():r=="set"?oe("=",Kn(vt,t.storageSymbol()),ce("value")).c():r=="watcher"?Kn(vt,t.watcherSymbol()).c():""}),ce(e)}setter(){return this._setter||(this._setter=this.parseTemplate("(value){ $set$; }"))}decorater(){return this._decorater||(this._decorater=this.util().decorate(new Ut(this._decorators),this.target(),this._name,ce("null")))}},P3=class extends en{},h1=class extends en{hasConstructorInits(){return!this.isStatic()&&this.value()}getter(){var e;return this._getter||(this._getter=(e=rt(Kn(vt,"getAttribute"),[this.name().toAttrString()]),Ji([],[e])))}setter(){var e;return this._setter||(this._setter=(e=rt(Kn(vt,"setAttribute"),[this.name().toAttrString(),ce("value")]),Ji([ce("value")],[e]).set({noreturn:!0})))}},F3=class extends nt{c(){return""}visit(){return this._classdecl=A.up(Vs)}},Xn=class extends Xe{setup(){return super.setup(...arguments),this._fields=[],this._staticFields=[]}visit(e){this._scope&&this._scope.visit(),e&&e._tag&&(this._tag=e._tag);for(let t=0,s=Le(this._nodes),r=s.length,i;t<r;t++){if(i=s[t],i instanceof ai){i.tagName()!="self"&&(i._options.type||i).error("only <self> tag allowed here");let n=new gr([],[i],new Ke("render"),null,{});this._nodes[t]=i=n}i&&i.traverse()}return this}},i6=class extends Xe{},n6=class extends Xe{type(){return this.option("type")||"var"}add(e){this._nodes.length&&this.push(ut);let t=new Dr(e[0],e[1],this.type()).set({decl:this,datatype:e[0].option("datatype")});return this._firstDeclaration||(this._firstDeclaration=t,t.set({keyword:this.keyword()})),this.push(t),this}consume(e){return this._nodes.length==1?this._nodes[0].consume(e):this}},Ot=class extends nt{constructor(e,t,s){super(...arguments),this.setup(),this._open=t,this._close=s,this._value=this.load(e)}unwrappedNode(){return this._value.unwrappedNode()}loc(){try{let e=this._open.loc(),t=this._close.loc();return[e[0],t[1]]}catch{return[0,0]}}endLoc(){return this._endLoc||(this._close&&this._close.endLoc?this._close.endLoc():0)}load(e){return this._noparen=!1,e instanceof Xe&&e.count()==1?e.first():e}isString(){return this._open&&String(this._open)=='("'||this.value().isString()}js(e){var t=this.up(),s=this._value,r=null;return s instanceof ot&&(this._noparen=!0),t instanceof Xe?(e.isExpression()||(this._noparen=!0),r=s instanceof Array?Ie.cary(s):s.c({expression:e.isExpression()})):r=s instanceof Array?Ie.cary(s):s.c({expression:!0}),this.datatype()&&A.tsc()&&(r="("+r+"):"+this.datatype().c()),r}set(e){return super.set(e)}shouldParenthesize(){return!this._noparen}prebreak(e){return super.prebreak(e),this._value&&this._value.prebreak(e),this}isExpressable(){return this._value.isExpressable()}consume(e){return this._value.consume(e)}},a6=class extends Ot{},j3=class extends Mt{c(e){return this.map(function(t){return t.c(e)}).join(",")}consume(e){return this.value().consume(e)}},As=class extends Or{constructor(e){return super(...arguments),this._traversed=!1,this._value=e instanceof _s&&e.count()==1?e.last():e,this}value(e){return this._value}replace(e,t){if(this._value==e)return this._value=t}visit(){if(this._value instanceof Ts&&this._value.option("virtualize",!0),this._value&&this._value.traverse)return this._value.traverse()}startLoc(){let e=this.keyword()||this._value;return e?e.startLoc():null}js(e){var t=this._value;let s=ve("return",this.keyword());return t instanceof _s?""+s+" ["+t.c({expression:!0})+"]":t?""+s+" "+t.c({expression:!0}):s}c(){return A.tsc()&&this._value instanceof Mr?""+ve("return",this.keyword())+" "+ve("this",this._value):!this._value||this._value.isExpressable()?super.c(...arguments):this._value.consume(this).c()}consume(e){return this}},Zr=class extends As{},G3=class extends Zr{},o6=class extends Or{visit(){return this._method=A.method()||A.up(ot),this._method.set({yield:!0,noreturn:!0})}startLoc(){let e=this.keyword()||this._value;return e?e.startLoc():null}js(){var e=this._value;return""+ve("yield",this.keyword())+" "+e.c({expression:!0})}},l6=class extends Or{js(e){return"throw "+this.value().c()}consume(e){return this}},c1=class extends Or{constructor(e,t){super(...arguments),this._literal=e,this._expression=t}visit(){if(this._expression)return this._expression.traverse()}consume(e){return this}c(){if(!this._expression)return super.c(...arguments);var e=A.up(ri),t=this._expression;if(e._catcher){t=t.consume(e._catcher);var s=new this.constructor(this._literal);return new Xe([t,s]).c()}else return t?(s=new this.constructor(this._literal),new Xe([t,s]).c()):super.c(...arguments)}},b2=class extends c1{js(e){return"break"}},B3=class extends c1{js(e){return"continue"}},h6=class extends Or{consume(e){return this}},mr=class extends qe{constructor(e,t,s){super(...arguments),typeof e=="string"&&(e=new Ke(e)),this._traversed=!1,this._name=e,this._value=e,this._defaults=t,this._typ=s,this._variable=null}name(e){return this._name}setName(e){return this._name=e,this}index(e){return this._index}splat(e){return this._splat}variable(e){return this._variable}value(e){return this._value}varname(){return this._variable?this._variable.c():this._name}datatype(){return super.datatype(...arguments)||this._value.datatype()}type(){return"param"}jsdoc(){let e=this.datatype();return e&&this._name?e.asParam(this._name):""}js(e,t){let s=this._value.c();if(!t||t.as!="declaration")return s;if(this.datatype()&&A.tsc()){let r=fs(this.datatype());this.datatype()._optional&&(s+="?"),s+=":"+r}return this._defaults?""+s+" = "+this._defaults.c():this.option("splat")?"..."+s:s}visit(e){return this._defaults&&this._defaults.traverse(),this._value&&this._value.traverse({declaring:"param"}),this._value instanceof Ke&&(this._value._variable||(this._value._variable=this.scope__().register(this._value.symbol(),this._value,{type:this.type()}))),this}assignment(){return oe("=",this._variable.accessor(),this._defaults)}isExpressable(){return!this._defaults||this._defaults.isExpressable()}dump(){return{loc:this.loc()}}loc(){return this._name&&this._name.region()}toJSON(){return{type:this.typeName(),name:this._name,defaults:this._defaults}}},V3=class extends mr{},x2=class extends mr{c(){return"blockparam"}loc(){var e=this.name().region();return[e[0]-1,e[1]]}},H3=class extends mr{},c6=class extends mr{},u6=class extends mr{},z3=class extends Mt{splat(e){return this._splat}block(e){return this._block}at(e,t,s,r){if(t===void 0&&(t=!1),s===void 0&&(s=null),r===void 0&&(r=null),t)for(;e>=this.count();){let i=this.count()==e,n=i?r:null;this.add(new mr(i&&s||"_"+this.count(),n))}return this._nodes[e]}metadata(){return this.filter(function(e){return!(e instanceof Bs)})}toJSON(){return this.metadata()}jsdoc(){let e=[];for(let s=0,r=Le(this.nodes()),i=r.length,n;s<i;s++)n=r[s],n instanceof mr&&n.datatype()&&e.push(n.jsdoc());let t=e.join(`
`);return t?`/**
`+t+`
*/
`:""}visit(){var e=this.filter(function(t){return t instanceof x2});return e.length>1?e[1].warn("a method can only have one &block parameter"):e[0]&&e[0]!=this.last()&&e[0].warn("&block must be the last parameter of a method"),super.visit(...arguments)}js(e){if(this.count()==0)return A1;if(e.parent()instanceof Xe)return this.head(e);if(e.parent()instanceof Qr){let r=!(e.parent()instanceof gr);var t=this.nodes(),s={as:"declaration",typed:r};return Ie.compact(this.nodes().map(function(i){return i.c(s)})).join(",")}else throw"not implemented paramlist js"}head(e){var t=[],s=[],r=null,i=null,n=null,a=[],o=[],l=0;if(this.nodes().forEach(function(x,E){if(!(x instanceof p1))return x._index=l,x instanceof H3?(o.push("opt"),s.push(x)):x instanceof x2?(o.push("blk"),r=x):(o.push("reg"),t.push(x)),l++}),n)var p=n.variable();var c=[],d=function(x){return"typeof "+x+" == 'function'"},v=function(x){return""+x+".constructor === Object"},f=function(x){return""+x+".constructor !== Object"};if(!n&&!i&&!r&&s.length>0&&o.join(" ").match(/opt$/))for(let x=0,E=s.length,N;x<E;x++)N=s[x],c.push("if("+N.name().c()+" === undefined) "+N.name().c()+" = "+N._defaults.c());else if(n&&!i&&!r&&s.length==0)c.push("if(!"+p.c()+"||"+f(p.c())+") "+p.c()+" = {}");else if(r&&s.length==1&&!i&&!n){var g=s[0],y=g.name().c(),T=r.name().c();c.push("if("+T+"==undefined && "+d(y)+") "+T+" = "+y+","+y+" = "+g._defaults.c()),c.push("if("+y+"==undefined) "+y+" = "+g._defaults.c())}else if(r&&n&&s.length==0&&!i)T=r.name().c(),c.push("if("+T+"==undefined && "+d(p.c())+") "+T+" = "+p.c()+","+p.c()+" = {}"),c.push("else if(!"+p.c()+"||"+f(p.c())+") "+p.c()+" = {}");else if(s.length>0||i){var _=this.scope__().temporary(this,{pool:"arguments"}).predeclared().c(),b=this.scope__().temporary(this,{pool:"counter"}).predeclared().c(),m=""+_+"["+b+"-1]",C=""+_+"[--"+b+"]";c.push("var "+_+" = arguments, "+b+" = "+_+".length"),r&&(T=r.name().c(),i?c.push("var "+T+" = "+d(m)+" ? "+C+" : null"):t.length>0?c.push("var "+T+" = "+b+" > "+t.length+" && "+d(m)+" ? "+C+" : null"):c.push("var "+T+" = "+d(m)+" ? "+C+" : null")),n&&c.push("var "+p.c()+" = "+m+"&&"+v(m)+" ? "+C+" : {}");for(let x=0,E=s.length,N;x<E;x++)N=s[x],c.push("if("+b+" < "+(N.index()+1)+") "+N.name().c()+" = "+N._defaults.c());if(i){var k=i.name().c(),L=i.index();L==0?(c.push("var "+k+" = new Array("+b+">"+L+" ? "+b+" : 0)"),c.push("while("+b+">"+L+") "+k+"["+b+"-1] = "+C)):(c.push("var "+k+" = new Array("+b+">"+L+" ? "+b+"-"+L+" : 0)"),c.push("while("+b+">"+L+") "+k+"[--"+b+" - "+L+"] = "+_+"["+b+"]"))}}else if(s.length>0)for(let x=0,E=s.length,N;x<E;x++)N=s[x],c.push("if("+N.name().c()+" === undefined) "+N.name().c()+" = "+N._defaults.c());if(n)for(let x=0,E=Le(n.nodes()),N=E.length,S;x<N;x++)S=E[x],g=oe(".",p,S.c()).c(),c.push("var "+S.c()+" = "+g+" !== undefined ? "+g+" : "+S._defaults.c());if(a.length)for(let x=0,E=a.length;x<E;x++)a[x].head(e,c,this);return c.length>0?c.join(`;
`)+";":A1}},U3=class extends Mt{add(e,t,s){s===void 0&&(s=-1);var r=new w2(e,t);return e instanceof Ft&&(r._variable=e),s==0?this.unshift(r):this.push(r),r}load(e){return e.map(function(t){return new w2(t.name(),t._defaults,t.splat())})}isExpressable(){return this.nodes().every(function(e){return e.isExpressable()})}js(e){if(this.count()==0)return A1;if(this.count()==1&&!this.isExpressable())return this.first().variable().autodeclare(),this.first().assignment().c();var t="var",s={};if(this.nodes().forEach(function(i){let n=i._variable||i,a=n instanceof Ft&&n.type();if(a)return s[a]||(s[a]=[]),s[a].push(i)}),s.let&&(s.var||s.const)?s.let.forEach(function(i){return(i._variable||i)._virtual=!0}):s.let&&(t="let"),this._split){let i=[];for(let n,a=0,o=Object.keys(s),l=o.length,p;a<l;a++)p=o[a],n=s[p],i.push(""+p+" "+Ie.cary(n,{as:"declaration"}).join(", ")+";");return i.join(`
`)}var r=Ie.compact(Ie.cary(this.nodes(),{as:"declaration"})).join(", ");return r?""+t+" "+r:""}},w2=class extends mr{type(e){return this._type}visit(){var e,t;return(e=this.variable())||(this._variable=t=this.scope__().register(this.name(),null,{type:this._type||"var"})),this._defaults&&this._defaults.traverse(),this.variable()._declarator=this,this.variable().addReference(this.name()),this}js(e){if(this.variable()._proxy)return null;var t=this._defaults;let s=A.tsc()&&this.variable().datatype();return t!=null&&t!=null?(t instanceof qe&&(t=t.c({expression:!0})),s&&(t=""+s.c()+"("+t+")"),""+this.variable().c()+" = "+t):s?""+this.variable().c()+":"+s.c():""+this.variable().c()}accessor(){return this}},Dr=class extends qe{constructor(e,t,s,r){super(...arguments),r===void 0&&(r="="),this._op=r,this._left=e,this._right=t,this._kind=s}op(){return this._op}type(){return this._kind}visit(e){var t=this;return t._left instanceof Ke&&t._right instanceof ot||t._right&&t._right.traverse(),t._variables=t.scope__().captureVariableDeclarations(function(){if(t._left&&t._left.traverse({declaring:t.type()}),t._left instanceof Ke)return t._left._variable||(t._left._variable=t.scope__().register(t._left.symbol(),t._left,{type:t.type()}))}),t._right&&t._right.traverse(),t}isExpressable(){return!1}consume(e){if(e instanceof kt)return this;if(e instanceof ti||e instanceof As){let t=this;if(this._right&&!this._right.isExpressable()){let s=this.scope__().temporary(this),r=this._right.consume(oe("=",s,vr));return this._right=s,new Xe([r,ut,this.consume(e)])}return new Xe([t,ut,this._left.consume(e)])}return e instanceof As?new Xe([this,ut,this._left.consume(e)]):super.consume(e)}c(e){if(this._right&&!this._right.isExpressable()){let t=this.scope__().temporary(this),s=this._right.consume(oe("=",t,vr));return this._right=t,new Xe([s,ut,this]).c(e)}return super.c(e)}js(){let e="",t=this._kind,s=this.datatype()||this._left&&this._left.datatype();if(A.tsc()&&this._variables.length>1&&this._variables.some(function(r){return r.vartype()})){t="let";for(let r=0,i=Le(this._variables),n=i.length,a;r<n;r++){a=i[r];let o=a.c();a.vartype()&&(o+=":"+a.vartype().c()+" "),e+=""+ve(t,this.keyword())+" "+o+`;
`}e+="("+this._left.c(),this._right&&(e+=" = "+this._right.c({expression:!0})),e+=")"}else e+=""+ve(t,this.keyword())+" "+this._left.c(),this._right&&(e+=" = "+this._right.c({expression:!0}));return this.option("export")&&(e=ve("export",this.option("export"))+(" "+e)),e}},p6=class extends nt{constructor(e,t){super(...arguments),this._splat=t}variable(e){return this._variable}splat(e){return this._splat}visit(){var e,t;return(e=this._variable)||(this._variable=t=this.scope__().register(this.value().c(),null)),this._variable._declarator=this,this._variable.addReference(this.value()),this}js(e){return this._variable.c()}c(){return this._variable.c()}},Qr=class extends qe{head(e){return this._head}body(e){return this._body}scope(e){return this._scope}params(e){return this._params}setParams(e){return this._params=e,this}isStatementLike(){return!0}scopetype(){return Js}visit(){return this._scope&&this._scope.visit(),this}},d6=class extends Qr{constructor(e,t){super(...arguments),this._traversed=!1,this._body=Ie.blk(e),this._scope=new Pr(this),this._body._head=this._scope.head(),this._options={}}visit(){return this._scope.visit(),this._body.traverse(),this}c(){return this._body.c()}},Y3=class extends Qr{constructor(e,t){super(...arguments),this._traversed=!1,this._body=Ie.blk(e),this._scope=new on(this,null),this._options={}}loc(){return this._body.loc()}visit(){Ws=A.ROOT=this._scope;try{if(this.scope().visit(),this.body().traverse(),this.body().first()instanceof Jr)return this.body().first()._first=!0}catch(e){let t=Fi.wrap(e);throw t._sourcePath=Gs.sourcePath,t._loc=A.currentRegion(),t}}compile(e,t){var s;if(t===void 0&&(t={}),A.reset(),this._scope._options=Gs=A._options=this._options=e||{},this._scope,A.SOURCECODE=t.sourceCode,Ws=(A._root=this._scope,this._scope),this._scope._imba.configure(e),a1=!!(e.sourcemap||e.raw||A.tsc()),this.traverse(),A._root=this._scope,e.bundle)if(e.cwd&&A.isNode()){let a=qa(e.cwd,e.sourcePath),o=Ro(e.cwd,a).split(Zh).join("/"),l=this._scope.importProxy("path").proxy();this._scope.lookup("__filename").c=function(){return ce(""+l.resolve+"("+pt(o).c()+")").c()},this._scope.lookup("__dirname").c=function(){return ce(""+l.dirname+"("+l.resolve+"("+pt(o).c()+"))").c()}}else this._scope.lookup("__filename")._c=pt(e.sourcePath).c(),this._scope.lookup("__dirname")._c=pt($o(e.sourcePath)).c();e.onTraversed instanceof Function&&e.onTraversed(this,A);let r=A._css,i=r.toString();r.transitions&&this.runtime().transitions,i&&(!e.styles||e.styles=="inline")&&this.runtime().styles;var n;try{n=this.c(e)}catch(a){let o=Fi.wrap(a instanceof Error?a:new Error(String(a)));throw o._sourcePath=Gs.sourcePath,o._loc=A.currentRegion(),o}if(A.tsc()&&((s=A.fieldRegistryDeclaration())&&s&&(n+=`
`+s+`
`),n=`export {};String();import * as imba from 'imba';
`+n+`
`,(t.sourceCode&&t.sourceCode.match(/(^|[\r\n])\# @nocheck[\n\r]/)||e.nocheck)&&(n=`// @ts-nocheck
`+n)),t.rawResult={js:n,css:i},t.js=n,t.css=i||"",t.sourceId=this.sourceId(),t.assets=this.scope()._assets,t.universal=A.meta().universal!==!1,!A.tsc()&&t.css&&(!e.styles||e.styles=="inline")){let a=JSON.stringify(t.css);t.js=""+t.js+`
`+this.runtime().styles+".register('"+t.sourceId+"',"+a+");",e.debug&&(t.js+=`
/*
`+t.css+`
*/
`)}if(e.sourcemap||A.tsc()){let a=new cs(t,e);A.tsc()?a.parse():(a.generate(),t.sourcemap=a.result()),e.sourcemap=="inline"&&(t.js+=a.inlined())}return e.raw||(t.css&&a1&&(t.css=dr.strip(t.css)),a1&&(t.js=dr.strip(t.js)),A.tsc()&&(t.js=t.js.replace(/\*\/\s[\r\n]+(\t*)\/\*\*/gm,function(a){return a.replace(/[^\n\t]/g," ")}))),t}js(e){var t=this.scope().c(),s=[];return t=t.replace(/^[ \t]*\/\/(\!.+)$/gm,function(r,i){return i=i.replace(/\bimba\b/g,"node"),s.push("#"+i+`
`),""}),t=s.join("")+t,t}analyze(e){return e===void 0&&(e={}),A._loglevel=e.loglevel||0,A._analyzing=!0,Ws=A.ROOT=this._scope,Gs=A._options={platform:e.platform,loglevel:e.loglevel||0,analysis:{entities:e.entities||!1,scopes:e.scopes==null?e.scopes=!0:e.scopes}},this.traverse(),A._analyzing=!1,this.scope().dump()}inspect(){return!0}},Vs=class Rp extends Qr{constructor(t,s,r){super(...arguments),this._traversed=!1,t instanceof Tt&&(t._value._options=t._options,t=t._value),this._name=t,this._superclass=s,this._scope=this.isTag()?new G2(this):new ln(this),this._body=Ie.blk(r)||new Xn([]),this._entities={}}name(t){return this._name}setName(t){return this._name=t,this}consume(t){return t instanceof As?(this.option("return",t),this):super.consume(...arguments)}namepath(){return this._namepath||(this._namepath=""+(this._name?this._name.c():"--"))}metadata(){var t;return{type:"class",namepath:this.namepath(),inherits:(t=this._superclass)&&t.namepath&&t.namepath(),path:this._name&&this._name.c().toString(),desc:this._desc,loc:this.loc(),symbols:this._scope._entities}}loc(){var t;return(t=this.option("keyword"))?[t._loc,this.body().loc()[1]]:super.loc(...arguments)}startLoc(){return this._startLoc==null?this._startLoc=Y_(this.option("export"),this.option("keyword")):this._startLoc}endLoc(){return this._endLoc==null?this._endLoc=q_(this.body()):this._endLoc}toJSON(){return this.metadata()}isStruct(){return this.keyword()&&String(this.keyword())=="struct"}isMixin(){return this.keyword()&&String(this.keyword())=="mixin"}isInterface(){return this.keyword()&&String(this.keyword())=="interface"}hasMixins(){return this._mixins&&this._mixins.length>0}isExtension(){return this.option("extension")}isExported(){return this.option("export")}isGlobal(){return this.option("global")}isStrict(){return this.option("strict")}isLoose(){return!this.isStrict()}tsId(){return this._tsId||(this._tsId="$$"+A.sourceId()+"C"+A.incr("cls")+"$$")}isNamespaced(){return this._name instanceof it}exportForDts(){return!1}isTag(){return!1}staticInit(){return this._staticInit||(this._staticInit=this.addMethod(this.initKey(),[],"this").set({static:!0}))}initKey(){return this._initKey||(this._initKey=A.tsc()?A.root().symbolRef("#__init__"):A.imbaSymbol("__init__"))}patchKey(){return this._patchKey||(this._patchKey=A.tsc()?A.root().symbolRef("#__patch__"):A.imbaSymbol("__patch__"))}refSym(){return this._refSym||(this._refSym=A.getSymbol())}initPath(){return this._initPath||(this._initPath=oe(".",ce("super"),this.initKey()))}virtualSuper(){return this._virtualSuper||(this._virtualSuper=this._scope.parent().declare("tmp",null,{system:!0,type:"let"}))}classReference(){return this._name}fieldRegistryOwnerName(){return!A.tsc()||this.option("notInRoot")||this.isExtension()||!(this._name instanceof Ke)||this._name instanceof ta||this._name.option("generics")?null:String(this._name.c({mark:!1}))}instanceInit(){if(this._instanceInit)return this._instanceInit;let t=Zs.callOp(this.initKey());(this._superclass||this._mixins.length)&&(t=oe("&&",ce("deep"),oe("&&",oe(".",ce("super"),this.initKey()),t)));let s=this.addMethod(this.initKey(),[],this.isTag()||this._superclass?[t,ut]:"",{},function(r){return!0});return s.set({noreturn:!0}),s.params().at(0,!0,"$$",ce("null")),s.params().at(1,!0,"deep",ce("true")),s.params().at(2,!0,"fields",ce("true")),this._instanceInit=s}instancePatch(){if(this._instancePatch)return this._instancePatch;let t=[],s=this.addMethod(this.patchKey(),[],t,{},function(n){return!0}),r=s._params.at(0,!0,"$$",ce("{}")),i=s._params.at(1,!0,"fields",ce("true"));if(this._superclass){let n=Zs.callOp(this.patchKey(),[r,i]);n=oe("&&",oe(".",ce("super"),this.patchKey()),n),s.inject(n)}return s.set({noreturn:!0}),this._instancePatch=s}isInitingFields(){return this._inits||this._supernode&&this._supernode.isInitingFields&&this._supernode.isInitingFields()}visit(){var t;let s=A.scope(1),r=A.up();if(A.tsc())s instanceof on||this.set({notInRoot:!0});else{let x=new ca(s,null,null,{type:"let",ns:"c",safe:!0});A.prependInBlock(new P_("let @name = Symbol()",{name:x})),this._refSym=x}this._body._delimiter="";let i=A.up(Xe);this._decorators=i&&i.collectDecorators(),A.pop(this);let n=this._superclass;if(this._path=this._name,this._ownName=this._name,this._realName=this._name instanceof it?this._name._right:this._name,n&&(n.traverse(),n instanceof Tt))if(n._variable){let x=n._variable.value();x instanceof Rp&&(this._supernode=x)}else n.symbol()=="Object"&&(this.set({implicitAny:!0}),n=this._superclass=null);if(this.isExtension()&&this._name)if(this._name.traverse(),this._name instanceof Ke&&this._name.resolveVariable(),this.isTag())this._className=ce(this._name.toClassName()),this._ownName=A.toInternalClassName(this._name),this._mixinName=this.scope__().register(this._ownName,null);else{let x;this._className=this._name,this._ownName=A.toInternalClassName(this._name),this._mixinName=this.scope__().register(this._ownName,null)}else this._name instanceof Ke?(!this.isTag()||this._name.isCapitalized())&&(this._name.registerVariable("const"),this._name._variable._value=this,this._name._variable):this._name&&!(this._name instanceof it)?this._name.traverse({declaring:this}):this._name&&this._name.traverse();A.tsc()&&(this.isGlobal()||this.isExtension()?this._ownName=A.toInternalClassName(this._name):this.isGlobal()&&!this.isExtension()&&!this.isNamespaced()&&this.option("export")&&(this._exportName=A.toInternalClassName(this._name))),A.push(this),Ws._entities.add(this.namepath(),this),this.scope().visit(),this.set({iife:A.up()instanceof na});var a=!0,o=[],l=this._mixins=[],p=[],c=[],d={},v=void 0,f={};this._instanceMethodMap=f,this._declaredFields=d;for(let x=0,E=Le(this.body()),N=E.length,S;x<N;x++){if(S=E[x],S instanceof F3&&l.push(S.value()),S instanceof en&&!S.isStatic()){let D=String(S.name());d[D]=S,a&&S.set({restIndex:0})}if(S instanceof gr){let D=S.rawName();S.isMember()&&(f[D]=S)}}if(this.option("params")){let x=[];for(let E=0,N=Le(this.option("params")),S=N.length,D;E<S;E++){if(D=N[E],D instanceof V3){v=E;continue}let V=String(D.name()),M=d[V],W=D.option("datatype");M?(W&&!M.datatype()&&M.set({datatype:W}),D._defaults&&!M.value()&&M.set({value:D._defaults})):(M=o[V]=new en(D.name()).set({datatype:W,value:D._defaults}),x.push(M),c.push(D)),M&&M.set({paramIndex:E,paramName:V})}for(let E=0,N=Le(x.reverse()),S=N.length;E<S;E++)this.body().unshift(N[E])}this.body().traverse();var g=this.body().option("ctor");let y=A.tsc();var T=new y2,_=this._staticInits=new g2,b=new v2;this._mixins[0]&&!y&&!this.isExtension()&&T.add(ce("this["+this.refSym()+"]?.(...arguments)")),g=this.body().option("ctor");let m=this.body().filter(function(x){return x instanceof en}),C=[];for(let x=0,E=Le(m),N=E.length,S;x<N;x++)S=E[x],!S.isExcluded()&&(S.watchBody()&&this.addMethod(S.watcherSymbol(),[],[S.watchBody()],{},function(D){return S._watchMethod=D,S._watchParam=D.params().at(0,!0,"e")}),S.hasStaticInits()&&!S.option("declareOnly")&&_.add(S),S.hasConstructorInits()&&(this.isExtension()?S.value()&&S._name.warn("field with value not supported in class extension"):S.option("declareOnly")||((!S.option("wrapper")||S instanceof P3)&&T.add(S),b.add(S))),!S.isStatic()&&v!=null&&S.set({restIndex:v}));if(y&&(t=this.fieldRegistryOwnerName()))for(let x=0,E=Le(m),N=E.length,S,D;x<N;x++)S=E[x],(D=S.fieldRegistryEntry(t))&&A.addFieldRegistryEntry(D);if(!y&&this._decorators){let x=this.util().decorate(new Ut(this._decorators),vt);_.add([x,ut]),C.push(this._decorators)}for(let x=0,E=Le(this.body()),N=E.length,S;x<N;x++)if(S=E[x],S._decorators&&!S.isExcluded()){let D=S.option("static")?vt:zu,V=ce("null"),M=this.util().decorate(new Ut(S._decorators),D,S.name(),V);C.push(S._decorators),_.add([M,ut])}let k=n||this._mixins[0];if(!T.isEmpty()&&!y&&(this._inits=T,this.instanceInit(),T.set({ctor:this.instanceInit()}),this.instanceInit().inject(T),!this.isTag()))if(this._superclass){if(!this._supernode||!this._supernode.isInitingFields()){let x=oe("||",this.initPath(),rt(oe(".",vt,this.initKey()),[]));if(!g)g=this.addMethod("constructor",[],[new Zs,ut,x],{});else{let E=g.option("injectInitAfter");g.inject(x,E?{after:E}:0)}}}else{let x=oe(".",vt,this.initKey());if(g){let E=g.option("supr");E?E.real.set({target:x,args:[]}):g.body().add([rt(x,[]),ut],0)}else{g=this.addMethod("constructor",[],[],{});let E=g.params().at(0,!0,"$$",ce("null")),N=rt(x,[E]);y||g.body().add([N,ut],0)}}b.isEmpty(),y&&g&&this._autosuper&&g.body().add([ce("super()"),ut],0);let L=0;if(this instanceof q3&&(L=L|ps.IsObjectExtension),this.isMixin()&&(L=L|ps.IsMixin),this.isTag()&&(L=L|ps.IsTag),this.isExtension()&&(L=L|ps.IsExtension),this._mixins.length&&(L=L|ps.HasMixins),!y){let x=!!f["#__inited__"],E=C.length>0;if(E){L=L|ps.HasDecorators,A.use("hooks");let S=A.imbaSymbol("__hooks__");_.unshift(ce("this.prototype["+S+"] = "+this.runtime().hooks),!0)}if(!this.isTag()&&!g&&(x||E)){let S=n?[new Zs,ut]:[ut];g=this.addMethod("constructor",[],S,{})}g&&!this.isTag()&&!A.isStdLib()&&g.inject(rt(A.corelib().inited$,[vt,this.refSym()])),g&&(L=L|ps.HasConstructor),this.option("calledSuper")&&(L=L|ps.HasSuperCalls);let N=[vt,this.refSym(),this._realName?this._realName.toStr():vr,ce(String(L))];if(this.isExtension()){let S;if(this.isTag()?(S=this._name._variable||rt(this.runtime().getTagType,[this._name,pt(this._name.toClassName())]),N.push(S)):N.push(S=this._className),this._mixins.length){for(let D=0,V=Le(this._mixins),M=V.length;D<M;D++)_.add(rt(A.corelib().augment$,[S,V[D]]));this._mixins.length=0}}_.add(rt(A.corelib().register$,N))}return!_.isEmpty()&&!y&&this.body().add([ut,_]),this}addMethod(t,s,r,i,n){(typeof r=="string"||r instanceof String)&&(r=[ce(r)]),(typeof t=="string"||t instanceof String)&&(t=new Ke(t));let a=new gr(s,r||[],t,null,i||{});return this.body().unshift(a,!0),n instanceof Function&&n(a),a.traverse(),a}js(i){this.scope().virtualize(),this.scope().context()._value=this._name,this.scope().context()._reference=this._name;var s=A.tsc(),r=A.up(),i=this._options||{},n=this._ownName instanceof it?this._ownName._right:this._ownName,a=this._name instanceof it?this._name._right:this._name,o=null,l=this._superclass;typeof n!="string"&&n&&(n=n.c({mark:!0})),this._cname=n;var p=ce(n);let c=this.body().c(),d=ve("class",this.keyword());if(this._name)d+=" "+ve(n,this._name);else if(r instanceof Ts)try{d+=" "+r._value._symbol}catch{}if(s){let f=A.parent(),g={body:c,name:this._cname,localName:this._cname,declareName:a,default:this.option("default"),abstract:this.option("abstract")||this.isMixin()||this.isInterface(),mixins:Ie.cary(this._mixins).join(", ")||null,generics:this._name&&this._name.option("generics"),supr:this._superclass,oid:this.tsId(),iife:f instanceof na||this.option("notInRoot"),return:this.option("return"),unsafe:this.option("implicitAny"),exportName:this.option("default")||a};g.generics?(g.suprGenerics=g.generics.asGenericNames(),g.mapped=!1):g.abstract||(g.mapped=!0),/^[\t\n]+$/.test(c)&&(g.body=null);let y;try{g.ref=this._name.variable()._value}catch{}try{g.export=this.option("export")||!!this._name.variable()._value.isExported()}catch{}try{g.global=this.option("global")||this._name&&!this._name.variable()||!!this._name.variable()._value.isGlobal()}catch{}try{g.path=this.isExtension()&&this._name.variable().importPath()}catch{}return y=this.isInterface()?this.isGlobal()?`namespace Global {
export interface @declareName@generics @{extends @supr }{
	@{@unsafe? [index:string]: any; }
	@body
}
@{@mixins? export interface @declareName@generics @{extends @mixins }{ }}
}

@{@export? export import @declareName = Global.@declareName; }

declare global {
	namespace globalThis {
		export import @declareName = Global.@declareName;
	}
}`:`interface @declareName@generics @{extends @supr }{@{@unsafe? 
	[index:string]: any;}@body
}`:!this._name||g.iife?`class @name@generics @{extends @supr }{@{@unsafe? 
	[index:string]: any;}@body
}`:this.isExtension()&&g.path?`@declareName
declare module @path {
	@{@body? interface @declareName@generics extends @localName@generics {} }
	@{@mixins? interface @declareName@generics @{extends %mixins }{}}
}
@{@body? class @localName@generics { @body } }`:this.isExtension()&&g.global?`declare global {
	@{@body? interface @declareName@generics extends @localName@generics {} }
	@{@mixins? interface @declareName@generics @{extends %mixins }{}}
}
@{@body? class @localName@generics { @body } }`:this.isExtension()?`
@export @default interface @declareName@generics extends @localName@generics {}
class @localName@generics { %body }
@{@mixins? interface @declareName@generics @{extends %mixins }{}}`:this.isGlobal()&&!A.option("noAnyTypes")?`namespace Global {
declare const @declareName$: unique symbol;
export class @declareName@generics @{extends @supr }{
	declare [ImbaUnionType]: ImbaSubclassUnion<{[@declareName$]:true}>;
	@{@unsafe? [index:string]: any; }
	[@declareName$]:true;
	@body
}
@{@mixins? export interface @declareName@generics @{extends @mixins }{ }}
}

@{@export? export import @declareName = Global.@declareName; }

declare global {
	namespace globalThis {
		export import @declareName = Global.@declareName;
	}
	@{@mapped? interface GlobalClassMap {@declareName:@declareName}}
}`:this.isGlobal()?`namespace Global {
export class @declareName@generics @{extends @supr }{
	@{@unsafe? [index:string]: any; }
	@body
}
@{@mixins? export interface @declareName@generics @{extends @mixins }{ }}
}

@{@export? export import @declareName = Global.@declareName; }

declare global {
	namespace globalThis {
		export import @declareName = Global.@declareName;
	}
	// @{@mapped? interface GlobalClassMap {@declareName:@declareName}}
}`:`@{@mixins? %export %default interface %localName@generics @{extends %mixins }{}}
%export %default class %localName@generics @{extends %supr }{
	@{@unsafe? [index:string]: any;}
	@body
}`,ws(g,y)}this._mixins.length?d+=" "+this.mo("extends")+" "+rt(A.corelib().multi$,[this.refSym(),l||vr].concat(this._mixins)).c():l&&(d+=" "+this.mo("extends")+" "+ve(l)),this._name instanceof it&&!this.exportForDts()&&!this.isExtension()&&(d=""+this._name.c()+" = "+d),this.option("export")&&(this.option("default")?d=""+this.mo("export")+" "+this.mo("default")+" "+d:d=""+this.mo("export")+" "+d);let v=""+d+" {"+c+"}";if(this.option("global")){let f=this._name instanceof it,g=this._name instanceof it?this._name.c():this._cname;v=""+v+"; "+this.scope__().root().globalRef()+"."+this._cname+" = "+g}return v}},q3=class extends Vs{},Jn=class extends Vs{isTag(){return!0}isInitingFields(){return!0}namepath(){return"<"+this.name()+">"}metadata(){return Object.assign(super.metadata(...arguments),{type:"tag"})}cssns(){return this._cssns||(this._cssns=this._scope.cssns())}cssid(){return this._cssid||(this._cssid=this._scope.cssid())}classReference(){return ce(this._name.toClassName())}cssref(e){if(this.isNeverExtended()&&!this._superclass)return this._cssns;if(e){let t=e.closure();return t.memovar("_ns_",oe("||",oe(".",t.context(),"_ns_"),pt("")))}else return oe("||",oe(".",vt,"_ns_"),pt(""))}isNeverExtended(){return this.name()&&this.name().isClass()?!this.option("export")&&!this.option("extended"):!1}visit(){A.hmr()&&(this.cssid(),this.cssns()),super.visit(...arguments);let e=this._superclass;if(this.name().isClass()||this.set({global:!0}),this._config={},e&&!A.tsc()){if(e.isNative()||e.isNativeSVG()){let t=e.nativeCreateNode();t=this.util().extendTag(t,vt),this.addMethod("create$",[],[t]).set({static:!0}),this.set({extends:Ss.wrap({extends:e.name()})}),this._config.extends=e.name()}else if(e.isClass()){e.resolveVariable(this.scope__().parent());let t=e._variable&&e._variable.value();t&&t.set({extended:this})}}if(this._elementReferences){for(let t=this._elementReferences,s,r=0,i=Object.keys(t),n=i.length,a;r<n;r++)if(a=i[r],s=t[a],A.tsc()){let o=s.option("reference"),l=s.type(),p=""+ve(Ie.sym(o),o);l&&l.toClassName&&(p+=" = new "+l.toClassName()),this.body().unshift(ce(p+";"),!0)}}if(!A.tsc()&&this.name()&&this.name().toNodeName&&!this.option("extension")){let t=this.name().toNodeName();t.indexOf("-")==-1&&(t=t+"-tag"),A._css.add(t+" { display:block; }")}this.option("export")&&this.name()&&this.name().isLowerCase&&this.name().isLowerCase()&&this.warn("Lowercased tags are globally available - not exportable",{loc:this.option("export")})}addElementReference(e,t){let s=this._elementReferences||(this._elementReferences={});return s[e]&&s[e]!=t?t.warn("Duplicate elements with same reference",{loc:e}):(s[e]=t,t.set({tagdeclbody:this._body})),t}js(e){this.scope().virtualize(),this.scope().context()._value=this.name(),this.scope().context()._reference=this.name();let t=A.tsc(),s=this.name().toClassName(),r=this._superclass,i=!this.option("extension")&&!this.name().isClass()&&t,n={name:this.name()._str,mixins:Ie.cary(this._mixins).join(", ")||null};if(t&&(n.declareName=n.localName=new Un(s,this.name()),(this.isGlobal()||this.isExtension())&&(s=n.localName=new n1(this.name()))),r&&r._variable?r=r._variable:r?r=rt(this.runtime().getSuperTagType,[r,pt(r.toClassName()),this.runtime().Component]):r=this.runtime().Component,t){r=this._superclass?this._superclass.toClassName():ce("imba.Component"),this.isExtension()||(this.body().unshift(ce("static $$TAG$$:true"),!0),this.body().unshift(ce("constructor(){ super() }",this._name),!0)),n.body=this.body().c(),!this.isExtension()&&!this._declaredFields.data&&!this._instanceMethodMap.data&&(n.body="data = this.dataForTagName('"+n.name+`')
`+n.body),n.default=this.option("default"),n.superName=this._superclass?new Un(r,this._superclass):r;try{n.export=this.option("export")||!!this._name.variable()._value.isExported()}catch{}if(this.isExtension()&&this.isGlobal())return ws(n,`class %localName { %body }
declare global { interface %declareName extends %localName {} }`);if(this.isExtension()){try{n.path=this._name.variable().importPath()}catch{}return n.path?ws(n,`%declareName
declare module %path { interface %declareName extends %localName {} }
class %localName { %body }`):ws(n,`class %localName { %body }
%export interface %declareName extends %localName {}`)}else return this.isGlobal()?ws(n,`namespace Global {
export class %declareName extends %superName { %body }
@{@mixins? export interface %declareName extends @mixins { }}
}
declare global {
	namespace globalThis { export import %declareName = Global.%declareName }
	interface HTMLElementTagNameMap { "%name": %declareName }
}

`):ws(n,`@{@mixins? %export %default interface %localName extends @mixins { }}
%export %default class %localName extends %superName { %body }`)}else if(this.option("extension")){let p=this._name._variable||rt(this.runtime().getTagType,[this.name(),pt(this.name().toClassName())]);(s=="ImbaElement"||s=="imba.Component")&&(p=this.runtime().Component);let c=new ia(this.name());return"("+ve("class",this.option("keyword"))+" {"+this.body().c()+"})"}else this.name().isNative()&&this.name().error("tag "+this.name().symbol()+" already exists");let a=this.scope__().parent();this._cssns&&(this._config.cssns=this.cssns()),this._cssid&&(this._config.cssid=this.cssid()),this.name().isClass()&&(this._config.name=this.name().symbol()),n.config=Ss.wrap(this._config),this._staticInits.add([ut,rt(this.runtime().defineTag,[this.name(),vt,n.config])]),this._staticInit&&this._staticInits.add([ut,rt(oe(".",vt,this.initKey()),[])]);let o=this.body().c(),l=""+ve("class",this.keyword())+" "+ve(s,this.name())+" "+this.mo("extends")+" ";return this._mixins.length?l+=""+rt(A.corelib().multi$,[this.refSym(),r||vr].concat(this._mixins)).c():r&&(l+=""+ve(r)),this.option("export")&&(this.option("default")?l=""+this.mo("export")+" "+this.mo("default")+" "+l:l=""+this.mo("export")+" "+l),""+l+" {"+o+"}"}},ot=class $p extends Qr{constructor(t,s,r,i,n){super(...arguments),this._options=n;var a=this.scopetype();this._traversed=!1,this._body=Ie.blk(s),this._scope||(this._scope=n&&n.scope||new a(this)),this._scope.setParams(this._params=new z3(t)),this._name=r||"",this._target=i,this._type="function",this._variable=null}name(t){return this._name}setName(t){return this._name=t,this}params(t){return this._params}setParams(t){return this._params=t,this}target(t){return this._target}type(t){return this._type}context(t){return this._context}scopetype(){return B2}inject(t,s){return this._body.add([t,ut],s)}nonlocals(){return this._scope._nonlocals}isGlobal(){return this.option("global")}returnType(){return this.datatype()}visit(t,s){return t._descriptor&&!t.tsc()&&t.indexOf($p)<=t.indexOf(I2)&&(this._scope=new li(this),this._scope.setParams(this._params)),this.scope().visit(),this._desc&&(this._desc._skip=!0),this._context=this.scope().parent(),this._params.traverse({declaring:"arg"}),this._body.traverse()}funcKeyword(){let t="function";return this.option("async")&&(t="async "+t),t}jsdoc(){return""}js(t,s){this.option("noreturn")||this.body().consume(new Zr);var r=this.body()._indentation;r&&r.isGenerated()&&(this.body()._indentation=null);var i=this.scope().c({indent:!r||!r.isGenerated(),braces:!0}),n=typeof this._name=="string"?this._name:this._name.c();n=n?" "+n.replace(/\./g,"_"):"";var a=s&&s.keyword!=null?s.keyword:this.funcKeyword(),o=""+ve(a,this.option("def")||this.option("keyword"))+Us(n)+"("+this._params.c()+") ";return A.tsc()&&this.returnType()&&(o+=":"+this.returnType().c()),o+=i,this.option("eval")&&(o="("+o+")()"),o}shouldParenthesize(t){return t===void 0&&(t=this.up()),t instanceof ks&&t._callee==this}},Zn=class extends ot{scopetype(){return V2}isStatic(){return!0}isPrimitive(){return!0}visit(e){var t=this,s;if(super.visit(...arguments),!e.tsc())return(s=t._scope._leaks)&&(t._leaks=[],s.forEach(function(r,i){return r._name=="self"&&A3?t._useSelf=r:(r._proxy=t._params.at(t._params.count(),!0),t._leaks.push(i))})),t}},K3=class extends ot{js(e,t){this.option("noreturn")||this.body().consume(new Zr);var s=this.body()._indentation,r=this.body().c({braces:!0});return"(()=>"+r+")()"}},u1=class{constructor(e){this._func=e,this._leaks=!1,this._matches=[]}test(e){return!1}},S2=class extends ot{scopetype(){var e=this.option("keyword");return e&&e._value=="\u0192"?li:ha}},W3=class extends u1{test(e){if(e instanceof ks){e._args.consume(this),e._callee.consume(this);return}e instanceof Tt&&e._isSelf&&(this._deopt=!0,(this._implicits||(this._implicits=[])).push(e));let t=e._variable;if(t&&!t.isGlobal()&&(this._deopt=!0,(this._captured||(this._captured=[])).push(e)),e instanceof Mr||e instanceof Ns)return this._self=e}},tn=class extends S2{scopetype(){return ha}js(e,t){var s=this.body().c({braces:!1});if(A.tsc())return"((v$)=>"+s+")";let r=this.body(),i=r.startLoc(),n=r.endLoc();if(!(typeof i=="number"&&typeof n=="number")||!(n>i)||n-i>1024)return this._warned||(this._warned=!0,this.warn("unable to analyze amperfunction - it will not be memoized")),"((v$)=>"+s+")";let a=function(_){if(!_)return null;if(_.region){let C=_.region();if(C&&(C[0]||C[1]))return C}let b=_.startLoc?_.startLoc():null,m=_.endLoc?_.endLoc():null;return typeof b=="number"&&typeof m=="number"&&m>=b?[b,m]:null},o=function(_){return _&&_[0]>=i&&_[1]<=n},l=[];{let _=A._nodes,b=_.length-1;for(;b>=0;){let m=_[b]._scope;m&&m!=this._scope&&l.indexOf(m)<0&&l.push(m),b--}}let p=A.ROOT._amperUnresolved;if(p){for(let _=0;_<p.length;_++)if(o(a(p[_])))return this._warned||(this._warned=!0,p[_].warn("amperfunction references '"+String(p[_]._identifier)+"' before its declaration - it cannot be memoized")),"((v$)=>"+s+")"}let c=null,d=A.ROOT._amperSelfRefs;if(d){for(let _=0;_<d.length;_++)if(o(a(d[_]))){c=d[_];break}}let v=[],f=null;e:for(let _=0;_<l.length;_++){let b=l[_]._varmap;for(let m in b){let C=b[m];if(!C||C instanceof ca||C.isGlobal()||v.indexOf(C)>=0)continue;let k=C._references||[],L=null;for(let N=0;N<k.length;N++)if(o(a(k[N]))){L=k[N];break}if(!L)continue;let x=a(C._declarator);if(x&&o(x))continue;if(String(C._name)=="arguments"){f=[L,"captures 'arguments'"];break e}if(!x||x[0]>=i){f=[L,"captures '"+C._name+"' which is declared later"];break e}let E=null;for(let N=0;N<k.length;N++){let S=k[N];if(S._assigns&&!(S instanceof Ts)){E=S;break}}if(E){f=[L,"captures '"+C._name+"' which is reassigned"];break e}v.push(C)}}if(f)return this._warned||(this._warned=!0,f[0].warn("amperfunction "+f[1]+" - it cannot be memoized. Use a do-block instead")),"((v$)=>"+s+")";let g=r.sourcecode().replace(/[\"]/g,"'"),y=null;if(c)if(c instanceof Tt){let _=c._value;y=_ instanceof Qn?_._left:_}else y=c;if(!v.length){let _=[ce(JSON.stringify(g)),y||ce("globalThis"),ce("(v$)=>"+s)];if(!y){let b=this.scope__().root(),m=ce(""+this.runtime().memofunc+"("+_.map(function(k){return k.c()}).join(",")+")"),C=b._ampermap[g];if(!C){let k="\u0192"+A.incr("\u0192");C=b._ampermap[g]=b.declare(k,m)}return C.c()}return""+this.runtime().memofunc+"("+_.map(function(b){return b.c()}).join(",")+")"}let T=JSON.stringify(g+""+v.map(function(_){return String(_._name)}).join(","));return""+this.runtime().memofuncv+"("+T+","+(y?y.c():"globalThis")+",(v$)=>"+s+",["+v.map(function(_){return _.c()}).join(",")+"])"}},X3=class extends ot{visit(e){if(this._scope=null,this.body().traverse(),this.option("async")){var t=e.up(ot);t&&t.set({async:!0})}return this}js(e,t){let s;if(A.tsc())return s=this.body().c({braces:!1}),rt(A.corelib().rescue$,[ce(s)]).c();this._body=this.body().consume(new Zr),s=this.body().c({braces:!1});let r="()=>{ try { "+s+" } catch(e) { return e; } }";return this.option("async")?"await (async "+r+")()":"("+r+")()"}},f6=class extends ot{scopetype(){return li}},_6=class extends ot{scopetype(){return this.option("closed")?li:ha}},gr=class extends ot{variable(e){return this._variable}scopetype(){return li}consume(e){return e instanceof As?(this.option("return",!0),this):super.consume(...arguments)}isExcluded(){return A.tsc()?this._envs&&this._envs.find(function(e){return e._key=="JS"})||!1:this._envs?!this._envs.find(function(e){return e.isTruthy()}):!1}rawName(){return this._name instanceof Ke?this._name.toRaw():""}metadata(){return{type:"method",name:""+this.name(),namepath:this.namepath(),params:this._params.metadata(),desc:this._desc,scopenr:this.scope()._nr,loc:this.loc()}}loc(){var e;if(e=this.option("def")){let t=this.body().option("end")||this.body().loc()[1];return[e._loc,t]}else return[0,0]}isGetter(){return this._type=="get"}isSetter(){return this._type=="set"}isConstructor(){return String(this.name())=="constructor"}isMember(){return!this.option("static")}toJSON(){return this.metadata()}namepath(){if(this._namepath)return this._namepath;var e=String(this.name().c()),t=this.option("static")?".":"#";if(this.target()){let s=this.target();return s.namepath()=="ValueNode"&&(s=this._context.node()),this._namepath=s.namepath()+t+e}else return this._namepath="&"+e}visit(){var e,t,s;if(this._type=this.option("type")||(e=this.option("def"))&&e._value||"def",this._decorators=(t=this.up())&&t.collectDecorators&&t.collectDecorators(),this.isExcluded())return;var r=this._options;this.scope().visit();let i=this.scope();if(this.isSetter()&&Wi(this._params)>1){Wi(this._params)>2&&console.warn("setter with more than two params not allowed",this.name());let a=this._params.pop(),o=oe("=",new Ts(a._value,"const"),oe(".",q2,this.name()));this._body.add(o,0)}if(this.option("inObject"))return this._params.traverse(),this._body.traverse(),this;var n=this._context=this.scope().parent().closure();if(n instanceof on&&!this.target()&&!(this._name instanceof ta)?this.scope()._context=n.context():n instanceof li&&!this.target()&&!(this._name instanceof ta)&&(this.scope()._selfless=!0),this._params.traverse(),this._name.isPredicate&&this._name.isPredicate()&&!this.isSetter()&&!this.isGetter()&&this._name.warn("Only getters/setters should end with ?"),this.target()instanceof Ke&&(s=this.scope().lookup(this.target().toString()))&&(this._target=s),String(this.name())=="initialize"&&n instanceof ln&&!(n instanceof G2)&&(this._type="constructor"),(String(this.name())=="constructor"||this.isConstructor())&&(this.up().set({ctor:this}),this.set({noreturn:!0})),n instanceof ln&&!this.target()){this._class=n.node(),this._target=n.prototype();let a=n.node().option("extension");this.set({prototype:this._target,inClassBody:!0,inExtension:a}),n.annotate(this)}if(this.target()instanceof Ns?(this._target=n.context(),n.annotate(this),this.set({static:!0})):r.variable?(this._variable=this.scope().parent().register(this.name(),this,{type:String(r.variable)}),this.target()&&this.warn(""+String(r.variable)+" def cannot have a target")):this.target()||(this._variable=this.scope().parent().register(this.name(),this,{type:"const"})),r.export&&!(n instanceof on)&&this.warn("cannot export non-root method",{loc:r.export.loc()}),Ws._entities.add(this.namepath(),this),this._body.traverse(),this.returnType()&&this.returnType().traverse(),this.isConstructor()){!this._class._superclass&&this._class.hasMixins()&&!A.tsc()&&this.scope().head().unshift(ce("super()"));let a=this.scope__().context()._reference,o=this.option("supr"),l=o&&o.node,p=o&&o.block;if(a&&l){a._declarator._defaults=null;let c=oe("=",a,new Mr);p.replace(l,[l,c])}}return this}supername(){return this.type()=="constructor"?this.type():this.name()}js(e,t){var s=this;t===void 0&&(t={});var r=s._options,i=A.tsc();if(s.option("declareOnly")&&!i||s.isExcluded())return"";s.type()=="constructor"||s.option("noreturn")||s.isSetter()||(s.option("chainable")?s.body().add(new Zr(s.scope().context())):s.option("greedy")?s.body().consume(new G3):s.body().consume(new Zr));var n=s.scope().c({indent:!0,braces:!0}),a=typeof s._name=="string"?s._name:s._name.c({as:"field"}),o=s.option("yield")?"*":"",l="",p=i&&{kind:s.option("keyword"),static:s.option("static"),export:s.option("export"),declare:s.option("declareOnly"),default:s.option("default"),protected:s.option("protected"),async:s.option("async"),code:n,key:ve(a,null,{as:"field"}),name:s._name,get:s.isGetter()?s.option("keyword"):null,set:s.isSetter()?s.option("keyword"):null,returnType:s.returnType(),yield:s.option("yield")&&ce("*"),params:s.params(),generics:s._name&&s._name.option("generics"),function:!s.option("inClassBody")&&!s.option("inObject"),decorators:s._decorators};if(i){s._class&&s._class.isInterface()?p.code=";":p.declare&&dr.strip(p.code).replace(/[\s\n\t]/g,"")=="{}"&&(p.code="{ return }");let f={},g=s.returnType(),y=s.params().map(function(m){return m.datatype()}),T=[g].concat(y.reverse());for(let m=0,C=Le(s.params()),k=C.length;m<k;m++){let L=C[m].datatype();if(L&&(L.visit(),L._genericWrap)){let x="$"+(m+1);f[x]=L.makeGeneric(x)}}for(let m=0,C=Le(T),k=C.length,L;m<k;m++)L=C[m],L instanceof ea&&(L.visit(),L._generics&&L._generics.forEach(function(x){let E=x,N=x.match(/^\$\d+$/)?s.params().at(parseInt(x.slice(1))-1):null;try{return N.datatype()||N.setDatatype(new ea(E,ce(""))),f[E]=N.datatype().makeGeneric(E)}catch(S){return console.log("error",S)}}));let _=Object.values(f);_.length&&(p.generics||(p.generics="<"+Ie.cary(_).join(",")+">")),s._decorators&&(p.decorators=Ie.cary(s._decorators).join(`
`));let b="@export @default @protected @static @async @get @set @function @yield@key@generics(@params)@{:@returnType} @code";return p.static&&s.returnType()&&s.returnType().hasSelfReference()&&(p.returnType=s.returnType().withReplacedThis("self"),b=`// @ts-ignore
@protected @static @async @function @yield@key<self extends abstract new (...args: any) => any>(this:self@{, @params})@{:@returnType};
@protected @static @async @get @set @function @yield@key(@params) @code`),s._decorators&&(p.decorators=Ie.cary(s._decorators).join(`
`),b=`@decorators
`+b),s.isGlobal()&&(p.localName=new n1(s._name),b+=`
type @localName = typeof @name;
declare global { var @name : @localName }`),ws(p,b)}if((s.option("inClassBody")||s.option("inObject"))&&t.as!="descriptor"){let f="";return s.isGetter()?f=ve("get",s.option("keyword"))+" ":s.isSetter()&&(f=ve("set",s.option("keyword"))+" "),s.option("async")&&(f="async "+f),s.option("static")&&(f=""+ve("static",s.option("static"))+" "+f),l=""+f+o+ve(a,null,{as:"field"})+"("+s.params().c()+")",l+=n,l}var c="("+s.params().c()+")"+n,d=s.context(),v=Us(Ie.sym(s.name()));if(p={localName:v,declareName:v},s.target()){if(v[0]=="["?v=v.slice(1,-1):v="'"+v+"'",s.isGetter())return l="Object.defineProperty("+s.target().c()+","+v+",{get: "+s.funcKeyword()+c+", configurable: true})",l;if(s.isSetter())return l="Object.defineProperty("+s.target().c()+","+v+",{set: "+s.funcKeyword()+c+", configurable: true})",l;l=""+oe(".",s.target(),s._name).c()+" = "+s.funcKeyword()+" "+c,r.export&&(l="exports."+(r.default?"default":v)+" = "+l)}else l=""+ve(s.funcKeyword(),s.keyword())+o+" "+ve(v,s._name)+c,r.export&&(l=""+ve("export",r.export)+" "+(r.default?ve("default ",r.default):"")+l);return r.global&&(l=""+l+"; "+s.scope__().root().globalRef()+"."+v+" = "+v+";"),s.option("return")&&(l="return "+l),l=s.jsdoc()+l,s.option("declareOnly")&&!A.tsc()?"":l}},ms=class extends nt{constructor(e){super(...arguments),this._traversed=!1,this._expression=!0,this._cache=null,this._raw=null,this._value=this.load(e)}isConstant(){return!0}load(e){return e}toString(){return""+this.value()}hasSideEffects(){return!1}shouldParenthesizeInTernary(){return!1}startLoc(){return this._startLoc||this._value&&this._value.startLoc&&this._value.startLoc()}endLoc(){return this._endLoc||this._value&&this._value.endLoc&&this._value.endLoc()}},p1=class extends ms{c(){return this._value}},d1=class extends ms{constructor(e){super(...arguments),this._value=e,this._raw=String(e)=="true"}cache(){return this}isPrimitive(){return!0}truthy(){return String(this.value())=="true"}js(e){return String(this._value)}c(){return A._counter+=1,String(this._value)}toJSON(){return{type:"Bool",value:this._value}}loc(){return this._value.region?this._value.region():[0,0]}},J3=class extends ms{isPrimitive(){return!0}isTruthy(){return!1}cache(){return this}c(){return ve("undefined",this._value)}},T2=class extends ms{isPrimitive(){return!0}isTruthy(){return!1}cache(){return this}c(){let e=ve("null",this._value);return A.tsc()&&this.datatype()&&(e=e+" as unknown as "+this.datatype().c()),e}},f1=class extends d1{raw(){return!0}isTruthy(){return!0}c(){return ve("true",this._value)}},_1=class extends d1{raw(){return!1}isTruthy(){return!1}c(){return ve("false",this._value)}},zt=class extends ms{constructor(e){super(...arguments),this._traversed=!1,this._value=e}toString(){return String(this._value).replace(/\_/g,"")}toNumber(){return this._number==null?this._number=parseFloat(this.toString()):this._number}isPrimitive(e){return!0}isTruthy(){return this.toNumber()!=0}negate(){return this._value=-this.toNumber(),this}shouldParenthesize(e){return e===void 0&&(e=this.up()),e instanceof it&&e._left==this}js(e){return this.toString()}c(e){if(this._cache)return super.c(e);var t=ve(this.toString(),this._value),s=A.current(),r=s instanceof it&&s._left==this;return r?"("+t+")":t}cache(e){return e&&(e.cache||e.pool)?super.cache(e):this}raw(){return JSON.parse(this.toString())}toJSON(){return{type:this.typeName(),value:this.raw()}}},m6=class extends ms{constructor(e,t){super(...arguments),this._traversed=!1,this._value=e,this._unit=t}negate(){return this.set({negate:!0}),this}c(e){let t=String(this._unit),s=String(this._value);return this.option("negate")&&(s="-"+s),t=="ms"?s=""+s:t=="kb"?s="("+s+" * 1024)":t=="mb"?s="("+s+" * 1024 * 1024)":t=="gb"?s="("+s+" * 1024 * 1024 * 1024)":t=="s"?s="("+s+" * 1000)":t=="minutes"?s="("+s+" * 60 * 1000)":t=="hours"?s="("+s+" * 60 * 60 * 1000)":t=="days"?s="("+s+" * 24 * 60 * 60 * 1000)":t=="n"?s=""+s+"n":t=="fps"?s="(1000 / "+s+")":(s=""+s+t,e&&e.unqouted||(s="'"+s+"'")),Gs.sourcemap&&(!e||e.mark!==!1)&&(s=ve(s,this)),s}endLoc(){return this._unit.endLoc()}},g6=class extends nt{constructor(e,t){super(...arguments),this._value=e,this._unit=t}js(e){let t=String(this._unit);return"("+this.value().c()+"+"+pt(this._unit).c()+")"}},ct=class extends ms{constructor(e){super(...arguments),this._traversed=!1,this._expression=!0,this._cache=null,this._value=e}isString(){return!0}isPrimitive(e){return!0}raw(){return this._raw||(this._raw=String(this.value()).slice(1,-1))}isValidIdentifier(){return!!this.raw().match(/^[a-zA-Z\$\_]+[\d\w\$\_]*$/)}isTemplate(){return String(this._value)[0]=="`"}js(e){return String(this._value)}cache(e){return this.raw().length>20&&super.cache(...arguments),this}c(e){return this._cache?super.c(e):ve(this.js(),this._value,e)}},y6=class extends Mt{js(){return"`"+this._nodes.map(function(e){return typeof e=="string"||e instanceof String?e:e.c()}).join("")+"`"}},v6=class extends nt{},k2=class extends qe{constructor(e,t){super(...arguments),t===void 0&&(t={}),this._nodes=e,this._options=t}add(e){return e&&this._nodes.push(e),this}visit(){for(let e=0,t=Le(this._nodes),s=t.length;e<s;e++)t[e].traverse();return this}startLoc(){return this.option("open").startLoc()}endLoc(){return this.option("close").endLoc()}isString(){return!0}isTemplate(){return String(this.option("open"))=="`"}escapeString(e){return e=e.replace(/\n/g,`\\
`)}toArray(){return this._nodes.map(function(e,t){return e instanceof tt&&e._type=="NEOSTRING"?new ct('"'+e._value+'"'):e})}js(e,t){var s=this,r=String(s.option("open")||'"');if(r.length==3&&(r=r[0]),t&&t.as=="template"){var i=[];return s._nodes.map(function(o,l){if(o instanceof tt&&o._type=="NEOSTRING")return i.push(s.escapeString(o._value));if(o)return i.push("${",o.c({expression:!0}),"}")}),"`"+i.join("")+"`"}else{var n=s._noparen;i=[];var a=n?"":"(";s._nodes.map(function(o,l){if(o instanceof tt&&o._type=="NEOSTRING")return i.push(r+s.escapeString(o._value)+r);if(o)return l==0&&i.push('""'),o._parens=!0,i.push(o.c({expression:!0}))}),a+=i.join(" + "),n||(a+=")")}return a}},E2=class extends ms{isValidIdentifier(){return!!this.raw().match(/^[a-zA-Z\$\_]+[\d\w\$\_]*$/)}isPrimitive(e){return!0}raw(){return this._raw||(this._raw=Ie.sym(this.value().toString().replace(/^\:/,"")))}js(e){return"'"+Ie.sym(this.raw())+"'"}},b6=class extends ms{isPrimitive(){return!0}js(){var e,t=super.js(...arguments);if(e=qh.exec(t)){var s=e[1].replace(Yh,"").replace(/\//g,"\\/");return"/"+(s||"(?:)")+"/"+e[2]}return t=="//"?"/(?:)/":t}},Z3=class extends qe{constructor(e){super(...arguments),this._value=e,this._raw=String(e),this._loc=e&&e._loc,this._len=e&&e._len}raw(){return this._raw}safeSymbol(){return this._safeSymbol||(this._safeSymbol="regex$"+No(this._raw))}startLoc(){return this._value&&this._value.startLoc?this._value.startLoc():null}endLoc(){return this._value&&this._value.endLoc?this._value.endLoc():null}region(){return[this.startLoc(),this.endLoc()]}toRaw(){return this._raw}toString(){return this._raw}toJSON(){return this.toString()}metaIdentifier(){return new Ke("\u03B1\u03B1"+this.safeSymbol())}toStr(){return new ct(JSON.stringify(this._raw))}toAttrString(){return this.toStr()}c(e){if(e){if(e.as=="value"||e.as=="meta")return JSON.stringify(this._raw);if(e.as=="symbolpart")return this.safeSymbol()}return"["+JSON.stringify(this._raw)+"]"}},Ut=class extends ms{load(e){return e instanceof Array?new _s(e):e}push(e){return this.value().push(e),this}count(){return this.value().length}nodes(){var e=this.value();return e instanceof Array?e:e.nodes()}splat(){return this.value().some(function(e){return e instanceof aa})}visit(){return this._value&&this._value.traverse&&this._value.traverse(),this}isPrimitive(e){return!this.value().some(function(t){return!t.isPrimitive(!0)})}js(e){var t=this._value;if(!t)return"[]";var s=t instanceof Array?t:t.nodes(),r=t instanceof Array?Ie.cary(t):t.c();return r="["+r+"]",this.datatype()&&A.tsc()&&(r=r+" as "+this.datatype().c()),r}hasSideEffects(){return this.value().some(function(e){return e.hasSideEffects()})}toString(){return"Arr"}indented(e,t){return this._value.indented(e,t),this}};Ut.wrap=function(e){return new Ut(e)};var Ss=class extends ms{load(e){return e instanceof Array?new M3(e):e}visit(){return this._value&&this._value.traverse(),this}isPrimitive(e){return!this.value().some(function(t){return!t.isPrimitive(!0)})}js(e){return"{"+this.value().c()+"}"}add(e,t){(typeof e=="string"||e instanceof String||e instanceof tt)&&(e=new Ke(e));var s=new ei(e,t);return this.value().push(s),s}remove(e){for(let t=0,s=Le(this.value()),r=s.length,i;t<r;t++)i=s[t],i.key().symbol()==e&&this.value().remove(i);return this}keys(){return Object.keys(this.hash())}hash(){var e={};for(let t=0,s=Le(this.value()),r=s.length,i;t<r;t++)i=s[t],i instanceof ei&&(e[i.key().symbol()]=i.value());return e}key(e){for(let t=0,s=Le(this.value()),r=s.length,i;t<r;t++)if(i=s[t],i instanceof ei&&i.key().symbol()==e)return i;return null}indented(e,t){return this._value.indented(e,t),this}hasSideEffects(){return this.value().some(function(e){return e.hasSideEffects()})}toString(){return"Obj"}};Ss.wrap=function(e){var t=[];for(let s,r=0,i=Object.keys(e),n=i.length,a;r<n;r++)a=i[r],s=e[a],s instanceof Array?s=Ut.wrap(s):s.constructor==Object&&(s=Ss.wrap(s)),s=K_(s),(typeof a=="string"||a instanceof String)&&(a=new Ke(a)),t.push(new ei(a,s));return new Ss(t)};var sn=class vl extends nt{consume(t){return t==vl||t instanceof vl?this:super.consume(...arguments)}js(){return"("+this._value.c()+").valueOf()"}},ei=class extends qe{constructor(e,t,s){super(...arguments),this._traversed=!1,this._key=e,this._value=t,this._dynamic=e instanceof Nt,this._defaults=s}key(e){return this._key}value(e){return this._value}visit(e,t){this._key.traverse(),this._value&&this._value.traverse(),this._defaults&&this._defaults.traverse();let s=t&&t.declaring;return this._key instanceof N2?this._value||(this._key=new Ke(this._key.value()),this._value=oe(".",this.scope__().context(),this._key),this._defaults&&(this._value=oe("=",this._value,this._defaults),this._defaults=null)):this._key instanceof uu?this._value||(this._value=oe(".",this.scope__().context(),this._key),this._key=new Ke(this._key.value())):this._key instanceof Ke&&(this._value||(s?(this._value=this.scope__().register(this._key.symbol(),this._key,{type:s}),this._value=this._value.via(this._key),this._defaults&&(this._value=oe("=",this._value,this._defaults),this._defaults=null)):(this._value=this.scope__().lookup(this._key.symbol()),this._value||(this._value=oe(".",this.scope__().context(),this._key))))),this}js(e){let t=this._key,s;return t instanceof Xs||t instanceof sa?s=t.asObjectKey():t instanceof k2?s="["+t.c()+"]":t instanceof zt||t.isReserved()?s="'"+t.c()+"'":t instanceof ct&&t.isValidIdentifier()?s=t.raw():s=t.c({as:"key"}),this._defaults?""+s+" = "+this._defaults.c():this._value?""+s+": "+this._value.c():""+s}hasSideEffects(){return!0}isPrimitive(e){return!this._value||this._value.isPrimitive(e)}},x6=class extends ei{js(e){let t=this.key();return this.value()?"..."+this.value().c():"..."+t.c()}},Q3=class extends qe{c(){return"arguments"}},Ns=class extends ms{constructor(e){super(...arguments),this._value=e}cache(){return this}reference(){return this}visit(){if(this._scope__=this.scope__(),this._scope__.context(),this._value){let e=A.ROOT;(e._amperSelfRefs||(e._amperSelfRefs=[])).push(this)}return this}js(){var e=this._scope__||this.scope__();return e?e.context().c():"this"}c(){let e=ve(this.js(),this._value),t=A.tsc()&&this.option("datatype"),s=A.tsc()&&this.option("generics");return s&&(e+=String(s)),t&&(e=""+e+" as any as ("+t.c()+")"),e}},Mr=class extends Ns{cache(){return this}reference(){return this}visit(){if(this._value){let e=A.ROOT;(e._amperSelfRefs||(e._amperSelfRefs=[])).push(this)}return this}js(){return"this"}},Nt=class fi extends qe{constructor(t,s,r){return super(...arguments),this._expression=!1,this._traversed=!1,this._parens=!1,this._cache=null,this._invert=!1,this._opToken=t,this._op=t&&t._value||t,this._op=="and"?this._op="&&":this._op=="or"?this._op="||":this._op=="not"&&(this._op="!"),this._left=s,this._right=r,this}op(t){return this._op}visit(){return this._right&&this._right.traverse&&this._right.traverse(),this._left&&this._left.traverse&&this._left.traverse(),this}startLoc(){return this._startLoc||this._left.startLoc()}endLoc(){return this._endLoc||(this._right||this._left).endLoc()}hasTagRight(){if(this.isLogical()){let t=this._left.unwrappedNode(),s=this._right.unwrappedNode();if(s instanceof kt||s instanceof fi&&s.hasTagRight()||s instanceof fi&&s.hasTagRight())return!0}return!1}opToIfTree(){if(this.hasTagRight()){let t=this._left.unwrappedNode(),s=this._right.unwrappedNode();if(this._op=="&&")return t instanceof fi&&t.hasTagRight()&&this._left.warn("Tag not allowed here"),t instanceof fi&&(t=t.opToIfTree()),s instanceof fi&&(s=s.opToIfTree()),s instanceof Pt?(s._test=oe("&&",t,s.test()),s):new Pt(t,new Xe([s])).traverse();if(this._op=="||")return t instanceof fi&&(t=t.opToIfTree()),t instanceof Pt?t.addElse(new Xe([s])):new Pt(t,new Xe([])).addElse(new Xe([s])).traverse()}return this}isExpressable(){return!this._right||this._right.isExpressable()}js(t){var s=null;if(A.tsc()&&this.isBitwise())if(this.isAssignment()){let l=String(this._op).split("=");this._op="=",this._right=oe(l[0],this._left,this._right)}else this._right&&(this._right=this._right.consume(sn)),this._left&&(this._left=this._left.consume(sn));var r=this._op;let i=r;var n=this._left,a=this._right;if(r=="!&")return"("+fs(n)+" "+ve("&",this._opToken)+" "+fs(a)+")==0";if(r=="??")return"("+fs(n)+" "+ve(r,this._opToken)+" "+fs(a)+")";if(r=="|=?")return Pt.ternary(oe("==",new Ot([oe("&",n,a.cache())]),a),E1,new Ot([oe("|=",n,a),ua])).c();if(r=="~=?")return Pt.ternary(oe("&",n,a.cache()),new Ot([oe("~=",n,a),ua]),E1).c();if(r=="^=?")return oe("!!",oe("&",oe("^=",n,a.cache()),a)).c();if(r=="=?")return a.cache(),Pt.ternary(oe("!=",n,a),new Ot([oe("=",n,a),ua]),E1).c();let o=!1;if(r=="isnt"&&(o=!0,r="is"),r=="is"){let l;return a instanceof Ot?(n.cache(),l=a.consume(new We.Is([n,null]))):l=new We.Is([n,a]),o?"!("+l.c()+")":"("+l.c()+")"}if(n instanceof qe&&(n=n.c()),a instanceof qe&&(a=a.c()),n&&a)s||(s=""+n+" "+ve(r,this._opToken)+" "+a);else if(n){let l=this._opToken&&this._opToken.spaced?" ":"";s||(s=""+ve(r,this._opToken)+l+n)}return s}isString(){return this._op=="+"&&this._left&&this._left.isString()}isLogical(){return this._op=="&&"||this._op=="||"||this._op=="or"||this._op=="and"}isBitwise(){return!!zh[this._op]}isAssignment(){return!!Uh[this._op]}shouldParenthesize(){return this._parens}precedence(){return 10}consume(t){var s;if(t==sn){if(this.isBitwise())return this}else t instanceof u1&&(this._left&&this._left.consume(t),this._right&&this._right.consume(t));if(t instanceof We.Is){if(this._op=="!")this._left=this._left.consume(t);else if(this.isLogical())this._left&&(this._left=s=this._left.consume(t)),this._right&&(this._right=s=this._right.consume(t));else if(this instanceof it)return t.clone(this);return this}if(this.isExpressable())return super.consume(...arguments);var r=this.scope__().declare("tmp",null,{system:!0}),i=oe(this._op,this._left,null),n=this._right.consume(i);return t&&n.consume(t),n}},A2=class Cp extends Nt{invert(){var t=this._op,s=["==","!=","===","!==",">","<=","<",">="],r=s.indexOf(t);return r+=r%2?-1:1,this._op=s[r],this._invert=!this._invert,this}c(){return this._left instanceof Cp?(this._left._right.cache(),oe("&&",this._left,oe(this.op(),this._left._right,this._right)).c()):super.c(...arguments)}js(t){var s=this._op,r=this._left,i=this._right;return r instanceof qe&&(r=r.c()),i instanceof qe&&(i=i.c()),""+r+" "+ve(s,this._opToken)+" "+i}},m1=class extends Nt{visit(...e){if(this.op()=="++"||this.op()=="--"){let t=this._left||this._right;t&&(t._assigns=this)}return super.visit(...e)}invert(){return this.op()=="!"?this._left:super.invert(...arguments)}isTruthy(){var e=Ie.truthy(this._left);return e!==void 0?!e:void 0}js(e){var t=this._left,s=this._right,r=this.op(),i=this._opToken&&this._opToken.spaced?" ":"";if(r=="not"&&(r="!"),r=="!"||r=="!!"){var n=t.c(),a=t.shouldParenthesize(this);return(n.match(/^\!?([\w\.]+)$/)||t instanceof Ot||a||t instanceof it||t instanceof ks)&&!n.match(/[\s\&\|]/)||(n="("+n+")"),""+r+n}else return this._left?""+t.c()+i+r:""+r+i+s.c()}normalize(){if(this.op()=="!")return this;var e=(this._left||this._right).node();return this}consume(e){var t=this.normalize();return t==this?super.consume(...arguments):t.consume(e)}c(){var e=this.normalize();return e==this?super.c(...arguments):e.c()}},eu=class extends Nt{js(e,t){if(this._right instanceof ct){let s="typeof ("+this._left.c()+")==="+this._right.c();return e.parent()instanceof Nt&&(s=Di(s)),s}if(this._right instanceof Ot){let s=this._right.consume(new We.Isa([A.tsc()?this._left:this._left.cache(),null,this._op])).c();return s=Di(s),s}if(String(this._op)=="instanceof"||A.tsc()){let s=""+this._left.c()+" "+ve("instanceof",this._opToken)+" "+this._right.c();return e.parent()instanceof Nt&&(s=Di(s)),s}return new We.Isa([this._left,this._right,this._op]).js(e,t)}},tu=class extends Nt{js(e){return"typeof "+this._left.c()}},su=class extends Nt{js(r){var t=this._left,s=this.scope__().temporary(this,{pool:"val"}),r=oe("=",s,t);return"("+r.c()+",delete "+t.c()+", "+s.c()+")"}shouldParenthesize(){return!0}},ru=class extends Nt{js(e,t){if(this._right instanceof Ot){let s=this._right.consume(new We.In([A.tsc()?this._left:this._left.cache(),null])).c();return s=Di(s),s}return new We.In([this._left,this._right]).js(e,t)}},it=class extends Nt{constructor(e,t,s){return super(...arguments),this._expression=!1,this._traversed=!1,this._parens=!1,this._cache=null,this._invert=!1,this._op=e&&e._value||e,this._optok=e,this._left=t,this._right=s,this}get is_namespace(){return this._left instanceof Tt&&this._left.is_namespace}startLoc(){return this._left instanceof hn?this._right.startLoc():(this._left||this._right).startLoc()}endLoc(){return this._right&&this._right.endLoc()}clone(e,t){var s=this.constructor;return new s(this.op(),e,t)}isRuntimeReference(){return this._left instanceof Tt&&this._left._variable instanceof Y2?this._right instanceof Ke?this._right.toString():!0:!1}js(e){var t,s,r=null,i=this._left,n=this._right,a=null,o=A.tsc();if(i instanceof Tt&&i._variable instanceof k1)return i._variable.access(n,i).c();n instanceof tt&&(n=new Ke(n));var l=i||this.scope__().context(),p="",c="";let d=this.safechain()?"?":"";if(this._startLoc||(this._startLoc=(i||n).startLoc()),i instanceof Zs&&e.method()&&e.method().option("inExtension"),n instanceof Qi&&n.value()instanceof zt&&(n=n.value()),n instanceof zt)return n.toNumber()<0&&!A.tsc()?d?this.util().optNegIndex(l,n).c():this.util().negIndex(l,n).c():l.c()+((d?"?.":"")+"[")+n.c()+"]";if(n instanceof Qi&&(n.value()instanceof ct||n.value()instanceof E2)&&(n=n.value()),n instanceof ct&&n.isValidIdentifier()||n instanceof E2&&n.isValidIdentifier()?r=n.raw():n instanceof _u?n=n.value():n instanceof sa||n instanceof Ke&&n.isValidIdentifier()&&(r=n.c()),o){let y="'"+n.c({mark:!1})+"' in "+l.c();if(n instanceof Ke&&n.isPredicate()&&!(i instanceof Ns)){let T=""+l.c()+"."+n.c();return this._call?"("+y+" && "+T+" instanceof Function && "+T+")":this._assigns?"("+y+" && "+l.c()+")."+n.c():"("+y+" && "+T+")"}else if(d&&n instanceof Ke)return this._call?"(("+y+") && "+l.c()+"?."+n.c()+" instanceof Function && "+l.c()+"."+n.c()+")":"(("+y+") && "+l.c()+"?."+n.c()+")"}var v=r?(t=o?ve(".",this._optok):".",l?""+d+t+r:r):(s=n instanceof qe?n.c({expression:!0,as:"value"}):n,(d?"?.":"")+"["+s+"]");let f=e.up(),g=o&&this.option("datatype");return l&&(v=l.c()+v),this instanceof Qn&&(v=ve(v,n._token||n._value)),g&&(!(f instanceof gs)||f._right.node()==this)&&(f instanceof Xe&&(this instanceof Qn||i instanceof Ns),v=v+" as "+g.c()),v=p+v,p&&(v="("+v+")"),v}visit(){let e=this._left;this._left&&this._left.traverse(),this._right&&this._right.traverse(),this._left||(this._left=this.scope__().context())}isExpressable(){return!0}alias(){return this._right instanceof Ke?this._right.alias():super.alias()}safechain(){return String(this._op)=="?."}cache(e){return this._right instanceof N2&&!this._left?this:super.cache(e)}shouldParenthesizeInTernary(){return this._parens||this._cache}datatype(){return super.datatype(...arguments)||this._right.datatype()}},Qn=class extends it{},iu=class extends it{safechain(e){return this._safechain}js(e){return this._right instanceof Ft&&this._right.type()=="meth"&&!(this.up()instanceof ks)?""+this._right.c()+"()":this._right.c()}variable(){return this._right}cache(e){return e===void 0&&(e={}),e.force&&super.cache(e),this}alias(){return this._right._alias||super.alias()}},g1=class extends it{constructor(e,t,s){return super(...arguments),this._traversed=!1,this._invert=!1,this._parens=!1,this._expression=!1,this._cache=null,this._op=e,this._left=t,this._right=s,this}visit(){return this._right&&this._right.traverse(),this._left&&this._left.traverse(),this}js(e){var t=this.up(),s=""+super.js(e);return s}receiver(){return this._left instanceof Zs?q2:null}},y1=class extends it{visit(){return this._right&&this._right.traverse(),this._left?this._left.traverse():this.scope__().context(),this}cache(){return this}},w6=class extends it{cache(e){return e===void 0&&(e={}),e.force?super.cache(...arguments):(this._right.cache(),this)}},nu=class extends nt{},Tt=class extends nt{constructor(e){super(...arguments),this._traversed=!1,this._parens=!1,this._value=e,this._identifier=e,this._token=e._value,this._variable=null}isGlobal(e){return this._variable&&this._variable.isGlobal(e)}get is_global(){return!this._variable||this.is_class&&this._variable._value.isGlobal()}get is_globalThis(){return this._variable&&this._variable==Ws.GLOBAL}get is_class(){return this._variable&&this._variable._value instanceof Vs}get is_import(){return this._variable&&this._variable.is_import}get global_interface(){return!this._variable&&d2[this._token]}get is_namespace(){return!this._variable&&!this._isSelf||this.is_class||this.is_import||this.is_globalThis}startLoc(){return this._token.startLoc()}endLoc(){return this._token.endLoc()}visit(e,t){var s,r,i,n=this.scope__(),a=this.value().symbol();if(t&&t.declaring&&(i=n.register(this.value(),this,{type:t.declaring})),i||(i=n.lookup(this.value().symbol())),i&&i instanceof T1){let o=i.name();i instanceof U2&&!e.tsc()?this._value=i.forScope(n):e.tsc()?this._value=ce(o):e.isNode()?(this._value=ce(n.imba().c()),o!="imba"&&(this._value=ce(""+n.imba().c()+"."+o))):this._value=ce(o)}else if(i&&i._declarator){let o=i.scope();if(o==n&&!i._initialized){let l=n.parent().lookup(this.value());l&&(i._virtual=!0,i._shadowing=l,i=l)}if(i&&i._initialized||n.closure()!=o.closure())return this._variable=i,i.addReference(this),this._value=i,this._token._variable=i,this;(A.ROOT._amperUnresolved||(A.ROOT._amperUnresolved=[])).push(this)}else if(this.value().symbol()=="self")this._value=n.context(),this._isSelf=!0,(A.ROOT._amperSelfRefs||(A.ROOT._amperSelfRefs=[])).push(this);else if(this._identifier.isCapitalized())this._isGlobal=!0;else{let o=n.lookup("self"),l=n.context();if(!o&&l.isGlobalContext())this._includeType=!0;else{if(this._isSelf=!0,(A.ROOT._amperSelfRefs||(A.ROOT._amperSelfRefs=[])).push(this),this.value().symbol()=="constructor"){let p=A.up(Vs);(s=this.datatype())||this.setDatatype(r=new S6(p))}this._value=new Qn(".",new Ns().traverse(),this._value)}}return this}js(e){if(this._tagref)return this._tagref.ref();let t=this._variable||this._value;if(A.tsc()){let s=this.datatype(),r=this.option("generics"),i=t.c();return r&&(i+=r.c()),s?(t.datatype()==s&&t.setDatatype(null),this.datatype().isGeneric()?i+this.datatype().c():Di(i+" as unknown as "+this.datatype().c())):i}return t.c()}node(){return this}datatype(){return super.datatype(...arguments)||this._identifier.datatype()}symbol(){return this._identifier.symbol()}cache(e){return e===void 0&&(e={}),this._variable||this._isGlobal?e.force?super.cache(e):this:super.cache(e)}decache(){return this._variable?super.decache():this.value().decache(),this}dom(){return this.value().dom()}safechain(){return this._identifier.safechain()}dump(){return{loc:this.loc()}}loc(){var e=this._identifier.region();return e||[0,0]}region(){return this._identifier.region()}shouldParenthesizeInTernary(){return this._cache||this._value&&this._value._cache||this._parens}toString(){return"VarOrAccess("+this.value()+")"}toJSON(){return{type:this.typeName(),value:this._identifier.toString()}}},Ts=class extends nt{constructor(e,t){super(e),e instanceof Tt?(e=e.value(),this._variable=null):e instanceof Ft&&(this._variable=e,e=""),this._export=!1,this.set({type:t}),this._type=t&&String(t),this._declared=!0}variable(e){return this._variable}type(e){return this._type}get is_static(){return this.option("static")&&!A.tsc()}datatype(){return super.datatype(...arguments)||(this._value.datatype?this._value.datatype():null)}loc(){return this._value.region()}declare(){return this}consume(e){return this.forceExpression(),this}forceExpression(){if(this._expression!=!0){this._expression=!0;for(let e=0,t=Le(this._variables),s=t.length,r;e<s;e++)r=t[e],r._type="let",r._virtual=!0,r.autodeclare()}return this}visit(e,t){var s=this,r=[],i=e;let n=s.scope__();if(s._variables=n.captureVariableDeclarations(function(){if(s._value.traverse({declaring:s._type,variables:r}),s._value instanceof Ke)return s._value._variable||(s._value._variable=n.register(s._value.symbol(),s._value,{type:s._type,datatype:s.datatype()}))}),s.is_static){s._variables.length>1&&s.warn("Destructuring not supported for static variables",{loc:s.option("static")});for(let a=0,o=Le(s._variables),l=o.length;a<l;a++)o[a].proxy(n.staticsRef(),ce(A.getSymbol()))}return s}js(e,t,s){let r=this._value.c();if(this.option("global")&&!s&&A.tsc()){let n={js:this.js(e,t,!0),kind:this._type,name:r};return ws(n,"declare global { %js }")}let i=A.tsc()&&this.datatype();if(i&&(r=R3(r,i)),this.is_static){let n=this._right?this._right.c({expression:!0}):"null";return""+r+" ??= "+n}if(this._right){let n=this._right.c({expression:!0});r+=" = "+n}if(this._expression)this._value instanceof Ss&&(r="("+r+")");else{if(A.tsc()&&this._variables.length>1&&this._variables.some(function(n){return n.vartype()})){let n=this._type,a="";for(let o=0,l=Le(this._variables),p=l.length,c;o<p;o++)c=l[o],a+=""+ve(n,this._keyword)+" "+R3(c,c.vartype())+`;
`;return this._value instanceof Ss&&(r="("+r+")"),a+=""+r,a}r=""+this._type+" "+r,this.option("export")&&(r=""+ve("export",this.option("export"))+" "+r)}return r}},gs=class Op extends Nt{constructor(t,s,r){return super(...arguments),this._expression=!1,this._traversed=!1,this._parens=!1,this._cache=null,this._invert=!1,this._opToken=t,this._op=t&&t._value||t,this._left=s,this._right=r,this}isExpressable(){return!this._right||this._right.isExpressable()}isUsed(){return!(this.up()instanceof Xe)}visit(){var t=this._left,s=this._right;if(t instanceof Tt&&s instanceof Tt&&t._identifier.symbol()==s._identifier.symbol()&&(this._left=t=new it(".",this.scope__().context(),t._value)),t._assigns=s,t instanceof Ut||t instanceof Ss){let i=function(n){if(n)if(n instanceof Ut||n instanceof Ss){let a=n.nodes?n.nodes():n.value&&n.value().nodes?n.value().nodes():[];for(let o of a)i(o)}else n instanceof ei?i(n._value):n instanceof aa?i(n.value?n.value():n._value):n instanceof Op?i(n._left):n._assigns=s};i(t)}if(t instanceof Ts&&s instanceof S2&&t.traverse(),s&&s.traverse({assignment:!0}),t&&t.traverse(),t.datatype()&&s&&!s.datatype()&&s.setDatatype(t.datatype()),t instanceof it&&t._left&&t._left._variable==Ws.GLOBAL&&(this._globalAssign=!0),A.tsc()&&t instanceof it&&t._left instanceof Tt){let i=t._left._variable}this.option("global")&&t instanceof Ts&&!A.tsc()&&(this._left=t=oe(".",Ws.GLOBAL,t.value()));let r=A.up();return t instanceof Ts&&!(r instanceof Xe)&&!(r instanceof j2)&&!(r instanceof D2)&&t.forceExpression(),this}c(t){return this._right.isExpressable()?super.c(t):(this._left instanceof Ts&&(!(this._right instanceof ri)||this._expression)&&this._left.forceExpression(),this._right.consume(this).c(t))}js(t,s){if(this.option("global")&&!s&&A.tsc()){let l=this.js(t,!0),p=this._left.value(),c=this._left.type(),d={js:l,kind:this._left.type(),name:p,localName:new n1(p)};return ws(d,`%js
type %localName = typeof %name
declare global { var %name : %localName }`)}if(!this._right.isExpressable())return this.p("Assign#js right is not expressable "),this._left instanceof Ts&&this._left.forceExpression(),this._right.consume(this).c();this._expression&&this._left.forceExpression();var r=this._left.node(),i=this._right,n=null;if(r instanceof Ns){var a=this.scope__().context();r=a.reference()}if(r instanceof Ts)return r._right=i,r.c();if(A.tsc()&&r instanceof it&&r.is_namespace&&String(this.op())=="="&&A.is_top_level){let l=r._left,p=new n1(r,r._right),c=l.global_interface,d={global:!l._variable,sysname:p,namespace:r._left,name:r._right,value:this._right.c({expression:!0})};Object.assign(d,c||{});try{d.export=this.option("export")||!!l._variable._value.isExported()}catch{}try{d.path=l._variable.importPath()}catch{}let v=d.path?`var @sysname = @value
declare module %path { namespace @namespace { var @name : typeof @sysname } }`:l.is_globalThis?`var @sysname = @value
declare global { var @name : typeof @sysname }`:d.interface?`var @sysname = @value
declare global { interface @interface { @name : typeof @sysname } }`:l.is_global?`var @sysname = @value
declare global { namespace @namespace { var @name : typeof @sysname } }`:`var @sysname = @value
%export declare namespace @namespace { var @name : typeof @sysname }`;return ws(d,v)}n||(n=r.c()),A.tsc()&&this.op()=="||="&&(this._op="  =");var o=""+n+" "+this.op()+" "+this._right.c({expression:!0});return r instanceof Ss&&(o="("+o+")"),o}shouldParenthesize(t){return t===void 0&&(t=this.up()),this._parens||t instanceof Nt&&t.op()!="="}consume(t){if(t instanceof kt)return this._right instanceof kt?(this._right.set({assign:this._left}),this._right.consume(t)):this;if(t instanceof As&&this._left instanceof Ts){if(A.tsc()){let r=this._right,i=this._left._variables,n=i[0]?new nu(i[0]).consume(t):t;return new Xe([this,ut,n])}this._left.forceExpression()}if(this.isExpressable())return this.forceExpression(),super.consume(t);var s=this._right.consume(this);return s.consume(t)}},ti=class extends gs{register(e){return this._consumed||(this._consumed=[]),this._consumed.push(e),this}js(e){return""+this._left.c()+".push("+this._right.c()+")"}consume(e){return this}},au=class extends ti{js(e){return""+this._left.c()+".push("+this._right.c()+")"}consume(e){return this}},ou=class extends gs{},lu=class extends gs{consume(e){if(this.isExpressable())return super.consume(...arguments);var t=this.normalize();return t!=this||(t=this._right.consume(this)),t.consume(e)}normalize(){var e=this._left.node();if(!(e instanceof g1))return this;e._left&&e._left.cache();var t=oe("=",this._left,oe(this.op()[0],this._left,this._right));return t.isExpressable()&&t.toExpression(),t}c(){var e=this.normalize();if(e==this)return super.c(...arguments);var t=A.current();return t instanceof Xe&&t.replace(this,e),e.c()}},ea=class Dp extends qe{constructor(t,s){super(...arguments),this._value=t,this._source=s,this._optional=!1,this._replaced=null}add(t){return this._parts.push(t)}startLoc(){return(this._source||this._value).startLoc()}endLoc(){return(this._source||this._value).endLoc()}asParam(t){return"@param {"+this.asRawType()+"} "+t}isGeneric(){return String(this._value)[0]=="<"}asGenericNames(){return this._genericNames||(this._genericNames=new Un(O_(this.plain()),this))}hasSelfReference(){return this._value.match(/(^|[\\\[\,\<\(])(typeof )?self([\[\<\]\,\)\>]|$)/g)}withReplacedThis(t){return this.c().replace(/(^|[\[\,\<\\\/\(]|typeof )this([\\\/\[\]\,\)\>]|$)/g,"$1"+t+"$2")}makeGeneric(t){return this._generic||(this.asRawType(),this._generic=new Dp(this._value,this._source),this._generics?(this._generic._replaced=t,this._genericWrap&&(this._replaced=this._plain.replace("$$GENERIC$$",t))):this._generics||(this._generic._replaced=this._genericWrap?t:t+" extends ("+this._plain+")",this._replaced=this._genericWrap?this._plain.replace("$$GENERIC$$",t):t)),this._generic}visit(){return this.asRawType(),this}plain(){return this.asRawType(),this._plain}asRawType(){var t=this;if(t._rawType)return t._rawType;let s=!1,r=String(t._value);return r[0]=="\\"&&(r=r.slice(1)),r[0]=="("&&r[r.length-1]==")"&&(r=r.slice(1,-1)),r.slice(-1)=="?"&&(t._optional=!0,r=r.slice(0,-1)),r=r.replace(/(^|[\[\,])\<([a-z\-\d]+)\>/g,function(i,n,a){return t.isGeneric()&&!n?i:n+new ia(a).toClassName()}),r=r.replace(/(^|[\[\,\<\\])self([\[\]\,\)\>]|$)/g,function(i,n,a){return n+"this"+a}),r=r.replace(/(^|[\[\,\<\(\s])(\$\d*)(?=[\=\[\s\]\,\)\>]|$)/g,function(i,n,a,o){return a=="$"?(t._genericWrap=!0,n+"$$GENERIC$$"):(t._generics||(t._generics=new Set),t._generics.add(a),i)}),t._plain=r,t._rawType=ve(r,t)}asIteratorValue(){return this.wrapDoc(this.asRawType()+"[]")}wrapDoc(t){return"/**@type {"+t+"}*/"}toString(){return this.asRawType()}c(){return A.tsc()?this._replaced?ve(this._replaced,this):this.asRawType():(console.warn("Not supposed to compile TypeAnnotation when targeting "+A.platform(),Gs.sourcePath),"/**@type {"+this.asRawType()+"}*/")}},S6=class extends ea{constructor(e){super(...arguments),this._value=e,this._source=e._name}visit(){return this}c(){return"(typeof "+this._source.c()+")"}},hu=class extends ea{},Ke=class bl extends qe{constructor(t){super(...arguments),t instanceof tt&&(this._startLoc=t.startLoc()),this._value=this.load(t),this._symbol=null,(""+t).indexOf("?")>=0&&(this._safechain=!0)}safechain(t){return this._safechain}value(t){return this._value}variable(t){return this._variable}isStatic(){return!0}toRaw(){return this._value._value||this._value}add(t){return new Xs(this).add(t)}references(t){return this._value&&(this._value._variable=t),this}metaIdentifier(){return new bl("\u03B1\u03B1"+Ie.sym(this._value))}load(t){return t instanceof bl?t.value():t}traverse(){return this}visit(){return this._value instanceof qe&&this._value.traverse(),this}region(){return[this._value._loc,this._value._loc+this._value._len]}startLoc(){return this._startLoc||this._value&&this._value.startLoc?this._value.startLoc():null}endLoc(){return this._endLoc||this._value&&this._value.endLoc?this._value.endLoc():null}loc(){return[this.startLoc(),this.endLoc()]}isValidIdentifier(){return Oh(this.symbol())}isReserved(){return this._value.reserved||Q_.test(String(this._value))}isPredicate(){return/\?$/.test(String(this._value))}isCapitalized(){return/^[A-Z]/.test(String(this._value))}isInternal(){return/^\$/.test(String(this._value))}symbol(){return this._symbol||(this._symbol=Ie.sym(this._value))}toString(){return String(this._value)}toStr(){return new ct("'"+this.symbol()+"'")}toAttrString(){return new ct("'"+String(this._value)+"'")}toJSON(){return this.toString()}alias(){return Ie.sym(this._value)}js(t){return this._variable?this._variable.c():this.symbol()}c(t){if(t){if(t.as=="value")return"'"+this.symbol()+"'";if(t.as=="meta")return"'"+this.symbol()+"'";if(t.as=="namespaced"&&t.ns)return ve("\u03A3"+t.ns+"\u03A3"+this.symbol(),this._token||this._value);if(t.as=="field"&&!this.isValidIdentifier())return ve("['"+this.symbol()+"']",this._token||this._value);if(t.as=="key"&&!this.isValidIdentifier())return"'"+this.symbol()+"'"}let s=A.current();if(s instanceof We&&!(s instanceof We.Iterable)&&!(s instanceof We.Is))return this.toStr().c();let r=this.js();return Gs.sourcemap&&(!t||t.mark!==!1)&&(r=ve(r,this._token||this._value)),r}dump(){return{loc:this.region()}}namepath(){return this.toString()}shouldParenthesizeInTernary(){return this._parens||this._cache}registerVariable(t,s){return s===void 0&&(s=this.scope__()),this._variable=s.register(this.symbol(),this,{type:t}),this}resolveVariable(t){t===void 0&&(t=this.scope__());let s=t.lookup(this.symbol());return this._variable=s,this}},ta=class extends Ke{symbol(){return Us(String(this._value))}toString(){return this.symbol()}},cu=class extends qe{constructor(e){super(...arguments),this._value=e}toString(){return this._value}asObjectKey(){return"["+this._value+"]"}c(e){return e===void 0&&(e={}),e.as=="field"?"["+this._value+"]":this._value}},sa=class extends Ke{c(e){if(e===void 0&&(e={}),A.tsc())return this.variable().c();let t=this.variable().c();return e.as=="field"?"["+t+"]":t}variable(){return this._variable||(this._variable=this.scope__().root().symbolRef(this._value.slice(0)))}metaIdentifier(){return this.scope__().root().symbolRef("__"+this._value.slice(0))}isConstant(){return!0}asObjectKey(){return"["+this.c()+"]"}toString(){return this.c()}resolveVariable(){return this}registerVariable(){return this}},Xs=class extends qe{constructor(e){super(...arguments),this._static=!0,this._nodes=[this._single=e]}add(e){return this._nodes.push(e),this._single=null,this}isPrimitive(){return this._single&&this._single instanceof tt}isStatic(){return this.isPrimitive()}visit(){for(let e=0,t=Le(this._nodes),s=t.length,r;e<s;e++)r=t[e],r instanceof qe&&r.traverse();return this}asObjectKey(){return this.isPrimitive()?""+this._single.c():this._single&&!this.option("prefix")?"["+this._single.c()+"]":"["+this.asString()+"]"}startLoc(){var e;return(e=this._nodes[0])&&e.startLoc&&e.startLoc()}endLoc(){var e;return(e=this._nodes[this._nodes.length-1])&&e.endLoc&&e.endLoc()}asIdentifier(){return this._single&&!this.option("prefix")?"["+this._single.c()+"]":"["+this.asString()+"]"}asString(){let e="`";this.option("prefix")&&(e+=this.option("prefix"));for(let t=0,s=Le(this._nodes),r=s.length,i;t<r;t++)i=s[t],i instanceof tt?e+=i.value():(e+="${",e+=i.c(),e+="}");return e+="`",e}toRaw(){return this._single?this._single.c():""}toString(){return this.toRaw()}js(e,t){return t===void 0&&(t={}),t.as=="string"||e.parent()instanceof We?this.asString():t.as=="key"||this.option("as")=="property"?this.asObjectKey():t.as=="access"?!0:this._single&&this._single instanceof qe?this._single.c(t):this.asString()}};Xs.wrap=function(e){return e};var T6=class extends Xs{constructor(e,t){super(t),this._single=null,this.set({prefix:e._value})}asString(){return"Symbol.for("+super.asString(...arguments)+")"}},ra=class extends Ke{symbol(){return"mixin$"+this._value.slice(1)}traverse(e){return this._traversed?this:(this._mixin=this.scope__().mixin(this._value.slice(1)),this._variable||this.resolveVariable(),this._traversed=!0)}c(e){if(e&&(e.as=="string"||e.as=="substr")){let r=this.toFlags().map(function(i){return i instanceof Ft?"${"+i.c()+"}":i.raw()}).join(" ");return e.as=="string"?"`"+r+"`":r}let t=A.current();if(t instanceof We&&!(t instanceof We.Iterable))return this.toStr().c();let s=this.js();return Gs.sourcemap&&(!e||e.mark!==!1)&&(s=ve(s,this._token||this._value)),s}toString(){return this.symbol()}toFlagName(){return this.symbol()}toFlags(){if(this._parts)return this._parts;this.traverse();let e=this._variable,t=[],s=e;for(;s;)s._declarator instanceof oi?t.push(pt(s._declarator._name)):t.push(s),s=s._parent;return this._parts=t}},uu=class extends Ke{symbol(){return this._symbol||(this._symbol=Ie.sym("__"+this.value()))}add(e){return new Xs(this.value()).add(e).set({prefix:"__",private:!0})}},k6=class extends nt{constructor(e){super(...arguments),this._value=e instanceof Ke?e.value():e}js(){return""+this.scope__().imba().c()+".getElementById('"+this.value().c()+"')"}},N2=class extends Ke{constructor(e){super(...arguments),this._value=e instanceof Ke?e.value():e}name(){return ko(this._value).replace(/^[\#]/,"")}alias(){return this.name()}js(e){return this.symbol()}},pu=class extends nt{name(){return this._name||(this._name=this._value.js())}visit(){var e;if(this._token=this._value,this._variable=this.scope__().lookup(this.name()),this._value._variable||(this._value._variable=this._variable),this._variable||(this._value=this.runtime()[this.name()]),this._call&&this._call.traverse(),this.option("params")&&(this._params=this.option("params"),this._params.traverse()),e=this.up())return e._decorators||(e._decorators=[]),e._decorators.push(this)}tscGetter(e,t){t===void 0&&(t=null);let s=this._value.c();return this._params?s+="("+this._params.c({expression:!0})+")":s+="()",t&&(s+=".wrap("+t+")"),s}c(){if(A.current()instanceof Xn)return;let e;return A.tsc()?e="@"+ve(this._value,this._token):e=this._value.c(),this._params?e+=".bind(["+this._params.c({expression:!0})+"])":e+=".bind([])",e}},du=class extends qe{constructor(e,t){super(...arguments),this._name=e}params(e){return this._params}setParams(e){return this._params=e,this}value(e){return this._value}context(e){return this._context}visit(e){return this._params&&this._params.traverse(),this._value&&this._value.traverse(),this}js(){if(this._context){let e=oe(".",this._context,this._name);if(this._value)return oe("=",e,this._value).c();let t=oe("isa",e,ce("Function")),s=this._params||(this._value?[this._value]:[]),r=this._params&&this._params.first()||this._value||ua,i=rt(e,s),n=oe("=",e,r);return A.tsc()?(s.length==0&&s.push(ce("true")),i.c()):_2(t,i,n).c()}}},I2=class extends qe{constructor(e,t){super(...arguments),e instanceof tt?this._name=this._value=new ta(e):(this._value=e,this._value._parens=!0),this._chain=[],this._special=!1,this._params=null}name(e){return this._name}setName(e){return this._name=e,this}value(e){return this._value}params(e){return this._params}setParams(e){return this._params=e,this}visit(e){let t=e._descriptor;if(e._descriptor=this,this._name){if(this._variable=this.scope__().lookup(this._name.js()),this._value._variable||(this._value._variable=this._variable),!this._variable){let s=e.up(Vs);A.tsc()&&s&&s.isExtension()?(this._selfValue=ce("self"),this._value=oe(".",this._selfValue,this._name)):this._value=oe(".",vt,this._name)}}else this._value&&this._value.traverse();return this._params&&this._params.traverse(),this._chain.map(function(s){return s.traverse()}),(this._callback=this.option("callback"))&&this._callback.traverse(),this.option("default")&&(this._default=this.option("default"),this._default instanceof ms&&(this._literal=this._default),this._default instanceof ot||(this._default=new ot([],[this._default],null,{})),this._default.traverse()),e._descriptor=t}valueIsStatic(){return!this._value||this._value.isPrimitive()||this._value instanceof ot&&!this._value.nonlocals()}isStatic(){return this.valueIsStatic()}isProxy(){return!1}add(e,t){return e instanceof _s?e._generated?this.set({callback:e}):t=="="?(this._last||this)._value=e._nodes[0]:(this._last||this).setParams(e||new Mt([])):this._chain.push(this._last=new du(e)),this}fieldRegistryDecoratorName(){if(!this._name||this._chain&&this._chain.length)return null;let e=String(this._name.toRaw()).replace(/^@/,"");return e.match(/^[A-Za-z_$][0-9A-Za-z_$]*$/)?e:null}fieldRegistryArgs(){let e=[];if(this._params)for(let t=0,s=Le(this._params),r=s.length;t<r;t++)e.push(this.fieldRegistryArgType(s[t]));return e}fieldRegistryArgType(e){var t;return(t=this.fieldRegistryArgReference(e))?{instanceType:t.name,constructorType:"typeof "+t.name,target:t.target}:{instanceType:"unknown",constructorType:"unknown",target:null}}fieldRegistryArgReference(e){if(e&&e.unwrappedNode&&(e=e.unwrappedNode()),e instanceof Tt){let t=e._variable,s=e.c({mark:!1});if(t){if(t.value()instanceof Vs){let r=t.value(),i=null;return r._name&&r._name.option("generics")||(i={name:s,export:r.isExported(),global:r.isGlobal()}),{name:s,target:i}}else if(t.isImported()){let r=t._declarator,i=null;return r&&r._cname!="default"&&t.importPath()&&(i={name:r._cname,module:t.importPath()}),{name:s,target:i}}else if(t.isGlobal(null))return{name:s,target:{name:s,global:!0}}}else if(e._isGlobal)return{name:s,target:{name:s,global:!0}}}else if(e instanceof it&&e.is_namespace)return{name:e.c({mark:!1}),target:null};return null}js(){let e=this.scope__().root().declare("desc",null,{system:!0}),t=A.tsc(),s=this._variable?new na(rt(this._value,this._params||[])):this._name?rt(this._value,this._params||[]):this._value,r=Ie.blk([]);for(let i=0,n=Le(this._chain),a=n.length,o;i<a;i++)o=n[i],o._context=e,r.push(o);if(this._default&&r.add(ce(""+e.c()+".default = "+this._default.c())),this._literal&&r.add(ce(""+e.c()+".default.literal = "+this._literal.c())),this._callback&&!t&&r.add(ce(""+e.c()+".callback = "+this._callback.c())),t){r.add(ce("$"+e.c()));let i=this._selfValue||vt;return"((self,$"+e.c()+"="+s.c({mark:!0})+","+e.c()+"=imba.descriptor($"+e.c()+"))=>("+r.c()+"))("+i.c()+")"}return r.add(e),r.unshift(oe("=",e,s)),"("+r.c({expression:!0})+")"}},fu=class extends Ke{symbol(){return this._symbol||(this._symbol=Ie.sym(this.value()))}js(e){return this._variable?this._variable.c():this.symbol()}traverse(){if(this._traversed)return this;this._traversed=!0;var e=A.current();return(!(e instanceof it)||e._left==this)&&(this.symbol()=="Imba"?this._variable=this.scope__().imba():this._variable=this.scope__().lookup(this.value())),this}c(){return this.option("export")?"exports."+this._value+" = "+this.js():super.c(...arguments)}},ia=class extends Ke{constructor(e){super(...arguments),this._token=e,this._value=this.load(e)}name(e){return this._name}setName(e){return this._name=e,this}startLoc(){return this._token&&this._token.startLoc&&this._token.startLoc()}endLoc(){return this._token&&this._token.endLoc&&this._token.endLoc()}toFunctionalType(){let e=new Ke(this._token);return this.isClass()||(e=new Tt(e)),e}load(e){this._str=""+e;var t=this._str.split(":");return this._raw=e,this._name=t.pop(),this._ns=t.shift(),this._str}traverse(e){return this._traversed?this:(this._traversed=!0,this.isClass()&&(e&&e.declaring?(this.registerVariable("const",e.declscope||A.scope()),this._variable&&(this._variable._value=e.declaring,this._variable)):this.resolveVariable()),this)}js(e){return"'"+this.toNodeName()+"'"}c(){return this.js()}func(){var e=this._name.replace(/-/g,"_").replace(/\#/,"");return this._ns&&(e+="$"+this._ns.toLowerCase()),e}nativeCreateNode(){let e=this.scope__().root()._document.c();return this.isSVG()?rt(ce(""+e+".createElementNS"),[pt("http://www.w3.org/2000/svg"),pt(this._name)]):rt(ce(""+e+".createElement"),[pt(this._name)])}isClass(){return!!this._str.match(/^[A-Z]/)}isLowerCase(){return!this._name.match(/^[A-Z]/)}isNative(){return!this._ns&&Yn.HTML.indexOf(this._str)>=0}isNativeHTML(){return(!this._ns||this._ns=="html")&&Yn.HTML.indexOf(this._name)>=0}isNativeSVG(){return this._ns=="svg"&&Yn.SVG.indexOf(this._str)>=0}isSVG(){return this._ns=="svg"||!this.isNative()&&!this._ns&&T3["svg_"+this._str]}isAsset(){return!1}toAssetName(){return this.isAsset()?this._str:null}symbol(){return this._str}isCustom(){return!this.isNative()&&!this.isNativeSVG()}isComponent(){return!this.isNative()&&!this.isNativeSVG()}toSelector(){return this.toNodeName()}resolveVariable(e){e===void 0&&(e=this.scope__());let t=this.scope__().lookup(this._str);return this._variable=t,this}toVarPrefix(){return this._str.replace(/[\:\-]/g,"")}toExtensionName(){return"\u0393"+Us(this._str)}toClassName(){let e=this._str;if(e=="element")return"Element";if(e=="component")return"imba.Component";if(e=="svg:element")return"SVGElement";if(e=="htmlelement")return"HTMLElement";if(e=="fragment")return"DocumentFragment";let t=T3[this.isSVG()?"svg_"+this._name:this._name];return t?t.name:this._str=="fragment"?"DocumentFragment":this.isClass()?this._str:A.tsc()?"\u0393"+Us(this._str):$h(this._str+"-component")}toTscName(){return this._str.replace(/\-/g,"_")+"$$TAG$$"}sourceId(){return this._sourceId||(this._sourceId=A.sourceId()+"-"+A.generateId("tag"))}toNodeName(){return this.isClass()?this._nodeName||(this._nodeName=Ch(this._str+"-"+this.sourceId())):this._str}toTypeArgument(){return this._variable?this._variable.c():this._name}id(){var e=this._str.match(/\#([\w\-\d\_]+)\b/);return e?e[1]:null}flag(){return"_"+this._name.replace(/--/g,"_").toLowerCase()}sel(){return"."+this.flag()}string(){return this.value()}toString(){return this.value()}},_u=class extends nt{js(){return"["+this.value().c()+"]"}},E6=class extends nt{c(){var e=parseInt(String(this.value())),t="arguments";if(e>0){var s=this.scope__(),r=s.params&&s.params();if(r){var i=r.at(e-1,!0);t=""+Ie.c(i.name())}else this.error("'$"+e+"' is only available inside a method or block")}return ve(t,this._token||this._value)}},mu=class extends qe{constructor(e){super(...arguments),this._value=e}loc(){return this._value.loc()}c(){return this.error("Function missing for & placeholder")}},A6=class extends nt{visit(e){var t;let s=e.up(function(n){return n instanceof _s||n instanceof Xe||n instanceof tn||n instanceof As||n instanceof ii}),r=e.relative(s,1),i=e.relative(r,1);if(r instanceof gs&&e._nodes.indexOf(r._left)==-1){if(!(r._right instanceof tn)){let n=r._right,a=(r._right=t=new tn([],n),t)}return this}if(!(r instanceof tn)){let n=new tn([],r);s.replace(r,n)}return this}c(){return"v$"}},N6=class extends qe{constructor(e,t){super(...arguments),this._value=e,this._string=t}value(e){return this._value}visit(){return this._value instanceof qe&&this._value.traverse(),this._string.traverse(),this._string.isTemplate()||this._string.warn("Only `` strings allowed in template literals"),this}js(){return this._value.c()+this._string.c({as:"template"})}},ks=class extends qe{constructor(e,t,s){if(super(...arguments),this._traversed=!1,this._expression=!1,this._parens=!1,this._cache=null,this._receiver=null,this._opexists=s,e instanceof si&&(e=e._callee),e instanceof Zs)return e._args=this instanceof si?[]:t,e;if(e instanceof Tt){var r=e.value().symbol();if(r=="extern")return e.value().value()._type="EXTERN",new gu(t);if(r=="tag"&&t&&t._generated&&(this._bareTagCall=!0),r=="export")return new j2(t);if(r=="rescue")return new X3([],t)}return this._callee=e,this._args=t||new _s([]),t instanceof Array&&(this._args=new _s(t)),e instanceof pu?(e._call=this,e):this}block(e){return this._block}visit(){this._args.traverse(),this._callee.traverse(),this._bareTagCall&&this._callee.error("Bare calls to `tag` are reserved for tag declarations; use `tag(...)` instead");let e=this._callee.isRuntimeReference();if(this._callee instanceof it&&this._callee._left.isGlobal("import")){let t=this._args.first(),s=this._callee._right.toString();if(t instanceof ct){this._callee=ce("");let r=A.root().registerAsset(t.raw(),""+s,this,t);this._args.replace(t,r.ref)}}else if(this._callee.isGlobal("import")){let t=this._args.first(),s=t instanceof ct&&t.raw();if(s){let r=s.split(".").pop();(G_[r]||s.indexOf("?")>=0)&&(this._asset=A.root().registerAsset(s,"",this,t),this._args.replace(t,this._asset.ref))}}else if(this._callee.isGlobal("require")){let t=this._args.first(),s=t instanceof ct&&t.raw()}if(e=="asset"){let t=this._args.first();if(t instanceof ct){let s=A.root().registerAsset(t.raw(),"asset",this);this._args.replace(t,s.ref)}}if(this._block&&this._block.traverse(),this instanceof si&&this._args.count()==0&&this.option("keyword")){let t=this.option("keyword");this._args.setEnds(t,t)}return this}addBlock(e){var t=this._args.filter(function(s,r){return s instanceof mu})[0];return t&&(t._block=e),t?this._args.replace(t,e):this._args.push(e),this}receiver(){return this._receiver||(this._receiver=this._callee instanceof it&&this._callee._left||vr)}safechain(){return this._callee.safechain()}shouldParenthesizeInTernary(){return this._parens||this.safechain()||this._cache}startLoc(){return this._startLoc||this._callee&&this._callee.startLoc?this._callee.startLoc():0}endLoc(){return this._endLoc||this._args&&this._args.endLoc()||this._callee.endLoc()}js(e){var t,s;if(this._asset)return this._asset.ref.c();var r={expression:!0},i=null,n=this._args,a=n.some(function(y){return y instanceof aa}),o=null,l=null,p=null,c=null,d=this._callee=this._callee.node(),v=d._variable;if(d instanceof it&&(d._call=this,l=d._left,p=d._right),d instanceof Zs&&(t=A.method())&&t.option("inExtension")&&(d=oe(".",d,t.name()),this._receiver=this.scope__().context()),d instanceof g1&&(this._receiver=d.receiver(),d=this._callee=new it(d.op(),d._left,d._right)),v===Ws.ASSERT&&!a&&n.first()&&(n._nodes[0]=new D3(n.first())),v===Ws.EQ&&!a&&n.count()>=2){let y=n.index(0),T=n.index(1),_=A.SOURCECODE,b=this.loc(),m=y.loc(),C=T.loc(),k=JSON.stringify(_.slice(b[0],b[1])),L=JSON.stringify(_.slice(m[0],m[1])),x=JSON.stringify(_.slice(C[0],C[1])),E=y.cache().c(e),N=T.cache().c(e),S=["source:"+k,"actual:{source:"+L+",value:"+E+"}","expected:{source:"+x+",value:"+N+"}"].join(","),D=[y.c({expression:!0,mark:!1}),T.c({expression:!0,mark:!1})];for(var f=2;f<n.count();){let V=n.index(f);V&&D.push(V.c({expression:!0,mark:!1})),f++}return"(globalThis.IMBA_EQ={"+S+"},"+d.c({expression:!0})+"("+D.join(",")+"))"}if(v===Ws.L){let y="\x1B[90m",T="\x1B[44m",_="\x1B[42m",b="\x1B[100m",m="\x1B[40m",C="\x1B[97m",k="\x1B[32m",L="\x1B[30m",x="\x1B[0m";d=ce("globalThis.DEBUG_IMBA && console.debug");let E=A.SOURCECODE,N=A.isWeb(),S=[],D=[];N?(S.push(ce("%c%s%c")),D.push(ce("'color:gray'")),D.push(ce("'::'")),D.push(ce("'color:white'"))):(S.push(ce("%s")),D.push(ce("'"+y+"::"+x+"'")));let V=[],M=A.option("devlog")||!1;for(let W=0,Q=Le(n),le=Q.length,ae;W<le;W++){ae=Q[W];var s=Le(ae.loc());let pe=s[0],Je=s[1],st=E.slice(pe,Je).replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t");M?(ae instanceof ct||ae instanceof zt||ae instanceof d1?V.push(ce("''")):V.push(pt(st)),V.push(ae)):ae instanceof ms&&!(ae instanceof Ns||ae instanceof Mr||ae instanceof Ut)?N?(S.push(ce("%c%s%c")),D.push(ce("'background-color:black;color:#56ff89'")),D.push(ce("'"+st+"'")),D.push(ce("'background-color:none;color:white'"))):(S.push(ce("%s")),D.push(ce("'"+m+k+st+x+"'"))):(N?(S.push(ce("%c%s%c")),D.push(ce("'background-color:#4c73e8;color:white'")),D.push(ce("'"+st+"'")),D.push(ce("'background-color:none;color:white'")),S.push(ce("%o"))):(S.push(ce("%s")),D.push(ce("'"+T+C+st+x+"'")),S.push(ce("%O"))),D.push(ae))}if(M){let W=[new Ut(V),this.scope__().context()],Q=A.up(gr);Q&&W.push(pt(Q.rawName()));let le=this.scope__().root().l();return A.use("devlog"),"(globalThis.DEBUG_IMBA && (l$="+W_("devlog$",W).c()+",l$ && console.debug(...l$)))"}else n=new _s([].concat(['"'+S.join(" ")+'"'],Array.from(D)))}let g="";if(d instanceof it&&d.op()=="?."&&(g="?."),this._receiver)this._receiver instanceof hn||this._receiver.cache(),n.unshift(this._receiver),o=""+d.c({expression:!0})+".call("+n.c({expression:!0,mark:!1})+")";else{let y="("+n.c({expression:!0,mark:!1})+")";o=""+d.c({expression:!0})+g+ve(y,this._args)}return c&&(this._cache&&(this._cache.manual=!0,o="("+this.cachevar().c()+"="+o+")"),o=[c[0],o,c[1]].join("")),o}},si=class extends ks{},na=class extends nt{js(e){return""+ve("new",this.keyword())+" "+this.value().c()}};na.for=function(e,t){return e instanceof ai?e.set({unmemoized:t}):new this(e).set({keyword:t})};var I6=class extends ks{visit(){return this.keyword().warn("Value.new is deprecated - use new Value"),super.visit(...arguments)}js(e){for(var t=this._callee;t instanceof it;){let r=t._left;if(r instanceof g1||r instanceof Tt){this._callee._parens=!0;break}t=r}var s=""+ve("new",this.keyword())+" "+ve(this._callee.c(),this._callee);return e.parent()instanceof ks||e.parent()instanceof si||(s+="()"),s}},gu=class extends Mt{visit(){this._nodes=this.map(function(s){return s.node()});var e=this.scope__();for(let s=0,r=Le(this.nodes()),i=r.length,n;s<i;s++){n=r[s];var t=e.register(n.symbol(),n,{type:"global"});t.addReference(n)}return this}c(){return"// externs"}},L2=class extends qe{loc(){return this._body?this._body.loc():[0,0]}},rn=class extends L2{isExpressable(){return!1}},Pt=class ba extends L2{constructor(t,s,r){super(...arguments),r===void 0&&(r={}),this.setup(),this._test=t,this._body=s,this._alt=null,this._type=r.type,this._type=="unless"&&this.invert(),this._scope=new Ou(this)}test(t){return this._test}body(t){return this._body}scope(t){return this._scope}addElse(t){return this._alt&&this._alt instanceof ba?this._alt.addElse(t):(this._alt=t,t instanceof ba&&(t._prevIf=this)),this}loc(){return this._loc||(this._loc=[this._type?this._type._loc:0,this._body.loc()[1]])}invert(){return this._test instanceof A2?this._test=this._test.invert():this._test=new m1("!",this._test,null)}visit(t){var s=this._alt,r=this._scope;r&&r.visit(),this._test&&(this._scope=null,this._test.traverse(),this._scope=r),this._tag=t._tag;for(let i=this._scope._varmap,n,a=0,o=Object.keys(i),l=o.length,p;a<l;a++)p=o[a],n=i[p],n.type()=="let"&&(n._virtual=!0,n.autodeclare());return!t._analyzing&&!t.tsc()&&(this._pretest=Ie.truthy(this._test),this._pretest===!0?(s=this._alt=null,this._test instanceof S1&&(this._preunwrap=!0)):this._pretest===!1&&(this.loc(),this._body=null)),this._body&&this._body.traverse(),s&&(A.pop(this),s._scope||(s._scope=new z2(s)),s.traverse(),A.push(this)),this._type=="?"&&this.isExpressable()&&this.toExpression(),this}js(t){var s,r,i=this._body,n={braces:!0,indent:!0};if(this._pretest===!0&&this._preunwrap){let c=i?i.c({braces:!!this._prevIf}):"true";return this._prevIf||(c=Ha(c)),t.isExpression()&&(c="("+c+")"),c}else this._pretest;if(t.isExpression()){(r=this._test)&&r.shouldParenthesizeInTernary&&r.shouldParenthesizeInTernary()&&(this._test._parens=!0);var a=this._test.c({expression:!0}),o=i?i.c():"true";if(i&&i.shouldParenthesizeInTernary()&&(o="("+o+")"),this._alt){var l=this._alt.c();return this._alt.shouldParenthesizeInTernary()&&(l="("+l+")"),""+a+" ? "+o+" : "+l}else return this._tag?""+a+" ? "+o+" : void(0)":""+a+" && "+o}else{o=null,a=this._test.c({expression:!0}),i instanceof Xe&&i.count()==1&&!(i.first()instanceof c1)&&(i=i.first()),o=i?i.c({braces:!0}):"{}";var p=""+ve("if",this._type)+" ("+a+") "+o;return this._alt&&(p+=" else "+this._alt.c(this._alt instanceof ba?{}:n)),p}}shouldParenthesize(){return!!this._parens}consume(t){if(t instanceof kt){if(t.flag(lt.TAG_HAS_BRANCHES),t.body()==this){let r=this._body?[this._body]:[],i=this._alt;for(;i instanceof ba;)i._body&&r.push(i._body),i=i._alt;i&&r.push(i);for(let n=0,a=Le(r),o=a.length;n<o;n++)t._branches.push([]),a[n].consume(t);return this}return t instanceof nn?(this._body&&(this._body=this._body.consume(t)),this._alt&&(this._alt=this._alt.consume(t)),this):t.register(this)}if(t instanceof au||t instanceof Su)return t.register(this),this._body&&(this._body=this._body.consume(t)),this._alt&&(this._alt=this._alt.consume(t)),this;var s=t instanceof As;return this._expression||(!s||this._type=="?")&&this.isExpressable()?(this.toExpression(),super.consume(t)):(this._body&&(this._body=this._body.consume(t)),this._alt&&(this._alt=this._alt.consume(t)),this)}isExpressable(){var t=(!this._body||this._body.isExpressable())&&(!this._alt||this._alt.isExpressable());return t}};Pt.ternary=function(e,t,s){var r=new Pt(e,new Xe([t]),{type:"?"});r.addElse(new Xe([s]));let i=e&&e.startLoc?e.startLoc():null,n=s&&s.endLoc?s.endLoc():null;return typeof i=="number"&&(r._startLoc=i),typeof n=="number"&&(r._endLoc=n),r};var ri=class extends Or{constructor(e){super(...arguments),e===void 0&&(e={}),this._traversed=!1,this._options=e,this._body=null}scope(e){return this._scope}body(e){return this._body}loc(){var e=this._options.keyword,t=this._body;return e&&t?[e._loc,t.loc()[1]]:[0,0]}set(e){this._options||(this._options={});var t=Object.keys(e);for(let s=0,r=Le(t),i=r.length,n;s<i;s++)n=r[s],this._options[n]=e[n];return this}addBody(e){return this._body=Ie.blk(e),this}addElse(e){return this._elseBody=e,this}isReactive(){return this._tag&&this._tag.fragment().isReactive()}isStatementLike(){return!0}c(e){var t=this.stack(),s=t.current();if(this.stack().isExpression()||this.isExpression()){this._scope.closeScope();var r=rt(Ji([],[this]),[]);return r.c(e)}else return this.stack().current()instanceof Xe||t.up()instanceof Xe&&t.current()._consumer==this?super.c(e):this._tag?super.c(0):(this._scope.closeScope(),r=rt(Ji([],[this]),[]),r.c(e))}},L6=class extends ri{constructor(e,t){super(...arguments),this._traversed=!1,this._test=e,this._options=t||{},this._scope=new $u(this),this.option("invert")&&(this._test=e.invert())}test(e){return this._test}visit(){if(this.scope().visit(),this._test&&this._test.traverse(),this.body())return this.body().traverse()}loc(){var e=this._options;return Eo(e.keyword,this._body,e.guard,this._test)}consume(e){if(this.isExpressable())return super.consume(...arguments);var t=!1,s=this.scope().declare("res",new Ut([]),{system:!0});this._catcher=new ti("push",s,null),this.body().consume(this._catcher);var r=new Xe([this,s.accessor()]);return r.consume(e)}js(e){var t="while ("+this._test.c({expression:!0})+")"+this.body().c({braces:!0,indent:!0});return this.scope()._vars.count()>0&&(t=this.scope()._vars.c()+";"+t),t}},R2=class extends ri{constructor(e){super(...arguments),e===void 0&&(e={}),this._traversed=!1,this._options=e,this._scope=new Cu(this),this._catcher=null}loc(){var e=this._options;return Eo(e.keyword,this._body,e.guard,e.step,e.source)}ref(){return this._ref||""+this._tag.fragment().cvar()+"."+this.oid()}visit(e){this.scope().visit();var t=e._tag;if(this._options.source.traverse(),this._options.guard){var s=_2(this._options.guard.invert(),Xe.wrap([new B3("continue")]));this.body().unshift(s,ut)}if(this.declare(),this._options.await){var r=e.up(ot);r&&(this.set({native:!0}),r.set({async:!0}))}return t&&(this._tag=t,e._tag=this,this._level=(this._tag&&this._tag._level||0)+1),this.body().traverse(),e._tag=t,this}isBare(e){return e&&e._variable&&e._variable._isArray}declare(){var e=this._options,t=this.scope(),s=e.source,r=e.vars={},i=e.index,n=e.params,a=this.isBare(s);if(s instanceof v1){let o=s._left,l=s._right,p=!(o instanceof zt)||!(l instanceof zt);l instanceof zt?r.len=l:r.len=t.declare("len",l,{type:"let"}),r.value=t.declare(e.name,o,{type:"let"}),e.name&&r.value.addReference(e.name),e.index?(r.index=t.declare(e.index,0,{type:"let"}),r.index.addReference(e.index)):r.index=r.value,p&&(r.diff=t.declare("rd",oe("-",r.len,r.value),{type:"let"}))}else{if(i?r.index=t.declare(i,0,{type:"let"}):r.index=t.declare("i",new zt(0),{system:!0,type:"let",pool:"counter"}),r.source=a?s:t.declare("items",this.util().iterable(s),{system:!0,type:"let",pool:"iter"}),n[2]?r.len=t.declare(n[2],this.util().len(r.source),{type:"let"}):r.len=t.declare("len",this.util().len(r.source),{type:"let",pool:"len",system:!0}),e.name){let o=oe(".",r.source,r.index).set({datatype:e.name.datatype()});e.name.set({datatype:void 0});let l=new Dr(e.name,o,"let");this.body().unshift(l,ut)}i&&r.index.addReference(i)}return this}consume(e){if(e instanceof kt)return e.register(this);if(this.isExpressable())return super.consume(...arguments);if(this._resvar){var t=new Xe([this,ut,this._resvar.accessor()]);return t.consume(e),t}var s=null,r=!1,i=null;s=this._resvar||(this._resvar=this.scope().register("res",null,{system:!0,type:"var"})),this._catcher=new ti("push",s,null);let n=new Ut([]);if(this.body().consume(this._catcher),s.autodeclare(),e instanceof Dr||e instanceof gs)return e._right=s.accessor(),new Xe([oe("=",s,n),ut,this,ut,e]);if(e){let a=[oe("=",s,n),ut,this,ut,s.accessor().consume(e)];return new Xe(a)}return this}js(e){var t=this._options.vars,s=t.index,r=t.value,i=this._options.source,n,a;if(i instanceof v1){let d=i._left,v=i._right,f=i.inclusive();n=oe(f?"<=":"<",r,t.len),a=oe("++",r),t.diff&&(n=Pt.ternary(oe(">",t.diff,new zt(0)),n,oe(f?">=":">",r,t.len)),a=Pt.ternary(oe(">",t.diff,new zt(0)),oe("++",r),oe("--",r))),s&&s!=r&&(a=new j3([a,oe("++",s)]))}else n=oe("<",s,t.len),this._options.step?a=oe("=",s,oe("+",s,this._options.step)):a=oe("++",s);var o="",l="",p=this.body().c({braces:!0,indent:!0}),c=""+ve("for",this.keyword())+" ("+this.scope()._vars.c()+"; "+n.c({expression:!0})+"; "+a.c({expression:!0})+") ";return o+c+p+l}},R6=class extends R2{},$6=class extends R2{declare(){var e=this,t=e._options,s=t.vars={},r=t.params,i,n;if(t.own)if(A.tsc()){t.value=t.index;let p=e.scope__().captureVariableDeclarations(function(){let c=[];for(let d=0,v=Le(t.params),f=v.length,g;d<f;d++)g=v[d],g.traverse({declaring:"let"}),c.push(g instanceof Ke&&(g._variable||(g._variable=e.scope__().register(g.symbol(),g,{type:"let"}))));return c});e._declvars=p}else{s.source=t.source._variable||e.scope().declare("o",t.source,{system:!0,type:"let"}),t.value=t.index;var a=s.index=e.scope().declare("i",new zt(0),{system:!0,type:"let",pool:"counter"}),o=s.keys=e.scope().declare("keys",We.keys(s.source.accessor()),{system:!0,type:"let"}),l=s.len=e.scope().declare("l",We.len(o.accessor()),{system:!0,type:"let"});i=s.key=e.scope().declare(t.name,null,{type:"let"}),t.value instanceof Ss||t.value instanceof Ut?(e.body().unshift(new Dr(t.value,oe(".",s.source,i),"let"),ut),s.value=null):t.value&&(n=s.value=e.scope().declare(t.value,null,{let:!0,type:"let"}))}else{e._source=s.source=e.util().iterable(t.source),s.value=t.value=t.name;let p=e.scope__().captureVariableDeclarations(function(){var c;if(t.value.traverse({declaring:"let"}),t.value instanceof Ke)return(c=t.value)._variable||(c._variable=e.scope__().register(t.value.symbol(),t.value,{type:"let"}))});e._declvars=p,t.index&&(s.counter=e.scope().parent().temporary(null,{},""+t.index+"$"),e.body().unshift(new Dr(t.index,oe("++",s.counter),"let"),ut)),r[2]&&r[2].warn("Length parameter only allowed on for-in loops")}return n&&t.index&&n.addReference(t.index),i&&t.name&&i.addReference(t.name),e}js(e){var t=this._options.vars,s=this._options.source,r=this._options.params,i=t.source,n=t.key,a=t.value,o=t.index,l;if(this._options.own){if(A.tsc()){let c=r[0],d=r[1],v="Object.entries("+this._options.source.c()+")";return d&&d.datatype()&&(v=v+(" as unknown as [string,"+ve(d.datatype())+"][]")),l=""+ve("for",this.keyword())+"(let "+(d?"["+c.c()+","+d.c()+"]":"["+c.c()+"]")+" of "+v+")",l+this.scope().c({braces:!0,indent:!0})}a&&a.refcount()>0&&this.body().unshift(oe("=",a,oe(".",i,n))),this.body().unshift(oe("=",n,oe(".",t.keys,o))),l=this.body().c({indent:!0,braces:!0});var p=""+ve("for",this.keyword())+" ("+this.scope()._vars.c()+"; "+oe("<",o,t.len).c()+"; "+oe("++",o).c()+")";return p+l}else{if(A.tsc()){let v=[];for(let f=0,g=Le(this._declvars),y=g.length,T;f<y;f++)if(T=g[f],T.vartype()){v.push(T.vartype());continue}v.length&&i.set({datatype:ce("Iterable<["+Ie.cary(v)+"]>")})}l=this.scope().c({braces:!0,indent:!0});let c=i.c({expression:!0}),d="(let "+a.c()+" of "+c+")"+l;return this._options.await&&(d=""+ve("await",this._options.await)+" "+d),d=""+ve("for",this.keyword())+" "+d,t.counter&&(d=""+t.counter+" = 0; "+d),d}}head(){var e=this._options.vars;return[oe("=",e.key,oe(".",e.keys,e.index)),e.value&&oe("=",e.value,oe(".",e.source,e.key))]}},C6=class extends Xe{constructor(e){super(...arguments),this._nodes=Ie.blk(e).nodes()}shouldParenthesize(){return this.isExpression()}},yu=class extends rn{constructor(e,t,s){super(...arguments),this._traversed=!1,this._source=e,this._cases=t,this._fallback=s}visit(){for(let e=0,t=Le(this._cases),s=t.length;e<s;e++)t[e].traverse();this._fallback&&this._fallback.traverse(),this._source&&this._source.traverse()}consume(e){if(e instanceof kt){if(e.body()==this){let t=this._cases.slice(0).concat([this._fallback]);for(let s=0,r=Le(t),i=r.length,n;s<i;s++)n=r[s],n&&(e._branches.push([]),n.consume(e));return this}return e.register(this)}return this._cases=this._cases.map(function(t){return t.consume(e)}),this._fallback&&(this._fallback=this._fallback.consume(e)),this}c(e){if(this.stack().isExpression()||this.isExpression()){var t=rt(Ji([],[this]),[]);return t.c(e)}return super.c(e)}js(e){var t=[];for(let s=0,r=Le(this._cases),i=r.length,n;s<i;s++)n=r[s],n.autobreak(),t.push(n);return this._fallback&&t.push(`default:
`+this._fallback.c({indent:!0})),"switch ("+this._source.c()+") "+Ph(Ie.cary(t).join(`
`),!0)}},O6=class extends rn{constructor(e,t){super(...arguments),this._traversed=!1,this._test=e,this._body=Ie.blk(t),this._scope=new z2(this)}test(e){return this._test}body(e){return this._body}visit(){return this.scope__().visit(),this._body.traverse()}consume(e){return this._body.consume(e),this}autobreak(){return this._body.last()instanceof b2||this._body.push(new b2),this}js(e){this._test instanceof Array||(this._test=[this._test]);var t=this._test.map(function(s){return"case "+s.c()+": "});return t.join(`
`)+this._body.c({indent:!0,braces:!0})}},D6=class extends rn{constructor(e,t,s){super(...arguments),this._traversed=!1,this._body=Ie.blk(e),this._catch=t,this._finally=s}body(e){return this._body}consume(e){return this._body=this._body.consume(e),this._catch&&(this._catch=this._catch.consume(e)),this._finally&&(this._finally=this._finally.consume(e)),this}visit(){if(this._body.traverse(),this._catch&&this._catch.traverse(),this._finally)return this._finally.traverse()}c(e){if(this.stack().isExpression()||this.isExpression()){var t=X_([this]);return t.c(e)}return super.c(e)}js(e){var t="try "+this._body.c({braces:!0,indent:!0});return this._catch&&(t+=" "+this._catch.c()),this._finally&&(t+=" "+this._finally.c()),this._catch||this._finally||(t+=" catch (e) { }"),t+=";",t}},M6=class extends rn{constructor(e,t){super(...arguments),this._traversed=!1,this._body=Ie.blk(e||[]),this._scope=new Ru(this),this._varname=t}body(e){return this._body}consume(e){return this._body=this._body.consume(e),this}visit(){if(this._scope.visit(),this._variable=this._scope.register(this._varname,this,{type:"let",pool:"catchvar"}),Wi(this._body)==0){let e=this._variable.accessor(),t=e;A.tsc()&&(e=_2(ce(""+e.c()+" instanceof Error"),e)),this._body.push(e)}return this._body.traverse()}js(e){return"catch ("+this._variable.c()+") "+this._body.c({braces:!0,indent:!0})}},P6=class extends rn{constructor(e){super(...arguments),this._traversed=!1,this._body=Ie.blk(e||[])}visit(){return this._body.traverse()}consume(e){return this}js(e){return"finally "+this._body.c({braces:!0,indent:!0})}},v1=class extends Nt{inclusive(){return this.op()==".."}c(){return"range"}},aa=class extends nt{js(e){return"..."+this.value().c();var t}node(){return this.value()}},lr=class extends qe{constructor(e,t){super(...arguments),this._name=this.load(e),this._tag=t,this._chain=[],this._special=!1,this._params=null}name(e){return this._name}setName(e){return this._name=e,this}value(e){return this._value}params(e){return this._params}setParams(e){return this._params=e,this}load(e){return e}visit(){return this._chain.map(function(e){return e.traverse()}),this._value&&this._value.traverse(),this._name.traverse&&this._name.traverse(),this}quoted(){return this._quoted||(this._quoted=this._name instanceof Xs?this._name.asString():Oi(this._name))}valueIsStatic(){return!this._value||this._value.isPrimitive()||this._value instanceof ot&&!this._value.nonlocals()}isStatic(){return this.valueIsStatic()}isProxy(){return!1}add(e,t){return t==$2?(this._last||this).setParams(e||new Mt([])):this._chain.push(this._last=new b1(e)),this}modifiers(){return this._modifiers||(this._modifiers=new xu(this._chain).traverse())}js(){return""}ref(){return"c$."+this.oid()}tagRef(){return this._tagRef||this._tag.ref()}},vu=class extends lr{js(){return""+this.tagRef()+".id="+this.quoted()}},yr=class extends lr{rawClassName(){return this.name().toRaw()}value(){return this._name}visit(){if(this._chain.map(function(e){return e.traverse()}),this._condition&&this._condition.traverse(),this._name.traverse)return this._name.traverse()}isStatic(){return!this.isConditional()&&(this._name instanceof tt||this._name.isStatic()||this._name instanceof ra)}isConditional(){return!!this._condition}js(){if(A.tsc()){let t=this._name.c();return this._condition?"["+t+","+this._condition.c()+"]":"["+t+"]"}let e=this._name.c({as:"string"});return this._condition?""+this.tagRef()+".flags.toggle("+e+","+this._condition.c()+")":""+this.tagRef()+".classList.add("+e+")"}},bu=class extends lr{},$2=class extends lr{},ii=class extends lr{isSpecial(){return String(this._name)=="value"}startLoc(){return this._name&&this._name.startLoc&&this._name.startLoc()}endLoc(){return this._value&&this._value.endLoc&&this._value.endLoc()}replace(e,t){if(this._value==e)return this._value=t}isStatic(){return super.isStatic(...arguments)&&this._chain.every(function(e){let t=e instanceof Ot?e.value():e;return t instanceof ot?!t.nonlocals():t.isPrimitive()})}visit(){this._chain.map(function(s){return s.traverse()}),this._value&&this._value.traverse(),this._name.traverse&&this._name.traverse();let e=this._key=String(this._name),t=e.indexOf(":");if(t>=0&&(this._ns=e.slice(0,t),this._key=e.slice(t+1)),this._value||(this._autovalue=!0,this._value=pt(e)),this._chain.length){this._mods={};for(let s=0,r=Le(this._chain),i=r.length;s<i;s++)this._mods[r[s].name()]=1}if(this._ns=="bind"&&A.use("dom_bind"),!this._ns&&this._key=="ease"&&A.use("dom_transitions"),e=="asset"||e=="src"&&this.value()instanceof ct&&/^(style|img|script|svg)$/.test(this._tag.tagName())){let s=this._tag.tagName(),r="asset";s=="svg"?r="":s=="img"?r="img":s=="script"?r="web":s=="style"&&(r="css");let i=this.value()instanceof ct&&this.value().raw();i&&!i.match(/^(\/|https?\:\/\/)/)&&(this._asset=A.root().registerAsset(i,r,this,this.value()))}return this}key(){return this._key}nameIdentifier(){return this._nameIdentifier||(this._nameIdentifier=new Ke(this._key))}modsIdentifier(){return this._modsIdentifier||(this._modsIdentifier=new Ke(this._key+"__"))}js(e){let t=this.value().c(e),s=t,r=ve("=",this.option("op")),i=this._key.match(/^(aria-|data-)/)||this._key=="style"||this._tag&&this._tag.isSVG()||this._ns=="html",n=this._tag&&this._tag._tagName,a=this._tag.ref();if(this._asset&&(t=this._asset.ref.c()),A.tsc()&&(i||k3[this._key]))return""+a+".setAttribute('"+this._key+"',String("+t+"))";if(i&&(A.isNode()||this._ns=="html")&&!this._asset)return A.meta().universal=!1,""+a+".setAttribute('"+this._key+"',"+t+")";if(A.tsc()){let l=this.nameIdentifier().c();l=="value"&&i1(this._tag._tagName,["input","textarea","select","option","button"])>=0&&(t="/**@type {any}*/("+t+")");let p=""+a+"."+ve(l,this._name);return""+ve(p,this._name)+r+(this._autovalue?ve("true",this._value):t)}let o=this._key;if(o=="tabindex"&&(o="tabIndex"),o=="value"&&i1(this._tag._tagName,["input","textarea","select","option","button"])>=0&&!A.isNode()&&(o="richValue"),this._ns=="css")return""+a+".css$('"+o+"',"+t+")";if(this._ns=="bind"){let l=L3(this.value());if(l instanceof Ft){let p="function(){ return "+t+" }",c="function(v$){ "+t+" = v$ }";s="{get:"+p+",set:"+c+"}"}else l instanceof Array&&(s="["+t[0].c(e)+","+t[1].c(e)+"]");return""+a+".bind$('"+o+"',"+s+")"}else if(o.indexOf("--")==0){let l=["'"+o+"'",t],p=this.option("unit"),c=u2.propAbbr(this.option("propname"));(p||c)&&(l.push(p?pt(p):vr),c&&l.push(pt(c))),A.use("styles");let d=this.option("styleterm");if(d&&d.param){for(;l.length<4;)l.push(vr);l.push(d.param)}return""+a+".css$var("+Ie.cary(l,{as:"js"}).join(",")+")"}else return o.indexOf("aria-")==0||this._tag&&this._tag.isSVG()||o=="for"||k3[o]?this._ns?""+a+".setns$('"+this._ns+"','"+o+"',"+t+")":""+a+".set$('"+o+"',"+t+")":o.indexOf("data-")==0?""+a+".setAttribute('"+o+"',"+t+")":this._ns?""+a+".setns$('"+this._ns+"','"+o+"',"+t+")":oe(".",ce(a),o).c()+(""+r+t)}},C2=class extends ii{},O2=class extends lr{isPrimitive(){return this.value().isPrimitive()}value(){return this.name()}js(){return this.value().c()}toRaw(){return this.value()instanceof ct?this.value().raw():null}},F6=class extends nt{isPrimitive(){return!0}c(){return"'~$"+this.value()+"'"}},xu=class extends Mt{isStatic(){return this._nodes.every(function(e){let t=e instanceof Ot?e.value():e;return t instanceof ot?!t.nonlocals():t.isPrimitive()})}visit(){var e={FUNC:0};for(let t=0,s=Le(this.nodes()),r=s.length,i;t<r;t++){i=s[t];let n=String(i.name());e[n]?i.setName(n+"~"+e[n]++):e[n]=1}return this}extractDynamics(){if(this._dynamics)return this._dynamics;this._dynamics=[];for(let e=0,t=Le(this.nodes()),s=t.length,r;e<s;e++)if(r=t[e],r instanceof b1){for(let i=0,n=Le(r.params()),a=n.length,o;i<a;i++)if(o=n[i],!o.isPrimitive()){let l=new wu(o).set({key:$3(r.name()),index:i});r.params().swap(o,ce("null")),this._dynamics.push(l)}}return this._dynamics}c(){if(A.tsc())return"["+this.nodes().map(function(t){return t.c()}).join(",")+"]";let e=new Ss([]);for(let t=0,s=Le(this.nodes()),r=s.length,i;t<r;t++){i=s[t];let n=i.params()?new Ut(i.params()):ce("true");e.add($3(i.name()),n)}return e.c()}},b1=class extends lr{params(e){return this._params}setParams(e){return this._params=e,this}load(e){return e instanceof Xs?e._single:e}isPrimitive(){return!this._params||this._params.every(function(e){return e.isPrimitive()})}visit(){if(this._name instanceof oa&&(this._name.traverse(),this._name=this._name.value()),this._name instanceof ot){let e=this._name.params().at(0,!0,"e"),t=this._name.params().at(1,!0,"$");this._name.traverse()}if(this._name instanceof Zn){this._value=this._name;let e=A.parents(kt)[0];if(e&&A3&&!(e.isSelf&&e.isSelf())){e.set({memoSelf:!0});let t=this._value._scope._context=oe(".",e.parentCache(),pt("this"))}this._name=pt("$_"),this._params=new Mt([this._value].concat(this._value._leaks||[]))}return this._params&&this._params.traverse(),this}js(){if(A.tsc()){if(this._name instanceof ot)return"("+this._name.c()+")(e,{})";let e=this.quoted().slice(1,-1).split("-"),t=!1;e[0][0]=="!"&&(t=!0,e[0]=e[0].slice(1));let s=e[0];e.length>1&&(s=="emit"||s=="flag"||s=="css"?s=""+s+"-name":s=e.join("-")),s=Us("\u03B1"+s);let r=this._params?this._params.c():"";this._params&&r==""&&(s=="\u03B1options"?r=ve("",f2(this._handlerName.endLoc()+1)):r=ve("",f2(this._name.endLoc()+1)));let i=""+ve(s,this._name)+"("+r+")";if((!this._params||this._params.count()==0)&&(i=ve(i,this._name)),t){let n=f2(this._name.startLoc()-1,this._name.startLoc());return ve("e."+i+"===true",n)}return"e."+i}return this._params&&this._params.count()>0?"["+this.quoted()+","+this._params.c()+"]":this._params?"["+this.quoted()+"]":this.quoted()}},j6=class extends lr{value(){return this.name()}isStatic(){return!this.value()||this.value().isPrimitive()}isSpecial(){return!0}isProxy(){return this.proxyParts()instanceof Array}proxyParts(){var e=this.value();if(e instanceof _s&&(e=e.values()[0]),e instanceof Ot&&(e=e.value()),e instanceof Tt&&(e=e._variable||e.value()),e instanceof it){let t=e._left,s=e._right instanceof Qi?e._right.value():e._right;return e instanceof y1&&(t||(t=e.scope__().context())),[t,s]}return e}js(){var e=this.value();if(e instanceof _s&&(e=e.values()[0]),e instanceof Ot&&(e=e.value()),e instanceof Tt&&(e=e._variable||e.value()),e instanceof it){let t=e._left,s=e._right instanceof Qi?e._right.value():e._right;e instanceof y1&&(t||(t=e.scope__().context()));let r=[t.c(),s.c()];return s instanceof Ke&&(r[1]="'"+r[1]+"'"),"bind$('data',["+r.join(",")+"])"}else return"data=("+e.c()+")"}},wu=class extends nt{c(){return this.value().c()}},ni=class Mp extends lr{get __params(){return Mp.__params}params(t){return this._params}setParams(t){var s=this._params;return t!=s&&(this._params=t),t!=s&&this.paramsDidSet&&this.paramsDidSet(t,s,this.__params),this}paramsDidSet(t){return this._chain.push(this._last=new b1("options")),this._last._handlerName=this._name,this._last.setParams(t),t}add(t,s,r,i){return s==oa&&(t instanceof _s&&(t=t.first()),t=new oa(t)),super.add(t,s)}visit(){if(super.visit(...arguments),A.use("events"),this._name&&I3[String(this._name)]&&A.isWeb())return A.use(I3[String(this._name)])}isStatic(){return(!this.value()||this.value().isPrimitive()||this.value()instanceof ot&&!this.value().nonlocals())&&this._chain.every(function(t){let s=t instanceof Ot?t.value():t;return s instanceof ot?!s.nonlocals():s.isPrimitive()})}modsIdentifier(){return null}js(t){if(A.tsc()){let s=""+this.tagRef()+".addEventListener("+this.quoted()+`,(e)=>{
`;for(let r=0,i=Le(this.modifiers()),n=i.length;r<n;r++)s+=i[r].c()+`;
`;return s+="})",s}if(this._standalone){let s=this._tag,r=""+s.cvar()+"["+this.osym()+"]",i=this.modifiers(),n=i.extractDynamics(),a=!1,o=[],l=function(c){return o.push(c)},p=s.hvar();l(""+s.hvar()+" = "+r+" || ("+r+"="+i.c(t)+")");for(let c=0,d=Le(n),v=d.length,f;c<v;c++){f=d[c];let g=f.option("key"),y=f.option("index"),T=""+oe(".",p,g).c()+"["+y+"]";g=="options"?(a=!0,l("("+this.vvar()+"="+f.c(t)+","+this.vvar()+"==="+T+" || ("+T+"="+this.vvar()+","+this.dvar()+"|="+lt.DIFF_MODIFIERS+"|"+lt.DIFF_INLINE+"))")):l(""+T+"="+f.c(t))}return l(""+s.bvar()+" || "+s.ref()+".on$("+this.quoted()+","+p.c()+","+this.scope__().context().c()+")"),a&&l(""+s.dvar()+"&"+lt.DIFF_INLINE+" && ("+s.dvar()+"^="+lt.DIFF_INLINE+","+p+"["+this.gsym("#visit")+"]?.())"),"("+o.join(`,
`)+")"}return""+this.tagRef()+".on$("+this.quoted()+","+this.modifiers().c()+","+this.scope__().context().c()+")"}consume(t){return t instanceof kt&&(this._tag=t,this._standalone=!0),this}};ni.__params={watch:"paramsDidSet",name:"params"};var oa=class extends nt{visit(){let e=this.value();if(e instanceof Ot&&(e=e.value()),e instanceof ot&&(e=e.body()),e instanceof it||e instanceof Tt){let t=e;e=rt(e,[ce("e")]),e._args._startLoc=t.endLoc(),e._args._endLoc=t.endLoc()}if(this._value=new(A.tsc()?ot:Zn)([],[e],null,{}),this.value()instanceof Zn,this.value()instanceof ot){let t=this.value().params().at(0,!0,"e"),s=this.value().params().at(1,!0,"$$")}this.value().traverse()}},D2=class extends Mt{add(e,t){return e instanceof k2&&(e=e.toArray(),e.length==1&&(e=new la(e[0]))),super.add(e,t)}consume(e){return e instanceof kt?(this._nodes=this._nodes.map(function(t){return t instanceof Bs?t:t.consume(e)}),this):super.consume(...arguments)}},kt=class fn extends qe{constructor(t){super(...arguments),t===void 0&&(t={}),this._options=t,this._flags=0,this._tagvars={},this.setup(t)}isIndexableInLoop(){return!1}sourceId(){return this._sourceId||(this._sourceId=A.sourceId()+"-"+this.tid())}body(){return this._body||this._options.body}value(){return this._options.value}isReactive(){return!0}isDetached(){return this.option("detached")}isSVG(){return this._isSVG==null?this._isSVG=this._parent?this._parent.isSVG():!1:this._isSVG}parentTag(){let t=this._parent;for(;t&&!(t instanceof ai);)t=t._parent;return t}tagLikeParents(){let t=[],s=this._parent;for(;s instanceof fn;)t.push(s),s=s.parent();return t}setup(){return this._traversed=!1,this._consumed=[],this}osym(t){return t===void 0&&(t=""),A.getSymbol(this.oid()+t,Xi.SYM+(this.tagvarprefix()||"")+t)}root(){return this._parent?this._parent.root():this}register(t){return t instanceof Pt||t instanceof yu?(this.flag(lt.TAG_HAS_BRANCHES),t=new Hs({body:t})):t instanceof ri?(this.flag(lt.TAG_HAS_LOOPS),t=new nn({body:t.body(),value:t})):t instanceof ai?t.isSlot()&&this.flag(lt.TAG_HAS_DYNAMIC_CHILDREN):t instanceof Nt?(t=t.opToIfTree(),t instanceof Pt?(this.flag(lt.TAG_HAS_BRANCHES),t=new Hs({body:t})):(this.flag(lt.TAG_HAS_DYNAMIC_CHILDREN),t=new x1({value:t}))):t instanceof oi||(t instanceof ct||this.flag(lt.TAG_HAS_DYNAMIC_CHILDREN),t=new x1({value:t})),this._consumed.push(t),t._consumedBy=this,t._parent=this,t}flag(t){return this._flags|=t}type(){return"frag"}unflag(t){return this._flags=this._flags&~t}hasFlag(t){return this._flags&t}isAbstract(){return!0}isOnlyChild(){return this.isFirstChild()&&this.isLastChild()}isFirstChild(){return this.hasFlag(lt.TAG_FIRST_CHILD)}isLastChild(){return this.hasFlag(lt.TAG_LAST_CHILD)}isIndexed(){return this.option("indexed")}isComponent(){return this._kind=="component"}isSelf(){return this.type()instanceof Ns||this.type()instanceof Mr}isShadowRoot(){return this._tagName&&this._tagName=="shadow-root"}isSlot(){return this._kind=="slot"}isFragment(){return this._kind=="fragment"}isMemoized(){return!this.option("unmemoized")}hasLoops(){return this.hasFlag(lt.TAG_HAS_LOOPS)}hasBranches(){return this.hasFlag(lt.TAG_HAS_BRANCHES)}hasDynamicChildren(){return this.hasFlag(lt.TAG_HAS_DYNAMIC_CHILDREN)}hasDynamicFlags(){return this.hasFlag(lt.TAG_HAS_DYNAMIC_FLAGS)}hasNonTagChildren(){return this.hasLoops()||this.hasBranches()||this.hasDynamicChildren()}hasDynamicDescendants(){if(this.hasNonTagChildren())return!0;for(let t=0,s=Le(this._consumed),r=s.length,i;t<r;t++)if(i=s[t],i instanceof ai&&i.hasDynamicDescendants())return!0;return!1}hasChildren(){return this._consumed.length>0}tagvar(t){return t=Xi[t]||t,this._tagvars[t]||(this._tagvars[t]=this.scope__().closure().temporary(null,{nodecl:A.tsc(),reuse:!1,alias:""+t+this.tagvarprefix()},""+t+this.tagvarprefix()))}tagvarprefix(){return""}parent(){return this._parent||(this._parent=this.option("parent"))}fragment(){return this._fragment||this.parent()}tvar(){return this._tvar||this.tagvar("T")}parentRef(){return this._parentRef||(this._parentRef=this.parent()?this.parent().ref():""+this.parentCache()+"._")}parentCache(){return this._parentCache||(this._parentCache=this.parent()?this.parent().cvar():this.isMemoized()?this.scope__().closure().tagCache():this.scope__().closure().tagTempCache())}renderContextFn(){return""+this.parentCache()+"["+this.gsym("#getRenderContext")+"]"}dynamicContextFn(){return""+this.parentCache()+"["+this.gsym("#getDynamicContext")+"]"}bvar(){return this._bvar||(this._parent?this._parent.bvar():this.tagvar("B"))}cvar(){return this._cvar||(this._parent?this._parent.cvar():this.tagvar("C"))}owncvar(){return this.tagvar("C")}vvar(){return this.tagvar("V")}hvar(){return this.tagvar("H")}kvar(){return this.tagvar("K")}dvar(){return this.tagvar("D")}ref(){return this._ref||(this._cachedRef=""+(this.parent()?this.parent().cvar():"")+"["+this.osym()+"]")}visit(t){var s=this._options,r=this._tagScope=this.scope__();this.up()instanceof Nt&&this.set({detached:!0});let i=this._parent=t._tag;this._level=(this._parent&&this._parent._level||0)+1,t._tag=null;for(let n=0,a=Le(this._attributes),o=a.length;n<o;n++)a[n].traverse();return t._tag=this,s.key&&s.key.traverse(),this.visitBeforeBody(t),this.body()&&this.body().traverse(),this.visitAfterBody(t),t._tag=this._parent,this._parent||(this._level=0,this.consumeChildren(),this.visitAfterConsumed()),this}visitBeforeBody(){return this}visitAfterBody(){return this}consumeChildren(){if(this._consumed.length)return;this.body()&&this.body().consume(this);let t=this._consumed[0],s=this._consumed[this._consumed.length-1];this.isAbstract()||(t instanceof fn&&t.flag(lt.TAG_FIRST_CHILD),s instanceof fn&&s.flag(lt.TAG_LAST_CHILD));for(let r=0,i=Le(this._consumed),n=i.length,a;r<n;r++)a=i[r],a instanceof fn&&(a._consumedBy=this,a._parent=this,a._level=this._level+1,a.visitAfterConsumed(),a.consumeChildren());return this.visitAfterConsumedChildren(),this}visitAfterConsumedChildren(){return this}visitAfterConsumed(){return this}consume(t){return t instanceof fn?t.register(this):t instanceof Ft?(this.option("assignToVar",t),this):t instanceof gs?oe(t.op(),t._left,this):t instanceof Dr?oe("=",t._left,this):t instanceof Nt?oe(t.op(),t._left,this):t instanceof As?(this.option("return",!0),this):this}},la=class extends nt{},x1=class extends kt{vvar(){return this.parent().vvar()}bvar(){return this.parent().bvar()}ref(){return this.fragment().tvar()}key(){return this._key||(this._key=""+this.parent().cvar()+"["+this.osym()+"]")}isStatic(){return this.value()instanceof ct||this.value()instanceof zt}js(){let e=this.value(),t=[],s=e instanceof ct||e instanceof zt||e instanceof la,r=this.isStatic();if(A.tsc())return e.c(this._o);if(this.parent()instanceof Hs||this._tvar&&this.parent()instanceof ai&&(this.parent().isSlot()||this.isDetached())){if(t.push(""+this._tvar+"="+e.c(this._o)),e instanceof ks||e instanceof si){let i=""+this.parent().cvar()+"["+this.osym("$")+"]";t.unshift(""+this.runtime().renderContext+".context=("+i+" || ("+i+"={_:"+this.fragment().tvar()+"}))"),t.push(""+this.runtime().renderContext+".context=null")}}else{if(this.isOnlyChild()&&(e instanceof ct||e instanceof zt))return""+this.bvar()+" || "+this.ref()+".text$("+e.c(this._o)+")";if(r)return""+this.bvar()+" || "+this.ref()+this.domCall("insert")+"("+e.c(this._o)+")";if(e instanceof la&&this.isOnlyChild()&&!(this.parent()instanceof Hs))return"("+this.vvar()+"="+e.c(this._o)+","+this.vvar()+"==="+this.key()+" || "+this.ref()+".text$(String("+this.key()+"="+this.vvar()+")))";{t.push(""+this.vvar()+"="+e.c(this._o));let i=""+this.parent().cvar()+"["+this.osym("i")+"]";if(e instanceof ks||e instanceof si){let n=""+this.parent().cvar()+"["+this.osym("$")+"]";t.unshift(""+this.runtime().renderContext+".context=("+n+" || ("+n+"={_:"+this.fragment().tvar()+"}))"),t.push(""+this.runtime().renderContext+".context=null")}e instanceof la?t.push("("+this.vvar()+"==="+this.key()+"&&"+this.bvar()+") || ("+i+" = "+this.ref()+this.domCall("insert")+"(String("+this.key()+"="+this.vvar()+"),"+this._flags+","+i+"))"):t.push("("+this.vvar()+"==="+this.key()+"&&"+this.bvar()+") || ("+i+" = "+this.ref()+this.domCall("insert")+"("+this.key()+"="+this.vvar()+","+this._flags+","+i+"))")}}return"("+t.join(",")+")"}},Su=class extends kt{},Hs=class xl extends kt{setup(){return super.setup(...arguments),this._branches=[],this._inserts=[],this._styles=[]}getInsertVar(t){return this._inserts[t]||(this._inserts[t]=this.tagvar("\u03C4"+t+"if"))}getStyleVar(t){return this._styles[t]||(this._styles[t]=this.tagvar("\u03C4"+t+"css"))}tvar(){return this.fragment().tvar()}register(t){let s=super.register(...arguments);if(this._branches){let r=this._branches[this._branches.length-1];r&&r.push(s)}return s}visitAfterConsumedChildren(){if(!(this._parent instanceof xl)){let t=this.assignChildIndices(0,0,this)}return this}assignChildIndices(t,s,r){let i=t,n=t,a=s,o=s;for(let l=0,p=Le(this._branches),c=p.length,d;l<c;l++){d=p[l],i=t;for(let v=0,f=Le(d),g=f.length,y;v<g;v++)if(y=f[v],y instanceof xl){let T=y.assignChildIndices(i,a,r);i=T[0],a=T[1]}else y instanceof oi?(y._tvar=r.getStyleVar(a),y._tvar._stylerule=y,a++):(A.tsc()||(y._tvar=r.getInsertVar(i)),y.set({detached:!0}),i++);i>n&&(n=i),a>o&&(o=a)}return[n,o]}js(t){var s=[],r="";let i=this._inserts.concat(this._styles);Wi(i)&&(r=i.join(" = ")+" = null");let n=t.inline;this.body().isExpression()&&(t.inline=!0);var a=this.body().c(t);if(t.inline=n,A.tsc())return a;r&&s.push(r),s.push(a);for(let o=0,l=Le(this._inserts),p=l.length;o<p;o++){let c=""+this.cvar()+"["+this.osym(o)+"]";s.push("("+c+" = "+this.tvar()+this.domCall("insert")+"("+l[o]+",0,"+c+"))")}for(let o=0,l=Le(this._styles),p=l.length,c;o<p;o++){c=l[o];let d=c._stylerule._name;s.push(""+this.tvar()+".flags.toggle('"+d+"',!!"+c+")")}return t.inline?s.join(","):s.join(`;
`)}},nn=class G1 extends kt{isKeyed(){return this.option("keyed")||this.hasFlag(lt.TAG_HAS_BRANCHES)}isIndexableInLoop(){return!0}consumeChildren(){return super.consumeChildren(...arguments),this.hasFlag(lt.TAG_HAS_BRANCHES)?this.set({keyed:!0}):this._consumed.every(function(t){return t instanceof kt&&t.isIndexableInLoop()})?this.set({indexed:!0}):this.set({keyed:!0})}cvar(){return this._cvar||this.tagvar("C")}js(t){if(this.stack().isExpression())return rt(Ji([],[this],this.stack().scope()),[]).c();if(A.tsc())return""+this.tvar()+` = new DocumentFragment;
`+this.value().c(t);this.parent()instanceof G1&&this.parent().isKeyed()&&this.set({detached:!0}),this.parent()instanceof Hs&&this.set({detached:!0}),this.parent()&&!this._consumedBy&&this.set({detached:!0});let s=this.option("indexed")?this.runtime().createIndexedList:this.runtime().createKeyedList,r=this.parent().cvar(),i=this.isDetached()?ce("null"):this.fragment().tvar(),n="",a;return this.parent()instanceof G1?this.parent().isKeyed()?(this.option("key",oe("+",ce("'"+this.oid()+"$'"),this.parent().kvar())),n+=""+this.hvar()+"="+this.option("key").c()+`;
`,a=this._ref=""+this.parent().cvar()+"["+this.hvar()+"]"):a=this._ref=""+this.parent().cvar()+"["+this.parent().kvar()+"]":a=""+r+"["+this.osym()+"]",n+="("+this.tvar()+" = "+a+") || ("+a+"="+this.tvar()+"="+s+"("+this._flags+","+i+`));
`,this._ref=""+this.tvar(),this.isDetached()&&(n+=""+this.tvar()+"["+this.gsym("##up")+"] = "+this.fragment().tvar()+`;
`),n+=""+this.kvar()+` = 0;
`,n+=""+this.cvar()+"="+this.tvar()+`.$;
`,n+=this.value().c(t),n+=";"+this.tvar()+this.domCall("end")+"("+this.kvar()+");",this.parent()instanceof G1&&(this.parent().isKeyed()?n+=""+this.parent().ref()+".push("+this.tvar()+","+this.parent().kvar()+"++,"+this.hvar()+");":this.parent().isIndexed()&&(n+=""+this.parent().kvar()+"++;")),n}},G6=class extends kt{},B6=class extends kt{},M2=class extends kt{ref(){return this.tvar()}tagvarprefix(){return this.oid()+"S"}},ai=class _i extends kt{setup(){return super.setup(...arguments),this._attributes=this._options.attributes||[],this._attrmap={},this._classNames=[],this._className=null}isAbstract(){return this.isSlot()||this.isFragment()}cssns(){return this._cssns||(this._cssns=(""+this.sourceId()).replace("-","_"))}cssid(){return this._cssid||(this._cssid=(""+this.sourceId()).replace("_","-"))}tagvarprefix(){return this.isSelf()?"SELF":"T"}isStatementLike(){return this.option("iife")}isIndexableInLoop(){return!this.option("key")&&!this.isDynamicType()}traverse(){if(this._traversed)return this;this.tid(),this._tagDeclaration=A.up(Jn);let t=this._options.close,s=this._options.body||[],r=this;return t&&t._value=="/>"&&Wi(s)&&(r=[this].concat(s._nodes),this._options.body=new _s([])),super.traverse(...arguments),r}visitBeforeBody(t){var s=this;s.oid(),s.tid();let r=s._options.type;r&&r.traverse(),A.hmr()&&s.cssid(),s.isSelf()||s.tagName().indexOf("-")>=0||s.isDynamicType()||r&&r.isComponent()?(s._options.custom=!0,s._kind="component"):s._kind="element",s._attributes.length==0&&!s._options.type&&(s._options.type="fragment");let i=s.tagName();if(i=="slot"?s._kind="slot":i=="fragment"&&(s._kind="fragment"),i=="shadow-root"&&(s._kind="shadow-root"),s.isSelf()){let a=t.up(Jn);a&&a.set({self:s,sourceId:s.sourceId()})}s._tagName=i,s._dynamics=[];let n=0;for(;n<s._attributes.length;){let a=s._attributes[n++];if(a instanceof yr&&a.name()instanceof oi&&a.name()._placeholders.length)for(let o=0,l=Le(a.name()._placeholders),p=l.length,c;o<p;o++){c=l[o];let d=new C2(c.name());d._tag=s,d._value=c.runtimeValue(),d.set({propname:c._propname,unit:c.option("unit"),styleterm:c}),s._attributes.splice(n++,0,d),d.traverse()}}if(s._attributes=s._attributes.filter(function(a){if(a instanceof yr&&a.isStatic())return s._classNames.push(a),!1;if(!A.tsc()){if(a==s._attrmap.$key)return a.warn("$key= is deprecated, use key=",{loc:a._name}),s.set({key:a.value()}),!1;if(a==s._attrmap.key)return s.set({key:a.value()}),!1}return a.isStatic()||s._dynamics.push(a),!0}),s._parent&&(s._attrmap.route||s.isDynamicType()||s.isSlot())&&s._parent.set({shouldEnd:!0,ownCache:!0}),s.isSlot()){let a=s._attrmap.name?s._attrmap.name.value():"__";a instanceof ct&&(a=a.raw()),s.set({name:a}),s._attributes=[]}return s._scope=new Du(s),s._scope.visit(),super.visitBeforeBody(...arguments)}register(t){if(t=super.register(t),t instanceof kt&&this.isComponent()&&!this.isSelf()){let s=t instanceof _i?t._attrmap.slot:null,r="__";s&&s.value()instanceof ct&&(r=s.value().raw());let i=this.getSlot(r);t._fragment=i}return t}visitAfterBody(t){return this}visitAfterConsumed(){if(this.isSVG()&&(this._kind="svg"),this._options.reference){let t=this.stack().up(gr),s=this.stack().up(Jn),r;if(this._options.key&&(r="Named element cannot be keyed at the same time"),s&&t&&String(t.name())=="render"){for(let i=0,n=Le(this.tagLikeParents()),a=n.length,o;i<a;i++)o=n[i],o instanceof nn&&(r="Named tags not allowed inside loops"),o instanceof _i&&o.isDynamicType()&&(r="Named tags not allowed inside dynamic parent");r||s.addElementReference(this._options.reference,this)}else r="Named tags are only allowed inside render method";r&&this.warn(r,{loc:this._options.reference})}return this}visitAfterConsumedChildren(){this.isSlot()&&this._consumed.length>1&&this.set({markWhenBuilt:!0,reactive:!0})}hasBlockScopedVariables(){return Object.keys(this._scope._varmap).length>0}getSlot(t){return this._slots||(this._slots={}),this._slots[t]||(this._slots[t]=new M2({parent:this,name:t}))}addPart(t,s,r){let i=this._attributes,n=i.CURRENT,a=n;if(s==vu&&this.set({id:t}),s==$2&&i.length==0){let o=this.option("type");o._token=="div"&&(o=null),this.set({dynamic:!0});let l=t.nodes()[0];return o&&(l=rt(o.toFunctionalType(),t.nodes())),this.set({type:l,functional:l}),this}if(s==bu)a=null;else if(s==O2)t instanceof Ot&&(t=t.value()),n instanceof yr?(n._condition=t,this.flag(lt.TAG_HAS_DYNAMIC_FLAGS),n.set({op:r})):n instanceof ni?t&&n.add(new oa(t),s):n&&(n._value=t,n.set({op:r}));else if(n instanceof ni)t instanceof Xs&&t._single&&!t.isPrimitive()&&(t=new(A.tsc()?ot:Zn)([],[t._single],null,{})),n.add(t,s);else if(n instanceof ii)n.add(t,s);else if(s==yr&&t instanceof Xs&&!t.isPrimitive()&&this.flag(lt.TAG_HAS_DYNAMIC_FLAGS),t instanceof s?t._tag=this:t=new s(t,this),i.push(a=t),a instanceof ii&&a.name().isPrimitive()){let o=String(a.name().toRaw());o.match(/^bind(?=\:|$)/)&&this.isFunctional()&&a._name.error("bind not supported for functional fragments"),o=="bind"&&((a._name._single||a._name)._value="bind:data",o="bind:data"),this._attrmap[o]=a}return a!=n&&(i.CURRENT=a),this}type(){return this._options.type||(this._attributes.length==0?"fragment":"div")}tagName(){return this._tagName||String(this._options.type)}isDynamicType(){return this.type()instanceof Wn||this._options.dynamic}hasDynamicTagName(){return this.type()instanceof Wn}isFunctional(){return!!this._options.functional}isSVG(){return this._isSVG==null?this._isSVG=this.type()instanceof ia&&this.type().isSVG()||this._parent&&this._parent.isSVG()&&!this.isDynamicType():this._isSVG}isAsset(){return this._isAsset||!1}create_(){return this.isFragment()||this.isSlot()?this.runtime().createLiveFragment:this.isAsset()?this.runtime().createAssetElement:this.isDynamicType()?this.runtime().createDynamic:this.isSVG()?this.runtime().createSVGElement:this.isComponent()?this.runtime().createComponent:this.runtime().createElement}isReactive(){return this.option("reactive")||(this._parent?this._parent.isReactive():!(this.scope__()instanceof on))}isDetached(){return this.option("detached")}hasDynamicParts(){return this._dynamics.length==0&&!this.hasDynamicFlags()&&!(this.type()instanceof Wn)&&(this.body()?this.body().values():[]).every(function(t){return t instanceof ct||t instanceof _i&&!t.isDynamicType()})&&!this.hasNonTagChildren()&&!this.isSlot()&&!this.option("dynamic")&&this.setHasDynamicParts(!1),!0}js(t){var s,r=A,i=A.tsc(),n=r.isExpression(),a=[],o=[],l=[],p=!1,c=function(P){return P instanceof Ft?P=P.toString():typeof P!="string"&&(p=!0),o.push(P)},d=this.parent(),v=this.fragment(),f=this._tagDeclaration,g=this.type(),y=g._value,T=g instanceof Ns||g instanceof Mr,_=this.isFragment(),b=this.isSlot(),m=this.isComponent(),C=g instanceof Wn,k=C||this._options.dynamic;let L=f?f.scope():null,x=T?"self":_?"'fragment'":g.isClass&&g.isClass()?g.toTypeArgument():"'"+y+"'";(y=="global"||y=="teleport")&&(x="'i-"+y+"'",A.use("dom_teleport")),d&&!this._consumedBy&&this.set({detached:!0});var E=t.inline,N=this.isSVG(),S=this.isReactive(),D=!1,V=!0,M=this._attrmap.route||this._attrmap.routeTo||this._attrmap["route-to"],W=m||M||this.option("shouldEnd");M&&r.use("router");var Q=null,le=this.option("ownCache")||!1;this._asset&&(x=this._assetRef.c());var ae="";if(b&&(this.root().isSelf()?ae=oe(".",oe(".",this.root().tvar(),pt("__slots")),pt(this.option("name"))).c():ae=""+oe(".",this.root().tvar(),this.gsym("#registerFunctionalSlot")).c()+"("+pt(this.option("name")).c()+")"),i){let P=A.parent(),Ae=P instanceof Xe||P instanceof _i;Ae||this.option("iife",!0),g instanceof ia&&!T?g.isAsset()?c("var "+this.tvar()+" = new "+ve("SVGSVGElement",g)):g.isClass()?c(ve("var "+this.tvar()+" = new "+ve(g.toClassName(),g)+";"+this.tvar(),g)):(this.tvar()._datatype=new Un(g.toClassName(),g),c(ve("var "+this.tvar()+" = new "+ve(g.toClassName(),g)+";"+this.tvar(),g))):T?(this.tvar()._datatype="this",c("var "+this.tvar()+" = "+g.c())):k?this._options.dynamic?c("var "+this.tvar()+" = "+g.c()+";"+this.tvar()):c("var "+this.tvar()+" = new "+ve("\u0393any",g)):c("var "+this.tvar()+" = new "+ve("HTMLElement",g));for(let F=0,J=this._attributes,Z=J.length,j;F<Z;F++)j=J[F],this._ref=this.tvar(),(j instanceof ii||j instanceof ni||j instanceof yr)&&c(j.c(t));let Ne=this.body()?this.body().values():[];for(let F=0,J=Ne,Z=J.length;F<Z;F++)c(J[F].c());if(Ae){this.option("return")&&c("return "+this.tvar());let F=o.join(`;
`);return this.hasBlockScopedVariables()&&(F="{"+F+"}"),F}else{c("return "+this.tvar());let F=t.inline||n?",":`;
`;return F=`;
`,"(()=>{"+o.join(F)+"})()"}}var fe=W||this.hasDynamicFlags()||this._attributes.length||this.option("markWhenBuilt")||this.isDetached()||k||!!this.option("key"),pe=d&&d.option("condition");k&&(le=!0,this.isMemoized()?x=""+this.owncvar()+".value":x=g.c()),this._cssid&&this._classNames.unshift(this.cssid());for(let P=0,Ae=A.closures(),Ne=Ae.length,F;P<Ne;P++)F=Ae[P],F._cssns&&(!T||F!=L)&&this._classNames.push(F._cssns);for(let P=0,Ae=this.tagLikeParents(),Ne=Ae.length,F;P<Ne;P++)F=Ae[P],F._cssns&&this._classNames.push(F._cssns);if(f&&!T&&(s=f.cssref(this.option("reference")?null:this.scope__()))){let P=f._cssns;this._classNames.indexOf(P)>=0&&this._classNames.splice(this._classNames.indexOf(P),1),k?this._styleName=typeof s=="string"?pt(s):s:this._classNames.push(s)}if(this.option("reference")&&L){let P=String(this.option("reference")).slice(1);this._classNames.push("$"+P)}if(this.option("key")&&this.set({detached:!0}),this._classNames.length){let P=[],Ae=!1;for(let F=0,J=this._classNames,Z=J.length,j;F<Z;F++)j=J[F],j instanceof yr?j.name()instanceof ra?P.push(j.name().toRaw()):P.push(j.rawClassName()):j instanceof qe?(Ae=!0,P.push("${"+j.c()+"}")):P.push(j);if(P.length>1){let F=[],J=new Set;for(let Z=0,j=P,ee=j.length,te;Z<ee;Z++)te=j[Z],J.has(te)||(J.add(te),F.push(te));P=F}let Ne=Ae?"`":"'";this._className=Ne+P.join(" ")+Ne}var Je=[x,v&&!this.option("detached")?v.tvar():"null",this._className||"null","null",this._styleName?this._styleName.c():"null"],st=this.body()?this.body().values():[];st.length==1&&st[0]instanceof x1&&st[0].isStatic()&&!T&&!b&&(Je[3]=st[0].value().c(),st=[]),this._dynamics.length==0&&!this.hasDynamicFlags()&&!Q&&!k&&!this.option("slotted")&&st.every(function(P){return P instanceof ct||P instanceof _i&&!P.isDynamicType()&&!P.option("key")})&&!W&&!this.hasNonTagChildren()&&!b&&!this.option("dynamic")&&!this.option("reference")&&(V=!1,d instanceof _i&&!(this.up()instanceof Nt)&&(D=!0)),(_||b)&&(Je=[this._flags].concat(Je.slice(1,2))),b&&(Je[1]="null");var se=ve(""+this.create_()+"("+Je.join(",")+")",g);if(this.option("reference")){let P=Je[1];Je[1]="null",se=ve(""+this.create_()+"("+Je.join(",")+")",g),this.set({ctor:se}),se=oe(".",this.scope__().context(),this.option("reference")).c(),se="("+this.tvar()+"="+se+","+this.tvar()+"["+this.gsym("##up")+"]="+P+","+this.tvar()+")";let Ae=this.option("tagdeclbody");if(Ae&&!A.tsc()){let Ne=Ae._head||(Ae._head=[]),F=Us(this.option("reference").c()),J="let el="+this.option("ctor")+`;
	return (Object.defineProperty(this,'`+F+"',{value:el}),el);",Z="get "+F+`(){
	`+J+`
}`;Ne.push(Z)}}else se=""+this.tvar()+"="+se;this.option("assign")&&(se=oe("=",this.option("assign"),ce(se)).c());let _e=this.hasDynamicDescendants();if(!d&&this.option("memoSelf")&&!T&&c(""+this.parentCache()+".this=this"),this._consumedBy){if(t.inline&&!D&&(this.option("iife",!0),t.inline=!1),this.isShadowRoot()){let P=""+this.cvar()+"["+this.osym()+"]";c(""+this.tvar()+"="+P+" || ("+P+"="+v.tvar()+".attachShadow({mode:'open'}))")}else if(b&&!this.hasChildren()){if(c(""+this.tvar()+"="+ae),!(d instanceof Hs)){let P=""+this.cvar()+"["+this.osym()+"]";c("("+P+" = "+v.tvar()+this.domCall("insert")+"("+this.tvar()+","+this._flags+","+P+"))")}}else if(b&&this._consumed.length==1)this._consumed[0].set({detached:!0,slotted:!0}),this._consumed[0]._tvar=this.tvar(),this._consumed[0]._parent=d,le=!1;else if(d instanceof nn){this._bvar=this.tagvar("B");let P=this.option("key");if(this.option("key"))if(k){c(""+this.owncvar()+"="+this.renderContextFn()+"("+this.option("key").c()+")");let Ae=""+this.owncvar()+".run("+g.c()+")";c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+se+"))")}else{let Ae=""+this.parentCache()+".get("+this.kvar()+"="+this.option("key").c()+")";c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.parentCache()+".set("+this.kvar()+","+se+"))")}else if(d.isIndexed()){let Ae=""+this.parentCache()+"["+d.kvar()+"]";c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+Ae+"="+se+")")}else if(d.isKeyed())if(k){let Ae="("+this.owncvar()+"="+this.dynamicContextFn()+"("+g.osym()+","+d.kvar()+")).run("+g.c()+","+(C?1:0)+")";c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+se+"))")}else{let Ae="("+this.kvar()+"="+this.renderContextFn()+"("+this.osym()+")).get("+d.kvar()+")";c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.kvar()+".set("+d.kvar()+","+se+"))")}this._ref=""+this.tvar(),c(""+this.bvar()+"||("+this.tvar()+"["+this.gsym("##up")+"]="+v.tvar()+")"),(this._dynamics.length||this._consumed.length&&st.length)&&(le=!0)}else if(!S)c("("+se+")");else if(D)this._ref=this.tvar(),this._bvar=d.bvar(),c(""+d.bvar()+" || ("+se+")");else{let P=this.option("key"),Ae=this._cref||(this._cref=""+this.cvar()+"["+this.osym()+"]");if(fe&&(this._bvar=this.tagvar("B")),k){c(P?""+this.owncvar()+"="+this.dynamicContextFn()+"("+P.osym()+","+P.c()+")":""+this.owncvar()+"="+this.renderContextFn()+"("+g.osym()+")");let Ne=""+this.owncvar()+".run("+g.c()+","+(C?1:0)+")";c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ne+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+se+"))")}else if(P){c(""+this.owncvar()+"="+this.renderContextFn()+"("+P.osym()+")");let Ne=""+this.owncvar()+".run("+P.c()+")";c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ne+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+se+"))")}else{let Ne=""+this.parentCache()+"["+this.osym()+"]";c(fe?"("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ne+") || ("+this.bvar()+"="+this.dvar()+"=0,"+Ne+"="+se+")":"("+this.tvar()+"="+Ne+") || ("+Ne+"="+se+")")}this.isDetached()&&c(""+this.bvar()+"||("+this.tvar()+"["+this.gsym("##up")+"]="+v.tvar()+")"),this._ref=this.tvar(),Q&&(le=!0),d instanceof Hs&&(le=!0)}le&&(this._cvar=this.tvar())}else if(this._ref=""+this.tvar(),T)c(""+this.tvar()+"=this"),c(""+this.tvar()+this.domCall("open")+"()"),c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"["+this.osym()+"] === 1) || ("+this.bvar()+"="+this.dvar()+"=0,"+this.tvar()+"["+this.osym()+"]=1)"),this._cvar=this.tvar();else if(S){let P=""+this.parentCache()+"["+this.osym()+"]";k&&this.isMemoized()?(this.option("key")?c(""+this.owncvar()+"="+this.dynamicContextFn()+"("+this.osym()+","+this.option("key").c()+")"):c(""+this.owncvar()+"="+this.renderContextFn()+"("+this.osym()+")"),se=""+this.owncvar()+".cache("+se+")",c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+this.owncvar()+".run("+g.c()+","+(C?1:0)+")) || ("+this.bvar()+"="+this.dvar()+"=0,"+se+")")):this.option("key")?(c(""+this.cvar()+"=("+P+"="+P+"||new Map())"),c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+this.cvar()+".get("+this.kvar()+"="+this.option("key").c()+")) || ("+this.bvar()+"="+this.dvar()+"=0,"+this.cvar()+".set("+this.kvar()+","+se+"))")):this.isMemoized()?c("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+P+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.tvar()+"="+P+"="+se+")"):c("("+this.bvar()+"="+this.dvar()+"=0,"+this.tvar()+"="+se+")"),c(""+this.bvar()+" || ("+this.tvar()+"["+this.gsym("##up")+"] = "+this.parentRef()+")"),c(""+this.bvar()+" || ("+this.tvar()+"["+this.gsym("##register")+"]?.("+this.parentCache()+","+this.osym()+"))"),this._cvar=this.tvar(),this._ref=this.tvar(),n&&!_e?(this.option("inline",D=!0),t.inline=!0):(n&&this.option("iife",!0),t.inline=!1)}else c("("+se+")"),this._cvar=this.tvar(),n&&!V?(this.option("inline",D=!0),t.inline=!0):(this.option("iife",!0),t.inline=!1);if(k&&c({if:""+this.tvar()+"["+this.gsym("#isRichElement")+"]"}),this._slots)for(let P=this._slots,Ae,Ne=0,F=Object.keys(P),J=F.length,Z;Ne<J;Ne++){Z=F[Ne],Ae=P[Z],A.use("slots");let j=k?this.gsym("#getFunctionalSlot"):this.gsym("#getSlot");c(""+Ae.tvar()+" = "+oe(".",this.tvar(),j).c()+"('"+Z+"',"+this.cvar()+")")}let U=[];for(let P=0,Ae=this._attributes,Ne=Ae.length,F;P<Ne;P++){if(F=Ae[P],F._chain&&F._chain.length&&!(F instanceof ni)){let J=F.modifiers(),Z=!J.isStatic(),j=J.extractDynamics(),ee=F.modsIdentifier(),te=ee?oe(".",this.tvar(),ee).c():""+this.cvar()+"["+J.osym()+"]";if(Z){c(""+this.vvar()+" = "+te+" || ("+J.c(t)+")");for(let q=0,I=Le(j),R=I.length,O;q<R;q++){O=I[q];let z=O.option("key"),B=O.option("index");c(""+oe(".",this.vvar(),z).c()+"["+B+"]="+O.c(t))}c(""+this.bvar()+" || ("+te+"="+this.vvar()+")")}else c(""+this.bvar()+" || ("+te+"="+J.c(t)+")")}if(!S)c(F.c(t));else if(F.isStatic())c(""+this.bvar()+" || ("+F.c(t)+")");else{let J=""+this.cvar()+"["+F.osym()+"]";if(F instanceof yr){let Z=F._condition,j=F.name(),ee,te,q=!k;Z&&!Z.isPrimitive()&&(ee=""+this.cvar()+"["+Z.osym()+"]",c("("+this.vvar()+"=("+Z.c(t)+"||undefined),"+this.vvar()+"==="+ee+"||("+this.dvar()+"|="+lt.DIFF_FLAGS+","+ee+"="+this.vvar()+"))")),j&&!(j instanceof tt)&&!j.isPrimitive()&&!(j instanceof ra)&&!(j instanceof oi)&&(te=""+this.cvar()+"["+j.osym()+"]",c("("+this.vvar()+"="+j.c(t)+","+this.vvar()+"==="+te+"||("+this.dvar()+"|="+lt.DIFF_FLAGS+","+te+"="+this.vvar()+"))")),ee&&te?U.push("("+ee+" ? ("+te+"||'') : '')"):ee?U.push("("+ee+" ? "+j.c({as:"string"})+" : '')"):te?U.push("("+te+"||'')"):j instanceof ra?U.push(j.c({as:"string"})):U.push("'"+j.c({as:"substring"})+"'")}else if(F instanceof ni){let Z=F.modifiers(),j=Z.extractDynamics(),ee=!1;c(""+this.hvar()+" = "+J+" || ("+J+"="+Z.c(t)+")");for(let te=0,q=Le(j),I=q.length,R;te<I;te++){R=q[te];let O=R.option("key"),z=R.option("index"),B=""+oe(".",this.hvar(),O).c()+"["+z+"]";O=="options"?(ee=!0,c("("+this.vvar()+"="+R.c(t)+","+this.vvar()+"==="+B+" || ("+B+"="+this.vvar()+","+this.dvar()+"|="+lt.DIFF_MODIFIERS+"|"+lt.DIFF_INLINE+"))")):c(""+B+"="+R.c(t))}c(""+this.bvar()+" || "+this.ref()+".on$("+F.quoted()+","+this.hvar().c()+","+this.scope__().context().c()+")"),ee&&c(""+this.dvar()+"&"+lt.DIFF_INLINE+" && ("+this.dvar()+"^="+lt.DIFF_INLINE+","+this.hvar()+"["+this.gsym("#visit")+"]?.())")}else if(F instanceof ii&&F._ns=="bind"){let Z=F.value(),j=L3(Z);if(W=!0,j instanceof Array){let ee=j[0],te=j[1],q="[]",I=ee&&ee.isConstant(),R=te&&te.isConstant();ee instanceof Ns&&!this.root().isSelf()&&(I=!1),I&&R?q="["+ee.c(t)+","+te.c(t)+"]":R&&(q="[null,"+te.c(t)+"]"),c(""+this.vvar()+"="+J+" || ("+J+"="+this.ref()+".bind$('"+F.key()+"',"+q+"))"),ee&&!I&&c(""+this.vvar()+"[0]="+ee.c(t)),te&&!R&&c(""+this.vvar()+"[1]="+te.c(t))}else if(j instanceof Ft){let ee="function(){ return "+j.c(t)+" }",te="function(v$){ "+j.c(t)+" = v$ }",q="{get:"+ee+",set:"+te+"}";c(""+this.bvar()+" || "+this.ref()+".bind$('"+F.key()+"',"+q+")")}}else{N&&F.option({svg:!0});let Z=F.value();if(F.valueIsStatic())c(""+this.bvar()+" || ("+ve(F.js(t),F)+")");else if(Z instanceof ot)c("("+F.js(t)+")");else if(Z._variable){let j=Z.c(t);F._value=ce(""+J+"="+j),c("("+j+"==="+J+" || ("+ve(F.js(t),F)+"))")}else F._value=ce(""+J+"="+this.vvar()),c("("+this.vvar()+"="+Z.c(t)+","+this.vvar()+"==="+J+" || ("+ve(F.js(t),F)+"))")}}}if(U.length||(T||k)&&this._className){this._className&&U.unshift(this._className);let P=""+this.dvar()+"&"+lt.DIFF_FLAGS,Ae=T?"flagSelf$":"flag$",Ne="null";(T||k)&&(P="(!"+this.bvar()+"||"+P+")"),k?(this._styleName&&(Ne=this._styleName.c()),c("("+P+" && "+this.tvar()+".flags.reconcile("+this.osym()+","+U.join("+' '+")+","+Ne+"))")):c("("+P+" && "+this.tvar()+"."+Ae+"("+U.join("+' '+")+","+Ne+"))")}let de=st.length;for(let P=0,Ae=st.length,Ne;P<Ae;P++)if(Ne=st[P],Ne instanceof ct)c(S?""+this.bvar()+" || "+this.tvar()+this.domCall("insert")+"("+Ne.c(t)+")":""+this.tvar()+this.domCall("insert")+"("+Ne.c(t)+")");else if(Ne instanceof oi)for(let F=0,J=Le(Ne._placeholders),Z=J.length;F<Z;F++){let j=J[F]._setter,ee=""+this.cvar()+"["+j.osym()+"]",te=j.value();if(j.valueIsStatic())c(""+this.bvar()+" || ("+ve(j.js(t),j)+")");else if(te instanceof ot)c("("+j.js(t)+")");else if(te._variable){let q=te.c(t);j._value=ce(""+ee+"="+q),c("("+q+"==="+ee+" || ("+ve(j.js(t),j)+"))")}else j._value=ce(""+ee+"="+this.vvar()),c("("+this.vvar()+"="+te.c(t)+","+this.vvar()+"==="+ee+" || ("+ve(j.js(t),j)+"))")}else c(Ne.c(t));if(W&&(!d&&!T?(l.push(""+this.bvar()+" || "+this.parentCache()+".sym || !"+this.tvar()+".setup || "+this.tvar()+".setup("+this.dvar()+","+this.parentCache()+","+this.osym()+")"),l.push(""+this.parentCache()+".sym || "+this.tvar()+this.domCall("end")+"("+this.dvar()+")")):T?l.push(""+this.tvar()+this.domCall("close")+"("+this.dvar()+")"):(l.push(""+this.bvar()+" || !"+this.tvar()+".setup || "+this.tvar()+".setup("+this.dvar()+","+this.owncvar()+")"),l.push(""+this.tvar()+this.domCall("end")+"("+this.dvar()+")"))),k&&l.push({endif:!0}),d instanceof nn)d.isKeyed()?l.push(""+d.ref()+".push("+this.tvar()+","+d.kvar()+"++,"+this.kvar()+")"):d.isIndexed()&&l.push(""+d.kvar()+"++");else if(!(_&&d&&!(d instanceof Hs))&&d&&!(d instanceof Hs)&&(m||Q||this.option("reference"))){let P=v.ref(),Ae=this._cref;Q||k||this.isDetached()?v instanceof M2?l.push("("+this.tvar()+"=="+Ae+") || (!"+Ae+" && "+P+this.domCall("appendChild")+"("+Ae+"="+this.tvar()+")) || ("+P+this.domCall("replaceChild")+"("+this.tvar()+","+Ae+"),"+Ae+"="+this.tvar()+")"):l.push("("+this.tvar()+"=="+Ae+") || (!"+Ae+" && ("+Ae+"="+this.tvar()+")"+this.domCall("insertInto")+"("+P+")) || "+Ae+this.domCall("replaceWith")+"("+Ae+"="+this.tvar()+","+P+")"):this.isDetached()||l.push(""+this.bvar()+" || "+P+this.domCall("appendChild")+"("+this.tvar()+")")}if(this.option("fragmented")&&c(""+this.runtime().renderContext+".context=null"),this._consumedBy||(this.option("return")||this.option("iife")?l.push("return "+this.tvar()):(!S||t.inline)&&l.push(""+this.tvar())),o=o.concat(l),t.inline){t.inline=E;let P="(",Ae=o.length-1;for(let Ne=0,F=Le(o),J=F.length,Z;Ne<J;Ne++)Z=F[Ne],Z.if?P+="("+Z.if+` && (
`:(P+=Z.endif?"))":Z,Ne==Ae||o[Ne+1].endif||(P+=`,
`));if(P+=")",b&&this.hasChildren()){let Ne="";if(!(d instanceof Hs)){let F=""+this.cvar()+"["+this.osym()+"]",J=""+this.cvar()+"["+this.osym("_")+"]",Z=""+this.cvar()+"["+this.osym("__")+"]",j=""+this.tvar()+"==="+Z+" || ("+J+" = "+v.tvar()+this.domCall("insert")+"("+Z+"="+this.tvar()+","+this._flags+","+J+"))"}P="("+this.tvar()+"="+ae+"),(!"+this.tvar()+" || !"+this.tvar()+".hasChildNodes() && "+P+"),("+Ne+")"}return P}t.inline=E;let re="";if(!p)re=o.length?o.join(`;
`)+`;
`:"";else for(let P=0,Ae=Le(o),Ne=Ae.length,F;P<Ne;P++)F=Ae[P],F.if?re+="if("+F.if+`){
`:F.endif?re+=`};
`:re+=F+`;
`;if(b&&this.hasChildren()){let P="";if(!(d instanceof Hs)){let Ae=""+this.cvar()+"["+this.osym()+"]",Ne=""+this.cvar()+"["+this.osym("_")+"]",F=""+this.cvar()+"["+this.osym("__")+"]";P=""+this.tvar()+"==="+F+" || ("+Ne+" = "+v.tvar()+this.domCall("insert")+"("+F+"="+this.tvar()+","+this._flags+","+Ne+"))"}re=""+this.tvar()+"="+ae+`;
if(!`+this.tvar()+" || !"+this.tvar()+`.hasChildNodes()){
`+re+`
}
`+P}return this.option("iife")?(re="(()=>{"+re+";})()",this.option("return")&&(re="return "+re)):this.hasBlockScopedVariables()&&(re="{"+re+"}"),re}},V6=class extends nt{visit(){return this.value()instanceof Array?this.value().map(function(e){return e.traverse()}):this.value().traverse(),this}c(){return""+this.scope__().imba().c()+".getTagForDom("+this.value().c({expression:!0})+")"}},H6=class extends Mt{constructor(e,t){super(...arguments),this._nodes=e||[],this._options=t}add(e,t){return this.push(e),this}isExpressable(){return!0}visit(){let e=[];for(let t=0,s=Le(this._nodes),r=s.length,i;t<r;t++)i=s[t],e.push(!(i instanceof tt)&&i.traverse());return e}query(){var e="",t=[];for(let r=0,i=Le(this.nodes()),n=i.length,a;r<n;r++){a=i[r];var s=a.c();a instanceof tt?t.push("'"+s.replace(/\'/g,'"')+"'"):t.push(s)}return t.join(" + ")}toString(){return Ie.cary(this.nodes()).join("")}js(e){var t=this.option("type"),s=Ie.c(this.query()),r=this.scope__().imba().c();return t=="%"?""+r+".q$("+s+","+e.scope().context().c({explicit:!0})+")":t=="%%"?""+r+".q$$("+s+","+e.scope().context().c({explicit:!0})+")":""+r+".q"+t+"("+s+")"}},z6=class extends nt{},U6=class extends nt{js(e){return"await "+this.value().c()}visit(e){this.value().traverse();var t=e.up(ot);return t&&t.set({async:!0}),this;var s,r,i;if(this._func=new Tu([],[]),this._func.body()._nodes=s.defers(r,this),this._func.scope().visit(),i instanceof gs){i._left.traverse();var n;n instanceof Ts?this._func.params().at(0,!0,n.variable().name()):(i._right=this._func.params().at(0,!0),this._func.body().unshift(i),this._func.scope().context())}}},Tu=class extends ot{constructor(e,t,s,r,i){super(e,t,s,r,i)}scopetype(){return ha}},an=class extends qe{constructor(e,t){super(...arguments),this._name=e,this._alias=t}alias(e){return this._alias}name(e){return this._name}setName(e){return this._name=e,this}loc(){return this._alias?this._alias.loc():this._name.loc()}sourcePath(){return this._importer?this._importer.sourcePath():null}visit(e){return this._declaration=e.up(w1),this._declaration instanceof P2?this._importer=this._declaration:this._exporter=this._declaration,this._cname=To(this._name.c()),this._key=this._alias?To(this._alias.c()):this._cname,this._exporter?this._exporter._source||(this._variable=this.scope__().root().lookup(this._cname)):this._variable=this.scope__().root().register(this._key,this,{type:"imported"}),this}js(){let e=Us(this._name.c()),t=this._alias&&Us(this._alias.c());return t?""+e+" as "+t:""+e}},Y6=class extends an{},q6=class extends an{},K6=class extends an{},W6=class extends an{},ku=class extends an{},X6=class extends Mt{js(){return"{"+super.js(...arguments)+"}"}},w1=class extends Or{constructor(e,t,s){super(...arguments),this.setup(),this._keyword=e,this._specifiers=t,this._source=s,this._defaults=t&&t.find(function(r){return r instanceof ku})}variable(e){return this._variable}addEnv(e){return this._envs||(this._envs=[]),this._envs.push(new S1(e)),this}isExcluded(){return this.isTypeOnly()&&!A.tsc()?!0:this._envs?A.tsc()?this._envs.find(function(e){return e._key=="JS"}):!this._envs.find(function(e){return e.isTruthy()}):!1}isTypeOnly(){return!1}isExport(){return String(this.keyword())=="export"}js(){let e=ve(this.keyword().c(),this.keyword());if(this._specifiers&&this._source)return""+e+" "+Ie.cary(this._specifiers).join(",")+" from "+this._source.c();if(this._specifiers)return""+e+" "+Ie.cary(this._specifiers).join(",");if(this._source)return""+e+" "+this._source.c()}},Eu=class extends nt{setup(){return this}c(){let e="",t=this.value().ref.c(),s=this.value().path;return this._value.kind&&s.indexOf("?")==-1&&(s+="?"+this._value.kind),A.tsc()?this.value().pathToken?e="import "+ve("'"+s.split("?")[0]+"'",this.value().pathToken)+"; const "+t+" = /** @type{ImbaAsset} */(null)":e="const "+t+" = /** @type{ImbaAsset} */({path:'"+s+"'})":e="import "+t+" from "+ve("'"+s+"'",this.value().pathToken),e}},P2=class extends w1{sourcePath(){return this._source&&this._source.c()}ownjs(){var e,t=this._source&&this._source.c();if(A.tsc()){var e=Le(this._source.raw().split("?"));let i=e[0],n=e[1];if(t=ve("'"+i+"'",this._source),(i.match(/\.(html|svg|png|jpe?g|gif)$/)||n&&n.match(/^\w/)&&n!="external")&&this._specifiers&&this._source)return""+ve(this.keyword().c(),this.keyword())+" "+t+`;
import `+Ie.cary(this._specifiers).join(",")+" from 'data:text/asset;';"}let s=this.isTypeOnly()?" type ":" ";return this._specifiers&&this._source?""+ve(this.keyword().c(),this.keyword())+s+Ie.cary(this._specifiers).join(",")+" from "+t:""+ve(this.keyword().c(),this.keyword())+s+t}js(){return this.isExcluded()?"":this.ownjs()}push(e){let t=this._next||this;return this._up.replace(t,[t,ut,this._next=e])}visit(){var e;if(this.setEnds(this._keyword,this._source),!this.isExcluded()){for(let t=0,s=Le(this._specifiers),r=s.length;t<r;t++)(e=s[t])&&e.traverse&&e.traverse();this.scope__()._lastImport=this,this._up=this.up()}}},J6=class extends P2{isTypeOnly(){return!0}js2(){if(!A.tsc())return"";let e=this._source.c();if(this._defaults){let t="/** @typedef {import(SOURCE).default} NAME */true";return t=t.replace("SOURCE",e).replace("NAME",this._defaults.c()),t}else{let t=[];for(let s=0,r=Le(this._specifiers[0].nodes()),i=r.length,n;s<i;s++){n=r[s];let a=n._name.c(),o=n._alias?n._alias.c():n._name.c(),l="/** @typedef {import("+e+")."+a+"} "+o+" */true";t.push(l)}return t.join(`;
`)}}},F2=class extends w1{visit(){var e;if(!this.isExcluded()){for(let t=0,s=Le(this._specifiers),r=s.length;t<r;t++)(e=s[t])&&e.traverse&&e.traverse();return this}}js(){if(this.isExcluded())return"";let e=ve(this.keyword().c(),this.keyword());if(this._specifiers&&this._source)return""+e+" "+Ie.cary(this._specifiers).join(",")+" from "+this._source.c();if(this._specifiers)return""+e+" "+Ie.cary(this._specifiers).join(",");if(this._source)return""+e+" "+this._source.c()}},Z6=class extends F2{},Q6=class extends F2{},Au=class{constructor(e,t){this._name=e,this._scope=t,this._options={}}name(e){return this._name}setName(e){return this._name=e,this}scope(e){return this._scope}},Nu=class extends qe{add(e,t){return this._mixins||(this._mixins={}),this._mixins[e]=t,this}c(){return"export const mixins$ = "+Ie.compileRaw(this._mixins||{})}},j2=class extends nt{loc(){let e=this.option("keyword");return e&&e.region?e.region():super.loc(...arguments)}consume(e){return e instanceof As?(this.option("return",!0),this):super.consume(...arguments)}visit(){return this.value().set({export:this.option("keyword")||this,return:this.option("return"),default:this.option("default")}),super.visit(...arguments)}js(e){var t=this;let s=t.option("default");if(t.value()instanceof Mt&&t.value().map(function(r){return r.set({export:t})}),t.value()instanceof gr||t.value()instanceof Vs)return t.value().c();if(t.value()instanceof gs&&t.value()._left instanceof Ts){let r=ve("export",t.option("keyword")),i=s&&ve("default",t.option("default"));return s?""+r+" "+i+" "+t.value().c():""+r+" "+t.value().c()}return s?"export default "+t.value().c():t.value().c()}},Iu=class extends nt{js(e){var t=this.value()instanceof Ot?this.value().value():this.value(),s=t.c();return s=="require"?"require":"require("+s+")"}},S1=class extends nt{constructor(){super(...arguments),this._key=String(this._value).slice(1,-1)}raw(){return this._raw==null?this._raw=A.env(""+this._key):this._raw}isTruthy(){if(this._key=="JS")return!A.tsc();if(A.tsc())return!0;var e=this.raw();if(e!==void 0&&!(e instanceof qe))return!!e}loc(){return[0,0]}c(){var e=this.raw(),t=e;return A.tsc()?t=ce(""+this.runtime().$env+"("+pt(this._key).c()+")"):this._key=="JS"?t=ce("true"):e!==void 0?typeof e=="string"||e instanceof String?e.match(/^\d+(\.\d+)?$/)?t=String(parseFloat(e)):t="'"+e+"'":e instanceof qe?t=t.c():t=""+e:t="globalThis.IMBA_ENV_"+this._key,ve(t,this._value)}},{StyleNode:e7,StyleSelector:t7,StyleRuleSet:oi,StyleBody:s7,StyleDeclaration:r7,StyleProperty:i7,StylePropertyIdentifier:n7,StylePropertyModifier:a7,StyleExpressions:o7,StyleExpression:l7,StyleParens:h7,StyleOperation:c7,StyleTerm:u7,StyleInterpolationExpression:p7,StyleFunction:d7,StyleURL:f7,StyleIdentifier:_7,StyleString:m7,StyleColor:g7,StyleColorMix:y7,StyleVar:v7,StyleDimension:b7,StyleNumber:x7}=$5({AST:Ie,Node:qe,ListNode:Mt,ValueNode:nt,LIT:ce,C:fs,M:ve,SourceMapper:dr,StyleRule:R_,StyleTheme:u2,Color:or,colord:K5,constants:Hh,helpers:xo,iter$:Le,idx$:i1,STACK:A,TagDeclaration:Jn,TagLike:kt,ClassBody:Xn,TagBody:D2,TagFlag:yr,TagStyleAttr:C2}),We=class extends qe{constructor(e){super(...arguments),this._args=e}name(){return"requireDefault$"}js(){return this.called(this._args,this.option("stdlib"))}called(e,t,s){return t&&!A.isStdLib()?""+A.corelib()[t].c()+"("+Ie.cary(e).join(",")+")":(this.scope__().root().helper(this,this.helper()),""+(s||this.name())+"("+Ie.cary(e).join(",")+")")}};We.extend=function(e,t){return new We.Extend([e,t])},We.callImba=function(e,t,s){return rt(oe(".",e.imba(),new Ke(t)),s)},We.repeat=function(e,t){for(var s="";t>0;)t%2==1&&(s+=e),e+=e,t>>=1;return s},We.keys=function(e){var t=new fu("Object"),s=new Ke("keys");return rt(oe(".",t,s),[e])},We.len=function(e,t){var s=new Ke("length"),r=oe(".",e,s);return t&&r.cache({force:!0,pool:"len"}),r},We.indexOf=function(e,t){var s=new We.IndexOf([e,t]);return s},We.slice=function(e,t,s){var r=new Ke("slice");return rt(oe(".",e,r),Ie.compact([t,s]))},We.iterable=function(e,t){var s=new We.Iterable([e]);return t&&!A.tsc()&&s.cache({force:!0,pool:"iter"}),s},We.counter=function(e,t){var s=new zt(e);return t&&s.cache({force:!0,pool:"counter"}),s},We.array=function(e,t){var s=new We.Array([e]);return t&&s.cache({force:!0,pool:"list"}),s};var Lu={setField:`(target,key,value,o){
	Object.defineProperty(target,key,{value:value});
};`,unit:`(value,unit){
	return value + unit;
};`,memo:`(hash,slf,cb,scope = globalThis){
	let sym = Symbol.for(hash)
	let fn = scope[sym] ||= (cb.memoized=sym,cb)
	return slf == null ? fn : fn.bind(slf)
};`,optNegIndex:"(value,index){ return value ? value[value.length + index] : null };",negIndex:"(value,index){ return value[value.length + index] };",extendTag:`(el,cls){
	Object.defineProperties(el,Object.getOwnPropertyDescriptors(cls.prototype));
	return el;
};`,initField:`(target,key,o){
	Object.defineProperty(target,key,o);
};`,watcher:`(k,w){
	return { enumerable:true,
		set(v){var o=this[k]; (v===o)||(this[k]=v,this[w]({value:v,oldValue:o}));},
		get(){ return this[k] }
	};
};`,decorate:{inline:`(decorators,target,key,desc){
	var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
	else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
	return c > 3 && r && Object.defineProperty(target, key, r), r;
};`,std:"decorate$"},contains:{inline:`(a,b){
	const sym = Symbol.for("#has");
	return b && ( b[sym]?.(a) ?? b.includes?.(a) ?? b.has?.(a) ?? false);
};`,std:"has$"},requireDefault:`(obj){
	return obj && obj.__esModule ? obj : { default: obj };
};`,virtualSuper:`(target){
	var up = Object.getPrototypeOf(target);
	var supers = Object.getOwnPropertyDescriptors(target);

	const map = new WeakMap();
	const obj = Object.defineProperties(Object.create(up), supers);

	const proxy = {
		apply: (self, key, ...params) => { return obj[key].apply(self, params) },
		get: (self, key) => { return Reflect.get(obj, key, self); },
		set: (self, key, value, receiver) => { return Reflect.set(obj, key, value, self);}
	}

	return function (s) {
		return map.get(s) || map.set(s, new Proxy(s, proxy)) && map.get(s);
	}
};`};We.Helper=class extends We{name(){return this.option("name")}helper(){return this.option("helper")}};for(let e,t=0,s=Object.keys(Lu),r=s.length,i;t<r;t++)i=s[t],e=Lu[i],We[i]=function(){for(var n=arguments,a=n.length,o=new Array(a>0?a:0);a>0;)o[a-1]=n[--a];let l="function "+i+"$__"+(e.inline||e);return new We.Helper(o).set({name:i+"$__",helper:l,stdlib:e.std||null})};We.Extend=class extends We{helper(){return`function extend$__(target,ext){
	// @ts-ignore
	const descriptors = Object.getOwnPropertyDescriptors(ext);
	delete descriptors.constructor;
	if(target.extend__ instanceof Function){
		target.extend__(descriptors,ext);
	} else {
		// @ts-ignore
		Object.defineProperties(target,descriptors);
	}
	return target;
};`}js(e){return this.called(Ie.compact(this._args),"extend$","extend$__")}},We.IndexOf=class extends We{helper(){return`function idx$__(a,b){
	return (b && b.indexOf) ? b.indexOf(a) : [].indexOf.call(a,b);
};`}js(e){return this.called(this._args,"idx$","idx$__")}},We.Is=class extends We{left(){return this._args[0]}right(){return this._args[1]}op(){return this._args[2]}stdfn(){return"is$"}helper(){return`// @ts-ignore
function is$(a,b){ return a === b || `+("b?.["+this.symbolRef("#matcher")+"]?.(a) || false")+"}"}clone(e){return new this.constructor(this._args[2]?[this._args[0],e,this._args[2]]:[this._args[0],e])}js(e){return this.called(this._args,this.stdfn(),this.stdfn())}},We.In=class extends We.Is{stdfn(){return"has$"}helper(){return`// @ts-ignore
function has$(a,b){ const sym = Symbol.for("#has"); return b && ( b[sym]?.(a) ?? b.includes?.(a) ?? b.has?.(a) ?? false); }`}},We.Isa=class extends We.Is{helper(){return`// @ts-ignore
function isa$(a,b){ return typeof b === "string" ? (typeof a === b) : b[Symbol.hasInstance]?.(a) }`}js(){return this.right()instanceof ct?"typeof ("+this.left().c()+")==="+this.right().c():String(this.op())=="instanceof"||A.tsc()?"("+this.left().c()+") instanceof "+this.right().c():this.called([this.left(),this.right()],"isa$","isa$")}},We.Promisify=class extends We{helper(){return`function promise$__(a){
	if(a instanceof Array){
		console.warn("await (Array) is deprecated - use await Promise.all(Array)");
		return Promise.all(a);
	} else {
		return (a && a.then ? a : Promise.resolve(a));
	}
}`}js(e){return this.scope__().root().helper(this,this.helper()),"promise$__("+this._args.map(function(t){return t.c()}).join(",")+")"}},We.Iterable=class extends We{helper(){return"function iter$__(a){ let v; return a ? ((v=a.toIterable) ? v.call(a) : a) : a; };"}js(e){return this._args[0]instanceof Ut?this._args[0].c():this.called(this._args,"iterable$","iter$__")}},We.Array=class extends We{js(e){return"new Array("+this._args.map(function(t){return t.c()})+")"}};var w7=class{constructor(e){return this._root=e,this._map=[],this}add(e,t){return this._map[e]=t,this._map.indexOf(t)<0&&this._map.push(t),this}lookup(e){return this._map[e]}plain(){return JSON.parse(JSON.stringify(this._map))}toJSON(){return this._map}},S7=class{constructor(e){return this._root=e,this._map={},this}add(e,t){return this._map[e]=t,this}register(e){var t=e.namepath();return this._map[t]||(this._map[t]=e),this}plain(){return JSON.parse(JSON.stringify(this._map))}toJSON(){return this._map}},Js=class{constructor(e,t){this._nr=A.incr("scopes"),this._node=e,this._parent=t,this._vars=new U3([]),this._entities=new w7(this),this._head=[this._vars],this._meta={},this._annotations=[],this._closure=this,this._virtual=!1,this._counter=0,this._varmap={},this._ampermap={},this._counters={},this._varpool=[],this._mixins={},this._refcounter=0,this._declListeners=[],this._level=(t?t._level:-1)+1,this.setup()}node(e){return this._node}parent(e){return this._parent}params(e){return this._params}head(e){return this._head}p(){return A._loglevel>0&&console.log.apply(console,arguments),this}oid(){return this._oid||(this._oid=A.generateId(""))}tid(){return this._tid||(this._tid=A.generateId("tag"))}stack(){return A}kind(){return this._kind||(this._kind=this.constructor.name.replace("Scope","").toLowerCase())}setParams(e){return this._params=e,this._head.indexOf(e)==-1&&this._head.push(e),e}runtime(){return this.root().runtime()}setup(){return this._selfless=!0}incr(e){e===void 0&&(e="i");var t=this._counters[e]||(this._counters[e]=0);return this._counters[e]++,t}nextShortRef(){return Ie.counterToShortRef(this._refcounter++)}staticsRef(){return this._staticsRef||(this._staticsRef=this.declare("$statics$",rt(A.corelib().statics$,[this.context()])))}memovar(e,t){this._memovars||(this._memovars={});let s=this._memovars[e];return s||(s=this._memovars[e]=this.declare(s,t)),s}mixin(e){return this._mixins[e]||(this._mixins[e]=new Au(e,this))}captureVariableDeclarations(e){let t=[];return this._declListeners.push(t),e(),this._declListeners.pop(),t}meta(e,t){return t!=null?(this._meta[e]=t,this):this._meta[e]}namepath(){return"?"}cssid(){return this._cssid||(this._cssid=""+this.root().sourceId()+"-"+this.tid())}cssns(){return this._cssns||(this._cssns=""+this.root().sourceId()+"_"+this.tid())}tagCache(){if(!this._tagCache){var e=ce(""+this.runtime().getRenderContext+"()");A.closure()instanceof V2&&(e=ce("{}")),this._tagCache=this.declare("\u03F2\u03C4",e,{system:!0,temporary:!0,alias:"\u03F2\u03C4"})}return this._tagCache}tagTempCache(){return this._tagTempCache||(this._tagTempCache=this.declare("\u03F2\u03C4\u03C4",ce("{}"),{system:!0,temporary:!0,alias:"\u03F2\u03C4\u03C4"}))}context(){return this._context||(this.selfless()?this._context=this._parent.context().fromScope(this):this._context=new hn(this)),this._context}isInExtend(){return this._closure.node().option("extension")}traverse(){return this}visit(){return this._parent?this:(this._parent=A.scope(1),this._level=A._scopes.length-1,A.addScope(this),this.root()._scopes.push(this),this)}wrap(e){return this._parent=e._parent,e._parent=this,this}virtualize(){return this}root(){return A.ROOT;var e}register(e,t,s){if(t===void 0&&(t=null),s===void 0&&(s={}),e||(s.system=!0),s.system)return new(s.varclass||ca)(this,e,t,s);e=Ie.sym(e);var r=this._varmap.hasOwnProperty(e)&&this._varmap[e];if(r&&t&&r.type()!="global"&&t.error("Cannot redeclare variable"),r&&!s.unique&&r.type()!="global")return r;let i=s.lookup&&this._parent&&this._parent.lookup(e);var n=new(s.varclass||Ft)(this,e,t,s);if(i&&(n._parent=i),!s.system&&(!r||r.type()=="global")&&(this._varmap[e]=n),A._state&&A._state.variables instanceof Array&&A._state.variables.push(n),this._declListeners.length)for(let a=0,o=Le(this._declListeners),l=o.length;a<l;a++)o[a].push(n);return n}annotate(e){return this._annotations.push(e),this}declare(e,t,s){var r;t===void 0&&(t=null),s===void 0&&(s={});var i=e instanceof Ft?e:this.register(e,null,s),n=this._vars.add(i,t);return(r=i._declarator)||(i._declarator=n),i}reusevar(e){return this.temporary(null,{reuse:!0},e)}temporary(e,t,s){if(t===void 0&&(t={}),s===void 0&&(s=null),this._systemscope&&this._systemscope!=this)return this._systemscope.temporary(e,t,s);if(s||(s=t.name),t.temporary=!0,s&&t.reuse&&this._vars["_temp_"+s])return this._vars["_temp_"+s];if(t.pool){for(let i=0,n=Le(this._varpool),a=n.length,o;i<a;i++)if(o=n[i],o.pool()==t.pool&&o._declarator==null)return o._declarator=e,o}var r=new ca(this,s,e,t);return this._varpool.push(r),t.nodecl||this._vars.push(r),s&&t.reuse&&(this._vars["_temp_"+s]=r),r}lookup(e){this._lookups||(this._lookups={});var t=null;return e=Ie.sym(e),this._varmap.hasOwnProperty(e)?t=this._varmap[e]:(t=this._parent&&this._parent.lookup(e),t&&(this._nonlocals||(this._nonlocals={}),this._nonlocals[e]=t)),t}requires(e,t){return t===void 0&&(t=""),this.root().requires(e,t)}imba(){return A.meta().universal=!1,this._imba||(this._imba=A.isNode()?ce("(this && this["+this.root().symbolRef("#imba").c()+"] || globalThis["+this.root().symbolRef("#imba").c()+"])"):ce("imba"))}autodeclare(e){return this._vars.add(e)}free(e){return e.free(),this}selfless(){return!!this._selfless}closure(){return this._closure}finalize(){return this}klass(){for(var e=this;e;)if(e=e.parent(),e instanceof ln)return e;return null}c(e){var t;return e===void 0&&(e={}),e.expression=!1,this._node.body()._head=this._head,t=this._node.body().c(e)}region(){return this._node.body().region()}loc(){return this._node.loc()}dump(){var e=this,t=Object.keys(e._varmap).map(function(r){var i=e._varmap[r];return i._references.length?Ie.dump(i):null}),s={nr:e._nr,type:e.constructor.name,level:e._level||0,vars:Ie.compact(t),loc:e.loc()};return s}toJSON(){return this.dump()}toString(){return""+this.constructor.name}closeScope(){return this}},on=class extends Js{constructor(){super(...arguments),this.GLOBAL=this.register("global",this,{type:"global"}),this.GLOBAL._c="globalThis",this.REQUIRE=this.register("require",this,{type:"global"}),this.IMPORT=this.register("import",this,{type:"global"}),this.MODULE=this.register("module",this,{type:"global"}),this.ASSERT=this.register("assert",this,{type:"global"}),this.EQ=this.register("eq",this,{type:"global"}),this.L=this.register("L",this,{type:"global"}),this.register("window",this,{type:"global",varclass:ju}),this._document=this.register("document",this,{type:"global",varclass:Fu}),this.register("exports",this,{type:"global"}),this.register("console",this,{type:"global"}),this.register("process",this,{type:"global"}),this.register("parseInt",this,{type:"global"}),this.register("parseFloat",this,{type:"global"}),this.register("setTimeout",this,{type:"global"}),this.register("setInterval",this,{type:"global"}),this.register("setImmediate",this,{type:"global"}),this.register("clearTimeout",this,{type:"global"}),this.register("clearInterval",this,{type:"global"}),this.register("clearImmediate",this,{type:"global"}),this.register("globalThis",this,{type:"global"}),this.register("isNaN",this,{type:"global"}),this.register("isFinite",this,{type:"global"}),this.register("__dirname",this,{type:"global"}),this.register("__filename",this,{type:"global"}),this.register("__realname",this,{type:"global"})._c="__filename",this.register("__pure__",this,{type:"global",varclass:Pu})._c="/* @__PURE__ */",this.register("_",this,{type:"global"}),this._requires={},this._warnings=[],this._scopes=[],this._helpers=[],this._assets={},this._selfless=!0,this._implicitAccessors=[],this._entities=new S7(this),this._object=Ss.wrap({}),this._head=[this._vars],this._symbolRefs={},this._importProxies={},this._vars._split=!0,this._vars,this._imba=this.register("imba",this,{type:"global",varclass:Y2,path:"imba"}),this._runtime=this._imba.proxy()}importProxy(e,t,s){return s===void 0&&(s="$"+e+"$"),this._importProxies[e]||(this._importProxies[e]=this.register(s,this,{type:"global",varclass:k1,path:t||e}))}runtime(){return this._runtime}use(e){if(!A.tsc())return this._imba.touch("use_"+e)}sourceId(){return this._sourceId||(this._sourceId=A.sourceId())}cssns(){return this._cssns||(this._cssns=""+this.sourceId()+"_")}sfco(){return this._sfco||(this._sfco=this.declare("sfc$",ce("{/*$sfc$*/}")))}l(){return this._l||(this._l=this.declare("l$",ce("null")))}context(){return this._context||(this._context=new Vu(this))}globalRef(){return this._globalRef||(this._globalRef=ce("globalThis"))}mixinExports(){return this._mixinExports||this._head.push(this._mixinExports=new Nu),this._mixinExports}registerAsset(e,t,s,r){let i=e+t;if(this._assets[i])return this._assets[i];let n=A.lastImport()||this._head,a=this._assets[i]={path:e,kind:t,external:!0,context:s,pathToken:r,ref:this.register("asset",null,{system:!0})};return n.push(new Eu(a)),a}lookup(e){if(e=Ie.sym(e),this._varmap.hasOwnProperty(e))return this._varmap[e]}visit(){return A.addScope(this),this}helper(e,t){return this._helpers.indexOf(t)==-1&&this._helpers.push(t),this}head(){return this._head}dump(){var e={autoself:this._implicitAccessors.map(function(s){return s.dump()})};if(Gs.analysis.scopes){var t=this._scopes.map(function(s){return s.dump()});t.unshift(super.dump()),e.scopes=t}return Gs.analysis.entities&&(e.entities=this._entities),e}requires(e,t){var s,r;if(s=this.lookup(t))return s;if(s=this._requires[t]){if(s._requirePath!=e)throw new Error(""+t+" is already defined as require('"+s._requirePath+"')");return s}var i=new Iu(new ct("'"+e+"'"));s=new Ft(this,t,null,{system:!0});var n=this._vars.add(s,i);return(r=s._declarator)||(s._declarator=n),s._requirePath=e,this._requires[t]=s,s}imba(){return this._imba}symbolRef(e){if(e=dr.strip(e),A.tsc())return this._symbolRefs[e]||(this._symbolRefs[e]=new Ke(e.slice(1)+"_$INTERNAL$_"));let t=this._symbolRefs,s=M_(e);return t[e]||(t[e]=this.declare(null,ce("Symbol.for('"+e+"')"),{type:"const",system:!0,alias:s,gsym:e}))}c(e){e===void 0&&(e={}),e.expression=!1;let t=this.node().body().c(e),s=A._css,r=new Xe([]);r._head=this._head,r.add(ce(s.js(this,A)));let i=r.c(e)+`
/*body*/
`+t;return Wi(this._helpers)&&(i=Ie.cary(this._helpers).join(`;
`)+`
`+i),i}},T7=class extends Js{setup(){return this._selfless=!1}namepath(){return this._node.namepath()}},ln=class extends Js{setup(){return this._selfless=!1}namepath(){return this._node.namepath()}virtualize(){var e=this.parent();for(let t=this._varmap,s,r=0,i=Object.keys(t),n=i.length,a;r<n;r++)a=i[r],s=t[a],s.resolve(e,!0);return this}prototype(){return this._prototype||(this._prototype=new nt(oe(".",this.context(),"prototype")))}},G2=class extends ln{},k7=class extends Js{},B2=class extends Js{},V2=class extends B2{lookup(e){this._lookups||(this._lookups={});var t=null;if(e=Ie.sym(e),this._varmap.hasOwnProperty(e))t=this._varmap[e];else if(t=this.parent()&&this.parent().lookup(e),t&&t.closure()==this.parent().closure()){this._leaks||(this._leaks=new Map),this._nonlocals||(this._nonlocals={}),this._nonlocals[e]=t;let s=this._leaks.get(t);s||this._leaks.set(t,s=new Mu(this,e,t)),t=s}return t}},li=class extends Js{setup(){return this._selfless=!1}isInExtend(){return this.parent().isInExtend()}visit(){if(super.visit(...arguments),A.tsc()&&this.isInExtend()){let e=this.parent().closure().node(),t=e._className;if(t){let s=null;t instanceof Ke&&!t._variable&&(s=d2[t._value]);let r=t.option("generics"),i=t.c();r&&(i+=String(r));let n=this.node().option("static")?ce(""+e._className.c()):s&&s.thistype?ce("null as any as "+s.thistype):ce("this as (this & "+i+")"),a=this.context().reference(n);this.context()._useReference=!0,a.c()}}return this}},H2=class extends Js{setup(){return this._selfless=!1}mergeScopeInto(e){for(let t=this._varmap,s,r=0,i=Object.keys(t),n=i.length,a;r<n;r++)a=i[r],s=t[a],a!="self"&&(s.resolve(e,!0),e.declare(s));return this._context&&this._context._reference&&(this._context._reference=e.context().reference()),!0}},ha=class extends Js{context(){return this._context||(this._context=this.parent().context().fromScope(this)),this._context}},Pr=class extends Js{params(){if(this._parent)return this._parent.params()}register(e,t,s){var r;return t===void 0&&(t=null),s===void 0&&(s={}),s.type!="let"&&s.type!="const"&&this.closure()!=this?((r=this.lookup(e))&&r.type()=="let"&&t&&t.warn("Variable already exists in block"),this.closure().register(e,t,s)):super.register(e,t,s)}autodeclare(e){return this.parent().autodeclare(e)}closure(){return this._parent.closure()}context(){return this._context||(this._context=this.parent().context())}closeScope(){return this._context&&this._context.reference(),this}temporary(e,t,s){return t===void 0&&(t={}),s===void 0&&(s=null),(this._systemscope||this.parent()).temporary(e,t,s)}},Ru=class extends Pr{},$u=class extends Pr{autodeclare(e){return this._vars.add(e)}},Cu=class extends Pr{autodeclare(e){return this._vars.add(e)}},Ou=class extends Pr{},z2=class extends Pr{region(){return this.node().region()}},Du=class extends Pr{},Ft=class Pp extends qe{constructor(t,s,r,i){super(...arguments),this._ref=A._counter++,this._c=null,this._scope=t,this._name=s,this._alias=null,this._initialized=!0,this._declarator=r,this._autodeclare=!1,this._declared=i&&i.declared||!1,this._datatype=i&&i.datatype,this._resolved=!1,this._options=i||{},this._type=i&&i.type||"var",this._export=!1,this._references=[],this._assignments=[]}scope(t){return this._scope}name(t){return this._name}setName(t){return this._name=t,this}alias(t){return this._alias}type(t){return this._type}references(t){return this._references}value(t){return this._value}datatype(t){return this._datatype}setDatatype(t){return this._datatype=t,this}pool(){return null}get _variable(){return this}isImported(){return this._type=="imported"}importPath(){return this.isImported()&&this._declarator?this._declarator.sourcePath():null}get is_exported(){return this._declarator?this._declarator.option("export"):!1}get is_import(){return this.isImported()}typedAlias(){return this._typedAlias||(this._typedAlias=new Pp(this._scope,this._name+"$TYPED$",this._declarator,this._options))}isGlobal(t){return this._type=="global"&&(!t||this._name==t)}closure(){return this._scope.closure()}vartype(){return this._vartype||this._declarator&&this._declarator.datatype&&this._declarator.datatype()}assigned(t,s){return this._assignments.push(t),t instanceof Ut?this._isArray=!0:this._isArray=!1,this}parents(){let t=[],s=this.closure().parent(),r=this;for(;s&&r&&t.length<5;)if(r=s.lookup(this._name)){t.unshift(r);let i=r.scope().parent();if(s==i)break;s=i}return t}resolve(t,s){if(t===void 0&&(t=this._scope),s===void 0&&(s=!1),this._resolved&&!s)return this;this._resolved=!0;var r=this._scope.closure(),i=this._shadowing||t.lookup(this._name);if(this._scope!=r&&this._type=="let"&&this._virtual&&(i=r.lookup(this._name),t=r),i==this)return t._varmap[this._name]=this,this;if(i){if(i.scope()!=t&&(this._options.let||this._type=="let")&&(t._varmap[this._name]=this,!this._virtual&&!this._shadowing))return this;if(!this._options.proxy)for(var n=0,a=this._name;t.lookup(this._name);)this._name=""+a+(n+=1)}return t._varmap[this._name]=this,r._varmap[this._name]=this,this}reference(){return this}node(){return this}cache(){return this}traverse(){return this}free(t){return this._declarator=null,this}proxy(t,s){return this._proxy=[t,s],this}refcount(){return this._references.length}c(t){if(t){if(t.as=="declaration"&&A.tsc()&&this._datatype)return this.c({})+":"+ve(this._datatype);if(t.as=="field")return"["+this.c({})+"]"}if(this._c)return this._c;if(this._typedAlias&&this._typedAlias.c(t),this._proxy)this._proxy instanceof qe?this._c=this._proxy.c():(this._c=this._proxy[0].c(),this._proxy[1]&&(this._c+="["+this._proxy[1].c()+"]"));else{this._resolved||this.resolve();var s=this._alias||this._name;this._c=typeof s=="string"?Us(s):s.c({as:"variable"}),Uu.test(this._c)&&(this._c=""+this.c()+"$")}return this._c}js(){return this.c()}consume(t){return this}accessor(t){var s=new iu(".",null,this);return s}assignment(t){return new gs("=",this,t)}addReference(t){return t instanceof Ke&&t.references(this),t.region&&t.region()&&(this._references.push(t),t.scope__()!=this._scope&&(this._noproxy=!0)),this}autodeclare(){return this._declared?this:(this._autodeclare=!0,this._scope.autodeclare(this),this._declared=!0,this)}predeclared(){return this._declared=!0,this}toString(){return String(this._name)}dump(t){var s=this._name;return s[0].match(/[A-Z]/)?null:{type:this._type,name:s,refs:Ie.dump(this._references,t)}}via(t){return new O3(this,t)}},ca=class extends Ft{pool(){return this._options.pool}predeclared(){return this.scope()._vars.remove(this),this}resolve(){if(this._resolved)return this;this._resolved=!0;let e=this._options;if(e.gsym)return this._name=""+e.gsym.replace(/\#/g,"$")+"$",this;if(e.alias){var r=e.alias;let d=r||Xi.ANY;/\d/.test(d[0])&&(d="_"+d),/\d$/.test(d)&&(d=d+Xi.SEP);let v=A.incr(d);return v==1&&(v=""),S3.test(d)?this._name=""+d+v:this._name=""+d+"\u03C6"+v,this}let t=e.ns||"",s=A.tsc()||e.safe?this._scope.incr("sysvar"+t):A.incr("sysvar"+t);return this._name=""+t+"$"+s,this;var r,i,n,a,o}name(){return this.resolve(),this._name}toString(){return this.c()}},Mu=class extends Ft{},T1=class extends Ft{},Pu=class extends Ft{},U2=class extends T1{forScope(e){return new Gu(this,e)}c(){return""+this._name}},Fu=class extends U2{forScope(e){return this}c(){return A.isNode()?""+this.runtime().get_document+"()":"globalThis.document"}},ju=class extends T1{c(){return A.isNode()?""+this.runtime().get_window+"()":"window"}},Gu=class extends qe{constructor(e,t){super(...arguments),this._variable=e,this._scope=t}c(){let e=this._variable._name;return A.isNode()?(A.use(""+e),""+this.runtime().zone+".get('"+e+"',"+this._scope.context().c()+")"):""+e}},k1=class extends Ft{constructor(){super(...arguments);var e=this;e._path=e._options.path,e._exports={},e._touched={},e._head=ce("import "),e._head.c=e.head.bind(e),e.scope()._head.unshift(e._head);var t=function(s,r,i){return e.access(r)};e._proxy_=new Proxy(e,{get:t})}proxy(){return this._proxy_}touch(e){return this._touched[e]||(this._touched[e]=this.access(e)),this}head(){var e=this;let t=Object.keys(e._exports),s=Object.values(e._touched),r=[],i=e._path;i=="imba"&&(i=A.imbaPath()||"imba");let n="'"+i+"'";if(e._importAll&&r.push("import * as "+e._name+" from "+n+";"),t.length>0){let a=t.map(function(o){let l=e._exports[o].c();return l==o?o:""+o+" as "+l}).join(", ");r.push("import {"+a+"} from "+n+";")}return s.length&&r.push("("+s.map(function(a){return a.c()+"()"}).join(",")+");"),r.length?r.join(`
`):""}access(e,t){if(t===void 0&&(t=null),this._globalName)return ce(""+ve(this._globalName,t)+"."+fs(e));let s=fs(e,{mark:!1});return this._exports[s]||(this._exports[s]=new cu(this._name?""+this._name+"_"+s:s))}c(){return this._importAll||(this._importAll=!0),super.c(...arguments)}},Y2=class extends k1{configure(e){return e.runtime=="global"||A.tsc()?this._globalName="imba":e.runtime&&(this._path=e.runtime),this}head(){return A.tsc()?"":super.head(...arguments)}c(){return this._importAll||(this._importAll=!0,A.current().warn("Referencing imba directly disables efficient tree-shaking")),this._c="imba"}},hn=class extends qe{constructor(e,t){super(...arguments),this._scope=e,this._value=t,this._reference=null}scope(e){return this._scope}value(e){return this._value}namepath(){return this._scope.namepath()}reference(e){return this._reference||(this._reference=this._scope.lookup("self")||this._scope.declare("self",e??new Mr))}fromScope(e){return new Bu(e,this)}isConstant(){return!0}c(){if(this._useReference&&this._reference)return this._reference.c();var e=this._value;return e?e.c():"this"}cache(){return this}proto(){return""+this.c()+".prototype"}isGlobalContext(){return!1}},Bu=class extends hn{constructor(e,t){super(...arguments),this._scope=e,this._parent=t,this._reference=t.reference()}reference(){return this._reference}c(){return this._reference.c()}isGlobalContext(){return this._parent.isGlobalContext()}},Vu=class extends hn{reference(){return this._reference||(this._reference=this.scope().lookup("global"))}c(e){return"globalThis";var t}isGlobalContext(){return!0}},Zs=class extends qe{constructor(e,t){super(...arguments),this._keyword=e,this._member=t}visit(){var e;return this._method=A.method(),this._up=A.parent(),(e=A.method())&&(e.set({supr:{node:A.blockpart(),block:A.block(),real:this}}),e.set({injectInitAfter:A.blockpart()})),this._method&&(this._class=A.up(Vs),this._class&&!this._method.isConstructor()&&this._class.set({calledSuper:!0})),this._args&&this._args.traverse(),this}startLoc(){return this._keyword&&this._keyword.startLoc()}endLoc(){return this._keyword&&this._keyword.endLoc()}c(){let e=this._method,t=this._up,s=ce("super"),r,i=this.option("top"),n=e&&e.option("inExtension"),a=this._args;if(n&&this._class&&(s=rt(A.corelib().sup$,[this.slf(),this._class.refSym()])),!(t instanceof it||t instanceof ks)){if(e&&e.isConstructor()&&!this._member){if(A.tsc()&&this._class&&!this._class._superclass)return a?"["+a.c()+"]":"";let o=this.option("target")||ce("super"),l=this.option("args")||[ce("...arguments")];return ve(rt(o,a||l).c(),this._keyword)}else this._member?r=oe(".",s,this._member):e&&(r=oe(".",s,e.name()),e.isSetter()?r=oe("=",r,e.params().at(0)):e.isGetter()||a||(a=[ce("...arguments")]));return a&&(r=rt(r,a)),r?ve(r.c({mark:!1}),this._keyword):"/**/"}return this._member?oe(".",s,this._member).c():t instanceof ks&&e&&!e.isConstructor()?oe(".",s,e.name()).c():"super"}};Zs.callOp=function(e,t){let s=oe(".",ce("super"),e);return rt(s,t||[ce("...arguments")])};var Hu=new l1(`
`),ut=new l1(`
`),E7=new l1(`

`),q2=new Ns,vt=ce("this"),zu=ce("this.prototype"),ua=new f1("true"),E1=new _1("false"),hi=new J3,A7=new T2,N7=new Q3("arguments"),A1="",vr="null",I7=["default","native","enum","with"],Uu=/^(default|native|enum|with|new|char)$/,pa={};function K2(e,t){if(e instanceof Array)for(let s=0;s<e.length;s++)e[s]=K2(e[s],t);else{if(typeof e=="string")return e.replace(/^\.\//,t+"/");if(e&&typeof e=="object")for(let[s,r]of Object.entries(e)){let i=s.replace(/^\.\//,t+"/");e[i]=K2(r,t),i!=s&&delete e[s]}}return e}function Yu(e,{path:t,fs:s}){if(!t||!s||!e||e==t.dirname(e))return null;let r=t.resolve(e,"package.json");if(pa[r])return pa[r];if(pa[r]!==null&&s.existsSync(r)){let i=JSON.parse(s.readFileSync(r,"utf8")),n=i.imba||(i.imba={});return K2(n,e),n.package=i,n.cwd||(n.cwd=e),pa[r]=n}else pa[r]=null;return Yu(t.dirname(e),{path:t,fs:s})}var Is={},qu=new De,Fp=xo,Ku=new wt;pi.lexer=qu.jisonBridge(),pi.yy=wc,Ys.prototype.lexer=qu,Ys.prototype.rewriter=Ku,Ys.prototype.parser=pi;var jp=Is.resolveConfig=function(e){e===void 0&&(e={});let t=e.sourcePath;return e.config||(e.config=Yu(t,e)||{}),e},Gp=Is.deserialize=function(e,t){return t===void 0&&(t={}),Ys.deserialize(e,t)},Bp=Is.tokenize=function(e,t){return t===void 0&&(t={}),new Ys(e,t).tokenize()},Vp=Is.rewrite=function(e,t){return t===void 0&&(t={}),Ku.rewrite(e,t)},Hp=Is.parse=function(e,t){t===void 0&&(t={}),t=Is.resolveConfig(t);var s=e instanceof Array?e:Is.tokenize(e,t);try{return pi.parse(s)}catch(r){throw r._code=e,t.sourcePath&&(r._sourcePath=t.sourcePath),r}},zp=Is.compile=function(e,t){return t===void 0&&(t={}),new Ys(e,Is.resolveConfig(t)).compile()},Up=Is.resolve=function(e,t){return t===void 0&&(t={}),new Ys(e,Is.resolveConfig(t)).compile()},om=Is.analyze=function(e,t){t===void 0&&(t={});var s;try{var r=Is.parse(e,t);s=r.analyze(t)}catch(i){if(!(i instanceof Vt))if(i.lexer)i=new Vt(i,{tokens:i.lexer.tokens,pos:i.lexer.pos});else throw i;s={warnings:[i]}}return s},Wu={};Ci(Wu,{CompletionTypes:()=>Ls,Group:()=>bt,ImbaDocument:()=>E4,KeywordTypes:()=>Ve,Keywords:()=>nl,M:()=>Ct,Monarch:()=>I4,Node:()=>cl,Position:()=>N1,Range:()=>da,Scope:()=>zs,SemanticTokenModifiers:()=>u8,SemanticTokenTypes:()=>D1,Sym:()=>pn,SymbolFlags:()=>je,SymbolKind:()=>Yt,Token:()=>un,grammar:()=>l0,highlight:()=>C4,lexer:()=>ma});var cn=Symbol.for("#source"),L7=Symbol.for("#lineText"),R7=Symbol.for("#version"),Xu=new WeakMap,Ju=Symbol(),Zu=class{[us](t=null,s=!0,r=!0){this.line=t?t.line:void 0,this.character=t?t.character:void 0,this.offset=t?t.offset:void 0}constructor(t,s,r,i=null){this[us](),this.line=t,this.character=s,this.offset=r,this[R7]=i,Ks(this,Ju)}toString(){return""+this.line+":"+this.character}valueOf(){return this.offset}};Ye(Zu,Ju,"Position",16);var N1=Zu,Qu=Symbol(),e0=class{[us](t=null,s=!0,r=!0){this.start=t?t.start:void 0,this.end=t?t.end:void 0}constructor(t,s){this[us](),this.start=t,this.end=s,Ks(this,Qu)}get offset(){return this.start.offset}get length(){return this.end.offset-this.start.offset}get 0(){return this.start.offset}get 1(){return this.end.offset}getText(t){return t.slice(this.start,this.end)}equals(t){return t.offset==this.offset&&t.length==this.length}};Ye(e0,Qu,"Range",16);var da=e0,$7={Error:1,Warning:2,Information:3,Hint:4,error:1,warning:2,warn:2,info:3,hint:4},t0=Symbol(),s0=class{constructor(t,s=null){this.range=t.range,this.severity=$7[t.severity]||t.severity,this.code=t.code,this.source=t.source,this.message=t.message,Xu.set(this,s),Ks(this,t0)}get[cn](){return Xu.get(this)}get[L7](){return this[cn].doc.getLineText(this.range.start.line)}toSnippet(){let t=this.range.start,s=this.range.end,r=""+this[cn].sourcePath+":"+(t.line+1)+":"+(t.character+1)+": "+this.message,i=this[cn].doc.getLineText(t.line),n=[r,i];return n.push(i.replace(/[^\t]/g," ").slice(0,t.character)+"^".repeat(s.character-t.character)),n.join(`
`).replace(/\t/g,"    ")+`
`}toError(){let t=this.range.start,s=this.range.end,r=""+this[cn].sourcePath+":"+(t.line+1)+":"+(t.character+1)+": "+this.message,i=new SyntaxError(r),n=this[cn].doc.getLineText(t.line),a=[r,n];return a.push(n.replace(/[^\t]/g," ").slice(0,t.character)+"^".repeat(s.character-t.character)),i.stack=`
`+a.join(`
`).replace(/\t/g,"    ")+`
`,i}raise(){throw this.toError()}};Ye(s0,t0,"Diagnostic",16);var um=s0,r0=Symbol(),i0=class{constructor(t,s){this.cache={},this.rules=t,this.matcher=s,Ks(this,r0)}convert(t){for(let s=0,r=ft(this.rules),i=r.length;s<i;s++){let n=r[s];if(this.matcher&&this.matcher(n[0],t))return t[1]}return 0}};Ye(i0,r0,"Converter",16);var dm=i0;function I1(e,t,s=1e5,r=1e5){let i=e;for(;i&&s>0&&r>0;){if(i.match(t))return i;s--,(i.type=="br"||i.value==`
`)&&r--,i=i.prev}return null}function C7(e){return"\u0393"+G7(e)}function n0(e,t,s){s===void 0&&(s=0);for(var r=t?[s]:[],i=0;i<e.length;){var n=e.charCodeAt(i);(n===13||n===10)&&(n===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,r.push(s+i+1)),i++}return r}function O7(e){var t=e.start,s=e.end;return t.line>s.line||t.line===s.line&&t.character>s.character?new da(s,t):ds(e,da)?e:new da(t,s)}function D7(e){return e!=null&&typeof e.text=="string"&&e.range===void 0}function M7(e){let t=e.split(/\n/),s=[],r={indent:-1,children:[]},i=r,n,a=Date.now();for(let o=0,l=ft(t),p=l.length;o<p;o++){let c=l[o];if(c.match(/^\s*$/))continue;let d=c.match(/^\t*/)[0].length;for(;r.indent>=d;)r=r.parent||i;if(n=c.match(/^(\t*((?:export )?(?:static )?(?:extend )?)(class|tag|def|get|set|prop|attr) )(\@?[\w\-\$\:]+(?:\.[\w\-\$]+)?)/),n){let v=n[3],f=n[4],g=r.name?r.name+".":"",y=n[2].trim().split(/\s+/),T="",_={start:{line:o,character:n[1].length},end:{line:o,character:n[0].length}},b={kind:v,ownName:f,name:g+f,span:_,indent:d,modifiers:y,children:[],parent:r==i?null:r,type:v,data:{},static:y.indexOf("static")>=0,extends:y.indexOf("extend")>=0};b.static&&(b.containerName="static"),b.containerName=n[2]+n[3],v=="tag"&&(n=c.match(/\<\s+([\w\-\$\:]+(?:\.[\w\-\$]+)?)/))&&(b.superclass=n[1]),r.type=="tag"&&(T="```html\n<"+r.name+" "+f+">\n```\n",b.description={kind:"markdown",value:T}),r.children.push(b),r=b,s.push(b)}}return i.all=s,i}var P7={"-":"\u039E","?":"\u03A6","#":"\u03A8","@":"\u03B1"},F7=new RegExp("[-?#@]","gu"),j7=function(e){return P7[e]};function G7(e){return e.replace(F7,j7)}var B7={\u039E:"-",\u03A6:"?",\u03A8:"#",\u0393:"",\u03B1:"@"},V7=new RegExp("[\u039E\u03A6\u03A8\u0393\u03B1]","gu"),H7=function(e){return B7[e]};function z7(e){return e&&e.replace(V7,H7)}var L1={"":[-1,{id:1,className:"class",slot:1,part:1,elementTiming:"elementtiming"}],HTML:[-1,{title:1,lang:1,translate:1,dir:1,accessKey:"accesskey",draggable:1,spellcheck:1,autocapitalize:1,inputMode:"inputmode",style:1,tabIndex:"tabindex",enterKeyHint:"enterkeyhint"}],HTMLAnchor:[1,{target:1,download:1,ping:1,rel:1,relList:"rel",hreflang:1,type:1,referrerPolicy:"referrerpolicy",coords:1,charset:1,name:1,rev:1,shape:1,href:1}],HTMLArea:[1,{alt:1,coords:1,download:1,shape:1,target:1,ping:1,rel:1,relList:"rel",referrerPolicy:"referrerpolicy",href:1}],HTMLMedia:[1,{src:1,crossOrigin:"crossorigin",preload:1,controlsList:"controlslist"}],HTMLAudio:[4,{}],HTMLBase:[1,{href:1,target:1}],HTMLQuote:[1,{cite:1}],HTMLBody:[1,{text:1,link:1,vLink:"vlink",aLink:"alink",bgColor:"bgcolor",background:1}],HTMLBR:[1,{clear:1}],HTMLButton:[1,{formAction:"formaction",formEnctype:"formenctype",formMethod:"formmethod",formTarget:"formtarget",name:1,type:1,value:1}],HTMLCanvas:[1,{width:1,height:1}],HTMLTableCaption:[1,{align:1}],HTMLTableCol:[1,{span:1,align:1,ch:"char",chOff:"charoff",vAlign:"valign",width:1}],HTMLData:[1,{value:1}],HTMLDataList:[1,{}],HTMLMod:[1,{cite:1,dateTime:"datetime"}],HTMLDetails:[1,{}],HTMLDialog:[1,{}],HTMLDiv:[1,{align:1}],HTMLDList:[1,{}],HTMLEmbed:[1,{src:1,type:1,width:1,height:1,align:1,name:1}],HTMLFieldSet:[1,{name:1}],HTMLForm:[1,{acceptCharset:"accept-charset",action:1,autocomplete:1,enctype:1,encoding:"enctype",method:1,name:1,target:1}],HTMLHeading:[1,{align:1}],HTMLHead:[1,{}],HTMLHR:[1,{align:1,color:1,size:1,width:1}],HTMLHtml:[1,{version:1}],HTMLIFrame:[1,{src:1,srcdoc:1,name:1,sandbox:1,width:1,height:1,referrerPolicy:"referrerpolicy",csp:1,allow:1,align:1,scrolling:1,frameBorder:"frameborder",longDesc:"longdesc",marginHeight:"marginheight",marginWidth:"marginwidth",loading:1}],HTMLImage:[1,{alt:1,src:1,srcset:1,sizes:1,crossOrigin:"crossorigin",useMap:"usemap",width:1,height:1,referrerPolicy:"referrerpolicy",decoding:1,name:1,lowsrc:1,align:1,hspace:1,vspace:1,longDesc:"longdesc",border:1,loading:1}],HTMLInput:[1,{accept:1,alt:1,autocomplete:1,dirName:"dirname",formAction:"formaction",formEnctype:"formenctype",formMethod:"formmethod",formTarget:"formtarget",height:1,max:1,maxLength:"maxlength",min:1,minLength:"minlength",name:1,pattern:1,placeholder:1,src:1,step:1,type:1,defaultValue:"value",width:1,align:1,useMap:"usemap"}],HTMLLabel:[1,{htmlFor:"for"}],HTMLLegend:[1,{align:1}],HTMLLI:[1,{value:1,type:1}],HTMLLink:[1,{href:1,crossOrigin:"crossorigin",rel:1,relList:"rel",media:1,hreflang:1,type:1,as:1,referrerPolicy:"referrerpolicy",sizes:1,imageSrcset:"imagesrcset",imageSizes:"imagesizes",charset:1,rev:1,target:1,integrity:1}],HTMLMap:[1,{name:1}],HTMLMenu:[1,{}],HTMLMeta:[1,{name:1,httpEquiv:"http-equiv",content:1,scheme:1}],HTMLMeter:[1,{value:1,min:1,max:1,low:1,high:1,optimum:1}],HTMLObject:[1,{data:1,type:1,name:1,useMap:"usemap",width:1,height:1,align:1,archive:1,code:1,hspace:1,standby:1,vspace:1,codeBase:"codebase",codeType:"codetype",border:1}],HTMLOList:[1,{start:1,type:1}],HTMLOptGroup:[1,{label:1}],HTMLOption:[1,{label:1,value:1}],HTMLOutput:[1,{htmlFor:"for",name:1}],HTMLParagraph:[1,{align:1}],HTMLParam:[1,{name:1,value:1,type:1,valueType:"valuetype"}],HTMLPicture:[1,{}],HTMLPre:[1,{width:1}],HTMLProgress:[1,{value:1,max:1}],HTMLScript:[1,{src:1,type:1,charset:1,crossOrigin:"crossorigin",referrerPolicy:"referrerpolicy",event:1,htmlFor:"for",integrity:1}],HTMLSelect:[1,{autocomplete:1,name:1,size:1}],HTMLSlot:[1,{name:1}],HTMLSource:[1,{src:1,type:1,srcset:1,sizes:1,media:1}],HTMLSpan:[1,{}],HTMLStyle:[1,{media:1,type:1}],HTMLTable:[1,{align:1,border:1,frame:1,rules:1,summary:1,width:1,bgColor:"bgcolor",cellPadding:"cellpadding",cellSpacing:"cellspacing"}],HTMLTableSection:[1,{align:1,ch:"char",chOff:"charoff",vAlign:"valign"}],HTMLTableCell:[1,{colSpan:"colspan",rowSpan:"rowspan",headers:1,align:1,axis:1,height:1,width:1,ch:"char",chOff:"charoff",vAlign:"valign",bgColor:"bgcolor",abbr:1,scope:1}],HTMLTemplate:[1,{}],HTMLTextArea:[1,{autocomplete:1,cols:1,dirName:"dirname",maxLength:"maxlength",minLength:"minlength",name:1,placeholder:1,rows:1,wrap:1}],HTMLTime:[1,{dateTime:"datetime"}],HTMLTitle:[1,{}],HTMLTableRow:[1,{align:1,ch:"char",chOff:"charoff",vAlign:"valign",bgColor:"bgcolor"}],HTMLTrack:[1,{kind:1,src:1,srclang:1,label:1}],HTMLUList:[1,{type:1}],HTMLVideo:[4,{width:1,height:1,poster:1}],SVG:[-1,{}],SVGGraphics:[66,{transform:1}],SVGA:[67,{}],SVGAnimation:[66,{}],SVGAnimate:[69,{}],SVGAnimateMotion:[69,{}],SVGAnimateTransform:[69,{}],SVGGeometry:[67,{}],SVGCircle:[73,{cx:1,cy:1,r:1}],SVGClipPath:[67,{clipPathUnits:1}],SVGDefs:[67,{}],SVGDesc:[66,{}],SVGDiscard:[66,{}],SVGEllipse:[73,{cx:1,cy:1,rx:1,ry:1}],SVGFEBlend:[66,{mode:1,x:1,y:1,width:1,height:1}],SVGFEColorMatrix:[66,{type:1,values:1,x:1,y:1,width:1,height:1}],SVGFEComponentTransfer:[66,{x:1,y:1,width:1,height:1}],SVGFEComposite:[66,{operator:1,x:1,y:1,width:1,height:1}],SVGFEConvolveMatrix:[66,{orderX:1,orderY:1,kernelMatrix:1,divisor:1,edgeMode:1,x:1,y:1,width:1,height:1}],SVGFEDiffuseLighting:[66,{surfaceScale:1,diffuseConstant:1,x:1,y:1,width:1,height:1}],SVGFEDisplacementMap:[66,{xChannelSelector:1,yChannelSelector:1,x:1,y:1,width:1,height:1}],SVGFEDistantLight:[66,{}],SVGFEDropShadow:[66,{dx:1,dy:1,stdDeviationX:1,stdDeviationY:1,x:1,y:1,width:1,height:1}],SVGFEFlood:[66,{x:1,y:1,width:1,height:1}],SVGComponentTransferFunction:[66,{type:1,tableValues:1,slope:1,amplitude:1,exponent:1}],SVGFEFuncA:[90,{}],SVGFEFuncB:[90,{}],SVGFEFuncG:[90,{}],SVGFEFuncR:[90,{}],SVGFEGaussianBlur:[66,{x:1,y:1,width:1,height:1}],SVGFEImage:[66,{preserveAspectRatio:1,x:1,y:1,width:1,height:1}],SVGFEMerge:[66,{x:1,y:1,width:1,height:1}],SVGFEMergeNode:[66,{}],SVGFEMorphology:[66,{operator:1,x:1,y:1,width:1,height:1}],SVGFEOffset:[66,{x:1,y:1,width:1,height:1}],SVGFEPointLight:[66,{}],SVGFESpecularLighting:[66,{surfaceScale:1,specularConstant:1,specularExponent:1,x:1,y:1,width:1,height:1}],SVGFESpotLight:[66,{specularExponent:1}],SVGFETile:[66,{x:1,y:1,width:1,height:1}],SVGFETurbulence:[66,{numOctaves:1,stitchTiles:1,type:1,x:1,y:1,width:1,height:1}],SVGFilter:[66,{filterUnits:1,primitiveUnits:1,x:1,y:1,width:1,height:1}],SVGForeignObject:[67,{x:1,y:1,width:1,height:1}],SVGG:[67,{}],SVGImage:[67,{x:1,y:1,width:1,height:1,preserveAspectRatio:1}],SVGLine:[73,{x1:1,y1:1,x2:1,y2:1}],SVGGradient:[66,{gradientUnits:1,gradientTransform:1,spreadMethod:1}],SVGLinearGradient:[111,{x1:1,y1:1,x2:1,y2:1}],SVGMarker:[66,{refX:1,refY:1,markerUnits:1,markerWidth:1,markerHeight:1,orientType:1,orientAngle:1,viewBox:1,preserveAspectRatio:1}],SVGMask:[66,{maskUnits:1,maskContentUnits:1,x:1,y:1,width:1,height:1}],SVGMetadata:[66,{}],SVGMPath:[66,{}],SVGPath:[73,{}],SVGPattern:[66,{patternUnits:1,patternContentUnits:1,patternTransform:1,x:1,y:1,width:1,height:1,viewBox:1,preserveAspectRatio:1}],SVGPolygon:[73,{}],SVGPolyline:[73,{}],SVGRadialGradient:[111,{cx:1,cy:1,r:1,fx:1,fy:1,fr:1}],SVGRect:[73,{x:1,y:1,width:1,height:1,rx:1,ry:1}],SVGScript:[66,{}],SVGSet:[69,{}],SVGStop:[66,{}],SVGStyle:[66,{}],SVGSVG:[67,{x:1,y:1,width:1,height:1,viewBox:1,preserveAspectRatio:1}],SVGSwitch:[67,{}],SVGSymbol:[66,{viewBox:1,preserveAspectRatio:1}],SVGTextContent:[67,{textLength:1,lengthAdjust:1}],SVGTextPositioning:[130,{x:1,y:1,dx:1,dy:1,rotate:1}],SVGText:[131,{}],SVGTextPath:[130,{startOffset:1,method:1,spacing:1}],SVGTitle:[66,{}],SVGTSpan:[131,{}],SVGUse:[67,{x:1,y:1,width:1,height:1}],SVGView:[66,{viewBox:1,preserveAspectRatio:1}]},R1={a:2,abbr:1,address:1,area:3,article:1,aside:1,audio:5,b:1,base:6,bdi:1,bdo:1,blockquote:7,body:8,br:9,button:10,canvas:11,caption:12,cite:1,code:1,col:13,colgroup:13,data:14,datalist:15,dd:1,del:16,details:17,dfn:1,dialog:18,div:19,dl:20,dt:1,em:1,embed:21,fieldset:22,figcaption:1,figure:1,footer:1,form:23,h1:24,h2:24,h3:24,h4:24,h5:24,h6:24,head:25,header:1,hgroup:1,hr:26,html:27,i:1,iframe:28,img:29,input:30,ins:16,kbd:1,label:31,legend:32,li:33,link:34,main:1,map:35,mark:1,menu:36,meta:37,meter:38,nav:1,noscript:1,object:39,ol:40,optgroup:41,option:42,output:43,p:44,param:45,picture:46,pre:47,progress:48,q:7,rp:1,rt:1,ruby:1,s:1,samp:1,script:49,section:1,select:50,slot:51,small:1,source:52,span:53,strike:1,strong:1,style:54,sub:1,summary:1,sup:1,table:55,tbody:56,td:57,template:58,textarea:59,tfoot:56,th:57,thead:56,time:60,title:61,tr:62,track:63,u:1,ul:64,var:1,video:65,wbr:1,svg_a:68,svg_animate:70,svg_animateMotion:71,svg_animateTransform:72,svg_audio:66,svg_canvas:66,svg_circle:74,svg_clipPath:75,svg_defs:76,svg_desc:77,svg_discard:78,svg_ellipse:79,svg_feBlend:80,svg_feColorMatrix:81,svg_feComponentTransfer:82,svg_feComposite:83,svg_feConvolveMatrix:84,svg_feDiffuseLighting:85,svg_feDisplacementMap:86,svg_feDistantLight:87,svg_feDropShadow:88,svg_feFlood:89,svg_feFuncA:91,svg_feFuncB:92,svg_feFuncG:93,svg_feFuncR:94,svg_feGaussianBlur:95,svg_feImage:96,svg_feMerge:97,svg_feMergeNode:98,svg_feMorphology:99,svg_feOffset:100,svg_fePointLight:101,svg_feSpecularLighting:102,svg_feSpotLight:103,svg_feTile:104,svg_feTurbulence:105,svg_filter:106,svg_foreignObject:107,svg_g:108,svg_iframe:66,svg_image:109,svg_line:110,svg_linearGradient:112,svg_marker:113,svg_mask:114,svg_metadata:115,svg_mpath:116,svg_path:117,svg_pattern:118,svg_polygon:119,svg_polyline:120,svg_radialGradient:121,svg_rect:122,svg_script:123,svg_set:124,svg_stop:125,svg_style:126,svg_svg:127,svg_switch:128,svg_symbol:129,svg_text:132,svg_textPath:133,svg_title:134,svg_tspan:135,svg_unknown:66,svg_use:136,svg_video:66,svg_view:137,element:0},W2=Object.keys(L1);for(let e=0,t=ft(W2),s=t.length;e<s;e++){let r=t[e],i=L1[r];i.up=L1[W2[i[0]]],i.name=r+"Element",i.props=i[1]}for(let e=0,t=Object.keys(R1),s=t.length,r,i;e<s;e++)r=t[e],i=R1[r],R1[r]=L1[W2[i]];function U7(e){let t=z7(e);return R1[t]}var X2=[/^/,{token:"@rematch",next:"@pop"}],a0={token:"@rematch",next:"@pop"},o0={token:"white.indent",next:"@>illegal_indent"};function Y7(e,t="#"){typeof e=="string"&&(e=e.split(" "));let s=e.slice().sort(function(r,i){return i.length-r.length});return s=s.map(function(r){let i=r.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&");return t.replace("#",i)}),new RegExp("(?:"+s.join("|")+")")}function at(e,t,s,r={}){var i,n;e==null?e=o0:e==1?e={next:"@>"}:e==2?e={next:"@>_indent&-_indent"}:typeof e=="string"&&(e={next:e}),t==-1&&(t=a0),s==-1?s=a0:s==0&&((i=r.comment)!=null||(r.comment=!0),s={}),e=Object.assign({token:"white.tabs"},e||{}),s=Object.assign({token:"white.tabs"},s||{}),t=Object.assign({token:"@rematch",next:"@pop"},t||{});let a={"$1==$S2	":e,"$1==$S2":{cases:{"$1==$S6":s,"@default":{token:"@rematch",switchTo:"@*$1"}}},"@default":t};n=0;for(let l of["next","switchTo"]){let p=n++;e[l]&&e[l].indexOf("*")==-1&&(e[l]+="*$1")}let o=[/^(\t*)(?=[^ \t\n])/,{cases:a}];if(r.comment){let l={};for(let p=0,c=Object.keys(a),d=c.length,v,f;p<d;p++){v=c[p],f=a[v];let g=Object.assign({},f);!g.next&&!g.switchTo&&(g.next="@>_comment"),l[v]=g}return[[/^(\t*)(?=#\s|#$)/,{cases:l}],o]}return o}var J2={root:[[/^(\t+)(?=[^\t\n])/,{cases:{"$1==$S2	":{token:"white.indent",next:"@>_indent*$1"},"@default":"white.indent"}}],"block_"],_comment:[[/^([\t\s\n]*)$/,"comment"],[/^(\t*)([\S\s]*)/,{cases:{"$1~$S2	*":{token:"comment"},"@default":{token:"@rematch",next:"@pop"}}}],[/[\S\s]+/,"comment"]],illegal_indent:[at()],identifier_:[[/\$\w+\$/,"identifier.env"],[/\$\d+/,"identifier.special"],[/\#+@id/,"identifier.symbol"],[/\¶@id/,"ivar"],[/@id\!?/,{cases:{this:"this",self:"self","@keywords":"keyword.$#","$0~[A-Z].*":"identifier.uppercase.$F","@default":"identifier.$F"}}]],block_:[[/^(\t+)(?=[\r\n]|$)/,"white.tabs"],"extend_class_","class_","tagclass_","augmentation_","var_","func_","import_","export_","flow_","for_","try_","catch_","while_","css_","tag_","do_","block_comment_","expr_","decorator_",[/[ ]+/,"white"],"common_"],indentable_:[[/^[ ]+/,"white"],at("@>_paren_indent&-_indent",null,null),[/^(\t+)(?=[\r\n]|$)/,"white.tabs"],"whitespace"],_indent:[at(2,-1,0),"block_"],_paren_indent:[at(2,-1,0),"block_",[/\)|\}|\]/,"@rematch","@pop"]],block:[at("@>",-1,0),"block_"],bool_:[[/(true|false|yes|no|undefined|null)(?![\:\-\w\.\_])/,"boolean"]],op_:[[/\s+\:\s+/,"operator.ternary"],[/(@unspaced_ops)/,{cases:{"@spread":"operator.spread","@access":"operator.access","@default":"operator"}}],[/\/(?!\/)/,"operator.math"],[/\&(?=[,\)])/,"operator.special.blockparam"],[/(\s*)(@symbols)(\s*)/,{cases:{"$2@assignments":"operator.assign","$2@math":"operator.math","$2@operators":"operator","$2@logic":"operator.logic","$2@access":"operator.access","@default":"delimiter"}}],[/\&\b/,"operator"]],keyword_:[[/new@B/,"keyword.new"],[/isa@B/,"keyword.isa"],[/is@B/,"keyword.is"],[/(switch|when|throw|continue|break|then|await|typeof|by)@B/,"keyword.$1"],[/delete@B/,"keyword.delete"],[/and@B|or@B/,"operator.flow"]],return_:[[/return@B/,"keyword.return"]],yield_:[[/yield/,"keyword.yield"]],primitive_:["string_","number_","regexp_","bool_"],value_:["primitive_","keyword_","implicit_call_","parens_","key_","access_","identifier_","array_","object_"],expr_:["comment_","inline_var_","return_","yield_","value_","tag_","op_","type_","spread_"],attr_expr_:["primitive_","parens_","access_","identifier_","array_","object_","tag_","op_"],access_:[[/(\.\.?)(@propid\!?)/,{cases:{"$2~[A-Z].*":["operator.access","accessor.uppercase"],"$2~#.*":["operator.access","accessor.symbol"],"@default":["operator.access","accessor"]}}]],call_:[[/\(/,"(","@call_body"]],key_:[[/(\#+@id)(\:\s*)/,["key.symbol","operator.assign.key-value"]],[/(@propid)(\:\s*)/,{cases:{"@default":["key","operator.assign.key-value"]}}]],implicit_call_:[[/(\.\.?)(@propid)@implicitCall/,{cases:{"$2~[A-Z].*":["operator.access","accessor.uppercase","@implicit_call_body"],"@default":["operator.access","accessor","@implicit_call_body"]}}],[/(@propid)@implicitCall/,"@rematch","@implicit_call_start"]],implicit_call_start:["identifier_",[/@implicitCall/,"@rematch",{switchTo:"@implicit_call_body"}]],implicit_call_body:[X2,[/\)|\}|\]|\>/,"@rematch","@pop"],"arglist_","whitespace"],arglist_:["do_","expr_",[/\s*\,\s*/,"delimiter.comma"]],params_:[[/\[/,"array.[","@array_var_body=decl-param"],[/\{/,"object.{","@object_body=decl-param"],[/(@variable)/,"identifier.decl-param"],"spread_","type_",[/\s*\=\s*/,"operator","@var_value="],[/\s*\,\s*/,"separator"],[/\s/,"white.params"]],object_:[[/\{/,"object.{","@object_body"]],parens_:[[/\(/,"parens.(","@parens_body"]],parens_body:[[/\)/,")","@pop"],"indentable_","arglist_"],array_:[[/\[/,"array.[","@array_body"]],array_body:[[/\]@implicitCall/,{token:"]",switchTo:"@implicit_call_body="}],[/\]/,"]","@pop"],[/\)|\}/,"invalid"],"indentable_","expr_",[",","delimiter"]],object_body:[[/\}/,"}","@pop"],[/(@id)(\s*:\s*)/,["key","operator.assign.key-value","@object_value"]],[/(@id)/,"identifier.$F"],[/\[/,"[","@object_dynamic_key="],[/\s*=\s*/,"operator.assign","@object_value="],[/:/,"operator.assign.key-value","@object_value="],[/\,/,"delimiter.comma"],"indentable_","expr_"],object_value:[X2,[/,|\}|\]|\)/,"@rematch","@pop"],"expr_"],object_dynamic_key:[["]","]","@pop"],"expr_"],comment_:[[/#(\s.*)?(?=\n|$)/,"comment"]],block_comment_:[[/###/,"comment.start","@_block_comment"]],_block_comment:[[/###/,"comment.end","@pop"],[/[^#]+/,"comment"],[/#(?!##)/,"comment"]],try_:[[/try@B/,"keyword.try","@>_try&try"]],catch_:[[/(catch\s+)(?=@id(\s|$))/,"keyword.catch","@catch_start&catch"],[/catch@B/,"keyword.catch","@catch_start&catch"]],catch_start:[[/@id/,"identifier.decl-const",{switchTo:"@>_catch"}],[/.?/,"@rematch",{switchTo:"@>_catch"}]],_catch:[at("@>block",-1,0),"block_"],_try:[at("@>block",-1,0),"block_"],do_:[[/do(?=\()/,"keyword.do","@>do_start&do"],[/do(?=\s*\|)/,"keyword.do","@>do_piped&do"],[/do@B/,"keyword.do","@>_do&do"]],do_start:[at(null,-1,-1),[/\(/,"(",{switchTo:"@_do_params"}],[/./,"@rematch",{switchTo:"@_do"}]],do_piped:[at(null,-1,-1),[/\s*\|/,"args.open",{switchTo:"@_do_piped_params"}],[/./,"@rematch",{switchTo:"@_do"}]],_do_piped_params:[[/\|/,"args.close",{switchTo:"@_do"}],"params_"],_do_params:[[/\)/,")",{switchTo:"@_do"}],"params_"],_do:[at(2,-1,0),[/(\}|\)|\])/,"@rematch","@pop"],"block_"],class_:[[/(extend)(?=\s+(global )?(class|interface|mixin) )/,"keyword.$1"],[/(global)(?=\s+(class|interface|mixin|abstract) )/,"keyword.$1"],[/(abstract)(?=\s+(class|interface) )/,"keyword.$1"],[/(class|interface|mixin)(\s)(?=@id\.@id)/,["keyword.$1","white.$1name","@classname_start/$3"]],[/(class|interface|mixin)(\s)(@classid)/,["keyword.$1","white.$1name","entity.name.class.decl-const","@class_start="]],[/(class|interface|mixin)(?=\n)/,"keyword.$1","@>_class&class="]],classname_start:[[/\w/,"@rematch","@assignable&-assignable"],[/(\s+\<\s+)/,["keyword.extends.$/","@assignable&-value"]],[/@comment/,"comment"],[/\n/,"@rematch",{switchTo:"@>_class&class="}],"whitespace"],assignable:["identifier_","access_",[/\s+|\n/,"@rematch","@pop"]],extend_class_:[[/(extend)(\s)(class|interface|mixin)(\s)/,["keyword.$1","white.$1","keyword.$3","white.extendclass","@classname_start/$3"]]],augmentation_:[[/(extend)(?=\s+@id)/,"keyword.$1","@augmentation_start="]],augmentation_start:[at({switchTo:"@>_class&class="},-1,-1),[/[ \t]+/,"white"],"expr_"],class_start:[[/(\s+\<\s+)(@id)/,["keyword.extends","identifier.superclass"]],[/@comment/,"comment"],[/^/,"@rematch",{switchTo:"@>_class&class="}],"whitespace"],tagclass_:[[/(extend)(?=\s+tag )/,"keyword.$1"],[/(global)(?=\s+tag )/,"keyword.$1"],[/(tag)(\s)(@constant)/,["keyword.tag","white.tagname","entity.name.component.local","@tagclass_start="]],[/(tag)(\s)(@id)/,["keyword.tag","white.tagname","entity.name.component.global","@tagclass_start="]]],tagclass_start:[[/(\s+\<\s+)(@id)/,["keyword.extends","identifier.superclass"]],[/@comment/,"comment"],[/^/,"@rematch",{switchTo:"@>_tagclass&component="}]],import_:[[/(import)(?=\s+['"])/,"keyword.import","@>import_source"],[/(import)(\s+type)(?=\s[\w\$\@\{])/,["keyword.import","keyword.type","@>import_body&-_imports=decl-import-type/part"]],[/(import)@B/,"keyword.import","@>import_body&-_imports=decl-import/part"]],import_body:[at(null,-1,0),[/(@esmIdentifier)( +from)/,["identifier.$F.default","keyword.from",{switchTo:"@import_source"}]],[/(\*)(\s+as\s+)(@esmIdentifier)(\s+from)/,["keyword.star","keyword.as","identifier.$F.ns","keyword.from",{switchTo:"@import_source"}]],[/(@esmIdentifier)(\s*,\s*)(\*)(\s+as\s+)(@esmIdentifier)(from)/,["identifier.$F.default","delimiter.comma","keyword.star","keyword.as","identifier.$F.ns","keyword.from",{switchTo:"@import_source"}]],[/\ *from/,"keyword.from",{switchTo:"@import_source"}],[/\{/,"specifiers.{","@esm_specifiers/part"],[/(@esmIdentifier)/,"identifier.$F",{switchTo:"@/delim"}],[/\s*\,\s*/,"delimiter.comma",{switchTo:"@/part"}],"comma_","common_"],import_source:[at(null,-1,0),[/["']/,"path.open","@_path=$#"],X2],export_:[[/(export)( +)(default)@B/,["keyword.export","white","keyword.default"]],[/(export)( +)(abstract)@B/,["keyword.export","white","keyword.abstract"]],[/(export)(?= +(let|const|var|class|tag|interface)@B)/,"keyword.export"],[/(export)( +)(global)@B/,["keyword.export","white","keyword.global"]],[/(export)(\s+\*\s+)(from)@B/,["keyword.export","operator.star","keyword.from","@>import_source"]],[/(export)@B/,"keyword.export","@>export_body"]],export_body:[at(null,-1,0),[/(\*)(\s+as\s+)(@esmIdentifier)/,["keyword.star","keyword.as","identifier.const.export"]],[/(@esmIdentifier)(\s+as\s+)(default)/,["alias","keyword.as","alias.default"]],[/(@esmIdentifier)(\s+as\s+)(@esmIdentifier)/,["alias","keyword.as","identifier.const.export"]],[/from/,"keyword.from",{switchTo:"@import_source"}],[/\{/,"{","@esm_specifiers=export/part"],[/(@esmIdentifier)/,"identifier.const.export"],[/\*/,"operator.star"],"comma_","common_"],esm_specifiers:[[/\}/,"}","@pop"],[/(@esmIdentifier)(\s+as\s+)(@esmIdentifier)/,["alias","keyword.as","identifier.const.$F",{switchTo:"@/delim"}]],[/@esmIdentifier/,{cases:{"$/==part":{token:"identifier.const.$S4",switchTo:"@/delim"},"@default":{token:"invalid"}}}],[/\s*\,\s*/,"delimiter.comma",{switchTo:"@/part"}],"whitespace"],_path:[[/[^"'\`\{\\]+/,"path"],[/@escapes/,"path.escape"],[/\./,"path.escape.invalid"],[/\{/,"invalid"],[/["'`]/,{cases:{"$#==$F":{token:"path.close",next:"@pop"},"@default":"path"}}]],member_:[[/(constructor)@B/,"entity.name.constructor","@>def_params&def/def=decl-param"],[/(protected|private)(\s)(?=def|get|set)/,["keyword.$1","white.entity"]],[/(def|get|set)(\s)(@defid)/,["keyword.$1","white.entity","entity.name.$1","@>def_params&$1/$1=decl-param"]],[/(def|get|set)(\s)(\[)/,["keyword.$1","white.entity","$$","@>def_dynamic_name/$1"]]],func_:[[/export(?=\s+(get|set|def|global) )/,"keyword.export"],[/global(?=\s+(get|set|def) )/,"keyword.global"],[/(def)(\s)(@id)(\.)(@defid)/,["keyword.$1","white.entity","identifier.target","operator","entity.name.def","@>def_params&$1/$1"]],[/(def)(\s)(@defid)/,["keyword.$1","white.entity","entity.name.function.decl-const-func","@>def_params&$1/$1"]]],flow_:[[/(else)(?=\s|$)/,["keyword.$1","@>_flow&$1"]],[/(if|else|elif|unless)(?=\s|$)/,["keyword.$1","@flow_start=$1"]]],flow_start:[at({switchTo:"@>_flow&$F"},-1,-1),[/[ \t]+/,"white"],"expr_"],for_:[[/for(?: own| await)?@B/,"keyword.$#","@for_start&forscope=decl-for"]],while_:[[/(while|until)@B/,"keyword.$#","@>while_body"]],while_body:[at(2,-1,0),"block_"],for_start:[at({switchTo:"@>for_body"},-1,-1),[/\[/,"array.[","@array_var_body"],[/\{/,"object.{","@object_body"],[/(@variable)/,"identifier.$F"],[/(\s*\,\s*)/,"separator","@=decl-for-index"],[/\s(in|of)@B/,"keyword.$1",{switchTo:"@>for_source="}],[/[ \t]+/,"white"],"type_"],for_source:[at({switchTo:"@>for_body"},-1,{switchTo:"@for_body"}),"expr_",[/[ \t]+/,"white"]],for_body:[at(2,-1,0),"block_"],decorator_:[[/(?=@decid)/,"","@_decorator&-_decorator"]],_decorator:[[/(@decid)/,"decorator.name"],[/(\.)(\!?@optid)/,["decorator.modifier.start","decorator.modifier.name"]],[/\(/,{token:"decorator.parens.open",next:"@_decorator_parens/0"}],[/\[/,{token:"decorator.brackets.open",next:"@_decorator_brackets/0"}],[/\{/,{token:"decorator.braces.open",next:"@_decorator_braces/0"}],[/(\s*\=\s*)/,"operator.equals.decorator/","@_tag_value&handler"],[/\s+/,"@rematch","@pop"]],_decorator_parens:[[/\)/,"decorator.$/.parens.close","@pop"],"arglist_",[/\]|\}/,"invalid"]],_decorator_params:[[/\)/,")","@pop"],"expr_",[/\s*\,\s*/,"delimiter.comma"]],_decorator_brackets:[[/\]/,"]","@pop"],"expr_",[/\s*\,\s*/,"delimiter.comma"]],_decorator_braces:[[/\}/,"}","@pop"],"expr_",[/\s*\,\s*/,"delimiter.comma"]],field_:[[/((?:lazy )?)((?:static )?)(const|let|attr|prop|isa)(?=\s|$)/,["keyword.lazy","keyword.static","keyword.$1","@_vardecl=field-$3"]],[/(declare\s+)(?=@fieldid)/,"keyword.declare"],[/(static\s+)(?=@fieldid)/,"keyword.static"],[/\/(?![\s=])(?:[^[\/\n\\]|\\[\s\S]|\[[^\]\n\\]*(?:\\[\s\S][^\]\n\\]*)*\])*\/[a-z]{0,8}(?!\w)/,"entity.name.field.regexp","@_field_1"],[/(@fieldid)(?=$)/,"entity.name.field"],[/(@fieldid)/,["entity.name.field","@_field_1"]]],_field_1:[at(null,-1,-1),"type_",[/(\s*=)(?!\=)/,["operator.assign","@_field_value&field"]],[/(\s*(?:\@)set\s*)/,["keyword.spy","@>_def&spy"]],[/(\s*as)(?=\s)/,["keyword.accessor","@>_def&field"]],[/(?=\s\@|$)/,"","@>_def&field"]],_field_value:[at(2,-1,-1),"block_",[/(\s*(?:\@)set\s*)/,["@rematch","@pop"]]],var_:[[/(const|let)(?=\s[\[\{\$a-zA-Z]|\s*$)/,["keyword.$1","@_vardecl=decl-$1"]],[/(const|let)(?=\s|$)/,["keyword.$1"]]],inline_var_:[[/(const|let)(?=\s[\[\{\$a-zA-Z]|\s*$)/,["keyword.$1","@inline_var_body=decl-$1"]]],string_:[[/"""/,"string",'@_herestring="""'],[/'''/,"string","@_herestring='''"],[/["'`]/,"string.open","@_string=$#"]],number_:[[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[b][01_]+/,"number.binary"],[/0[o][0-9_]+/,"number.octal"],[/(\d+)([a-z]+|\%)/,["number","unit"]],[/(\d*\.\d+(?:[eE][\-+]?\d+)?)([a-z]+|\%)/,["number.float","unit"]],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d[\d_]*\.\d[\d_]*([eE][\-+]?\d+)?/,"number.float"],[/\d[\d_]*/,"number.integer"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"]],_string:[[/[^"'\`\{\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\{/,{cases:{"$F=='":"string","@default":{token:"string.bracket.open",next:"@interpolation_body"}}}],[/["'`]/,{cases:{"$#==$F":{token:"string.close",next:"@pop"},"@default":"string"}}],[/#/,"string"]],_herestring:[[/("""|''')/,{cases:{"$1==$F":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"\{]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\{/,{cases:{'$F=="""':{token:"string",next:"@interpolation_body"},"@default":"string"}}],[/#/,"string"]],interpolation_body:[[/\}/,"string.bracket.close","@pop"],"expr_"],_class:[at(o0,-1,0),"css_","member_","comment_","block_comment_","decorator_",[/@envvar/,"keyword.env.$0"],[/(get|set|def|static|prop|attr)@B/,"keyword.$0"],"field_","common_"],_tagclass:["_class",[/(?=\<self)/,"entity.name.def.render","@_render&def"]],def_params:[[/\(/,"(","@def_parens"],[/^/,"@rematch",{switchTo:"@_def="}],[/do@B/,"keyword.do",{switchTo:"@_def="}],"params_",[/@comment/,"comment"]],def_parens:[[/\)/,")","@pop"],"params_"],def_dynamic_name:[["]",{token:"square.close",switchTo:"@def_params&$/=decl-param"}],"expr_"],_render:[at(2,-1,-1),"block_"],_def:[at(2,-1,0),"block_"],_flow:[at(2,-1,0),"block_"],_varblock:[at(1,-1,-1),[/\[/,"array.[","@array_var_body"],[/\{/,"object.{","@object_body"],[/(@variable)/,"identifier.$F"],[/\s*\,\s*/,"separator"],[/(\s*\=\s*)(?=(for|while|until|if|unless|try)\s)/,"operator","@pop"],[/(\s*\=\s*)/,"operator","@var_value="],"type_",[/#(\s.*)?\n?$/,"comment"]],_vardecl:[at(null,-1,-1),[/\[/,"array.[","@array_var_body"],[/\{/,"object.{","@object_body"],[/(@variable)(?=\n|,|$)/,"identifier.$F","@pop"],[/(@variable)/,"identifier.$F"],[/(\s*\=\s*)/,"operator.declval",{switchTo:"@var_value&value="}],"type_","whitespace"],array_var_body:[[/\]/,"]","@pop"],[/\{/,"object.{","@object_body"],[/\[/,"array.[","@array_var_body"],"spread_",[/(@variable)/,"identifier.$F"],[/(\s*\=\s*)/,"operator.assign","@array_var_body_value="],[",","delimiter"]],array_var_body_value:[[/(?=,|\)|]|})/,"delimiter","@pop"],"expr_"],inline_var_body:[[/\[/,"array.[","@array_var_body"],[/\{/,"object.{","@object_body"],[/(@variable)/,"identifier.$F"],[/(\s*\=\s*)/,"operator","@pop"],"type_"],var_value:[[/(?=,|\)|]|})/,"delimiter","@pop"],at({switchTo:"@>block"},-1,-1),"block_"],common_:[[/^(\t+)(?=\n|$)/,"white.tabs"],"whitespace"],comma_:[[/\s*,\s*/,"delimiter.comma"]],spread_:[[/\.\.\./,"operator.spread"]],type_:[[/\\(?!\/)/,"@rematch","@_type&-_type/0"]],_type:[at(-1,-1,-1),[/\\/,"delimiter.type.prefix"],[/\[/,"delimiter.type","@/]"],[/\(/,"delimiter.type","@/)"],[/\{/,"delimiter.type","@/}"],[/\</,"delimiter.type","@/>"],[/\|/,"delimiter.type.union"],[/\,|\s|\=|\./,{cases:{"$/==0":{token:"@rematch",next:"@pop"},"@default":"type"}}],[/[\]\}\)\>]/,{cases:{"$#==$/":{token:"delimiter.type",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],[/[\w\-\$]+/,"type"]],css_:[[/global(?=\s+css@B)/,"keyword.$#"],[/css(?=\s+|$)/,"keyword.css","@>css_selector&rule-_sel"],[/(\%)([\w\-]+)/,["style.selector.mixin.prefix","style.selector.mixin.name","@>css_selector&rule-_sel"]]],sel_:[[/(\%)((?:@id)?)/,["style.selector.mixin.prefix","style.selector.mixin.name"]],[/(\@)(\.{0,2}[\w\-\<\>\!]*\+?)/,"style.selector.modifier"],[/(\@)(\.{0,2}[\w\-\<\>\!]*)/,"style.selector.modifier"],[/\.([\w\-]+)?/,"style.selector.class-name"],[/\#([\w\-]+)?/,"style.selector.id"],[/([\w\-]+)/,"style.selector.element"],[/(>+|~|\+)/,"style.selector.operator"],[/(\*+)/,"style.selector.element.any"],[/(\$)((?:@id)?)/,["style.selector.reference.prefix","style.selector.reference"]],[/\&/,"style.selector.context"],[/\(/,"delimiter.selector.parens.open","@css_selector_parens"],[/\[/,"delimiter.selector.attr.open","@css_selector_attr"],[/\s+/,"white"],[/,/,"style.selector.delimiter"],[/#(\s.*)?\n?$/,"comment"]],css_props:[at(null,-1,0),[/(?=@cssPropertyKey)/,"","@css_property&-_styleprop-_stylepropkey"],[/#(\s.*)?\n?$/,"comment"],[/(?=[\%\*\w\&\$\>\.\[\@\!]|\#[\w\-])/,"","@>css_selector&rule-_sel"],[/\s+/,"white"]],css_selector:[at({switchTo:"@css_props&_props"},-1,{token:"@rematch",switchTo:"@css_props&_props"}),[/(\}|\)|\])/,"@rematch","@pop"],[/(?=\s*@cssPropertyKey)/,"",{switchTo:"@css_props&_props"}],[/\s*#\s/,"@rematch",{switchTo:"@css_props&_props"}],"sel_"],css_inline:[[/\]/,"style.close","@pop"],[/(?=@cssPropertyKey)/,"","@css_property&-_styleprop-_stylepropkey"],[/(?=@cssPropertyPath\])/,"","@css_property&-_styleprop-_stylepropkey"]],css_selector_parens:[[/\)/,"delimiter.selector.parens.close","@pop"],"sel_"],css_selector_attr:[[/\]/,"delimiter.selector.parens.close","@pop"],"sel_"],css_property:[at(null,-1,-1),[/\]/,"@rematch","@pop"],[/(\d+)(@id)/,["style.property.unit.number","style.property.unit.name"]],[/((--|\$)@id)/,"style.property.var"],[/((\#)@id)/,"style.property.colorvar"],[/(-*@id)/,"style.property.name"],[/(\^+)(@cssModifier)/,["style.property.modifier.up","style.property.modifier"]],[/@cssModifier/,"style.property.modifier"],[/(\.+)(@id\-?)/,["style.property.modifier.start","style.property.modifier"]],[/\+(@id)/,"style.property.scope"],[/\s*([\:\=]\s*)(?=@br|$)/,"style.property.operator",{switchTo:"@>css_multiline_value&_stylevalue"}],[/\s*([\:\=]\s*)/,"style.property.operator",{switchTo:"@>css_value&_stylevalue"}]],css_value_:[[/(x?xs|sm\-?|md\-?|lg\-?|xx*l|\dxl|hg|x+h)\b/,"style.value.size"],[/\#[0-9a-fA-F]{6,8}/,"style.value.color.hex"],[/\#\w+/,"style.value.colorvar"],[/((--|\$)@id)/,"style.value.var"],[/(@optid)(\@+|\.+)(@optid)/,["style.property.name","style.property.modifier.prefix","style.property.modifier"]],"op_","string_",[/(\d+)([a-z]+|\%)/,["style.value.number","style.value.unit"]],[/(\d*\.\d+(?:[eE][\-+]?\d+)?)([a-z]+|\%)/,["style.value.number.float","style.value.unit"]],[/\d[\d_]*\.\d[\d_]*([eE][\-+]?\d+)?/,"style.value.number.float"],[/\d[\d_]*/,"style.value.number.integer"],[/0[0-7]+(?!\d)/,"style.value.number.octal"],[/\d+/,"style.value.number"],"number_","comment_",[/\s+/,"style.value.white"],[/\(/,"delimiter.style.parens.open","@css_expressions"],[/\{/,"delimiter.style.curly.open","@css_interpolation&-_styleinterpolation"],[/(@id)/,"style.value"]],css_value:[at({switchTo:"@>css_multiline_value"},-1,-1),[/@cssPropertyKey/,"@rematch","@pop"],[/;/,"style.delimiter","@pop"],[/(\}|\)|\])/,"@rematch","@pop"],"css_value_"],css_multiline_value:[at(null,-1,0),[/@cssPropertyKey/,"invalid"],"css_value_"],css_expressions:[[/\)/,"delimiter.style.parens.close","@pop"],[/\(/,"delimiter.style.parens.open","@css_expressions"],"css_value"],css_interpolation:[[/\}/,"delimiter.style.curly.close","@pop"],"expr_"],expressions:[[/\,/,"delimiter.comma"]],whitespace:[[/[\r\n]+/,"br"],[/[ \t\r\n]+/,"white"]],space:[[/[ \t]+/,"white"]],tag_:[[/(\s*)(<)(?=\.)/,["white","tag.open","@_tag/flag"]],[/(\s*)(<)(\w[\-\w]*)(?=\()/,["white","tag.open","identifier.tag.name","@_tag/name"]],[/(\s*)(<)(?=\w|\{|\[|\%|\#|\(|>)/,["white","tag.open","@_tag/name"]]],tag_content:[at(2,-1,0),[/\)|\}|\]/,"@rematch","@pop"],"common_","flow_","var_","for_","css_","expr_","do_"],tag_children:[],_tag:[[/\/>/,"tag.close","@pop"],[/>/,"tag.close",{switchTo:"@>tag_content=&-_tagcontent"}],[/>/,"tag.close","@pop"],[/(\-?\d+)/,"tag.$S3"],[/(\%)(@id)/,["tag.mixin.prefix","tag.mixin.name"]],[/\#@id/,"tag.id"],[/\./,{cases:{"$/==event":{token:"tag.event-modifier.start",switchTo:"@/event-modifier"},"$/==event-modifier":{token:"tag.event-modifier.start",switchTo:"@/event-modifier"},"$/==modifier":{token:"tag.modifier.start",switchTo:"@/modifier"},"$/==rule":{token:"tag.rule-modifier.start",switchTo:"@/rule-modifier"},"$/==rule-modifier":{token:"tag.rule-modifier.start",switchTo:"@/rule-modifier"},"@default":{token:"tag.flag.start",switchTo:"@/flag"}}}],[/(\$@id)/,{cases:{"$/==name":"tag.reference","$/==attr":{token:"@rematch",next:"@_tag_attr&-_tagattr"},"@default":"tag.$/"}}],[/\{/,"tag.$/.interpolation.open","@_tag_interpolation"],[/\[/,"style.open","@css_inline"],[/(\s*\=\s*)/,"operator.equals.tagop.tag-$/","@_tag_value&-value"],[/\:/,{token:"tag.event.start",switchTo:"@/event"}],"tag_event_",[/(\-?@tagIdentifier)(\:@id)?/,{cases:{"$/==attr":{token:"@rematch",next:"@_tag_attr&-_tagattr"},"@default":{token:"tag.$/"}}}],[/\(/,{token:"tag.$/.parens.open",next:"@_tag_parens/0"}],[/\s+/,{token:"tag.white",switchTo:"@/attr"}],"comment_"],tag_event_:[[/(?=\@@optid)/,"","@_tag_event&-_listener"]],_tag_part:[[/\)|\}|\]|\>/,"@rematch","@pop"]],_tag_event:["_tag_part",[/(\@)(@optid)/,["tag.event.start","tag.event.name"]],[/(\.)(\!?@optid)/,["tag.event-modifier.start","tag.event-modifier.name"]],[/\(/,{token:"tag.$/.parens.open",next:"@_tag_parens/0"}],[/(\s*\=\s*)/,"operator.equals.tagop.tag-$/","@_tag_value&handler"],[/\s+/,"@rematch","@pop"]],tag_attr_:[[/(?=@tagIdentifier(\:@id)?)/,"","@_tag_attr&-_attribute"]],_tag_attr:["_tag_part",[/(\-?@tagIdentifier)(\:@id)?/,"tag.attr"],[/\.(@optid)/,"tag.event-modifierzz"],[/\(/,{token:"tag.parens.open.$/",next:"@_tag_parens/0"}],[/(\s*\=\s*)/,"operator.equals.tagop.tag-$/","@_tag_value&-tagattrvalue"],[/\s+/,"@rematch","@pop"]],_tag_interpolation:[[/\}/,"tag.$/.interpolation.close","@pop"],"expr_",[/\)|\]/,"invalid"]],_tag_parens:[[/\)/,"tag.$/.parens.close","@pop"],"arglist_",[/\]|\}/,"invalid"]],_tag_value:[[/(?=(\/?\>|\s))/,"","@pop"],"attr_expr_"],regexp_:[[/\/(?!\ )(?=([^\\\/]|\\.)+\/)/,{token:"regexp.slash.open",bracket:"@open",next:"@_regexp"}],[/\/\/\//,{token:"regexp.slash.open",bracket:"@open",next:"@_hereregexp"}],[/(\/)(\/)/,["regexp.slash.open","regexp.slash.close"]]],_regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@_regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\:/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)(\w+)/,[{token:"regexp.slash.close"},{token:"regexp.flags",next:"@pop"}]],["/",{token:"regexp.slash.close",next:"@pop"}],[/./,"regexp.invalid"]],_regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,"regexp.escape.control","@pop"]],_hereregexp:[[/[^\\\/#]/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*","regexp","@pop"],[/\//,"regexp"],"comment_"]};function $1(e){let t=["$S1","$S2","$S3","$S4","$S5","$S6"];if(e.match(/\@(pop|push|popall)/)||(e[0]=="@"&&(e=e.slice(1)),e.indexOf(".")>=0))return e;e=C1(e),e[0]==">"&&(t[1]="$S6	",e=e.slice(1));for(let s=0,r=ft(e.split(/(?=[\/\&\=\*])/)),i=r.length;s<i;s++){let n=r[s];n[0]=="&"?n[1]=="-"||n[1]=="_"?t[2]="$S3"+n.slice(1):t[2]="$S3-"+n.slice(1):n[0]=="+"?t[3]="$S4-"+n.slice(1):n[0]=="="?t[3]=n.slice(1):n[0]=="/"?t[4]=n.slice(1):n[0]=="*"?t[5]=n.slice(1):t[0]=n}return t.join(".")}function C1(e){let t=e;return e=e.replace("$/","$S5"),e=e.replace("$F","$S4"),e=e.replace("$&","$S3"),e=e.replace("$I","$S2"),e=e.replace("$T","$S2"),e}function Z2(e,t){if(typeof e=="string"&&(e={token:e}),e&&e.token!=null)e.token=C1(e.token),typeof t=="string"?e.next=t:t&&Object.assign(e,t),e.next&&(e.next=$1(e.next)),e.switchTo&&(e.switchTo=$1(e.switchTo));else if(e&&e.cases){let s={};for(let r=e.cases,i=0,n=Object.keys(r),a=n.length,o,l;i<a;i++){o=n[i],l=r[o];let p=C1(o);s[p]=Z2(l)}e.cases=s}else if(ds(e,Array)){let s=[],r=null;for(let i=0,n=ft(e),a=n.length;i<a;i++){let o=n[i];o[0]=="@"&&i==e.length-1&&r&&(o={next:o}),typeof o=="object"?o.token!=null||o.cases?s.push(r=Object.assign({},o)):Object.assign(r,o):typeof o=="string"&&s.push(r={token:C1(o)})}e=s}if(ds(e,Array))for(let s=0,r=ft(e),i=r.length;s<i;s++){let n=r[s];n.token&&n.token.indexOf("$$")>=0&&(n.token=n.token.replace("$$","$"+(s+1))),n.next&&(n.next=$1(n.next)),n.switchTo&&(n.switchTo=$1(n.switchTo))}return e}for(let e=0,t=Object.keys(J2),s=t.length,r,i;e<s;e++){r=t[e],i=J2[r];let n=0;for(;n<i.length;){let a=i[n];if(ds(a[0],Array)){i.splice(n,1,...a);continue}else typeof a=="string"?i[n]={include:a}:ds(a[1],Array)?a[1]=Z2(a[1]):ds(a,Array)&&a.splice(1,2,Z2(a[1],a[2]));n++}}var l0={defaultToken:"invalid",ignoreCase:!1,tokenPostfix:"",brackets:[{open:"{",close:"}",token:"bracket.curly"},{open:"[",close:"]",token:"bracket.square"},{open:"(",close:")",token:"bracket.parenthesis"}],keywords:["def","and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","self","as","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","elif","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when","prop","attr","export","import","extend","var","let","const","require","isa","await"],boolean:["true","false","yes","no","undefined","null"],operators:["=","!","~","?",":","!!","??","&","|","^","%","<<","!&",">>",">>>","+=","-=","*=","/=","&=","|=","?=","??=","^=","%=","~=","<<=",">>=",">>>=","..","...","||=","&&=","**=","**","|=?","~=?","^=?","=?","and","or"],assignments:["=","|=?","~=?","^=?","=?","^=","%=","~=","<<=",">>=",">>>=","||=","&&=","?=","??=","+=","-=","*=","/=","&=","|=","**="],logic:[">","<","==","<=",">=","!=","&&","||","===","!=="],ranges:["..","..."],spread:["..."],dot:["."],access:[".",".."],math:["+","-","*","/","++","--"],unspaced_ops:Y7("... . .. + * ++ --"),comment:/#(\s.*)?(?=\n|$)/,symbols:/[=><!~?&%|+\-*\^,]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,postaccess:/(:(?=\w))?/,ivar:/\@[a-zA-Z_]\w*/,B:/(?=\s|$)/,br:/[\r\n]+/,constant:/[A-Z][\w\$]*(?:\-+[\w\$]+)*/,id:/[A-Za-z_\$][\w\$]*(?:\-+[\w\$]+)*\??/,classid:/\@?[A-Za-z_\$][\w\$]*(?:\-+[\w\$]+)*\??/,plainid:/[A-Za-z_\$][\w\$]*(?:\-+[\w\$]+)*\??/,fieldid:/[\@\#]*@plainid/,propid:/[\@\#]*@plainid/,defid:/[\@\#]*@plainid/,decid:/\@(?:@plainid)?/,symid:/\#+@plainid/,envvar:/\$+[\w\-]+\$/,symref:/\#+@plainid/,optid:/(?:@id)?/,esmIdentifier:/[A-Za-z_\$\@][\w\$]*(?:\-+[\w\$]+)*\??/,propertyPath:/(?:[A-Za-z_\$][A-Za-z\d\-\_\$]*\.)?(?:[A-Za-z_\$][A-Za-z\d\-\_\$]*)/,tagNameIdentifier:/(?:[\w\-]+\:)?\w+(?:\-\w+)*/,variable:/[\w\$]+(?:-[\w\$]*)*\??/,varKeyword:/var|let|const/,tagIdentifier:/-*[\$a-zA-Z][\w\-\$]*/,implicitCall:/(?!\s(?:and|or|is|isa)\s)(?=\s[\w\'\"\/\[\{])/,cssModifier:/(?:\@+[\<\>\!]?[\w\-]+\+?|\.+@id\-?)/,cssPropertyPath:/[\@\.]*[\w\-\$]+(?:[\@\.]+[\w\-\$]+)*/,cssVariable:/(?:--|\$)[\w\-\$]+/,cssPropertyName:/\#?[\w\-\$]+/,cssPropertyKey:/(?:@cssPropertyName(?:@cssModifier)*|\^*@cssModifier+)(?:\s*[\:\=])/,cssUpModifier:/\.\.[\w\-\$]+/,cssIsModifier:/\.[\w\-\$]+/,regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:J2};function q7(e){return Array.isArray(e)}function K7(e){return!q7(e)}function h0(e){return typeof e=="string"}function W7(e){return!h0(e)}function X7(e){return!e}function fa(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function c0(e){return e.replace(/[&<>'"_]/g,"-")}function J7(e,t){console.log(`${e.languageId}: ${t}`)}function dt(e,t){return new Error(`${e.languageId}: ${t}`)}var u0={};function Z7(e){let t=[],s=0,r=e.length,i="",n=0;for(;s<r;){let a=e[s++];if(a=="$"){let o=e[s++];if(o=="$"){i+="$";continue}i&&t.push(i),i="",o=="#"?t.push(0):o=="S"?t.push(parseInt(e[s++])+100):t.push(parseInt(o)+1)}else i+=a}return i&&t.push(i),u0[e]=t,t}function ci(e,t,s,r,i){let n=null,a=u0[t]||Z7(t),o="";for(let l=0;l<a.length;l++){let p=a[l];typeof p=="string"?o+=p:p>100?(n===null&&(n=i.split(".")),o+=n[p-101]||""):p===100?o+=i:p===0?o+=s:p>0&&(o+=r[p-1])}return o}var Q2={};function el(e,t){let s=t;if(Q2[s])return e.tokenizer[Q2[s]];for(;s&&s.length>0;){let r=e.tokenizer[s];if(r)return Q2[t]=s,r;let i=s.lastIndexOf(".");i<0?s=null:s=s.substr(0,i)}return null}function Q7(e,t){let s=t;for(;s&&s.length>0;){if(e.stateNames[s])return!0;let r=s.lastIndexOf(".");r<0?s=null:s=s.substr(0,r)}return!1}function e8(e,t){if(!t||!Array.isArray(t))return!1;for(let s of t)if(!e(s))return!1;return!0}function p0(e,t){return typeof e=="boolean"?e:t}function d0(e,t){return typeof e=="string"?e:t}function t8(e){let t={};for(let s of e)t[s]=!0;return t}function f0(e,t=!1){t&&(e=e.map(function(r){return r.toLowerCase()}));let s=t8(e);return t?function(r){return s[r.toLowerCase()]!==void 0&&s.hasOwnProperty(r.toLowerCase())}:function(r){return s[r]!==void 0&&s.hasOwnProperty(r)}}function tl(e,t){let s=0;for(;t.indexOf("@")>=0&&s<5;)s++,t=t.replace(/@(\w+)/g,function(r,i){let n="";if(typeof e[i]=="string")n=e[i];else if(e[i]&&e[i]instanceof RegExp)n=e[i].source;else throw e[i]===void 0?dt(e,"language definition does not contain attribute '"+i+"', used at: "+t):dt(e,"attribute reference '"+i+"' must be a string, used at: "+t);return X7(n)?"":"(?:"+n+")"});return new RegExp(t,e.ignoreCase?"i":"")}function s8(e,t,s,r){if(r<0)return e;if(r<t.length)return t[r];if(r>=100){r=r-100;let i=s.split(".");if(i.unshift(s),r<i.length)return i[r]}return null}function r8(e,t,s,r){let i=-1,n=s,a=s.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);a&&(a[3]&&(i=parseInt(a[3]),a[2]&&(i=i+100)),n=a[4]);let o="~",l=n;!n||n.length===0?(o="!=",l=""):/^\w*$/.test(l)?o="==":(a=n.match(/^(@|!@|~|!~|==|!=)(.*)$/),a&&(o=a[1],l=a[2]));let p;if((o==="~"||o==="!~")&&/^(\w|\|)*$/.test(l)){let c=f0(l.split("|"),e.ignoreCase);p=function(d){return o==="~"?c(d):!c(d)}}else if(o==="@"||o==="!@"){let c=e[l];if(!c)throw dt(e,"the @ match target '"+l+"' is not defined, in rule: "+t);if(!e8(function(v){return typeof v=="string"},c))throw dt(e,"the @ match target '"+l+"' must be an array of strings, in rule: "+t);let d=f0(c,e.ignoreCase);p=function(v){return o==="@"?d(v):!d(v)}}else if(o==="~"||o==="!~")if(l.indexOf("$")<0){let c=tl(e,"^"+l+"$");p=function(d){return o==="~"?c.test(d):!c.test(d)}}else p=function(c,d,v,f){return tl(e,"^"+ci(e,l,d,v,f)+"$").test(c)};else if(l.indexOf("$")<0){let c=fa(e,l);p=function(d){return o==="=="?d===c:d!==c}}else{let c=fa(e,l);p=function(d,v,f,g,y){let T=ci(e,c,v,f,g);return o==="=="?d===T:d!==T}}return i===-1?{name:s,value:r,test:function(c,d,v,f){return p(c,c,d,v,f)}}:{name:s,value:r,test:function(c,d,v,f){let g=s8(c,d,v,i);return p(g||"",c,d,v,f)}}}function sl(e,t,s){if(s){if(typeof s=="string")return s;if(s.token||s.token===""){if(typeof s.token!="string")throw dt(e,"a 'token' attribute must be of type string, in rule: "+t);{let r={token:s.token};if(s.token.indexOf("$")>=0&&(r.tokenSubst=!0),typeof s.bracket=="string")if(s.bracket==="@open")r.bracket=1;else if(s.bracket==="@close")r.bracket=-1;else throw dt(e,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+t);if(s.next){if(typeof s.next!="string")throw dt(e,"the next state must be a string value in rule: "+t);{let i=s.next;if(!/^(@pop|@push|@popall)$/.test(i)&&(i[0]==="@"&&(i=i.substr(1)),i.indexOf("$")<0&&!Q7(e,ci(e,i,"",[],""))))throw dt(e,"the next state '"+s.next+"' is not defined in rule: "+t);r.next=i}}return typeof s.goBack=="number"&&(r.goBack=s.goBack),typeof s.switchTo=="string"&&(r.switchTo=s.switchTo),typeof s.log=="string"&&(r.log=s.log),typeof s._push=="string"&&(r._push=s._push),typeof s._pop=="string"&&(r._pop=s._pop),typeof s.mark=="string"&&(r.mark=s.mark),typeof s.fn=="string"&&(r.fn=s.fn),typeof s.nextEmbedded=="string"&&(r.nextEmbedded=s.nextEmbedded,e.usesEmbedded=!0),r}}else if(Array.isArray(s)){let r=[];for(let i=0,n=s.length;i<n;i++)r[i]=sl(e,t,s[i]);return{group:r}}else if(s.cases){let r=[];for(let n in s.cases)if(s.cases.hasOwnProperty(n)){let a=sl(e,t,s.cases[n]);n==="@default"||n==="@"||n===""?r.push({test:void 0,value:a,name:n}):n==="@eos"?r.push({test:function(o,l,p,c){return c},value:a,name:n}):r.push(r8(e,t,n,a))}let i=e.defaultToken;return{test:function(n,a,o,l){for(let p of r)if(!p.test||p.test(n,a,o,l))return p.value;return i}}}else throw dt(e,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+t)}else return{token:""}}var i8=class{regex=new RegExp("");action={token:""};matchOnlyAtLineStart=!1;name="";stats;string;constructor(e){this.name=e,this.stats={time:0,count:0,hits:0}}setRegex(e,t){let s;if(typeof t=="string")s=t;else if(t instanceof RegExp)s=t.source;else throw dt(e,"rules must start with a match string or regular expression: "+this.name);s.length==2&&s[0]=="\\"&&/[\{\}\(\)\[\]]/.test(s[1])&&(this.string=s[1]),this.matchOnlyAtLineStart=s.length>0&&s[0]==="^",this.name=this.name+": "+s,this.regex=tl(e,"^(?:"+(this.matchOnlyAtLineStart?s.substr(1):s)+")")}setAction(e,t){this.action=sl(e,this.name,t)}};function _0(e,t){if(!t||typeof t!="object")throw new Error("Monarch: expecting a language definition object");let s={};s.languageId=e,s.noThrow=!1,s.maxStack=100,s.start=typeof t.start=="string"?t.start:null,s.ignoreCase=p0(t.ignoreCase,!1),s.tokenPostfix=d0(t.tokenPostfix,"."+s.languageId),s.defaultToken=d0(t.defaultToken,"source"),s.usesEmbedded=!1;let r=t;r.languageId=e,r.ignoreCase=s.ignoreCase,r.noThrow=s.noThrow,r.usesEmbedded=s.usesEmbedded,r.stateNames=t.tokenizer,r.defaultToken=s.defaultToken;function i(a,o,l){for(let p of l){let c=p.include;if(c){if(typeof c!="string")throw dt(s,"an 'include' attribute must be a string at: "+a);if(c[0]==="@"&&(c=c.substr(1)),!t.tokenizer[c])throw dt(s,"include target '"+c+"' is not defined at: "+a);i(a+"."+c,o,t.tokenizer[c])}else{let d=new i8(a);if(Array.isArray(p)&&p.length>=1&&p.length<=3)if(d.setRegex(r,p[0]),p.length>=3)if(typeof p[1]=="string")d.setAction(r,{token:p[1],next:p[2]});else if(typeof p[1]=="object"){let v=p[1];v.next=p[2],d.setAction(r,v)}else throw dt(s,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+a);else d.setAction(r,p[1]);else{if(!p.regex)throw dt(s,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+a);p.name&&typeof p.name=="string"&&(d.name=p.name),p.matchOnlyAtStart&&(d.matchOnlyAtLineStart=p0(p.matchOnlyAtLineStart,!1)),d.setRegex(r,p.regex),d.setAction(r,p.action)}o.push(d)}}}if(!t.tokenizer||typeof t.tokenizer!="object")throw dt(s,"a language definition must define the 'tokenizer' attribute as an object");s.tokenizer=[];for(let a in t.tokenizer)if(t.tokenizer.hasOwnProperty(a)){s.start||(s.start=a);let o=t.tokenizer[a];s.tokenizer[a]=new Array,i("tokenizer."+a,s.tokenizer[a],o)}if(s.usesEmbedded=r.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw dt(s,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let n=[];for(let a of t.brackets){let o=a;if(o&&Array.isArray(o)&&o.length===3&&(o={token:o[2],open:o[0],close:o[1]}),o.open===o.close)throw dt(s,"open and close brackets in a 'brackets' attribute must be different: "+o.open+`
 hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof o.open=="string"&&typeof o.token=="string"&&typeof o.close=="string")n.push({token:o.token+s.tokenPostfix,open:fa(s,o.open),close:fa(s,o.close)});else throw dt(s,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return s.brackets=n,s.noThrow=!0,s}var un=class Yp{_tokenBrand;offset;type;language;value;scope;stack;mods;kind;symbol;next;context;prev;op;constructor(t,s,r){this.offset=t|0,this.type=s,this.language=r,this.kind=0,this.mods=0,this.value=null,this.stack=null}toString(){return this.value||""}get span(){return{offset:this.offset,start:this.offset,length:this.value?this.value.length:0,source:"imba"}}get indent(){return 0}get startOffset(){return this.offset}get endOffset(){return this.offset+(this.value?this.value.length:0)}clone(){let t=new Yp(this.offset,this.type,this.language);return t.value=this.value,t.stack=this.stack,t}match(t){if(typeof t=="string")if(t.indexOf(" ")>0)t=t.split(" ");else{let s=this.type.indexOf(t);return t[0]=="."?s>=0:s==0}if(t instanceof Array)for(let s of t){let r=this.type.indexOf(s);if(s[0]=="."?r>=0:r==0)return!0}return t instanceof RegExp?t.test(this.type):!1}},n8=class{_tokenizationResultBrand;tokens;endState;constructor(e,t){this.tokens=e,this.endState=t}},m0=10;function _a(e,t){return e.split(".")[t]}var rl=class qp{static _INSTANCE=new qp(m0);static create(t,s){return this._INSTANCE.create(t,s)}_maxCacheDepth;_entries;constructor(t){this._maxCacheDepth=t,this._entries=Object.create(null)}create(t,s){if(t!==null&&t.depth>=this._maxCacheDepth)return new O1(t,s);let r=O1.getStackElementId(t);r.length>0&&(r+="|"),r+=s;let i=this._entries[r];return i||(i=new O1(t,s),this._entries[r]=i,i)}},O1=class Kp{parent;state;depth;constructor(t,s){this.parent=t,this.state=s,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(t){let s="";for(;t!==null;)s.length>0&&(s+="|"),s+=t.state,t=t.parent;return s}static _equals(t,s){for(;t!==null&&s!==null;){if(t===s)return!0;if(t.state!==s.state)return!1;t=t.parent,s=s.parent}return t===null&&s===null}get indent(){return this.state.lastIndexOf("	")-this.state.indexOf("	")}get scope(){return this.part(2)}get detail(){return this.part(2)}part(t){return this.state.split(".")[t]}equals(t){return Kp._equals(this,t)}push(t){return rl.create(this,t)}pop(){return this.parent}popall(){let t=this;for(;t.parent;)t=t.parent;return t}switchTo(t){return rl.create(this.parent,t)}},il=class Wp{static _INSTANCE=new Wp(m0);static create(t){return this._INSTANCE.create(t)}_maxCacheDepth;_entries;constructor(t){this._maxCacheDepth=t,this._entries=Object.create(null)}create(t){if(t!==null&&t.depth>=this._maxCacheDepth)return new g0(t);let s=O1.getStackElementId(t),r=this._entries[s];return r||(r=new g0(t),this._entries[s]=r,r)}},g0=class Xp{stack;constructor(t){this.stack=t}clone(){return il.create(this.stack)}equals(t){return!(!(t instanceof Xp)||!this.stack.equals(t.stack))}},a8=class{_tokens;_language;_lastTokenType;_lastToken;constructor(){this._tokens=[],this._language=null,this._lastToken=new un(0,"start","imba"),this._lastTokenType=null}enterMode(e,t){this._language=t}emit(e,t,s){this._lastTokenType;let r=new un(e,t,this._language);return this._lastTokenType=t,this._lastToken=r,this._tokens.push(r),r}finalize(e){return new n8(this._tokens,e)}},y0=class{_modeId;_lexer;_profile;constructor(e,t){this._modeId=e,this._lexer=t,this._profile=!1}dispose(){}getLoadStatus(){return{loaded:!0}}getInitialState(){let e=rl.create(null,this._lexer.start);return il.create(e)}tokenize(e,t,s){let r=new a8,i=this._tokenize(e,t,s,r);return r.finalize(i)}_tokenize(e,t,s,r){return this._myTokenize(e,t,s,r)}_safeRuleName(e){return e?e.name:"(unknown)"}_rescope(e,t,s,r){let i=(e||"").split("-"),n=(t||"").split("-");if(e==t)return;let a=1;for(;i[a]&&i[a]==n[a];)a++;let o=i.length;for(;o>a;)s.push("pop."+i[--o]+"."+o);for(;n.length>a;){let l="push."+n[a++]+"."+(a-1);if(r){let p=_a(r,1);l+="."+p}s.push(l)}}_myTokenize(e,t,s,r){r.enterMode(s,this._modeId);let i=e.length,n=t.stack,a=null,o=0,l=this._profile,p=null,c=!0,d=[],v=0,f=[],g=null;for(;c||o<i;){if(v++,v>1e3)throw console.log("infinite recursion"),"infinite recursion in tokenizer?";let y=o,T=n.depth,_=p?p.groups.length:0,b=n.state,m=null,C=null,k=null,L=null;if(p){m=p.matches;let E=p.groups.shift();C=E.matched,k=E.action,L=p.rule,p.groups.length===0&&(p=null)}else{if(!c&&o>=i)break;if(c=!1,f=this._lexer.tokenizer[b],!f&&(f=el(this._lexer,b),!f))throw dt(this._lexer,"tokenizer state is not defined: "+b);let E=e.substr(o);for(let N of f)if(N.string!==void 0){if(E[0]===N.string){m=[N.string],C=N.string,k=N.action;break}}else if(o===0||!N.matchOnlyAtLineStart){if(l){N.stats.count++;let S=performance.now();m=E.match(N.regex),N.stats.time+=performance.now()-S,m&&N.stats.hits++}else m=E.match(N.regex);if(m){C=m[0],k=N.action;break}}}if(m||(m=[""],C=""),k||(o<i&&(m=[e.charAt(o)],C=m[0]),k=this._lexer.defaultToken),C===null)break;for(o+=C.length;K7(k)&&W7(k)&&k.test;)k=k.test(C,m,b,o===i);let x=null;if(typeof k=="string"||Array.isArray(k))x=k;else if(k.group)x=k.group;else if(k.token!==null&&k.token!==void 0){if(k.tokenSubst?x=ci(this._lexer,k.token,C,m,b):x=k.token,k.goBack&&(o=Math.max(0,o-k.goBack)),k.switchTo&&typeof k.switchTo=="string"){let E=ci(this._lexer,k.switchTo,C,m,b);if(E[0]==="@"&&(E=E.substr(1)),el(this._lexer,E)){let N=n.scope,S=_a(E,2);N!==S&&this._rescope(N,S,d,E),n=n.switchTo(E)}else throw dt(this._lexer,"trying to switch to a state '"+E+"' that is undefined in rule: "+this._safeRuleName(L))}else{if(k.transform&&typeof k.transform=="function")throw dt(this._lexer,"action.transform not supported");if(k.next)if(k.next==="@push"){if(n.depth>=this._lexer.maxStack)throw dt(this._lexer,"maximum tokenizer stack size reached: ["+n.state+","+n.parent.state+",...]");n=n.push(b)}else if(k.next==="@pop"){if(n.depth<=1)throw dt(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(L));{let E=n;n=n.pop();let N=_a(E.state,2),S=_a(n.state,2);N!==S&&this._rescope(N,S,d,n.state)}}else if(k.next==="@popall")n=n.popall();else{let E=ci(this._lexer,k.next,C,m,b);E[0]==="@"&&(E=E.substr(1));let N=_a(E,2);if(el(this._lexer,E))N!=n.scope&&this._rescope(n.scope||"",N,d,E),n=n.push(E);else throw dt(this._lexer,"trying to set a next state '"+E+"' that is undefined in rule: "+this._safeRuleName(L))}}k.log&&typeof k.log=="string"&&J7(this._lexer,this._lexer.languageId+": "+ci(this._lexer,k.log,C,m,b)),k.mark&&r.emit(y+s,k.mark,n)}if(x===null)throw dt(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(L));if(Array.isArray(x)){if(p&&p.groups.length>0)throw dt(this._lexer,"groups cannot be nested: "+this._safeRuleName(L));if(m.length!==x.length+1)throw dt(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(L));let E=0;for(let N=1;N<m.length;N++)E+=m[N].length;if(E!==C.length)throw dt(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(L));p={rule:L,matches:m,groups:[]};for(let N=0;N<x.length;N++)p.groups[N]={action:x[N],matched:m[N+1]};o-=C.length;continue}else{if(x==="@rematch"&&(o-=C.length,C="",m=null,x=""),C.length===0)if(i===0||T!==n.depth||b!==n.state||(p?p.groups.length:0)!==_){for(typeof x=="string"&&x&&r.emit(o+s,x,n);d.length>0;)r.emit(o+s,d.shift(),n);continue}else throw dt(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(L));let E=null;if(h0(x)&&x.indexOf("@brackets")===0){let S=x.substr(9),D=o8(this._lexer,C);if(!D)throw dt(this._lexer,"@brackets token returned but no bracket defined as: "+C);E=c0(D.token+S)}else{let S=x===""?"":x+this._lexer.tokenPostfix;E=c0(S)}let N=r.emit(y+s,E,n);for(N.stack=n,a&&a!=N&&(a.value=e.slice(a.offset-s,y)),a=N;d.length>0;)r.emit(o+s,d.shift(),n)}}return a&&!a.value&&(a.value=e.slice(a.offset-s)),il.create(n)}};function o8(e,t){if(!t)return null;t=fa(e,t);let s=e.brackets;for(let r of s){if(r.open===t)return{token:r.token,bracketType:1};if(r.close===t)return{token:r.token,bracketType:-1}}return null}var l8=Symbol(),v0=class{get node(){return this.scope&&this.scope.start==this?this.scope:this.pops?this.pops:this}get nextNode(){var t;return(t=this.next)==null?void 0:t.node}get prevNode(){var t;return(t=this.prev)==null?void 0:t.node}};Ye(v0,l8,"Token",1,un);var _m=v0,b0=Symbol(),x0=class Jp{constructor(t=null){this[us](t),Ks(this,b0)}[us](t=null,s=!0,r=!0){this.offset=t?t.offset:void 0,this.text=t?t.text:void 0,this.tokens=t?t.tokens:void 0,this.startState=t?t.startState:void 0,this.endState=t?t.endState:void 0}clone(t=this.offset){let s=[],r=t-this.offset;for(let i=0,n=ft(this.tokens),a=n.length;i<a;i++){let o=n[i],l=o.clone();l.offset=o.offset+r,s.push(l)}return new Jp({offset:t,startState:this.startState,endState:this.endState,text:this.text,tokens:s})}};Ye(x0,b0,"LexedLine",16);var h8=x0,c8=_0("imba",l0),ma=new y0("imba",c8),D1=["comment","string","keyword","number","regexp","operator","namespace","type","struct","class","interface","enum","typeParameter","function","member","macro","variable","parameter","property","label"];for(let e=0,t=ft(D1),s=t.length;e<s;e++){let r=t[e];D1[r]=e}var Ct={Declaration:1,Import:2,Export:4,Global:8,ReadOnly:16,Static:32,Modification:64,Deprecated:128,Access:256,Root:512,Special:1024,Class:2048,Member:4096,Function:8192,Def:16384,Var:32768,Let:65536,Const:1<<17,Get:1<<18,Set:1<<19},u8=Object.keys(Ct).map(function(e){return e.toLowerCase()});for(let e=0,t=ft(Object.keys(Ct)),s=t.length;e<s;e++){let r=t[e];Ct[r.toLowerCase()]=Ct[r]}var Ls={Keyword:1,Access:2,Key:4,TagName:8,TagEvent:16,TagFlag:32,TagProp:64,TagEventModifier:128,Value:256,Path:512,StyleProp:1024,StyleValue:2048,Type:4096,StyleModifier:8192,StyleSelector:16384,VarName:32768,ImportName:65536,ClassBody:1<<17,ComponentBody:1<<18,TagId:1<<19,Decorator:1<<20,StyleVar:1<<21,StyleUnit:1<<22,ImportStatement:1<<23,DecoratorModifier:1<<24,StyleColor:1<<25},Ve={Keyword:1,Root:2,Class:4,Block:8},nl={and:Ve.Block,await:Ve.Block,begin:Ve.Block,break:Ve.Block,by:Ve.Block,case:Ve.Block,catch:Ve.Block,class:Ve.Block,const:Ve.Block,continue:Ve.Block,css:Ve.Class|Ve.Root,debugger:Ve.Block,def:Ve.Class|Ve.Block,get:Ve.Class,set:Ve.Class,delete:Ve.Block,do:Ve.Block,elif:Ve.Block,else:Ve.Block,export:Ve.Root,extends:Ve.Block,false:Ve.Block,finally:Ve.Block,for:Ve.Block,if:Ve.Block,import:Ve.Root,in:Ve.Block,instanceof:Ve.Block,is:Ve.Block,isa:Ve.Block,isnt:Ve.Block,let:Ve.Block,loop:Ve.Block,module:Ve.Block,nil:Ve.Block,no:Ve.Block,not:Ve.Block,null:Ve.Block,of:Ve.Block,or:Ve.Block,require:Ve.Block,return:Ve.Block,self:Ve.Block,static:Ve.Block|Ve.Class,super:Ve.Block,switch:Ve.Block,tag:Ve.Root,then:Ve.Block,this:Ve.Block,throw:Ve.Block,true:Ve.Block,try:Ve.Block,typeof:Ve.Block,undefined:Ve.Block,unless:Ve.Block,until:Ve.Block,var:Ve.Block,when:Ve.Block,while:Ve.Block,yes:Ve.Block},Yt={File:1,Module:2,Namespace:3,Package:4,Class:5,Method:6,Property:7,Field:8,Constructor:9,Enum:10,Interface:11,Function:12,Variable:13,Constant:14,String:15,Number:16,Boolean:17,Array:18,Object:19,Key:20,Null:21,EnumMember:22,Struct:23,Event:24,Operator:25,TypeParameter:26},al={};for(let e=0,t=Object.keys(Yt),s=t.length,r,i;e<s;e++){r=t[e],i=Yt[r];let n=r.replace(/([a-z])([A-Z])/g,function(a,o,l){return""+o+" "+l});n=n.toLowerCase(),n=="variable"&&(n="var"),al[r]=al[i]=n}for(let e=0,t=Object.keys(Yt),s=t.length,r,i;e<s;e++)r=t[e],i=Yt[r],Yt[i]=r;var M1=Symbol.for("#datatype"),ol=Symbol.for("#scope"),je={None:0,ConstVariable:1,LetVariable:2,Property:4,EnumMember:8,Function:16,Class:32,LocalComponent:64,GlobalComponent:128,RegularEnum:256,ValueModule:512,Parameter:1024,TypeLiteral:2048,ObjectLiteral:4096,Method:8192,Constructor:16384,GetAccessor:32768,SetAccessor:65536,Signature:1<<17,TypeParameter:1<<18,TypeAlias:1<<19,ExportValue:1<<20,Alias:1<<21,Prototype:1<<22,ExportStar:1<<23,Optional:1<<24,IsGlobal:1<<25,IsRoot:1<<26};je.Component=je.LocalComponent|je.GlobalComponent,je.Variable=je.LetVariable|je.ConstVariable|je.Parameter,je.Accessor=je.GetAccessor|je.SetAccessor,je.ClassMember=je.Method|je.Accessor|je.Property,je.Scoped=je.Function|je.Variable|je.Class|je.Enum|je.LocalComponent,je.Entity=je.ClassMember|je.Function,je.Type=je.Component|je.Class,je.GlobalVar=je.ConstVariable|je.IsGlobal;var w0=[["entity.name.component.local",0,je.LocalComponent],["entity.name.component.global",0,je.GlobalComponent],["entity.name.function",0,je.Function],["entity.name.class",0,je.Class],["entity.name.constructor",0,je.Method],["entity.name.def",0,je.Method],["entity.name.get",0,je.GetAccessor],["entity.name.set",0,je.SetAccessor],["field",0,je.Property],["decl-let",0,je.LetVariable],["decl-for-index",0,je.LetVariable,{datatype:"\\number"}],["decl-for",0,je.LetVariable,{kind:"for"}],["decl-var",0,je.LetVariable],["decl-param",0,je.Parameter],["decl-const",0,je.ConstVariable],["decl-import-type",0,je.TypeAlias],["decl-import",0,je.ConstVariable]],ll={},S0=Symbol(),T0=class{[us](t=null,s=!0,r=!0){var i;this.value=t?t.value:void 0,this.body=t&&(i=t.body)!==void 0?i:null}static typeMatch(t){if(ll[t]!=null)return ll[t];for(let s=0,r=ft(w0),i=r.length;s<i;s++){let[n,a,o,l]=r[s];if(t.indexOf(n)>=0)return ll[t]=w0[s]}return null}static forToken(t,s,r=0){let i=this.typeMatch(s);return i?new this(i[2],t.value,t,i[3]):null}constructor(t,s,r,i=null){this[us](),this.flags=t,this.name=s,this.node=r,this.desc=i,Ks(this,S0)}get importSource(){return this.imported\u03A6?this.node.context.closest("imports").sourcePath:null}get exportName(){return this.node.prev.match("keyword.as")?this.node.prev.prev.value:this.node.match(".default")?"default":this.node.value}get importInfo(){if(!this.imported\u03A6)return null;let t=this.node.context.closest("imports");return{exportName:this.exportName,name:this.node.value,isTypeOnly:t.isTypeOnly,path:t.sourcePath}}get datatype(){var t;let s,r=this.desc&&this.desc.datatype;if(r)return r;if(this[M1])return this[M1];let i=this.node&&this.node.nextNode;if(i&&i.type=="type")return i;let n=this.scope;if(n&&((t=this.desc)==null?void 0:t.kind)=="for"){let a=n.doc.getDestructuredPath(this.node,[[n.expression,"__@iterable"]]);return this[M1]||(this[M1]=a)}return(s=this.importInfo)?s:null}get static\u03A6(){return this.node&&this.node.mods&Ct.Static}get entity\u03A6(){return this.flags&je.Entity}get itervar\u03A6(){return this.node&&this.node.match(".decl-for")}get variable\u03A6(){return this.flags&je.Variable}get parameter\u03A6(){return this.flags&je.Parameter}get member\u03A6(){return this.flags&je.ClassMember}get scoped\u03A6(){return this.flags&je.Scoped}get type\u03A6(){return this.flags&je.Type}get global\u03A6(){return!this[ol]}get root\u03A6(){return this[ol]&&this[ol].root\u03A6}get imported\u03A6(){return this.node&&this.node.match(".decl-import")}get component\u03A6(){return this.flags&je.Component}get escapedName(){return this.name}get scope(){var t,s;return(s=(t=this.node)==null?void 0:t.context)==null?void 0:s.scope}addReference(t){return this.references||(this.references=[]),this.references.push(t),t.symbol=this,this}dereference(t){let s=this.references.indexOf(t);return s>=0&&(t.symbol=null,this.references.splice(s,1)),this}get kind(){return this.variable\u03A6?Yt.Variable:this.flags&je.Class||this.flags&je.Component?Yt.Class:this.flags&je.Property?Yt.Field:this.flags&je.Method?this.escapedName=="constructor"?Yt.Constructor:Yt.Method:this.flags&je.GetAccessor?"getter":this.flags&je.SetAccessor?"setter":this.flags&je.Function?Yt.Function:Yt.Method}get semanticKind(){return this.flags&je.Parameter?"parameter":this.variable\u03A6?"variable":this.type\u03A6?"type":this.flags&je.Function?"function":this.member\u03A6?"member":this.component\u03A6?"component":"variable"}get outlineKind(){return al[this.kind]}get outlineText(){return this.node?this.node.value:"--"}toOutline(t){return{kind:this.outlineKind,name:this.outlineText}}get semanticFlags(){let t=0;return this.flags&je.ConstVariable&&(t|=Ct.ReadOnly),this.static\u03A6&&(t|=Ct.Static),this.imported\u03A6&&(t|=Ct.Import),this.global\u03A6&&(t|=Ct.Global),this.root\u03A6&&(t|=Ct.Root),this.flags&je.IsSpecial&&(t|=Ct.Special),t}asNavigateToItem(){var t;if(!this.node)return null;let s={name:this.outlineText,kind:this.outlineKind,kindModifiers:"",textSpan:this.node.textSpan||this.node.span,containerName:"",containerKind:""};try{let r=(t=this.body)==null?void 0:t.parent;r&&!r.root\u03A6&&(s.containerName=r.outlineText,s.containerKind=r.outlineKind)}catch{}return s}};Ye(T0,S0,"Sym",16);var pn=T0,p8=Symbol(),k0=class extends pn{};Ye(k0,p8,"ForVar",0);var ym=k0,d8=Symbol(),E0=class{};Ye(E0,d8,"SymbolMap",0);var bm=E0,hl=Symbol.for("#scope"),A0={global:{datatype:"globalThis"},imba:{datatype:"globalThis.imba"},module:{},window:{datatype:"globalThis.window"},document:{datatype:"globalThis.document"},exports:{},console:{datatype:"globalThis.console"},process:{datatype:"globalThis.process"},parseInt:{datatype:"globalThis.parseInt"},parseFloat:{datatype:"globalThis.parseFloat"},setTimeout:{datatype:"globalThis.setTimeout"},setInterval:{datatype:"globalThis.setInterval"},setImmediate:{datatype:"globalThis.setImmediate"},clearTimeout:{datatype:"globalThis.clearTimeout"},clearInterval:{datatype:"globalThis.clearInterval"},clearImmediate:{datatype:"globalThis.clearImmediate"},globalThis:{datatype:"globalThis"},isNaN:{datatype:"globalThis.isNaN"},isFinite:{datatype:"globalThis.isFinite"},__dirname:{datatype:"\\string"},__filename:{datatype:"\\string"},__realname:{datatype:"\\string"}},N0=Symbol(),I0=class{[us](t=null,s=!0,r=!0){var i;this.type=t&&(i=t.type)!==void 0?i:"",this.start=t?t.start:void 0,this.end=t?t.end:void 0,this.parent=t?t.parent:void 0}static build(t,s,r,i,n){return new this(t,s,r,i,n)}constructor(t,s,r,i,n=null){this[us](),this.doc=t,this.start=s,this.end=null,this.type=i,this.parent=r,this.$name=null,s.scope=this,Ks(this,N0)}pop(t){return this.end=t,t.start=this.start,t.pops=this,this.start.end=t,this.visit(),this.parent}find(t){return this.findChildren(t,!0)[0]}get childNodes(){return this.doc.getNodesInScope(this,!0,!0)}get children(){return this.doc.getNodesInScope(this)}get allTokens(){let t=[],s=this.start;for(;s&&(t.push(s),s!=this.end);)s=s.next;return t}get parents(){return[this.parent].concat(this.parent.parents)}get span(){let t=this.start.startOffset,s=this.end?this.end.endOffset:this.doc.content.length;return{start:t,length:s-t}}get contextSpan(){return this.span}findChildren(t,s=!1){let r=[],i=this.start;for(;i;){if(s&&r.length)return r;if(i.scope&&i.scope!=this){i.scope.match(t)&&r.push(i.scope),i=i.scope.next;continue}if(i.match(t)&&r.push(i),i==this.end)break;i=i.next}return r}closest(t){return this.match(t)?this:this.parent?this.parent.closest(t):null}visit(){return this}get member\u03A6(){return!1}get top\u03A6(){return!1}get scope\u03A6(){return!1}get selfScope(){return this.member\u03A6||this.top\u03A6?this:this.parent.selfScope}get name(){return this.$name||""}get value(){return this.doc.content.slice(this.start.offset,this.end?this.end.endOffset:-1)}get outerText(){return this.doc.getText(this.contextSpan)}get next(){return this.end?this.end.next:null}get prev(){return this.start?this.start.prev:null}match(t){return typeof t=="string"?this.type==t:ds(t,RegExp)?t.test(this.type):ds(t,Function)?t(this):!0}get startOffset(){return this.start.offset}get endOffset(){return this.end.endOffset}get outlineText(){return"item"}get outlineKind(){return this.symbol?this.symbol.outlineKind:this.type}toOutline(){return{text:this.outlineText,kind:this.outlineKind}}};Ye(I0,N0,"Node",16);var cl=I0,L0=Symbol(),R0=class extends cl{constructor(t,s,r,i,n=[]){super(t,s,r,i),Ks(this,L0)}get scope(){return this.parent.scope}get varmap(){return this.parent.varmap}register(t){return this.parent.register(t)}lookup(...t){return this.parent.lookup(...t)}get comment(){var t;let s=this.value.match(/\s\#\s([^\n]+)\n/);if(s)return s[1];let r=this.start.prev;return r&&r.match("white.tabs")&&(r=r.prev),(t=r?.match)!=null&&t.call(r,"comment")?r.value.replace(/(^\#\s)|(\n+$)/g,""):null}};Ye(R0,L0,"Group",16);var bt=R0,f8=Symbol(),$0=class extends bt{};Ye($0,f8,"ValueNode",0);var _8=$0,m8=Symbol(),C0=class extends bt{};Ye(C0,m8,"StringNode",0);var g8=C0,y8=Symbol(),O0=class extends bt{get properties(){return this.findChildren("styleprop")}};Ye(O0,y8,"StyleNode",0);var v8=O0,b8=Symbol(),D0=class extends bt{};Ye(D0,b8,"StyleRuleNode",0);var x8=D0,M0=Symbol(),P0=class extends cl{constructor(t,s,r,i,n=[]){if(super(t,s,r,i),this.entities=[],this.refs=[],this.varmap=Object.create(r?r.varmap:{}),ds(this,P1))for(let a=0,o=Object.keys(A0),l=o.length,p,c;a<l;a++){p=o[a],c=A0[p];let d={value:p,offset:-1,mods:0,match:function(){return!1}};this.varmap[p]=new pn(je.GlobalVar,p,d,c)}return this.indent=n[3]&&n[3][0]=="	"?n[3].length:0,this.setup(),this}get outlineText(){return this.ident?this.ident.value:"something"}setup(){var t,s,r;if(this.handler\u03A6){let i="ImbaEvents."+this.parent.name;this.varmap.e=new pn(je.Parameter,"e",null,{datatype:i}),this.varmap.e[hl]=this}if(this.class\u03A6||this.property\u03A6){this.ident=this.token=I1(this.start,"entity.");let i=I1(this.start,"keyword.class keyword.tag",1e4,2);if(this.keyword=i,this.class\u03A6&&i&&(this.token=(t=i.next)==null?void 0:t.next,(r=(s=this.token)==null?void 0:s.match)!=null&&r.call(s,"push.assignable")&&(this.token=this.token.scope),this.ident=this.token),this.ident&&(this.ident.body=this),this.ident&&this.ident.type=="entity.name.def.render"&&(this.$name="render",this.ident.symbol))return this.ident.symbol.name="render"}}get selfPath(){let t=this.path;return this.property\u03A6?t.slice(0,t.lastIndexOf(".")):t}get path(){let t=this.parent?this.parent.path:"";if(this.property\u03A6){let s=this.static\u03A6?".":".prototype.";return this.parent?""+this.parent.path+s+this.name:this.name}if(this.component\u03A6)if(this.name[0]==this.name[0].toLowerCase()){let s=U7(this.name);return s?s.name:C7(this.name)}else return this.name;return this.class\u03A6?this.name:t}get allowedKeywordTypes(){return this.class\u03A6?Ve.Class:this.root\u03A6?Ve.Root|Ve.Block:Ve.Block}get component\u03A6(){return!!this.type.match(/^component/)}get root\u03A6(){return ds(this,P1)}get top\u03A6(){return ds(this,P1)}get scope\u03A6(){return!0}get class\u03A6(){return!!this.type.match(/^class/)||this.component\u03A6}get exportForDts\u03A6(){var t;return this.class\u03A6&&!!(this.extends\u03A6||this.global\u03A6||this.namespaced\u03A6&&(!((t=this.namespace)!=null&&t.symbol)||this.namespace.symbol.importSource))}get namespace(){if(!this.namespaced\u03A6)return null;let t=this.ident;return ds(t,bp)?t.start.next:t}get namespaced\u03A6(){var t,s,r;return this.class\u03A6&&((r=(s=(t=this.ident)==null?void 0:t.value)==null?void 0:s.indexOf)==null?void 0:r.call(s,"."))>0}get extends\u03A6(){var t,s;return this.class\u03A6&&this.keyword&&((s=(t=this.keyword.prev.prev)==null?void 0:t.match)==null?void 0:s.call(t,"keyword.extend"))}get exports\u03A6(){var t,s;return this.class\u03A6&&this.keyword&&((s=(t=this.keyword.prev.prev)==null?void 0:t.match)==null?void 0:s.call(t,"keyword.export"))}get global\u03A6(){return this.class\u03A6&&(!!I1(this.keyword,"keyword.global",3,1)||this.component\u03A6&&this.name[0]==this.name[0].toLowerCase())}get def\u03A6(){return!!this.type.match(/def|get|set/)}get static\u03A6(){return!!(this.ident&&this.ident.mods&Ct.Static)}get handler\u03A6(){return!!this.type.match(/handler|spy/)}get member\u03A6(){return!!this.type.match(/def|get|set/)}get property\u03A6(){return!!this.type.match(/def|get|set|field/)}get flow\u03A6(){return!!this.type.match(/if|else|elif|unless|for|while|until/)}get closure\u03A6(){return!!this.type.match(/class|component|def|get|set|do/)}get scope(){return this}get name(){return this.$name||(this.ident?this.ident.value:"")}get span(){let t=this.start.startOffset;this.ident&&(t=this.ident.startOffset);let s=this.end?this.end.endOffset:this.doc.content.length;return{start:t,length:s-t}}get textSpan(){return this.ident?this.ident.span:this.span}get contextSpan(){return this.class\u03A6||this.component\u03A6||this.def\u03A6?this.doc.expandSpanToLines(this.span):this.span}visit(){return this}register(t){return t.scoped\u03A6&&(this.varmap[t.name]=t,t[hl]||(t[hl]=this),this.root\u03A6&&(t.flags|=je.IsRoot)),t}lookup(t,s=je.Scoped){let r,i=t.value;return i[i.length-1]=="!"&&(i=i.slice(0,-1)),(r=this.varmap[i])?r:null}};Ye(P0,M0,"Scope",16);var zs=P0,w8=Symbol(),F0=class extends zs{};Ye(F0,w8,"GlobalScope",0);var Im=F0,S8=Symbol(),j0=class extends zs{get parents(){return[]}};Ye(j0,S8,"Root",0);var P1=j0,T8=Symbol(),G0=class extends zs{};Ye(G0,T8,"Class",0);var $m=G0,k8=Symbol(),B0=class extends zs{};Ye(B0,k8,"Method",0);var Om=B0,E8=Symbol(),V0=class extends zs{};Ye(V0,E8,"Flow",0);var Mm=V0,A8=Symbol(),H0=class extends zs{get expression(){return this.find("keyword.in keyword.of").next.next}get forvars(){return Object.values(this.varmap).filter(function(t){return t.itervar\u03A6})}};Ye(H0,A8,"ForScope",0);var N8=H0,I8=Symbol(),z0=class extends zs{};Ye(z0,I8,"BlockScope",0);var L8=z0,R8=Symbol(),U0=class extends zs{register(t){return this.parent.register(t)}lookup(...t){return this.parent.lookup(...t)}};Ye(U0,R8,"WeakScope",0);var Gm=U0,$8=Symbol(),Y0=class extends zs{get selfScope(){return this}};Ye(Y0,$8,"FieldScope",0);var C8=Y0,O8=Symbol(),q0=class extends zs{};Ye(q0,O8,"StyleRule",0);var D8=q0,M8=Symbol(),K0=class extends bt{};Ye(K0,M8,"SelectorNode",0);var P8=K0,F8=Symbol(),W0=class extends bt{get propertyName(){var t;return this.start.next.match("style.property.name")?this.start.next.value:(t=this.parent.prevProperty)==null?void 0:t.propertyName}get modifier(){if(this.start.next.match("style.property.modifier"))return this.start.next.value}get styleValue(){return!0}};Ye(W0,F8,"StylePropKey",0);var j8=W0,G8=Symbol(),X0=class extends bt{get properties(){return this.findChildren("styleprop")}};Ye(X0,G8,"StyleProps",0);var B8=X0,V8=Symbol(),J0=class extends bt{get key(){return this.parent.key}get propertyName(){return this.parent.propertyName}get modifier(){return this.parent.modifier}};Ye(J0,V8,"StylePropValue",0);var H8=J0,z8=Symbol(),Z0=class extends bt{get key(){return this.find("stylepropkey")}get prevProperty(){return this.start.prev.pops?this.start.prev.pops:null}get propertyName(){var t;return(t=this.key)==null?void 0:t.propertyName}get modifier(){var t;return(t=this.key)==null?void 0:t.modifier}};Ye(Z0,z8,"StylePropNode",0);var U8=Z0,Y8=Symbol(),Q0=class extends bt{};Ye(Q0,Y8,"StyleInterpolation",0);var q8=Q0,K8=Symbol(),ep=class extends bt{get innerText(){return this.value.slice(1,-1)}};Ye(ep,K8,"PathNode",0);var W8=ep,X8=Symbol(),tp=class extends bt{get name(){var t,s;if((s=(t=this.start.next)==null?void 0:t.match)!=null&&s.call(t,"tag.name.parens"))return"any";let r=this.findChildren("tag.name").join("");return r=="self"?this.closest("component").name:r}get nameNode(){return this.findChildren("tag.name")[0]}get local\u03A6(){return this.name[0]==this.name[0].toUpperCase()}get tagName(){return this.name}get parentTag(){var t;return(t=this.closest("tagcontent"))==null?void 0:t.ownerTag}get ancestorTags(){var t;return(t=this.closest("tagcontent"))==null?void 0:t.ownerTags}get ancestorPath(){return this.ancestorTags.map(function(t){return t.tagName}).join(".")}get pathName(){return"<"+this.name+">"}get outlineText(){let t=this.findChildren(/tag\.(reference|name|id|white|flag|mixin|event(?!\-))/).join("").trim();return t=t.replace(/\.\s+/g,""),"<"+t+">"}toOutline(){return{text:this.outlineText,kind:"string",nameSpan:this.span}}};Ye(tp,X8,"TagNode",0);var J8=tp,Z8=Symbol(),sp=class extends bt{get propertyName(){return this.start.next.match("tag.attr")?this.start.next.value:""}get tagName(){return this.parent.name}};Ye(sp,Z8,"TagAttrNode",0);var Q8=sp,e4=Symbol(),rp=class extends bt{get propertyName(){return this.parent.propertyName}get tagName(){return this.parent.tagName}};Ye(rp,e4,"TagAttrValueNode",0);var t4=rp,s4=Symbol(),ip=class extends L8{get ownerTag(){return this.start.prev.pops}get ownerTags(){let t=[this.ownerTag],s;for(;s=t[0].parentTag;)t.unshift(s);return t}};Ye(ip,s4,"TagContent",0);var r4=ip,i4=Symbol(),np=class extends bt{get name(){return this.findChildren("tag.event.name").join("").replace("@","")}};Ye(np,i4,"Listener",0);var n4=np,a4=Symbol(),ap=class extends bt{get name(){return this.findChildren("decorator.name").join("")}get nameToken(){return this.findChildren("decorator.name",!0)[0]}get valueSpan(){let t=this.start.startOffset,[s]=this.findChildren("decorator.modifier.start",!0);return s?{start:t,length:s.offset-t}:this.span}};Ye(ap,a4,"Decorator",0);var o4=ap,l4=Symbol(),op=class extends bt{};Ye(op,l4,"ParensNode",0);var lp=op,h4=Symbol(),hp=class extends bt{static build(t,s,r,i,n){let a=this,o=t.getText(s.offset-1,s.offset);return!o||` [{(|=&-;
	:/*%+-`.indexOf(o)>=0?(i="array",a=f4):(i="index",a=m4),new a(t,s,r,i,n)}};Ye(hp,h4,"BracketsNode",0);var F1=hp,c4=Symbol(),cp=class extends bt{};Ye(cp,c4,"BracesNode",0);var ul=cp,u4=Symbol(),up=class extends ul{};Ye(up,u4,"SpecifiersNode",0);var p4=up,d4=Symbol(),pp=class extends F1{get delimiters(){return this.children.filter(function(t){return t.match("delimiter")})}indexOfNode(t){var s;let r=this.delimiters,i=0;s=0;for(let n of ft(r)){let a=s++;t.offset>n.offset&&i++}return i}};Ye(pp,d4,"ArrayNode",0);var f4=pp,_4=Symbol(),dp=class extends F1{};Ye(dp,_4,"IndexNode",0);var m4=dp,fp=Symbol(),_p=class extends bt{constructor(){super(...arguments),this.prev.datatype=this,Ks(this,fp)}toString(){return this.value}};Ye(_p,fp,"TypeAnnotationNode",16);var g4=_p,y4=Symbol(),mp=class extends bt{};Ye(mp,y4,"InterpolatedValueNode",0);var v4=mp,b4=Symbol(),gp=class extends ul{};Ye(gp,b4,"ObjectNode",0);var x4=gp,w4=Symbol(),yp=class extends bt{get isTypeOnly(){return!!this.start.prev.match("keyword.type")}get sourcePath(){let t=this.children.find(function(s){return s.match("path")});return t?.innerText}get specifiers(){return this.children.find(function(t){return t.match("specifiers")})}get default(){return this.children.find(function(t){return t.match(".default")})}get namespace(){return this.children.find(function(t){return t.match(".ns")})}};Ye(yp,w4,"ImportsNode",0);var S4=yp,T4=Symbol(),vp=class extends bt{};Ye(vp,T4,"Assignable",0);var bp=vp,Fr={rule:D8,style:v8,array:F1,stylerule:x8,sel:P8,path:W8,value:_8,tag:J8,forscope:N8,field:C8,type:g4,parens:lp,brackets:F1,object:x4,braces:ul,specifiers:p4,string:g8,tagattr:Q8,imports:S4,interpolation:v4,tagattrvalue:t4,tagcontent:r4,listener:n4,decorator:o4,styleinterpolation:q8,styleprop:U8,stylepropkey:j8,stylevalue:H8,_sel_props:B8,args:lp,assignable:bp},pl=Symbol.for("#ins"),dl=Symbol.for("#del"),xp=Symbol.for("#version"),wp=Symbol.for("#multiline"),Sp=Symbol.for("#significant"),fl=Symbol.for("#body"),ui=Symbol.for("#lexed"),k4=Symbol(),Tp=class{get node(){return this.scope&&this.scope.start==this?this.scope:this.pops?this.pops:this}get nextNode(){var t;return(t=this.next)==null?void 0:t.node}get prevNode(){var t;return(t=this.prev)==null?void 0:t.node}};Ye(Tp,k4,"Token",1,un);var f9=Tp,kp=Symbol(),Ep=class Zp{static tmp(t){return new this("file://temporary.imba","imba",0,t)}static from(t,s,r,i){return new this(t,s,r,i)}constructor(t,s,r,i){this.uri=t,this.languageId=s,this.version=r,this.content=i,this.connection=null,this.lineTokens=[],this.isLegacy=s=="imba1"||t&&t.match(/\.imba1$/),this.head=this.seed=new un(0,"eol","imba"),this.initialState=ma.getInitialState(),this.seed.stack=ma.getInitialState(),this.history=[],this.lexer=ma,this.versionToHistoryMap={},this.versionToHistoryMap[r]=-1,i&&i.match(/^\#[^\n]+imba1/m)&&(this.isLegacy=!0),Ks(this,kp)}log(...t){return console.log(...t)}get lineCount(){return this.lineOffsets.length}get lineOffsets(){return this._lineOffsets||(this._lineOffsets=n0(this.content,!0))}getText(t=null,s=null){if(typeof t=="number")return this.content.substring(t,s??this.content.length);if(t&&typeof t.start=="number")return this.content.substring(t.start,t.start+t.length);if(t){let r=this.offsetAt(t.start),i=this.offsetAt(t.end);return this.content.substring(r,i)}return this.content}expandSpanToLines(t){let s=this.positionAt(t.start),r=this.lineOffsets[s.line];return t.length=(t.length||0)+(t.start-r),t.start=r,t}getLineText(t){let s=this.lineOffsets[t],r=this.lineOffsets[t+1];return this.content.substring(s,r).replace(/[\r\n]/g,"")}positionAt(t){if(ds(t,N1))return t;typeof t=="object"&&(t=t.offset),t=Math.max(Math.min(t,this.content.length),0);let s=this.lineOffsets,r=0,i=s.length;if(i===0)return new N1(0,t,t,this.version);for(;r<i;){let a=Math.floor((r+i)/2);s[a]>t?i=a:r=a+1}let n=r-1;return new N1(n,t-s[n],t,this.version)}offsetAt(t){if(t.offset)return t.offset;let s=this.lineOffsets;if(t.line>=s.length)return this.content.length;if(t.line<0)return 0;let r=s[t.line],i=t.line+1<s.length?s[t.line+1]:this.content.length;return t.offset=Math.max(Math.min(r+t.character,i),r)}rangeAt(t,s=t){return new da(this.positionAt(t),this.positionAt(s))}overwrite(t,s){return this.version=s||this.version+1,this.content=t,this._lineOffsets=null,this.invalidateFromLine(0),this}update(t,s){s==null&&(s=this.version+1);let r=[],i=!1;r[pl]="",r[dl]="";for(let a=0,o=ft(t),l=o.length;a<l;a++){let p=o[a];if(D7(p)){this.overwrite(p.text,s),r.push([0,this.content.length,p.text]),i=!0;continue}let c=O7(p.range),d=this.offsetAt(c.start),v=this.offsetAt(c.end);p.range=c,p.offset=d,p.length=v-d,c.start.offset=d,c.end.offset=v;let f=v-d?this.content.slice(d,v):"";r[dl]+=f,r[pl]+=p.text||"",this.applyEdit(p,s,t),r.push([d,v-d,p.text||"",f]);let g=Math.max(c.start.line,0),y=Math.max(c.end.line,0),T=this.lineOffsets,_=n0(p.text,!1,d);if(y-g===_.length)for(let m=0,C=ft(_),k=C.length;m<k;m++){let L=C[m];T[m+g+1]=_[a]}else _.length<1e4?T.splice.apply(T,[g+1,y-g].concat(_)):this._lineOffsets=T=T.slice(0,g+1).concat(_,T.slice(y+1));let b=p.text.length-(v-d);if(b!==0){let m=g+1+_.length;for(;m<T.length;)T[m]=T[m]+b,m++}}this.history.push(r),r[xp]=s;let n=this.history[this.history.length-2];return(r[pl]+r[dl]).indexOf(`
`)>=0&&(r[wp]=!0,n&&!n[wp]&&(r[Sp]=!0,r[fl]=this.content)),this.versionToHistoryMap[s]=this.history.length-1,this.updated(t,s)}get lastSignificantVersion(){let t=this.history.length;for(;t>0;){let s=this.history[--t];if(s&&s[Sp])return s[xp]}return null}editsSinceVersion(t){let s=this.versionToHistoryMap[t],r=[];for(let i=0,n=ft(this.history.slice(s+1)),a=n.length;i<a;i++){let o=n[i];r.push(...o)}return r}contentAtVersion(t){let s=this.versionToHistoryMap[t],r=this.history[s];return r[fl]!=null?r[fl]:null}offsetAtVersion(t,s,r=this.version,i=!1){let n=this.versionToHistoryMap[s],a=this.versionToHistoryMap[r],o=t,l=!1;if(n<a)for(;n<a;){let p=this.history[++n];for(let c=0,d=ft(p),v=d.length;c<v;c++){let[f,g,y]=d[c];f>o||(i&&(f-=1),o>f&&o>f+g&&(o+=y.length-g))}}else if(a<n)for(;a<n;){let p=this.history[n--];for(let c=0,d=ft(p),v=d.length;c<v;c++){let[f,g,y]=d[c];f>o||o>f&&o>f+g&&(o-=y.length-g)}}return o}historicalOffset(t,s){return this.offsetAtVersion(t,this.version,s,!0)}applyEdit(t,s,r){this.content=this.content.substring(0,t.range.start.offset)+t.text+this.content.substring(t.range.end.offset,this.content.length);let i=t.range.start.line;this.invalidateFromLine(i)}updated(t,s){return this.version=s,this}invalidateFromLine(t){return this.head=this.seed,this}after(t,s){let r=this.tokens.indexOf(t);if(s){for(;r<this.tokens.length;){let i=this.tokens[++r];if(i&&this.matchToken(i,s))return i}return null}return this.tokens[r+1]}matchToken(t,s){return ds(s,RegExp)?t.type.match(s):typeof s=="string"?t.type==s:!1}before(t,s,r=0){let i=this.tokens.indexOf(t)+r;if(s){for(;i>0;){let n=this.tokens[--i];if(this.matchToken(n,s))return n}return null}return this.tokens[i-1]}getTokenRange(t){return{start:this.positionAt(t.offset),end:this.positionAt(t.offset+t.value.length)}}getTokensInScope(t){let s=this.tokens.indexOf(t.start),r=t.end?this.tokens.indexOf(t.end):this.tokens.length,i=s,n=[];for(;i<r;){let a=this.tokens[i++];a.scope&&a.scope!=t?(n.push(a.scope),i=a.scope.endIndex+1):n.push(a)}return n}getSymbols(){var t;return this.astify(),(t=this[ui]).symbols||(t.symbols=this.tokens.map(function(s){return s.symbol}).filter(function(s){return s}).filter(function(s,r,i){return i.indexOf(s)==r}))}getImportedSymbols(){return this.getSymbols().filter(function(t){return t.imported\u03A6})}getImportNodes(){return this.tokens.filter(function(t){return t.match("push._imports")}).map(function(t){return t.scope})}getNodesInScope(t,s=!1){let r=t.start,i=t.end;s?i=i.next:r=r.next;let n=[];for(;r&&r!=i;){if(r.scope&&r.scope!=t){n.push(r.scope),r=r.scope.end.next;continue}else r.type!="white"&&n.push(r);r=r.next}return n}getTokenAtOffset(t,s=!1){return this.tokenAtOffset(t)}getSemanticTokens(t=je.Scoped){let s=this.parse(),r=[];for(let i=0,n=ft(s),a=n.length;i<a;i++){let o=n[i],l=o.symbol;if(!(l&&(!t||l.flags&t)))continue;let p=D1[l.semanticKind],c=o.mods|l.semanticFlags;r.push([o.offset,o.value.length,p,c])}return r}getEncodedSemanticTokens(){let t=this.getSemanticTokens(),s=[],r=0,i=0;for(let n=0,a=ft(t),o=a.length;n<o;n++){let l=a[n],p=this.positionAt(l[0]),c=p.line-r,d=c?p.character:p.character-i;s.push(c,d,l[1],l[2],l[3]),r=p.line,i=p.character}return s}getDestructuredPath(t,s=[],r=null){if(t.context.type=="array")return this.getDestructuredPath(t.context.start,s,r),s.push(t.context.indexOfNode(t)),s;let i=t.value;return t.prev.match("operator.assign.key-value")&&(i=t.prev.prev.value),t.context.type=="object"&&(this.getDestructuredPath(t.context.start,s,r),s.push(i)),s}tokenAtOffset(t){let s=this.tokens[0];for(;s;){let r=s.next;if(s.offset>=t)return s.prev;if(s.end&&s.end.offset<t)s=s.end;else if(r)s=r;else return s}return s}patternAtOffset(t,s=/[\w\-\.\%]/){let r=t,i=t,n=this.content;for(;r>0&&s.test(this.content[r-1]);)r--;for(;s.test(this.content[i+1]||"");)i++;return[n.slice(r,i+1),r,i]}adjustmentAtOffset(t,s=1){let[r,i,n]=this.patternAtOffset(t),[a,o=""]=r.split(/[\d\.]+/),l=parseFloat(r.slice(a.length).slice(0,o.length?-o.length:1e3));return Number.isNaN(l)?null:(l+=s,[i+a.length,r.length-a.length-o.length,String(l)])}contextAtOffset(t){var s;this.ensureParsed();let r=this.positionAt(t),i=this.tokenAtOffset(t),n=this.lineOffsets[r.line],a=t-i.offset,o=i.context,l={character:this.content[t-1],line:this.content.slice(n,t),token:i.value.slice(0,a)},p={character:this.content[t],token:i.value.slice(a),line:this.content.slice(t,this.lineOffsets[r.line+1]).replace(/[\r\n]+/,"")};i.scope&&!p.token&&(o=i.scope),i.next&&i.next.value==null&&i.next.scope&&!p.token&&i.match("operator.assign")&&(o=i.next.scope);let c=I1(i,"white.tabs"),d=c?c.value.length:0,v=o,f=o.scope,g={},y=i,T=i.stack.state||"",_=Ls;v&&(v.start&&(l.group=this.content.slice(v.start.offset,t)),v.end&&(p.group=this.content.slice(t,v.end.offset)));let b={keywords:[]},m=0;if(i==c&&(d=a),i.match("br white.tabs"))for(;f.indent>d;)f=f.parent;if(v.type=="tag",i.match("entity string regexp comment style.")&&(m=0),i.match("tag.event.name tag.event-modifier.name")&&(y=i.prev),(i.type=="path"||i.type=="path.open")&&(m|=Ls.Path,b.paths=1),i.match("identifier tag.operator.equals br white delimiter array operator ( self")&&(m|=Ls.Value,y=null),i.match("operator.access")&&(m|=Ls.Access,y=i),i.match("accessor")&&(m|=Ls.Access,y=i.prev),i.match("delimiter.type.prefix type")&&(m|=Ls.Type),i.match("tag.name tag.open")?m|=Ls.TagName:i.match("tag.attr tag.white")?m|=Ls.TagProp:i.match("tag.flag")?m|=Ls.TagFlag:i.match("tag.event.modifier")?m|=Ls.TagEventModifier:i.match("tag.event")?m|=Ls.TagEvent:i.match("operator.equals.tagop")&&(m|=Ls.Value),i.match("style.property.operator")||v.closest("stylevalue")){m|=_.StyleValue;try{b.styleProperty=v.closest("styleprop").propertyName}catch{}}i.match("style.open style.property.name")&&(m|=_.StyleProp),(i.match("style.value.white")||i.prev&&i.prev.match("style.value.white"))&&(m|=_.StyleProp),i.match("style.selector.element")&&p.line.match(/^\s*$/)&&(m|=_.StyleProp),f.closest("rule")&&(m|=_.StyleProp,m&=~_.Value),i.match("style.property.operator")&&(m&=~_.StyleProp),v.match("stylevalue")&&l.group.indexOf(" ")==-1&&(m=_.StyleValue),i.match("style.selector.modifier style.property.modifier")&&(m=_.StyleModifier),i.match("style.selector.element")&&(m|=_.StyleSelector),f.closest("rule")&&l.line.match(/^\s*$/)&&(m|=_.StyleSelector,m&=~_.StyleValue),i.match("operator.access accessor white.classname white.tagname")&&(m&=~_.Value),v.closest("imports")&&(m&=~_.Value,m|=_.ImportName),(T.match(/\.decl-(let|var|const|param|for)/)||i.match(/\.decl-(for|let|var|const|param)/))&&(m&=~_.Value,m|=_.VarName);let C=f.allowedKeywordTypes;s=[];for(let k=0,L=Object.keys(nl),x=L.length,E,N;k<x;k++)E=L[k],N=nl[E],N&C&&s.push(E);b.keywords=s,b.flags=m;for(let k=0,L=Object.keys(_),x=L.length,E,N;k<x;k++)E=L[k],N=_[E],m&N&&(b[E]||(b[E]=!0));return{token:i,offset:t,position:r,linePos:n,scope:f,indent:d,group:o,mode:"",target:y,path:f.path,suggest:b,before:l,after:p}}textBefore(t){let s=this.content.slice(0,t),r=s.lastIndexOf(`
`);return s.slice(r+1)}varsAtOffset(t,s=!1){let r=this.tokenAtOffset(t),i=[],n=r.context.scope,a={};for(;n;){for(let o=0,l=ft(Object.values(n.varmap)),p=l.length;o<p;o++){let c=l[o];c.global\u03A6&&!s||a[c.name]||(!c.node||c.node.offset<t)&&(i.push(c),a[c.name]=c)}n=n.parent}return i}getOutline(t=null){var s,r,i,n;if(this.isLegacy){let _=M7(this.content);for(let b=0,m=ft(_.all),C=m.length;b<C;b++){let k=m[b];s=k.parent,delete k.parent,k.path=k.name,k.name=k.ownName,t&&t(k,_.all)}return _}this.ensureParsed();let a=Date.now(),o=[],l={children:[]},p=l,c=null,d={},v=new Set,f=null;function g(_,b){return ds(_,pn)&&(v.add(_),_={name:_.name,kind:_.kind}),d=_,_.token=b,_.children||(_.children=[]),_.span||(_.span=b.span),_.name||(_.name=b.value),o.push(_),p.children.push(_)}function y(_){return d.children||(d.children=[]),d.parent||(d.parent=p),p=d,p.end=_}function T(_){return p=p.parent}for(let _=0,b=ft(this.tokens),m=b.length;_<m;_++){let C=b[_],k=C.symbol,L=C.scope;if(C.type=="key")g({kind:Yt.Key},C);else if(k){if(k.parameter\u03A6)continue;v.has(k)||g(k,C),k.body&&(f=k.body.start)}else if(L&&L.type=="do"){let x=this.textBefore(C.offset-3).replace(/^\s*(return\s*)?/,"");x+=" callback",g({kind:Yt.Function,name:x},C.prev),f=C}else L&&L.type=="tag"&&g({kind:Yt.Field,name:L.outline},C);C==f&&y(C.end),C==p.end&&T()}for(let _=0,b=ft(o),m=b.length;_<m;_++){let C=b[_];if(C.span){let k=C.span.length;C.span.start=this.positionAt(C.span.offset),C.span.end=k?this.positionAt(C.span.offset+k):C.span.start}t&&t(C,o),r=C.parent,delete C.parent,i=C.end,delete C.end,n=C.token,delete C.token}return l}getContextAtOffset(t,s=!1){return this.contextAtOffset(t)}ensureParsed(){return this.parse(),this}reparse(){return this.invalidateFromLine(0),this.parse()}profileReparse(){let t=Date.now(),s=this.reparse();return console.log("took",Date.now()-t),s}tokenize(t=!1){var s;let r=this[ui]||{lines:[],version:-1};if(r.version==this.version&&!t)return r;let i=this.content;this.isLegacy&&(i=i.replace(/\@\w/g,function(d){return"\xB6"+d.slice(1)}),i=i.replace(/\w\:(?=\w)/g,function(d){return d[0]+"."}),i=i.replace(/(do)(\s?)\|([^\|]*)\|/g,function(d,v,f,g){return v+"("+(f||"")+g+")"}));let n=this.lineOffsets,a=[],o=this.seed,l=Date.now(),p=this.initialState;this[ui]={version:this.version,lines:[],tokens:a};let c={};this[ui].cache=c;for(let d=0,v=ft(r.lines),f=v.length;d<f;d++){let g=v[d];(c[s=g.text]||(c[s]=[])).push(g)}for(let d=0,v=ft(n),f=v.length;d<f;d++){let g=v[d],y=n[d+1]||i.length,T=i.slice(g,y),_=p,b=c[T],m=b&&b.filter(function(L){return L.startState==_}),C=m&&(m.find(function(L){return L.offset==g})||m[0]),k=null;if(C&&(C.offset==g,k=C.clone(g)),!k){let L=ma.tokenize(T,_,g);k=new h8({offset:g,text:T,startState:_,endState:L.endState,tokens:L.tokens})}for(let L=0,x=ft(k.tokens),E=x.length;L<E;L++){let N=x[L];a.push(N)}this[ui].lines.push(k),p=k.endState}return this[ui]}get tokens(){return this.astify(),this[ui].tokens}getTokens(t=null){return this.tokens}astify(){let t=this.tokenize();if(t.root)return this;let s={"]":"[",")":"(","}":"{",">":"<"},r={"[":"]","(":")","{":"}","<":">"},i=/[\w\$\)\]\?]/,n=Date.now(),a=null,o=t.root=new P1(this,this.seed,null,"root"),l=this.content,p=console.log.bind(console),c=null,d=null,v=null,f=null,g=0;for(let y=0,T=ft(t.tokens),_=T.length;y<_;y++){let b=T[y],m=b.type.split("."),C=b.value,k=t.tokens[y+1],[L,x,E]=m,N=m[m.length-1],S=m[m.length-2],D=null,V=0;if(L=="ivar"&&(C=b.value="@"+C.slice(1)),f&&(f.next=b),b.prev=f,b.context=o,L=="("&&f){let M=l[b.offset-1]||"";i.test(M)&&(o=b.scope=Fr.args.build(this,b,o,"args",m))}if(L=="operator"&&(b.op=b.value.trim()),L=="keyword"&&(Ct[x]&&(g|=Ct[x]),(C=="let"||C=="const")&&(d=b,v=null)),L=="entity"&&(b.mods|=g,g=0),L=="push"){let M=x,W=x.lastIndexOf("_"),Q=W>=0?bt:zs;W>=0?(M=M.slice(W+1),Q=Fr[M]||bt):Fr[M]&&(Q=Fr[M]),o=b.scope=new Q(this,b,o,M,m),c&&(c.body=o,o.symbol=c,c=null),o==o.scope&&(d=null,v=null)}else L=="pop"?(x=="value"&&(v=null),o=o.pop(b)):(x=="open"||r[x])&&Fr[L]?o=b.scope=Fr[L].build(this,b,o,L,m):N=="open"&&(D=Fr[S])?o=b.scope=D.build(this,b,o,S,m):(N=="close"&&o.type==S||x=="close"&&Fr[L]||s[L]&&o&&o.start.value==s[L])&&(o=o.pop(b));if(b.match(/entity\.name|decl-/)){let M=pn.forToken(b,b.type,b.mods);M&&(c=b.symbol=M,b.symbol.keyword=d,o.register(b.symbol)),b.mods|=Ct.Declaration}if(x=="declval"&&(v=b),b.match("identifier")&&!b.symbol){let M=o.lookup(b,d);if(M&&M.scoped\u03A6&&(v&&M.keyword==d||M.addReference(b)),f&&f.op=="="&&M){let W=f.prev;W&&W.symbol==M&&(W.mods&Ct.Declaration?M.dereference(b):(!k||k.match("br"))&&M.dereference(W))}}f=b}return this}parse(){return this.tokens}getMatchingTokens(t){let s=this.getTokens();return s=s.slice(0).filter(function(r){return r.match(t)}),s}migrateToImba2(){let t=this.content;t=t.replace(/\bdef self\./g,"static def "),t=t.replace(/\b(var|let|const) def /g,"def "),t=t.replace(/\?\./g,".."),t=t.replace(/def ([\w\-]+)\=/g,"set $1"),t=t.replace(/do\s?\|([^\|]+)\|/g,"do($1)"),t=t.replace(/(prop) ([\w\-]+) (.+)$/gm,function(i,n,a,o){var l,p;let c={};o.split(/,\s*/).map(function(v){return v.split(/\:\s*/)}).map(function(v){return c[v[0]]=v[1]});let d=""+n+" "+a;return c.watch&&c.watch[0].match(/[\'\"\:]/)?d="@watch("+c.watch+") "+d:c.watch&&(d="@watch "+d),l=c.watch,delete c.watch,c.default&&(d=""+d+" = "+c.default,p=c.default,delete c.default),Object.keys(c).length&&console.log("more prop values",i,c),d});let s=Zp.tmp(t).getTokens(),r="";for(let i=0,n=ft(s),a=n.length;i<a;i++){let o=n[i],l=s[i+1],{value:p,type:c,offset:d}=o,v=d+p.length;c=="operator.dot.legacy"&&(p=".",l&&(l.access=!0)),c=="operator.spread.legacy"&&(p="..."),c=="identifier.tagname"&&p.indexOf(":")>=0&&(p=p.replace(":","-")),c=="identifier.def.propname"&&p=="initialize"&&(p="constructor"),c=="decorator"&&!t.slice(v).match(/^\s(prop|def|get|set)/)&&(p=r+p.slice(1)),c=="property"&&(p[0]=="@"?(p=p.replace(/^\@/,r),o.access=!0):p=="len"?p="length":/^(\n|\s\:|\)|\,|\.)/.test(t.slice(v))&&!o.access&&p[0]==p[0].toLowerCase()&&(p=p+"!")),c=="identifier"&&!o.access&&p[0]==p[0].toLowerCase()&&p[0]!="_"&&!o.variable&&/^(\n|\s\:|\)|\,|\.)/.test(t.slice(v))&&p!="new"&&(p=p+"!"),o.value=p}return s.map(function(i){return i.value}).join("")}createImportEdit(t,s,r=s){t=t.replace(/\.imba$/,"");let i=this.getImportNodes().filter(function(p){return p.sourcePath==t}),n="",a=0,o=[],l={changes:o};if(this.getImportedSymbols().map(function(p){return p.importInfo}).find(function(p){return p.path==t&&p.name==r&&p.exportName==s}))return l;s!="default"&&s!="*"&&(i=i.filter(function(p){return p.specifiers||!p.ns}));for(let p=0,c=ft(i),d=c.length;p<d;p++){let v=c[p],f=v.default,g=v.specifiers,y=v.namespace;if(s=="default")if(a=v.start.offset+1,f){if(f.value==r)return l;l.alias=f.value,a=0;continue}else n=r,(y||g)&&(n+=", ");else if(s=="*"){if(g)continue;f?(a=f.endOffset,n=", * as "+r):(a=v.start.offset+1,n="* as "+r+" ")}else if(y){l.alias=""+y.value+"."+s;continue}else{let T=s;r!=s&&(T+=" as "+r),g?(a=g.start.offset+1,n=" "+T+","):f?(a=f.endOffset,n=", { "+T+" }"):(n="{ "+T+" }",a=v.start.offset+1)}if(n)break}return n||(s=="default"?n="import "+r+" from '"+t+"'":s=="*"?n="import * as "+r+" from '"+t+"'":r!=s?n="import { "+s+" as "+r+" } from '"+t+"'":n="import { "+s+" } from '"+t+"'",n+=`
`),o.push({newText:n,range:this.rangeAt(a,a)}),l}};Ye(Ep,kp,"ImbaDocument",16);var E4=Ep,A4={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}},_l={},N4=Symbol(),Ap=class{static getTokenizer(t){return t=="xml"&&!_l[t]?this.createTokenizer("xml",A4):_l[t]}static createTokenizer(t,s){let r=_0(t,s);return _l[t]=new y0(t,r)}};Ye(Ap,N4,"Monarch",0);var I4=Ap,L4={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},R4={"[":"square open","]":"square close","{":"curly open","}":"curly close","(":"paren open",")":"paren close"};function Np(e){return e.replace(/[\&\<\>]/g,function(t){return L4[t]})}function $4(e){return e.join(" ").replace(/[\[\]\{\}\(\)]/g,function(t){return R4[t]})}function C4(e,{verbose:t=!1}){let s=[],r=0,i=0,n=[];for(let a=0,o=ft(e),l=o.length;a<l;a++){let p=o[a],c=p.value,d=p.type.split("."),[v,f]=d,g=p.mods;if(p.var){let y=n.indexOf(p.var);y==-1&&(y=n.push(p.var)-1),d.push("vref"),d.push("var"+y),d.push(p.var.type+"-ref"),g|=p.var.mods}if(g&Ct.Declaration&&d.push("decl"),g&Ct.Root&&d.push("root"),g&Ct.Local&&d.push("local"),p.end&&p.end.start==p&&s.push("<b>"),!((f=="start"||f=="open")&&(s.push("<b class='"+v+"'>"),!c))){if((f=="end"||f=="close")&&!c){s.push("</b>");continue}if(v=="push"){c=String(++r);let y=f.indexOf("_")>=0?"group":"scope",T=p.scope&&p.scope.end;s.push("<div class='"+y+"-"+f.split("_").pop()+" _"+f+" l"+r+" o"+p.offset+" e"+(T&&T.offset)+"'>");continue}else if(v=="pop"){c=String(--r),s.push("</div>");continue}v!="white"&&v!="line"?c="<i class='"+$4(d)+" o"+p.offset+"'>"+Np(c||"")+"</i>":v=="white"&&c!=`
`&&(c="<i raw='"+JSON.stringify(c)+"'>"+Np(c||"")+"</i>"),s.push(c),(f=="end"||f=="close"||p.start)&&s.push("</b>")}}return s.join("")}var Qp=zc,ed=Wu;