imba
Version:
370 lines • 701 kB
JavaScript
var Wd=Object.defineProperty;var wn=(s,e)=>{for(var t in e)Wd(s,t,{get:e[t],enumerable:!0})};var Qr={};wn(Qr,{Diagnostic:()=>Va,DiagnosticSeverity:()=>kn,InternalPrefixes:()=>oo,Position:()=>Si,Range:()=>Pa,ReservedIdentifierRegex:()=>U2,ReservedPrefixes:()=>rp,ToImbaMap:()=>np,ToJSMap:()=>ip,ansi:()=>dr,brace:()=>r_,bracketize:()=>X2,camelCase:()=>n_,clearLocationMarkers:()=>lo,computeLineOffsets:()=>J2,dashToCamelCase:()=>ja,dasherize:()=>Y2,deepAssign:()=>m_,flatten:()=>i_,fromValidIdentifier:()=>h_,identifierForPath:()=>uo,indent:()=>W2,isPlainObject:()=>__,isSystemIdentifier:()=>c_,isValidIdentifier:()=>K2,locationToLineColMap:()=>Ba,markLineColForTokens:()=>u_,normalizeIndentation:()=>Ga,parenthesize:()=>Ai,parseArgs:()=>f_,pascalCase:()=>ho,printExcerpt:()=>p_,printWarning:()=>d_,quote:()=>l_,setterSym:()=>o_,singlequote:()=>Ei,snakeCase:()=>a_,symbolize:()=>q2,toCustomTagIdentifier:()=>op,toImbaIdentifier:()=>ap,toJSIdentifier:()=>Fa,toValidIdentifier:()=>Js,unionOfLocations:()=>co});var ep={32:16777619n,64:1099511628211n,128:309485009821345068724781371n,256:374144419156711147060143317175368453031918731002211n,512:35835915874844867368919076489095108449946327955754392558399825615420669938882575126094039892345713852759n,1024:5016456510113118655434598811035278955030765345404790744303017523831112055108147451509157692220295382716162651878526895249385292291816524375083746691371804094271873160484737966720260389217684476157468082573n},Xd={32:2166136261n,64:14695981039346656037n,128:144066263297769815596495629667062367629n,256:100029257958052580907070968620625704837092796014241193945225284501741471925557n,512:9659303129496669498009435400716310466090418745672637896108374329434462657994582932197716438449813051892206539805784495328239340083876191928701583869517785n,1024:14197795064947621068722070641403218320880622795441933960878474914617582723252296732303717722150864096521202355549365628174669108571814760471015076148029755969804077320157692458563003215304957150157403644460363550505412711285966361610267868082893823963790439336411086884584107735010676915n};function tp(s,{size:e=32}={}){if(!ep[e])throw new Error("The `size` option must be one of 32, 64, 128, 256, 512, or 1024");let t=Xd[e],r=ep[e],i=!1;for(let n=0;n<s.length;n++){let a=s.charCodeAt(n);a>127&&!i&&(s=unescape(encodeURIComponent(s)),a=s.charCodeAt(n),i=!0),t^=BigInt(a),t=BigInt.asUintN(e,t*r)}return t}function $2(s){return s?s.toArray?s.toArray():s:[]}var Qe={},Jd={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]},dr={bold:function(s){return"\x1B[1m"+s+"\x1B[22m"},red:function(s){return"\x1B[31m"+s+"\x1B[39m"},green:function(s){return"\x1B[32m"+s+"\x1B[39m"},yellow:function(s){return"\x1B[33m"+s+"\x1B[39m"},blue:function(s){return"\x1B[94m"+s+"\x1B[39m"},gray:function(s){return"\x1B[90m"+s+"\x1B[39m"},white:function(s){return"\x1B[37m"+s+"\x1B[39m"},f:function(s,e){let t=Jd[s];return"\x1B["+t[0]+"m"+e+"\x1B["+t[1]+"m"}};dr.warn=dr.yellow;dr.error=dr.red;var oo={TAG:"τ",FLIP:"ω",VALUE:"υ",CACHE:"ϲ",KEY:"κ",ANY:"φ",SYM:"ε",SEP:"ι",PRIVATE:"Ψ",B:"ι",T:"τ",C:"ρ",V:"υ",K:"κ",D:"Δ",H:"θ",EXTEND:"Ω"},rp=new Set(Object.values(oo)),U2=new RegExp("^["+Array.from(rp).join("")+"]","u"),ip={"-":"Ξ","?":"Φ","#":"Ψ","@":"α"},Zd=/[-?#@]/gu,Qd=function(s){return ip[s]},Fa=Qe.toJSIdentifier=function(s){return s.replace(Zd,Qd)},np={Ξ:"-",Φ:"?",Ψ:"#",α:"@"},e_=new RegExp("[ΞΦΨα]","gu"),t_=function(s){return np[s]},ap=Qe.toImbaIdentifier=function(s){return s.replace(e_,t_)},op=Qe.toCustomTagIdentifier=function(s){return"Γ"+Fa(s)},s_="αβγδεζηθικλμνξοπρστυφχψω",r_=Qe.brace=function(s){var e=s.match(/\n/);return e?"{"+s+`
}`:`{
`+s+`
}`},Ga=Qe.normalizeIndentation=function(s){for(var e,t=/\n+([^\n\S]*)/g,r=null,i;e=t.exec(s);){var n=e[1];(r===null||0<(i=n.length)&&i<r.length)&&(r=n)}return r&&(s=s.replace(RegExp("\\n"+r,"g"),`
`)),s},i_=Qe.flatten=function(s){var e=[];return s.forEach(function(t){return t instanceof Array?e.push.apply(e,Qe.flatten(t)):e.push(t)}),e},lo=Qe.clearLocationMarkers=function(s){return s.replace(/\/\*\%([\w\|]*)\$\*\//g,"")},ho=Qe.pascalCase=function(s){return s.replace(/(^|[\-\_\s])(\w)/g,function(e,t,r){return r.toUpperCase()})},n_=Qe.camelCase=function(s){return s=String(s),s.replace(/([\-\_\s])(\w)/g,function(e,t,r){return r.toUpperCase()})},ja=Qe.dashToCamelCase=function(s){return s=String(s),s.indexOf("-")>=0&&(s=s.replace(/([\-\s])(\w)/g,function(e,t,r){return r.toUpperCase()})),s},a_=Qe.snakeCase=function(e){var e=e.replace(/([\-\s])(\w)/g,"_");return e.replace(/()([A-Z])/g,"_$1",function(t,r,i){return i.toUpperCase()})},Y2=Qe.dasherize=function(s){return s.replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()},o_=Qe.setterSym=function(s){return Qe.dashToCamelCase("set-"+s)},l_=Qe.quote=function(s){return'"'+s+'"'},Ei=Qe.singlequote=function(s){return"'"+s+"'"},K2=Qe.isValidIdentifier=function(s){return!/[?-\s]/.test(s)&&s[0]!="#"},Js=Qe.toValidIdentifier=function(s){return Fa(s)},h_=Qe.fromValidIdentifier=function(s){return ap(s)},c_=Qe.isSystemIdentifier=function(s){return s_.indexOf(s[0])>=0},q2=Qe.symbolize=function(s,e){return s=String(s),Qe.toValidIdentifier(s);return e&&e.tsc(),s;var t=s.charAt(s.length-1);return t=="?"&&(s="is"+s[0].toUpperCase()+s.slice(1,-1)),s.indexOf("-")>=0&&(s=s.replace(/([\-\s])(\w)/g,function(r,i,n){return n.toUpperCase()})),s},W2=Qe.indent=function(s){return String(s).replace(/^/g," ").replace(/\n/g,`
`).replace(/\n\t$/g,`
`)},X2=Qe.bracketize=function(s,e){return e===void 0&&(e=!0),e&&(s=`
`+Qe.indent(s)+`
`),"{"+s+"}"},Ai=Qe.parenthesize=function(s){return"("+String(s)+")"},co=Qe.unionOfLocations=function(){for(var s=arguments,e=s.length,t=new Array(e>0?e:0);e>0;)t[e-1]=s[--e];var r=1/0,i=-1/0;for(let n=0,a=$2(t),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]},Ba=Qe.locationToLineColMap=function(s){for(var e=s.split(/\n/g),t=[],r,i=0,n=0,a=0;r=s[i];)t[i]=[a,n],r==`
`?(a++,n=0):n++,i++;return t[i]=[a,n],t[i+1]=[a,n],t},u_=Qe.markLineColForTokens=function(s,e){return Qe},f_=Qe.parseArgs=function(s,e){var t;e===void 0&&(e={});var r=e.alias||(e.alias={}),i=e.group||(e.group=[]),n=e.schema||{};n.main={};var a={},o={};s=s||process.argv.slice(2);for(var l=null,f=0,h;f<s.length;){var p=s[f];if(f++,h=p.match(/^\-([a-zA-Z]+)(\=\S+)?$/)){l=null;let g=h[1].split("");for(let w=0,_=$2(g),x=_.length,v;w<x;w++){v=_[w];var m=r[v]||v;g[w]=m,a[m]=!0}g.length==1&&(l=g);continue}else if(h=p.match(/^\-\-([a-z0-9\-\_A-Z]+)(\=\S+)?$/)){var d=!0;m=h[1],m.indexOf("no-")==0&&(m=m.substr(3),d=!1),m=Qe.dashToCamelCase(m),h[2]&&(d=h[2].slice(1)),a[m]=d,l=m;continue}else{var b=n[l];l&&n[l]||(l="main"),p.match(/^\d+$/)&&(p=parseInt(p)),d=a[l],d==!0||d==!1?a[l]=p:typeof d=="string"||d instanceof String||typeof d=="number"||d instanceof Number?a[l]=[d].concat(p):d instanceof Array?d.push(p):a[l]=p,b&&b.multi||(l="main")}}for(let g=0,w=$2(i),_=w.length;g<_;g++){let x=Qe.dashToCamelCase(w[g]);for(let v,C=0,A=Object.keys(a),E=A.length,S;C<E;C++)if(S=A[C],v=a[S],S.indexOf(x)==0){let T=S.substr(x.length).replace(/^\w/,function(L){return L.toLowerCase()});T?(a[x]||(a[x]={}),a[x][T]=v):a[x]||(a[x]={})}}return(typeof(t=a.env)=="string"||t instanceof String)&&(a["ENV_"+a.env]=!0),a},p_=Qe.printExcerpt=function(s,e,t){(!t||t.constructor!==Object)&&(t={});var r=t.hl!==void 0?t.hl:!1,i=t.gutter!==void 0?t.gutter:!0,n=t.type!==void 0?t.type:"warn",a=t.pad!==void 0?t.pad:2,o=s.split(/\n/g),l=Qe.locationToLineColMap(s),f=l[e[0]]||[0,0],h=f[0],p=f[1],m=o[h],d=Math.max(0,h-a),b=Math.min(d+a+1+a,o.length);let g=h-d;for(var w=d,_=[];w<b;)_.push(o[w++]);var x=_;return i&&(x=x.map(function(C,A){let E=""+(d+A+1),S;for(;E.length<String(b).length;)E=" "+E;return A==g?(S=" -> "+E+" | "+C,r&&(S=dr.f(r,S))):(S=" "+E+" | "+C,r&&(S=dr.f("gray",S))),S})),x.join(`
`)},d_=Qe.printWarning=function(s,e){let t=e.message,r=Qe.printExcerpt(s,e.loc,{hl:"whiteBright",type:"warn",pad:1});return t+`
`+r},uo=Qe.identifierForPath=function(s){let e=tp(s).toString(36);return e[0].match(/\d/)&&(e="z"+e),e},__=Qe.isPlainObject=function(s){return typeof s=="object"&&Object.getPrototypeOf(s)==Object.prototype},m_=Qe.deepAssign=function(s,e){for(let t,r=0,i=Object.keys(e),n=i.length,a;r<n;r++){a=i[r],t=e[a];let o=s[a];Qe.isPlainObject(o)&&Qe.isPlainObject(t)?Qe.deepAssign(o,t):s[a]=t}return s},J2=Qe.computeLineOffsets=function(s,e,t){t===void 0&&(t=0);for(var r=e?[t]:[],i=0;i<s.length;){var n=s.charCodeAt(i);(n===13||n===10)&&(n===13&&i+1<s.length&&s.charCodeAt(i+1)===10&&i++,r.push(t+i+1)),i++}return r},Si=class{constructor(e,t,r,i=null){this.line=e,this.character=t,this.offset=r}toString(){return this.line+":"+this.character}valueOf(){return this.offset}},Pa=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}},kn={Error:1,Warning:2,Information:3,Hint:4,error:1,warning:2,warn:2,info:3,hint:4},sp=new WeakMap,Va=class{constructor(e,t=null){this.range=e.range,this.severity=kn[e.severity]||e.severity,this.code=e.code,this.source=e.source,this.message=e.message,sp.set(this,t)}get sourceDocument(){return sp.get(this)}toSnippet(){let e=this.sourceDocument,t=this.range.start,r=this.range.end,i=e.sourcePath+":"+(t.line+1)+":"+(t.character+1)+": "+this.message,n=e.doc.getLineText(t.line),a=r.line==t.line?r.character:n.length,o=Math.max(a-t.character,1),l=[i,n];return l.push(n.replace(/[^\t]/g," ").slice(0,t.character)+"^".repeat(o)),l.join(`
`).replace(/\t/g," ")+`
`}toError(){let e=this.range.start,t=this.sourceDocument.sourcePath+":"+(e.line+1)+":"+(e.character+1)+": "+this.message,r=new SyntaxError(t);return r.stack=`
`+this.toSnippet(),r}raise(){throw this.toError()}};var _r={},ei={},k8=ei.TERMINATOR=1,T8=ei.IDENTIFIER=ei.IVAR=2,S8=ei.CONST=3,E8=ei.VAR=4,A8=ei.IF=5,I8=ei.ELSE=6,N8=ei.DEF=7;function et(s,e,t,r){return this._type=s,this._value=e,this._loc=t!=null?t:-1,this._len=r!=null?r:this._value.length,this._meta=null,this.generated=!1,this.newLine=!1,this.spaced=!1,this.call=!1,this}et.prototype.type=function(){return this._type};et.prototype.value=function(){return this._value};et.prototype.traverse=function(){};et.prototype.match=function(s){return this._value.match(s)};et.prototype.c=function(){return""+this._value};et.prototype.prepend=function(s){return this._value=s+this._value,this};et.prototype.toString=function(){return this._value};et.prototype.charAt=function(s){return this._value.charAt(s)};et.prototype.slice=function(s){return this._value.slice(s)};et.prototype.cloneSlice=function(s,e){return new et(e||this._type,this.slice(s),this._loc+s,this._len-s)};et.prototype.region=function(){return[this._loc,this._loc+this._len]};et.prototype.startLoc=function(){return this._loc};et.prototype.endLoc=function(){return this._loc+this._len};et.prototype.loc=function(){return[this._loc,this.endLoc()]};var lp=_r.lex=function(){var s=this.tokens[this.pos++],e;return s?(e=s._type,this.yytext=s):e="",e},Er=_r.token=function(s,e){return new et(s,e,-1,0)},hp=_r.typ=function(s){return s._type},cp=_r.val=function(s){return s._value},R8=_r.line=function(s){return s._line},O8=_r.loc=function(s){return s._loc},fo=_r.setTyp=function(s,e){return s._type=e},up=_r.setVal=function(s,e){return s._value=e},L8=_r.setLine=function(s,e){return s._line=e},C8=_r.setLoc=function(s,e){return s._loc=e},g_=new et("{","{",0,0,0),v_=new et("}","}",0,0,0),y_=new et("(","(",0,0,0),b_=new et(")",")",0,0,0);g_.generated=!0;v_.generated=!0;y_.generated=!0;b_.generated=!0;var M8=new et("INDENT","2",0,0,0),fp=new et("OUTDENT","2",0,0,0);var ih={};wn(ih,{ALL_KEYWORDS:()=>w_,ASSIGNMENT_OPERATORS:()=>eh,BALANCED_PAIRS:()=>Ii,BITWISE_OPERATORS:()=>Q2,HEREGEX:()=>sh,HEREGEX_OMIT:()=>th,HEX_REGEX:()=>S_,INVERSES:()=>Zs,OPERATOR_ALIASES:()=>T_,SYSVAR_PREFIX:()=>E_,TAG_GLOBAL_ATTRIBUTES:()=>rh,TAG_NAMES:()=>ti,TAG_TYPES:()=>za,TOK:()=>k_});function x_(s){return s?s.toArray?s.toArray():s:[]}var Ii=[["(",")"],["[","]"],["{","}"],["{{","}}"],["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"]],Q2={"|":!0,"&":!0,"!&":!0,"~":!0,"|=":!0,"&=":!0,"~=":!0,"^=":!0,"^":!0,"<<":!0,"<<=":!0,">>":!0,">>=":!0},eh={"=":!0,"=?":!0,"??=":!0,"||=":!0,"&&=":!0,"|=":!0,"|=?":!0,"&=":!0,"&=?":!0,"^=":!0,"^=?":!0,"~=":!0,"~=?":!0},Zs={};for(let s=0,e=Ii.length,t;s<e;s++)t=Ii[s],po=t[0],_o=t[1],Zs[_o]=po,Zs[po]=_o,Ii[po]=_o;var po,_o,w_=["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"],k_={TERMINATOR:"TERMINATOR",INDENT:"INDENT",OUTDENT:"OUTDENT",DEF_BODY:"DEF_BODY",THEN:"THEN",CATCH:"CATCH"},T_={and:"&&",or:"||",is:"==",isnt:"!=",isa:"instanceof"},th=/\s+(?:#.*)?/g,sh=/^\/{3}([\s\S]+?)\/{3}([a-z]{0,8})(?!\w)/,S_=/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6}([A-Fa-f0-9]{2})?)$/,rh={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},E_={TAG:"τ",FLIP:"ω",VALUE:"υ",CACHE:"ρ",KEY:"κ",ANY:"φ",B:"Θ",T:"τ",C:"ρ",V:"υ",K:"κ",D:"Δ"},za={"":[-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}]},ti={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},Z2=Object.keys(za);for(let s=0,e=x_(Z2),t=e.length,r;s<t;s++){r=e[s];let i=za[r];i.up=za[Z2[i[0]]],i.name=r+"Element"}for(let s,e=0,t=Object.keys(ti),r=t.length,i;e<r;e++)i=t[e],s=ti[i],ti[i]=za[Z2[s]];function dp(s,e){for(var t=0,r=s.length-1;r>=0;r--){var i=s[r];i==="."?s.splice(r,1):i===".."?(s.splice(r,1),t++):t&&(s.splice(r,1),t--)}if(e)for(;t--;t)s.unshift("..");return s}var A_=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,nh=function(s){return A_.exec(s).slice(1)};function Ha(){for(var s="",e=!1,t=arguments.length-1;t>=-1&&!e;t--){var r=t>=0?arguments[t]:"/";if(typeof r!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!r)continue;s=r+"/"+s,e=r.charAt(0)==="/"}return s=dp(oh(s.split("/"),function(i){return!!i}),!e).join("/"),(e?"/":"")+s||"."}function _p(s){var e=mp(s),t=O_(s,-1)==="/";return s=dp(oh(s.split("/"),function(r){return!!r}),!e).join("/"),!s&&!e&&(s="."),s&&t&&(s+="/"),(e?"/":"")+s}function mp(s){return s.charAt(0)==="/"}function I_(){var s=Array.prototype.slice.call(arguments,0);return _p(oh(s,function(e,t){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function $a(s,e){s=Ha(s).substr(1),e=Ha(e).substr(1);function t(f){for(var h=0;h<f.length&&f[h]==="";h++);for(var p=f.length-1;p>=0&&f[p]==="";p--);return h>p?[]:f.slice(h,p-h+1)}for(var r=t(s.split("/")),i=t(e.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 ah="/",N_=":";function Ua(s){var e=nh(s),t=e[0],r=e[1];return!t&&!r?".":(r&&(r=r.substr(0,r.length-1)),t+r)}function mo(s,e){var t=nh(s)[2];return e&&t.substr(-1*e.length)===e&&(t=t.substr(0,t.length-e.length)),t}function R_(s){return nh(s)[3]}var gp={extname:R_,basename:mo,dirname:Ua,sep:ah,delimiter:N_,relative:$a,join:I_,isAbsolute:mp,normalize:_p,resolve:Ha};function oh(s,e){if(s.filter)return s.filter(e);for(var t=[],r=0;r<s.length;r++)e(s[r],r,s)&&t.push(s[r]);return t}var O_="ab".substr(-1)==="b"?function(s,e,t){return s.substr(e,t)}:function(s,e,t){return e<0&&(e=s.length+e),s.substr(e,t)};var Ds=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}}}};var lh=Symbol.for("#lineOffsets"),hh={TOKENIZE:1,REWRITE:2,PARSE:4,TRAVERSE:8,COMPILE:16};var ws=class s{static current;static error(e){var t,r;return(r=(t=this.current)==null?void 0:t.addDiagnostic)==null?void 0:r.call(t,"error",e)}static warn(e){var t,r;return(r=(t=this.current)==null?void 0:t.addDiagnostic)==null?void 0:r.call(t,"warning",e)}static info(e){var t,r;return(r=(t=this.current)==null?void 0:t.addDiagnostic)==null?void 0:r.call(t,"info",e)}static deserialize(e,t={}){return new s("",t).deserialize(e)}constructor(e,t){this.sourceCode=e,this.sourcePath=t.sourcePath,this.options=t,this.flags=0,this.js="",this.css="",this.result={},this.diagnostics=[],this.tokens=null,this.ast=null}step(e){return(this.flags&e)==e?!1:(this.flags|=e,!0)}deserialize(e){let t;try{t=JSON.parse(e)}catch(r){throw console.log("failed",e,this.options),r}return this.rawResult=t,this.deserialized=t,this}serialize(){if(this.rawResult)return JSON.stringify(this.rawResult,null,2)}tokenize(){if(this.step(hh.TOKENIZE))try{s.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(hh.PARSE)&&!this.errored){s.current=this;try{this.ast=this.parser.parse(this.tokens,this)}catch{}}return this}compile(){if(this.parse(),this.step(hh.COMPILE)){if(!this.errored){s.current=this;try{this.result=this.ast.compile(this.options,this)}catch(e){let t=e._loc;t&&t[0]>=0&&t[1]>=t[0]||(t=[0,0]);let r=e.error||e;this.addDiagnostic("error",{message:"Internal compiler error: "+(r.message||r),source:"imba-compiler",range:this.rangeAt(t[0],t[1])}),console.error("[imba] internal compiler error in "+(this.sourcePath||"<unknown>")+`
`+(r.stack||r))}}this.options.raiseErrors&&this.raiseErrors()}return this}recompile(e={}){if(this.deserialized){let t=this.deserialized.js,r={};return r.js=Ds.run(t,e),r.css=Ds.run(this.deserialized.css||"",e),e.styles=="import"&&r.css.code&&(r.js.code+=`
import './`+gp.basename(this.sourcePath)+".css'"),r}return{js:this.js}}addDiagnostic(e,t){t.severity||(t.severity=e);let r=new Va(t,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(e=>e.severity==kn.Error)}get warnings(){return this.diagnostics.filter(e=>e.severity==kn.Warning)}get info(){return this.diagnostics.filter(e=>e.severity==kn.Information)}get doc(){return this}get lineOffsets(){return this[lh]||(this[lh]=J2(this.sourceCode,!0,0))}getLineText(e){let t=this.lineOffsets[e],r=this.lineOffsets[e+1];return this.sourceCode.substring(t,r).replace(/[\r\n]/g,"")}positionAt(e){if(e instanceof Si)return e;typeof e=="object"&&(e=e.offset),e=Math.max(Math.min(e,this.sourceCode.length),0);let t=this.lineOffsets,r=0,i=t.length;if(i===0)return new Si(0,e,e);for(;r<i;){let a=Math.floor((r+i)/2);t[a]>e?i=a:r=a+1}let n=r-1;return new Si(n,e-t[n],e)}offsetAt(e){if(e.offset!==void 0)return e.offset;let t=this.lineOffsets;if(e.line>=t.length)return this.sourceCode.length;if(e.line<0)return 0;let r=t[e.line],i=e.line+1<t.length?t[e.line+1]:this.sourceCode.length;return e.offset=Math.max(Math.min(r+e.character,i),r)}rangeAt(e,t){return new Pa(this.positionAt(e),this.positionAt(t))}toString(){return this.js}raiseErrors(){if(this.errors.length)throw this.errors[0].toError();return this}};function yp(s,e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);s.prototype=Object.create(e.prototype),s.__super__=s.prototype.__super__=e.prototype,s.prototype.initialize=s.prototype.constructor=s}var bp=new WeakMap;function Ht(s,e){var t;this.error=s,this._options=e||{},this.severity=this._options.severity||"error";let r=s.message;(t=r.match(/Unexpected '([\w\-]+)'/))&&t[1]=="TERMINATOR"&&(r="Unexpected newline"),this.message=r,this.sourcePath=s.sourcePath,this.line=s.line}yp(Ht,Error);Ht.wrap=function(s){return new this(s)};Object.defineProperty(Ht.prototype,"_options",{get:function(){return bp.get(this)},configurable:!0});Object.defineProperty(Ht.prototype,"_options",{set:function(s){return bp.set(this,s)},configurable:!0});Ht.prototype.set=function(s){this._options||(this._options={});for(let e,t=0,r=Object.keys(s),i=r.length,n;t<i;t++)n=r[t],e=s[n],this._options[n]=e;return this};Ht.prototype.start=function(){for(var s=this._options,e=s.pos-1,t=s.tokens&&s.tokens[e];t&&(t._loc==-1||t._loc==0||t._len==0);)t=s.tokens[--e];return t};Object.defineProperty(Ht.prototype,"token",{get:function(){if(this._token)return this._token;for(var s=this._options,e=s.pos-1,t=s.tokens&&s.tokens[e];t&&(t._loc==-1||t._loc==0||t._len==0);)t=s.tokens[--e];return this._token=t},configurable:!0});Ht.prototype.desc=function(){var s=this._options;let e=this.message;return s.token&&s.token._loc==-1?"Syntax Error":e};Ht.prototype.loc=function(){var s;return this._loc||(s=this.start())&&s.region&&s.region()};Ht.prototype.toJSON=function(){var s=this._options,e=this.start();return{warn:!0,message:this.desc(),loc:this.loc()}};Ht.prototype.toNativeError=function(){let s=new SyntaxError("hello");return s.fileName=this._sourcePath,s.message=this.message,s.stack=this.excerpt({colors:!1,details:!0}),s.lineNumber=this.lineNumber,s.columnNumber=this.columnNumber,s};Ht.prototype.excerpt=function(s){(!s||s.constructor!==Object)&&(s={});var e=s.gutter!==void 0?s.gutter:!0,t=s.colors!==void 0?s.colors:!1,r=s.details!==void 0?s.details:!0;try{var i=this._code,n=this.loc(),a=i.split(/\n/g),o=Ba(i),l=o[n[0]]||[0,0],f=l[0],h=l[1],p=a[f];this.lineNumber=f+1,this.columnNumber=h;var m=Math.max(0,f-2),d=Math.min(m+5,a.length);let x=f-m;var b=m,g=function(v){return v};if(t){let v=this.severity=="warn"?"yellow":"red";(typeof t=="string"||t instanceof String)&&(v=t),g=function(C){return dr[v](dr.bold(C))}}for(var w=[];b<d;)w.push(p=a[b++]);var _=w;return e&&(_=_.map(function(v,C){let A=""+(m+C+1);for(;A.length<String(d).length;)A=" "+A;return C==x?" -> "+A+" | "+v:" "+A+" | "+v})),_[x]=g(_[x]),r&&_.unshift(g(this.message)),_.join(`
`)+`
`}catch{return""}};Ht.prototype.prettyMessage=function(){var s;return s=this.excerpt()};function Ni(){return Ht.apply(this,arguments)}yp(Ni,Ht);Ni.prototype.loc=function(){return this._loc};Ni.prototype.excerpt=function(){var s=Ni.prototype.__super__.excerpt.apply(this,arguments);return s+`
---
`+this.error.stack};function L_(s){return s&&(s.len instanceof Function?s.len():s.length)||0}function si(s){return s?s.toArray?s.toArray():s:[]}function At(s){var e=Object.create(null);for(let t=0,r=si(s),i=r.length;t<i;t++)e[r[t]]=1;return e}function C_(s,e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);s.prototype=Object.create(e.prototype),s.__super__=s.prototype.__super__=e.prototype,s.prototype.initialize=s.prototype.constructor=s}var Ri=et;var M_=["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"],Tp={",":1,"\n":1,")":1,"]":1,"}":1,">":1," ":1},Sp=/\w|\]|\)$/;var xp={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}},D_={DEF:1,PROP:1,ATTR:1},Ep=["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"],P_=At(Ep),wp=At(Ep.concat(["mixin","guard","alter","watch","css","interface","attr","prop","get","set","constructor","declare"])),V_=At(["default","type","from","as","new","arguments"]),F_=["case","default","function","void","with","const","enum","native"];var U8=M_.concat(F_);var G_=/^((\$|##|#|@@|@|\%)[\$\wA-Za-z_\-\x7f-\uffff][$\w\x7f-\uffff]*(\-[$\w\x7f-\uffff]+)*[\?]?|[$A-Za-z_][$\w\x7f-\uffff]*(\-[$\w\x7f-\uffff]+)*[\?]?)([^\n\S]*:)?/,j_=/^import\s+(\{?[^\"\'\}]+\}?)(?=\s+from\s+)/;var B_=/^(\<)(?=[A-Za-z\#\.\%\$\[\{\@\>\(])/,Ap=/^(\w[\w\d]*:)?(\w[\w\d]*)(-[\w\d]+)*/,z_=/^#((\w[\w\d]*)(-[\w\d]+)*)/;var H_=/^([%\$]{1,2})([\(])/;var $_=/^\:((([\*\@$\w\x7f-\uffff]+)+([\-\\\:][\w\x7f-\uffff]+)*)|==|\<=\>)/,U_=/^\#[\w\-]+/,Y_=/^(\-?\d*\.?\d+)([A-Za-z]+|\%)?(?![\d\w])/,K_=/^[\w\-\$]*\w[\w\-\$]*/,q_=/^url\(([^\)]*)\)/;var ch=function(s){return s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s==95},W_=function(s){return ch(s)||s==45||s==36||s==64||s==46||s==33||s==35||s==94},X_=function(s){return s>=9&&s<=13||s==32||s==160||s==5760||s==65279||s==8232||s==8233||s==8239||s==8287||s==12288||s>=8192&&s<=8202},Ip=function(s,e){e===void 0&&(e=0);for(var t=e,r=s.length;t<r&&W_(s.charCodeAt(t));)t++;if(t==e)return 0;if(s.charCodeAt(t)==58&&s.charCodeAt(t+1)!=58)return t-e;for(var i=t;i<r&&X_(s.charCodeAt(i));)i++;return s.charCodeAt(i)==61?t-e:0},J_=function(s,e){var t=e.charCodeAt(0);if(ch(t)||t==94||t==37||t==42||t==38||t==36||t==62||t==47||t==46||t==91||t==64||t==33)return!0;if(t==35){let r=s.charCodeAt(1);return ch(r)||r==45}return t==58&&s.charCodeAt(1)==58},Z_=/^0x[\da-f_]+|^0b[01_]+|^0o[\d_]+|^[\-]?(?:\d[_\d]*)\.?\d[_\d]*(?:e[+-]?\d+)?|^[\-]?\d*\.?\d+(?:e[+-]?\d+)?/i,Q_=/^("""|''')([\s\S]*?)(?:\n[^\n\S]*)?\1/,e5=/^(?:[-=]=>|!&(?=[\s\n])|[&|~^]?=\?|[&|~^]=|\?\?=|===|---|->|=>|\/>|!==|\*\*=?|[-+*\/%<>&|^!?=]=|=<|>>>=?|([-+:])\1|([&|<>])\2=?|\?\.|\?\?|\.{2,3}|\*(?=[a-zA-Z\_]))/,fh=/^[^\n\S]+/,t5=/^###([^#][\s\S]*?)(?:###[^\n\S]*|(?:###)?$)/,s5=/^\/\*([\s\S]*?)\*\//,Np=/^(\s*)((#[ \t\!]|\/\/(?!\/))(.*)|#[ \t]?(?=\n|$))+/,r5=/^[-=]=>/,i5=/^(?:\n[^\n\S]*)+/,n5=/^'[^\\']*(?:\\.[^\\']*)*'/;var Rp=/^(\/(?![\s=])[^[\/\n\\]*(?:(?:\\[\s\S]|\[[^\]\n\\]*(?:\\[\s\S][^\]\n\\]*)*])[^[\/\n\\]*)*\/)([a-z]{0,8})(?!\w)/,Op=/^\/{3}([\s\S]+?)\/{3}([a-z]{0,8})(?!\w)/;var Lp=/\n/g,a5=/\n+([^\n\S]*)/g,o5=/\*\//,l5=/^\s*(?:,|\??\.(?![.\d])|(?:&&|\|\||and|or)[\n\s])/;var h5=/^\$\w+\$/,c5=/^\$\d$/,u5=["-=","+=","/=","*=","%=","||=","&&=","?=","??=","<<=",">>=",">>>=","&=","^=","|=","~=","=<","**=","=?","~=?","|=?","&=?","^=?"],f5=At(u5),p5=["!","~","NEW","TYPEOF","DELETE"],Cp=At(p5),d5=["&&","||","??","and","or"],_5=At(d5),m5=["<<",">>",">>>"],g5=At(m5),v5=["===","!==","==","!=","<",">","<=",">=","===","!==","&","|","^","!&"],y5=At(v5),b5=["*","/","%","∪","∩","√"],x5=At(b5),w5=["IN","OF","INSTANCEOF","ISA"],k5=At(w5);var T5=["NUMBER","REGEX","BOOL","TRUE","FALSE","++","--","]"],S5=At(T5),E5=["NUMBER","REGEX","BOOL","TRUE","FALSE","++","--","]",")","}","THIS","SELF","IDENTIFIER","STRING"],A5=At(E5),I5=["\\",".","UNARY","MATH","EXP","+","-","SHIFT","RELATION","COMPARE","THROW","EXTENDS"],N5=At(I5),R5=["IDENTIFIER","SYMBOLID","STRING","REGEX",")","]","INDEX_END","THIS","SUPER","TAG_END","IVAR","SELF","NEW","ARGVAR","SYMBOL","RETURN","INDEX_END","CALL_END","DECORATOR","@","GENERICS"],O5=At(R5),L5=["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"],C5=At(L5);var M5=["INDENT","OUTDENT","TERMINATOR"],Mp=At(M5),kp=At(["INDENT","TERMINATOR","DECORATOR"]),D5=At(["INDENT","OUTDENT","TERMINATOR","EXPORT","DEFAULT","DECLARE","GLOBAL","LOCAL","EXTEND","ABSTRACT","STRICT","DECORATOR"]),P5=At(["global","declare","local","extend","abstract","strict"]),V5=At(["IDENTIFIER",")","}","]","NUMBER"]),F5=At(["(","[","="]),G5=At([",","(","[","{","|",`
`," "]),j5=At(["COMPARE",".","(","["]);function B5(s,e,t){return this.message=s,this.file=e,this.line=t,this}C_(B5,SyntaxError);var Ns=function(s,e){return e===void 0&&(e=0),s[s.length-e-1]},z5=function(s){var e=0;for(let t=0,r=s.length;t<r;t++)s.charCodeAt(t)==10&&e++;return e},H5=function(s,e){for(var t="";e>0;)e%2==1&&(t+=s),s+=s,e>>=1;return t},mr=hp,Tn=cp,ir=fo,go=up;function Pe(){this.reset()}Pe.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};Pe.prototype.jisonBridge=function(s){return this._bridge={lex:lp,setInput:function(e){return this.tokens=e,this.pos=0},upcomingInput:function(){return""}}};Pe.prototype.tokenize=function(s,e,t){var r;if(t===void 0&&(t=null),s.length==0)return[];if(!e.inline){if(fh.test(s)&&(s=`
`+s,s.match(/^\s*$/g)))return[];s.indexOf("\r")>=0&&(s=s.replace(/\r/g,""));let i=s.charCodeAt(s.length-1);(i==9||i==32)&&(s=s.replace(/[\t ]+$/g,""))}if(this._last=null,this._lastTyp=null,this._lastVal=null,this._script=t,this._code=s,this._opts=e,this._locOffset=e.loc||0,this._platform=e.platform||e.target,this._indentStyle=" ",(r=s.match(/^([\ \t]*)[^\n\s\t]/))&&(this._state.gutter=r[1]),e.gutter!==void 0&&(this._state.gutter=e.gutter),this._script&&!e.inline&&(this._script.tokens=this._tokens),this.parse(s),e.inline||this.closeIndentation(),this._ends.length&&this.unclosedError("end of file"),this._platform=="tsc")for(let i=0,n=si(this._tokens),a=n.length,o;i<a;i++)o=n[i],o._type=="SYMBOLID"&&(o._type="IDENTIFIER");return this._tokens};Pe.prototype.parse=function(s){var e=0,t=0;for(this._loc=this._locOffset+e;this._chunk=s.slice(e);){let r=this._context;r&&r.pop&&r.pop.test(this._chunk)&&this.popEnd(),t=r&&r.lexer&&r.lexer.call(this)||this._end=="TAG"&&this.tagDefContextToken()||this._inTag&&this.tagContextToken()||this._inStyle2&&this.lexStyleBody()||this.basicContext(),e+=t,this._loc=this._locOffset+e}};Pe.prototype.basicContext=function(){var s=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(s){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 e=s.charCodeAt(0);return(e>127||e==11||e==12||e==13)&&fh.test(this._chunk)?this.whitespaceToken()||this.commentToken()||this.literalToken()||0:e>=65&&e<=90||e>=97&&e<=122||s=="_"?this.identifierToken()||this.literalToken()||0:e>=48&&e<=57?this.numberToken()||this.literalToken()||0:this.literalToken()||0};Pe.prototype.prevChars=function(s){return s===void 0&&(s=1),s==1?this._code[this._loc-1]:this._code.slice(this._loc-s,this._loc)};Pe.prototype.moveCaret=function(s){return this._loc+=s};Pe.prototype.context=function(){return this._ends[this._ends.length-1]};Pe.prototype.inContext=function(s){var e=this._contexts[this._contexts.length-1];return e&&e[s]};Pe.prototype.pushEnd=function(s,e){let t=this._context;return this._ends.push(s),this._contexts.push(this._context=e||{}),this._end=s,this.refreshScope(),e&&(e.closeType=="STYLE_END"||e.style)&&(e.lexer=this.lexStyleBody,e.style=!0,this._inStyle++),t&&t.style&&s!="}"&&(e.lexer=this.lexStyleBody,e.style=!0),e&&e.id&&(e.start=new Ri(e.id+"_START",s,this._last.region()[1],0),this._tokens.push(e.start)),this};Pe.prototype.popEnd=function(s){var e=this._ends.pop();this._end=this._ends[this._ends.length-1];var t=this._context;return t&&t.start&&(t.end=new Ri(t.closeType||t.id+"_END",e,this._last.region()[1],0),t.end._start=t.start,t.start._end=t.end,this._tokens.push(t.end)),t&&(t.closeType=="STYLE_END"||t.style)&&this._inStyle--,this._contexts.pop(),this._context=this._contexts[this._contexts.length-1],this.refreshScope(),[e,t]};Pe.prototype.refreshScope=function(){var s=this._ends[this._ends.length-1],e=this._ends[this._ends.length-2];return this._inTag=s=="TAG_END"||e=="TAG_END"&&s=="OUTDENT"};Pe.prototype.queueScope=function(s){return this._scopes[this._indents.length]=s,this};Pe.prototype.popScope=function(s){return this._scopes.pop(),this};Pe.prototype.getScope=function(){return this._scopes[this._indents.length-1]};Pe.prototype.scope=function(s,e){var t=this._ends.push(this._end=s);return this._contexts.push(e||null),s};Pe.prototype.closeSelector=function(){if(this._end=="%")return this.token("SELECTOR_END","%",0),this.pair("%")};Pe.prototype.openDef=function(){return this.pushEnd("DEF")};Pe.prototype.closeDef=function(){if(this.context()=="DEF"){var s=Ns(this._tokens);if(mr(s)=="TERMINATOR"){let e=this._tokens.pop();this.token("DEF_BODY","DEF_BODY",0),this._tokens.push(e)}else this.token("DEF_BODY","DEF_BODY",0);this.pair("DEF")}};Pe.prototype.tagContextToken=function(){let s=this._chunk[0],e=this._chunk[1],t=/^([A-Za-z\_\-\$\%\#][\w\-\$]*(\:[A-Za-z\_\-\$]+)*)/.exec(this._chunk);if(t){let r=t[1],i="TAG_LITERAL",n=t[0].length;return r=="self"&&this._lastVal=="<"&&(i="SELF"),s=="$"&&(this._lastTyp=="TAG_TYPE"||this._lastTyp=="TAG_START")&&(i="TAG_REF"),s=="%"&&(i="CSS_MIXIN"),s=="#"&&(i="TAG_SYMBOL_ID",r.length==1)?0:(this.token(i,r,n),n)}if(s=="/"&&e==">")return this.token("TAG_END","/>",2),this.pair("TAG_END"),2;if(s=="%"||s==":"||s=="."||s=="@")return this.token("T"+s,s,1),s=="."&&(!e||Tp[e])&&this._platform=="tsc"&&this.token("TAG_LITERAL","$CARET$",0,1),1;if(s==" "||s==`
`||s==" "){let r=/^[\n\s\t]+/.exec(this._chunk);return this.token("TAG_WS",r[0],r[0].length),r[0].length}else if(s=="="&&this._chunk[1]!=">")return this.token("=","=",1),this.pushEnd("TAG_ATTR",{id:"VALUE",pop:/^([\s\n\>]|\/\>)/}),1;return 0};Pe.prototype.tagDefContextToken=function(){var s;if(s=Ap.exec(this._chunk))return this.token("TAG_TYPE",s[0],s[0].length),s[0].length;if(s=z_.exec(this._chunk)){var e=s[0];return this.token("TAG_ID",e,e.length),e.length}return this._chunk[0]==`
`&&this.pair("TAG"),0};Pe.prototype.findTypeAnnotation=function(s,e){e===void 0&&(e=!1);for(var t=[],r=0,i=[],n=/[\=\n\ \t\.\,\:\+]/;r<s.length;){var a=s.charAt(r);let o=t[0],l=o=='"'||o=="'";if(a&&a==o){if(t.shift(),e&&t.length==0){r++;break}}else{if(!o&&(a==")"||a=="]"||a=="}"||a==">"))break;if(a=="(")t.unshift(")");else if(a=="[")t.unshift("]");else if(a=="{")t.unshift("}");else if(a=="<")t.unshift(">");else if(a=='"')t.unshift('"');else if(a=="'")t.unshift("'");else if(!o&&n.test(a))break}r++}return r==0?null:s.slice(0,r)};Pe.prototype.findBalancedSelector=function(s){for(var e=[],t=0,r=[];t<s.length-1;){var i=s.charAt(t);let a=e[0],o=a=='"'||a=="'";if(i&&i==a)e.shift();else if(!o&&(i==")"||i=="]"||i=="}")){console.log("out of balance!!");break}else i=="/"?r.unshift([t,1,":"]):i=="("&&!o?e.unshift(")"):i=="["&&!o?e.unshift("]"):i=='"'?e.unshift('"'):i=="'"&&e.unshift("'");if(!a&&(i=="="||i==`
`||i=="{"))break;if(!a&&i==" "){if(Ip(s,t+1))break;let l=s.slice(t+1);if(Np.exec(l))break}t++}if(t==0)return null;let n=s.slice(0,t);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};Pe.prototype.lexStyleRule=function(s,e){s===void 0&&(s=0),e===void 0&&(e=!1);let t=s?this._chunk.slice(s):this._chunk,r=this.findBalancedSelector(t);if(r||e){let i=r?r.length:0;this.token("CSS_SEL",r||"",i,s);let n=this._last;return t[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};Pe.prototype.lexStyleBody=function(){if(this._end=="%")return 0;let s=this._chunk[0];var e;let t=Ip(this._chunk),r=this._lastTyp;if(!t&&(r=="TERMINATOR"||r=="INDENT")&&J_(this._chunk,s)&&this.findBalancedSelector(this._chunk))return this.lexStyleRule(0);if(t)return this.token("CSSPROP",this._chunk.slice(0,t),t),t;if(s[0]=="#"&&(e=U_.exec(this._chunk))){let n=this._chunk[e[0].length]=="("?"COLORMIX":"COLOR";return this.token(n,e[0],e[0].length),e[0].length}if(s=="/"&&!this._last.spaced)return this.token("/",s,1),1;if(e=Y_.exec(this._chunk)){let i=e[0].length,n="NUMBER";return e[2]=="%"?n="PERCENTAGE":e[2]&&(n="DIMENSION"),this._lastTyp=="COMPARE"&&this._last.spaced,this.token(n,e[0],i),i}else if(e=q_.exec(this._chunk)){let i=e[0].length;return this.token("CSSURL",e[0],i),e[0].length}else if(e=K_.exec(this._chunk)){let i="CSSIDENTIFIER",n=e[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==")")&&s=="%")return this.token("CSSUNIT",s,1),1;return 0};Pe.prototype.importsToken=function(){var s;return(s=j_.exec(this._chunk))?(this.token("IMPORTS",s[1],s[1].length,7),s[0].length):0};Pe.prototype.tagToken=function(){var s,e;if(!(s=B_.exec(this._chunk)))return 0;var e=si(s),t=e[0],r=e[1],i=e[2];if(r=="<"){if(Sp.test(this.prevChars(1)||""))return 0;if(this.token("TAG_START","<",1),this.pushEnd(Zs.TAG_START,{i:this._tokens.length-1}),s=Ap.exec(this._chunk.substr(1,40))){let n=this._chunk[s[0].length+1];if(s[0]!="self"&&n!="{"&&n!="-")return this.token("TAG_TYPE",s[0],s[0].length,1),t.length+s[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",t.substr(1),0)}}return t.length};Pe.prototype.selectorToken=function(){var a,s;if(this._end=="%"){for(var e=this._chunk[0],t=this._context,r=0,i="",n=!1;e=this._chunk[r++];)if(e==")"&&t.parens==0){n=!0;break}else if(e=="(")t.parens++,i+="(";else if(e==")")t.parens--,i+=")";else{if(e=="{")break;i+=e}return i&&this.token("SELECTOR_PART",i,r-1),n?(this.token("SELECTOR_END",")",1,r-1),this.pair("%"),r):r-1}if(!(s=H_.exec(this._chunk)))return 0;var a=si(s),o=a[0],l=a[1],f=a[2];return f=="("?(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};Pe.prototype.inTag=function(){var s=this._ends.length;if(s>0){var e=this._ends[s-1],t=s>1?this._ends[s-2]:e;return e=="TAG_END"||t=="TAG_END"&&e=="OUTDENT"}return!1};Pe.prototype.isKeyword=function(s,e){var t;if(e===void 0&&(e=""),s=="tag")return this.isTagDeclarationKeyword();if(s=="mixin"&&(!e||e==" "))return!D_[this._lastTyp];if(this._lastTyp=="ATTR"||this._lastTyp=="PROP"||this._lastTyp=="DEF")return!1;if(s=="when"||s=="by")return!this._lastTyp||Mp[this._lastTyp]==1?s=="when"&&this.getScope()=="SWITCH":this._seenLoop;if((s=="get"||s=="set")&&(t=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((s=="guard"||s=="alter"||s=="watch")&&this.getScope()=="PROP"||s=="css"||s=="interface"&&(this._lastVal=="global"||this._lastVal=="export"||this._lastVal=="default"||this._lastVal=="declare"))return!0;if(s=="attr"||s=="prop"||s=="get"||s=="set"||s=="css"||s=="constructor"||s=="declare"){var r=this.getScope(),i=r=="CLASS"||r=="TAG"||r=="EXTEND";if(s=="declare")return i&&kp[this._lastTyp]==1;if(s=="constructor")return i&&kp[this._lastTyp]==1;if(i)return!0}return P_[s]==1};Pe.prototype.isTagDeclarationKeyword=function(){var s=this._lastTyp,e=this._lastVal,t=!s||D5[s]==1||s=="IDENTIFIER"&&P5[e]==1;return t&&/^tag[^\n\S]+(\w[\w\d]*:)?(\w[\w\d]*)(-[\w\d]+)*/.test(this._chunk)};Pe.prototype.identifierToken=function(){var e,s,i;if(!(s=G_.exec(this._chunk)))return 0;var e=si(s),t=e[0],r=e[1],i=e[2],n=e[3],a=e[4],o=e[5],l=r.length;if(r==="own"&&this.lastTokenType()=="FOR")return this.token("OWN",r,r.length),r.length;var f=Ns(this._tokens),h=this._lastTyp;if(h=="#")return this.token("IDENTIFIER",r,l),l;var p=o||h=="."||h=="?.";if(o&&h=="?"&&(p=!1),!i&&!o&&(h=="."||h=="?."))return this.token("IDENTIFIER",r,l),l;r=="css"&&/css\s\:\:/.exec(this._chunk)&&(t=r+" ",o=null,p=!1);var m=!1;if(i=="$"&&c5.test(r))i="ARGVAR",r=r.substr(1);else if(i=="$"&&h5.test(r))i="ENV_FLAG",r=r.toUpperCase();else if(i=="@")h=="."?i="IDENTIFIER":i="DECORATOR";else if(i=="#")i="SYMBOLID";else if(i=="##")i="SYMBOLID";else if(i=="%"){let v=this._lastTyp;if(v=="TERMINATOR"||v=="INDENT"||v=="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"&&!p)return this.token("ELSE","elif",r.length),this.token("IF","if"),r.length;i="IDENTIFIER"}if(i=="IDENTIFIER"&&!o&&!wp[r]&&!V_[r]&&h!="CATCH"&&!(h=="IDENTIFIER"&&this._lastVal=="protected")&&!((h=="NUMBER"||h==")")&&f&&!f.spaced)&&this._end!="IMPORT"&&this._end!="EXPORT"&&h!="IMPORT")return this.token("IDENTIFIER",r,l),l;var d=this._end;if(!p&&wp[r]&&(m=this.isKeyword(r,this._chunk[r.length])))if(typeof m=="string"?i=m:i=r.toUpperCase(),i=="MODULE"&&(!/^module [a-zA-Z]/.test(this._chunk)||d=="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 v=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"&&Mp[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":Cp[i]==1?i="UNARY":k5[i]==1&&(i!="INSTANCEOF"&&i!="ISA"&&this._seenFor?(i="FOR"+i,this._seenFor=!1):(i="RELATION",f._type=="UNARY"&&(f._type="NOT"))));if(!p)switch(this._lastVal=="export"&&r=="default"&&(ir(f,"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 b=t.length;if((i=="CLASS"||i=="DEF"||i=="TAG"||i=="PROP"||i=="CSS"||i=="SWITCH")&&this.queueScope(i),m&&xp[i])for(var g=this._tokens.length,w=xp[i];g;){f=this._tokens[--g];var _=""+Tn(f);if(w[_])ir(f,_.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 v=this._chunk[l];if(h=="AWAIT"||v=="("||v==".")i="IDENTIFIER";else return this.pushEnd("IMPORT"),this.token(i,r,l),b}else{if(r=="type"&&h=="IMPORT")return this.token("TYPEIMPORT",r,l),b;if(i=="EXPORT")return this.pushEnd("EXPORT"),this.token(i,r,l),b;r=="from"&&d=="IMPORT"?(i="FROM",this.pair("IMPORT")):r=="from"&&d=="EXPORT"?(i="FROM",this.pair("EXPORT")):r=="as"&&(d=="IMPORT"||this._lastTyp=="IDENTIFIER"||d=="EXPORT")&&(i="AS")}if(r=="new"&&this._lastTyp!="."&&this._chunk.match(/^new\s+[\w\$\(\<\#]/)&&this._lastTyp!="DEF"&&(i="NEW"),i=="IDENTIFIER"&&(h=="CATCH"&&(i="CATCH_VAR"),this._lastVal=="protected"&&h=="IDENTIFIER"&&ir(f,"PROTECTED")),(h=="NUMBER"||h==")")&&!f.spaced&&(i=="IDENTIFIER"||r=="%")&&(i="UNIT"),o){this.token(i,r,l);var x=o.indexOf(":");this.moveCaret(l+x),this.token(":",":",1),this.moveCaret(-(l+x))}else this.token(i,r,l);return i=="CSS"?b+this.lexStyleRule(b,!0):b};Pe.prototype.numberToken=function(){var s,e,t,r;if(!(e=Z_.exec(this._chunk)))return 0;t=e[0],r=t.length,(s=/0b([01_]+)/.exec(t))&&(t=""+parseInt(s[1].replace(/_/g,""),2));var i=Ns(this._tokens);return e[0][0]=="."&&i&&!i.spaced&&V5[mr(i)]==1&&(this.token(".","."),t=t.substr(1)),this.token("NUMBER",t,r),r};Pe.prototype.symbolToken=function(){var s,e,t;if(!(s=$_.exec(this._chunk)))return 0;if(e=s[0],t=Ns(this._tokens),!t||t.spaced||F5[this._prevVal]==1){let r=ja(e.slice(1));return this.token("STRING",'"'+r+'"',s[0].length),s[0].length}return 0};Pe.prototype.escapeStr=function(s,e,t){if(s=s.replace(Lp,e?"\\n":""),t){var r=RegExp("\\\\["+t+"]","g");s=s.replace(r,t),s=s.replace(RegExp(""+t,"g"),"\\$&")}return s};Pe.prototype.stringToken=function(){var s,e;switch(this._chunk.charAt(0)){case"'":{if(!(s=n5.exec(this._chunk)))return 0;e=s[0],this.token("STRING",this.escapeStr(e),e.length);break}case'"':{if(!(e=this.balancedString(this._chunk,'"')))return 0;if(e.indexOf("{")>=0){var t=e.length;this.token("STRING_START",e.charAt(0),1),this.interpolateString(e.slice(1,-1)),this.token("STRING_END",e.charAt(t-1),1,e.length-1)}else t=e.length,this.token("STRING",this.escapeStr(e),t);break}case"`":{if(!(e=this.balancedString(this._chunk,"`")))return 0;e.indexOf("{")>=0?(t=e.length,this.token("STRING_START",e.charAt(0),1),this.interpolateString(e.slice(1,-1),{heredoc:!0}),this.token("STRING_END",e.charAt(t-1),1,e.length-1)):(t=e.length,this.token("STRING",this.escapeStr(e,!0),t));break}default:return 0}return this.moveHead(e),e.length};Pe.prototype.heredocToken=function(){var s,e,t,r;if(!(s=Q_.exec(this._chunk)))return 0;e=s[0],t=e.charAt(0);var i={quote:t,indent:null,offset:0};if(r=this.sanitizeHeredoc(s[2],i),t=='"'&&r.indexOf("{")>=0){var n=s[1];this.token("STRING_START",n,n.length),this.interpolateString(r,{heredoc:!0,offset:n.length+i.offset,quote:t,indent:i.realIndent}),this.token("STRING_END",n,n.length,e.length-n.length)}else this.token("STRING",this.makeString(r,t,!0),0);return this.moveHead(e),e.length};Pe.prototype.parseMagicalOptions=function(s){var e=this;return s.indexOf("imba$")>=0&&s.replace(/imba\$(\w+)\=(\S*)\b/g,function(t,r,i){return/^\d+$/.test(i)&&(i=parseInt(i)),e._opts[r]=i}),e};Pe.prototype.commentToken=function(){var s,e,t,r,i,n="HERECOMMENT";if(s=s5.exec(this._chunk))return this.token("HERECOMMENT",s[1],s[1].length),this.token("TERMINATOR",`
`),s[0].length;if(s=Np.exec(this._chunk)){e=s[0].length,r=s[1],t=s[2];let f=s[4]||"";t[0]=="#"&&(f=" "+f),i=Ns(this._tokens);var a=i&&mr(i),o="//"+f;return this.parseMagicalOptions(o),this._last&&this._last.spaced&&(o=" "+o),o.match(/^\/\/ \@(type|param)/)?o="/**"+f+"*/":o.match(/^\/\/ \<(reference)/)&&(o="///"+f),a&&a!="INDENT"&&a!="TERMINATOR"||!a?this.token("TERMINATOR",o,e):a=="TERMINATOR"?go(i,Tn(i)+o):a=="INDENT"?this.addLinebreaks(1,o):this.token(n,t.substr(2),e),e}if(!(s=t5.exec(this._chunk)))return 0;t=s[0];var l=s[1];return l?(this.token("HERECOMMENT",this.sanitizeHeredoc(l,{herecomment:!0,indent:Array(this._indent+1).join(" ")}),t.length),this.token("TERMINATOR",`
`)):(this.token("HERECOMMENT",t,t.length),this.token("TERMINATOR",`
`)),this.moveHead(t),t.length};Pe.prototype.regexToken=function(){var r,s,e,t;if(this._chunk.charAt(0)!="/")return 0;if(s=Op.exec(this._chunk))return e=this.heregexToken(s),this.moveHead(s[0]),e;if(t=Ns(this._tokens),t&&(t.spaced?S5:A5)[mr(t)]==1||!(s=Rp.exec(this._chunk)))return 0;var r=si(s),i=r[0],n=r[1],a=r[2];return this.token("REGEX",""+n+a,i.length),i.length};Pe.prototype.heregexToken=function(s){var e,e=si(s),t=e[0],r=e[1],i=e[2];return this.token("REGEX",t,t.length),t.length};Pe.prototype.lineToken=function(){var s,e;if(!(e=i5.exec(this._chunk)))return 0;var t=e[0],r=this.moveHead(t);this._seenFor=!1;var i=Ns(this._tokens,1);let n=t.substr(t.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),(s=this._state.gutter||this._opts.gutter)&&(n.indexOf(s)==0?n=n.slice(s.length):this._chunk[t.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 p=0,m=0,d=this._loc;for(;;)if(n.indexOf(this._indentStyle,m)==m)p++,m+=this._indentStyle.length;else{if(m==n.length)break;{this._loc+=t.length-n.length;let g=this._loc;this.token("INDENT",n,n.length),this.error("Use tabs for indentation",{offset:g+m,length:n.length-m})}}o=p}if(o-this._indebt==this._indent)return this._scopes.length=this._indents.length,a?this.suppressNewlines():this.newlineToken(r,t),t.length;if(o>this._indent){if(a)return this._indebt=o-this._indent,this.suppressNewlines(),t.length;if(this.inTag())return t.length;var l=o-this._indent+this._outdebt;this.closeDef();var f=this._scopes[this._indents.length],h=Ns(this._tokens);h&&mr(h)=="TERMINATOR"?(ir(h,"INDENT"),h._meta||(h._meta={pre:Tn(h),post:""}),h.scope=f):(this.token("INDENT",""+l,0),this._last.scope=f),this._indents.push(l),this.pushEnd("OUTDENT",{opener:this._last}),this._outdebt=this._indebt=0,this.addLinebreaks(r)}else{this._indebt=0;let p=this._indent-o,m=this._indent,d=this._indentStyle==" ",b=t.replace().split(`
`),g=[],w=b.length,_=0;for(;w>0;){let A=b[--w],E=d?A.length:A.replace(this._indentRegex," ").length;E>_&&(_=E),g[w]=_}g[0]=m;let x=0,v=[],C="";for(let A=0,E=si(b),S=E.length;A<S;A++){let T=g[A];for(;m>T;)C?(this.terminatorToken(C),C=""):this.terminatorToken(""),p--,this.outdentToken(1,!0),m--;C+=`
`+E[A]}for(C&&this.terminatorToken(C);p>0;)this.outdentToken(1,!0),p--}return this._indent=o,t.length};Pe.prototype.outdentToken=function(s,e,t){this.context()=="DEF"&&this.closeDef();for(var r=0;s>0;){var i=this._indents.length-1;if(this._indents[i]==null)s=0;else if(this._indents[i]==this._outdebt)s-=this._outdebt,this._outdebt=0;else if(this._indents[i]<this._outdebt)this._outdebt-=this._indents[i],s-=this._indents[i];else{r=this._indents.pop()-this._outdebt,s-=r,this._outdebt=0,e||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-=s);this.lastTokenValue()==";";)this._tokens.pop();this.lastTokenType()=="TERMINATOR"||e||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};Pe.prototype.whitespaceToken=function(s){var e,t,r;if(!((e=fh.exec(this._chunk))||(t=this._chunk.charAt(0)===`
`)))return 0;if(r=Ns(this._tokens),r)return e?(r.spaced=!0,e[0].length):(r.newLine=!0,0)};Pe.prototype.moveHead=function(s){var e=z5(s);return e};Pe.prototype.terminatorToken=function(s,e){return this._lastTyp=="TERMINATOR"?this._last._value+=s:this.token("TERMINATOR",s,e)};Pe.prototype.addLinebreaks=function(s,e){var t;if(!e&&s==0)return this;var r=this._last;if(e||(s==1?t=`
`:s==2?t=`
`:s==3?t=`
`:t=H5(`
`,s)),r){var i=r._type,n=Tn(r);if(i=="INDENT"){var a=r._meta||(r._meta={pre:"",post:""});return a.post+=e||t,this}else if(i=="TERMINATOR")return go(r,n+(e||t)),this}this.token("TERMINATOR",e||t,0)};Pe.prototype.newlineToken=function(s,e){this.addLinebreaks(s,e),this.closeDef();var t=this.context();return(t=="TAG"||t=="IMPORT"||t=="EXPORT")&&this.pair(t),this};Pe.prototype.suppressNewlines=function(){return this.value()==="\\"&&this._tokens.pop(),this};Pe.prototype.literalToken=function(){var s,e;(s=e5.exec(this._chunk))?(e=s[0],r5.test(e)&&this.tagParameters()):e=this._chunk.charAt(0);var t=this._ends[this._ends.length-1],r=this._ends[this._ends.length-2],i=t=="TAG_END"||t=="OUTDENT"&&r=="TAG_END",n=e,a=Ns(this._tokens),o=a&&mr(a),l=a&&Tn(a),f=e.length;if(e=="="&&a&&(l=="||"||l=="&&"))return ir(a,"COMPOUND_ASSIGN"),go(a,l+"="),a._len=this._loc-a._loc+e.length,e.length;if(e=="ƒ"&&(n="DO"),e=="|"){if(l=="(")return this.token("DO","DO",0),this.pushEnd("|"),this.token("BLOCK_PARAM_START",e,1),f;if(o=="DO")return this.pushEnd("|"),this.token("BLOCK_PARAM_START",e,1),f;if(t=="|")return this.token("BLOCK_PARAM_END",e,1),this.pair("|"),f}e===";"&&(this._seenFor=!1,this._seenLoop=!1,n="TERMINATOR"),e=="("&&o=="T."||e=="["&&i?n="STYLE_START":e==="("&&i&&o!="="&&a.spaced?this.token(",",","):e==="->"&&i?(n="TAG_END",this.pair("TAG_END")):e==="=>"&&i?(n="TAG_END",this.pair("TAG_END")):e==="/>"&&i?(n="TAG_END",this.pair("TAG_END")):e===">"&&i?(n="TAG_END",this.pair("TAG_END")):e==="TERMINATOR"&&t==="DEF"?this.closeDef():e==="&"&&this.context()=="DEF"?n="BLOCK_ARG":e=="---"||e=="-"&&o=="TERMINATOR"&&this._chunk.match(/^\-\s*\n/)?n="SEPARATOR":e=="*"&&this._chunk.charAt(1).match(/[A-Za-z\_\@\[]/)&&(a.spaced||G5[l]==1)?n="SPLAT":e=="*"&&(this.context()=="IMPORT"||this.context()=="EXPORT")?n=""+this.context()+"_ALL":e==","&&this.context()=="IMPORT"?n="IMPORT_COMMA":e=="!"&&a&&!a.spaced&&(l=="]"||l==")"||o=="IDENTIFIER"||o=="SYMBOLID"||o=="SUPER")?n="BANG":e=="&"&&this._chunk.match(/^\&\s*[,\)\}\]]/)?n="DO_PLACEHOLDER":e=="&"&&this._chunk.match(/^\&(\s*[\.\>\<\=\%\^]|\s+(is|isnt|in|not|isa)\b|[\[\(])/)?n="AMPER_REF":e=="**"?n="EXP":e=="%"&&(o=="NUMBER"||o==")")&&!a.spaced?n="UNIT":x5[e]==1?n="MATH":y5[e]==1?n="COMPARE":f5[e]==1?n="COMPOUND_ASSIGN":Cp[e]==1?n="UNARY":g5[e]==1?n="SHIFT":_5[e]==1?n="LOGIC":a&&!a.spaced&&((e=="{"&&o=="IDENTIFIER"||e=="{"&&o=="#")&&(n="{{"),e==="("&&O5[o]==1?n="CALL_START":e==="("&&o=="DO"?n="BLOCK_PARAM_START":e==="["&&C5[o]==1&&(n="INDEX_START",o=="?"&&ir(a,"INDEX_SOAK"))),l=="&"&&o!="AMPER_REF"&&(!a.spaced&&j5[n]==1||a.spaced&&n=="COMPARE")&&ir(a,o="AMPER_REF");let h=null;switch(e){case"(":case"{":case"[":{this.pushEnd(Zs[e],{closeType:Zs[n],i:this._tokens.length});break}case")":case"}":case"]":{let p=this.pair(e);if(p&&p[1].closeType){n=p[1].closeType;let m=this._tokens[p[1].i];h=this._tokens[p[1].i]}break}}if(e=="\\"){n="TYPE";let p=this.findTypeAnnotation(this._chunk.slice(1));p&&(e=e+p)}if(e=="<"&&Sp.test(this.prevChars(1))){let p=this.findTypeAnnotation(this._chunk,!0);p&&(n="GENERICS",e=p)}if(e==".."&&!a.spaced&&(n="?.",e="?."),e==":"&&t=="TAG_RULE"&&(n="T:"),(n=="-"||n=="+")&&/\w|\(|\$/.test(this._chunk[1])&&(!a||a.spaced)&&(n=n+n+n),this.token(n,e,e.length),h&&(h._closer=this._last,h._closerIndex=this._tokens.length-1),this._platform=="tsc"){let p=this._chunk[1]||"";e=="."&&(!p||Tp[p])?this.token("IDENTIFIER","$CARET$",0,1):e=="@"&&(!p||/[^\$\@\-\.\w]/.test(p))}return e.length};Pe.prototype.sanitizeHeredoc=function(s,e){var t,r=e.indent,i=e.herecomment;if(i){if(o5.test(s)&&this.error("block comment cannot contain '*/'",{length:2}),s.indexOf(`
`)<=0)return s}else for(var n;t=a5.exec(s);){var a=t[1];(r===null||0<(n=a.length)&&n<r.length)&&(r=a)}return r&&(s=s.replace(RegExp("\\n"+r,"g"),`
`)),i||(s[0]==`
`&&(e.offset=r.length+1),s=s.replace(/^\n/,"")),e.realIndent=r,s};Pe.prototype.tagParameters=function(){var s;if(this.lastTokenType()!=")")return this;var e=[],t=this._tokens,r=t.length;for(ir(t[--r],"PARAM_END");s=t[--r];){var i=mr(s);switch(i){case")":{e.push(s);break}case"(":case"CALL_START":{if(e.length)e.pop();else return i==="("?(ir(s,"PARAM_START"),this):this;break}}}return this};Pe.prototype.closeIndentation=function(){for(;;){var s=this.context();if(s=="TAG"||s=="IMPORT"||s=="EXPORT")this.pair(s);else break}return this.closeDef(),this.closeSelector(),this.outdentToken(this._indent,!1,0)};Pe.prototype.balancedString=function(s,e){for(var t,r,i,n=[e],a=0;a<s.length-1;){switch(a++,r=s.charAt(a),r){case"\\":{a++;continue}case e:{if(n.pop(),!n.length){var o=s.slice(0,a+1);return o}e=n[n.length-1];continue}}e==="}"&&(r=='"'||r=="'"||r=="`")?n.push(e=r):e==="}"&&r==="/"&&(t=Op.exec(s.slice(a))||Rp.exec(s.slice(a)))?a+=t[0].length-1:(e==="}"&&r==="{"||e==='"'&&r==="{"||e==="`"&&r==="{")&&n.push(e="}"),i=r}var l=n.pop(),f=this.lineAt(this._loc);return l=="}"?this.error("unclosed interpolation in string starting on line "+f+" - expected '}'",{length:1}):this.error("unterminated string starting on line "+f+" - expected closing "+l,{length:1})};Pe.prototype.interpolateString=function(s,e){e===void 0&&(e={});for(var t=e.heredoc,r=e.quote,i=e.regex,n=e.prefix,a=e.indent,o=this._loc,l=[],f=0,h=-1,p=e.offset||1,m=s.length,d,b,g=!1;d=s[h+=1];){if(d==="\\"){h+=1;continue}if(d===`
`&&a&&(p+=a.length),!!(s[h]=="{"&&(b=this.balancedString(s.slice(h),"}")))){if(g=!0,f<h){var w=new Ri("NEOSTRING",this.escapeStr(s.slice(f,h),t,r),this._loc+f+p,h-f);l.push(w)}l.push(new Ri("{{","{",this._loc+h+p,1));var _=b.slice(1,-1);if(_=_.replace(/^[^\n\S]+/,""),_.length){var x=0,v=this._loc+h+(b.length-_.length)-1,C=new Pe().tokenize(_,{inline:!0,rewrite:!1,loc:v+p},this._script);C[0]&&mr(C[0])=="TERMINATOR"&&C.shift(),C.length&&l.push.apply(l,C)}h+=b.length-1,l.push(new Ri("}}","}",this._loc+h+p,1)),f=h+1}}if(h>=f&&f<s.length&&l.push(new Ri("NEOSTRING",this.escapeStr(s.slice(f),t,r),this._loc+f+p,s.length-f)),i)return l;if(!l.length)return this.token("NEOSTRING",'""');for(let A=0,E=l.length;A<E;A++)this._tokens.push(l[A]);return l};Pe.prototype.balancedSelector=function(s,e){var t,r,i=[e];for(let n=s.length,a=1,o=n-a;o>0?a<n:a>n;o>0?a++:a--){switch(r=s.charAt(a)){case"\\":{a++;continue}case e:{if(i.pop(),!i.length)return s.slice(0,a+1);e=i[i.length-1];continue}}e==="}"&&r===")"?i.push(e=r):(e==="}"&&r==="{"||e===")"&&r==="{")&&i.push(e="}"),t=r}return this.error("unclosed selector starting on line "+this.lineAt(this._loc)+" - expected '"+i.pop()+"'",{length:1})};var $5={")":"'('","]":"'['","}":"'{'",TAG_END:"tag",TAG:"tag declaration",TAG_ATTR:"tag attribute value",DEF:"method",IMPORT:"import",EXPORT:"export","%":"selector","|":"block parameters",OUTDENT:"indented block"},uh={")":"')'","]":"']'","}":"'}'",TAG_END:"'>'","|":"'|'"};Pe.prototype.unclosedInfo=function(){var s=this._ends.length-1,e=this._ends[s],t=this._contexts[s],r=null;return t&&(r=t.opener||t.i!=null&&this._tokens[t.i]||null),r&&!(r._loc>=0)&&(r=null),{end:e,opener:r,what:$5[e]||"'"+e+"'",closer:uh[e]}};Pe.prototype.unclosedError=function(s){var e=this.unclosedInfo(),t="unclosed "+e.what;e.closer&&(t+=" - expected "+e.closer),s&&(t+=" before "+s);var r={length:1};return e.opener&&(r.range=this._script.rangeAt(e.opener._loc,e.opener._loc+(e.opener._len||1))),this.error(t,r)};Pe.prototype.lineAt=function(s){return this._script.positionAt(s).line+1};Pe.prototype.pair=function(s){var e=Ns(this._ends);if(s!=e){if(e!=="OUTDENT")if(s=="OUTDENT")this.unclosedError("the block ends (line "+this.lineAt(this._loc)+")");else if(!e)this.error("unmatched "+(uh[s]||"'"+s+"'"),{length:1});else{let r=this.unclosedInfo(),i="unmatched "+(uh[s]||"'"+s+"'");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 t=Ns(this._indents);return this._indent-=t,this.outdentToken(t,!0,0),this.pair(s)}return this.popEnd()};Pe.prototype.token=function(s,e,t,r){this._lastTyp=s,this._lastVal=e;var i=this._last=new Ri(s,e,this._loc+(r||0),t||0);this._tokens.push(i)};Pe.prototype.lastTokenType=function(){var s=this._tokens[this._tokens.length-1];return s?mr(s):"NONE"};Pe.prototype.lastTokenValue=function(){var s=this._tokens[this._tokens.length-1];return s?s._value:""};Pe.prototype.tokid=function(s,e){var t;return(t=Ns(this._tokens,s))?(e&&ir(t,e),mr(t)):null};Pe.prototype.value=function(s,e){var t;return(t=Ns(this._tokens,s))?(e&&go(t,e),Tn(t)):null};Pe.prototype.unfinished=function(){return l5.test(this._chunk)&&(!this._context||!this._context.style)?!0:N5[this._lastTyp]==1&&this._platform!="tsc"};Pe.prototype.escapeLines=function(s,e){return s.replace(Lp,e?"\\n":"")};Pe.prototype.makeString=function(s,e,t){return s?(s=s.replace(/\\([\s\S])/g,function(r,i){return i==`
`||i==e?i:r}),s=s.replace(RegExp(""+e,"g"),"\\$&"),e+this.escapeLines(s,t)+e):e+e};Pe.prototype.error=function(s,e){e===void 0&&(e={});let t=e.offset||this._loc;throw this._script.addDiagnostic("error",{message:s,source:e.source||"imba-lexer",range:e.range||this._script.rangeAt(t,t+(e.length||L_(this)))}).toError()};function U5(s){return s?s.toArray?s.toArray():s:[]}var En=et,Ps="TERMINATOR",Wt="INDENT",An="OUTDENT";var ph="THEN",Y5="CATCH",Dp={_type:"EOF",_value:""},gh=function(s){var e={};for(let t=0,r=U5(s),i=r.length;t<i;t++)e[r[t]]=1;return e},mh=function(s,e){var t=e._closer;if(!t)return-1;var r=e._closerIndex;return r!=null&&s[r]===t?r:e._closerIndex=s.indexOf(t)},Sn=function(s,e){if(e<0||e>=s.length)return null;var t=s[e];return t&&t._type},K5=[")","]","}","STYLE_END","OUTDENT","CALL_END","PARAM_END","INDEX_END","BLOCK_PARAM_END","STRING_END","}}","TAG_END","CATCH","WHEN","ELSE","FINALLY"],q5=gh(K5),Fp={"(":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},Gp={")":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},jp="STYLE_START",W5={ELSE:1,TRY:1,FINALLY:1,THEN:1,BLOCK_PARAM_END:1,DO:1,BEGIN:1,CATCH_VAR:1},X5={TERMINATOR:!0,CATCH:!0,FINALLY:!0,ELSE:!0,OUTDENT:!0,LEADING_WHEN:!0},dh={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},_h={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};var J5={"+":1,"-":1},Z5=["{","[",",","BLOCK_PARAM_END","DO"],Q5=gh(Z5);var e6=["CLASS","IF","UNLESS","TAG","WHILE","FOR","UNTIL","CATCH","FINALLY","MODULE","LEADING_WHEN","STRUCT"],t6=gh(e6);var s6={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};var r6={IF:1,TERNARY:1,FOR:1,DEF:1},Pp={CLASS:1,DEF:1,MODULE:1,TAG:1,STRUCT:1},i6={INDENT:1,TERMINATOR:1},n6={NUMBER:1,STRING:1,REGEX:1,SYMBOL:1,"]":1,"}":1,")":1,STRING_END:1},Vp=0;function yt(){this._tokens=[],this._options={},this._len=0,this._starter=null}yt.prototype.reset=function(){return this._starter=null,this._len=0,this};yt.prototype.tokens=function(){return this._tokens};yt.prototype.rewrite=function(s,e){e===void 0&&(e={}),this.reset(),this._tokens=s,this._options=e,this._platform=e.platform||e.target;for(var t=0,r=s.length;t<r-1;){var i=s[t];if(i._type=="DEF_BODY"){var n=s[t+1];n&&n._type==Ps&&(i._type="DEF_EMPTY")}t++}return this.all(),Vp&&console.log(Vp),this._tokens};yt.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()};yt.prototype.step=function(s){this[s]()};yt.prototype.scanTokens=function(s){for(var e=this._tokens,t=0;t<e.length;)t+=s(e[t],t,e);return!0};yt.prototype.detectEnd=function(s,e,t,r){r===void 0&&(r={});for(var i=this._tokens,n=0,a,o,l;s<i.length;){if(a=i[s],n==0&&e.call(this,a,s,i,r))return t.call(this,a,s,i,r);if(!a||n<0)return t.call(this,a,s-1,i,r);o=a._type,Fp[o]?n+=1:Gp[o]&&(n-=1),s+=1}return s-1};yt.prototype.ensureFirstLine=function(){var s=this._tokens[0];(!s||s._type===Ps)&&this._tokens.unshift(Er("BODYSTART","BODYSTART"))};yt.prototype.addPlaceholderIdentifiers=function(){let s=/^([\,\]\)\}]|\}\})$/;return this.scanTokens(function(e,t,r){var i=r[t-1]||Dp,n=r[t+1]||Dp;if(i._type=="="||i._type==":"){if(e._type===Ps&&n._type!="INDENT"||e._type==","||e._type=="DEF_BODY")return r.splice(t,0,new En("IDENTIFIER","$CARET$",e._loc,0)),2}else if(i._type=="."&&(e._type===Ps&&n._type!="INDENT"||s.test(e._value)))return r.splice(t,0,new En("IDENTIFIER","$CARET$",e._loc,0)),2;return 1})};yt.prototype.removeLeadingNewlines=function(){for(var s=0,e=0,t=this._tokens,r,i=t.length;e<i;){if(r=t[e],r._type!==Ps){s=e;break}e++}s&&t.splice(0,s)};yt.prototype.removeMidExpressionNewlines=function(){return this.scanTokens(function(s,e,t){var r=t.length>e+1?t[e+1]:null;return!(s._type===Ps&&r&&q5[r._type])||r&&r._type==An?1:(t.splice(e,1),0)})};yt.prototype.tagDefArguments=function(){return!0};yt.prototype.closeOpenTags=function(){var s=this,e=function(r,i){return r._type==">"||r._type=="TAG_END"},t=function(r,i){return r._type="TAG_END"};return s.scanTokens(function(r,i,n){return r._type==="TAG_START"&&s.detectEnd(i+1,e,t),1})};yt.prototype.addImplicitBlockCalls=function(){for(var s=1,e=this._tokens;s<e.length;){var t=e[s],r=t._type,i=t._value;r=="DO"&&(i=="INDEX_END"||i=="IDENTIFIER"||i=="NEW")&&(e.splice(s+1,0,Er("CALL_END",")")),e.splice(s+1,0,Er("CALL_START","(")),s++),s++}};yt.prototype.addLeftBrace=function(){return this};yt.prototype.addImplicitBraces=function(){var s=this,e=[],t=null,r=null,i=["ROOT",0],n="DEF",a=r6,o=function(b){return b&&b._loc>=0?b._loc:-1},l=function(b,g,w){let _=new En("{","{",o(b),0,0);return _.generated=!0,_.scope=w,s._tokens.splice(g,0,_)},f=function(b,g,w){let _=new En("}","}",o(b),0,0);return _.generated=!0,_.scope=w,s._tokens.splice(g,0,_)},h=function(b,g){return[b,g]},p=[],m=[],d=null;return s.scanTokens(function(b,g,w){var _=b._type,x=b._value;if(_=="CSS_SEL"&&b._closer){let j=mh(w,b);if(j>=0)return j-g+1}if(_=="STYLE_START"&&b._closer){let j=mh(w,b);if(j>=0)return j-g}if(Ii[_]?m.push(d=_):Zs[_]&&Zs[_]==d&&(m.pop(),d=m[m.length-1]),d===jp)return 1;var v=e.length?e[e.length-1]:i,C;if(_=="INDENT"?p.unshift(b.scope):_=="OUTDENT"&&p.shift(),a[_]&&_!=n)return e.push(h(_,g)),1;if(x=="?")return e.push(h("TERNARY",g)),1;if(Fp[_]){_===Wt&&a[v[0]]&&e.pop();let j=Sn(w,g-1);return _===Wt&&(j=="{"||j=="STYLE_START")?e.push(h("{",g)):e.push(h(_,g)),1}if(Gp[_])return v[0]=="TERNARY"&&e.pop(),r=e.pop(),r[2]=g,r[0]=="{"&&r.generated&&f(b,g),1;if(v[0]=="TERNARY"&&(_===Ps||_===An)||a[v[0]]&&_===Wt)return e.pop(),1;if(_==",")return v[0]=="{"&&v.generated?(f(b,g,e.pop()),2):1;let A=_==n&&!Pp[p[0]];if((_==":"||A)&&v[0]!="{"&&v[0]!="TERNARY"&&(!a[v[0]]||v[0]==n)){var E=w[g-2];let j=!1;for(_==n?(C=g-1,E=w[C]):r&&r[2]==g-1?C=r[1]-1:C=g-2;Sn(w,C-1)==="HERECOMMENT";)C-=2;var S=w[C-1],T=w[C];if((!E||!i6[E._type])&&(j=!0),p[0]&&Pp[p[0]]&&(j=!0),S&&S._type=="}"&&S.generated&&(T._type==","&&!T.generated||!(S.scope&&S.scope.autoClose))){w.splice(C-1,1);var L=h("{",g-1);return L.generated=!0,e.push(L),_==n?(e.push(h(n,g)),1):0}else return S&&S._type==","&&Sn(w,C-2)=="}"?(w.splice(C-2,1),L=h("{"),L.generated=!0,e.push(L),_==n?(e.push(h(n,g)),1):0):_==n&&(!S||S._type!="=")?(e.push(h(n,g)),1):(L=h("{"),L.generated=!0,L.autoClose=j,e.push(L),l(b,C+1),_==n?(e.push(h(n,g)),3):2)}if(_=="DO"){var y=Sn(w,g-1);if(n6[y]){var M=Er(",",",");if(M.generated=!0,w.splice(g,0,M),v.generated)return f(b,g),e.pop(),2}}return v.generated&&(_===Ps||_===An||_==="DEF_BODY")?(t=e.pop(),f(b,g,t),2):1})};yt.prototype.addImplicitParentheses=function(){var s=this,e=s._tokens,t=!1,r=!1,i=!1,n=!1,a=!1,o=!1,l=!1,f=!1,h=0;let p=[],m=null;for(var d=function(S,T,L){let y=new En("CALL_END",")",-1,0);return y.generated=!0,L.splice(T,0,y)},b=function(S,T,L){var y=S._type;if(!a&&S.fromThen)return!0;var M=y=="IF"||y=="UNLESS"||y=="ELSE";(M||y==="CATCH")&&(a=!0),(M||y==="SWITCH"||y=="TRY")&&(o=!0);var j=Sn(L,T-1);if((y=="."||y=="?."||y=="::")&&j===An||y==":"&&p[p.length-1]=="?"&&L[T-1].spaced||n&&(y===Wt||y===Ps))return!0;if((y=="WHEN"||y=="BY")&&!r)return!1;var P=L.length>T+1?L[T+1]:null,W=P&&P._type;if(S.generated||j===",")return!1;var J=s6[y]||y==Wt&&!o||y=="DOS"&&j!="=";return J?y!==Wt||!Q5[j]&&Sn(L,T-2)!="CLASS"&&!(P&&(P.generated&&W=="{"||_h[W])):!1};e.length>h+1;){var g=e[h],w=g._type;if(w=="?"&&p.push(w),(w=="STYLE_START"||w=="CSS_SEL")&&g._closer){let T=mh(e,g);if(T>=0){h=T+1;continue}}if(Ii[w]?p.push(m=w):Zs[w]&&Zs[w]==m&&(p.pop(),m=p[p.length-1]),m===jp){h++;continue}w==":"&&e[h-1].spaced&&p[p.length-1]=="?"&&p.pop();var _=h>0?e[h-1]:null,x=e[h+1],v=_&&_._type,C=x&&x._type;if(w===Wt&&(v==")"||v=="]")&&(t=!0),v==Wt&&(i=!1),v=="TAG_END"&&(i=_),t6[v]&&(n=!0,t=!0,v=="FOR"&&(r=!0)),l=!1,f=!1,!t&&w==Wt&&x){var A=v&&dh[v],E=C&&_h[C];l=(x.generated&&C=="{"||E)&&A,f=E&&A,C=="TAG_START"&&v!="TAG_END"&&E&&(f=!1)}if(a=!1,o=!1,(w==Ps||w==An||w==Wt)&&(n=!1,t=!1),w==Ps&&(i=!1),w=="?"&&_&&!_.spaced&&(g.call=!0),g.fromThen){h+=1;continue}if(!(l||f||_&&_.spaced&&(_.call||dh[v])&&(_h[w]||!(g.spaced||g.newLine)&&J5[w]))){h+=1;continue}if(w===Wt&&C=="TAG_START"&&dh[v]&&v!="TAG_END"){h+=1;continue}if(i&&C!=="TAG_START"&&v!=="TAG_END"){if(w===Wt){h+=1;continue}n=!0}let S=new En("CALL_START","(",-1,0);S.generated=!0,e.splice(h,0,S),s.detectEnd(h+1,b,d),_._type=="?"&&(_._type="FUNC_EXIST"),h+=2,n=!1,t=!1,r=!1}};yt.prototype.indentCondition=function(s,e,t){var r=s._type;return X5[r]&&s._value!==";"&&!(r=="ELSE"&&this._starter!="IF"&&this._starter!="THEN")};yt.prototype.indentAction=function(s,e,t){var r=this.tokenType(e-1)===","?e-1:e;t.splice(r,0,fp)};yt.prototype.addImplicitIndentation=function(){for(var s={OUTDENT:1,TERMINATOR:1,FINALLY:1},e=0,t=this._tokens,r;e<t.length;){var i=t[e],n=i._type,a=this.tokenType(e+1);if(n===Ps&&a===ph){t.splice(e,1);continue}if((n===Y5||n==="CATCH_VAR")&&s[this.tokenType(e+1)]){t.splice(e+1,0,Er(Wt,"2"),Er(An,"2")),e+=3;continue}if(W5[n]&&a!=Wt&&a!="BLOCK_PARAM_START"&&!(n=="ELSE"&&a=="IF")&&n!="ELIF"){this._starter=r=n;var o=Er(Wt,"2");r===ph&&(o.fromThen=!0),o.generated=!0,t.splice(e+1,0,o),this.detectEnd(e+2,this.indentCondition,this.indentAction),n===ph&&t.splice(e,1)}e++}};yt.prototype.tagPostfixConditionals=function(){var s=this,e=function(r,i,n){return r._type===Ps||r._type===Wt},t=function(r,i,n,a){if(r._type!=Wt)if(a.unfinished){let o=Er("EMPTY_BLOCK","");return n.splice(i,0,o)}else return fo(a.original,"POST_"+a.original._type)};return s.scanTokens(function(r,i,n){var a=r._type;if(!(a=="IF"||a=="FOR"))return 1;let o=n[i-1]&&e(n[i-1]);return s.detectEnd(i+1,e,t,{original:r,unfinished:o}),1})};yt.prototype.type=function(s){throw"deprecated";var e};yt.prototype.injectToken=function(s,e){return this};yt.prototype.tokenType=function(s){if(s<0||s>=this._tokens.length)return null;var e=this._tokens[s];return e&&e._type};var Oi=function(){var s=function(gn,k,rr,O){for(rr=rr||{},O=gn.length;O--;rr[gn[O]]=k);return rr},e=[1,4],t=[1,6],r=[1,7],i=[1,16],n=[1,17],a=[1,42],o=[1,43],l=[1,44],f=[1,45],h=[1,84],p=[1,47],m=[1,49],d=[1,130],b=[1,48],g=[1,132],w=[1,112],_=[1,138],x=[1,139],v=[1,110],C=[1,129],A=[1,136],E=[1,142],S=[1,131],T=[1,143],L=[1,100],y=[1,101],M=[1,102],j=[1,103],P=[1,104],W=[1,105],J=[1,106],ae=[1,92],ce=[1,93],he=[1,111],de=[1,88],Je=[1,50],lt=[1,19],Z=[1,73],_e=[1,72],U=[1,107],fe=[1,69],te=[1,128],V=[1,108],Ae=[1,37],Ie=[1,38],F=[1,115],Q=[1,114],ee=[1,36],G=[1,135],se=[1,89],re=[1,90],q=[1,91],N=[1,98],R=[1,51],D=[1,57],B=[1,64],H=[1,86],ie=[1,127],Y=[1,109],ne=[1,137],pe=[1,79],oe=[1,94],$=[1,122],z=[1,123],me=[1,124],K=[1,140],X=[1,141],ge=[1,83],be=[1,121],ke=[1,68],xe=[1,70],ve=[1,71],we=[1,74],Te=[1,75],mt=[1,145],tt=[1,6,15],da=[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],Me=[1,153],Fe=[1,150],Ge=[1,151],$e=[1,155],Ue=[1,156],He=[1,158],Ze=[1,159],Ye=[1,160],Ce=[1,152],ze=[1,154],Oe=[1,157],Wu=[1,163],Xu=[1,164],_a=[1,172],Le=[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],f2=[2,470],p2=[1,180],d2=[1,177],_2=[1,178],m2=[1,173],g2=[1,179],cr=[1,185],ma=[1,188],Ju=[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],Zu=[1,6,15,25,39,88,90,91,93,114,223,224,279,289,290],Qu=[1,191],ef=[2,348],tf=[1,194],ut=[1,200],sf=[1,202],v2=[1,212],y2=[1,213],Se=[1,219],Ee=[1,218],gt=[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],rf=[2,368],Ot=[1,222],Lt=[1,223],b2=[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],es=[2,362],ga=[6,31,91,94,128,147,163,175,176,177,178,179,180,181,183,184,185,189,213,214],sn=[1,262],rn=[1,261],x2=[41,88,211],va=[1,265],w2=[1,6,15,25,39,88,90,91,93,103,114,223,224,279,289,290],Yt=[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],k2=[1,273],$r=[1,278],Hs=[1,279],nf=[1,275],Ct=[1,283],$s=[1,281],j1=[1,286],B1=[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],Us=[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],mi=[1,315],Nt=[1,316],af=[1,318],of=[2,385],ya=[1,332],ba=[1,327],xa=[1,321],wa=[1,326],lf=[1,334],hf=[1,336],cf=[1,344],uf=[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],ff=[41,88,211,260,323],z1=[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],T2=[2,8],pf=[88,90,91],nn=[1,6,15,147],an=[1,382],kr=[1,386],Tr=[1,387],ka=[1,398],gi=[1,400],Ys=[1,402],on=[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],df=[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],H1=[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],_f=[6,15,31,47,93,103,186,219,253,256,265,294],mf=[1,414],$1=[1,419],vt=[6,31,91,94,128,147,163,176,177,178,179,180,181,183,184,185,189,213,214],ln=[1,441],hn=[1,440],U1=[6,31,41,91,94,128,147,163,175,176,177,178,179,180,181,183,184,185,187,189,213,214],S2=[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],ur=[6,14],It=[2,307],E2=[1,446],Ta=[6,14,15,65,164],gf=[2,490],vi=[1,453],Ks=[6,14,15,32,65,164,212,255],Y1=[2,311],Sa=[1,464],Ea=[1,465],vf=[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],A2=[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],cn=[325,326],K1=[65,325,326],yf=[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],bf=[1,478],un=[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],yi=[1,495],bi=[1,496],fr=[1,502],xi=[1,491],I2=[1,488],wi=[1,494],Ur=[1,499],Yr=[1,500],xf=[1,507],Tt=[6,14,15,43,65],q1=[6,14,15,43,65,145],Aa=[6,14,15,43,65,145,147],wf=[65,230,231],kf=[1,520],Tf=[2,304],Sf=[91,103],Ia=[11,12,31,41,65,88,91,103,200,211,230,231,241],Ef=[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],Af=[1,6,13,14,15,32,43,47,65,93,112,145,164,186,196,200,212,222,230,231,255,298,311,327],ki=[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],fn=[1,538],Kr=[6,15,138,148,182],W1=[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],X1=[15,316,331],If=[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],Nf=[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],qs=[6,14,15],Na=[2,308],N2=[1,598],J1=[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],Ra=[1,603],Oa=[1,604],Rf=[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],R2=[1,609],Ws=[32,65,222,230,231],Of=[32,65,147,222,230,231],Lf=[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],Kt=[6,15],Cf=[1,634],O2=[1,637],L2=[1,638],Sr=[6,15,47,93,186],qr=[6,11,12,15,31,47,93,147,186,287],Mf=[1,652],Df=[88,90,91,93,211],Pf=[1,662],Vf=[1,663],Ff=[230,231],bs=[1,669],Gf=[1,678],C2=[1,679],ts=[1,709],ss=[1,699],rs=[1,706],is=[1,707],ns=[1,708],as=[1,695],os=[1,696],ls=[1,698],hs=[1,702],cs=[1,703],us=[1,704],fs=[1,705],jf=[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],Bf=[13,14,65],Z1=[1,724],Wr=[1,726],Xr=[1,728],La=[6,15,31,47,93,103,147,186,219,253],pn=[1,786],zf=[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],Hf=[1,799],$f=[6,15,65,138,148,182],dn=[1,803],_n=[1,804],mn=[1,805],Uf=[1,802],Q1=[6,15,41,62,65,105,138,148,150,151,152,155,163,166,167,168,169,170,171,172,173,174,182],qt=[6,15,41,62,65,105,138,148,150,151,152,155,163,164,166,167,168,169,170,171,172,173,174,182],eo=[1,821],Xs=[6,14,15,32,65],to=[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],M2=[1,860],D2=[1,861],Yf=[1,875],Kf=[65,164],qf=[1,878],so=[41,62,65,105,150,151,152,155,163,164,166,167,168,169,170,171,172,173,174],Wf=[150,151,152,164],Xf={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(k,rr,O,Mt,u){var c=u.length-1;switch(Mt){case 1:return k.$=new O.Root([]);case 2:return k.$=new O.Root(u[c]);case 3:return k.$=u[c-1];case 4:case 11:k.$=new O.Block([]);break;case 5:k.$=new O.Block([]).add(u[c]);break;case 6:case 424:k.$=u[c-2].break(u[c-1]).add(u[c]);break;case 7:case 425:k.$=u[c-1].break(u[c]);break;case 8:k.$=new O.Terminator(u[c]);break;case 9:k.$=new O.TypeAnnotation(u[c]);break;case 10:k.$=new O.Generics(u[c]);break;case 12:k.$=new O.Block([]).indented(u[c-1],u[c]);break;case 13:case 98:case 153:case 159:case 237:case 420:k.$=u[c-1].indented(u[c-2],u[c]);break;case 14:case 421:k.$=u[c-1].prebreak(u[c-2]).indented(u[c-3],u[c]);break;case 15:k.$=new O.Block([]).indented(u[c-2],u[c]);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:k.$=u[c];break;case 18:k.$=u[c].option("block",!0);break;case 24:case 48:case 50:k.$=O.GLOBAL(u[c],u[c-1]);break;case 25:case 438:k.$=O.DECLARE(u[c],u[c-1]);break;case 29:case 125:k.$=new O.Literal(u[c]);break;case 30:k.$=new O.BreakStatement(u[c]);break;case 31:k.$=new O.BreakStatement(u[c-3],u[c-1]);break;case 32:k.$=new O.ContinueStatement(u[c]);break;case 33:k.$=new O.ContinueStatement(u[c-3],u[c-1]);break;case 34:k.$=new O.DebuggerStatement(u[c]);break;case 35:k.$=new O.ExtendDeclaration(u[c-1],null,u[c]).set({instanceOnly:!0,extension:u[c-2]});break;case 36:case 54:case 439:k.$=u[c].addEnv(u[c-1]);break;case 37:k.$=new O.ExportNamedDeclaration(u[c-3],[u[c-1]]).setEnds(u[c-3],u[c]);break;case 38:k.$=new O.ExportNamedDeclaration(u[c-5],[u[c-3]],u[c]).setEnds(u[c-5],u[c]);break;case 39:k.$=new O.ExportAllDeclaration(u[c-3],[new O.ExportAllSpecifier(u[c-2])],u[c]).setEnds(u[c-3],u[c]);break;case 40:k.$=new O.ExportAllDeclaration(u[c-5],[new O.ExportAllSpecifier(u[c-4],u[c-2])],u[c]).setEnds(u[c-5],u[c]);break;case 41:k.$=new O.Export(u[c]).set({keyword:u[c-1]}).setEnds(u[c-1],u[c]);break;case 42:k.$=new O.Export(u[c]).set({keyword:u[c-2],default:u[c-1]}).setEnds(u[c-2],u[c]);break;case 53:k.$=new O.ImportDefaultSpecifier(u[c]);break;case 55:k.$=new O.ImportDeclaration(u[c-1],null,u[c]);break;case 56:case 58:k.$=new O.ImportDeclaration(u[c-3],[u[c-2]],u[c]);break;case 57:k.$=new O.ImportTypeDeclaration(u[c-4],[u[c-2]],u[c]);break;case 59:k.$=new O.ImportDeclaration(u[c-4],null,u[c]);break;case 60:k.$=new O.ImportDeclaration(u[c-5],[u[c-3]],u[c]);break;case 61:k.$=new O.ImportTypeDeclaration(u[c-6],[u[c-3]],u[c]);break;case 62:k.$=new O.ImportDeclaration(u[c-5],[u[c-4],u[c-2]],u[c]);break;case 63:k.$=new O.ImportDeclaration(u[c-7],[u[c-6],u[c-3]],u[c]);break;case 65:k.$=new O.ImportNamespaceSpecifier(new O.Literal(u[c-2]),u[c]);break;case 66:k.$=new O.ESMSpecifierList([]).add(u[c]);break;case 67:case 109:case 158:case 169:case 179:case 241:case 387:case 391:case 448:case 483:k.$=u[c-2].add(u[c]);break;case 68:k.$=u[c-3].add(u[c]);break;case 69:case 209:k.$=u[c-2];break;case 70:k.$=u[c-3];break;case 71:case 245:case 394:case 487:k.$=u[c-5].concat(u[c-2]);break;case 72:case 73:case 74:k.$=new O.ImportSpecifier(u[c]);break;case 75:k.$=new O.ImportSpecifier(u[c-2],u[c]);break;case 76:k.$=new O.ImportSpecifier(new O.Literal(u[c]));break;case 77:k.$=new O.ImportSpecifier(new O.Literal(u[c-2]),u[c]);break;case 78:k.$=new O.Require(u[c]).set({keyword:u[c-1]});break;case 99:case 104:k.$=new O.Identifier(u[c]);break;case 100:k.$=new O.SymbolIdentifier(u[c]);break;case 101:k.$=new O.InterpolatedSymbolIdentifier(u[c-1],u[c]);break;case 102:k.$=new O.DecoratorIdentifier(u[c]);break;case 103:k.$=new O.MixinIdentifier(u[c]);break;case 105:k.$=new O.Argvar(u[c]).setEnds(u[c],u[c]);break;case 106:k.$=new O.Symbol(u[c]);break;case 107:k.$=new O.Decorator(u[c]);break;case 108:k.$=new O.Decorator(u[c-1]).set({params:u[c]});break;case 110:case 312:case 533:k.$=[u[c]];break;case 111:case 548:k.$=u[c-1].concat(u[c]);break;case 112:k.$=new O.NumWithUnit(u[c-1],u[c]);break;case 113:k.$=new O.Num(u[c]);break;case 114:case 117:k.$=new O.Str(u[c]);break;case 118:k.$=new O.InterpolatedString([],{open:u[c]});break;case 119:case 139:case 157:case 171:case 172:case 181:case 182:case 230:case 233:k.$=u[c-1].add(u[c]);break;case 120:k.$=u[c]?u[c-1].add(u[c]):u[c-1];break;case 121:case 141:k.$=u[c-1].option("close",u[c]);break;case 122:k.$=null;break;case 123:case 225:case 226:case 234:case 238:case 293:case 488:k.$=u[c-1];break;case 126:k.$=new O.RegExp(u[c]);break;case 127:k.$=new O.Bool(u[c]);break;case 128:k.$=new O.True(u[c]);break;case 129:k.$=new O.False(u[c]);break;case 130:k.$=new O.Nil(u[c]);break;case 131:k.$=new O.Undefined(u[c]);break;case 132:case 133:k.$=new O.Return(u[c]).set({keyword:u[c-1]});break;case 134:k.$=new O.Return().set({keyword:u[c]});break;case 135:case 136:k.$=new O.Yield(u[c]).set({keyword:u[c-1]});break;case 137:k.$=new O.Yield().set({keyword:u[c]});break;case 138:k.$=new O.Selector([],{type:u[c],open:u[c]});break;case 140:case 231:k.$=u[c-3].add(u[c-1]);break;case 142:k.$=u[c-1].setEnds({open:u[c-2],close:u[c]}).setEnds(u[c-2],u[c]);break;case 143:k.$=u[c-2].set({body:u[c],open:u[c-3],close:u[c-1]});break;case 145:case 146:case 259:k.$=new O.TagTypeIdentifier(u[c]);break;case 147:k.$=new O.ExpressionNode(u[c]);break;case 148:k.$=new O.TagTypeIdentifier("div");break;case 149:k.$=new O.StyleRuleSet(u[c-2],u[c-1]).set({name:u[c-3]});break;case 150:k.$=u[c].set({toplevel:!0});break;case 151:k.$=u[c].set({local:u[c-1]});break;case 152:k.$=new O.StyleBody([]).indented(u[c-2],u[c]);break;case 154:k.$=new O.StyleBody([]);break;case 156:k.$=new O.StyleBody([u[c]]);break;case 161:k.$=new O.StyleRuleSet(u[c-2],u[c-1]);break;case 162:case 163:k.$=new O.StyleDeclaration(u[c-2],u[c].set({parens:!1}));break;case 164:k.$=new O.StyleProperty([u[c]]);break;case 168:case 178:k.$=new O.StyleExpressions([u[c]]);break;case 170:case 180:k.$=new O.StyleExpression().add(u[c]);break;case 173:case 183:k.$=u[c-2].addParam(u[c],u[c-1]);break;case 176:k.$=new O.StyleOperation([u[c-2],u[c-1],u[c]]);break;case 177:k.$=u[c-2].add([u[c-1],u[c]]);break;case 184:k.$=new O.StyleInterpolationExpression(u[c-1]).setEnds(u[c-2],u[c]);break;case 185:case 187:k.$=u[c-1].set({unit:u[c]});break;case 186:k.$=new O.StyleParens(u[c-1]).setEnds(u[c-2],u[c]);break;case 188:k.$=new O.StyleColor(u[c]);break;case 189:k.$=new O.StyleColorMix(u[c-3],u[c-1].setEnds(u[c-2],u[c])).set({params:u[c-1]}).setEnds(u[c-3],u[c]);break;case 191:k.$=new O.StyleVar(u[c]);break;case 192:case 194:k.$=new O.StyleDimension(u[c]);break;case 195:k.$=new O.StyleNumber(u[c]);break;case 198:k.$=new O.StyleURL(u[c]);break;case 199:k.$=new O.StyleFunction(u[c-3],u[c-1].setEnds(u[c-2],u[c])).setEnds(u[c-3],u[c]);break;case 200:k.$=new O.StyleIdentifier(u[c]);break;case 201:k.$=u[c].set({op:u[c-1]});break;case 202:k.$=new O.Tag({type:u[c-1],reference:u[c]});break;case 203:k.$=new O.Tag({type:u[c]});break;case 204:k.$=u[c-1].addPart(u[c],O.TagId);break;case 205:case 206:k.$=u[c-1].addPart(new O.IdentifierExpression(u[c].cloneSlice(1)),O.TagId);break;case 207:k.$=u[c-1].addPart(u[c],O.TagFlag);break;case 208:k.$=u[c-1].addPart(u[c],O.TagAttr);break;case 210:k.$=u[c-3].addPart(new O.StyleRuleSet(null,u[c-1]),O.TagFlag);break;case 211:k.$=u[c-4].addPart(new O.StyleRuleSet(null,u[c-1]),O.TagFlag);break;case 212:k.$=u[c-1].addPart(new O.MixinIdentifier(u[c]),O.TagFlag);break;case 213:case 214:k.$=u[c-2].addPart(u[c],O.TagHandler);break;case 215:k.$=u[c-3].addPart(u[c].prepend("_"),O.TagFlag);break;case 216:k.$=u[c-3].addPart(u[c].prepend("!"),O.TagFlag);break;case 217:k.$=u[c-2].addPart(u[c],O.TagFlag);break;case 218:k.$=u[c-2].addPart(u[c],O.TagId);break;case 219:k.$=u[c-2].addPart(u[c-1],O.TagSep).addPart(u[c],O.TagAttr);break;case 220:k.$=u[c-2].addPart(new O.ArgList([]),O.TagArgList);break;case 221:case 223:k.$=u[c-3].addPart(u[c-1],O.TagArgList);break;case 222:k.$=u[c-2].addPart(null,O.TagArgList);break;case 224:k.$=u[c-1].addPart(u[c],O.TagSep);break;case 227:k.$=u[c-2].addPart(u[c],O.TagAttrValue,u[c-1]);break;case 228:k.$=new O.IdentifierExpression(u[c]);break;case 229:case 277:case 278:k.$=new O.IdentifierExpression(u[c-1]);break;case 232:k.$=new O.TagFlag;break;case 235:k.$=new O.TagBody([]).indented(u[c-1],u[c]);break;case 236:k.$=new O.TagBody([]).indented(u[c-2],u[c]);break;case 239:k.$=new O.TagBody([u[c]]);break;case 240:k.$=new O.TagBody([]).add(u[c]);break;case 242:case 388:case 392:case 484:k.$=u[c-3].add(u[c-1]).add(u[c]);break;case 243:case 485:k.$=u[c-5].add(u[c-1]).add(u[c]);break;case 244:case 393:case 486:k.$=u[c-2].indented(u[c-3],u[c]);break;case 247:case 491:k.$=new O.Splat(u[c]).set({keyword:u[c-1]});break;case 251:k.$=u[c].set({inTagTree:!0});break;case 253:k.$=u[c].set({extension:!0});break;case 254:k.$=u[c].set({local:!0});break;case 255:k.$=new O.TagDeclaration(u[c]).set({keyword:u[c-1]});break;case 256:k.$=new O.TagDeclaration(u[c-1],null,u[c]).set({keyword:u[c-2]});break;case 257:k.$=new O.TagDeclaration(u[c-2],u[c]).set({keyword:u[c-3],extends:u[c-1]});break;case 258:k.$=new O.TagDeclaration(u[c-3],u[c-1],u[c]).set({keyword:u[c-4],extends:u[c-2]});break;case 260:k.$=new O.TagIdRef(u[c]);break;case 262:k.$=new O.Assign(u[c-1],u[c-2],u[c]).setEnds(u[c-2],u[c]);break;case 263:case 347:k.$=new O.Assign(u[c-3],u[c-4],u[c-1].indented(u[c-2],u[c]));break;case 264:k.$=new O.ObjRestAttr(u[c]).set({spread:u[c-1]});break;case 265:k.$=u[c].set({inObject:!0});break;case 266:k.$=new O.ObjAttr(u[c]);break;case 267:k.$=new O.ObjAttr(u[c-2],u[c]);break;case 268:k.$=new O.ObjAttr(u[c-4],u[c-1].indented(u[c-2],u[c]));break;case 269:k.$=new O.ObjAttr(u[c-2],null,u[c]);break;case 270:k.$=new O.ObjAttr(u[c-4],null,u[c-1].indented(u[c-2],u[c]));break;case 273:case 300:case 336:case 341:case 354:case 371:case 418:case 462:case 478:case 507:case 530:k.$=O.SETTYPE(u[c-1],u[c]);break;case 280:k.$=new O.Comment(u[c],!0);break;case 281:k.$=new O.Comment(u[c],!1);break;case 285:k.$=new O.Begin(u[c]);break;case 286:k.$=new O.Lambda([],u[c],null,null,{bound:!0,keyword:u[c-1]});break;case 287:k.$=new O.Lambda(u[c-2],u[c],null,null,{bound:!0,keyword:u[c-4]});break;case 289:case 345:case 433:case 434:k.$=u[c].set({static:u[c-1]});break;case 290:k.$=new O.MethodDeclaration(u[c-1],u[c],u[c-2],u[c-4],u[c-3]).set({def:u[c-5],keyword:u[c-5],datatype:u[c-2].option("datatype")});break;case 291:k.$=new O.MethodDeclaration(u[c-1],u[c],u[c-2],null).set({def:u[c-3],keyword:u[c-3],datatype:u[c-2].option("datatype")});break;case 294:k.$={static:!0};break;case 295:k.$={};break;case 298:k.$=u[c].set({as:"property"});break;case 299:k.$=new O.InterpolatedIdentifier(u[c-1]);break;case 303:k.$=new O.Block([]).set({end:u[c]._loc});break;case 311:k.$=[];break;case 313:k.$=u[c-2].concat(u[c]);break;case 321:case 322:case 330:k.$=new O.Param(u[c]);break;case 324:k.$=u[c].set({splat:u[c-1]});break;case 325:k.$=u[c].set({blk:u[c-1]});break;case 326:k.$=new O.Param(u[c-2].value(),u[c]).set({datatype:u[c-2].option("datatype")});break;case 327:case 328:k.$=new O.Param(u[c-2],u[c]);break;case 329:k.$=new O.RestParam(u[c]);break;case 331:k.$=O.SETTYPE(new O.Param(u[c-1]),u[c]);break;case 332:k.$=O.SPLAT(u[c]);break;case 333:k.$=new O.GlobalDeclaration(u[c-2],u[c]).set({keyword:u[c-3],op:u[c-1]});break;case 334:k.$=new O.GlobalDeclaration(u[c]).set({keyword:u[c-1]});break;case 344:k.$=new O.VarReference(u[c],u[c-1]);break;case 346:k.$=new O.Assign(u[c-1],u[c-2],u[c]);break;case 348:k.$=new O.EnvFlag(u[c]);break;case 351:case 414:k.$=new O.VarOrAccess(u[c]);break;case 352:case 415:k.$=new O.Access(".",null,u[c]);break;case 355:case 416:case 578:k.$=O.OP(u[c-1],u[c-2],u[c]);break;case 356:case 417:k.$=new O.IndexAccess(u[c-1],u[c-2],u[c]);break;case 357:k.$=new O.IndexAccess(".",u[c-3],u[c-1].setEnds(u[c-2],u[c]));break;case 358:k.$=O.OP(u[c-3],u[c-4],u[c-1]);break;case 361:k.$=new O.Super(u[c]);break;case 365:case 366:k.$=new O.TaggedTemplate(u[c-1],u[c]);break;case 367:k.$=new O.Await(u[c]).set({keyword:u[c-1]});break;case 374:k.$=O.ARGUMENTS;break;case 381:k.$=new O.AmperRef(u[c]);break;case 382:k.$=new O.BangCall(u[c-1]).set({keyword:u[c]});break;case 383:k.$=new O.Index(u[c]);break;case 384:k.$=new O.Obj(u[c-2],u[c-3].generated).setEnds(u[c-3],u[c]);break;case 385:k.$=new O.AssignList([]);break;case 386:k.$=new O.AssignList([u[c]]);break;case 389:k.$=u[c-5].concat(u[c-2].indented(u[c-3],u[c]));break;case 390:k.$=new O.ExpressionList([]).add(u[c]);break;case 396:case 405:k.$=u[c].set({abstract:u[c-1]});break;case 397:case 406:k.$=u[c].set({extension:u[c-1]});break;case 398:k.$=new O.ClassDeclaration(u[c-1],null,u[c]).set({keyword:u[c-2]});break;case 399:k.$=new O.ClassDeclaration(u[c],null,[]).set({keyword:u[c-1]});break;case 400:k.$=new O.ClassDeclaration(null,null,u[c]).set({keyword:u[c-1]});break;case 401:k.$=new O.ClassDeclaration(u[c-2],u[c],[]).set({keyword:u[c-3],extends:u[c-1]});break;case 402:k.$=new O.ClassDeclaration(u[c-3],u[c-1],u[c]).set({keyword:u[c-4],extends:u[c-2]});break;case 403:k.$=new O.ClassDeclaration(null,u[c-1],u[c]).set({keyword:u[c-3],extends:u[c-2]});break;case 404:k.$=u[c].set({keyword:u[c-1]});break;case 407:k.$=new O.ClassDeclaration(u[c-1],null,u[c]);break;case 408:k.$=new O.ClassDeclaration(u[c],null,[]);break;case 409:k.$=new O.ClassDeclaration(null,null,u[c]);break;case 410:k.$=new O.ClassDeclaration(u[c-2],u[c],[]).set({extends:u[c-1]});break;case 411:k.$=new O.ClassDeclaration(u[c-3],u[c-1],u[c]).set({extends:u[c-2]});break;case 412:k.$=new O.ClassDeclaration(null,u[c-1],u[c]).set({extends:u[c-2]});break;case 419:k.$=new O.ClassBody([]).indented(u[c-1],u[c]);break;case 422:k.$=new O.ClassBody([]).indented(u[c-2],u[c]);break;case 423:k.$=new O.ClassBody([]).add(u[c]);break;case 428:k.$=u[c-1].concat([u[c]]);break;case 430:k.$=new O.ClassRelation(u[c]).set({keyword:u[c-1]});break;case 437:k.$=u[c].set({protected:u[c-1]});break;case 440:k.$=u[c-2].set({value:u[c],op:u[c-1]});break;case 442:k.$=u[c-2].set({wrapper:u[c]});break;case 443:k.$=u[c-1].set({wrapper:u[c]});break;case 444:k.$=new O.Descriptor(u[c]);break;case 445:k.$=new O.Descriptor(u[c-1]);break;case 446:k.$=u[c-1].add(u[c],"!");break;case 447:k.$=u[c-3].add(u[c-1],"=");break;case 450:k.$=u[c-2].set({default:u[c]});break;case 451:k.$=u[c-1].set({callback:u[c]});break;case 454:k.$=u[c-2].set({watch:u[c]});break;case 459:k.$=new O.ClassField(u[c]);break;case 460:k.$=new O.ClassProperty(u[c]).set({keyword:u[c-1]});break;case 461:k.$=new O.ClassAttribute(u[c]).set({keyword:u[c-1]});break;case 463:k.$=u[c-2].set({controller:u[c-1]});break;case 465:k.$=new O.RegExpIdentifier(u[c]);break;case 467:k.$=[u[c-2],u[c-1]];break;case 468:k.$=new O.Call(u[c-2],u[c],u[c-1]);break;case 469:k.$=u[c-1].addBlock(u[c]);break;case 470:k.$=!1;break;case 471:k.$=!0;break;case 472:k.$=new O.ArgList([]).setEnds(u[c-1],u[c]);break;case 473:k.$=u[c-2].setEnds(u[c-3],u[c]);break;case 474:k.$=new O.This(u[c]);break;case 475:k.$=new O.Self(u[c]);break;case 476:k.$=new O.Arr(new O.ArgList([])).setEnds(u[c-1],u[c]);break;case 477:k.$=new O.Arr(u[c-2]).setEnds(u[c-3],u[c]);break;case 479:k.$="..";break;case 480:k.$="...";break;case 481:k.$=O.OP(u[c-2],u[c-3],u[c-1]);break;case 482:k.$=new O.ArgList([u[c]]);break;case 493:k.$=new O.DoPlaceholder(u[c]);break;case 496:k.$=[].concat(u[c-2],u[c]);break;case 497:k.$=new O.Try(u[c]);break;case 498:k.$=new O.Try(u[c-1],u[c]);break;case 499:k.$=new O.Try(u[c-1],null,u[c]);break;case 500:k.$=new O.Try(u[c-2],u[c-1],u[c]);break;case 501:k.$=new O.Finally(u[c]);break;case 502:k.$=new O.Catch(u[c],u[c-1]);break;case 503:k.$=new O.Catch(u[c],null);break;case 504:k.$=new O.Throw(u[c]);break;case 505:k.$=new O.Parens(u[c-1],u[c-2],u[c]);break;case 506:k.$=new O.ExpressionWithUnit(new O.Parens(u[c-2],u[c-3],u[c-1]),u[c]);break;case 508:k.$=new O.While(u[c],{keyword:u[c-1]});break;case 509:k.$=new O.While(u[c-2],{guard:u[c],keyword:u[c-3]});break;case 510:k.$=new O.While(u[c],{invert:!0,keyword:u[c-1]});break;case 511:k.$=new O.While(u[c-2],{invert:!0,guard:u[c],keyword:u[c-3]});break;case 512:case 520:k.$=u[c-1].addBody(u[c]);break;case 513:case 514:k.$=u[c].addBody(O.Block.wrap([u[c-1]]));break;case 516:k.$=new O.While(new O.Literal("true",{keyword:u[c-1]})).addBody(u[c]);break;case 517:k.$=new O.While(new O.Literal("true",{keyword:u[c-1]})).addBody(O.Block.wrap([u[c]]));break;case 518:case 519:k.$=u[c].addBody([u[c-1]]);break;case 521:k.$=u[c-3].addBody(u[c-2]).addElse(u[c]);break;case 524:k.$={source:new O.ValueNode(u[c])};break;case 525:k.$=u[c].configure({own:u[c-1].own,await:u[c-1].await,name:u[c-1][0],index:u[c-1][1],keyword:u[c-1].keyword,params:u[c-1]});break;case 526:k.$=(u[c].keyword=u[c-1])&&u[c];break;case 527:k.$=(u[c].await=u[c-1])&&(u[c].keyword=u[c-2])&&u[c];break;case 528:k.$=(u[c].own=!0)&&(u[c].keyword=u[c-2])&&u[c];break;case 534:k.$=[u[c-2],u[c]];break;case 535:k.$=[u[c-4],u[c-2],u[c]];break;case 536:k.$=new O.ForIn({source:u[c]});break;case 537:k.$=new O.ForOf({source:u[c],object:!0});break;case 538:k.$=new O.ForIn({source:u[c-2],guard:u[c]});break;case 539:k.$=new O.ForOf({source:u[c-2],guard:u[c],object:!0});break;case 540:k.$=new O.ForIn({source:u[c-2],step:u[c]});break;case 541:k.$=new O.ForIn({source:u[c-4],guard:u[c-2],step:u[c]});break;case 542:k.$=new O.ForIn({source:u[c-4],step:u[c-2],guard:u[c]});break;case 543:k.$=new O.Switch(u[c-3],u[c-1]);break;case 544:k.$=new O.Switch(u[c-5],u[c-3],u[c-1]);break;case 545:k.$=new O.Switch(null,u[c-1]);break;case 546:k.$=new O.Switch(null,u[c-3],u[c-1]);break;case 549:k.$=[new O.SwitchCase(u[c-1],u[c])];break;case 550:k.$=[new O.SwitchCase(u[c-2],u[c-1])];break;case 551:k.$=new O.If(u[c-1],u[c],{type:u[c-2]});break;case 552:k.$=u[c-4].addElse(new O.If(u[c-1],u[c],{type:u[c-2]}));break;case 553:k.$=u[c-3].addElse(new O.If(u[c-1],u[c],{type:u[c-2]}));break;case 554:k.$=u[c-2].addElse(u[c].set({keyword:u[c-1]}));break;case 556:k.$=new O.If(u[c],new O.Block([u[c-2]]),{type:u[c-1],statement:!0});break;case 557:k.$=new O.If(u[c],new O.Block([u[c-2]]),{type:u[c-1]});break;case 558:k.$=O.If.ternary(u[c-4],u[c-2],u[c]);break;case 559:k.$=O.Instantiation.for(u[c],u[c-1]).setEnds(u[c-1],u[c]);break;case 560:case 561:case 562:case 563:case 564:k.$=O.OP(u[c-1],u[c]).setEnds(u[c-1],u[c]);break;case 565:case 566:k.$=new O.UnaryOp(u[c-1],null,u[c]).setEnds(u[c-1],u[c]);break;case 567:case 568:k.$=new O.UnaryOp(u[c],u[c-1],null,!0).setEnds(u[c-1],u[c]);break;case 569:case 570:k.$=new O.Op(u[c-1],u[c-2],u[c]).setEnds(u[c-2],u[c]);break;case 571:case 572:case 573:case 574:case 575:case 577:k.$=O.OP(u[c-1],u[c-2],u[c]).setEnds(u[c-2],u[c]);break;case 576:k.$=O.OP(u[c-1],u[c-3],u[c]).invert(u[c-2]);break;case 579:k.$=O.OP(u[c-3],u[c-4],u[c-1].indented(u[c-2],u[c]));break}},table:[{1:[2,1],3:1,4:2,5:3,7:e,8:5,13:t,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:f,35:31,36:h,37:118,39:p,40:m,41:d,51:113,52:32,53:33,54:77,56:b,62:g,67:95,69:63,70:w,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:x,91:v,93:C,97:116,98:A,99:133,100:E,101:46,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:18,135:Je,139:lt,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{1:[3]},{1:[2,2],6:mt,9:144},{6:[1,146]},s(tt,[2,4]),s(tt,[2,5]),s(da,[2,11]),{4:148,6:[1,149],7:e,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:f,35:31,36:h,37:118,39:p,40:m,41:d,51:113,52:32,53:33,54:77,56:b,62:g,67:95,69:63,70:w,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:x,91:v,93:C,97:116,98:A,99:133,100:E,101:46,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:18,135:Je,139:lt,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(tt,[2,16]),s(tt,[2,17],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(tt,[2,18],{147:Wu}),s(tt,[2,19]),s(tt,[2,20],{317:125,320:126,309:165,315:166,310:$,312:z,318:K,319:X,335:Xu}),s(tt,[2,21],{67:95,101:167,93:C}),s(tt,[2,22]),s(tt,[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:f,35:31,36:h,37:118,39:p,40:m,41:d,51:113,52:32,53:33,54:77,56:b,62:g,67:95,69:63,70:w,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:x,91:v,93:C,97:116,98:A,99:133,100:E,101:46,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:18,135:Je,139:lt,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,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:f,35:31,36:h,37:118,39:p,40:m,41:d,51:113,52:32,53:33,54:77,56:b,62:g,67:95,69:63,70:w,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:x,91:v,93:C,97:116,98:A,99:133,100:E,101:46,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:18,135:Je,139:lt,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(tt,[2,150]),{16:170,134:18,135:Je,139:_a,203:171,204:te},s(Le,[2,82]),s(Le,[2,83],{293:174,216:175,252:176,31:f2,103:p2,219:Q,253:d2,256:_2,265:m2,294:g2}),s(Le,[2,84]),s(Le,[2,85]),s(Le,[2,86]),s(Le,[2,87]),s(Le,[2,88]),s(Le,[2,89]),s(Le,[2,90]),s(Le,[2,91]),s(Le,[2,92]),s(Le,[2,93]),s(Le,[2,94]),s(Le,[2,95]),s(Le,[2,96]),{37:182,41:d,88:_,211:cr,238:184,239:183,249:181},{18:186,51:187,223:ma,224:G,245:35,246:se,247:re,248:q},s(Ju,[2,280]),s(Ju,[2,281]),s(Qt,[2,26]),s(Qt,[2,27]),s(Qt,[2,28]),s(Qt,[2,29]),s(Qt,[2,30],{31:[1,189]}),s(Qt,[2,32],{31:[1,190]}),s(Qt,[2,34]),s(Zu,[2,110],{103:Qu}),s([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],ef,{22:192,23:193,39:tf,40:m,56:b}),{37:201,41:[1,199],45:195,57:196,58:[1,197],59:198,62:ut,63:sf,88:_},{16:209,18:214,24:v2,36:y2,41:[1,203],46:[1,204],48:205,49:[1,206],51:207,52:208,53:210,54:211,134:18,135:Je,139:lt,203:87,204:te,223:ma,224:G,245:35,246:se,247:re,248:q,268:85,269:H,270:ie},{136:[1,215]},{17:216,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(gt,rf,{147:[1,220]}),s(gt,[2,369]),s(gt,[2,370],{10:221,11:Ot,12:Lt}),s(gt,[2,372],{10:224,11:Ot,12:Lt}),s(gt,[2,373]),s(gt,[2,374]),s(gt,[2,375]),s(gt,[2,376]),s(gt,[2,377],{41:[1,226],124:[1,225],125:[1,227]}),s(gt,[2,378]),s(gt,[2,379]),s(gt,[2,380]),s(gt,[2,381]),s(Le,[2,282]),s(Le,[2,283]),s(Le,[2,284]),{17:228,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:229,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:230,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:231,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:232,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:233,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{37:118,39:Se,41:d,62:g,69:63,70:w,72:54,73:55,75:235,88:_,89:119,90:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,122:60,123:he,131:117,163:U,206:59,207:236,211:V,232:58,238:97,239:96,250:234,251:120,257:53,258:N,259:62,261:56,262:D,263:61,264:B,295:Y,296:ne},{37:118,39:Se,41:d,62:g,69:63,70:w,72:54,73:55,75:235,88:_,89:119,90:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,122:60,123:he,131:117,163:U,206:59,207:236,211:V,232:58,238:97,239:96,250:237,251:120,257:53,258:N,259:62,261:56,262:D,263:61,264:B,295:Y,296:ne},s(b2,es,{107:241,45:242,10:243,11:Ot,12:Lt,62:ut,108:T,287:[1,240],340:[1,238],341:[1,239]}),s(Le,[2,261]),s(Le,[2,555],{316:[1,244],334:[1,245]}),{5:246,13:t,14:r},{5:247,13:t,14:r},s(Le,[2,515]),{5:248,13:t,14:r},{14:[1,250],17:249,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{37:251,88:_,203:253,204:te,268:252,270:ie},s(Le,[2,395]),{268:254,270:ie},s(Le,[2,252]),s(ga,[2,148],{127:255,130:256,131:257,133:260,41:sn,88:[1,258],132:[1,259],187:rn,296:ne}),s(x2,[2,337]),s(x2,[2,338]),s(x2,[2,339]),s(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:va,33:l,34:f,36:h,39:Se,41:d,62:g,70:w,88:_,90:x,91:v,98:A,100:E,105:S,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,123:he,126:de,139:Ee,151:Z,152:_e,163:U,188:fe,204:te,211:V,218:F,219:Q,223:ee,224:G,246:se,247:re,248:q,258:N,260:R,262:D,264:B,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,314:me,328:ge,333:be,337:ke,338:xe,339:ve,340:we,341:Te}),s(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:va,33:l,34:f,36:h,39:Se,41:d,62:g,70:w,88:_,90:x,91:v,98:A,100:E,105:S,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,123:he,126:de,139:Ee,151:Z,152:_e,163:U,188:fe,204:te,211:V,218:F,219:Q,223:ee,224:G,246:se,247:re,248:q,258:N,260:R,262:D,264:B,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,314:me,328:ge,333:be,337:ke,338:xe,339:ve,340:we,341:Te}),{17:268,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(w2,[2,107],{102:269,31:va}),s(b2,[2,363],{10:270,11:Ot,12:Lt}),s(b2,[2,364]),s(gt,[2,361]),s(Yt,[2,124]),s(Yt,[2,125]),s(Yt,[2,126]),s(Yt,[2,127]),s(Yt,[2,128]),s(Yt,[2,129]),s(Yt,[2,130]),s(Yt,[2,131]),{14:k2,17:272,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,267:271,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{14:$r,17:274,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,190:276,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,212:nf,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s([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:j1},s(B1,[2,138]),s(gt,[2,81],{104:99,99:133,107:134,71:287,72:288,73:289,62:g,100:E,105:S,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,163:U}),s(Le,[2,288]),{5:290,13:t,14:r,220:[1,291]},{5:292,13:t,14:r},s(Us,[2,349]),s(Us,[2,350]),s(Us,[2,351]),s(Us,[2,352]),s(Us,[2,353]),{17:293,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:294,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:295,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{5:296,13:t,14:r,17:297,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{37:303,41:d,88:_,211:V,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:mi,37:313,38:310,67:312,88:_,89:314,90:x,91:Nt,93:C,174:[1,311],271:309},{132:af,205:317},s([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]),s([6,14,43,65],of,{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:g,88:_,90:x,91:Nt,96:ya,100:E,105:S,108:T,163:ba,200:xa,211:wa,213:Ae,214:Ie,224:G}),s(Yt,[2,113],{106:[1,333]}),s(Yt,[2,114]),s(Yt,[2,115]),s(Yt,[2,116],{92:335,109:lf,110:hf,111:j1}),{37:341,67:342,88:_,89:343,90:x,91:Nt,93:C,131:340,211:cf,225:337,227:338,232:339,295:Y,296:ne},s(Us,[2,105]),s([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]),s([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]),s(uf,[2,100]),s(ff,[2,522]),s(ff,[2,523]),s(Yt,[2,106]),s(z1,[2,118]),s(tt,[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:f,36:h,39:p,40:m,41:d,56:b,62:g,70:w,88:_,90:x,91:v,93:C,98:A,100:E,105:S,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,123:he,126:de,135:Je,139:lt,151:Z,152:_e,163:U,188:fe,204:te,211:V,213:Ae,214:Ie,218:F,219:Q,223:ee,224:G,246:se,247:re,248:q,258:N,260:R,262:D,264:B,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,310:$,312:z,314:me,318:K,319:X,328:ge,333:be,337:ke,338:xe,339:ve,340:we,341:Te}),s([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],T2),{1:[2,3]},s(da,[2,12]),{6:mt,9:144,15:[1,346]},{4:347,7:e,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:f,35:31,36:h,37:118,39:p,40:m,41:d,51:113,52:32,53:33,54:77,56:b,62:g,67:95,69:63,70:w,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:x,91:v,93:C,97:116,98:A,99:133,100:E,101:46,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:18,135:Je,139:lt,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:349,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:350,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:351,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:352,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:353,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:354,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:355,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,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:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:358,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:359,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Le,[2,514]),s(Le,[2,519]),{14:[1,361],17:360,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:362,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Le,[2,513]),s(Le,[2,518]),s(Zu,[2,111],{103:Qu}),s(tt,[2,24]),s(tt,[2,25]),s(tt,[2,151]),s(Le,[2,254]),{16:170,134:18,135:Je,139:_a},s(gt,[2,382]),{31:va,102:363},s(gt,[2,469]),{37:364,88:_,89:365,90:x,91:Nt},{17:367,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,254:366,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(pf,[2,360],{211:[1,368]}),{31:[2,471]},s(pf,[2,359]),s(nn,[2,344]),s(nn,[2,340],{10:369,11:Ot,12:Lt}),s(nn,[2,342],{10:270,11:Ot,12:Lt}),s(nn,[2,343]),{14:$r,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,190:276,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,212:nf,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(nn,[2,345]),s(Le,[2,289]),{18:186,223:ma,245:35,246:se,247:re,248:q},{17:371,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:372,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{37:373,88:_},s(tt,[2,54]),s(tt,[2,36]),{22:192,23:193,39:tf,40:m,56:b},s(tt,[2,55]),{44:[1,374],60:[1,375]},{37:201,41:[1,377],57:376,88:_},{44:[1,378]},{14:an,37:383,42:380,43:[1,379],49:kr,64:381,67:384,68:385,88:_,93:C,94:Tr},s([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]),s([44,60],[2,53]),{47:[1,388]},{14:an,37:383,42:389,49:kr,64:381,67:384,68:385,88:_,93:C,94:Tr},{44:[1,390],47:[1,391]},s(tt,[2,41]),{17:393,18:214,20:217,24:[1,394],26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,50:392,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(tt,[2,43]),s(tt,[2,44]),s(tt,[2,45]),s(tt,[2,46]),s(tt,[2,47]),{16:209,18:214,24:v2,36:y2,48:395,51:207,52:208,53:210,54:211,134:18,135:Je,139:lt,203:87,204:te,223:ma,224:G,245:35,246:se,247:re,248:q,268:85,269:H,270:ie},{203:253,204:te,268:252,270:ie},{147:Wu},{14:ka,136:gi,137:396,142:397,143:399,144:401,148:Ys},s(on,[2,367],{317:125,320:126,309:161,315:162,344:Oe}),{309:165,310:$,312:z,315:166,317:125,318:K,319:X,320:126,335:Xu},{203:171,204:te},s(Us,ef),{14:[1,404],17:403,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(gt,[2,371]),s(df,[2,9]),s(df,[2,10]),s(Yt,[2,507]),s(B1,[2,139]),{17:405,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(B1,[2,141]),s(on,[2,559],{317:125,320:126,309:161,315:162,344:Oe}),s(on,[2,560],{317:125,320:126,309:161,315:162,344:Oe}),s(H1,[2,561],{317:125,320:126,309:161,315:162,150:Me,342:Ce,344:Oe}),s(H1,[2,562],{317:125,320:126,309:161,315:162,150:Me,342:Ce,344:Oe}),s(on,[2,563],{317:125,320:126,309:161,315:162,344:Oe}),s(on,[2,564],{317:125,320:126,309:161,315:162,344:Oe}),s(Le,[2,565],{107:241,45:242,10:243,11:Ot,12:Lt,31:es,103:es,219:es,253:es,256:es,265:es,294:es,62:ut,108:T}),{31:f2,103:p2,216:175,219:Q,252:176,253:d2,256:_2,265:m2,293:174,294:g2},s(_f,rf),s(Le,[2,566],{107:241,45:242,10:243,11:Ot,12:Lt,31:es,103:es,219:es,253:es,256:es,265:es,294:es,62:ut,108:T}),s(Le,[2,567]),s(Le,[2,568]),{14:[1,407],17:406,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(gt,[2,365],{92:335,109:lf,110:hf,111:j1}),s(gt,[2,366]),s(Us,[2,354]),{5:409,13:t,14:r,333:[1,408]},{17:410,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Le,[2,497],{303:411,304:412,305:mf,306:[1,413]}),s(Le,[2,512]),s(Le,[2,520],{316:[1,415]}),{14:[1,416],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{329:417,330:418,331:$1},{14:mi,38:420},s(Le,[2,397]),s(Le,[2,253]),s(Le,[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:Ie},s(vt,[2,203],{175:[1,439]}),s(ga,[2,144]),s(ga,[2,145]),s(ga,[2,146]),s(ga,[2,147],{41:ln,187:hn}),s(U1,[2,228]),{17:442,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Qt,[2,132],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),s(Qt,[2,133]),{14:$r,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,32:[1,443],33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,190:444,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Qt,[2,135],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),s(Qt,[2,136]),s(Qt,[2,504],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),s(w2,[2,108]),s(S2,[2,478]),s(ur,It,{66:447,65:E2,164:[1,445]}),s(Ta,[2,390],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{14:k2,17:272,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,267:448,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s([6,14,65,212],gf,{317:125,320:126,309:161,315:162,297:449,150:Me,151:Fe,152:Ge,174:$e,200:[1,451],202:Ue,277:He,298:[1,450],310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(S2,[2,476]),s([6,14,212],It,{66:452,65:vi}),s(Ks,[2,482]),{14:$r,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,190:454,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:455,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Ks,[2,492]),s(Ks,[2,493]),s(Ks,[2,494]),{17:456,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(gt,[2,260]),s(uf,[2,101]),{17:458,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,112:[1,457],113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(gt,[2,78]),s(gt,[2,79]),s(gt,[2,80],{10:224,11:Ot,12:Lt}),s(gt,[2,286]),s([65,222],Y1,{221:459,235:460,238:461,239:462,240:463,37:466,41:d,88:_,200:Sa,211:cr,241:Ea}),s(Le,[2,285]),{5:467,13:t,14:r,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(vf,[2,508],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,311:[1,468],312:z,318:K,336:Ye,342:Ce,343:ze,344:Oe}),s(vf,[2,510],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,311:[1,469],312:z,318:K,336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,516]),s(A2,[2,517],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,524]),s(cn,[2,526]),{37:303,41:d,88:_,211:cr,238:305,239:304,322:470,324:302},{37:303,41:d,88:_,211:cr,238:305,239:304,322:471,324:302},s(cn,[2,533],{65:[1,472]}),s(K1,[2,529],{10:473,11:Ot,12:Lt}),s(K1,[2,531],{10:270,11:Ot,12:Lt}),s(K1,[2,532]),s(Le,[2,525]),{17:474,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:475,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(yf,[2,399],{38:476,10:479,11:Ot,12:Lt,14:mi,103:bf,174:[1,477]}),s(Le,[2,400]),{17:480,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(un,[2,413]),s(un,[2,414]),s(un,[2,415]),{6:[1,483],15:[1,481],16:487,19:489,21:485,25:yi,37:501,39:bi,51:492,67:95,85:490,88:_,89:503,90:x,91:Nt,93:C,101:46,114:fr,126:de,134:18,135:Je,139:_a,213:Ae,214:Ie,223:xi,224:G,274:482,275:484,276:486,277:I2,278:493,279:wi,280:497,288:498,289:Ur,290:Yr},{92:285,111:j1},s(yf,[2,255],{38:504,14:mi,174:[1,505]}),s(Le,[2,259]),s([6,14,43],It,{66:506,65:xf}),s(Tt,[2,386]),{17:508,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Tt,[2,265]),s(Tt,[2,266],{145:[1,509]}),s(q1,[2,276],{147:[1,510]}),s(Tt,[2,271]),{17:511,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:512,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(q1,[2,279]),s(Aa,[2,272],{10:513,11:Ot,12:Lt}),s(Aa,[2,274]),s(Aa,[2,275]),s(Aa,[2,104]),s(Yt,[2,112]),s(z1,[2,119]),s(z1,[2,120]),s(z1,[2,121]),{91:[1,516],103:[1,515],226:514},s(wf,Y1,{235:460,238:461,239:462,240:463,37:466,228:517,10:518,221:519,11:Ot,12:Lt,31:kf,41:d,88:_,91:Tf,103:Tf,200:Sa,211:cr,241:Ea}),s(Sf,[2,305]),s(Sf,[2,306]),s(Ia,[2,296]),s(Ia,[2,297]),s(Ia,[2,298]),{17:521,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(tt,[2,6]),s(da,[2,13]),{6:mt,9:144,15:[1,522]},s(da,[2,15]),s(H1,[2,569],{317:125,320:126,309:161,315:162,150:Me,342:Ce,344:Oe}),s(H1,[2,570],{317:125,320:126,309:161,315:162,150:Me,342:Ce,344:Oe}),s(Ef,[2,571],{317:125,320:126,309:161,315:162,342:Ce,344:Oe}),s(Ef,[2,572],{317:125,320:126,309:161,315:162,342:Ce,344:Oe}),s([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:Me,151:Fe,152:Ge,342:Ce,344:Oe}),s([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:Me,151:Fe,152:Ge,277:He,342:Ce,343:ze,344:Oe}),s([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:Me,151:Fe,152:Ge,174:$e,277:He,342:Ce,343:ze,344:Oe}),{17:523,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s([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:Me,151:Fe,152:Ge,342:Ce,343:ze,344:Oe}),s(Af,[2,557],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{145:[1,524],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(ki,[2,346],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),{17:525,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Af,[2,556],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(gt,[2,468]),s(Us,[2,355]),s(Us,[2,356]),{255:[1,526]},s([212,255],[2,383],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{17:367,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,254:527,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(nn,[2,341]),s(Ks,gf,{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{32:[1,528],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{32:[1,529],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(w2,[2,109]),{45:530,62:ut},{41:[1,532],59:531,63:sf},{44:[1,533]},{14:an,37:383,42:534,49:kr,64:381,67:384,68:385,88:_,93:C,94:Tr},{45:535,62:ut},{44:[1,536]},s(ur,It,{66:539,43:[1,537],65:fn}),s(Tt,[2,66]),{14:an,37:383,42:540,49:kr,64:381,67:384,68:385,88:_,93:C,94:Tr},s(Tt,[2,72],{47:[1,541]}),s(Tt,[2,73]),s(Tt,[2,74]),s(Tt,[2,76],{47:[1,542]}),s(Tt,[2,103]),{37:543,88:_},s(ur,It,{66:539,43:[1,544],65:fn}),{45:545,62:ut},{37:546,88:_},s(tt,[2,42]),s(tt,[2,49],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{16:209,18:214,24:v2,36:y2,48:547,51:207,52:208,53:210,54:211,134:18,135:Je,139:lt,203:87,204:te,223:ma,224:G,245:35,246:se,247:re,248:q,268:85,269:H,270:ie},s(tt,[2,48]),{6:mt,9:550,138:[1,548],143:549,144:401,148:Ys},s(Kr,[2,156]),{14:ka,136:gi,137:551,142:397,143:399,144:401,148:Ys},s(Kr,[2,160]),{14:[1,553],140:552},{145:[1,554],147:[1,555]},s([145,147],[2,164]),s(ki,[2,262],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),{17:556,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{43:[1,557],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(ki,[2,578],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),{17:558,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:559,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(W1,[2,554]),{5:560,13:t,14:r,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(Le,[2,498],{304:561,305:mf}),s(Le,[2,499]),{5:563,13:t,14:r,307:[1,562]},{5:564,13:t,14:r},{5:565,13:t,14:r},{329:566,330:418,331:$1},{15:[1,567],316:[1,568],330:569,331:$1},s(X1,[2,547]),{17:571,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,301:570,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Le,[2,35]),s(If,[2,142],{129:572,85:575,14:[1,573],31:[1,574],126:de}),s(vt,[2,204]),s(vt,[2,205]),s(vt,[2,206]),s(vt,[2,207]),s(vt,[2,208]),{14:ka,136:gi,137:577,142:397,143:399,144:401,148:Ys,182:[1,576]},{41:sn,133:581,181:[1,578],186:[1,579],187:rn,188:[1,580]},s(vt,[2,212]),{41:sn,133:582,187:rn},{41:sn,133:583,187:rn},{41:sn,133:584,187:rn},s(vt,[2,224],{133:585,41:sn,187:rn}),{14:$r,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,164:[1,586],188:fe,190:587,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{14:$r,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,32:[1,588],33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,190:589,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(vt,[2,225]),s(vt,[2,226]),{191:590,195:[1,591]},s(vt,[2,202]),s(U1,[2,230]),{17:592,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{43:[1,593],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(Nf,[2,472]),s([6,14,32],It,{66:594,65:vi}),s(Yt,[2,505],{106:[1,595]}),s(qs,Na,{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:f,36:h,39:Se,41:d,62:g,70:w,88:_,90:x,91:v,98:A,100:E,105:S,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,123:he,126:de,139:Ee,151:Z,152:_e,163:U,188:fe,204:te,211:V,218:F,219:Q,223:ee,224:G,246:se,247:re,248:q,258:N,260:R,262:D,264:B,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,310:$,312:z,314:me,318:K,319:X,328:ge,333:be,337:ke,338:xe,339:ve,340:we,341:Te}),{6:mt,9:597,14:N2},s(qs,It,{66:599,65:E2}),{17:600,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(J1,[2,479]),s(J1,[2,480]),{6:Ra,9:602,14:Oa,212:[1,601]},s([6,14,15,32,212],Na,{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:f,36:h,39:Se,41:d,62:g,70:w,88:_,90:x,91:v,98:A,100:E,105:S,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,123:he,126:de,139:Ee,151:Z,152:_e,163:U,188:fe,200:Hs,204:te,211:V,213:Ae,214:Ie,218:F,219:Q,223:ee,224:G,242:Ct,246:se,247:re,248:q,258:N,260:R,262:D,264:B,269:H,270:ie,295:Y,296:ne,300:$s,302:pe,308:oe,310:$,312:z,314:me,318:K,319:X,328:ge,333:be,337:ke,338:xe,339:ve,340:we,341:Te}),s(qs,It,{66:606,65:vi}),s(Ks,[2,491],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(Ks,[2,332],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(Rf,[2,122]),{112:[1,607],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{65:R2,222:[1,608]},s(Ws,[2,312]),s(Ws,[2,321],{147:[1,610]}),s(Ws,[2,322],{10:270,11:Ot,12:Lt,147:[1,611]}),s(Ws,[2,323],{147:[1,612]}),s(Ws,[2,329],{37:466,240:613,88:_}),{37:466,88:_,240:614},s(Of,[2,330],{10:615,11:Ot,12:Lt}),s(W1,[2,551]),{17:616,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:617,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(cn,[2,527]),s(cn,[2,528]),{37:303,41:d,88:_,211:cr,238:305,239:304,324:618},s(K1,[2,530]),s([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:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,311:[1,619],327:[1,620],336:Ye,342:Ce,343:ze,344:Oe}),s(Lf,[2,537],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,311:[1,621],336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,398]),{17:622,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{37:623,88:_,89:624,90:x,91:Nt},s(un,[2,418]),{14:mi,38:625,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(Le,[2,419]),{6:mt,9:627,15:[1,626]},{15:[1,629],16:487,19:489,21:485,25:yi,37:501,39:bi,51:492,67:95,85:490,88:_,89:503,90:x,91:Nt,93:C,101:46,114:fr,126:de,134:18,135:Je,139:_a,213:Ae,214:Ie,223:xi,224:G,274:628,275:484,276:486,277:I2,278:493,279:wi,280:497,288:498,289:Ur,290:Yr},s(Kt,[2,423]),s(Kt,[2,426],{67:95,101:167,51:492,278:493,280:497,288:498,37:501,89:503,276:630,25:yi,39:bi,88:_,90:x,91:Nt,93:C,114:fr,223:xi,224:G,279:wi,289:Ur,290:Yr}),s(Kt,[2,427]),s(Kt,[2,429]),{37:313,67:312,88:_,89:314,90:x,91:Nt,93:C,271:631},s(Kt,[2,431]),s(Kt,[2,432]),{37:501,51:633,88:_,89:503,90:x,91:Nt,114:fr,224:G,278:632,280:497,288:498,289:Ur,290:Yr},s(Kt,[2,435]),s(Kt,[2,436],{283:635,284:636,47:Cf,93:O2,186:L2}),{25:yi,37:501,39:bi,51:492,88:_,89:503,90:x,91:Nt,114:fr,223:xi,224:G,276:639,278:493,279:wi,280:497,288:498,289:Ur,290:Yr},{25:yi,37:501,39:bi,51:492,88:_,89:503,90:x,91:Nt,114:fr,223:xi,224:G,276:640,278:493,279:wi,280:497,288:498,289:Ur,290:Yr},{25:yi,37:501,39:bi,51:492,88:_,89:503,90:x,91:Nt,114:fr,223:xi,224:G,276:641,278:493,279:wi,280:497,288:498,289:Ur,290:Yr},s(Sr,[2,441],{281:642,10:643,11:Ot,12:Lt,31:[1,644],147:[1,645],287:[1,646]}),s(qr,[2,459]),{37:501,88:_,89:503,90:x,91:Nt,114:fr,288:647},{37:501,88:_,89:503,90:x,91:Nt,114:fr,288:648},s(qr,[2,464]),s(qr,[2,465]),s(qr,[2,466]),s(Le,[2,256]),{132:af,205:649},{6:mt,9:651,14:Mf,43:[1,650]},s([6,14,15,43],Na,{99:133,107:134,51:322,209:323,210:324,19:325,104:328,37:329,89:330,95:331,208:653,62:g,88:_,90:x,91:Nt,96:ya,100:E,105:S,108:T,163:ba,200:xa,211:wa,213:Ae,214:Ie,224:G}),s(Tt,[2,264],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{14:[1,655],17:654,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,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:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{150:Me,151:Fe,152:Ge,174:$e,202:Ue,212:[1,658],277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{150:Me,151:Fe,152:Ge,164:[1,659],174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(Aa,[2,273]),{37:341,67:342,88:_,89:343,90:x,91:Nt,93:C,211:cf,227:660},s(Df,[2,294]),s(Df,[2,295]),{229:661,230:Pf,231:Vf},s(Ia,[2,300]),s(Ff,[2,292],{65:R2}),s([32,65],Y1,{235:460,238:461,239:462,240:463,37:466,221:664,41:d,88:_,200:Sa,211:cr,241:Ea}),{150:Me,151:Fe,152:Ge,174:$e,202:Ue,212:[1,665],277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(da,[2,14]),s(on,[2,576],{317:125,320:126,309:161,315:162,344:Oe}),{17:666,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{6:mt,9:668,15:bs,87:667,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(Us,[2,357]),{212:[1,670]},s(Qt,[2,31]),s(Qt,[2,33]),s(tt,[2,56]),{44:[1,671]},{14:an,37:383,42:672,49:kr,64:381,67:384,68:385,88:_,93:C,94:Tr},{45:673,62:ut},s(ur,It,{66:539,43:[1,674],65:fn}),s(tt,[2,58]),{45:675,62:ut},{44:[1,676]},s(qs,Na,{37:383,67:384,68:385,64:677,49:kr,88:_,93:C,94:Tr}),{6:Gf,14:C2},s(qs,It,{66:680,65:fn}),{37:681,88:_},{37:682,88:_},{44:[2,65]},s(tt,[2,37],{44:[1,683]}),s(tt,[2,39]),{44:[1,684]},s(tt,[2,50]),s([1,6,14,15,32,65],[2,149]),s(Kr,[2,157]),{136:gi,142:685,143:399,144:401,148:Ys},{6:mt,9:687,15:bs,87:686,143:549,144:401,148:Ys},{138:[1,688]},{6:mt,9:689,14:ka,136:gi,137:690,142:397,143:399,144:401,148:Ys},{41:ts,45:700,62:ut,105:ss,146:691,153:692,154:693,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},{41:ts,45:700,62:ut,105:ss,146:710,153:692,154:693,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},{6:mt,9:668,15:bs,87:711,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(B1,[2,140]),{6:mt,9:668,15:bs,87:712,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{5:713,13:t,14:r,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(W1,[2,553]),s(Le,[2,500]),{5:714,13:t,14:r},s(jf,[2,503]),s(Le,[2,501]),s(Le,[2,521]),{15:[1,715],316:[1,716],330:569,331:$1},s(Le,[2,545]),{5:717,13:t,14:r},s(X1,[2,548]),{5:718,13:t,14:r,65:[1,719]},s(Bf,[2,495],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,143]),{6:[1,721],14:Z1,15:[1,720],17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:730,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,197:722,198:723,200:Wr,201:727,202:Xr,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{14:Z1,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:730,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,197:731,198:723,200:Wr,201:727,202:Xr,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Le,[2,239]),s(vt,[2,209]),{6:mt,9:550,143:549,144:401,148:Ys,182:[1,732]},{14:ka,136:gi,137:733,142:397,143:399,144:401,148:Ys},{187:[1,734]},{187:[1,735]},s(vt,[2,217],{41:ln,187:hn}),s(vt,[2,213],{41:ln,187:hn}),s(vt,[2,214],{41:ln,187:hn}),s(vt,[2,218],{41:ln,187:hn}),s(vt,[2,219],{41:ln,187:hn}),s(vt,[2,220]),s(ur,It,{66:737,65:vi,164:[1,736]}),s(vt,[2,222]),s(ur,It,{66:737,32:[1,738],65:vi}),s(vt,[2,227]),{17:739,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{43:[1,740],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(U1,[2,229]),{6:Ra,9:602,14:Oa,32:[1,741]},s(Yt,[2,506]),s(Ta,[2,391],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{17:742,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{14:k2,17:272,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,267:743,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{6:mt,9:745,14:N2,15:bs,87:744},{150:Me,151:Fe,152:Ge,174:$e,202:Ue,212:[1,746],277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(S2,[2,477]),{17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:747,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s([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],T2,{199:[1,748]}),{14:$r,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,190:749,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Ks,[2,483]),{6:Ra,9:751,14:Oa,15:bs,87:750},s(Rf,[2,123]),{5:752,13:t,14:r},{37:466,41:d,88:_,200:Sa,211:cr,235:753,238:461,239:462,240:463,241:Ea},{17:755,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,237:754,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:755,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,237:756,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:755,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,237:757,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Ws,[2,324]),s(Ws,[2,325]),s(Of,[2,331]),s(A2,[2,509],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,336:Ye,342:Ce,343:ze,344:Oe}),s(A2,[2,511],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,336:Ye,342:Ce,343:ze,344:Oe}),s(cn,[2,534],{65:[1,758]}),{17:759,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:760,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:761,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s([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:mi,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,336:Ye,342:Ce,343:ze,344:Oe}),s(un,[2,416]),s(un,[2,417]),s(Le,[2,403]),s(Le,[2,420]),s(Kt,[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:yi,39:bi,88:_,90:x,91:Nt,93:C,114:fr,126:de,135:Je,139:_a,213:Ae,214:Ie,223:xi,224:G,277:I2,279:wi,289:Ur,290:Yr}),{6:mt,9:627,15:[1,764]},s(Le,[2,422]),s(Kt,[2,428]),s(Kt,[2,430],{10:479,11:Ot,12:Lt,103:bf}),s(Kt,[2,433],{283:635,284:636,47:Cf,93:O2,186:L2}),s(Kt,[2,434]),{37:118,39:Se,41:d,62:g,69:63,70:w,72:54,73:55,75:767,88:_,89:119,90:x,91:v,93:O2,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,122:60,123:he,131:117,163:U,186:L2,206:59,207:236,211:V,232:58,238:97,239:96,250:768,251:120,257:53,258:N,259:62,261:56,262:D,263:61,264:B,282:765,283:766,284:636,295:Y,296:ne},s(Sr,[2,443]),s(Sr,[2,449],{216:770,102:771,31:va,103:[1,773],147:[1,769],219:Q,253:[1,772]}),s(La,[2,444]),{31:[1,774]},s(Kt,[2,437]),s(Kt,[2,438]),s(Kt,[2,439]),{17:775,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(qr,[2,462]),{32:[1,776]},s(J1,[2,457]),s(J1,[2,458]),s(qr,[2,460]),s(qr,[2,461]),s(If,[2,257],{38:777,14:mi}),s([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:g,88:_,89:330,90:x,91:Nt,95:331,96:ya,99:133,100:E,104:328,105:S,107:134,108:T,163:ba,200:xa,208:778,209:323,210:324,211:wa,213:Ae,214:Ie,224:G},s([6,14,15,65],of,{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:g,88:_,90:x,91:Nt,96:ya,100:E,105:S,108:T,163:ba,200:xa,211:wa,213:Ae,214:Ie,224:G}),s(Tt,[2,387]),s(Tt,[2,267],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{17:780,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Tt,[2,269],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{17:781,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(q1,[2,277]),s(q1,[2,278]),s(wf,Y1,{235:460,238:461,239:462,240:463,37:466,10:518,221:519,228:782,11:Ot,12:Lt,31:kf,41:d,88:_,200:Sa,211:cr,241:Ea}),s(Le,[2,291]),{5:783,13:t,14:r,219:[1,784]},s(Le,[2,303]),{32:[1,785],65:R2},s(Ia,[2,299]),s(ki,[2,558],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,347]),{15:pn},s(zf,[2,489]),s(Us,[2,358]),{45:787,62:ut},s(ur,It,{66:539,43:[1,788],65:fn}),s(tt,[2,57]),{44:[1,789]},s(tt,[2,59]),{45:790,62:ut},s(Tt,[2,67]),{37:383,49:kr,64:791,67:384,68:385,88:_,93:C,94:Tr},{14:an,37:383,42:792,49:kr,64:381,67:384,68:385,88:_,93:C,94:Tr},{6:[1,794],14:C2,15:[1,793]},s(Tt,[2,75]),s(Tt,[2,77]),{45:795,62:ut},{45:796,62:ut},s(Kr,[2,158]),s(Kr,[2,159]),{15:pn,136:gi,142:685,143:399,144:401,148:Ys},s(Kr,[2,161]),{15:[1,797]},{6:mt,9:687,15:bs,87:798,143:549,144:401,148:Ys},s(Kr,[2,162],{65:Hf}),s($f,[2,168],{162:694,165:697,45:700,160:701,149:800,154:801,41:ts,62:ut,105:ss,150:dn,151:_n,152:mn,155:Uf,163:rs,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs}),s(Q1,[2,170]),s(qt,[2,190],{161:[1,806]}),s(qt,[2,191]),s(qt,[2,192]),s(qt,[2,193]),s(qt,[2,194]),s(qt,[2,195]),s(qt,[2,196]),s(qt,[2,197],{161:[1,807]}),s(qt,[2,198]),{163:[1,808]},s(qt,[2,200]),{41:ts,45:700,62:ut,105:ss,154:809,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},{41:ts,45:700,62:ut,105:ss,154:811,156:810,157:812,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},s(qt,[2,188]),{163:[1,813]},{17:814,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Kr,[2,163],{65:Hf}),s(Le,[2,263]),s(Le,[2,579]),s(W1,[2,552]),s(jf,[2,502]),s(Le,[2,543]),{5:815,13:t,14:r},{15:[1,816]},s(X1,[2,549],{6:[1,817]}),{17:818,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Le,[2,235]),{15:[1,819]},s(ur,It,{66:822,15:[1,820],65:eo}),s(Xs,[2,240]),{14:Z1,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:730,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,197:823,198:723,200:Wr,201:727,202:Xr,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Xs,[2,246],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),{17:824,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Xs,[2,248]),s(Xs,[2,249]),s(Xs,[2,250]),s(Xs,[2,251]),s(ur,It,{66:822,32:[1,825],65:eo}),s(vt,[2,210]),{6:mt,9:550,143:549,144:401,148:Ys,182:[1,826]},s(vt,[2,215]),s(vt,[2,216]),s(vt,[2,221]),{6:Ra,9:602,14:Oa},s(vt,[2,223]),{150:Me,151:Fe,152:Ge,174:$e,196:[1,827],202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},s(U1,[2,231]),s(Nf,[2,473]),s(Ta,[2,392],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(qs,It,{66:828,65:E2}),s(Ta,[2,393]),{15:pn,17:742,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(gt,[2,481]),s(Ks,[2,484]),{6:mt,9:829},s(qs,It,{66:830,65:vi}),s(Ks,[2,486]),{15:pn,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:747,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(gt,[2,287]),s(Ws,[2,313]),s(Ws,[2,327]),s(Ws,[2,320],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(Ws,[2,328]),s(Ws,[2,326]),{37:303,41:d,88:_,211:cr,238:305,239:304,324:831},s([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:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,327:[1,832],336:Ye,342:Ce,343:ze,344:Oe}),s(Lf,[2,540],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,311:[1,833],336:Ye,342:Ce,343:ze,344:Oe}),s(ki,[2,539],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,402]),s(Kt,[2,424]),s(Le,[2,421]),s(Sr,[2,442]),s(Sr,[2,452]),s(Sr,[2,453],{293:174,216:175,252:176,31:f2,103:p2,219:Q,253:d2,256:_2,265:m2,294:g2}),s(_f,es,{107:241,45:242,10:243,11:Ot,12:Lt,62:ut,108:T}),{17:834,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Sr,[2,451]),s(La,[2,446]),{14:$r,17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,190:835,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:277,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,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:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Sr,[2,440],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(qr,[2,463]),s(Le,[2,258]),s(Tt,[2,388]),s(qs,It,{66:838,65:xf}),{6:mt,9:668,15:bs,87:839,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{6:mt,9:668,15:bs,87:840,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{229:841,230:Pf,231:Vf},s(Le,[2,301]),{5:842,13:t,14:r},s(Ff,[2,293]),s(zf,[2,488]),s(tt,[2,62]),{44:[1,843]},{45:844,62:ut},s(tt,[2,60]),s(Tt,[2,68]),s(qs,It,{66:845,65:fn}),s(Tt,[2,69]),{15:[1,846],37:383,49:kr,64:791,67:384,68:385,88:_,93:C,94:Tr},s(tt,[2,38]),s(tt,[2,40]),{138:[2,152]},{138:[2,153]},{41:ts,45:700,62:ut,105:ss,153:847,154:693,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},s(Q1,[2,171]),s(Q1,[2,172]),{41:ts,45:700,62:ut,105:ss,154:848,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},s(qt,[2,165]),s(qt,[2,166]),s(qt,[2,167]),s(to,[2,187]),s(to,[2,185]),{41:ts,45:700,62:ut,105:ss,154:851,158:849,159:850,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},s(qt,[2,201]),{164:[1,852]},{149:853,150:dn,151:_n,152:mn,164:[2,174]},{149:854,150:dn,151:_n,152:mn,164:[2,175]},{41:ts,45:700,62:ut,105:ss,154:851,158:855,159:850,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},{43:[1,856],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{6:mt,9:668,15:bs,87:857},s(Le,[2,546]),s(X1,[2,550]),s(Bf,[2,496],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,236]),s(Le,[2,237]),s(qs,Na,{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:f,36:h,39:Se,41:d,62:g,70:w,88:_,90:x,91:v,98:A,100:E,105:S,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,123:he,126:de,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,200:Wr,202:Xr,204:te,211:V,213:Ae,214:Ie,218:F,219:Q,223:ee,224:G,242:Ct,246:se,247:re,248:q,258:N,260:R,262:D,264:B,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,310:$,312:z,314:me,318:K,319:X,328:ge,333:be,337:ke,338:xe,339:ve,340:we,341:Te}),{6:M2,9:859,14:D2},s(qs,It,{66:862,65:eo}),s(Xs,[2,247],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(Le,[2,238]),s(vt,[2,211]),s(vt,[2,234]),{6:mt,9:745,14:N2,15:bs,87:863},{17:370,18:214,19:282,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,200:Hs,201:280,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,299:864,300:$s,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{6:Ra,9:751,14:Oa,15:bs,87:865},s(cn,[2,535]),{17:866,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{17:867,18:214,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,139:Ee,151:Z,152:_e,163:U,188:fe,203:87,204:te,206:59,207:52,211:V,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Sr,[2,450],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,310:$,312:z,318:K,319:X,335:Ze,336:Ye,342:Ce,343:ze,344:Oe}),s(ur,It,{66:737,65:vi,255:[1,868]}),s(La,[2,448]),{32:[1,869],150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,309:161,310:$,312:z,315:162,317:125,318:K,319:X,320:126,335:Ze,336:Ye,342:Ce,343:ze,344:Oe},{6:mt,9:871,14:Mf,15:bs,87:870},s(Tt,[2,268]),s(Tt,[2,270]),s(Le,[2,290]),s(Le,[2,302]),{45:872,62:ut},s(tt,[2,61]),{6:Gf,14:C2,15:[1,873]},s(Tt,[2,70]),s($f,[2,169],{162:694,165:697,45:700,160:701,149:800,154:801,41:ts,62:ut,105:ss,150:dn,151:_n,152:mn,155:Uf,163:rs,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs}),s(Q1,[2,173]),{65:Yf,164:[1,874]},s(Kf,[2,178],{162:694,165:697,45:700,160:701,149:876,154:877,41:ts,62:ut,105:ss,150:dn,151:_n,152:mn,155:qf,163:rs,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs}),s(so,[2,180]),s(to,[2,186]),{41:ts,45:700,62:ut,105:ss,154:879,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},{41:ts,45:700,62:ut,105:ss,154:880,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},{65:Yf,164:[1,881]},s(to,[2,184]),s(Le,[2,544]),s(Xs,[2,241]),{17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:730,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,198:882,200:Wr,201:727,202:Xr,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s([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],T2,{199:[1,883]}),{14:Z1,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:730,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,197:884,198:723,200:Wr,201:727,202:Xr,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{6:M2,9:886,14:D2,15:bs,87:885},s(Ta,[2,394]),s(Ks,[2,485]),s(Ks,[2,487]),s(ki,[2,541],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),s(ki,[2,542],{317:125,320:126,309:161,315:162,150:Me,151:Fe,152:Ge,174:$e,202:Ue,277:He,336:Ye,342:Ce,343:ze,344:Oe}),s(La,[2,447]),s(La,[2,445]),s(Tt,[2,389]),{15:pn,19:325,37:329,51:322,62:g,88:_,89:330,90:x,91:Nt,95:331,96:ya,99:133,100:E,104:328,105:S,107:134,108:T,163:ba,200:xa,208:778,209:323,210:324,211:wa,213:Ae,214:Ie,224:G},s(tt,[2,63]),s(Tt,[2,71]),s(qt,[2,199]),{41:ts,45:700,62:ut,105:ss,154:851,159:887,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},s(so,[2,181]),s(so,[2,182]),{41:ts,45:700,62:ut,105:ss,154:888,160:701,162:694,163:rs,165:697,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs},s(Wf,[2,176]),s(Wf,[2,177]),s(qt,[2,189]),s(Xs,[2,242]),{6:mt,9:889},s(qs,It,{66:890,65:eo}),s(Xs,[2,244]),{15:pn,17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:730,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,198:882,200:Wr,201:727,202:Xr,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},s(Kf,[2,179],{162:694,165:697,45:700,160:701,149:876,154:877,41:ts,62:ut,105:ss,150:dn,151:_n,152:mn,155:qf,163:rs,166:is,167:ns,168:as,169:os,170:ls,171:hs,172:cs,173:us,174:fs}),s(so,[2,183]),{17:725,18:214,19:729,20:217,26:39,27:40,28:41,29:a,30:o,33:l,34:f,35:31,36:h,37:118,39:Se,41:d,51:113,52:32,53:33,54:77,62:g,69:63,70:w,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:x,91:v,97:116,98:A,99:133,100:E,104:99,105:S,107:134,108:T,113:L,114:y,115:M,116:j,117:P,118:W,119:J,120:ae,121:ce,122:60,123:he,126:de,131:117,134:730,135:Je,139:Ee,151:Z,152:_e,163:U,188:fe,198:891,200:Wr,201:727,202:Xr,203:87,204:te,206:59,207:52,211:V,213:Ae,214:Ie,215:65,216:66,217:67,218:F,219:Q,223:ee,224:G,232:58,238:97,239:96,242:Ct,245:35,246:se,247:re,248:q,250:76,251:120,257:53,258:N,259:62,260:R,261:56,262:D,263:61,264:B,268:85,269:H,270:ie,295:Y,296:ne,302:pe,308:oe,309:80,310:$,312:z,313:81,314:me,315:82,317:125,318:K,319:X,320:126,328:ge,332:78,333:be,337:ke,338:xe,339:ve,340:we,341:Te},{6:M2,9:886,14:D2,15:bs,87:892},s(Xs,[2,243]),s(Xs,[2,245])],defaultActions:{146:[2,3],179:[2,471],543:[2,65],797:[2,152],798:[2,153]},parseError:function(k,rr){if(rr.recoverable)this.trace(k);else throw new Error(k)},parse:function(k,rr=null){var O=this,Mt=[0],u=[],c=[null],vn=this.table,V2="",_8=0,m8=0,Ca=0,ro=2,Ma=1,xs=Object.create(this.lexer),io=this.yy;xs.setInput(k,io),typeof io.parseError=="function"?this.parseError=io.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $d(Zr){Mt.length=Mt.length-2*Zr,c.length=c.length-Zr}var As,yn,Jr,pr,g8,F2,G2={},v8,no,Jf,j2;function Ud(){var Zr,bn="";function Qf(Da){for(var Is=Mt.length-1,xn=0;;){if(ro.toString()in vn[Da])return xn;if(Da===0||Is<2)return!1;Is-=2,Da=Mt[Is],++xn}}if(Ca)yn!==Ma&&(Zr=Qf(Jr));else{Zr=Qf(Jr),j2=[];var B2=xs.yytext,y8=B2,ao=O.terminals_[As]||As;let Da=xs.tokens.indexOf(B2),Is=B2;for(;Is&&!(Is._loc>=0);)Is=xs.tokens[--Da];if(!Is){let xn=xs.tokens.length;for(;--xn>=0;){let H2=xs.tokens[xn];if(H2&&H2._loc>=0){Is=H2;break}}}var Ti=Is?Is._loc:-1,z2=Ti>-1?Ti+(Is._len||0):-1,Kd=Ti!=-1?"["+Is._loc+":"+Is._len+"]":"[0:0]",qd={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:"'>'"};xs.showPosition?bn="Parse error at "+Kd+`:
`+xs.showPosition()+`
Expecting `+j2.join(", ")+", got '"+ao+"'":bn="Unexpected "+(As==Ma?"end of input":qd[ao]||"'"+ao+"'"),rr&&rr.addDiagnostic("error",{message:bn,source:"imba-parser",range:rr.rangeAt(Ti,z2)}).raise(),O.parseError(bn,{lexer:xs,text:xs.match,token:ao,offset:Ti,length:z2-Ti,start:{offset:Ti},end:{offset:z2},line:xs.yylineno,expected:j2,recoverable:Zr!==!1})}if(Ca==3){if(As===Ma||yn===Ma)throw new Error(bn||"Parsing halted while starting to recover from another error.");V2=xs.yytext}if(Zr===!1)throw new Error(bn||"Parsing halted. No suitable error recovery rule available.");$d(Zr),yn=As==ro?null:As,As=ro,Jr=Mt[Mt.length-1],pr=vn[Jr]&&vn[Jr][ro],Ca=3}for(var Yd=this.symbols_,Zf=this.productions_;;)switch(Jr=Mt[Mt.length-1],(As===null||typeof As>"u")&&(As=Yd[xs.lex()]||Ma),pr=vn[Jr]&&vn[Jr][As],(typeof pr>"u"||!pr.length||!pr[0])&&Ud(),pr[0]){case 1:Mt.push(As),Mt.push(pr[1]),c.push(xs.yytext),As=null,yn?(As=yn,yn=null):(V2=xs.yytext,Ca>0&&Ca--);break;case 2:if(no=Zf[pr[1]][1],G2.$=c[c.length-no],F2=this.performAction(G2,V2,io,pr[1],c),typeof F2<"u")return F2;for(;no>0;)Mt.pop(),Mt.pop(),c.pop(),no--;Mt.push(Zf[pr[1]][0]),Jf=vn[Mt[Mt.length-2]][Mt[Mt.length-1]],Mt.push(Jf),c.push(G2.$);break;case 3:return!0}return!0}};function P2(){this.yy={}}return P2.prototype=Xf,Xf.Parser=P2,new P2}();var X8=Oi.Parser;var s3={};wn(s3,{ARGUMENTS:()=>Ym,AST:()=>Ne,Access:()=>st,AmperFunc:()=>ii,AmperRef:()=>wc,AmperWalker:()=>el,ArgList:()=>Ut,ArgsReference:()=>il,Argvar:()=>xc,Arr:()=>Vt,AssertionNode:()=>jo,AssetReference:()=>Ol,Assign:()=>Zt,AssignList:()=>Bo,AsyncFunc:()=>Nl,Await:()=>jc,BR:()=>ft,BR0:()=>H0,BR2:()=>$m,BangCall:()=>Lr,Begin:()=>Ic,Block:()=>Xe,BlockParam:()=>o1,BlockScope:()=>R1,Bool:()=>qn,BreakStatement:()=>a1,Call:()=>vs,Catch:()=>Oc,CatchScope:()=>Dl,ClassAttribute:()=>jn,ClassBody:()=>ji,ClassDeclaration:()=>Ms,ClassField:()=>ni,ClassProperty:()=>zo,ClassRelation:()=>Ho,ClassScope:()=>pi,ClosedFunc:()=>hc,ClosureScope:()=>Zc,Code:()=>Pr,CodeBlock:()=>lc,Comment:()=>Zh,ComparisonOp:()=>p1,CompoundAssign:()=>pl,ConditionalAssign:()=>fl,Const:()=>yl,ContinueStatement:()=>Yo,ControlFlow:()=>m1,ControlFlowStatement:()=>ui,DECLARE:()=>lm,DebuggerStatement:()=>ic,Decorator:()=>gl,DecoratorIdentifier:()=>$i,Delete:()=>ol,Descriptor:()=>_1,DescriptorPart:()=>vl,DoPlaceholder:()=>xl,DocumentReference:()=>zl,EMPTY:()=>Kl,ESMDeclaration:()=>ra,ESMSpecifier:()=>fi,ESMSpecifierList:()=>Uc,EnvFlag:()=>ia,Export:()=>S1,ExportAllDeclaration:()=>Kc,ExportAllSpecifier:()=>$c,ExportDeclaration:()=>T1,ExportNamedDeclaration:()=>qc,ExportSpecifier:()=>Hc,ExpressionBlock:()=>$o,ExpressionList:()=>Qh,ExpressionNode:()=>Di,ExpressionWithUnit:()=>fc,ExtendDeclaration:()=>Zo,ExternDeclaration:()=>wl,F:()=>ct,FALSE:()=>Po,False:()=>Xn,FieldScope:()=>N1,Finally:()=>Lc,FlowScope:()=>xr,For:()=>g1,ForIn:()=>Ec,ForOf:()=>Ac,ForScope:()=>Vl,Func:()=>at,FunctionScope:()=>A1,GLOBAL:()=>hm,Generics:()=>dl,GlobalReference:()=>na,GreedyReturn:()=>Uo,Identifier:()=>Ke,IdentifierExpression:()=>Gs,If:()=>Dt,IfScope:()=>Fl,IifeFunc:()=>Qo,ImbaRuntime:()=>L1,ImplicitAccess:()=>zi,ImplicitReturn:()=>Dr,ImportDeclaration:()=>k1,ImportDefaultSpecifier:()=>Rl,ImportNamespaceSpecifier:()=>zc,ImportProxy:()=>aa,ImportProxyAccess:()=>_l,ImportSpecifier:()=>Bc,ImportTypeDeclaration:()=>Yc,In:()=>ll,Indentation:()=>hi,Index:()=>ci,IndexAccess:()=>gc,IndirectScopeContext:()=>Ul,InstanceOf:()=>nl,Instantiation:()=>Ki,InterpolatedIdentifier:()=>bl,InterpolatedString:()=>u1,InterpolatedSymbolIdentifier:()=>yc,Interpolation:()=>dc,IsolatedFunc:()=>Bi,IsolatedFunctionScope:()=>I1,Ivar:()=>d1,IvarAccess:()=>Qn,Lambda:()=>h1,LambdaScope:()=>Xi,ListNode:()=>Pt,Literal:()=>Jt,LocalVarAccess:()=>hl,Loop:()=>Fr,LoopFlowStatement:()=>Un,Meta:()=>Cs,MethodDeclaration:()=>lr,MethodScope:()=>jr,MixinExports:()=>Cl,MixinIdentifier:()=>Vi,MixinReference:()=>Ll,ModuleScope:()=>Jc,NIL:()=>Um,NODES:()=>um,NULL:()=>Br,NamedParam:()=>nc,New:()=>Tc,Newline:()=>$n,Nil:()=>c1,Node:()=>qe,Num:()=>zt,NumWithUnit:()=>uc,NumberLike:()=>ai,OP:()=>le,Obj:()=>gs,ObjAttr:()=>Or,ObjRestAttr:()=>mc,Op:()=>Et,OptionalParam:()=>qo,PROTO:()=>$0,Param:()=>or,ParamList:()=>Wo,Parens:()=>Rt,Private:()=>ml,PropertyAccess:()=>Zn,PureExpression:()=>tc,PureReference:()=>Bl,PushAssign:()=>Vr,RESERVED:()=>Km,RESERVED_REGEX:()=>U0,Range:()=>ea,RawScript:()=>Kn,RegExp:()=>_c,RegExpIdentifier:()=>rl,Require:()=>Ml,RequiredParam:()=>ac,RescueFunc:()=>tl,RestParam:()=>Ko,Return:()=>Ts,Root:()=>Jo,RootScope:()=>Gr,RootScopeContext:()=>Yl,SELF:()=>t3,SETTYPE:()=>cm,SPLAT:()=>gm,STACK:()=>I,Scope:()=>js,ScopeContext:()=>di,ScopeVariables:()=>Xo,Selector:()=>Fc,SelectorPart:()=>Gc,Self:()=>Ss,ShadowedVariable:()=>jl,Splat:()=>qi,Stack:()=>Fo,Statement:()=>vr,Str:()=>ht,StyleBody:()=>Tm,StyleColor:()=>Gm,StyleColorMix:()=>jm,StyleDeclaration:()=>Sm,StyleDimension:()=>zm,StyleExpression:()=>Rm,StyleExpressions:()=>Nm,StyleFunction:()=>Dm,StyleIdentifier:()=>Vm,StyleInterpolationExpression:()=>Mm,StyleNode:()=>wm,StyleNumber:()=>Hm,StyleOperation:()=>Lm,StyleParens:()=>Om,StyleProperty:()=>Em,StylePropertyIdentifier:()=>Am,StylePropertyModifier:()=>Im,StyleRuleSet:()=>li,StyleSelector:()=>km,StyleString:()=>Fm,StyleTerm:()=>Cm,StyleURL:()=>Pm,StyleVar:()=>Bm,Super:()=>Fs,Switch:()=>kl,SwitchCase:()=>Nc,Symbol:()=>f1,SymbolIdentifier:()=>Ui,SystemVariable:()=>Ji,THIS:()=>xt,TPL:()=>Ls,TRUE:()=>s1,Tag:()=>Cr,TagArgList:()=>v1,TagAttr:()=>Rr,TagAttrValue:()=>b1,TagBody:()=>x1,TagBodyScope:()=>Gl,TagContent:()=>sa,TagData:()=>Mc,TagDeclaration:()=>Pi,TagDynamicArg:()=>Al,TagFlag:()=>nr,TagFragment:()=>Il,TagFragmentFunc:()=>cc,TagHandler:()=>Nr,TagHandlerCallback:()=>Wi,TagHandlerSpecialArg:()=>Cc,TagId:()=>Tl,TagIdRef:()=>bc,TagIndexedFragment:()=>Dc,TagKeyedFragment:()=>Pc,TagLoopFragment:()=>oi,TagModifier:()=>ta,TagModifiers:()=>El,TagPart:()=>sr,TagPushAssign:()=>ul,TagScope:()=>E1,TagSep:()=>Sl,TagSlotProxy:()=>w1,TagStyleAttr:()=>y1,TagSwitchFragment:()=>Os,TagTextContent:()=>Fi,TagTypeIdentifier:()=>Yi,TagWrapper:()=>Vc,TaggedTemplate:()=>kc,TemplateString:()=>pc,Terminator:()=>Mr,This:()=>br,Throw:()=>rc,True:()=>Wn,Try:()=>Rc,TypeAnnotation:()=>Hi,TypeOf:()=>al,UNDEFINED:()=>Mi,UnaryOp:()=>Jn,Undefined:()=>sl,Util:()=>We,ValueNode:()=>it,ValueReferenceNode:()=>Go,VarAccess:()=>cl,VarDeclList:()=>ec,VarDeclaration:()=>yr,VarName:()=>oc,VarOrAccess:()=>wt,VarReference:()=>ms,Variable:()=>Ft,VariableDeclarator:()=>l1,Walker:()=>Yn,While:()=>Sc,WhileScope:()=>Pl,WindowReference:()=>Hl,Yield:()=>sc,ZonedVariable:()=>O1,ZonedVariableAccess:()=>$l,parseError:()=>bm});function Bp(s){let{AST:e,Node:t,ListNode:r,ValueNode:i,LIT:n,C:a,M:o,SourceMapper:l,StyleRule:f,StyleTheme:h,Color:p,colord:m,constants:d,helpers:b,iter$:g,idx$:w,STACK:_,TagDeclaration:x,TagLike:v,ClassBody:C,TagBody:A,TagFlag:E,TagStyleAttr:S}=s;class T extends t{}class L extends T{}let y=new Map;function M(q){let N=q.length,R=0;for(;R<N;){let B=q.charCodeAt(R);if(B<48||B>57)break;R++}if(R==0||R==N)return null;let D=R;for(;D<N;){let B=q.charCodeAt(D);if(!(B>=65&&B<=90||B>=97&&B<=122))return null;D++}return{number:parseInt(q.slice(0,R)),unit:q.slice(R)}}function j(q){let N=q.charCodeAt(0);return N==35||N==45||N==95||N>=48&&N<=57||N>=65&&N<=90||N>=97&&N<=122}function P(q,N){let R=y.get(q);if(R)return R;let D=q.replace(/(^|\b)\$/g,"--").split(/\b(?=[\^\.\@\!])/g);for(let oe=0,$=D.length;oe<$;oe++){let z=D[oe];z[0]=="."&&z[1]&&z[1]!="."&&(D[oe]="@."+z.slice(1))}let B=String(D[0]),H=null,ie=!1;q[0]=="#"&&(H="color",ie=N.HEX_REGEX.test(B));let Y=M(B),ne=Y&&Y.number,pe=Y&&Y.unit;return j(B)||(D=[null].concat(D),B=null),R={parts:D,name:B,kind:H,number:ne,unit:pe,colorError:ie},y.set(q,R),R}class W extends T{constructor(N,R){super(...arguments),this._placeholders=[],this._selectors=N,this._body=R}isStatic(){return!0}isGlobal(){return!!this.option("global")}addPlaceholder(N){return this._placeholders.push(N),this}cssid(){return this._cssid||(this._cssid=""+_.root().sourceId()+"-"+this.tid())}visit(N,R){let D=this._tagDeclaration=N.up(x),B=N.parents(v);B[0]&&D&&B[0].isSelf()&&B[1]&&(B[0]=D),B.length==0&&D&&(B=[D]),this._css={},this._flag=N.up(E),this._tag=this._flag&&this._flag._tag;let H=String(this.option("name")||"");H[0]=="%"&&(this._mixin=this.scope__().mixin(H.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(N.parent()instanceof C)if(N.up(2)instanceof x)this._css.type="component",this._variable||(this._sel=ie||"&",this._css.scope=D);else throw"css not allowed in class declaration";else N.parent()instanceof A?(this._tag=B[B.length-1],this._sel=ie||"&",this._css.type="scoped",this._css.scope=this._tag):this.option("toplevel")?N.up(A)?(this._tag=N.up(v),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 Y=0,ne=g(this._placeholders),pe=ne.length,oe;Y<pe;Y++){oe=ne[Y];let $=new S(oe.name());$._tag=this._tag,$._value=oe.runtimeValue(),$.set({propname:oe._propname,unit:oe.option("unit"),styleterm:oe}),oe._setter=$,$.traverse()}else if(!this._flag)for(let Y=0,ne=g(this._placeholders),pe=ne.length;Y<pe;Y++)ne[Y].warn("Only allowed inside tag tree")}if(R.rule&&R.styles)if(R.styles[this._sel]){let Y=R.styles[this._sel];b.deepAssign(Y,this._styles)}else R.styles[this._sel]=this._styles;else{let Y=this._tagDeclaration,ne={selectors:[],ns:this._css.ns,id:this._css.id,type:this._css.type,scope:this._css.scope,tags:B,component:D,inline:!!this._flag,global:!!this.isGlobal(),mixins:{},apply:{},depth:this._tag?this._tag._level:0};this._css=new f(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 R=[""+this._tvar+" = '"+this._name+"'"],D=function(Y){return R.push(Y)},B=this._tag.cvar(),H=this._tag.bvar();for(let Y=0,ne=g(this._placeholders),pe=ne.length;Y<pe;Y++){let oe=ne[Y]._setter,$=""+B+"["+oe.osym()+"]",z=oe.value();D(""+o(oe.js(this._o),oe))}return _.isExpression()?"("+R.join(",")+")":R.join(`;
`)}if(_.tsc()&&this._placeholders.length){let R=[];for(let B=0,H=g(this._placeholders),ie=H.length;B<ie;B++)R.push(H[B].runtimeValue().c());return _.isExpression()?"("+R.join(",")+")":R.join(`;
`)}return this.option("inClassBody")||this.option("inTagTree")||this.option("toplevel")?"":"'"+this._name+"'"}}class J extends r{visit(){let N=this._nodes,R=0,D;for(let B=0,H=g(N),ie=H.length,Y;B<ie;B++)Y=H[B],Y instanceof ae&&(Y._property._name||Y._property.setName(D),D=Y._property._name);for(;R<N.length;){let B=N[R],H=B.traverse();if(H!=B&&H instanceof Array){N.splice.apply(N,[].concat([R,1],Array.from(H)));continue}B==N[R]&&R++}return this}toJSON(){return this.values()}}class ae extends T{constructor(N,R){super(...arguments),this._property=N,this._expr=R instanceof Je?R:new Je(R)}clone(N,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 ae(this._property.clone(N),R)}visit(N,R){var D=this,B;let H=N.theme(),ie=N.parent(),Y=String(D._property.name()),ne=H.expandProperty(Y);if(D._expr&&D._expr.traverse({rule:R.rule,rootRule:R.rootRule,decl:D,property:D._property}),ne instanceof Array){ie.replace(D,ne.map(function(z){return D.clone(z)}));return}else ne&&ne!=Y&&(D._property=D._property.clone(ne));let pe=String(ne||Y).replace(/-/g,"_");D._expr&&D._expr.traverse({decl:D,property:D._property});let oe,$=[];if(D._property.isColor&&D._property.isColor()?oe=H.colormix(Y.slice(1),D._expr.toArray()):H[pe]&&!D.option("plain")&&(oe=H[pe].apply(H,D._expr.toArray())),oe instanceof Array)D._expr=new Je(oe);else if(oe instanceof Object){for(let z,me=0,K=Object.keys(oe),X=K.length,ge;me<X;me++)if(ge=K[me],z=oe[ge],ge.indexOf("&")>=0){let be=new J([]),ke=new W(n(ge),be);$.push(ke);for(let xe,ve=0,we=Object.keys(z),Te=we.length,mt;ve<Te;ve++)mt=we[ve],xe=z[mt],be.add(D.clone(mt,xe))}else $.push(D.clone(ge,z).set({plain:ge==Y||ge==ne}));ie.replace(D,$);return}if(D._expr&&(D._expr.traverse({decl:D,property:D._property}),D._expr.set({parens:!1})),R.styles){let z=D._property.toKey(),me=D._expr;R.selector&&(z=JSON.stringify([R.selector,z])),D._property.isUnit()&&D._property.number()!=1&&(me=n("calc("+me.c()+" / "+D._property.number()+")")),R.styles[z]&&(B=R.styles[z],delete R.styles[z]),R.styles[z]=me.c({property:D._property})}return D}toCSS(){return""+this._property.c()+": "+e.cary(this._expr).join(" ")}toJSON(){return this.toCSS()}}class ce extends T{constructor(N){super(...arguments),this._token=N;let R=String(this._token),D=P(R,d);this._parts=D.parts.slice(),this._name=D.name,this._kind=D.kind,this._number=D.number,this._unit=D.unit,D.colorError&&this.error("Color name "+this._name+" cannot be identical to valid hex color",{loc:N[0]||N})}setName(N){let R=M(N);return R?(this._number=R.number,this._unit=R.unit):this._number=this._unit=null,this._name=N,this}name(){return this._name||(this._name=String(this._parts[0]))}number(){return this._number}setNumber(N){return this._number=N,this}unit(){return this._unit}setUnit(N){return this._unit=N,this}kind(){return this._kind}setKind(N){return this._kind=N,this}clone(N){return new ce([N||this._name].concat(this.modifiers()).join(""))}addModifier(N){return this._parts.push(N),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("§")}toString(){return this._name+this.modifiers().join("§")}toKey(){return[this.isUnit()?"--u_"+this._unit:this.isColor()?"--c_"+this._name.slice(1):this._name].concat(this.modifiers()).join("§")}c(){return this.toString()}}class he extends T{constructor(N){super(...arguments),this._name=N,String(N)[0]=="$"&&(this._name="--"+String(N).slice(1))}toJSON(){return String(this._name)}toString(){return String(this._name)}}class de extends T{constructor(N){super(...arguments),this._name=N}toJSON(){return String(this._name)}toString(){return String(this._name)}}class Je extends r{load(N){return N instanceof Array&&(N=N.map(function(R){return R instanceof lt?R:new lt(R)})),[].concat(N)}c(N){let R=e.cary(this._nodes,N).join(", ");return this.option("parens")&&(R="( "+R+" )"),R}clone(){return new Je(this._nodes.slice(0))}toArray(){return this._nodes.filter(function(N){return N instanceof lt}).map(function(N){return N.toArray()})}}class lt extends r{load(N){return[].concat(N)}toString(){return e.cary(this._nodes).join(" ")}clone(){return new lt(this._nodes.slice(0))}c(N){return N&&N.as=="js"?e.cary(this._nodes,N).join(" "):this.toString()}toJSON(){return this.toString()}toArray(){return this._nodes}toIterable(){return this._nodes}addParam(N,R){return N._op=R,this.last().addParam(N),this}reclaimParams(){let N=this.filter(function(R){return R.param});for(let R=0,D=g(N),B=D.length,H;R<B;R++){H=D[R];let ie=H.param,Y=ie._op;this.add([Y,ie],{after:H}),H._params=[]}}visit(N,R){if(R&&R.property){let D=R.property._name;(D=="gt"||D=="grid-template")&&this.reclaimParams()}return super.visit(...arguments)}}class Z extends i{visit(N,R){return super.visit(...arguments),this.set({calc:!N.up(Z)&&!N.up(te)})}c(N){let R=this._value.c();if(N&&N.as=="js")return R;if(this.option("calc")){let D=this._options&&String(this._options.unit||"");return D?"calc(calc("+R+") * 1"+D+")":"calc("+R+")"}else return"("+R+")"}}class _e extends r{c(N){return e.cary(this._nodes,N).join(" ")}}class U extends i{valueOf(){return String(this._value)}toString(){return String(this._value)}toRaw(){return this.valueOf()}toAlpha(){return this.valueOf()}visit(N,R){this._token=this._value,this._property=R.property,this._propname=R.property&&R.property._name,this.alone=N.up()instanceof lt&&N.up().values().length==1;let D=N.theme().$value(this,0,this._propname);return N.up(Z)||N.up(te)||(this._resolvedValue=D),this}get param(){return this._params&&this._params[0]}kind(){return this._kind}runtimeValue(){return this.value()}addParam(N){return this._params||(this._params=[]),this._params.push(N),this}c(N){return this._resolvedValue&&!(this._resolvedValue instanceof t)?a(this._resolvedValue):this.valueOf()}}class fe extends U{name(N){return this._name}setName(N){return this._name=N,this}loc(){return[this._startLoc,this._endLoc]}visit(N,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 te extends t{constructor(N,R){super(...arguments),this._name=N,this._params=R}kind(){return"function"}visit(N,R){this._property=R.property,this._propname=R.property&&R.property._name,this._params&&this._params.traverse&&this._params.traverse();let D=String(this._name),B=this._params.toArray().flat();if(this._property.isColor()&&D.match(/^(lch|rgba?|hsla?)$/)){this._lcha=[];for(let H=0,ie=g(B),Y=ie.length,ne;H<Y;H++)ne=ie[H],ne._value!="/"&&this._lcha.push(ne);if(D!="lch"){let H=this._lcha[3],ie=D.slice(0,3);for(let Y=0,ne=g(this._lcha),pe=ne.length,oe;Y<pe;Y++)if(oe=ne[Y],!(oe instanceof se)&&Y<3)return this.error("Dynamic part not allowed in non-lch #color definitions",{loc:oe});try{let Y=this._params.c();H&&!(H instanceof se)&&(Y=Y.replace(H.c(),"1"));let ne=""+D+"("+Y+")",pe=m(ne).toLch();this._lcha=[pe.l,pe.c,pe.h,pe.a],H&&(this._lcha[3]=H)}catch{this.error("Failed to parse color",{loc:this})}}}return this}lcha(){return this._lcha||[0,0,0,1]}toString(){return this.c()}c(N){var R;let D=String(this._name),B=this._params.c(),H=""+D+"("+B+")";if(this._property&&this._property.isColor()){if(D=="hsl"){let ie=this._params.toArray().flat();if(ie.length==3)return e.cary(ie).join(",")}if(R=p.from(H))return R.toVar()}return N&&N.as=="js"&&(H=b.singlequote(H)),H}}class V extends i{c(){let N=String(this._value);return l.strip(N)}}class Ae extends U{color(){return this._color}setColor(N){return this._color=N,this}visit(N){let R=this.toString();if(R.match(/^[lcha]$/)){super.visit(...arguments);let D=N.up(Q);return this._colormix=D,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(N){if(this._colormix)return"var(--u_"+this._colormix._name+this.toString().toUpperCase()+")";if(this.color()){let D=this.color().toString();return(this.option("parameterize")||this._property&&this._property.isColor()?"/*##*/":"/*#*/")+D}let R=this.toString();return R[0]=="$"?(R="var(--"+R.slice(1)+")",N&&N.as=="js"&&(R=b.singlequote(R)),R):super.c(...arguments)}}class Ie extends U{}class F extends U{visit(){var N;super.visit(...arguments);let R=this.toRaw(),D=this._name=R.slice(1);if(N=R.match(d.HEX_REGEX)){this._hex=!0;let H=m(R).toLch();this._lcha=[H.l,H.c,H.h,H.a]}else this._lcha=["var(--u_"+D+"L)","var(--u_"+D+"C)","var(--u_"+D+"H)","var(--u_"+D+"A,1)"];let B=this.param&&this.param.toAlpha();if(B!=null)return B[0]=="$"&&(B="var(--"+B.slice(1)+",100%)"),this._lcha[3]=B}lcha(){return this._lcha}c(N){var H;let R=this.toRaw(),D=R.slice(1),B=p.from(R);if(this._property&&this._property.isColor())return console.log("deprecated"),B.toVar();var H=g(this._lcha);let ie=H[0],Y=H[1],ne=H[2],pe=H[3];return this._hex&&pe==1?R:"lch("+ie+" "+Y+" "+ne+" / "+pe+")"}}class Q extends U{params(){return this.option("params")}lcha(){return this._lcha}visit(){let N=this.params().toArray().flat(),R=this._name=this.toRaw().slice(1);this.params().traverse(),super.visit(...arguments),this._lcha=[];for(let D=0,B=g(N),H=B.length,ie;D<H;D++)ie=B[D],ie._value!="/"&&this._lcha.push(ie);return this._lcha.length==3&&this._lcha.push(n("var(--u_"+R+"A,1)")),this}c(N){var B;let D=this.toRaw().slice(1);var B=g(e.cary(this._lcha));let H=B[0],ie=B[1],Y=B[2],ne=B[3];return"lch("+H+" "+ie+" "+Y+" / "+ne+")"}}class ee extends U{c(N){return this.toString()}}var G="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 se extends U{constructor(N){super(...arguments),this._value=N;let R=String(N).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(N){return this._number=N,this}setUnit(N){return this._unit=N,this}clone(N,R){N===void 0&&(N=this._number),R===void 0&&(R=this._unit);let D=new se(this.value());return D._unit=R,D._number=N,D}visit(N){return this._unit&&this._unit.match(/^[lcha]$/)&&(this._colormix=N.up(Q))&&(this._unit=""+this._colormix._name+this._unit.toUpperCase()),super.visit(...arguments)}toString(){return""+this._number+(this._unit||"")}toFloat(N){N===void 0&&(N=.01);let R=this._number;return this._unit=="%"&&(R=R*N),R}toRaw(){return this._unit?this.toString():this._number}c(N){let R=this._resolvedValue&&!(this._resolvedValue instanceof t)?a(this._resolvedValue):this.valueOf();return N&&N.as=="js"&&this._unit&&(R=b.singlequote(R)),R}valueOf(){if(this._unit=="u")return this._number*4+"px";if(this._unit==null)return this._number;if(w(this._unit,G)>=0)return String(this._value);{let N=this._colormix?"":",1"+this._unit;return this._number==1?"var(--u_"+this._unit+N+")":"calc(var(--u_"+this._unit+N+") * "+this._number+")"}}toAlpha(){return this._unit?this.valueOf():this._number+"%"}}class re extends se{}return{StyleNode:T,StyleSelector:L,StyleRuleSet:W,StyleBody:J,StyleDeclaration:ae,StyleProperty:ce,StylePropertyIdentifier:he,StylePropertyModifier:de,StyleExpressions:Je,StyleExpression:lt,StyleParens:Z,StyleOperation:_e,StyleTerm:U,StyleInterpolationExpression:fe,StyleFunction:te,StyleURL:V,StyleIdentifier:Ae,StyleString:Ie,StyleColor:F,StyleColorMix:Q,StyleVar:ee,StyleDimension:se,StyleNumber:re}}var Ve={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"]}},Ya=Ve;for(let s of Object.keys(Ve)){if(!("channels"in Ve[s]))throw new Error("missing channels property: "+s);if(!("labels"in Ve[s]))throw new Error("missing channel labels property: "+s);if(Ve[s].labels.length!==Ve[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:e,labels:t}=Ve[s];delete Ve[s].channels,delete Ve[s].labels,Object.defineProperty(Ve[s],"channels",{value:e}),Object.defineProperty(Ve[s],"labels",{value:t})}Ve.rgb.hsl=function(s){let e=s[0]/255,t=s[1]/255,r=s[2]/255,i=Math.min(e,t,r),n=Math.max(e,t,r),a=n-i,o,l;n===i?o=0:e===n?o=(t-r)/a:t===n?o=2+(r-e)/a:r===n&&(o=4+(e-t)/a),o=Math.min(o*60,360),o<0&&(o+=360);let f=(i+n)/2;return n===i?l=0:f<=.5?l=a/(n+i):l=a/(2-n-i),[o,l*100,f*100]};Ve.rgb.hsv=function(s){let e,t,r,i,n,a=s[0]/255,o=s[1]/255,l=s[2]/255,f=Math.max(a,o,l),h=f-Math.min(a,o,l),p=function(m){return(f-m)/6/h+1/2};return h===0?(i=0,n=0):(n=h/f,e=p(a),t=p(o),r=p(l),a===f?i=r-t:o===f?i=1/3+e-r:l===f&&(i=2/3+t-e),i<0?i+=1:i>1&&(i-=1)),[i*360,n*100,f*100]};Ve.rgb.hwb=function(s){let e=s[0],t=s[1],r=s[2],i=Ve.rgb.hsl(s)[0],n=1/255*Math.min(e,Math.min(t,r));return r=1-1/255*Math.max(e,Math.max(t,r)),[i,n*100,r*100]};Ve.rgb.cmyk=function(s){let e=s[0]/255,t=s[1]/255,r=s[2]/255,i=Math.min(1-e,1-t,1-r),n=(1-e-i)/(1-i)||0,a=(1-t-i)/(1-i)||0,o=(1-r-i)/(1-i)||0;return[n*100,a*100,o*100,i*100]};Ve.rgb.xyz=function(s){let e=s[0]/255,t=s[1]/255,r=s[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=e*.4124564+t*.3575761+r*.1804375,n=e*.2126729+t*.7151522+r*.072175,a=e*.0193339+t*.119192+r*.9503041;return[i*100,n*100,a*100]};Ve.rgb.lab=function(s){let e=Ve.rgb.xyz(s),t=e[0],r=e[1],i=e[2];t/=95.047,r/=100,i/=108.883,t=t>.008856?t**(1/3):7.787*t+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*(t-r),o=200*(r-i);return[n,a,o]};Ve.rgb.lch=function(s){return Ve.lab.lch(Ve.rgb.lab(s))};Ve.hsl.lch=function(s){return Ve.rgb.lch(Ve.hsl.rgb(s))};Ve.hsl.rgb=function(s){let e=s[0]/360,t=s[1]/100,r=s[2]/100,i,n,a;if(t===0)return a=r*255,[a,a,a];r<.5?i=r*(1+t):i=r+t-r*t;let o=2*r-i,l=[0,0,0];for(let f=0;f<3;f++)n=e+1/3*-(f-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[f]=a*255;return l};Ve.hsl.hsv=function(s){let e=s[0],t=s[1]/100,r=s[2]/100,i=t,n=Math.max(r,.01);r*=2,t*=r<=1?r:2-r,i*=n<=1?n:2-n;let a=(r+t)/2,o=r===0?2*i/(n+i):2*t/(r+t);return[e,o*100,a*100]};Ve.hsv.rgb=function(s){let e=s[0]/60,t=s[1]/100,r=s[2]/100,i=Math.floor(e)%6,n=e-Math.floor(e),a=255*r*(1-t),o=255*r*(1-t*n),l=255*r*(1-t*(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]}};Ve.hsv.hsl=function(s){let e=s[0],t=s[1]/100,r=s[2]/100,i=Math.max(r,.01),n,a;a=(2-t)*r;let o=(2-t)*i;return n=t*i,n/=o<=1?o:2-o,n=n||0,a/=2,[e,n*100,a*100]};Ve.hwb.rgb=function(s){let e=s[0]/360,t=s[1]/100,r=s[2]/100,i=t+r,n;i>1&&(t/=i,r/=i);let a=Math.floor(6*e),o=1-r;n=6*e-a,a&1&&(n=1-n);let l=t+n*(o-t),f,h,p;switch(a){default:case 6:case 0:f=o,h=l,p=t;break;case 1:f=l,h=o,p=t;break;case 2:f=t,h=o,p=l;break;case 3:f=t,h=l,p=o;break;case 4:f=l,h=t,p=o;break;case 5:f=o,h=t,p=l;break}return[f*255,h*255,p*255]};Ve.cmyk.rgb=function(s){let e=s[0]/100,t=s[1]/100,r=s[2]/100,i=s[3]/100,n=1-Math.min(1,e*(1-i)+i),a=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i);return[n*255,a*255,o*255]};Ve.xyz.rgb=function(s){let e=s[0]/100,t=s[1]/100,r=s[2]/100,i,n,a;return i=e*3.2404542+t*-1.5371385+r*-.4985314,n=e*-.969266+t*1.8760108+r*.041556,a=e*.0556434+t*-.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]};Ve.xyz.lab=function(s){let e=s[0],t=s[1],r=s[2];e/=95.047,t/=100,r/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let i=116*t-16,n=500*(e-t),a=200*(t-r);return[i,n,a]};Ve.lab.xyz=function(s){let e=s[0],t=s[1],r=s[2],i,n,a;n=(e+16)/116,i=t/500+n,a=n-r/200;let o=n**3,l=i**3,f=a**3;return n=o>.008856?o:(n-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,a=f>.008856?f:(a-16/116)/7.787,i*=95.047,n*=100,a*=108.883,[i,n,a]};Ve.lab.lch=function(s){let e=s[0],t=s[1],r=s[2],i;i=Math.atan2(r,t)*360/2/Math.PI,i<0&&(i+=360);let a=Math.sqrt(t*t+r*r);return[e,a,i]};Ve.lch.lab=function(s){let e=s[0],t=s[1],i=s[2]/360*2*Math.PI,n=t*Math.cos(i),a=t*Math.sin(i);return[e,n,a]};Ve.rgb.ansi16=function(s,e=null){let[t,r,i]=s,n=e===null?Ve.rgb.hsv(s)[2]:e;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(t/255));return n===2&&(a+=60),a};Ve.hsv.ansi16=function(s){return Ve.rgb.ansi16(Ve.hsv.rgb(s),s[2])};Ve.rgb.ansi256=function(s){let e=s[0],t=s[1],r=s[2];return e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5)};Ve.ansi16.rgb=function(s){let e=s%10;if(e===0||e===7)return s>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let t=(~~(s>50)+1)*.5,r=(e&1)*t*255,i=(e>>1&1)*t*255,n=(e>>2&1)*t*255;return[r,i,n]};Ve.ansi256.rgb=function(s){if(s>=232){let n=(s-232)*10+8;return[n,n,n]}s-=16;let e,t=Math.floor(s/36)/5*255,r=Math.floor((e=s%36)/6)/5*255,i=e%6/5*255;return[t,r,i]};Ve.rgb.hex=function(s){let t=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t};Ve.hex.rgb=function(s){let e=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let t=e[0];e[0].length===3&&(t=t.split("").map(o=>o+o).join(""));let r=parseInt(t,16),i=r>>16&255,n=r>>8&255,a=r&255;return[i,n,a]};Ve.hex.hsl=function(s){return Ve.rgb.hsl(Ve.hex.rgb(s))};Ve.hex.lch=function(s){return Ve.rgb.lch(Ve.hex.rgb(s))};Ve.rgb.hcg=function(s){let e=s[0]/255,t=s[1]/255,r=s[2]/255,i=Math.max(Math.max(e,t),r),n=Math.min(Math.min(e,t),r),a=i-n,o,l;return a<1?o=n/(1-a):o=0,a<=0?l=0:i===e?l=(t-r)/a%6:i===t?l=2+(r-e)/a:l=4+(e-t)/a,l/=6,l%=1,[l*360,a*100,o*100]};Ve.hsl.hcg=function(s){let e=s[1]/100,t=s[2]/100,r=t<.5?2*e*t:2*e*(1-t),i=0;return r<1&&(i=(t-.5*r)/(1-r)),[s[0],r*100,i*100]};Ve.hsv.hcg=function(s){let e=s[1]/100,t=s[2]/100,r=e*t,i=0;return r<1&&(i=(t-r)/(1-r)),[s[0],r*100,i*100]};Ve.hcg.rgb=function(s){let e=s[0]/360,t=s[1]/100,r=s[2]/100;if(t===0)return[r*255,r*255,r*255];let i=[0,0,0],n=e%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-t)*r,[(t*i[0]+l)*255,(t*i[1]+l)*255,(t*i[2]+l)*255]};Ve.hcg.hsv=function(s){let e=s[1]/100,t=s[2]/100,r=e+t*(1-e),i=0;return r>0&&(i=e/r),[s[0],i*100,r*100]};Ve.hcg.hsl=function(s){let e=s[1]/100,r=s[2]/100*(1-e)+.5*e,i=0;return r>0&&r<.5?i=e/(2*r):r>=.5&&r<1&&(i=e/(2*(1-r))),[s[0],i*100,r*100]};Ve.hcg.hwb=function(s){let e=s[1]/100,t=s[2]/100,r=e+t*(1-e);return[s[0],(r-e)*100,(1-r)*100]};Ve.hwb.hcg=function(s){let e=s[1]/100,r=1-s[2]/100,i=r-e,n=0;return i<1&&(n=(r-i)/(1-i)),[s[0],i*100,n*100]};Ve.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]};Ve.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]};Ve.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]};Ve.gray.hsl=function(s){return[0,0,s[0]]};Ve.gray.hsv=Ve.gray.hsl;Ve.gray.hwb=function(s){return[0,100,s[0]]};Ve.gray.cmyk=function(s){return[0,0,0,s[0]]};Ve.gray.lab=function(s){return[s[0],0,0]};Ve.gray.hex=function(s){let e=Math.round(s[0]/100*255)&255,r=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(r.length)+r};Ve.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]};var a6={grad:.9,turn:360,rad:360/(2*Math.PI)},Ar=function(s){return typeof s=="string"?s.length>0:typeof s=="number"},$t=function(s,e,t){return e===void 0&&(e=0),t===void 0&&(t=Math.pow(10,e)),Math.round(t*s)/t+0},er=function(s,e,t){return e===void 0&&(e=0),t===void 0&&(t=1),s>t?t:s>e?s:e},Wp=function(s){return(s=isFinite(s)?s%360:0)>0?s:s+360},zp=function(s){return{r:er(s.r,0,255),g:er(s.g,0,255),b:er(s.b,0,255),a:er(s.a)}},vh=function(s){return{r:$t(s.r),g:$t(s.g),b:$t(s.b),a:$t(s.a,3)}},o6=/^#([0-9a-f]{3,8})$/i,vo=function(s){var e=s.toString(16);return e.length<2?"0"+e:e},Xp=function(s){var e=s.r,t=s.g,r=s.b,i=s.a,n=Math.max(e,t,r),a=n-Math.min(e,t,r),o=a?n===e?(t-r)/a:n===t?2+(r-e)/a:4+(e-t)/a:0;return{h:60*(o<0?o+6:o),s:n?a/n*100:0,v:n/255*100,a:i}},Jp=function(s){var e=s.h,t=s.s,r=s.v,i=s.a;e=e/360*6,t/=100,r/=100;var n=Math.floor(e),a=r*(1-t),o=r*(1-(e-n)*t),l=r*(1-(1-e+n)*t),f=n%6;return{r:255*[r,o,a,a,l,r][f],g:255*[l,r,r,o,a,a][f],b:255*[a,a,l,r,r,o][f],a:i}},Hp=function(s){return{h:Wp(s.h),s:er(s.s,0,100),l:er(s.l,0,100),a:er(s.a)}},$p=function(s){return{h:$t(s.h),s:$t(s.s),l:$t(s.l),a:$t(s.a,3)}},Up=function(s){return Jp((t=(e=s).s,{h:e.h,s:(t*=((r=e.l)<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}));var e,t,r},Ka=function(s){return{h:(e=Xp(s)).h,s:(i=(200-(t=e.s))*(r=e.v)/100)>0&&i<200?t*r/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,t,r,i},l6=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,h6=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,c6=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,u6=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,xh={string:[[function(s){var e=o6.exec(s);return e?(s=e[1]).length<=4?{r:parseInt(s[0]+s[0],16),g:parseInt(s[1]+s[1],16),b:parseInt(s[2]+s[2],16),a:s.length===4?$t(parseInt(s[3]+s[3],16)/255,2):1}:s.length===6||s.length===8?{r:parseInt(s.substr(0,2),16),g:parseInt(s.substr(2,2),16),b:parseInt(s.substr(4,2),16),a:s.length===8?$t(parseInt(s.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(s){var e=c6.exec(s)||u6.exec(s);return e?e[2]!==e[4]||e[4]!==e[6]?null:zp({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(s){var e=l6.exec(s)||h6.exec(s);if(!e)return null;var t,r,i=Hp({h:(t=e[1],r=e[2],r===void 0&&(r="deg"),Number(t)*(a6[r]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Up(i)},"hsl"]],object:[[function(s){var e=s.r,t=s.g,r=s.b,i=s.a,n=i===void 0?1:i;return Ar(e)&&Ar(t)&&Ar(r)?zp({r:Number(e),g:Number(t),b:Number(r),a:Number(n)}):null},"rgb"],[function(s){var e=s.h,t=s.s,r=s.l,i=s.a,n=i===void 0?1:i;if(!Ar(e)||!Ar(t)||!Ar(r))return null;var a=Hp({h:Number(e),s:Number(t),l:Number(r),a:Number(n)});return Up(a)},"hsl"],[function(s){var e=s.h,t=s.s,r=s.v,i=s.a,n=i===void 0?1:i;if(!Ar(e)||!Ar(t)||!Ar(r))return null;var a=function(o){return{h:Wp(o.h),s:er(o.s,0,100),v:er(o.v,0,100),a:er(o.a)}}({h:Number(e),s:Number(t),v:Number(r),a:Number(n)});return Jp(a)},"hsv"]]},Yp=function(s,e){for(var t=0;t<e.length;t++){var r=e[t][0](s);if(r)return[r,e[t][1]]}return[null,void 0]},f6=function(s){return typeof s=="string"?Yp(s.trim(),xh.string):typeof s=="object"&&s!==null?Yp(s,xh.object):[null,void 0]};var yh=function(s,e){var t=Ka(s);return{h:t.h,s:er(t.s+100*e,0,100),l:t.l,a:t.a}},bh=function(s){return(299*s.r+587*s.g+114*s.b)/1e3/255},Kp=function(s,e){var t=Ka(s);return{h:t.h,s:t.s,l:er(t.l+100*e,0,100),a:t.a}},wh=function(){function s(e){this.parsed=f6(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return s.prototype.isValid=function(){return this.parsed!==null},s.prototype.brightness=function(){return $t(bh(this.rgba),2)},s.prototype.isDark=function(){return bh(this.rgba)<.5},s.prototype.isLight=function(){return bh(this.rgba)>=.5},s.prototype.toHex=function(){return e=vh(this.rgba),t=e.r,r=e.g,i=e.b,a=(n=e.a)<1?vo($t(255*n)):"","#"+vo(t)+vo(r)+vo(i)+a;var e,t,r,i,n,a},s.prototype.toRgb=function(){return vh(this.rgba)},s.prototype.toRgbString=function(){return e=vh(this.rgba),t=e.r,r=e.g,i=e.b,(n=e.a)<1?"rgba("+t+", "+r+", "+i+", "+n+")":"rgb("+t+", "+r+", "+i+")";var e,t,r,i,n},s.prototype.toHsl=function(){return $p(Ka(this.rgba))},s.prototype.toHslString=function(){return e=$p(Ka(this.rgba)),t=e.h,r=e.s,i=e.l,(n=e.a)<1?"hsla("+t+", "+r+"%, "+i+"%, "+n+")":"hsl("+t+", "+r+"%, "+i+"%)";var e,t,r,i,n},s.prototype.toHsv=function(){return e=Xp(this.rgba),{h:$t(e.h),s:$t(e.s),v:$t(e.v),a:$t(e.a,3)};var e},s.prototype.invert=function(){return Qs({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},s.prototype.saturate=function(e){return e===void 0&&(e=.1),Qs(yh(this.rgba,e))},s.prototype.desaturate=function(e){return e===void 0&&(e=.1),Qs(yh(this.rgba,-e))},s.prototype.grayscale=function(){return Qs(yh(this.rgba,-1))},s.prototype.lighten=function(e){return e===void 0&&(e=.1),Qs(Kp(this.rgba,e))},s.prototype.darken=function(e){return e===void 0&&(e=.1),Qs(Kp(this.rgba,-e))},s.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},s.prototype.alpha=function(e){return typeof e=="number"?Qs({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):$t(this.rgba.a,3);var t},s.prototype.hue=function(e){var t=Ka(this.rgba);return typeof e=="number"?Qs({h:e,s:t.s,l:t.l,a:t.a}):$t(t.h)},s.prototype.isEqual=function(e){return this.toHex()===Qs(e).toHex()},s}(),Qs=function(s){return s instanceof wh?s:new wh(s)},qp=[],Zp=function(s){s.forEach(function(e){qp.indexOf(e)<0&&(e(wh,xh),qp.push(e))})};var d6={grad:.9,turn:360,rad:360/(2*Math.PI)},kh=function(s){return typeof s=="string"?s.length>0:typeof s=="number"},In=function(s,e,t){return e===void 0&&(e=0),t===void 0&&(t=Math.pow(10,e)),Math.round(t*s)/t+0},Ir=function(s,e,t){return e===void 0&&(e=0),t===void 0&&(t=1),s>t?t:s>e?s:e},Th=function(s){var e=s/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},Sh=function(s){return 255*(s>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s)},Eh=96.422,Ah=100,Ih=82.521,_6=function(s){var e,t,r={x:.9555766*(e=s).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return t={r:Sh(.032404542*r.x-.015371385*r.y-.004985314*r.z),g:Sh(-.00969266*r.x+.018760108*r.y+41556e-8*r.z),b:Sh(556434e-9*r.x-.002040259*r.y+.010572252*r.z),a:s.a},{r:Ir(t.r,0,255),g:Ir(t.g,0,255),b:Ir(t.b,0,255),a:Ir(t.a)}},m6=function(s){var e=Th(s.r),t=Th(s.g),r=Th(s.b);return function(i){return{x:Ir(i.x,0,Eh),y:Ir(i.y,0,Ah),z:Ir(i.z,0,Ih),a:Ir(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*e+.3575761*t+.1804375*r),y:100*(.2126729*e+.7151522*t+.072175*r),z:100*(.0193339*e+.119192*t+.9503041*r),a:s.a}))},qa=216/24389,Nn=24389/27,t0=function(s){return{l:Ir(s.l,0,100),c:s.c,h:(e=s.h,(e=isFinite(e)?e%360:0)>0?e:e+360),a:s.a};var e},Qp=function(s){return{l:In(s.l,2),c:In(s.c,2),h:In(s.h,2),a:In(s.a,3)}},g6=function(s){var e=s.l,t=s.c,r=s.h,i=s.a,n=i===void 0?1:i;if(!kh(e)||!kh(t)||!kh(r))return null;var a=t0({l:Number(e),c:Number(t),h:Number(r),a:Number(n)});return s0(a)},e0=function(s){var e=function(n){var a=m6(n),o=a.x/Eh,l=a.y/Ah,f=a.z/Ih;return o=o>qa?Math.cbrt(o):(Nn*o+16)/116,{l:116*(l=l>qa?Math.cbrt(l):(Nn*l+16)/116)-16,a:500*(o-l),b:200*(l-(f=f>qa?Math.cbrt(f):(Nn*f+16)/116)),alpha:a.a}}(s),t=In(e.a,3),r=In(e.b,3),i=Math.atan2(r,t)/Math.PI*180;return{l:e.l,c:Math.sqrt(t*t+r*r),h:i<0?i+360:i,a:e.alpha}},s0=function(s){return e={l:s.l,a:s.c*Math.cos(s.h*Math.PI/180),b:s.c*Math.sin(s.h*Math.PI/180),alpha:s.a},r=e.a/500+(t=(e.l+16)/116),i=t-e.b/200,_6({x:(Math.pow(r,3)>qa?Math.pow(r,3):(116*r-16)/Nn)*Eh,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/Nn)*Ah,z:(Math.pow(i,3)>qa?Math.pow(i,3):(116*i-16)/Nn)*Ih,a:e.alpha});var e,t,r,i},v6=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y6=function(s){var e=v6.exec(s);if(!e)return null;var t,r,i=t0({l:Number(e[1]),c:Number(e[2]),h:(t=e[3],r=e[4],r===void 0&&(r="deg"),Number(t)*(d6[r]||1)),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return s0(i)};function r0(s,e){s.prototype.toLch=function(){return Qp(e0(this.rgba))},s.prototype.toLchString=function(){return t=Qp(e0(this.rgba)),r=t.l,i=t.c,n=t.h,(a=t.a)<1?"lch("+r+"% "+i+" "+n+" / "+a+")":"lch("+r+"% "+i+" "+n+")";var t,r,i,n,a},e.string.push([y6,"lch"]),e.object.push([g6,"lch"])}Zp([r0]);var i0=Qs;function Nh(s){let e=Qs(s).toLch();return[e.l,e.c,e.h,e.a]}function yo(s){return s?s.toArray?s.toArray():s:[]}var n0=5,a0=1<<n0,b6=a0-1,x6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function ps(s,e){this._script=s,this._options=e||{},this._sourcePath=this._options.sourcePath,this._sourceRoot=this._options.sourceRoot,this._targetPath=this._options.targetPath,this._maps=[],this._map="",this._js=""}ps.prototype.result=function(s){return this._result};ps.prototype.setResult=function(s){return this._result=s,this};ps.prototype.source=function(){return this._source};ps.prototype.options=function(){return this._options};ps.prototype.sourceCode=function(){return this._script.sourceCode};ps.prototype.sourceName=function(){return mo(this._sourcePath)};ps.prototype.targetName=function(){return mo(this._targetPath)};ps.prototype.sourceFiles=function(){return[this.sourceName()]};ps.prototype.parse=function(){var s=this,e=/\/\*\%([\w\|]*)?\$\*\//,t=/^(.*?)\/\*\%([\w\|]*)\$\*\//,r=s._script.js,i=s._script.js.split(/\n/g),n=s._options.debug,a=s.sourceCode(),o=Ba(a),l="";s._locs=[],s._maps=[],s._names=[];var f=[],h={},p={},m,d=0;for(let w=0,_=yo(i),x=_.length,v;w<x;w++){v=_[w];var b=0,g=-1;for(s._maps[w]=[];v.match(e);)v=v.replace(t,function(C,A,E){var S;if(E=="")return A;let T=E.split("|"),L=parseInt(T[0]),y=T[1]&&parseInt(T[1]);var M=o[L];if(!M)return A;let j=M[0]+1,P=M[1]+1;if(g!=A.length){g=A.length;var W=[[j,P],[w+1,g+1]];s._maps[w].push(W)}let J=[d+g,L];if(s._locs.push(J),y)if(S=h[y]){S[1]=J[0],S[3]=J[1];let ae=S.join("|");if(p[ae])h[y]=[];else{p[ae]=!0;let ce=a.slice(S[2],S[3]);S.START&&(S.START[2]=ce,s._names.indexOf(ce)<0&&s._names.push(ce))}}else h[y]=[J[0],null,J[1],null];return A});d+=v.length+1,i[w]=v}if(s._script.js=i.join(`
`),s._script.locs={spans:Object.values(h)},n){for(let x=0,v=yo(s._script.locs.spans),C=v.length,A;x<C;x++)if(A=v[x],A[1]!=null){let E=s._script.js.slice(A[0],A[1]).split(`
`),S=a.slice(A[2],A[3]).split(`
`);A.push(E[0]),A.push(S[0])}let w={0:"₀",1:"₁",2:"₂",3:"₃",4:"₄",5:"₅",6:"₆",7:"₇",8:"₈",9:"₉","|":"₌"},_=function(x,v){return"["+v+"]"};s._script.js=s._script.js+`
/*
`+r.replace(/\/\*\%([\w\|]*)?\$\*\//g,_).replace(/\/\*/g,"**").replace(/\*\//g,"**")+`
*/`}return s};ps.prototype.generate=function(){this.parse();var s=1,e=1,t=1,r="";for(let l=0,f=yo(this._maps),h=f.length,p;l<h;l++){p=f[l],s=1;for(let m=0,d=yo(p),b=d.length,g;m<b;m++){g=d[m],m!=0&&(r+=",");var i=g[0],n=g[1];r+=this.encodeVlq(n[1]-s),s=n[1],r+=this.encodeVlq(0),r+=this.encodeVlq(i[0]-e),e=i[0],r+=this.encodeVlq(i[1]-t),t=i[1]}r+=";"}var a=this._targetPath&&$a(Ua(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};ps.prototype.inlined=function(){try{var s=JSON.stringify(this._result);if(globalThis.Buffer)s=Buffer.from(s,"utf-8").toString("base64");else if(typeof btoa=="function")s=btoa(s);else return;return`
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+s}catch{}return console.warn("base64 encoding not supported - skipping inline sourceMapping"),""};ps.prototype.encodeVlq=function(s){for(var e="",t=s<0?1:0,r,i=(Math.abs(s)<<1)+t;i||!e;)r=i&b6,i=i>>n0,i&&(r|=a0),e+=this.encodeBase64(r);return e};ps.prototype.toJSON=function(){return this._result};ps.prototype.encodeBase64=function(s){return x6[s]};var jt=Symbol.for("#__init__"),l0=Symbol.for("#__initor__"),w6=Symbol.for("#__inited__"),o0=Symbol.for("#__hooks__");var k6=Symbol.for("#meta"),Rh=Symbol.for("imba");var ds={IsExtension:1,IsTag:2,HasDescriptors:4,HasSuperCalls:8,HasConstructor:16,HasFields:32,HasMixins:64,HasInitor:128,HasDecorators:256,IsObjectExtension:512,IsMixin:1024},Rn=new Map,T6=globalThis[Rh]||(globalThis[Rh]={counter:0,classes:Rn});function On(s,e={}){var t;return Rn.has(s)||Rn.set(s,{symbol:Symbol(s.name),parent:(t=Object.getPrototypeOf(s.prototype))==null?void 0:t.constructor,for:s,uses:null,inits:null,id:T6.counter++,...e}),Rn.get(s)}function Bt(s,e){var t;return typeof e=="string"?typeof s===e:(t=e==null?void 0:e[Symbol.hasInstance])==null?void 0:t.call(e,s)}function nt(s){var e;return((e=s==null?void 0:s.toIterable)==null?void 0:e.call(s))||s}function S6(s,e){if(!s||!e)return!1;if(s.get)return e.get===s.get;if(s.set)return e.set===s.set;if(s.value)return s.value===e.value}function h0(s,e,t,r={}){let i=s.constructor;!t&&e&&(t=Object.getOwnPropertyDescriptors(e),delete t.constructor,t[jt]&&(console.warn(`Cannot define plain fields when extending class ${i.name}`),delete t[jt]));let n=On(i);if(n&&n.augments){let a=new Map;for(let o of Object.keys(t)){let l=Object.getOwnPropertyDescriptor(s,o);for(let f of n.augments){let h=a.get(f);h||a.set(f,h={});let p=Object.getOwnPropertyDescriptor(f.prototype,o);p&&!S6(l,p)?console.warn("wont extend",o,p,l):h[o]=t[o]}}for(let[o,l]of a)Object.keys(l).length&&h0(o.prototype,null,l)}return Object.defineProperties(s,t),s}function Oh(s,e){var a;let t=On(s),r=On(e),i=r.parent;for(;i&&((a=On(i))==null?void 0:a.flags)&ds.IsMixin;){Oh(s,i),i=null;break}if(i&&!(s.prototype instanceof i))throw new Error(`Mixin ${e.name} has superclass not present in target class`);if(!r.augments){r.augments=new Set;let o=r.ref=Symbol(e.name),l=Object[Symbol.hasInstance];e.prototype[o]=!0,Object.defineProperty(e,Symbol.hasInstance,{value:function(f){return this===e?f&&!!f[o]:l.call(this,f)}})}if(s.prototype[r.ref])return s;if(r.uses)for(let o of r.uses)Oh(s,o);r.augments.add(s),t.uses||(t.uses=[]),t.uses.push(e);let n=Object.getOwnPropertyDescriptors(e.prototype);return delete n.constructor,n[jt]&&(t.inits||(t.inits=[]),t.inits.push(e.prototype[jt]),delete n[jt]),Object.defineProperties(s.prototype,n),(e==null?void 0:e.mixed)instanceof Function&&e.mixed(s),s}var Li={cache:{},self:null,target:null,proxy:new Proxy({},{apply:(s,e,t)=>Reflect.apply(Li.target,e,t),get:(s,e)=>{let t=Reflect.get(Li.target,e,Li.self);return t instanceof Function?t.bind(Li.self):t},set:(s,e,t,r)=>Reflect.set(Li.target,e,t,Li.self)})};function je(s,e,t,r,i=null){var f;let n=Object.getPrototypeOf(s.prototype),a=(r&(ds.HasMixins|ds.IsExtension))==ds.HasMixins,o;if(a&&(Rn.set(s,Rn.get(n.constructor)),n=Object.getPrototypeOf(n)),i){let h=r&ds.IsObjectExtension?i:i.prototype,p=On(s);if(p.uses){i===h&&console.warn("Cannot extend object with mixins");for(let m of p.uses)Oh(i,m)}return r&ds.HasSuperCalls&&(Li.cache[e]=Object.create(Object.getPrototypeOf(h),Object.getOwnPropertyDescriptors(h))),h0(h,s.prototype),i}let l=n==null?void 0:n.constructor;if(o=On(s,{symbol:e}),Object.defineProperty(s,k6,{value:o,enumerable:!1,configurable:!0}),t&&s.name!==t&&Object.defineProperty(s,"name",{value:t,configurable:!0}),o.flags=r,r&ds.HasConstructor&&(s.prototype[l0]=e),o.uses)for(let h of o.uses)(f=h.mixes)==null||f.call(h,s);return(l==null?void 0:l.inherited)instanceof Function&&l.inherited(s),s}function Xt(s,e){var t;s[l0]===e&&((t=s[w6])==null||t.call(s),s[o0]&&s[o0].inited(s))}var Io={};wn(Io,{layerize:()=>To,parse:()=>Ao,render:()=>So,rewrite:()=>ko,test:()=>F6,unwrap:()=>Eo});var Ch={};wn(Ch,{colors:()=>Lh,fonts:()=>Wa,modifiers:()=>Ln,named_colors:()=>bo,variants:()=>c0});var Wa={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'},Ln={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"}},c0={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)"}},Lh={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"}},bo={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 _s(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}function wo(s,e=[]){return Object.assign(e,s)}_s.prototype.registerSelectorPseudos=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],this.pseudos[s]="selector";return this};_s.prototype.unregisterSelectorPseudos=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],delete this.pseudos[s];return this};_s.prototype.registerNumericPseudos=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],this.pseudos[s]="numeric";return this};_s.prototype.unregisterNumericPseudos=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],delete this.pseudos[s];return this};_s.prototype.registerNestingOperators=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],this.ruleNestingOperators[s]=!0;return this};_s.prototype.unregisterNestingOperators=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],delete this.ruleNestingOperators[s];return this};_s.prototype.registerAttrEqualityMods=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],this.attrEqualityMods[s]=!0;return this};_s.prototype.unregisterAttrEqualityMods=function(s){for(var e=0,t=arguments.length;e<t;e++)s=arguments[e],delete this.attrEqualityMods[s];return this};_s.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this};_s.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this};function E6(s){return s>="a"&&s<="z"||s>="A"&&s<="Z"||s==="-"||s==="_"}function A6(s){return s>="a"&&s<="z"||s>="A"&&s<="Z"||s>="0"&&s<="9"||s==="-"||s==="_"}function xo(s){return s>="a"&&s<="f"||s>="A"&&s<="F"||s>="0"&&s<="9"}var p0={"!":!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},I6={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},u0={n:`
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},f0={n:`
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};function N6(s,e,t,r,i,n,a){var o,l,f,h,p;return h=s.length,o=null,this.options=a,f=function(m,d){var b,g,w;for(w="",e++,o=s.charAt(e);e<h;){if(o===m)return e++,w;if(o==="\\")if(e++,o=s.charAt(e),o===m)w+=m;else if(b=d[o])w+=b;else if(xo(o)){for(g=o,e++,o=s.charAt(e);xo(o);)g+=o,e++,o=s.charAt(e);o===" "&&(e++,o=s.charAt(e)),w+=String.fromCharCode(parseInt(g,16));continue}else w+=o;else w+=o;e++,o=s.charAt(e)}return w},l=function(m){var d="";for(o=s.charAt(e);e<h;){if(A6(o)||m&&m[o])d+=o;else if(o==="\\"){if(e++,e>=h)throw Error("Expected symbol but end of file reached.");if(o=s.charAt(e),p0[o])d+=o;else if(xo(o)){var b=o;for(e++,o=s.charAt(e);xo(o);)b+=o,e++,o=s.charAt(e);o===" "&&(e++,o=s.charAt(e)),d+=String.fromCharCode(parseInt(b,16));continue}else d+=o}else return d;e++,o=s.charAt(e)}return d},p=function(){o=s.charAt(e);for(var m=!1;o===" "||o===" "||o===`
`||o==="\r"||o==="\f";)m=!0,e++,o=s.charAt(e);return m},this.parse=function(){var m=this.parseSelector();if(e<h)throw Error('Rule expected but "'+s.charAt(e)+'" found.');return m},this.parseSelector=function(){var m,d=m=this.parseSingleSelector();for(o=s.charAt(e);o===",";){if(e++,p(),m.type!=="selectors"&&(m={type:"selectors",selectors:[d]}),d=this.parseSingleSelector(),!d)throw Error('Rule expected after ",".');m.selectors.push(d)}return m},this.parseSingleSelector=function(){p();let m=s.slice(e,e+4).match(/^(\>{1,3}|\+|~)/);var d={type:"ruleSet"},b=m?Object.assign([],{type:"rule",isScope:!0}):this.parseRule();if(!b)return null;for(var g=d;b&&(b.type="rule",g==b||(g.rule=b,g=b),p(),o=s.charAt(e),!(e>=h||o===","||o===")"));)if(i[o]){var w=o;if(w==">"&&s.charAt(e+1)==">"&&s.charAt(e+2)==">"?(w=">>>",e=e+3):w==">"&&s.charAt(e+1)==">"?(w=">>",e=e+2):e++,p(),b=this.parseRule(null),!b)if(w==">"||w==">>>"||w==">>")b=wo({tagName:"*"});else throw Error('Rule expected after "'+w+'".');b.nestingOperator=w}else b=this.parseRule(g);return d},this.parseSubRule=function(m="is",d=!1,b=!1){let g={name:m,valueType:"selector",up:!0};if(d){let w=this.parseRule();w.type="rule",g.value={type:"ruleSet",rule:w},b&&(g.after=w.rule=wo({tagName:"*",nestingOperator:null,type:"rule"}))}else{let w=this.parseSelector();g.value=w}return g},this.parseRule=function(m){var L;for(var d=null,b=!1,g=!1,w=!1,_=!1,x={},v=0;e<h;){if(o=s.charAt(e),x={},o=="!"&&(w=!0,o=s.charAt(++e),d=d||m,x.not=!0),o=="@"&&s.charAt(e+1)==".")d=d||m,x.implicitScope=!0,e++,o=".";else if(o=="@"&&s.charAt(e+1)=="@")x.implicitScope=!0,x.base=(L=this.options.tags)==null?void 0:L[0],x.base&&(x.base="."+x.base.cssid()),_=x,d=d||m,e++,s.charAt(e+1)=="."&&(e++,o=".",x.implicitScope=!0);else if(o=="."&&s.charAt(e+1)=="."){_=x,d=d||m,x.implicitScope=!0,e++;let y=s.charAt(e+1);(y=="%"||y=="$"||y=="@")&&(o=y,e++)}for(;o=="^";)o=s.charAt(++e),d=d||m,x.implicitScope=!0,v++;if(x.up=v,x.closest=_,o==="&")e++,(d=d||[]).isScope=!0;else if(o==="^"){e++;let y=this.parseSubRule("is",!0,!0);(d=d||m||[]).push(y)}else if(o==="*")e++,(d=d||[]).tagName="*";else if(E6(o)||o==="\\")(d=d||[]).tagName=l();else if(o==="$")e++,x.flag="$"+l(),x.ref=!0,(d=d||[]).push(x);else if(o==="%")e++,x.flag=o+l(),(d=d||[]).push(x);else if(o==="."){e++;let y=s.charAt(e++);y=="!"&&(x.not=!0,y=""),y+=l({}),x.flag=y,(d=d||[]).push(x)}else if(o==="#")e++,(d=d||[]).id=l();else if(o==="["){e++,p();var C=x.attr={name:l()};if(p(),o==="]")e++;else{var A="";if(r[o]&&(A=o,e++,o=s.charAt(e)),e>=h)throw Error('Expected "=" but end of file reached.');if(o!=="=")throw Error('Expected "=" but "'+o+'" found.');C.operator=A+"=",e++,p();var E="";if(C.valueType="string",o==='"')E=f('"',f0);else if(o==="'")E=f("'",u0);else if(n&&o==="$")e++,E=l(),C.valueType="substitute";else{for(;e<h&&o!=="]";)E+=o,e++,o=s.charAt(e);E=E.trim()}if(p(),e>=h)throw Error('Expected "]" but end of file reached.');if(o!=="]")throw Error('Expected "]" but "'+o+'" found.');e++,C.value=E}(d=d||[]).push(x)}else if(o===":"||o==="@"){if(o==":"&&s.charAt(e+1)==":"){(d=d||m||[]).pseudoElement=l({":":!0});continue}e++,x.name=o;var S=x;let y=s.charAt(e++);if(y=="!"&&(x.not=!0,y=""),y+=l({"~":!0,"+":!0,".":!1,">":!0,"<":!0}),y=="unimportant"){b=!0,x.type="unimportant",(d=d||m||[]).push(x);continue}if(x.name+=y,x.pseudo=y,o==="("){e++;var T="";if(p(),t[y]==="selector")S.valueType="selector",T=this.parseSelector();else{if(S.valueType=t[y]||"string",o==='"')T=f('"',f0);else if(o==="'")T=f("'",u0);else if(n&&o==="$")e++,T=l(),S.valueType="substitute";else{for(;e<h&&o!==")";)T+=o,e++,o=s.charAt(e);T=T.trim()}p()}if(e>=h)throw Error('Expected ")" but end of file reached.');if(o!==")")throw Error('Expected ")" but "'+o+'" found.');e++,S.value=T}(d=d||m||[]).push(x)}else break}return d},this}_s.prototype.parse=function(s,e){var t=new N6(s,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled,e);return t.parse()};_s.prototype.escapeIdentifier=function(s){for(var e="",t=0,r=s.length;t<r;){var i=s.charAt(t);if(p0[i])e+="\\"+i;else if(i==="_"||i==="-"||i>="A"&&i<="Z"||i>="a"&&i<="z"||t!==0&&i>="0"&&i<="9")e+=i;else{var n=i.charCodeAt(0);if((n&63488)===55296){var a=s.charCodeAt(t++);if((n&64512)!==55296||(a&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");n=((n&1023)<<10)+(a&1023)+65536}e+="\\"+n.toString(16)+" "}t++}return e};_s.prototype.escapeStr=function(s){for(var e="",t=0,r=s.length,i,n;t<r;)i=s.charAt(t),i==='"'?i='\\"':i==="\\"?i="\\\\":(n=I6[i])&&(i=n),e+=i,t++;return'"'+e+'"'};_s.prototype.render=function(s,e={}){return this._renderEntity(s,null,e).trim()};var R6=null,d0=":where(:root,:not(:root))";function O6(s){return s&&s!=="*"?`:where(${s})`:d0}function L6(s,e,t){if(e>5)return`${s} ${t}`;for(var r=s,i=1;i<e;i++)r+=` > ${d0}`;return`${r} > ${t}`}_s.prototype._renderEntity=function(s,e,t={}){var a,o,l;var r,i,n;switch(n="",s.type){case"ruleSet":for(r=s.rule,R6=s,i=[];r;)r.nestingOperator&&i.push(r.nestingOperator),i.push(this._renderEntity(r,null,t)),r=r.rule;if((a=s.media)!=null&&a.length&&(t.media=s.media),(o=s.container)!=null&&o.length&&(t.container=s.container),s.scopeFrom){let w=s.scopeFrom.map(this._renderEntity,this).join(" ");t.scopeFrom=w}s.scopeTo&&(t.scopeTo=s.scopeTo),n=i.join(" ");break;case"selectors":n=s.selectors.map(this._renderEntity,this).join(", ");break;case"rule":let f=s.s1,h=s.s2,p=s.tagName;if(p)if(p==="*")n="*";else{let w=ti[p]||p=="svg"||p.indexOf("-")>0,_=this.escapeIdentifier(p);w?n=_:n=`:is(${_},${_}-tag)`}s.id&&(n+="#"+this.escapeIdentifier(s.id));let m=0,d=s.length,b,g=()=>(b===void 0&&(b=n),O6(b));for(;m<d;){let w=null,_=s[m++],x=_.attr,v=_.flag,C="",A=_.not,E=A,S=_.pseudo?_:null,T=Ln[_.pseudo];if(T!=null&&T.raw){let L=A?T.rawneg:T.raw;_.pseudo=="lighty"&&n==":root"?L=A?":not(.@light)":".@light":_.pseudo=="darky"&&n==":root"&&(L=A?":not(.@dark)":".@dark"),n+=L.replace(/\.\@/g,".\\@");continue}if(!(_.media||_.skip||_.container)){if(T&&T.flag&&(v=T.flag,S=null),T&&T.type=="el"&&(S=null,s.pseudoElement||(s.pseudoElement="::"+_.pseudo)),T&&T.type=="@"&&(S=null,s.pseudoElement||(s.pseudoElement="@"+_.pseudo)),v&&(C="."+this.escapeIdentifier(v)),x&&(x.operator?x.valueType==="substitute"?C="["+this.escapeIdentifier(x.name)+x.operator+"$"+x.value+"]":C="["+this.escapeIdentifier(x.name)+x.operator+this.escapeStr(x.value)+"]":C="["+this.escapeIdentifier(x.name)+"]"),S){let L=(l=T&&T.name)!=null?l:S.pseudo,y=this.escapeIdentifier(L);T&&T.valueType&&(S=T);let M="",j=S.value||S.name,P=":"+y;if(T&&T.type=="pseudoel"&&(P=":"+P),S.valueType)S.valueType==="selector"?C=P+"("+this._renderEntity(S.value,e,t)+")"+M:S.valueType==="substitute"?C=P+"($"+S.value+")"+M:S.valueType==="numeric"||S.valueType==="raw"||S.valueType==="string"?C=P+"("+S.value+")"+M:C=P+"("+this.escapeIdentifier(S.value)+")"+M;else if(S.type=="el")C=":"+P;else if(!T)C=`.\\@${y}`;else if(T.shim){let W=A?":not":":is";C=`.\\@${T.shim==!0?y:T.shim}`,C=`${W}(:${typeof T.native=="string"?T.native:y},${C})`,A=!1}else T.flag?C=`.\\@${y}`:C=P+M}if(_.closest){let L=s.filter(M=>M.closest==_);L.map(M=>M.closest=null),_.not=!1;let y=this._renderEntity(wo({type:"rule"},L),null,t);L.map(M=>M.skip=!0),_.base&&(y=`${_.base}${y}`),C=`:${E?"not":"is"}(${y} ${g()})`,A=!1}else if(_.up){if(E){let L=Object.assign({},_,{not:!1,up:0,closest:!1,skip:!1});C=this._renderEntity(wo({type:"rule"},[L]),null,t)}C=`:${E?"not":"is"}(${L6(C,_.up,g())})`,A=!1}A&&(C=`:not(${C})`),n+=C}}if(f>0)for(;--f>=0;)n+=":not(#_)";if(h>0)for(;--h>=0;)n+=":not(._0)";s.pseudoElement&&(n+=s.pseudoElement);break;default:throw Error('Unknown entity type: "'+s.type(+'".'))}return n};var Cn=new _s;Cn.registerSelectorPseudos("has","not","is","matches","any","where");Cn.registerNumericPseudos("nth-child");Cn.registerNestingOperators(">>>",">>",">","+","~");Cn.registerAttrEqualityMods("^","$","*","~");var Mh=function(s,e){return Cn.parse(s,e)},_0=function(s,e={}){return Cn.render(s,e)};function Rs(s){let e;return s&&((e=s.toIterable)?e.call(s):s)}function m0(s,e){return s[s.length+e]}function g0(s,e){var t;return s===e||((t=e==null?void 0:e[M6])==null?void 0:t.call(e,s))||!1}var M6=Symbol.for("#matcher"),v0=Symbol.for("#rules"),D6=Symbol.for("#string"),P6=Symbol.for("#media"),V6=Symbol.for("#container");function b0(s,e){return s.unshift({flag:e}),s}function y0(s,e){return b0(s,e),s.metas||(s.metas=[]),s.metas.push(e),s}function ko(s,e,t={}){var A,E,S,T,L;if(s.type=="selectors")for(let y=0,M=Rs(s.selectors),j=M.length;y<j;y++){let P=M[y];ko(P,s,t)}if(s.type!="ruleSet")return s;let r=s,i=0,n=0,a=0,o=0;s.meta={},s.scopeTo=null,s.media=[],s.container=[];let l=[],f=s.rule;for(;f;)l.push(f),f=f.rule;let h=l.slice(0).reverse();for(let y=0,M=Rs(h),j=M.length;y<j;y++){let P=M[y],W=h[y+1];for(let J=0,ae=Rs(P),ce=ae.length;J<ce;J++){let he=ae[J];he.up>0&&W&&(he.up-=1,W.push(he),P[J]={})}}let p=l[0],m=null,d=null,b=!1,g=!!t.global,w=!1,_=0;if(((A=l[0])==null?void 0:A.tagName)=="*"){l[0].nestingOperator=">>>";let y=l[0];l[0].length==0&&l[1]&&(y=l[1],y.nestingOperator=">>>"),l.unshift(s.rule=Object.assign([],{type:"rule",rule:y,isScope:!0,nestingOperator:">>>"}))}for(let y=0,M=Rs(l),j=M.length;y<j;y++){let P=M[y],W=l[y-1],J=l[y+1],ae=P.tagName,ce=P.slice(0),he=P.op=P.nestingOperator;if(ae=="*"&&(ce.length==0&&J&&W&&!g&&(W.rule=J,J.op=J.nestingOperator=">>>"),m||(m=W),b||(b=P),g=!0,P.op=">>>"),y==0&&!ae&&!he&&((E=P[0])!=null&&E.pseudo||(S=P[0])!=null&&S.implicitScope)&&(P.implicitScope=!0),he==">>"?(m=W,b=P,P.nestingOperator=">",g=!0):he==">>>"&&(m=W,b=P,P.nestingOperator=null,g=!0),g||(P.isScoped=!0),ae=="html"&&(P.isRoot=!0),ce.some(function(de){return de.pseudo=="root"})&&(P.isRoot=!0),ae=="self"||P.isScope){for(let de=0,Je=Rs(l.slice(0,y)),lt=Je.length;de<lt;de++){let Z=Je[de];Z.isScoped=!1}P.isScope=!0,P.isScoped=!1,P.tagName=null}(ae=="body"||ae=="html")&&(P.isScoped=!1),t.ns&&(!J||J.nestingOperator==">>>")&&!m&&!d&&(P.isScope,m=P);for(let de=0,Je=Rs(ce),lt=Je.length,Z,_e;de<lt;de++){let U=Je[de],fe=U.pseudo,te=Ln[U.pseudo],V=/^(\!)?(\d+)([a-z]+)?$/;if(Z=(T=fe==null?void 0:fe.match)==null?void 0:T.call(fe,V)){let Ae=parseInt(Z[2]);Z[1]=="!"&&(U.not=!U.not);let Ie={w:"width",h:"height","":"width"}[Z[3]||""],F=U.not?"(max-"+Ie+": "+(Ae-1)+"px)":"(min-"+Ie+": "+Ae+"px)";U.closest?U.container=F:U.media=F}if(fe=="scoped"){try{_e=t.scope.cssid()}catch{}U.pseudo=null;let Ae=[];for(;m0(P,-1)!=U;)Ae.unshift(P.pop());s.scopeFrom=l.slice(0,y+1),s.scopeTo="."+_e,g=!0,s.rule=[{pseudo:"scope"}].concat(Ae),s.rule.type="rule",s.rule.rule=J}if(fe=="scope-to"){U.scopeTo=U.value,U.pseudo=null;let Ae=[];for(;m0(P,-1)!=U;)Ae.unshift(P.pop());s.scopeFrom=l.slice(0,y+1),s.scopeTo=U.value,s.rule=[{pseudo:"scope"}].concat(Ae),s.rule.type="rule",s.rule.rule=J}(fe=="important"||fe=="force")&&(U.pseudo=null,U.important=!0,_+=1),te!=null&&te.scrollstate&&(U.container=te.scrollstate),te!=null&&te.media&&(U.not?te.medianeg&&(U.media=te.medianeg):U.media=te.media),te!=null&&te.container&&(U.not?te.containerneg&&(U.container=te.containerneg):U.container=te.media),U.pseudo=="media"&&(U.media="("+U.value+")"),fe=="local"?(U.remove=!0,t.hasScopedStyles=!0,t.ns&&b0(P,t.ns)):fe=="off"||fe=="out"||fe=="in"?(w=!0,(e||s).hasTransitionStyles=!0,(e||s)["_"+fe+"_"]=!0):(U.name=="enter"||U.name=="leave")&&((e||s)["_"+fe+"_"]=!0),U.media&&s.media.push(U.media),U.container&&s.container.push(U.container),(g0(fe,"odd")||g0(fe,"even"))&&Object.assign(U,te)}}let x=l[l.length-1],v=l.find(function(y){return y.isScope});if(!v&&(t.id||l[0].nestingOperator||l[0].tagName=="*")){let y=l.findIndex(function(j){return j.isScoped}),M=0>=y?s:l[y-1];v=M.rule=Object.assign([],{isScope:!0,rule:l[y],type:"rule"})}!v&&l[0].implicitScope&&(l[0].isScope=!0,v=l[0],v.isScoped=!1);for(let y=0,M=Rs(l),j=M.length;y<j;y++){let P=M[y];if(P.isScoped&&t.scope){let W=t.scope.cssns();y0(P,W)}}if(v&&t.scope&&!(!v.length&&v!=x&&v==l[0]&&!t.id&&(!v.rule||!v.rule.op))){let y=t.id||(t.scope.cssid?t.scope.cssid():t.scope.cssns());y0(v,y)}let C=0;for(let y=0,M=Rs(l),j=M.length;y<j;y++){let P=M[y];if(P.isScope)continue;!(((L=P.metas)==null?void 0:L.length)||0)&&P.length&&(C+=1)}return C>1&&(C=1),o=C,t.inline&&(a=3,o=0),t.type=="component"&&(a=x.isScope?0:1),t.type=="scoped"&&(a=x.isScope?2:1),w&&(a=4),a+=_,t.respecify!==!1&&(x.s1=Math.max(n,a),x.s2=o),t.respecify===!1&&(x.s1=x.s2=0),s}function To(s,e={}){let t=[[]],r=[t],i=s.selectors||[s];s[v0]=[];for(let n=0,a=Rs(i),o=a.length;n<o;n++){let l=a[n],f={media:"",scopeFrom:null,scopeTo:null,container:null},h=_0(l,f);l[D6]=h;let p=[];if(f.scopeTo){let m="@scope ("+f.scopeFrom+") to ("+f.scopeTo+")";p.push(m)}if(f.media){let m="@media "+f.media.join(" and ");p.push(l[P6]=m)}if(f.container){let m="@container "+f.container.join(" and ");l[V6]=m,p.push(m)}for(let m=0,d=Rs(p),b=d.length;m<b;m++){let g=d[m];if(t[0][m]!=g){r.push(t=[p]);break}}t.push(h),s[v0].push(l)}return r}function So(s,e,t={},r={}){let i=To(s,t),n=[],a=r.indent||"",o=a;for(let l=0,f=Rs(i),h=f.length;l<h;l++){let[p,...m]=f[l];if(m.length==0)continue;let d=m.join(",")+" {$CONTENT$}";for(let b=0,g=Rs(p.toReversed()),w=g.length;b<w;b++){let _=g[b];o+=" ",d=_+"{ "+d+" }"}n.push(d)}return n.join(`
`).replace(/\$CONTENT\$/g,e+a)}function Eo(s,e){let t=s.split(","),r=e.split(","),i=[];for(let n=0,a=Rs(r),o=a.length;n<o;n++){let l=a[n];for(let f=0,h=Rs(t),p=h.length;f<p;f++){let m=h[f],d=l;d.indexOf("&")>=0?d=d.replace("&",m):d=m+" "+d,i.push(d)}}return i.join(",")}function Ao(s,e){let t=Mh(s,e);return t&&ko(t,null,e)}function F6(s,e=!1){let t=Mh(s),i=ko(t,null,{ns:"dvs342"}),n=So(i);return console.log(n),e&&console.dir(t,{depth:null}),n}function bt(s){let e;return s&&((e=s.toIterable)?e.call(s):s)}function Pn(s,e){var t;return typeof e=="string"?typeof s===e:(t=e[Symbol.hasInstance])==null?void 0:t.call(e,s)}function x0(s,e){var t;return s===e||((t=e==null?void 0:e[G6])==null?void 0:t.call(e,s))||!1}function w0(s,e){return s[s.length+e]}var A0,Dh=Symbol.for("#lcha"),G6=Symbol.for("#matcher"),Ph=Symbol.for("#stack"),Xa=Symbol.for("#parts"),Ja=Symbol.for("#apply"),No=Symbol.for("#register"),ri=Symbol.for("#string"),j6=Symbol.for("#media"),B6=Symbol.for("#rules");var z6=null,k0=new WeakMap,I0={vflex:function(s){return s.display="flex",s.fld="column"},hflex:function(s){return s.display="flex",s.fld="row"},box:function(s){return s.display="flex",s.ai="center",s.jc="center"},vbox:function(s){return s.display="flex",s.fld="column",s.ai="center",s.jc="center"},hbox:function(s){return s.display="flex",s.fld="row",s.ai="center",s.jc="center"},lbox:function(s){return s.display="flex",s.fld="row",s.ai="center",s.jc="flex-start"},rbox:function(s){return s.display="flex",s.fld="row",s.ai="center",s.jc="flex-end"},tbox:function(s){return s.display="flex",s.fld="column",s.ai="center",s.jc="flex-start"},bbox:function(s){return s.display="flex",s.fld="column",s.ai="center",s.jc="flex-end"},hgrid:function(s){return s.display="grid",s.gaf="column",s.gac="1fr"},vgrid:function(s){return s.display="grid",s.gaf="row"}};A0=0;for(let s of bt("vh")){let e=A0++;for(let t of bt("tcbs"))for(let r of bt("lcrs")){let i={t:"flex-start",b:"flex-end",c:"center",s:e?"stretch":"space-between"},n={l:"flex-start",r:"flex-end",c:"center",s:e?"space-between":"stretch"},a=""+s+t+r,o={display:"flex",fld:e?"row":"column",jc:e?n[r]:i[t],ai:e?i[t]:n[r],ac:e?i[t]:n[r]};I0[a]=function(l){return Object.assign(l,o),l}}}var Ro={ease:"linear|ease|ease-in|ease-out|ease-in-out|step-start|step-end|stepsƒ|cubic-bezierƒ"};for(let s=0,e=Object.keys(Ro),t=e.length,r,i;s<t;s++){r=e[s],i=Ro[r];let n={};for(let a=0,o=bt(i.split("|")),l=o.length;a<l;a++){let f=o[a];n[f]=1}Ro[r]=n}var Vn={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"},jh={};for(let s=0,e=Object.keys(Vn),t=e.length,r,i;s<t;s++)r=e[s],i=Vn[r],typeof i=="string"&&(jh[i]=r);function T0(s){return!!(s._value&&s._value._type=="NUMBER"&&!s._unit)}function Vh(s){let e=parseFloat(s);return typeof s=="string"&&s.indexOf("%")>0&&(e=e/100),e}function Bh(s,e="hsl"){let t;if(bo[s]&&(s=bo[s]),e=="lch")return Nh(s);if(s[0]=="#"){let r=Ya.hex.rgb(s);return Ya.rgb.hsl(r)}if(t=s.match(/^(hsla?|rgba?)\((.+)\)$/)){let[r,i,n,a=""]=t[2].replace(/[\,\/]/g," ").split(/\s+/g),o;return r=Vh(r),i=Vh(i),n=Vh(n),e=="lch"?Ya.rgb.lch([r,i,n]):((t[1]=="rgb"||t[1]=="rgba")&&(o=Ya.rgb.hsl([parseFloat(r),parseFloat(i),parseFloat(n)])),(t[1]=="hsl"||t[1]=="hsla")&&(o=[parseFloat(r),parseFloat(i),parseFloat(n)]),o)}return null}var H6=Symbol(),Dn=class Dn{static from(e){if(typeof e=="string"){if(e[0]=="#"&&!e.match(/^\#([A-Fa-f0-9]{6})([A-Fa-f0-9]{2})?$/))return new Fh(e.slice(1));e=Bh(e)}return Pn(e,Array)?new this("",e[0],e[1],e[2]):null}constructor(e,t,r,i,n=1){this.name=e,this.h=t,this.s=r,this.l=i,this.a=n}lcha(){return this[Dh]||(this[Dh]=Nh("hsla("+this.h+" "+this.s+"% "+this.l+"% / "+this.a+")"))}alpha(e=1){return new Dn(this.name,this.h,this.s,this.l,e)}clone(){return new Dn(this.name,this.h,this.s,this.l,this.a)}mix(e,t=.5,r=.5,i=.5){let n=this.h+(e.h-this.h)*t,a=this.s+(e.s-this.s)*r,o=this.l+(e.l-this.l)*i;return new Dn(this.name+e.name,n,a,o)}toString(e=this.a){return typeof e=="string"&&e[0]=="$"&&(e="var(--"+e.slice(1)+",100%)"),"hsla("+this.h.toFixed(2)+","+this.s.toFixed(2)+"%,"+this.l.toFixed(2)+"%,"+e+")"}toVar(e=2){return""+Math.round(this.h)+","+Math.round(this.s)+"%,"+Math.round(this.l)+"%"}toLchString(){let[e,t,r,i]=this.lcha();return"lcha("+e.toFixed(2)+" "+t.toFixed(2)+" "+r.toFixed(2)+"% / "+i+")"}c(){return this.toString()}};je(Dn,H6,"Color",16);var Vs=Dn,$6=Symbol(),zh=class zh extends Vs{toVar(){return"var(--c_"+this.name+")"}};je(zh,$6,"NamedColor",0);var Fh=zh,U6=Symbol(),Za=class Za extends Vs{alpha(e=1){return new Za(this.name,this.h,this.s,this.l,e)}clone(){return new Za(this.name,this.h,this.s,this.l,this.a)}toString(e=this.a){return typeof e=="string"&&e[0]=="$"&&(e="var(--"+e.slice(1)+",100%)"),"hsla(var(--"+this.name+"),"+e+")"}toVar(e=2){return"var(--"+this.name+")"}};je(Za,U6,"Tint",0);var Gh=Za,Y6=Symbol(),Co=class Co{static parse(e){let t=String(e).match(/^(\-?[\d\.]+)(\w+|%)?$/);return t?new this(parseFloat(t[1]),t[2]):null}constructor(e,t){this.number=e,this.unit=t}valueOf(){return this.number}toString(){return this.number+(this.unit||"")}clone(e=this.number,t=this.unit){return new Co(e,t)}rounded(){return this.clone(Math.round(this.number))}c(){return this.toString()}get _unit(){return this.unit}get _number(){return this.number}};je(Co,Y6,"Length",16);var Mn=Co,K6=Symbol(),Hh=class Hh{constructor(e,t){this.name=e,this.fallback=t}c(){return this.fallback?"var(--"+this.name+","+(this.fallback.c?this.fallback.c():String(this.fallback))+")":"var(--"+this.name+")"}};je(Hh,K6,"Var",16);var Ci=Hh,q6=Symbol(),$h=class $h{constructor(e){this.expr=e}cpart(e){let t="(";for(let r=0,i=bt(e),n=i.length;r<n;r++){let a=i[r];typeof a=="string"?t+=" "+a+" ":typeof a=="number"?t+=a:Pn(a.c,Function)?t+=a.c():Pn(a,Array)&&(t+=this.cpart(a))}return t+=")",t}c(){return"calc"+this.cpart(this.expr)}};je($h,q6,"Calc",16);var S0=$h,N0={current:{string:"currentColor",c:function(){return"currentColor"}},transparent:new Vs("transparent",0,0,100,"0%"),clear:new Vs("transparent",100,100,100,"0%"),black:new Vs("black",0,0,0,"100%"),white:new Vs("white",0,0,100,"100%")};function R0(s,e){for(let t=0,r=Object.keys(e),i=r.length,n,a;t<i;t++){if(n=r[t],a=e[n],typeof a=="string"){s[n]=a;continue}for(let o=0,l=Object.keys(a),f=l.length,h,p;o<f;o++){h=l[o],p=a[h];let m=n+h;if(s[p])s[m]=s[p];else{let[d,b,g]=Bh(p),w=s[m]=new Vs(m,d,b,g,"100%")}}}return s}R0(N0,Lh);var W6="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(" "),X6=Symbol(),Uh=class Uh{static instance(){return z6||(z6=new this)}static propAbbr(e){return jh[e]||e}static wrap(e){if(!e)return this.instance();let t=k0.get(e);return t||k0.set(e,t=new this(e)),t}constructor(e={}){this.options=Ch,this.palette=Object.assign({},N0),e.theme&&(e=e.theme),e&&e.colors&&R0(this.palette,e.colors)}expandProperty(e){return Vn[e]||void 0}expandValue(e,t){if(e==null&&(e=t.default),t.hasOwnProperty(e)&&(e=t[e]),typeof e=="number"&&t.NUMBER){let[r,i,n]=t.NUMBER.match(/^(\-?[\d\.]+)(\w+|%)?$/);return e*parseFloat(i)+n}return e}padding_x([e,t=e]){return{"padding-left":e,"padding-right":t}}padding_y([e,t=e]){return{"padding-top":e,"padding-bottom":t}}margin_x([e,t=e]){return{"margin-left":e,"margin-right":t}}margin_y([e,t=e]){return{"margin-top":e,"margin-bottom":t}}ease(e){return this.$ease(e,"s")}ease_all(e){return this.$ease(e,"a")}ease_opacity(e){return this.$ease(e,"o")}ease_styles(e){return this.$ease(e,"s")}ease_box(e){return this.$ease(e,"b")}ease_transform(e){return this.$ease(e,"t")}ease_colors(e){return this.$ease(e,"c")}$ease(e,t="",r=null){var n;e=e.slice(0);let i={__ease__:t};if((n=e[0])!=null&&n.unit&&(i["--e_"+t+"d"]=e[0],e.shift()),e[0]&&!e[0].unit){let a=this.$varFallback("ease",[e[0]]);i["--e_"+t+"f"]=a,e.shift()}return e[0]&&e[0].unit&&(i["--e_"+t+"w"]=e[0],e.shift()),i}inset([e,t=e,r=e,i=t]){return{position:"absolute",top:e,right:t,bottom:r,left:i}}grid(e){let t;if(t=this.$varFallback("grid",e))return t}animation(...e){let t={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=bt(e),a=n.length;i<a;i++){let o=n[i],l=null,f=null;for(let h=0,p=bt(o),m=p.length;h<m;h++){let d=p[h],b=String(d),g=t[b];Ro.ease[b]&&!f?f=!0:g?(r[g]&&(l=[h,b]),r[g]=!0):b.match(/^[^\d\.]/)&&b.indexOf("(")==-1&&(l?f=[h,b]:l=[h,b])}if(l&&(o[l[0]]=new Ci("animation-"+l[1],l[1])),Pn(f,Array)){let h=this.options.variants.easings[f[1]];o[f[0]]=new Ci("ease-"+f[1],h)}}return{animation:e}}animation_timing_function(...e){for(let t=0,r=bt(e),i=r.length;t<i;t++){let n=r[t],a=this.$varFallback("ease",n);a&&(e[t]=a)}return e}animation_name(...e){let t;for(let r=0,i=bt(e),n=i.length;r<n;r++){let a=i[r],o=this.$varFallback("animation",a);o&&(e[r]=o)}return e}display(e){let t={display:e};for(let r=0,i=bt(e),n=i.length,a;r<n;r++){let o=i[r];(a=I0[String(o)])&&a.call(this,t,o,e)}return t}text_transform(e){let t={"text-transform":e},r=String(e[0]);return x0(r,"cap")?t["text-transform"]="capitalize":x0(r,"up")&&(t["text-transform"]="uppercase"),t}position(e){let t={position:e},r=String(e[0]);return r=="abs"?t.position="absolute":r=="rel"&&(t.position="relative"),t}width([...e]){let t={};for(let r=0,i=bt(e),n=i.length;r<n;r++){let a=i[r],o=a._options||{},l=a._unit;l=="c"||l=="col"||l=="cols"?t["grid-column-end"]="span "+a._number:o.op&&String(o.op)==">"?t["min-width"]=a:o.op&&String(o.op)=="<"?t["max-width"]=a:t.width=a}return t}height([...e]){let t={};for(let r=0,i=bt(e),n=i.length;r<n;r++){let a=i[r],o=a._options||{},l=a._unit;l=="r"||l=="row"||l=="rows"?t["grid-row-end"]="span "+a._number:o.op&&String(o.op)==">"?t["min-height"]=a:o.op&&String(o.op)=="<"?t["max-height"]=a:t.height=a}return t}transition(...e){let t={},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<e.length;){let o=e[a],l=String(o[0]);l.match(/^[\-\+]?\d?(\.?\d+)(s|ms)?$/)&&o.unshift(l="styles");let f=o[2],h=n[l];if(h&&e.length==0)o[0]="none",Object.assign(r,{"transition-property":h.join(",")});else if(h&&e.length>1){let p=h.map(function(m){return[m].concat(o.slice(1))});e.splice(a,1,...p);continue}a++}return Object.assign(t,{"--e_rest":e},r),t}font(e,...t){for(let r=0,i=bt(e),n=i.length;r<n;r++){let a=i[r]}}font_family(e){let t;if(t=this.$varFallback("font",e))return t}text_shadow(...e){for(let t=0,r=bt(e),i=r.length,n;t<i;t++){let a=r[t];(n=this.$varFallback("text-shadow",a))&&(e[t]=n)}return e}box_shadow(...e){let t={"box-shadow":e};for(let r=0,i=bt(e),n=i.length;r<n;r++){let a=i[r],o=!1;for(let l=0,f=bt(a),h=f.length;l<h;l++){let p=f[l];if(l==0&&a.length<3){let m=String(p);m.match(/^[\w\-]+$/)&&(o=m,a[l]=new Ci("box-shadow-"+m,p))}l==1&&o&&(t["--bxs-"+o+"-color"]="/*##*/"+p,p.param&&(t["--bxs-"+o+"-alpha"]=p.param.toAlpha()),p.set({parameterize:!0}),a[l]="")}}return t}grid_template(e){for(let t=0,r=bt(e),i=r.length;t<i;t++){let n=r[t];T0(n)&&(n._resolvedValue="repeat("+n._value+",1fr)")}}grid_template_columns(e){return this.grid_template(e)}grid_template_rows(e){return this.grid_template(e)}size([e,t=e]){return{width:e,height:t}}font_size([e]){let t=this.options.variants["font-size"],r=String(e),i=e,n,a={};if(t[r]&&([i,n]=t[r],i=Mn.parse(i),n=Mn.parse(n||"")),e.param&&e.param&&(n=e.param),a["font-size"]=i,n){let o=n._unit,l=n._number;if(a.lh=n,o=="fs")a.lh=new Mn(l);else if(o)a.lh=n;else if(l==0)a.lh="inherit";else if(l&&i._unit=="px"){let f=Math.round(i._number*l);f%2==1&&f++,a.lh=new Mn(f,"px")}}return a}line_height([e]){let t=e;return e._number&&!e._unit&&(t=e.clone(e._number,"em")),{"line-height":e,"--u_lh":t}}text_decoration(e){for(let t=0,r=bt(e),i=r.length;t<i;t++){let n=r[t],a=String(n);a=="u"?n._resolvedValue="underline":a=="s"&&(n._resolvedValue="line-through")}return[e]}border([...e]){return this.$border(e,"")}$border(e,t=""){var n;let r={__border__:!0},i=e.length;if(i==3)return r["border"+t]=[e],r;if(this.isNumeric(e[0])){if(i==2&&this.isColorish(e[1]))return e.splice(1,0,"solid"),r["border"+t]=[e],r;r["border"+t+"-style"]="solid",r["border"+t+"-width"]=e.shift()}return this.isColorish(e[0])&&(i==1?r["border"+t]=[["1px","solid",e.shift()]]:(r[n="border"+t+"-width"]||(r[n]="1px"),r["border"+t+"-style"]="solid",r["border"+t+"-color"]=e.shift())),e[0]&&(r["border"+t+"-style"]=e[0]),r}border_left(e){return this.$border(e,"-left")}border_right(e){return this.$border(e,"-right")}border_top(e){return this.$border(e,"-top")}border_bottom(e){return this.$border(e,"-bottom")}border_x(e){return this.$border(e,"-inline")}border_y(e){return this.$border(e,"-block")}border_x_width([e,t=e]){return{bwl:e,bwr:t}}border_y_width([e,t=e]){return{bwt:e,bwb:t}}border_x_style([e,t=e]){return{bsl:e,bsr:t}}border_y_style([e,t=e]){return{bst:e,bsb:t}}border_x_color([e,t=e]){return{bcl:e,bcr:t}}border_y_color([e,t=e]){return{bct:e,bcb:t}}border_top_radius(e){return{"border-top-left-radius":[e],"border-top-right-radius":[e]}}border_left_radius(e){return{"border-top-left-radius":[e],"border-bottom-left-radius":[e]}}border_bottom_radius(e){return{"border-bottom-left-radius":[e],"border-bottom-right-radius":[e]}}border_right_radius(e){return{"border-top-right-radius":[e],"border-bottom-right-radius":[e]}}justify_align([e,t=e]){let r={};return e==t?r["place-items"]=r["place-content"]=e:(r["justify-content"]=r["justify-items"]=e,r["align-content"]=r["align-items"]=t),r}outline(e){if(e.length==3||e.length==1&&String(e[0])=="none")return{outline:[e]};let t={__outline__:!0};return this.isNumeric(e[0])&&(t.olw=e.shift()),this.isColorish(e[0])&&(t.olc=e.shift()),t.olw||(t["--ol_w"]="1px"),t}gap([e,t=e]){let r={};return t!=e?r={"row-gap":e,"column-gap":t}:(r={gap:e},e._unit!="rg"&&(r["--u_rg"]=e),e._unit!="cg"&&(r["--u_cg"]=e)),r}row_gap([e]){let t={"row-gap":e};return e._unit!="rg"&&(t["--u_rg"]=e),t}column_gap([e]){let t={"column-gap":e};return e._unit!="cg"&&(t["--u_cg"]=e),t}tint([e]){let t={"--hue":e};for(let r=0;r<10;r++)t["--hue"+r]="/*##*/"+e+r;return t}hue([e]){let t={"--hue":e};for(let r=0;r<10;r++)t["--hue"+r]="/*##*/"+e+r;return t}colormix(e,t){var h;let r={},i="--c_"+e,n=t[0][0],[a,o,l,f]=[null,null,null,1];return n!=null&&n.lcha?[a,o,l,f]=n.lcha():Pn(n==null?void 0:n._resolvedValue,Vs)&&([a,o,l,f]=n._resolvedValue.lcha(),n.param&&n.param.toAlpha&&(f=n.param.toAlpha())),typeof a=="number"&&(a=Math.round(a*10)/10),typeof o=="number"&&(o=Math.round(o*10)/10),typeof l=="number"&&(l=Math.round(l*10)/10),a!=null&&(r["--u_"+e+"L"]=a,r["--u_"+e+"C"]=o,r["--u_"+e+"H"]=(h=l==null?void 0:l._resolvedValue)!=null?h:l,r["--u_"+e+"A"]=f!=null?f:1),r}$color(e){let t,r=e.match(/^([A-Za-z\-]+)(\d)(\d*)$/),i=r&&r[1];if(i&&typeof this.palette[i]=="string")return this.$color(this.palette[i]+e.slice(i.length));if(i=="hue")return new Gh(e);if(this.palette[e])return this.palette[e];if(r){let n=parseInt(r[2]),a=r[3]?parseFloat("0."+r[3]):0,o=null,l=null,f=n+1,h=n;if(typeof this.palette[i]=="string")return this.$color(this.palette[i]+e.slice(i.length));for(;f>1&&!o;)o=this.palette[i+--f];for(;h<9&&!l;)l=this.palette[i+ ++h];let p=(n-f+a)/(h-f),m=p,d=p,b=p;if(l||(l=this.palette.black,m=0,d=b=a),o||(o=this.palette.blue1,m=1,d=b=1-a),o&&l)return this.palette[e]=o.mix(l,m,d,b)}return(t=Bh(e))?new Vs("",...t):null}isNumeric(e){return!!(T0(e)||typeof e=="number"||String(e).match(/^[\-\+]?\d?(\.?\d+)(\w+|%)?$/))}isColorish(e){return!!this.$parseColor(e)}$parseColor(e){let t,r=String(e);return(t=this.$color(r))?t:r.match(/^#[a-fA-F0-9]{3,8}/)||r.match(/^(rgb|hsl)/)||r=="currentColor"?e:null}$varFallback(e,t,r=[]){if(t.length==1){let i=String(t[0]),n=t[0];if(r.push("none","initial","unset","inherit"),r.indexOf(i)==-1&&i.match(/^[\w\-]+$/))return e=="font"&&Wa[i]&&(n=Wa[i]),e=="ease"&&this.options.variants.easings[i]&&(n=this.options.variants.easings[i]),[new Ci(""+e+"-"+i,n)]}}$value(e,t,r){let i,n=r,a=e,o=e&&e.toRaw?e.toRaw():String(e),l=String(e),f=!1,h=null,p=a._unit;if(typeof r=="string"){if(Vn[r]&&(r=Vn[r],Pn(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",f="ease";else if(r.match(/^border-.*radius/)||r.match(/^rd[tlbr]{0,2}$/))r="radius",f="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(e==null&&(e=r.default),r.hasOwnProperty(o)&&(e=r[e]),typeof o=="number"&&r.NUMBER){let[m,d,b]=r.NUMBER.match(/^(\-?[\d\.]+)(\w+|%)?$/);return e*parseFloat(d)+b}else if(typeof o=="string"&&(i=this.$parseColor(o)))return i;if(f&&!p){let m=l.match(/^[a-zA-Z\-][\w\-]*$/)&&!l.match(/^(none|inherit|unset|initial)$/),d=p&&W6.indexOf(p)==-1;if((m||d)&&e.alone)return new Ci(""+f+"-"+l,a!=e?e:o)}return e}transformColors(e){var t=this;return e=e.replace(/\/\*(#+)\*\/(\#?\w+)(?:\/(\d+%?|\$[\w\-]+))?/g,function(r,i,n,a){let o;if(o=t.$color(n)){if(i=="#")return o.toString(a,i);if(i=="##")return o.toVar(a)}return r}),e}};je(Uh,X6,"StyleTheme",16);var Fn=Uh,J6={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);`}},E0={"user-select":["-webkit-user-select"],appearance:["-webkit-appearance"],"backdrop-filter":["-webkit-backdrop-filter"],"mask-image":["-webkit-mask-image"]},Z6=Symbol(),Yh=class Yh{constructor(e){this[Ph]=e,this[Xa]=[],this[Ja]={transform_complex:[],transform:[]},this[No]={},this.transforms=null}get transitions(){return this[No].transition}add(e,t={}){var r;if(this[Xa].push(e),t.apply)for(let i=t.apply,n=0,a=Object.keys(i),o=a.length,l,f;n<o;n++){l=a[n],f=i[l];let h=(r=this[Ja])[l]||(r[l]=[]);for(let p=0,m=bt(f),d=m.length;p<d;p++){let b=m[p];h.indexOf(b)<0&&h.push(b)}}}js(e,t){let r=[];for(let i=this[No],n=0,a=Object.keys(i),o=a.length,l,f;n<o;n++)l=a[n],f=i[l],r.push(e.runtime().transitions+(".addSelectors("+JSON.stringify(f)+",'"+l+"')"));return r.join(`
`)}parse(){if(this[ri]!==void 0)return this[ri];if(this[Xa].length==0&&this[Ja].transform_complex.length==0&&this[Ja].transform.length==0)return this[ri]="";let e=[],t=this[Xa].slice(0),r=function(i){if(t.indexOf(i)<0)return t.unshift(i)};for(let i=this[Ja],n=0,a=Object.keys(i),o=a.length,l,f;n<o;n++){if(l=a[n],f=i[l],!f||f.length==0)continue;let h=J6[l],p={},m={},d={"":p},b=l=="transition"||l.match(/^_(off|out|in)_sized/);for(let w=0,_=bt(f),x=_.length;w<x;w++){let v=_[w];for(let C=0,A=bt(v[B6]||[]),E=A.length;C<E;C++){let S=A[C],T=S[j6]||"",L=S[ri].replace(/:not\((#_|\._0?)+\)/g,"");(b||l=="ease")&&(L=L.replace(/\.\\@(off|out|in|on)\b/g,"")),L=L.replace(/((\:+)[\w\-]+)(?!\()/g,function(M,j){return j.length>1?M:""}),L=L.replace(/^\:root /g,"");let y=d[T]||(d[T]={});y[L]=S,m[L]=!0}}if(h)for(let w=0,_=Object.keys(d),x=_.length,v,C;w<x;w++){v=_[w],C=d[v];let A=Object.keys(C);if(v!=""&&(A=A.filter(function(y){return!p[y]})),A.length==0)continue;let E=A.sort(function(y,M){return y.length-M.length}),S=[];for(let y=0,M=bt(E),j=M.length;y<j;y++){let P=M[y];(!E.slice(0,y).find(function(ae){return P.indexOf(ae)>=0})||P.match(/[\s\>\,]|:(not|before|after|marker)|::/))&&S.push(P)}A=S;let L=A.join(", ")+` {
`+h.body+`
}`;v&&(L=v+` {
`+L+`
}`),t.unshift(L)}let g=Object.keys(m);l=="transition"&&g.length&&(r(".\\@enter:not(#_),.\\@leave:not(#_) {--e_ad:300ms;}"),r("._instant_:not(#_):not(#_):not(#_):not(#_) { transition-duration:0ms !important; }")),b&&(this[No][l]=g)}return this[ri]=t.join(`
`),this[Ph].resolveColors()&&(this[ri]=this[Ph].theme().transformColors(this[ri],{prefix:!1})),this[ri]}toString(){try{return this.parse()}catch(e){return console.warn("failed to parse stylesheet",this[Xa],e),""}}};je(Yh,Z6,"StyleSheet",16);var Oo=Yh,Q6=Symbol(),gr=class gr{constructor(e,t,r,i={}){this.parent=e,this.selector=t,this.content=r,this.options=i,this.isKeyFrames=!!t.match(/\@keyframes \w/),this.isKeyFrame=e&&e.isKeyFrames,this.meta={}}root(){return this.parent?this.parent.root:this}apply(e,t){var i;return((i=this.options.apply)[e]||(i[e]=[])).push(t)}register(e,t){var i;return((i=this.options.register)[e]||(i[e]=[])).push(t)}toString(e={}){if(!this.parent&&this.selector){let h,p;try{h=Ao(this.selector,this.options),p=To(h,this.options),p[1]&&p[1][0]&&([this.ownsel,...this.ownrules]=p[1])}catch(m){console.log("error",m,h,this.selector)}}let t=[],r=[],i,n="",a=[],o=e.indent||"";if(this.isKeyFrames){let[h,p]=this.selector.split(/\s*\@keyframes\s*/);h=h.trim(),p=p.trim();let m=[p,h,this.options.ns].filter(function(b){return b}).join("-");this.meta.name=p,this.meta.uniqueName=m.replace(/[\s\.\,]+/g,"").replace(/[^\w\-]/g,"_"),this.options.global&&!h&&(this.meta.uniqueName=this.meta.name);let d={};d["--animation-"+p]=""+this.meta.uniqueName,h?r.push(new gr(null,h,d,this.options)):this.options.ns&&!this.options.global&&r.push(new gr(null,"."+this.options.ns,d,{}))}let l=typeof this.selector=="string"&&this.selector.indexOf("@important")>=0?1:0;for(let h=this.content,p=0,m=Object.keys(h),d=m.length,b,g;p<d;p++){if(b=m[p],g=h[b],g==null)continue;let w=null,_=l?" !important":"",x=b;if(b.indexOf("&")>=0){if(this.isKeyFrames){let C=b.replace(/&/g,""),A=new gr(this,C,g,this.options);t.push(A.toString({indent:o+" "}));continue}if(b.match(/@start\b/)){let[C,A]=b.split(/\s*\@start\s*/),E=new gr(null,"@starting-style",g,{});t.push(E.toString({indent:o+" "}));continue}let v=Eo(this.selector,b);this.ownsel&&(v=b.replace(/&/g,":scope")),r.push(new gr(this,v,g,this.options));continue}else if(b.indexOf("§")>=0){let v=x.split("§"),C=v.slice(1).join(""),A=Eo(this.selector,C),E={};E[v[0]]=g,(i=r[A])?i.content[v[0]]=g:(i=new gr(this,A,E,this.options),r.push(r[A]=i));continue}else if(b.match(/^__(\w+)__$/))this.meta[b.slice(2,-2)]=!0;else if(b[0]=="["){let v=JSON.parse(b);r.push(new gr(this,this.selector,g,this.options));continue}else if(b.match(/^(x|y|z|scale|scale-x|scale-y|skew-x|skew-y|rotate)$/))this.meta.transform||(this.meta.transform=!0),b.match(/^(z|skew-x|skew-y)$/)&&(this.meta.transform_complex=!0),t.push("--t_"+b+": "+g+" !important;");else if(b.match(/^(ease-.*)$/)){this.meta.ease=!0;let v=b.replace("delay","wait").split("-").map(function(C){return C[0]}).join("");t.push("--e_"+v.slice(1)+": "+g+" !important;"),jh[b]||console.warn(""+b+" is not a valid style property")}else if(b.match(/^(--e_\w+)$/))this.meta.ease=!0,this.selector.match(/@in\b/),t.push(""+b+": "+g+" !important;");else if(!b.match(/^__ease__$/)){if(b.match(/^raw-/))t.push(""+b.slice(4)+": "+g+_+";");else if(b.match(/^__outline__$/))this.meta.outline=!0;else if(b.match(/^(width|height)$/)&&(this.meta.size=!0),t.push(""+b+": "+g+_+";"),E0[b])for(let v=0,C=bt(E0[b]),A=C.length;v<A;v++){let E=C[v];t.push(""+E+": "+g+_+";")}}}let f=t.map(function(h){return o+" "+h}).join(`
`);if((e.indent||this.isKeyFrames)&&(f=`
`+f+`
`),this.isKeyFrame)n=""+this.selector+" {"+f+"}";else if(this.isKeyFrames)n="@keyframes "+this.meta.uniqueName+" {"+f+"}";else{let h=this.isKeyFrame?this.selector:Ao(this.selector,this.options);if(this.meta.transform&&this.apply("transform",h),this.meta.transform_complex&&this.apply("transform_complex",h),this.meta.ease&&this.apply("ease",h),this.meta.outline&&this.apply("outline",h),h&&h.hasTransitionStyles&&(this.apply("transition",h),this.meta.ease||this.apply("ease",h)),this.meta.size)for(let p=0,m=["_off_","_out_","_in_"],d=m.length;p<d;p++){let b=m[p];h[b]&&this.apply(""+b+"sized",h)}n=f.match(/[^\n\s]/)?So(h,f,this.options,e):"",n=o+n}if(e.indent=o,!this.parent&&this.ownsel){n="";let h=o;for(let p=0,m=bt(this.ownsel),d=m.length;p<d;p++){let b=m[p];n+=h+b+`{
`,a.push(`
`+h+"}"),h+=" "}for(let p=0,m=bt(this.ownrules),d=m.length;p<d;p++){let b=m[p];n+=h+b+` {
`,a.push(`
`+h+"}"),h+=" "}f&&(n+=t.map(function(p){return h+p}).join(`
`)),w0(this.ownrules,-1)==":scope"&&(h=h.slice(0,-1),n+=w0(a,-1),a.pop()),e.indent=h}for(let h=0,p=bt(r),m=p.length;h<m;h++){let d=p[h];n+=`
`+d.toString(e)}return e.indent=o,n+=a.toReversed().join(""),n}};je(gr,Q6,"StyleRule",16);var Lo=gr;var em={"[":"]","{":"}","<":">","(":")",'"':'"',"'":'"'};function tm(s){let e=[],t=0,r="";for(;t<s.length;){let i=s.charAt(t),n=e[0];if(i&&i==n&&(e.shift(),i=null),i&&!n&&!em[i])r+=i;else{if(!n&&(i==")"||i=="]"||i=="}"||i==">"))break;if(i=="(")e.unshift(")");else if(i=="[")e.unshift("]");else if(i=="{")e.unshift("}");else if(i=="<")e.unshift(">");else if(i=='"')e.unshift('"');else if(i=="'")e.unshift("'");else if(!n&&i==">")break}t++}return r}function O0(s){return"<"+tm(s.slice(1,-1)).split(/,\s*/g).map(t=>t.split(/\W/)[0]).join(",")+">"}function Bn(s){return s&&(s.len instanceof Function?s.len():s.length)||0}function Vo(s,e){return e&&e.indexOf?e.indexOf(s):[].indexOf.call(s,e)}function Re(s){return s?s.toArray?s.toArray():s:[]}var sm={},L0=U2,Gn=oo,rm=Fa;var Gi=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 ye(this._value,this)}},Wh=class{constructor(e,t,r){this._template=e,this._options=t,this._source=r}c(){return Ls(this._options,this._template)}toString(){return this.c()}},zn=class{constructor(e,t){this._source=t||e,e.toClassName&&(e=e.toClassName()),e.c instanceof Function&&(e=e.c({mark:!1})),e="Ω"+Ds.strip(e).split(".").join("__");let r=I.incr(e);r>1&&(e+="Ω"+r),this._value=e}startLoc(){return this._source.startLoc()}endLoc(){return this._source.endLoc()}toString(){return this._value}c(){return this._value}},C0=ti,M0=rh,e1={},G0={};var j0=!0,B0=!0,im="_$INTERNAL$_imbaFieldRegistry",nm="_$INTERNAL$_imbaFieldTarget",Kh={},Qc={Array:{interface:"ArrayConstructor"},Number:{interface:"NumberConstructor",thistype:"number"},String:{interface:"StringConstructor",thistype:"string"},Object:{interface:"ObjectConstructor"},Math:{namespace:"Math"},window:{global:!0}},am={svg:"image",png:"image",apng:"image",jpg:"image",jpeg:"image",gif:"image",tiff:"image",bmp:"image"};e1.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(" ");e1.SVG="circle defs ellipse g line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" ");G0.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";G0.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 D0={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"},Ne={};var ct={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},om=/@\{(@(\!?\w+)\?)?([^{}]*(:?\{([^{}]*(:?\{[^{}]*\}[^{}]*)*)\}[^{}]*)*)\}/g,Ls=function(s,e,t,r){return t===void 0&&(t={}),r===void 0&&(r=0),I.call({template:e},function(){return e=e.replace(/\%/g,"@"),e=e.replace(om,function(i,n,a,o){if(a){if(a[0]=="!"){if(s[a.slice(1)])return"εε"}else if(!s[a])return"εε"}let l={},f=Ls(s,o,l,r+1);return l.replaced||a?f:"εε"}),e=e.replace(/\@([\w\-]+)\|?/g,function(i,n){if(n=="ts-ignore")return"@ts-ignore";let a=s[n];return a===!0?(t.replaced=!0,n):(a&&(a=ye(a)),a&&(t.replaced=!0),a||"εε")}),e=e.replace(/(\n\s*)(εε)\s*(?=\n)/g,""),e=e.replace(/(^|\s)(εε[ ]?)*/gm,"$1").replace(/εε/g,""),e=e.replace(/(^[ ]+)/gm,""),r==0&&(e=e.trim()),e})},lm=function(s,e){return ws.current.tsc?s.set({declareOnly:e}):ue("")},hm=function(s,e){return s.set({global:e})},cm=function(s,e,t){return ws.current.tsc?e instanceof dl?(s.set({generics:e}),s):s.set({datatype:e}):s},le=function(s,e,t){var r=String(s);switch(r){case".":case"?.":{if(e instanceof Fs&&!e._member)return e._member=t,e;return(typeof t=="string"||t instanceof String)&&(t=new Ke(t)),new st(s,e,t);break}case"=":return new Zt(s,e,t);case"~=":return le("&=",e,le("~",t));case"||=":case"&&=":case"??=":return new fl(s,e,t);case"+=":case"-=":case"*=":case"/=":case"^=":case"%=":case"**=":return new pl(s,e,t);case"instanceof":case"isa":return new nl(s,e,t);case"in":return new ll(s,e,t);case"typeof":return new al(s,e,t);case"delete":return new ol(s,e,t);case"--":case"++":case"!":case"√":case"not":case"!!":return new Jn(s,e,t);case">":case"<":case">=":case"<=":case"==":case"===":case"!=":case"!==":return new p1(s,e,t);case"..":case"...":return new ea(s,e,t);default:return new Et(s,e,t)}},z0=function(s){for(s instanceof b1&&(s=s.value()),s instanceof Ut&&(s=s.values()[0]);s instanceof Rt;)s=s.value();if(s instanceof wt&&(s=s._variable||s.value()),s instanceof st){let e=s._left,t=s._right instanceof ci?s._right.value():s._right;return e instanceof wt&&(e=e._variable||e.value()),t instanceof wt&&(t=t._variable||t.value()),s instanceof Qn&&(e||(e=s.scope__().context())),t instanceof Ui||t instanceof Ke&&(t=Ei(String(t.js())),t=new ht(t)),[e,t]}return s},tr={},ar=null,um=[],ks=function(s,e){return typeof s=="string"||typeof s=="number"?s:s.c(e)},qh=function(s,e){return e==null&&(e=s),{startLoc:function(){return s},endLoc:function(){return e}}},Qa=[-1,-1,-1],Do=!0,ye=function(s,e,t){if(e==null&&(e=s,t||(t={mark:!1})),e&&e.startLoc){if(s=ks(s,t),!Do)return s;let r=I.incr("sourcePair"),i=e.startLoc(),n=e.endLoc(),a="",o="";return i===Qa[0]&&n===Qa[1]&&r==Qa[2]+1&&s.startsWith("/*%")?(I.decr("sourcePair"),s):((i==0||i>0)&&(a=n>=i?"/*%"+i+"|"+r+"$*/":"/*%"+i+"$*/"),(n==0||n>0)&&(o=i>=0?"/*%"+n+"|"+r+"$*/":"/*%"+n+"$*/"),Qa=[i,n,r],a+s+o)}return ks(s,t)},fm=function(){for(var s=arguments,e=s.length,t=new Array(e>0?e:0);e>0;)t[e-1]=s[--e];for(let r=0,i=Re(t),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},pm=function(){for(var s=arguments,e=s.length,t=new Array(e>0?e:0);e>0;)t[e-1]=s[--e];for(let r=0,i=Re(t),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};var P0=function(s,e){return e?""+ks(s)+":"+ks(e):ks(s)},ue=function(s,e){return e?new Gi(s,e):s instanceof Kn?s:new Kn(s)};var V0=function(s){return s instanceof et&&(s=s.value()),(typeof s=="string"||s instanceof String)&&(s.match(/^[a-zA-Z\$\_]+[\d\w\$\_]*$/)?s=new Ke(s):s=new ht(Ei(String(s)))),s},dt=function(s){return s instanceof ht?s:new ht(Ei(String(s)))},e3=function(s,e,t,r){r===void 0&&(r={});var i=new Dt(s,e,r);return t&&i.addElse(t),i},dm=function(s){return s==null?new c1:s==!1?new Xn:s==!0?new Wn:typeof s=="string"||s instanceof String?dt(s):typeof s=="number"||s instanceof Number?new zt(s):s},Hn=function(s,e,t){let r=new at(s,e);return t&&(r._scope._systemscope=t),r};var rt=function(s,e){return e===void 0&&(e=[]),new vs(s,e)},_m=function(s,e){return e===void 0&&(e=[]),rt(I.corelib()[s],e)},mm=function(s){return new Qo([],s)},t1=function(s,e){return le(".",s,e)};var gm=function(s){return new qi(s)},vm=function(s){let e=s.length-1;if(s.charCodeAt(e)==59)return!0;for(;e>=0;){let n=s.charCodeAt(e);if(!(n==9||n==10||n==13||n==32))break;e--}if(e<0)return!1;if(s.charCodeAt(e)==59)return!0;let t=s.lastIndexOf(`
`,e)+1,r=s.indexOf("//",t);if(r<0||r>e)return!1;let i=r-1;for(;i>=0;){let n=s.charCodeAt(i);if(!(n==9||n==10||n==13||n==32))break;i--}return i>=0&&s.charCodeAt(i)==59},ym=/^(default|char|for)$/,bm=sm.parseError=function(s,e){var t=ws.error({category:"parser",severity:"error",offset:e.offset,length:e.length,message:s});return t.raise()};Ne.c=function(s){return typeof s=="string"?s:s.c()};Ne.compileRaw=function(s){let e="";if(s instanceof Array){e="[";for(let t=0,r=Re(s),i=r.length;t<i;t++)e+=Ne.compileRaw(r[t])+",";e=e.slice(0,-1)+"]"}else if(s instanceof Object){e="{ ";for(let t,r=0,i=Object.keys(s),n=i.length,a;r<n;r++)a=i[r],t=s[a],e+=""+a+": "+Ne.compileRaw(t)+",";e=e.slice(0,-1)+" }"}else e=JSON.stringify(s);return e};Ne.blk=function(s){return s instanceof Array?Xe.wrap(s):s};Ne.sym=function(s){return q2(String(s),I)};Ne.cary=function(s,e){return e===void 0&&(e=null),s.map(function(t){return typeof t=="string"?t:t&&t.c?e?t.c(e):t.c():String(t)})};Ne.dump=function(s,e){if(s instanceof Array)return s.map(function(t){return t&&t.dump?t.dump(e):t});if(s&&s.dump)return s.dump()};Ne.compact=function(s){return s instanceof Pt?s.compact():s.filter(function(e){return e!=null&&e!=null})};Ne.reduce=function(s,e){for(let t=0,r=Re(e),i=r.length,n;t<i;t++)n=r[t],n instanceof Array?Ne.reduce(s,n):s.push(n)};Ne.flatten=function(s,e){e===void 0&&(e=!1);var t=[];for(let r=0,i=Re(s),n=i.length,a;r<n;r++)a=i[r],a instanceof Array?Ne.reduce(t,a):t.push(a);return t};Ne.loc=function(s){if(s){if(s instanceof et)return s.region();if(s instanceof qe)return s.loc()}else return[0,0]};Ne.parse=function(s,e){e===void 0&&(e={});var t=s.match(/\t+/)[0];return Imbac.parse(s,e)};Ne.inline=function(s,e){return e===void 0&&(e={}),this.parse(s,e).body()};Ne.node=function(s,e){if(s=="call")return e[0].c()=="return"&&(e[0]="tata"),new vs(e[0],e[1],e[2])};Ne.escapeComments=function(s){return s||""};var Mo=[];Ne.counterToShortRef=function(s){var e=65;for(s+=30;Mo.length<=s;){for(var t=Mo.length+1,r="";t-=1,r=String.fromCharCode(e+t%26)+r,t=Math.floor(t/26),!(t<=0););Mo.push(r.toLowerCase())}return Mo[s]};Ne.truthy=function(s){if(s instanceof Wn)return!0;if(s instanceof Xn)return!1;if(s.isTruthy)return s.isTruthy()};var xm=function(s){return s.indexOf(`
`)<0?" "+s:s[s.length-1]==`
`?" "+s.slice(0,-1).split(`
`).join(`
`)+`
`:" "+s.split(`
`).join(`
`)},hi=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,r=t&&t.pre||"",i=t&&t.post||"",n=Ne.escapeComments,a=this._close;return i[0]==`
`&&(i=i.slice(1)),e=xm(i+e),e=r+`
`+e,a instanceof Mr&&(e+=a.c()),e[e.length-1]!=`
`&&(e=e+`
`),e}},Xh=new hi({},{}),Jh=class{constructor(){this._entities=[]}add(e){return this._entities.unshift(e),this}pluck(e){var t=null;for(let r=0,i=Re(this._entities),n=i.length,a;r<n;r++)if(a=i[r],a==e||a instanceof e)return t=a,this._entities.splice(r,1),t;return null}},Fo=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 Jh(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 Oo(this),this._theme=null,this._meta={},this._runtime,Qa=[-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(!B0||!(this._fieldRegistryEntries&&this._fieldRegistryEntries.length))return"";let e=["declare global {"," interface ImbaFieldRegistry {"];for(let t=0,r=Re(this._fieldRegistryEntries),i=r.length,n;t<i;t++)n=r[t],e.push(" "+JSON.stringify(n.key)+": {"),e.push(" owner: "+n.owner),e.push(" ownerType: typeof "+n.ownerType),e.push(" field: "+JSON.stringify(n.field)),e.push(" decorator: "+JSON.stringify(n.decorator)),n.firstArg&&(e.push(" firstArg: "+n.firstArg),e.push(" firstArgType: "+n.firstArgType)),e.push(" args: ["+n.args.join(", ")+"]"),e.push(" }");e.push(" }"),e.push("}");for(let t=0,r=Re(this._fieldRegistryEntries),i=r.length,n;t<i;t++)n=r[t],n.firstArgTarget&&e.push(this.fieldRegistryTargetDeclaration(n,n.firstArgTarget));return e.join(`
`)}fieldRegistryTargetDeclaration(e,t){let r=JSON.stringify(t.key),i="ImbaFieldRegistry["+JSON.stringify(e.key)+"]",n="readonly "+r+"?: "+i;return t.module?["declare module "+t.module+" {"," interface "+t.name+" {"," "+n," }","}"].join(`
`):t.global?["declare global {"," interface "+t.name+" {"," "+n," }","}"].join(`
`):[(t.export?"export ":"")+"interface "+t.name+" {"," "+n,"}"].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 Ds.strip(e)}generateId(e){return e===void 0&&(e="oid"),Ne.counterToShortRef(I.tsc()?1:I.incr(e));return Ne.counterToShortRef(I.incr(e))}getSymbol(e,t,r){t===void 0&&(t=null),r===void 0&&(r="");let i=e||(I.tsc()?1:this.incr("symbols"));return this._symbols[i]||(this._symbols[i]=this._root.declare(t||e,ue("Symbol("+(r?Ei(r):"")+")"),{system:!0,alias:t||e}).resolve().c())}symbolFor(e){return this._root.symbolRef(e)}imbaSymbol(e){return I.isStdLib()?this.symbolFor("#"+e):this.corelib()[e+"$"]}toInternalName(e){let t=e;e.c instanceof Function&&(e=e.c());let r="Ω"+this.strip(e).split(".").join("__"),i=this.incr(r);return i>1&&(r+="Ω"+i),r}toInternalClassName(e){e.toClassName?e=e.toClassName():e.c instanceof Function&&(e=e.c());let t=this.strip(e),r="Ω"+this.strip(e).split(".").join("__"),i=this.incr(r);return i>1&&(r+="Ω"+i),r}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=uo(e),this._sourceId}theme(){return this._theme||(this._theme=Fn.wrap(this._options.config))}set(e){this._options||(this._options={});for(let t,r=0,i=Object.keys(e),n=i.length,a;r<n;r++)a=i[r],t=e[a],this._options[a]=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,r=this._options["ENV_"+e];if(r!=null)return r;if(ct[e]!==void 0)return ct[e];var i=e.toLowerCase();if(this._options[i]!=null)return this._options[i];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 r=process.env[e.toUpperCase()],r!=null?r: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 r=Kh;Kh=e;let i=t();return Kh=r,i}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 r=this.up(e);return r?this._nodes.indexOf(r):-1}up(e){if(typeof e=="number")return this._nodes[this._nodes.length-(1+e)];var t=this._nodes.length-2,r;if(!e){for(;t>=0;)if(r=this._nodes[t--],!(r instanceof wt))return r;return null}if(e.prototype instanceof qe){for(;t>=0;)if(r=this._nodes[t--],r instanceof e)return r;return null}for(;t>=0;){if(r=this._nodes[t],e(r))return r;t-=1}return null}parents(e){if(e||(e=function(t){return!(t instanceof wt)}),e.prototype instanceof qe){let t=e;e=function(r){return r instanceof t}}return this._nodes.filter(e)}relative(e,t){t===void 0&&(t=0);var r=this._nodes.indexOf(e);return r>=0?this._nodes[r+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 r=this._nodes[t];if(r._scope)return r._scope;t-=1}return null}withScope(e,t){let r=this._withScope;this._withScope=e,t(),this._withScope=r}scopes(){for(var e=[],t=this._nodes.length-1;t>=0;){var r=this._nodes[t];r._scope&&e.push(r._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(lr)}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,ft],{before:this.blockpart()})}lastImport(){let e=this._scopes;for(let t=0,r=Re(e),i=r.length,n;t<i;t++)if(n=r[t],n._lastImport)return n._lastImport;return null}isExpression(){for(var e=this._nodes.length-1;e>=0;){var t=this._nodes[e];if(t instanceof Pr||t instanceof Fr||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],r=t&&t.startLoc&&t.startLoc(),i=t&&t.endLoc&&t.endLoc();if(r>=0&&i>=r)return[r,i]}return null}},I=new Fo,qe=class s{constructor(){new.target==s&&this.setup()}script(){return ws.current}safechain(){return!1}addEnv(e){return this._envs||(this._envs=[]),this._envs.push(new ia(e)),this}isExcluded(){return!1}sourcecode(){let e=I.SOURCECODE,t=this.startLoc(),r=this.endLoc();return e.slice(t,r)}oid(){return this._oid||(this._oid=I.generateId(""))}tid(){return this._tid||(this._tid=I.generateId("tag"))}osym(e,t){return e===void 0&&(e=""),t===void 0&&(t=""),I.getSymbol(this.oid()+e,null,t)}symbolRef(e){return I.root().symbolRef(e)}domCall(e){return I.domCall(e)}gsym(e){return I.root().symbolRef(e)}sourceId(){return I.sourceId()}slf(){return this.scope__().context()}p(){return I._loglevel>0&&console.log.apply(console,arguments),this}runtime(){return I.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(e){return e instanceof s&&(e=e.region()),e instanceof Array&&(this._startLoc=e[0],this._endLoc=e[1]),this}setEnds(e,t){return t&&t.endLoc&&(this._endLoc=t.endLoc()),e&&e.startLoc&&(this._startLoc=e.startLoc()),this}startLoc(){return this._startLoc}endLoc(){return this._endLoc}set(e){this._options||(this._options={});for(let t,r=0,i=Object.keys(e),n=i.length,a;r<n;r++)a=i[r],t=e[a],this._options[a]=t;return this}option(e,t){return t!=null?(this._options||(this._options={}),this._options[e]=t,this):this._options&&this._options[e]}o(){return this._options||(this._options={})}keyword(){return this._keyword||this._options&&this._options.keyword}datatype(){return this._options?this._options.datatype:null}setDatatype(e){return this.option("datatype",e),this}configure(e){return this.set(e)}region(){return[0,0]}loc(){return[this.startLoc()||0,this.endLoc()||0]}token(){return null}compile(){return this}visit(){return this}stack(){return I}isString(){return!1}isPrimitive(e){return!1}isReserved(){return!1}isGlobal(e){return!1}isConstant(){return!1}traverse(e){if(this._traversed)return this;this._traversed=!0;let t;return e&&(t=I._state,I._state=e),I.push(this),this.visit(I,I._state),I.pop(this),e&&(I._state=t),this}inspect(){return{type:this.constructor.toString()}}js(e){return"NODE"}toString(){return""+this.constructor.name}consume(e){return e instanceof kt?e.register(this):e instanceof Vr?(e.register(this),new Vr(e.op(),e._left,this)):e instanceof Zt?le(e.op(),e._left,this):e instanceof yr?le("=",e._left,this):e instanceof Et?le(e.op(),e._left,this):e instanceof Ts?new Ts(this):e==ai?new ai(this):e instanceof We.Is?e.clone(this):(e instanceof el&&e.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 I.scope()}up(){return I.parent()}util(){return We}receiver(){return this}indented(e,t){return e instanceof hi?(this._indentation=e,this):(t instanceof Array&&(this.add(t[0]),t=t[1]),this._indentation||(this._indentation=e&&t?new hi(e,t):Xh),this)}prebreak(e){return e===void 0&&(e=`
`),this}invert(){return le("!",this)}cache(e){return e===void 0&&(e={}),this._cache=e,e.var=(e.scope||this.scope__()).temporary(this,e),e.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(e,t){t===void 0&&(t=!1);let r=this._options&&this._options[e];return t&&!r?"":ye(e,r)}warn(e,t){t===void 0&&(t={});let r=t.loc||this.loc()||[0,0];return r instanceof s&&(r=[r.startLoc(),r.endLoc()]),r instanceof et&&(r=r.loc()),this.script().addDiagnostic(t.severity||"warning",{message:e,range:this.script().rangeAt(r[0],r[1])})}error(e,t){return t===void 0&&(t={}),t.severity="error",this.warn(e,t)}c(e){var t,r=I,i=this._cache;if(i&&i.cached)return this.c_cached(i);if(!e&&!i&&!this._indentation&&this.shouldParenthesize==s.prototype.shouldParenthesize&&!(this._options&&this._options.braces)&&!tr.sourcemap){r.push(this);let f=this.js(r);return r.pop(this),f}r.push(this),e&&e.expression&&this.forceExpression(),e&&e.indent&&(this._indentation||(this._indentation=Xh));var n=this.js(r,e),a=this.shouldParenthesize,o=a==s.prototype.shouldParenthesize?!1:a.call(this);if(r.pop(this),n==null)return n;if((t=this._indentation)&&(n=t.wrap(n,e)),o&&(n="("+n+")"),(e&&e.braces||this._options&&this._options.braces)&&(t?n="{"+n+"}":n="{ "+n+" }"),i=this._cache){i.manual||(n=""+i.var.c()+" = "+n);var l=r.current();l instanceof it&&(l=l.node()),(l instanceof st||l instanceof Et)&&(n="("+n+")"),i.cached=!0}return tr.sourcemap&&(!e||e.mark!==!1)&&(n=ye(n,this)),n}c_cached(e){return e.lookups++,e.uses==e.lookups&&e.var.free(),e.var.c()}},it=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]}},Go=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 ye(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]}},Di=class extends it{},jo=class extends it{sourceFor(e){var r;let t=I.SOURCECODE;var r=Re(e.loc());let i=r[0],n=r[1];return JSON.stringify(t.slice(i,n))}isInspectableBinary(e){return e instanceof Et&&!(e instanceof st)&&!(e instanceof Jn)&&!e.isLogical()&&!e.isAssignment()&&e._left&&e._right}js(e){let t=this._value,r=[];if(t instanceof Zt){let i=this.sourceFor(t);r.push("globalThis.IMBA_ASSERT={type:'assignment',source:"+i+"}"),r.push(t.c(e))}else if(this.isInspectableBinary(t)){let i=t._left,n=t._right,a=this.sourceFor(t),o=this.sourceFor(i),l=this.sourceFor(n),f=JSON.stringify(t._op),h=i.cache().c(e),p=n.cache().c(e);r=["source:"+a,"operator:"+f,"left:{source:"+o+",value:"+h+"}","right:{source:"+l+",value:"+p+"}"],r=["globalThis.IMBA_ASSERT={type:'binary',"+r.join(",")+"}"],r.push(t.c(e))}else{let i=this.sourceFor(t),n=t.cache().c(e);r.push("globalThis.IMBA_ASSERT={type:'expression',source:"+i+",value:"+n+"}"),r.push(t.c(e))}return"("+r.join(",")+")"}},vr=class extends it{isExpressable(){return!1}},Cs=class extends it{isPrimitive(e){return!0}},Zh=class extends Cs{visit(){var e,t;if(e=this.up()){var r=e.indexOf(this)+1;e.index(r)instanceof Mr&&(r+=1),(t=e.index(r))&&(this.toString().match(/@(overload|ts)\b/)||(t._desc=this))}return this}isMultiline(){return this._value.type()=="HERECOMMENT"}toDoc(){return Ga(""+this._value._value)}toJSON(){return Ga(""+this._value._value)}toString(){return this._value._value}c(e){if(I.option("comments")==!1||this._skip)return"";var t=this._value._value,r="";return I.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)/)||I.tsc())&&(t="*"+t),r+="/*"+t+"*/"):t.match(/\@(type|param|satisfies|template)/)?r+="/** "+t+" */":r+="// "+t,r)}},Mr=class extends Cs{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 I.option("comments")==!1&&(e=e.replace(/\/\/.*$/gm,"")),I.tsc()&&(e=e.replace(/\/{3}/g,"~~/~~"),e=e.replace(/\/\/\s(.*)$/gm,"/** $1 */ "),e=e.replace(/\~\~\/\~\~/g,"///")),I.tsc()&&(e.length>1||this._first)?ye(e.replace(/^[\t ]+/gm,""),this):e.replace(/^[\t ]+/gm,"")}},$n=class extends Mr{constructor(e){super(...arguments),this._traversed=!1,this._value=e||`
`}c(){return this._value}},ci=class extends it{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()}},Pt=class extends qe{constructor(e){super(...arguments),this.setup(),this._nodes=this.load(e==null?[]:e),this._indentation=null}nodes(e){return this._nodes}consume(e){if(e instanceof Yn){for(let t=0,r=Re(this._nodes),i=r.length;t<i;t++)r[t].consume(e);return this}return super.consume(...arguments)}compact(){return this._nodes=Ne.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 r=this.indexOf(e);return r>=0&&(this._nodes[r]=t),this}push(e){return this._nodes.push(e),this}pop(){var e=this._nodes.pop();return e}add(e,t){let r=null;if(t&&t.before)r=this._nodes.indexOf(t.before),r==-1&&(r=null);else if(t&&t.after){if(r=this._nodes.indexOf(t.after)+1,r==0&&(r=null),r>=1)for(;this._nodes[r]instanceof Cs;)r++}else(typeof t=="number"||t instanceof Number)&&(r=t);return r!==null?e instanceof Array?this._nodes.splice.apply(this._nodes,[].concat([r,0],Array.from(e))):this._nodes.splice(r,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(ft),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 Mr(e)),t?this.unshift(e):this.push(e),this}some(e){for(let t=0,r=Re(this._nodes),i=r.length,n;t<i;t++)if(n=r[t],e(n))return!0;return!1}every(e){for(let t=0,r=Re(this._nodes),i=r.length,n;t<i;t++)if(n=r[t],!e(n))return!1;return!0}values(){return this._nodes.filter(function(e){return!(e instanceof Cs)})}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 r=this._nodes.indexOf(e);return r>=0&&(t instanceof Array?this._nodes.splice.apply(this._nodes,[].concat([r,1],Array.from(t))):this._nodes[r]=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 Cs))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,r=Re(this._nodes),i=r.length,n;t<i;t++)n=r[t],n&&!(n instanceof Cs)&&e++;return e}isEmpty(){return this.realCount()==0}visit(){let e=this._nodes,t=0;for(;t<e.length;){let r=e[t];if(r.traverse){let i=r.traverse();if(i!=r&&i instanceof Array){e.splice.apply(e,[].concat([t,1],Array.from(i)));continue}}t++}return this}isExpressable(){for(let e=0,t=Re(this._nodes),r=t.length,i;e<r;e++)if(i=t[e],i&&!i.isExpressable())return!1;return!0}toArray(){return this._nodes}delimiter(){return this._delimiter||","}js(e,t){(!t||t.constructor!==Object)&&(t={});var r=t.nodes!==void 0?t.nodes:this._nodes,i=",",n=i!=";",a=this.last(),o=0,l=r.length,f="";for(let p=0,m=Re(r),d=m.length,b;p<d;p++){b=m[p];var h=typeof b=="string"?b:b?b.c({expression:n}):"";f+=h,h&&(!n||b!=a)&&!(b instanceof Cs)&&(f+=i)}return f}indented(e,t){return e instanceof hi?(this._indentation=e,this):(this._indentation||(this._indentation=e&&t?new hi(e,t):Xh),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()}},Ut=class extends Pt{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 Cs?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}},Bo=class s extends Ut{concat(e){return this._nodes.length==0&&e instanceof s?e:(super.concat(e),this)}},Xe=class s extends Pt{constructor(e){super(...arguments),this.setup(),this._nodes=e||[],this._head=null,this._indentation=null}head(e){return this._head}startLoc(){return this._indentation?this._indentation.startLoc():super.startLoc(...arguments)}endLoc(){return this._indentation?this._indentation.endLoc():super.endLoc(...arguments)}visit(e){this._scope&&this._scope.visit(),e&&e._tag&&(this._tag=e._tag),this._traversing=!0;for(let t=0,r=this._nodes.slice(0),i=r.length,n;t<i;t++)n=r[t],n&&n.traverse();return this._traversing=!1,this}block(){return this}collectDecorators(){var e;return(e=this._decorators)?(this._decorators=null,e):null}loc(){var e,t;if(e=this.option("ends")){var r=e[0].loc(),i=e[1].loc();return r||this.p("no loc for "+e[0]),i||this.p("no loc for "+e[1]),[r[0],i[1]]}return(t=this._indentation)&&t.aloc()!=-1?[t.aloc(),t.bloc()]:(r=this._nodes[0],i=this._nodes[this._nodes.length-1],[r&&r.loc()[0]||0,i&&i.loc()[1]||0])}unwrap(){var e=[];for(let t=0,r=Re(this.nodes()),i=r.length,n;t<i;t++)n=r[t],n instanceof s?e.push.apply(e,n.unwrap()):e.push(n);return e}compile(e){e===void 0&&(e={});var t=new Jo(this,e);return t.compile(e)}analyze(e){return e===void 0&&(e={}),this}cpart(e){if(e===H0)return"";var t=typeof e=="string"?e:e?e.c():"";if(t==null||t==null||t=="")return"";if(t instanceof Array){for(var r="",i=t.length,n=0;n<i;)r+=this.cpart(t[n++]);return r}var a=vm(t);return a||e instanceof Cs||(t+=this.delimiter()),t}delimiter(){return this._delimiter==null?";":this._delimiter}js(e,t){var r=this._nodes,i=r.length,n=this.isExpression()||e.isExpression()||this.option("express")&&this.isExpressable();if(r.length==0&&(!this._head||this._head.length==0))return"";if(n)return super.js(e,{nodes:r});var a="";let o=!1;for(let h=0,p=r,m=p.length;h<m;h++){let d=this.cpart(p[h]);if(d[0]==`
`&&/^\n+$/.test(d)){if(o)continue;o=!0}else d&&(o=!1);a+=d}if(this._head&&this._head.length>0){var l="";for(let h=0,p=this._head,m=p.length;h<m;h++){var f=this.cpart(p[h]);f&&(l+=f+`
`)}a=l+a}return this.option("strict")&&(a=this.cpart(`"use strict";
`)+a),a}defers(e,t){var r=this._nodes.indexOf(e);r>=0&&(this._nodes[r]=t);var i=this._nodes.splice(r+1);return i}expressions(){var e=[];for(let t=0,r=Re(this.nodes()),i=r.length,n;t<i;t++)n=r[t],n instanceof Mr||e.push(n);return e}consume(e){var t;if(e instanceof kt){let i=this.expressions();return this._nodes=this._nodes.map(function(n){return Vo(n,i)>=0&&!(n instanceof Zt)?n.consume(e):n}),this}if(t=this.last()){var r=t.consume(e);r!=t&&(r instanceof s&&(r=r.nodes()),this.replace(t,r))}return this}isExpressable(){return!!this._nodes.every(function(e){return e.isExpressable()})}isExpression(){return this.option("express")||this._expression}shouldParenthesizeInTernary(){return this.count()==1?this.first().shouldParenthesizeInTernary():!0}indented(e,t){var r;return super.indented(...arguments),e instanceof et&&e._type=="INDENT"&&(r=e._meta&&e._meta.post)&&(e._meta.post=r.trim()+`
`),this}};Xe.wrap=function(s){if(!(s instanceof Array))throw new SyntaxError("what");return s.length==1&&s[0]instanceof Xe?s[0]:new Xe(s)};var r1=class extends Xe{c(e){let t=super.c(...arguments);return this._nodes.length>1?`static {
`+W2(t)+`
}`:"static { "+t.replace(/\;$/,"")+" }"}},i1=class extends Xe{},n1=class extends i1{},ni=class extends qe{constructor(e){super(...arguments),this._name=e}name(e){return this._name}setName(e){return this._name=e,this}isExcluded(){return I.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=I.up(Ms),this._name&&this._name.traverse&&this._name.traverse(),this.value()&&(this.value()._scope=this._vscope=new N1(this.value()),this.value()._scope._parent=this.scope__(),this.value().traverse()),this.watchBody()&&(this._descriptor=I.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 N1(this.wrapper()),this.wrapper()._scope._parent=this.scope__(),this.wrapper().traverse()),this}value(){return this.option("value")}target(){return this.option("static")?ue("this"):ue("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=dt(this._name.c()+"$$"))}storageMap(){return this._storageMap||(this._storageMap=this.scope__().root().declare(null,ue("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(!B0||!I.tsc()||this.isStatic())return null;let t=this.wrapper();if(!(t instanceof _1)||!(this._name instanceof Ke||this._name instanceof rl)||this._name instanceof Ui)return null;let r=t.fieldRegistryDecoratorName();if(!r)return null;let i=String(this._name),n=this._name.startLoc()||0,a=this._name.endLoc()||n,o=t.fieldRegistryArgs();if(!o.length)return null;let l=[];for(let m=0,d=Re(o),b=d.length;m<b;m++)l.push(d[m].constructorType);let f=o[0],h=""+im+":"+r+":"+i+":imba:"+this.sourceId()+":"+e+":"+n+":"+a,p=""+nm+":"+r+":"+i+":imba:"+this.sourceId()+":"+e+":"+n+":"+a;return{key:h,owner:e,ownerType:e,field:i,decorator:r,firstArg:f&&f.instanceType,firstArgType:f&&f.constructorType,firstArgTarget:f&&f.target?Object.assign({key:p},f.target):null,args:l}}loc(){return[this._name._loc,this._name.region()[1]]}c(){var e,t;if(this.option("struct")||this.isExcluded())return;let r=I.current(),i=I.tsc(),n;if(r instanceof ji){let a=this.isStatic()?""+ye("static",this.option("static"))+" ":"",o=this._name instanceof Gs?this._name.asObjectKey():this._name.c({as:"field"}),l=I.up(Ms),f=I.tsc()&&this.datatype();if(this.wrapper()){let h=this._metaname=this._name.metaIdentifier(),p=this._vslot,m=this._fslot,d,b=null;this.isStatic()?b=l.classReference().c():b=""+l.classReference().c()+".prototype";let g=le(".",ue("this"),h),w="this,"+p+","+this._name.c({as:"value"});if(this._getter=ue("(){ return "+g.c()+".$get("+w+") }"),this._setter=ue("(val){ "+g.c()+".$set(val,"+w+") }"),i){this._getter=ue("():ReturnType<typeof "+g.c()+".$get> { return "+g.c()+".$get("+w+") }"),this._setter=ue("(val:Parameters<typeof "+g.c()+".$set>[0]){ "+g.c()+".$set(val,"+w+") }");let _=[this.wrapper().c({expression:!0}),w,m,b],x=l.option("extension"),v="const self = this";if(x){let C=l._className,A=null;if(C instanceof Ke&&!C._variable&&(A=Qc[C._value]),C){let E=C&&C.option("generics"),S=C.c();E&&(S+=String(E)),v=A&&A.thistype?ue("const self = null as any as "+A.thistype):ue("const self = this as unknown as ("+S+")")}}d=""+v+";return "+this.runtime().accessor+"("+_.join(",")+")",this.wrapper()._callback&&(d+=".$function("+this.wrapper()._callback.c()+")")}else d="return this["+m+"] || "+this.runtime().accessor+"("+this.wrapper().c({expression:!0})+","+w+","+m+","+b+")";this._handler=ue(""+ye(h.c({as:"field"}),this._name)+"(){ "+d+" }")}if(i){let h={name:this._name,static:this.option("static"),declare:this.option("declareOnly"),protected:this.option("protected"),type:this.datatype(),value:this.value()},p;if(this.wrapper()){let m=""+this.mo("protected",!0)+" "+a+"get "+ye(this._name)+this.getter().c({keyword:""}),d=""+this.mo("protected",!0)+" "+a+"set "+ye(this._name)+this.setter().c({keyword:""});return f&&(m=""+m+":"+f.c()),n=""+m+`
`+d+`
`+a+"get "+this._handler.c(),n}else if(this instanceof jn||this._decorators&&this._decorators.length){let m=this.osym();return n="declare "+a+" "+ye(o,this._name),f&&(n=""+n+":"+ks(f)),n}else p="@declare @protected @static @name@{:@type} @{ = @value}",n=""+a+ye(o,this._name),f&&(n+=":"+ks(f)),this.value()&&(n+=" = "+this.value().c());if(p)return Ls(h,p)}else if(this instanceof jn||this._decorators&&this._decorators.length>0&&!1||this.wrapper()){let h=""+a+"set "+o+this.setter().c({keyword:""}),p=""+a+"get "+o+this.getter().c({keyword:""});n=""+h+`
`+p,this.wrapper()&&(n+=`
`+a+"get "+this._handler.c())}return n}if(!I.tsc()){if(this.isStatic()&&r instanceof r1)this._vscope&&(e=I.up(at))&&this._vscope.mergeScopeInto(e._scope),n=le("=",le(".",xt,this._name),this.value()||Mi).c()+`;
`;else{if(!this.isStatic()&&r instanceof r1)return"";if(!this.isStatic()&&r instanceof i1){this._vscope&&(t=I.up(at))&&this._vscope.mergeScopeInto(t._scope);let a=this._name;this._name instanceof Ke&&(a=this._name.toStr());let o=r.option("ctor"),l=r.option("opts"),f=this.value()||Mi,h=this.option("paramIndex"),p=this.option("restIndex"),m,d;if(r instanceof n1){d=o._params.at(p,!0,"$$",ue("{}")),m=le(".",d,this._name),m.cache({reuse:!0,name:"vsds",safe:!0});let b=le("=",le(".",xt,this._name),m);this.wrapper()&&(b=rt(le(".",le(".",xt,this._fname),dt("$init")),[m,xt,this._vslot,ue(this._name.c({as:"value"})),d])),n=le("&&",le("!==",m,Mi),b)}else if(h!=null){let b=this.option("paramName");m=o._params.at(h,!0,b),this.value()?f=Dt.ternary(le("!==",m,Mi),m,f):f=m}else p!=null&&(d=o._params.at(p,!0,"$$",ue("null")),m=le(".",d,this._name),this.value()?(m.cache({reuse:!0,name:"v",safe:!0}),f=Dt.ternary(le("&&",d,le("!==",m,Mi)),m,f)):f=Dt.ternary(d,m,Mi));if(this instanceof jn&&!this.value())return;this.wrapper()&&(r instanceof n1||(n=rt(le(".",le(".",xt,this._fname),dt("$init")),[f,xt,this._vslot,ue(this._name.c({as:"value"})),d])),n=le("&&",ue("fields"),n)),n||(n=le("=",le(".",xt,this._name),f)),n=n.c()+`;
`,this.watchBody()&&(this._descriptor||(this._descriptor=I.root().declare(""+this.oid()+"$Prop",this.util().watcher(this.storageSymbol(),this.watcherSymbol()),{type:"const",system:!0})),n="Object.defineProperty(this,"+a.c()+","+this._descriptor.c()+`);
`+n)}}return n}}getter(){return this._getter||(this._getter=this.wrapper()?ue("(){ return this.__"+this._name.c()+".$get(this,"+this._name.toStr().c()+","+this.osym()+") }"):this.parseTemplate("(){ return $get$; }"))}setterForValue(e){return le("=",le(".",xt,this.storageKey()),e)}parseTemplate(e){var t=this;return e=e.replace(/\$(\w+)\$/g,function(r,i){return i=="get"?t1(xt,t.storageSymbol()).c():i=="name"?t.name().c():i=="set"?le("=",t1(xt,t.storageSymbol()),ue("value")).c():i=="watcher"?t1(xt,t.watcherSymbol()).c():""}),ue(e)}setter(){return this._setter||(this._setter=this.parseTemplate("(value){ $set$; }"))}decorater(){return this._decorater||(this._decorater=this.util().decorate(new Vt(this._decorators),this.target(),this._name,ue("null")))}},zo=class extends ni{},jn=class extends ni{hasConstructorInits(){return!this.isStatic()&&this.value()}getter(){var e;return this._getter||(this._getter=(e=rt(t1(xt,"getAttribute"),[this.name().toAttrString()]),Hn([],[e])))}setter(){var e;return this._setter||(this._setter=(e=rt(t1(xt,"setAttribute"),[this.name().toAttrString(),ue("value")]),Hn([ue("value")],[e]).set({noreturn:!0})))}},Ho=class extends it{c(){return""}visit(){return this._classdecl=I.up(Ms)}},ji=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,r=Re(this._nodes),i=r.length,n;t<i;t++){if(n=r[t],n instanceof Cr){n.tagName()!="self"&&(n._options.type||n).error("only <self> tag allowed here");let a=new lr([],[n],new Ke("render"),null,{});this._nodes[t]=n=a}n&&n.traverse()}return this}},Qh=class extends Xe{},ec=class extends Xe{type(){return this.option("type")||"var"}add(e){this._nodes.length&&this.push(ft);let t=new yr(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}},Rt=class extends it{constructor(e,t,r){super(...arguments),this.setup(),this._open=t,this._close=r,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(),r=this._value,i=null;return r instanceof at&&(this._noparen=!0),t instanceof Xe?(e.isExpression()||(this._noparen=!0),i=r instanceof Array?Ne.cary(r):r.c({expression:e.isExpression()})):i=r instanceof Array?Ne.cary(r):r.c({expression:!0}),this.datatype()&&I.tsc()&&(i="("+i+"):"+this.datatype().c()),i}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)}},tc=class extends Rt{},$o=class extends Pt{c(e){return this.map(function(t){return t.c(e)}).join(",")}consume(e){return this.value().consume(e)}},Ts=class extends vr{constructor(e){return super(...arguments),this._traversed=!1,this._value=e instanceof Ut&&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 ms&&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 r=ye("return",this.keyword());return t instanceof Ut?""+r+" ["+t.c({expression:!0})+"]":t?""+r+" "+t.c({expression:!0}):r}c(){return I.tsc()&&this._value instanceof br?""+ye("return",this.keyword())+" "+ye("this",this._value):!this._value||this._value.isExpressable()?super.c(...arguments):this._value.consume(this).c()}consume(e){return this}},Dr=class extends Ts{},Uo=class extends Dr{},sc=class extends vr{visit(){return this._method=I.method()||I.up(at),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""+ye("yield",this.keyword())+" "+e.c({expression:!0})}},rc=class extends vr{js(e){return"throw "+this.value().c()}consume(e){return this}},Un=class extends vr{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=I.up(Fr),t=this._expression;if(e._catcher){t=t.consume(e._catcher);var r=new this.constructor(this._literal);return new Xe([t,r]).c()}else return t?(r=new this.constructor(this._literal),new Xe([t,r]).c()):super.c(...arguments)}},a1=class extends Un{js(e){return"break"}},Yo=class extends Un{js(e){return"continue"}},ic=class extends vr{consume(e){return this}},or=class extends qe{constructor(e,t,r){super(...arguments),typeof e=="string"&&(e=new Ke(e)),this._traversed=!1,this._name=e,this._value=e,this._defaults=t,this._typ=r,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 r=this._value.c();if(!t||t.as!="declaration")return r;if(this.datatype()&&I.tsc()){let i=ks(this.datatype());this.datatype()._optional&&(r+="?"),r+=":"+i}return this._defaults?""+r+" = "+this._defaults.c():this.option("splat")?"..."+r:r}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 le("=",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}}},Ko=class extends or{},o1=class extends or{c(){return"blockparam"}loc(){var e=this.name().region();return[e[0]-1,e[1]]}},qo=class extends or{},nc=class extends or{},ac=class extends or{},Wo=class extends Pt{splat(e){return this._splat}block(e){return this._block}at(e,t,r,i){if(t===void 0&&(t=!1),r===void 0&&(r=null),i===void 0&&(i=null),t)for(;e>=this.count();){let n=this.count()==e,a=n?i:null;this.add(new or(n&&r||"_"+this.count(),a))}return this._nodes[e]}metadata(){return this.filter(function(e){return!(e instanceof Cs)})}toJSON(){return this.metadata()}jsdoc(){let e=[];for(let r=0,i=Re(this.nodes()),n=i.length,a;r<n;r++)a=i[r],a instanceof or&&a.datatype()&&e.push(a.jsdoc());let t=e.join(`
`);return t?`/**
`+t+`
*/
`:""}visit(){var e=this.filter(function(t){return t instanceof o1});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 Kl;if(e.parent()instanceof Xe)return this.head(e);if(e.parent()instanceof Pr){let i=!(e.parent()instanceof lr);var t=this.nodes(),r={as:"declaration",typed:i};return Ne.compact(this.nodes().map(function(n){return n.c(r)})).join(",")}else throw"not implemented paramlist js"}head(e){var t=[],r=[],i=null,n=null,a=null,o=[],l=[],f=0;if(this.nodes().forEach(function(T,L){if(!(T instanceof Kn))return T._index=f,T instanceof qo?(l.push("opt"),r.push(T)):T instanceof o1?(l.push("blk"),i=T):(l.push("reg"),t.push(T)),f++}),a)var h=a.variable();var p=[],m=function(T){return"typeof "+T+" == 'function'"},d=function(T){return""+T+".constructor === Object"},b=function(T){return""+T+".constructor !== Object"};if(!a&&!n&&!i&&r.length>0&&l.join(" ").match(/opt$/))for(let T=0,L=r.length,y;T<L;T++)y=r[T],p.push("if("+y.name().c()+" === undefined) "+y.name().c()+" = "+y._defaults.c());else if(a&&!n&&!i&&r.length==0)p.push("if(!"+h.c()+"||"+b(h.c())+") "+h.c()+" = {}");else if(i&&r.length==1&&!n&&!a){var g=r[0],w=g.name().c(),_=i.name().c();p.push("if("+_+"==undefined && "+m(w)+") "+_+" = "+w+","+w+" = "+g._defaults.c()),p.push("if("+w+"==undefined) "+w+" = "+g._defaults.c())}else if(i&&a&&r.length==0&&!n)_=i.name().c(),p.push("if("+_+"==undefined && "+m(h.c())+") "+_+" = "+h.c()+","+h.c()+" = {}"),p.push("else if(!"+h.c()+"||"+b(h.c())+") "+h.c()+" = {}");else if(r.length>0||n){var x=this.scope__().temporary(this,{pool:"arguments"}).predeclared().c(),v=this.scope__().temporary(this,{pool:"counter"}).predeclared().c(),C=""+x+"["+v+"-1]",A=""+x+"[--"+v+"]";p.push("var "+x+" = arguments, "+v+" = "+x+".length"),i&&(_=i.name().c(),n?p.push("var "+_+" = "+m(C)+" ? "+A+" : null"):t.length>0?p.push("var "+_+" = "+v+" > "+t.length+" && "+m(C)+" ? "+A+" : null"):p.push("var "+_+" = "+m(C)+" ? "+A+" : null")),a&&p.push("var "+h.c()+" = "+C+"&&"+d(C)+" ? "+A+" : {}");for(let T=0,L=r.length,y;T<L;T++)y=r[T],p.push("if("+v+" < "+(y.index()+1)+") "+y.name().c()+" = "+y._defaults.c());if(n){var E=n.name().c(),S=n.index();S==0?(p.push("var "+E+" = new Array("+v+">"+S+" ? "+v+" : 0)"),p.push("while("+v+">"+S+") "+E+"["+v+"-1] = "+A)):(p.push("var "+E+" = new Array("+v+">"+S+" ? "+v+"-"+S+" : 0)"),p.push("while("+v+">"+S+") "+E+"[--"+v+" - "+S+"] = "+x+"["+v+"]"))}}else if(r.length>0)for(let T=0,L=r.length,y;T<L;T++)y=r[T],p.push("if("+y.name().c()+" === undefined) "+y.name().c()+" = "+y._defaults.c());if(a)for(let T=0,L=Re(a.nodes()),y=L.length,M;T<y;T++)M=L[T],g=le(".",h,M.c()).c(),p.push("var "+M.c()+" = "+g+" !== undefined ? "+g+" : "+M._defaults.c());if(o.length)for(let T=0,L=o.length;T<L;T++)o[T].head(e,p,this);return p.length>0?p.join(`;
`)+";":Kl}},Xo=class extends Pt{add(e,t,r){r===void 0&&(r=-1);var i=new l1(e,t);return e instanceof Ft&&(i._variable=e),r==0?this.unshift(i):this.push(i),i}load(e){return e.map(function(t){return new l1(t.name(),t._defaults,t.splat())})}isExpressable(){return this.nodes().every(function(e){return e.isExpressable()})}js(e){if(this.count()==0)return Kl;if(this.count()==1&&!this.isExpressable())return this.first().variable().autodeclare(),this.first().assignment().c();var t="var",r={};if(this.nodes().forEach(function(n){let a=n._variable||n,o=a instanceof Ft&&a.type();if(o)return r[o]||(r[o]=[]),r[o].push(n)}),r.let&&(r.var||r.const)?r.let.forEach(function(n){return(n._variable||n)._virtual=!0}):r.let&&(t="let"),this._split){let n=[];for(let a,o=0,l=Object.keys(r),f=l.length,h;o<f;o++)h=l[o],a=r[h],n.push(""+h+" "+Ne.cary(a,{as:"declaration"}).join(", ")+";");return n.join(`
`)}var i=Ne.compact(Ne.cary(this.nodes(),{as:"declaration"})).join(", ");return i?""+t+" "+i:""}},l1=class extends or{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 r=I.tsc()&&this.variable().datatype();return t!=null&&t!=null?(t instanceof qe&&(t=t.c({expression:!0})),r&&(t=""+r.c()+"("+t+")"),""+this.variable().c()+" = "+t):r?""+this.variable().c()+":"+r.c():""+this.variable().c()}accessor(){return this}},yr=class extends qe{constructor(e,t,r,i){super(...arguments),i===void 0&&(i="="),this._op=i,this._left=e,this._right=t,this._kind=r}op(){return this._op}type(){return this._kind}visit(e){var t=this;return t._left instanceof Ke&&t._right instanceof at||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 Vr||e instanceof Ts){let t=this;if(this._right&&!this._right.isExpressable()){let r=this.scope__().temporary(this),i=this._right.consume(le("=",r,Br));return this._right=r,new Xe([i,ft,this.consume(e)])}return new Xe([t,ft,this._left.consume(e)])}return e instanceof Ts?new Xe([this,ft,this._left.consume(e)]):super.consume(e)}c(e){if(this._right&&!this._right.isExpressable()){let t=this.scope__().temporary(this),r=this._right.consume(le("=",t,Br));return this._right=t,new Xe([r,ft,this]).c(e)}return super.c(e)}js(){let e="",t=this._kind,r=this.datatype()||this._left&&this._left.datatype();if(I.tsc()&&this._variables.length>1&&this._variables.some(function(i){return i.vartype()})){t="let";for(let i=0,n=Re(this._variables),a=n.length,o;i<a;i++){o=n[i];let l=o.c();o.vartype()&&(l+=":"+o.vartype().c()+" "),e+=""+ye(t,this.keyword())+" "+l+`;
`}e+="("+this._left.c(),this._right&&(e+=" = "+this._right.c({expression:!0})),e+=")"}else e+=""+ye(t,this.keyword())+" "+this._left.c(),this._right&&(e+=" = "+this._right.c({expression:!0}));return this.option("export")&&(e=ye("export",this.option("export"))+(" "+e)),e}},oc=class extends it{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()}},Pr=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}},lc=class extends Pr{constructor(e,t){super(...arguments),this._traversed=!1,this._body=Ne.blk(e),this._scope=new xr(this),this._body._head=this._scope.head(),this._options={}}visit(){return this._scope.visit(),this._body.traverse(),this}c(){return this._body.c()}},Jo=class extends Pr{constructor(e,t){super(...arguments),this._traversed=!1,this._body=Ne.blk(e),this._scope=new Gr(this,null),this._options={}}loc(){return this._body.loc()}visit(){ar=I.ROOT=this._scope;try{if(this.scope().visit(),this.body().traverse(),this.body().first()instanceof Mr)return this.body().first()._first=!0}catch(e){let t=Ni.wrap(e);throw t._sourcePath=tr.sourcePath,t._loc=I.currentRegion(),t}}compile(e,t){var r;if(t===void 0&&(t={}),I.reset(),this._scope._options=tr=I._options=this._options=e||{},this._scope,I.SOURCECODE=t.sourceCode,ar=(I._root=this._scope,this._scope),this._scope._imba.configure(e),Do=!!(e.sourcemap||e.raw||I.tsc()),this.traverse(),I._root=this._scope,e.bundle)if(e.cwd&&I.isNode()){let o=Ha(e.cwd,e.sourcePath),l=$a(e.cwd,o).split(ah).join("/"),f=this._scope.importProxy("path").proxy();this._scope.lookup("__filename").c=function(){return ue(""+f.resolve+"("+dt(l).c()+")").c()},this._scope.lookup("__dirname").c=function(){return ue(""+f.dirname+"("+f.resolve+"("+dt(l).c()+"))").c()}}else this._scope.lookup("__filename")._c=dt(e.sourcePath).c(),this._scope.lookup("__dirname")._c=dt(Ua(e.sourcePath)).c();e.onTraversed instanceof Function&&e.onTraversed(this,I);let i=I._css,n=i.toString();i.transitions&&this.runtime().transitions,n&&(!e.styles||e.styles=="inline")&&this.runtime().styles;var a;try{a=this.c(e)}catch(o){let l=Ni.wrap(o instanceof Error?o:new Error(String(o)));throw l._sourcePath=tr.sourcePath,l._loc=I.currentRegion(),l}if(I.tsc()&&((r=I.fieldRegistryDeclaration())&&r&&(a+=`
`+r+`
`),a=`export {};String();import * as imba from 'imba';
`+a+`
`,(t.sourceCode&&t.sourceCode.match(/(^|[\r\n])\# @nocheck[\n\r]/)||e.nocheck)&&(a=`// @ts-nocheck
`+a)),t.rawResult={js:a,css:n},t.js=a,t.css=n||"",t.sourceId=this.sourceId(),t.assets=this.scope()._assets,t.universal=I.meta().universal!==!1,!I.tsc()&&t.css&&(!e.styles||e.styles=="inline")){let o=JSON.stringify(t.css);t.js=""+t.js+`
`+this.runtime().styles+".register('"+t.sourceId+"',"+o+");",e.debug&&(t.js+=`
/*
`+t.css+`
*/
`)}if(e.sourcemap||I.tsc()){let o=new ps(t,e);I.tsc()?o.parse():(o.generate(),t.sourcemap=o.result()),e.sourcemap=="inline"&&(t.js+=o.inlined())}return e.raw||(t.css&&Do&&(t.css=Ds.strip(t.css)),Do&&(t.js=Ds.strip(t.js)),I.tsc()&&(t.js=t.js.replace(/\*\/\s[\r\n]+(\t*)\/\*\*/gm,function(o){return o.replace(/[^\n\t]/g," ")}))),t}js(e){var t=this.scope().c(),r=[];return t=t.replace(/^[ \t]*\/\/(\!.+)$/gm,function(i,n){return n=n.replace(/\bimba\b/g,"node"),r.push("#"+n+`
`),""}),t=r.join("")+t,t}analyze(e){return e===void 0&&(e={}),I._loglevel=e.loglevel||0,I._analyzing=!0,ar=I.ROOT=this._scope,tr=I._options={platform:e.platform,loglevel:e.loglevel||0,analysis:{entities:e.entities||!1,scopes:e.scopes==null?e.scopes=!0:e.scopes}},this.traverse(),I._analyzing=!1,this.scope().dump()}inspect(){return!0}},Ms=class s extends Pr{constructor(e,t,r){super(...arguments),this._traversed=!1,e instanceof wt&&(e._value._options=e._options,e=e._value),this._name=e,this._superclass=t,this._scope=this.isTag()?new E1(this):new pi(this),this._body=Ne.blk(r)||new ji([]),this._entities={}}name(e){return this._name}setName(e){return this._name=e,this}consume(e){return e instanceof Ts?(this.option("return",e),this):super.consume(...arguments)}namepath(){return this._namepath||(this._namepath=""+(this._name?this._name.c():"--"))}metadata(){var e;return{type:"class",namepath:this.namepath(),inherits:(e=this._superclass)&&e.namepath&&e.namepath(),path:this._name&&this._name.c().toString(),desc:this._desc,loc:this.loc(),symbols:this._scope._entities}}loc(){var e;return(e=this.option("keyword"))?[e._loc,this.body().loc()[1]]:super.loc(...arguments)}startLoc(){return this._startLoc==null?this._startLoc=fm(this.option("export"),this.option("keyword")):this._startLoc}endLoc(){return this._endLoc==null?this._endLoc=pm(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="$$"+I.sourceId()+"C"+I.incr("cls")+"$$")}isNamespaced(){return this._name instanceof st}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=I.tsc()?I.root().symbolRef("#__init__"):I.imbaSymbol("__init__"))}patchKey(){return this._patchKey||(this._patchKey=I.tsc()?I.root().symbolRef("#__patch__"):I.imbaSymbol("__patch__"))}refSym(){return this._refSym||(this._refSym=I.getSymbol())}initPath(){return this._initPath||(this._initPath=le(".",ue("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!I.tsc()||this.option("notInRoot")||this.isExtension()||!(this._name instanceof Ke)||this._name instanceof $i||this._name.option("generics")?null:String(this._name.c({mark:!1}))}instanceInit(){if(this._instanceInit)return this._instanceInit;let e=Fs.callOp(this.initKey());(this._superclass||this._mixins.length)&&(e=le("&&",ue("deep"),le("&&",le(".",ue("super"),this.initKey()),e)));let t=this.addMethod(this.initKey(),[],this.isTag()||this._superclass?[e,ft]:"",{},function(r){return!0});return t.set({noreturn:!0}),t.params().at(0,!0,"$$",ue("null")),t.params().at(1,!0,"deep",ue("true")),t.params().at(2,!0,"fields",ue("true")),this._instanceInit=t}instancePatch(){if(this._instancePatch)return this._instancePatch;let e=[],t=this.addMethod(this.patchKey(),[],e,{},function(n){return!0}),r=t._params.at(0,!0,"$$",ue("{}")),i=t._params.at(1,!0,"fields",ue("true"));if(this._superclass){let n=Fs.callOp(this.patchKey(),[r,i]);n=le("&&",le(".",ue("super"),this.patchKey()),n),t.inject(n)}return t.set({noreturn:!0}),this._instancePatch=t}isInitingFields(){return this._inits||this._supernode&&this._supernode.isInitingFields&&this._supernode.isInitingFields()}visit(){var e;let t=I.scope(1),r=I.up();if(I.tsc())t instanceof Gr||this.set({notInRoot:!0});else{let S=new Ji(t,null,null,{type:"let",ns:"c",safe:!0});I.prependInBlock(new Wh("let @name = Symbol()",{name:S})),this._refSym=S}this._body._delimiter="";let i=I.up(Xe);this._decorators=i&&i.collectDecorators(),I.pop(this);let n=this._superclass;if(this._path=this._name,this._ownName=this._name,this._realName=this._name instanceof st?this._name._right:this._name,n&&(n.traverse(),n instanceof wt))if(n._variable){let S=n._variable.value();S instanceof s&&(this._supernode=S)}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=ue(this._name.toClassName()),this._ownName=I.toInternalClassName(this._name),this._mixinName=this.scope__().register(this._ownName,null);else{let S;this._className=this._name,this._ownName=I.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 st)?this._name.traverse({declaring:this}):this._name&&this._name.traverse();I.tsc()&&(this.isGlobal()||this.isExtension()?this._ownName=I.toInternalClassName(this._name):this.isGlobal()&&!this.isExtension()&&!this.isNamespaced()&&this.option("export")&&(this._exportName=I.toInternalClassName(this._name))),I.push(this),ar._entities.add(this.namepath(),this),this.scope().visit(),this.set({iife:I.up()instanceof Ki});var a=!0,o=[],l=this._mixins=[],f=[],h=[],p={},m=void 0,d={};this._instanceMethodMap=d,this._declaredFields=p;for(let S=0,T=Re(this.body()),L=T.length,y;S<L;S++){if(y=T[S],y instanceof Ho&&l.push(y.value()),y instanceof ni&&!y.isStatic()){let M=String(y.name());p[M]=y,a&&y.set({restIndex:0})}if(y instanceof lr){let M=y.rawName();y.isMember()&&(d[M]=y)}}if(this.option("params")){let S=[];for(let T=0,L=Re(this.option("params")),y=L.length,M;T<y;T++){if(M=L[T],M instanceof Ko){m=T;continue}let j=String(M.name()),P=p[j],W=M.option("datatype");P?(W&&!P.datatype()&&P.set({datatype:W}),M._defaults&&!P.value()&&P.set({value:M._defaults})):(P=o[j]=new ni(M.name()).set({datatype:W,value:M._defaults}),S.push(P),h.push(M)),P&&P.set({paramIndex:T,paramName:j})}for(let T=0,L=Re(S.reverse()),y=L.length;T<y;T++)this.body().unshift(L[T])}this.body().traverse();var b=this.body().option("ctor");let g=I.tsc();var w=new i1,_=this._staticInits=new r1,x=new n1;this._mixins[0]&&!g&&!this.isExtension()&&w.add(ue("this["+this.refSym()+"]?.(...arguments)")),b=this.body().option("ctor");let v=this.body().filter(function(S){return S instanceof ni}),C=[];for(let S=0,T=Re(v),L=T.length,y;S<L;S++)y=T[S],!y.isExcluded()&&(y.watchBody()&&this.addMethod(y.watcherSymbol(),[],[y.watchBody()],{},function(M){return y._watchMethod=M,y._watchParam=M.params().at(0,!0,"e")}),y.hasStaticInits()&&!y.option("declareOnly")&&_.add(y),y.hasConstructorInits()&&(this.isExtension()?y.value()&&y._name.warn("field with value not supported in class extension"):y.option("declareOnly")||((!y.option("wrapper")||y instanceof zo)&&w.add(y),x.add(y))),!y.isStatic()&&m!=null&&y.set({restIndex:m}));if(g&&(e=this.fieldRegistryOwnerName()))for(let S=0,T=Re(v),L=T.length,y,M;S<L;S++)y=T[S],(M=y.fieldRegistryEntry(e))&&I.addFieldRegistryEntry(M);if(!g&&this._decorators){let S=this.util().decorate(new Vt(this._decorators),xt);_.add([S,ft]),C.push(this._decorators)}for(let S=0,T=Re(this.body()),L=T.length,y;S<L;S++)if(y=T[S],y._decorators&&!y.isExcluded()){let M=y.option("static")?xt:$0,j=ue("null"),P=this.util().decorate(new Vt(y._decorators),M,y.name(),j);C.push(y._decorators),_.add([P,ft])}let A=n||this._mixins[0];if(!w.isEmpty()&&!g&&(this._inits=w,this.instanceInit(),w.set({ctor:this.instanceInit()}),this.instanceInit().inject(w),!this.isTag()))if(this._superclass){if(!this._supernode||!this._supernode.isInitingFields()){let S=le("||",this.initPath(),rt(le(".",xt,this.initKey()),[]));if(!b)b=this.addMethod("constructor",[],[new Fs,ft,S],{});else{let T=b.option("injectInitAfter");b.inject(S,T?{after:T}:0)}}}else{let S=le(".",xt,this.initKey());if(b){let T=b.option("supr");T?T.real.set({target:S,args:[]}):b.body().add([rt(S,[]),ft],0)}else{b=this.addMethod("constructor",[],[],{});let T=b.params().at(0,!0,"$$",ue("null")),L=rt(S,[T]);g||b.body().add([L,ft],0)}}x.isEmpty(),g&&b&&this._autosuper&&b.body().add([ue("super()"),ft],0);let E=0;if(this instanceof Zo&&(E=E|ds.IsObjectExtension),this.isMixin()&&(E=E|ds.IsMixin),this.isTag()&&(E=E|ds.IsTag),this.isExtension()&&(E=E|ds.IsExtension),this._mixins.length&&(E=E|ds.HasMixins),!g){let S=!!d["#__inited__"],T=C.length>0;if(T){E=E|ds.HasDecorators,I.use("hooks");let y=I.imbaSymbol("__hooks__");_.unshift(ue("this.prototype["+y+"] = "+this.runtime().hooks),!0)}if(!this.isTag()&&!b&&(S||T)){let y=n?[new Fs,ft]:[ft];b=this.addMethod("constructor",[],y,{})}b&&!this.isTag()&&!I.isStdLib()&&b.inject(rt(I.corelib().inited$,[xt,this.refSym()])),b&&(E=E|ds.HasConstructor),this.option("calledSuper")&&(E=E|ds.HasSuperCalls);let L=[xt,this.refSym(),this._realName?this._realName.toStr():Br,ue(String(E))];if(this.isExtension()){let y;if(this.isTag()?(y=this._name._variable||rt(this.runtime().getTagType,[this._name,dt(this._name.toClassName())]),L.push(y)):L.push(y=this._className),this._mixins.length){for(let M=0,j=Re(this._mixins),P=j.length;M<P;M++)_.add(rt(I.corelib().augment$,[y,j[M]]));this._mixins.length=0}}_.add(rt(I.corelib().register$,L))}return!_.isEmpty()&&!g&&this.body().add([ft,_]),this}addMethod(e,t,r,i,n){(typeof r=="string"||r instanceof String)&&(r=[ue(r)]),(typeof e=="string"||e instanceof String)&&(e=new Ke(e));let a=new lr(t,r||[],e,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 t=I.tsc(),r=I.up(),i=this._options||{},n=this._ownName instanceof st?this._ownName._right:this._ownName,a=this._name instanceof st?this._name._right:this._name,o=null,l=this._superclass;typeof n!="string"&&n&&(n=n.c({mark:!0})),this._cname=n;var f=ue(n);let h=this.body().c(),p=ye("class",this.keyword());if(this._name)p+=" "+ye(n,this._name);else if(r instanceof ms)try{p+=" "+r._value._symbol}catch{}if(t){let d=I.parent(),b={body:h,name:this._cname,localName:this._cname,declareName:a,default:this.option("default"),abstract:this.option("abstract")||this.isMixin()||this.isInterface(),mixins:Ne.cary(this._mixins).join(", ")||null,generics:this._name&&this._name.option("generics"),supr:this._superclass,oid:this.tsId(),iife:d instanceof Ki||this.option("notInRoot"),return:this.option("return"),unsafe:this.option("implicitAny"),exportName:this.option("default")||a};b.generics?(b.suprGenerics=b.generics.asGenericNames(),b.mapped=!1):b.abstract||(b.mapped=!0),/^[\t\n]+$/.test(h)&&(b.body=null);let g;try{b.ref=this._name.variable()._value}catch{}try{b.export=this.option("export")||!!this._name.variable()._value.isExported()}catch{}try{b.global=this.option("global")||this._name&&!this._name.variable()||!!this._name.variable()._value.isGlobal()}catch{}try{b.path=this.isExtension()&&this._name.variable().importPath()}catch{}return g=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||b.iife?`class @name@generics @{extends @supr }{@{@unsafe?
[index:string]: any;}@body
}`:this.isExtension()&&b.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()&&b.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()&&!I.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
}`,Ls(b,g)}this._mixins.length?p+=" "+this.mo("extends")+" "+rt(I.corelib().multi$,[this.refSym(),l||Br].concat(this._mixins)).c():l&&(p+=" "+this.mo("extends")+" "+ye(l)),this._name instanceof st&&!this.exportForDts()&&!this.isExtension()&&(p=""+this._name.c()+" = "+p),this.option("export")&&(this.option("default")?p=""+this.mo("export")+" "+this.mo("default")+" "+p:p=""+this.mo("export")+" "+p);let m=""+p+" {"+h+"}";if(this.option("global")){let d=this._name instanceof st,b=this._name instanceof st?this._name.c():this._cname;m=""+m+"; "+this.scope__().root().globalRef()+"."+this._cname+" = "+b}return m}},Zo=class extends Ms{},Pi=class extends Ms{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 ue(this._name.toClassName())}cssref(e){if(this.isNeverExtended()&&!this._superclass)return this._cssns;if(e){let t=e.closure();return t.memovar("_ns_",le("||",le(".",t.context(),"_ns_"),dt("")))}else return le("||",le(".",xt,"_ns_"),dt(""))}isNeverExtended(){return this.name()&&this.name().isClass()?!this.option("export")&&!this.option("extended"):!1}visit(){I.hmr()&&(this.cssid(),this.cssns()),super.visit(...arguments);let e=this._superclass;if(this.name().isClass()||this.set({global:!0}),this._config={},e&&!I.tsc()){if(e.isNative()||e.isNativeSVG()){let t=e.nativeCreateNode();t=this.util().extendTag(t,xt),this.addMethod("create$",[],[t]).set({static:!0}),this.set({extends:gs.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,r,i=0,n=Object.keys(t),a=n.length,o;i<a;i++)if(o=n[i],r=t[o],I.tsc()){let l=r.option("reference"),f=r.type(),h=""+ye(Ne.sym(l),l);f&&f.toClassName&&(h+=" = new "+f.toClassName()),this.body().unshift(ue(h+";"),!0)}}if(!I.tsc()&&this.name()&&this.name().toNodeName&&!this.option("extension")){let t=this.name().toNodeName();t.indexOf("-")==-1&&(t=t+"-tag"),I._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 r=this._elementReferences||(this._elementReferences={});return r[e]&&r[e]!=t?t.warn("Duplicate elements with same reference",{loc:e}):(r[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=I.tsc(),r=this.name().toClassName(),i=this._superclass,n=!this.option("extension")&&!this.name().isClass()&&t,a={name:this.name()._str,mixins:Ne.cary(this._mixins).join(", ")||null};if(t&&(a.declareName=a.localName=new Gi(r,this.name()),(this.isGlobal()||this.isExtension())&&(r=a.localName=new zn(this.name()))),i&&i._variable?i=i._variable:i?i=rt(this.runtime().getSuperTagType,[i,dt(i.toClassName()),this.runtime().Component]):i=this.runtime().Component,t){i=this._superclass?this._superclass.toClassName():ue("imba.Component"),this.isExtension()||(this.body().unshift(ue("static $$TAG$$:true"),!0),this.body().unshift(ue("constructor(){ super() }",this._name),!0)),a.body=this.body().c(),!this.isExtension()&&!this._declaredFields.data&&!this._instanceMethodMap.data&&(a.body="data = this.dataForTagName('"+a.name+`')
`+a.body),a.default=this.option("default"),a.superName=this._superclass?new Gi(i,this._superclass):i;try{a.export=this.option("export")||!!this._name.variable()._value.isExported()}catch{}if(this.isExtension()&&this.isGlobal())return Ls(a,`class %localName { %body }
declare global { interface %declareName extends %localName {} }`);if(this.isExtension()){try{a.path=this._name.variable().importPath()}catch{}return a.path?Ls(a,`%declareName
declare module %path { interface %declareName extends %localName {} }
class %localName { %body }`):Ls(a,`class %localName { %body }
%export interface %declareName extends %localName {}`)}else return this.isGlobal()?Ls(a,`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 }
}
`):Ls(a,`@{@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(),dt(this.name().toClassName())]);(r=="ImbaElement"||r=="imba.Component")&&(p=this.runtime().Component);let m=new Yi(this.name());return"("+ye("class",this.option("keyword"))+" {"+this.body().c()+"})"}else this.name().isNative()&&this.name().error("tag "+this.name().symbol()+" already exists");let o=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()),a.config=gs.wrap(this._config),this._staticInits.add([ft,rt(this.runtime().defineTag,[this.name(),xt,a.config])]),this._staticInit&&this._staticInits.add([ft,rt(le(".",xt,this.initKey()),[])]);let l=this.body().c(),f=""+ye("class",this.keyword())+" "+ye(r,this.name())+" "+this.mo("extends")+" ";return this._mixins.length?f+=""+rt(I.corelib().multi$,[this.refSym(),i||Br].concat(this._mixins)).c():i&&(f+=""+ye(i)),this.option("export")&&(this.option("default")?f=""+this.mo("export")+" "+this.mo("default")+" "+f:f=""+this.mo("export")+" "+f),""+f+" {"+l+"}"}},at=class s extends Pr{constructor(e,t,r,i,n){super(...arguments),this._options=n;var a=this.scopetype();this._traversed=!1,this._body=Ne.blk(t),this._scope||(this._scope=n&&n.scope||new a(this)),this._scope.setParams(this._params=new Wo(e)),this._name=r||"",this._target=i,this._type="function",this._variable=null}name(e){return this._name}setName(e){return this._name=e,this}params(e){return this._params}setParams(e){return this._params=e,this}target(e){return this._target}type(e){return this._type}context(e){return this._context}scopetype(){return A1}inject(e,t){return this._body.add([e,ft],t)}nonlocals(){return this._scope._nonlocals}isGlobal(){return this.option("global")}returnType(){return this.datatype()}visit(e,t){return e._descriptor&&!e.tsc()&&e.indexOf(s)<=e.indexOf(_1)&&(this._scope=new jr(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 e="function";return this.option("async")&&(e="async "+e),e}jsdoc(){return""}js(e,t){this.option("noreturn")||this.body().consume(new Dr);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=t&&t.keyword!=null?t.keyword:this.funcKeyword(),o=""+ye(a,this.option("def")||this.option("keyword"))+Js(n)+"("+this._params.c()+") ";return I.tsc()&&this.returnType()&&(o+=":"+this.returnType().c()),o+=i,this.option("eval")&&(o="("+o+")()"),o}shouldParenthesize(e){return e===void 0&&(e=this.up()),e instanceof vs&&e._callee==this}},Bi=class extends at{scopetype(){return I1}isStatic(){return!0}isPrimitive(){return!0}visit(e){var t=this,r;if(super.visit(...arguments),!e.tsc())return(r=t._scope._leaks)&&(t._leaks=[],r.forEach(function(i,n){return i._name=="self"&&j0?t._useSelf=i:(i._proxy=t._params.at(t._params.count(),!0),t._leaks.push(n))})),t}},Qo=class extends at{js(e,t){this.option("noreturn")||this.body().consume(new Dr);var r=this.body()._indentation,i=this.body().c({braces:!0});return"(()=>"+i+")()"}},Yn=class{constructor(e){this._func=e,this._leaks=!1,this._matches=[]}test(e){return!1}},h1=class extends at{scopetype(){var e=this.option("keyword");return e&&e._value=="ƒ"?jr:Xi}},el=class extends Yn{test(e){if(e instanceof vs){e._args.consume(this),e._callee.consume(this);return}e instanceof wt&&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 br||e instanceof Ss)return this._self=e}},ii=class extends h1{scopetype(){return Xi}js(e,t){var r=this.body().c({braces:!1});if(I.tsc())return"((v$)=>"+r+")";let i=this.body(),n=i.startLoc(),a=i.endLoc();if(!(typeof n=="number"&&typeof a=="number")||!(a>n)||a-n>1024)return this._warned||(this._warned=!0,this.warn("unable to analyze amperfunction - it will not be memoized")),"((v$)=>"+r+")";let o=function(v){if(!v)return null;if(v.region){let E=v.region();if(E&&(E[0]||E[1]))return E}let C=v.startLoc?v.startLoc():null,A=v.endLoc?v.endLoc():null;return typeof C=="number"&&typeof A=="number"&&A>=C?[C,A]:null},l=function(v){return v&&v[0]>=n&&v[1]<=a},f=[];{let v=I._nodes,C=v.length-1;for(;C>=0;){let A=v[C]._scope;A&&A!=this._scope&&f.indexOf(A)<0&&f.push(A),C--}}let h=I.ROOT._amperUnresolved;if(h){for(let v=0;v<h.length;v++)if(l(o(h[v])))return this._warned||(this._warned=!0,h[v].warn("amperfunction references '"+String(h[v]._identifier)+"' before its declaration - it cannot be memoized")),"((v$)=>"+r+")"}let p=null,m=I.ROOT._amperSelfRefs;if(m){for(let v=0;v<m.length;v++)if(l(o(m[v]))){p=m[v];break}}let d=[],b=null;e:for(let v=0;v<f.length;v++){let C=f[v]._varmap;for(let A in C){let E=C[A];if(!E||E instanceof Ji||E.isGlobal()||d.indexOf(E)>=0)continue;let S=E._references||[],T=null;for(let M=0;M<S.length;M++)if(l(o(S[M]))){T=S[M];break}if(!T)continue;let L=o(E._declarator);if(L&&l(L))continue;if(String(E._name)=="arguments"){b=[T,"captures 'arguments'"];break e}if(!L||L[0]>=n){b=[T,"captures '"+E._name+"' which is declared later"];break e}let y=null;for(let M=0;M<S.length;M++){let j=S[M];if(j._assigns&&!(j instanceof ms)){y=j;break}}if(y){b=[T,"captures '"+E._name+"' which is reassigned"];break e}d.push(E)}}if(b)return this._warned||(this._warned=!0,b[0].warn("amperfunction "+b[1]+" - it cannot be memoized. Use a do-block instead")),"((v$)=>"+r+")";let w=i.sourcecode().replace(/[\"]/g,"'"),_=null;if(p)if(p instanceof wt){let v=p._value;_=v instanceof zi?v._left:v}else _=p;if(!d.length){let v=[ue(JSON.stringify(w)),_||ue("globalThis"),ue("(v$)=>"+r)];if(!_){let C=this.scope__().root(),A=ue(""+this.runtime().memofunc+"("+v.map(function(S){return S.c()}).join(",")+")"),E=C._ampermap[w];if(!E){let S="ƒ"+I.incr("ƒ");E=C._ampermap[w]=C.declare(S,A)}return E.c()}return""+this.runtime().memofunc+"("+v.map(function(C){return C.c()}).join(",")+")"}let x=JSON.stringify(w+""+d.map(function(v){return String(v._name)}).join(","));return""+this.runtime().memofuncv+"("+x+","+(_?_.c():"globalThis")+",(v$)=>"+r+",["+d.map(function(v){return v.c()}).join(",")+"])"}},tl=class extends at{visit(e){if(this._scope=null,this.body().traverse(),this.option("async")){var t=e.up(at);t&&t.set({async:!0})}return this}js(e,t){let r;if(I.tsc())return r=this.body().c({braces:!1}),rt(I.corelib().rescue$,[ue(r)]).c();this._body=this.body().consume(new Dr),r=this.body().c({braces:!1});let i="()=>{ try { "+r+" } catch(e) { return e; } }";return this.option("async")?"await (async "+i+")()":"("+i+")()"}},hc=class extends at{scopetype(){return jr}},cc=class extends at{scopetype(){return this.option("closed")?jr:Xi}},lr=class extends at{variable(e){return this._variable}scopetype(){return jr}consume(e){return e instanceof Ts?(this.option("return",!0),this):super.consume(...arguments)}isExcluded(){return I.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 r=this.target();return r.namepath()=="ValueNode"&&(r=this._context.node()),this._namepath=r.namepath()+t+e}else return this._namepath="&"+e}visit(){var e,t,r;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 i=this._options;this.scope().visit();let n=this.scope();if(this.isSetter()&&Bn(this._params)>1){Bn(this._params)>2&&console.warn("setter with more than two params not allowed",this.name());let o=this._params.pop(),l=le("=",new ms(o._value,"const"),le(".",t3,this.name()));this._body.add(l,0)}if(this.option("inObject"))return this._params.traverse(),this._body.traverse(),this;var a=this._context=this.scope().parent().closure();if(a instanceof Gr&&!this.target()&&!(this._name instanceof $i)?this.scope()._context=a.context():a instanceof jr&&!this.target()&&!(this._name instanceof $i)&&(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&&(r=this.scope().lookup(this.target().toString()))&&(this._target=r),String(this.name())=="initialize"&&a instanceof pi&&!(a instanceof E1)&&(this._type="constructor"),(String(this.name())=="constructor"||this.isConstructor())&&(this.up().set({ctor:this}),this.set({noreturn:!0})),a instanceof pi&&!this.target()){this._class=a.node(),this._target=a.prototype();let o=a.node().option("extension");this.set({prototype:this._target,inClassBody:!0,inExtension:o}),a.annotate(this)}if(this.target()instanceof Ss?(this._target=a.context(),a.annotate(this),this.set({static:!0})):i.variable?(this._variable=this.scope().parent().register(this.name(),this,{type:String(i.variable)}),this.target()&&this.warn(""+String(i.variable)+" def cannot have a target")):this.target()||(this._variable=this.scope().parent().register(this.name(),this,{type:"const"})),i.export&&!(a instanceof Gr)&&this.warn("cannot export non-root method",{loc:i.export.loc()}),ar._entities.add(this.namepath(),this),this._body.traverse(),this.returnType()&&this.returnType().traverse(),this.isConstructor()){!this._class._superclass&&this._class.hasMixins()&&!I.tsc()&&this.scope().head().unshift(ue("super()"));let o=this.scope__().context()._reference,l=this.option("supr"),f=l&&l.node,h=l&&l.block;if(o&&f){o._declarator._defaults=null;let p=le("=",o,new br);h.replace(f,[f,p])}}return this}supername(){return this.type()=="constructor"?this.type():this.name()}js(e,t){var r=this;t===void 0&&(t={});var i=r._options,n=I.tsc();if(r.option("declareOnly")&&!n||r.isExcluded())return"";r.type()=="constructor"||r.option("noreturn")||r.isSetter()||(r.option("chainable")?r.body().add(new Dr(r.scope().context())):r.option("greedy")?r.body().consume(new Uo):r.body().consume(new Dr));var a=r.scope().c({indent:!0,braces:!0}),o=typeof r._name=="string"?r._name:r._name.c({as:"field"}),l=r.option("yield")?"*":"",f="",h=n&&{kind:r.option("keyword"),static:r.option("static"),export:r.option("export"),declare:r.option("declareOnly"),default:r.option("default"),protected:r.option("protected"),async:r.option("async"),code:a,key:ye(o,null,{as:"field"}),name:r._name,get:r.isGetter()?r.option("keyword"):null,set:r.isSetter()?r.option("keyword"):null,returnType:r.returnType(),yield:r.option("yield")&&ue("*"),params:r.params(),generics:r._name&&r._name.option("generics"),function:!r.option("inClassBody")&&!r.option("inObject"),decorators:r._decorators};if(n){r._class&&r._class.isInterface()?h.code=";":h.declare&&Ds.strip(h.code).replace(/[\s\n\t]/g,"")=="{}"&&(h.code="{ return }");let b={},g=r.returnType(),w=r.params().map(function(C){return C.datatype()}),_=[g].concat(w.reverse());for(let C=0,A=Re(r.params()),E=A.length;C<E;C++){let S=A[C].datatype();if(S&&(S.visit(),S._genericWrap)){let T="$"+(C+1);b[T]=S.makeGeneric(T)}}for(let C=0,A=Re(_),E=A.length,S;C<E;C++)S=A[C],S instanceof Hi&&(S.visit(),S._generics&&S._generics.forEach(function(T){let L=T,y=T.match(/^\$\d+$/)?r.params().at(parseInt(T.slice(1))-1):null;try{return y.datatype()||y.setDatatype(new Hi(L,ue(""))),b[L]=y.datatype().makeGeneric(L)}catch(M){return console.log("error",M)}}));let x=Object.values(b);x.length&&(h.generics||(h.generics="<"+Ne.cary(x).join(",")+">")),r._decorators&&(h.decorators=Ne.cary(r._decorators).join(`
`));let v="@export @default @protected @static @async @get @set @function @yield@key@generics(@params)@{:@returnType} @code";return h.static&&r.returnType()&&r.returnType().hasSelfReference()&&(h.returnType=r.returnType().withReplacedThis("self"),v=`// @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`),r._decorators&&(h.decorators=Ne.cary(r._decorators).join(`
`),v=`@decorators
`+v),r.isGlobal()&&(h.localName=new zn(r._name),v+=`
type @localName = typeof @name;
declare global { var @name : @localName }`),Ls(h,v)}if((r.option("inClassBody")||r.option("inObject"))&&t.as!="descriptor"){let b="";return r.isGetter()?b=ye("get",r.option("keyword"))+" ":r.isSetter()&&(b=ye("set",r.option("keyword"))+" "),r.option("async")&&(b="async "+b),r.option("static")&&(b=""+ye("static",r.option("static"))+" "+b),f=""+b+l+ye(o,null,{as:"field"})+"("+r.params().c()+")",f+=a,f}var p="("+r.params().c()+")"+a,m=r.context(),d=Js(Ne.sym(r.name()));if(h={localName:d,declareName:d},r.target()){if(d[0]=="["?d=d.slice(1,-1):d="'"+d+"'",r.isGetter())return f="Object.defineProperty("+r.target().c()+","+d+",{get: "+r.funcKeyword()+p+", configurable: true})",f;if(r.isSetter())return f="Object.defineProperty("+r.target().c()+","+d+",{set: "+r.funcKeyword()+p+", configurable: true})",f;f=""+le(".",r.target(),r._name).c()+" = "+r.funcKeyword()+" "+p,i.export&&(f="exports."+(i.default?"default":d)+" = "+f)}else f=""+ye(r.funcKeyword(),r.keyword())+l+" "+ye(d,r._name)+p,i.export&&(f=""+ye("export",i.export)+" "+(i.default?ye("default ",i.default):"")+f);return i.global&&(f=""+f+"; "+r.scope__().root().globalRef()+"."+d+" = "+d+";"),r.option("return")&&(f="return "+f),f=r.jsdoc()+f,r.option("declareOnly")&&!I.tsc()?"":f}},Jt=class extends it{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()}},Kn=class extends Jt{c(){return this._value}},qn=class extends Jt{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 I._counter+=1,String(this._value)}toJSON(){return{type:"Bool",value:this._value}}loc(){return this._value.region?this._value.region():[0,0]}},sl=class extends Jt{isPrimitive(){return!0}isTruthy(){return!1}cache(){return this}c(){return ye("undefined",this._value)}},c1=class extends Jt{isPrimitive(){return!0}isTruthy(){return!1}cache(){return this}c(){let e=ye("null",this._value);return I.tsc()&&this.datatype()&&(e=e+" as unknown as "+this.datatype().c()),e}},Wn=class extends qn{raw(){return!0}isTruthy(){return!0}c(){return ye("true",this._value)}},Xn=class extends qn{raw(){return!1}isTruthy(){return!1}c(){return ye("false",this._value)}},zt=class extends Jt{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 st&&e._left==this}js(e){return this.toString()}c(e){if(this._cache)return super.c(e);var t=ye(this.toString(),this._value),r=I.current(),i=r instanceof st&&r._left==this;return i?"("+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()}}},uc=class extends Jt{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),r=String(this._value);return this.option("negate")&&(r="-"+r),t=="ms"?r=""+r:t=="kb"?r="("+r+" * 1024)":t=="mb"?r="("+r+" * 1024 * 1024)":t=="gb"?r="("+r+" * 1024 * 1024 * 1024)":t=="s"?r="("+r+" * 1000)":t=="minutes"?r="("+r+" * 60 * 1000)":t=="hours"?r="("+r+" * 60 * 60 * 1000)":t=="days"?r="("+r+" * 24 * 60 * 60 * 1000)":t=="n"?r=""+r+"n":t=="fps"?r="(1000 / "+r+")":(r=""+r+t,e&&e.unqouted||(r="'"+r+"'")),tr.sourcemap&&(!e||e.mark!==!1)&&(r=ye(r,this)),r}endLoc(){return this._unit.endLoc()}},fc=class extends it{constructor(e,t){super(...arguments),this._value=e,this._unit=t}js(e){let t=String(this._unit);return"("+this.value().c()+"+"+dt(this._unit).c()+")"}},ht=class extends Jt{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):ye(this.js(),this._value,e)}},pc=class extends Pt{js(){return"`"+this._nodes.map(function(r){return typeof r=="string"||r instanceof String?r:r.c()}).join("")+"`"}},dc=class extends it{},u1=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=Re(this._nodes),r=t.length;e<r;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(t,r){return t instanceof et&&t._type=="NEOSTRING"?new ht('"'+t._value+'"'):t})}js(e,t){var r=this,i=String(r.option("open")||'"');if(i.length==3&&(i=i[0]),t&&t.as=="template"){var n=[];return r._nodes.map(function(l,f){if(l instanceof et&&l._type=="NEOSTRING")return n.push(r.escapeString(l._value));if(l)return n.push("${",l.c({expression:!0}),"}")}),"`"+n.join("")+"`"}else{var a=r._noparen;n=[];var o=a?"":"(";r._nodes.map(function(l,f){if(l instanceof et&&l._type=="NEOSTRING")return n.push(i+r.escapeString(l._value)+i);if(l)return f==0&&n.push('""'),l._parens=!0,n.push(l.c({expression:!0}))}),o+=n.join(" + "),a||(o+=")")}return o}},f1=class extends Jt{isValidIdentifier(){return!!this.raw().match(/^[a-zA-Z\$\_]+[\d\w\$\_]*$/)}isPrimitive(e){return!0}raw(){return this._raw||(this._raw=Ne.sym(this.value().toString().replace(/^\:/,"")))}js(e){return"'"+Ne.sym(this.raw())+"'"}},_c=class extends Jt{isPrimitive(){return!0}js(){var e,t=super.js(...arguments);if(e=sh.exec(t)){var r=e[1].replace(th,"").replace(/\//g,"\\/");return"/"+(r||"(?:)")+"/"+e[2]}return t=="//"?"/(?:)/":t}},rl=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$"+uo(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("αα"+this.safeSymbol())}toStr(){return new ht(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)+"]"}},Vt=class extends Jt{load(e){return e instanceof Array?new Ut(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 qi})}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 r=t instanceof Array?t:t.nodes(),i=t instanceof Array?Ne.cary(t):t.c();return i="["+i+"]",this.datatype()&&I.tsc()&&(i=i+" as "+this.datatype().c()),i}hasSideEffects(){return this.value().some(function(e){return e.hasSideEffects()})}toString(){return"Arr"}indented(e,t){return this._value.indented(e,t),this}};Vt.wrap=function(s){return new Vt(s)};var gs=class extends Jt{load(e){return e instanceof Array?new Bo(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 et)&&(e=new Ke(e));var r=new Or(e,t);return this.value().push(r),r}remove(e){for(let t=0,r=Re(this.value()),i=r.length,n;t<i;t++)n=r[t],n.key().symbol()==e&&this.value().remove(n);return this}keys(){return Object.keys(this.hash())}hash(){var e={};for(let t=0,r=Re(this.value()),i=r.length,n;t<i;t++)n=r[t],n instanceof Or&&(e[n.key().symbol()]=n.value());return e}key(e){for(let t=0,r=Re(this.value()),i=r.length,n;t<i;t++)if(n=r[t],n instanceof Or&&n.key().symbol()==e)return n;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"}};gs.wrap=function(s){var e=[];for(let t,r=0,i=Object.keys(s),n=i.length,a;r<n;r++)a=i[r],t=s[a],t instanceof Array?t=Vt.wrap(t):t.constructor==Object&&(t=gs.wrap(t)),t=dm(t),(typeof a=="string"||a instanceof String)&&(a=new Ke(a)),e.push(new Or(a,t));return new gs(e)};var ai=class s extends it{consume(e){return e==s||e instanceof s?this:super.consume(...arguments)}js(){return"("+this._value.c()+").valueOf()"}},Or=class extends qe{constructor(e,t,r){super(...arguments),this._traversed=!1,this._key=e,this._value=t,this._dynamic=e instanceof Et,this._defaults=r}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 r=t&&t.declaring;return this._key instanceof d1?this._value||(this._key=new Ke(this._key.value()),this._value=le(".",this.scope__().context(),this._key),this._defaults&&(this._value=le("=",this._value,this._defaults),this._defaults=null)):this._key instanceof ml?this._value||(this._value=le(".",this.scope__().context(),this._key),this._key=new Ke(this._key.value())):this._key instanceof Ke&&(this._value||(r?(this._value=this.scope__().register(this._key.symbol(),this._key,{type:r}),this._value=this._value.via(this._key),this._defaults&&(this._value=le("=",this._value,this._defaults),this._defaults=null)):(this._value=this.scope__().lookup(this._key.symbol()),this._value||(this._value=le(".",this.scope__().context(),this._key))))),this}js(e){let t=this._key,r;return t instanceof Gs||t instanceof Ui?r=t.asObjectKey():t instanceof u1?r="["+t.c()+"]":t instanceof zt||t.isReserved()?r="'"+t.c()+"'":t instanceof ht&&t.isValidIdentifier()?r=t.raw():r=t.c({as:"key"}),this._defaults?""+r+" = "+this._defaults.c():this._value?""+r+": "+this._value.c():""+r}hasSideEffects(){return!0}isPrimitive(e){return!this._value||this._value.isPrimitive(e)}},mc=class extends Or{js(e){let t=this.key();return this.value()?"..."+this.value().c():"..."+t.c()}},il=class extends qe{c(){return"arguments"}},Ss=class extends Jt{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=I.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=ye(this.js(),this._value),t=I.tsc()&&this.option("datatype"),r=I.tsc()&&this.option("generics");return r&&(e+=String(r)),t&&(e=""+e+" as any as ("+t.c()+")"),e}},br=class extends Ss{cache(){return this}reference(){return this}visit(){if(this._value){let e=I.ROOT;(e._amperSelfRefs||(e._amperSelfRefs=[])).push(this)}return this}js(){return"this"}},Et=class s extends qe{constructor(e,t,r){return super(...arguments),this._expression=!1,this._traversed=!1,this._parens=!1,this._cache=null,this._invert=!1,this._opToken=e,this._op=e&&e._value||e,this._op=="and"?this._op="&&":this._op=="or"?this._op="||":this._op=="not"&&(this._op="!"),this._left=t,this._right=r,this}op(e){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 e=this._left.unwrappedNode(),t=this._right.unwrappedNode();if(t instanceof kt||t instanceof s&&t.hasTagRight()||t instanceof s&&t.hasTagRight())return!0}return!1}opToIfTree(){if(this.hasTagRight()){let e=this._left.unwrappedNode(),t=this._right.unwrappedNode();if(this._op=="&&")return e instanceof s&&e.hasTagRight()&&this._left.warn("Tag not allowed here"),e instanceof s&&(e=e.opToIfTree()),t instanceof s&&(t=t.opToIfTree()),t instanceof Dt?(t._test=le("&&",e,t.test()),t):new Dt(e,new Xe([t])).traverse();if(this._op=="||")return e instanceof s&&(e=e.opToIfTree()),e instanceof Dt?e.addElse(new Xe([t])):new Dt(e,new Xe([])).addElse(new Xe([t])).traverse()}return this}isExpressable(){return!this._right||this._right.isExpressable()}js(e){var t=null;if(I.tsc()&&this.isBitwise())if(this.isAssignment()){let l=String(this._op).split("=");this._op="=",this._right=le(l[0],this._left,this._right)}else this._right&&(this._right=this._right.consume(ai)),this._left&&(this._left=this._left.consume(ai));var r=this._op;let i=r;var n=this._left,a=this._right;if(r=="!&")return"("+ks(n)+" "+ye("&",this._opToken)+" "+ks(a)+")==0";if(r=="??")return"("+ks(n)+" "+ye(r,this._opToken)+" "+ks(a)+")";if(r=="|=?")return Dt.ternary(le("==",new Rt([le("&",n,a.cache())]),a),Po,new Rt([le("|=",n,a),s1])).c();if(r=="~=?")return Dt.ternary(le("&",n,a.cache()),new Rt([le("~=",n,a),s1]),Po).c();if(r=="^=?")return le("!!",le("&",le("^=",n,a.cache()),a)).c();if(r=="=?")return a.cache(),Dt.ternary(le("!=",n,a),new Rt([le("=",n,a),s1]),Po).c();let o=!1;if(r=="isnt"&&(o=!0,r="is"),r=="is"){let l;return a instanceof Rt?(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)t||(t=""+n+" "+ye(r,this._opToken)+" "+a);else if(n){let l=this._opToken&&this._opToken.spaced?" ":"";t||(t=""+ye(r,this._opToken)+l+n)}return t}isString(){return this._op=="+"&&this._left&&this._left.isString()}isLogical(){return this._op=="&&"||this._op=="||"||this._op=="or"||this._op=="and"}isBitwise(){return!!Q2[this._op]}isAssignment(){return!!eh[this._op]}shouldParenthesize(){return this._parens}precedence(){return 10}consume(e){var t;if(e==ai){if(this.isBitwise())return this}else e instanceof Yn&&(this._left&&this._left.consume(e),this._right&&this._right.consume(e));if(e instanceof We.Is){if(this._op=="!")this._left=this._left.consume(e);else if(this.isLogical())this._left&&(this._left=t=this._left.consume(e)),this._right&&(this._right=t=this._right.consume(e));else if(this instanceof st)return e.clone(this);return this}if(this.isExpressable())return super.consume(...arguments);var r=this.scope__().declare("tmp",null,{system:!0}),i=le(this._op,this._left,null),n=this._right.consume(i);return e&&n.consume(e),n}},p1=class s extends Et{invert(){var e=this._op,t=["==","!=","===","!==",">","<=","<",">="],r=t.indexOf(e);return r+=r%2?-1:1,this._op=t[r],this._invert=!this._invert,this}c(){return this._left instanceof s?(this._left._right.cache(),le("&&",this._left,le(this.op(),this._left._right,this._right)).c()):super.c(...arguments)}js(e){var t=this._op,r=this._left,i=this._right;return r instanceof qe&&(r=r.c()),i instanceof qe&&(i=i.c()),""+r+" "+ye(t,this._opToken)+" "+i}},Jn=class extends Et{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=Ne.truthy(this._left);return e!==void 0?!e:void 0}js(e){var t=this._left,r=this._right,i=this.op(),n=this._opToken&&this._opToken.spaced?" ":"";if(i=="not"&&(i="!"),i=="!"||i=="!!"){var a=t.c(),o=t.shouldParenthesize(this);return(a.match(/^\!?([\w\.]+)$/)||t instanceof Rt||o||t instanceof st||t instanceof vs)&&!a.match(/[\s\&\|]/)||(a="("+a+")"),""+i+a}else return this._left?""+t.c()+n+i:""+i+n+r.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()}},nl=class extends Et{js(e,t){if(this._right instanceof ht){let r="typeof ("+this._left.c()+")==="+this._right.c();return e.parent()instanceof Et&&(r=Ai(r)),r}if(this._right instanceof Rt){let r=this._right.consume(new We.Isa([I.tsc()?this._left:this._left.cache(),null,this._op])).c();return r=Ai(r),r}if(String(this._op)=="instanceof"||I.tsc()){let r=""+this._left.c()+" "+ye("instanceof",this._opToken)+" "+this._right.c();return e.parent()instanceof Et&&(r=Ai(r)),r}return new We.Isa([this._left,this._right,this._op]).js(e,t)}},al=class extends Et{js(e){return"typeof "+this._left.c()}},ol=class extends Et{js(i){var t=this._left,r=this.scope__().temporary(this,{pool:"val"}),i=le("=",r,t);return"("+i.c()+",delete "+t.c()+", "+r.c()+")"}shouldParenthesize(){return!0}},ll=class extends Et{js(e,t){if(this._right instanceof Rt){let r=this._right.consume(new We.In([I.tsc()?this._left:this._left.cache(),null])).c();return r=Ai(r),r}return new We.In([this._left,this._right]).js(e,t)}},st=class extends Et{constructor(e,t,r){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=r,this}get is_namespace(){return this._left instanceof wt&&this._left.is_namespace}startLoc(){return this._left instanceof di?this._right.startLoc():(this._left||this._right).startLoc()}endLoc(){return this._right&&this._right.endLoc()}clone(e,t){var r=this.constructor;return new r(this.op(),e,t)}isRuntimeReference(){return this._left instanceof wt&&this._left._variable instanceof L1?this._right instanceof Ke?this._right.toString():!0:!1}js(e){var t,r,i=null,n=this._left,a=this._right,o=null,l=I.tsc();if(n instanceof wt&&n._variable instanceof aa)return n._variable.access(a,n).c();a instanceof et&&(a=new Ke(a));var f=n||this.scope__().context(),h="",p="";let m=this.safechain()?"?":"";if(this._startLoc||(this._startLoc=(n||a).startLoc()),n instanceof Fs&&e.method()&&e.method().option("inExtension"),a instanceof ci&&a.value()instanceof zt&&(a=a.value()),a instanceof zt)return a.toNumber()<0&&!I.tsc()?m?this.util().optNegIndex(f,a).c():this.util().negIndex(f,a).c():f.c()+((m?"?.":"")+"[")+a.c()+"]";if(a instanceof ci&&(a.value()instanceof ht||a.value()instanceof f1)&&(a=a.value()),a instanceof ht&&a.isValidIdentifier()||a instanceof f1&&a.isValidIdentifier()?i=a.raw():a instanceof bl?a=a.value():a instanceof Ui||a instanceof Ke&&a.isValidIdentifier()&&(i=a.c()),l){let w="'"+a.c({mark:!1})+"' in "+f.c();if(a instanceof Ke&&a.isPredicate()&&!(n instanceof Ss)){let _=""+f.c()+"."+a.c();return this._call?"("+w+" && "+_+" instanceof Function && "+_+")":this._assigns?"("+w+" && "+f.c()+")."+a.c():"("+w+" && "+_+")"}else if(m&&a instanceof Ke)return this._call?"(("+w+") && "+f.c()+"?."+a.c()+" instanceof Function && "+f.c()+"."+a.c()+")":"(("+w+") && "+f.c()+"?."+a.c()+")"}var d=i?(t=l?ye(".",this._optok):".",f?""+m+t+i:i):(r=a instanceof qe?a.c({expression:!0,as:"value"}):a,(m?"?.":"")+"["+r+"]");let b=e.up(),g=l&&this.option("datatype");return f&&(d=f.c()+d),this instanceof zi&&(d=ye(d,a._token||a._value)),g&&(!(b instanceof Zt)||b._right.node()==this)&&(b instanceof Xe&&(this instanceof zi||n instanceof Ss),d=d+" as "+g.c()),d=h+d,h&&(d="("+d+")"),d}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 d1&&!this._left?this:super.cache(e)}shouldParenthesizeInTernary(){return this._parens||this._cache}datatype(){return super.datatype(...arguments)||this._right.datatype()}},zi=class extends st{},hl=class extends st{safechain(e){return this._safechain}js(e){return this._right instanceof Ft&&this._right.type()=="meth"&&!(this.up()instanceof vs)?""+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()}},Zn=class extends st{constructor(e,t,r){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=r,this}visit(){return this._right&&this._right.traverse(),this._left&&this._left.traverse(),this}js(e){var t=this.up(),r=""+super.js(e);return r}receiver(){return this._left instanceof Fs?t3:null}},Qn=class extends st{visit(){return this._right&&this._right.traverse(),this._left?this._left.traverse():this.scope__().context(),this}cache(){return this}},gc=class extends st{cache(e){return e===void 0&&(e={}),e.force?super.cache(...arguments):(this._right.cache(),this)}},cl=class extends it{},wt=class extends it{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==ar.GLOBAL}get is_class(){return this._variable&&this._variable._value instanceof Ms}get is_import(){return this._variable&&this._variable.is_import}get global_interface(){return!this._variable&&Qc[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 r,i,n,a=this.scope__(),o=this.value().symbol();if(t&&t.declaring&&(n=a.register(this.value(),this,{type:t.declaring})),n||(n=a.lookup(this.value().symbol())),n&&n instanceof na){let l=n.name();n instanceof O1&&!e.tsc()?this._value=n.forScope(a):e.tsc()?this._value=ue(l):e.isNode()?(this._value=ue(a.imba().c()),l!="imba"&&(this._value=ue(""+a.imba().c()+"."+l))):this._value=ue(l)}else if(n&&n._declarator){let l=n.scope();if(l==a&&!n._initialized){let f=a.parent().lookup(this.value());f&&(n._virtual=!0,n._shadowing=f,n=f)}if(n&&n._initialized||a.closure()!=l.closure())return this._variable=n,n.addReference(this),this._value=n,this._token._variable=n,this;(I.ROOT._amperUnresolved||(I.ROOT._amperUnresolved=[])).push(this)}else if(this.value().symbol()=="self")this._value=a.context(),this._isSelf=!0,(I.ROOT._amperSelfRefs||(I.ROOT._amperSelfRefs=[])).push(this);else if(this._identifier.isCapitalized())this._isGlobal=!0;else{let l=a.lookup("self"),f=a.context();if(!l&&f.isGlobalContext())this._includeType=!0;else{if(this._isSelf=!0,(I.ROOT._amperSelfRefs||(I.ROOT._amperSelfRefs=[])).push(this),this.value().symbol()=="constructor"){let h=I.up(Ms);(r=this.datatype())||this.setDatatype(i=new vc(h))}this._value=new zi(".",new Ss().traverse(),this._value)}}return this}js(e){if(this._tagref)return this._tagref.ref();let t=this._variable||this._value;if(I.tsc()){let r=this.datatype(),i=this.option("generics"),n=t.c();return i&&(n+=i.c()),r?(t.datatype()==r&&t.setDatatype(null),this.datatype().isGeneric()?n+this.datatype().c():Ai(n+" as unknown as "+this.datatype().c())):n}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()}}},ms=class extends it{constructor(e,t){super(e),e instanceof wt?(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")&&!I.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=Re(this._variables),r=t.length,i;e<r;e++)i=t[e],i._type="let",i._virtual=!0,i.autodeclare()}return this}visit(e,t){var r=this,i=[],n=e;let a=r.scope__();if(r._variables=a.captureVariableDeclarations(function(){if(r._value.traverse({declaring:r._type,variables:i}),r._value instanceof Ke)return r._value._variable||(r._value._variable=a.register(r._value.symbol(),r._value,{type:r._type,datatype:r.datatype()}))}),r.is_static){r._variables.length>1&&r.warn("Destructuring not supported for static variables",{loc:r.option("static")});for(let o=0,l=Re(r._variables),f=l.length;o<f;o++)l[o].proxy(a.staticsRef(),ue(I.getSymbol()))}return r}js(e,t,r){let i=this._value.c();if(this.option("global")&&!r&&I.tsc()){let a={js:this.js(e,t,!0),kind:this._type,name:i};return Ls(a,"declare global { %js }")}let n=I.tsc()&&this.datatype();if(n&&(i=P0(i,n)),this.is_static){let a=this._right?this._right.c({expression:!0}):"null";return""+i+" ??= "+a}if(this._right){let a=this._right.c({expression:!0});i+=" = "+a}if(this._expression)this._value instanceof gs&&(i="("+i+")");else{if(I.tsc()&&this._variables.length>1&&this._variables.some(function(a){return a.vartype()})){let a=this._type,o="";for(let l=0,f=Re(this._variables),h=f.length,p;l<h;l++)p=f[l],o+=""+ye(a,this._keyword)+" "+P0(p,p.vartype())+`;
`;return this._value instanceof gs&&(i="("+i+")"),o+=""+i,o}i=""+this._type+" "+i,this.option("export")&&(i=""+ye("export",this.option("export"))+" "+i)}return i}},Zt=class s extends Et{constructor(e,t,r){return super(...arguments),this._expression=!1,this._traversed=!1,this._parens=!1,this._cache=null,this._invert=!1,this._opToken=e,this._op=e&&e._value||e,this._left=t,this._right=r,this}isExpressable(){return!this._right||this._right.isExpressable()}isUsed(){return!(this.up()instanceof Xe)}visit(){var e=this._left,t=this._right;if(e instanceof wt&&t instanceof wt&&e._identifier.symbol()==t._identifier.symbol()&&(this._left=e=new st(".",this.scope__().context(),e._value)),e._assigns=t,e instanceof Vt||e instanceof gs){let i=function(n){if(n)if(n instanceof Vt||n instanceof gs){let a=n.nodes?n.nodes():n.value&&n.value().nodes?n.value().nodes():[];for(let o of a)i(o)}else n instanceof Or?i(n._value):n instanceof qi?i(n.value?n.value():n._value):n instanceof s?i(n._left):n._assigns=t};i(e)}if(e instanceof ms&&t instanceof h1&&e.traverse(),t&&t.traverse({assignment:!0}),e&&e.traverse(),e.datatype()&&t&&!t.datatype()&&t.setDatatype(e.datatype()),e instanceof st&&e._left&&e._left._variable==ar.GLOBAL&&(this._globalAssign=!0),I.tsc()&&e instanceof st&&e._left instanceof wt){let i=e._left._variable}this.option("global")&&e instanceof ms&&!I.tsc()&&(this._left=e=le(".",ar.GLOBAL,e.value()));let r=I.up();return e instanceof ms&&!(r instanceof Xe)&&!(r instanceof S1)&&!(r instanceof x1)&&e.forceExpression(),this}c(e){return this._right.isExpressable()?super.c(e):(this._left instanceof ms&&(!(this._right instanceof Fr)||this._expression)&&this._left.forceExpression(),this._right.consume(this).c(e))}js(e,t){if(this.option("global")&&!t&&I.tsc()){let l=this.js(e,!0),f=this._left.value(),h=this._left.type(),p={js:l,kind:this._left.type(),name:f,localName:new zn(f)};return Ls(p,`%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 ms&&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 Ss){var a=this.scope__().context();r=a.reference()}if(r instanceof ms)return r._right=i,r.c();if(I.tsc()&&r instanceof st&&r.is_namespace&&String(this.op())=="="&&I.is_top_level){let l=r._left,f=new zn(r,r._right),h=l.global_interface,p={global:!l._variable,sysname:f,namespace:r._left,name:r._right,value:this._right.c({expression:!0})};Object.assign(p,h||{});try{p.export=this.option("export")||!!l._variable._value.isExported()}catch{}try{p.path=l._variable.importPath()}catch{}let m=p.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 }`:p.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 Ls(p,m)}n||(n=r.c()),I.tsc()&&this.op()=="||="&&(this._op=" =");var o=""+n+" "+this.op()+" "+this._right.c({expression:!0});return r instanceof gs&&(o="("+o+")"),o}shouldParenthesize(e){return e===void 0&&(e=this.up()),this._parens||e instanceof Et&&e.op()!="="}consume(e){if(e instanceof kt)return this._right instanceof kt?(this._right.set({assign:this._left}),this._right.consume(e)):this;if(e instanceof Ts&&this._left instanceof ms){if(I.tsc()){let r=this._right,i=this._left._variables,n=i[0]?new cl(i[0]).consume(e):e;return new Xe([this,ft,n])}this._left.forceExpression()}if(this.isExpressable())return this.forceExpression(),super.consume(e);var t=this._right.consume(this);return t.consume(e)}},Vr=class extends Zt{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}},ul=class extends Vr{js(e){return""+this._left.c()+".push("+this._right.c()+")"}consume(e){return this}},fl=class extends Zt{},pl=class extends Zt{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 Zn))return this;e._left&&e._left.cache();var t=le("=",this._left,le(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=I.current();return t instanceof Xe&&t.replace(this,e),e.c()}},Hi=class s extends qe{constructor(e,t){super(...arguments),this._value=e,this._source=t,this._optional=!1,this._replaced=null}add(e){return this._parts.push(e)}startLoc(){return(this._source||this._value).startLoc()}endLoc(){return(this._source||this._value).endLoc()}asParam(e){return"@param {"+this.asRawType()+"} "+e}isGeneric(){return String(this._value)[0]=="<"}asGenericNames(){return this._genericNames||(this._genericNames=new Gi(O0(this.plain()),this))}hasSelfReference(){return this._value.match(/(^|[\\\[\,\<\(])(typeof )?self([\[\<\]\,\)\>]|$)/g)}withReplacedThis(e){return this.c().replace(/(^|[\[\,\<\\\/\(]|typeof )this([\\\/\[\]\,\)\>]|$)/g,"$1"+e+"$2")}makeGeneric(e){return this._generic||(this.asRawType(),this._generic=new s(this._value,this._source),this._generics?(this._generic._replaced=e,this._genericWrap&&(this._replaced=this._plain.replace("$$GENERIC$$",e))):this._generics||(this._generic._replaced=this._genericWrap?e:e+" extends ("+this._plain+")",this._replaced=this._genericWrap?this._plain.replace("$$GENERIC$$",e):e)),this._generic}visit(){return this.asRawType(),this}plain(){return this.asRawType(),this._plain}asRawType(){var e=this;if(e._rawType)return e._rawType;let t=!1,r=String(e._value);return r[0]=="\\"&&(r=r.slice(1)),r[0]=="("&&r[r.length-1]==")"&&(r=r.slice(1,-1)),r.slice(-1)=="?"&&(e._optional=!0,r=r.slice(0,-1)),r=r.replace(/(^|[\[\,])\<([a-z\-\d]+)\>/g,function(n,a,o){return e.isGeneric()&&!a?n:a+new Yi(o).toClassName()}),r=r.replace(/(^|[\[\,\<\\])self([\[\]\,\)\>]|$)/g,function(n,a,o){return a+"this"+o}),r=r.replace(/(^|[\[\,\<\(\s])(\$\d*)(?=[\=\[\s\]\,\)\>]|$)/g,function(n,a,o,l){return o=="$"?(e._genericWrap=!0,a+"$$GENERIC$$"):(e._generics||(e._generics=new Set),e._generics.add(o),n)}),e._plain=r,e._rawType=ye(r,e)}asIteratorValue(){return this.wrapDoc(this.asRawType()+"[]")}wrapDoc(e){return"/**@type {"+e+"}*/"}toString(){return this.asRawType()}c(){return I.tsc()?this._replaced?ye(this._replaced,this):this.asRawType():(console.warn("Not supposed to compile TypeAnnotation when targeting "+I.platform(),tr.sourcePath),"/**@type {"+this.asRawType()+"}*/")}},vc=class extends Hi{constructor(e){super(...arguments),this._value=e,this._source=e._name}visit(){return this}c(){return"(typeof "+this._source.c()+")"}},dl=class extends Hi{},Ke=class s extends qe{constructor(e){super(...arguments),e instanceof et&&(this._startLoc=e.startLoc()),this._value=this.load(e),this._symbol=null,(""+e).indexOf("?")>=0&&(this._safechain=!0)}safechain(e){return this._safechain}value(e){return this._value}variable(e){return this._variable}isStatic(){return!0}toRaw(){return this._value._value||this._value}add(e){return new Gs(this).add(e)}references(e){return this._value&&(this._value._variable=e),this}metaIdentifier(){return new s("αα"+Ne.sym(this._value))}load(e){return e instanceof s?e.value():e}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 K2(this.symbol())}isReserved(){return this._value.reserved||ym.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=Ne.sym(this._value))}toString(){return String(this._value)}toStr(){return new ht("'"+this.symbol()+"'")}toAttrString(){return new ht("'"+String(this._value)+"'")}toJSON(){return this.toString()}alias(){return Ne.sym(this._value)}js(e){return this._variable?this._variable.c():this.symbol()}c(e){if(e){if(e.as=="value")return"'"+this.symbol()+"'";if(e.as=="meta")return"'"+this.symbol()+"'";if(e.as=="namespaced"&&e.ns)return ye("Σ"+e.ns+"Σ"+this.symbol(),this._token||this._value);if(e.as=="field"&&!this.isValidIdentifier())return ye("['"+this.symbol()+"']",this._token||this._value);if(e.as=="key"&&!this.isValidIdentifier())return"'"+this.symbol()+"'"}let t=I.current();if(t instanceof We&&!(t instanceof We.Iterable)&&!(t instanceof We.Is))return this.toStr().c();let r=this.js();return tr.sourcemap&&(!e||e.mark!==!1)&&(r=ye(r,this._token||this._value)),r}dump(){return{loc:this.region()}}namepath(){return this.toString()}shouldParenthesizeInTernary(){return this._parens||this._cache}registerVariable(e,t){return t===void 0&&(t=this.scope__()),this._variable=t.register(this.symbol(),this,{type:e}),this}resolveVariable(e){e===void 0&&(e=this.scope__());let t=e.lookup(this.symbol());return this._variable=t,this}},$i=class extends Ke{symbol(){return Js(String(this._value))}toString(){return this.symbol()}},_l=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}},Ui=class extends Ke{c(e){if(e===void 0&&(e={}),I.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}},Gs=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 et}isStatic(){return this.isPrimitive()}visit(){for(let e=0,t=Re(this._nodes),r=t.length,i;e<r;e++)i=t[e],i instanceof qe&&i.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,r=Re(this._nodes),i=r.length,n;t<i;t++)n=r[t],n instanceof et?e+=n.value():(e+="${",e+=n.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()}};Gs.wrap=function(s){return s};var yc=class extends Gs{constructor(e,t){super(t),this._single=null,this.set({prefix:e._value})}asString(){return"Symbol.for("+super.asString(...arguments)+")"}},Vi=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 n=this.toFlags().map(function(a){return a instanceof Ft?"${"+a.c()+"}":a.raw()}).join(" ");return e.as=="string"?"`"+n+"`":n}let t=I.current();if(t instanceof We&&!(t instanceof We.Iterable))return this.toStr().c();let r=this.js();return tr.sourcemap&&(!e||e.mark!==!1)&&(r=ye(r,this._token||this._value)),r}toString(){return this.symbol()}toFlagName(){return this.symbol()}toFlags(){if(this._parts)return this._parts;this.traverse();let e=this._variable,t=[],r=e;for(;r;)r._declarator instanceof li?t.push(dt(r._declarator._name)):t.push(r),r=r._parent;return this._parts=t}},ml=class extends Ke{symbol(){return this._symbol||(this._symbol=Ne.sym("__"+this.value()))}add(e){return new Gs(this.value()).add(e).set({prefix:"__",private:!0})}},bc=class extends it{constructor(e){super(...arguments),this._value=e instanceof Ke?e.value():e}js(){return""+this.scope__().imba().c()+".getElementById('"+this.value().c()+"')"}},d1=class extends Ke{constructor(e){super(...arguments),this._value=e instanceof Ke?e.value():e}name(){return ja(this._value).replace(/^[\#]/,"")}alias(){return this.name()}js(e){return this.symbol()}},gl=class extends it{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 r=this._value.c();return this._params?r+="("+this._params.c({expression:!0})+")":r+="()",t&&(r+=".wrap("+t+")"),r}c(){if(I.current()instanceof ji)return;let e;return I.tsc()?e="@"+ye(this._value,this._token):e=this._value.c(),this._params?e+=".bind(["+this._params.c({expression:!0})+"])":e+=".bind([])",e}},vl=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 t=le(".",this._context,this._name);if(this._value)return le("=",t,this._value).c();let r=le("isa",t,ue("Function")),i=this._params||(this._value?[this._value]:[]),n=this._params&&this._params.first()||this._value||s1,a=rt(t,i),o=le("=",t,n);return I.tsc()?(i.length==0&&i.push(ue("true")),a.c()):e3(r,a,o).c()}}},_1=class extends qe{constructor(e,t){super(...arguments),e instanceof et?this._name=this._value=new $i(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 r=e.up(Ms);I.tsc()&&r&&r.isExtension()?(this._selfValue=ue("self"),this._value=le(".",this._selfValue,this._name)):this._value=le(".",xt,this._name)}}else this._value&&this._value.traverse();return this._params&&this._params.traverse(),this._chain.map(function(r){return r.traverse()}),(this._callback=this.option("callback"))&&this._callback.traverse(),this.option("default")&&(this._default=this.option("default"),this._default instanceof Jt&&(this._literal=this._default),this._default instanceof at||(this._default=new at([],[this._default],null,{})),this._default.traverse()),e._descriptor=t}valueIsStatic(){return!this._value||this._value.isPrimitive()||this._value instanceof at&&!this._value.nonlocals()}isStatic(){return this.valueIsStatic()}isProxy(){return!1}add(e,t){return e instanceof Ut?e._generated?this.set({callback:e}):t=="="?(this._last||this)._value=e._nodes[0]:(this._last||this).setParams(e||new Pt([])):this._chain.push(this._last=new vl(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,r=Re(this._params),i=r.length;t<i;t++)e.push(this.fieldRegistryArgType(r[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 wt){let t=e._variable,r=e.c({mark:!1});if(t){if(t.value()instanceof Ms){let i=t.value(),n=null;return i._name&&i._name.option("generics")||(n={name:r,export:i.isExported(),global:i.isGlobal()}),{name:r,target:n}}else if(t.isImported()){let i=t._declarator,n=null;return i&&i._cname!="default"&&t.importPath()&&(n={name:i._cname,module:t.importPath()}),{name:r,target:n}}else if(t.isGlobal(null))return{name:r,target:{name:r,global:!0}}}else if(e._isGlobal)return{name:r,target:{name:r,global:!0}}}else if(e instanceof st&&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=I.tsc(),r=this._variable?new Ki(rt(this._value,this._params||[])):this._name?rt(this._value,this._params||[]):this._value,i=Ne.blk([]);for(let n=0,a=Re(this._chain),o=a.length,l;n<o;n++)l=a[n],l._context=e,i.push(l);if(this._default&&i.add(ue(""+e.c()+".default = "+this._default.c())),this._literal&&i.add(ue(""+e.c()+".default.literal = "+this._literal.c())),this._callback&&!t&&i.add(ue(""+e.c()+".callback = "+this._callback.c())),t){i.add(ue("$"+e.c()));let n=this._selfValue||xt;return"((self,$"+e.c()+"="+r.c({mark:!0})+","+e.c()+"=imba.descriptor($"+e.c()+"))=>("+i.c()+"))("+n.c()+")"}return i.add(e),i.unshift(le("=",e,r)),"("+i.c({expression:!0})+")"}},yl=class extends Ke{symbol(){return this._symbol||(this._symbol=Ne.sym(this.value()))}js(e){return this._variable?this._variable.c():this.symbol()}traverse(){if(this._traversed)return this;this._traversed=!0;var e=I.current();return(!(e instanceof st)||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)}},Yi=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 wt(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||I.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(ue(""+e+".createElementNS"),[dt("http://www.w3.org/2000/svg"),dt(this._name)]):rt(ue(""+e+".createElement"),[dt(this._name)])}isClass(){return!!this._str.match(/^[A-Z]/)}isLowerCase(){return!this._name.match(/^[A-Z]/)}isNative(){return!this._ns&&e1.HTML.indexOf(this._str)>=0}isNativeHTML(){return(!this._ns||this._ns=="html")&&e1.HTML.indexOf(this._name)>=0}isNativeSVG(){return this._ns=="svg"&&e1.SVG.indexOf(this._str)>=0}isSVG(){return this._ns=="svg"||!this.isNative()&&!this._ns&&C0["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"Γ"+Js(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=C0[this.isSVG()?"svg_"+this._name:this._name];return t?t.name:this._str=="fragment"?"DocumentFragment":this.isClass()?this._str:I.tsc()?"Γ"+Js(this._str):ho(this._str+"-component")}toTscName(){return this._str.replace(/\-/g,"_")+"$$TAG$$"}sourceId(){return this._sourceId||(this._sourceId=I.sourceId()+"-"+I.generateId("tag"))}toNodeName(){return this.isClass()?this._nodeName||(this._nodeName=Y2(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()}},bl=class extends it{js(){return"["+this.value().c()+"]"}},xc=class extends it{c(){var e=parseInt(String(this.value())),t="arguments";if(e>0){var r=this.scope__(),i=r.params&&r.params();if(i){var n=i.at(e-1,!0);t=""+Ne.c(n.name())}else this.error("'$"+e+"' is only available inside a method or block")}return ye(t,this._token||this._value)}},xl=class extends qe{constructor(e){super(...arguments),this._value=e}loc(){return this._value.loc()}c(){return this.error("Function missing for & placeholder")}},wc=class extends it{visit(e){var t;let r=e.up(function(a){return a instanceof Ut||a instanceof Xe||a instanceof ii||a instanceof Ts||a instanceof Rr}),i=e.relative(r,1),n=e.relative(i,1);if(i instanceof Zt&&e._nodes.indexOf(i._left)==-1){if(!(i._right instanceof ii)){let a=i._right,o=(i._right=t=new ii([],a),t)}return this}if(!(i instanceof ii)){let a=new ii([],i);r.replace(i,a)}return this}c(){return"v$"}},kc=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"})}},vs=class extends qe{constructor(e,t,r){if(super(...arguments),this._traversed=!1,this._expression=!1,this._parens=!1,this._cache=null,this._receiver=null,this._opexists=r,e instanceof Lr&&(e=e._callee),e instanceof Fs)return e._args=this instanceof Lr?[]:t,e;if(e instanceof wt){var i=e.value().symbol();if(i=="extern")return e.value().value()._type="EXTERN",new wl(t);if(i=="tag"&&t&&t._generated&&(this._bareTagCall=!0),i=="export")return new S1(t);if(i=="rescue")return new tl([],t)}return this._callee=e,this._args=t||new Ut([]),t instanceof Array&&(this._args=new Ut(t)),e instanceof gl?(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 st&&this._callee._left.isGlobal("import")){let t=this._args.first(),r=this._callee._right.toString();if(t instanceof ht){this._callee=ue("");let i=I.root().registerAsset(t.raw(),""+r,this,t);this._args.replace(t,i.ref)}}else if(this._callee.isGlobal("import")){let t=this._args.first(),r=t instanceof ht&&t.raw();if(r){let i=r.split(".").pop();(am[i]||r.indexOf("?")>=0)&&(this._asset=I.root().registerAsset(r,"",this,t),this._args.replace(t,this._asset.ref))}}else if(this._callee.isGlobal("require")){let t=this._args.first(),r=t instanceof ht&&t.raw()}if(e=="asset"){let t=this._args.first();if(t instanceof ht){let r=I.root().registerAsset(t.raw(),"asset",this);this._args.replace(t,r.ref)}}if(this._block&&this._block.traverse(),this instanceof Lr&&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(r,i){return r instanceof xl})[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 st&&this._callee._left||Br)}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,r;if(this._asset)return this._asset.ref.c();var i={expression:!0},n=null,a=this._args,o=a.some(function(w){return w instanceof qi}),l=null,f=null,h=null,p=null,m=this._callee=this._callee.node(),d=m._variable;if(m instanceof st&&(m._call=this,f=m._left,h=m._right),m instanceof Fs&&(t=I.method())&&t.option("inExtension")&&(m=le(".",m,t.name()),this._receiver=this.scope__().context()),m instanceof Zn&&(this._receiver=m.receiver(),m=this._callee=new st(m.op(),m._left,m._right)),d===ar.ASSERT&&!o&&a.first()&&(a._nodes[0]=new jo(a.first())),d===ar.EQ&&!o&&a.count()>=2){let w=a.index(0),_=a.index(1),x=I.SOURCECODE,v=this.loc(),C=w.loc(),A=_.loc(),E=JSON.stringify(x.slice(v[0],v[1])),S=JSON.stringify(x.slice(C[0],C[1])),T=JSON.stringify(x.slice(A[0],A[1])),L=w.cache().c(e),y=_.cache().c(e),M=["source:"+E,"actual:{source:"+S+",value:"+L+"}","expected:{source:"+T+",value:"+y+"}"].join(","),j=[w.c({expression:!0,mark:!1}),_.c({expression:!0,mark:!1})];for(var b=2;b<a.count();){let P=a.index(b);P&&j.push(P.c({expression:!0,mark:!1})),b++}return"(globalThis.IMBA_EQ={"+M+"},"+m.c({expression:!0})+"("+j.join(",")+"))"}if(d===ar.L){let w="\x1B[90m",_="\x1B[44m",x="\x1B[42m",v="\x1B[100m",C="\x1B[40m",A="\x1B[97m",E="\x1B[32m",S="\x1B[30m",T="\x1B[0m";m=ue("globalThis.DEBUG_IMBA && console.debug");let L=I.SOURCECODE,y=I.isWeb(),M=[],j=[];y?(M.push(ue("%c%s%c")),j.push(ue("'color:gray'")),j.push(ue("'::'")),j.push(ue("'color:white'"))):(M.push(ue("%s")),j.push(ue("'"+w+"::"+T+"'")));let P=[],W=I.option("devlog")||!1;for(let J=0,ae=Re(a),ce=ae.length,he;J<ce;J++){he=ae[J];var r=Re(he.loc());let Je=r[0],lt=r[1],Z=L.slice(Je,lt).replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t");W?(he instanceof ht||he instanceof zt||he instanceof qn?P.push(ue("''")):P.push(dt(Z)),P.push(he)):he instanceof Jt&&!(he instanceof Ss||he instanceof br||he instanceof Vt)?y?(M.push(ue("%c%s%c")),j.push(ue("'background-color:black;color:#56ff89'")),j.push(ue("'"+Z+"'")),j.push(ue("'background-color:none;color:white'"))):(M.push(ue("%s")),j.push(ue("'"+C+E+Z+T+"'"))):(y?(M.push(ue("%c%s%c")),j.push(ue("'background-color:#4c73e8;color:white'")),j.push(ue("'"+Z+"'")),j.push(ue("'background-color:none;color:white'")),M.push(ue("%o"))):(M.push(ue("%s")),j.push(ue("'"+_+A+Z+T+"'")),M.push(ue("%O"))),j.push(he))}if(W){let J=[new Vt(P),this.scope__().context()],ae=I.up(lr);ae&&J.push(dt(ae.rawName()));let ce=this.scope__().root().l();return I.use("devlog"),"(globalThis.DEBUG_IMBA && (l$="+_m("devlog$",J).c()+",l$ && console.debug(...l$)))"}else a=new Ut([].concat(['"'+M.join(" ")+'"'],Array.from(j)))}let g="";if(m instanceof st&&m.op()=="?."&&(g="?."),this._receiver)this._receiver instanceof di||this._receiver.cache(),a.unshift(this._receiver),l=""+m.c({expression:!0})+".call("+a.c({expression:!0,mark:!1})+")";else{let w="("+a.c({expression:!0,mark:!1})+")";l=""+m.c({expression:!0})+g+ye(w,this._args)}return p&&(this._cache&&(this._cache.manual=!0,l="("+this.cachevar().c()+"="+l+")"),l=[p[0],l,p[1]].join("")),l}},Lr=class extends vs{},Ki=class extends it{js(e){return""+ye("new",this.keyword())+" "+this.value().c()}};Ki.for=function(s,e){return s instanceof Cr?s.set({unmemoized:e}):new this(s).set({keyword:e})};var Tc=class extends vs{visit(){return this.keyword().warn("Value.new is deprecated - use new Value"),super.visit(...arguments)}js(e){for(var t=this._callee;t instanceof st;){let i=t._left;if(i instanceof Zn||i instanceof wt){this._callee._parens=!0;break}t=i}var r=""+ye("new",this.keyword())+" "+ye(this._callee.c(),this._callee);return e.parent()instanceof vs||e.parent()instanceof Lr||(r+="()"),r}},wl=class extends Pt{visit(){this._nodes=this.map(function(r){return r.node()});var e=this.scope__();for(let r=0,i=Re(this.nodes()),n=i.length,a;r<n;r++){a=i[r];var t=e.register(a.symbol(),a,{type:"global"});t.addReference(a)}return this}c(){return"// externs"}},m1=class extends qe{loc(){return this._body?this._body.loc():[0,0]}},ui=class extends m1{isExpressable(){return!1}},Dt=class s extends m1{constructor(e,t,r){super(...arguments),r===void 0&&(r={}),this.setup(),this._test=e,this._body=t,this._alt=null,this._type=r.type,this._type=="unless"&&this.invert(),this._scope=new Fl(this)}test(e){return this._test}body(e){return this._body}scope(e){return this._scope}addElse(e){return this._alt&&this._alt instanceof s?this._alt.addElse(e):(this._alt=e,e instanceof s&&(e._prevIf=this)),this}loc(){return this._loc||(this._loc=[this._type?this._type._loc:0,this._body.loc()[1]])}invert(){return this._test instanceof p1?this._test=this._test.invert():this._test=new Jn("!",this._test,null)}visit(e){var t=this._alt,r=this._scope;r&&r.visit(),this._test&&(this._scope=null,this._test.traverse(),this._scope=r),this._tag=e._tag;for(let i=this._scope._varmap,n,a=0,o=Object.keys(i),l=o.length,f;a<l;a++)f=o[a],n=i[f],n.type()=="let"&&(n._virtual=!0,n.autodeclare());return!e._analyzing&&!e.tsc()&&(this._pretest=Ne.truthy(this._test),this._pretest===!0?(t=this._alt=null,this._test instanceof ia&&(this._preunwrap=!0)):this._pretest===!1&&(this.loc(),this._body=null)),this._body&&this._body.traverse(),t&&(I.pop(this),t._scope||(t._scope=new R1(t)),t.traverse(),I.push(this)),this._type=="?"&&this.isExpressable()&&this.toExpression(),this}js(e){var t,r,i=this._body,n={braces:!0,indent:!0};if(this._pretest===!0&&this._preunwrap){let h=i?i.c({braces:!!this._prevIf}):"true";return this._prevIf||(h=Ga(h)),e.isExpression()&&(h="("+h+")"),h}else this._pretest;if(e.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 Un)&&(i=i.first()),o=i?i.c({braces:!0}):"{}";var f=""+ye("if",this._type)+" ("+a+") "+o;return this._alt&&(f+=" else "+this._alt.c(this._alt instanceof s?{}:n)),f}}shouldParenthesize(){return!!this._parens}consume(e){if(e instanceof kt){if(e.flag(ct.TAG_HAS_BRANCHES),e.body()==this){let r=this._body?[this._body]:[],i=this._alt;for(;i instanceof s;)i._body&&r.push(i._body),i=i._alt;i&&r.push(i);for(let n=0,a=Re(r),o=a.length;n<o;n++)e._branches.push([]),a[n].consume(e);return this}return e instanceof oi?(this._body&&(this._body=this._body.consume(e)),this._alt&&(this._alt=this._alt.consume(e)),this):e.register(this)}if(e instanceof ul||e instanceof Il)return e.register(this),this._body&&(this._body=this._body.consume(e)),this._alt&&(this._alt=this._alt.consume(e)),this;var t=e instanceof Ts;return this._expression||(!t||this._type=="?")&&this.isExpressable()?(this.toExpression(),super.consume(e)):(this._body&&(this._body=this._body.consume(e)),this._alt&&(this._alt=this._alt.consume(e)),this)}isExpressable(){var e=(!this._body||this._body.isExpressable())&&(!this._alt||this._alt.isExpressable());return e}};Dt.ternary=function(s,e,t){var r=new Dt(s,new Xe([e]),{type:"?"});r.addElse(new Xe([t]));let i=s&&s.startLoc?s.startLoc():null,n=t&&t.endLoc?t.endLoc():null;return typeof i=="number"&&(r._startLoc=i),typeof n=="number"&&(r._endLoc=n),r};var Fr=class extends vr{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 r=0,i=Re(t),n=i.length,a;r<n;r++)a=i[r],this._options[a]=e[a];return this}addBody(e){return this._body=Ne.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(),r=t.current();if(this.stack().isExpression()||this.isExpression()){this._scope.closeScope();var i=rt(Hn([],[this]),[]);return i.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(),i=rt(Hn([],[this]),[]),i.c(e))}},Sc=class extends Fr{constructor(e,t){super(...arguments),this._traversed=!1,this._test=e,this._options=t||{},this._scope=new Pl(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 co(e.keyword,this._body,e.guard,this._test)}consume(e){if(this.isExpressable())return super.consume(...arguments);var t=!1,r=this.scope().declare("res",new Vt([]),{system:!0});this._catcher=new Vr("push",r,null),this.body().consume(this._catcher);var i=new Xe([this,r.accessor()]);return i.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}},g1=class extends Fr{constructor(e){super(...arguments),e===void 0&&(e={}),this._traversed=!1,this._options=e,this._scope=new Vl(this),this._catcher=null}loc(){var e=this._options;return co(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 r=e3(this._options.guard.invert(),Xe.wrap([new Yo("continue")]));this.body().unshift(r,ft)}if(this.declare(),this._options.await){var i=e.up(at);i&&(this.set({native:!0}),i.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(),r=e.source,i=e.vars={},n=e.index,a=e.params,o=this.isBare(r);if(r instanceof ea){let l=r._left,f=r._right,h=!(l instanceof zt)||!(f instanceof zt);f instanceof zt?i.len=f:i.len=t.declare("len",f,{type:"let"}),i.value=t.declare(e.name,l,{type:"let"}),e.name&&i.value.addReference(e.name),e.index?(i.index=t.declare(e.index,0,{type:"let"}),i.index.addReference(e.index)):i.index=i.value,h&&(i.diff=t.declare("rd",le("-",i.len,i.value),{type:"let"}))}else{if(n?i.index=t.declare(n,0,{type:"let"}):i.index=t.declare("i",new zt(0),{system:!0,type:"let",pool:"counter"}),i.source=o?r:t.declare("items",this.util().iterable(r),{system:!0,type:"let",pool:"iter"}),a[2]?i.len=t.declare(a[2],this.util().len(i.source),{type:"let"}):i.len=t.declare("len",this.util().len(i.source),{type:"let",pool:"len",system:!0}),e.name){let l=le(".",i.source,i.index).set({datatype:e.name.datatype()});e.name.set({datatype:void 0});let f=new yr(e.name,l,"let");this.body().unshift(f,ft)}n&&i.index.addReference(n)}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,ft,this._resvar.accessor()]);return t.consume(e),t}var r=null,i=!1,n=null;r=this._resvar||(this._resvar=this.scope().register("res",null,{system:!0,type:"var"})),this._catcher=new Vr("push",r,null);let a=new Vt([]);if(this.body().consume(this._catcher),r.autodeclare(),e instanceof yr||e instanceof Zt)return e._right=r.accessor(),new Xe([le("=",r,a),ft,this,ft,e]);if(e){let o=[le("=",r,a),ft,this,ft,r.accessor().consume(e)];return new Xe(o)}return this}js(e){var t=this._options.vars,r=t.index,i=t.value,n=this._options.source,a,o;if(n instanceof ea){let m=n._left,d=n._right,b=n.inclusive();a=le(b?"<=":"<",i,t.len),o=le("++",i),t.diff&&(a=Dt.ternary(le(">",t.diff,new zt(0)),a,le(b?">=":">",i,t.len)),o=Dt.ternary(le(">",t.diff,new zt(0)),le("++",i),le("--",i))),r&&r!=i&&(o=new $o([o,le("++",r)]))}else a=le("<",r,t.len),this._options.step?o=le("=",r,le("+",r,this._options.step)):o=le("++",r);var l="",f="",h=this.body().c({braces:!0,indent:!0}),p=""+ye("for",this.keyword())+" ("+this.scope()._vars.c()+"; "+a.c({expression:!0})+"; "+o.c({expression:!0})+") ";return l+p+h+f}},Ec=class extends g1{},Ac=class extends g1{declare(){var e=this,t=e._options,r=t.vars={},i=t.params,n,a;if(t.own)if(I.tsc()){t.value=t.index;let h=e.scope__().captureVariableDeclarations(function(){let p=[];for(let m=0,d=Re(t.params),b=d.length,g;m<b;m++)g=d[m],g.traverse({declaring:"let"}),p.push(g instanceof Ke&&(g._variable||(g._variable=e.scope__().register(g.symbol(),g,{type:"let"}))));return p});e._declvars=h}else{r.source=t.source._variable||e.scope().declare("o",t.source,{system:!0,type:"let"}),t.value=t.index;var o=r.index=e.scope().declare("i",new zt(0),{system:!0,type:"let",pool:"counter"}),l=r.keys=e.scope().declare("keys",We.keys(r.source.accessor()),{system:!0,type:"let"}),f=r.len=e.scope().declare("l",We.len(l.accessor()),{system:!0,type:"let"});n=r.key=e.scope().declare(t.name,null,{type:"let"}),t.value instanceof gs||t.value instanceof Vt?(e.body().unshift(new yr(t.value,le(".",r.source,n),"let"),ft),r.value=null):t.value&&(a=r.value=e.scope().declare(t.value,null,{let:!0,type:"let"}))}else{e._source=r.source=e.util().iterable(t.source),r.value=t.value=t.name;let h=e.scope__().captureVariableDeclarations(function(){var p;if(t.value.traverse({declaring:"let"}),t.value instanceof Ke)return(p=t.value)._variable||(p._variable=e.scope__().register(t.value.symbol(),t.value,{type:"let"}))});e._declvars=h,t.index&&(r.counter=e.scope().parent().temporary(null,{},""+t.index+"$"),e.body().unshift(new yr(t.index,le("++",r.counter),"let"),ft)),i[2]&&i[2].warn("Length parameter only allowed on for-in loops")}return a&&t.index&&a.addReference(t.index),n&&t.name&&n.addReference(t.name),e}js(e){var t=this._options.vars,r=this._options.source,i=this._options.params,n=t.source,a=t.key,o=t.value,l=t.index,f;if(this._options.own){if(I.tsc()){let p=i[0],m=i[1],d="Object.entries("+this._options.source.c()+")";return m&&m.datatype()&&(d=d+(" as unknown as [string,"+ye(m.datatype())+"][]")),f=""+ye("for",this.keyword())+"(let "+(m?"["+p.c()+","+m.c()+"]":"["+p.c()+"]")+" of "+d+")",f+this.scope().c({braces:!0,indent:!0})}o&&o.refcount()>0&&this.body().unshift(le("=",o,le(".",n,a))),this.body().unshift(le("=",a,le(".",t.keys,l))),f=this.body().c({indent:!0,braces:!0});var h=""+ye("for",this.keyword())+" ("+this.scope()._vars.c()+"; "+le("<",l,t.len).c()+"; "+le("++",l).c()+")";return h+f}else{if(I.tsc()){let d=[];for(let b=0,g=Re(this._declvars),w=g.length,_;b<w;b++)if(_=g[b],_.vartype()){d.push(_.vartype());continue}d.length&&n.set({datatype:ue("Iterable<["+Ne.cary(d)+"]>")})}f=this.scope().c({braces:!0,indent:!0});let p=n.c({expression:!0}),m="(let "+o.c()+" of "+p+")"+f;return this._options.await&&(m=""+ye("await",this._options.await)+" "+m),m=""+ye("for",this.keyword())+" "+m,t.counter&&(m=""+t.counter+" = 0; "+m),m}}head(){var e=this._options.vars;return[le("=",e.key,le(".",e.keys,e.index)),e.value&&le("=",e.value,le(".",e.source,e.key))]}},Ic=class extends Xe{constructor(e){super(...arguments),this._nodes=Ne.blk(e).nodes()}shouldParenthesize(){return this.isExpression()}},kl=class extends ui{constructor(e,t,r){super(...arguments),this._traversed=!1,this._source=e,this._cases=t,this._fallback=r}visit(){for(let e=0,t=Re(this._cases),r=t.length;e<r;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 r=0,i=Re(t),n=i.length,a;r<n;r++)a=i[r],a&&(e._branches.push([]),a.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(Hn([],[this]),[]);return t.c(e)}return super.c(e)}js(e){var t=[];for(let r=0,i=Re(this._cases),n=i.length,a;r<n;r++)a=i[r],a.autobreak(),t.push(a);return this._fallback&&t.push(`default:
`+this._fallback.c({indent:!0})),"switch ("+this._source.c()+") "+X2(Ne.cary(t).join(`
`),!0)}},Nc=class extends ui{constructor(e,t){super(...arguments),this._traversed=!1,this._test=e,this._body=Ne.blk(t),this._scope=new R1(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 a1||this._body.push(new a1),this}js(e){this._test instanceof Array||(this._test=[this._test]);var t=this._test.map(function(r){return"case "+r.c()+": "});return t.join(`
`)+this._body.c({indent:!0,braces:!0})}},Rc=class extends ui{constructor(e,t,r){super(...arguments),this._traversed=!1,this._body=Ne.blk(e),this._catch=t,this._finally=r}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=mm([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}},Oc=class extends ui{constructor(e,t){super(...arguments),this._traversed=!1,this._body=Ne.blk(e||[]),this._scope=new Dl(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"}),Bn(this._body)==0){let e=this._variable.accessor(),t=e;I.tsc()&&(e=e3(ue(""+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})}},Lc=class extends ui{constructor(e){super(...arguments),this._traversed=!1,this._body=Ne.blk(e||[])}visit(){return this._body.traverse()}consume(e){return this}js(e){return"finally "+this._body.c({braces:!0,indent:!0})}},ea=class extends Et{inclusive(){return this.op()==".."}c(){return"range"}},qi=class extends it{js(e){return"..."+this.value().c();var t}node(){return this.value()}},sr=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 Gs?this._name.asString():Ei(this._name))}valueIsStatic(){return!this._value||this._value.isPrimitive()||this._value instanceof at&&!this._value.nonlocals()}isStatic(){return this.valueIsStatic()}isProxy(){return!1}add(e,t){return t==v1?(this._last||this).setParams(e||new Pt([])):this._chain.push(this._last=new ta(e)),this}modifiers(){return this._modifiers||(this._modifiers=new El(this._chain).traverse())}js(){return""}ref(){return"c$."+this.oid()}tagRef(){return this._tagRef||this._tag.ref()}},Tl=class extends sr{js(){return""+this.tagRef()+".id="+this.quoted()}},nr=class extends sr{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 et||this._name.isStatic()||this._name instanceof Vi)}isConditional(){return!!this._condition}js(){if(I.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+")"}},Sl=class extends sr{},v1=class extends sr{},Rr=class extends sr{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 Rt?e.value():e;return t instanceof at?!t.nonlocals():t.isPrimitive()})}visit(){this._chain.map(function(i){return i.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=dt(e)),this._chain.length){this._mods={};for(let i=0,n=Re(this._chain),a=n.length;i<a;i++)this._mods[n[i].name()]=1}if(this._ns=="bind"&&I.use("dom_bind"),!this._ns&&this._key=="ease"&&I.use("dom_transitions"),e=="asset"||e=="src"&&this.value()instanceof ht&&/^(style|img|script|svg)$/.test(this._tag.tagName())){let i=this._tag.tagName(),n="asset";i=="svg"?n="":i=="img"?n="img":i=="script"?n="web":i=="style"&&(n="css");let a=this.value()instanceof ht&&this.value().raw();a&&!a.match(/^(\/|https?\:\/\/)/)&&(this._asset=I.root().registerAsset(a,n,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),r=t,i=ye("=",this.option("op")),n=this._key.match(/^(aria-|data-)/)||this._key=="style"||this._tag&&this._tag.isSVG()||this._ns=="html",a=this._tag&&this._tag._tagName,o=this._tag.ref();if(this._asset&&(t=this._asset.ref.c()),I.tsc()&&(n||M0[this._key]))return""+o+".setAttribute('"+this._key+"',String("+t+"))";if(n&&(I.isNode()||this._ns=="html")&&!this._asset)return I.meta().universal=!1,""+o+".setAttribute('"+this._key+"',"+t+")";if(I.tsc()){let f=this.nameIdentifier().c();f=="value"&&Vo(this._tag._tagName,["input","textarea","select","option","button"])>=0&&(t="/**@type {any}*/("+t+")");let h=""+o+"."+ye(f,this._name);return""+ye(h,this._name)+i+(this._autovalue?ye("true",this._value):t)}let l=this._key;if(l=="tabindex"&&(l="tabIndex"),l=="value"&&Vo(this._tag._tagName,["input","textarea","select","option","button"])>=0&&!I.isNode()&&(l="richValue"),this._ns=="css")return""+o+".css$('"+l+"',"+t+")";if(this._ns=="bind"){let f=z0(this.value());if(f instanceof Ft){let h="function(){ return "+t+" }",p="function(v$){ "+t+" = v$ }";r="{get:"+h+",set:"+p+"}"}else f instanceof Array&&(r="["+t[0].c(e)+","+t[1].c(e)+"]");return""+o+".bind$('"+l+"',"+r+")"}else if(l.indexOf("--")==0){let f=["'"+l+"'",t],h=this.option("unit"),p=Fn.propAbbr(this.option("propname"));(h||p)&&(f.push(h?dt(h):Br),p&&f.push(dt(p))),I.use("styles");let m=this.option("styleterm");if(m&&m.param){for(;f.length<4;)f.push(Br);f.push(m.param)}return""+o+".css$var("+Ne.cary(f,{as:"js"}).join(",")+")"}else return l.indexOf("aria-")==0||this._tag&&this._tag.isSVG()||l=="for"||M0[l]?this._ns?""+o+".setns$('"+this._ns+"','"+l+"',"+t+")":""+o+".set$('"+l+"',"+t+")":l.indexOf("data-")==0?""+o+".setAttribute('"+l+"',"+t+")":this._ns?""+o+".setns$('"+this._ns+"','"+l+"',"+t+")":le(".",ue(o),l).c()+(""+i+t)}},y1=class extends Rr{},b1=class extends sr{isPrimitive(){return this.value().isPrimitive()}value(){return this.name()}js(){return this.value().c()}toRaw(){return this.value()instanceof ht?this.value().raw():null}},Cc=class extends it{isPrimitive(){return!0}c(){return"'~$"+this.value()+"'"}},El=class extends Pt{isStatic(){return this._nodes.every(function(e){let t=e instanceof Rt?e.value():e;return t instanceof at?!t.nonlocals():t.isPrimitive()})}visit(){var e={FUNC:0};for(let t=0,r=Re(this.nodes()),i=r.length,n;t<i;t++){n=r[t];let a=String(n.name());e[a]?n.setName(a+"~"+e[a]++):e[a]=1}return this}extractDynamics(){if(this._dynamics)return this._dynamics;this._dynamics=[];for(let e=0,t=Re(this.nodes()),r=t.length,i;e<r;e++)if(i=t[e],i instanceof ta){for(let n=0,a=Re(i.params()),o=a.length,l;n<o;n++)if(l=a[n],!l.isPrimitive()){let f=new Al(l).set({key:V0(i.name()),index:n});i.params().swap(l,ue("null")),this._dynamics.push(f)}}return this._dynamics}c(){if(I.tsc())return"["+this.nodes().map(function(t){return t.c()}).join(",")+"]";let e=new gs([]);for(let t=0,r=Re(this.nodes()),i=r.length,n;t<i;t++){n=r[t];let a=n.params()?new Vt(n.params()):ue("true");e.add(V0(n.name()),a)}return e.c()}},ta=class extends sr{params(e){return this._params}setParams(e){return this._params=e,this}load(e){return e instanceof Gs?e._single:e}isPrimitive(){return!this._params||this._params.every(function(e){return e.isPrimitive()})}visit(){if(this._name instanceof Wi&&(this._name.traverse(),this._name=this._name.value()),this._name instanceof at){let e=this._name.params().at(0,!0,"e"),t=this._name.params().at(1,!0,"$");this._name.traverse()}if(this._name instanceof Bi){this._value=this._name;let e=I.parents(kt)[0];if(e&&j0&&!(e.isSelf&&e.isSelf())){e.set({memoSelf:!0});let t=this._value._scope._context=le(".",e.parentCache(),dt("this"))}this._name=dt("$_"),this._params=new Pt([this._value].concat(this._value._leaks||[]))}return this._params&&this._params.traverse(),this}js(){if(I.tsc()){if(this._name instanceof at)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 r=e[0];e.length>1&&(r=="emit"||r=="flag"||r=="css"?r=""+r+"-name":r=e.join("-")),r=Js("α"+r);let i=this._params?this._params.c():"";this._params&&i==""&&(r=="αoptions"?i=ye("",qh(this._handlerName.endLoc()+1)):i=ye("",qh(this._name.endLoc()+1)));let n=""+ye(r,this._name)+"("+i+")";if((!this._params||this._params.count()==0)&&(n=ye(n,this._name)),t){let a=qh(this._name.startLoc()-1,this._name.startLoc());return ye("e."+n+"===true",a)}return"e."+n}return this._params&&this._params.count()>0?"["+this.quoted()+","+this._params.c()+"]":this._params?"["+this.quoted()+"]":this.quoted()}},Mc=class extends sr{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 Ut&&(e=e.values()[0]),e instanceof Rt&&(e=e.value()),e instanceof wt&&(e=e._variable||e.value()),e instanceof st){let t=e._left,r=e._right instanceof ci?e._right.value():e._right;return e instanceof Qn&&(t||(t=e.scope__().context())),[t,r]}return e}js(){var e=this.value();if(e instanceof Ut&&(e=e.values()[0]),e instanceof Rt&&(e=e.value()),e instanceof wt&&(e=e._variable||e.value()),e instanceof st){let t=e._left,r=e._right instanceof ci?e._right.value():e._right;e instanceof Qn&&(t||(t=e.scope__().context()));let i=[t.c(),r.c()];return r instanceof Ke&&(i[1]="'"+i[1]+"'"),"bind$('data',["+i.join(",")+"])"}else return"data=("+e.c()+")"}},Al=class extends it{c(){return this.value().c()}},Nr=class s extends sr{get __params(){return s.__params}params(e){return this._params}setParams(e){var t=this._params;return e!=t&&(this._params=e),e!=t&&this.paramsDidSet&&this.paramsDidSet(e,t,this.__params),this}paramsDidSet(e){return this._chain.push(this._last=new ta("options")),this._last._handlerName=this._name,this._last.setParams(e),e}add(e,t,r,i){return t==Wi&&(e instanceof Ut&&(e=e.first()),e=new Wi(e)),super.add(e,t)}visit(){if(super.visit(...arguments),I.use("events"),this._name&&D0[String(this._name)]&&I.isWeb())return I.use(D0[String(this._name)])}isStatic(){return(!this.value()||this.value().isPrimitive()||this.value()instanceof at&&!this.value().nonlocals())&&this._chain.every(function(t){let r=t instanceof Rt?t.value():t;return r instanceof at?!r.nonlocals():r.isPrimitive()})}modsIdentifier(){return null}js(e){if(I.tsc()){let t=""+this.tagRef()+".addEventListener("+this.quoted()+`,(e)=>{
`;for(let r=0,i=Re(this.modifiers()),n=i.length;r<n;r++)t+=i[r].c()+`;
`;return t+="})",t}if(this._standalone){let t=this._tag,r=""+t.cvar()+"["+this.osym()+"]",i=this.modifiers(),n=i.extractDynamics(),a=!1,o=[],l=function(h){return o.push(h)},f=t.hvar();l(""+t.hvar()+" = "+r+" || ("+r+"="+i.c(e)+")");for(let h=0,p=Re(n),m=p.length,d;h<m;h++){d=p[h];let b=d.option("key"),g=d.option("index"),w=""+le(".",f,b).c()+"["+g+"]";b=="options"?(a=!0,l("("+this.vvar()+"="+d.c(e)+","+this.vvar()+"==="+w+" || ("+w+"="+this.vvar()+","+this.dvar()+"|="+ct.DIFF_MODIFIERS+"|"+ct.DIFF_INLINE+"))")):l(""+w+"="+d.c(e))}return l(""+t.bvar()+" || "+t.ref()+".on$("+this.quoted()+","+f.c()+","+this.scope__().context().c()+")"),a&&l(""+t.dvar()+"&"+ct.DIFF_INLINE+" && ("+t.dvar()+"^="+ct.DIFF_INLINE+","+f+"["+this.gsym("#visit")+"]?.())"),"("+o.join(`,
`)+")"}return""+this.tagRef()+".on$("+this.quoted()+","+this.modifiers().c()+","+this.scope__().context().c()+")"}consume(e){return e instanceof kt&&(this._tag=e,this._standalone=!0),this}};Nr.__params={watch:"paramsDidSet",name:"params"};var Wi=class extends it{visit(){let e=this.value();if(e instanceof Rt&&(e=e.value()),e instanceof at&&(e=e.body()),e instanceof st||e instanceof wt){let t=e;e=rt(e,[ue("e")]),e._args._startLoc=t.endLoc(),e._args._endLoc=t.endLoc()}if(this._value=new(I.tsc()?at:Bi)([],[e],null,{}),this.value()instanceof Bi,this.value()instanceof at){let t=this.value().params().at(0,!0,"e"),r=this.value().params().at(1,!0,"$$")}this.value().traverse()}},x1=class extends Pt{add(e,t){return e instanceof u1&&(e=e.toArray(),e.length==1&&(e=new Fi(e[0]))),super.add(e,t)}consume(e){return e instanceof kt?(this._nodes=this._nodes.map(function(t){return t instanceof Cs?t:t.consume(e)}),this):super.consume(...arguments)}},kt=class s extends qe{constructor(e){super(...arguments),e===void 0&&(e={}),this._options=e,this._flags=0,this._tagvars={},this.setup(e)}isIndexableInLoop(){return!1}sourceId(){return this._sourceId||(this._sourceId=I.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 e=this._parent;for(;e&&!(e instanceof Cr);)e=e._parent;return e}tagLikeParents(){let e=[],t=this._parent;for(;t instanceof s;)e.push(t),t=t.parent();return e}setup(){return this._traversed=!1,this._consumed=[],this}osym(e){return e===void 0&&(e=""),I.getSymbol(this.oid()+e,Gn.SYM+(this.tagvarprefix()||"")+e)}root(){return this._parent?this._parent.root():this}register(e){return e instanceof Dt||e instanceof kl?(this.flag(ct.TAG_HAS_BRANCHES),e=new Os({body:e})):e instanceof Fr?(this.flag(ct.TAG_HAS_LOOPS),e=new oi({body:e.body(),value:e})):e instanceof Cr?e.isSlot()&&this.flag(ct.TAG_HAS_DYNAMIC_CHILDREN):e instanceof Et?(e=e.opToIfTree(),e instanceof Dt?(this.flag(ct.TAG_HAS_BRANCHES),e=new Os({body:e})):(this.flag(ct.TAG_HAS_DYNAMIC_CHILDREN),e=new sa({value:e}))):e instanceof li||(e instanceof ht||this.flag(ct.TAG_HAS_DYNAMIC_CHILDREN),e=new sa({value:e})),this._consumed.push(e),e._consumedBy=this,e._parent=this,e}flag(e){return this._flags|=e}type(){return"frag"}unflag(e){return this._flags=this._flags&~e}hasFlag(e){return this._flags&e}isAbstract(){return!0}isOnlyChild(){return this.isFirstChild()&&this.isLastChild()}isFirstChild(){return this.hasFlag(ct.TAG_FIRST_CHILD)}isLastChild(){return this.hasFlag(ct.TAG_LAST_CHILD)}isIndexed(){return this.option("indexed")}isComponent(){return this._kind=="component"}isSelf(){return this.type()instanceof Ss||this.type()instanceof br}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(ct.TAG_HAS_LOOPS)}hasBranches(){return this.hasFlag(ct.TAG_HAS_BRANCHES)}hasDynamicChildren(){return this.hasFlag(ct.TAG_HAS_DYNAMIC_CHILDREN)}hasDynamicFlags(){return this.hasFlag(ct.TAG_HAS_DYNAMIC_FLAGS)}hasNonTagChildren(){return this.hasLoops()||this.hasBranches()||this.hasDynamicChildren()}hasDynamicDescendants(){if(this.hasNonTagChildren())return!0;for(let e=0,t=Re(this._consumed),r=t.length,i;e<r;e++)if(i=t[e],i instanceof Cr&&i.hasDynamicDescendants())return!0;return!1}hasChildren(){return this._consumed.length>0}tagvar(e){return e=Gn[e]||e,this._tagvars[e]||(this._tagvars[e]=this.scope__().closure().temporary(null,{nodecl:I.tsc(),reuse:!1,alias:""+e+this.tagvarprefix()},""+e+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(e){var t=this._options,r=this._tagScope=this.scope__();this.up()instanceof Et&&this.set({detached:!0});let i=this._parent=e._tag;this._level=(this._parent&&this._parent._level||0)+1,e._tag=null;for(let n=0,a=Re(this._attributes),o=a.length;n<o;n++)a[n].traverse();return e._tag=this,t.key&&t.key.traverse(),this.visitBeforeBody(e),this.body()&&this.body().traverse(),this.visitAfterBody(e),e._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 e=this._consumed[0],t=this._consumed[this._consumed.length-1];this.isAbstract()||(e instanceof s&&e.flag(ct.TAG_FIRST_CHILD),t instanceof s&&t.flag(ct.TAG_LAST_CHILD));for(let r=0,i=Re(this._consumed),n=i.length,a;r<n;r++)a=i[r],a instanceof s&&(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(e){return e instanceof s?e.register(this):e instanceof Ft?(this.option("assignToVar",e),this):e instanceof Zt?le(e.op(),e._left,this):e instanceof yr?le("=",e._left,this):e instanceof Et?le(e.op(),e._left,this):e instanceof Ts?(this.option("return",!0),this):this}},Fi=class extends it{},sa=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 ht||this.value()instanceof zt}js(){let e=this.value(),t=[],r=e instanceof ht||e instanceof zt||e instanceof Fi,i=this.isStatic();if(I.tsc())return e.c(this._o);if(this.parent()instanceof Os||this._tvar&&this.parent()instanceof Cr&&(this.parent().isSlot()||this.isDetached())){if(t.push(""+this._tvar+"="+e.c(this._o)),e instanceof vs||e instanceof Lr){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")}}else{if(this.isOnlyChild()&&(e instanceof ht||e instanceof zt))return""+this.bvar()+" || "+this.ref()+".text$("+e.c(this._o)+")";if(i)return""+this.bvar()+" || "+this.ref()+this.domCall("insert")+"("+e.c(this._o)+")";if(e instanceof Fi&&this.isOnlyChild()&&!(this.parent()instanceof Os))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 n=""+this.parent().cvar()+"["+this.osym("i")+"]";if(e instanceof vs||e instanceof Lr){let a=""+this.parent().cvar()+"["+this.osym("$")+"]";t.unshift(""+this.runtime().renderContext+".context=("+a+" || ("+a+"={_:"+this.fragment().tvar()+"}))"),t.push(""+this.runtime().renderContext+".context=null")}e instanceof Fi?t.push("("+this.vvar()+"==="+this.key()+"&&"+this.bvar()+") || ("+n+" = "+this.ref()+this.domCall("insert")+"(String("+this.key()+"="+this.vvar()+"),"+this._flags+","+n+"))"):t.push("("+this.vvar()+"==="+this.key()+"&&"+this.bvar()+") || ("+n+" = "+this.ref()+this.domCall("insert")+"("+this.key()+"="+this.vvar()+","+this._flags+","+n+"))")}}return"("+t.join(",")+")"}},Il=class extends kt{},Os=class s extends kt{setup(){return super.setup(...arguments),this._branches=[],this._inserts=[],this._styles=[]}getInsertVar(e){return this._inserts[e]||(this._inserts[e]=this.tagvar("τ"+e+"if"))}getStyleVar(e){return this._styles[e]||(this._styles[e]=this.tagvar("τ"+e+"css"))}tvar(){return this.fragment().tvar()}register(e){let t=super.register(...arguments);if(this._branches){let r=this._branches[this._branches.length-1];r&&r.push(t)}return t}visitAfterConsumedChildren(){if(!(this._parent instanceof s)){let e=this.assignChildIndices(0,0,this)}return this}assignChildIndices(e,t,r){let i=e,n=e,a=t,o=t;for(let l=0,f=Re(this._branches),h=f.length,p;l<h;l++){p=f[l],i=e;for(let m=0,d=Re(p),b=d.length,g;m<b;m++)if(g=d[m],g instanceof s){let w=g.assignChildIndices(i,a,r);i=w[0],a=w[1]}else g instanceof li?(g._tvar=r.getStyleVar(a),g._tvar._stylerule=g,a++):(I.tsc()||(g._tvar=r.getInsertVar(i)),g.set({detached:!0}),i++);i>n&&(n=i),a>o&&(o=a)}return[n,o]}js(e){var t=[],r="";let i=this._inserts.concat(this._styles);Bn(i)&&(r=i.join(" = ")+" = null");let n=e.inline;this.body().isExpression()&&(e.inline=!0);var a=this.body().c(e);if(e.inline=n,I.tsc())return a;r&&t.push(r),t.push(a);for(let o=0,l=Re(this._inserts),f=l.length;o<f;o++){let h=""+this.cvar()+"["+this.osym(o)+"]";t.push("("+h+" = "+this.tvar()+this.domCall("insert")+"("+l[o]+",0,"+h+"))")}for(let o=0,l=Re(this._styles),f=l.length,h;o<f;o++){h=l[o];let p=h._stylerule._name;t.push(""+this.tvar()+".flags.toggle('"+p+"',!!"+h+")")}return e.inline?t.join(","):t.join(`;
`)}},oi=class s extends kt{isKeyed(){return this.option("keyed")||this.hasFlag(ct.TAG_HAS_BRANCHES)}isIndexableInLoop(){return!0}consumeChildren(){return super.consumeChildren(...arguments),this.hasFlag(ct.TAG_HAS_BRANCHES)?this.set({keyed:!0}):this._consumed.every(function(e){return e instanceof kt&&e.isIndexableInLoop()})?this.set({indexed:!0}):this.set({keyed:!0})}cvar(){return this._cvar||this.tagvar("C")}js(e){if(this.stack().isExpression())return rt(Hn([],[this],this.stack().scope()),[]).c();if(I.tsc())return""+this.tvar()+` = new DocumentFragment;
`+this.value().c(e);this.parent()instanceof s&&this.parent().isKeyed()&&this.set({detached:!0}),this.parent()instanceof Os&&this.set({detached:!0}),this.parent()&&!this._consumedBy&&this.set({detached:!0});let t=this.option("indexed")?this.runtime().createIndexedList:this.runtime().createKeyedList,r=this.parent().cvar(),i=this.isDetached()?ue("null"):this.fragment().tvar(),n="",a;return this.parent()instanceof s?this.parent().isKeyed()?(this.option("key",le("+",ue("'"+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()+"="+t+"("+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(e),n+=";"+this.tvar()+this.domCall("end")+"("+this.kvar()+");",this.parent()instanceof s&&(this.parent().isKeyed()?n+=""+this.parent().ref()+".push("+this.tvar()+","+this.parent().kvar()+"++,"+this.hvar()+");":this.parent().isIndexed()&&(n+=""+this.parent().kvar()+"++;")),n}},Dc=class extends kt{},Pc=class extends kt{},w1=class extends kt{ref(){return this.tvar()}tagvarprefix(){return this.oid()+"S"}};var Cr=class s 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=I.up(Pi);let e=this._options.close,t=this._options.body||[],r=this;return e&&e._value=="/>"&&Bn(t)&&(r=[this].concat(t._nodes),this._options.body=new Ut([])),super.traverse(...arguments),r}visitBeforeBody(e){var t=this;t.oid(),t.tid();let r=t._options.type;r&&r.traverse(),I.hmr()&&t.cssid(),t.isSelf()||t.tagName().indexOf("-")>=0||t.isDynamicType()||r&&r.isComponent()?(t._options.custom=!0,t._kind="component"):t._kind="element",t._attributes.length==0&&!t._options.type&&(t._options.type="fragment");let i=t.tagName();if(i=="slot"?t._kind="slot":i=="fragment"&&(t._kind="fragment"),i=="shadow-root"&&(t._kind="shadow-root"),t.isSelf()){let a=e.up(Pi);a&&a.set({self:t,sourceId:t.sourceId()})}t._tagName=i,t._dynamics=[];let n=0;for(;n<t._attributes.length;){let a=t._attributes[n++];if(a instanceof nr&&a.name()instanceof li&&a.name()._placeholders.length)for(let o=0,l=Re(a.name()._placeholders),f=l.length,h;o<f;o++){h=l[o];let p=new y1(h.name());p._tag=t,p._value=h.runtimeValue(),p.set({propname:h._propname,unit:h.option("unit"),styleterm:h}),t._attributes.splice(n++,0,p),p.traverse()}}if(t._attributes=t._attributes.filter(function(a){if(a instanceof nr&&a.isStatic())return t._classNames.push(a),!1;if(!I.tsc()){if(a==t._attrmap.$key)return a.warn("$key= is deprecated, use key=",{loc:a._name}),t.set({key:a.value()}),!1;if(a==t._attrmap.key)return t.set({key:a.value()}),!1}return a.isStatic()||t._dynamics.push(a),!0}),t._parent&&(t._attrmap.route||t.isDynamicType()||t.isSlot())&&t._parent.set({shouldEnd:!0,ownCache:!0}),t.isSlot()){let a=t._attrmap.name?t._attrmap.name.value():"__";a instanceof ht&&(a=a.raw()),t.set({name:a}),t._attributes=[]}return t._scope=new Gl(t),t._scope.visit(),super.visitBeforeBody(...arguments)}register(e){if(e=super.register(e),e instanceof kt&&this.isComponent()&&!this.isSelf()){let t=e instanceof s?e._attrmap.slot:null,r="__";t&&t.value()instanceof ht&&(r=t.value().raw());let i=this.getSlot(r);e._fragment=i}return e}visitAfterBody(e){return this}visitAfterConsumed(){if(this.isSVG()&&(this._kind="svg"),this._options.reference){let e=this.stack().up(lr),t=this.stack().up(Pi),r;if(this._options.key&&(r="Named element cannot be keyed at the same time"),t&&e&&String(e.name())=="render"){for(let i=0,n=Re(this.tagLikeParents()),a=n.length,o;i<a;i++)o=n[i],o instanceof oi&&(r="Named tags not allowed inside loops"),o instanceof s&&o.isDynamicType()&&(r="Named tags not allowed inside dynamic parent");r||t.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(e){return this._slots||(this._slots={}),this._slots[e]||(this._slots[e]=new w1({parent:this,name:e}))}addPart(e,t,r){let i=this._attributes,n=i.CURRENT,a=n;if(t==Tl&&this.set({id:e}),t==v1&&i.length==0){let o=this.option("type");o._token=="div"&&(o=null),this.set({dynamic:!0});let l=e.nodes()[0];return o&&(l=rt(o.toFunctionalType(),e.nodes())),this.set({type:l,functional:l}),this}if(t==Sl)a=null;else if(t==b1)e instanceof Rt&&(e=e.value()),n instanceof nr?(n._condition=e,this.flag(ct.TAG_HAS_DYNAMIC_FLAGS),n.set({op:r})):n instanceof Nr?e&&n.add(new Wi(e),t):n&&(n._value=e,n.set({op:r}));else if(n instanceof Nr)e instanceof Gs&&e._single&&!e.isPrimitive()&&(e=new(I.tsc()?at:Bi)([],[e._single],null,{})),n.add(e,t);else if(n instanceof Rr)n.add(e,t);else if(t==nr&&e instanceof Gs&&!e.isPrimitive()&&this.flag(ct.TAG_HAS_DYNAMIC_FLAGS),e instanceof t?e._tag=this:e=new t(e,this),i.push(a=e),a instanceof Rr&&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 Di||this._options.dynamic}hasDynamicTagName(){return this.type()instanceof Di}isFunctional(){return!!this._options.functional}isSVG(){return this._isSVG==null?this._isSVG=this.type()instanceof Yi&&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 Gr))}isDetached(){return this.option("detached")}hasDynamicParts(){return this._dynamics.length==0&&!this.hasDynamicFlags()&&!(this.type()instanceof Di)&&(this.body()?this.body().values():[]).every(function(t){return t instanceof ht||t instanceof s&&!t.isDynamicType()})&&!this.hasNonTagChildren()&&!this.isSlot()&&!this.option("dynamic")&&this.setHasDynamicParts(!1),!0}js(e){var t,r=I,i=I.tsc(),n=r.isExpression(),a=[],o=[],l=[],f=!1,h=function(V){return V instanceof Ft?V=V.toString():typeof V!="string"&&(f=!0),o.push(V)},p=this.parent(),m=this.fragment(),d=this._tagDeclaration,b=this.type(),g=b._value,w=b instanceof Ss||b instanceof br,_=this.isFragment(),x=this.isSlot(),v=this.isComponent(),C=b instanceof Di,A=C||this._options.dynamic;let E=d?d.scope():null,S=w?"self":_?"'fragment'":b.isClass&&b.isClass()?b.toTypeArgument():"'"+g+"'";(g=="global"||g=="teleport")&&(S="'i-"+g+"'",I.use("dom_teleport")),p&&!this._consumedBy&&this.set({detached:!0});var T=e.inline,L=this.isSVG(),y=this.isReactive(),M=!1,j=!0,P=this._attrmap.route||this._attrmap.routeTo||this._attrmap["route-to"],W=v||P||this.option("shouldEnd");P&&r.use("router");var J=null,ae=this.option("ownCache")||!1;this._asset&&(S=this._assetRef.c());var ce="";if(x&&(this.root().isSelf()?ce=le(".",le(".",this.root().tvar(),dt("__slots")),dt(this.option("name"))).c():ce=""+le(".",this.root().tvar(),this.gsym("#registerFunctionalSlot")).c()+"("+dt(this.option("name")).c()+")"),i){let V=I.parent(),Ae=V instanceof Xe||V instanceof s;Ae||this.option("iife",!0),b instanceof Yi&&!w?b.isAsset()?h("var "+this.tvar()+" = new "+ye("SVGSVGElement",b)):b.isClass()?h(ye("var "+this.tvar()+" = new "+ye(b.toClassName(),b)+";"+this.tvar(),b)):(this.tvar()._datatype=new Gi(b.toClassName(),b),h(ye("var "+this.tvar()+" = new "+ye(b.toClassName(),b)+";"+this.tvar(),b))):w?(this.tvar()._datatype="this",h("var "+this.tvar()+" = "+b.c())):A?this._options.dynamic?h("var "+this.tvar()+" = "+b.c()+";"+this.tvar()):h("var "+this.tvar()+" = new "+ye("Γany",b)):h("var "+this.tvar()+" = new "+ye("HTMLElement",b));for(let F=0,Q=this._attributes,ee=Q.length,G;F<ee;F++)G=Q[F],this._ref=this.tvar(),(G instanceof Rr||G instanceof Nr||G instanceof nr)&&h(G.c(e));let Ie=this.body()?this.body().values():[];for(let F=0,Q=Ie,ee=Q.length;F<ee;F++)h(Q[F].c());if(Ae){this.option("return")&&h("return "+this.tvar());let F=o.join(`;
`);return this.hasBlockScopedVariables()&&(F="{"+F+"}"),F}else{h("return "+this.tvar());let F=e.inline||n?",":`;
`;return F=`;
`,"(()=>{"+o.join(F)+"})()"}}var he=W||this.hasDynamicFlags()||this._attributes.length||this.option("markWhenBuilt")||this.isDetached()||A||!!this.option("key"),de=p&&p.option("condition");A&&(ae=!0,this.isMemoized()?S=""+this.owncvar()+".value":S=b.c()),this._cssid&&this._classNames.unshift(this.cssid());for(let V=0,Ae=I.closures(),Ie=Ae.length,F;V<Ie;V++)F=Ae[V],F._cssns&&(!w||F!=E)&&this._classNames.push(F._cssns);for(let V=0,Ae=this.tagLikeParents(),Ie=Ae.length,F;V<Ie;V++)F=Ae[V],F._cssns&&this._classNames.push(F._cssns);if(d&&!w&&(t=d.cssref(this.option("reference")?null:this.scope__()))){let V=d._cssns;this._classNames.indexOf(V)>=0&&this._classNames.splice(this._classNames.indexOf(V),1),A?this._styleName=typeof t=="string"?dt(t):t:this._classNames.push(t)}if(this.option("reference")&&E){let V=String(this.option("reference")).slice(1);this._classNames.push("$"+V)}if(this.option("key")&&this.set({detached:!0}),this._classNames.length){let V=[],Ae=!1;for(let F=0,Q=this._classNames,ee=Q.length,G;F<ee;F++)G=Q[F],G instanceof nr?G.name()instanceof Vi?V.push(G.name().toRaw()):V.push(G.rawClassName()):G instanceof qe?(Ae=!0,V.push("${"+G.c()+"}")):V.push(G);if(V.length>1){let F=[],Q=new Set;for(let ee=0,G=V,se=G.length,re;ee<se;ee++)re=G[ee],Q.has(re)||(Q.add(re),F.push(re));V=F}let Ie=Ae?"`":"'";this._className=Ie+V.join(" ")+Ie}var Je=[S,m&&!this.option("detached")?m.tvar():"null",this._className||"null","null",this._styleName?this._styleName.c():"null"],lt=this.body()?this.body().values():[];lt.length==1&<[0]instanceof sa&<[0].isStatic()&&!w&&!x&&(Je[3]=lt[0].value().c(),lt=[]),this._dynamics.length==0&&!this.hasDynamicFlags()&&!J&&!A&&!this.option("slotted")&<.every(function(V){return V instanceof ht||V instanceof s&&!V.isDynamicType()&&!V.option("key")})&&!W&&!this.hasNonTagChildren()&&!x&&!this.option("dynamic")&&!this.option("reference")&&(j=!1,p instanceof s&&!(this.up()instanceof Et)&&(M=!0)),(_||x)&&(Je=[this._flags].concat(Je.slice(1,2))),x&&(Je[1]="null");var Z=ye(""+this.create_()+"("+Je.join(",")+")",b);if(this.option("reference")){let V=Je[1];Je[1]="null",Z=ye(""+this.create_()+"("+Je.join(",")+")",b),this.set({ctor:Z}),Z=le(".",this.scope__().context(),this.option("reference")).c(),Z="("+this.tvar()+"="+Z+","+this.tvar()+"["+this.gsym("##up")+"]="+V+","+this.tvar()+")";let Ae=this.option("tagdeclbody");if(Ae&&!I.tsc()){let Ie=Ae._head||(Ae._head=[]),F=Js(this.option("reference").c()),ee="let el="+this.option("ctor")+`;
return (Object.defineProperty(this,'`+F+"',{value:el}),el);",G="get "+F+`(){
`+ee+`
}`;Ie.push(G)}}else Z=""+this.tvar()+"="+Z;this.option("assign")&&(Z=le("=",this.option("assign"),ue(Z)).c());let _e=this.hasDynamicDescendants();if(!p&&this.option("memoSelf")&&!w&&h(""+this.parentCache()+".this=this"),this._consumedBy){if(e.inline&&!M&&(this.option("iife",!0),e.inline=!1),this.isShadowRoot()){let V=""+this.cvar()+"["+this.osym()+"]";h(""+this.tvar()+"="+V+" || ("+V+"="+m.tvar()+".attachShadow({mode:'open'}))")}else if(x&&!this.hasChildren()){if(h(""+this.tvar()+"="+ce),!(p instanceof Os)){let V=""+this.cvar()+"["+this.osym()+"]";h("("+V+" = "+m.tvar()+this.domCall("insert")+"("+this.tvar()+","+this._flags+","+V+"))")}}else if(x&&this._consumed.length==1)this._consumed[0].set({detached:!0,slotted:!0}),this._consumed[0]._tvar=this.tvar(),this._consumed[0]._parent=p,ae=!1;else if(p instanceof oi){this._bvar=this.tagvar("B");let V=this.option("key");if(this.option("key"))if(A){h(""+this.owncvar()+"="+this.renderContextFn()+"("+this.option("key").c()+")");let Ae=""+this.owncvar()+".run("+b.c()+")";h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+Z+"))")}else{let Ae=""+this.parentCache()+".get("+this.kvar()+"="+this.option("key").c()+")";h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.parentCache()+".set("+this.kvar()+","+Z+"))")}else if(p.isIndexed()){let Ae=""+this.parentCache()+"["+p.kvar()+"]";h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+Ae+"="+Z+")")}else if(p.isKeyed())if(A){let Ae="("+this.owncvar()+"="+this.dynamicContextFn()+"("+b.osym()+","+p.kvar()+")).run("+b.c()+","+(C?1:0)+")";h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+Z+"))")}else{let Ae="("+this.kvar()+"="+this.renderContextFn()+"("+this.osym()+")).get("+p.kvar()+")";h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ae+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.kvar()+".set("+p.kvar()+","+Z+"))")}this._ref=""+this.tvar(),h(""+this.bvar()+"||("+this.tvar()+"["+this.gsym("##up")+"]="+m.tvar()+")"),(this._dynamics.length||this._consumed.length&<.length)&&(ae=!0)}else if(!y)h("("+Z+")");else if(M)this._ref=this.tvar(),this._bvar=p.bvar(),h(""+p.bvar()+" || ("+Z+")");else{let V=this.option("key"),Ae=this._cref||(this._cref=""+this.cvar()+"["+this.osym()+"]");if(he&&(this._bvar=this.tagvar("B")),A){h(V?""+this.owncvar()+"="+this.dynamicContextFn()+"("+V.osym()+","+V.c()+")":""+this.owncvar()+"="+this.renderContextFn()+"("+b.osym()+")");let Ie=""+this.owncvar()+".run("+b.c()+","+(C?1:0)+")";h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ie+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+Z+"))")}else if(V){h(""+this.owncvar()+"="+this.renderContextFn()+"("+V.osym()+")");let Ie=""+this.owncvar()+".run("+V.c()+")";h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ie+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.owncvar()+".cache("+Z+"))")}else{let Ie=""+this.parentCache()+"["+this.osym()+"]";h(he?"("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+Ie+") || ("+this.bvar()+"="+this.dvar()+"=0,"+Ie+"="+Z+")":"("+this.tvar()+"="+Ie+") || ("+Ie+"="+Z+")")}this.isDetached()&&h(""+this.bvar()+"||("+this.tvar()+"["+this.gsym("##up")+"]="+m.tvar()+")"),this._ref=this.tvar(),J&&(ae=!0),p instanceof Os&&(ae=!0)}ae&&(this._cvar=this.tvar())}else if(this._ref=""+this.tvar(),w)h(""+this.tvar()+"=this"),h(""+this.tvar()+this.domCall("open")+"()"),h("("+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(y){let V=""+this.parentCache()+"["+this.osym()+"]";A&&this.isMemoized()?(this.option("key")?h(""+this.owncvar()+"="+this.dynamicContextFn()+"("+this.osym()+","+this.option("key").c()+")"):h(""+this.owncvar()+"="+this.renderContextFn()+"("+this.osym()+")"),Z=""+this.owncvar()+".cache("+Z+")",h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+this.owncvar()+".run("+b.c()+","+(C?1:0)+")) || ("+this.bvar()+"="+this.dvar()+"=0,"+Z+")")):this.option("key")?(h(""+this.cvar()+"=("+V+"="+V+"||new Map())"),h("("+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()+","+Z+"))")):this.isMemoized()?h("("+this.bvar()+"="+this.dvar()+"=1,"+this.tvar()+"="+V+") || ("+this.bvar()+"="+this.dvar()+"=0,"+this.tvar()+"="+V+"="+Z+")"):h("("+this.bvar()+"="+this.dvar()+"=0,"+this.tvar()+"="+Z+")"),h(""+this.bvar()+" || ("+this.tvar()+"["+this.gsym("##up")+"] = "+this.parentRef()+")"),h(""+this.bvar()+" || ("+this.tvar()+"["+this.gsym("##register")+"]?.("+this.parentCache()+","+this.osym()+"))"),this._cvar=this.tvar(),this._ref=this.tvar(),n&&!_e?(this.option("inline",M=!0),e.inline=!0):(n&&this.option("iife",!0),e.inline=!1)}else h("("+Z+")"),this._cvar=this.tvar(),n&&!j?(this.option("inline",M=!0),e.inline=!0):(this.option("iife",!0),e.inline=!1);if(A&&h({if:""+this.tvar()+"["+this.gsym("#isRichElement")+"]"}),this._slots)for(let V=this._slots,Ae,Ie=0,F=Object.keys(V),Q=F.length,ee;Ie<Q;Ie++){ee=F[Ie],Ae=V[ee],I.use("slots");let G=A?this.gsym("#getFunctionalSlot"):this.gsym("#getSlot");h(""+Ae.tvar()+" = "+le(".",this.tvar(),G).c()+"('"+ee+"',"+this.cvar()+")")}let U=[];for(let V=0,Ae=this._attributes,Ie=Ae.length,F;V<Ie;V++){if(F=Ae[V],F._chain&&F._chain.length&&!(F instanceof Nr)){let Q=F.modifiers(),ee=!Q.isStatic(),G=Q.extractDynamics(),se=F.modsIdentifier(),re=se?le(".",this.tvar(),se).c():""+this.cvar()+"["+Q.osym()+"]";if(ee){h(""+this.vvar()+" = "+re+" || ("+Q.c(e)+")");for(let q=0,N=Re(G),R=N.length,D;q<R;q++){D=N[q];let B=D.option("key"),H=D.option("index");h(""+le(".",this.vvar(),B).c()+"["+H+"]="+D.c(e))}h(""+this.bvar()+" || ("+re+"="+this.vvar()+")")}else h(""+this.bvar()+" || ("+re+"="+Q.c(e)+")")}if(!y)h(F.c(e));else if(F.isStatic())h(""+this.bvar()+" || ("+F.c(e)+")");else{let Q=""+this.cvar()+"["+F.osym()+"]";if(F instanceof nr){let ee=F._condition,G=F.name(),se,re,q=!A;ee&&!ee.isPrimitive()&&(se=""+this.cvar()+"["+ee.osym()+"]",h("("+this.vvar()+"=("+ee.c(e)+"||undefined),"+this.vvar()+"==="+se+"||("+this.dvar()+"|="+ct.DIFF_FLAGS+","+se+"="+this.vvar()+"))")),G&&!(G instanceof et)&&!G.isPrimitive()&&!(G instanceof Vi)&&!(G instanceof li)&&(re=""+this.cvar()+"["+G.osym()+"]",h("("+this.vvar()+"="+G.c(e)+","+this.vvar()+"==="+re+"||("+this.dvar()+"|="+ct.DIFF_FLAGS+","+re+"="+this.vvar()+"))")),se&&re?U.push("("+se+" ? ("+re+"||'') : '')"):se?U.push("("+se+" ? "+G.c({as:"string"})+" : '')"):re?U.push("("+re+"||'')"):G instanceof Vi?U.push(G.c({as:"string"})):U.push("'"+G.c({as:"substring"})+"'")}else if(F instanceof Nr){let ee=F.modifiers(),G=ee.extractDynamics(),se=!1;h(""+this.hvar()+" = "+Q+" || ("+Q+"="+ee.c(e)+")");for(let re=0,q=Re(G),N=q.length,R;re<N;re++){R=q[re];let D=R.option("key"),B=R.option("index"),H=""+le(".",this.hvar(),D).c()+"["+B+"]";D=="options"?(se=!0,h("("+this.vvar()+"="+R.c(e)+","+this.vvar()+"==="+H+" || ("+H+"="+this.vvar()+","+this.dvar()+"|="+ct.DIFF_MODIFIERS+"|"+ct.DIFF_INLINE+"))")):h(""+H+"="+R.c(e))}h(""+this.bvar()+" || "+this.ref()+".on$("+F.quoted()+","+this.hvar().c()+","+this.scope__().context().c()+")"),se&&h(""+this.dvar()+"&"+ct.DIFF_INLINE+" && ("+this.dvar()+"^="+ct.DIFF_INLINE+","+this.hvar()+"["+this.gsym("#visit")+"]?.())")}else if(F instanceof Rr&&F._ns=="bind"){let ee=F.value(),G=z0(ee);if(W=!0,G instanceof Array){let se=G[0],re=G[1],q="[]",N=se&&se.isConstant(),R=re&&re.isConstant();se instanceof Ss&&!this.root().isSelf()&&(N=!1),N&&R?q="["+se.c(e)+","+re.c(e)+"]":R&&(q="[null,"+re.c(e)+"]"),h(""+this.vvar()+"="+Q+" || ("+Q+"="+this.ref()+".bind$('"+F.key()+"',"+q+"))"),se&&!N&&h(""+this.vvar()+"[0]="+se.c(e)),re&&!R&&h(""+this.vvar()+"[1]="+re.c(e))}else if(G instanceof Ft){let se="function(){ return "+G.c(e)+" }",re="function(v$){ "+G.c(e)+" = v$ }",q="{get:"+se+",set:"+re+"}";h(""+this.bvar()+" || "+this.ref()+".bind$('"+F.key()+"',"+q+")")}}else{L&&F.option({svg:!0});let ee=F.value();if(F.valueIsStatic())h(""+this.bvar()+" || ("+ye(F.js(e),F)+")");else if(ee instanceof at)h("("+F.js(e)+")");else if(ee._variable){let G=ee.c(e);F._value=ue(""+Q+"="+G),h("("+G+"==="+Q+" || ("+ye(F.js(e),F)+"))")}else F._value=ue(""+Q+"="+this.vvar()),h("("+this.vvar()+"="+ee.c(e)+","+this.vvar()+"==="+Q+" || ("+ye(F.js(e),F)+"))")}}}if(U.length||(w||A)&&this._className){this._className&&U.unshift(this._className);let V=""+this.dvar()+"&"+ct.DIFF_FLAGS,Ae=w?"flagSelf$":"flag$",Ie="null";(w||A)&&(V="(!"+this.bvar()+"||"+V+")"),A?(this._styleName&&(Ie=this._styleName.c()),h("("+V+" && "+this.tvar()+".flags.reconcile("+this.osym()+","+U.join("+' '+")+","+Ie+"))")):h("("+V+" && "+this.tvar()+"."+Ae+"("+U.join("+' '+")+","+Ie+"))")}let fe=lt.length;for(let V=0,Ae=lt.length,Ie;V<Ae;V++)if(Ie=lt[V],Ie instanceof ht)h(y?""+this.bvar()+" || "+this.tvar()+this.domCall("insert")+"("+Ie.c(e)+")":""+this.tvar()+this.domCall("insert")+"("+Ie.c(e)+")");else if(Ie instanceof li)for(let F=0,Q=Re(Ie._placeholders),ee=Q.length;F<ee;F++){let G=Q[F]._setter,se=""+this.cvar()+"["+G.osym()+"]",re=G.value();if(G.valueIsStatic())h(""+this.bvar()+" || ("+ye(G.js(e),G)+")");else if(re instanceof at)h("("+G.js(e)+")");else if(re._variable){let q=re.c(e);G._value=ue(""+se+"="+q),h("("+q+"==="+se+" || ("+ye(G.js(e),G)+"))")}else G._value=ue(""+se+"="+this.vvar()),h("("+this.vvar()+"="+re.c(e)+","+this.vvar()+"==="+se+" || ("+ye(G.js(e),G)+"))")}else h(Ie.c(e));if(W&&(!p&&!w?(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()+")")):w?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()+")"))),A&&l.push({endif:!0}),p instanceof oi)p.isKeyed()?l.push(""+p.ref()+".push("+this.tvar()+","+p.kvar()+"++,"+this.kvar()+")"):p.isIndexed()&&l.push(""+p.kvar()+"++");else if(!(_&&p&&!(p instanceof Os))){if(p&&!(p instanceof Os)&&(v||J||this.option("reference"))){let V=m.ref(),Ae=this._cref;J||A||this.isDetached()?m instanceof w1?l.push("("+this.tvar()+"=="+Ae+") || (!"+Ae+" && "+V+this.domCall("appendChild")+"("+Ae+"="+this.tvar()+")) || ("+V+this.domCall("replaceChild")+"("+this.tvar()+","+Ae+"),"+Ae+"="+this.tvar()+")"):l.push("("+this.tvar()+"=="+Ae+") || (!"+Ae+" && ("+Ae+"="+this.tvar()+")"+this.domCall("insertInto")+"("+V+")) || "+Ae+this.domCall("replaceWith")+"("+Ae+"="+this.tvar()+","+V+")"):this.isDetached()||l.push(""+this.bvar()+" || "+V+this.domCall("appendChild")+"("+this.tvar()+")")}}if(this.option("fragmented")&&h(""+this.runtime().renderContext+".context=null"),this._consumedBy||(this.option("return")||this.option("iife")?l.push("return "+this.tvar()):(!y||e.inline)&&l.push(""+this.tvar())),o=o.concat(l),e.inline){e.inline=T;let V="(",Ae=o.length-1;for(let Ie=0,F=Re(o),Q=F.length,ee;Ie<Q;Ie++)ee=F[Ie],ee.if?V+="("+ee.if+` && (
`:(V+=ee.endif?"))":ee,Ie==Ae||o[Ie+1].endif||(V+=`,
`));if(V+=")",x&&this.hasChildren()){let Ie="";if(!(p instanceof Os)){let F=""+this.cvar()+"["+this.osym()+"]",Q=""+this.cvar()+"["+this.osym("_")+"]",ee=""+this.cvar()+"["+this.osym("__")+"]",G=""+this.tvar()+"==="+ee+" || ("+Q+" = "+m.tvar()+this.domCall("insert")+"("+ee+"="+this.tvar()+","+this._flags+","+Q+"))"}V="("+this.tvar()+"="+ce+"),(!"+this.tvar()+" || !"+this.tvar()+".hasChildNodes() && "+V+"),("+Ie+")"}return V}e.inline=T;let te="";if(!f)te=o.length?o.join(`;
`)+`;
`:"";else for(let V=0,Ae=Re(o),Ie=Ae.length,F;V<Ie;V++)F=Ae[V],F.if?te+="if("+F.if+`){
`:F.endif?te+=`};
`:te+=F+`;
`;if(x&&this.hasChildren()){let V="";if(!(p instanceof Os)){let Ae=""+this.cvar()+"["+this.osym()+"]",Ie=""+this.cvar()+"["+this.osym("_")+"]",F=""+this.cvar()+"["+this.osym("__")+"]";V=""+this.tvar()+"==="+F+" || ("+Ie+" = "+m.tvar()+this.domCall("insert")+"("+F+"="+this.tvar()+","+this._flags+","+Ie+"))"}te=""+this.tvar()+"="+ce+`;
if(!`+this.tvar()+" || !"+this.tvar()+`.hasChildNodes()){
`+te+`
}
`+V}return this.option("iife")?(te="(()=>{"+te+";})()",this.option("return")&&(te="return "+te)):this.hasBlockScopedVariables()&&(te="{"+te+"}"),te}},Vc=class extends it{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})+")"}},Fc=class extends Pt{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,r=Re(this._nodes),i=r.length,n;t<i;t++)n=r[t],e.push(!(n instanceof et)&&n.traverse());return e}query(){var e="",t=[];for(let i=0,n=Re(this.nodes()),a=n.length,o;i<a;i++){o=n[i];var r=o.c();o instanceof et?t.push("'"+r.replace(/\'/g,'"')+"'"):t.push(r)}return t.join(" + ")}toString(){return Ne.cary(this.nodes()).join("")}js(e){var t=this.option("type"),r=Ne.c(this.query()),i=this.scope__().imba().c();return t=="%"?""+i+".q$("+r+","+e.scope().context().c({explicit:!0})+")":t=="%%"?""+i+".q$$("+r+","+e.scope().context().c({explicit:!0})+")":""+i+".q"+t+"("+r+")"}},Gc=class extends it{},jc=class extends it{js(e){return"await "+this.value().c()}visit(e){this.value().traverse();var t=e.up(at);return t&&t.set({async:!0}),this;this.warn("toplevel await not allowed");var r=e.up(Xe),i=e.relative(r,1),n=e.relative(this,-1);if(this._func=new Nl([],[]),this._func.body()._nodes=r.defers(i,this),this._func.scope().visit(),n instanceof Zt){n._left.traverse();var a=n._left.node();a instanceof ms?this._func.params().at(0,!0,a.variable().name()):(n._right=this._func.params().at(0,!0),this._func.body().unshift(n),this._func.scope().context())}return this._func.traverse(),this}},Nl=class extends at{constructor(e,t,r,i,n){super(e,t,r,i,n)}scopetype(){return Xi}},fi=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(ra),this._declaration instanceof k1?this._importer=this._declaration:this._exporter=this._declaration,this._cname=lo(this._name.c()),this._key=this._alias?lo(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=Js(this._name.c()),t=this._alias&&Js(this._alias.c());return t?""+e+" as "+t:""+e}},Bc=class extends fi{},zc=class extends fi{},Hc=class extends fi{},$c=class extends fi{},Rl=class extends fi{},Uc=class extends Pt{js(){return"{"+super.js(...arguments)+"}"}},ra=class extends vr{constructor(e,t,r){super(...arguments),this.setup(),this._keyword=e,this._specifiers=t,this._source=r,this._defaults=t&&t.find(function(i){return i instanceof Rl})}variable(e){return this._variable}addEnv(e){return this._envs||(this._envs=[]),this._envs.push(new ia(e)),this}isExcluded(){return this.isTypeOnly()&&!I.tsc()?!0:this._envs?I.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=ye(this.keyword().c(),this.keyword());if(this._specifiers&&this._source)return""+e+" "+Ne.cary(this._specifiers).join(",")+" from "+this._source.c();if(this._specifiers)return""+e+" "+Ne.cary(this._specifiers).join(",");if(this._source)return""+e+" "+this._source.c()}},Ol=class extends it{setup(){return this}c(){let e="",t=this.value().ref.c(),r=this.value().path;return this._value.kind&&r.indexOf("?")==-1&&(r+="?"+this._value.kind),I.tsc()?this.value().pathToken?e="import "+ye("'"+r.split("?")[0]+"'",this.value().pathToken)+"; const "+t+" = /** @type{ImbaAsset} */(null)":e="const "+t+" = /** @type{ImbaAsset} */({path:'"+r+"'})":e="import "+t+" from "+ye("'"+r+"'",this.value().pathToken),e}},k1=class extends ra{sourcePath(){return this._source&&this._source.c()}ownjs(){var e,t=this._source&&this._source.c();if(I.tsc()){var e=Re(this._source.raw().split("?"));let n=e[0],a=e[1];if(t=ye("'"+n+"'",this._source),(n.match(/\.(html|svg|png|jpe?g|gif)$/)||a&&a.match(/^\w/)&&a!="external")&&this._specifiers&&this._source)return""+ye(this.keyword().c(),this.keyword())+" "+t+`;
import `+Ne.cary(this._specifiers).join(",")+" from 'data:text/asset;';"}let r=this.isTypeOnly()?" type ":" ";return this._specifiers&&this._source?""+ye(this.keyword().c(),this.keyword())+r+Ne.cary(this._specifiers).join(",")+" from "+t:""+ye(this.keyword().c(),this.keyword())+r+t}js(){return this.isExcluded()?"":this.ownjs()}push(e){let t=this._next||this;return this._up.replace(t,[t,ft,this._next=e])}visit(){var e;if(this.setEnds(this._keyword,this._source),!this.isExcluded()){for(let t=0,r=Re(this._specifiers),i=r.length;t<i;t++)(e=r[t])&&e.traverse&&e.traverse();this.scope__()._lastImport=this,this._up=this.up()}}},Yc=class extends k1{isTypeOnly(){return!0}js2(){if(!I.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 r=0,i=Re(this._specifiers[0].nodes()),n=i.length,a;r<n;r++){a=i[r];let o=a._name.c(),l=a._alias?a._alias.c():a._name.c(),f="/** @typedef {import("+e+")."+o+"} "+l+" */true";t.push(f)}return t.join(`;
`)}}},T1=class extends ra{visit(){var e;if(!this.isExcluded()){for(let t=0,r=Re(this._specifiers),i=r.length;t<i;t++)(e=r[t])&&e.traverse&&e.traverse();return this}}js(){if(this.isExcluded())return"";let e=ye(this.keyword().c(),this.keyword());if(this._specifiers&&this._source)return""+e+" "+Ne.cary(this._specifiers).join(",")+" from "+this._source.c();if(this._specifiers)return""+e+" "+Ne.cary(this._specifiers).join(",");if(this._source)return""+e+" "+this._source.c()}},Kc=class extends T1{},qc=class extends T1{},Ll=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}},Cl=class extends qe{add(e,t){return this._mixins||(this._mixins={}),this._mixins[e]=t,this}c(){return"export const mixins$ = "+Ne.compileRaw(this._mixins||{})}},S1=class extends it{loc(){let e=this.option("keyword");return e&&e.region?e.region():super.loc(...arguments)}consume(e){return e instanceof Ts?(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 r=t.option("default");if(t.value()instanceof Pt&&t.value().map(function(i){return i.set({export:t})}),t.value()instanceof lr||t.value()instanceof Ms)return t.value().c();if(t.value()instanceof Zt&&t.value()._left instanceof ms){let i=ye("export",t.option("keyword")),n=r&&ye("default",t.option("default"));return r?""+i+" "+n+" "+t.value().c():""+i+" "+t.value().c()}return r?"export default "+t.value().c():t.value().c()}},Ml=class extends it{js(e){var t=this.value()instanceof Rt?this.value().value():this.value(),r=t.c();return r=="require"?"require":"require("+r+")"}},ia=class extends it{constructor(){super(...arguments),this._key=String(this._value).slice(1,-1)}raw(){return this._raw==null?this._raw=I.env(""+this._key):this._raw}isTruthy(){if(this._key=="JS")return!I.tsc();if(I.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 I.tsc()?t=ue(""+this.runtime().$env+"("+dt(this._key).c()+")"):this._key=="JS"?t=ue("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,ye(t,this._value)}},{StyleNode:wm,StyleSelector:km,StyleRuleSet:li,StyleBody:Tm,StyleDeclaration:Sm,StyleProperty:Em,StylePropertyIdentifier:Am,StylePropertyModifier:Im,StyleExpressions:Nm,StyleExpression:Rm,StyleParens:Om,StyleOperation:Lm,StyleTerm:Cm,StyleInterpolationExpression:Mm,StyleFunction:Dm,StyleURL:Pm,StyleIdentifier:Vm,StyleString:Fm,StyleColor:Gm,StyleColorMix:jm,StyleVar:Bm,StyleDimension:zm,StyleNumber:Hm}=Bp({AST:Ne,Node:qe,ListNode:Pt,ValueNode:it,LIT:ue,C:ks,M:ye,SourceMapper:Ds,StyleRule:Lo,StyleTheme:Fn,Color:Vs,colord:i0,constants:ih,helpers:Qr,iter$:Re,idx$:Vo,STACK:I,TagDeclaration:Pi,TagLike:kt,ClassBody:ji,TagBody:x1,TagFlag:nr,TagStyleAttr:y1}),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,r){return t&&!I.isStdLib()?""+I.corelib()[t].c()+"("+Ne.cary(e).join(",")+")":(this.scope__().root().helper(this,this.helper()),""+(r||this.name())+"("+Ne.cary(e).join(",")+")")}};We.extend=function(s,e){return new We.Extend([s,e])};We.callImba=function(s,e,t){return rt(le(".",s.imba(),new Ke(e)),t)};We.repeat=function(s,e){for(var t="";e>0;)e%2==1&&(t+=s),s+=s,e>>=1;return t};We.keys=function(s){var e=new yl("Object"),t=new Ke("keys");return rt(le(".",e,t),[s])};We.len=function(s,e){var t=new Ke("length"),r=le(".",s,t);return e&&r.cache({force:!0,pool:"len"}),r};We.indexOf=function(s,e){var t=new We.IndexOf([s,e]);return t};We.slice=function(s,e,t){var r=new Ke("slice");return rt(le(".",s,r),Ne.compact([e,t]))};We.iterable=function(s,e){var t=new We.Iterable([s]);return e&&!I.tsc()&&t.cache({force:!0,pool:"iter"}),t};We.counter=function(s,e){var t=new zt(s);return e&&t.cache({force:!0,pool:"counter"}),t};We.array=function(s,e){var t=new We.Array([s]);return e&&t.cache({force:!0,pool:"list"}),t};var F0={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 s,e=0,t=Object.keys(F0),r=t.length,i;e<r;e++)i=t[e],s=F0[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+"$__"+(s.inline||s);return new We.Helper(o).set({name:i+"$__",helper:l,stdlib:s.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(Ne.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 ht?"typeof ("+this.left().c()+")==="+this.right().c():String(this.op())=="instanceof"||I.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 Vt?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 Wc=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}},Xc=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=I.incr("scopes"),this._node=e,this._parent=t,this._vars=new Xo([]),this._entities=new Wc(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 I._loglevel>0&&console.log.apply(console,arguments),this}oid(){return this._oid||(this._oid=I.generateId(""))}tid(){return this._tid||(this._tid=I.generateId("tag"))}stack(){return I}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;return this}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 Ne.counterToShortRef(this._refcounter++)}staticsRef(){return this._staticsRef||(this._staticsRef=this.declare("$statics$",rt(I.corelib().statics$,[this.context()])))}memovar(e,t){this._memovars||(this._memovars={});let r=this._memovars[e];return r||(r=this._memovars[e]=this.declare(r,t)),r}mixin(e){return this._mixins[e]||(this._mixins[e]=new Ll(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=ue(""+this.runtime().getRenderContext+"()");I.closure()instanceof I1&&(e=ue("{}")),this._tagCache=this.declare("ϲτ",e,{system:!0,temporary:!0,alias:"ϲτ"})}return this._tagCache}tagTempCache(){return this._tagTempCache||(this._tagTempCache=this.declare("ϲττ",ue("{}"),{system:!0,temporary:!0,alias:"ϲττ"}))}context(){return this._context||(this.selfless()?this._context=this._parent.context().fromScope(this):this._context=new di(this)),this._context}isInExtend(){return this._closure.node().option("extension")}traverse(){return this}visit(){return this._parent?this:(this._parent=I.scope(1),this._level=I._scopes.length-1,I.addScope(this),this.root()._scopes.push(this),this)}wrap(e){return this._parent=e._parent,e._parent=this,this}virtualize(){return this}root(){return I.ROOT;var e}register(e,t,r){if(t===void 0&&(t=null),r===void 0&&(r={}),e||(r.system=!0),r.system)return new(r.varclass||Ji)(this,e,t,r);e=Ne.sym(e);var i=this._varmap.hasOwnProperty(e)&&this._varmap[e];if(i&&t&&i.type()!="global"&&t.error("Cannot redeclare variable"),i&&!r.unique&&i.type()!="global")return i;let n=r.lookup&&this._parent&&this._parent.lookup(e);var a=new(r.varclass||Ft)(this,e,t,r);if(n&&(a._parent=n),!r.system&&(!i||i.type()=="global")&&(this._varmap[e]=a),I._state&&I._state.variables instanceof Array&&I._state.variables.push(a),this._declListeners.length)for(let o=0,l=Re(this._declListeners),f=l.length;o<f;o++)l[o].push(a);return a}annotate(e){return this._annotations.push(e),this}declare(e,t,r){var i;t===void 0&&(t=null),r===void 0&&(r={});var n=e instanceof Ft?e:this.register(e,null,r),a=this._vars.add(n,t);return(i=n._declarator)||(n._declarator=a),n}reusevar(e){return this.temporary(null,{reuse:!0},e)}temporary(e,t,r){if(t===void 0&&(t={}),r===void 0&&(r=null),this._systemscope&&this._systemscope!=this)return this._systemscope.temporary(e,t,r);if(r||(r=t.name),t.temporary=!0,r&&t.reuse&&this._vars["_temp_"+r])return this._vars["_temp_"+r];if(t.pool){for(let n=0,a=Re(this._varpool),o=a.length,l;n<o;n++)if(l=a[n],l.pool()==t.pool&&l._declarator==null)return l._declarator=e,l}var i=new Ji(this,r,e,t);return this._varpool.push(i),t.nodecl||this._vars.push(i),r&&t.reuse&&(this._vars["_temp_"+r]=i),i}lookup(e){this._lookups||(this._lookups={});var t=null;return e=Ne.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 I.meta().universal=!1,this._imba||(this._imba=I.isNode()?ue("(this && this["+this.root().symbolRef("#imba").c()+"] || globalThis["+this.root().symbolRef("#imba").c()+"])"):ue("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 pi)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(i){var n=e._varmap[i];return n._references.length?Ne.dump(n):null}),r={nr:e._nr,type:e.constructor.name,level:e._level||0,vars:Ne.compact(t),loc:e.loc()};return r}toJSON(){return this.dump()}toString(){return""+this.constructor.name}closeScope(){return this}},Gr=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:Hl}),this._document=this.register("document",this,{type:"global",varclass:zl}),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:Bl})._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 Xc(this),this._object=gs.wrap({}),this._head=[this._vars],this._symbolRefs={},this._importProxies={},this._vars._split=!0,this._vars,this._imba=this.register("imba",this,{type:"global",varclass:L1,path:"imba"}),this._runtime=this._imba.proxy()}importProxy(e,t,r){return r===void 0&&(r="$"+e+"$"),this._importProxies[e]||(this._importProxies[e]=this.register(r,this,{type:"global",varclass:aa,path:t||e}))}runtime(){return this._runtime}use(e){if(!I.tsc())return this._imba.touch("use_"+e)}sourceId(){return this._sourceId||(this._sourceId=I.sourceId())}cssns(){return this._cssns||(this._cssns=""+this.sourceId()+"_")}sfco(){return this._sfco||(this._sfco=this.declare("sfc$",ue("{/*$sfc$*/}")))}l(){return this._l||(this._l=this.declare("l$",ue("null")))}context(){return this._context||(this._context=new Yl(this))}globalRef(){return this._globalRef||(this._globalRef=ue("globalThis"))}mixinExports(){return this._mixinExports||this._head.push(this._mixinExports=new Cl),this._mixinExports}registerAsset(e,t,r,i){let n=e+t;if(this._assets[n])return this._assets[n];let a=I.lastImport()||this._head,o=this._assets[n]={path:e,kind:t,external:!0,context:r,pathToken:i,ref:this.register("asset",null,{system:!0})};return a.push(new Ol(o)),o}lookup(e){if(e=Ne.sym(e),this._varmap.hasOwnProperty(e))return this._varmap[e]}visit(){return I.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(r){return r.dump()})};if(tr.analysis.scopes){var t=this._scopes.map(function(r){return r.dump()});t.unshift(super.dump()),e.scopes=t}return tr.analysis.entities&&(e.entities=this._entities),e}requires(e,t){var r,i;if(r=this.lookup(t))return r;if(r=this._requires[t]){if(r._requirePath!=e)throw new Error(""+t+" is already defined as require('"+r._requirePath+"')");return r}var n=new Ml(new ht("'"+e+"'"));r=new Ft(this,t,null,{system:!0});var a=this._vars.add(r,n);return(i=r._declarator)||(r._declarator=a),r._requirePath=e,this._requires[t]=r,r}imba(){return this._imba}symbolRef(e){if(e=Ds.strip(e),I.tsc())return this._symbolRefs[e]||(this._symbolRefs[e]=new Ke(e.slice(1)+"_$INTERNAL$_"));let t=this._symbolRefs,r=rm(e);return t[e]||(t[e]=this.declare(null,ue("Symbol.for('"+e+"')"),{type:"const",system:!0,alias:r,gsym:e}))}c(e){e===void 0&&(e={}),e.expression=!1;let t=this.node().body().c(e),r=I._css,i=new Xe([]);i._head=this._head,i.add(ue(r.js(this,I)));let n=i.c(e)+`
/*body*/
`+t;return Bn(this._helpers)&&(n=Ne.cary(this._helpers).join(`;
`)+`
`+n),n}},Jc=class extends js{setup(){return this._selfless=!1}namepath(){return this._node.namepath()}},pi=class extends js{setup(){return this._selfless=!1}namepath(){return this._node.namepath()}virtualize(){var e=this.parent();for(let t=this._varmap,r,i=0,n=Object.keys(t),a=n.length,o;i<a;i++)o=n[i],r=t[o],r.resolve(e,!0);return this}prototype(){return this._prototype||(this._prototype=new it(le(".",this.context(),"prototype")))}},E1=class extends pi{},Zc=class extends js{},A1=class extends js{},I1=class extends A1{lookup(e){this._lookups||(this._lookups={});var t=null;if(e=Ne.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 r=this._leaks.get(t);r||this._leaks.set(t,r=new jl(this,e,t)),t=r}return t}},jr=class extends js{setup(){return this._selfless=!1}isInExtend(){return this.parent().isInExtend()}visit(){if(super.visit(...arguments),I.tsc()&&this.isInExtend()){let e=this.parent().closure().node(),t=e._className;if(t){let r=null;t instanceof Ke&&!t._variable&&(r=Qc[t._value]);let i=t.option("generics"),n=t.c();i&&(n+=String(i));let a=this.node().option("static")?ue(""+e._className.c()):r&&r.thistype?ue("null as any as "+r.thistype):ue("this as (this & "+n+")"),o=this.context().reference(a);this.context()._useReference=!0,o.c()}}return this}},N1=class extends js{setup(){return this._selfless=!1}mergeScopeInto(e){for(let t=this._varmap,r,i=0,n=Object.keys(t),a=n.length,o;i<a;i++)o=n[i],r=t[o],o!="self"&&(r.resolve(e,!0),e.declare(r));return this._context&&this._context._reference&&(this._context._reference=e.context().reference()),!0}},Xi=class extends js{context(){return this._context||(this._context=this.parent().context().fromScope(this)),this._context}},xr=class extends js{params(){if(this._parent)return this._parent.params()}register(e,t,r){var i;return t===void 0&&(t=null),r===void 0&&(r={}),r.type!="let"&&r.type!="const"&&this.closure()!=this?((i=this.lookup(e))&&i.type()=="let"&&t&&t.warn("Variable already exists in block"),this.closure().register(e,t,r)):super.register(e,t,r)}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,r){return t===void 0&&(t={}),r===void 0&&(r=null),(this._systemscope||this.parent()).temporary(e,t,r)}},Dl=class extends xr{},Pl=class extends xr{autodeclare(e){return this._vars.add(e)}},Vl=class extends xr{autodeclare(e){return this._vars.add(e)}},Fl=class extends xr{},R1=class extends xr{region(){return this.node().region()}},Gl=class extends xr{},Ft=class s extends qe{constructor(e,t,r,i){super(...arguments),this._ref=I._counter++,this._c=null,this._scope=e,this._name=t,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(e){return this._scope}name(e){return this._name}setName(e){return this._name=e,this}alias(e){return this._alias}type(e){return this._type}references(e){return this._references}value(e){return this._value}datatype(e){return this._datatype}setDatatype(e){return this._datatype=e,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 s(this._scope,this._name+"$TYPED$",this._declarator,this._options))}isGlobal(e){return this._type=="global"&&(!e||this._name==e)}closure(){return this._scope.closure()}vartype(){return this._vartype||this._declarator&&this._declarator.datatype&&this._declarator.datatype()}assigned(e,t){return this._assignments.push(e),e instanceof Vt?this._isArray=!0:this._isArray=!1,this}parents(){let e=[],t=this.closure().parent(),r=this;for(;t&&r&&e.length<5;)if(r=t.lookup(this._name)){e.unshift(r);let i=r.scope().parent();if(t==i)break;t=i}return e}resolve(e,t){if(e===void 0&&(e=this._scope),t===void 0&&(t=!1),this._resolved&&!t)return this;this._resolved=!0;var r=this._scope.closure(),i=this._shadowing||e.lookup(this._name);if(this._scope!=r&&this._type=="let"&&this._virtual&&(i=r.lookup(this._name),e=r),i==this)return e._varmap[this._name]=this,this;if(i){if(i.scope()!=e&&(this._options.let||this._type=="let")&&(e._varmap[this._name]=this,!this._virtual&&!this._shadowing))return this;if(!this._options.proxy)for(var n=0,a=this._name;e.lookup(this._name);)this._name=""+a+(n+=1)}return e._varmap[this._name]=this,r._varmap[this._name]=this,this}reference(){return this}node(){return this}cache(){return this}traverse(){return this}free(e){return this._declarator=null,this}proxy(e,t){return this._proxy=[e,t],this}refcount(){return this._references.length}c(e){if(e){if(e.as=="declaration"&&I.tsc()&&this._datatype)return this.c({})+":"+ye(this._datatype);if(e.as=="field")return"["+this.c({})+"]"}if(this._c)return this._c;if(this._typedAlias&&this._typedAlias.c(e),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 t=this._alias||this._name;this._c=typeof t=="string"?Js(t):t.c({as:"variable"}),U0.test(this._c)&&(this._c=""+this.c()+"$")}return this._c}js(){return this.c()}consume(e){return this}accessor(e){var t=new hl(".",null,this);return t}assignment(e){return new Zt("=",this,e)}addReference(e){return e instanceof Ke&&e.references(this),e.region&&e.region()&&(this._references.push(e),e.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(e){var t=this._name;return t[0].match(/[A-Z]/)?null:{type:this._type,name:t,refs:Ne.dump(this._references,e)}}via(e){return new Go(this,e)}},Ji=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 i=e.alias;let m=i||Gn.ANY;/\d/.test(m[0])&&(m="_"+m),/\d$/.test(m)&&(m=m+Gn.SEP);let d=I.incr(m);return d==1&&(d=""),L0.test(m)?this._name=""+m+d:this._name=""+m+"φ"+d,this}let t=e.ns||"",r=I.tsc()||e.safe?this._scope.incr("sysvar"+t):I.incr("sysvar"+t);return this._name=""+t+"$"+r,this;e=this._options;var i=e.alias||this._name,n=e.pool,a=[].concat(e.names),o=null,l=null;this._name=null;let f=i||Gn.ANY;/\d/.test(f[0])&&(f="_"+f),/\d$/.test(f)&&(f=f+Gn.SEP);let h=I.incr(f);return h==1&&(h=""),L0.test(f)?this._name=""+f+h:this._name=""+f+"φ"+h,this}name(){return this.resolve(),this._name}toString(){return this.c()}},jl=class extends Ft{},na=class extends Ft{},Bl=class extends Ft{},O1=class extends na{forScope(e){return new $l(this,e)}c(){return""+this._name}},zl=class extends O1{forScope(e){return this}c(){return I.isNode()?""+this.runtime().get_document+"()":"globalThis.document"}},Hl=class extends na{c(){return I.isNode()?""+this.runtime().get_window+"()":"window"}},$l=class extends qe{constructor(e,t){super(...arguments),this._variable=e,this._scope=t}c(){let e=this._variable._name;return I.isNode()?(I.use(""+e),""+this.runtime().zone+".get('"+e+"',"+this._scope.context().c()+")"):""+e}},aa=class extends Ft{constructor(){super(...arguments);var e=this;e._path=e._options.path,e._exports={},e._touched={},e._head=ue("import "),e._head.c=e.head.bind(e),e.scope()._head.unshift(e._head);var t=function(r,i,n){return e.access(i)};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),r=Object.values(e._touched),i=[],n=e._path;n=="imba"&&(n=I.imbaPath()||"imba");let a="'"+n+"'";if(e._importAll&&i.push("import * as "+e._name+" from "+a+";"),t.length>0){let o=t.map(function(l){let f=e._exports[l].c();return f==l?l:""+l+" as "+f}).join(", ");i.push("import {"+o+"} from "+a+";")}return r.length&&i.push("("+r.map(function(o){return o.c()+"()"}).join(",")+");"),i.length?i.join(`
`):""}access(e,t){if(t===void 0&&(t=null),this._globalName)return ue(""+ye(this._globalName,t)+"."+ks(e));let r=ks(e,{mark:!1});return this._exports[r]||(this._exports[r]=new _l(this._name?""+this._name+"_"+r:r))}c(){return this._importAll||(this._importAll=!0),super.c(...arguments)}},L1=class extends aa{configure(e){return e.runtime=="global"||I.tsc()?this._globalName="imba":e.runtime&&(this._path=e.runtime),this}head(){return I.tsc()?"":super.head(...arguments)}c(){return this._importAll||(this._importAll=!0,I.current().warn("Referencing imba directly disables efficient tree-shaking")),this._c="imba"}},di=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==null?new br:e))}fromScope(e){return new Ul(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}},Ul=class extends di{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()}},Yl=class extends di{reference(){return this._reference||(this._reference=this.scope().lookup("global"))}c(e){return"globalThis";var t}isGlobalContext(){return!0}},Fs=class extends qe{constructor(e,t){super(...arguments),this._keyword=e,this._member=t}visit(){var e;return this._method=I.method(),this._up=I.parent(),(e=I.method())&&(e.set({supr:{node:I.blockpart(),block:I.block(),real:this}}),e.set({injectInitAfter:I.blockpart()})),this._method&&(this._class=I.up(Ms),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,r=ue("super"),i,n=this.option("top"),a=e&&e.option("inExtension"),o=this._args;if(a&&this._class&&(r=rt(I.corelib().sup$,[this.slf(),this._class.refSym()])),!(t instanceof st||t instanceof vs)){if(e&&e.isConstructor()&&!this._member){if(I.tsc()&&this._class&&!this._class._superclass)return o?"["+o.c()+"]":"";let l=this.option("target")||ue("super"),f=this.option("args")||[ue("...arguments")];return ye(rt(l,o||f).c(),this._keyword)}else this._member?i=le(".",r,this._member):e&&(i=le(".",r,e.name()),e.isSetter()?i=le("=",i,e.params().at(0)):e.isGetter()||o||(o=[ue("...arguments")]));return o&&(i=rt(i,o)),i?ye(i.c({mark:!1}),this._keyword):"/**/"}return this._member?le(".",r,this._member).c():t instanceof vs&&e&&!e.isConstructor()?le(".",r,e.name()).c():"super"}};Fs.callOp=function(s,e){let t=le(".",ue("super"),s);return rt(t,e||[ue("...arguments")])};var H0=new $n(`
`),ft=new $n(`
`),$m=new $n(`
`),t3=new Ss,xt=ue("this"),$0=ue("this.prototype"),s1=new Wn("true"),Po=new Xn("false"),Mi=new sl,Um=new c1,Ym=new il("arguments"),Kl="",Br="null",Km=["default","native","enum","with"],U0=/^(default|native|enum|with|new|char)$/;var C1={};function r3(s,e){if(s instanceof Array)for(let t=0;t<s.length;t++)s[t]=r3(s[t],e);else{if(typeof s=="string")return s.replace(/^\.\//,e+"/");if(s&&typeof s=="object")for(let[t,r]of Object.entries(s)){let i=t.replace(/^\.\//,e+"/");s[i]=r3(r,e),i!=t&&delete s[t]}}return s}function i3(s,{path:e,fs:t}){if(!e||!t||!s||s==e.dirname(s))return null;let r=e.resolve(s,"package.json");if(C1[r])return C1[r];if(C1[r]!==null&&t.existsSync(r)){let i=JSON.parse(t.readFileSync(r,"utf8")),n=i.imba||(i.imba={});return r3(n,s),n.package=i,n.cwd||(n.cwd=s),C1[r]=n}else C1[r]=null;return i3(e.dirname(s),{path:e,fs:t})}var Bs={},Y0=new Pe,qm=Qr,K0=new yt;Oi.lexer=Y0.jisonBridge();Oi.yy=s3;ws.prototype.lexer=Y0;ws.prototype.rewriter=K0;ws.prototype.parser=Oi;var Wm=Bs.resolveConfig=function(s){s===void 0&&(s={});let e=s.sourcePath;return s.config||(s.config=i3(e,s)||{}),s},Xm=Bs.deserialize=function(s,e){return e===void 0&&(e={}),ws.deserialize(s,e)},Jm=Bs.tokenize=function(s,e){return e===void 0&&(e={}),new ws(s,e).tokenize()},Zm=Bs.rewrite=function(s,e){return e===void 0&&(e={}),K0.rewrite(s,e)},Qm=Bs.parse=function(s,e){e===void 0&&(e={}),e=Bs.resolveConfig(e);var t=s instanceof Array?s:Bs.tokenize(s,e);try{return Oi.parse(t)}catch(r){throw r._code=s,e.sourcePath&&(r._sourcePath=e.sourcePath),r}},e7=Bs.compile=function(s,e){return e===void 0&&(e={}),new ws(s,Bs.resolveConfig(e)).compile()},t7=Bs.resolve=function(s,e){return e===void 0&&(e={}),new ws(s,Bs.resolveConfig(e)).compile()},Y4=Bs.analyze=function(s,e){e===void 0&&(e={});var t;try{var r=Bs.parse(s,e);t=r.analyze(e)}catch(i){if(!(i instanceof Ht))if(i.lexer)i=new Ht(i,{tokens:i.lexer.tokens,pos:i.lexer.pos});else throw i;t={warnings:[i]}}return t};var qu={};wn(qu,{CompletionTypes:()=>Es,Group:()=>_t,ImbaDocument:()=>h2,KeywordTypes:()=>Be,Keywords:()=>V1,M:()=>St,Monarch:()=>u2,Node:()=>fa,Position:()=>_i,Range:()=>wr,Scope:()=>ys,SemanticTokenModifiers:()=>xd,SemanticTokenTypes:()=>ua,Sym:()=>hr,SymbolFlags:()=>De,SymbolKind:()=>Gt,Token:()=>zs,grammar:()=>Zl,highlight:()=>Hd,lexer:()=>Qi});var oa=Symbol.for("#source"),s7=Symbol.for("#lineText"),r7=Symbol.for("#version"),q0=new WeakMap,W0=Symbol(),n3=class n3{[jt](e=null,t=!0,r=!0){this.line=e?e.line:void 0,this.character=e?e.character:void 0,this.offset=e?e.offset:void 0}constructor(e,t,r,i=null){this[jt](),this.line=e,this.character=t,this.offset=r,this[r7]=i,Xt(this,W0)}toString(){return""+this.line+":"+this.character}valueOf(){return this.offset}};je(n3,W0,"Position",16);var _i=n3,X0=Symbol(),a3=class a3{[jt](e=null,t=!0,r=!0){this.start=e?e.start:void 0,this.end=e?e.end:void 0}constructor(e,t){this[jt](),this.start=e,this.end=t,Xt(this,X0)}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}};je(a3,X0,"Range",16);var wr=a3,i7={Error:1,Warning:2,Information:3,Hint:4,error:1,warning:2,warn:2,info:3,hint:4},J0=Symbol(),o3=class o3{constructor(e,t=null){this.range=e.range,this.severity=i7[e.severity]||e.severity,this.code=e.code,this.source=e.source,this.message=e.message,q0.set(this,t),Xt(this,J0)}get[oa](){return q0.get(this)}get[s7](){return this[oa].doc.getLineText(this.range.start.line)}toSnippet(){let e=this.range.start,t=this.range.end,r=""+this[oa].sourcePath+":"+(e.line+1)+":"+(e.character+1)+": "+this.message,i=this[oa].doc.getLineText(e.line),n=[r,i];return n.push(i.replace(/[^\t]/g," ").slice(0,e.character)+"^".repeat(t.character-e.character)),n.join(`
`).replace(/\t/g," ")+`
`}toError(){let e=this.range.start,t=this.range.end,r=""+this[oa].sourcePath+":"+(e.line+1)+":"+(e.character+1)+": "+this.message,i=new SyntaxError(r),n=this[oa].doc.getLineText(e.line),a=[r,n];return a.push(n.replace(/[^\t]/g," ").slice(0,e.character)+"^".repeat(t.character-e.character)),i.stack=`
`+a.join(`
`).replace(/\t/g," ")+`
`,i}raise(){throw this.toError()}};je(o3,J0,"Diagnostic",16);var Z0=o3;var Q0=Symbol(),c3=class c3{constructor(e,t){this.cache={},this.rules=e,this.matcher=t,Xt(this,Q0)}convert(e){for(let t=0,r=nt(this.rules),i=r.length;t<i;t++){let n=r[t];if(this.matcher&&this.matcher(n[0],e))return e[1]}return 0}};je(c3,Q0,"Converter",16);var ed=c3;function la(s,e,t=1e5,r=1e5){let i=s;for(;i&&t>0&&r>0;){if(i.match(e))return i;t--,(i.type=="br"||i.value==`
`)&&r--,i=i.prev}return null}function td(s){return"Γ"+l7(s)}function h3(s,e,t){t===void 0&&(t=0);for(var r=e?[t]:[],i=0;i<s.length;){var n=s.charCodeAt(i);(n===13||n===10)&&(n===13&&i+1<s.length&&s.charCodeAt(i+1)===10&&i++,r.push(t+i+1)),i++}return r}function sd(s){var e=s.start,t=s.end;return e.line>t.line||e.line===t.line&&e.character>t.character?new wr(t,e):Bt(s,wr)?s:new wr(e,t)}function rd(s){return s!=null&&typeof s.text=="string"&&s.range===void 0}function id(s){let e=s.split(/\n/),t=[],r={indent:-1,children:[]},i=r,n,a=Date.now();for(let o=0,l=nt(e),f=l.length;o<f;o++){let h=l[o];if(h.match(/^\s*$/))continue;let p=h.match(/^\t*/)[0].length;for(;r.indent>=p;)r=r.parent||i;if(n=h.match(/^(\t*((?:export )?(?:static )?(?:extend )?)(class|tag|def|get|set|prop|attr) )(\@?[\w\-\$\:]+(?:\.[\w\-\$]+)?)/),n){let m=n[3],d=n[4],b=r.name?r.name+".":"",g=n[2].trim().split(/\s+/),w="",_={start:{line:o,character:n[1].length},end:{line:o,character:n[0].length}},x={kind:m,ownName:d,name:b+d,span:_,indent:p,modifiers:g,children:[],parent:r==i?null:r,type:m,data:{},static:g.indexOf("static")>=0,extends:g.indexOf("extend")>=0};x.static&&(x.containerName="static"),x.containerName=n[2]+n[3],m=="tag"&&(n=h.match(/\<\s+([\w\-\$\:]+(?:\.[\w\-\$]+)?)/))&&(x.superclass=n[1]),r.type=="tag"&&(w="```html\n<"+r.name+" "+d+">\n```\n",x.description={kind:"markdown",value:w}),r.children.push(x),r=x,t.push(x)}}return i.all=t,i}var n7={"-":"Ξ","?":"Φ","#":"Ψ","@":"α"},a7=new RegExp("[-?#@]","gu"),o7=function(s){return n7[s]};function l7(s){return s.replace(a7,o7)}var h7={Ξ:"-",Φ:"?",Ψ:"#",Γ:"",α:"@"},c7=new RegExp("[ΞΦΨΓα]","gu"),u7=function(s){return h7[s]};function f7(s){return s&&s.replace(c7,u7)}var Wl={"":[-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}]},ql={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},l3=Object.keys(Wl);for(let s=0,e=nt(l3),t=e.length;s<t;s++){let r=e[s],i=Wl[r];i.up=Wl[l3[i[0]]],i.name=r+"Element",i.props=i[1]}for(let s=0,e=Object.keys(ql),t=e.length,r,i;s<t;s++)r=e[s],i=ql[r],ql[r]=Wl[l3[i]];function nd(s){let e=f7(s);return ql[e]}var u3=[/^/,{token:"@rematch",next:"@pop"}],ad={token:"@rematch",next:"@pop"},od={token:"white.indent",next:"@>illegal_indent"};function d7(s,e="#"){typeof s=="string"&&(s=s.split(" "));let t=s.slice().sort(function(r,i){return i.length-r.length});return t=t.map(function(r){let i=r.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&");return e.replace("#",i)}),new RegExp("(?:"+t.join("|")+")")}function ot(s,e,t,r={}){var o;var i;s==null?s=od:s==1?s={next:"@>"}:s==2?s={next:"@>_indent&-_indent"}:typeof s=="string"&&(s={next:s}),e==-1&&(e=ad),t==-1?t=ad:t==0&&((o=r.comment)!=null||(r.comment=!0),t={}),s=Object.assign({token:"white.tabs"},s||{}),t=Object.assign({token:"white.tabs"},t||{}),e=Object.assign({token:"@rematch",next:"@pop"},e||{});let n={"$1==$S2 ":s,"$1==$S2":{cases:{"$1==$S6":t,"@default":{token:"@rematch",switchTo:"@*$1"}}},"@default":e};i=0;for(let l of["next","switchTo"]){let f=i++;s[l]&&s[l].indexOf("*")==-1&&(s[l]+="*$1")}let a=[/^(\t*)(?=[^ \t\n])/,{cases:n}];if(r.comment){let l={};for(let f=0,h=Object.keys(n),p=h.length,m,d;f<p;f++){m=h[f],d=n[m];let b=Object.assign({},d);!b.next&&!b.switchTo&&(b.next="@>_comment"),l[m]=b}return[[/^(\t*)(?=#\s|#$)/,{cases:l}],a]}return a}var f3={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:[ot()],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"],ot("@>_paren_indent&-_indent",null,null),[/^(\t+)(?=[\r\n]|$)/,"white.tabs"],"whitespace"],_indent:[ot(2,-1,0),"block_"],_paren_indent:[ot(2,-1,0),"block_",[/\)|\}|\]/,"@rematch","@pop"]],block:[ot("@>",-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:[u3,[/\)|\}|\]|\>/,"@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:[u3,[/,|\}|\]|\)/,"@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:[ot("@>block",-1,0),"block_"],_try:[ot("@>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:[ot(null,-1,-1),[/\(/,"(",{switchTo:"@_do_params"}],[/./,"@rematch",{switchTo:"@_do"}]],do_piped:[ot(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:[ot(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:[ot({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:[ot(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:[ot(null,-1,0),[/["']/,"path.open","@_path=$#"],u3],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:[ot(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:[ot({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:[ot(2,-1,0),"block_"],for_start:[ot({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:[ot({switchTo:"@>for_body"},-1,{switchTo:"@for_body"}),"expr_",[/[ \t]+/,"white"]],for_body:[ot(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:[ot(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:[ot(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:[ot(od,-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:[ot(2,-1,-1),"block_"],_def:[ot(2,-1,0),"block_"],_flow:[ot(2,-1,0),"block_"],_varblock:[ot(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:[ot(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"],ot({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:[ot(-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:[ot(null,-1,0),[/(?=@cssPropertyKey)/,"","@css_property&-_styleprop-_stylepropkey"],[/#(\s.*)?\n?$/,"comment"],[/(?=[\%\*\w\&\$\>\.\[\@\!]|\#[\w\-])/,"","@>css_selector&rule-_sel"],[/\s+/,"white"]],css_selector:[ot({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:[ot(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:[ot({switchTo:"@>css_multiline_value"},-1,-1),[/@cssPropertyKey/,"@rematch","@pop"],[/;/,"style.delimiter","@pop"],[/(\}|\)|\])/,"@rematch","@pop"],"css_value_"],css_multiline_value:[ot(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:[ot(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 Xl(s){let e=["$S1","$S2","$S3","$S4","$S5","$S6"];if(s.match(/\@(pop|push|popall)/)||(s[0]=="@"&&(s=s.slice(1)),s.indexOf(".")>=0))return s;s=Jl(s),s[0]==">"&&(e[1]="$S6 ",s=s.slice(1));for(let t=0,r=nt(s.split(/(?=[\/\&\=\*])/)),i=r.length;t<i;t++){let n=r[t];n[0]=="&"?n[1]=="-"||n[1]=="_"?e[2]="$S3"+n.slice(1):e[2]="$S3-"+n.slice(1):n[0]=="+"?e[3]="$S4-"+n.slice(1):n[0]=="="?e[3]=n.slice(1):n[0]=="/"?e[4]=n.slice(1):n[0]=="*"?e[5]=n.slice(1):e[0]=n}return e.join(".")}function Jl(s){let e=s;return s=s.replace("$/","$S5"),s=s.replace("$F","$S4"),s=s.replace("$&","$S3"),s=s.replace("$I","$S2"),s=s.replace("$T","$S2"),s}function p3(s,e){if(typeof s=="string"&&(s={token:s}),s&&s.token!=null)s.token=Jl(s.token),typeof e=="string"?s.next=e:e&&Object.assign(s,e),s.next&&(s.next=Xl(s.next)),s.switchTo&&(s.switchTo=Xl(s.switchTo));else if(s&&s.cases){let t={};for(let r=s.cases,i=0,n=Object.keys(r),a=n.length,o,l;i<a;i++){o=n[i],l=r[o];let f=Jl(o);t[f]=p3(l)}s.cases=t}else if(Bt(s,Array)){let t=[],r=null;for(let i=0,n=nt(s),a=n.length;i<a;i++){let o=n[i];o[0]=="@"&&i==s.length-1&&r&&(o={next:o}),typeof o=="object"?o.token!=null||o.cases?t.push(r=Object.assign({},o)):Object.assign(r,o):typeof o=="string"&&t.push(r={token:Jl(o)})}s=t}if(Bt(s,Array))for(let t=0,r=nt(s),i=r.length;t<i;t++){let n=r[t];n.token&&n.token.indexOf("$$")>=0&&(n.token=n.token.replace("$$","$"+(t+1))),n.next&&(n.next=Xl(n.next)),n.switchTo&&(n.switchTo=Xl(n.switchTo))}return s}for(let s=0,e=Object.keys(f3),t=e.length,r,i;s<t;s++){r=e[s],i=f3[r];let n=0;for(;n<i.length;){let a=i[n];if(Bt(a[0],Array)){i.splice(n,1,...a);continue}else typeof a=="string"?i[n]={include:a}:Bt(a[1],Array)?a[1]=p3(a[1]):Bt(a,Array)&&a.splice(1,2,p3(a[1],a[2]));n++}}var Zl={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:d7("... . .. + * ++ --"),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:f3};function _7(s){return Array.isArray(s)}function ld(s){return!_7(s)}function _3(s){return typeof s=="string"}function hd(s){return!_3(s)}function cd(s){return!s}function Zi(s,e){return s.ignoreCase&&e?e.toLowerCase():e}function m3(s){return s.replace(/[&<>'"_]/g,"-")}function ud(s,e){console.log(`${s.languageId}: ${e}`)}function pt(s,e){return new Error(`${s.languageId}: ${e}`)}var fd={};function m7(s){let e=[],t=0,r=s.length,i="",n=0;for(;t<r;){let a=s[t++];if(a=="$"){let o=s[t++];if(o=="$"){i+="$";continue}i&&e.push(i),i="",o=="#"?e.push(0):o=="S"?e.push(parseInt(s[t++])+100):e.push(parseInt(o)+1)}else i+=a}return i&&e.push(i),fd[s]=e,e}function zr(s,e,t,r,i){let n=null,a=fd[e]||m7(e),o="";for(let l=0;l<a.length;l++){let f=a[l];typeof f=="string"?o+=f:f>100?(n===null&&(n=i.split(".")),o+=n[f-101]||""):f===100?o+=i:f===0?o+=t:f>0&&(o+=r[f-1])}return o}var d3={};function Ql(s,e){let t=e;if(d3[t])return s.tokenizer[d3[t]];for(;t&&t.length>0;){let r=s.tokenizer[t];if(r)return d3[e]=t,r;let i=t.lastIndexOf(".");i<0?t=null:t=t.substr(0,i)}return null}function pd(s,e){let t=e;for(;t&&t.length>0;){if(s.stateNames[t])return!0;let i=t.lastIndexOf(".");i<0?t=null:t=t.substr(0,i)}return!1}function v7(s,e){if(!e||!Array.isArray(e))return!1;for(let t of e)if(!s(t))return!1;return!0}function _d(s,e){return typeof s=="boolean"?s:e}function md(s,e){return typeof s=="string"?s:e}function y7(s){let e={};for(let t of s)e[t]=!0;return e}function gd(s,e=!1){e&&(s=s.map(function(r){return r.toLowerCase()}));let t=y7(s);return e?function(r){return t[r.toLowerCase()]!==void 0&&t.hasOwnProperty(r.toLowerCase())}:function(r){return t[r]!==void 0&&t.hasOwnProperty(r)}}function g3(s,e){let t=0;for(;e.indexOf("@")>=0&&t<5;)t++,e=e.replace(/@(\w+)/g,function(r,i){let n="";if(typeof s[i]=="string")n=s[i];else if(s[i]&&s[i]instanceof RegExp)n=s[i].source;else throw s[i]===void 0?pt(s,"language definition does not contain attribute '"+i+"', used at: "+e):pt(s,"attribute reference '"+i+"' must be a string, used at: "+e);return cd(n)?"":"(?:"+n+")"});return new RegExp(e,s.ignoreCase?"i":"")}function b7(s,e,t,r){if(r<0)return s;if(r<e.length)return e[r];if(r>=100){r=r-100;let i=t.split(".");if(i.unshift(t),r<i.length)return i[r]}return null}function x7(s,e,t,r){let i=-1,n=t,a=t.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 f;if((o==="~"||o==="!~")&&/^(\w|\|)*$/.test(l)){let h=gd(l.split("|"),s.ignoreCase);f=function(p){return o==="~"?h(p):!h(p)}}else if(o==="@"||o==="!@"){let h=s[l];if(!h)throw pt(s,"the @ match target '"+l+"' is not defined, in rule: "+e);if(!v7(function(m){return typeof m=="string"},h))throw pt(s,"the @ match target '"+l+"' must be an array of strings, in rule: "+e);let p=gd(h,s.ignoreCase);f=function(m){return o==="@"?p(m):!p(m)}}else if(o==="~"||o==="!~")if(l.indexOf("$")<0){let h=g3(s,"^"+l+"$");f=function(p){return o==="~"?h.test(p):!h.test(p)}}else f=function(h,p,m,d){return g3(s,"^"+zr(s,l,p,m,d)+"$").test(h)};else if(l.indexOf("$")<0){let h=Zi(s,l);f=function(p){return o==="=="?p===h:p!==h}}else{let h=Zi(s,l);f=function(p,m,d,b,g){let w=zr(s,h,m,d,b);return o==="=="?p===w:p!==w}}return i===-1?{name:t,value:r,test:function(h,p,m,d){return f(h,h,p,m,d)}}:{name:t,value:r,test:function(h,p,m,d){let b=b7(h,p,m,i);return f(b||"",h,p,m,d)}}}function v3(s,e,t){if(t){if(typeof t=="string")return t;if(t.token||t.token===""){if(typeof t.token!="string")throw pt(s,"a 'token' attribute must be of type string, in rule: "+e);{let r={token:t.token};if(t.token.indexOf("$")>=0&&(r.tokenSubst=!0),typeof t.bracket=="string")if(t.bracket==="@open")r.bracket=1;else if(t.bracket==="@close")r.bracket=-1;else throw pt(s,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+e);if(t.next){if(typeof t.next!="string")throw pt(s,"the next state must be a string value in rule: "+e);{let i=t.next;if(!/^(@pop|@push|@popall)$/.test(i)&&(i[0]==="@"&&(i=i.substr(1)),i.indexOf("$")<0&&!pd(s,zr(s,i,"",[],""))))throw pt(s,"the next state '"+t.next+"' is not defined in rule: "+e);r.next=i}}return typeof t.goBack=="number"&&(r.goBack=t.goBack),typeof t.switchTo=="string"&&(r.switchTo=t.switchTo),typeof t.log=="string"&&(r.log=t.log),typeof t._push=="string"&&(r._push=t._push),typeof t._pop=="string"&&(r._pop=t._pop),typeof t.mark=="string"&&(r.mark=t.mark),typeof t.fn=="string"&&(r.fn=t.fn),typeof t.nextEmbedded=="string"&&(r.nextEmbedded=t.nextEmbedded,s.usesEmbedded=!0),r}}else if(Array.isArray(t)){let r=[];for(let i=0,n=t.length;i<n;i++)r[i]=v3(s,e,t[i]);return{group:r}}else if(t.cases){let r=[];for(let n in t.cases)if(t.cases.hasOwnProperty(n)){let a=v3(s,e,t.cases[n]);n==="@default"||n==="@"||n===""?r.push({test:void 0,value:a,name:n}):n==="@eos"?r.push({test:function(o,l,f,h){return h},value:a,name:n}):r.push(x7(s,e,n,a))}let i=s.defaultToken;return{test:function(n,a,o,l){for(let f of r)if(!f.test||f.test(n,a,o,l))return f.value;return i}}}else throw pt(s,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+e)}else return{token:""}}var y3=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 r;if(typeof t=="string")r=t;else if(t instanceof RegExp)r=t.source;else throw pt(e,"rules must start with a match string or regular expression: "+this.name);r.length==2&&r[0]=="\\"&&/[\{\}\(\)\[\]]/.test(r[1])&&(this.string=r[1]),this.matchOnlyAtLineStart=r.length>0&&r[0]==="^",this.name=this.name+": "+r,this.regex=g3(e,"^(?:"+(this.matchOnlyAtLineStart?r.substr(1):r)+")")}setAction(e,t){this.action=v3(e,this.name,t)}};function e2(s,e){if(!e||typeof e!="object")throw new Error("Monarch: expecting a language definition object");let t={};t.languageId=s,t.noThrow=!1,t.maxStack=100,t.start=typeof e.start=="string"?e.start:null,t.ignoreCase=_d(e.ignoreCase,!1),t.tokenPostfix=md(e.tokenPostfix,"."+t.languageId),t.defaultToken=md(e.defaultToken,"source"),t.usesEmbedded=!1;let r=e;r.languageId=s,r.ignoreCase=t.ignoreCase,r.noThrow=t.noThrow,r.usesEmbedded=t.usesEmbedded,r.stateNames=e.tokenizer,r.defaultToken=t.defaultToken;function i(a,o,l){for(let f of l){let h=f.include;if(h){if(typeof h!="string")throw pt(t,"an 'include' attribute must be a string at: "+a);if(h[0]==="@"&&(h=h.substr(1)),!e.tokenizer[h])throw pt(t,"include target '"+h+"' is not defined at: "+a);i(a+"."+h,o,e.tokenizer[h])}else{let p=new y3(a);if(Array.isArray(f)&&f.length>=1&&f.length<=3)if(p.setRegex(r,f[0]),f.length>=3)if(typeof f[1]=="string")p.setAction(r,{token:f[1],next:f[2]});else if(typeof f[1]=="object"){let m=f[1];m.next=f[2],p.setAction(r,m)}else throw pt(t,"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 p.setAction(r,f[1]);else{if(!f.regex)throw pt(t,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+a);f.name&&typeof f.name=="string"&&(p.name=f.name),f.matchOnlyAtStart&&(p.matchOnlyAtLineStart=_d(f.matchOnlyAtLineStart,!1)),p.setRegex(r,f.regex),p.setAction(r,f.action)}o.push(p)}}}if(!e.tokenizer||typeof e.tokenizer!="object")throw pt(t,"a language definition must define the 'tokenizer' attribute as an object");t.tokenizer=[];for(let a in e.tokenizer)if(e.tokenizer.hasOwnProperty(a)){t.start||(t.start=a);let o=e.tokenizer[a];t.tokenizer[a]=new Array,i("tokenizer."+a,t.tokenizer[a],o)}if(t.usesEmbedded=r.usesEmbedded,e.brackets){if(!Array.isArray(e.brackets))throw pt(t,"the 'brackets' attribute must be defined as an array")}else e.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 e.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 pt(t,"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+t.tokenPostfix,open:Zi(t,o.open),close:Zi(t,o.close)});else throw pt(t,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return t.brackets=n,t.noThrow=!0,t}var zs=class s{_tokenBrand;offset;type;language;value;scope;stack;mods;kind;symbol;next;context;prev;op;constructor(e,t,r){this.offset=e|0,this.type=t,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 e=new s(this.offset,this.type,this.language);return e.value=this.value,e.stack=this.stack,e}match(e){if(typeof e=="string")if(e.indexOf(" ")>0)e=e.split(" ");else{let t=this.type.indexOf(e);return e[0]=="."?t>=0:t==0}if(e instanceof Array)for(let t of e){let r=this.type.indexOf(t);if(t[0]=="."?r>=0:r==0)return!0}return e instanceof RegExp?e.test(this.type):!1}},t2=class{_tokenizationResultBrand;tokens;endState;constructor(e,t){this.tokens=e,this.endState=t}};var vd=10;function M1(s,e){return s.split(".")[e]}var D1=class s{static _INSTANCE=new s(vd);static create(e,t){return this._INSTANCE.create(e,t)}_maxCacheDepth;_entries;constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(e!==null&&e.depth>=this._maxCacheDepth)return new ha(e,t);let r=ha.getStackElementId(e);r.length>0&&(r+="|"),r+=t;let i=this._entries[r];return i||(i=new ha(e,t),this._entries[r]=i,i)}},ha=class s{parent;state;depth;constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;e!==null;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;e!==null&&t!==null;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return e===null&&t===null}get indent(){return this.state.lastIndexOf(" ")-this.state.indexOf(" ")}get scope(){return this.part(2)}get detail(){return this.part(2)}part(e){return this.state.split(".")[e]}equals(e){return s._equals(this,e)}push(e){return D1.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return D1.create(this.parent,e)}},P1=class s{static _INSTANCE=new s(vd);static create(e){return this._INSTANCE.create(e)}_maxCacheDepth;_entries;constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e){if(e!==null&&e.depth>=this._maxCacheDepth)return new s2(e);let t=ha.getStackElementId(e),r=this._entries[t];return r||(r=new s2(e),this._entries[t]=r,r)}},s2=class s{stack;constructor(e){this.stack=e}clone(){return P1.create(this.stack)}equals(e){return!(!(e instanceof s)||!this.stack.equals(e.stack))}},b3=class{_tokens;_language;_lastTokenType;_lastToken;constructor(){this._tokens=[],this._language=null,this._lastToken=new zs(0,"start","imba"),this._lastTokenType=null}enterMode(e,t){this._language=t}emit(e,t,r){this._lastTokenType;let i=new zs(e,t,this._language);return this._lastTokenType=t,this._lastToken=i,this._tokens.push(i),i}finalize(e){return new t2(this._tokens,e)}},ca=class{_modeId;_lexer;_profile;constructor(e,t){this._modeId=e,this._lexer=t,this._profile=!1}dispose(){}getLoadStatus(){return{loaded:!0}}getInitialState(){let e=D1.create(null,this._lexer.start);return P1.create(e)}tokenize(e,t,r){let i=new b3,n=this._tokenize(e,t,r,i);return i.finalize(n)}_tokenize(e,t,r,i){return this._myTokenize(e,t,r,i)}_safeRuleName(e){return e?e.name:"(unknown)"}_rescope(e,t,r,i){let n=(e||"").split("-"),a=(t||"").split("-");if(e==t)return;let o=1;for(;n[o]&&n[o]==a[o];)o++;let l=n.length;for(;l>o;)r.push("pop."+n[--l]+"."+l);for(;a.length>o;){let f="push."+a[o++]+"."+(o-1);if(i){let h=M1(i,1);f+="."+h}r.push(f)}}_myTokenize(e,t,r,i){i.enterMode(r,this._modeId);let n=e.length,a=t.stack,o=null,l=0,f=this._profile,h=null,p=!0,m=[],d=0,b=[],g=null;for(;p||l<n;){if(d++,d>1e3)throw console.log("infinite recursion"),"infinite recursion in tokenizer?";let w=l,_=a.depth,x=h?h.groups.length:0,v=a.state,C=null,A=null,E=null,S=null;if(h){C=h.matches;let L=h.groups.shift();A=L.matched,E=L.action,S=h.rule,h.groups.length===0&&(h=null)}else{if(!p&&l>=n)break;if(p=!1,b=this._lexer.tokenizer[v],!b&&(b=Ql(this._lexer,v),!b))throw pt(this._lexer,"tokenizer state is not defined: "+v);let L=e.substr(l);for(let y of b)if(y.string!==void 0){if(L[0]===y.string){C=[y.string],A=y.string,E=y.action;break}}else if(l===0||!y.matchOnlyAtLineStart){if(f){y.stats.count++;let M=performance.now();C=L.match(y.regex),y.stats.time+=performance.now()-M,C&&y.stats.hits++}else C=L.match(y.regex);if(C){A=C[0],E=y.action;break}}}if(C||(C=[""],A=""),E||(l<n&&(C=[e.charAt(l)],A=C[0]),E=this._lexer.defaultToken),A===null)break;for(l+=A.length;ld(E)&&hd(E)&&E.test;)E=E.test(A,C,v,l===n);let T=null;if(typeof E=="string"||Array.isArray(E))T=E;else if(E.group)T=E.group;else if(E.token!==null&&E.token!==void 0){if(E.tokenSubst?T=zr(this._lexer,E.token,A,C,v):T=E.token,E.goBack&&(l=Math.max(0,l-E.goBack)),E.switchTo&&typeof E.switchTo=="string"){let L=zr(this._lexer,E.switchTo,A,C,v);if(L[0]==="@"&&(L=L.substr(1)),Ql(this._lexer,L)){let y=a.scope,M=M1(L,2);y!==M&&this._rescope(y,M,m,L),a=a.switchTo(L)}else throw pt(this._lexer,"trying to switch to a state '"+L+"' that is undefined in rule: "+this._safeRuleName(S))}else{if(E.transform&&typeof E.transform=="function")throw pt(this._lexer,"action.transform not supported");if(E.next)if(E.next==="@push"){if(a.depth>=this._lexer.maxStack)throw pt(this._lexer,"maximum tokenizer stack size reached: ["+a.state+","+a.parent.state+",...]");a=a.push(v)}else if(E.next==="@pop"){if(a.depth<=1)throw pt(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(S));{let L=a;a=a.pop();let y=M1(L.state,2),M=M1(a.state,2);y!==M&&this._rescope(y,M,m,a.state)}}else if(E.next==="@popall")a=a.popall();else{let L=zr(this._lexer,E.next,A,C,v);L[0]==="@"&&(L=L.substr(1));let y=M1(L,2);if(Ql(this._lexer,L))y!=a.scope&&this._rescope(a.scope||"",y,m,L),a=a.push(L);else throw pt(this._lexer,"trying to set a next state '"+L+"' that is undefined in rule: "+this._safeRuleName(S))}}E.log&&typeof E.log=="string"&&ud(this._lexer,this._lexer.languageId+": "+zr(this._lexer,E.log,A,C,v)),E.mark&&i.emit(w+r,E.mark,a)}if(T===null)throw pt(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(S));if(Array.isArray(T)){if(h&&h.groups.length>0)throw pt(this._lexer,"groups cannot be nested: "+this._safeRuleName(S));if(C.length!==T.length+1)throw pt(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(S));let L=0;for(let y=1;y<C.length;y++)L+=C[y].length;if(L!==A.length)throw pt(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(S));h={rule:S,matches:C,groups:[]};for(let y=0;y<T.length;y++)h.groups[y]={action:T[y],matched:C[y+1]};l-=A.length;continue}else{if(T==="@rematch"&&(l-=A.length,A="",C=null,T=""),A.length===0)if(n===0||_!==a.depth||v!==a.state||(h?h.groups.length:0)!==x){for(typeof T=="string"&&T&&i.emit(l+r,T,a);m.length>0;)i.emit(l+r,m.shift(),a);continue}else throw pt(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(S));let L=null;if(_3(T)&&T.indexOf("@brackets")===0){let M=T.substr(9),j=w7(this._lexer,A);if(!j)throw pt(this._lexer,"@brackets token returned but no bracket defined as: "+A);L=m3(j.token+M)}else{let M=T===""?"":T+this._lexer.tokenPostfix;L=m3(M)}let y=i.emit(w+r,L,a);for(y.stack=a,o&&o!=y&&(o.value=e.slice(o.offset-r,w)),o=y;m.length>0;)i.emit(l+r,m.shift(),a)}}return o&&!o.value&&(o.value=e.slice(o.offset-r)),P1.create(a)}};function w7(s,e){if(!e)return null;e=Zi(s,e);let t=s.brackets;for(let r of t){if(r.open===e)return{token:r.token,bracketType:1};if(r.close===e)return{token:r.token,bracketType:-1}}return null}var k7=Symbol(),x3=class x3{get node(){return this.scope&&this.scope.start==this?this.scope:this.pops?this.pops:this}get nextNode(){var e;return(e=this.next)==null?void 0:e.node}get prevNode(){var e;return(e=this.prev)==null?void 0:e.node}};je(x3,k7,"Token",1,zs);var yd=x3,bd=Symbol(),i2=class i2{constructor(e=null){this[jt](e),Xt(this,bd)}[jt](e=null,t=!0,r=!0){this.offset=e?e.offset:void 0,this.text=e?e.text:void 0,this.tokens=e?e.tokens:void 0,this.startState=e?e.startState:void 0,this.endState=e?e.endState:void 0}clone(e=this.offset){let t=[],r=e-this.offset;for(let i=0,n=nt(this.tokens),a=n.length;i<a;i++){let o=n[i],l=o.clone();l.offset=o.offset+r,t.push(l)}return new i2({offset:e,startState:this.startState,endState:this.endState,text:this.text,tokens:t})}};je(i2,bd,"LexedLine",16);var r2=i2,T7=e2("imba",Zl),Qi=new ca("imba",T7);var ua=["comment","string","keyword","number","regexp","operator","namespace","type","struct","class","interface","enum","typeParameter","function","member","macro","variable","parameter","property","label"];for(let s=0,e=nt(ua),t=e.length;s<t;s++){let r=e[s];ua[r]=s}var St={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},xd=Object.keys(St).map(function(s){return s.toLowerCase()});for(let s=0,e=nt(Object.keys(St)),t=e.length;s<t;s++){let r=e[s];St[r.toLowerCase()]=St[r]}var Es={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},Be={Keyword:1,Root:2,Class:4,Block:8},V1={and:Be.Block,await:Be.Block,begin:Be.Block,break:Be.Block,by:Be.Block,case:Be.Block,catch:Be.Block,class:Be.Block,const:Be.Block,continue:Be.Block,css:Be.Class|Be.Root,debugger:Be.Block,def:Be.Class|Be.Block,get:Be.Class,set:Be.Class,delete:Be.Block,do:Be.Block,elif:Be.Block,else:Be.Block,export:Be.Root,extends:Be.Block,false:Be.Block,finally:Be.Block,for:Be.Block,if:Be.Block,import:Be.Root,in:Be.Block,instanceof:Be.Block,is:Be.Block,isa:Be.Block,isnt:Be.Block,let:Be.Block,loop:Be.Block,module:Be.Block,nil:Be.Block,no:Be.Block,not:Be.Block,null:Be.Block,of:Be.Block,or:Be.Block,require:Be.Block,return:Be.Block,self:Be.Block,static:Be.Block|Be.Class,super:Be.Block,switch:Be.Block,tag:Be.Root,then:Be.Block,this:Be.Block,throw:Be.Block,true:Be.Block,try:Be.Block,typeof:Be.Block,undefined:Be.Block,unless:Be.Block,until:Be.Block,var:Be.Block,when:Be.Block,while:Be.Block,yes:Be.Block},Gt={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},n2={};for(let s=0,e=Object.keys(Gt),t=e.length,r,i;s<t;s++){r=e[s],i=Gt[r];let n=r.replace(/([a-z])([A-Z])/g,function(a,o,l){return""+o+" "+l});n=n.toLowerCase(),n=="variable"&&(n="var"),n2[r]=n2[i]=n}for(let s=0,e=Object.keys(Gt),t=e.length,r,i;s<t;s++)r=e[s],i=Gt[r],Gt[i]=r;var F1=Symbol.for("#datatype"),w3=Symbol.for("#scope"),De={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};De.Component=De.LocalComponent|De.GlobalComponent;De.Variable=De.LetVariable|De.ConstVariable|De.Parameter;De.Accessor=De.GetAccessor|De.SetAccessor;De.ClassMember=De.Method|De.Accessor|De.Property;De.Scoped=De.Function|De.Variable|De.Class|De.Enum|De.LocalComponent;De.Entity=De.ClassMember|De.Function;De.Type=De.Component|De.Class;De.GlobalVar=De.ConstVariable|De.IsGlobal;var wd=[["entity.name.component.local",0,De.LocalComponent],["entity.name.component.global",0,De.GlobalComponent],["entity.name.function",0,De.Function],["entity.name.class",0,De.Class],["entity.name.constructor",0,De.Method],["entity.name.def",0,De.Method],["entity.name.get",0,De.GetAccessor],["entity.name.set",0,De.SetAccessor],["field",0,De.Property],["decl-let",0,De.LetVariable],["decl-for-index",0,De.LetVariable,{datatype:"\\number"}],["decl-for",0,De.LetVariable,{kind:"for"}],["decl-var",0,De.LetVariable],["decl-param",0,De.Parameter],["decl-const",0,De.ConstVariable],["decl-import-type",0,De.TypeAlias],["decl-import",0,De.ConstVariable]],k3={},kd=Symbol(),T3=class T3{[jt](e=null,t=!0,r=!0){var i;this.value=e?e.value:void 0,this.body=e&&(i=e.body)!==void 0?i:null}static typeMatch(e){if(k3[e]!=null)return k3[e];for(let t=0,r=nt(wd),i=r.length;t<i;t++){let[n,a,o,l]=r[t];if(e.indexOf(n)>=0)return k3[e]=wd[t]}return null}static forToken(e,t,r=0){let i=this.typeMatch(t);return i?new this(i[2],e.value,e,i[3]):null}constructor(e,t,r,i=null){this[jt](),this.flags=e,this.name=t,this.node=r,this.desc=i,Xt(this,kd)}get importSource(){return this.importedΦ?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Φ)return null;let e=this.node.context.closest("imports");return{exportName:this.exportName,name:this.node.value,isTypeOnly:e.isTypeOnly,path:e.sourcePath}}get datatype(){var n;let e,t=this.desc&&this.desc.datatype;if(t)return t;if(this[F1])return this[F1];let r=this.node&&this.node.nextNode;if(r&&r.type=="type")return r;let i=this.scope;if(i&&((n=this.desc)==null?void 0:n.kind)=="for"){let a=i.doc.getDestructuredPath(this.node,[[i.expression,"__@iterable"]]);return this[F1]||(this[F1]=a)}return(e=this.importInfo)?e:null}get staticΦ(){return this.node&&this.node.mods&St.Static}get entityΦ(){return this.flags&De.Entity}get itervarΦ(){return this.node&&this.node.match(".decl-for")}get variableΦ(){return this.flags&De.Variable}get parameterΦ(){return this.flags&De.Parameter}get memberΦ(){return this.flags&De.ClassMember}get scopedΦ(){return this.flags&De.Scoped}get typeΦ(){return this.flags&De.Type}get globalΦ(){return!this[w3]}get rootΦ(){return this[w3]&&this[w3].rootΦ}get importedΦ(){return this.node&&this.node.match(".decl-import")}get componentΦ(){return this.flags&De.Component}get escapedName(){return this.name}get scope(){var e,t;return(t=(e=this.node)==null?void 0:e.context)==null?void 0:t.scope}addReference(e){return this.references||(this.references=[]),this.references.push(e),e.symbol=this,this}dereference(e){let t=this.references.indexOf(e);return t>=0&&(e.symbol=null,this.references.splice(t,1)),this}get kind(){return this.variableΦ?Gt.Variable:this.flags&De.Class?Gt.Class:this.flags&De.Component?Gt.Class:this.flags&De.Property?Gt.Field:this.flags&De.Method?this.escapedName=="constructor"?Gt.Constructor:Gt.Method:this.flags&De.GetAccessor?"getter":this.flags&De.SetAccessor?"setter":this.flags&De.Function?Gt.Function:Gt.Method}get semanticKind(){return this.flags&De.Parameter?"parameter":this.variableΦ?"variable":this.typeΦ?"type":this.flags&De.Function?"function":this.memberΦ?"member":this.componentΦ?"component":"variable"}get outlineKind(){return n2[this.kind]}get outlineText(){return this.node?this.node.value:"--"}toOutline(e){return{kind:this.outlineKind,name:this.outlineText}}get semanticFlags(){let e=0;return this.flags&De.ConstVariable&&(e|=St.ReadOnly),this.staticΦ&&(e|=St.Static),this.importedΦ&&(e|=St.Import),this.globalΦ&&(e|=St.Global),this.rootΦ&&(e|=St.Root),this.flags&De.IsSpecial&&(e|=St.Special),e}asNavigateToItem(){var t;if(!this.node)return null;let e={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Φ&&(e.containerName=r.outlineText,e.containerKind=r.outlineKind)}catch{}return e}};je(T3,kd,"Sym",16);var hr=T3,S7=Symbol(),S3=class S3 extends hr{};je(S3,S7,"ForVar",0);var Td=S3,E7=Symbol(),E3=class E3{};je(E3,E7,"SymbolMap",0);var Sd=E3;var a2=Symbol.for("#scope"),Ed={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"}},Ad=Symbol(),tu=class tu{[jt](e=null,t=!0,r=!0){var i;this.type=e&&(i=e.type)!==void 0?i:"",this.start=e?e.start:void 0,this.end=e?e.end:void 0,this.parent=e?e.parent:void 0}static build(e,t,r,i,n){return new this(e,t,r,i,n)}constructor(e,t,r,i,n=null){this[jt](),this.doc=e,this.start=t,this.end=null,this.type=i,this.parent=r,this.$name=null,t.scope=this,Xt(this,Ad)}pop(e){return this.end=e,e.start=this.start,e.pops=this,this.start.end=e,this.visit(),this.parent}find(e){return this.findChildren(e,!0)[0]}get childNodes(){return this.doc.getNodesInScope(this,!0,!0)}get children(){return this.doc.getNodesInScope(this)}get allTokens(){let e=[],t=this.start;for(;t&&(e.push(t),t!=this.end);)t=t.next;return e}get parents(){return[this.parent].concat(this.parent.parents)}get span(){let e=this.start.startOffset,t=this.end?this.end.endOffset:this.doc.content.length;return{start:e,length:t-e}}get contextSpan(){return this.span}findChildren(e,t=!1){let r=[],i=this.start;for(;i;){if(t&&r.length)return r;if(i.scope&&i.scope!=this){i.scope.match(e)&&r.push(i.scope),i=i.scope.next;continue}if(i.match(e)&&r.push(i),i==this.end)break;i=i.next}return r}closest(e){return this.match(e)?this:this.parent?this.parent.closest(e):null}visit(){return this}get memberΦ(){return!1}get topΦ(){return!1}get scopeΦ(){return!1}get selfScope(){return this.memberΦ||this.topΦ?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(e){return typeof e=="string"?this.type==e:Bt(e,RegExp)?e.test(this.type):Bt(e,Function)?e(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}}};je(tu,Ad,"Node",16);var fa=tu,Id=Symbol(),su=class su extends fa{constructor(e,t,r,i,n=[]){super(e,t,r,i),Xt(this,Id)}get scope(){return this.parent.scope}get varmap(){return this.parent.varmap}register(e){return this.parent.register(e)}lookup(...e){return this.parent.lookup(...e)}get comment(){var i;let t=this.value.match(/\s\#\s([^\n]+)\n/);if(t)return t[1];let r=this.start.prev;return r&&r.match("white.tabs")&&(r=r.prev),(i=r==null?void 0:r.match)!=null&&i.call(r,"comment")?r.value.replace(/(^\#\s)|(\n+$)/g,""):null}};je(su,Id,"Group",16);var _t=su,A7=Symbol(),ru=class ru extends _t{};je(ru,A7,"ValueNode",0);var A3=ru,I7=Symbol(),iu=class iu extends _t{};je(iu,I7,"StringNode",0);var I3=iu,N7=Symbol(),nu=class nu extends _t{get properties(){return this.findChildren("styleprop")}};je(nu,N7,"StyleNode",0);var N3=nu,R7=Symbol(),au=class au extends _t{};je(au,R7,"StyleRuleNode",0);var R3=au,Nd=Symbol(),ou=class ou extends fa{constructor(e,t,r,i,n=[]){if(super(e,t,r,i),this.entities=[],this.refs=[],this.varmap=Object.create(r?r.varmap:{}),Bt(this,en))for(let a=0,o=Object.keys(Ed),l=o.length,f,h;a<l;a++){f=o[a],h=Ed[f];let p={value:f,offset:-1,mods:0,match:function(){return!1}};this.varmap[f]=new hr(De.GlobalVar,f,p,h)}return this.indent=n[3]&&n[3][0]==" "?n[3].length:0,this.setup(),this;Xt(this,Nd)}get outlineText(){return this.ident?this.ident.value:"something"}setup(){var e,t,r;if(this.handlerΦ){let i="ImbaEvents."+this.parent.name;this.varmap.e=new hr(De.Parameter,"e",null,{datatype:i}),this.varmap.e[a2]=this}if(this.classΦ||this.propertyΦ){this.ident=this.token=la(this.start,"entity.");let i=la(this.start,"keyword.class keyword.tag",1e4,2);if(this.keyword=i,this.classΦ&&i&&(this.token=(e=i.next)==null?void 0:e.next,(r=(t=this.token)==null?void 0:t.match)!=null&&r.call(t,"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 e=this.path;return this.propertyΦ?e.slice(0,e.lastIndexOf(".")):e}get path(){let e=this.parent?this.parent.path:"";if(this.propertyΦ){let t=this.staticΦ?".":".prototype.";return this.parent?""+this.parent.path+t+this.name:this.name}if(this.componentΦ)if(this.name[0]==this.name[0].toLowerCase()){let t=nd(this.name);return t?t.name:td(this.name)}else return this.name;return this.classΦ?this.name:e}get allowedKeywordTypes(){return this.classΦ?Be.Class:this.rootΦ?Be.Root|Be.Block:Be.Block}get componentΦ(){return!!this.type.match(/^component/)}get rootΦ(){return Bt(this,en)}get topΦ(){return Bt(this,en)}get scopeΦ(){return!0}get classΦ(){return!!this.type.match(/^class/)||this.componentΦ}get exportForDtsΦ(){var e;return this.classΦ&&!!(this.extendsΦ||this.globalΦ||this.namespacedΦ&&(!((e=this.namespace)!=null&&e.symbol)||this.namespace.symbol.importSource))}get namespace(){if(!this.namespacedΦ)return null;let e=this.ident;return Bt(e,l2)?e.start.next:e}get namespacedΦ(){var e,t,r;return this.classΦ&&((r=(t=(e=this.ident)==null?void 0:e.value)==null?void 0:t.indexOf)==null?void 0:r.call(t,"."))>0}get extendsΦ(){var e,t;return this.classΦ&&this.keyword&&((t=(e=this.keyword.prev.prev)==null?void 0:e.match)==null?void 0:t.call(e,"keyword.extend"))}get exportsΦ(){var e,t;return this.classΦ&&this.keyword&&((t=(e=this.keyword.prev.prev)==null?void 0:e.match)==null?void 0:t.call(e,"keyword.export"))}get globalΦ(){return this.classΦ&&(!!la(this.keyword,"keyword.global",3,1)||this.componentΦ&&this.name[0]==this.name[0].toLowerCase())}get defΦ(){return!!this.type.match(/def|get|set/)}get staticΦ(){return!!(this.ident&&this.ident.mods&St.Static)}get handlerΦ(){return!!this.type.match(/handler|spy/)}get memberΦ(){return!!this.type.match(/def|get|set/)}get propertyΦ(){return!!this.type.match(/def|get|set|field/)}get flowΦ(){return!!this.type.match(/if|else|elif|unless|for|while|until/)}get closureΦ(){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 e=this.start.startOffset;this.ident&&(e=this.ident.startOffset);let t=this.end?this.end.endOffset:this.doc.content.length;return{start:e,length:t-e}}get textSpan(){return this.ident?this.ident.span:this.span}get contextSpan(){return this.classΦ||this.componentΦ||this.defΦ?this.doc.expandSpanToLines(this.span):this.span}visit(){return this}register(e){return e.scopedΦ&&(this.varmap[e.name]=e,e[a2]||(e[a2]=this),this.rootΦ&&(e.flags|=De.IsRoot)),e}lookup(e,t=De.Scoped){let r,i=e.value;return i[i.length-1]=="!"&&(i=i.slice(0,-1)),(r=this.varmap[i])?r:null}};je(ou,Nd,"Scope",16);var ys=ou,O7=Symbol(),lu=class lu extends ys{};je(lu,O7,"GlobalScope",0);var Rd=lu,L7=Symbol(),hu=class hu extends ys{get parents(){return[]}};je(hu,L7,"Root",0);var en=hu,C7=Symbol(),cu=class cu extends ys{};je(cu,C7,"Class",0);var Od=cu,M7=Symbol(),uu=class uu extends ys{};je(uu,M7,"Method",0);var Ld=uu,D7=Symbol(),fu=class fu extends ys{};je(fu,D7,"Flow",0);var Cd=fu,P7=Symbol(),pu=class pu extends ys{get expression(){return this.find("keyword.in keyword.of").next.next}get forvars(){return Object.values(this.varmap).filter(function(e){return e.itervarΦ})}};je(pu,P7,"ForScope",0);var O3=pu,V7=Symbol(),du=class du extends ys{};je(du,V7,"BlockScope",0);var L3=du,F7=Symbol(),_u=class _u extends ys{register(e){return this.parent.register(e)}lookup(...e){return this.parent.lookup(...e)}};je(_u,F7,"WeakScope",0);var Md=_u,G7=Symbol(),mu=class mu extends ys{get selfScope(){return this}};je(mu,G7,"FieldScope",0);var C3=mu,j7=Symbol(),gu=class gu extends ys{};je(gu,j7,"StyleRule",0);var M3=gu,B7=Symbol(),vu=class vu extends _t{};je(vu,B7,"SelectorNode",0);var D3=vu,z7=Symbol(),yu=class yu extends _t{get propertyName(){var e;return this.start.next.match("style.property.name")?this.start.next.value:(e=this.parent.prevProperty)==null?void 0:e.propertyName}get modifier(){if(this.start.next.match("style.property.modifier"))return this.start.next.value}get styleValue(){return!0}};je(yu,z7,"StylePropKey",0);var P3=yu,H7=Symbol(),bu=class bu extends _t{get properties(){return this.findChildren("styleprop")}};je(bu,H7,"StyleProps",0);var V3=bu,$7=Symbol(),xu=class xu extends _t{get key(){return this.parent.key}get propertyName(){return this.parent.propertyName}get modifier(){return this.parent.modifier}};je(xu,$7,"StylePropValue",0);var F3=xu,U7=Symbol(),wu=class wu extends _t{get key(){return this.find("stylepropkey")}get prevProperty(){return this.start.prev.pops?this.start.prev.pops:null}get propertyName(){var e;return(e=this.key)==null?void 0:e.propertyName}get modifier(){var e;return(e=this.key)==null?void 0:e.modifier}};je(wu,U7,"StylePropNode",0);var G3=wu,Y7=Symbol(),ku=class ku extends _t{};je(ku,Y7,"StyleInterpolation",0);var j3=ku,K7=Symbol(),Tu=class Tu extends _t{get innerText(){return this.value.slice(1,-1)}};je(Tu,K7,"PathNode",0);var B3=Tu,q7=Symbol(),Su=class Su extends _t{get name(){var t,r;if((r=(t=this.start.next)==null?void 0:t.match)!=null&&r.call(t,"tag.name.parens"))return"any";let e=this.findChildren("tag.name").join("");return e=="self"?this.closest("component").name:e}get nameNode(){return this.findChildren("tag.name")[0]}get localΦ(){return this.name[0]==this.name[0].toUpperCase()}get tagName(){return this.name}get parentTag(){var e;return(e=this.closest("tagcontent"))==null?void 0:e.ownerTag}get ancestorTags(){var e;return(e=this.closest("tagcontent"))==null?void 0:e.ownerTags}get ancestorPath(){return this.ancestorTags.map(function(e){return e.tagName}).join(".")}get pathName(){return"<"+this.name+">"}get outlineText(){let e=this.findChildren(/tag\.(reference|name|id|white|flag|mixin|event(?!\-))/).join("").trim();return e=e.replace(/\.\s+/g,""),"<"+e+">"}toOutline(){return{text:this.outlineText,kind:"string",nameSpan:this.span}}};je(Su,q7,"TagNode",0);var z3=Su,W7=Symbol(),Eu=class Eu extends _t{get propertyName(){return this.start.next.match("tag.attr")?this.start.next.value:""}get tagName(){return this.parent.name}};je(Eu,W7,"TagAttrNode",0);var H3=Eu,X7=Symbol(),Au=class Au extends _t{get propertyName(){return this.parent.propertyName}get tagName(){return this.parent.tagName}};je(Au,X7,"TagAttrValueNode",0);var $3=Au,J7=Symbol(),Iu=class Iu extends L3{get ownerTag(){return this.start.prev.pops}get ownerTags(){let e=[this.ownerTag],t;for(;t=e[0].parentTag;)e.unshift(t);return e}};je(Iu,J7,"TagContent",0);var U3=Iu,Z7=Symbol(),Nu=class Nu extends _t{get name(){return this.findChildren("tag.event.name").join("").replace("@","")}};je(Nu,Z7,"Listener",0);var Y3=Nu,Q7=Symbol(),Ru=class Ru extends _t{get name(){return this.findChildren("decorator.name").join("")}get nameToken(){return this.findChildren("decorator.name",!0)[0]}get valueSpan(){let e=this.start.startOffset,[t]=this.findChildren("decorator.modifier.start",!0);return t?{start:e,length:t.offset-e}:this.span}};je(Ru,Q7,"Decorator",0);var K3=Ru,e8=Symbol(),Ou=class Ou extends _t{};je(Ou,e8,"ParensNode",0);var o2=Ou,t8=Symbol(),Lu=class Lu extends _t{static build(e,t,r,i,n){let a=this,o=e.getText(t.offset-1,t.offset);return!o||` [{(|=&-;
:/*%+-`.indexOf(o)>=0?(i="array",a=W3):(i="index",a=X3),new a(e,t,r,i,n)}};je(Lu,t8,"BracketsNode",0);var pa=Lu,s8=Symbol(),Cu=class Cu extends _t{};je(Cu,s8,"BracesNode",0);var G1=Cu,r8=Symbol(),Mu=class Mu extends G1{};je(Mu,r8,"SpecifiersNode",0);var q3=Mu,i8=Symbol(),Du=class Du extends pa{get delimiters(){return this.children.filter(function(e){return e.match("delimiter")})}indexOfNode(e){var t;let r=this.delimiters,i=0;t=0;for(let n of nt(r)){let a=t++;e.offset>n.offset&&i++}return i}};je(Du,i8,"ArrayNode",0);var W3=Du,n8=Symbol(),Pu=class Pu extends pa{};je(Pu,n8,"IndexNode",0);var X3=Pu,Dd=Symbol(),Vu=class Vu extends _t{constructor(){super(...arguments),this.prev.datatype=this,Xt(this,Dd)}toString(){return this.value}};je(Vu,Dd,"TypeAnnotationNode",16);var J3=Vu,a8=Symbol(),Fu=class Fu extends _t{};je(Fu,a8,"InterpolatedValueNode",0);var Z3=Fu,o8=Symbol(),Gu=class Gu extends G1{};je(Gu,o8,"ObjectNode",0);var Q3=Gu,l8=Symbol(),ju=class ju extends _t{get isTypeOnly(){return!!this.start.prev.match("keyword.type")}get sourcePath(){let e=this.children.find(function(t){return t.match("path")});return e==null?void 0:e.innerText}get specifiers(){return this.children.find(function(e){return e.match("specifiers")})}get default(){return this.children.find(function(e){return e.match(".default")})}get namespace(){return this.children.find(function(e){return e.match(".ns")})}};je(ju,l8,"ImportsNode",0);var eu=ju,h8=Symbol(),Bu=class Bu extends _t{};je(Bu,h8,"Assignable",0);var l2=Bu,Hr={rule:M3,style:N3,array:pa,stylerule:R3,sel:D3,path:B3,value:A3,tag:z3,forscope:O3,field:C3,type:J3,parens:o2,brackets:pa,object:Q3,braces:G1,specifiers:q3,string:I3,tagattr:H3,imports:eu,interpolation:Z3,tagattrvalue:$3,tagcontent:U3,listener:Y3,decorator:K3,styleinterpolation:j3,styleprop:G3,stylepropkey:P3,stylevalue:F3,_sel_props:V3,args:o2,assignable:l2};var zu=Symbol.for("#ins"),Hu=Symbol.for("#del"),Pd=Symbol.for("#version"),Vd=Symbol.for("#multiline"),Fd=Symbol.for("#significant"),$u=Symbol.for("#body"),tn=Symbol.for("#lexed"),c8=Symbol(),Uu=class Uu{get node(){return this.scope&&this.scope.start==this?this.scope:this.pops?this.pops:this}get nextNode(){var e;return(e=this.next)==null?void 0:e.node}get prevNode(){var e;return(e=this.prev)==null?void 0:e.node}};je(Uu,c8,"Token",1,zs);var Gd=Uu,jd=Symbol(),c2=class c2{static tmp(e){return new this("file://temporary.imba","imba",0,e)}static from(e,t,r,i){return new this(e,t,r,i)}constructor(e,t,r,i){this.uri=e,this.languageId=t,this.version=r,this.content=i,this.connection=null,this.lineTokens=[],this.isLegacy=t=="imba1"||e&&e.match(/\.imba1$/),this.head=this.seed=new zs(0,"eol","imba"),this.initialState=Qi.getInitialState(),this.seed.stack=Qi.getInitialState(),this.history=[],this.lexer=Qi,this.versionToHistoryMap={},this.versionToHistoryMap[r]=-1,i&&i.match(/^\#[^\n]+imba1/m)&&(this.isLegacy=!0),Xt(this,jd)}log(...e){return console.log(...e)}get lineCount(){return this.lineOffsets.length}get lineOffsets(){return this._lineOffsets||(this._lineOffsets=h3(this.content,!0))}getText(e=null,t=null){if(typeof e=="number")return this.content.substring(e,t==null?this.content.length:t);if(e&&typeof e.start=="number")return this.content.substring(e.start,e.start+e.length);if(e){let r=this.offsetAt(e.start),i=this.offsetAt(e.end);return this.content.substring(r,i)}return this.content}expandSpanToLines(e){let t=this.positionAt(e.start),r=this.lineOffsets[t.line];return e.length=(e.length||0)+(e.start-r),e.start=r,e}getLineText(e){let t=this.lineOffsets[e],r=this.lineOffsets[e+1];return this.content.substring(t,r).replace(/[\r\n]/g,"")}positionAt(e){if(Bt(e,_i))return e;typeof e=="object"&&(e=e.offset),e=Math.max(Math.min(e,this.content.length),0);let t=this.lineOffsets,r=0,i=t.length;if(i===0)return new _i(0,e,e,this.version);for(;r<i;){let a=Math.floor((r+i)/2);t[a]>e?i=a:r=a+1}let n=r-1;return new _i(n,e-t[n],e,this.version)}offsetAt(e){if(e.offset)return e.offset;let t=this.lineOffsets;if(e.line>=t.length)return this.content.length;if(e.line<0)return 0;let r=t[e.line],i=e.line+1<t.length?t[e.line+1]:this.content.length;return e.offset=Math.max(Math.min(r+e.character,i),r)}rangeAt(e,t=e){return new wr(this.positionAt(e),this.positionAt(t))}overwrite(e,t){return this.version=t||this.version+1,this.content=e,this._lineOffsets=null,this.invalidateFromLine(0),this}update(e,t){t==null&&(t=this.version+1);let r=[],i=!1;r[zu]="",r[Hu]="";for(let o=0,l=nt(e),f=l.length;o<f;o++){let h=l[o];if(rd(h)){this.overwrite(h.text,t),r.push([0,this.content.length,h.text]),i=!0;continue}let p=sd(h.range),m=this.offsetAt(p.start),d=this.offsetAt(p.end);h.range=p,h.offset=m,h.length=d-m,p.start.offset=m,p.end.offset=d;let g=d-m?this.content.slice(m,d):"";r[Hu]+=g,r[zu]+=h.text||"",this.applyEdit(h,t,e),r.push([m,d-m,h.text||"",g]);let w=Math.max(p.start.line,0),_=Math.max(p.end.line,0),x=this.lineOffsets,v=h3(h.text,!1,m);if(_-w===v.length)for(let A=0,E=nt(v),S=E.length;A<S;A++){let T=E[A];x[A+w+1]=v[o]}else v.length<1e4?x.splice.apply(x,[w+1,_-w].concat(v)):this._lineOffsets=x=x.slice(0,w+1).concat(v,x.slice(_+1));let C=h.text.length-(d-m);if(C!==0){let A=w+1+v.length;for(;A<x.length;)x[A]=x[A]+C,A++}}this.history.push(r),r[Pd]=t;let n=this.history[this.history.length-2];return(r[zu]+r[Hu]).indexOf(`
`)>=0&&(r[Vd]=!0,n&&!n[Vd]&&(r[Fd]=!0,r[$u]=this.content)),this.versionToHistoryMap[t]=this.history.length-1,this.updated(e,t)}get lastSignificantVersion(){let e=this.history.length;for(;e>0;){let t=this.history[--e];if(t&&t[Fd])return t[Pd]}return null}editsSinceVersion(e){let t=this.versionToHistoryMap[e],r=[];for(let i=0,n=nt(this.history.slice(t+1)),a=n.length;i<a;i++){let o=n[i];r.push(...o)}return r}contentAtVersion(e){let t=this.versionToHistoryMap[e],r=this.history[t];return r[$u]!=null?r[$u]:null}offsetAtVersion(e,t,r=this.version,i=!1){let n=this.versionToHistoryMap[t],a=this.versionToHistoryMap[r],o=e,l=!1;if(n<a)for(;n<a;){let f=this.history[++n];for(let h=0,p=nt(f),m=p.length;h<m;h++){let[d,b,g]=p[h];d>o||(i&&(d-=1),o>d&&o>d+b&&(o+=g.length-b))}}else if(a<n)for(;a<n;){let f=this.history[n--];for(let h=0,p=nt(f),m=p.length;h<m;h++){let[d,b,g]=p[h];d>o||o>d&&o>d+b&&(o-=g.length-b)}}return o}historicalOffset(e,t){return this.offsetAtVersion(e,this.version,t,!0)}applyEdit(e,t,r){this.content=this.content.substring(0,e.range.start.offset)+e.text+this.content.substring(e.range.end.offset,this.content.length);let i=e.range.start.line;this.invalidateFromLine(i)}updated(e,t){return this.version=t,this}invalidateFromLine(e){return this.head=this.seed,this}after(e,t){let r=this.tokens.indexOf(e);if(t){for(;r<this.tokens.length;){let i=this.tokens[++r];if(i&&this.matchToken(i,t))return i}return null}return this.tokens[r+1]}matchToken(e,t){return Bt(t,RegExp)?e.type.match(t):typeof t=="string"?e.type==t:!1}before(e,t,r=0){let i=this.tokens.indexOf(e)+r;if(t){for(;i>0;){let n=this.tokens[--i];if(this.matchToken(n,t))return n}return null}return this.tokens[i-1]}getTokenRange(e){return{start:this.positionAt(e.offset),end:this.positionAt(e.offset+e.value.length)}}getTokensInScope(e){let t=this.tokens.indexOf(e.start),r=e.end?this.tokens.indexOf(e.end):this.tokens.length,i=t,n=[];for(;i<r;){let a=this.tokens[i++];a.scope&&a.scope!=e?(n.push(a.scope),i=a.scope.endIndex+1):n.push(a)}return n}getSymbols(){var e;return this.astify(),(e=this[tn]).symbols||(e.symbols=this.tokens.map(function(t){return t.symbol}).filter(function(t){return t}).filter(function(t,r,i){return i.indexOf(t)==r}))}getImportedSymbols(){return this.getSymbols().filter(function(e){return e.importedΦ})}getImportNodes(){return this.tokens.filter(function(t){return t.match("push._imports")}).map(function(t){return t.scope})}getNodesInScope(e,t=!1){let r=e.start,i=e.end;t?i=i.next:r=r.next;let n=[];for(;r&&r!=i;){if(r.scope&&r.scope!=e){n.push(r.scope),r=r.scope.end.next;continue}else r.type!="white"&&n.push(r);r=r.next}return n}getTokenAtOffset(e,t=!1){return this.tokenAtOffset(e)}getSemanticTokens(e=De.Scoped){let t=this.parse(),r=[];for(let i=0,n=nt(t),a=n.length;i<a;i++){let o=n[i],l=o.symbol;if(!(l&&(!e||l.flags&e)))continue;let f=ua[l.semanticKind],h=o.mods|l.semanticFlags;r.push([o.offset,o.value.length,f,h])}return r}getEncodedSemanticTokens(){let e=this.getSemanticTokens(),t=[],r=0,i=0;for(let n=0,a=nt(e),o=a.length;n<o;n++){let l=a[n],f=this.positionAt(l[0]),h=f.line-r,p=h?f.character:f.character-i;t.push(h,p,l[1],l[2],l[3]),r=f.line,i=f.character}return t}getDestructuredPath(e,t=[],r=null){if(e.context.type=="array")return this.getDestructuredPath(e.context.start,t,r),t.push(e.context.indexOfNode(e)),t;let i=e.value;return e.prev.match("operator.assign.key-value")&&(i=e.prev.prev.value),e.context.type=="object"&&(this.getDestructuredPath(e.context.start,t,r),t.push(i)),t}tokenAtOffset(e){let t=this.tokens[0];for(;t;){let r=t.next;if(t.offset>=e)return t.prev;if(t.end&&t.end.offset<e)t=t.end;else if(r)t=r;else return t}return t}patternAtOffset(e,t=/[\w\-\.\%]/){let r=e,i=e,n=this.content;for(;r>0&&t.test(this.content[r-1]);)r--;for(;t.test(this.content[i+1]||"");)i++;return[n.slice(r,i+1),r,i]}adjustmentAtOffset(e,t=1){let[r,i,n]=this.patternAtOffset(e),[a,o=""]=r.split(/[\d\.]+/),l=parseFloat(r.slice(a.length).slice(0,o.length?-o.length:1e3));return Number.isNaN(l)?null:(l+=t,[i+a.length,r.length-a.length-o.length,String(l)])}contextAtOffset(e){var t;this.ensureParsed();let r=this.positionAt(e),i=this.tokenAtOffset(e),n=this.lineOffsets[r.line],a=e-i.offset,o=i.context,l={character:this.content[e-1],line:this.content.slice(n,e),token:i.value.slice(0,a)},f={character:this.content[e],token:i.value.slice(a),line:this.content.slice(e,this.lineOffsets[r.line+1]).replace(/[\r\n]+/,"")};i.scope&&!f.token&&(o=i.scope),i.next&&i.next.value==null&&i.next.scope&&!f.token&&i.match("operator.assign")&&(o=i.next.scope);let h=la(i,"white.tabs"),p=h?h.value.length:0,m=o,d=o.scope,b={},g=i,w=i.stack.state||"",_=Es;m&&(m.start&&(l.group=this.content.slice(m.start.offset,e)),m.end&&(f.group=this.content.slice(e,m.end.offset)));let x={keywords:[]},v=0;if(i==h&&(p=a),i.match("br white.tabs"))for(;d.indent>p;)d=d.parent;if(m.type=="tag",i.match("entity string regexp comment style.")&&(v=0),i.match("tag.event.name tag.event-modifier.name")&&(g=i.prev),(i.type=="path"||i.type=="path.open")&&(v|=Es.Path,x.paths=1),i.match("identifier tag.operator.equals br white delimiter array operator ( self")&&(v|=Es.Value,g=null),i.match("operator.access")&&(v|=Es.Access,g=i),i.match("accessor")&&(v|=Es.Access,g=i.prev),i.match("delimiter.type.prefix type")&&(v|=Es.Type),i.match("tag.name tag.open")?v|=Es.TagName:i.match("tag.attr tag.white")?v|=Es.TagProp:i.match("tag.flag")?v|=Es.TagFlag:i.match("tag.event.modifier")?v|=Es.TagEventModifier:i.match("tag.event")?v|=Es.TagEvent:i.match("operator.equals.tagop")&&(v|=Es.Value),i.match("style.property.operator")||m.closest("stylevalue")){v|=_.StyleValue;try{x.styleProperty=m.closest("styleprop").propertyName}catch{}}i.match("style.open style.property.name")&&(v|=_.StyleProp),(i.match("style.value.white")||i.prev&&i.prev.match("style.value.white"))&&(v|=_.StyleProp),i.match("style.selector.element")&&f.line.match(/^\s*$/)&&(v|=_.StyleProp),d.closest("rule")&&(v|=_.StyleProp,v&=~_.Value),i.match("style.property.operator")&&(v&=~_.StyleProp),m.match("stylevalue")&&l.group.indexOf(" ")==-1&&(v=_.StyleValue),i.match("style.selector.modifier style.property.modifier")&&(v=_.StyleModifier),i.match("style.selector.element")&&(v|=_.StyleSelector),d.closest("rule")&&l.line.match(/^\s*$/)&&(v|=_.StyleSelector,v&=~_.StyleValue),i.match("operator.access accessor white.classname white.tagname")&&(v&=~_.Value),m.closest("imports")&&(v&=~_.Value,v|=_.ImportName),(w.match(/\.decl-(let|var|const|param|for)/)||i.match(/\.decl-(for|let|var|const|param)/))&&(v&=~_.Value,v|=_.VarName);let C=d.allowedKeywordTypes;t=[];for(let E=0,S=Object.keys(V1),T=S.length,L,y;E<T;E++)L=S[E],y=V1[L],y&C&&t.push(L);x.keywords=t,x.flags=v;for(let E=0,S=Object.keys(_),T=S.length,L,y;E<T;E++)L=S[E],y=_[L],v&y&&(x[L]||(x[L]=!0));return{token:i,offset:e,position:r,linePos:n,scope:d,indent:p,group:o,mode:"",target:g,path:d.path,suggest:x,before:l,after:f}}textBefore(e){let t=this.content.slice(0,e),r=t.lastIndexOf(`
`);return t.slice(r+1)}varsAtOffset(e,t=!1){let r=this.tokenAtOffset(e),i=[],n=r.context.scope,a={};for(;n;){for(let o=0,l=nt(Object.values(n.varmap)),f=l.length;o<f;o++){let h=l[o];h.globalΦ&&!t||a[h.name]||(!h.node||h.node.offset<e)&&(i.push(h),a[h.name]=h)}n=n.parent}return i}getOutline(e=null){var t,r,i,n;if(this.isLegacy){let _=id(this.content);for(let x=0,v=nt(_.all),C=v.length;x<C;x++){let A=v[x];t=A.parent,delete A.parent,A.path=A.name,A.name=A.ownName,e&&e(A,_.all)}return _}this.ensureParsed();let a=Date.now(),o=[],l={children:[]},f=l,h=null,p={},m=new Set,d=null;function b(_,x){return Bt(_,hr)&&(m.add(_),_={name:_.name,kind:_.kind}),p=_,_.token=x,_.children||(_.children=[]),_.span||(_.span=x.span),_.name||(_.name=x.value),o.push(_),f.children.push(_)}function g(_){return p.children||(p.children=[]),p.parent||(p.parent=f),f=p,f.end=_}function w(_){return f=f.parent}for(let _=0,x=nt(this.tokens),v=x.length;_<v;_++){let C=x[_],A=C.symbol,E=C.scope;if(C.type=="key")b({kind:Gt.Key},C);else if(A){if(A.parameterΦ)continue;m.has(A)||b(A,C),A.body&&(d=A.body.start)}else if(E&&E.type=="do"){let S=this.textBefore(C.offset-3).replace(/^\s*(return\s*)?/,"");S+=" callback",b({kind:Gt.Function,name:S},C.prev),d=C}else E&&E.type=="tag"&&b({kind:Gt.Field,name:E.outline},C);C==d&&g(C.end),C==f.end&&w()}for(let _=0,x=nt(o),v=x.length;_<v;_++){let C=x[_];if(C.span){let A=C.span.length;C.span.start=this.positionAt(C.span.offset),C.span.end=A?this.positionAt(C.span.offset+A):C.span.start}e&&e(C,o),r=C.parent,delete C.parent,i=C.end,delete C.end,n=C.token,delete C.token}return l}getContextAtOffset(e,t=!1){return this.contextAtOffset(e)}ensureParsed(){return this.parse(),this}reparse(){return this.invalidateFromLine(0),this.parse()}profileReparse(){let e=Date.now(),t=this.reparse();return console.log("took",Date.now()-e),t}tokenize(e=!1){var p;let t=this[tn]||{lines:[],version:-1};if(t.version==this.version&&!e)return t;let r=this.content;this.isLegacy&&(r=r.replace(/\@\w/g,function(m){return"¶"+m.slice(1)}),r=r.replace(/\w\:(?=\w)/g,function(m){return m[0]+"."}),r=r.replace(/(do)(\s?)\|([^\|]*)\|/g,function(m,d,b,g){return d+"("+(b||"")+g+")"}));let i=this.lineOffsets,n=[],o=this.seed,l=Date.now(),f=this.initialState;this[tn]={version:this.version,lines:[],tokens:n};let h={};this[tn].cache=h;for(let m=0,d=nt(t.lines),b=d.length;m<b;m++){let g=d[m];(h[p=g.text]||(h[p]=[])).push(g)}for(let m=0,d=nt(i),b=d.length;m<b;m++){let g=d[m],_=i[m+1]||r.length,x=r.slice(g,_),v=f,C=h[x],A=C&&C.filter(function(T){return T.startState==v}),E=A&&(A.find(function(T){return T.offset==g})||A[0]),S=null;if(E&&(E.offset==g,S=E.clone(g)),!S){let T=Qi.tokenize(x,v,g);S=new r2({offset:g,text:x,startState:v,endState:T.endState,tokens:T.tokens})}for(let T=0,L=nt(S.tokens),y=L.length;T<y;T++){let M=L[T];n.push(M)}this[tn].lines.push(S),f=S.endState}return this[tn]}get tokens(){return this.astify(),this[tn].tokens}getTokens(e=null){return this.tokens}astify(){let e=this.tokenize();if(e.root)return this;let t={"]":"[",")":"(","}":"{",">":"<"},r={"[":"]","(":")","{":"}","<":">"},i=/[\w\$\)\]\?]/,n=Date.now(),a=null,o=e.root=new en(this,this.seed,null,"root"),l=this.content,f=console.log.bind(console),h=null,p=null,m=null,d=null,b=0;for(let g=0,w=nt(e.tokens),_=w.length;g<_;g++){let x=w[g],v=x.type.split("."),C=x.value,A=e.tokens[g+1],[E,S,T]=v,L=v[v.length-1],y=v[v.length-2],M=null,j=0;if(E=="ivar"&&(C=x.value="@"+C.slice(1)),d&&(d.next=x),x.prev=d,x.context=o,E=="("&&d){let P=l[x.offset-1]||"";i.test(P)&&(o=x.scope=Hr.args.build(this,x,o,"args",v))}if(E=="operator"&&(x.op=x.value.trim()),E=="keyword"&&(St[S]&&(b|=St[S]),(C=="let"||C=="const")&&(p=x,m=null)),E=="entity"&&(x.mods|=b,b=0),E=="push"){let P=S,W=S.lastIndexOf("_"),J=W>=0?_t:ys;W>=0?(P=P.slice(W+1),J=Hr[P]||_t):Hr[P]&&(J=Hr[P]),o=x.scope=new J(this,x,o,P,v),h&&(h.body=o,o.symbol=h,h=null),o==o.scope&&(p=null,m=null)}else E=="pop"?(S=="value"&&(m=null),o=o.pop(x)):(S=="open"||r[S])&&Hr[E]?o=x.scope=Hr[E].build(this,x,o,E,v):L=="open"&&(M=Hr[y])?o=x.scope=M.build(this,x,o,y,v):(L=="close"&&o.type==y||S=="close"&&Hr[E]||t[E]&&o&&o.start.value==t[E])&&(o=o.pop(x));if(x.match(/entity\.name|decl-/)){let P=hr.forToken(x,x.type,x.mods);P&&(h=x.symbol=P,x.symbol.keyword=p,o.register(x.symbol)),x.mods|=St.Declaration}if(S=="declval"&&(m=x),x.match("identifier")&&!x.symbol){let P=o.lookup(x,p);if(P&&P.scopedΦ&&(m&&P.keyword==p||P.addReference(x)),d&&d.op=="="&&P){let W=d.prev;W&&W.symbol==P&&(W.mods&St.Declaration?P.dereference(x):(!A||A.match("br"))&&P.dereference(W))}}d=x}return this}parse(){return this.tokens}getMatchingTokens(e){let t=this.getTokens();return t=t.slice(0).filter(function(r){return r.match(e)}),t}migrateToImba2(){let e=this.content;e=e.replace(/\bdef self\./g,"static def "),e=e.replace(/\b(var|let|const) def /g,"def "),e=e.replace(/\?\./g,".."),e=e.replace(/def ([\w\-]+)\=/g,"set $1"),e=e.replace(/do\s?\|([^\|]+)\|/g,"do($1)"),e=e.replace(/(prop) ([\w\-]+) (.+)$/gm,function(n,a,o,l){var f,h;let p={};l.split(/,\s*/).map(function(d){return d.split(/\:\s*/)}).map(function(d){return p[d[0]]=d[1]});let m=""+a+" "+o;return p.watch&&p.watch[0].match(/[\'\"\:]/)?m="@watch("+p.watch+") "+m:p.watch&&(m="@watch "+m),f=p.watch,delete p.watch,p.default&&(m=""+m+" = "+p.default,h=p.default,delete p.default),Object.keys(p).length&&console.log("more prop values",n,p),m});let r=c2.tmp(e).getTokens(),i="";for(let n=0,a=nt(r),o=a.length;n<o;n++){let l=a[n],f=r[n+1],{value:h,type:p,offset:m}=l,d=m+h.length;p=="operator.dot.legacy"&&(h=".",f&&(f.access=!0)),p=="operator.spread.legacy"&&(h="..."),p=="identifier.tagname"&&h.indexOf(":")>=0&&(h=h.replace(":","-")),p=="identifier.def.propname"&&h=="initialize"&&(h="constructor"),p=="decorator"&&!e.slice(d).match(/^\s(prop|def|get|set)/)&&(h=i+h.slice(1)),p=="property"&&(h[0]=="@"?(h=h.replace(/^\@/,i),l.access=!0):h=="len"?h="length":/^(\n|\s\:|\)|\,|\.)/.test(e.slice(d))&&!l.access&&h[0]==h[0].toLowerCase()&&(h=h+"!")),p=="identifier"&&!l.access&&h[0]==h[0].toLowerCase()&&h[0]!="_"&&!l.variable&&/^(\n|\s\:|\)|\,|\.)/.test(e.slice(d))&&h!="new"&&(h=h+"!"),l.value=h}return r.map(function(n){return n.value}).join("")}createImportEdit(e,t,r=t){e=e.replace(/\.imba$/,"");let i=this.getImportNodes().filter(function(f){return f.sourcePath==e}),n="",a=0,o=[],l={changes:o};if(this.getImportedSymbols().map(function(p){return p.importInfo}).find(function(p){return p.path==e&&p.name==r&&p.exportName==t}))return l;t!="default"&&t!="*"&&(i=i.filter(function(f){return f.specifiers||!f.ns}));for(let f=0,h=nt(i),p=h.length;f<p;f++){let m=h[f],d=m.default,b=m.specifiers,g=m.namespace;if(t=="default")if(a=m.start.offset+1,d){if(d.value==r)return l;l.alias=d.value,a=0;continue}else n=r,(g||b)&&(n+=", ");else if(t=="*"){if(b)continue;d?(a=d.endOffset,n=", * as "+r):(a=m.start.offset+1,n="* as "+r+" ")}else if(g){l.alias=""+g.value+"."+t;continue}else{let w=t;r!=t&&(w+=" as "+r),b?(a=b.start.offset+1,n=" "+w+","):d?(a=d.endOffset,n=", { "+w+" }"):(n="{ "+w+" }",a=m.start.offset+1)}if(n)break}return n||(t=="default"?n="import "+r+" from '"+e+"'":t=="*"?n="import * as "+r+" from '"+e+"'":r!=t?n="import { "+t+" as "+r+" } from '"+e+"'":n="import { "+t+" } from '"+e+"'",n+=`
`),o.push({newText:n,range:this.rangeAt(a,a)}),l}};je(c2,jd,"ImbaDocument",16);var h2=c2;var Bd={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"]]}};var Yu={},u8=Symbol(),Ku=class Ku{static getTokenizer(e){return e=="xml"&&!Yu[e]?this.createTokenizer("xml",Bd):Yu[e]}static createTokenizer(e,t){let r=e2(e,t);return Yu[e]=new ca(e,r)}};je(Ku,u8,"Monarch",0);var u2=Ku;var f8={"&":"&","<":"<",">":">",'"':""","'":"'"},p8={"[":"square open","]":"square close","{":"curly open","}":"curly close","(":"paren open",")":"paren close"};function zd(s){return s.replace(/[\&\<\>]/g,function(e){return f8[e]})}function d8(s){return s.join(" ").replace(/[\[\]\{\}\(\)]/g,function(e){return p8[e]})}function Hd(s,{verbose:e=!1}){let t=[],r=0,i=0,n=[];for(let a=0,o=nt(s),l=o.length;a<l;a++){let f=o[a],h=f.value,p=f.type.split("."),[m,d]=p,b=f.mods;if(f.var){let g=n.indexOf(f.var);g==-1&&(g=n.push(f.var)-1),p.push("vref"),p.push("var"+g),p.push(f.var.type+"-ref"),b|=f.var.mods}if(b&St.Declaration&&p.push("decl"),b&St.Root&&p.push("root"),b&St.Local&&p.push("local"),f.end&&f.end.start==f&&t.push("<b>"),!((d=="start"||d=="open")&&(t.push("<b class='"+m+"'>"),!h))){if((d=="end"||d=="close")&&!h){t.push("</b>");continue}if(m=="push"){h=String(++r);let g=d.indexOf("_")>=0?"group":"scope",w=f.scope&&f.scope.end;t.push("<div class='"+g+"-"+d.split("_").pop()+" _"+d+" l"+r+" o"+f.offset+" e"+(w&&w.offset)+"'>");continue}else if(m=="pop"){h=String(--r),t.push("</div>");continue}m!="white"&&m!="line"?h="<i class='"+d8(p)+" o"+f.offset+"'>"+zd(h||"")+"</i>":m=="white"&&h!=`
`&&(h="<i raw='"+JSON.stringify(h)+"'>"+zd(h||"")+"</i>"),t.push(h),(d=="end"||d=="close"||f.start)&&t.push("</b>")}}return t.join("")}var tg=Io,sg=qu;export{Vn as aliases,e7 as compile,Xm as deserialize,Wa as fonts,qm as helpers,Ln as modifiers,Qm as parse,Oi as parser,sg as program,t7 as resolve,Wm as resolveConfig,Zm as rewrite,tg as selparser,Jm as tokenize,c0 as variants};