@principal-ai/quality-lens-cli 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1,28 +1,28 @@
1
1
  #!/usr/bin/env node
2
- "use strict";var YMt=Object.create;var fHe=Object.defineProperty;var ZMt=Object.getOwnPropertyDescriptor;var eBt=Object.getOwnPropertyNames;var tBt=Object.getPrototypeOf,rBt=Object.prototype.hasOwnProperty;var jt=(p,c)=>()=>(c||p((c={exports:{}}).exports,c),c.exports);var nBt=(p,c,_,g)=>{if(c&&typeof c=="object"||typeof c=="function")for(let S of eBt(c))!rBt.call(p,S)&&S!==_&&fHe(p,S,{get:()=>c[S],enumerable:!(g=ZMt(c,S))||g.enumerable});return p};var Bv=(p,c,_)=>(_=p!=null?YMt(tBt(p)):{},nBt(c||!p||!p.__esModule?fHe(_,"default",{value:p,enumerable:!0}):_,p));var Xh=jt((Zxe,yZe)=>{"use strict";var YU=function(p){return p&&p.Math===Math&&p};yZe.exports=YU(typeof globalThis=="object"&&globalThis)||YU(typeof window=="object"&&window)||YU(typeof self=="object"&&self)||YU(typeof global=="object"&&global)||YU(typeof Zxe=="object"&&Zxe)||(function(){return this})()||Function("return this")()});var Jm=jt((lTr,vZe)=>{"use strict";vZe.exports=function(p){try{return!!p()}catch{return!0}}});var ZU=jt((fTr,DZe)=>{"use strict";var d$t=Jm();DZe.exports=!d$t(function(){var p=(function(){}).bind();return typeof p!="function"||p.hasOwnProperty("prototype")})});var eTe=jt((_Tr,EZe)=>{"use strict";var m$t=ZU(),SZe=Function.prototype,bZe=SZe.apply,CZe=SZe.call;EZe.exports=typeof Reflect=="object"&&Reflect.apply||(m$t?CZe.bind(bZe):function(){return CZe.apply(bZe,arguments)})});var cm=jt((pTr,AZe)=>{"use strict";var xZe=ZU(),TZe=Function.prototype,tTe=TZe.call,h$t=xZe&&TZe.bind.bind(tTe,tTe);AZe.exports=xZe?h$t:function(p){return function(){return tTe.apply(p,arguments)}}});var N4=jt((dTr,kZe)=>{"use strict";var FZe=cm(),g$t=FZe({}.toString),y$t=FZe("".slice);kZe.exports=function(p){return y$t(g$t(p),8,-1)}});var oae=jt((mTr,IZe)=>{"use strict";var v$t=N4(),D$t=cm();IZe.exports=function(p){if(v$t(p)==="Function")return D$t(p)}});var w0=jt((hTr,wZe)=>{"use strict";var rTe=typeof document=="object"&&document.all;wZe.exports=typeof rTe>"u"&&rTe!==void 0?function(p){return typeof p=="function"||p===rTe}:function(p){return typeof p=="function"}});var Wv=jt((gTr,PZe)=>{"use strict";var b$t=Jm();PZe.exports=!b$t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var mC=jt((yTr,NZe)=>{"use strict";var C$t=ZU(),cae=Function.prototype.call;NZe.exports=C$t?cae.bind(cae):function(){return cae.apply(cae,arguments)}});var nTe=jt(RZe=>{"use strict";var OZe={}.propertyIsEnumerable,LZe=Object.getOwnPropertyDescriptor,S$t=LZe&&!OZe.call({1:2},1);RZe.f=S$t?function(c){var _=LZe(this,c);return!!_&&_.enumerable}:OZe});var pR=jt((DTr,MZe)=>{"use strict";MZe.exports=function(p,c){return{enumerable:!(p&1),configurable:!(p&2),writable:!(p&4),value:c}}});var uae=jt((bTr,BZe)=>{"use strict";var E$t=cm(),x$t=Jm(),T$t=N4(),iTe=Object,A$t=E$t("".split);BZe.exports=x$t(function(){return!iTe("z").propertyIsEnumerable(0)})?function(p){return T$t(p)==="String"?A$t(p,""):iTe(p)}:iTe});var lae=jt((CTr,jZe)=>{"use strict";jZe.exports=function(p){return p==null}});var dR=jt((STr,JZe)=>{"use strict";var F$t=lae(),k$t=TypeError;JZe.exports=function(p){if(F$t(p))throw new k$t("Can't call method on "+p);return p}});var lk=jt((ETr,qZe)=>{"use strict";var I$t=uae(),w$t=dR();qZe.exports=function(p){return I$t(w$t(p))}});var hC=jt((xTr,zZe)=>{"use strict";var P$t=w0();zZe.exports=function(p){return typeof p=="object"?p!==null:P$t(p)}});var eE=jt((TTr,WZe)=>{"use strict";WZe.exports={}});var ST=jt((ATr,VZe)=>{"use strict";var sTe=eE(),aTe=Xh(),N$t=w0(),UZe=function(p){return N$t(p)?p:void 0};VZe.exports=function(p,c){return arguments.length<2?UZe(sTe[p])||UZe(aTe[p]):sTe[p]&&sTe[p][c]||aTe[p]&&aTe[p][c]}});var T2=jt((FTr,GZe)=>{"use strict";var O$t=cm();GZe.exports=O$t({}.isPrototypeOf)});var mR=jt((kTr,KZe)=>{"use strict";var L$t=Xh(),$Ze=L$t.navigator,HZe=$Ze&&$Ze.userAgent;KZe.exports=HZe?String(HZe):""});var hR=jt((ITr,tet)=>{"use strict";var eet=Xh(),oTe=mR(),QZe=eet.process,XZe=eet.Deno,YZe=QZe&&QZe.versions||XZe&&XZe.version,ZZe=YZe&&YZe.v8,tE,fae;ZZe&&(tE=ZZe.split("."),fae=tE[0]>0&&tE[0]<4?1:+(tE[0]+tE[1]));!fae&&oTe&&(tE=oTe.match(/Edge\/(\d+)/),(!tE||tE[1]>=74)&&(tE=oTe.match(/Chrome\/(\d+)/),tE&&(fae=+tE[1])));tet.exports=fae});var VP=jt((wTr,net)=>{"use strict";var ret=hR(),R$t=Jm(),M$t=Xh(),B$t=M$t.String;net.exports=!!Object.getOwnPropertySymbols&&!R$t(function(){var p=Symbol("symbol detection");return!B$t(p)||!(Object(p)instanceof Symbol)||!Symbol.sham&&ret&&ret<41})});var cTe=jt((PTr,iet)=>{"use strict";var j$t=VP();iet.exports=j$t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var gR=jt((NTr,set)=>{"use strict";var J$t=ST(),q$t=w0(),z$t=T2(),W$t=cTe(),U$t=Object;set.exports=W$t?function(p){return typeof p=="symbol"}:function(p){var c=J$t("Symbol");return q$t(c)&&z$t(c.prototype,U$t(p))}});var eV=jt((OTr,aet)=>{"use strict";var V$t=String;aet.exports=function(p){try{return V$t(p)}catch{return"Object"}}});var GP=jt((LTr,oet)=>{"use strict";var G$t=w0(),$$t=eV(),H$t=TypeError;oet.exports=function(p){if(G$t(p))return p;throw new H$t($$t(p)+" is not a function")}});var _ae=jt((RTr,cet)=>{"use strict";var K$t=GP(),Q$t=lae();cet.exports=function(p,c){var _=p[c];return Q$t(_)?void 0:K$t(_)}});var fet=jt((MTr,uet)=>{"use strict";var uTe=mC(),lTe=w0(),fTe=hC(),X$t=TypeError;uet.exports=function(p,c){var _,g;if(c==="string"&&lTe(_=p.toString)&&!fTe(g=uTe(_,p))||lTe(_=p.valueOf)&&!fTe(g=uTe(_,p))||c!=="string"&&lTe(_=p.toString)&&!fTe(g=uTe(_,p)))return g;throw new X$t("Can't convert object to primitive value")}});var yR=jt((BTr,_et)=>{"use strict";_et.exports=!0});var met=jt((jTr,det)=>{"use strict";var pet=Xh(),Y$t=Object.defineProperty;det.exports=function(p,c){try{Y$t(pet,p,{value:c,configurable:!0,writable:!0})}catch{pet[p]=c}return c}});var tV=jt((JTr,yet)=>{"use strict";var Z$t=yR(),eHt=Xh(),tHt=met(),het="__core-js_shared__",get=yet.exports=eHt[het]||tHt(het,{});(get.versions||(get.versions=[])).push({version:"3.46.0",mode:Z$t?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var $P=jt((qTr,Det)=>{"use strict";var vet=tV();Det.exports=function(p,c){return vet[p]||(vet[p]=c||{})}});var ET=jt((zTr,bet)=>{"use strict";var rHt=dR(),nHt=Object;bet.exports=function(p){return nHt(rHt(p))}});var Ry=jt((WTr,Cet)=>{"use strict";var iHt=cm(),sHt=ET(),aHt=iHt({}.hasOwnProperty);Cet.exports=Object.hasOwn||function(c,_){return aHt(sHt(c),_)}});var pae=jt((UTr,Eet)=>{"use strict";var oHt=cm(),cHt=0,uHt=Math.random(),lHt=oHt(1.1.toString);Eet.exports=function(p){return"Symbol("+(p===void 0?"":p)+")_"+lHt(++cHt+uHt,36)}});var Yh=jt((VTr,Tet)=>{"use strict";var fHt=Xh(),_Ht=$P(),xet=Ry(),pHt=pae(),dHt=VP(),mHt=cTe(),vR=fHt.Symbol,_Te=_Ht("wks"),hHt=mHt?vR.for||vR:vR&&vR.withoutSetter||pHt;Tet.exports=function(p){return xet(_Te,p)||(_Te[p]=dHt&&xet(vR,p)?vR[p]:hHt("Symbol."+p)),_Te[p]}});var Iet=jt((GTr,ket)=>{"use strict";var gHt=mC(),Aet=hC(),Fet=gR(),yHt=_ae(),vHt=fet(),DHt=Yh(),bHt=TypeError,CHt=DHt("toPrimitive");ket.exports=function(p,c){if(!Aet(p)||Fet(p))return p;var _=yHt(p,CHt),g;if(_){if(c===void 0&&(c="default"),g=gHt(_,p,c),!Aet(g)||Fet(g))return g;throw new bHt("Can't convert object to primitive value")}return c===void 0&&(c="number"),vHt(p,c)}});var dae=jt(($Tr,wet)=>{"use strict";var SHt=Iet(),EHt=gR();wet.exports=function(p){var c=SHt(p,"string");return EHt(c)?c:c+""}});var dTe=jt((HTr,Net)=>{"use strict";var xHt=Xh(),Pet=hC(),pTe=xHt.document,THt=Pet(pTe)&&Pet(pTe.createElement);Net.exports=function(p){return THt?pTe.createElement(p):{}}});var mTe=jt((KTr,Oet)=>{"use strict";var AHt=Wv(),FHt=Jm(),kHt=dTe();Oet.exports=!AHt&&!FHt(function(){return Object.defineProperty(kHt("div"),"a",{get:function(){return 7}}).a!==7})});var hTe=jt(Ret=>{"use strict";var IHt=Wv(),wHt=mC(),PHt=nTe(),NHt=pR(),OHt=lk(),LHt=dae(),RHt=Ry(),MHt=mTe(),Let=Object.getOwnPropertyDescriptor;Ret.f=IHt?Let:function(c,_){if(c=OHt(c),_=LHt(_),MHt)try{return Let(c,_)}catch{}if(RHt(c,_))return NHt(!wHt(PHt.f,c,_),c[_])}});var Bet=jt((XTr,Met)=>{"use strict";var BHt=Jm(),jHt=w0(),JHt=/#|\.prototype\./,rV=function(p,c){var _=zHt[qHt(p)];return _===UHt?!0:_===WHt?!1:jHt(c)?BHt(c):!!c},qHt=rV.normalize=function(p){return String(p).replace(JHt,".").toLowerCase()},zHt=rV.data={},WHt=rV.NATIVE="N",UHt=rV.POLYFILL="P";Met.exports=rV});var mae=jt((YTr,Jet)=>{"use strict";var jet=oae(),VHt=GP(),GHt=ZU(),$Ht=jet(jet.bind);Jet.exports=function(p,c){return VHt(p),c===void 0?p:GHt?$Ht(p,c):function(){return p.apply(c,arguments)}}});var gTe=jt((ZTr,qet)=>{"use strict";var HHt=Wv(),KHt=Jm();qet.exports=HHt&&KHt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var fk=jt((eAr,zet)=>{"use strict";var QHt=hC(),XHt=String,YHt=TypeError;zet.exports=function(p){if(QHt(p))return p;throw new YHt(XHt(p)+" is not an object")}});var rE=jt(Uet=>{"use strict";var ZHt=Wv(),eKt=mTe(),tKt=gTe(),hae=fk(),Wet=dae(),rKt=TypeError,yTe=Object.defineProperty,nKt=Object.getOwnPropertyDescriptor,vTe="enumerable",DTe="configurable",bTe="writable";Uet.f=ZHt?tKt?function(c,_,g){if(hae(c),_=Wet(_),hae(g),typeof c=="function"&&_==="prototype"&&"value"in g&&bTe in g&&!g[bTe]){var S=nKt(c,_);S&&S[bTe]&&(c[_]=g.value,g={configurable:DTe in g?g[DTe]:S[DTe],enumerable:vTe in g?g[vTe]:S[vTe],writable:!1})}return yTe(c,_,g)}:yTe:function(c,_,g){if(hae(c),_=Wet(_),hae(g),eKt)try{return yTe(c,_,g)}catch{}if("get"in g||"set"in g)throw new rKt("Accessors not supported");return"value"in g&&(c[_]=g.value),c}});var DR=jt((rAr,Vet)=>{"use strict";var iKt=Wv(),sKt=rE(),aKt=pR();Vet.exports=iKt?function(p,c,_){return sKt.f(p,c,aKt(1,_))}:function(p,c,_){return p[c]=_,p}});var Xp=jt((nAr,$et)=>{"use strict";var nV=Xh(),oKt=eTe(),cKt=oae(),uKt=w0(),lKt=hTe().f,fKt=Bet(),bR=eE(),_Kt=mae(),CR=DR(),Get=Ry();tV();var pKt=function(p){var c=function(_,g,S){if(this instanceof c){switch(arguments.length){case 0:return new p;case 1:return new p(_);case 2:return new p(_,g)}return new p(_,g,S)}return oKt(p,this,arguments)};return c.prototype=p.prototype,c};$et.exports=function(p,c){var _=p.target,g=p.global,S=p.stat,w=p.proto,z=g?nV:S?nV[_]:nV[_]&&nV[_].prototype,ie=g?bR:bR[_]||CR(bR,_,{})[_],de=ie.prototype,be,Ee,Oe,Y,ut,Ye,We,Ut,_r;for(Y in c)be=fKt(g?Y:_+(S?".":"#")+Y,p.forced),Ee=!be&&z&&Get(z,Y),Ye=ie[Y],Ee&&(p.dontCallGetSet?(_r=lKt(z,Y),We=_r&&_r.value):We=z[Y]),ut=Ee&&We?We:c[Y],!(!be&&!w&&typeof Ye==typeof ut)&&(p.bind&&Ee?Ut=_Kt(ut,nV):p.wrap&&Ee?Ut=pKt(ut):w&&uKt(ut)?Ut=cKt(ut):Ut=ut,(p.sham||ut&&ut.sham||Ye&&Ye.sham)&&CR(Ut,"sham",!0),CR(ie,Y,Ut),w&&(Oe=_+"Prototype",Get(bR,Oe)||CR(bR,Oe,{}),CR(bR[Oe],Y,ut),p.real&&de&&(be||!de[Y])&&CR(de,Y,ut)))}});var Ket=jt(()=>{"use strict";var dKt=Xp(),mKt=Wv(),Het=rE().f;dKt({target:"Object",stat:!0,forced:Object.defineProperty!==Het,sham:!mKt},{defineProperty:Het})});var Yet=jt((aAr,Xet)=>{"use strict";Ket();var hKt=eE(),Qet=hKt.Object,gKt=Xet.exports=function(c,_,g){return Qet.defineProperty(c,_,g)};Qet.defineProperty.sham&&(gKt.sham=!0)});var ett=jt((oAr,Zet)=>{"use strict";var yKt=Yet();Zet.exports=yKt});var _k=jt((cAr,ttt)=>{ttt.exports=ett()});var pk=jt((uAr,iV)=>{function vKt(p){return p&&p.__esModule?p:{default:p}}iV.exports=vKt,iV.exports.__esModule=!0,iV.exports.default=iV.exports});var HP=jt((lAr,rtt)=>{"use strict";var DKt=N4();rtt.exports=Array.isArray||function(c){return DKt(c)==="Array"}});var gae=jt((fAr,itt)=>{"use strict";var bKt=Yh(),CKt=bKt("toStringTag"),ntt={};ntt[CKt]="z";itt.exports=String(ntt)==="[object z]"});var SR=jt((_Ar,stt)=>{"use strict";var SKt=gae(),EKt=w0(),yae=N4(),xKt=Yh(),TKt=xKt("toStringTag"),AKt=Object,FKt=yae((function(){return arguments})())==="Arguments",kKt=function(p,c){try{return p[c]}catch{}};stt.exports=SKt?yae:function(p){var c,_,g;return p===void 0?"Undefined":p===null?"Null":typeof(_=kKt(c=AKt(p),TKt))=="string"?_:FKt?yae(c):(g=yae(c))==="Object"&&EKt(c.callee)?"Arguments":g}});var ott=jt((pAr,att)=>{"use strict";var IKt=cm(),wKt=w0(),CTe=tV(),PKt=IKt(Function.toString);wKt(CTe.inspectSource)||(CTe.inspectSource=function(p){return PKt(p)});att.exports=CTe.inspectSource});var vae=jt((dAr,_tt)=>{"use strict";var NKt=cm(),OKt=Jm(),ctt=w0(),LKt=SR(),RKt=ST(),MKt=ott(),utt=function(){},ltt=RKt("Reflect","construct"),STe=/^\s*(?:class|function)\b/,BKt=NKt(STe.exec),jKt=!STe.test(utt),sV=function(c){if(!ctt(c))return!1;try{return ltt(utt,[],c),!0}catch{return!1}},ftt=function(c){if(!ctt(c))return!1;switch(LKt(c)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return jKt||!!BKt(STe,MKt(c))}catch{return!0}};ftt.sham=!0;_tt.exports=!ltt||OKt(function(){var p;return sV(sV.call)||!sV(Object)||!sV(function(){p=!0})||p})?ftt:sV});var dtt=jt((mAr,ptt)=>{"use strict";var JKt=Math.ceil,qKt=Math.floor;ptt.exports=Math.trunc||function(c){var _=+c;return(_>0?qKt:JKt)(_)}});var Dae=jt((hAr,mtt)=>{"use strict";var zKt=dtt();mtt.exports=function(p){var c=+p;return c!==c||c===0?0:zKt(c)}});var ETe=jt((gAr,htt)=>{"use strict";var WKt=Dae(),UKt=Math.max,VKt=Math.min;htt.exports=function(p,c){var _=WKt(p);return _<0?UKt(_+c,0):VKt(_,c)}});var ytt=jt((yAr,gtt)=>{"use strict";var GKt=Dae(),$Kt=Math.min;gtt.exports=function(p){var c=GKt(p);return c>0?$Kt(c,9007199254740991):0}});var dk=jt((vAr,vtt)=>{"use strict";var HKt=ytt();vtt.exports=function(p){return HKt(p.length)}});var bae=jt((DAr,Dtt)=>{"use strict";var KKt=Wv(),QKt=rE(),XKt=pR();Dtt.exports=function(p,c,_){KKt?QKt.f(p,c,XKt(0,_)):p[c]=_}});var Cae=jt((bAr,btt)=>{"use strict";var YKt=Jm(),ZKt=Yh(),eQt=hR(),tQt=ZKt("species");btt.exports=function(p){return eQt>=51||!YKt(function(){var c=[],_=c.constructor={};return _[tQt]=function(){return{foo:1}},c[p](Boolean).foo!==1})}});var aV=jt((CAr,Ctt)=>{"use strict";var rQt=cm();Ctt.exports=rQt([].slice)});var xtt=jt(()=>{"use strict";var nQt=Xp(),Stt=HP(),iQt=vae(),sQt=hC(),Ett=ETe(),aQt=dk(),oQt=lk(),cQt=bae(),uQt=Yh(),lQt=Cae(),fQt=aV(),_Qt=lQt("slice"),pQt=uQt("species"),xTe=Array,dQt=Math.max;nQt({target:"Array",proto:!0,forced:!_Qt},{slice:function(c,_){var g=oQt(this),S=aQt(g),w=Ett(c,S),z=Ett(_===void 0?S:_,S),ie,de,be;if(Stt(g)&&(ie=g.constructor,iQt(ie)&&(ie===xTe||Stt(ie.prototype))?ie=void 0:sQt(ie)&&(ie=ie[pQt],ie===null&&(ie=void 0)),ie===xTe||ie===void 0))return fQt(g,w,z);for(de=new(ie===void 0?xTe:ie)(dQt(z-w,0)),be=0;w<z;w++,be++)w in g&&cQt(de,be,g[w]);return de.length=be,de}})});var mk=jt((xAr,Ttt)=>{"use strict";var mQt=Xh(),hQt=eE();Ttt.exports=function(p,c){var _=hQt[p+"Prototype"],g=_&&_[c];if(g)return g;var S=mQt[p],w=S&&S.prototype;return w&&w[c]}});var Ftt=jt((TAr,Att)=>{"use strict";xtt();var gQt=mk();Att.exports=gQt("Array","slice")});var Itt=jt((AAr,ktt)=>{"use strict";var yQt=T2(),vQt=Ftt(),TTe=Array.prototype;ktt.exports=function(p){var c=p.slice;return p===TTe||yQt(TTe,p)&&c===TTe.slice?vQt:c}});var ATe=jt((FAr,wtt)=>{"use strict";var DQt=Itt();wtt.exports=DQt});var oV=jt((kAr,Ptt)=>{Ptt.exports=ATe()});var hk=jt((IAr,Ntt)=>{"use strict";var bQt=SR(),CQt=String;Ntt.exports=function(p){if(bQt(p)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return CQt(p)}});var Mtt=jt((wAr,Rtt)=>{"use strict";var FTe=cm(),SQt=Dae(),EQt=hk(),xQt=dR(),TQt=FTe("".charAt),Ott=FTe("".charCodeAt),AQt=FTe("".slice),Ltt=function(p){return function(c,_){var g=EQt(xQt(c)),S=SQt(_),w=g.length,z,ie;return S<0||S>=w?p?"":void 0:(z=Ott(g,S),z<55296||z>56319||S+1===w||(ie=Ott(g,S+1))<56320||ie>57343?p?TQt(g,S):z:p?AQt(g,S,S+2):(z-55296<<10)+(ie-56320)+65536)}};Rtt.exports={codeAt:Ltt(!1),charAt:Ltt(!0)}});var Jtt=jt((PAr,jtt)=>{"use strict";var FQt=Xh(),kQt=w0(),Btt=FQt.WeakMap;jtt.exports=kQt(Btt)&&/native code/.test(String(Btt))});var cV=jt((NAr,ztt)=>{"use strict";var IQt=$P(),wQt=pae(),qtt=IQt("keys");ztt.exports=function(p){return qtt[p]||(qtt[p]=wQt(p))}});var uV=jt((OAr,Wtt)=>{"use strict";Wtt.exports={}});var xae=jt((LAr,Gtt)=>{"use strict";var PQt=Jtt(),Vtt=Xh(),NQt=hC(),OQt=DR(),kTe=Ry(),ITe=tV(),LQt=cV(),RQt=uV(),Utt="Object already initialized",wTe=Vtt.TypeError,MQt=Vtt.WeakMap,Sae,lV,Eae,BQt=function(p){return Eae(p)?lV(p):Sae(p,{})},jQt=function(p){return function(c){var _;if(!NQt(c)||(_=lV(c)).type!==p)throw new wTe("Incompatible receiver, "+p+" required");return _}};PQt||ITe.state?(nE=ITe.state||(ITe.state=new MQt),nE.get=nE.get,nE.has=nE.has,nE.set=nE.set,Sae=function(p,c){if(nE.has(p))throw new wTe(Utt);return c.facade=p,nE.set(p,c),c},lV=function(p){return nE.get(p)||{}},Eae=function(p){return nE.has(p)}):(KP=LQt("state"),RQt[KP]=!0,Sae=function(p,c){if(kTe(p,KP))throw new wTe(Utt);return c.facade=p,OQt(p,KP,c),c},lV=function(p){return kTe(p,KP)?p[KP]:{}},Eae=function(p){return kTe(p,KP)});var nE,KP;Gtt.exports={set:Sae,get:lV,has:Eae,enforce:BQt,getterFor:jQt}});var Ktt=jt((RAr,Htt)=>{"use strict";var PTe=Wv(),JQt=Ry(),$tt=Function.prototype,qQt=PTe&&Object.getOwnPropertyDescriptor,NTe=JQt($tt,"name"),zQt=NTe&&(function(){}).name==="something",WQt=NTe&&(!PTe||PTe&&qQt($tt,"name").configurable);Htt.exports={EXISTS:NTe,PROPER:zQt,CONFIGURABLE:WQt}});var OTe=jt((MAr,Xtt)=>{"use strict";var UQt=lk(),VQt=ETe(),GQt=dk(),Qtt=function(p){return function(c,_,g){var S=UQt(c),w=GQt(S);if(w===0)return!p&&-1;var z=VQt(g,w),ie;if(p&&_!==_){for(;w>z;)if(ie=S[z++],ie!==ie)return!0}else for(;w>z;z++)if((p||z in S)&&S[z]===_)return p||z||0;return!p&&-1}};Xtt.exports={includes:Qtt(!0),indexOf:Qtt(!1)}});var RTe=jt((BAr,Ztt)=>{"use strict";var $Qt=cm(),LTe=Ry(),HQt=lk(),KQt=OTe().indexOf,QQt=uV(),Ytt=$Qt([].push);Ztt.exports=function(p,c){var _=HQt(p),g=0,S=[],w;for(w in _)!LTe(QQt,w)&&LTe(_,w)&&Ytt(S,w);for(;c.length>g;)LTe(_,w=c[g++])&&(~KQt(S,w)||Ytt(S,w));return S}});var Tae=jt((jAr,ert)=>{"use strict";ert.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var MTe=jt((JAr,trt)=>{"use strict";var XQt=RTe(),YQt=Tae();trt.exports=Object.keys||function(c){return XQt(c,YQt)}});var BTe=jt(rrt=>{"use strict";var ZQt=Wv(),eXt=gTe(),tXt=rE(),rXt=fk(),nXt=lk(),iXt=MTe();rrt.f=ZQt&&!eXt?Object.defineProperties:function(c,_){rXt(c);for(var g=nXt(_),S=iXt(_),w=S.length,z=0,ie;w>z;)tXt.f(c,ie=S[z++],g[ie]);return c}});var irt=jt((zAr,nrt)=>{"use strict";var sXt=ST();nrt.exports=sXt("document","documentElement")});var fV=jt((WAr,frt)=>{"use strict";var aXt=fk(),oXt=BTe(),srt=Tae(),cXt=uV(),uXt=irt(),lXt=dTe(),fXt=cV(),art=">",ort="<",JTe="prototype",qTe="script",urt=fXt("IE_PROTO"),jTe=function(){},lrt=function(p){return ort+qTe+art+p+ort+"/"+qTe+art},crt=function(p){p.write(lrt("")),p.close();var c=p.parentWindow.Object;return p=null,c},_Xt=function(){var p=lXt("iframe"),c="java"+qTe+":",_;return p.style.display="none",uXt.appendChild(p),p.src=String(c),_=p.contentWindow.document,_.open(),_.write(lrt("document.F=Object")),_.close(),_.F},Aae,Fae=function(){try{Aae=new ActiveXObject("htmlfile")}catch{}Fae=typeof document<"u"?document.domain&&Aae?crt(Aae):_Xt():crt(Aae);for(var p=srt.length;p--;)delete Fae[JTe][srt[p]];return Fae()};cXt[urt]=!0;frt.exports=Object.create||function(c,_){var g;return c!==null?(jTe[JTe]=aXt(c),g=new jTe,jTe[JTe]=null,g[urt]=c):g=Fae(),_===void 0?g:oXt.f(g,_)}});var prt=jt((UAr,_rt)=>{"use strict";var pXt=Jm();_rt.exports=!pXt(function(){function p(){}return p.prototype.constructor=null,Object.getPrototypeOf(new p)!==p.prototype})});var WTe=jt((VAr,mrt)=>{"use strict";var dXt=Ry(),mXt=w0(),hXt=ET(),gXt=cV(),yXt=prt(),drt=gXt("IE_PROTO"),zTe=Object,vXt=zTe.prototype;mrt.exports=yXt?zTe.getPrototypeOf:function(p){var c=hXt(p);if(dXt(c,drt))return c[drt];var _=c.constructor;return mXt(_)&&c instanceof _?_.prototype:c instanceof zTe?vXt:null}});var _V=jt((GAr,hrt)=>{"use strict";var DXt=DR();hrt.exports=function(p,c,_,g){return g&&g.enumerable?p[c]=_:DXt(p,c,_),p}});var $Te=jt(($Ar,vrt)=>{"use strict";var bXt=Jm(),CXt=w0(),SXt=hC(),EXt=fV(),grt=WTe(),xXt=_V(),TXt=Yh(),AXt=yR(),GTe=TXt("iterator"),yrt=!1,gk,UTe,VTe;[].keys&&(VTe=[].keys(),"next"in VTe?(UTe=grt(grt(VTe)),UTe!==Object.prototype&&(gk=UTe)):yrt=!0);var FXt=!SXt(gk)||bXt(function(){var p={};return gk[GTe].call(p)!==p});FXt?gk={}:AXt&&(gk=EXt(gk));CXt(gk[GTe])||xXt(gk,GTe,function(){return this});vrt.exports={IteratorPrototype:gk,BUGGY_SAFARI_ITERATORS:yrt}});var brt=jt((HAr,Drt)=>{"use strict";var kXt=gae(),IXt=SR();Drt.exports=kXt?{}.toString:function(){return"[object "+IXt(this)+"]"}});var QP=jt((KAr,Srt)=>{"use strict";var wXt=gae(),PXt=rE().f,NXt=DR(),OXt=Ry(),LXt=brt(),RXt=Yh(),Crt=RXt("toStringTag");Srt.exports=function(p,c,_,g){var S=_?p:p&&p.prototype;S&&(OXt(S,Crt)||PXt(S,Crt,{configurable:!0,value:c}),g&&!wXt&&NXt(S,"toString",LXt))}});var XP=jt((QAr,Ert)=>{"use strict";Ert.exports={}});var Trt=jt((XAr,xrt)=>{"use strict";var MXt=$Te().IteratorPrototype,BXt=fV(),jXt=pR(),JXt=QP(),qXt=XP(),zXt=function(){return this};xrt.exports=function(p,c,_,g){var S=c+" Iterator";return p.prototype=BXt(MXt,{next:jXt(+!g,_)}),JXt(p,S,!1,!0),qXt[S]=zXt,p}});var Frt=jt((YAr,Art)=>{"use strict";var WXt=cm(),UXt=GP();Art.exports=function(p,c,_){try{return WXt(UXt(Object.getOwnPropertyDescriptor(p,c)[_]))}catch{}}});var Irt=jt((ZAr,krt)=>{"use strict";var VXt=hC();krt.exports=function(p){return VXt(p)||p===null}});var Prt=jt((eFr,wrt)=>{"use strict";var GXt=Irt(),$Xt=String,HXt=TypeError;wrt.exports=function(p){if(GXt(p))return p;throw new HXt("Can't set "+$Xt(p)+" as a prototype")}});var Ort=jt((tFr,Nrt)=>{"use strict";var KXt=Frt(),QXt=hC(),XXt=dR(),YXt=Prt();Nrt.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var p=!1,c={},_;try{_=KXt(Object.prototype,"__proto__","set"),_(c,[]),p=c instanceof Array}catch{}return function(S,w){return XXt(S),YXt(w),QXt(S)&&(p?_(S,w):S.__proto__=w),S}})():void 0)});var KTe=jt((rFr,Urt)=>{"use strict";var ZXt=Xp(),eYt=mC(),kae=yR(),zrt=Ktt(),tYt=w0(),rYt=Trt(),Lrt=WTe(),Rrt=Ort(),nYt=QP(),iYt=DR(),HTe=_V(),sYt=Yh(),Mrt=XP(),Wrt=$Te(),aYt=zrt.PROPER,oYt=zrt.CONFIGURABLE,Brt=Wrt.IteratorPrototype,Iae=Wrt.BUGGY_SAFARI_ITERATORS,pV=sYt("iterator"),jrt="keys",dV="values",Jrt="entries",qrt=function(){return this};Urt.exports=function(p,c,_,g,S,w,z){rYt(_,c,g);var ie=function(_r){if(_r===S&&Y)return Y;if(!Iae&&_r&&_r in Ee)return Ee[_r];switch(_r){case jrt:return function(){return new _(this,_r)};case dV:return function(){return new _(this,_r)};case Jrt:return function(){return new _(this,_r)}}return function(){return new _(this)}},de=c+" Iterator",be=!1,Ee=p.prototype,Oe=Ee[pV]||Ee["@@iterator"]||S&&Ee[S],Y=!Iae&&Oe||ie(S),ut=c==="Array"&&Ee.entries||Oe,Ye,We,Ut;if(ut&&(Ye=Lrt(ut.call(new p)),Ye!==Object.prototype&&Ye.next&&(!kae&&Lrt(Ye)!==Brt&&(Rrt?Rrt(Ye,Brt):tYt(Ye[pV])||HTe(Ye,pV,qrt)),nYt(Ye,de,!0,!0),kae&&(Mrt[de]=qrt))),aYt&&S===dV&&Oe&&Oe.name!==dV&&(!kae&&oYt?iYt(Ee,"name",dV):(be=!0,Y=function(){return eYt(Oe,this)})),S)if(We={values:ie(dV),keys:w?Y:ie(jrt),entries:ie(Jrt)},z)for(Ut in We)(Iae||be||!(Ut in Ee))&&HTe(Ee,Ut,We[Ut]);else ZXt({target:c,proto:!0,forced:Iae||be},We);return(!kae||z)&&Ee[pV]!==Y&&HTe(Ee,pV,Y,{name:S}),Mrt[c]=Y,We}});var QTe=jt((nFr,Vrt)=>{"use strict";Vrt.exports=function(p,c){return{value:p,done:c}}});var XTe=jt(()=>{"use strict";var cYt=Mtt().charAt,uYt=hk(),$rt=xae(),lYt=KTe(),Grt=QTe(),Hrt="String Iterator",fYt=$rt.set,_Yt=$rt.getterFor(Hrt);lYt(String,"String",function(p){fYt(this,{type:Hrt,string:uYt(p),index:0})},function(){var c=_Yt(this),_=c.string,g=c.index,S;return g>=_.length?Grt(void 0,!0):(S=cYt(_,g),c.index+=S.length,Grt(S,!1))})});var Xrt=jt((aFr,Qrt)=>{"use strict";var pYt=mC(),Krt=fk(),dYt=_ae();Qrt.exports=function(p,c,_){var g,S;Krt(p);try{if(g=dYt(p,"return"),!g){if(c==="throw")throw _;return _}g=pYt(g,p)}catch(w){S=!0,g=w}if(c==="throw")throw _;if(S)throw g;return Krt(g),_}});var Zrt=jt((oFr,Yrt)=>{"use strict";var mYt=fk(),hYt=Xrt();Yrt.exports=function(p,c,_,g){try{return g?c(mYt(_)[0],_[1]):c(_)}catch(S){hYt(p,"throw",S)}}});var tnt=jt((cFr,ent)=>{"use strict";var gYt=Yh(),yYt=XP(),vYt=gYt("iterator"),DYt=Array.prototype;ent.exports=function(p){return p!==void 0&&(yYt.Array===p||DYt[vYt]===p)}});var wae=jt((uFr,nnt)=>{"use strict";var bYt=SR(),rnt=_ae(),CYt=lae(),SYt=XP(),EYt=Yh(),xYt=EYt("iterator");nnt.exports=function(p){if(!CYt(p))return rnt(p,xYt)||rnt(p,"@@iterator")||SYt[bYt(p)]}});var snt=jt((lFr,int)=>{"use strict";var TYt=mC(),AYt=GP(),FYt=fk(),kYt=eV(),IYt=wae(),wYt=TypeError;int.exports=function(p,c){var _=arguments.length<2?IYt(p):c;if(AYt(_))return FYt(TYt(_,p));throw new wYt(kYt(p)+" is not iterable")}});var unt=jt((fFr,cnt)=>{"use strict";var PYt=mae(),NYt=mC(),OYt=ET(),LYt=Zrt(),RYt=tnt(),MYt=vae(),BYt=dk(),ant=bae(),jYt=snt(),JYt=wae(),ont=Array;cnt.exports=function(c){var _=OYt(c),g=MYt(this),S=arguments.length,w=S>1?arguments[1]:void 0,z=w!==void 0;z&&(w=PYt(w,S>2?arguments[2]:void 0));var ie=JYt(_),de=0,be,Ee,Oe,Y,ut,Ye;if(ie&&!(this===ont&&RYt(ie)))for(Ee=g?new this:[],Y=jYt(_,ie),ut=Y.next;!(Oe=NYt(ut,Y)).done;de++)Ye=z?LYt(Y,w,[Oe.value,de],!0):Oe.value,ant(Ee,de,Ye);else for(be=BYt(_),Ee=g?new this(be):ont(be);be>de;de++)Ye=z?w(_[de],de):_[de],ant(Ee,de,Ye);return Ee.length=de,Ee}});var dnt=jt((_Fr,pnt)=>{"use strict";var qYt=Yh(),fnt=qYt("iterator"),_nt=!1;try{lnt=0,YTe={next:function(){return{done:!!lnt++}},return:function(){_nt=!0}},YTe[fnt]=function(){return this},Array.from(YTe,function(){throw 2})}catch{}var lnt,YTe;pnt.exports=function(p,c){try{if(!c&&!_nt)return!1}catch{return!1}var _=!1;try{var g={};g[fnt]=function(){return{next:function(){return{done:_=!0}}}},p(g)}catch{}return _}});var mnt=jt(()=>{"use strict";var zYt=Xp(),WYt=unt(),UYt=dnt(),VYt=!UYt(function(p){Array.from(p)});zYt({target:"Array",stat:!0,forced:VYt},{from:WYt})});var gnt=jt((mFr,hnt)=>{"use strict";XTe();mnt();var GYt=eE();hnt.exports=GYt.Array.from});var ZTe=jt((hFr,ynt)=>{"use strict";var $Yt=gnt();ynt.exports=$Yt});var eAe=jt((gFr,vnt)=>{vnt.exports=ZTe()});var tAe=jt((yFr,Dnt)=>{"use strict";var HYt=TypeError,KYt=9007199254740991;Dnt.exports=function(p){if(p>KYt)throw HYt("Maximum allowed index exceeded");return p}});var Ent=jt((vFr,Snt)=>{"use strict";var bnt=HP(),QYt=vae(),XYt=hC(),YYt=Yh(),ZYt=YYt("species"),Cnt=Array;Snt.exports=function(p){var c;return bnt(p)&&(c=p.constructor,QYt(c)&&(c===Cnt||bnt(c.prototype))?c=void 0:XYt(c)&&(c=c[ZYt],c===null&&(c=void 0))),c===void 0?Cnt:c}});var rAe=jt((DFr,xnt)=>{"use strict";var eZt=Ent();xnt.exports=function(p,c){return new(eZt(p))(c===0?0:c)}});var nAe=jt(()=>{"use strict";var tZt=Xp(),rZt=Jm(),nZt=HP(),iZt=hC(),sZt=ET(),aZt=dk(),Tnt=tAe(),Ant=bae(),oZt=rAe(),cZt=Cae(),uZt=Yh(),lZt=hR(),Fnt=uZt("isConcatSpreadable"),fZt=lZt>=51||!rZt(function(){var p=[];return p[Fnt]=!1,p.concat()[0]!==p}),_Zt=function(p){if(!iZt(p))return!1;var c=p[Fnt];return c!==void 0?!!c:nZt(p)},pZt=!fZt||!cZt("concat");tZt({target:"Array",proto:!0,arity:1,forced:pZt},{concat:function(c){var _=sZt(this),g=oZt(_,0),S=0,w,z,ie,de,be;for(w=-1,ie=arguments.length;w<ie;w++)if(be=w===-1?_:arguments[w],_Zt(be))for(de=aZt(be),Tnt(S+de),z=0;z<de;z++,S++)z in be&&Ant(g,S,be[z]);else Tnt(S+1),Ant(g,S++,be);return g.length=S,g}})});var knt=jt(()=>{});var iAe=jt(Int=>{"use strict";var dZt=RTe(),mZt=Tae(),hZt=mZt.concat("length","prototype");Int.f=Object.getOwnPropertyNames||function(c){return dZt(c,hZt)}});var Ont=jt((TFr,Nnt)=>{"use strict";var gZt=N4(),yZt=lk(),wnt=iAe().f,vZt=aV(),Pnt=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],DZt=function(p){try{return wnt(p)}catch{return vZt(Pnt)}};Nnt.exports.f=function(c){return Pnt&&gZt(c)==="Window"?DZt(c):wnt(yZt(c))}});var sAe=jt(Lnt=>{"use strict";Lnt.f=Object.getOwnPropertySymbols});var Mnt=jt((FFr,Rnt)=>{"use strict";var bZt=rE();Rnt.exports=function(p,c,_){return bZt.f(p,c,_)}});var aAe=jt(Bnt=>{"use strict";var CZt=Yh();Bnt.f=CZt});var Yp=jt((IFr,Jnt)=>{"use strict";var jnt=eE(),SZt=Ry(),EZt=aAe(),xZt=rE().f;Jnt.exports=function(p){var c=jnt.Symbol||(jnt.Symbol={});SZt(c,p)||xZt(c,p,{value:EZt.f(p)})}});var oAe=jt((wFr,qnt)=>{"use strict";var TZt=mC(),AZt=ST(),FZt=Yh(),kZt=_V();qnt.exports=function(){var p=AZt("Symbol"),c=p&&p.prototype,_=c&&c.valueOf,g=FZt("toPrimitive");c&&!c[g]&&kZt(c,g,function(S){return TZt(_,this)},{arity:1})}});var Pae=jt((PFr,Wnt)=>{"use strict";var IZt=mae(),wZt=cm(),PZt=uae(),NZt=ET(),OZt=dk(),LZt=rAe(),znt=wZt([].push),O4=function(p){var c=p===1,_=p===2,g=p===3,S=p===4,w=p===6,z=p===7,ie=p===5||w;return function(de,be,Ee,Oe){for(var Y=NZt(de),ut=PZt(Y),Ye=OZt(ut),We=IZt(be,Ee),Ut=0,_r=Oe||LZt,Hr=c?_r(de,Ye):_||z?_r(de,0):void 0,On,Hi;Ye>Ut;Ut++)if((ie||Ut in ut)&&(On=ut[Ut],Hi=We(On,Ut,Y),p))if(c)Hr[Ut]=Hi;else if(Hi)switch(p){case 3:return!0;case 5:return On;case 6:return Ut;case 2:znt(Hr,On)}else switch(p){case 4:return!1;case 7:znt(Hr,On)}return w?-1:g||S?S:Hr}};Wnt.exports={forEach:O4(0),map:O4(1),filter:O4(2),some:O4(3),every:O4(4),find:O4(5),findIndex:O4(6),filterReject:O4(7)}});var ait=jt(()=>{"use strict";var Nae=Xp(),gV=Xh(),hAe=mC(),RZt=cm(),MZt=yR(),ER=Wv(),xR=VP(),BZt=Jm(),Gg=Ry(),jZt=T2(),fAe=fk(),Oae=lk(),gAe=dae(),JZt=hk(),_Ae=pR(),TR=fV(),Gnt=MTe(),qZt=iAe(),$nt=Ont(),zZt=sAe(),Hnt=hTe(),Knt=rE(),WZt=BTe(),Qnt=nTe(),cAe=_V(),UZt=Mnt(),yAe=$P(),VZt=cV(),Xnt=uV(),Unt=pae(),GZt=Yh(),$Zt=aAe(),HZt=Yp(),KZt=oAe(),QZt=QP(),Ynt=xae(),Lae=Pae().forEach,Uv=VZt("hidden"),Rae="Symbol",hV="prototype",XZt=Ynt.set,Vnt=Ynt.getterFor(Rae),gC=Object[hV],YP=gV.Symbol,mV=YP&&YP[hV],YZt=gV.RangeError,ZZt=gV.TypeError,uAe=gV.QObject,Znt=Hnt.f,ZP=Knt.f,eit=$nt.f,eer=Qnt.f,tit=RZt([].push),yk=yAe("symbols"),yV=yAe("op-symbols"),ter=yAe("wks"),pAe=!uAe||!uAe[hV]||!uAe[hV].findChild,rit=function(p,c,_){var g=Znt(gC,c);g&&delete gC[c],ZP(p,c,_),g&&p!==gC&&ZP(gC,c,g)},dAe=ER&&BZt(function(){return TR(ZP({},"a",{get:function(){return ZP(this,"a",{value:7}).a}})).a!==7})?rit:ZP,lAe=function(p,c){var _=yk[p]=TR(mV);return XZt(_,{type:Rae,tag:p,description:c}),ER||(_.description=c),_},Mae=function(c,_,g){c===gC&&Mae(yV,_,g),fAe(c);var S=gAe(_);return fAe(g),Gg(yk,S)?(g.enumerable?(Gg(c,Uv)&&c[Uv][S]&&(c[Uv][S]=!1),g=TR(g,{enumerable:_Ae(0,!1)})):(Gg(c,Uv)||ZP(c,Uv,_Ae(1,TR(null))),c[Uv][S]=!0),dAe(c,S,g)):ZP(c,S,g)},vAe=function(c,_){fAe(c);var g=Oae(_),S=Gnt(g).concat(sit(g));return Lae(S,function(w){(!ER||hAe(mAe,g,w))&&Mae(c,w,g[w])}),c},rer=function(c,_){return _===void 0?TR(c):vAe(TR(c),_)},mAe=function(c){var _=gAe(c),g=hAe(eer,this,_);return this===gC&&Gg(yk,_)&&!Gg(yV,_)?!1:g||!Gg(this,_)||!Gg(yk,_)||Gg(this,Uv)&&this[Uv][_]?g:!0},nit=function(c,_){var g=Oae(c),S=gAe(_);if(!(g===gC&&Gg(yk,S)&&!Gg(yV,S))){var w=Znt(g,S);return w&&Gg(yk,S)&&!(Gg(g,Uv)&&g[Uv][S])&&(w.enumerable=!0),w}},iit=function(c){var _=eit(Oae(c)),g=[];return Lae(_,function(S){!Gg(yk,S)&&!Gg(Xnt,S)&&tit(g,S)}),g},sit=function(p){var c=p===gC,_=eit(c?yV:Oae(p)),g=[];return Lae(_,function(S){Gg(yk,S)&&(!c||Gg(gC,S))&&tit(g,yk[S])}),g};xR||(YP=function(){if(jZt(mV,this))throw new ZZt("Symbol is not a constructor");var c=!arguments.length||arguments[0]===void 0?void 0:JZt(arguments[0]),_=Unt(c),g=function(S){var w=this===void 0?gV:this;w===gC&&hAe(g,yV,S),Gg(w,Uv)&&Gg(w[Uv],_)&&(w[Uv][_]=!1);var z=_Ae(1,S);try{dAe(w,_,z)}catch(ie){if(!(ie instanceof YZt))throw ie;rit(w,_,z)}};return ER&&pAe&&dAe(gC,_,{configurable:!0,set:g}),lAe(_,c)},mV=YP[hV],cAe(mV,"toString",function(){return Vnt(this).tag}),cAe(YP,"withoutSetter",function(p){return lAe(Unt(p),p)}),Qnt.f=mAe,Knt.f=Mae,WZt.f=vAe,Hnt.f=nit,qZt.f=$nt.f=iit,zZt.f=sit,$Zt.f=function(p){return lAe(GZt(p),p)},ER&&(UZt(mV,"description",{configurable:!0,get:function(){return Vnt(this).description}}),MZt||cAe(gC,"propertyIsEnumerable",mAe,{unsafe:!0})));Nae({global:!0,constructor:!0,wrap:!0,forced:!xR,sham:!xR},{Symbol:YP});Lae(Gnt(ter),function(p){HZt(p)});Nae({target:Rae,stat:!0,forced:!xR},{useSetter:function(){pAe=!0},useSimple:function(){pAe=!1}});Nae({target:"Object",stat:!0,forced:!xR,sham:!ER},{create:rer,defineProperty:Mae,defineProperties:vAe,getOwnPropertyDescriptor:nit});Nae({target:"Object",stat:!0,forced:!xR},{getOwnPropertyNames:iit});KZt();QZt(YP,Rae);Xnt[Uv]=!0});var DAe=jt((LFr,oit)=>{"use strict";var ner=VP();oit.exports=ner&&!!Symbol.for&&!!Symbol.keyFor});var uit=jt(()=>{"use strict";var ier=Xp(),ser=ST(),aer=Ry(),oer=hk(),cit=$P(),cer=DAe(),bAe=cit("string-to-symbol-registry"),uer=cit("symbol-to-string-registry");ier({target:"Symbol",stat:!0,forced:!cer},{for:function(p){var c=oer(p);if(aer(bAe,c))return bAe[c];var _=ser("Symbol")(c);return bAe[c]=_,uer[_]=c,_}})});var fit=jt(()=>{"use strict";var ler=Xp(),fer=Ry(),_er=gR(),per=eV(),der=$P(),mer=DAe(),lit=der("symbol-to-string-registry");ler({target:"Symbol",stat:!0,forced:!mer},{keyFor:function(c){if(!_er(c))throw new TypeError(per(c)+" is not a symbol");if(fer(lit,c))return lit[c]}})});var hit=jt((JFr,mit)=>{"use strict";var her=cm(),_it=HP(),ger=w0(),pit=N4(),yer=hk(),dit=her([].push);mit.exports=function(p){if(ger(p))return p;if(_it(p)){for(var c=p.length,_=[],g=0;g<c;g++){var S=p[g];typeof S=="string"?dit(_,S):(typeof S=="number"||pit(S)==="Number"||pit(S)==="String")&&dit(_,yer(S))}var w=_.length,z=!0;return function(ie,de){if(z)return z=!1,de;if(_it(this))return de;for(var be=0;be<w;be++)if(_[be]===ie)return de}}}});var Fit=jt(()=>{"use strict";var ver=Xp(),Eit=ST(),xit=eTe(),Der=mC(),vV=cm(),Tit=Jm(),git=w0(),yit=gR(),Ait=aV(),ber=hit(),Cer=VP(),Ser=String,L4=Eit("JSON","stringify"),Bae=vV(/./.exec),vit=vV("".charAt),Eer=vV("".charCodeAt),xer=vV("".replace),Ter=vV(1.1.toString),Aer=/[\uD800-\uDFFF]/g,Dit=/^[\uD800-\uDBFF]$/,bit=/^[\uDC00-\uDFFF]$/,Cit=!Cer||Tit(function(){var p=Eit("Symbol")("stringify detection");return L4([p])!=="[null]"||L4({a:p})!=="{}"||L4(Object(p))!=="{}"}),Sit=Tit(function(){return L4("\uDF06\uD834")!=='"\\udf06\\ud834"'||L4("\uDEAD")!=='"\\udead"'}),Fer=function(p,c){var _=Ait(arguments),g=ber(c);if(!(!git(g)&&(p===void 0||yit(p))))return _[1]=function(S,w){if(git(g)&&(w=Der(g,this,Ser(S),w)),!yit(w))return w},xit(L4,null,_)},ker=function(p,c,_){var g=vit(_,c-1),S=vit(_,c+1);return Bae(Dit,p)&&!Bae(bit,S)||Bae(bit,p)&&!Bae(Dit,g)?"\\u"+Ter(Eer(p,0),16):p};L4&&ver({target:"JSON",stat:!0,arity:3,forced:Cit||Sit},{stringify:function(c,_,g){var S=Ait(arguments),w=xit(Cit?Fer:L4,null,S);return Sit&&typeof w=="string"?xer(w,Aer,ker):w}})});var Iit=jt(()=>{"use strict";var Ier=Xp(),wer=VP(),Per=Jm(),kit=sAe(),Ner=ET(),Oer=!wer||Per(function(){kit.f(1)});Ier({target:"Object",stat:!0,forced:Oer},{getOwnPropertySymbols:function(c){var _=kit.f;return _?_(Ner(c)):[]}})});var wit=jt(()=>{"use strict";ait();uit();fit();Fit();Iit()});var CAe=jt(()=>{"use strict";var Ler=Yp();Ler("asyncDispose")});var Pit=jt(()=>{"use strict";var Rer=Yp();Rer("asyncIterator")});var Nit=jt(()=>{});var SAe=jt(()=>{"use strict";var Mer=Yp();Mer("dispose")});var Oit=jt(()=>{"use strict";var Ber=Yp();Ber("hasInstance")});var Lit=jt(()=>{"use strict";var jer=Yp();jer("isConcatSpreadable")});var Rit=jt(()=>{"use strict";var Jer=Yp();Jer("iterator")});var Mit=jt(()=>{"use strict";var qer=Yp();qer("match")});var Bit=jt(()=>{"use strict";var zer=Yp();zer("matchAll")});var jit=jt(()=>{"use strict";var Wer=Yp();Wer("replace")});var Jit=jt(()=>{"use strict";var Uer=Yp();Uer("search")});var qit=jt(()=>{"use strict";var Ver=Yp();Ver("species")});var zit=jt(()=>{"use strict";var Ger=Yp();Ger("split")});var Wit=jt(()=>{"use strict";var $er=Yp(),Her=oAe();$er("toPrimitive");Her()});var Uit=jt(()=>{"use strict";var Ker=ST(),Qer=Yp(),Xer=QP();Qer("toStringTag");Xer(Ker("Symbol"),"Symbol")});var Vit=jt(()=>{"use strict";var Yer=Yp();Yer("unscopables")});var Git=jt(()=>{"use strict";var Zer=Xh(),etr=QP();etr(Zer.JSON,"JSON",!0)});var $it=jt(()=>{});var Hit=jt(()=>{});var Qit=jt((wkr,Kit)=>{"use strict";nAe();knt();wit();CAe();Pit();Nit();SAe();Oit();Lit();Rit();Mit();Bit();jit();Jit();qit();zit();Wit();Uit();Vit();Git();$it();Hit();var ttr=eE();Kit.exports=ttr.Symbol});var Yit=jt((Pkr,Xit)=>{"use strict";Xit.exports=function(){}});var xAe=jt((Nkr,nst)=>{"use strict";var rtr=lk(),EAe=Yit(),Zit=XP(),tst=xae(),ntr=rE().f,itr=KTe(),jae=QTe(),str=yR(),atr=Wv(),rst="Array Iterator",otr=tst.set,ctr=tst.getterFor(rst);nst.exports=itr(Array,"Array",function(p,c){otr(this,{type:rst,target:rtr(p),index:0,kind:c})},function(){var p=ctr(this),c=p.target,_=p.index++;if(!c||_>=c.length)return p.target=null,jae(void 0,!0);switch(p.kind){case"keys":return jae(_,!1);case"values":return jae(c[_],!1)}return jae([_,c[_]],!1)},"values");var est=Zit.Arguments=Zit.Array;EAe("keys");EAe("values");EAe("entries");if(!str&&atr&&est.name!=="values")try{ntr(est,"name",{value:"values"})}catch{}});var sst=jt((Okr,ist)=>{"use strict";ist.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var TAe=jt(()=>{"use strict";xAe();var utr=sst(),ltr=Xh(),ftr=QP(),ast=XP();for(Jae in utr)ftr(ltr[Jae],Jae),ast[Jae]=ast.Array;var Jae});var AAe=jt((Mkr,ost)=>{"use strict";var _tr=Qit();TAe();ost.exports=_tr});var FAe=jt((Bkr,cst)=>{cst.exports=AAe()});var lst=jt((jkr,ust)=>{"use strict";xAe();XTe();var ptr=wae();ust.exports=ptr});var _st=jt((Jkr,fst)=>{"use strict";var dtr=lst();TAe();fst.exports=dtr});var dst=jt((qkr,pst)=>{"use strict";var mtr=_st();pst.exports=mtr});var hst=jt((zkr,mst)=>{"use strict";var htr=dst();mst.exports=htr});var kAe=jt((Wkr,gst)=>{"use strict";gst.exports=hst()});var IAe=jt((Ukr,yst)=>{yst.exports=kAe()});var vst=jt(()=>{"use strict";var gtr=Xp(),ytr=HP();gtr({target:"Array",stat:!0},{isArray:ytr})});var bst=jt(($kr,Dst)=>{"use strict";vst();var vtr=eE();Dst.exports=vtr.Array.isArray});var wAe=jt((Hkr,Cst)=>{"use strict";var Dtr=bst();Cst.exports=Dtr});var PAe=jt((Kkr,Sst)=>{Sst.exports=wAe()});var xst=jt((Qkr,Est)=>{"use strict";var btr=wAe();Est.exports=btr});var Ast=jt((Xkr,Tst)=>{"use strict";var Ctr=xst();Tst.exports=Ctr});var kst=jt((Ykr,Fst)=>{"use strict";Fst.exports=Ast()});var Ist=jt((Zkr,DV)=>{var Str=kst();function Etr(p){if(Str(p))return p}DV.exports=Etr,DV.exports.__esModule=!0,DV.exports.default=DV.exports});var Nst=jt(()=>{"use strict";var xtr=Yh(),Ttr=rE().f,wst=xtr("metadata"),Pst=Function.prototype;Pst[wst]===void 0&&Ttr(Pst,wst,{value:null})});var Ost=jt(()=>{"use strict";CAe()});var Lst=jt(()=>{"use strict";SAe()});var Rst=jt(()=>{"use strict";var Atr=Yp();Atr("metadata")});var Bst=jt((c6r,Mst)=>{"use strict";var Ftr=AAe();Nst();Ost();Lst();Rst();Mst.exports=Ftr});var OAe=jt((u6r,jst)=>{"use strict";var ktr=ST(),Itr=cm(),NAe=ktr("Symbol"),wtr=NAe.keyFor,Ptr=Itr(NAe.prototype.valueOf);jst.exports=NAe.isRegisteredSymbol||function(c){try{return wtr(Ptr(c))!==void 0}catch{return!1}}});var Jst=jt(()=>{"use strict";var Ntr=Xp(),Otr=OAe();Ntr({target:"Symbol",stat:!0},{isRegisteredSymbol:Otr})});var MAe=jt((_6r,Gst)=>{"use strict";var Ltr=$P(),Ust=ST(),Rtr=cm(),Mtr=gR(),Btr=Yh(),zae=Ust("Symbol"),qst=zae.isWellKnownSymbol,Vst=Ust("Object","getOwnPropertyNames"),jtr=Rtr(zae.prototype.valueOf),zst=Ltr("wks");for(qae=0,LAe=Vst(zae),Wst=LAe.length;qae<Wst;qae++)try{RAe=LAe[qae],Mtr(zae[RAe])&&Btr(RAe)}catch{}var RAe,qae,LAe,Wst;Gst.exports=function(c){if(qst&&qst(c))return!0;try{for(var _=jtr(c),g=0,S=Vst(zst),w=S.length;g<w;g++)if(zst[S[g]]==_)return!0}catch{}return!1}});var $st=jt(()=>{"use strict";var Jtr=Xp(),qtr=MAe();Jtr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:qtr})});var Hst=jt(()=>{"use strict";var ztr=Yp();ztr("customMatcher")});var Kst=jt(()=>{"use strict";var Wtr=Yp();Wtr("observable")});var Qst=jt(()=>{"use strict";var Utr=Xp(),Vtr=OAe();Utr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Vtr})});var Xst=jt(()=>{"use strict";var Gtr=Xp(),$tr=MAe();Gtr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:$tr})});var Yst=jt(()=>{"use strict";var Htr=Yp();Htr("matcher")});var Zst=jt(()=>{"use strict";var Ktr=Yp();Ktr("metadataKey")});var eat=jt(()=>{"use strict";var Qtr=Yp();Qtr("patternMatch")});var tat=jt(()=>{"use strict";var Xtr=Yp();Xtr("replaceAll")});var nat=jt((w6r,rat)=>{"use strict";var Ytr=Bst();Jst();$st();Hst();Kst();Qst();Xst();Yst();Zst();eat();tat();rat.exports=Ytr});var sat=jt((P6r,iat)=>{"use strict";iat.exports=nat()});var oat=jt((N6r,aat)=>{"use strict";var Ztr=Wv(),err=HP(),trr=TypeError,rrr=Object.getOwnPropertyDescriptor,nrr=Ztr&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(p){return p instanceof TypeError}})();aat.exports=nrr?function(p,c){if(err(p)&&!rrr(p,"length").writable)throw new trr("Cannot set read only .length");return p.length=c}:function(p,c){return p.length=c}});var cat=jt(()=>{"use strict";var irr=Xp(),srr=ET(),arr=dk(),orr=oat(),crr=tAe(),urr=Jm(),lrr=urr(function(){return[].push.call({length:4294967296},1)!==4294967297}),frr=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},_rr=lrr||!frr();irr({target:"Array",proto:!0,arity:1,forced:_rr},{push:function(c){var _=srr(this),g=arr(_),S=arguments.length;crr(g+S);for(var w=0;w<S;w++)_[g]=arguments[w],g++;return orr(_,g),g}})});var lat=jt((R6r,uat)=>{"use strict";cat();var prr=mk();uat.exports=prr("Array","push")});var _at=jt((M6r,fat)=>{"use strict";var drr=T2(),mrr=lat(),BAe=Array.prototype;fat.exports=function(p){var c=p.push;return p===BAe||drr(BAe,p)&&c===BAe.push?mrr:c}});var dat=jt((B6r,pat)=>{"use strict";var hrr=_at();pat.exports=hrr});var hat=jt((j6r,mat)=>{"use strict";var grr=dat();mat.exports=grr});var yat=jt((J6r,gat)=>{"use strict";var yrr=hat();gat.exports=yrr});var Dat=jt((q6r,vat)=>{"use strict";vat.exports=yat()});var bat=jt((z6r,bV)=>{var vrr=sat(),Drr=kAe(),brr=Dat();function Crr(p,c){var _=p==null?null:typeof vrr<"u"&&Drr(p)||p["@@iterator"];if(_!=null){var g,S,w,z,ie=[],de=!0,be=!1;try{if(w=(_=_.call(p)).next,c===0){if(Object(_)!==_)return;de=!1}else for(;!(de=(g=w.call(_)).done)&&(brr(ie).call(ie,g.value),ie.length!==c);de=!0);}catch(Ee){be=!0,S=Ee}finally{try{if(!de&&_.return!=null&&(z=_.return(),Object(z)!==z))return}finally{if(be)throw S}}return ie}}bV.exports=Crr,bV.exports.__esModule=!0,bV.exports.default=bV.exports});var Sat=jt((W6r,Cat)=>{"use strict";var Srr=ATe();Cat.exports=Srr});var xat=jt((U6r,Eat)=>{"use strict";var Err=Sat();Eat.exports=Err});var Aat=jt((V6r,Tat)=>{"use strict";Tat.exports=xat()});var kat=jt((G6r,Fat)=>{"use strict";var xrr=ZTe();Fat.exports=xrr});var wat=jt(($6r,Iat)=>{"use strict";var Trr=kat();Iat.exports=Trr});var Nat=jt((H6r,Pat)=>{"use strict";Pat.exports=wat()});var Oat=jt((K6r,CV)=>{function Arr(p,c){(c==null||c>p.length)&&(c=p.length);for(var _=0,g=Array(c);_<c;_++)g[_]=p[_];return g}CV.exports=Arr,CV.exports.__esModule=!0,CV.exports.default=CV.exports});var Rat=jt((Q6r,SV)=>{var Frr=Aat(),krr=Nat(),Lat=Oat();function Irr(p,c){if(p){var _;if(typeof p=="string")return Lat(p,c);var g=Frr(_={}.toString.call(p)).call(_,8,-1);return g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set"?krr(p):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?Lat(p,c):void 0}}SV.exports=Irr,SV.exports.__esModule=!0,SV.exports.default=SV.exports});var Mat=jt((X6r,EV)=>{function wrr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}EV.exports=wrr,EV.exports.__esModule=!0,EV.exports.default=EV.exports});var jAe=jt((Y6r,xV)=>{var Prr=Ist(),Nrr=bat(),Orr=Rat(),Lrr=Mat();function Rrr(p,c){return Prr(p)||Nrr(p,c)||Orr(p,c)||Lrr()}xV.exports=Rrr,xV.exports.__esModule=!0,xV.exports.default=xV.exports});var Bat=jt(()=>{"use strict";var Mrr=Xp(),Brr=Wv(),jrr=fV();Mrr({target:"Object",stat:!0,sham:!Brr},{create:jrr})});var Jat=jt((t3r,jat)=>{"use strict";Bat();var Jrr=eE(),qrr=Jrr.Object;jat.exports=function(c,_){return qrr.create(c,_)}});var zat=jt((r3r,qat)=>{"use strict";var zrr=Jat();qat.exports=zrr});var Uat=jt((n3r,Wat)=>{Wat.exports=zat()});var Vat=jt(()=>{});var Hat=jt((a3r,$at)=>{"use strict";var Wrr=Xh(),Urr=Jm(),Gat=Wrr.RegExp,Vrr=!Urr(function(){var p=!0;try{Gat(".","d")}catch{p=!1}var c={},_="",g=p?"dgimsy":"gimsy",S=function(de,be){Object.defineProperty(c,de,{get:function(){return _+=be,!0}})},w={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};p&&(w.hasIndices="d");for(var z in w)S(z,w[z]);var ie=Object.getOwnPropertyDescriptor(Gat.prototype,"flags").get.call(c);return ie!==g||_!==g});$at.exports={correct:Vrr}});var Qat=jt((o3r,Kat)=>{"use strict";var Grr=fk();Kat.exports=function(){var p=Grr(this),c="";return p.hasIndices&&(c+="d"),p.global&&(c+="g"),p.ignoreCase&&(c+="i"),p.multiline&&(c+="m"),p.dotAll&&(c+="s"),p.unicode&&(c+="u"),p.unicodeSets&&(c+="v"),p.sticky&&(c+="y"),c}});var Zat=jt((c3r,Yat)=>{"use strict";var $rr=mC(),Hrr=Ry(),Krr=T2(),Xat=Hat(),Qrr=Qat(),Xrr=RegExp.prototype;Yat.exports=Xat.correct?function(p){return p.flags}:function(p){return!Xat.correct&&Krr(Xrr,p)&&!Hrr(p,"flags")?$rr(Qrr,p):p.flags}});var tot=jt((u3r,eot)=>{"use strict";Vat();var Yrr=Zat();eot.exports=Yrr});var iot=jt((l3r,not)=>{"use strict";var Zrr=T2(),enr=tot(),rot=RegExp.prototype;not.exports=function(p){return p===rot||Zrr(rot,p)?enr(p):p.flags}});var aot=jt((f3r,sot)=>{"use strict";var tnr=iot();sot.exports=tnr});var cot=jt((_3r,oot)=>{oot.exports=aot()});var fot=jt((p3r,lot)=>{"use strict";var uot=eV(),rnr=TypeError;lot.exports=function(p,c){if(!delete p[c])throw new rnr("Cannot delete property "+uot(c)+" of "+uot(p))}});var dot=jt((d3r,pot)=>{"use strict";var _ot=aV(),nnr=Math.floor,JAe=function(p,c){var _=p.length;if(_<8)for(var g=1,S,w;g<_;){for(w=g,S=p[g];w&&c(p[w-1],S)>0;)p[w]=p[--w];w!==g++&&(p[w]=S)}else for(var z=nnr(_/2),ie=JAe(_ot(p,0,z),c),de=JAe(_ot(p,z),c),be=ie.length,Ee=de.length,Oe=0,Y=0;Oe<be||Y<Ee;)p[Oe+Y]=Oe<be&&Y<Ee?c(ie[Oe],de[Y])<=0?ie[Oe++]:de[Y++]:Oe<be?ie[Oe++]:de[Y++];return p};pot.exports=JAe});var TV=jt((m3r,mot)=>{"use strict";var inr=Jm();mot.exports=function(p,c){var _=[][p];return!!_&&inr(function(){_.call(null,c||function(){return 1},1)})}});var yot=jt((h3r,got)=>{"use strict";var snr=mR(),hot=snr.match(/firefox\/(\d+)/i);got.exports=!!hot&&+hot[1]});var Dot=jt((g3r,vot)=>{"use strict";var anr=mR();vot.exports=/MSIE|Trident/.test(anr)});var Sot=jt((y3r,Cot)=>{"use strict";var onr=mR(),bot=onr.match(/AppleWebKit\/(\d+)\./);Cot.exports=!!bot&&+bot[1]});var Pot=jt(()=>{"use strict";var cnr=Xp(),Iot=cm(),unr=GP(),lnr=ET(),Eot=dk(),fnr=fot(),xot=hk(),qAe=Jm(),_nr=dot(),pnr=TV(),Tot=yot(),dnr=Dot(),Aot=hR(),Fot=Sot(),R4=[],kot=Iot(R4.sort),mnr=Iot(R4.push),hnr=qAe(function(){R4.sort(void 0)}),gnr=qAe(function(){R4.sort(null)}),ynr=pnr("sort"),wot=!qAe(function(){if(Aot)return Aot<70;if(!(Tot&&Tot>3)){if(dnr)return!0;if(Fot)return Fot<603;var p="",c,_,g,S;for(c=65;c<76;c++){switch(_=String.fromCharCode(c),c){case 66:case 69:case 70:case 72:g=3;break;case 68:case 71:g=4;break;default:g=2}for(S=0;S<47;S++)R4.push({k:_+S,v:g})}for(R4.sort(function(w,z){return z.v-w.v}),S=0;S<R4.length;S++)_=R4[S].k.charAt(0),p.charAt(p.length-1)!==_&&(p+=_);return p!=="DGBEFHACIJK"}}),vnr=hnr||!gnr||!ynr||!wot,Dnr=function(p){return function(c,_){return _===void 0?-1:c===void 0?1:p!==void 0?+p(c,_)||0:xot(c)>xot(_)?1:-1}};cnr({target:"Array",proto:!0,forced:vnr},{sort:function(c){c!==void 0&&unr(c);var _=lnr(this);if(wot)return c===void 0?kot(_):kot(_,c);var g=[],S=Eot(_),w,z;for(z=0;z<S;z++)z in _&&mnr(g,_[z]);for(_nr(g,Dnr(c)),w=Eot(g),z=0;z<w;)_[z]=g[z++];for(;z<S;)fnr(_,z++);return _}})});var Oot=jt((b3r,Not)=>{"use strict";Pot();var bnr=mk();Not.exports=bnr("Array","sort")});var Rot=jt((C3r,Lot)=>{"use strict";var Cnr=T2(),Snr=Oot(),zAe=Array.prototype;Lot.exports=function(p){var c=p.sort;return p===zAe||Cnr(zAe,p)&&c===zAe.sort?Snr:c}});var Bot=jt((S3r,Mot)=>{"use strict";var Enr=Rot();Mot.exports=Enr});var Jot=jt((E3r,jot)=>{jot.exports=Bot()});var WAe=jt((x3r,qot)=>{"use strict";qot.exports=`
4
- \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Uot=jt((T3r,Wot)=>{"use strict";var xnr=cm(),Tnr=dR(),Anr=hk(),VAe=WAe(),zot=xnr("".replace),Fnr=RegExp("^["+VAe+"]+"),knr=RegExp("(^|[^"+VAe+"])["+VAe+"]+$"),UAe=function(p){return function(c){var _=Anr(Tnr(c));return p&1&&(_=zot(_,Fnr,"")),p&2&&(_=zot(_,knr,"$1")),_}};Wot.exports={start:UAe(1),end:UAe(2),trim:UAe(3)}});var Xot=jt((A3r,Qot)=>{"use strict";var Hot=Xh(),Inr=Jm(),wnr=cm(),Pnr=hk(),Nnr=Uot().trim,Vot=WAe(),AV=Hot.parseInt,Got=Hot.Symbol,$ot=Got&&Got.iterator,Kot=/^[+-]?0x/i,Onr=wnr(Kot.exec),Lnr=AV(Vot+"08")!==8||AV(Vot+"0x16")!==22||$ot&&!Inr(function(){AV(Object($ot))});Qot.exports=Lnr?function(c,_){var g=Nnr(Pnr(c));return AV(g,_>>>0||(Onr(Kot,g)?16:10))}:AV});var Zot=jt(()=>{"use strict";var Rnr=Xp(),Yot=Xot();Rnr({global:!0,forced:parseInt!==Yot},{parseInt:Yot})});var tct=jt((I3r,ect)=>{"use strict";Zot();var Mnr=eE();ect.exports=Mnr.parseInt});var nct=jt((w3r,rct)=>{"use strict";var Bnr=tct();rct.exports=Bnr});var sct=jt((P3r,ict)=>{ict.exports=nct()});var oct=jt(()=>{"use strict";var jnr=Xp(),Jnr=oae(),qnr=OTe().indexOf,znr=TV(),GAe=Jnr([].indexOf),act=!!GAe&&1/GAe([1],1,-0)<0,Wnr=act||!znr("indexOf");jnr({target:"Array",proto:!0,forced:Wnr},{indexOf:function(c){var _=arguments.length>1?arguments[1]:void 0;return act?GAe(this,c,_)||0:qnr(this,c,_)}})});var uct=jt((L3r,cct)=>{"use strict";oct();var Unr=mk();cct.exports=Unr("Array","indexOf")});var fct=jt((R3r,lct)=>{"use strict";var Vnr=T2(),Gnr=uct(),$Ae=Array.prototype;lct.exports=function(p){var c=p.indexOf;return p===$Ae||Vnr($Ae,p)&&c===$Ae.indexOf?Gnr:c}});var pct=jt((M3r,_ct)=>{"use strict";var $nr=fct();_ct.exports=$nr});var FV=jt((B3r,dct)=>{dct.exports=pct()});var hct=jt((j3r,mct)=>{"use strict";var Hnr=Pae().forEach,Knr=TV(),Qnr=Knr("forEach");mct.exports=Qnr?[].forEach:function(c){return Hnr(this,c,arguments.length>1?arguments[1]:void 0)}});var yct=jt(()=>{"use strict";var Xnr=Xp(),gct=hct();Xnr({target:"Array",proto:!0,forced:[].forEach!==gct},{forEach:gct})});var Dct=jt((z3r,vct)=>{"use strict";yct();var Ynr=mk();vct.exports=Ynr("Array","forEach")});var Cct=jt((W3r,bct)=>{"use strict";var Znr=Dct();bct.exports=Znr});var Sct=jt(()=>{});var xct=jt((G3r,Ect)=>{"use strict";var eir=SR(),tir=Ry(),rir=T2(),nir=Cct();Sct();var HAe=Array.prototype,iir={DOMTokenList:!0,NodeList:!0};Ect.exports=function(p){var c=p.forEach;return p===HAe||rir(HAe,p)&&c===HAe.forEach||tir(iir,eir(p))?nir:c}});var KAe=jt(($3r,Tct)=>{Tct.exports=xct()});var Fct=jt((H3r,Act)=>{"use strict";nAe();var sir=mk();Act.exports=sir("Array","concat")});var Ict=jt((K3r,kct)=>{"use strict";var air=T2(),oir=Fct(),QAe=Array.prototype;kct.exports=function(p){var c=p.concat;return p===QAe||air(QAe,p)&&c===QAe.concat?oir:c}});var Pct=jt((Q3r,wct)=>{"use strict";var cir=Ict();wct.exports=cir});var kV=jt((X3r,Nct)=>{Nct.exports=Pct()});var $ct=jt((OV,Gct)=>{"use strict";var uir=oV(),lir=eAe(),fir=FAe(),_ir=IAe(),pir=PAe(),dir=_k(),vk=pk();dir(OV,"__esModule",{value:!0});OV.default=void 0;var mir=vk(jAe()),kR=vk(Uat()),e7=vk(cot()),hir=vk(Jot()),iE=vk(oV()),Mct=vk(sct()),Dk=vk(FV()),YAe=vk(KAe()),gir=vk(kV());function PV(p,c){var _=typeof fir<"u"&&_ir(p)||p["@@iterator"];if(!_){if(pir(p)||(_=yir(p))||c&&p&&typeof p.length=="number"){_&&(p=_);var g=0,S=function(){};return{s:S,n:function(){return g>=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(be){throw be},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w,z=!0,ie=!1;return{s:function(){_=_.call(p)},n:function(){var be=_.next();return z=be.done,be},e:function(be){ie=!0,w=be},f:function(){try{z||_.return==null||_.return()}finally{if(ie)throw w}}}}function yir(p,c){if(p){var _;if(typeof p=="string")return Oct(p,c);var g=uir(_={}.toString.call(p)).call(_,8,-1);return g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set"?lir(p):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?Oct(p,c):void 0}}function Oct(p,c){(c==null||c>p.length)&&(c=p.length);for(var _=0,g=Array(c);_<c;_++)g[_]=p[_];return g}var Mp="xregexp",t7={astral:!1,namespacing:!0},xT={},IV=(0,kR.default)(null),AR=(0,kR.default)(null),XAe=[],FR="default",Lct="class",vir={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/},Dir=/\$(?:\{([^\}]+)\}|<([^>]+)>|(\d\d?|[\s\S]?))/g,bir=/()??/.exec("")[1]===void 0,Cir=(0,e7.default)(/x/)!==void 0;function NV(p){var c=!0;try{if(new RegExp("",p),p==="y"){var _=(function(){return"gy"})(),g=".a".replace(new RegExp("a",_),".")==="..";g&&(c=!1)}}catch{c=!1}return c}var Sir=NV("d"),ZAe=NV("s"),Bct=NV("u"),eFe=NV("y"),jct={d:Sir,g:!0,i:!0,m:!0,s:ZAe,u:Bct,y:eFe},Eir=ZAe?/[^dgimsuy]+/g:/[^dgimuy]+/g;function Jct(p,c,_,g,S){var w;if(p[Mp]={captureNames:c},S)return p;if(p.__proto__)p.__proto__=Wa.prototype;else for(var z in Wa.prototype)p[z]=Wa.prototype[z];return p[Mp].source=_,p[Mp].flags=g&&(0,hir.default)(w=g.split("")).call(w).join(""),p}function wV(p){return p.replace(/([\s\S])(?=[\s\S]*\1)/g,"")}function r7(p,c){var _;if(!Wa.isRegExp(p))throw new TypeError("Type RegExp expected");var g=p[Mp]||{},S=xir(p),w="",z="",ie=null,de=null;return c=c||{},c.removeG&&(z+="g"),c.removeY&&(z+="y"),z&&(S=S.replace(new RegExp("[".concat(z,"]+"),"g"),"")),c.addG&&(w+="g"),c.addY&&(w+="y"),w&&(S=wV(S+w)),c.isInternalOnly||(g.source!==void 0&&(ie=g.source),(0,e7.default)(g)!=null&&(de=w?wV((0,e7.default)(g)+w):(0,e7.default)(g))),p=Jct(new RegExp(c.source||p.source,S),Tir(p)?(0,iE.default)(_=g.captureNames).call(_,0):null,ie,de,c.isInternalOnly),p}function qct(p){return(0,Mct.default)(p,16)}function zct(p,c,_){var g=p.index+p[0].length,S=p.input[p.index-1],w=p.input[g];return/^[()|]$/.test(S)||/^[()|]$/.test(w)||p.index===0||g===p.input.length||/\(\?(?:[:=!]|<[=!])$/.test(p.input.substring(p.index-4,p.index))||Air(p.input,g,_)?"":"(?:)"}function xir(p){return Cir?(0,e7.default)(p):/\/([a-z]*)$/i.exec(RegExp.prototype.toString.call(p))[1]}function Tir(p){return!!(p[Mp]&&p[Mp].captureNames)}function tFe(p){return(0,Mct.default)(p,10).toString(16)}function Air(p,c,_){var g="\\(\\?#[^)]*\\)",S="#[^#\\n]*",w="[?*+]|{\\d+(?:,\\d*)?}",z=(0,Dk.default)(_).call(_,"x")!==-1?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/;return z.test((0,iE.default)(p).call(p,c))}function Wae(p,c){return Object.prototype.toString.call(p)==="[object ".concat(c,"]")}function IR(p){if(p==null)throw new TypeError("Cannot convert null or undefined to object");return p}function rFe(p){for(;p.length<4;)p="0".concat(p);return p}function Fir(p,c){if(wV(c)!==c)throw new SyntaxError("Invalid duplicate regex flag ".concat(c));p=p.replace(/^\(\?([\w$]+)\)/,function(w,z){if(/[dgy]/.test(z))throw new SyntaxError("Cannot use flags dgy in mode modifier ".concat(w));return c=wV(c+z),""});var _=PV(c),g;try{for(_.s();!(g=_.n()).done;){var S=g.value;if(!jct[S])throw new SyntaxError("Unknown regex flag ".concat(S))}}catch(w){_.e(w)}finally{_.f()}return{pattern:p,flags:c}}function Wct(p){var c={};return Wae(p,"String")?((0,YAe.default)(Wa).call(Wa,p,/[^\s,]+/,function(_){c[_]=!0}),c):p}function Rct(p){if(!/^[\w$]$/.test(p))throw new Error("Flag must be a single character A-Za-z0-9_$");jct[p]=!0}function kir(p,c,_,g,S){for(var w=XAe.length,z=p[_],ie=null,de,be;w--;)if(be=XAe[w],!(be.leadChar&&be.leadChar!==z||be.scope!==g&&be.scope!=="all"||be.flag&&(0,Dk.default)(c).call(c,be.flag)===-1)&&(de=Wa.exec(p,be.regex,_,"sticky"),de)){ie={matchLength:de[0].length,output:be.handler.call(S,de,g,c),reparse:be.reparse};break}return ie}function Uct(p){t7.astral=p}function Vct(p){t7.namespacing=p}function Wa(p,c){if(Wa.isRegExp(p)){if(c!==void 0)throw new TypeError("Cannot supply flags when copying a RegExp");return r7(p)}if(p=p===void 0?"":String(p),c=c===void 0?"":String(c),Wa.isInstalled("astral")&&(0,Dk.default)(c).call(c,"A")===-1&&(c+="A"),AR[p]||(AR[p]={}),!AR[p][c]){for(var _={hasNamedCapture:!1,captureNames:[]},g=FR,S="",w=0,z,ie=Fir(p,c),de=ie.pattern,be=(0,e7.default)(ie);w<de.length;){do z=kir(de,be,w,g,_),z&&z.reparse&&(de=(0,iE.default)(de).call(de,0,w)+z.output+(0,iE.default)(de).call(de,w+z.matchLength));while(z&&z.reparse);if(z)S+=z.output,w+=z.matchLength||1;else{var Ee=Wa.exec(de,vir[g],w,"sticky"),Oe=(0,mir.default)(Ee,1),Y=Oe[0];S+=Y,w+=Y.length,Y==="["&&g===FR?g=Lct:Y==="]"&&g===Lct&&(g=FR)}}AR[p][c]={pattern:S.replace(/(?:\(\?:\))+/g,"(?:)"),flags:be.replace(Eir,""),captures:_.hasNamedCapture?_.captureNames:null}}var ut=AR[p][c];return Jct(new RegExp(ut.pattern,(0,e7.default)(ut)),ut.captures,p,c)}Wa.prototype=/(?:)/;Wa.version="5.1.2";Wa._clipDuplicates=wV;Wa._hasNativeFlag=NV;Wa._dec=qct;Wa._hex=tFe;Wa._pad4=rFe;Wa.addToken=function(p,c,_){_=_||{};var g=_,S=g.optionalFlags;if(_.flag&&Rct(_.flag),S){S=S.split("");var w=PV(S),z;try{for(w.s();!(z=w.n()).done;){var ie=z.value;Rct(ie)}}catch(de){w.e(de)}finally{w.f()}}XAe.push({regex:r7(p,{addG:!0,addY:eFe,isInternalOnly:!0}),handler:c,scope:_.scope||FR,flag:_.flag,reparse:_.reparse,leadChar:_.leadChar}),Wa.cache.flush("patterns")};Wa.cache=function(p,c){return IV[p]||(IV[p]={}),IV[p][c]||(IV[p][c]=Wa(p,c))};Wa.cache.flush=function(p){p==="patterns"?AR=(0,kR.default)(null):IV=(0,kR.default)(null)};Wa.escape=function(p){return String(IR(p)).replace(/[\\\[\]{}()*+?.^$|]/g,"\\$&").replace(/[\s#\-,]/g,function(c){return"\\u".concat(rFe(tFe(c.charCodeAt(0))))})};Wa.exec=function(p,c,_,g){var S="g",w=!1,z=!1,ie;w=eFe&&!!(g||c.sticky&&g!==!1),w?S+="y":g&&(z=!0,S+="FakeY"),c[Mp]=c[Mp]||{};var de=c[Mp][S]||(c[Mp][S]=r7(c,{addG:!0,addY:w,source:z?"".concat(c.source,"|()"):void 0,removeY:g===!1,isInternalOnly:!0}));return _=_||0,de.lastIndex=_,ie=xT.exec.call(de,p),z&&ie&&ie.pop()===""&&(ie=null),c.global&&(c.lastIndex=ie?de.lastIndex:0),ie};Wa.forEach=function(p,c,_){for(var g=0,S=-1,w;w=Wa.exec(p,c,g);)_(w,++S,p,c),g=w.index+(w[0].length||1)};Wa.globalize=function(p){return r7(p,{addG:!0})};Wa.install=function(p){p=Wct(p),!t7.astral&&p.astral&&Uct(!0),!t7.namespacing&&p.namespacing&&Vct(!0)};Wa.isInstalled=function(p){return!!t7[p]};Wa.isRegExp=function(p){return Object.prototype.toString.call(p)==="[object RegExp]"};Wa.match=function(p,c,_){var g=c.global&&_!=="one"||_==="all",S=(g?"g":"")+(c.sticky?"y":"")||"noGY";c[Mp]=c[Mp]||{};var w=c[Mp][S]||(c[Mp][S]=r7(c,{addG:!!g,removeG:_==="one",isInternalOnly:!0})),z=String(IR(p)).match(w);return c.global&&(c.lastIndex=_==="one"&&z?z.index+z[0].length:0),g?z||[]:z&&z[0]};Wa.matchChain=function(p,c){return(function _(g,S){var w=c[S].regex?c[S]:{regex:c[S]},z=[];function ie(Oe){if(w.backref){var Y="Backreference to undefined group: ".concat(w.backref),ut=isNaN(w.backref);if(ut&&Wa.isInstalled("namespacing")){if(!(Oe.groups&&w.backref in Oe.groups))throw new ReferenceError(Y)}else if(!Oe.hasOwnProperty(w.backref))throw new ReferenceError(Y);var Ye=ut&&Wa.isInstalled("namespacing")?Oe.groups[w.backref]:Oe[w.backref];z.push(Ye||"")}else z.push(Oe[0])}var de=PV(g),be;try{for(de.s();!(be=de.n()).done;){var Ee=be.value;(0,YAe.default)(Wa).call(Wa,Ee,w.regex,ie)}}catch(Oe){de.e(Oe)}finally{de.f()}return S===c.length-1||!z.length?z:_(z,S+1)})([p],0)};Wa.replace=function(p,c,_,g){var S=Wa.isRegExp(c),w=c.global&&g!=="one"||g==="all",z=(w?"g":"")+(c.sticky?"y":"")||"noGY",ie=c;S?(c[Mp]=c[Mp]||{},ie=c[Mp][z]||(c[Mp][z]=r7(c,{addG:!!w,removeG:g==="one",isInternalOnly:!0}))):w&&(ie=new RegExp(Wa.escape(String(c)),"g"));var de=xT.replace.call(IR(p),ie,_);return S&&c.global&&(c.lastIndex=0),de};Wa.replaceEach=function(p,c){var _=PV(c),g;try{for(_.s();!(g=_.n()).done;){var S=g.value;p=Wa.replace(p,S[0],S[1],S[2])}}catch(w){_.e(w)}finally{_.f()}return p};Wa.split=function(p,c,_){return xT.split.call(IR(p),c,_)};Wa.test=function(p,c,_,g){return!!Wa.exec(p,c,_,g)};Wa.uninstall=function(p){p=Wct(p),t7.astral&&p.astral&&Uct(!1),t7.namespacing&&p.namespacing&&Vct(!1)};Wa.union=function(p,c,_){_=_||{};var g=_.conjunction||"or",S=0,w,z;function ie(Ye,We,Ut){var _r=z[S-w];if(We){if(++S,_r)return"(?<".concat(_r,">")}else if(Ut)return"\\".concat(+Ut+w);return Ye}if(!(Wae(p,"Array")&&p.length))throw new TypeError("Must provide a nonempty array of patterns to merge");var de=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,be=[],Ee=PV(p),Oe;try{for(Ee.s();!(Oe=Ee.n()).done;){var Y=Oe.value;Wa.isRegExp(Y)?(w=S,z=Y[Mp]&&Y[Mp].captureNames||[],be.push(Wa(Y.source).source.replace(de,ie))):be.push(Wa.escape(Y))}}catch(Ye){Ee.e(Ye)}finally{Ee.f()}var ut=g==="none"?"":"|";return Wa(be.join(ut),c)};xT.exec=function(p){var c=this.lastIndex,_=RegExp.prototype.exec.apply(this,arguments);if(_){if(!bir&&_.length>1&&(0,Dk.default)(_).call(_,"")!==-1){var g,S=r7(this,{removeG:!0,isInternalOnly:!0});(0,iE.default)(g=String(p)).call(g,_.index).replace(S,function(){for(var de=arguments.length,be=1;be<de-2;++be)(be<0||arguments.length<=be?void 0:arguments[be])===void 0&&(_[be]=void 0)})}if(this[Mp]&&this[Mp].captureNames){var w=_;Wa.isInstalled("namespacing")&&(_.groups=(0,kR.default)(null),w=_.groups);for(var z=1;z<_.length;++z){var ie=this[Mp].captureNames[z-1];ie&&(w[ie]=_[z])}}else!_.groups&&Wa.isInstalled("namespacing")&&(_.groups=void 0);this.global&&!_[0].length&&this.lastIndex>_.index&&(this.lastIndex=_.index)}return this.global||(this.lastIndex=c),_};xT.test=function(p){return!!xT.exec.call(this,p)};xT.match=function(p){if(!Wa.isRegExp(p))p=new RegExp(p);else if(p.global){var c=String.prototype.match.apply(this,arguments);return p.lastIndex=0,c}return xT.exec.call(p,IR(this))};xT.replace=function(p,c){var _=Wa.isRegExp(p),g,S,w;return _?(p[Mp]&&(S=p[Mp].captureNames),g=p.lastIndex):p+="",Wae(c,"Function")?w=String(this).replace(p,function(){for(var z=arguments.length,ie=new Array(z),de=0;de<z;de++)ie[de]=arguments[de];if(S){var be;Wa.isInstalled("namespacing")?(be=(0,kR.default)(null),ie.push(be)):(ie[0]=new String(ie[0]),be=ie[0]);for(var Ee=0;Ee<S.length;++Ee)S[Ee]&&(be[S[Ee]]=ie[Ee+1])}return c.apply(void 0,ie)}):w=String(IR(this)).replace(p,function(){for(var z=arguments.length,ie=new Array(z),de=0;de<z;de++)ie[de]=arguments[de];return String(c).replace(Dir,be);function be(Ee,Oe,Y,ut){Oe=Oe||Y;var Ye=Wae(ie[ie.length-1],"Object")?4:3,We=ie.length-Ye;if(Oe){if(/^\d+$/.test(Oe)){var Ut=+Oe;if(Ut<=We)return ie[Ut]||""}var _r=S?(0,Dk.default)(S).call(S,Oe):-1;if(_r<0)throw new SyntaxError("Backreference to undefined group ".concat(Ee));return ie[_r+1]||""}if(ut===""||ut===" ")throw new SyntaxError("Invalid token ".concat(Ee));if(ut==="&"||+ut==0)return ie[0];if(ut==="$")return"$";if(ut==="`"){var Hr;return(0,iE.default)(Hr=ie[ie.length-1]).call(Hr,0,ie[ie.length-2])}if(ut==="'"){var On;return(0,iE.default)(On=ie[ie.length-1]).call(On,ie[ie.length-2]+ie[0].length)}if(ut=+ut,!isNaN(ut)){if(ut>We)throw new SyntaxError("Backreference to undefined group ".concat(Ee));return ie[ut]||""}throw new SyntaxError("Invalid token ".concat(Ee))}}),_&&(p.global?p.lastIndex=0:p.lastIndex=g),w};xT.split=function(p,c){if(!Wa.isRegExp(p))return String.prototype.split.apply(this,arguments);var _=String(this),g=[],S=p.lastIndex,w=0,z;return c=(c===void 0?-1:c)>>>0,(0,YAe.default)(Wa).call(Wa,_,p,function(ie){ie.index+ie[0].length>w&&(g.push((0,iE.default)(_).call(_,w,ie.index)),ie.length>1&&ie.index<_.length&&Array.prototype.push.apply(g,(0,iE.default)(ie).call(ie,1)),z=ie[0].length,w=ie.index+z)}),w===_.length?(!p.test("")||z)&&g.push(""):g.push((0,iE.default)(_).call(_,w)),p.lastIndex=S,g.length>c?(0,iE.default)(g).call(g,0,c):g};Wa.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,function(p,c){if(p[1]==="B"&&c===FR)return p[0];throw new SyntaxError("Invalid escape ".concat(p[0]))},{scope:"all",leadChar:"\\"});Wa.addToken(/\\u{([\dA-Fa-f]+)}/,function(p,c,_){var g=qct(p[1]);if(g>1114111)throw new SyntaxError("Invalid Unicode code point ".concat(p[0]));if(g<=65535)return"\\u".concat(rFe(tFe(g)));if(Bct&&(0,Dk.default)(_).call(_,"u")!==-1)return p[0];throw new SyntaxError("Cannot use Unicode code point above \\u{FFFF} without flag u")},{scope:"all",leadChar:"\\"});Wa.addToken(/\(\?#[^)]*\)/,zct,{leadChar:"("});Wa.addToken(/\s+|#[^\n]*\n?/,zct,{flag:"x"});ZAe||Wa.addToken(/\./,function(){return"[\\s\\S]"},{flag:"s",leadChar:"."});Wa.addToken(/\\k<([^>]+)>/,function(p){var c,_,g=isNaN(p[1])?(0,Dk.default)(c=this.captureNames).call(c,p[1])+1:+p[1],S=p.index+p[0].length;if(!g||g>this.captureNames.length)throw new SyntaxError("Backreference to undefined group ".concat(p[0]));return(0,gir.default)(_="\\".concat(g)).call(_,S===p.input.length||isNaN(p.input[S])?"":"(?:)")},{leadChar:"\\"});Wa.addToken(/\\(\d+)/,function(p,c){if(!(c===FR&&/^[1-9]/.test(p[1])&&+p[1]<=this.captureNames.length)&&p[1]!=="0")throw new SyntaxError("Cannot use octal escape or backreference to undefined group ".concat(p[0]));return p[0]},{scope:"all",leadChar:"\\"});Wa.addToken(/\(\?P?<((?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF65-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDD40-\uDD65\uDD69-\uDD6D\uDD6F-\uDD85\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEC2-\uDEC4\uDEFC-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7-\uDFC0\uDFC2\uDFC5\uDFC7-\uDFCA\uDFCC-\uDFD3\uDFE1\uDFE2]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF50-\uDF5A\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDCF0-\uDCF9\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAE\uDEC0-\uDEF9]|\uD839[\uDCD0-\uDCF9\uDDD0-\uDDFA\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])*)>/,function(p){var c;if(!Wa.isInstalled("namespacing")&&(p[1]==="length"||p[1]==="__proto__"))throw new SyntaxError("Cannot use reserved word as capture name ".concat(p[0]));if((0,Dk.default)(c=this.captureNames).call(c,p[1])!==-1)throw new SyntaxError("Cannot use same name for multiple groups ".concat(p[0]));return this.captureNames.push(p[1]),this.hasNamedCapture=!0,"("},{leadChar:"("});Wa.addToken(/\((?!\?)/,function(p,c,_){return(0,Dk.default)(_).call(_,"n")!==-1?"(?:":(this.captureNames.push(null),"(")},{optionalFlags:"n",leadChar:"("});var Y3r=OV.default=Wa;Gct.exports=OV.default});var Yct=jt((Z3r,Xct)=>{"use strict";var Iir=GP(),wir=ET(),Pir=uae(),Nir=dk(),Hct=TypeError,Kct="Reduce of empty array with no initial value",Qct=function(p){return function(c,_,g,S){var w=wir(c),z=Pir(w),ie=Nir(w);if(Iir(_),ie===0&&g<2)throw new Hct(Kct);var de=p?ie-1:0,be=p?-1:1;if(g<2)for(;;){if(de in z){S=z[de],de+=be;break}if(de+=be,p?de<0:ie<=de)throw new Hct(Kct)}for(;p?de>=0:ie>de;de+=be)de in z&&(S=_(S,z[de],de,w));return S}};Xct.exports={left:Qct(!1),right:Qct(!0)}});var eut=jt((e4r,Zct)=>{"use strict";var LV=Xh(),Oir=mR(),Lir=N4(),Uae=function(p){return Oir.slice(0,p.length)===p};Zct.exports=(function(){return Uae("Bun/")?"BUN":Uae("Cloudflare-Workers")?"CLOUDFLARE":Uae("Deno/")?"DENO":Uae("Node.js/")?"NODE":LV.Bun&&typeof Bun.version=="string"?"BUN":LV.Deno&&typeof Deno.version=="object"?"DENO":Lir(LV.process)==="process"?"NODE":LV.window&&LV.document?"BROWSER":"REST"})()});var rut=jt((t4r,tut)=>{"use strict";var Rir=eut();tut.exports=Rir==="NODE"});var iut=jt(()=>{"use strict";var Mir=Xp(),Bir=Yct().left,jir=TV(),nut=hR(),Jir=rut(),qir=!Jir&&nut>79&&nut<83,zir=qir||!jir("reduce");Mir({target:"Array",proto:!0,forced:zir},{reduce:function(c){var _=arguments.length;return Bir(this,c,_,_>1?arguments[1]:void 0)}})});var aut=jt((i4r,sut)=>{"use strict";iut();var Wir=mk();sut.exports=Wir("Array","reduce")});var cut=jt((s4r,out)=>{"use strict";var Uir=T2(),Vir=aut(),nFe=Array.prototype;out.exports=function(p){var c=p.reduce;return p===nFe||Uir(nFe,p)&&c===nFe.reduce?Vir:c}});var lut=jt((a4r,uut)=>{"use strict";var Gir=cut();uut.exports=Gir});var _ut=jt((o4r,fut)=>{fut.exports=lut()});var put=jt(()=>{"use strict";var $ir=Xp(),Hir=Pae().map,Kir=Cae(),Qir=Kir("map");$ir({target:"Array",proto:!0,forced:!Qir},{map:function(c){return Hir(this,c,arguments.length>1?arguments[1]:void 0)}})});var mut=jt((l4r,dut)=>{"use strict";put();var Xir=mk();dut.exports=Xir("Array","map")});var gut=jt((f4r,hut)=>{"use strict";var Yir=T2(),Zir=mut(),iFe=Array.prototype;hut.exports=function(p){var c=p.map;return p===iFe||Yir(iFe,p)&&c===iFe.map?Zir:c}});var vut=jt((_4r,yut)=>{"use strict";var esr=gut();yut.exports=esr});var but=jt((p4r,Dut)=>{Dut.exports=vut()});var Eut=jt((RV,Sut)=>{"use strict";var tsr=_k(),Vae=pk();tsr(RV,"__esModule",{value:!0});RV.default=void 0;var rsr=Vae(_ut()),Cut=Vae(but()),nsr=Vae(FV()),isr=Vae(kV());var d4r=RV.default=function(c){var _="xregexp",g=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,S=c.union([/\({{([\w$]+)}}\)|{{([\w$]+)}}/,g],"g",{conjunction:"or"});function w(Ee){var Oe=/^(?:\(\?:\))*\^/,Y=/\$(?:\(\?:\))*$/;return Oe.test(Ee)&&Y.test(Ee)&&Y.test(Ee.replace(/\\[\s\S]/g,""))?Ee.replace(Oe,"").replace(Y,""):Ee}function z(Ee,Oe){var Y=Oe?"x":"";return c.isRegExp(Ee)?Ee[_]&&Ee[_].captureNames?Ee:c(Ee.source,Y):c(Ee,Y)}function ie(Ee){return Ee instanceof RegExp?Ee:c.escape(Ee)}function de(Ee,Oe,Y){return Ee["subpattern".concat(Y)]=Oe,Ee}function be(Ee,Oe,Y){var ut=Oe<Y.length-1;return Ee+(ut?"{{subpattern".concat(Oe,"}}"):"")}c.tag=function(Ee){return function(Oe){for(var Y,ut,Ye=arguments.length,We=new Array(Ye>1?Ye-1:0),Ut=1;Ut<Ye;Ut++)We[Ut-1]=arguments[Ut];var _r=(0,rsr.default)(Y=(0,Cut.default)(We).call(We,ie)).call(Y,de,{}),Hr=(0,Cut.default)(ut=Oe.raw).call(ut,be).join("");return c.build(Hr,_r,Ee)}},c.build=function(Ee,Oe,Y){Y=Y||"";var ut=(0,nsr.default)(Y).call(Y,"x")!==-1,Ye=/^\(\?([\w$]+)\)/.exec(Ee);Ye&&(Y=c._clipDuplicates(Y+Ye[1]));var We={};for(var Ut in Oe)if(Oe.hasOwnProperty(Ut)){var _r=z(Oe[Ut],ut);We[Ut]={pattern:w(_r.source),names:_r[_].captureNames||[]}}var Hr=z(Ee,ut),On=0,Hi,us=0,Hn=[0],an=Hr[_].captureNames||[],hc=Hr.source.replace(S,function(ma,ic,xn,Os,Js){var Rr=ic||xn,wo,Ro,hr;if(Rr){var Sl;if(!We.hasOwnProperty(Rr))throw new ReferenceError("Undefined property ".concat(ma));ic?(wo=an[us],Hn[++us]=++On,Ro="(?<".concat(wo||Rr,">")):Ro="(?:",Hi=On;var lc=We[Rr].pattern.replace(g,function(Ko,Zs,jp){if(Zs){if(wo=We[Rr].names[On-Hi],++On,wo)return"(?<".concat(wo,">")}else if(jp)return hr=+jp-1,We[Rr].names[hr]?"\\k<".concat(We[Rr].names[hr],">"):"\\".concat(+jp+Hi);return Ko});return(0,isr.default)(Sl="".concat(Ro)).call(Sl,lc,")")}if(Os){if(wo=an[us],Hn[++us]=++On,wo)return"(?<".concat(wo,">")}else if(Js)return hr=+Js-1,an[hr]?"\\k<".concat(an[hr],">"):"\\".concat(Hn[+Js]);return ma});return c(hc,Y)}};Sut.exports=RV.default});var Aut=jt((MV,Tut)=>{"use strict";var ssr=_k(),aFe=pk();ssr(MV,"__esModule",{value:!0});MV.default=void 0;var xut=aFe(FV()),sFe=aFe(kV()),wR=aFe(oV());var m4r=MV.default=function(c){function _(g,S,w,z){return{name:g,value:S,start:w,end:z}}c.matchRecursive=function(g,S,w,z,ie){z=z||"",ie=ie||{};var de=(0,xut.default)(z).call(z,"g")!==-1,be=(0,xut.default)(z).call(z,"y")!==-1,Ee=z.replace(/y/g,"");S=c(S,Ee),w=c(w,Ee);var Oe,Y=ie,ut=Y.escapeChar;if(ut){var Ye,We;if(ut.length>1)throw new Error("Cannot use more than one escape character");ut=c.escape(ut),Oe=new RegExp((0,sFe.default)(Ye=(0,sFe.default)(We="(?:".concat(ut,"[\\S\\s]|(?:(?!")).call(We,c.union([S,w],"",{conjunction:"or"}).source,")[^")).call(Ye,ut,"])+)+"),z.replace(c._hasNativeFlag("s")?/[^imsu]/g:/[^imu]/g,""))}for(var Ut=0,_r=0,Hr=0,On=0,Hi,us,Hn,an,hc=ie.valueNames,ma=[];;){if(ut&&(Hr+=(c.exec(g,Oe,Hr,"sticky")||[""])[0].length),Hn=c.exec(g,S,Hr),an=c.exec(g,w,Hr),Hn&&an&&(Hn.index<=an.index?an=null:Hn=null),Hn||an)_r=(Hn||an).index,Hr=_r+(Hn||an)[0].length;else if(!Ut)break;if(be&&!Ut&&_r>On)break;if(Hn)Ut||(Hi=_r,us=Hr),Ut+=1;else if(an&&Ut){if(Ut-=1,!Ut&&(hc?(hc[0]&&Hi>On&&ma.push(_(hc[0],(0,wR.default)(g).call(g,On,Hi),On,Hi)),hc[1]&&ma.push(_(hc[1],(0,wR.default)(g).call(g,Hi,us),Hi,us)),hc[2]&&ma.push(_(hc[2],(0,wR.default)(g).call(g,us,_r),us,_r)),hc[3]&&ma.push(_(hc[3],(0,wR.default)(g).call(g,_r,Hr),_r,Hr))):ma.push((0,wR.default)(g).call(g,us,_r)),On=Hr,!de))break}else{var ic=ie.unbalanced||"error";if(ic==="skip"||ic==="skip-lazy")if(an)an=null;else{if(ic==="skip"){var xn=c.exec(g,S,Hi,"sticky")[0].length;Hr=Hi+(xn||1)}else Hr=Hi+1;Ut=0}else if(ic==="error"){var Os,Js=an?"right":"left",Rr=an?_r:Hi;throw new Error((0,sFe.default)(Os="Unbalanced ".concat(Js," delimiter found in string at position ")).call(Os,Rr))}else throw new Error("Unsupported value for unbalanced: ".concat(ic))}_r===Hr&&(Hr+=1)}return de&&ma.length>0&&!be&&hc&&hc[0]&&g.length>On&&ma.push(_(hc[0],(0,wR.default)(g).call(g,On),On,g.length)),ma}};Tut.exports=MV.default});var Iut=jt((BV,kut)=>{"use strict";var asr=oV(),osr=eAe(),csr=FAe(),usr=IAe(),lsr=PAe(),fsr=_k(),Gae=pk();fsr(BV,"__esModule",{value:!0});BV.default=void 0;var _sr=Gae(jAe()),psr=Gae(KAe()),oFe=Gae(kV()),dsr=Gae(FV());function msr(p,c){var _=typeof csr<"u"&&usr(p)||p["@@iterator"];if(!_){if(lsr(p)||(_=hsr(p))||c&&p&&typeof p.length=="number"){_&&(p=_);var g=0,S=function(){};return{s:S,n:function(){return g>=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(be){throw be},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w,z=!0,ie=!1;return{s:function(){_=_.call(p)},n:function(){var be=_.next();return z=be.done,be},e:function(be){ie=!0,w=be},f:function(){try{z||_.return==null||_.return()}finally{if(ie)throw w}}}}function hsr(p,c){if(p){var _;if(typeof p=="string")return Fut(p,c);var g=asr(_={}.toString.call(p)).call(_,8,-1);return g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set"?osr(p):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?Fut(p,c):void 0}}function Fut(p,c){(c==null||c>p.length)&&(c=p.length);for(var _=0,g=Array(c);_<c;_++)g[_]=p[_];return g}var h4r=BV.default=function(c){var _={},g={},S=c._dec,w=c._hex,z=c._pad4;function ie(ut){return ut.replace(/[- _]+/g,"").toLowerCase()}function de(ut){var Ye=/^\\[xu](.+)/.exec(ut);return Ye?S(Ye[1]):ut.charCodeAt(ut[0]==="\\"?1:0)}function be(ut){var Ye="",We=-1;return(0,psr.default)(c).call(c,ut,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(Ut){var _r=de(Ut[1]);_r>We+1&&(Ye+="\\u".concat(z(w(We+1))),_r>We+2&&(Ye+="-\\u".concat(z(w(_r-1))))),We=de(Ut[2]||Ut[1])}),We<65535&&(Ye+="\\u".concat(z(w(We+1))),We<65534&&(Ye+="-\\uFFFF")),Ye}function Ee(ut){var Ye="b!";return _[ut][Ye]||(_[ut][Ye]=be(_[ut].bmp))}function Oe(ut,Ye){var We=_[ut],Ut="";if(We.bmp&&!We.isBmpLast){var _r;Ut=(0,oFe.default)(_r="[".concat(We.bmp,"]")).call(_r,We.astral?"|":"")}if(We.astral&&(Ut+=We.astral),We.isBmpLast&&We.bmp){var Hr;Ut+=(0,oFe.default)(Hr="".concat(We.astral?"|":"","[")).call(Hr,We.bmp,"]")}return Ye?"(?:(?!".concat(Ut,")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))"):"(?:".concat(Ut,")")}function Y(ut,Ye){var We=Ye?"a!":"a=";return _[ut][We]||(_[ut][We]=Oe(ut,Ye))}c.addToken(/\\([pP])(?:{(\^?)(?:(\w+)=)?([^}]*)}|([A-Za-z]))/,function(ut,Ye,We){var Ut="Invalid double negation ",_r="Unknown Unicode token ",Hr="Unicode token missing data ",On="Astral mode required for Unicode token ",Hi="Astral mode does not support Unicode tokens within character classes",us=(0,_sr.default)(ut,6),Hn=us[0],an=us[1],hc=us[2],ma=us[3],ic=us[4],xn=us[5],Os=an==="P"||!!hc,Js=(0,dsr.default)(We).call(We,"A")!==-1,Rr=ie(xn||ic),wo=_[Rr];if(an==="P"&&hc)throw new SyntaxError(Ut+Hn);if(!_.hasOwnProperty(Rr))throw new SyntaxError(_r+Hn);if(ma&&!(g[ma]&&g[ma][Rr]))throw new SyntaxError(_r+Hn);if(wo.inverseOf){if(Rr=ie(wo.inverseOf),!_.hasOwnProperty(Rr)){var Ro;throw new ReferenceError((0,oFe.default)(Ro="".concat(Hr+Hn," -> ")).call(Ro,wo.inverseOf))}wo=_[Rr],Os=!Os}if(!(wo.bmp||Js))throw new SyntaxError(On+Hn);if(Js){if(Ye==="class")throw new SyntaxError(Hi);return Y(Rr,Os)}return Ye==="class"?Os?Ee(Rr):wo.bmp:"".concat((Os?"[^":"[")+wo.bmp,"]")},{scope:"all",optionalFlags:"A",leadChar:"\\"}),c.addUnicodeData=function(ut,Ye){var We="Unicode token requires name",Ut="Unicode token has no character data ";Ye&&(g[Ye]={});var _r=msr(ut),Hr;try{for(_r.s();!(Hr=_r.n()).done;){var On=Hr.value;if(!On.name)throw new Error(We);if(!(On.inverseOf||On.bmp||On.astral))throw new Error(Ut+On.name);var Hi=ie(On.name);if(_[Hi]=On,Ye&&(g[Ye][Hi]=!0),On.alias){var us=ie(On.alias);_[us]=On,Ye&&(g[Ye][us]=!0)}}}catch(Hn){_r.e(Hn)}finally{_r.f()}c.cache.flush("patterns")},c._getUnicodeProperty=function(ut){var Ye=ie(ut);return _[Ye]}};kut.exports=BV.default});var Put=jt((g4r,wut)=>{wut.exports=[{name:"C",alias:"Other",isBmpLast:!0,bmp:"\0-\x7F-\x9F\xAD\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u0605\u061C\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F-\u0897\u08E2\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A77-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0BFF\u0C0D\u0C11\u0C29\u0C3A\u0C3B\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C64\u0C65\u0C70-\u0C76\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDC\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D50-\u0D53\u0D64\u0D65\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F6\u13F7\u13FE\u13FF\u169D-\u169F\u16F9-\u16FF\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180E\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE\u1AAF\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u3130\u318F\u31E4-\u31EF\u321F\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA6F8-\uA6FF\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA82D-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C6-\uA8CD\uA8DA-\uA8DF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB6C-\uAB6F\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC3-\uFBD2\uFD90\uFD91\uFDC8-\uFDCE\uFDD0-\uFDEF\uFE1A-\uFE1F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD-\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF",astral:"\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDCFF\uDD03-\uDD06\uDD34-\uDD36\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEFC-\uDEFF\uDF24-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDFC4-\uDFC7\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6E\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56\uDC9F-\uDCA6\uDCB0-\uDCDF\uDCF3\uDCF6-\uDCFA\uDD1C-\uDD1E\uDD3A-\uDD3E\uDD40-\uDD7F\uDDB8-\uDDBB\uDDD0\uDDD1\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE49-\uDE4F\uDE59-\uDE5F\uDEA0-\uDEBF\uDEE7-\uDEEA\uDEF7-\uDEFF\uDF36-\uDF38\uDF56\uDF57\uDF73-\uDF77\uDF92-\uDF98\uDF9D-\uDFA8\uDFB0-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCF9\uDD28-\uDD2F\uDD3A-\uDE5F\uDE7F\uDEAA\uDEAE\uDEAF\uDEB2-\uDEFF\uDF28-\uDF2F\uDF5A-\uDF6F\uDF8A-\uDFAF\uDFCC-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC4E-\uDC51\uDC76-\uDC7E\uDCBD\uDCC3-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD48-\uDD4F\uDD77-\uDD7F\uDDE0\uDDF5-\uDDFF\uDE12\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEAA-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC5C\uDC62-\uDC7F\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDDE-\uDDFF\uDE45-\uDE4F\uDE5A-\uDE5F\uDE6D-\uDE7F\uDEBA-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF47-\uDFFF]|\uD806[\uDC3C-\uDC9F\uDCF3-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD47-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE5-\uDDFF\uDE48-\uDE4F\uDEA3-\uDEAF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC46-\uDC4F\uDC6D-\uDC6F\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF9-\uDFAF\uDFB1-\uDFBF\uDFF2-\uDFFE]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F\uDC75-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80E-\uD810\uD812-\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF3-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDE6D\uDEBF\uDECA-\uDECF\uDEEE\uDEEF\uDEF6-\uDEFF\uDF46-\uDF4F\uDF5A\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE9B-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A\uDC9B\uDCA0-\uDFFF]|\uD833[\uDC00-\uDEFF\uDF2E\uDF2F\uDF47-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD73-\uDD7A\uDDEB-\uDDFF\uDE46-\uDEDF\uDEF4-\uDEFF\uDF57-\uDF5F\uDF79-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]|\uD836[\uDE8C-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD50-\uDE8F\uDEAF-\uDEBF\uDEFA-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCB5-\uDD00\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDCFF\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED8-\uDEDC\uDEED-\uDEEF\uDEFD-\uDEFF\uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]"},{name:"Cc",alias:"Control",bmp:"\0-\x7F-\x9F"},{name:"Cf",alias:"Format",bmp:"\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB",astral:"\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]"},{name:"Cn",alias:"Unassigned",bmp:"\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u05FF\u070E\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F\u0892-\u0897\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A77-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0BFF\u0C0D\u0C11\u0C29\u0C3A\u0C3B\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C64\u0C65\u0C70-\u0C76\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDC\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D50-\u0D53\u0D64\u0D65\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F6\u13F7\u13FE\u13FF\u169D-\u169F\u16F9-\u16FF\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE\u1AAF\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u2065\u2072\u2073\u208F\u209D-\u209F\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u3130\u318F\u31E4-\u31EF\u321F\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA6F8-\uA6FF\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA82D-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C6-\uA8CD\uA8DA-\uA8DF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB6C-\uAB6F\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC3-\uFBD2\uFD90\uFD91\uFDC8-\uFDCE\uFDD0-\uFDEF\uFE1A-\uFE1F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD\uFEFE\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFF8\uFFFE\uFFFF",astral:"\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDCFF\uDD03-\uDD06\uDD34-\uDD36\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEFC-\uDEFF\uDF24-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDFC4-\uDFC7\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6E\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56\uDC9F-\uDCA6\uDCB0-\uDCDF\uDCF3\uDCF6-\uDCFA\uDD1C-\uDD1E\uDD3A-\uDD3E\uDD40-\uDD7F\uDDB8-\uDDBB\uDDD0\uDDD1\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE49-\uDE4F\uDE59-\uDE5F\uDEA0-\uDEBF\uDEE7-\uDEEA\uDEF7-\uDEFF\uDF36-\uDF38\uDF56\uDF57\uDF73-\uDF77\uDF92-\uDF98\uDF9D-\uDFA8\uDFB0-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCF9\uDD28-\uDD2F\uDD3A-\uDE5F\uDE7F\uDEAA\uDEAE\uDEAF\uDEB2-\uDEFF\uDF28-\uDF2F\uDF5A-\uDF6F\uDF8A-\uDFAF\uDFCC-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC4E-\uDC51\uDC76-\uDC7E\uDCC3-\uDCCC\uDCCE\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD48-\uDD4F\uDD77-\uDD7F\uDDE0\uDDF5-\uDDFF\uDE12\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEAA-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC5C\uDC62-\uDC7F\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDDE-\uDDFF\uDE45-\uDE4F\uDE5A-\uDE5F\uDE6D-\uDE7F\uDEBA-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF47-\uDFFF]|\uD806[\uDC3C-\uDC9F\uDCF3-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD47-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE5-\uDDFF\uDE48-\uDE4F\uDEA3-\uDEAF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC46-\uDC4F\uDC6D-\uDC6F\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF9-\uDFAF\uDFB1-\uDFBF\uDFF2-\uDFFE]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F\uDC75-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80E-\uD810\uD812-\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDB7F][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF3-\uDFFF]|\uD80D[\uDC2F\uDC39-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDE6D\uDEBF\uDECA-\uDECF\uDEEE\uDEEF\uDEF6-\uDEFF\uDF46-\uDF4F\uDF5A\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE9B-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A\uDC9B\uDCA4-\uDFFF]|\uD833[\uDC00-\uDEFF\uDF2E\uDF2F\uDF47-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDDEB-\uDDFF\uDE46-\uDEDF\uDEF4-\uDEFF\uDF57-\uDF5F\uDF79-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]|\uD836[\uDE8C-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD50-\uDE8F\uDEAF-\uDEBF\uDEFA-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCB5-\uDD00\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDCFF\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED8-\uDEDC\uDEED-\uDEEF\uDEFD-\uDEFF\uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00\uDC02-\uDC1F\uDC80-\uDCFF\uDDF0-\uDFFF]|[\uDBBF\uDBFF][\uDFFE\uDFFF]"},{name:"Co",alias:"Private_Use",bmp:"\uE000-\uF8FF",astral:"[\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uDBBF\uDBFF][\uDC00-\uDFFD]"},{name:"Cs",alias:"Surrogate",bmp:"\uD800-\uDFFF"},{name:"L",alias:"Letter",bmp:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"LC",alias:"Cased_Letter",bmp:"A-Za-z\xB5\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BC-\u01BF\u01C4-\u0293\u0295-\u02AF\u0370-\u0373\u0376\u0377\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0560-\u0588\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FD-\u10FF\u13A0-\u13F5\u13F8-\u13FD\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C7B\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA640-\uA66D\uA680-\uA69B\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F5\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A",astral:"\uD801[\uDC00-\uDC4F\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD806[\uDCA0-\uDCDF]|\uD81B[\uDE40-\uDE7F]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD00-\uDD43]"},{name:"Ll",alias:"Lowercase_Letter",bmp:"a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A",astral:"\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]"},{name:"Lm",alias:"Modifier_Letter",bmp:"\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5\u06E6\u07F4\u07F5\u07FA\u081A\u0824\u0828\u08C9\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C\uA69D\uA717-\uA71F\uA770\uA788\uA7F2-\uA7F4\uA7F8\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3\uAAF4\uAB5C-\uAB5F\uAB69\uFF70\uFF9E\uFF9F",astral:"\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD81A[\uDF40-\uDF43]|\uD81B[\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD838[\uDD37-\uDD3D]|\u{1E94B}"},{name:"Lo",alias:"Other_Letter",bmp:"\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05EF-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C8\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1100-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC50-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF4A\uDF50]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\u{1DF0A}|\uD838[\uDD00-\uDD2C\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Lt",alias:"Titlecase_Letter",bmp:"\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC"},{name:"Lu",alias:"Uppercase_Letter",bmp:"A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A",astral:"\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]"},{name:"M",alias:"Mark",bmp:"\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F",astral:"\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC82\uDCB0-\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]"},{name:"Mc",alias:"Spacing_Mark",bmp:"\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BE-\u09C0\u09C7\u09C8\u09CB\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2\u0DF3\u0F3E\u0F3F\u0F7F\u102B\u102C\u1031\u1038\u103B\u103C\u1056\u1057\u1062-\u1064\u1067-\u106D\u1083\u1084\u1087-\u108C\u108F\u109A-\u109C\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\u302E\u302F\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC",astral:"\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3E\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB0-\uDCB2\uDCB9\uDCBB-\uDCBE\uDCC1\uDDAF-\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF20\uDF21\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD30-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD65\uDD66\uDD6D-\uDD72]"},{name:"Me",alias:"Enclosing_Mark",bmp:"\u0488\u0489\u1ABE\u20DD-\u20E0\u20E2-\u20E4\uA670-\uA672"},{name:"Mn",alias:"Nonspacing_Mark",bmp:"\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F",astral:"\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF40\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB3-\uDCB8\uDCBA\uDCBF\uDCC0\uDCC2\uDCC3\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]"},{name:"N",alias:"Number",bmp:"0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19",astral:"\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]"},{name:"Nd",alias:"Decimal_Number",bmp:"0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19",astral:"\uD801[\uDCA0-\uDCA9]|\uD803[\uDD30-\uDD39]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9]"},{name:"Nl",alias:"Letter_Number",bmp:"\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF",astral:"\uD800[\uDD40-\uDD74\uDF41\uDF4A\uDFD1-\uDFD5]|\uD809[\uDC00-\uDC6E]"},{name:"No",alias:"Other_Number",bmp:"\xB2\xB3\xB9\xBC-\xBE\u09F4-\u09F9\u0B72-\u0B77\u0BF0-\u0BF2\u0C78-\u0C7E\u0D58-\u0D5E\u0D70-\u0D78\u0F2A-\u0F33\u1369-\u137C\u17F0-\u17F9\u19DA\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215F\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA830-\uA835",astral:"\uD800[\uDD07-\uDD33\uDD75-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC65\uDDE1-\uDDF4]|\uD805[\uDF3A\uDF3B]|\uD806[\uDCEA-\uDCF2]|\uD807[\uDC5A-\uDC6C\uDFC0-\uDFD4]|\uD81A[\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD83A[\uDCC7-\uDCCF]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]"},{name:"P",alias:"Punctuation",bmp:"!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65",astral:"\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\u{1056F}|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\u{1BC9F}|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]"},{name:"Pc",alias:"Connector_Punctuation",bmp:"_\u203F\u2040\u2054\uFE33\uFE34\uFE4D-\uFE4F\uFF3F"},{name:"Pd",alias:"Dash_Punctuation",bmp:"\\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u2E5D\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D",astral:"\u{10EAD}"},{name:"Pe",alias:"Close_Punctuation",bmp:"\\)\\]\\}\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u2309\u230B\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u2E56\u2E58\u2E5A\u2E5C\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3E\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63"},{name:"Pf",alias:"Final_Punctuation",bmp:"\xBB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21"},{name:"Pi",alias:"Initial_Punctuation",bmp:"\xAB\u2018\u201B\u201C\u201F\u2039\u2E02\u2E04\u2E09\u2E0C\u2E1C\u2E20"},{name:"Po",alias:"Other_Punctuation",bmp:"!-#%-'\\*,\\.\\/:;\\?@\\\xA1\xA7\xB6\xB7\xBF\u037E\u0387\u055A-\u055F\u0589\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u166E\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u1805\u1807-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203B-\u203E\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205E\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00\u2E01\u2E06-\u2E08\u2E0B\u2E0E-\u2E16\u2E18\u2E19\u2E1B\u2E1E\u2E1F\u2E2A-\u2E2E\u2E30-\u2E39\u2E3C-\u2E3F\u2E41\u2E43-\u2E4F\u2E52-\u2E54\u3001-\u3003\u303D\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFE10-\uFE16\uFE19\uFE30\uFE45\uFE46\uFE49-\uFE4C\uFE50-\uFE52\uFE54-\uFE57\uFE5F-\uFE61\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF07\uFF0A\uFF0C\uFF0E\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3C\uFF61\uFF64\uFF65",astral:"\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\u{1056F}|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\u{1BC9F}|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]"},{name:"Ps",alias:"Open_Punctuation",bmp:"\\(\\[\\{\u0F3A\u0F3C\u169B\u201A\u201E\u2045\u207D\u208D\u2308\u230A\u2329\u2768\u276A\u276C\u276E\u2770\u2772\u2774\u27C5\u27E6\u27E8\u27EA\u27EC\u27EE\u2983\u2985\u2987\u2989\u298B\u298D\u298F\u2991\u2993\u2995\u2997\u29D8\u29DA\u29FC\u2E22\u2E24\u2E26\u2E28\u2E42\u2E55\u2E57\u2E59\u2E5B\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u3018\u301A\u301D\uFD3F\uFE17\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE47\uFE59\uFE5B\uFE5D\uFF08\uFF3B\uFF5B\uFF5F\uFF62"},{name:"S",alias:"Symbol",bmp:"\\$\\+<->\\^`\\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD",astral:"\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\u{1173F}|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\u{1BC9C}|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]"},{name:"Sc",alias:"Currency_Symbol",bmp:"\\$\xA2-\xA5\u058F\u060B\u07FE\u07FF\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20C0\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6",astral:"\uD807[\uDFDD-\uDFE0]|\u{1E2FF}|\u{1ECB0}"},{name:"Sk",alias:"Modifier_Symbol",bmp:"\\^`\xA8\xAF\xB4\xB8\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u0888\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u309B\u309C\uA700-\uA716\uA720\uA721\uA789\uA78A\uAB5B\uAB6A\uAB6B\uFBB2-\uFBC2\uFF3E\uFF40\uFFE3",astral:"\uD83C[\uDFFB-\uDFFF]"},{name:"Sm",alias:"Math_Symbol",bmp:"\\+<->\\|~\xAC\xB1\xD7\xF7\u03F6\u0606-\u0608\u2044\u2052\u207A-\u207C\u208A-\u208C\u2118\u2140-\u2144\u214B\u2190-\u2194\u219A\u219B\u21A0\u21A3\u21A6\u21AE\u21CE\u21CF\u21D2\u21D4\u21F4-\u22FF\u2320\u2321\u237C\u239B-\u23B3\u23DC-\u23E1\u25B7\u25C1\u25F8-\u25FF\u266F\u27C0-\u27C4\u27C7-\u27E5\u27F0-\u27FF\u2900-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2AFF\u2B30-\u2B44\u2B47-\u2B4C\uFB29\uFE62\uFE64-\uFE66\uFF0B\uFF1C-\uFF1E\uFF5C\uFF5E\uFFE2\uFFE9-\uFFEC",astral:"\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD83B[\uDEF0\uDEF1]"},{name:"So",alias:"Other_Symbol",bmp:"\xA6\xA9\xAE\xB0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFD40-\uFD4F\uFDCF\uFDFD-\uFDFF\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD",astral:"\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\u{1173F}|\uD807[\uDFD5-\uDFDC\uDFE1-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\u{1BC9C}|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\u{1E14F}|\uD83B[\uDCAC\uDD2E]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFA]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]"},{name:"Z",alias:"Separator",bmp:" \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000"},{name:"Zl",alias:"Line_Separator",bmp:"\u2028"},{name:"Zp",alias:"Paragraph_Separator",bmp:"\u2029"},{name:"Zs",alias:"Space_Separator",bmp:" \xA0\u1680\u2000-\u200A\u202F\u205F\u3000"}]});var Out=jt((jV,Nut)=>{"use strict";var gsr=_k(),ysr=pk();gsr(jV,"__esModule",{value:!0});jV.default=void 0;var vsr=ysr(Put());var y4r=jV.default=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Categories");c.addUnicodeData(vsr.default)};Nut.exports=jV.default});var Rut=jt((v4r,Lut)=>{Lut.exports=[{name:"ASCII",bmp:"\0-\x7F"},{name:"Alphabetic",bmp:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0345\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05B0-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0657\u0659-\u065F\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06ED-\u06EF\u06FA-\u06FC\u06FF\u0710-\u073F\u074D-\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0817\u081A-\u082C\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u08D4-\u08DF\u08E3-\u08E9\u08F0-\u093B\u093D-\u094C\u094E-\u0950\u0955-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C4\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A42\u0A47\u0A48\u0A4B\u0A4C\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC5\u0AC7-\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFC\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D-\u0B44\u0B47\u0B48\u0B4B\u0B4C\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4C\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCC\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E46\u0E4D\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0ECD\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F71-\u0F81\u0F88-\u0F97\u0F99-\u0FBC\u1000-\u1036\u1038\u103B-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1713\u171F-\u1733\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17B3\u17B6-\u17C8\u17D7\u17DC\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u1938\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A61-\u1A74\u1AA7\u1ABF\u1AC0\u1ACC-\u1ACE\u1B00-\u1B33\u1B35-\u1B43\u1B45-\u1B4C\u1B80-\u1BA9\u1BAC-\u1BAF\u1BBA-\u1BE5\u1BE7-\u1BF1\u1C00-\u1C36\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1DE7-\u1DF4\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA674-\uA67B\uA67F-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA805\uA807-\uA827\uA840-\uA873\uA880-\uA8C3\uA8C5\uA8F2-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92A\uA930-\uA952\uA960-\uA97C\uA980-\uA9B2\uA9B4-\uA9BF\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAABE\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC45\uDC71-\uDC75\uDC82-\uDCB8\uDCC2\uDCD0-\uDCE8\uDD00-\uDD32\uDD44-\uDD47\uDD50-\uDD72\uDD76\uDD80-\uDDBF\uDDC1-\uDDC4\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE34\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEE8\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D-\uDF44\uDF47\uDF48\uDF4B\uDF4C\uDF50\uDF57\uDF5D-\uDF63]|\uD805[\uDC00-\uDC41\uDC43-\uDC45\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCC1\uDCC4\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDBE\uDDD8-\uDDDD\uDE00-\uDE3E\uDE40\uDE44\uDE80-\uDEB5\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2A\uDF40-\uDF46]|\uD806[\uDC00-\uDC38\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B\uDD3C\uDD3F-\uDD42\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDDF\uDDE1\uDDE3\uDDE4\uDE00-\uDE32\uDE35-\uDE3E\uDE50-\uDE97\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC3E\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD41\uDD43\uDD46\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD96\uDD98\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9E]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD47\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Any",isBmpLast:!0,bmp:"\0-\uFFFF",astral:"[\uD800-\uDBFF][\uDC00-\uDFFF]"},{name:"Default_Ignorable_Code_Point",bmp:"\xAD\u034F\u061C\u115F\u1160\u17B4\u17B5\u180B-\u180F\u200B-\u200F\u202A-\u202E\u2060-\u206F\u3164\uFE00-\uFE0F\uFEFF\uFFA0\uFFF0-\uFFF8",astral:"\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|[\uDB40-\uDB43][\uDC00-\uDFFF]"},{name:"Lowercase",bmp:"a-z\xAA\xB5\xBA\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02B8\u02C0\u02C1\u02E0-\u02E4\u0345\u0371\u0373\u0377\u037A-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1DBF\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u2071\u207F\u2090-\u209C\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2170-\u217F\u2184\u24D0-\u24E9\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7D\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B-\uA69D\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7F8-\uA7FA\uAB30-\uAB5A\uAB5C-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A",astral:"\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDF80\uDF83-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]"},{name:"Noncharacter_Code_Point",bmp:"\uFDD0-\uFDEF\uFFFE\uFFFF",astral:"[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]"},{name:"Uppercase",bmp:"A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2160-\u216F\u2183\u24B6-\u24CF\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A",astral:"\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]"},{name:"White_Space",bmp:" -\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000"}]});var But=jt((JV,Mut)=>{"use strict";var Dsr=_k(),bsr=pk();Dsr(JV,"__esModule",{value:!0});JV.default=void 0;var Csr=bsr(Rut());var D4r=JV.default=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Properties");var _=Csr.default;_.push({name:"Assigned",inverseOf:"Cn"}),c.addUnicodeData(_)};Mut.exports=JV.default});var Jut=jt((b4r,jut)=>{jut.exports=[{name:"Adlam",astral:"\uD83A[\uDD00-\uDD4B\uDD50-\uDD59\uDD5E\uDD5F]"},{name:"Ahom",astral:"\uD805[\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF46]"},{name:"Anatolian_Hieroglyphs",astral:"\uD811[\uDC00-\uDE46]"},{name:"Arabic",bmp:"\u0600-\u0604\u0606-\u060B\u060D-\u061A\u061C-\u061E\u0620-\u063F\u0641-\u064A\u0656-\u066F\u0671-\u06DC\u06DE-\u06FF\u0750-\u077F\u0870-\u088E\u0890\u0891\u0898-\u08E1\u08E3-\u08FF\uFB50-\uFBC2\uFBD3-\uFD3D\uFD40-\uFD8F\uFD92-\uFDC7\uFDCF\uFDF0-\uFDFF\uFE70-\uFE74\uFE76-\uFEFC",astral:"\uD803[\uDE60-\uDE7E]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB\uDEF0\uDEF1]"},{name:"Armenian",bmp:"\u0531-\u0556\u0559-\u058A\u058D-\u058F\uFB13-\uFB17"},{name:"Avestan",astral:"\uD802[\uDF00-\uDF35\uDF39-\uDF3F]"},{name:"Balinese",bmp:"\u1B00-\u1B4C\u1B50-\u1B7E"},{name:"Bamum",bmp:"\uA6A0-\uA6F7",astral:"\uD81A[\uDC00-\uDE38]"},{name:"Bassa_Vah",astral:"\uD81A[\uDED0-\uDEED\uDEF0-\uDEF5]"},{name:"Batak",bmp:"\u1BC0-\u1BF3\u1BFC-\u1BFF"},{name:"Bengali",bmp:"\u0980-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE"},{name:"Bhaiksuki",astral:"\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC45\uDC50-\uDC6C]"},{name:"Bopomofo",bmp:"\u02EA\u02EB\u3105-\u312F\u31A0-\u31BF"},{name:"Brahmi",astral:"\uD804[\uDC00-\uDC4D\uDC52-\uDC75\uDC7F]"},{name:"Braille",bmp:"\u2800-\u28FF"},{name:"Buginese",bmp:"\u1A00-\u1A1B\u1A1E\u1A1F"},{name:"Buhid",bmp:"\u1740-\u1753"},{name:"Canadian_Aboriginal",bmp:"\u1400-\u167F\u18B0-\u18F5",astral:"\uD806[\uDEB0-\uDEBF]"},{name:"Carian",astral:"\uD800[\uDEA0-\uDED0]"},{name:"Caucasian_Albanian",astral:"\uD801[\uDD30-\uDD63\uDD6F]"},{name:"Chakma",astral:"\uD804[\uDD00-\uDD34\uDD36-\uDD47]"},{name:"Cham",bmp:"\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F"},{name:"Cherokee",bmp:"\u13A0-\u13F5\u13F8-\u13FD\uAB70-\uABBF"},{name:"Chorasmian",astral:"\uD803[\uDFB0-\uDFCB]"},{name:"Common",bmp:"\0-@\\[-`\\{-\xA9\xAB-\xB9\xBB-\xBF\xD7\xF7\u02B9-\u02DF\u02E5-\u02E9\u02EC-\u02FF\u0374\u037E\u0385\u0387\u0605\u060C\u061B\u061F\u0640\u06DD\u08E2\u0964\u0965\u0E3F\u0FD5-\u0FD8\u10FB\u16EB-\u16ED\u1735\u1736\u1802\u1803\u1805\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u2000-\u200B\u200E-\u2064\u2066-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20C0\u2100-\u2125\u2127-\u2129\u212C-\u2131\u2133-\u214D\u214F-\u215F\u2189-\u218B\u2190-\u2426\u2440-\u244A\u2460-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2E00-\u2E5D\u2FF0-\u2FFB\u3000-\u3004\u3006\u3008-\u3020\u3030-\u3037\u303C-\u303F\u309B\u309C\u30A0\u30FB\u30FC\u3190-\u319F\u31C0-\u31E3\u3220-\u325F\u327F-\u32CF\u32FF\u3358-\u33FF\u4DC0-\u4DFF\uA700-\uA721\uA788-\uA78A\uA830-\uA839\uA92E\uA9CF\uAB5B\uAB6A\uAB6B\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFF70\uFF9E\uFF9F\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD",astral:"\uD800[\uDD00-\uDD02\uDD07-\uDD33\uDD37-\uDD3F\uDD90-\uDD9C\uDDD0-\uDDFC\uDEE1-\uDEFB]|\uD82F[\uDCA0-\uDCA3]|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD66\uDD6A-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDEE0-\uDEF3\uDF00-\uDF56\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDFCB\uDFCE-\uDFFF]|\uD83B[\uDC71-\uDCB4\uDD01-\uDD3D]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD00-\uDDAD\uDDE6-\uDDFF\uDE01\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA\uDFF0-\uDFF9]|\uDB40[\uDC01\uDC20-\uDC7F]"},{name:"Coptic",bmp:"\u03E2-\u03EF\u2C80-\u2CF3\u2CF9-\u2CFF"},{name:"Cuneiform",astral:"\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC70-\uDC74\uDC80-\uDD43]"},{name:"Cypriot",astral:"\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F]"},{name:"Cypro_Minoan",astral:"\uD80B[\uDF90-\uDFF2]"},{name:"Cyrillic",bmp:"\u0400-\u0484\u0487-\u052F\u1C80-\u1C88\u1D2B\u1D78\u2DE0-\u2DFF\uA640-\uA69F\uFE2E\uFE2F"},{name:"Deseret",astral:"\uD801[\uDC00-\uDC4F]"},{name:"Devanagari",bmp:"\u0900-\u0950\u0955-\u0963\u0966-\u097F\uA8E0-\uA8FF"},{name:"Dives_Akuru",astral:"\uD806[\uDD00-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD46\uDD50-\uDD59]"},{name:"Dogra",astral:"\uD806[\uDC00-\uDC3B]"},{name:"Duployan",astral:"\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9C-\uDC9F]"},{name:"Egyptian_Hieroglyphs",astral:"\uD80C[\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E\uDC30-\uDC38]"},{name:"Elbasan",astral:"\uD801[\uDD00-\uDD27]"},{name:"Elymaic",astral:"\uD803[\uDFE0-\uDFF6]"},{name:"Ethiopic",bmp:"\u1200-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E",astral:"\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]"},{name:"Georgian",bmp:"\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u10FF\u1C90-\u1CBA\u1CBD-\u1CBF\u2D00-\u2D25\u2D27\u2D2D"},{name:"Glagolitic",bmp:"\u2C00-\u2C5F",astral:"\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]"},{name:"Gothic",astral:"\uD800[\uDF30-\uDF4A]"},{name:"Grantha",astral:"\uD804[\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]"},{name:"Greek",bmp:"\u0370-\u0373\u0375-\u0377\u037A-\u037D\u037F\u0384\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03E1\u03F0-\u03FF\u1D26-\u1D2A\u1D5D-\u1D61\u1D66-\u1D6A\u1DBF\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u2126\uAB65",astral:"\uD800[\uDD40-\uDD8E\uDDA0]|\uD834[\uDE00-\uDE45]"},{name:"Gujarati",bmp:"\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF"},{name:"Gunjala_Gondi",astral:"\uD807[\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9]"},{name:"Gurmukhi",bmp:"\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76"},{name:"Han",bmp:"\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u3029\u3038-\u303B\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFA6D\uFA70-\uFAD9",astral:"\uD81B[\uDFE2\uDFE3\uDFF0\uDFF1]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Hangul",bmp:"\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC"},{name:"Hanifi_Rohingya",astral:"\uD803[\uDD00-\uDD27\uDD30-\uDD39]"},{name:"Hanunoo",bmp:"\u1720-\u1734"},{name:"Hatran",astral:"\uD802[\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDCFF]"},{name:"Hebrew",bmp:"\u0591-\u05C7\u05D0-\u05EA\u05EF-\u05F4\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4F"},{name:"Hiragana",bmp:"\u3041-\u3096\u309D-\u309F",astral:"\uD82C[\uDC01-\uDD1F\uDD50-\uDD52]|\u{1F200}"},{name:"Imperial_Aramaic",astral:"\uD802[\uDC40-\uDC55\uDC57-\uDC5F]"},{name:"Inherited",bmp:"\u0300-\u036F\u0485\u0486\u064B-\u0655\u0670\u0951-\u0954\u1AB0-\u1ACE\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u200D\u20D0-\u20F0\u302A-\u302D\u3099\u309A\uFE00-\uFE0F\uFE20-\uFE2D",astral:"\uD800[\uDDFD\uDEE0]|\u{1133B}|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD]|\uDB40[\uDD00-\uDDEF]"},{name:"Inscriptional_Pahlavi",astral:"\uD802[\uDF60-\uDF72\uDF78-\uDF7F]"},{name:"Inscriptional_Parthian",astral:"\uD802[\uDF40-\uDF55\uDF58-\uDF5F]"},{name:"Javanese",bmp:"\uA980-\uA9CD\uA9D0-\uA9D9\uA9DE\uA9DF"},{name:"Kaithi",astral:"\uD804[\uDC80-\uDCC2\uDCCD]"},{name:"Kannada",bmp:"\u0C80-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2"},{name:"Katakana",bmp:"\u30A1-\u30FA\u30FD-\u30FF\u31F0-\u31FF\u32D0-\u32FE\u3300-\u3357\uFF66-\uFF6F\uFF71-\uFF9D",astral:"\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00\uDD20-\uDD22\uDD64-\uDD67]"},{name:"Kayah_Li",bmp:"\uA900-\uA92D\uA92F"},{name:"Kharoshthi",astral:"\uD802[\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F-\uDE48\uDE50-\uDE58]"},{name:"Khitan_Small_Script",astral:"\u{16FE4}|\uD822[\uDF00-\uDFFF]|\uD823[\uDC00-\uDCD5]"},{name:"Khmer",bmp:"\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u19E0-\u19FF"},{name:"Khojki",astral:"\uD804[\uDE00-\uDE11\uDE13-\uDE3E]"},{name:"Khudawadi",astral:"\uD804[\uDEB0-\uDEEA\uDEF0-\uDEF9]"},{name:"Lao",bmp:"\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF"},{name:"Latin",bmp:"A-Za-z\xAA\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02E0-\u02E4\u1D00-\u1D25\u1D2C-\u1D5C\u1D62-\u1D65\u1D6B-\u1D77\u1D79-\u1DBE\u1E00-\u1EFF\u2071\u207F\u2090-\u209C\u212A\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB64\uAB66-\uAB69\uFB00-\uFB06\uFF21-\uFF3A\uFF41-\uFF5A",astral:"\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD837[\uDF00-\uDF1E]"},{name:"Lepcha",bmp:"\u1C00-\u1C37\u1C3B-\u1C49\u1C4D-\u1C4F"},{name:"Limbu",bmp:"\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u194F"},{name:"Linear_A",astral:"\uD801[\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]"},{name:"Linear_B",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA]"},{name:"Lisu",bmp:"\uA4D0-\uA4FF",astral:"\u{11FB0}"},{name:"Lycian",astral:"\uD800[\uDE80-\uDE9C]"},{name:"Lydian",astral:"\uD802[\uDD20-\uDD39\uDD3F]"},{name:"Mahajani",astral:"\uD804[\uDD50-\uDD76]"},{name:"Makasar",astral:"\uD807[\uDEE0-\uDEF8]"},{name:"Malayalam",bmp:"\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F"},{name:"Mandaic",bmp:"\u0840-\u085B\u085E"},{name:"Manichaean",astral:"\uD802[\uDEC0-\uDEE6\uDEEB-\uDEF6]"},{name:"Marchen",astral:"\uD807[\uDC70-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]"},{name:"Masaram_Gondi",astral:"\uD807[\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]"},{name:"Medefaidrin",astral:"\uD81B[\uDE40-\uDE9A]"},{name:"Meetei_Mayek",bmp:"\uAAE0-\uAAF6\uABC0-\uABED\uABF0-\uABF9"},{name:"Mende_Kikakui",astral:"\uD83A[\uDC00-\uDCC4\uDCC7-\uDCD6]"},{name:"Meroitic_Cursive",astral:"\uD802[\uDDA0-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDDFF]"},{name:"Meroitic_Hieroglyphs",astral:"\uD802[\uDD80-\uDD9F]"},{name:"Miao",astral:"\uD81B[\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F]"},{name:"Modi",astral:"\uD805[\uDE00-\uDE44\uDE50-\uDE59]"},{name:"Mongolian",bmp:"\u1800\u1801\u1804\u1806-\u1819\u1820-\u1878\u1880-\u18AA",astral:"\uD805[\uDE60-\uDE6C]"},{name:"Mro",astral:"\uD81A[\uDE40-\uDE5E\uDE60-\uDE69\uDE6E\uDE6F]"},{name:"Multani",astral:"\uD804[\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA9]"},{name:"Myanmar",bmp:"\u1000-\u109F\uA9E0-\uA9FE\uAA60-\uAA7F"},{name:"Nabataean",astral:"\uD802[\uDC80-\uDC9E\uDCA7-\uDCAF]"},{name:"Nandinagari",astral:"\uD806[\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE4]"},{name:"New_Tai_Lue",bmp:"\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE\u19DF"},{name:"Newa",astral:"\uD805[\uDC00-\uDC5B\uDC5D-\uDC61]"},{name:"Nko",bmp:"\u07C0-\u07FA\u07FD-\u07FF"},{name:"Nushu",astral:"\u{16FE1}|\uD82C[\uDD70-\uDEFB]"},{name:"Nyiakeng_Puachue_Hmong",astral:"\uD838[\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDD4F]"},{name:"Ogham",bmp:"\u1680-\u169C"},{name:"Ol_Chiki",bmp:"\u1C50-\u1C7F"},{name:"Old_Hungarian",astral:"\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDCFF]"},{name:"Old_Italic",astral:"\uD800[\uDF00-\uDF23\uDF2D-\uDF2F]"},{name:"Old_North_Arabian",astral:"\uD802[\uDE80-\uDE9F]"},{name:"Old_Permic",astral:"\uD800[\uDF50-\uDF7A]"},{name:"Old_Persian",astral:"\uD800[\uDFA0-\uDFC3\uDFC8-\uDFD5]"},{name:"Old_Sogdian",astral:"\uD803[\uDF00-\uDF27]"},{name:"Old_South_Arabian",astral:"\uD802[\uDE60-\uDE7F]"},{name:"Old_Turkic",astral:"\uD803[\uDC00-\uDC48]"},{name:"Old_Uyghur",astral:"\uD803[\uDF70-\uDF89]"},{name:"Oriya",bmp:"\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77"},{name:"Osage",astral:"\uD801[\uDCB0-\uDCD3\uDCD8-\uDCFB]"},{name:"Osmanya",astral:"\uD801[\uDC80-\uDC9D\uDCA0-\uDCA9]"},{name:"Pahawh_Hmong",astral:"\uD81A[\uDF00-\uDF45\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]"},{name:"Palmyrene",astral:"\uD802[\uDC60-\uDC7F]"},{name:"Pau_Cin_Hau",astral:"\uD806[\uDEC0-\uDEF8]"},{name:"Phags_Pa",bmp:"\uA840-\uA877"},{name:"Phoenician",astral:"\uD802[\uDD00-\uDD1B\uDD1F]"},{name:"Psalter_Pahlavi",astral:"\uD802[\uDF80-\uDF91\uDF99-\uDF9C\uDFA9-\uDFAF]"},{name:"Rejang",bmp:"\uA930-\uA953\uA95F"},{name:"Runic",bmp:"\u16A0-\u16EA\u16EE-\u16F8"},{name:"Samaritan",bmp:"\u0800-\u082D\u0830-\u083E"},{name:"Saurashtra",bmp:"\uA880-\uA8C5\uA8CE-\uA8D9"},{name:"Sharada",astral:"\uD804[\uDD80-\uDDDF]"},{name:"Shavian",astral:"\uD801[\uDC50-\uDC7F]"},{name:"Siddham",astral:"\uD805[\uDD80-\uDDB5\uDDB8-\uDDDD]"},{name:"SignWriting",astral:"\uD836[\uDC00-\uDE8B\uDE9B-\uDE9F\uDEA1-\uDEAF]"},{name:"Sinhala",bmp:"\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4",astral:"\uD804[\uDDE1-\uDDF4]"},{name:"Sogdian",astral:"\uD803[\uDF30-\uDF59]"},{name:"Sora_Sompeng",astral:"\uD804[\uDCD0-\uDCE8\uDCF0-\uDCF9]"},{name:"Soyombo",astral:"\uD806[\uDE50-\uDEA2]"},{name:"Sundanese",bmp:"\u1B80-\u1BBF\u1CC0-\u1CC7"},{name:"Syloti_Nagri",bmp:"\uA800-\uA82C"},{name:"Syriac",bmp:"\u0700-\u070D\u070F-\u074A\u074D-\u074F\u0860-\u086A"},{name:"Tagalog",bmp:"\u1700-\u1715\u171F"},{name:"Tagbanwa",bmp:"\u1760-\u176C\u176E-\u1770\u1772\u1773"},{name:"Tai_Le",bmp:"\u1950-\u196D\u1970-\u1974"},{name:"Tai_Tham",bmp:"\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD"},{name:"Tai_Viet",bmp:"\uAA80-\uAAC2\uAADB-\uAADF"},{name:"Takri",astral:"\uD805[\uDE80-\uDEB9\uDEC0-\uDEC9]"},{name:"Tamil",bmp:"\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA",astral:"\uD807[\uDFC0-\uDFF1\uDFFF]"},{name:"Tangsa",astral:"\uD81A[\uDE70-\uDEBE\uDEC0-\uDEC9]"},{name:"Tangut",astral:"\u{16FE0}|[\uD81C-\uD820][\uDC00-\uDFFF]|\uD821[\uDC00-\uDFF7]|\uD822[\uDC00-\uDEFF]|\uD823[\uDD00-\uDD08]"},{name:"Telugu",bmp:"\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C7F"},{name:"Thaana",bmp:"\u0780-\u07B1"},{name:"Thai",bmp:"\u0E01-\u0E3A\u0E40-\u0E5B"},{name:"Tibetan",bmp:"\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FD4\u0FD9\u0FDA"},{name:"Tifinagh",bmp:"\u2D30-\u2D67\u2D6F\u2D70\u2D7F"},{name:"Tirhuta",astral:"\uD805[\uDC80-\uDCC7\uDCD0-\uDCD9]"},{name:"Toto",astral:"\uD838[\uDE90-\uDEAE]"},{name:"Ugaritic",astral:"\uD800[\uDF80-\uDF9D\uDF9F]"},{name:"Vai",bmp:"\uA500-\uA62B"},{name:"Vithkuqi",astral:"\uD801[\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]"},{name:"Wancho",astral:"\uD838[\uDEC0-\uDEF9\uDEFF]"},{name:"Warang_Citi",astral:"\uD806[\uDCA0-\uDCF2\uDCFF]"},{name:"Yezidi",astral:"\uD803[\uDE80-\uDEA9\uDEAB-\uDEAD\uDEB0\uDEB1]"},{name:"Yi",bmp:"\uA000-\uA48C\uA490-\uA4C6"},{name:"Zanabazar_Square",astral:"\uD806[\uDE00-\uDE47]"}]});var zut=jt((qV,qut)=>{"use strict";var Ssr=_k(),Esr=pk();Ssr(qV,"__esModule",{value:!0});qV.default=void 0;var xsr=Esr(Jut());var C4r=qV.default=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Scripts");c.addUnicodeData(xsr.default,"Script")};qut.exports=qV.default});var Uut=jt((zV,Wut)=>{"use strict";var Tsr=_k(),n7=pk();Tsr(zV,"__esModule",{value:!0});zV.default=void 0;var i7=n7($ct()),Asr=n7(Eut()),Fsr=n7(Aut()),ksr=n7(Iut()),Isr=n7(Out()),wsr=n7(But()),Psr=n7(zut());(0,Asr.default)(i7.default);(0,Fsr.default)(i7.default);(0,ksr.default)(i7.default);(0,Isr.default)(i7.default);(0,wsr.default)(i7.default);(0,Psr.default)(i7.default);var S4r=zV.default=i7.default;Wut.exports=zV.default});var aft=jt(AT=>{"use strict";Object.defineProperty(AT,"__esModule",{value:!0});function My(p){let c=p||"";return function(){throw new Error("this method "+c+" is abstract! (it has no implementation in class "+this.constructor.name+")")}}function M4(p,c){if(!p)throw new Error(c||"Assertion failed")}function kFe(p,c,_){let g;Object.defineProperty(p,c,{get(){return g||(g=_.call(this)),g}})}function sor(p){return p&&Object.assign({},p)}function Jlt(p,c){let _=[];for(;c-- >0;)_.push(p());return _}function qlt(p,c){return new Array(c+1).join(p)}function ioe(p,c){return Jlt(()=>p,c)}function IFe(p){let c=[];for(let _=0;_<p.length;_++){let g=p[_];p.lastIndexOf(g)!==_&&c.indexOf(g)<0&&c.push(g)}return c}function zlt(p){let c=[];return p.forEach(_=>{c.indexOf(_)<0&&c.push(_)}),c}function a7(p){let c=p[0];return c===c.toUpperCase()}function Wlt(p){return!a7(p)}function Ult(p,c,_){let g=_||" ";return p.length<c?qlt(g,c-p.length)+p:p}function f7(){this.strings=[]}f7.prototype.append=function(p){this.strings.push(p)};f7.prototype.contents=function(){return this.strings.join("")};var TFe=p=>String.fromCodePoint(parseInt(p,16));function Vlt(p){if(p.charAt(0)==="\\")switch(p.charAt(1)){case"b":return"\b";case"f":return"\f";case"n":return`
7
- `;case"r":return"\r";case"t":return" ";case"v":return"\v";case"x":return TFe(p.slice(2,4));case"u":return p.charAt(2)==="{"?TFe(p.slice(3,-1)):TFe(p.slice(2,6));default:return p.charAt(1)}else return p}function JFe(p){if(p==null)return String(p);let c=Object.prototype.toString.call(p);try{let _;return p.constructor&&p.constructor.name?_=p.constructor.name:c.indexOf("[object ")===0?_=c.slice(8,-1):_=typeof p,_+": "+JSON.stringify(String(p))}catch{return c}}function Glt(p,c="unexpected null value"){if(p==null)throw new Error(c);return p}var aor=Object.freeze({__proto__:null,abstract:My,assert:M4,defineLazyProperty:kFe,clone:sor,repeatFn:Jlt,repeatStr:qlt,repeat:ioe,getDuplicates:IFe,copyWithoutDuplicates:zlt,isSyntactic:a7,isLexical:Wlt,padLeft:Ult,StringBuffer:f7,unescapeCodePoint:Vlt,unexpectedObjToString:JFe,checkNotNull:Glt}),oor={Lu:new RegExp("\\p{Lu}","u"),Ll:new RegExp("\\p{Ll}","u"),Lt:new RegExp("\\p{Lt}","u"),Lm:new RegExp("\\p{Lm}","u"),Lo:new RegExp("\\p{Lo}","u"),Nl:new RegExp("\\p{Nl}","u"),Nd:new RegExp("\\p{Nd}","u"),Mn:new RegExp("\\p{Mn}","u"),Mc:new RegExp("\\p{Mc}","u"),Pc:new RegExp("\\p{Pc}","u"),Zs:new RegExp("\\p{Zs}","u"),L:new RegExp("\\p{Letter}","u"),Ltmo:new RegExp("\\p{Lt}|\\p{Lm}|\\p{Lo}","u")},lu=class p{constructor(){if(this.constructor===p)throw new Error("PExpr cannot be instantiated -- it's abstract")}withSource(c){return c&&(this.source=c.trimmed()),this}},N0=Object.create(lu.prototype),O0=Object.create(lu.prototype),dh=class extends lu{constructor(c){super(),this.obj=c}},Zh=class extends lu{constructor(c,_){super(),this.from=c,this.to=_,this.matchCodePoint=c.length>1||_.length>1}},eg=class extends lu{constructor(c){super(),this.index=c}},um=class extends lu{constructor(c){super(),this.terms=c}},o7=class extends um{constructor(c,_,g){let S=c.rules[_].body;super([g,S]),this.superGrammar=c,this.name=_,this.body=g}},c7=class extends um{constructor(c,_,g,S){let w=c.rules[_].body;super([...g,w,...S]),this.superGrammar=c,this.ruleName=_,this.expansionPos=g.length}},qm=class extends lu{constructor(c){super(),this.factors=c}},$g=class extends lu{constructor(c){super(),this.expr=c}},TT=class extends $g{},Sk=class extends $g{},yC=class extends $g{};TT.prototype.operator="*";Sk.prototype.operator="+";yC.prototype.operator="?";TT.prototype.minNumMatches=0;Sk.prototype.minNumMatches=1;yC.prototype.minNumMatches=0;TT.prototype.maxNumMatches=Number.POSITIVE_INFINITY;Sk.prototype.maxNumMatches=Number.POSITIVE_INFINITY;yC.prototype.maxNumMatches=1;var Hg=class extends lu{constructor(c){super(),this.expr=c}},Kg=class extends lu{constructor(c){super(),this.expr=c}},P0=class extends lu{constructor(c){super(),this.expr=c}},pf=class extends lu{constructor(c,_=[]){super(),this.ruleName=c,this.args=_}isSyntactic(){return a7(this.ruleName)}toMemoKey(){return this._memoKey||Object.defineProperty(this,"_memoKey",{value:this.toString()}),this._memoKey}},ph=class extends lu{constructor(c){super(),this.category=c,this.pattern=oor[c]}};function lm(p,c){let _;return c?(_=new Error(c.getLineAndColumnMessage()+p),_.shortMessage=p,_.interval=c):_=new Error(p),_}function wFe(){return lm("Interval sources don't match")}function cor(p){let c=new Error;return Object.defineProperty(c,"message",{enumerable:!0,get(){return p.message}}),Object.defineProperty(c,"shortMessage",{enumerable:!0,get(){return"Expected "+p.getExpectedText()}}),c.interval=p.getInterval(),c}function uor(p,c,_){let g=c?`Grammar ${p} is not declared in namespace '${c}'`:"Undeclared grammar "+p;return lm(g,_)}function lor(p,c){return lm("Grammar "+p.name+" is already declared in this namespace")}function _or(p){return lm(`Grammar '${p.name}' does not support incremental parsing`)}function $lt(p,c,_){return lm("Rule "+p+" is not declared in grammar "+c,_)}function por(p,c,_){return lm("Cannot override rule "+p+" because it is not declared in "+c,_)}function dor(p,c,_){return lm("Cannot extend rule "+p+" because it is not declared in "+c,_)}function klt(p,c,_,g){let S="Duplicate declaration for rule '"+p+"' in grammar '"+c+"'";return c!==_&&(S+=" (originally declared in '"+_+"')"),lm(S,g)}function Hlt(p,c,_,g){return lm("Wrong number of parameters for rule "+p+" (expected "+c+", got "+_+")",g)}function mor(p,c,_,g){return lm("Wrong number of arguments for rule "+p+" (expected "+c+", got "+_+")",g)}function Ilt(p,c,_){return lm("Duplicate parameter names in rule "+p+": "+c.join(", "),_)}function hor(p,c){return lm("Invalid parameter to rule "+p+": "+c+" has arity "+c.getArity()+", but parameter expressions must have arity 1",c.source)}var gor="NOTE: A _syntactic rule_ is a rule whose name begins with a capital letter. See https://ohmjs.org/d/svl for more details.";function yor(p,c){return lm("Cannot apply syntactic rule "+p+" from here (inside a lexical context)",c.source)}function vor(p){let{ruleName:c}=p;return lm(`applySyntactic is for syntactic rules, but '${c}' is a lexical rule. `+gor,p.source)}function Dor(p){return lm("applySyntactic is not required here (in a syntactic context)",p.source)}function wlt(p,c){return lm("Incorrect argument type: expected "+p,c.source)}function bor(p){return lm("'...' can appear at most once in a rule body",p.source)}function Cor(p){let c=p._node;M4(c&&c.isNonterminal()&&c.ctorName==="escapeChar_unicodeCodePoint");let _=p.children.slice(1,-1).map(S=>S.source),g=_[0].coverageWith(..._.slice(1));return lm(`U+${g.contents} is not a valid Unicode code point`,g)}function Klt(p,c){let _=c.length>0?c[c.length-1].args:[],S="Nullable expression "+p.expr.substituteParams(_)+" is not allowed inside '"+p.operator+"' (possible infinite loop)";if(c.length>0){let w=c.map(z=>new pf(z.ruleName,z.args)).join(`
2
+ "use strict";var YMt=Object.create;var fHe=Object.defineProperty;var ZMt=Object.getOwnPropertyDescriptor;var eBt=Object.getOwnPropertyNames;var tBt=Object.getPrototypeOf,rBt=Object.prototype.hasOwnProperty;var jt=(_,c)=>()=>(c||_((c={exports:{}}).exports,c),c.exports);var nBt=(_,c,p,g)=>{if(c&&typeof c=="object"||typeof c=="function")for(let S of eBt(c))!rBt.call(_,S)&&S!==p&&fHe(_,S,{get:()=>c[S],enumerable:!(g=ZMt(c,S))||g.enumerable});return _};var Bv=(_,c,p)=>(p=_!=null?YMt(tBt(_)):{},nBt(c||!_||!_.__esModule?fHe(p,"default",{value:_,enumerable:!0}):p,_));var Xh=jt((Zxe,yZe)=>{"use strict";var YU=function(_){return _&&_.Math===Math&&_};yZe.exports=YU(typeof globalThis=="object"&&globalThis)||YU(typeof window=="object"&&window)||YU(typeof self=="object"&&self)||YU(typeof global=="object"&&global)||YU(typeof Zxe=="object"&&Zxe)||(function(){return this})()||Function("return this")()});var Jm=jt((lTr,vZe)=>{"use strict";vZe.exports=function(_){try{return!!_()}catch{return!0}}});var ZU=jt((fTr,DZe)=>{"use strict";var d$t=Jm();DZe.exports=!d$t(function(){var _=(function(){}).bind();return typeof _!="function"||_.hasOwnProperty("prototype")})});var eTe=jt((_Tr,EZe)=>{"use strict";var m$t=ZU(),SZe=Function.prototype,bZe=SZe.apply,CZe=SZe.call;EZe.exports=typeof Reflect=="object"&&Reflect.apply||(m$t?CZe.bind(bZe):function(){return CZe.apply(bZe,arguments)})});var cm=jt((pTr,AZe)=>{"use strict";var xZe=ZU(),TZe=Function.prototype,tTe=TZe.call,h$t=xZe&&TZe.bind.bind(tTe,tTe);AZe.exports=xZe?h$t:function(_){return function(){return tTe.apply(_,arguments)}}});var N4=jt((dTr,kZe)=>{"use strict";var FZe=cm(),g$t=FZe({}.toString),y$t=FZe("".slice);kZe.exports=function(_){return y$t(g$t(_),8,-1)}});var oae=jt((mTr,IZe)=>{"use strict";var v$t=N4(),D$t=cm();IZe.exports=function(_){if(v$t(_)==="Function")return D$t(_)}});var w0=jt((hTr,wZe)=>{"use strict";var rTe=typeof document=="object"&&document.all;wZe.exports=typeof rTe>"u"&&rTe!==void 0?function(_){return typeof _=="function"||_===rTe}:function(_){return typeof _=="function"}});var Wv=jt((gTr,PZe)=>{"use strict";var b$t=Jm();PZe.exports=!b$t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var mC=jt((yTr,NZe)=>{"use strict";var C$t=ZU(),cae=Function.prototype.call;NZe.exports=C$t?cae.bind(cae):function(){return cae.apply(cae,arguments)}});var nTe=jt(RZe=>{"use strict";var OZe={}.propertyIsEnumerable,LZe=Object.getOwnPropertyDescriptor,S$t=LZe&&!OZe.call({1:2},1);RZe.f=S$t?function(c){var p=LZe(this,c);return!!p&&p.enumerable}:OZe});var pR=jt((DTr,MZe)=>{"use strict";MZe.exports=function(_,c){return{enumerable:!(_&1),configurable:!(_&2),writable:!(_&4),value:c}}});var uae=jt((bTr,BZe)=>{"use strict";var E$t=cm(),x$t=Jm(),T$t=N4(),iTe=Object,A$t=E$t("".split);BZe.exports=x$t(function(){return!iTe("z").propertyIsEnumerable(0)})?function(_){return T$t(_)==="String"?A$t(_,""):iTe(_)}:iTe});var lae=jt((CTr,jZe)=>{"use strict";jZe.exports=function(_){return _==null}});var dR=jt((STr,JZe)=>{"use strict";var F$t=lae(),k$t=TypeError;JZe.exports=function(_){if(F$t(_))throw new k$t("Can't call method on "+_);return _}});var lk=jt((ETr,qZe)=>{"use strict";var I$t=uae(),w$t=dR();qZe.exports=function(_){return I$t(w$t(_))}});var hC=jt((xTr,zZe)=>{"use strict";var P$t=w0();zZe.exports=function(_){return typeof _=="object"?_!==null:P$t(_)}});var eE=jt((TTr,WZe)=>{"use strict";WZe.exports={}});var ST=jt((ATr,VZe)=>{"use strict";var sTe=eE(),aTe=Xh(),N$t=w0(),UZe=function(_){return N$t(_)?_:void 0};VZe.exports=function(_,c){return arguments.length<2?UZe(sTe[_])||UZe(aTe[_]):sTe[_]&&sTe[_][c]||aTe[_]&&aTe[_][c]}});var T2=jt((FTr,GZe)=>{"use strict";var O$t=cm();GZe.exports=O$t({}.isPrototypeOf)});var mR=jt((kTr,KZe)=>{"use strict";var L$t=Xh(),$Ze=L$t.navigator,HZe=$Ze&&$Ze.userAgent;KZe.exports=HZe?String(HZe):""});var hR=jt((ITr,tet)=>{"use strict";var eet=Xh(),oTe=mR(),QZe=eet.process,XZe=eet.Deno,YZe=QZe&&QZe.versions||XZe&&XZe.version,ZZe=YZe&&YZe.v8,tE,fae;ZZe&&(tE=ZZe.split("."),fae=tE[0]>0&&tE[0]<4?1:+(tE[0]+tE[1]));!fae&&oTe&&(tE=oTe.match(/Edge\/(\d+)/),(!tE||tE[1]>=74)&&(tE=oTe.match(/Chrome\/(\d+)/),tE&&(fae=+tE[1])));tet.exports=fae});var VP=jt((wTr,net)=>{"use strict";var ret=hR(),R$t=Jm(),M$t=Xh(),B$t=M$t.String;net.exports=!!Object.getOwnPropertySymbols&&!R$t(function(){var _=Symbol("symbol detection");return!B$t(_)||!(Object(_)instanceof Symbol)||!Symbol.sham&&ret&&ret<41})});var cTe=jt((PTr,iet)=>{"use strict";var j$t=VP();iet.exports=j$t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var gR=jt((NTr,set)=>{"use strict";var J$t=ST(),q$t=w0(),z$t=T2(),W$t=cTe(),U$t=Object;set.exports=W$t?function(_){return typeof _=="symbol"}:function(_){var c=J$t("Symbol");return q$t(c)&&z$t(c.prototype,U$t(_))}});var eV=jt((OTr,aet)=>{"use strict";var V$t=String;aet.exports=function(_){try{return V$t(_)}catch{return"Object"}}});var GP=jt((LTr,oet)=>{"use strict";var G$t=w0(),$$t=eV(),H$t=TypeError;oet.exports=function(_){if(G$t(_))return _;throw new H$t($$t(_)+" is not a function")}});var _ae=jt((RTr,cet)=>{"use strict";var K$t=GP(),Q$t=lae();cet.exports=function(_,c){var p=_[c];return Q$t(p)?void 0:K$t(p)}});var fet=jt((MTr,uet)=>{"use strict";var uTe=mC(),lTe=w0(),fTe=hC(),X$t=TypeError;uet.exports=function(_,c){var p,g;if(c==="string"&&lTe(p=_.toString)&&!fTe(g=uTe(p,_))||lTe(p=_.valueOf)&&!fTe(g=uTe(p,_))||c!=="string"&&lTe(p=_.toString)&&!fTe(g=uTe(p,_)))return g;throw new X$t("Can't convert object to primitive value")}});var yR=jt((BTr,_et)=>{"use strict";_et.exports=!0});var met=jt((jTr,det)=>{"use strict";var pet=Xh(),Y$t=Object.defineProperty;det.exports=function(_,c){try{Y$t(pet,_,{value:c,configurable:!0,writable:!0})}catch{pet[_]=c}return c}});var tV=jt((JTr,yet)=>{"use strict";var Z$t=yR(),eHt=Xh(),tHt=met(),het="__core-js_shared__",get=yet.exports=eHt[het]||tHt(het,{});(get.versions||(get.versions=[])).push({version:"3.46.0",mode:Z$t?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var $P=jt((qTr,Det)=>{"use strict";var vet=tV();Det.exports=function(_,c){return vet[_]||(vet[_]=c||{})}});var ET=jt((zTr,bet)=>{"use strict";var rHt=dR(),nHt=Object;bet.exports=function(_){return nHt(rHt(_))}});var Ry=jt((WTr,Cet)=>{"use strict";var iHt=cm(),sHt=ET(),aHt=iHt({}.hasOwnProperty);Cet.exports=Object.hasOwn||function(c,p){return aHt(sHt(c),p)}});var pae=jt((UTr,Eet)=>{"use strict";var oHt=cm(),cHt=0,uHt=Math.random(),lHt=oHt(1.1.toString);Eet.exports=function(_){return"Symbol("+(_===void 0?"":_)+")_"+lHt(++cHt+uHt,36)}});var Yh=jt((VTr,Tet)=>{"use strict";var fHt=Xh(),_Ht=$P(),xet=Ry(),pHt=pae(),dHt=VP(),mHt=cTe(),vR=fHt.Symbol,_Te=_Ht("wks"),hHt=mHt?vR.for||vR:vR&&vR.withoutSetter||pHt;Tet.exports=function(_){return xet(_Te,_)||(_Te[_]=dHt&&xet(vR,_)?vR[_]:hHt("Symbol."+_)),_Te[_]}});var Iet=jt((GTr,ket)=>{"use strict";var gHt=mC(),Aet=hC(),Fet=gR(),yHt=_ae(),vHt=fet(),DHt=Yh(),bHt=TypeError,CHt=DHt("toPrimitive");ket.exports=function(_,c){if(!Aet(_)||Fet(_))return _;var p=yHt(_,CHt),g;if(p){if(c===void 0&&(c="default"),g=gHt(p,_,c),!Aet(g)||Fet(g))return g;throw new bHt("Can't convert object to primitive value")}return c===void 0&&(c="number"),vHt(_,c)}});var dae=jt(($Tr,wet)=>{"use strict";var SHt=Iet(),EHt=gR();wet.exports=function(_){var c=SHt(_,"string");return EHt(c)?c:c+""}});var dTe=jt((HTr,Net)=>{"use strict";var xHt=Xh(),Pet=hC(),pTe=xHt.document,THt=Pet(pTe)&&Pet(pTe.createElement);Net.exports=function(_){return THt?pTe.createElement(_):{}}});var mTe=jt((KTr,Oet)=>{"use strict";var AHt=Wv(),FHt=Jm(),kHt=dTe();Oet.exports=!AHt&&!FHt(function(){return Object.defineProperty(kHt("div"),"a",{get:function(){return 7}}).a!==7})});var hTe=jt(Ret=>{"use strict";var IHt=Wv(),wHt=mC(),PHt=nTe(),NHt=pR(),OHt=lk(),LHt=dae(),RHt=Ry(),MHt=mTe(),Let=Object.getOwnPropertyDescriptor;Ret.f=IHt?Let:function(c,p){if(c=OHt(c),p=LHt(p),MHt)try{return Let(c,p)}catch{}if(RHt(c,p))return NHt(!wHt(PHt.f,c,p),c[p])}});var Bet=jt((XTr,Met)=>{"use strict";var BHt=Jm(),jHt=w0(),JHt=/#|\.prototype\./,rV=function(_,c){var p=zHt[qHt(_)];return p===UHt?!0:p===WHt?!1:jHt(c)?BHt(c):!!c},qHt=rV.normalize=function(_){return String(_).replace(JHt,".").toLowerCase()},zHt=rV.data={},WHt=rV.NATIVE="N",UHt=rV.POLYFILL="P";Met.exports=rV});var mae=jt((YTr,Jet)=>{"use strict";var jet=oae(),VHt=GP(),GHt=ZU(),$Ht=jet(jet.bind);Jet.exports=function(_,c){return VHt(_),c===void 0?_:GHt?$Ht(_,c):function(){return _.apply(c,arguments)}}});var gTe=jt((ZTr,qet)=>{"use strict";var HHt=Wv(),KHt=Jm();qet.exports=HHt&&KHt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var fk=jt((eAr,zet)=>{"use strict";var QHt=hC(),XHt=String,YHt=TypeError;zet.exports=function(_){if(QHt(_))return _;throw new YHt(XHt(_)+" is not an object")}});var rE=jt(Uet=>{"use strict";var ZHt=Wv(),eKt=mTe(),tKt=gTe(),hae=fk(),Wet=dae(),rKt=TypeError,yTe=Object.defineProperty,nKt=Object.getOwnPropertyDescriptor,vTe="enumerable",DTe="configurable",bTe="writable";Uet.f=ZHt?tKt?function(c,p,g){if(hae(c),p=Wet(p),hae(g),typeof c=="function"&&p==="prototype"&&"value"in g&&bTe in g&&!g[bTe]){var S=nKt(c,p);S&&S[bTe]&&(c[p]=g.value,g={configurable:DTe in g?g[DTe]:S[DTe],enumerable:vTe in g?g[vTe]:S[vTe],writable:!1})}return yTe(c,p,g)}:yTe:function(c,p,g){if(hae(c),p=Wet(p),hae(g),eKt)try{return yTe(c,p,g)}catch{}if("get"in g||"set"in g)throw new rKt("Accessors not supported");return"value"in g&&(c[p]=g.value),c}});var DR=jt((rAr,Vet)=>{"use strict";var iKt=Wv(),sKt=rE(),aKt=pR();Vet.exports=iKt?function(_,c,p){return sKt.f(_,c,aKt(1,p))}:function(_,c,p){return _[c]=p,_}});var Xp=jt((nAr,$et)=>{"use strict";var nV=Xh(),oKt=eTe(),cKt=oae(),uKt=w0(),lKt=hTe().f,fKt=Bet(),bR=eE(),_Kt=mae(),CR=DR(),Get=Ry();tV();var pKt=function(_){var c=function(p,g,S){if(this instanceof c){switch(arguments.length){case 0:return new _;case 1:return new _(p);case 2:return new _(p,g)}return new _(p,g,S)}return oKt(_,this,arguments)};return c.prototype=_.prototype,c};$et.exports=function(_,c){var p=_.target,g=_.global,S=_.stat,w=_.proto,z=g?nV:S?nV[p]:nV[p]&&nV[p].prototype,ie=g?bR:bR[p]||CR(bR,p,{})[p],de=ie.prototype,be,Ee,Oe,Y,ut,Ye,We,Ut,_r;for(Y in c)be=fKt(g?Y:p+(S?".":"#")+Y,_.forced),Ee=!be&&z&&Get(z,Y),Ye=ie[Y],Ee&&(_.dontCallGetSet?(_r=lKt(z,Y),We=_r&&_r.value):We=z[Y]),ut=Ee&&We?We:c[Y],!(!be&&!w&&typeof Ye==typeof ut)&&(_.bind&&Ee?Ut=_Kt(ut,nV):_.wrap&&Ee?Ut=pKt(ut):w&&uKt(ut)?Ut=cKt(ut):Ut=ut,(_.sham||ut&&ut.sham||Ye&&Ye.sham)&&CR(Ut,"sham",!0),CR(ie,Y,Ut),w&&(Oe=p+"Prototype",Get(bR,Oe)||CR(bR,Oe,{}),CR(bR[Oe],Y,ut),_.real&&de&&(be||!de[Y])&&CR(de,Y,ut)))}});var Ket=jt(()=>{"use strict";var dKt=Xp(),mKt=Wv(),Het=rE().f;dKt({target:"Object",stat:!0,forced:Object.defineProperty!==Het,sham:!mKt},{defineProperty:Het})});var Yet=jt((aAr,Xet)=>{"use strict";Ket();var hKt=eE(),Qet=hKt.Object,gKt=Xet.exports=function(c,p,g){return Qet.defineProperty(c,p,g)};Qet.defineProperty.sham&&(gKt.sham=!0)});var ett=jt((oAr,Zet)=>{"use strict";var yKt=Yet();Zet.exports=yKt});var _k=jt((cAr,ttt)=>{ttt.exports=ett()});var pk=jt((uAr,iV)=>{function vKt(_){return _&&_.__esModule?_:{default:_}}iV.exports=vKt,iV.exports.__esModule=!0,iV.exports.default=iV.exports});var HP=jt((lAr,rtt)=>{"use strict";var DKt=N4();rtt.exports=Array.isArray||function(c){return DKt(c)==="Array"}});var gae=jt((fAr,itt)=>{"use strict";var bKt=Yh(),CKt=bKt("toStringTag"),ntt={};ntt[CKt]="z";itt.exports=String(ntt)==="[object z]"});var SR=jt((_Ar,stt)=>{"use strict";var SKt=gae(),EKt=w0(),yae=N4(),xKt=Yh(),TKt=xKt("toStringTag"),AKt=Object,FKt=yae((function(){return arguments})())==="Arguments",kKt=function(_,c){try{return _[c]}catch{}};stt.exports=SKt?yae:function(_){var c,p,g;return _===void 0?"Undefined":_===null?"Null":typeof(p=kKt(c=AKt(_),TKt))=="string"?p:FKt?yae(c):(g=yae(c))==="Object"&&EKt(c.callee)?"Arguments":g}});var ott=jt((pAr,att)=>{"use strict";var IKt=cm(),wKt=w0(),CTe=tV(),PKt=IKt(Function.toString);wKt(CTe.inspectSource)||(CTe.inspectSource=function(_){return PKt(_)});att.exports=CTe.inspectSource});var vae=jt((dAr,_tt)=>{"use strict";var NKt=cm(),OKt=Jm(),ctt=w0(),LKt=SR(),RKt=ST(),MKt=ott(),utt=function(){},ltt=RKt("Reflect","construct"),STe=/^\s*(?:class|function)\b/,BKt=NKt(STe.exec),jKt=!STe.test(utt),sV=function(c){if(!ctt(c))return!1;try{return ltt(utt,[],c),!0}catch{return!1}},ftt=function(c){if(!ctt(c))return!1;switch(LKt(c)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return jKt||!!BKt(STe,MKt(c))}catch{return!0}};ftt.sham=!0;_tt.exports=!ltt||OKt(function(){var _;return sV(sV.call)||!sV(Object)||!sV(function(){_=!0})||_})?ftt:sV});var dtt=jt((mAr,ptt)=>{"use strict";var JKt=Math.ceil,qKt=Math.floor;ptt.exports=Math.trunc||function(c){var p=+c;return(p>0?qKt:JKt)(p)}});var Dae=jt((hAr,mtt)=>{"use strict";var zKt=dtt();mtt.exports=function(_){var c=+_;return c!==c||c===0?0:zKt(c)}});var ETe=jt((gAr,htt)=>{"use strict";var WKt=Dae(),UKt=Math.max,VKt=Math.min;htt.exports=function(_,c){var p=WKt(_);return p<0?UKt(p+c,0):VKt(p,c)}});var ytt=jt((yAr,gtt)=>{"use strict";var GKt=Dae(),$Kt=Math.min;gtt.exports=function(_){var c=GKt(_);return c>0?$Kt(c,9007199254740991):0}});var dk=jt((vAr,vtt)=>{"use strict";var HKt=ytt();vtt.exports=function(_){return HKt(_.length)}});var bae=jt((DAr,Dtt)=>{"use strict";var KKt=Wv(),QKt=rE(),XKt=pR();Dtt.exports=function(_,c,p){KKt?QKt.f(_,c,XKt(0,p)):_[c]=p}});var Cae=jt((bAr,btt)=>{"use strict";var YKt=Jm(),ZKt=Yh(),eQt=hR(),tQt=ZKt("species");btt.exports=function(_){return eQt>=51||!YKt(function(){var c=[],p=c.constructor={};return p[tQt]=function(){return{foo:1}},c[_](Boolean).foo!==1})}});var aV=jt((CAr,Ctt)=>{"use strict";var rQt=cm();Ctt.exports=rQt([].slice)});var xtt=jt(()=>{"use strict";var nQt=Xp(),Stt=HP(),iQt=vae(),sQt=hC(),Ett=ETe(),aQt=dk(),oQt=lk(),cQt=bae(),uQt=Yh(),lQt=Cae(),fQt=aV(),_Qt=lQt("slice"),pQt=uQt("species"),xTe=Array,dQt=Math.max;nQt({target:"Array",proto:!0,forced:!_Qt},{slice:function(c,p){var g=oQt(this),S=aQt(g),w=Ett(c,S),z=Ett(p===void 0?S:p,S),ie,de,be;if(Stt(g)&&(ie=g.constructor,iQt(ie)&&(ie===xTe||Stt(ie.prototype))?ie=void 0:sQt(ie)&&(ie=ie[pQt],ie===null&&(ie=void 0)),ie===xTe||ie===void 0))return fQt(g,w,z);for(de=new(ie===void 0?xTe:ie)(dQt(z-w,0)),be=0;w<z;w++,be++)w in g&&cQt(de,be,g[w]);return de.length=be,de}})});var mk=jt((xAr,Ttt)=>{"use strict";var mQt=Xh(),hQt=eE();Ttt.exports=function(_,c){var p=hQt[_+"Prototype"],g=p&&p[c];if(g)return g;var S=mQt[_],w=S&&S.prototype;return w&&w[c]}});var Ftt=jt((TAr,Att)=>{"use strict";xtt();var gQt=mk();Att.exports=gQt("Array","slice")});var Itt=jt((AAr,ktt)=>{"use strict";var yQt=T2(),vQt=Ftt(),TTe=Array.prototype;ktt.exports=function(_){var c=_.slice;return _===TTe||yQt(TTe,_)&&c===TTe.slice?vQt:c}});var ATe=jt((FAr,wtt)=>{"use strict";var DQt=Itt();wtt.exports=DQt});var oV=jt((kAr,Ptt)=>{Ptt.exports=ATe()});var hk=jt((IAr,Ntt)=>{"use strict";var bQt=SR(),CQt=String;Ntt.exports=function(_){if(bQt(_)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return CQt(_)}});var Mtt=jt((wAr,Rtt)=>{"use strict";var FTe=cm(),SQt=Dae(),EQt=hk(),xQt=dR(),TQt=FTe("".charAt),Ott=FTe("".charCodeAt),AQt=FTe("".slice),Ltt=function(_){return function(c,p){var g=EQt(xQt(c)),S=SQt(p),w=g.length,z,ie;return S<0||S>=w?_?"":void 0:(z=Ott(g,S),z<55296||z>56319||S+1===w||(ie=Ott(g,S+1))<56320||ie>57343?_?TQt(g,S):z:_?AQt(g,S,S+2):(z-55296<<10)+(ie-56320)+65536)}};Rtt.exports={codeAt:Ltt(!1),charAt:Ltt(!0)}});var Jtt=jt((PAr,jtt)=>{"use strict";var FQt=Xh(),kQt=w0(),Btt=FQt.WeakMap;jtt.exports=kQt(Btt)&&/native code/.test(String(Btt))});var cV=jt((NAr,ztt)=>{"use strict";var IQt=$P(),wQt=pae(),qtt=IQt("keys");ztt.exports=function(_){return qtt[_]||(qtt[_]=wQt(_))}});var uV=jt((OAr,Wtt)=>{"use strict";Wtt.exports={}});var xae=jt((LAr,Gtt)=>{"use strict";var PQt=Jtt(),Vtt=Xh(),NQt=hC(),OQt=DR(),kTe=Ry(),ITe=tV(),LQt=cV(),RQt=uV(),Utt="Object already initialized",wTe=Vtt.TypeError,MQt=Vtt.WeakMap,Sae,lV,Eae,BQt=function(_){return Eae(_)?lV(_):Sae(_,{})},jQt=function(_){return function(c){var p;if(!NQt(c)||(p=lV(c)).type!==_)throw new wTe("Incompatible receiver, "+_+" required");return p}};PQt||ITe.state?(nE=ITe.state||(ITe.state=new MQt),nE.get=nE.get,nE.has=nE.has,nE.set=nE.set,Sae=function(_,c){if(nE.has(_))throw new wTe(Utt);return c.facade=_,nE.set(_,c),c},lV=function(_){return nE.get(_)||{}},Eae=function(_){return nE.has(_)}):(KP=LQt("state"),RQt[KP]=!0,Sae=function(_,c){if(kTe(_,KP))throw new wTe(Utt);return c.facade=_,OQt(_,KP,c),c},lV=function(_){return kTe(_,KP)?_[KP]:{}},Eae=function(_){return kTe(_,KP)});var nE,KP;Gtt.exports={set:Sae,get:lV,has:Eae,enforce:BQt,getterFor:jQt}});var Ktt=jt((RAr,Htt)=>{"use strict";var PTe=Wv(),JQt=Ry(),$tt=Function.prototype,qQt=PTe&&Object.getOwnPropertyDescriptor,NTe=JQt($tt,"name"),zQt=NTe&&(function(){}).name==="something",WQt=NTe&&(!PTe||PTe&&qQt($tt,"name").configurable);Htt.exports={EXISTS:NTe,PROPER:zQt,CONFIGURABLE:WQt}});var OTe=jt((MAr,Xtt)=>{"use strict";var UQt=lk(),VQt=ETe(),GQt=dk(),Qtt=function(_){return function(c,p,g){var S=UQt(c),w=GQt(S);if(w===0)return!_&&-1;var z=VQt(g,w),ie;if(_&&p!==p){for(;w>z;)if(ie=S[z++],ie!==ie)return!0}else for(;w>z;z++)if((_||z in S)&&S[z]===p)return _||z||0;return!_&&-1}};Xtt.exports={includes:Qtt(!0),indexOf:Qtt(!1)}});var RTe=jt((BAr,Ztt)=>{"use strict";var $Qt=cm(),LTe=Ry(),HQt=lk(),KQt=OTe().indexOf,QQt=uV(),Ytt=$Qt([].push);Ztt.exports=function(_,c){var p=HQt(_),g=0,S=[],w;for(w in p)!LTe(QQt,w)&&LTe(p,w)&&Ytt(S,w);for(;c.length>g;)LTe(p,w=c[g++])&&(~KQt(S,w)||Ytt(S,w));return S}});var Tae=jt((jAr,ert)=>{"use strict";ert.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var MTe=jt((JAr,trt)=>{"use strict";var XQt=RTe(),YQt=Tae();trt.exports=Object.keys||function(c){return XQt(c,YQt)}});var BTe=jt(rrt=>{"use strict";var ZQt=Wv(),eXt=gTe(),tXt=rE(),rXt=fk(),nXt=lk(),iXt=MTe();rrt.f=ZQt&&!eXt?Object.defineProperties:function(c,p){rXt(c);for(var g=nXt(p),S=iXt(p),w=S.length,z=0,ie;w>z;)tXt.f(c,ie=S[z++],g[ie]);return c}});var irt=jt((zAr,nrt)=>{"use strict";var sXt=ST();nrt.exports=sXt("document","documentElement")});var fV=jt((WAr,frt)=>{"use strict";var aXt=fk(),oXt=BTe(),srt=Tae(),cXt=uV(),uXt=irt(),lXt=dTe(),fXt=cV(),art=">",ort="<",JTe="prototype",qTe="script",urt=fXt("IE_PROTO"),jTe=function(){},lrt=function(_){return ort+qTe+art+_+ort+"/"+qTe+art},crt=function(_){_.write(lrt("")),_.close();var c=_.parentWindow.Object;return _=null,c},_Xt=function(){var _=lXt("iframe"),c="java"+qTe+":",p;return _.style.display="none",uXt.appendChild(_),_.src=String(c),p=_.contentWindow.document,p.open(),p.write(lrt("document.F=Object")),p.close(),p.F},Aae,Fae=function(){try{Aae=new ActiveXObject("htmlfile")}catch{}Fae=typeof document<"u"?document.domain&&Aae?crt(Aae):_Xt():crt(Aae);for(var _=srt.length;_--;)delete Fae[JTe][srt[_]];return Fae()};cXt[urt]=!0;frt.exports=Object.create||function(c,p){var g;return c!==null?(jTe[JTe]=aXt(c),g=new jTe,jTe[JTe]=null,g[urt]=c):g=Fae(),p===void 0?g:oXt.f(g,p)}});var prt=jt((UAr,_rt)=>{"use strict";var pXt=Jm();_rt.exports=!pXt(function(){function _(){}return _.prototype.constructor=null,Object.getPrototypeOf(new _)!==_.prototype})});var WTe=jt((VAr,mrt)=>{"use strict";var dXt=Ry(),mXt=w0(),hXt=ET(),gXt=cV(),yXt=prt(),drt=gXt("IE_PROTO"),zTe=Object,vXt=zTe.prototype;mrt.exports=yXt?zTe.getPrototypeOf:function(_){var c=hXt(_);if(dXt(c,drt))return c[drt];var p=c.constructor;return mXt(p)&&c instanceof p?p.prototype:c instanceof zTe?vXt:null}});var _V=jt((GAr,hrt)=>{"use strict";var DXt=DR();hrt.exports=function(_,c,p,g){return g&&g.enumerable?_[c]=p:DXt(_,c,p),_}});var $Te=jt(($Ar,vrt)=>{"use strict";var bXt=Jm(),CXt=w0(),SXt=hC(),EXt=fV(),grt=WTe(),xXt=_V(),TXt=Yh(),AXt=yR(),GTe=TXt("iterator"),yrt=!1,gk,UTe,VTe;[].keys&&(VTe=[].keys(),"next"in VTe?(UTe=grt(grt(VTe)),UTe!==Object.prototype&&(gk=UTe)):yrt=!0);var FXt=!SXt(gk)||bXt(function(){var _={};return gk[GTe].call(_)!==_});FXt?gk={}:AXt&&(gk=EXt(gk));CXt(gk[GTe])||xXt(gk,GTe,function(){return this});vrt.exports={IteratorPrototype:gk,BUGGY_SAFARI_ITERATORS:yrt}});var brt=jt((HAr,Drt)=>{"use strict";var kXt=gae(),IXt=SR();Drt.exports=kXt?{}.toString:function(){return"[object "+IXt(this)+"]"}});var QP=jt((KAr,Srt)=>{"use strict";var wXt=gae(),PXt=rE().f,NXt=DR(),OXt=Ry(),LXt=brt(),RXt=Yh(),Crt=RXt("toStringTag");Srt.exports=function(_,c,p,g){var S=p?_:_&&_.prototype;S&&(OXt(S,Crt)||PXt(S,Crt,{configurable:!0,value:c}),g&&!wXt&&NXt(S,"toString",LXt))}});var XP=jt((QAr,Ert)=>{"use strict";Ert.exports={}});var Trt=jt((XAr,xrt)=>{"use strict";var MXt=$Te().IteratorPrototype,BXt=fV(),jXt=pR(),JXt=QP(),qXt=XP(),zXt=function(){return this};xrt.exports=function(_,c,p,g){var S=c+" Iterator";return _.prototype=BXt(MXt,{next:jXt(+!g,p)}),JXt(_,S,!1,!0),qXt[S]=zXt,_}});var Frt=jt((YAr,Art)=>{"use strict";var WXt=cm(),UXt=GP();Art.exports=function(_,c,p){try{return WXt(UXt(Object.getOwnPropertyDescriptor(_,c)[p]))}catch{}}});var Irt=jt((ZAr,krt)=>{"use strict";var VXt=hC();krt.exports=function(_){return VXt(_)||_===null}});var Prt=jt((eFr,wrt)=>{"use strict";var GXt=Irt(),$Xt=String,HXt=TypeError;wrt.exports=function(_){if(GXt(_))return _;throw new HXt("Can't set "+$Xt(_)+" as a prototype")}});var Ort=jt((tFr,Nrt)=>{"use strict";var KXt=Frt(),QXt=hC(),XXt=dR(),YXt=Prt();Nrt.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var _=!1,c={},p;try{p=KXt(Object.prototype,"__proto__","set"),p(c,[]),_=c instanceof Array}catch{}return function(S,w){return XXt(S),YXt(w),QXt(S)&&(_?p(S,w):S.__proto__=w),S}})():void 0)});var KTe=jt((rFr,Urt)=>{"use strict";var ZXt=Xp(),eYt=mC(),kae=yR(),zrt=Ktt(),tYt=w0(),rYt=Trt(),Lrt=WTe(),Rrt=Ort(),nYt=QP(),iYt=DR(),HTe=_V(),sYt=Yh(),Mrt=XP(),Wrt=$Te(),aYt=zrt.PROPER,oYt=zrt.CONFIGURABLE,Brt=Wrt.IteratorPrototype,Iae=Wrt.BUGGY_SAFARI_ITERATORS,pV=sYt("iterator"),jrt="keys",dV="values",Jrt="entries",qrt=function(){return this};Urt.exports=function(_,c,p,g,S,w,z){rYt(p,c,g);var ie=function(_r){if(_r===S&&Y)return Y;if(!Iae&&_r&&_r in Ee)return Ee[_r];switch(_r){case jrt:return function(){return new p(this,_r)};case dV:return function(){return new p(this,_r)};case Jrt:return function(){return new p(this,_r)}}return function(){return new p(this)}},de=c+" Iterator",be=!1,Ee=_.prototype,Oe=Ee[pV]||Ee["@@iterator"]||S&&Ee[S],Y=!Iae&&Oe||ie(S),ut=c==="Array"&&Ee.entries||Oe,Ye,We,Ut;if(ut&&(Ye=Lrt(ut.call(new _)),Ye!==Object.prototype&&Ye.next&&(!kae&&Lrt(Ye)!==Brt&&(Rrt?Rrt(Ye,Brt):tYt(Ye[pV])||HTe(Ye,pV,qrt)),nYt(Ye,de,!0,!0),kae&&(Mrt[de]=qrt))),aYt&&S===dV&&Oe&&Oe.name!==dV&&(!kae&&oYt?iYt(Ee,"name",dV):(be=!0,Y=function(){return eYt(Oe,this)})),S)if(We={values:ie(dV),keys:w?Y:ie(jrt),entries:ie(Jrt)},z)for(Ut in We)(Iae||be||!(Ut in Ee))&&HTe(Ee,Ut,We[Ut]);else ZXt({target:c,proto:!0,forced:Iae||be},We);return(!kae||z)&&Ee[pV]!==Y&&HTe(Ee,pV,Y,{name:S}),Mrt[c]=Y,We}});var QTe=jt((nFr,Vrt)=>{"use strict";Vrt.exports=function(_,c){return{value:_,done:c}}});var XTe=jt(()=>{"use strict";var cYt=Mtt().charAt,uYt=hk(),$rt=xae(),lYt=KTe(),Grt=QTe(),Hrt="String Iterator",fYt=$rt.set,_Yt=$rt.getterFor(Hrt);lYt(String,"String",function(_){fYt(this,{type:Hrt,string:uYt(_),index:0})},function(){var c=_Yt(this),p=c.string,g=c.index,S;return g>=p.length?Grt(void 0,!0):(S=cYt(p,g),c.index+=S.length,Grt(S,!1))})});var Xrt=jt((aFr,Qrt)=>{"use strict";var pYt=mC(),Krt=fk(),dYt=_ae();Qrt.exports=function(_,c,p){var g,S;Krt(_);try{if(g=dYt(_,"return"),!g){if(c==="throw")throw p;return p}g=pYt(g,_)}catch(w){S=!0,g=w}if(c==="throw")throw p;if(S)throw g;return Krt(g),p}});var Zrt=jt((oFr,Yrt)=>{"use strict";var mYt=fk(),hYt=Xrt();Yrt.exports=function(_,c,p,g){try{return g?c(mYt(p)[0],p[1]):c(p)}catch(S){hYt(_,"throw",S)}}});var tnt=jt((cFr,ent)=>{"use strict";var gYt=Yh(),yYt=XP(),vYt=gYt("iterator"),DYt=Array.prototype;ent.exports=function(_){return _!==void 0&&(yYt.Array===_||DYt[vYt]===_)}});var wae=jt((uFr,nnt)=>{"use strict";var bYt=SR(),rnt=_ae(),CYt=lae(),SYt=XP(),EYt=Yh(),xYt=EYt("iterator");nnt.exports=function(_){if(!CYt(_))return rnt(_,xYt)||rnt(_,"@@iterator")||SYt[bYt(_)]}});var snt=jt((lFr,int)=>{"use strict";var TYt=mC(),AYt=GP(),FYt=fk(),kYt=eV(),IYt=wae(),wYt=TypeError;int.exports=function(_,c){var p=arguments.length<2?IYt(_):c;if(AYt(p))return FYt(TYt(p,_));throw new wYt(kYt(_)+" is not iterable")}});var unt=jt((fFr,cnt)=>{"use strict";var PYt=mae(),NYt=mC(),OYt=ET(),LYt=Zrt(),RYt=tnt(),MYt=vae(),BYt=dk(),ant=bae(),jYt=snt(),JYt=wae(),ont=Array;cnt.exports=function(c){var p=OYt(c),g=MYt(this),S=arguments.length,w=S>1?arguments[1]:void 0,z=w!==void 0;z&&(w=PYt(w,S>2?arguments[2]:void 0));var ie=JYt(p),de=0,be,Ee,Oe,Y,ut,Ye;if(ie&&!(this===ont&&RYt(ie)))for(Ee=g?new this:[],Y=jYt(p,ie),ut=Y.next;!(Oe=NYt(ut,Y)).done;de++)Ye=z?LYt(Y,w,[Oe.value,de],!0):Oe.value,ant(Ee,de,Ye);else for(be=BYt(p),Ee=g?new this(be):ont(be);be>de;de++)Ye=z?w(p[de],de):p[de],ant(Ee,de,Ye);return Ee.length=de,Ee}});var dnt=jt((_Fr,pnt)=>{"use strict";var qYt=Yh(),fnt=qYt("iterator"),_nt=!1;try{lnt=0,YTe={next:function(){return{done:!!lnt++}},return:function(){_nt=!0}},YTe[fnt]=function(){return this},Array.from(YTe,function(){throw 2})}catch{}var lnt,YTe;pnt.exports=function(_,c){try{if(!c&&!_nt)return!1}catch{return!1}var p=!1;try{var g={};g[fnt]=function(){return{next:function(){return{done:p=!0}}}},_(g)}catch{}return p}});var mnt=jt(()=>{"use strict";var zYt=Xp(),WYt=unt(),UYt=dnt(),VYt=!UYt(function(_){Array.from(_)});zYt({target:"Array",stat:!0,forced:VYt},{from:WYt})});var gnt=jt((mFr,hnt)=>{"use strict";XTe();mnt();var GYt=eE();hnt.exports=GYt.Array.from});var ZTe=jt((hFr,ynt)=>{"use strict";var $Yt=gnt();ynt.exports=$Yt});var eAe=jt((gFr,vnt)=>{vnt.exports=ZTe()});var tAe=jt((yFr,Dnt)=>{"use strict";var HYt=TypeError,KYt=9007199254740991;Dnt.exports=function(_){if(_>KYt)throw HYt("Maximum allowed index exceeded");return _}});var Ent=jt((vFr,Snt)=>{"use strict";var bnt=HP(),QYt=vae(),XYt=hC(),YYt=Yh(),ZYt=YYt("species"),Cnt=Array;Snt.exports=function(_){var c;return bnt(_)&&(c=_.constructor,QYt(c)&&(c===Cnt||bnt(c.prototype))?c=void 0:XYt(c)&&(c=c[ZYt],c===null&&(c=void 0))),c===void 0?Cnt:c}});var rAe=jt((DFr,xnt)=>{"use strict";var eZt=Ent();xnt.exports=function(_,c){return new(eZt(_))(c===0?0:c)}});var nAe=jt(()=>{"use strict";var tZt=Xp(),rZt=Jm(),nZt=HP(),iZt=hC(),sZt=ET(),aZt=dk(),Tnt=tAe(),Ant=bae(),oZt=rAe(),cZt=Cae(),uZt=Yh(),lZt=hR(),Fnt=uZt("isConcatSpreadable"),fZt=lZt>=51||!rZt(function(){var _=[];return _[Fnt]=!1,_.concat()[0]!==_}),_Zt=function(_){if(!iZt(_))return!1;var c=_[Fnt];return c!==void 0?!!c:nZt(_)},pZt=!fZt||!cZt("concat");tZt({target:"Array",proto:!0,arity:1,forced:pZt},{concat:function(c){var p=sZt(this),g=oZt(p,0),S=0,w,z,ie,de,be;for(w=-1,ie=arguments.length;w<ie;w++)if(be=w===-1?p:arguments[w],_Zt(be))for(de=aZt(be),Tnt(S+de),z=0;z<de;z++,S++)z in be&&Ant(g,S,be[z]);else Tnt(S+1),Ant(g,S++,be);return g.length=S,g}})});var knt=jt(()=>{});var iAe=jt(Int=>{"use strict";var dZt=RTe(),mZt=Tae(),hZt=mZt.concat("length","prototype");Int.f=Object.getOwnPropertyNames||function(c){return dZt(c,hZt)}});var Ont=jt((TFr,Nnt)=>{"use strict";var gZt=N4(),yZt=lk(),wnt=iAe().f,vZt=aV(),Pnt=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],DZt=function(_){try{return wnt(_)}catch{return vZt(Pnt)}};Nnt.exports.f=function(c){return Pnt&&gZt(c)==="Window"?DZt(c):wnt(yZt(c))}});var sAe=jt(Lnt=>{"use strict";Lnt.f=Object.getOwnPropertySymbols});var Mnt=jt((FFr,Rnt)=>{"use strict";var bZt=rE();Rnt.exports=function(_,c,p){return bZt.f(_,c,p)}});var aAe=jt(Bnt=>{"use strict";var CZt=Yh();Bnt.f=CZt});var Yp=jt((IFr,Jnt)=>{"use strict";var jnt=eE(),SZt=Ry(),EZt=aAe(),xZt=rE().f;Jnt.exports=function(_){var c=jnt.Symbol||(jnt.Symbol={});SZt(c,_)||xZt(c,_,{value:EZt.f(_)})}});var oAe=jt((wFr,qnt)=>{"use strict";var TZt=mC(),AZt=ST(),FZt=Yh(),kZt=_V();qnt.exports=function(){var _=AZt("Symbol"),c=_&&_.prototype,p=c&&c.valueOf,g=FZt("toPrimitive");c&&!c[g]&&kZt(c,g,function(S){return TZt(p,this)},{arity:1})}});var Pae=jt((PFr,Wnt)=>{"use strict";var IZt=mae(),wZt=cm(),PZt=uae(),NZt=ET(),OZt=dk(),LZt=rAe(),znt=wZt([].push),O4=function(_){var c=_===1,p=_===2,g=_===3,S=_===4,w=_===6,z=_===7,ie=_===5||w;return function(de,be,Ee,Oe){for(var Y=NZt(de),ut=PZt(Y),Ye=OZt(ut),We=IZt(be,Ee),Ut=0,_r=Oe||LZt,Hr=c?_r(de,Ye):p||z?_r(de,0):void 0,On,Hi;Ye>Ut;Ut++)if((ie||Ut in ut)&&(On=ut[Ut],Hi=We(On,Ut,Y),_))if(c)Hr[Ut]=Hi;else if(Hi)switch(_){case 3:return!0;case 5:return On;case 6:return Ut;case 2:znt(Hr,On)}else switch(_){case 4:return!1;case 7:znt(Hr,On)}return w?-1:g||S?S:Hr}};Wnt.exports={forEach:O4(0),map:O4(1),filter:O4(2),some:O4(3),every:O4(4),find:O4(5),findIndex:O4(6),filterReject:O4(7)}});var ait=jt(()=>{"use strict";var Nae=Xp(),gV=Xh(),hAe=mC(),RZt=cm(),MZt=yR(),ER=Wv(),xR=VP(),BZt=Jm(),Gg=Ry(),jZt=T2(),fAe=fk(),Oae=lk(),gAe=dae(),JZt=hk(),_Ae=pR(),TR=fV(),Gnt=MTe(),qZt=iAe(),$nt=Ont(),zZt=sAe(),Hnt=hTe(),Knt=rE(),WZt=BTe(),Qnt=nTe(),cAe=_V(),UZt=Mnt(),yAe=$P(),VZt=cV(),Xnt=uV(),Unt=pae(),GZt=Yh(),$Zt=aAe(),HZt=Yp(),KZt=oAe(),QZt=QP(),Ynt=xae(),Lae=Pae().forEach,Uv=VZt("hidden"),Rae="Symbol",hV="prototype",XZt=Ynt.set,Vnt=Ynt.getterFor(Rae),gC=Object[hV],YP=gV.Symbol,mV=YP&&YP[hV],YZt=gV.RangeError,ZZt=gV.TypeError,uAe=gV.QObject,Znt=Hnt.f,ZP=Knt.f,eit=$nt.f,eer=Qnt.f,tit=RZt([].push),yk=yAe("symbols"),yV=yAe("op-symbols"),ter=yAe("wks"),pAe=!uAe||!uAe[hV]||!uAe[hV].findChild,rit=function(_,c,p){var g=Znt(gC,c);g&&delete gC[c],ZP(_,c,p),g&&_!==gC&&ZP(gC,c,g)},dAe=ER&&BZt(function(){return TR(ZP({},"a",{get:function(){return ZP(this,"a",{value:7}).a}})).a!==7})?rit:ZP,lAe=function(_,c){var p=yk[_]=TR(mV);return XZt(p,{type:Rae,tag:_,description:c}),ER||(p.description=c),p},Mae=function(c,p,g){c===gC&&Mae(yV,p,g),fAe(c);var S=gAe(p);return fAe(g),Gg(yk,S)?(g.enumerable?(Gg(c,Uv)&&c[Uv][S]&&(c[Uv][S]=!1),g=TR(g,{enumerable:_Ae(0,!1)})):(Gg(c,Uv)||ZP(c,Uv,_Ae(1,TR(null))),c[Uv][S]=!0),dAe(c,S,g)):ZP(c,S,g)},vAe=function(c,p){fAe(c);var g=Oae(p),S=Gnt(g).concat(sit(g));return Lae(S,function(w){(!ER||hAe(mAe,g,w))&&Mae(c,w,g[w])}),c},rer=function(c,p){return p===void 0?TR(c):vAe(TR(c),p)},mAe=function(c){var p=gAe(c),g=hAe(eer,this,p);return this===gC&&Gg(yk,p)&&!Gg(yV,p)?!1:g||!Gg(this,p)||!Gg(yk,p)||Gg(this,Uv)&&this[Uv][p]?g:!0},nit=function(c,p){var g=Oae(c),S=gAe(p);if(!(g===gC&&Gg(yk,S)&&!Gg(yV,S))){var w=Znt(g,S);return w&&Gg(yk,S)&&!(Gg(g,Uv)&&g[Uv][S])&&(w.enumerable=!0),w}},iit=function(c){var p=eit(Oae(c)),g=[];return Lae(p,function(S){!Gg(yk,S)&&!Gg(Xnt,S)&&tit(g,S)}),g},sit=function(_){var c=_===gC,p=eit(c?yV:Oae(_)),g=[];return Lae(p,function(S){Gg(yk,S)&&(!c||Gg(gC,S))&&tit(g,yk[S])}),g};xR||(YP=function(){if(jZt(mV,this))throw new ZZt("Symbol is not a constructor");var c=!arguments.length||arguments[0]===void 0?void 0:JZt(arguments[0]),p=Unt(c),g=function(S){var w=this===void 0?gV:this;w===gC&&hAe(g,yV,S),Gg(w,Uv)&&Gg(w[Uv],p)&&(w[Uv][p]=!1);var z=_Ae(1,S);try{dAe(w,p,z)}catch(ie){if(!(ie instanceof YZt))throw ie;rit(w,p,z)}};return ER&&pAe&&dAe(gC,p,{configurable:!0,set:g}),lAe(p,c)},mV=YP[hV],cAe(mV,"toString",function(){return Vnt(this).tag}),cAe(YP,"withoutSetter",function(_){return lAe(Unt(_),_)}),Qnt.f=mAe,Knt.f=Mae,WZt.f=vAe,Hnt.f=nit,qZt.f=$nt.f=iit,zZt.f=sit,$Zt.f=function(_){return lAe(GZt(_),_)},ER&&(UZt(mV,"description",{configurable:!0,get:function(){return Vnt(this).description}}),MZt||cAe(gC,"propertyIsEnumerable",mAe,{unsafe:!0})));Nae({global:!0,constructor:!0,wrap:!0,forced:!xR,sham:!xR},{Symbol:YP});Lae(Gnt(ter),function(_){HZt(_)});Nae({target:Rae,stat:!0,forced:!xR},{useSetter:function(){pAe=!0},useSimple:function(){pAe=!1}});Nae({target:"Object",stat:!0,forced:!xR,sham:!ER},{create:rer,defineProperty:Mae,defineProperties:vAe,getOwnPropertyDescriptor:nit});Nae({target:"Object",stat:!0,forced:!xR},{getOwnPropertyNames:iit});KZt();QZt(YP,Rae);Xnt[Uv]=!0});var DAe=jt((LFr,oit)=>{"use strict";var ner=VP();oit.exports=ner&&!!Symbol.for&&!!Symbol.keyFor});var uit=jt(()=>{"use strict";var ier=Xp(),ser=ST(),aer=Ry(),oer=hk(),cit=$P(),cer=DAe(),bAe=cit("string-to-symbol-registry"),uer=cit("symbol-to-string-registry");ier({target:"Symbol",stat:!0,forced:!cer},{for:function(_){var c=oer(_);if(aer(bAe,c))return bAe[c];var p=ser("Symbol")(c);return bAe[c]=p,uer[p]=c,p}})});var fit=jt(()=>{"use strict";var ler=Xp(),fer=Ry(),_er=gR(),per=eV(),der=$P(),mer=DAe(),lit=der("symbol-to-string-registry");ler({target:"Symbol",stat:!0,forced:!mer},{keyFor:function(c){if(!_er(c))throw new TypeError(per(c)+" is not a symbol");if(fer(lit,c))return lit[c]}})});var hit=jt((JFr,mit)=>{"use strict";var her=cm(),_it=HP(),ger=w0(),pit=N4(),yer=hk(),dit=her([].push);mit.exports=function(_){if(ger(_))return _;if(_it(_)){for(var c=_.length,p=[],g=0;g<c;g++){var S=_[g];typeof S=="string"?dit(p,S):(typeof S=="number"||pit(S)==="Number"||pit(S)==="String")&&dit(p,yer(S))}var w=p.length,z=!0;return function(ie,de){if(z)return z=!1,de;if(_it(this))return de;for(var be=0;be<w;be++)if(p[be]===ie)return de}}}});var Fit=jt(()=>{"use strict";var ver=Xp(),Eit=ST(),xit=eTe(),Der=mC(),vV=cm(),Tit=Jm(),git=w0(),yit=gR(),Ait=aV(),ber=hit(),Cer=VP(),Ser=String,L4=Eit("JSON","stringify"),Bae=vV(/./.exec),vit=vV("".charAt),Eer=vV("".charCodeAt),xer=vV("".replace),Ter=vV(1.1.toString),Aer=/[\uD800-\uDFFF]/g,Dit=/^[\uD800-\uDBFF]$/,bit=/^[\uDC00-\uDFFF]$/,Cit=!Cer||Tit(function(){var _=Eit("Symbol")("stringify detection");return L4([_])!=="[null]"||L4({a:_})!=="{}"||L4(Object(_))!=="{}"}),Sit=Tit(function(){return L4("\uDF06\uD834")!=='"\\udf06\\ud834"'||L4("\uDEAD")!=='"\\udead"'}),Fer=function(_,c){var p=Ait(arguments),g=ber(c);if(!(!git(g)&&(_===void 0||yit(_))))return p[1]=function(S,w){if(git(g)&&(w=Der(g,this,Ser(S),w)),!yit(w))return w},xit(L4,null,p)},ker=function(_,c,p){var g=vit(p,c-1),S=vit(p,c+1);return Bae(Dit,_)&&!Bae(bit,S)||Bae(bit,_)&&!Bae(Dit,g)?"\\u"+Ter(Eer(_,0),16):_};L4&&ver({target:"JSON",stat:!0,arity:3,forced:Cit||Sit},{stringify:function(c,p,g){var S=Ait(arguments),w=xit(Cit?Fer:L4,null,S);return Sit&&typeof w=="string"?xer(w,Aer,ker):w}})});var Iit=jt(()=>{"use strict";var Ier=Xp(),wer=VP(),Per=Jm(),kit=sAe(),Ner=ET(),Oer=!wer||Per(function(){kit.f(1)});Ier({target:"Object",stat:!0,forced:Oer},{getOwnPropertySymbols:function(c){var p=kit.f;return p?p(Ner(c)):[]}})});var wit=jt(()=>{"use strict";ait();uit();fit();Fit();Iit()});var CAe=jt(()=>{"use strict";var Ler=Yp();Ler("asyncDispose")});var Pit=jt(()=>{"use strict";var Rer=Yp();Rer("asyncIterator")});var Nit=jt(()=>{});var SAe=jt(()=>{"use strict";var Mer=Yp();Mer("dispose")});var Oit=jt(()=>{"use strict";var Ber=Yp();Ber("hasInstance")});var Lit=jt(()=>{"use strict";var jer=Yp();jer("isConcatSpreadable")});var Rit=jt(()=>{"use strict";var Jer=Yp();Jer("iterator")});var Mit=jt(()=>{"use strict";var qer=Yp();qer("match")});var Bit=jt(()=>{"use strict";var zer=Yp();zer("matchAll")});var jit=jt(()=>{"use strict";var Wer=Yp();Wer("replace")});var Jit=jt(()=>{"use strict";var Uer=Yp();Uer("search")});var qit=jt(()=>{"use strict";var Ver=Yp();Ver("species")});var zit=jt(()=>{"use strict";var Ger=Yp();Ger("split")});var Wit=jt(()=>{"use strict";var $er=Yp(),Her=oAe();$er("toPrimitive");Her()});var Uit=jt(()=>{"use strict";var Ker=ST(),Qer=Yp(),Xer=QP();Qer("toStringTag");Xer(Ker("Symbol"),"Symbol")});var Vit=jt(()=>{"use strict";var Yer=Yp();Yer("unscopables")});var Git=jt(()=>{"use strict";var Zer=Xh(),etr=QP();etr(Zer.JSON,"JSON",!0)});var $it=jt(()=>{});var Hit=jt(()=>{});var Qit=jt((wkr,Kit)=>{"use strict";nAe();knt();wit();CAe();Pit();Nit();SAe();Oit();Lit();Rit();Mit();Bit();jit();Jit();qit();zit();Wit();Uit();Vit();Git();$it();Hit();var ttr=eE();Kit.exports=ttr.Symbol});var Yit=jt((Pkr,Xit)=>{"use strict";Xit.exports=function(){}});var xAe=jt((Nkr,nst)=>{"use strict";var rtr=lk(),EAe=Yit(),Zit=XP(),tst=xae(),ntr=rE().f,itr=KTe(),jae=QTe(),str=yR(),atr=Wv(),rst="Array Iterator",otr=tst.set,ctr=tst.getterFor(rst);nst.exports=itr(Array,"Array",function(_,c){otr(this,{type:rst,target:rtr(_),index:0,kind:c})},function(){var _=ctr(this),c=_.target,p=_.index++;if(!c||p>=c.length)return _.target=null,jae(void 0,!0);switch(_.kind){case"keys":return jae(p,!1);case"values":return jae(c[p],!1)}return jae([p,c[p]],!1)},"values");var est=Zit.Arguments=Zit.Array;EAe("keys");EAe("values");EAe("entries");if(!str&&atr&&est.name!=="values")try{ntr(est,"name",{value:"values"})}catch{}});var sst=jt((Okr,ist)=>{"use strict";ist.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var TAe=jt(()=>{"use strict";xAe();var utr=sst(),ltr=Xh(),ftr=QP(),ast=XP();for(Jae in utr)ftr(ltr[Jae],Jae),ast[Jae]=ast.Array;var Jae});var AAe=jt((Mkr,ost)=>{"use strict";var _tr=Qit();TAe();ost.exports=_tr});var FAe=jt((Bkr,cst)=>{cst.exports=AAe()});var lst=jt((jkr,ust)=>{"use strict";xAe();XTe();var ptr=wae();ust.exports=ptr});var _st=jt((Jkr,fst)=>{"use strict";var dtr=lst();TAe();fst.exports=dtr});var dst=jt((qkr,pst)=>{"use strict";var mtr=_st();pst.exports=mtr});var hst=jt((zkr,mst)=>{"use strict";var htr=dst();mst.exports=htr});var kAe=jt((Wkr,gst)=>{"use strict";gst.exports=hst()});var IAe=jt((Ukr,yst)=>{yst.exports=kAe()});var vst=jt(()=>{"use strict";var gtr=Xp(),ytr=HP();gtr({target:"Array",stat:!0},{isArray:ytr})});var bst=jt(($kr,Dst)=>{"use strict";vst();var vtr=eE();Dst.exports=vtr.Array.isArray});var wAe=jt((Hkr,Cst)=>{"use strict";var Dtr=bst();Cst.exports=Dtr});var PAe=jt((Kkr,Sst)=>{Sst.exports=wAe()});var xst=jt((Qkr,Est)=>{"use strict";var btr=wAe();Est.exports=btr});var Ast=jt((Xkr,Tst)=>{"use strict";var Ctr=xst();Tst.exports=Ctr});var kst=jt((Ykr,Fst)=>{"use strict";Fst.exports=Ast()});var Ist=jt((Zkr,DV)=>{var Str=kst();function Etr(_){if(Str(_))return _}DV.exports=Etr,DV.exports.__esModule=!0,DV.exports.default=DV.exports});var Nst=jt(()=>{"use strict";var xtr=Yh(),Ttr=rE().f,wst=xtr("metadata"),Pst=Function.prototype;Pst[wst]===void 0&&Ttr(Pst,wst,{value:null})});var Ost=jt(()=>{"use strict";CAe()});var Lst=jt(()=>{"use strict";SAe()});var Rst=jt(()=>{"use strict";var Atr=Yp();Atr("metadata")});var Bst=jt((c6r,Mst)=>{"use strict";var Ftr=AAe();Nst();Ost();Lst();Rst();Mst.exports=Ftr});var OAe=jt((u6r,jst)=>{"use strict";var ktr=ST(),Itr=cm(),NAe=ktr("Symbol"),wtr=NAe.keyFor,Ptr=Itr(NAe.prototype.valueOf);jst.exports=NAe.isRegisteredSymbol||function(c){try{return wtr(Ptr(c))!==void 0}catch{return!1}}});var Jst=jt(()=>{"use strict";var Ntr=Xp(),Otr=OAe();Ntr({target:"Symbol",stat:!0},{isRegisteredSymbol:Otr})});var MAe=jt((_6r,Gst)=>{"use strict";var Ltr=$P(),Ust=ST(),Rtr=cm(),Mtr=gR(),Btr=Yh(),zae=Ust("Symbol"),qst=zae.isWellKnownSymbol,Vst=Ust("Object","getOwnPropertyNames"),jtr=Rtr(zae.prototype.valueOf),zst=Ltr("wks");for(qae=0,LAe=Vst(zae),Wst=LAe.length;qae<Wst;qae++)try{RAe=LAe[qae],Mtr(zae[RAe])&&Btr(RAe)}catch{}var RAe,qae,LAe,Wst;Gst.exports=function(c){if(qst&&qst(c))return!0;try{for(var p=jtr(c),g=0,S=Vst(zst),w=S.length;g<w;g++)if(zst[S[g]]==p)return!0}catch{}return!1}});var $st=jt(()=>{"use strict";var Jtr=Xp(),qtr=MAe();Jtr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:qtr})});var Hst=jt(()=>{"use strict";var ztr=Yp();ztr("customMatcher")});var Kst=jt(()=>{"use strict";var Wtr=Yp();Wtr("observable")});var Qst=jt(()=>{"use strict";var Utr=Xp(),Vtr=OAe();Utr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Vtr})});var Xst=jt(()=>{"use strict";var Gtr=Xp(),$tr=MAe();Gtr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:$tr})});var Yst=jt(()=>{"use strict";var Htr=Yp();Htr("matcher")});var Zst=jt(()=>{"use strict";var Ktr=Yp();Ktr("metadataKey")});var eat=jt(()=>{"use strict";var Qtr=Yp();Qtr("patternMatch")});var tat=jt(()=>{"use strict";var Xtr=Yp();Xtr("replaceAll")});var nat=jt((w6r,rat)=>{"use strict";var Ytr=Bst();Jst();$st();Hst();Kst();Qst();Xst();Yst();Zst();eat();tat();rat.exports=Ytr});var sat=jt((P6r,iat)=>{"use strict";iat.exports=nat()});var oat=jt((N6r,aat)=>{"use strict";var Ztr=Wv(),err=HP(),trr=TypeError,rrr=Object.getOwnPropertyDescriptor,nrr=Ztr&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(_){return _ instanceof TypeError}})();aat.exports=nrr?function(_,c){if(err(_)&&!rrr(_,"length").writable)throw new trr("Cannot set read only .length");return _.length=c}:function(_,c){return _.length=c}});var cat=jt(()=>{"use strict";var irr=Xp(),srr=ET(),arr=dk(),orr=oat(),crr=tAe(),urr=Jm(),lrr=urr(function(){return[].push.call({length:4294967296},1)!==4294967297}),frr=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(_){return _ instanceof TypeError}},_rr=lrr||!frr();irr({target:"Array",proto:!0,arity:1,forced:_rr},{push:function(c){var p=srr(this),g=arr(p),S=arguments.length;crr(g+S);for(var w=0;w<S;w++)p[g]=arguments[w],g++;return orr(p,g),g}})});var lat=jt((R6r,uat)=>{"use strict";cat();var prr=mk();uat.exports=prr("Array","push")});var _at=jt((M6r,fat)=>{"use strict";var drr=T2(),mrr=lat(),BAe=Array.prototype;fat.exports=function(_){var c=_.push;return _===BAe||drr(BAe,_)&&c===BAe.push?mrr:c}});var dat=jt((B6r,pat)=>{"use strict";var hrr=_at();pat.exports=hrr});var hat=jt((j6r,mat)=>{"use strict";var grr=dat();mat.exports=grr});var yat=jt((J6r,gat)=>{"use strict";var yrr=hat();gat.exports=yrr});var Dat=jt((q6r,vat)=>{"use strict";vat.exports=yat()});var bat=jt((z6r,bV)=>{var vrr=sat(),Drr=kAe(),brr=Dat();function Crr(_,c){var p=_==null?null:typeof vrr<"u"&&Drr(_)||_["@@iterator"];if(p!=null){var g,S,w,z,ie=[],de=!0,be=!1;try{if(w=(p=p.call(_)).next,c===0){if(Object(p)!==p)return;de=!1}else for(;!(de=(g=w.call(p)).done)&&(brr(ie).call(ie,g.value),ie.length!==c);de=!0);}catch(Ee){be=!0,S=Ee}finally{try{if(!de&&p.return!=null&&(z=p.return(),Object(z)!==z))return}finally{if(be)throw S}}return ie}}bV.exports=Crr,bV.exports.__esModule=!0,bV.exports.default=bV.exports});var Sat=jt((W6r,Cat)=>{"use strict";var Srr=ATe();Cat.exports=Srr});var xat=jt((U6r,Eat)=>{"use strict";var Err=Sat();Eat.exports=Err});var Aat=jt((V6r,Tat)=>{"use strict";Tat.exports=xat()});var kat=jt((G6r,Fat)=>{"use strict";var xrr=ZTe();Fat.exports=xrr});var wat=jt(($6r,Iat)=>{"use strict";var Trr=kat();Iat.exports=Trr});var Nat=jt((H6r,Pat)=>{"use strict";Pat.exports=wat()});var Oat=jt((K6r,CV)=>{function Arr(_,c){(c==null||c>_.length)&&(c=_.length);for(var p=0,g=Array(c);p<c;p++)g[p]=_[p];return g}CV.exports=Arr,CV.exports.__esModule=!0,CV.exports.default=CV.exports});var Rat=jt((Q6r,SV)=>{var Frr=Aat(),krr=Nat(),Lat=Oat();function Irr(_,c){if(_){var p;if(typeof _=="string")return Lat(_,c);var g=Frr(p={}.toString.call(_)).call(p,8,-1);return g==="Object"&&_.constructor&&(g=_.constructor.name),g==="Map"||g==="Set"?krr(_):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?Lat(_,c):void 0}}SV.exports=Irr,SV.exports.__esModule=!0,SV.exports.default=SV.exports});var Mat=jt((X6r,EV)=>{function wrr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}EV.exports=wrr,EV.exports.__esModule=!0,EV.exports.default=EV.exports});var jAe=jt((Y6r,xV)=>{var Prr=Ist(),Nrr=bat(),Orr=Rat(),Lrr=Mat();function Rrr(_,c){return Prr(_)||Nrr(_,c)||Orr(_,c)||Lrr()}xV.exports=Rrr,xV.exports.__esModule=!0,xV.exports.default=xV.exports});var Bat=jt(()=>{"use strict";var Mrr=Xp(),Brr=Wv(),jrr=fV();Mrr({target:"Object",stat:!0,sham:!Brr},{create:jrr})});var Jat=jt((t3r,jat)=>{"use strict";Bat();var Jrr=eE(),qrr=Jrr.Object;jat.exports=function(c,p){return qrr.create(c,p)}});var zat=jt((r3r,qat)=>{"use strict";var zrr=Jat();qat.exports=zrr});var Uat=jt((n3r,Wat)=>{Wat.exports=zat()});var Vat=jt(()=>{});var Hat=jt((a3r,$at)=>{"use strict";var Wrr=Xh(),Urr=Jm(),Gat=Wrr.RegExp,Vrr=!Urr(function(){var _=!0;try{Gat(".","d")}catch{_=!1}var c={},p="",g=_?"dgimsy":"gimsy",S=function(de,be){Object.defineProperty(c,de,{get:function(){return p+=be,!0}})},w={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};_&&(w.hasIndices="d");for(var z in w)S(z,w[z]);var ie=Object.getOwnPropertyDescriptor(Gat.prototype,"flags").get.call(c);return ie!==g||p!==g});$at.exports={correct:Vrr}});var Qat=jt((o3r,Kat)=>{"use strict";var Grr=fk();Kat.exports=function(){var _=Grr(this),c="";return _.hasIndices&&(c+="d"),_.global&&(c+="g"),_.ignoreCase&&(c+="i"),_.multiline&&(c+="m"),_.dotAll&&(c+="s"),_.unicode&&(c+="u"),_.unicodeSets&&(c+="v"),_.sticky&&(c+="y"),c}});var Zat=jt((c3r,Yat)=>{"use strict";var $rr=mC(),Hrr=Ry(),Krr=T2(),Xat=Hat(),Qrr=Qat(),Xrr=RegExp.prototype;Yat.exports=Xat.correct?function(_){return _.flags}:function(_){return!Xat.correct&&Krr(Xrr,_)&&!Hrr(_,"flags")?$rr(Qrr,_):_.flags}});var tot=jt((u3r,eot)=>{"use strict";Vat();var Yrr=Zat();eot.exports=Yrr});var iot=jt((l3r,not)=>{"use strict";var Zrr=T2(),enr=tot(),rot=RegExp.prototype;not.exports=function(_){return _===rot||Zrr(rot,_)?enr(_):_.flags}});var aot=jt((f3r,sot)=>{"use strict";var tnr=iot();sot.exports=tnr});var cot=jt((_3r,oot)=>{oot.exports=aot()});var fot=jt((p3r,lot)=>{"use strict";var uot=eV(),rnr=TypeError;lot.exports=function(_,c){if(!delete _[c])throw new rnr("Cannot delete property "+uot(c)+" of "+uot(_))}});var dot=jt((d3r,pot)=>{"use strict";var _ot=aV(),nnr=Math.floor,JAe=function(_,c){var p=_.length;if(p<8)for(var g=1,S,w;g<p;){for(w=g,S=_[g];w&&c(_[w-1],S)>0;)_[w]=_[--w];w!==g++&&(_[w]=S)}else for(var z=nnr(p/2),ie=JAe(_ot(_,0,z),c),de=JAe(_ot(_,z),c),be=ie.length,Ee=de.length,Oe=0,Y=0;Oe<be||Y<Ee;)_[Oe+Y]=Oe<be&&Y<Ee?c(ie[Oe],de[Y])<=0?ie[Oe++]:de[Y++]:Oe<be?ie[Oe++]:de[Y++];return _};pot.exports=JAe});var TV=jt((m3r,mot)=>{"use strict";var inr=Jm();mot.exports=function(_,c){var p=[][_];return!!p&&inr(function(){p.call(null,c||function(){return 1},1)})}});var yot=jt((h3r,got)=>{"use strict";var snr=mR(),hot=snr.match(/firefox\/(\d+)/i);got.exports=!!hot&&+hot[1]});var Dot=jt((g3r,vot)=>{"use strict";var anr=mR();vot.exports=/MSIE|Trident/.test(anr)});var Sot=jt((y3r,Cot)=>{"use strict";var onr=mR(),bot=onr.match(/AppleWebKit\/(\d+)\./);Cot.exports=!!bot&&+bot[1]});var Pot=jt(()=>{"use strict";var cnr=Xp(),Iot=cm(),unr=GP(),lnr=ET(),Eot=dk(),fnr=fot(),xot=hk(),qAe=Jm(),_nr=dot(),pnr=TV(),Tot=yot(),dnr=Dot(),Aot=hR(),Fot=Sot(),R4=[],kot=Iot(R4.sort),mnr=Iot(R4.push),hnr=qAe(function(){R4.sort(void 0)}),gnr=qAe(function(){R4.sort(null)}),ynr=pnr("sort"),wot=!qAe(function(){if(Aot)return Aot<70;if(!(Tot&&Tot>3)){if(dnr)return!0;if(Fot)return Fot<603;var _="",c,p,g,S;for(c=65;c<76;c++){switch(p=String.fromCharCode(c),c){case 66:case 69:case 70:case 72:g=3;break;case 68:case 71:g=4;break;default:g=2}for(S=0;S<47;S++)R4.push({k:p+S,v:g})}for(R4.sort(function(w,z){return z.v-w.v}),S=0;S<R4.length;S++)p=R4[S].k.charAt(0),_.charAt(_.length-1)!==p&&(_+=p);return _!=="DGBEFHACIJK"}}),vnr=hnr||!gnr||!ynr||!wot,Dnr=function(_){return function(c,p){return p===void 0?-1:c===void 0?1:_!==void 0?+_(c,p)||0:xot(c)>xot(p)?1:-1}};cnr({target:"Array",proto:!0,forced:vnr},{sort:function(c){c!==void 0&&unr(c);var p=lnr(this);if(wot)return c===void 0?kot(p):kot(p,c);var g=[],S=Eot(p),w,z;for(z=0;z<S;z++)z in p&&mnr(g,p[z]);for(_nr(g,Dnr(c)),w=Eot(g),z=0;z<w;)p[z]=g[z++];for(;z<S;)fnr(p,z++);return p}})});var Oot=jt((b3r,Not)=>{"use strict";Pot();var bnr=mk();Not.exports=bnr("Array","sort")});var Rot=jt((C3r,Lot)=>{"use strict";var Cnr=T2(),Snr=Oot(),zAe=Array.prototype;Lot.exports=function(_){var c=_.sort;return _===zAe||Cnr(zAe,_)&&c===zAe.sort?Snr:c}});var Bot=jt((S3r,Mot)=>{"use strict";var Enr=Rot();Mot.exports=Enr});var Jot=jt((E3r,jot)=>{jot.exports=Bot()});var WAe=jt((x3r,qot)=>{"use strict";qot.exports=`
4
+ \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Uot=jt((T3r,Wot)=>{"use strict";var xnr=cm(),Tnr=dR(),Anr=hk(),VAe=WAe(),zot=xnr("".replace),Fnr=RegExp("^["+VAe+"]+"),knr=RegExp("(^|[^"+VAe+"])["+VAe+"]+$"),UAe=function(_){return function(c){var p=Anr(Tnr(c));return _&1&&(p=zot(p,Fnr,"")),_&2&&(p=zot(p,knr,"$1")),p}};Wot.exports={start:UAe(1),end:UAe(2),trim:UAe(3)}});var Xot=jt((A3r,Qot)=>{"use strict";var Hot=Xh(),Inr=Jm(),wnr=cm(),Pnr=hk(),Nnr=Uot().trim,Vot=WAe(),AV=Hot.parseInt,Got=Hot.Symbol,$ot=Got&&Got.iterator,Kot=/^[+-]?0x/i,Onr=wnr(Kot.exec),Lnr=AV(Vot+"08")!==8||AV(Vot+"0x16")!==22||$ot&&!Inr(function(){AV(Object($ot))});Qot.exports=Lnr?function(c,p){var g=Nnr(Pnr(c));return AV(g,p>>>0||(Onr(Kot,g)?16:10))}:AV});var Zot=jt(()=>{"use strict";var Rnr=Xp(),Yot=Xot();Rnr({global:!0,forced:parseInt!==Yot},{parseInt:Yot})});var tct=jt((I3r,ect)=>{"use strict";Zot();var Mnr=eE();ect.exports=Mnr.parseInt});var nct=jt((w3r,rct)=>{"use strict";var Bnr=tct();rct.exports=Bnr});var sct=jt((P3r,ict)=>{ict.exports=nct()});var oct=jt(()=>{"use strict";var jnr=Xp(),Jnr=oae(),qnr=OTe().indexOf,znr=TV(),GAe=Jnr([].indexOf),act=!!GAe&&1/GAe([1],1,-0)<0,Wnr=act||!znr("indexOf");jnr({target:"Array",proto:!0,forced:Wnr},{indexOf:function(c){var p=arguments.length>1?arguments[1]:void 0;return act?GAe(this,c,p)||0:qnr(this,c,p)}})});var uct=jt((L3r,cct)=>{"use strict";oct();var Unr=mk();cct.exports=Unr("Array","indexOf")});var fct=jt((R3r,lct)=>{"use strict";var Vnr=T2(),Gnr=uct(),$Ae=Array.prototype;lct.exports=function(_){var c=_.indexOf;return _===$Ae||Vnr($Ae,_)&&c===$Ae.indexOf?Gnr:c}});var pct=jt((M3r,_ct)=>{"use strict";var $nr=fct();_ct.exports=$nr});var FV=jt((B3r,dct)=>{dct.exports=pct()});var hct=jt((j3r,mct)=>{"use strict";var Hnr=Pae().forEach,Knr=TV(),Qnr=Knr("forEach");mct.exports=Qnr?[].forEach:function(c){return Hnr(this,c,arguments.length>1?arguments[1]:void 0)}});var yct=jt(()=>{"use strict";var Xnr=Xp(),gct=hct();Xnr({target:"Array",proto:!0,forced:[].forEach!==gct},{forEach:gct})});var Dct=jt((z3r,vct)=>{"use strict";yct();var Ynr=mk();vct.exports=Ynr("Array","forEach")});var Cct=jt((W3r,bct)=>{"use strict";var Znr=Dct();bct.exports=Znr});var Sct=jt(()=>{});var xct=jt((G3r,Ect)=>{"use strict";var eir=SR(),tir=Ry(),rir=T2(),nir=Cct();Sct();var HAe=Array.prototype,iir={DOMTokenList:!0,NodeList:!0};Ect.exports=function(_){var c=_.forEach;return _===HAe||rir(HAe,_)&&c===HAe.forEach||tir(iir,eir(_))?nir:c}});var KAe=jt(($3r,Tct)=>{Tct.exports=xct()});var Fct=jt((H3r,Act)=>{"use strict";nAe();var sir=mk();Act.exports=sir("Array","concat")});var Ict=jt((K3r,kct)=>{"use strict";var air=T2(),oir=Fct(),QAe=Array.prototype;kct.exports=function(_){var c=_.concat;return _===QAe||air(QAe,_)&&c===QAe.concat?oir:c}});var Pct=jt((Q3r,wct)=>{"use strict";var cir=Ict();wct.exports=cir});var kV=jt((X3r,Nct)=>{Nct.exports=Pct()});var $ct=jt((OV,Gct)=>{"use strict";var uir=oV(),lir=eAe(),fir=FAe(),_ir=IAe(),pir=PAe(),dir=_k(),vk=pk();dir(OV,"__esModule",{value:!0});OV.default=void 0;var mir=vk(jAe()),kR=vk(Uat()),e7=vk(cot()),hir=vk(Jot()),iE=vk(oV()),Mct=vk(sct()),Dk=vk(FV()),YAe=vk(KAe()),gir=vk(kV());function PV(_,c){var p=typeof fir<"u"&&_ir(_)||_["@@iterator"];if(!p){if(pir(_)||(p=yir(_))||c&&_&&typeof _.length=="number"){p&&(_=p);var g=0,S=function(){};return{s:S,n:function(){return g>=_.length?{done:!0}:{done:!1,value:_[g++]}},e:function(be){throw be},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w,z=!0,ie=!1;return{s:function(){p=p.call(_)},n:function(){var be=p.next();return z=be.done,be},e:function(be){ie=!0,w=be},f:function(){try{z||p.return==null||p.return()}finally{if(ie)throw w}}}}function yir(_,c){if(_){var p;if(typeof _=="string")return Oct(_,c);var g=uir(p={}.toString.call(_)).call(p,8,-1);return g==="Object"&&_.constructor&&(g=_.constructor.name),g==="Map"||g==="Set"?lir(_):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?Oct(_,c):void 0}}function Oct(_,c){(c==null||c>_.length)&&(c=_.length);for(var p=0,g=Array(c);p<c;p++)g[p]=_[p];return g}var Mp="xregexp",t7={astral:!1,namespacing:!0},xT={},IV=(0,kR.default)(null),AR=(0,kR.default)(null),XAe=[],FR="default",Lct="class",vir={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/},Dir=/\$(?:\{([^\}]+)\}|<([^>]+)>|(\d\d?|[\s\S]?))/g,bir=/()??/.exec("")[1]===void 0,Cir=(0,e7.default)(/x/)!==void 0;function NV(_){var c=!0;try{if(new RegExp("",_),_==="y"){var p=(function(){return"gy"})(),g=".a".replace(new RegExp("a",p),".")==="..";g&&(c=!1)}}catch{c=!1}return c}var Sir=NV("d"),ZAe=NV("s"),Bct=NV("u"),eFe=NV("y"),jct={d:Sir,g:!0,i:!0,m:!0,s:ZAe,u:Bct,y:eFe},Eir=ZAe?/[^dgimsuy]+/g:/[^dgimuy]+/g;function Jct(_,c,p,g,S){var w;if(_[Mp]={captureNames:c},S)return _;if(_.__proto__)_.__proto__=Wa.prototype;else for(var z in Wa.prototype)_[z]=Wa.prototype[z];return _[Mp].source=p,_[Mp].flags=g&&(0,hir.default)(w=g.split("")).call(w).join(""),_}function wV(_){return _.replace(/([\s\S])(?=[\s\S]*\1)/g,"")}function r7(_,c){var p;if(!Wa.isRegExp(_))throw new TypeError("Type RegExp expected");var g=_[Mp]||{},S=xir(_),w="",z="",ie=null,de=null;return c=c||{},c.removeG&&(z+="g"),c.removeY&&(z+="y"),z&&(S=S.replace(new RegExp("[".concat(z,"]+"),"g"),"")),c.addG&&(w+="g"),c.addY&&(w+="y"),w&&(S=wV(S+w)),c.isInternalOnly||(g.source!==void 0&&(ie=g.source),(0,e7.default)(g)!=null&&(de=w?wV((0,e7.default)(g)+w):(0,e7.default)(g))),_=Jct(new RegExp(c.source||_.source,S),Tir(_)?(0,iE.default)(p=g.captureNames).call(p,0):null,ie,de,c.isInternalOnly),_}function qct(_){return(0,Mct.default)(_,16)}function zct(_,c,p){var g=_.index+_[0].length,S=_.input[_.index-1],w=_.input[g];return/^[()|]$/.test(S)||/^[()|]$/.test(w)||_.index===0||g===_.input.length||/\(\?(?:[:=!]|<[=!])$/.test(_.input.substring(_.index-4,_.index))||Air(_.input,g,p)?"":"(?:)"}function xir(_){return Cir?(0,e7.default)(_):/\/([a-z]*)$/i.exec(RegExp.prototype.toString.call(_))[1]}function Tir(_){return!!(_[Mp]&&_[Mp].captureNames)}function tFe(_){return(0,Mct.default)(_,10).toString(16)}function Air(_,c,p){var g="\\(\\?#[^)]*\\)",S="#[^#\\n]*",w="[?*+]|{\\d+(?:,\\d*)?}",z=(0,Dk.default)(p).call(p,"x")!==-1?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/;return z.test((0,iE.default)(_).call(_,c))}function Wae(_,c){return Object.prototype.toString.call(_)==="[object ".concat(c,"]")}function IR(_){if(_==null)throw new TypeError("Cannot convert null or undefined to object");return _}function rFe(_){for(;_.length<4;)_="0".concat(_);return _}function Fir(_,c){if(wV(c)!==c)throw new SyntaxError("Invalid duplicate regex flag ".concat(c));_=_.replace(/^\(\?([\w$]+)\)/,function(w,z){if(/[dgy]/.test(z))throw new SyntaxError("Cannot use flags dgy in mode modifier ".concat(w));return c=wV(c+z),""});var p=PV(c),g;try{for(p.s();!(g=p.n()).done;){var S=g.value;if(!jct[S])throw new SyntaxError("Unknown regex flag ".concat(S))}}catch(w){p.e(w)}finally{p.f()}return{pattern:_,flags:c}}function Wct(_){var c={};return Wae(_,"String")?((0,YAe.default)(Wa).call(Wa,_,/[^\s,]+/,function(p){c[p]=!0}),c):_}function Rct(_){if(!/^[\w$]$/.test(_))throw new Error("Flag must be a single character A-Za-z0-9_$");jct[_]=!0}function kir(_,c,p,g,S){for(var w=XAe.length,z=_[p],ie=null,de,be;w--;)if(be=XAe[w],!(be.leadChar&&be.leadChar!==z||be.scope!==g&&be.scope!=="all"||be.flag&&(0,Dk.default)(c).call(c,be.flag)===-1)&&(de=Wa.exec(_,be.regex,p,"sticky"),de)){ie={matchLength:de[0].length,output:be.handler.call(S,de,g,c),reparse:be.reparse};break}return ie}function Uct(_){t7.astral=_}function Vct(_){t7.namespacing=_}function Wa(_,c){if(Wa.isRegExp(_)){if(c!==void 0)throw new TypeError("Cannot supply flags when copying a RegExp");return r7(_)}if(_=_===void 0?"":String(_),c=c===void 0?"":String(c),Wa.isInstalled("astral")&&(0,Dk.default)(c).call(c,"A")===-1&&(c+="A"),AR[_]||(AR[_]={}),!AR[_][c]){for(var p={hasNamedCapture:!1,captureNames:[]},g=FR,S="",w=0,z,ie=Fir(_,c),de=ie.pattern,be=(0,e7.default)(ie);w<de.length;){do z=kir(de,be,w,g,p),z&&z.reparse&&(de=(0,iE.default)(de).call(de,0,w)+z.output+(0,iE.default)(de).call(de,w+z.matchLength));while(z&&z.reparse);if(z)S+=z.output,w+=z.matchLength||1;else{var Ee=Wa.exec(de,vir[g],w,"sticky"),Oe=(0,mir.default)(Ee,1),Y=Oe[0];S+=Y,w+=Y.length,Y==="["&&g===FR?g=Lct:Y==="]"&&g===Lct&&(g=FR)}}AR[_][c]={pattern:S.replace(/(?:\(\?:\))+/g,"(?:)"),flags:be.replace(Eir,""),captures:p.hasNamedCapture?p.captureNames:null}}var ut=AR[_][c];return Jct(new RegExp(ut.pattern,(0,e7.default)(ut)),ut.captures,_,c)}Wa.prototype=/(?:)/;Wa.version="5.1.2";Wa._clipDuplicates=wV;Wa._hasNativeFlag=NV;Wa._dec=qct;Wa._hex=tFe;Wa._pad4=rFe;Wa.addToken=function(_,c,p){p=p||{};var g=p,S=g.optionalFlags;if(p.flag&&Rct(p.flag),S){S=S.split("");var w=PV(S),z;try{for(w.s();!(z=w.n()).done;){var ie=z.value;Rct(ie)}}catch(de){w.e(de)}finally{w.f()}}XAe.push({regex:r7(_,{addG:!0,addY:eFe,isInternalOnly:!0}),handler:c,scope:p.scope||FR,flag:p.flag,reparse:p.reparse,leadChar:p.leadChar}),Wa.cache.flush("patterns")};Wa.cache=function(_,c){return IV[_]||(IV[_]={}),IV[_][c]||(IV[_][c]=Wa(_,c))};Wa.cache.flush=function(_){_==="patterns"?AR=(0,kR.default)(null):IV=(0,kR.default)(null)};Wa.escape=function(_){return String(IR(_)).replace(/[\\\[\]{}()*+?.^$|]/g,"\\$&").replace(/[\s#\-,]/g,function(c){return"\\u".concat(rFe(tFe(c.charCodeAt(0))))})};Wa.exec=function(_,c,p,g){var S="g",w=!1,z=!1,ie;w=eFe&&!!(g||c.sticky&&g!==!1),w?S+="y":g&&(z=!0,S+="FakeY"),c[Mp]=c[Mp]||{};var de=c[Mp][S]||(c[Mp][S]=r7(c,{addG:!0,addY:w,source:z?"".concat(c.source,"|()"):void 0,removeY:g===!1,isInternalOnly:!0}));return p=p||0,de.lastIndex=p,ie=xT.exec.call(de,_),z&&ie&&ie.pop()===""&&(ie=null),c.global&&(c.lastIndex=ie?de.lastIndex:0),ie};Wa.forEach=function(_,c,p){for(var g=0,S=-1,w;w=Wa.exec(_,c,g);)p(w,++S,_,c),g=w.index+(w[0].length||1)};Wa.globalize=function(_){return r7(_,{addG:!0})};Wa.install=function(_){_=Wct(_),!t7.astral&&_.astral&&Uct(!0),!t7.namespacing&&_.namespacing&&Vct(!0)};Wa.isInstalled=function(_){return!!t7[_]};Wa.isRegExp=function(_){return Object.prototype.toString.call(_)==="[object RegExp]"};Wa.match=function(_,c,p){var g=c.global&&p!=="one"||p==="all",S=(g?"g":"")+(c.sticky?"y":"")||"noGY";c[Mp]=c[Mp]||{};var w=c[Mp][S]||(c[Mp][S]=r7(c,{addG:!!g,removeG:p==="one",isInternalOnly:!0})),z=String(IR(_)).match(w);return c.global&&(c.lastIndex=p==="one"&&z?z.index+z[0].length:0),g?z||[]:z&&z[0]};Wa.matchChain=function(_,c){return(function p(g,S){var w=c[S].regex?c[S]:{regex:c[S]},z=[];function ie(Oe){if(w.backref){var Y="Backreference to undefined group: ".concat(w.backref),ut=isNaN(w.backref);if(ut&&Wa.isInstalled("namespacing")){if(!(Oe.groups&&w.backref in Oe.groups))throw new ReferenceError(Y)}else if(!Oe.hasOwnProperty(w.backref))throw new ReferenceError(Y);var Ye=ut&&Wa.isInstalled("namespacing")?Oe.groups[w.backref]:Oe[w.backref];z.push(Ye||"")}else z.push(Oe[0])}var de=PV(g),be;try{for(de.s();!(be=de.n()).done;){var Ee=be.value;(0,YAe.default)(Wa).call(Wa,Ee,w.regex,ie)}}catch(Oe){de.e(Oe)}finally{de.f()}return S===c.length-1||!z.length?z:p(z,S+1)})([_],0)};Wa.replace=function(_,c,p,g){var S=Wa.isRegExp(c),w=c.global&&g!=="one"||g==="all",z=(w?"g":"")+(c.sticky?"y":"")||"noGY",ie=c;S?(c[Mp]=c[Mp]||{},ie=c[Mp][z]||(c[Mp][z]=r7(c,{addG:!!w,removeG:g==="one",isInternalOnly:!0}))):w&&(ie=new RegExp(Wa.escape(String(c)),"g"));var de=xT.replace.call(IR(_),ie,p);return S&&c.global&&(c.lastIndex=0),de};Wa.replaceEach=function(_,c){var p=PV(c),g;try{for(p.s();!(g=p.n()).done;){var S=g.value;_=Wa.replace(_,S[0],S[1],S[2])}}catch(w){p.e(w)}finally{p.f()}return _};Wa.split=function(_,c,p){return xT.split.call(IR(_),c,p)};Wa.test=function(_,c,p,g){return!!Wa.exec(_,c,p,g)};Wa.uninstall=function(_){_=Wct(_),t7.astral&&_.astral&&Uct(!1),t7.namespacing&&_.namespacing&&Vct(!1)};Wa.union=function(_,c,p){p=p||{};var g=p.conjunction||"or",S=0,w,z;function ie(Ye,We,Ut){var _r=z[S-w];if(We){if(++S,_r)return"(?<".concat(_r,">")}else if(Ut)return"\\".concat(+Ut+w);return Ye}if(!(Wae(_,"Array")&&_.length))throw new TypeError("Must provide a nonempty array of patterns to merge");var de=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,be=[],Ee=PV(_),Oe;try{for(Ee.s();!(Oe=Ee.n()).done;){var Y=Oe.value;Wa.isRegExp(Y)?(w=S,z=Y[Mp]&&Y[Mp].captureNames||[],be.push(Wa(Y.source).source.replace(de,ie))):be.push(Wa.escape(Y))}}catch(Ye){Ee.e(Ye)}finally{Ee.f()}var ut=g==="none"?"":"|";return Wa(be.join(ut),c)};xT.exec=function(_){var c=this.lastIndex,p=RegExp.prototype.exec.apply(this,arguments);if(p){if(!bir&&p.length>1&&(0,Dk.default)(p).call(p,"")!==-1){var g,S=r7(this,{removeG:!0,isInternalOnly:!0});(0,iE.default)(g=String(_)).call(g,p.index).replace(S,function(){for(var de=arguments.length,be=1;be<de-2;++be)(be<0||arguments.length<=be?void 0:arguments[be])===void 0&&(p[be]=void 0)})}if(this[Mp]&&this[Mp].captureNames){var w=p;Wa.isInstalled("namespacing")&&(p.groups=(0,kR.default)(null),w=p.groups);for(var z=1;z<p.length;++z){var ie=this[Mp].captureNames[z-1];ie&&(w[ie]=p[z])}}else!p.groups&&Wa.isInstalled("namespacing")&&(p.groups=void 0);this.global&&!p[0].length&&this.lastIndex>p.index&&(this.lastIndex=p.index)}return this.global||(this.lastIndex=c),p};xT.test=function(_){return!!xT.exec.call(this,_)};xT.match=function(_){if(!Wa.isRegExp(_))_=new RegExp(_);else if(_.global){var c=String.prototype.match.apply(this,arguments);return _.lastIndex=0,c}return xT.exec.call(_,IR(this))};xT.replace=function(_,c){var p=Wa.isRegExp(_),g,S,w;return p?(_[Mp]&&(S=_[Mp].captureNames),g=_.lastIndex):_+="",Wae(c,"Function")?w=String(this).replace(_,function(){for(var z=arguments.length,ie=new Array(z),de=0;de<z;de++)ie[de]=arguments[de];if(S){var be;Wa.isInstalled("namespacing")?(be=(0,kR.default)(null),ie.push(be)):(ie[0]=new String(ie[0]),be=ie[0]);for(var Ee=0;Ee<S.length;++Ee)S[Ee]&&(be[S[Ee]]=ie[Ee+1])}return c.apply(void 0,ie)}):w=String(IR(this)).replace(_,function(){for(var z=arguments.length,ie=new Array(z),de=0;de<z;de++)ie[de]=arguments[de];return String(c).replace(Dir,be);function be(Ee,Oe,Y,ut){Oe=Oe||Y;var Ye=Wae(ie[ie.length-1],"Object")?4:3,We=ie.length-Ye;if(Oe){if(/^\d+$/.test(Oe)){var Ut=+Oe;if(Ut<=We)return ie[Ut]||""}var _r=S?(0,Dk.default)(S).call(S,Oe):-1;if(_r<0)throw new SyntaxError("Backreference to undefined group ".concat(Ee));return ie[_r+1]||""}if(ut===""||ut===" ")throw new SyntaxError("Invalid token ".concat(Ee));if(ut==="&"||+ut==0)return ie[0];if(ut==="$")return"$";if(ut==="`"){var Hr;return(0,iE.default)(Hr=ie[ie.length-1]).call(Hr,0,ie[ie.length-2])}if(ut==="'"){var On;return(0,iE.default)(On=ie[ie.length-1]).call(On,ie[ie.length-2]+ie[0].length)}if(ut=+ut,!isNaN(ut)){if(ut>We)throw new SyntaxError("Backreference to undefined group ".concat(Ee));return ie[ut]||""}throw new SyntaxError("Invalid token ".concat(Ee))}}),p&&(_.global?_.lastIndex=0:_.lastIndex=g),w};xT.split=function(_,c){if(!Wa.isRegExp(_))return String.prototype.split.apply(this,arguments);var p=String(this),g=[],S=_.lastIndex,w=0,z;return c=(c===void 0?-1:c)>>>0,(0,YAe.default)(Wa).call(Wa,p,_,function(ie){ie.index+ie[0].length>w&&(g.push((0,iE.default)(p).call(p,w,ie.index)),ie.length>1&&ie.index<p.length&&Array.prototype.push.apply(g,(0,iE.default)(ie).call(ie,1)),z=ie[0].length,w=ie.index+z)}),w===p.length?(!_.test("")||z)&&g.push(""):g.push((0,iE.default)(p).call(p,w)),_.lastIndex=S,g.length>c?(0,iE.default)(g).call(g,0,c):g};Wa.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,function(_,c){if(_[1]==="B"&&c===FR)return _[0];throw new SyntaxError("Invalid escape ".concat(_[0]))},{scope:"all",leadChar:"\\"});Wa.addToken(/\\u{([\dA-Fa-f]+)}/,function(_,c,p){var g=qct(_[1]);if(g>1114111)throw new SyntaxError("Invalid Unicode code point ".concat(_[0]));if(g<=65535)return"\\u".concat(rFe(tFe(g)));if(Bct&&(0,Dk.default)(p).call(p,"u")!==-1)return _[0];throw new SyntaxError("Cannot use Unicode code point above \\u{FFFF} without flag u")},{scope:"all",leadChar:"\\"});Wa.addToken(/\(\?#[^)]*\)/,zct,{leadChar:"("});Wa.addToken(/\s+|#[^\n]*\n?/,zct,{flag:"x"});ZAe||Wa.addToken(/\./,function(){return"[\\s\\S]"},{flag:"s",leadChar:"."});Wa.addToken(/\\k<([^>]+)>/,function(_){var c,p,g=isNaN(_[1])?(0,Dk.default)(c=this.captureNames).call(c,_[1])+1:+_[1],S=_.index+_[0].length;if(!g||g>this.captureNames.length)throw new SyntaxError("Backreference to undefined group ".concat(_[0]));return(0,gir.default)(p="\\".concat(g)).call(p,S===_.input.length||isNaN(_.input[S])?"":"(?:)")},{leadChar:"\\"});Wa.addToken(/\\(\d+)/,function(_,c){if(!(c===FR&&/^[1-9]/.test(_[1])&&+_[1]<=this.captureNames.length)&&_[1]!=="0")throw new SyntaxError("Cannot use octal escape or backreference to undefined group ".concat(_[0]));return _[0]},{scope:"all",leadChar:"\\"});Wa.addToken(/\(\?P?<((?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF65-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDD40-\uDD65\uDD69-\uDD6D\uDD6F-\uDD85\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEC2-\uDEC4\uDEFC-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7-\uDFC0\uDFC2\uDFC5\uDFC7-\uDFCA\uDFCC-\uDFD3\uDFE1\uDFE2]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF50-\uDF5A\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDCF0-\uDCF9\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAE\uDEC0-\uDEF9]|\uD839[\uDCD0-\uDCF9\uDDD0-\uDDFA\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])*)>/,function(_){var c;if(!Wa.isInstalled("namespacing")&&(_[1]==="length"||_[1]==="__proto__"))throw new SyntaxError("Cannot use reserved word as capture name ".concat(_[0]));if((0,Dk.default)(c=this.captureNames).call(c,_[1])!==-1)throw new SyntaxError("Cannot use same name for multiple groups ".concat(_[0]));return this.captureNames.push(_[1]),this.hasNamedCapture=!0,"("},{leadChar:"("});Wa.addToken(/\((?!\?)/,function(_,c,p){return(0,Dk.default)(p).call(p,"n")!==-1?"(?:":(this.captureNames.push(null),"(")},{optionalFlags:"n",leadChar:"("});var Y3r=OV.default=Wa;Gct.exports=OV.default});var Yct=jt((Z3r,Xct)=>{"use strict";var Iir=GP(),wir=ET(),Pir=uae(),Nir=dk(),Hct=TypeError,Kct="Reduce of empty array with no initial value",Qct=function(_){return function(c,p,g,S){var w=wir(c),z=Pir(w),ie=Nir(w);if(Iir(p),ie===0&&g<2)throw new Hct(Kct);var de=_?ie-1:0,be=_?-1:1;if(g<2)for(;;){if(de in z){S=z[de],de+=be;break}if(de+=be,_?de<0:ie<=de)throw new Hct(Kct)}for(;_?de>=0:ie>de;de+=be)de in z&&(S=p(S,z[de],de,w));return S}};Xct.exports={left:Qct(!1),right:Qct(!0)}});var eut=jt((e4r,Zct)=>{"use strict";var LV=Xh(),Oir=mR(),Lir=N4(),Uae=function(_){return Oir.slice(0,_.length)===_};Zct.exports=(function(){return Uae("Bun/")?"BUN":Uae("Cloudflare-Workers")?"CLOUDFLARE":Uae("Deno/")?"DENO":Uae("Node.js/")?"NODE":LV.Bun&&typeof Bun.version=="string"?"BUN":LV.Deno&&typeof Deno.version=="object"?"DENO":Lir(LV.process)==="process"?"NODE":LV.window&&LV.document?"BROWSER":"REST"})()});var rut=jt((t4r,tut)=>{"use strict";var Rir=eut();tut.exports=Rir==="NODE"});var iut=jt(()=>{"use strict";var Mir=Xp(),Bir=Yct().left,jir=TV(),nut=hR(),Jir=rut(),qir=!Jir&&nut>79&&nut<83,zir=qir||!jir("reduce");Mir({target:"Array",proto:!0,forced:zir},{reduce:function(c){var p=arguments.length;return Bir(this,c,p,p>1?arguments[1]:void 0)}})});var aut=jt((i4r,sut)=>{"use strict";iut();var Wir=mk();sut.exports=Wir("Array","reduce")});var cut=jt((s4r,out)=>{"use strict";var Uir=T2(),Vir=aut(),nFe=Array.prototype;out.exports=function(_){var c=_.reduce;return _===nFe||Uir(nFe,_)&&c===nFe.reduce?Vir:c}});var lut=jt((a4r,uut)=>{"use strict";var Gir=cut();uut.exports=Gir});var _ut=jt((o4r,fut)=>{fut.exports=lut()});var put=jt(()=>{"use strict";var $ir=Xp(),Hir=Pae().map,Kir=Cae(),Qir=Kir("map");$ir({target:"Array",proto:!0,forced:!Qir},{map:function(c){return Hir(this,c,arguments.length>1?arguments[1]:void 0)}})});var mut=jt((l4r,dut)=>{"use strict";put();var Xir=mk();dut.exports=Xir("Array","map")});var gut=jt((f4r,hut)=>{"use strict";var Yir=T2(),Zir=mut(),iFe=Array.prototype;hut.exports=function(_){var c=_.map;return _===iFe||Yir(iFe,_)&&c===iFe.map?Zir:c}});var vut=jt((_4r,yut)=>{"use strict";var esr=gut();yut.exports=esr});var but=jt((p4r,Dut)=>{Dut.exports=vut()});var Eut=jt((RV,Sut)=>{"use strict";var tsr=_k(),Vae=pk();tsr(RV,"__esModule",{value:!0});RV.default=void 0;var rsr=Vae(_ut()),Cut=Vae(but()),nsr=Vae(FV()),isr=Vae(kV());var d4r=RV.default=function(c){var p="xregexp",g=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,S=c.union([/\({{([\w$]+)}}\)|{{([\w$]+)}}/,g],"g",{conjunction:"or"});function w(Ee){var Oe=/^(?:\(\?:\))*\^/,Y=/\$(?:\(\?:\))*$/;return Oe.test(Ee)&&Y.test(Ee)&&Y.test(Ee.replace(/\\[\s\S]/g,""))?Ee.replace(Oe,"").replace(Y,""):Ee}function z(Ee,Oe){var Y=Oe?"x":"";return c.isRegExp(Ee)?Ee[p]&&Ee[p].captureNames?Ee:c(Ee.source,Y):c(Ee,Y)}function ie(Ee){return Ee instanceof RegExp?Ee:c.escape(Ee)}function de(Ee,Oe,Y){return Ee["subpattern".concat(Y)]=Oe,Ee}function be(Ee,Oe,Y){var ut=Oe<Y.length-1;return Ee+(ut?"{{subpattern".concat(Oe,"}}"):"")}c.tag=function(Ee){return function(Oe){for(var Y,ut,Ye=arguments.length,We=new Array(Ye>1?Ye-1:0),Ut=1;Ut<Ye;Ut++)We[Ut-1]=arguments[Ut];var _r=(0,rsr.default)(Y=(0,Cut.default)(We).call(We,ie)).call(Y,de,{}),Hr=(0,Cut.default)(ut=Oe.raw).call(ut,be).join("");return c.build(Hr,_r,Ee)}},c.build=function(Ee,Oe,Y){Y=Y||"";var ut=(0,nsr.default)(Y).call(Y,"x")!==-1,Ye=/^\(\?([\w$]+)\)/.exec(Ee);Ye&&(Y=c._clipDuplicates(Y+Ye[1]));var We={};for(var Ut in Oe)if(Oe.hasOwnProperty(Ut)){var _r=z(Oe[Ut],ut);We[Ut]={pattern:w(_r.source),names:_r[p].captureNames||[]}}var Hr=z(Ee,ut),On=0,Hi,us=0,Hn=[0],an=Hr[p].captureNames||[],hc=Hr.source.replace(S,function(ma,ic,xn,Os,Js){var Rr=ic||xn,wo,Ro,hr;if(Rr){var Sl;if(!We.hasOwnProperty(Rr))throw new ReferenceError("Undefined property ".concat(ma));ic?(wo=an[us],Hn[++us]=++On,Ro="(?<".concat(wo||Rr,">")):Ro="(?:",Hi=On;var lc=We[Rr].pattern.replace(g,function(Ko,Zs,jp){if(Zs){if(wo=We[Rr].names[On-Hi],++On,wo)return"(?<".concat(wo,">")}else if(jp)return hr=+jp-1,We[Rr].names[hr]?"\\k<".concat(We[Rr].names[hr],">"):"\\".concat(+jp+Hi);return Ko});return(0,isr.default)(Sl="".concat(Ro)).call(Sl,lc,")")}if(Os){if(wo=an[us],Hn[++us]=++On,wo)return"(?<".concat(wo,">")}else if(Js)return hr=+Js-1,an[hr]?"\\k<".concat(an[hr],">"):"\\".concat(Hn[+Js]);return ma});return c(hc,Y)}};Sut.exports=RV.default});var Aut=jt((MV,Tut)=>{"use strict";var ssr=_k(),aFe=pk();ssr(MV,"__esModule",{value:!0});MV.default=void 0;var xut=aFe(FV()),sFe=aFe(kV()),wR=aFe(oV());var m4r=MV.default=function(c){function p(g,S,w,z){return{name:g,value:S,start:w,end:z}}c.matchRecursive=function(g,S,w,z,ie){z=z||"",ie=ie||{};var de=(0,xut.default)(z).call(z,"g")!==-1,be=(0,xut.default)(z).call(z,"y")!==-1,Ee=z.replace(/y/g,"");S=c(S,Ee),w=c(w,Ee);var Oe,Y=ie,ut=Y.escapeChar;if(ut){var Ye,We;if(ut.length>1)throw new Error("Cannot use more than one escape character");ut=c.escape(ut),Oe=new RegExp((0,sFe.default)(Ye=(0,sFe.default)(We="(?:".concat(ut,"[\\S\\s]|(?:(?!")).call(We,c.union([S,w],"",{conjunction:"or"}).source,")[^")).call(Ye,ut,"])+)+"),z.replace(c._hasNativeFlag("s")?/[^imsu]/g:/[^imu]/g,""))}for(var Ut=0,_r=0,Hr=0,On=0,Hi,us,Hn,an,hc=ie.valueNames,ma=[];;){if(ut&&(Hr+=(c.exec(g,Oe,Hr,"sticky")||[""])[0].length),Hn=c.exec(g,S,Hr),an=c.exec(g,w,Hr),Hn&&an&&(Hn.index<=an.index?an=null:Hn=null),Hn||an)_r=(Hn||an).index,Hr=_r+(Hn||an)[0].length;else if(!Ut)break;if(be&&!Ut&&_r>On)break;if(Hn)Ut||(Hi=_r,us=Hr),Ut+=1;else if(an&&Ut){if(Ut-=1,!Ut&&(hc?(hc[0]&&Hi>On&&ma.push(p(hc[0],(0,wR.default)(g).call(g,On,Hi),On,Hi)),hc[1]&&ma.push(p(hc[1],(0,wR.default)(g).call(g,Hi,us),Hi,us)),hc[2]&&ma.push(p(hc[2],(0,wR.default)(g).call(g,us,_r),us,_r)),hc[3]&&ma.push(p(hc[3],(0,wR.default)(g).call(g,_r,Hr),_r,Hr))):ma.push((0,wR.default)(g).call(g,us,_r)),On=Hr,!de))break}else{var ic=ie.unbalanced||"error";if(ic==="skip"||ic==="skip-lazy")if(an)an=null;else{if(ic==="skip"){var xn=c.exec(g,S,Hi,"sticky")[0].length;Hr=Hi+(xn||1)}else Hr=Hi+1;Ut=0}else if(ic==="error"){var Os,Js=an?"right":"left",Rr=an?_r:Hi;throw new Error((0,sFe.default)(Os="Unbalanced ".concat(Js," delimiter found in string at position ")).call(Os,Rr))}else throw new Error("Unsupported value for unbalanced: ".concat(ic))}_r===Hr&&(Hr+=1)}return de&&ma.length>0&&!be&&hc&&hc[0]&&g.length>On&&ma.push(p(hc[0],(0,wR.default)(g).call(g,On),On,g.length)),ma}};Tut.exports=MV.default});var Iut=jt((BV,kut)=>{"use strict";var asr=oV(),osr=eAe(),csr=FAe(),usr=IAe(),lsr=PAe(),fsr=_k(),Gae=pk();fsr(BV,"__esModule",{value:!0});BV.default=void 0;var _sr=Gae(jAe()),psr=Gae(KAe()),oFe=Gae(kV()),dsr=Gae(FV());function msr(_,c){var p=typeof csr<"u"&&usr(_)||_["@@iterator"];if(!p){if(lsr(_)||(p=hsr(_))||c&&_&&typeof _.length=="number"){p&&(_=p);var g=0,S=function(){};return{s:S,n:function(){return g>=_.length?{done:!0}:{done:!1,value:_[g++]}},e:function(be){throw be},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w,z=!0,ie=!1;return{s:function(){p=p.call(_)},n:function(){var be=p.next();return z=be.done,be},e:function(be){ie=!0,w=be},f:function(){try{z||p.return==null||p.return()}finally{if(ie)throw w}}}}function hsr(_,c){if(_){var p;if(typeof _=="string")return Fut(_,c);var g=asr(p={}.toString.call(_)).call(p,8,-1);return g==="Object"&&_.constructor&&(g=_.constructor.name),g==="Map"||g==="Set"?osr(_):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?Fut(_,c):void 0}}function Fut(_,c){(c==null||c>_.length)&&(c=_.length);for(var p=0,g=Array(c);p<c;p++)g[p]=_[p];return g}var h4r=BV.default=function(c){var p={},g={},S=c._dec,w=c._hex,z=c._pad4;function ie(ut){return ut.replace(/[- _]+/g,"").toLowerCase()}function de(ut){var Ye=/^\\[xu](.+)/.exec(ut);return Ye?S(Ye[1]):ut.charCodeAt(ut[0]==="\\"?1:0)}function be(ut){var Ye="",We=-1;return(0,psr.default)(c).call(c,ut,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(Ut){var _r=de(Ut[1]);_r>We+1&&(Ye+="\\u".concat(z(w(We+1))),_r>We+2&&(Ye+="-\\u".concat(z(w(_r-1))))),We=de(Ut[2]||Ut[1])}),We<65535&&(Ye+="\\u".concat(z(w(We+1))),We<65534&&(Ye+="-\\uFFFF")),Ye}function Ee(ut){var Ye="b!";return p[ut][Ye]||(p[ut][Ye]=be(p[ut].bmp))}function Oe(ut,Ye){var We=p[ut],Ut="";if(We.bmp&&!We.isBmpLast){var _r;Ut=(0,oFe.default)(_r="[".concat(We.bmp,"]")).call(_r,We.astral?"|":"")}if(We.astral&&(Ut+=We.astral),We.isBmpLast&&We.bmp){var Hr;Ut+=(0,oFe.default)(Hr="".concat(We.astral?"|":"","[")).call(Hr,We.bmp,"]")}return Ye?"(?:(?!".concat(Ut,")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))"):"(?:".concat(Ut,")")}function Y(ut,Ye){var We=Ye?"a!":"a=";return p[ut][We]||(p[ut][We]=Oe(ut,Ye))}c.addToken(/\\([pP])(?:{(\^?)(?:(\w+)=)?([^}]*)}|([A-Za-z]))/,function(ut,Ye,We){var Ut="Invalid double negation ",_r="Unknown Unicode token ",Hr="Unicode token missing data ",On="Astral mode required for Unicode token ",Hi="Astral mode does not support Unicode tokens within character classes",us=(0,_sr.default)(ut,6),Hn=us[0],an=us[1],hc=us[2],ma=us[3],ic=us[4],xn=us[5],Os=an==="P"||!!hc,Js=(0,dsr.default)(We).call(We,"A")!==-1,Rr=ie(xn||ic),wo=p[Rr];if(an==="P"&&hc)throw new SyntaxError(Ut+Hn);if(!p.hasOwnProperty(Rr))throw new SyntaxError(_r+Hn);if(ma&&!(g[ma]&&g[ma][Rr]))throw new SyntaxError(_r+Hn);if(wo.inverseOf){if(Rr=ie(wo.inverseOf),!p.hasOwnProperty(Rr)){var Ro;throw new ReferenceError((0,oFe.default)(Ro="".concat(Hr+Hn," -> ")).call(Ro,wo.inverseOf))}wo=p[Rr],Os=!Os}if(!(wo.bmp||Js))throw new SyntaxError(On+Hn);if(Js){if(Ye==="class")throw new SyntaxError(Hi);return Y(Rr,Os)}return Ye==="class"?Os?Ee(Rr):wo.bmp:"".concat((Os?"[^":"[")+wo.bmp,"]")},{scope:"all",optionalFlags:"A",leadChar:"\\"}),c.addUnicodeData=function(ut,Ye){var We="Unicode token requires name",Ut="Unicode token has no character data ";Ye&&(g[Ye]={});var _r=msr(ut),Hr;try{for(_r.s();!(Hr=_r.n()).done;){var On=Hr.value;if(!On.name)throw new Error(We);if(!(On.inverseOf||On.bmp||On.astral))throw new Error(Ut+On.name);var Hi=ie(On.name);if(p[Hi]=On,Ye&&(g[Ye][Hi]=!0),On.alias){var us=ie(On.alias);p[us]=On,Ye&&(g[Ye][us]=!0)}}}catch(Hn){_r.e(Hn)}finally{_r.f()}c.cache.flush("patterns")},c._getUnicodeProperty=function(ut){var Ye=ie(ut);return p[Ye]}};kut.exports=BV.default});var Put=jt((g4r,wut)=>{wut.exports=[{name:"C",alias:"Other",isBmpLast:!0,bmp:"\0-\x7F-\x9F\xAD\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u0605\u061C\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F-\u0897\u08E2\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A77-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0BFF\u0C0D\u0C11\u0C29\u0C3A\u0C3B\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C64\u0C65\u0C70-\u0C76\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDC\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D50-\u0D53\u0D64\u0D65\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F6\u13F7\u13FE\u13FF\u169D-\u169F\u16F9-\u16FF\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180E\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE\u1AAF\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u3130\u318F\u31E4-\u31EF\u321F\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA6F8-\uA6FF\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA82D-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C6-\uA8CD\uA8DA-\uA8DF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB6C-\uAB6F\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC3-\uFBD2\uFD90\uFD91\uFDC8-\uFDCE\uFDD0-\uFDEF\uFE1A-\uFE1F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD-\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF",astral:"\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDCFF\uDD03-\uDD06\uDD34-\uDD36\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEFC-\uDEFF\uDF24-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDFC4-\uDFC7\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6E\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56\uDC9F-\uDCA6\uDCB0-\uDCDF\uDCF3\uDCF6-\uDCFA\uDD1C-\uDD1E\uDD3A-\uDD3E\uDD40-\uDD7F\uDDB8-\uDDBB\uDDD0\uDDD1\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE49-\uDE4F\uDE59-\uDE5F\uDEA0-\uDEBF\uDEE7-\uDEEA\uDEF7-\uDEFF\uDF36-\uDF38\uDF56\uDF57\uDF73-\uDF77\uDF92-\uDF98\uDF9D-\uDFA8\uDFB0-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCF9\uDD28-\uDD2F\uDD3A-\uDE5F\uDE7F\uDEAA\uDEAE\uDEAF\uDEB2-\uDEFF\uDF28-\uDF2F\uDF5A-\uDF6F\uDF8A-\uDFAF\uDFCC-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC4E-\uDC51\uDC76-\uDC7E\uDCBD\uDCC3-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD48-\uDD4F\uDD77-\uDD7F\uDDE0\uDDF5-\uDDFF\uDE12\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEAA-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC5C\uDC62-\uDC7F\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDDE-\uDDFF\uDE45-\uDE4F\uDE5A-\uDE5F\uDE6D-\uDE7F\uDEBA-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF47-\uDFFF]|\uD806[\uDC3C-\uDC9F\uDCF3-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD47-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE5-\uDDFF\uDE48-\uDE4F\uDEA3-\uDEAF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC46-\uDC4F\uDC6D-\uDC6F\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF9-\uDFAF\uDFB1-\uDFBF\uDFF2-\uDFFE]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F\uDC75-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80E-\uD810\uD812-\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF3-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDE6D\uDEBF\uDECA-\uDECF\uDEEE\uDEEF\uDEF6-\uDEFF\uDF46-\uDF4F\uDF5A\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE9B-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A\uDC9B\uDCA0-\uDFFF]|\uD833[\uDC00-\uDEFF\uDF2E\uDF2F\uDF47-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD73-\uDD7A\uDDEB-\uDDFF\uDE46-\uDEDF\uDEF4-\uDEFF\uDF57-\uDF5F\uDF79-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]|\uD836[\uDE8C-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD50-\uDE8F\uDEAF-\uDEBF\uDEFA-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCB5-\uDD00\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDCFF\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED8-\uDEDC\uDEED-\uDEEF\uDEFD-\uDEFF\uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]"},{name:"Cc",alias:"Control",bmp:"\0-\x7F-\x9F"},{name:"Cf",alias:"Format",bmp:"\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB",astral:"\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]"},{name:"Cn",alias:"Unassigned",bmp:"\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u05FF\u070E\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F\u0892-\u0897\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A77-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0BFF\u0C0D\u0C11\u0C29\u0C3A\u0C3B\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C64\u0C65\u0C70-\u0C76\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDC\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D50-\u0D53\u0D64\u0D65\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F6\u13F7\u13FE\u13FF\u169D-\u169F\u16F9-\u16FF\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE\u1AAF\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u2065\u2072\u2073\u208F\u209D-\u209F\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u3130\u318F\u31E4-\u31EF\u321F\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA6F8-\uA6FF\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA82D-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C6-\uA8CD\uA8DA-\uA8DF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB6C-\uAB6F\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC3-\uFBD2\uFD90\uFD91\uFDC8-\uFDCE\uFDD0-\uFDEF\uFE1A-\uFE1F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD\uFEFE\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFF8\uFFFE\uFFFF",astral:"\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDCFF\uDD03-\uDD06\uDD34-\uDD36\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEFC-\uDEFF\uDF24-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDFC4-\uDFC7\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6E\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56\uDC9F-\uDCA6\uDCB0-\uDCDF\uDCF3\uDCF6-\uDCFA\uDD1C-\uDD1E\uDD3A-\uDD3E\uDD40-\uDD7F\uDDB8-\uDDBB\uDDD0\uDDD1\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE49-\uDE4F\uDE59-\uDE5F\uDEA0-\uDEBF\uDEE7-\uDEEA\uDEF7-\uDEFF\uDF36-\uDF38\uDF56\uDF57\uDF73-\uDF77\uDF92-\uDF98\uDF9D-\uDFA8\uDFB0-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCF9\uDD28-\uDD2F\uDD3A-\uDE5F\uDE7F\uDEAA\uDEAE\uDEAF\uDEB2-\uDEFF\uDF28-\uDF2F\uDF5A-\uDF6F\uDF8A-\uDFAF\uDFCC-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC4E-\uDC51\uDC76-\uDC7E\uDCC3-\uDCCC\uDCCE\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD48-\uDD4F\uDD77-\uDD7F\uDDE0\uDDF5-\uDDFF\uDE12\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEAA-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC5C\uDC62-\uDC7F\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDDE-\uDDFF\uDE45-\uDE4F\uDE5A-\uDE5F\uDE6D-\uDE7F\uDEBA-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF47-\uDFFF]|\uD806[\uDC3C-\uDC9F\uDCF3-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD47-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE5-\uDDFF\uDE48-\uDE4F\uDEA3-\uDEAF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC46-\uDC4F\uDC6D-\uDC6F\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF9-\uDFAF\uDFB1-\uDFBF\uDFF2-\uDFFE]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F\uDC75-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80E-\uD810\uD812-\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDB7F][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF3-\uDFFF]|\uD80D[\uDC2F\uDC39-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDE6D\uDEBF\uDECA-\uDECF\uDEEE\uDEEF\uDEF6-\uDEFF\uDF46-\uDF4F\uDF5A\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE9B-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A\uDC9B\uDCA4-\uDFFF]|\uD833[\uDC00-\uDEFF\uDF2E\uDF2F\uDF47-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDDEB-\uDDFF\uDE46-\uDEDF\uDEF4-\uDEFF\uDF57-\uDF5F\uDF79-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]|\uD836[\uDE8C-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD50-\uDE8F\uDEAF-\uDEBF\uDEFA-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCB5-\uDD00\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDCFF\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED8-\uDEDC\uDEED-\uDEEF\uDEFD-\uDEFF\uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00\uDC02-\uDC1F\uDC80-\uDCFF\uDDF0-\uDFFF]|[\uDBBF\uDBFF][\uDFFE\uDFFF]"},{name:"Co",alias:"Private_Use",bmp:"\uE000-\uF8FF",astral:"[\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uDBBF\uDBFF][\uDC00-\uDFFD]"},{name:"Cs",alias:"Surrogate",bmp:"\uD800-\uDFFF"},{name:"L",alias:"Letter",bmp:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"LC",alias:"Cased_Letter",bmp:"A-Za-z\xB5\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BC-\u01BF\u01C4-\u0293\u0295-\u02AF\u0370-\u0373\u0376\u0377\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0560-\u0588\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FD-\u10FF\u13A0-\u13F5\u13F8-\u13FD\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C7B\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA640-\uA66D\uA680-\uA69B\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F5\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A",astral:"\uD801[\uDC00-\uDC4F\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD806[\uDCA0-\uDCDF]|\uD81B[\uDE40-\uDE7F]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD00-\uDD43]"},{name:"Ll",alias:"Lowercase_Letter",bmp:"a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A",astral:"\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]"},{name:"Lm",alias:"Modifier_Letter",bmp:"\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5\u06E6\u07F4\u07F5\u07FA\u081A\u0824\u0828\u08C9\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C\uA69D\uA717-\uA71F\uA770\uA788\uA7F2-\uA7F4\uA7F8\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3\uAAF4\uAB5C-\uAB5F\uAB69\uFF70\uFF9E\uFF9F",astral:"\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD81A[\uDF40-\uDF43]|\uD81B[\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD838[\uDD37-\uDD3D]|\u{1E94B}"},{name:"Lo",alias:"Other_Letter",bmp:"\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05EF-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C8\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1100-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC50-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF4A\uDF50]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\u{1DF0A}|\uD838[\uDD00-\uDD2C\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Lt",alias:"Titlecase_Letter",bmp:"\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC"},{name:"Lu",alias:"Uppercase_Letter",bmp:"A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A",astral:"\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]"},{name:"M",alias:"Mark",bmp:"\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F",astral:"\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC82\uDCB0-\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]"},{name:"Mc",alias:"Spacing_Mark",bmp:"\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BE-\u09C0\u09C7\u09C8\u09CB\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2\u0DF3\u0F3E\u0F3F\u0F7F\u102B\u102C\u1031\u1038\u103B\u103C\u1056\u1057\u1062-\u1064\u1067-\u106D\u1083\u1084\u1087-\u108C\u108F\u109A-\u109C\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\u302E\u302F\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC",astral:"\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3E\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB0-\uDCB2\uDCB9\uDCBB-\uDCBE\uDCC1\uDDAF-\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF20\uDF21\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD30-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD65\uDD66\uDD6D-\uDD72]"},{name:"Me",alias:"Enclosing_Mark",bmp:"\u0488\u0489\u1ABE\u20DD-\u20E0\u20E2-\u20E4\uA670-\uA672"},{name:"Mn",alias:"Nonspacing_Mark",bmp:"\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F",astral:"\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF40\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB3-\uDCB8\uDCBA\uDCBF\uDCC0\uDCC2\uDCC3\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]"},{name:"N",alias:"Number",bmp:"0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19",astral:"\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]"},{name:"Nd",alias:"Decimal_Number",bmp:"0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19",astral:"\uD801[\uDCA0-\uDCA9]|\uD803[\uDD30-\uDD39]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9]"},{name:"Nl",alias:"Letter_Number",bmp:"\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF",astral:"\uD800[\uDD40-\uDD74\uDF41\uDF4A\uDFD1-\uDFD5]|\uD809[\uDC00-\uDC6E]"},{name:"No",alias:"Other_Number",bmp:"\xB2\xB3\xB9\xBC-\xBE\u09F4-\u09F9\u0B72-\u0B77\u0BF0-\u0BF2\u0C78-\u0C7E\u0D58-\u0D5E\u0D70-\u0D78\u0F2A-\u0F33\u1369-\u137C\u17F0-\u17F9\u19DA\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215F\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA830-\uA835",astral:"\uD800[\uDD07-\uDD33\uDD75-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC65\uDDE1-\uDDF4]|\uD805[\uDF3A\uDF3B]|\uD806[\uDCEA-\uDCF2]|\uD807[\uDC5A-\uDC6C\uDFC0-\uDFD4]|\uD81A[\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD83A[\uDCC7-\uDCCF]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]"},{name:"P",alias:"Punctuation",bmp:"!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65",astral:"\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\u{1056F}|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\u{1BC9F}|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]"},{name:"Pc",alias:"Connector_Punctuation",bmp:"_\u203F\u2040\u2054\uFE33\uFE34\uFE4D-\uFE4F\uFF3F"},{name:"Pd",alias:"Dash_Punctuation",bmp:"\\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u2E5D\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D",astral:"\u{10EAD}"},{name:"Pe",alias:"Close_Punctuation",bmp:"\\)\\]\\}\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u2309\u230B\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u2E56\u2E58\u2E5A\u2E5C\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3E\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63"},{name:"Pf",alias:"Final_Punctuation",bmp:"\xBB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21"},{name:"Pi",alias:"Initial_Punctuation",bmp:"\xAB\u2018\u201B\u201C\u201F\u2039\u2E02\u2E04\u2E09\u2E0C\u2E1C\u2E20"},{name:"Po",alias:"Other_Punctuation",bmp:"!-#%-'\\*,\\.\\/:;\\?@\\\xA1\xA7\xB6\xB7\xBF\u037E\u0387\u055A-\u055F\u0589\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u166E\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u1805\u1807-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203B-\u203E\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205E\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00\u2E01\u2E06-\u2E08\u2E0B\u2E0E-\u2E16\u2E18\u2E19\u2E1B\u2E1E\u2E1F\u2E2A-\u2E2E\u2E30-\u2E39\u2E3C-\u2E3F\u2E41\u2E43-\u2E4F\u2E52-\u2E54\u3001-\u3003\u303D\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFE10-\uFE16\uFE19\uFE30\uFE45\uFE46\uFE49-\uFE4C\uFE50-\uFE52\uFE54-\uFE57\uFE5F-\uFE61\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF07\uFF0A\uFF0C\uFF0E\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3C\uFF61\uFF64\uFF65",astral:"\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\u{1056F}|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\u{1BC9F}|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]"},{name:"Ps",alias:"Open_Punctuation",bmp:"\\(\\[\\{\u0F3A\u0F3C\u169B\u201A\u201E\u2045\u207D\u208D\u2308\u230A\u2329\u2768\u276A\u276C\u276E\u2770\u2772\u2774\u27C5\u27E6\u27E8\u27EA\u27EC\u27EE\u2983\u2985\u2987\u2989\u298B\u298D\u298F\u2991\u2993\u2995\u2997\u29D8\u29DA\u29FC\u2E22\u2E24\u2E26\u2E28\u2E42\u2E55\u2E57\u2E59\u2E5B\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u3018\u301A\u301D\uFD3F\uFE17\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE47\uFE59\uFE5B\uFE5D\uFF08\uFF3B\uFF5B\uFF5F\uFF62"},{name:"S",alias:"Symbol",bmp:"\\$\\+<->\\^`\\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD",astral:"\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\u{1173F}|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\u{1BC9C}|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]"},{name:"Sc",alias:"Currency_Symbol",bmp:"\\$\xA2-\xA5\u058F\u060B\u07FE\u07FF\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20C0\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6",astral:"\uD807[\uDFDD-\uDFE0]|\u{1E2FF}|\u{1ECB0}"},{name:"Sk",alias:"Modifier_Symbol",bmp:"\\^`\xA8\xAF\xB4\xB8\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u0888\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u309B\u309C\uA700-\uA716\uA720\uA721\uA789\uA78A\uAB5B\uAB6A\uAB6B\uFBB2-\uFBC2\uFF3E\uFF40\uFFE3",astral:"\uD83C[\uDFFB-\uDFFF]"},{name:"Sm",alias:"Math_Symbol",bmp:"\\+<->\\|~\xAC\xB1\xD7\xF7\u03F6\u0606-\u0608\u2044\u2052\u207A-\u207C\u208A-\u208C\u2118\u2140-\u2144\u214B\u2190-\u2194\u219A\u219B\u21A0\u21A3\u21A6\u21AE\u21CE\u21CF\u21D2\u21D4\u21F4-\u22FF\u2320\u2321\u237C\u239B-\u23B3\u23DC-\u23E1\u25B7\u25C1\u25F8-\u25FF\u266F\u27C0-\u27C4\u27C7-\u27E5\u27F0-\u27FF\u2900-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2AFF\u2B30-\u2B44\u2B47-\u2B4C\uFB29\uFE62\uFE64-\uFE66\uFF0B\uFF1C-\uFF1E\uFF5C\uFF5E\uFFE2\uFFE9-\uFFEC",astral:"\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD83B[\uDEF0\uDEF1]"},{name:"So",alias:"Other_Symbol",bmp:"\xA6\xA9\xAE\xB0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFD40-\uFD4F\uFDCF\uFDFD-\uFDFF\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD",astral:"\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\u{1173F}|\uD807[\uDFD5-\uDFDC\uDFE1-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\u{1BC9C}|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\u{1E14F}|\uD83B[\uDCAC\uDD2E]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFA]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]"},{name:"Z",alias:"Separator",bmp:" \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000"},{name:"Zl",alias:"Line_Separator",bmp:"\u2028"},{name:"Zp",alias:"Paragraph_Separator",bmp:"\u2029"},{name:"Zs",alias:"Space_Separator",bmp:" \xA0\u1680\u2000-\u200A\u202F\u205F\u3000"}]});var Out=jt((jV,Nut)=>{"use strict";var gsr=_k(),ysr=pk();gsr(jV,"__esModule",{value:!0});jV.default=void 0;var vsr=ysr(Put());var y4r=jV.default=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Categories");c.addUnicodeData(vsr.default)};Nut.exports=jV.default});var Rut=jt((v4r,Lut)=>{Lut.exports=[{name:"ASCII",bmp:"\0-\x7F"},{name:"Alphabetic",bmp:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0345\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05B0-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0657\u0659-\u065F\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06ED-\u06EF\u06FA-\u06FC\u06FF\u0710-\u073F\u074D-\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0817\u081A-\u082C\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u08D4-\u08DF\u08E3-\u08E9\u08F0-\u093B\u093D-\u094C\u094E-\u0950\u0955-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C4\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A42\u0A47\u0A48\u0A4B\u0A4C\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC5\u0AC7-\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFC\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D-\u0B44\u0B47\u0B48\u0B4B\u0B4C\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4C\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCC\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E46\u0E4D\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0ECD\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F71-\u0F81\u0F88-\u0F97\u0F99-\u0FBC\u1000-\u1036\u1038\u103B-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1713\u171F-\u1733\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17B3\u17B6-\u17C8\u17D7\u17DC\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u1938\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A61-\u1A74\u1AA7\u1ABF\u1AC0\u1ACC-\u1ACE\u1B00-\u1B33\u1B35-\u1B43\u1B45-\u1B4C\u1B80-\u1BA9\u1BAC-\u1BAF\u1BBA-\u1BE5\u1BE7-\u1BF1\u1C00-\u1C36\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1DE7-\u1DF4\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA674-\uA67B\uA67F-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA805\uA807-\uA827\uA840-\uA873\uA880-\uA8C3\uA8C5\uA8F2-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92A\uA930-\uA952\uA960-\uA97C\uA980-\uA9B2\uA9B4-\uA9BF\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAABE\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC45\uDC71-\uDC75\uDC82-\uDCB8\uDCC2\uDCD0-\uDCE8\uDD00-\uDD32\uDD44-\uDD47\uDD50-\uDD72\uDD76\uDD80-\uDDBF\uDDC1-\uDDC4\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE34\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEE8\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D-\uDF44\uDF47\uDF48\uDF4B\uDF4C\uDF50\uDF57\uDF5D-\uDF63]|\uD805[\uDC00-\uDC41\uDC43-\uDC45\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCC1\uDCC4\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDBE\uDDD8-\uDDDD\uDE00-\uDE3E\uDE40\uDE44\uDE80-\uDEB5\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2A\uDF40-\uDF46]|\uD806[\uDC00-\uDC38\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B\uDD3C\uDD3F-\uDD42\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDDF\uDDE1\uDDE3\uDDE4\uDE00-\uDE32\uDE35-\uDE3E\uDE50-\uDE97\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC3E\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD41\uDD43\uDD46\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD96\uDD98\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9E]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD47\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Any",isBmpLast:!0,bmp:"\0-\uFFFF",astral:"[\uD800-\uDBFF][\uDC00-\uDFFF]"},{name:"Default_Ignorable_Code_Point",bmp:"\xAD\u034F\u061C\u115F\u1160\u17B4\u17B5\u180B-\u180F\u200B-\u200F\u202A-\u202E\u2060-\u206F\u3164\uFE00-\uFE0F\uFEFF\uFFA0\uFFF0-\uFFF8",astral:"\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|[\uDB40-\uDB43][\uDC00-\uDFFF]"},{name:"Lowercase",bmp:"a-z\xAA\xB5\xBA\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02B8\u02C0\u02C1\u02E0-\u02E4\u0345\u0371\u0373\u0377\u037A-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1DBF\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u2071\u207F\u2090-\u209C\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2170-\u217F\u2184\u24D0-\u24E9\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7D\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B-\uA69D\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7F8-\uA7FA\uAB30-\uAB5A\uAB5C-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A",astral:"\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDF80\uDF83-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]"},{name:"Noncharacter_Code_Point",bmp:"\uFDD0-\uFDEF\uFFFE\uFFFF",astral:"[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]"},{name:"Uppercase",bmp:"A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2160-\u216F\u2183\u24B6-\u24CF\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A",astral:"\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]"},{name:"White_Space",bmp:" -\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000"}]});var But=jt((JV,Mut)=>{"use strict";var Dsr=_k(),bsr=pk();Dsr(JV,"__esModule",{value:!0});JV.default=void 0;var Csr=bsr(Rut());var D4r=JV.default=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Properties");var p=Csr.default;p.push({name:"Assigned",inverseOf:"Cn"}),c.addUnicodeData(p)};Mut.exports=JV.default});var Jut=jt((b4r,jut)=>{jut.exports=[{name:"Adlam",astral:"\uD83A[\uDD00-\uDD4B\uDD50-\uDD59\uDD5E\uDD5F]"},{name:"Ahom",astral:"\uD805[\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF46]"},{name:"Anatolian_Hieroglyphs",astral:"\uD811[\uDC00-\uDE46]"},{name:"Arabic",bmp:"\u0600-\u0604\u0606-\u060B\u060D-\u061A\u061C-\u061E\u0620-\u063F\u0641-\u064A\u0656-\u066F\u0671-\u06DC\u06DE-\u06FF\u0750-\u077F\u0870-\u088E\u0890\u0891\u0898-\u08E1\u08E3-\u08FF\uFB50-\uFBC2\uFBD3-\uFD3D\uFD40-\uFD8F\uFD92-\uFDC7\uFDCF\uFDF0-\uFDFF\uFE70-\uFE74\uFE76-\uFEFC",astral:"\uD803[\uDE60-\uDE7E]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB\uDEF0\uDEF1]"},{name:"Armenian",bmp:"\u0531-\u0556\u0559-\u058A\u058D-\u058F\uFB13-\uFB17"},{name:"Avestan",astral:"\uD802[\uDF00-\uDF35\uDF39-\uDF3F]"},{name:"Balinese",bmp:"\u1B00-\u1B4C\u1B50-\u1B7E"},{name:"Bamum",bmp:"\uA6A0-\uA6F7",astral:"\uD81A[\uDC00-\uDE38]"},{name:"Bassa_Vah",astral:"\uD81A[\uDED0-\uDEED\uDEF0-\uDEF5]"},{name:"Batak",bmp:"\u1BC0-\u1BF3\u1BFC-\u1BFF"},{name:"Bengali",bmp:"\u0980-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE"},{name:"Bhaiksuki",astral:"\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC45\uDC50-\uDC6C]"},{name:"Bopomofo",bmp:"\u02EA\u02EB\u3105-\u312F\u31A0-\u31BF"},{name:"Brahmi",astral:"\uD804[\uDC00-\uDC4D\uDC52-\uDC75\uDC7F]"},{name:"Braille",bmp:"\u2800-\u28FF"},{name:"Buginese",bmp:"\u1A00-\u1A1B\u1A1E\u1A1F"},{name:"Buhid",bmp:"\u1740-\u1753"},{name:"Canadian_Aboriginal",bmp:"\u1400-\u167F\u18B0-\u18F5",astral:"\uD806[\uDEB0-\uDEBF]"},{name:"Carian",astral:"\uD800[\uDEA0-\uDED0]"},{name:"Caucasian_Albanian",astral:"\uD801[\uDD30-\uDD63\uDD6F]"},{name:"Chakma",astral:"\uD804[\uDD00-\uDD34\uDD36-\uDD47]"},{name:"Cham",bmp:"\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F"},{name:"Cherokee",bmp:"\u13A0-\u13F5\u13F8-\u13FD\uAB70-\uABBF"},{name:"Chorasmian",astral:"\uD803[\uDFB0-\uDFCB]"},{name:"Common",bmp:"\0-@\\[-`\\{-\xA9\xAB-\xB9\xBB-\xBF\xD7\xF7\u02B9-\u02DF\u02E5-\u02E9\u02EC-\u02FF\u0374\u037E\u0385\u0387\u0605\u060C\u061B\u061F\u0640\u06DD\u08E2\u0964\u0965\u0E3F\u0FD5-\u0FD8\u10FB\u16EB-\u16ED\u1735\u1736\u1802\u1803\u1805\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u2000-\u200B\u200E-\u2064\u2066-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20C0\u2100-\u2125\u2127-\u2129\u212C-\u2131\u2133-\u214D\u214F-\u215F\u2189-\u218B\u2190-\u2426\u2440-\u244A\u2460-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2E00-\u2E5D\u2FF0-\u2FFB\u3000-\u3004\u3006\u3008-\u3020\u3030-\u3037\u303C-\u303F\u309B\u309C\u30A0\u30FB\u30FC\u3190-\u319F\u31C0-\u31E3\u3220-\u325F\u327F-\u32CF\u32FF\u3358-\u33FF\u4DC0-\u4DFF\uA700-\uA721\uA788-\uA78A\uA830-\uA839\uA92E\uA9CF\uAB5B\uAB6A\uAB6B\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFF70\uFF9E\uFF9F\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD",astral:"\uD800[\uDD00-\uDD02\uDD07-\uDD33\uDD37-\uDD3F\uDD90-\uDD9C\uDDD0-\uDDFC\uDEE1-\uDEFB]|\uD82F[\uDCA0-\uDCA3]|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD66\uDD6A-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDEE0-\uDEF3\uDF00-\uDF56\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDFCB\uDFCE-\uDFFF]|\uD83B[\uDC71-\uDCB4\uDD01-\uDD3D]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD00-\uDDAD\uDDE6-\uDDFF\uDE01\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA\uDFF0-\uDFF9]|\uDB40[\uDC01\uDC20-\uDC7F]"},{name:"Coptic",bmp:"\u03E2-\u03EF\u2C80-\u2CF3\u2CF9-\u2CFF"},{name:"Cuneiform",astral:"\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC70-\uDC74\uDC80-\uDD43]"},{name:"Cypriot",astral:"\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F]"},{name:"Cypro_Minoan",astral:"\uD80B[\uDF90-\uDFF2]"},{name:"Cyrillic",bmp:"\u0400-\u0484\u0487-\u052F\u1C80-\u1C88\u1D2B\u1D78\u2DE0-\u2DFF\uA640-\uA69F\uFE2E\uFE2F"},{name:"Deseret",astral:"\uD801[\uDC00-\uDC4F]"},{name:"Devanagari",bmp:"\u0900-\u0950\u0955-\u0963\u0966-\u097F\uA8E0-\uA8FF"},{name:"Dives_Akuru",astral:"\uD806[\uDD00-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD46\uDD50-\uDD59]"},{name:"Dogra",astral:"\uD806[\uDC00-\uDC3B]"},{name:"Duployan",astral:"\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9C-\uDC9F]"},{name:"Egyptian_Hieroglyphs",astral:"\uD80C[\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E\uDC30-\uDC38]"},{name:"Elbasan",astral:"\uD801[\uDD00-\uDD27]"},{name:"Elymaic",astral:"\uD803[\uDFE0-\uDFF6]"},{name:"Ethiopic",bmp:"\u1200-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E",astral:"\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]"},{name:"Georgian",bmp:"\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u10FF\u1C90-\u1CBA\u1CBD-\u1CBF\u2D00-\u2D25\u2D27\u2D2D"},{name:"Glagolitic",bmp:"\u2C00-\u2C5F",astral:"\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]"},{name:"Gothic",astral:"\uD800[\uDF30-\uDF4A]"},{name:"Grantha",astral:"\uD804[\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]"},{name:"Greek",bmp:"\u0370-\u0373\u0375-\u0377\u037A-\u037D\u037F\u0384\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03E1\u03F0-\u03FF\u1D26-\u1D2A\u1D5D-\u1D61\u1D66-\u1D6A\u1DBF\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u2126\uAB65",astral:"\uD800[\uDD40-\uDD8E\uDDA0]|\uD834[\uDE00-\uDE45]"},{name:"Gujarati",bmp:"\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF"},{name:"Gunjala_Gondi",astral:"\uD807[\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9]"},{name:"Gurmukhi",bmp:"\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76"},{name:"Han",bmp:"\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u3029\u3038-\u303B\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFA6D\uFA70-\uFAD9",astral:"\uD81B[\uDFE2\uDFE3\uDFF0\uDFF1]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Hangul",bmp:"\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC"},{name:"Hanifi_Rohingya",astral:"\uD803[\uDD00-\uDD27\uDD30-\uDD39]"},{name:"Hanunoo",bmp:"\u1720-\u1734"},{name:"Hatran",astral:"\uD802[\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDCFF]"},{name:"Hebrew",bmp:"\u0591-\u05C7\u05D0-\u05EA\u05EF-\u05F4\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4F"},{name:"Hiragana",bmp:"\u3041-\u3096\u309D-\u309F",astral:"\uD82C[\uDC01-\uDD1F\uDD50-\uDD52]|\u{1F200}"},{name:"Imperial_Aramaic",astral:"\uD802[\uDC40-\uDC55\uDC57-\uDC5F]"},{name:"Inherited",bmp:"\u0300-\u036F\u0485\u0486\u064B-\u0655\u0670\u0951-\u0954\u1AB0-\u1ACE\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u200D\u20D0-\u20F0\u302A-\u302D\u3099\u309A\uFE00-\uFE0F\uFE20-\uFE2D",astral:"\uD800[\uDDFD\uDEE0]|\u{1133B}|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD]|\uDB40[\uDD00-\uDDEF]"},{name:"Inscriptional_Pahlavi",astral:"\uD802[\uDF60-\uDF72\uDF78-\uDF7F]"},{name:"Inscriptional_Parthian",astral:"\uD802[\uDF40-\uDF55\uDF58-\uDF5F]"},{name:"Javanese",bmp:"\uA980-\uA9CD\uA9D0-\uA9D9\uA9DE\uA9DF"},{name:"Kaithi",astral:"\uD804[\uDC80-\uDCC2\uDCCD]"},{name:"Kannada",bmp:"\u0C80-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2"},{name:"Katakana",bmp:"\u30A1-\u30FA\u30FD-\u30FF\u31F0-\u31FF\u32D0-\u32FE\u3300-\u3357\uFF66-\uFF6F\uFF71-\uFF9D",astral:"\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00\uDD20-\uDD22\uDD64-\uDD67]"},{name:"Kayah_Li",bmp:"\uA900-\uA92D\uA92F"},{name:"Kharoshthi",astral:"\uD802[\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F-\uDE48\uDE50-\uDE58]"},{name:"Khitan_Small_Script",astral:"\u{16FE4}|\uD822[\uDF00-\uDFFF]|\uD823[\uDC00-\uDCD5]"},{name:"Khmer",bmp:"\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u19E0-\u19FF"},{name:"Khojki",astral:"\uD804[\uDE00-\uDE11\uDE13-\uDE3E]"},{name:"Khudawadi",astral:"\uD804[\uDEB0-\uDEEA\uDEF0-\uDEF9]"},{name:"Lao",bmp:"\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF"},{name:"Latin",bmp:"A-Za-z\xAA\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02E0-\u02E4\u1D00-\u1D25\u1D2C-\u1D5C\u1D62-\u1D65\u1D6B-\u1D77\u1D79-\u1DBE\u1E00-\u1EFF\u2071\u207F\u2090-\u209C\u212A\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB64\uAB66-\uAB69\uFB00-\uFB06\uFF21-\uFF3A\uFF41-\uFF5A",astral:"\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD837[\uDF00-\uDF1E]"},{name:"Lepcha",bmp:"\u1C00-\u1C37\u1C3B-\u1C49\u1C4D-\u1C4F"},{name:"Limbu",bmp:"\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u194F"},{name:"Linear_A",astral:"\uD801[\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]"},{name:"Linear_B",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA]"},{name:"Lisu",bmp:"\uA4D0-\uA4FF",astral:"\u{11FB0}"},{name:"Lycian",astral:"\uD800[\uDE80-\uDE9C]"},{name:"Lydian",astral:"\uD802[\uDD20-\uDD39\uDD3F]"},{name:"Mahajani",astral:"\uD804[\uDD50-\uDD76]"},{name:"Makasar",astral:"\uD807[\uDEE0-\uDEF8]"},{name:"Malayalam",bmp:"\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F"},{name:"Mandaic",bmp:"\u0840-\u085B\u085E"},{name:"Manichaean",astral:"\uD802[\uDEC0-\uDEE6\uDEEB-\uDEF6]"},{name:"Marchen",astral:"\uD807[\uDC70-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]"},{name:"Masaram_Gondi",astral:"\uD807[\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]"},{name:"Medefaidrin",astral:"\uD81B[\uDE40-\uDE9A]"},{name:"Meetei_Mayek",bmp:"\uAAE0-\uAAF6\uABC0-\uABED\uABF0-\uABF9"},{name:"Mende_Kikakui",astral:"\uD83A[\uDC00-\uDCC4\uDCC7-\uDCD6]"},{name:"Meroitic_Cursive",astral:"\uD802[\uDDA0-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDDFF]"},{name:"Meroitic_Hieroglyphs",astral:"\uD802[\uDD80-\uDD9F]"},{name:"Miao",astral:"\uD81B[\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F]"},{name:"Modi",astral:"\uD805[\uDE00-\uDE44\uDE50-\uDE59]"},{name:"Mongolian",bmp:"\u1800\u1801\u1804\u1806-\u1819\u1820-\u1878\u1880-\u18AA",astral:"\uD805[\uDE60-\uDE6C]"},{name:"Mro",astral:"\uD81A[\uDE40-\uDE5E\uDE60-\uDE69\uDE6E\uDE6F]"},{name:"Multani",astral:"\uD804[\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA9]"},{name:"Myanmar",bmp:"\u1000-\u109F\uA9E0-\uA9FE\uAA60-\uAA7F"},{name:"Nabataean",astral:"\uD802[\uDC80-\uDC9E\uDCA7-\uDCAF]"},{name:"Nandinagari",astral:"\uD806[\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE4]"},{name:"New_Tai_Lue",bmp:"\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE\u19DF"},{name:"Newa",astral:"\uD805[\uDC00-\uDC5B\uDC5D-\uDC61]"},{name:"Nko",bmp:"\u07C0-\u07FA\u07FD-\u07FF"},{name:"Nushu",astral:"\u{16FE1}|\uD82C[\uDD70-\uDEFB]"},{name:"Nyiakeng_Puachue_Hmong",astral:"\uD838[\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDD4F]"},{name:"Ogham",bmp:"\u1680-\u169C"},{name:"Ol_Chiki",bmp:"\u1C50-\u1C7F"},{name:"Old_Hungarian",astral:"\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDCFF]"},{name:"Old_Italic",astral:"\uD800[\uDF00-\uDF23\uDF2D-\uDF2F]"},{name:"Old_North_Arabian",astral:"\uD802[\uDE80-\uDE9F]"},{name:"Old_Permic",astral:"\uD800[\uDF50-\uDF7A]"},{name:"Old_Persian",astral:"\uD800[\uDFA0-\uDFC3\uDFC8-\uDFD5]"},{name:"Old_Sogdian",astral:"\uD803[\uDF00-\uDF27]"},{name:"Old_South_Arabian",astral:"\uD802[\uDE60-\uDE7F]"},{name:"Old_Turkic",astral:"\uD803[\uDC00-\uDC48]"},{name:"Old_Uyghur",astral:"\uD803[\uDF70-\uDF89]"},{name:"Oriya",bmp:"\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77"},{name:"Osage",astral:"\uD801[\uDCB0-\uDCD3\uDCD8-\uDCFB]"},{name:"Osmanya",astral:"\uD801[\uDC80-\uDC9D\uDCA0-\uDCA9]"},{name:"Pahawh_Hmong",astral:"\uD81A[\uDF00-\uDF45\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]"},{name:"Palmyrene",astral:"\uD802[\uDC60-\uDC7F]"},{name:"Pau_Cin_Hau",astral:"\uD806[\uDEC0-\uDEF8]"},{name:"Phags_Pa",bmp:"\uA840-\uA877"},{name:"Phoenician",astral:"\uD802[\uDD00-\uDD1B\uDD1F]"},{name:"Psalter_Pahlavi",astral:"\uD802[\uDF80-\uDF91\uDF99-\uDF9C\uDFA9-\uDFAF]"},{name:"Rejang",bmp:"\uA930-\uA953\uA95F"},{name:"Runic",bmp:"\u16A0-\u16EA\u16EE-\u16F8"},{name:"Samaritan",bmp:"\u0800-\u082D\u0830-\u083E"},{name:"Saurashtra",bmp:"\uA880-\uA8C5\uA8CE-\uA8D9"},{name:"Sharada",astral:"\uD804[\uDD80-\uDDDF]"},{name:"Shavian",astral:"\uD801[\uDC50-\uDC7F]"},{name:"Siddham",astral:"\uD805[\uDD80-\uDDB5\uDDB8-\uDDDD]"},{name:"SignWriting",astral:"\uD836[\uDC00-\uDE8B\uDE9B-\uDE9F\uDEA1-\uDEAF]"},{name:"Sinhala",bmp:"\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4",astral:"\uD804[\uDDE1-\uDDF4]"},{name:"Sogdian",astral:"\uD803[\uDF30-\uDF59]"},{name:"Sora_Sompeng",astral:"\uD804[\uDCD0-\uDCE8\uDCF0-\uDCF9]"},{name:"Soyombo",astral:"\uD806[\uDE50-\uDEA2]"},{name:"Sundanese",bmp:"\u1B80-\u1BBF\u1CC0-\u1CC7"},{name:"Syloti_Nagri",bmp:"\uA800-\uA82C"},{name:"Syriac",bmp:"\u0700-\u070D\u070F-\u074A\u074D-\u074F\u0860-\u086A"},{name:"Tagalog",bmp:"\u1700-\u1715\u171F"},{name:"Tagbanwa",bmp:"\u1760-\u176C\u176E-\u1770\u1772\u1773"},{name:"Tai_Le",bmp:"\u1950-\u196D\u1970-\u1974"},{name:"Tai_Tham",bmp:"\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD"},{name:"Tai_Viet",bmp:"\uAA80-\uAAC2\uAADB-\uAADF"},{name:"Takri",astral:"\uD805[\uDE80-\uDEB9\uDEC0-\uDEC9]"},{name:"Tamil",bmp:"\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA",astral:"\uD807[\uDFC0-\uDFF1\uDFFF]"},{name:"Tangsa",astral:"\uD81A[\uDE70-\uDEBE\uDEC0-\uDEC9]"},{name:"Tangut",astral:"\u{16FE0}|[\uD81C-\uD820][\uDC00-\uDFFF]|\uD821[\uDC00-\uDFF7]|\uD822[\uDC00-\uDEFF]|\uD823[\uDD00-\uDD08]"},{name:"Telugu",bmp:"\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C7F"},{name:"Thaana",bmp:"\u0780-\u07B1"},{name:"Thai",bmp:"\u0E01-\u0E3A\u0E40-\u0E5B"},{name:"Tibetan",bmp:"\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FD4\u0FD9\u0FDA"},{name:"Tifinagh",bmp:"\u2D30-\u2D67\u2D6F\u2D70\u2D7F"},{name:"Tirhuta",astral:"\uD805[\uDC80-\uDCC7\uDCD0-\uDCD9]"},{name:"Toto",astral:"\uD838[\uDE90-\uDEAE]"},{name:"Ugaritic",astral:"\uD800[\uDF80-\uDF9D\uDF9F]"},{name:"Vai",bmp:"\uA500-\uA62B"},{name:"Vithkuqi",astral:"\uD801[\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]"},{name:"Wancho",astral:"\uD838[\uDEC0-\uDEF9\uDEFF]"},{name:"Warang_Citi",astral:"\uD806[\uDCA0-\uDCF2\uDCFF]"},{name:"Yezidi",astral:"\uD803[\uDE80-\uDEA9\uDEAB-\uDEAD\uDEB0\uDEB1]"},{name:"Yi",bmp:"\uA000-\uA48C\uA490-\uA4C6"},{name:"Zanabazar_Square",astral:"\uD806[\uDE00-\uDE47]"}]});var zut=jt((qV,qut)=>{"use strict";var Ssr=_k(),Esr=pk();Ssr(qV,"__esModule",{value:!0});qV.default=void 0;var xsr=Esr(Jut());var C4r=qV.default=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Scripts");c.addUnicodeData(xsr.default,"Script")};qut.exports=qV.default});var Uut=jt((zV,Wut)=>{"use strict";var Tsr=_k(),n7=pk();Tsr(zV,"__esModule",{value:!0});zV.default=void 0;var i7=n7($ct()),Asr=n7(Eut()),Fsr=n7(Aut()),ksr=n7(Iut()),Isr=n7(Out()),wsr=n7(But()),Psr=n7(zut());(0,Asr.default)(i7.default);(0,Fsr.default)(i7.default);(0,ksr.default)(i7.default);(0,Isr.default)(i7.default);(0,wsr.default)(i7.default);(0,Psr.default)(i7.default);var S4r=zV.default=i7.default;Wut.exports=zV.default});var aft=jt(AT=>{"use strict";Object.defineProperty(AT,"__esModule",{value:!0});function My(_){let c=_||"";return function(){throw new Error("this method "+c+" is abstract! (it has no implementation in class "+this.constructor.name+")")}}function M4(_,c){if(!_)throw new Error(c||"Assertion failed")}function kFe(_,c,p){let g;Object.defineProperty(_,c,{get(){return g||(g=p.call(this)),g}})}function sor(_){return _&&Object.assign({},_)}function Jlt(_,c){let p=[];for(;c-- >0;)p.push(_());return p}function qlt(_,c){return new Array(c+1).join(_)}function ioe(_,c){return Jlt(()=>_,c)}function IFe(_){let c=[];for(let p=0;p<_.length;p++){let g=_[p];_.lastIndexOf(g)!==p&&c.indexOf(g)<0&&c.push(g)}return c}function zlt(_){let c=[];return _.forEach(p=>{c.indexOf(p)<0&&c.push(p)}),c}function a7(_){let c=_[0];return c===c.toUpperCase()}function Wlt(_){return!a7(_)}function Ult(_,c,p){let g=p||" ";return _.length<c?qlt(g,c-_.length)+_:_}function f7(){this.strings=[]}f7.prototype.append=function(_){this.strings.push(_)};f7.prototype.contents=function(){return this.strings.join("")};var TFe=_=>String.fromCodePoint(parseInt(_,16));function Vlt(_){if(_.charAt(0)==="\\")switch(_.charAt(1)){case"b":return"\b";case"f":return"\f";case"n":return`
7
+ `;case"r":return"\r";case"t":return" ";case"v":return"\v";case"x":return TFe(_.slice(2,4));case"u":return _.charAt(2)==="{"?TFe(_.slice(3,-1)):TFe(_.slice(2,6));default:return _.charAt(1)}else return _}function JFe(_){if(_==null)return String(_);let c=Object.prototype.toString.call(_);try{let p;return _.constructor&&_.constructor.name?p=_.constructor.name:c.indexOf("[object ")===0?p=c.slice(8,-1):p=typeof _,p+": "+JSON.stringify(String(_))}catch{return c}}function Glt(_,c="unexpected null value"){if(_==null)throw new Error(c);return _}var aor=Object.freeze({__proto__:null,abstract:My,assert:M4,defineLazyProperty:kFe,clone:sor,repeatFn:Jlt,repeatStr:qlt,repeat:ioe,getDuplicates:IFe,copyWithoutDuplicates:zlt,isSyntactic:a7,isLexical:Wlt,padLeft:Ult,StringBuffer:f7,unescapeCodePoint:Vlt,unexpectedObjToString:JFe,checkNotNull:Glt}),oor={Lu:new RegExp("\\p{Lu}","u"),Ll:new RegExp("\\p{Ll}","u"),Lt:new RegExp("\\p{Lt}","u"),Lm:new RegExp("\\p{Lm}","u"),Lo:new RegExp("\\p{Lo}","u"),Nl:new RegExp("\\p{Nl}","u"),Nd:new RegExp("\\p{Nd}","u"),Mn:new RegExp("\\p{Mn}","u"),Mc:new RegExp("\\p{Mc}","u"),Pc:new RegExp("\\p{Pc}","u"),Zs:new RegExp("\\p{Zs}","u"),L:new RegExp("\\p{Letter}","u"),Ltmo:new RegExp("\\p{Lt}|\\p{Lm}|\\p{Lo}","u")},lu=class _{constructor(){if(this.constructor===_)throw new Error("PExpr cannot be instantiated -- it's abstract")}withSource(c){return c&&(this.source=c.trimmed()),this}},N0=Object.create(lu.prototype),O0=Object.create(lu.prototype),dh=class extends lu{constructor(c){super(),this.obj=c}},Zh=class extends lu{constructor(c,p){super(),this.from=c,this.to=p,this.matchCodePoint=c.length>1||p.length>1}},eg=class extends lu{constructor(c){super(),this.index=c}},um=class extends lu{constructor(c){super(),this.terms=c}},o7=class extends um{constructor(c,p,g){let S=c.rules[p].body;super([g,S]),this.superGrammar=c,this.name=p,this.body=g}},c7=class extends um{constructor(c,p,g,S){let w=c.rules[p].body;super([...g,w,...S]),this.superGrammar=c,this.ruleName=p,this.expansionPos=g.length}},qm=class extends lu{constructor(c){super(),this.factors=c}},$g=class extends lu{constructor(c){super(),this.expr=c}},TT=class extends $g{},Sk=class extends $g{},yC=class extends $g{};TT.prototype.operator="*";Sk.prototype.operator="+";yC.prototype.operator="?";TT.prototype.minNumMatches=0;Sk.prototype.minNumMatches=1;yC.prototype.minNumMatches=0;TT.prototype.maxNumMatches=Number.POSITIVE_INFINITY;Sk.prototype.maxNumMatches=Number.POSITIVE_INFINITY;yC.prototype.maxNumMatches=1;var Hg=class extends lu{constructor(c){super(),this.expr=c}},Kg=class extends lu{constructor(c){super(),this.expr=c}},P0=class extends lu{constructor(c){super(),this.expr=c}},pf=class extends lu{constructor(c,p=[]){super(),this.ruleName=c,this.args=p}isSyntactic(){return a7(this.ruleName)}toMemoKey(){return this._memoKey||Object.defineProperty(this,"_memoKey",{value:this.toString()}),this._memoKey}},ph=class extends lu{constructor(c){super(),this.category=c,this.pattern=oor[c]}};function lm(_,c){let p;return c?(p=new Error(c.getLineAndColumnMessage()+_),p.shortMessage=_,p.interval=c):p=new Error(_),p}function wFe(){return lm("Interval sources don't match")}function cor(_){let c=new Error;return Object.defineProperty(c,"message",{enumerable:!0,get(){return _.message}}),Object.defineProperty(c,"shortMessage",{enumerable:!0,get(){return"Expected "+_.getExpectedText()}}),c.interval=_.getInterval(),c}function uor(_,c,p){let g=c?`Grammar ${_} is not declared in namespace '${c}'`:"Undeclared grammar "+_;return lm(g,p)}function lor(_,c){return lm("Grammar "+_.name+" is already declared in this namespace")}function _or(_){return lm(`Grammar '${_.name}' does not support incremental parsing`)}function $lt(_,c,p){return lm("Rule "+_+" is not declared in grammar "+c,p)}function por(_,c,p){return lm("Cannot override rule "+_+" because it is not declared in "+c,p)}function dor(_,c,p){return lm("Cannot extend rule "+_+" because it is not declared in "+c,p)}function klt(_,c,p,g){let S="Duplicate declaration for rule '"+_+"' in grammar '"+c+"'";return c!==p&&(S+=" (originally declared in '"+p+"')"),lm(S,g)}function Hlt(_,c,p,g){return lm("Wrong number of parameters for rule "+_+" (expected "+c+", got "+p+")",g)}function mor(_,c,p,g){return lm("Wrong number of arguments for rule "+_+" (expected "+c+", got "+p+")",g)}function Ilt(_,c,p){return lm("Duplicate parameter names in rule "+_+": "+c.join(", "),p)}function hor(_,c){return lm("Invalid parameter to rule "+_+": "+c+" has arity "+c.getArity()+", but parameter expressions must have arity 1",c.source)}var gor="NOTE: A _syntactic rule_ is a rule whose name begins with a capital letter. See https://ohmjs.org/d/svl for more details.";function yor(_,c){return lm("Cannot apply syntactic rule "+_+" from here (inside a lexical context)",c.source)}function vor(_){let{ruleName:c}=_;return lm(`applySyntactic is for syntactic rules, but '${c}' is a lexical rule. `+gor,_.source)}function Dor(_){return lm("applySyntactic is not required here (in a syntactic context)",_.source)}function wlt(_,c){return lm("Incorrect argument type: expected "+_,c.source)}function bor(_){return lm("'...' can appear at most once in a rule body",_.source)}function Cor(_){let c=_._node;M4(c&&c.isNonterminal()&&c.ctorName==="escapeChar_unicodeCodePoint");let p=_.children.slice(1,-1).map(S=>S.source),g=p[0].coverageWith(...p.slice(1));return lm(`U+${g.contents} is not a valid Unicode code point`,g)}function Klt(_,c){let p=c.length>0?c[c.length-1].args:[],S="Nullable expression "+_.expr.substituteParams(p)+" is not allowed inside '"+_.operator+"' (possible infinite loop)";if(c.length>0){let w=c.map(z=>new pf(z.ruleName,z.args)).join(`
8
8
  `);S+=`
9
9
  Application stack (most recent application last):
10
- `+w}return lm(S,p.expr.source)}function Qlt(p,c,_,g){return lm("Rule "+p+" involves an alternation which has inconsistent arity (expected "+c+", got "+_+")",g.source)}function Sor(p){let c=p.map(_=>_.message);return lm(["Errors:"].concat(c).join(`
11
- - `),p[0].interval)}function Eor(p,c,_,g){let S=g.slice(0,-1).map(de=>{let be=" "+de[0].name+" > "+de[1];return de.length===3?be+" for '"+de[2]+"'":be}).join(`
10
+ `+w}return lm(S,_.expr.source)}function Qlt(_,c,p,g){return lm("Rule "+_+" involves an alternation which has inconsistent arity (expected "+c+", got "+p+")",g.source)}function Sor(_){let c=_.map(p=>p.message);return lm(["Errors:"].concat(c).join(`
11
+ - `),_[0].interval)}function Eor(_,c,p,g){let S=g.slice(0,-1).map(de=>{let be=" "+de[0].name+" > "+de[1];return de.length===3?be+" for '"+de[2]+"'":be}).join(`
12
12
  `);S+=`
13
- `+c+" > "+p;let w="";p==="_iter"&&(w=[`
13
+ `+c+" > "+_;let w="";_==="_iter"&&(w=[`
14
14
  NOTE: as of Ohm v16, there is no default action for iteration nodes \u2014 see `," https://ohmjs.org/d/dsa for details."].join(`
15
- `));let z=[`Missing semantic action for '${p}' in ${_} '${c}'.${w}`,"Action stack (most recent call last):",S].join(`
16
- `),ie=lm(z);return ie.name="missingSemanticAction",ie}function xor(p){if(p.length===1)throw p[0];if(p.length>1)throw Sor(p)}function Tor(p){let c=0;return p.map(g=>{let S=g.toString();return c=Math.max(c,S.length),S}).map(g=>Ult(g,c))}function Plt(p,c,_){let g=p.length,S=p.slice(0,_),w=p.slice(_+c.length);return(S+c+w).substr(0,g)}function Aor(...p){let c=this,{offset:_}=c,{repeatStr:g}=aor,S=new f7;S.append("Line "+c.lineNum+", col "+c.colNum+`:
15
+ `));let z=[`Missing semantic action for '${_}' in ${p} '${c}'.${w}`,"Action stack (most recent call last):",S].join(`
16
+ `),ie=lm(z);return ie.name="missingSemanticAction",ie}function xor(_){if(_.length===1)throw _[0];if(_.length>1)throw Sor(_)}function Tor(_){let c=0;return _.map(g=>{let S=g.toString();return c=Math.max(c,S.length),S}).map(g=>Ult(g,c))}function Plt(_,c,p){let g=_.length,S=_.slice(0,p),w=_.slice(p+c.length);return(S+c+w).substr(0,g)}function Aor(..._){let c=this,{offset:p}=c,{repeatStr:g}=aor,S=new f7;S.append("Line "+c.lineNum+", col "+c.colNum+`:
17
17
  `);let w=Tor([c.prevLine==null?0:c.lineNum-1,c.lineNum,c.nextLine==null?0:c.lineNum+1]),z=(Ee,Oe,Y)=>{S.append(Y+w[Ee]+" | "+Oe+`
18
- `)};c.prevLine!=null&&z(0,c.prevLine," "),z(1,c.line,"> ");let ie=c.line.length,de=g(" ",ie+1);for(let Ee=0;Ee<p.length;++Ee){let Oe=p[Ee][0],Y=p[Ee][1];M4(Oe>=0&&Oe<=Y,"range start must be >= 0 and <= end");let ut=_-c.colNum+1;Oe=Math.max(0,Oe-ut),Y=Math.min(Y-ut,ie),de=Plt(de,g("~",Y-Oe),Oe)}let be=2+w[1].length+3;return S.append(g(" ",be)),de=Plt(de,"^",c.colNum-1),S.append(de.replace(/ +$/,"")+`
19
- `),c.nextLine!=null&&z(2,c.nextLine," "),S.contents()}var PFe=[];function Xlt(p){PFe.push(p)}function For(p){PFe.forEach(c=>{c(p)}),PFe=null}function qFe(p,c){let _=1,g=1,S=0,w=0,z=null,ie=null,de=-1;for(;S<c;){let Oe=p.charAt(S++);Oe===`
20
- `?(_++,g=1,de=w,w=S):Oe!=="\r"&&g++}let be=p.indexOf(`
21
- `,w);if(be===-1)be=p.length;else{let Oe=p.indexOf(`
22
- `,be+1);z=Oe===-1?p.slice(be):p.slice(be,Oe),z=z.replace(/^\r?\n/,"").replace(/\r$/,"")}de>=0&&(ie=p.slice(de,w).replace(/\r?\n$/,""));let Ee=p.slice(w,be).replace(/\r$/,"");return{offset:c,lineNum:_,colNum:g,line:Ee,prevLine:ie,nextLine:z,toString:Aor}}function zFe(p,c,..._){return qFe(p,c).toString(..._)}var Nlt=(()=>{let p=0;return c=>""+c+p++})(),u7=class p{constructor(c,_,g){this.sourceString=c,this.startIdx=_,this.endIdx=g}get contents(){return this._contents===void 0&&(this._contents=this.sourceString.slice(this.startIdx,this.endIdx)),this._contents}get length(){return this.endIdx-this.startIdx}coverageWith(...c){return p.coverage(...c,this)}collapsedLeft(){return new p(this.sourceString,this.startIdx,this.startIdx)}collapsedRight(){return new p(this.sourceString,this.endIdx,this.endIdx)}getLineAndColumn(){return qFe(this.sourceString,this.startIdx)}getLineAndColumnMessage(){let c=[this.startIdx,this.endIdx];return zFe(this.sourceString,this.startIdx,c)}minus(c){if(this.sourceString!==c.sourceString)throw wFe();return this.startIdx===c.startIdx&&this.endIdx===c.endIdx?[]:this.startIdx<c.startIdx&&c.endIdx<this.endIdx?[new p(this.sourceString,this.startIdx,c.startIdx),new p(this.sourceString,c.endIdx,this.endIdx)]:this.startIdx<c.endIdx&&c.endIdx<this.endIdx?[new p(this.sourceString,c.endIdx,this.endIdx)]:this.startIdx<c.startIdx&&c.startIdx<this.endIdx?[new p(this.sourceString,this.startIdx,c.startIdx)]:[this]}relativeTo(c){if(this.sourceString!==c.sourceString)throw wFe();return M4(this.startIdx>=c.startIdx&&this.endIdx<=c.endIdx,"other interval does not cover this one"),new p(this.sourceString,this.startIdx-c.startIdx,this.endIdx-c.startIdx)}trimmed(){let{contents:c}=this,_=this.startIdx+c.match(/^\s*/)[0].length,g=this.endIdx-c.match(/\s*$/)[0].length;return new p(this.sourceString,_,g)}subInterval(c,_){let g=this.startIdx+c;return new p(this.sourceString,g,g+_)}};u7.coverage=function(p,...c){let{startIdx:_,endIdx:g}=p;for(let S of c){if(S.sourceString!==p.sourceString)throw wFe();_=Math.min(_,S.startIdx),g=Math.max(g,S.endIdx)}return new u7(p.sourceString,_,g)};var kor=65535,LR=class{constructor(c){this.source=c,this.pos=0,this.examinedLength=0}atEnd(){let c=this.pos>=this.source.length;return this.examinedLength=Math.max(this.examinedLength,this.pos+1),c}next(){let c=this.source[this.pos++];return this.examinedLength=Math.max(this.examinedLength,this.pos),c}nextCharCode(){let c=this.next();return c&&c.charCodeAt(0)}nextCodePoint(){let c=this.source.slice(this.pos++).codePointAt(0);return c>kor&&(this.pos+=1),this.examinedLength=Math.max(this.examinedLength,this.pos),c}matchString(c,_){let g;if(_){for(g=0;g<c.length;g++){let S=this.next(),w=c[g];if(S==null||S.toUpperCase()!==w.toUpperCase())return!1}return!0}for(g=0;g<c.length;g++)if(this.next()!==c[g])return!1;return!0}sourceSlice(c,_){return this.source.slice(c,_)}interval(c,_){return new u7(this.source,c,_||this.pos)}},Xae=class{constructor(c,_,g,S,w,z,ie){this.matcher=c,this.input=_,this.startExpr=g,this._cst=S,this._cstOffset=w,this._rightmostFailurePosition=z,this._rightmostFailures=ie,this.failed()&&(kFe(this,"message",function(){let de="Expected "+this.getExpectedText();return zFe(this.input,this.getRightmostFailurePosition())+de}),kFe(this,"shortMessage",function(){let de="expected "+this.getExpectedText(),be=qFe(this.input,this.getRightmostFailurePosition());return"Line "+be.lineNum+", col "+be.colNum+": "+de}))}succeeded(){return!!this._cst}failed(){return!this.succeeded()}getRightmostFailurePosition(){return this._rightmostFailurePosition}getRightmostFailures(){if(!this._rightmostFailures){this.matcher.setInput(this.input);let c=this.matcher._match(this.startExpr,{tracing:!1,positionToRecordFailures:this.getRightmostFailurePosition()});this._rightmostFailures=c.getRightmostFailures()}return this._rightmostFailures}toString(){return this.succeeded()?"[match succeeded]":"[match failed at position "+this.getRightmostFailurePosition()+"]"}getExpectedText(){if(this.succeeded())throw new Error("cannot get expected text of a successful MatchResult");let c=new f7,_=this.getRightmostFailures();_=_.filter(g=>!g.isFluffy());for(let g=0;g<_.length;g++)g>0&&(g===_.length-1?c.append(_.length>2?", or ":" or "):c.append(", ")),c.append(_[g].toString());return c.contents()}getInterval(){let c=this.getRightmostFailurePosition();return new u7(this.input,c,c)}},NFe=class{constructor(){this.applicationMemoKeyStack=[],this.memo={},this.maxExaminedLength=0,this.maxRightmostFailureOffset=-1,this.currentLeftRecursion=void 0}isActive(c){return this.applicationMemoKeyStack.indexOf(c.toMemoKey())>=0}enter(c){this.applicationMemoKeyStack.push(c.toMemoKey())}exit(){this.applicationMemoKeyStack.pop()}startLeftRecursion(c,_){_.isLeftRecursion=!0,_.headApplication=c,_.nextLeftRecursion=this.currentLeftRecursion,this.currentLeftRecursion=_;let{applicationMemoKeyStack:g}=this,S=g.indexOf(c.toMemoKey())+1,w=g.slice(S);_.isInvolved=function(z){return w.indexOf(z)>=0},_.updateInvolvedApplicationMemoKeys=function(){for(let z=S;z<g.length;z++){let ie=g[z];this.isInvolved(ie)||w.push(ie)}}}endLeftRecursion(){this.currentLeftRecursion=this.currentLeftRecursion.nextLeftRecursion}shouldUseMemoizedResult(c){if(!c.isLeftRecursion)return!0;let{applicationMemoKeyStack:_}=this;for(let g=0;g<_.length;g++){let S=_[g];if(c.isInvolved(S))return!1}return!0}memoize(c,_){return this.memo[c]=_,this.maxExaminedLength=Math.max(this.maxExaminedLength,_.examinedLength),this.maxRightmostFailureOffset=Math.max(this.maxRightmostFailureOffset,_.rightmostFailureOffset),_}clearObsoleteEntries(c,_){if(c+this.maxExaminedLength<=_)return;let{memo:g}=this;this.maxExaminedLength=0,this.maxRightmostFailureOffset=-1,Object.keys(g).forEach(S=>{let w=g[S];c+w.examinedLength>_?delete g[S]:(this.maxExaminedLength=Math.max(this.maxExaminedLength,w.examinedLength),this.maxRightmostFailureOffset=Math.max(this.maxRightmostFailureOffset,w.rightmostFailureOffset))})}},Ior="\u2717",wor="\u2713",Por="\u22C5",Nor="\u21D2",Oor="\u2409",Lor="\u240A",Ror="\u240D",OFe={succeeded:1,isRootNode:2,isImplicitSpaces:4,isMemoized:8,isHeadOfLeftRecursion:16,terminatesLR:32};function Mor(p){return ioe(" ",p).join("")}function Bor(p,c,_){let g=Ylt(p.slice(c,c+_));return g.length<_?g+ioe(" ",_-g.length).join(""):g}function Ylt(p){return typeof p=="string"?p.replace(/ /g,Por).replace(/\t/g,Oor).replace(/\n/g,Lor).replace(/\r/g,Ror):String(p)}var RR=class p{constructor(c,_,g,S,w,z,ie){this.input=c,this.pos=this.pos1=_,this.pos2=g,this.source=new u7(c,_,g),this.expr=S,this.bindings=z,this.children=ie||[],this.terminatingLREntry=null,this._flags=w?OFe.succeeded:0}get displayString(){return this.expr.toDisplayString()}clone(){return this.cloneWithExpr(this.expr)}cloneWithExpr(c){let _=new p(this.input,this.pos,this.pos2,c,this.succeeded,this.bindings,this.children);return _.isHeadOfLeftRecursion=this.isHeadOfLeftRecursion,_.isImplicitSpaces=this.isImplicitSpaces,_.isMemoized=this.isMemoized,_.isRootNode=this.isRootNode,_.terminatesLR=this.terminatesLR,_.terminatingLREntry=this.terminatingLREntry,_}recordLRTermination(c,_){this.terminatingLREntry=new p(this.input,this.pos,this.pos2,this.expr,!1,[_],[c]),this.terminatingLREntry.terminatesLR=!0}walk(c,_){let g=c;typeof g=="function"&&(g={enter:g});function S(w,z,ie){let de=!0;g.enter&&g.enter.call(_,w,z,ie)===p.prototype.SKIP&&(de=!1),de&&(w.children.forEach(be=>{S(be,w,ie+1)}),g.exit&&g.exit.call(_,w,z,ie))}this.isRootNode?this.children.forEach(w=>{S(w,null,0)}):S(this,null,0)}toString(){let c=new f7;return this.walk((_,g,S)=>{if(!_)return this.SKIP;if(_.expr.constructor.name!=="Alt"){if(c.append(Bor(_.input,_.pos,10)+Mor(S*2+1)),c.append((_.succeeded?wor:Ior)+" "+_.displayString),_.isHeadOfLeftRecursion&&c.append(" (LR)"),_.succeeded){let z=Ylt(_.source.contents);c.append(" "+Nor+" "),c.append(typeof z=="string"?'"'+z+'"':z)}c.append(`
23
- `)}}),c.contents()}};RR.prototype.SKIP={};Object.keys(OFe).forEach(p=>{let c=OFe[p];Object.defineProperty(RR.prototype,p,{get(){return(this._flags&c)!==0},set(_){_?this._flags|=c:this._flags&=~c}})});lu.prototype.allowsSkippingPrecedingSpace=My("allowsSkippingPrecedingSpace");N0.allowsSkippingPrecedingSpace=O0.allowsSkippingPrecedingSpace=pf.prototype.allowsSkippingPrecedingSpace=dh.prototype.allowsSkippingPrecedingSpace=Zh.prototype.allowsSkippingPrecedingSpace=ph.prototype.allowsSkippingPrecedingSpace=function(){return!0};um.prototype.allowsSkippingPrecedingSpace=$g.prototype.allowsSkippingPrecedingSpace=P0.prototype.allowsSkippingPrecedingSpace=Kg.prototype.allowsSkippingPrecedingSpace=Hg.prototype.allowsSkippingPrecedingSpace=eg.prototype.allowsSkippingPrecedingSpace=qm.prototype.allowsSkippingPrecedingSpace=function(){return!1};var QV;Xlt(p=>{QV=p});var Yae;lu.prototype.assertAllApplicationsAreValid=function(p,c){Yae=0,this._assertAllApplicationsAreValid(p,c)};lu.prototype._assertAllApplicationsAreValid=My("_assertAllApplicationsAreValid");N0._assertAllApplicationsAreValid=O0._assertAllApplicationsAreValid=dh.prototype._assertAllApplicationsAreValid=Zh.prototype._assertAllApplicationsAreValid=eg.prototype._assertAllApplicationsAreValid=ph.prototype._assertAllApplicationsAreValid=function(p,c){};P0.prototype._assertAllApplicationsAreValid=function(p,c){Yae++,this.expr._assertAllApplicationsAreValid(p,c),Yae--};um.prototype._assertAllApplicationsAreValid=function(p,c){for(let _=0;_<this.terms.length;_++)this.terms[_]._assertAllApplicationsAreValid(p,c)};qm.prototype._assertAllApplicationsAreValid=function(p,c){for(let _=0;_<this.factors.length;_++)this.factors[_]._assertAllApplicationsAreValid(p,c)};$g.prototype._assertAllApplicationsAreValid=Hg.prototype._assertAllApplicationsAreValid=Kg.prototype._assertAllApplicationsAreValid=function(p,c){this.expr._assertAllApplicationsAreValid(p,c)};pf.prototype._assertAllApplicationsAreValid=function(p,c,_=!1){let g=c.rules[this.ruleName],S=a7(p)&&Yae===0;if(!g)throw $lt(this.ruleName,c.name,this.source);if(!_&&a7(this.ruleName)&&!S)throw yor(this.ruleName,this);let w=this.args.length,z=g.formals.length;if(w!==z)throw mor(this.ruleName,z,w,this.source);let ie=QV&&g===QV.rules.applySyntactic;if(QV&&g===QV.rules.caseInsensitive&&!(this.args[0]instanceof dh))throw wlt('a Terminal (e.g. "abc")',this.args[0]);if(ie){let be=this.args[0];if(!(be instanceof pf))throw wlt("a syntactic rule application",be);if(!a7(be.ruleName))throw vor(be);if(S)throw Dor(this)}this.args.forEach(be=>{if(be._assertAllApplicationsAreValid(p,c,ie),be.getArity()!==1)throw hor(this.ruleName,be)})};lu.prototype.assertChoicesHaveUniformArity=My("assertChoicesHaveUniformArity");N0.assertChoicesHaveUniformArity=O0.assertChoicesHaveUniformArity=dh.prototype.assertChoicesHaveUniformArity=Zh.prototype.assertChoicesHaveUniformArity=eg.prototype.assertChoicesHaveUniformArity=P0.prototype.assertChoicesHaveUniformArity=ph.prototype.assertChoicesHaveUniformArity=function(p){};um.prototype.assertChoicesHaveUniformArity=function(p){if(this.terms.length===0)return;let c=this.terms[0].getArity();for(let _=0;_<this.terms.length;_++){let g=this.terms[_];g.assertChoicesHaveUniformArity();let S=g.getArity();if(c!==S)throw Qlt(p,c,S,g)}};o7.prototype.assertChoicesHaveUniformArity=function(p){let c=this.terms[0].getArity(),_=this.terms[1].getArity();if(c!==_)throw Qlt(p,_,c,this.terms[0])};qm.prototype.assertChoicesHaveUniformArity=function(p){for(let c=0;c<this.factors.length;c++)this.factors[c].assertChoicesHaveUniformArity(p)};$g.prototype.assertChoicesHaveUniformArity=function(p){this.expr.assertChoicesHaveUniformArity(p)};Hg.prototype.assertChoicesHaveUniformArity=function(p){};Kg.prototype.assertChoicesHaveUniformArity=function(p){this.expr.assertChoicesHaveUniformArity(p)};pf.prototype.assertChoicesHaveUniformArity=function(p){};lu.prototype.assertIteratedExprsAreNotNullable=My("assertIteratedExprsAreNotNullable");N0.assertIteratedExprsAreNotNullable=O0.assertIteratedExprsAreNotNullable=dh.prototype.assertIteratedExprsAreNotNullable=Zh.prototype.assertIteratedExprsAreNotNullable=eg.prototype.assertIteratedExprsAreNotNullable=ph.prototype.assertIteratedExprsAreNotNullable=function(p){};um.prototype.assertIteratedExprsAreNotNullable=function(p){for(let c=0;c<this.terms.length;c++)this.terms[c].assertIteratedExprsAreNotNullable(p)};qm.prototype.assertIteratedExprsAreNotNullable=function(p){for(let c=0;c<this.factors.length;c++)this.factors[c].assertIteratedExprsAreNotNullable(p)};$g.prototype.assertIteratedExprsAreNotNullable=function(p){if(this.expr.assertIteratedExprsAreNotNullable(p),this.expr.isNullable(p))throw Klt(this,[])};yC.prototype.assertIteratedExprsAreNotNullable=Hg.prototype.assertIteratedExprsAreNotNullable=Kg.prototype.assertIteratedExprsAreNotNullable=P0.prototype.assertIteratedExprsAreNotNullable=function(p){this.expr.assertIteratedExprsAreNotNullable(p)};pf.prototype.assertIteratedExprsAreNotNullable=function(p){this.args.forEach(c=>{c.assertIteratedExprsAreNotNullable(p)})};var YV=class{constructor(c){this.matchLength=c}get ctorName(){throw new Error("subclass responsibility")}numChildren(){return this.children?this.children.length:0}childAt(c){if(this.children)return this.children[c]}indexOfChild(c){return this.children.indexOf(c)}hasChildren(){return this.numChildren()>0}hasNoChildren(){return!this.hasChildren()}onlyChild(){if(this.numChildren()!==1)throw new Error("cannot get only child of a node of type "+this.ctorName+" (it has "+this.numChildren()+" children)");return this.firstChild()}firstChild(){if(this.hasNoChildren())throw new Error("cannot get first child of a "+this.ctorName+" node, which has no children");return this.childAt(0)}lastChild(){if(this.hasNoChildren())throw new Error("cannot get last child of a "+this.ctorName+" node, which has no children");return this.childAt(this.numChildren()-1)}childBefore(c){let _=this.indexOfChild(c);if(_<0)throw new Error("Node.childBefore() called w/ an argument that is not a child");if(_===0)throw new Error("cannot get child before first child");return this.childAt(_-1)}childAfter(c){let _=this.indexOfChild(c);if(_<0)throw new Error("Node.childAfter() called w/ an argument that is not a child");if(_===this.numChildren()-1)throw new Error("cannot get child after last child");return this.childAt(_+1)}isTerminal(){return!1}isNonterminal(){return!1}isIteration(){return!1}isOptional(){return!1}},Ek=class extends YV{get ctorName(){return"_terminal"}isTerminal(){return!0}get primitiveValue(){throw new Error("The `primitiveValue` property was removed in Ohm v17.")}},LFe=class extends YV{constructor(c,_,g,S){super(S),this.ruleName=c,this.children=_,this.childOffsets=g}get ctorName(){return this.ruleName}isNonterminal(){return!0}isLexical(){return Wlt(this.ctorName)}isSyntactic(){return a7(this.ctorName)}},Zae=class extends YV{constructor(c,_,g,S){super(g),this.children=c,this.childOffsets=_,this.optional=S}get ctorName(){return"_iter"}isIteration(){return!0}isOptional(){return this.optional}};lu.prototype.eval=My("eval");N0.eval=function(p){let{inputStream:c}=p,_=c.pos,g=c.nextCodePoint();return g!==void 0?(p.pushBinding(new Ek(String.fromCodePoint(g).length),_),!0):(p.processFailure(_,this),!1)};O0.eval=function(p){let{inputStream:c}=p,_=c.pos;return c.atEnd()?(p.pushBinding(new Ek(0),_),!0):(p.processFailure(_,this),!1)};dh.prototype.eval=function(p){let{inputStream:c}=p,_=c.pos;return c.matchString(this.obj)?(p.pushBinding(new Ek(this.obj.length),_),!0):(p.processFailure(_,this),!1)};Zh.prototype.eval=function(p){let{inputStream:c}=p,_=c.pos,g=this.matchCodePoint?c.nextCodePoint():c.nextCharCode();return g!==void 0&&this.from.codePointAt(0)<=g&&g<=this.to.codePointAt(0)?(p.pushBinding(new Ek(String.fromCodePoint(g).length),_),!0):(p.processFailure(_,this),!1)};eg.prototype.eval=function(p){return p.eval(p.currentApplication().args[this.index])};P0.prototype.eval=function(p){p.enterLexifiedContext();let c=p.eval(this.expr);return p.exitLexifiedContext(),c};um.prototype.eval=function(p){for(let c=0;c<this.terms.length;c++)if(p.eval(this.terms[c]))return!0;return!1};qm.prototype.eval=function(p){for(let c=0;c<this.factors.length;c++){let _=this.factors[c];if(!p.eval(_))return!1}return!0};$g.prototype.eval=function(p){let{inputStream:c}=p,_=c.pos,g=this.getArity(),S=[],w=[];for(;S.length<g;)S.push([]),w.push([]);let z=0,ie=_,de;for(;z<this.maxNumMatches&&p.eval(this.expr);){if(c.pos===ie)throw Klt(this,p._applicationStack);ie=c.pos,z++;let Y=p._bindings.splice(p._bindings.length-g,g),ut=p._bindingOffsets.splice(p._bindingOffsets.length-g,g);for(de=0;de<Y.length;de++)S[de].push(Y[de]),w[de].push(ut[de])}if(z<this.minNumMatches)return!1;let be=p.posToOffset(_),Ee=0;if(z>0){let Y=S[g-1],ut=w[g-1],Ye=ut[ut.length-1]+Y[Y.length-1].matchLength;be=w[0][0],Ee=Ye-be}let Oe=this instanceof yC;for(de=0;de<S.length;de++)p._bindings.push(new Zae(S[de],w[de],Ee,Oe)),p._bindingOffsets.push(be);return!0};Hg.prototype.eval=function(p){let{inputStream:c}=p,_=c.pos;p.pushFailuresInfo();let g=p.eval(this.expr);return p.popFailuresInfo(),g?(p.processFailure(_,this),!1):(c.pos=_,!0)};Kg.prototype.eval=function(p){let{inputStream:c}=p,_=c.pos;return p.eval(this.expr)?(c.pos=_,!0):!1};pf.prototype.eval=function(p){let c=p.currentApplication(),_=c?c.args:[],g=this.substituteParams(_),S=p.getCurrentPosInfo();if(S.isActive(g))return g.handleCycle(p);let w=g.toMemoKey(),z=S.memo[w];if(z&&S.shouldUseMemoizedResult(z)){if(p.hasNecessaryInfo(z))return p.useMemoizedResult(p.inputStream.pos,z);delete S.memo[w]}return g.reallyEval(p)};pf.prototype.handleCycle=function(p){let c=p.getCurrentPosInfo(),{currentLeftRecursion:_}=c,g=this.toMemoKey(),S=c.memo[g];return _&&_.headApplication.toMemoKey()===g?S.updateInvolvedApplicationMemoKeys():S||(S=c.memoize(g,{matchLength:0,examinedLength:0,value:!1,rightmostFailureOffset:-1}),c.startLeftRecursion(this,S)),p.useMemoizedResult(p.inputStream.pos,S)};pf.prototype.reallyEval=function(p){let{inputStream:c}=p,_=c.pos,g=p.getCurrentPosInfo(),S=p.grammar.rules[this.ruleName],{body:w}=S,{description:z}=S;p.enterApplication(g,this),z&&p.pushFailuresInfo();let ie=c.examinedLength;c.examinedLength=0;let de=this.evalOnce(w,p),be=g.currentLeftRecursion,Ee=this.toMemoKey(),Oe=be&&be.headApplication.toMemoKey()===Ee,Y;p.doNotMemoize?p.doNotMemoize=!1:Oe?(de=this.growSeedResult(w,p,_,be,de),g.endLeftRecursion(),Y=be,Y.examinedLength=c.examinedLength-_,Y.rightmostFailureOffset=p._getRightmostFailureOffset(),g.memoize(Ee,Y)):(!be||!be.isInvolved(Ee))&&(Y=g.memoize(Ee,{matchLength:c.pos-_,examinedLength:c.examinedLength-_,value:de,failuresAtRightmostPosition:p.cloneRecordedFailures(),rightmostFailureOffset:p._getRightmostFailureOffset()}));let ut=!!de;if(z&&(p.popFailuresInfo(),ut||p.processFailure(_,this),Y&&(Y.failuresAtRightmostPosition=p.cloneRecordedFailures())),p.isTracing()&&Y){let Ye=p.getTraceEntry(_,this,ut,ut?[de]:[]);Oe&&(M4(Ye.terminatingLREntry!=null||!ut),Ye.isHeadOfLeftRecursion=!0),Y.traceEntry=Ye}return c.examinedLength=Math.max(c.examinedLength,ie),p.exitApplication(g,de),ut};pf.prototype.evalOnce=function(p,c){let{inputStream:_}=c,g=_.pos;if(c.eval(p)){let S=p.getArity(),w=c._bindings.splice(c._bindings.length-S,S),z=c._bindingOffsets.splice(c._bindingOffsets.length-S,S),ie=_.pos-g;return new LFe(this.ruleName,w,z,ie)}else return!1};pf.prototype.growSeedResult=function(p,c,_,g,S){if(!S)return!1;let{inputStream:w}=c;for(;;){if(g.matchLength=w.pos-_,g.value=S,g.failuresAtRightmostPosition=c.cloneRecordedFailures(),c.isTracing()){let z=c.trace[c.trace.length-1];g.traceEntry=new RR(c.input,_,w.pos,this,!0,[S],[z.clone()])}if(w.pos=_,S=this.evalOnce(p,c),w.pos-_<=g.matchLength)break;c.isTracing()&&c.trace.splice(-2,1)}return c.isTracing()&&g.traceEntry.recordLRTermination(c.trace.pop(),S),w.pos=_+g.matchLength,g.value};ph.prototype.eval=function(p){let{inputStream:c}=p,_=c.pos,g=c.next();return g&&this.pattern.test(g)?(p.pushBinding(new Ek(g.length),_),!0):(p.processFailure(_,this),!1)};lu.prototype.getArity=My("getArity");N0.getArity=O0.getArity=dh.prototype.getArity=Zh.prototype.getArity=eg.prototype.getArity=pf.prototype.getArity=ph.prototype.getArity=function(){return 1};um.prototype.getArity=function(){return this.terms.length===0?0:this.terms[0].getArity()};qm.prototype.getArity=function(){let p=0;for(let c=0;c<this.factors.length;c++)p+=this.factors[c].getArity();return p};$g.prototype.getArity=function(){return this.expr.getArity()};Hg.prototype.getArity=function(){return 0};Kg.prototype.getArity=P0.prototype.getArity=function(){return this.expr.getArity()};function aE(p,c){let _={};if(p.source&&c){let g=p.source.relativeTo(c);_.sourceInterval=[g.startIdx,g.endIdx]}return _}lu.prototype.outputRecipe=My("outputRecipe");N0.outputRecipe=function(p,c){return["any",aE(this,c)]};O0.outputRecipe=function(p,c){return["end",aE(this,c)]};dh.prototype.outputRecipe=function(p,c){return["terminal",aE(this,c),this.obj]};Zh.prototype.outputRecipe=function(p,c){return["range",aE(this,c),this.from,this.to]};eg.prototype.outputRecipe=function(p,c){return["param",aE(this,c),this.index]};um.prototype.outputRecipe=function(p,c){return["alt",aE(this,c)].concat(this.terms.map(_=>_.outputRecipe(p,c)))};o7.prototype.outputRecipe=function(p,c){return this.terms[0].outputRecipe(p,c)};c7.prototype.outputRecipe=function(p,c){let _=this.terms.slice(0,this.expansionPos),g=this.terms.slice(this.expansionPos+1);return["splice",aE(this,c),_.map(S=>S.outputRecipe(p,c)),g.map(S=>S.outputRecipe(p,c))]};qm.prototype.outputRecipe=function(p,c){return["seq",aE(this,c)].concat(this.factors.map(_=>_.outputRecipe(p,c)))};TT.prototype.outputRecipe=Sk.prototype.outputRecipe=yC.prototype.outputRecipe=Hg.prototype.outputRecipe=Kg.prototype.outputRecipe=P0.prototype.outputRecipe=function(p,c){return[this.constructor.name.toLowerCase(),aE(this,c),this.expr.outputRecipe(p,c)]};pf.prototype.outputRecipe=function(p,c){return["app",aE(this,c),this.ruleName,this.args.map(_=>_.outputRecipe(p,c))]};ph.prototype.outputRecipe=function(p,c){return["unicodeChar",aE(this,c),this.category]};lu.prototype.introduceParams=My("introduceParams");N0.introduceParams=O0.introduceParams=dh.prototype.introduceParams=Zh.prototype.introduceParams=eg.prototype.introduceParams=ph.prototype.introduceParams=function(p){return this};um.prototype.introduceParams=function(p){return this.terms.forEach((c,_,g)=>{g[_]=c.introduceParams(p)}),this};qm.prototype.introduceParams=function(p){return this.factors.forEach((c,_,g)=>{g[_]=c.introduceParams(p)}),this};$g.prototype.introduceParams=Hg.prototype.introduceParams=Kg.prototype.introduceParams=P0.prototype.introduceParams=function(p){return this.expr=this.expr.introduceParams(p),this};pf.prototype.introduceParams=function(p){let c=p.indexOf(this.ruleName);if(c>=0){if(this.args.length>0)throw new Error("Parameterized rules cannot be passed as arguments to another rule.");return new eg(c).withSource(this.source)}else return this.args.forEach((_,g,S)=>{S[g]=_.introduceParams(p)}),this};lu.prototype.isNullable=function(p){return this._isNullable(p,Object.create(null))};lu.prototype._isNullable=My("_isNullable");N0._isNullable=Zh.prototype._isNullable=eg.prototype._isNullable=Sk.prototype._isNullable=ph.prototype._isNullable=function(p,c){return!1};O0._isNullable=function(p,c){return!0};dh.prototype._isNullable=function(p,c){return typeof this.obj=="string"?this.obj==="":!1};um.prototype._isNullable=function(p,c){return this.terms.length===0||this.terms.some(_=>_._isNullable(p,c))};qm.prototype._isNullable=function(p,c){return this.factors.every(_=>_._isNullable(p,c))};TT.prototype._isNullable=yC.prototype._isNullable=Hg.prototype._isNullable=Kg.prototype._isNullable=function(p,c){return!0};P0.prototype._isNullable=function(p,c){return this.expr._isNullable(p,c)};pf.prototype._isNullable=function(p,c){let _=this.toMemoKey();if(!Object.prototype.hasOwnProperty.call(c,_)){let{body:g}=p.rules[this.ruleName],S=g.substituteParams(this.args);c[_]=!1,c[_]=S._isNullable(p,c)}return c[_]};lu.prototype.substituteParams=My("substituteParams");N0.substituteParams=O0.substituteParams=dh.prototype.substituteParams=Zh.prototype.substituteParams=ph.prototype.substituteParams=function(p){return this};eg.prototype.substituteParams=function(p){return Glt(p[this.index])};um.prototype.substituteParams=function(p){return new um(this.terms.map(c=>c.substituteParams(p)))};qm.prototype.substituteParams=function(p){return new qm(this.factors.map(c=>c.substituteParams(p)))};$g.prototype.substituteParams=Hg.prototype.substituteParams=Kg.prototype.substituteParams=P0.prototype.substituteParams=function(p){return new this.constructor(this.expr.substituteParams(p))};pf.prototype.substituteParams=function(p){if(this.args.length===0)return this;{let c=this.args.map(_=>_.substituteParams(p));return new pf(this.ruleName,c)}};function Olt(p){return/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(p)}function WFe(p){let c=Object.create(null);p.forEach(_=>{c[_]=(c[_]||0)+1}),Object.keys(c).forEach(_=>{if(c[_]<=1)return;let g=1;p.forEach((S,w)=>{S===_&&(p[w]=S+"_"+g++)})})}lu.prototype.toArgumentNameList=My("toArgumentNameList");N0.toArgumentNameList=function(p,c){return["any"]};O0.toArgumentNameList=function(p,c){return["end"]};dh.prototype.toArgumentNameList=function(p,c){return typeof this.obj=="string"&&/^[_a-zA-Z0-9]+$/.test(this.obj)?["_"+this.obj]:["$"+p]};Zh.prototype.toArgumentNameList=function(p,c){let _=this.from+"_to_"+this.to;return Olt(_)||(_="_"+_),Olt(_)||(_="$"+p),[_]};um.prototype.toArgumentNameList=function(p,c){let _=this.terms.map(w=>w.toArgumentNameList(p,!0)),g=[],S=_[0].length;for(let w=0;w<S;w++){let z=[];for(let de=0;de<this.terms.length;de++)z.push(_[de][w]);let ie=zlt(z);g.push(ie.join("_or_"))}return c||WFe(g),g};qm.prototype.toArgumentNameList=function(p,c){let _=[];return this.factors.forEach(g=>{let S=g.toArgumentNameList(p,!0);_=_.concat(S),p+=S.length}),c||WFe(_),_};$g.prototype.toArgumentNameList=function(p,c){let _=this.expr.toArgumentNameList(p,c).map(g=>g[g.length-1]==="s"?g+"es":g+"s");return c||WFe(_),_};yC.prototype.toArgumentNameList=function(p,c){return this.expr.toArgumentNameList(p,c).map(_=>"opt"+_[0].toUpperCase()+_.slice(1))};Hg.prototype.toArgumentNameList=function(p,c){return[]};Kg.prototype.toArgumentNameList=P0.prototype.toArgumentNameList=function(p,c){return this.expr.toArgumentNameList(p,c)};pf.prototype.toArgumentNameList=function(p,c){return[this.ruleName]};ph.prototype.toArgumentNameList=function(p,c){return["$"+p]};eg.prototype.toArgumentNameList=function(p,c){return["param"+this.index]};lu.prototype.toDisplayString=My("toDisplayString");um.prototype.toDisplayString=qm.prototype.toDisplayString=function(){return this.source?this.source.trimmed().contents:"["+this.constructor.name+"]"};N0.toDisplayString=O0.toDisplayString=$g.prototype.toDisplayString=Hg.prototype.toDisplayString=Kg.prototype.toDisplayString=P0.prototype.toDisplayString=dh.prototype.toDisplayString=Zh.prototype.toDisplayString=eg.prototype.toDisplayString=function(){return this.toString()};pf.prototype.toDisplayString=function(){if(this.args.length>0){let p=this.args.map(c=>c.toDisplayString());return this.ruleName+"<"+p.join(",")+">"}else return this.ruleName};ph.prototype.toDisplayString=function(){return"Unicode ["+this.category+"] character"};function jor(p){return p==="description"||p==="string"||p==="code"}var $v=class p{constructor(c,_,g){if(!jor(g))throw new Error("invalid Failure type: "+g);this.pexpr=c,this.text=_,this.type=g,this.fluffy=!1}getPExpr(){return this.pexpr}getText(){return this.text}getType(){return this.type}isDescription(){return this.type==="description"}isStringTerminal(){return this.type==="string"}isCode(){return this.type==="code"}isFluffy(){return this.fluffy}makeFluffy(){this.fluffy=!0}clearFluffy(){this.fluffy=!1}subsumes(c){return this.getText()===c.getText()&&this.type===c.type&&(!this.isFluffy()||this.isFluffy()&&c.isFluffy())}toString(){return this.type==="string"?JSON.stringify(this.getText()):this.getText()}clone(){let c=new p(this.pexpr,this.text,this.type);return this.isFluffy()&&c.makeFluffy(),c}toKey(){return this.toString()+"#"+this.type}};lu.prototype.toFailure=My("toFailure");N0.toFailure=function(p){return new $v(this,"any object","description")};O0.toFailure=function(p){return new $v(this,"end of input","description")};dh.prototype.toFailure=function(p){return new $v(this,this.obj,"string")};Zh.prototype.toFailure=function(p){return new $v(this,JSON.stringify(this.from)+".."+JSON.stringify(this.to),"code")};Hg.prototype.toFailure=function(p){let c=this.expr===N0?"nothing":"not "+this.expr.toFailure(p);return new $v(this,c,"description")};Kg.prototype.toFailure=function(p){return this.expr.toFailure(p)};pf.prototype.toFailure=function(p){let{description:c}=p.rules[this.ruleName];return c||(c=(/^[aeiouAEIOU]/.test(this.ruleName)?"an":"a")+" "+this.ruleName),new $v(this,c,"description")};ph.prototype.toFailure=function(p){return new $v(this,"a Unicode ["+this.category+"] character","description")};um.prototype.toFailure=function(p){let _="("+this.terms.map(g=>g.toFailure(p)).join(" or ")+")";return new $v(this,_,"description")};qm.prototype.toFailure=function(p){let _="("+this.factors.map(g=>g.toFailure(p)).join(" ")+")";return new $v(this,_,"description")};$g.prototype.toFailure=function(p){let c="("+this.expr.toFailure(p)+this.operator+")";return new $v(this,c,"description")};lu.prototype.toString=My("toString");N0.toString=function(){return"any"};O0.toString=function(){return"end"};dh.prototype.toString=function(){return JSON.stringify(this.obj)};Zh.prototype.toString=function(){return JSON.stringify(this.from)+".."+JSON.stringify(this.to)};eg.prototype.toString=function(){return"$"+this.index};P0.prototype.toString=function(){return"#("+this.expr.toString()+")"};um.prototype.toString=function(){return this.terms.length===1?this.terms[0].toString():"("+this.terms.map(p=>p.toString()).join(" | ")+")"};qm.prototype.toString=function(){return this.factors.length===1?this.factors[0].toString():"("+this.factors.map(p=>p.toString()).join(" ")+")"};$g.prototype.toString=function(){return this.expr+this.operator};Hg.prototype.toString=function(){return"~"+this.expr};Kg.prototype.toString=function(){return"&"+this.expr};pf.prototype.toString=function(){if(this.args.length>0){let p=this.args.map(c=>c.toString());return this.ruleName+"<"+p.join(",")+">"}else return this.ruleName};ph.prototype.toString=function(){return"\\p{"+this.category+"}"};var eoe=class p extends lu{constructor(c){super(),this.obj=c}_getString(c){let _=c.currentApplication().args[this.obj.index];return M4(_ instanceof dh,"expected a Terminal expression"),_.obj}allowsSkippingPrecedingSpace(){return!0}eval(c){let{inputStream:_}=c,g=_.pos,S=this._getString(c);return _.matchString(S,!0)?(c.pushBinding(new Ek(S.length),g),!0):(c.processFailure(g,this),!1)}getArity(){return 1}substituteParams(c){return new p(this.obj.substituteParams(c))}toDisplayString(){return this.obj.toDisplayString()+" (case-insensitive)"}toFailure(c){return new $v(this,this.obj.toFailure(c)+" (case-insensitive)","description")}_isNullable(c,_){return this.obj._isNullable(c,_)}},Jor=Object.freeze({__proto__:null,CaseInsensitiveTerminal:eoe,PExpr:lu,any:N0,end:O0,Terminal:dh,Range:Zh,Param:eg,Alt:um,Extend:o7,Splice:c7,Seq:qm,Iter:$g,Star:TT,Plus:Sk,Opt:yC,Not:Hg,Lookahead:Kg,Lex:P0,Apply:pf,UnicodeChar:ph}),Zlt;Xlt(p=>{Zlt=p.rules.applySyntactic.body});var AFe=new pf("spaces"),RFe=class{constructor(c,_,g){this.matcher=c,this.startExpr=_,this.grammar=c.grammar,this.input=c.getInput(),this.inputStream=new LR(this.input),this.memoTable=c._memoTable,this.userData=void 0,this.doNotMemoize=!1,this._bindings=[],this._bindingOffsets=[],this._applicationStack=[],this._posStack=[0],this.inLexifiedContextStack=[!1],this.rightmostFailurePosition=-1,this._rightmostFailurePositionStack=[],this._recordedFailuresStack=[],g!==void 0&&(this.positionToRecordFailures=g,this.recordedFailures=Object.create(null))}posToOffset(c){return c-this._posStack[this._posStack.length-1]}enterApplication(c,_){this._posStack.push(this.inputStream.pos),this._applicationStack.push(_),this.inLexifiedContextStack.push(!1),c.enter(_),this._rightmostFailurePositionStack.push(this.rightmostFailurePosition),this.rightmostFailurePosition=-1}exitApplication(c,_){let g=this._posStack.pop();this._applicationStack.pop(),this.inLexifiedContextStack.pop(),c.exit(),this.rightmostFailurePosition=Math.max(this.rightmostFailurePosition,this._rightmostFailurePositionStack.pop()),_&&this.pushBinding(_,g)}enterLexifiedContext(){this.inLexifiedContextStack.push(!0)}exitLexifiedContext(){this.inLexifiedContextStack.pop()}currentApplication(){return this._applicationStack[this._applicationStack.length-1]}inSyntacticContext(){let c=this.currentApplication();return c?c.isSyntactic()&&!this.inLexifiedContext():this.startExpr.factors[0].isSyntactic()}inLexifiedContext(){return this.inLexifiedContextStack[this.inLexifiedContextStack.length-1]}skipSpaces(){return this.pushFailuresInfo(),this.eval(AFe),this.popBinding(),this.popFailuresInfo(),this.inputStream.pos}skipSpacesIfInSyntacticContext(){return this.inSyntacticContext()?this.skipSpaces():this.inputStream.pos}maybeSkipSpacesBefore(c){return c.allowsSkippingPrecedingSpace()&&c!==AFe?this.skipSpacesIfInSyntacticContext():this.inputStream.pos}pushBinding(c,_){this._bindings.push(c),this._bindingOffsets.push(this.posToOffset(_))}popBinding(){this._bindings.pop(),this._bindingOffsets.pop()}numBindings(){return this._bindings.length}truncateBindings(c){for(;this._bindings.length>c;)this.popBinding()}getCurrentPosInfo(){return this.getPosInfo(this.inputStream.pos)}getPosInfo(c){let _=this.memoTable[c];return _||(_=this.memoTable[c]=new NFe),_}processFailure(c,_){if(this.rightmostFailurePosition=Math.max(this.rightmostFailurePosition,c),this.recordedFailures&&c===this.positionToRecordFailures){let g=this.currentApplication();g&&(_=_.substituteParams(g.args)),this.recordFailure(_.toFailure(this.grammar),!1)}}recordFailure(c,_){let g=c.toKey();this.recordedFailures[g]?this.recordedFailures[g].isFluffy()&&!c.isFluffy()&&this.recordedFailures[g].clearFluffy():this.recordedFailures[g]=_?c.clone():c}recordFailures(c,_){Object.keys(c).forEach(g=>{this.recordFailure(c[g],_)})}cloneRecordedFailures(){if(!this.recordedFailures)return;let c=Object.create(null);return Object.keys(this.recordedFailures).forEach(_=>{c[_]=this.recordedFailures[_].clone()}),c}getRightmostFailurePosition(){return this.rightmostFailurePosition}_getRightmostFailureOffset(){return this.rightmostFailurePosition>=0?this.posToOffset(this.rightmostFailurePosition):-1}getMemoizedTraceEntry(c,_){let g=this.memoTable[c];if(g&&_ instanceof pf){let S=g.memo[_.toMemoKey()];if(S&&S.traceEntry){let w=S.traceEntry.cloneWithExpr(_);return w.isMemoized=!0,w}}return null}getTraceEntry(c,_,g,S){if(_ instanceof pf){let w=this.currentApplication(),z=w?w.args:[];_=_.substituteParams(z)}return this.getMemoizedTraceEntry(c,_)||new RR(this.input,c,this.inputStream.pos,_,g,S,this.trace)}isTracing(){return!!this.trace}hasNecessaryInfo(c){return this.trace&&!c.traceEntry?!1:this.recordedFailures&&this.inputStream.pos+c.rightmostFailureOffset===this.positionToRecordFailures?!!c.failuresAtRightmostPosition:!0}useMemoizedResult(c,_){this.trace&&this.trace.push(_.traceEntry);let g=this.inputStream.pos+_.rightmostFailureOffset;return this.rightmostFailurePosition=Math.max(this.rightmostFailurePosition,g),this.recordedFailures&&this.positionToRecordFailures===g&&_.failuresAtRightmostPosition&&this.recordFailures(_.failuresAtRightmostPosition,!0),this.inputStream.examinedLength=Math.max(this.inputStream.examinedLength,_.examinedLength+c),_.value?(this.inputStream.pos+=_.matchLength,this.pushBinding(_.value,c),!0):!1}eval(c){let{inputStream:_}=this,g=this._bindings.length,S=this.userData,w;this.recordedFailures&&(w=this.recordedFailures,this.recordedFailures=Object.create(null));let z=_.pos,ie=this.maybeSkipSpacesBefore(c),de;this.trace&&(de=this.trace,this.trace=[]);let be=c.eval(this);if(this.trace){let Ee=this._bindings.slice(g),Oe=this.getTraceEntry(ie,c,be,Ee);Oe.isImplicitSpaces=c===AFe,Oe.isRootNode=c===this.startExpr,de.push(Oe),this.trace=de}return be?this.recordedFailures&&_.pos===this.positionToRecordFailures&&Object.keys(this.recordedFailures).forEach(Ee=>{this.recordedFailures[Ee].makeFluffy()}):(_.pos=z,this.truncateBindings(g),this.userData=S),this.recordedFailures&&this.recordFailures(w,!1),c===Zlt&&this.skipSpaces(),be}getMatchResult(){this.grammar._setUpMatchState(this),this.eval(this.startExpr);let c;this.recordedFailures&&(c=Object.keys(this.recordedFailures).map(g=>this.recordedFailures[g]));let _=this._bindings[0];return _&&(_.grammar=this.grammar),new Xae(this.matcher,this.input,this.startExpr,_,this._bindingOffsets[0],this.rightmostFailurePosition,c)}getTrace(){this.trace=[];let c=this.getMatchResult(),_=this.trace[this.trace.length-1];return _.result=c,_}pushFailuresInfo(){this._rightmostFailurePositionStack.push(this.rightmostFailurePosition),this._recordedFailuresStack.push(this.recordedFailures)}popFailuresInfo(){this.rightmostFailurePosition=this._rightmostFailurePositionStack.pop(),this.recordedFailures=this._recordedFailuresStack.pop()}},MFe=class{constructor(c){this.grammar=c,this._memoTable=[],this._input="",this._isMemoTableStale=!1}_resetMemoTable(){this._memoTable=[],this._isMemoTableStale=!1}getInput(){return this._input}setInput(c){return this._input!==c&&this.replaceInputRange(0,this._input.length,c),this}replaceInputRange(c,_,g){let S=this._input,w=this._memoTable;if(c<0||c>S.length||_<0||_>S.length||c>_)throw new Error("Invalid indices: "+c+" and "+_);this._input=S.slice(0,c)+g+S.slice(_),this._input!==S&&w.length>0&&(this._isMemoTableStale=!0);let z=w.slice(_);w.length=c;for(let ie=0;ie<g.length;ie++)w.push(void 0);for(let ie of z)w.push(ie);for(let ie=0;ie<c;ie++){let de=w[ie];de&&de.clearObsoleteEntries(ie,c)}return this}match(c,_={incremental:!0}){return this._match(this._getStartExpr(c),{incremental:_.incremental,tracing:!1})}trace(c,_={incremental:!0}){return this._match(this._getStartExpr(c),{incremental:_.incremental,tracing:!0})}_match(c,_={}){let g={tracing:!1,incremental:!0,positionToRecordFailures:void 0,..._};if(!g.incremental)this._resetMemoTable();else if(this._isMemoTableStale&&!this.grammar.supportsIncrementalParsing)throw _or(this.grammar);let S=new RFe(this,c,g.positionToRecordFailures);return g.tracing?S.getTrace():S.getMatchResult()}_getStartExpr(c){let _=c||this.grammar.defaultStartRule;if(!_)throw new Error("Missing start rule argument -- the grammar has no default start rule.");let g=this.grammar.parseApplication(_);return new qm([g,O0])}},XV=[],BFe=(p,c)=>Object.prototype.hasOwnProperty.call(p,c),toe=class{constructor(c,_,g){this._node=c,this.source=_,this._baseInterval=g,c.isNonterminal()&&M4(_===g),this._childWrappers=[]}_forgetMemoizedResultFor(c){delete this._node[this._semantics.attributeKeys[c]],this.children.forEach(_=>{_._forgetMemoizedResultFor(c)})}child(c){if(!(0<=c&&c<this._node.numChildren()))return;let _=this._childWrappers[c];if(!_){let g=this._node.childAt(c),S=this._node.childOffsets[c],w=this._baseInterval.subInterval(S,g.matchLength),z=g.isNonterminal()?w:this._baseInterval;_=this._childWrappers[c]=this._semantics.wrap(g,w,z)}return _}_children(){for(let c=0;c<this._node.numChildren();c++)this.child(c);return this._childWrappers}isIteration(){return this._node.isIteration()}isTerminal(){return this._node.isTerminal()}isNonterminal(){return this._node.isNonterminal()}isSyntactic(){return this.isNonterminal()&&this._node.isSyntactic()}isLexical(){return this.isNonterminal()&&this._node.isLexical()}isOptional(){return this._node.isOptional()}iteration(c){let _=c||[],g=_.map(z=>z._node),S=new Zae(g,[],-1,!1),w=this._semantics.wrap(S,null,null);return w._childWrappers=_,w}get children(){return this._children()}get ctorName(){return this._node.ctorName}get numChildren(){return this._node.numChildren()}get sourceString(){return this.source.contents}},Vv=class p{constructor(c,_){let g=this;if(this.grammar=c,this.checkedActionDicts=!1,this.Wrapper=class extends(_?_.Wrapper:toe){constructor(S,w,z){super(S,w,z),g.checkActionDictsIfHaventAlready(),this._semantics=g}toString(){return"[semantics wrapper for "+g.grammar.name+"]"}},this.super=_,_){if(!(c.equals(this.super.grammar)||c._inheritsFrom(this.super.grammar)))throw new Error("Cannot extend a semantics for grammar '"+this.super.grammar.name+"' for use with grammar '"+c.name+"' (not a sub-grammar)");this.operations=Object.create(this.super.operations),this.attributes=Object.create(this.super.attributes),this.attributeKeys=Object.create(null);for(let S in this.attributes)Object.defineProperty(this.attributeKeys,S,{value:Nlt(S)})}else this.operations=Object.create(null),this.attributes=Object.create(null),this.attributeKeys=Object.create(null)}toString(){return"[semantics for "+this.grammar.name+"]"}checkActionDictsIfHaventAlready(){this.checkedActionDicts||(this.checkActionDicts(),this.checkedActionDicts=!0)}checkActionDicts(){let c;for(c in this.operations)this.operations[c].checkActionDict(this.grammar);for(c in this.attributes)this.attributes[c].checkActionDict(this.grammar)}toRecipe(c){function _(S){return S.super!==p.BuiltInSemantics._getSemantics()}let g=`(function(g) {
24
- `;if(_(this)){g+=" var semantics = "+this.super.toRecipe(!0)+"(g";let S=this.super.grammar,w=this.grammar;for(;w!==S;)g+=".superGrammar",w=w.superGrammar;g+=`);
25
- `,g+=" return g.extendSemantics(semantics)"}else g+=" return g.createSemantics()";return["Operation","Attribute"].forEach(S=>{let w=this[S.toLowerCase()+"s"];Object.keys(w).forEach(z=>{let{actionDict:ie,formals:de,builtInDefault:be}=w[z],Ee=z;de.length>0&&(Ee+="("+de.join(", ")+")");let Oe;_(this)&&this.super[S.toLowerCase()+"s"][z]?Oe="extend"+S:Oe="add"+S,g+=`
18
+ `)};c.prevLine!=null&&z(0,c.prevLine," "),z(1,c.line,"> ");let ie=c.line.length,de=g(" ",ie+1);for(let Ee=0;Ee<_.length;++Ee){let Oe=_[Ee][0],Y=_[Ee][1];M4(Oe>=0&&Oe<=Y,"range start must be >= 0 and <= end");let ut=p-c.colNum+1;Oe=Math.max(0,Oe-ut),Y=Math.min(Y-ut,ie),de=Plt(de,g("~",Y-Oe),Oe)}let be=2+w[1].length+3;return S.append(g(" ",be)),de=Plt(de,"^",c.colNum-1),S.append(de.replace(/ +$/,"")+`
19
+ `),c.nextLine!=null&&z(2,c.nextLine," "),S.contents()}var PFe=[];function Xlt(_){PFe.push(_)}function For(_){PFe.forEach(c=>{c(_)}),PFe=null}function qFe(_,c){let p=1,g=1,S=0,w=0,z=null,ie=null,de=-1;for(;S<c;){let Oe=_.charAt(S++);Oe===`
20
+ `?(p++,g=1,de=w,w=S):Oe!=="\r"&&g++}let be=_.indexOf(`
21
+ `,w);if(be===-1)be=_.length;else{let Oe=_.indexOf(`
22
+ `,be+1);z=Oe===-1?_.slice(be):_.slice(be,Oe),z=z.replace(/^\r?\n/,"").replace(/\r$/,"")}de>=0&&(ie=_.slice(de,w).replace(/\r?\n$/,""));let Ee=_.slice(w,be).replace(/\r$/,"");return{offset:c,lineNum:p,colNum:g,line:Ee,prevLine:ie,nextLine:z,toString:Aor}}function zFe(_,c,...p){return qFe(_,c).toString(...p)}var Nlt=(()=>{let _=0;return c=>""+c+_++})(),u7=class _{constructor(c,p,g){this.sourceString=c,this.startIdx=p,this.endIdx=g}get contents(){return this._contents===void 0&&(this._contents=this.sourceString.slice(this.startIdx,this.endIdx)),this._contents}get length(){return this.endIdx-this.startIdx}coverageWith(...c){return _.coverage(...c,this)}collapsedLeft(){return new _(this.sourceString,this.startIdx,this.startIdx)}collapsedRight(){return new _(this.sourceString,this.endIdx,this.endIdx)}getLineAndColumn(){return qFe(this.sourceString,this.startIdx)}getLineAndColumnMessage(){let c=[this.startIdx,this.endIdx];return zFe(this.sourceString,this.startIdx,c)}minus(c){if(this.sourceString!==c.sourceString)throw wFe();return this.startIdx===c.startIdx&&this.endIdx===c.endIdx?[]:this.startIdx<c.startIdx&&c.endIdx<this.endIdx?[new _(this.sourceString,this.startIdx,c.startIdx),new _(this.sourceString,c.endIdx,this.endIdx)]:this.startIdx<c.endIdx&&c.endIdx<this.endIdx?[new _(this.sourceString,c.endIdx,this.endIdx)]:this.startIdx<c.startIdx&&c.startIdx<this.endIdx?[new _(this.sourceString,this.startIdx,c.startIdx)]:[this]}relativeTo(c){if(this.sourceString!==c.sourceString)throw wFe();return M4(this.startIdx>=c.startIdx&&this.endIdx<=c.endIdx,"other interval does not cover this one"),new _(this.sourceString,this.startIdx-c.startIdx,this.endIdx-c.startIdx)}trimmed(){let{contents:c}=this,p=this.startIdx+c.match(/^\s*/)[0].length,g=this.endIdx-c.match(/\s*$/)[0].length;return new _(this.sourceString,p,g)}subInterval(c,p){let g=this.startIdx+c;return new _(this.sourceString,g,g+p)}};u7.coverage=function(_,...c){let{startIdx:p,endIdx:g}=_;for(let S of c){if(S.sourceString!==_.sourceString)throw wFe();p=Math.min(p,S.startIdx),g=Math.max(g,S.endIdx)}return new u7(_.sourceString,p,g)};var kor=65535,LR=class{constructor(c){this.source=c,this.pos=0,this.examinedLength=0}atEnd(){let c=this.pos>=this.source.length;return this.examinedLength=Math.max(this.examinedLength,this.pos+1),c}next(){let c=this.source[this.pos++];return this.examinedLength=Math.max(this.examinedLength,this.pos),c}nextCharCode(){let c=this.next();return c&&c.charCodeAt(0)}nextCodePoint(){let c=this.source.slice(this.pos++).codePointAt(0);return c>kor&&(this.pos+=1),this.examinedLength=Math.max(this.examinedLength,this.pos),c}matchString(c,p){let g;if(p){for(g=0;g<c.length;g++){let S=this.next(),w=c[g];if(S==null||S.toUpperCase()!==w.toUpperCase())return!1}return!0}for(g=0;g<c.length;g++)if(this.next()!==c[g])return!1;return!0}sourceSlice(c,p){return this.source.slice(c,p)}interval(c,p){return new u7(this.source,c,p||this.pos)}},Xae=class{constructor(c,p,g,S,w,z,ie){this.matcher=c,this.input=p,this.startExpr=g,this._cst=S,this._cstOffset=w,this._rightmostFailurePosition=z,this._rightmostFailures=ie,this.failed()&&(kFe(this,"message",function(){let de="Expected "+this.getExpectedText();return zFe(this.input,this.getRightmostFailurePosition())+de}),kFe(this,"shortMessage",function(){let de="expected "+this.getExpectedText(),be=qFe(this.input,this.getRightmostFailurePosition());return"Line "+be.lineNum+", col "+be.colNum+": "+de}))}succeeded(){return!!this._cst}failed(){return!this.succeeded()}getRightmostFailurePosition(){return this._rightmostFailurePosition}getRightmostFailures(){if(!this._rightmostFailures){this.matcher.setInput(this.input);let c=this.matcher._match(this.startExpr,{tracing:!1,positionToRecordFailures:this.getRightmostFailurePosition()});this._rightmostFailures=c.getRightmostFailures()}return this._rightmostFailures}toString(){return this.succeeded()?"[match succeeded]":"[match failed at position "+this.getRightmostFailurePosition()+"]"}getExpectedText(){if(this.succeeded())throw new Error("cannot get expected text of a successful MatchResult");let c=new f7,p=this.getRightmostFailures();p=p.filter(g=>!g.isFluffy());for(let g=0;g<p.length;g++)g>0&&(g===p.length-1?c.append(p.length>2?", or ":" or "):c.append(", ")),c.append(p[g].toString());return c.contents()}getInterval(){let c=this.getRightmostFailurePosition();return new u7(this.input,c,c)}},NFe=class{constructor(){this.applicationMemoKeyStack=[],this.memo={},this.maxExaminedLength=0,this.maxRightmostFailureOffset=-1,this.currentLeftRecursion=void 0}isActive(c){return this.applicationMemoKeyStack.indexOf(c.toMemoKey())>=0}enter(c){this.applicationMemoKeyStack.push(c.toMemoKey())}exit(){this.applicationMemoKeyStack.pop()}startLeftRecursion(c,p){p.isLeftRecursion=!0,p.headApplication=c,p.nextLeftRecursion=this.currentLeftRecursion,this.currentLeftRecursion=p;let{applicationMemoKeyStack:g}=this,S=g.indexOf(c.toMemoKey())+1,w=g.slice(S);p.isInvolved=function(z){return w.indexOf(z)>=0},p.updateInvolvedApplicationMemoKeys=function(){for(let z=S;z<g.length;z++){let ie=g[z];this.isInvolved(ie)||w.push(ie)}}}endLeftRecursion(){this.currentLeftRecursion=this.currentLeftRecursion.nextLeftRecursion}shouldUseMemoizedResult(c){if(!c.isLeftRecursion)return!0;let{applicationMemoKeyStack:p}=this;for(let g=0;g<p.length;g++){let S=p[g];if(c.isInvolved(S))return!1}return!0}memoize(c,p){return this.memo[c]=p,this.maxExaminedLength=Math.max(this.maxExaminedLength,p.examinedLength),this.maxRightmostFailureOffset=Math.max(this.maxRightmostFailureOffset,p.rightmostFailureOffset),p}clearObsoleteEntries(c,p){if(c+this.maxExaminedLength<=p)return;let{memo:g}=this;this.maxExaminedLength=0,this.maxRightmostFailureOffset=-1,Object.keys(g).forEach(S=>{let w=g[S];c+w.examinedLength>p?delete g[S]:(this.maxExaminedLength=Math.max(this.maxExaminedLength,w.examinedLength),this.maxRightmostFailureOffset=Math.max(this.maxRightmostFailureOffset,w.rightmostFailureOffset))})}},Ior="\u2717",wor="\u2713",Por="\u22C5",Nor="\u21D2",Oor="\u2409",Lor="\u240A",Ror="\u240D",OFe={succeeded:1,isRootNode:2,isImplicitSpaces:4,isMemoized:8,isHeadOfLeftRecursion:16,terminatesLR:32};function Mor(_){return ioe(" ",_).join("")}function Bor(_,c,p){let g=Ylt(_.slice(c,c+p));return g.length<p?g+ioe(" ",p-g.length).join(""):g}function Ylt(_){return typeof _=="string"?_.replace(/ /g,Por).replace(/\t/g,Oor).replace(/\n/g,Lor).replace(/\r/g,Ror):String(_)}var RR=class _{constructor(c,p,g,S,w,z,ie){this.input=c,this.pos=this.pos1=p,this.pos2=g,this.source=new u7(c,p,g),this.expr=S,this.bindings=z,this.children=ie||[],this.terminatingLREntry=null,this._flags=w?OFe.succeeded:0}get displayString(){return this.expr.toDisplayString()}clone(){return this.cloneWithExpr(this.expr)}cloneWithExpr(c){let p=new _(this.input,this.pos,this.pos2,c,this.succeeded,this.bindings,this.children);return p.isHeadOfLeftRecursion=this.isHeadOfLeftRecursion,p.isImplicitSpaces=this.isImplicitSpaces,p.isMemoized=this.isMemoized,p.isRootNode=this.isRootNode,p.terminatesLR=this.terminatesLR,p.terminatingLREntry=this.terminatingLREntry,p}recordLRTermination(c,p){this.terminatingLREntry=new _(this.input,this.pos,this.pos2,this.expr,!1,[p],[c]),this.terminatingLREntry.terminatesLR=!0}walk(c,p){let g=c;typeof g=="function"&&(g={enter:g});function S(w,z,ie){let de=!0;g.enter&&g.enter.call(p,w,z,ie)===_.prototype.SKIP&&(de=!1),de&&(w.children.forEach(be=>{S(be,w,ie+1)}),g.exit&&g.exit.call(p,w,z,ie))}this.isRootNode?this.children.forEach(w=>{S(w,null,0)}):S(this,null,0)}toString(){let c=new f7;return this.walk((p,g,S)=>{if(!p)return this.SKIP;if(p.expr.constructor.name!=="Alt"){if(c.append(Bor(p.input,p.pos,10)+Mor(S*2+1)),c.append((p.succeeded?wor:Ior)+" "+p.displayString),p.isHeadOfLeftRecursion&&c.append(" (LR)"),p.succeeded){let z=Ylt(p.source.contents);c.append(" "+Nor+" "),c.append(typeof z=="string"?'"'+z+'"':z)}c.append(`
23
+ `)}}),c.contents()}};RR.prototype.SKIP={};Object.keys(OFe).forEach(_=>{let c=OFe[_];Object.defineProperty(RR.prototype,_,{get(){return(this._flags&c)!==0},set(p){p?this._flags|=c:this._flags&=~c}})});lu.prototype.allowsSkippingPrecedingSpace=My("allowsSkippingPrecedingSpace");N0.allowsSkippingPrecedingSpace=O0.allowsSkippingPrecedingSpace=pf.prototype.allowsSkippingPrecedingSpace=dh.prototype.allowsSkippingPrecedingSpace=Zh.prototype.allowsSkippingPrecedingSpace=ph.prototype.allowsSkippingPrecedingSpace=function(){return!0};um.prototype.allowsSkippingPrecedingSpace=$g.prototype.allowsSkippingPrecedingSpace=P0.prototype.allowsSkippingPrecedingSpace=Kg.prototype.allowsSkippingPrecedingSpace=Hg.prototype.allowsSkippingPrecedingSpace=eg.prototype.allowsSkippingPrecedingSpace=qm.prototype.allowsSkippingPrecedingSpace=function(){return!1};var QV;Xlt(_=>{QV=_});var Yae;lu.prototype.assertAllApplicationsAreValid=function(_,c){Yae=0,this._assertAllApplicationsAreValid(_,c)};lu.prototype._assertAllApplicationsAreValid=My("_assertAllApplicationsAreValid");N0._assertAllApplicationsAreValid=O0._assertAllApplicationsAreValid=dh.prototype._assertAllApplicationsAreValid=Zh.prototype._assertAllApplicationsAreValid=eg.prototype._assertAllApplicationsAreValid=ph.prototype._assertAllApplicationsAreValid=function(_,c){};P0.prototype._assertAllApplicationsAreValid=function(_,c){Yae++,this.expr._assertAllApplicationsAreValid(_,c),Yae--};um.prototype._assertAllApplicationsAreValid=function(_,c){for(let p=0;p<this.terms.length;p++)this.terms[p]._assertAllApplicationsAreValid(_,c)};qm.prototype._assertAllApplicationsAreValid=function(_,c){for(let p=0;p<this.factors.length;p++)this.factors[p]._assertAllApplicationsAreValid(_,c)};$g.prototype._assertAllApplicationsAreValid=Hg.prototype._assertAllApplicationsAreValid=Kg.prototype._assertAllApplicationsAreValid=function(_,c){this.expr._assertAllApplicationsAreValid(_,c)};pf.prototype._assertAllApplicationsAreValid=function(_,c,p=!1){let g=c.rules[this.ruleName],S=a7(_)&&Yae===0;if(!g)throw $lt(this.ruleName,c.name,this.source);if(!p&&a7(this.ruleName)&&!S)throw yor(this.ruleName,this);let w=this.args.length,z=g.formals.length;if(w!==z)throw mor(this.ruleName,z,w,this.source);let ie=QV&&g===QV.rules.applySyntactic;if(QV&&g===QV.rules.caseInsensitive&&!(this.args[0]instanceof dh))throw wlt('a Terminal (e.g. "abc")',this.args[0]);if(ie){let be=this.args[0];if(!(be instanceof pf))throw wlt("a syntactic rule application",be);if(!a7(be.ruleName))throw vor(be);if(S)throw Dor(this)}this.args.forEach(be=>{if(be._assertAllApplicationsAreValid(_,c,ie),be.getArity()!==1)throw hor(this.ruleName,be)})};lu.prototype.assertChoicesHaveUniformArity=My("assertChoicesHaveUniformArity");N0.assertChoicesHaveUniformArity=O0.assertChoicesHaveUniformArity=dh.prototype.assertChoicesHaveUniformArity=Zh.prototype.assertChoicesHaveUniformArity=eg.prototype.assertChoicesHaveUniformArity=P0.prototype.assertChoicesHaveUniformArity=ph.prototype.assertChoicesHaveUniformArity=function(_){};um.prototype.assertChoicesHaveUniformArity=function(_){if(this.terms.length===0)return;let c=this.terms[0].getArity();for(let p=0;p<this.terms.length;p++){let g=this.terms[p];g.assertChoicesHaveUniformArity();let S=g.getArity();if(c!==S)throw Qlt(_,c,S,g)}};o7.prototype.assertChoicesHaveUniformArity=function(_){let c=this.terms[0].getArity(),p=this.terms[1].getArity();if(c!==p)throw Qlt(_,p,c,this.terms[0])};qm.prototype.assertChoicesHaveUniformArity=function(_){for(let c=0;c<this.factors.length;c++)this.factors[c].assertChoicesHaveUniformArity(_)};$g.prototype.assertChoicesHaveUniformArity=function(_){this.expr.assertChoicesHaveUniformArity(_)};Hg.prototype.assertChoicesHaveUniformArity=function(_){};Kg.prototype.assertChoicesHaveUniformArity=function(_){this.expr.assertChoicesHaveUniformArity(_)};pf.prototype.assertChoicesHaveUniformArity=function(_){};lu.prototype.assertIteratedExprsAreNotNullable=My("assertIteratedExprsAreNotNullable");N0.assertIteratedExprsAreNotNullable=O0.assertIteratedExprsAreNotNullable=dh.prototype.assertIteratedExprsAreNotNullable=Zh.prototype.assertIteratedExprsAreNotNullable=eg.prototype.assertIteratedExprsAreNotNullable=ph.prototype.assertIteratedExprsAreNotNullable=function(_){};um.prototype.assertIteratedExprsAreNotNullable=function(_){for(let c=0;c<this.terms.length;c++)this.terms[c].assertIteratedExprsAreNotNullable(_)};qm.prototype.assertIteratedExprsAreNotNullable=function(_){for(let c=0;c<this.factors.length;c++)this.factors[c].assertIteratedExprsAreNotNullable(_)};$g.prototype.assertIteratedExprsAreNotNullable=function(_){if(this.expr.assertIteratedExprsAreNotNullable(_),this.expr.isNullable(_))throw Klt(this,[])};yC.prototype.assertIteratedExprsAreNotNullable=Hg.prototype.assertIteratedExprsAreNotNullable=Kg.prototype.assertIteratedExprsAreNotNullable=P0.prototype.assertIteratedExprsAreNotNullable=function(_){this.expr.assertIteratedExprsAreNotNullable(_)};pf.prototype.assertIteratedExprsAreNotNullable=function(_){this.args.forEach(c=>{c.assertIteratedExprsAreNotNullable(_)})};var YV=class{constructor(c){this.matchLength=c}get ctorName(){throw new Error("subclass responsibility")}numChildren(){return this.children?this.children.length:0}childAt(c){if(this.children)return this.children[c]}indexOfChild(c){return this.children.indexOf(c)}hasChildren(){return this.numChildren()>0}hasNoChildren(){return!this.hasChildren()}onlyChild(){if(this.numChildren()!==1)throw new Error("cannot get only child of a node of type "+this.ctorName+" (it has "+this.numChildren()+" children)");return this.firstChild()}firstChild(){if(this.hasNoChildren())throw new Error("cannot get first child of a "+this.ctorName+" node, which has no children");return this.childAt(0)}lastChild(){if(this.hasNoChildren())throw new Error("cannot get last child of a "+this.ctorName+" node, which has no children");return this.childAt(this.numChildren()-1)}childBefore(c){let p=this.indexOfChild(c);if(p<0)throw new Error("Node.childBefore() called w/ an argument that is not a child");if(p===0)throw new Error("cannot get child before first child");return this.childAt(p-1)}childAfter(c){let p=this.indexOfChild(c);if(p<0)throw new Error("Node.childAfter() called w/ an argument that is not a child");if(p===this.numChildren()-1)throw new Error("cannot get child after last child");return this.childAt(p+1)}isTerminal(){return!1}isNonterminal(){return!1}isIteration(){return!1}isOptional(){return!1}},Ek=class extends YV{get ctorName(){return"_terminal"}isTerminal(){return!0}get primitiveValue(){throw new Error("The `primitiveValue` property was removed in Ohm v17.")}},LFe=class extends YV{constructor(c,p,g,S){super(S),this.ruleName=c,this.children=p,this.childOffsets=g}get ctorName(){return this.ruleName}isNonterminal(){return!0}isLexical(){return Wlt(this.ctorName)}isSyntactic(){return a7(this.ctorName)}},Zae=class extends YV{constructor(c,p,g,S){super(g),this.children=c,this.childOffsets=p,this.optional=S}get ctorName(){return"_iter"}isIteration(){return!0}isOptional(){return this.optional}};lu.prototype.eval=My("eval");N0.eval=function(_){let{inputStream:c}=_,p=c.pos,g=c.nextCodePoint();return g!==void 0?(_.pushBinding(new Ek(String.fromCodePoint(g).length),p),!0):(_.processFailure(p,this),!1)};O0.eval=function(_){let{inputStream:c}=_,p=c.pos;return c.atEnd()?(_.pushBinding(new Ek(0),p),!0):(_.processFailure(p,this),!1)};dh.prototype.eval=function(_){let{inputStream:c}=_,p=c.pos;return c.matchString(this.obj)?(_.pushBinding(new Ek(this.obj.length),p),!0):(_.processFailure(p,this),!1)};Zh.prototype.eval=function(_){let{inputStream:c}=_,p=c.pos,g=this.matchCodePoint?c.nextCodePoint():c.nextCharCode();return g!==void 0&&this.from.codePointAt(0)<=g&&g<=this.to.codePointAt(0)?(_.pushBinding(new Ek(String.fromCodePoint(g).length),p),!0):(_.processFailure(p,this),!1)};eg.prototype.eval=function(_){return _.eval(_.currentApplication().args[this.index])};P0.prototype.eval=function(_){_.enterLexifiedContext();let c=_.eval(this.expr);return _.exitLexifiedContext(),c};um.prototype.eval=function(_){for(let c=0;c<this.terms.length;c++)if(_.eval(this.terms[c]))return!0;return!1};qm.prototype.eval=function(_){for(let c=0;c<this.factors.length;c++){let p=this.factors[c];if(!_.eval(p))return!1}return!0};$g.prototype.eval=function(_){let{inputStream:c}=_,p=c.pos,g=this.getArity(),S=[],w=[];for(;S.length<g;)S.push([]),w.push([]);let z=0,ie=p,de;for(;z<this.maxNumMatches&&_.eval(this.expr);){if(c.pos===ie)throw Klt(this,_._applicationStack);ie=c.pos,z++;let Y=_._bindings.splice(_._bindings.length-g,g),ut=_._bindingOffsets.splice(_._bindingOffsets.length-g,g);for(de=0;de<Y.length;de++)S[de].push(Y[de]),w[de].push(ut[de])}if(z<this.minNumMatches)return!1;let be=_.posToOffset(p),Ee=0;if(z>0){let Y=S[g-1],ut=w[g-1],Ye=ut[ut.length-1]+Y[Y.length-1].matchLength;be=w[0][0],Ee=Ye-be}let Oe=this instanceof yC;for(de=0;de<S.length;de++)_._bindings.push(new Zae(S[de],w[de],Ee,Oe)),_._bindingOffsets.push(be);return!0};Hg.prototype.eval=function(_){let{inputStream:c}=_,p=c.pos;_.pushFailuresInfo();let g=_.eval(this.expr);return _.popFailuresInfo(),g?(_.processFailure(p,this),!1):(c.pos=p,!0)};Kg.prototype.eval=function(_){let{inputStream:c}=_,p=c.pos;return _.eval(this.expr)?(c.pos=p,!0):!1};pf.prototype.eval=function(_){let c=_.currentApplication(),p=c?c.args:[],g=this.substituteParams(p),S=_.getCurrentPosInfo();if(S.isActive(g))return g.handleCycle(_);let w=g.toMemoKey(),z=S.memo[w];if(z&&S.shouldUseMemoizedResult(z)){if(_.hasNecessaryInfo(z))return _.useMemoizedResult(_.inputStream.pos,z);delete S.memo[w]}return g.reallyEval(_)};pf.prototype.handleCycle=function(_){let c=_.getCurrentPosInfo(),{currentLeftRecursion:p}=c,g=this.toMemoKey(),S=c.memo[g];return p&&p.headApplication.toMemoKey()===g?S.updateInvolvedApplicationMemoKeys():S||(S=c.memoize(g,{matchLength:0,examinedLength:0,value:!1,rightmostFailureOffset:-1}),c.startLeftRecursion(this,S)),_.useMemoizedResult(_.inputStream.pos,S)};pf.prototype.reallyEval=function(_){let{inputStream:c}=_,p=c.pos,g=_.getCurrentPosInfo(),S=_.grammar.rules[this.ruleName],{body:w}=S,{description:z}=S;_.enterApplication(g,this),z&&_.pushFailuresInfo();let ie=c.examinedLength;c.examinedLength=0;let de=this.evalOnce(w,_),be=g.currentLeftRecursion,Ee=this.toMemoKey(),Oe=be&&be.headApplication.toMemoKey()===Ee,Y;_.doNotMemoize?_.doNotMemoize=!1:Oe?(de=this.growSeedResult(w,_,p,be,de),g.endLeftRecursion(),Y=be,Y.examinedLength=c.examinedLength-p,Y.rightmostFailureOffset=_._getRightmostFailureOffset(),g.memoize(Ee,Y)):(!be||!be.isInvolved(Ee))&&(Y=g.memoize(Ee,{matchLength:c.pos-p,examinedLength:c.examinedLength-p,value:de,failuresAtRightmostPosition:_.cloneRecordedFailures(),rightmostFailureOffset:_._getRightmostFailureOffset()}));let ut=!!de;if(z&&(_.popFailuresInfo(),ut||_.processFailure(p,this),Y&&(Y.failuresAtRightmostPosition=_.cloneRecordedFailures())),_.isTracing()&&Y){let Ye=_.getTraceEntry(p,this,ut,ut?[de]:[]);Oe&&(M4(Ye.terminatingLREntry!=null||!ut),Ye.isHeadOfLeftRecursion=!0),Y.traceEntry=Ye}return c.examinedLength=Math.max(c.examinedLength,ie),_.exitApplication(g,de),ut};pf.prototype.evalOnce=function(_,c){let{inputStream:p}=c,g=p.pos;if(c.eval(_)){let S=_.getArity(),w=c._bindings.splice(c._bindings.length-S,S),z=c._bindingOffsets.splice(c._bindingOffsets.length-S,S),ie=p.pos-g;return new LFe(this.ruleName,w,z,ie)}else return!1};pf.prototype.growSeedResult=function(_,c,p,g,S){if(!S)return!1;let{inputStream:w}=c;for(;;){if(g.matchLength=w.pos-p,g.value=S,g.failuresAtRightmostPosition=c.cloneRecordedFailures(),c.isTracing()){let z=c.trace[c.trace.length-1];g.traceEntry=new RR(c.input,p,w.pos,this,!0,[S],[z.clone()])}if(w.pos=p,S=this.evalOnce(_,c),w.pos-p<=g.matchLength)break;c.isTracing()&&c.trace.splice(-2,1)}return c.isTracing()&&g.traceEntry.recordLRTermination(c.trace.pop(),S),w.pos=p+g.matchLength,g.value};ph.prototype.eval=function(_){let{inputStream:c}=_,p=c.pos,g=c.next();return g&&this.pattern.test(g)?(_.pushBinding(new Ek(g.length),p),!0):(_.processFailure(p,this),!1)};lu.prototype.getArity=My("getArity");N0.getArity=O0.getArity=dh.prototype.getArity=Zh.prototype.getArity=eg.prototype.getArity=pf.prototype.getArity=ph.prototype.getArity=function(){return 1};um.prototype.getArity=function(){return this.terms.length===0?0:this.terms[0].getArity()};qm.prototype.getArity=function(){let _=0;for(let c=0;c<this.factors.length;c++)_+=this.factors[c].getArity();return _};$g.prototype.getArity=function(){return this.expr.getArity()};Hg.prototype.getArity=function(){return 0};Kg.prototype.getArity=P0.prototype.getArity=function(){return this.expr.getArity()};function aE(_,c){let p={};if(_.source&&c){let g=_.source.relativeTo(c);p.sourceInterval=[g.startIdx,g.endIdx]}return p}lu.prototype.outputRecipe=My("outputRecipe");N0.outputRecipe=function(_,c){return["any",aE(this,c)]};O0.outputRecipe=function(_,c){return["end",aE(this,c)]};dh.prototype.outputRecipe=function(_,c){return["terminal",aE(this,c),this.obj]};Zh.prototype.outputRecipe=function(_,c){return["range",aE(this,c),this.from,this.to]};eg.prototype.outputRecipe=function(_,c){return["param",aE(this,c),this.index]};um.prototype.outputRecipe=function(_,c){return["alt",aE(this,c)].concat(this.terms.map(p=>p.outputRecipe(_,c)))};o7.prototype.outputRecipe=function(_,c){return this.terms[0].outputRecipe(_,c)};c7.prototype.outputRecipe=function(_,c){let p=this.terms.slice(0,this.expansionPos),g=this.terms.slice(this.expansionPos+1);return["splice",aE(this,c),p.map(S=>S.outputRecipe(_,c)),g.map(S=>S.outputRecipe(_,c))]};qm.prototype.outputRecipe=function(_,c){return["seq",aE(this,c)].concat(this.factors.map(p=>p.outputRecipe(_,c)))};TT.prototype.outputRecipe=Sk.prototype.outputRecipe=yC.prototype.outputRecipe=Hg.prototype.outputRecipe=Kg.prototype.outputRecipe=P0.prototype.outputRecipe=function(_,c){return[this.constructor.name.toLowerCase(),aE(this,c),this.expr.outputRecipe(_,c)]};pf.prototype.outputRecipe=function(_,c){return["app",aE(this,c),this.ruleName,this.args.map(p=>p.outputRecipe(_,c))]};ph.prototype.outputRecipe=function(_,c){return["unicodeChar",aE(this,c),this.category]};lu.prototype.introduceParams=My("introduceParams");N0.introduceParams=O0.introduceParams=dh.prototype.introduceParams=Zh.prototype.introduceParams=eg.prototype.introduceParams=ph.prototype.introduceParams=function(_){return this};um.prototype.introduceParams=function(_){return this.terms.forEach((c,p,g)=>{g[p]=c.introduceParams(_)}),this};qm.prototype.introduceParams=function(_){return this.factors.forEach((c,p,g)=>{g[p]=c.introduceParams(_)}),this};$g.prototype.introduceParams=Hg.prototype.introduceParams=Kg.prototype.introduceParams=P0.prototype.introduceParams=function(_){return this.expr=this.expr.introduceParams(_),this};pf.prototype.introduceParams=function(_){let c=_.indexOf(this.ruleName);if(c>=0){if(this.args.length>0)throw new Error("Parameterized rules cannot be passed as arguments to another rule.");return new eg(c).withSource(this.source)}else return this.args.forEach((p,g,S)=>{S[g]=p.introduceParams(_)}),this};lu.prototype.isNullable=function(_){return this._isNullable(_,Object.create(null))};lu.prototype._isNullable=My("_isNullable");N0._isNullable=Zh.prototype._isNullable=eg.prototype._isNullable=Sk.prototype._isNullable=ph.prototype._isNullable=function(_,c){return!1};O0._isNullable=function(_,c){return!0};dh.prototype._isNullable=function(_,c){return typeof this.obj=="string"?this.obj==="":!1};um.prototype._isNullable=function(_,c){return this.terms.length===0||this.terms.some(p=>p._isNullable(_,c))};qm.prototype._isNullable=function(_,c){return this.factors.every(p=>p._isNullable(_,c))};TT.prototype._isNullable=yC.prototype._isNullable=Hg.prototype._isNullable=Kg.prototype._isNullable=function(_,c){return!0};P0.prototype._isNullable=function(_,c){return this.expr._isNullable(_,c)};pf.prototype._isNullable=function(_,c){let p=this.toMemoKey();if(!Object.prototype.hasOwnProperty.call(c,p)){let{body:g}=_.rules[this.ruleName],S=g.substituteParams(this.args);c[p]=!1,c[p]=S._isNullable(_,c)}return c[p]};lu.prototype.substituteParams=My("substituteParams");N0.substituteParams=O0.substituteParams=dh.prototype.substituteParams=Zh.prototype.substituteParams=ph.prototype.substituteParams=function(_){return this};eg.prototype.substituteParams=function(_){return Glt(_[this.index])};um.prototype.substituteParams=function(_){return new um(this.terms.map(c=>c.substituteParams(_)))};qm.prototype.substituteParams=function(_){return new qm(this.factors.map(c=>c.substituteParams(_)))};$g.prototype.substituteParams=Hg.prototype.substituteParams=Kg.prototype.substituteParams=P0.prototype.substituteParams=function(_){return new this.constructor(this.expr.substituteParams(_))};pf.prototype.substituteParams=function(_){if(this.args.length===0)return this;{let c=this.args.map(p=>p.substituteParams(_));return new pf(this.ruleName,c)}};function Olt(_){return/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(_)}function WFe(_){let c=Object.create(null);_.forEach(p=>{c[p]=(c[p]||0)+1}),Object.keys(c).forEach(p=>{if(c[p]<=1)return;let g=1;_.forEach((S,w)=>{S===p&&(_[w]=S+"_"+g++)})})}lu.prototype.toArgumentNameList=My("toArgumentNameList");N0.toArgumentNameList=function(_,c){return["any"]};O0.toArgumentNameList=function(_,c){return["end"]};dh.prototype.toArgumentNameList=function(_,c){return typeof this.obj=="string"&&/^[_a-zA-Z0-9]+$/.test(this.obj)?["_"+this.obj]:["$"+_]};Zh.prototype.toArgumentNameList=function(_,c){let p=this.from+"_to_"+this.to;return Olt(p)||(p="_"+p),Olt(p)||(p="$"+_),[p]};um.prototype.toArgumentNameList=function(_,c){let p=this.terms.map(w=>w.toArgumentNameList(_,!0)),g=[],S=p[0].length;for(let w=0;w<S;w++){let z=[];for(let de=0;de<this.terms.length;de++)z.push(p[de][w]);let ie=zlt(z);g.push(ie.join("_or_"))}return c||WFe(g),g};qm.prototype.toArgumentNameList=function(_,c){let p=[];return this.factors.forEach(g=>{let S=g.toArgumentNameList(_,!0);p=p.concat(S),_+=S.length}),c||WFe(p),p};$g.prototype.toArgumentNameList=function(_,c){let p=this.expr.toArgumentNameList(_,c).map(g=>g[g.length-1]==="s"?g+"es":g+"s");return c||WFe(p),p};yC.prototype.toArgumentNameList=function(_,c){return this.expr.toArgumentNameList(_,c).map(p=>"opt"+p[0].toUpperCase()+p.slice(1))};Hg.prototype.toArgumentNameList=function(_,c){return[]};Kg.prototype.toArgumentNameList=P0.prototype.toArgumentNameList=function(_,c){return this.expr.toArgumentNameList(_,c)};pf.prototype.toArgumentNameList=function(_,c){return[this.ruleName]};ph.prototype.toArgumentNameList=function(_,c){return["$"+_]};eg.prototype.toArgumentNameList=function(_,c){return["param"+this.index]};lu.prototype.toDisplayString=My("toDisplayString");um.prototype.toDisplayString=qm.prototype.toDisplayString=function(){return this.source?this.source.trimmed().contents:"["+this.constructor.name+"]"};N0.toDisplayString=O0.toDisplayString=$g.prototype.toDisplayString=Hg.prototype.toDisplayString=Kg.prototype.toDisplayString=P0.prototype.toDisplayString=dh.prototype.toDisplayString=Zh.prototype.toDisplayString=eg.prototype.toDisplayString=function(){return this.toString()};pf.prototype.toDisplayString=function(){if(this.args.length>0){let _=this.args.map(c=>c.toDisplayString());return this.ruleName+"<"+_.join(",")+">"}else return this.ruleName};ph.prototype.toDisplayString=function(){return"Unicode ["+this.category+"] character"};function jor(_){return _==="description"||_==="string"||_==="code"}var $v=class _{constructor(c,p,g){if(!jor(g))throw new Error("invalid Failure type: "+g);this.pexpr=c,this.text=p,this.type=g,this.fluffy=!1}getPExpr(){return this.pexpr}getText(){return this.text}getType(){return this.type}isDescription(){return this.type==="description"}isStringTerminal(){return this.type==="string"}isCode(){return this.type==="code"}isFluffy(){return this.fluffy}makeFluffy(){this.fluffy=!0}clearFluffy(){this.fluffy=!1}subsumes(c){return this.getText()===c.getText()&&this.type===c.type&&(!this.isFluffy()||this.isFluffy()&&c.isFluffy())}toString(){return this.type==="string"?JSON.stringify(this.getText()):this.getText()}clone(){let c=new _(this.pexpr,this.text,this.type);return this.isFluffy()&&c.makeFluffy(),c}toKey(){return this.toString()+"#"+this.type}};lu.prototype.toFailure=My("toFailure");N0.toFailure=function(_){return new $v(this,"any object","description")};O0.toFailure=function(_){return new $v(this,"end of input","description")};dh.prototype.toFailure=function(_){return new $v(this,this.obj,"string")};Zh.prototype.toFailure=function(_){return new $v(this,JSON.stringify(this.from)+".."+JSON.stringify(this.to),"code")};Hg.prototype.toFailure=function(_){let c=this.expr===N0?"nothing":"not "+this.expr.toFailure(_);return new $v(this,c,"description")};Kg.prototype.toFailure=function(_){return this.expr.toFailure(_)};pf.prototype.toFailure=function(_){let{description:c}=_.rules[this.ruleName];return c||(c=(/^[aeiouAEIOU]/.test(this.ruleName)?"an":"a")+" "+this.ruleName),new $v(this,c,"description")};ph.prototype.toFailure=function(_){return new $v(this,"a Unicode ["+this.category+"] character","description")};um.prototype.toFailure=function(_){let p="("+this.terms.map(g=>g.toFailure(_)).join(" or ")+")";return new $v(this,p,"description")};qm.prototype.toFailure=function(_){let p="("+this.factors.map(g=>g.toFailure(_)).join(" ")+")";return new $v(this,p,"description")};$g.prototype.toFailure=function(_){let c="("+this.expr.toFailure(_)+this.operator+")";return new $v(this,c,"description")};lu.prototype.toString=My("toString");N0.toString=function(){return"any"};O0.toString=function(){return"end"};dh.prototype.toString=function(){return JSON.stringify(this.obj)};Zh.prototype.toString=function(){return JSON.stringify(this.from)+".."+JSON.stringify(this.to)};eg.prototype.toString=function(){return"$"+this.index};P0.prototype.toString=function(){return"#("+this.expr.toString()+")"};um.prototype.toString=function(){return this.terms.length===1?this.terms[0].toString():"("+this.terms.map(_=>_.toString()).join(" | ")+")"};qm.prototype.toString=function(){return this.factors.length===1?this.factors[0].toString():"("+this.factors.map(_=>_.toString()).join(" ")+")"};$g.prototype.toString=function(){return this.expr+this.operator};Hg.prototype.toString=function(){return"~"+this.expr};Kg.prototype.toString=function(){return"&"+this.expr};pf.prototype.toString=function(){if(this.args.length>0){let _=this.args.map(c=>c.toString());return this.ruleName+"<"+_.join(",")+">"}else return this.ruleName};ph.prototype.toString=function(){return"\\p{"+this.category+"}"};var eoe=class _ extends lu{constructor(c){super(),this.obj=c}_getString(c){let p=c.currentApplication().args[this.obj.index];return M4(p instanceof dh,"expected a Terminal expression"),p.obj}allowsSkippingPrecedingSpace(){return!0}eval(c){let{inputStream:p}=c,g=p.pos,S=this._getString(c);return p.matchString(S,!0)?(c.pushBinding(new Ek(S.length),g),!0):(c.processFailure(g,this),!1)}getArity(){return 1}substituteParams(c){return new _(this.obj.substituteParams(c))}toDisplayString(){return this.obj.toDisplayString()+" (case-insensitive)"}toFailure(c){return new $v(this,this.obj.toFailure(c)+" (case-insensitive)","description")}_isNullable(c,p){return this.obj._isNullable(c,p)}},Jor=Object.freeze({__proto__:null,CaseInsensitiveTerminal:eoe,PExpr:lu,any:N0,end:O0,Terminal:dh,Range:Zh,Param:eg,Alt:um,Extend:o7,Splice:c7,Seq:qm,Iter:$g,Star:TT,Plus:Sk,Opt:yC,Not:Hg,Lookahead:Kg,Lex:P0,Apply:pf,UnicodeChar:ph}),Zlt;Xlt(_=>{Zlt=_.rules.applySyntactic.body});var AFe=new pf("spaces"),RFe=class{constructor(c,p,g){this.matcher=c,this.startExpr=p,this.grammar=c.grammar,this.input=c.getInput(),this.inputStream=new LR(this.input),this.memoTable=c._memoTable,this.userData=void 0,this.doNotMemoize=!1,this._bindings=[],this._bindingOffsets=[],this._applicationStack=[],this._posStack=[0],this.inLexifiedContextStack=[!1],this.rightmostFailurePosition=-1,this._rightmostFailurePositionStack=[],this._recordedFailuresStack=[],g!==void 0&&(this.positionToRecordFailures=g,this.recordedFailures=Object.create(null))}posToOffset(c){return c-this._posStack[this._posStack.length-1]}enterApplication(c,p){this._posStack.push(this.inputStream.pos),this._applicationStack.push(p),this.inLexifiedContextStack.push(!1),c.enter(p),this._rightmostFailurePositionStack.push(this.rightmostFailurePosition),this.rightmostFailurePosition=-1}exitApplication(c,p){let g=this._posStack.pop();this._applicationStack.pop(),this.inLexifiedContextStack.pop(),c.exit(),this.rightmostFailurePosition=Math.max(this.rightmostFailurePosition,this._rightmostFailurePositionStack.pop()),p&&this.pushBinding(p,g)}enterLexifiedContext(){this.inLexifiedContextStack.push(!0)}exitLexifiedContext(){this.inLexifiedContextStack.pop()}currentApplication(){return this._applicationStack[this._applicationStack.length-1]}inSyntacticContext(){let c=this.currentApplication();return c?c.isSyntactic()&&!this.inLexifiedContext():this.startExpr.factors[0].isSyntactic()}inLexifiedContext(){return this.inLexifiedContextStack[this.inLexifiedContextStack.length-1]}skipSpaces(){return this.pushFailuresInfo(),this.eval(AFe),this.popBinding(),this.popFailuresInfo(),this.inputStream.pos}skipSpacesIfInSyntacticContext(){return this.inSyntacticContext()?this.skipSpaces():this.inputStream.pos}maybeSkipSpacesBefore(c){return c.allowsSkippingPrecedingSpace()&&c!==AFe?this.skipSpacesIfInSyntacticContext():this.inputStream.pos}pushBinding(c,p){this._bindings.push(c),this._bindingOffsets.push(this.posToOffset(p))}popBinding(){this._bindings.pop(),this._bindingOffsets.pop()}numBindings(){return this._bindings.length}truncateBindings(c){for(;this._bindings.length>c;)this.popBinding()}getCurrentPosInfo(){return this.getPosInfo(this.inputStream.pos)}getPosInfo(c){let p=this.memoTable[c];return p||(p=this.memoTable[c]=new NFe),p}processFailure(c,p){if(this.rightmostFailurePosition=Math.max(this.rightmostFailurePosition,c),this.recordedFailures&&c===this.positionToRecordFailures){let g=this.currentApplication();g&&(p=p.substituteParams(g.args)),this.recordFailure(p.toFailure(this.grammar),!1)}}recordFailure(c,p){let g=c.toKey();this.recordedFailures[g]?this.recordedFailures[g].isFluffy()&&!c.isFluffy()&&this.recordedFailures[g].clearFluffy():this.recordedFailures[g]=p?c.clone():c}recordFailures(c,p){Object.keys(c).forEach(g=>{this.recordFailure(c[g],p)})}cloneRecordedFailures(){if(!this.recordedFailures)return;let c=Object.create(null);return Object.keys(this.recordedFailures).forEach(p=>{c[p]=this.recordedFailures[p].clone()}),c}getRightmostFailurePosition(){return this.rightmostFailurePosition}_getRightmostFailureOffset(){return this.rightmostFailurePosition>=0?this.posToOffset(this.rightmostFailurePosition):-1}getMemoizedTraceEntry(c,p){let g=this.memoTable[c];if(g&&p instanceof pf){let S=g.memo[p.toMemoKey()];if(S&&S.traceEntry){let w=S.traceEntry.cloneWithExpr(p);return w.isMemoized=!0,w}}return null}getTraceEntry(c,p,g,S){if(p instanceof pf){let w=this.currentApplication(),z=w?w.args:[];p=p.substituteParams(z)}return this.getMemoizedTraceEntry(c,p)||new RR(this.input,c,this.inputStream.pos,p,g,S,this.trace)}isTracing(){return!!this.trace}hasNecessaryInfo(c){return this.trace&&!c.traceEntry?!1:this.recordedFailures&&this.inputStream.pos+c.rightmostFailureOffset===this.positionToRecordFailures?!!c.failuresAtRightmostPosition:!0}useMemoizedResult(c,p){this.trace&&this.trace.push(p.traceEntry);let g=this.inputStream.pos+p.rightmostFailureOffset;return this.rightmostFailurePosition=Math.max(this.rightmostFailurePosition,g),this.recordedFailures&&this.positionToRecordFailures===g&&p.failuresAtRightmostPosition&&this.recordFailures(p.failuresAtRightmostPosition,!0),this.inputStream.examinedLength=Math.max(this.inputStream.examinedLength,p.examinedLength+c),p.value?(this.inputStream.pos+=p.matchLength,this.pushBinding(p.value,c),!0):!1}eval(c){let{inputStream:p}=this,g=this._bindings.length,S=this.userData,w;this.recordedFailures&&(w=this.recordedFailures,this.recordedFailures=Object.create(null));let z=p.pos,ie=this.maybeSkipSpacesBefore(c),de;this.trace&&(de=this.trace,this.trace=[]);let be=c.eval(this);if(this.trace){let Ee=this._bindings.slice(g),Oe=this.getTraceEntry(ie,c,be,Ee);Oe.isImplicitSpaces=c===AFe,Oe.isRootNode=c===this.startExpr,de.push(Oe),this.trace=de}return be?this.recordedFailures&&p.pos===this.positionToRecordFailures&&Object.keys(this.recordedFailures).forEach(Ee=>{this.recordedFailures[Ee].makeFluffy()}):(p.pos=z,this.truncateBindings(g),this.userData=S),this.recordedFailures&&this.recordFailures(w,!1),c===Zlt&&this.skipSpaces(),be}getMatchResult(){this.grammar._setUpMatchState(this),this.eval(this.startExpr);let c;this.recordedFailures&&(c=Object.keys(this.recordedFailures).map(g=>this.recordedFailures[g]));let p=this._bindings[0];return p&&(p.grammar=this.grammar),new Xae(this.matcher,this.input,this.startExpr,p,this._bindingOffsets[0],this.rightmostFailurePosition,c)}getTrace(){this.trace=[];let c=this.getMatchResult(),p=this.trace[this.trace.length-1];return p.result=c,p}pushFailuresInfo(){this._rightmostFailurePositionStack.push(this.rightmostFailurePosition),this._recordedFailuresStack.push(this.recordedFailures)}popFailuresInfo(){this.rightmostFailurePosition=this._rightmostFailurePositionStack.pop(),this.recordedFailures=this._recordedFailuresStack.pop()}},MFe=class{constructor(c){this.grammar=c,this._memoTable=[],this._input="",this._isMemoTableStale=!1}_resetMemoTable(){this._memoTable=[],this._isMemoTableStale=!1}getInput(){return this._input}setInput(c){return this._input!==c&&this.replaceInputRange(0,this._input.length,c),this}replaceInputRange(c,p,g){let S=this._input,w=this._memoTable;if(c<0||c>S.length||p<0||p>S.length||c>p)throw new Error("Invalid indices: "+c+" and "+p);this._input=S.slice(0,c)+g+S.slice(p),this._input!==S&&w.length>0&&(this._isMemoTableStale=!0);let z=w.slice(p);w.length=c;for(let ie=0;ie<g.length;ie++)w.push(void 0);for(let ie of z)w.push(ie);for(let ie=0;ie<c;ie++){let de=w[ie];de&&de.clearObsoleteEntries(ie,c)}return this}match(c,p={incremental:!0}){return this._match(this._getStartExpr(c),{incremental:p.incremental,tracing:!1})}trace(c,p={incremental:!0}){return this._match(this._getStartExpr(c),{incremental:p.incremental,tracing:!0})}_match(c,p={}){let g={tracing:!1,incremental:!0,positionToRecordFailures:void 0,...p};if(!g.incremental)this._resetMemoTable();else if(this._isMemoTableStale&&!this.grammar.supportsIncrementalParsing)throw _or(this.grammar);let S=new RFe(this,c,g.positionToRecordFailures);return g.tracing?S.getTrace():S.getMatchResult()}_getStartExpr(c){let p=c||this.grammar.defaultStartRule;if(!p)throw new Error("Missing start rule argument -- the grammar has no default start rule.");let g=this.grammar.parseApplication(p);return new qm([g,O0])}},XV=[],BFe=(_,c)=>Object.prototype.hasOwnProperty.call(_,c),toe=class{constructor(c,p,g){this._node=c,this.source=p,this._baseInterval=g,c.isNonterminal()&&M4(p===g),this._childWrappers=[]}_forgetMemoizedResultFor(c){delete this._node[this._semantics.attributeKeys[c]],this.children.forEach(p=>{p._forgetMemoizedResultFor(c)})}child(c){if(!(0<=c&&c<this._node.numChildren()))return;let p=this._childWrappers[c];if(!p){let g=this._node.childAt(c),S=this._node.childOffsets[c],w=this._baseInterval.subInterval(S,g.matchLength),z=g.isNonterminal()?w:this._baseInterval;p=this._childWrappers[c]=this._semantics.wrap(g,w,z)}return p}_children(){for(let c=0;c<this._node.numChildren();c++)this.child(c);return this._childWrappers}isIteration(){return this._node.isIteration()}isTerminal(){return this._node.isTerminal()}isNonterminal(){return this._node.isNonterminal()}isSyntactic(){return this.isNonterminal()&&this._node.isSyntactic()}isLexical(){return this.isNonterminal()&&this._node.isLexical()}isOptional(){return this._node.isOptional()}iteration(c){let p=c||[],g=p.map(z=>z._node),S=new Zae(g,[],-1,!1),w=this._semantics.wrap(S,null,null);return w._childWrappers=p,w}get children(){return this._children()}get ctorName(){return this._node.ctorName}get numChildren(){return this._node.numChildren()}get sourceString(){return this.source.contents}},Vv=class _{constructor(c,p){let g=this;if(this.grammar=c,this.checkedActionDicts=!1,this.Wrapper=class extends(p?p.Wrapper:toe){constructor(S,w,z){super(S,w,z),g.checkActionDictsIfHaventAlready(),this._semantics=g}toString(){return"[semantics wrapper for "+g.grammar.name+"]"}},this.super=p,p){if(!(c.equals(this.super.grammar)||c._inheritsFrom(this.super.grammar)))throw new Error("Cannot extend a semantics for grammar '"+this.super.grammar.name+"' for use with grammar '"+c.name+"' (not a sub-grammar)");this.operations=Object.create(this.super.operations),this.attributes=Object.create(this.super.attributes),this.attributeKeys=Object.create(null);for(let S in this.attributes)Object.defineProperty(this.attributeKeys,S,{value:Nlt(S)})}else this.operations=Object.create(null),this.attributes=Object.create(null),this.attributeKeys=Object.create(null)}toString(){return"[semantics for "+this.grammar.name+"]"}checkActionDictsIfHaventAlready(){this.checkedActionDicts||(this.checkActionDicts(),this.checkedActionDicts=!0)}checkActionDicts(){let c;for(c in this.operations)this.operations[c].checkActionDict(this.grammar);for(c in this.attributes)this.attributes[c].checkActionDict(this.grammar)}toRecipe(c){function p(S){return S.super!==_.BuiltInSemantics._getSemantics()}let g=`(function(g) {
24
+ `;if(p(this)){g+=" var semantics = "+this.super.toRecipe(!0)+"(g";let S=this.super.grammar,w=this.grammar;for(;w!==S;)g+=".superGrammar",w=w.superGrammar;g+=`);
25
+ `,g+=" return g.extendSemantics(semantics)"}else g+=" return g.createSemantics()";return["Operation","Attribute"].forEach(S=>{let w=this[S.toLowerCase()+"s"];Object.keys(w).forEach(z=>{let{actionDict:ie,formals:de,builtInDefault:be}=w[z],Ee=z;de.length>0&&(Ee+="("+de.join(", ")+")");let Oe;p(this)&&this.super[S.toLowerCase()+"s"][z]?Oe="extend"+S:Oe="add"+S,g+=`
26
26
  .`+Oe+"("+JSON.stringify(Ee)+", {";let Y=[];Object.keys(ie).forEach(ut=>{if(ie[ut]!==be){let Ye=ie[ut].toString().trim();Ye=Ye.replace(/^.*\(/,"function("),Y.push(`
27
27
  `+JSON.stringify(ut)+": "+Ye)}}),g+=Y.join(",")+`
28
28
  })`})}),g+=`;
@@ -31,11 +31,11 @@ NOTE: as of Ohm v16, there is no default action for iteration nodes \u2014 see `
31
31
  var semantics = `+g+`(grammar);
32
32
  return semantics;
33
33
  });
34
- `),g}addOperationOrAttribute(c,_,g){let S=c+"s",w=Llt(_,c),{name:z}=w,{formals:ie}=w;this.assertNewName(z,c);let de=qor(c,z,Oe),be={_default:de};Object.keys(g).forEach(Y=>{be[Y]=g[Y]});let Ee=c==="operation"?new l7(z,ie,be,de):new ZV(z,be,de);Ee.checkActionDict(this.grammar),this[S][z]=Ee;function Oe(...Y){let ut=this._semantics[S][z];if(arguments.length!==ut.formals.length)throw new Error("Invalid number of arguments passed to "+z+" "+c+" (expected "+ut.formals.length+", got "+arguments.length+")");let Ye=Object.create(null);for(let[_r,Hr]of Object.entries(Y)){let On=ut.formals[_r];Ye[On]=Hr}let We=this.args;this.args=Ye;let Ut=ut.execute(this._semantics,this);return this.args=We,Ut}c==="operation"?(this.Wrapper.prototype[z]=Oe,this.Wrapper.prototype[z].toString=function(){return"["+z+" operation]"}):(Object.defineProperty(this.Wrapper.prototype,z,{get:Oe,configurable:!0}),Object.defineProperty(this.attributeKeys,z,{value:Nlt(z)}))}extendOperationOrAttribute(c,_,g){let S=c+"s";if(Llt(_,"attribute"),!(this.super&&_ in this.super[S]))throw new Error("Cannot extend "+c+" '"+_+"': did not inherit an "+c+" with that name");if(BFe(this[S],_))throw new Error("Cannot extend "+c+" '"+_+"' again");let w=this[S][_].formals,z=this[S][_].actionDict,ie=Object.create(z);Object.keys(g).forEach(de=>{ie[de]=g[de]}),this[S][_]=c==="operation"?new l7(_,w,ie):new ZV(_,ie),this[S][_].checkActionDict(this.grammar)}assertNewName(c,_){if(BFe(toe.prototype,c))throw new Error("Cannot add "+_+" '"+c+"': that's a reserved name");if(c in this.operations)throw new Error("Cannot add "+_+" '"+c+"': an operation with that name already exists");if(c in this.attributes)throw new Error("Cannot add "+_+" '"+c+"': an attribute with that name already exists")}wrap(c,_,g){let S=g||_;return c instanceof this.Wrapper?c:new this.Wrapper(c,_,S)}};function Llt(p,c){if(!Vv.prototypeGrammar)return M4(p.indexOf("(")===-1),{name:p,formals:[]};let _=Vv.prototypeGrammar.match(p,c==="operation"?"OperationSignature":"AttributeSignature");if(_.failed())throw new Error(_.message);return Vv.prototypeGrammarSemantics(_).parse()}function qor(p,c,_){return function(...g){let w=(this._semantics.operations[c]||this._semantics.attributes[c]).formals.map(z=>this.args[z]);if(!this.isIteration()&&g.length===1)return _.apply(g[0],w);throw Eor(this.ctorName,c,p,XV)}}Vv.createSemantics=function(p,c){let _=new Vv(p,c!==void 0?c:Vv.BuiltInSemantics._getSemantics()),g=function(w){if(!(w instanceof Xae))throw new TypeError("Semantics expected a MatchResult, but got "+JFe(w));if(w.failed())throw new TypeError("cannot apply Semantics to "+w.toString());let z=w._cst;if(z.grammar!==p)throw new Error("Cannot use a MatchResult from grammar '"+z.grammar.name+"' with a semantics for '"+p.name+"'");let ie=new LR(w.input);return _.wrap(z,ie.interval(w._cstOffset,w.input.length))};return g.addOperation=function(S,w){return _.addOperationOrAttribute("operation",S,w),g},g.extendOperation=function(S,w){return _.extendOperationOrAttribute("operation",S,w),g},g.addAttribute=function(S,w){return _.addOperationOrAttribute("attribute",S,w),g},g.extendAttribute=function(S,w){return _.extendOperationOrAttribute("attribute",S,w),g},g._getActionDict=function(S){let w=_.operations[S]||_.attributes[S];if(!w)throw new Error('"'+S+'" is not a valid operation or attribute name in this semantics for "'+p.name+'"');return w.actionDict},g._remove=function(S){let w;return S in _.operations?(w=_.operations[S],delete _.operations[S]):S in _.attributes&&(w=_.attributes[S],delete _.attributes[S]),delete _.Wrapper.prototype[S],w},g.getOperationNames=function(){return Object.keys(_.operations)},g.getAttributeNames=function(){return Object.keys(_.attributes)},g.getGrammar=function(){return _.grammar},g.toRecipe=function(S){return _.toRecipe(S)},g.toString=_.toString.bind(_),g._getSemantics=function(){return _},g};var l7=class{constructor(c,_,g,S){this.name=c,this.formals=_,this.actionDict=g,this.builtInDefault=S}checkActionDict(c){c._checkTopDownActionDict(this.typeName,this.name,this.actionDict)}execute(c,_){try{let{ctorName:g}=_._node,S=this.actionDict[g];return S?(XV.push([this,g]),S.apply(_,_._children())):_.isNonterminal()&&(S=this.actionDict._nonterminal,S)?(XV.push([this,"_nonterminal",g]),S.apply(_,_._children())):(XV.push([this,"default action",g]),this.actionDict._default.apply(_,_._children()))}finally{XV.pop()}}};l7.prototype.typeName="operation";var ZV=class extends l7{constructor(c,_,g){super(c,[],_,g)}execute(c,_){let g=_._node,S=c.attributeKeys[this.name];return BFe(g,S)||(g[S]=l7.prototype.execute.call(this,c,_)),g[S]}};ZV.prototype.typeName="attribute";var Rlt=["_iter","_terminal","_nonterminal","_default"];function Mlt(p){return Object.keys(p.rules).sort().map(c=>p.rules[c])}var zor=p=>p.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"),eft,tft,Gv=class p{constructor(c,_,g,S){if(this.name=c,this.superGrammar=_,this.rules=g,S){if(!(S in g))throw new Error("Invalid start rule: '"+S+"' is not a rule in grammar '"+c+"'");this.defaultStartRule=S}this._matchStateInitializer=void 0,this.supportsIncrementalParsing=!0}matcher(){return new MFe(this)}isBuiltIn(){return this===p.ProtoBuiltInRules||this===p.BuiltInRules}equals(c){if(this===c)return!0;if(c==null||this.name!==c.name||this.defaultStartRule!==c.defaultStartRule||!(this.superGrammar===c.superGrammar||this.superGrammar.equals(c.superGrammar)))return!1;let _=Mlt(this),g=Mlt(c);return _.length===g.length&&_.every((S,w)=>S.description===g[w].description&&S.formals.join(",")===g[w].formals.join(",")&&S.body.toString()===g[w].body.toString())}match(c,_){let g=this.matcher();return g.replaceInputRange(0,0,c),g.match(_)}trace(c,_){let g=this.matcher();return g.replaceInputRange(0,0,c),g.trace(_)}createSemantics(){return Vv.createSemantics(this)}extendSemantics(c){return Vv.createSemantics(this,c._getSemantics())}_checkTopDownActionDict(c,_,g){let S=[];for(let w in g){let z=g[w];if(!Rlt.includes(w)&&!(w in this.rules)){S.push(`'${w}' is not a valid semantic action for '${this.name}'`);continue}if(typeof z!="function"){S.push(`'${w}' must be a function in an action dictionary for '${this.name}'`);continue}let de=z.length,be=this._topDownActionArity(w);if(de!==be){let Ee;w==="_iter"||w==="_nonterminal"?Ee=`it should use a rest parameter, e.g. \`${w}(...children) {}\`. NOTE: this is new in Ohm v16 \u2014 see https://ohmjs.org/d/ati for details.`:Ee=`expected ${be}, got ${de}`,S.push(`Semantic action '${w}' has the wrong arity: ${Ee}`)}}if(S.length>0){let w=S.map(ie=>"- "+ie),z=new Error([`Found errors in the action dictionary of the '${_}' ${c}:`,...w].join(`
35
- `));throw z.problems=S,z}}_topDownActionArity(c){return Rlt.includes(c)?0:this.rules[c].body.getArity()}_inheritsFrom(c){let _=this.superGrammar;for(;_;){if(_.equals(c,!0))return!0;_=_.superGrammar}return!1}toRecipe(c=void 0){let _={};this.source&&(_.source=this.source.contents);let g=null;this.defaultStartRule&&(g=this.defaultStartRule);let S={};Object.keys(this.rules).forEach(ie=>{let de=this.rules[ie],{body:be}=de,Ee=!this.superGrammar||!this.superGrammar.rules[ie],Oe;Ee?Oe="define":Oe=be instanceof o7?"extend":"override";let Y={};if(de.source&&this.source){let We=de.source.relativeTo(this.source);Y.sourceInterval=[We.startIdx,We.endIdx]}let ut=Ee?de.description:null,Ye=be.outputRecipe(de.formals,this.source);S[ie]=[Oe,Y,ut,de.formals,Ye]});let w="null";c?w=c:this.superGrammar&&!this.superGrammar.isBuiltIn()&&(w=this.superGrammar.toRecipe());let z=[...["grammar",_,this.name].map(JSON.stringify),w,...[g,S].map(JSON.stringify)];return zor(`[${z.join(",")}]`)}toOperationActionDictionaryTemplate(){return this._toOperationOrAttributeActionDictionaryTemplate()}toAttributeActionDictionaryTemplate(){return this._toOperationOrAttributeActionDictionaryTemplate()}_toOperationOrAttributeActionDictionaryTemplate(){let c=new f7;c.append("{");let _=!0;for(let g in this.rules){let{body:S}=this.rules[g];_?_=!1:c.append(","),c.append(`
34
+ `),g}addOperationOrAttribute(c,p,g){let S=c+"s",w=Llt(p,c),{name:z}=w,{formals:ie}=w;this.assertNewName(z,c);let de=qor(c,z,Oe),be={_default:de};Object.keys(g).forEach(Y=>{be[Y]=g[Y]});let Ee=c==="operation"?new l7(z,ie,be,de):new ZV(z,be,de);Ee.checkActionDict(this.grammar),this[S][z]=Ee;function Oe(...Y){let ut=this._semantics[S][z];if(arguments.length!==ut.formals.length)throw new Error("Invalid number of arguments passed to "+z+" "+c+" (expected "+ut.formals.length+", got "+arguments.length+")");let Ye=Object.create(null);for(let[_r,Hr]of Object.entries(Y)){let On=ut.formals[_r];Ye[On]=Hr}let We=this.args;this.args=Ye;let Ut=ut.execute(this._semantics,this);return this.args=We,Ut}c==="operation"?(this.Wrapper.prototype[z]=Oe,this.Wrapper.prototype[z].toString=function(){return"["+z+" operation]"}):(Object.defineProperty(this.Wrapper.prototype,z,{get:Oe,configurable:!0}),Object.defineProperty(this.attributeKeys,z,{value:Nlt(z)}))}extendOperationOrAttribute(c,p,g){let S=c+"s";if(Llt(p,"attribute"),!(this.super&&p in this.super[S]))throw new Error("Cannot extend "+c+" '"+p+"': did not inherit an "+c+" with that name");if(BFe(this[S],p))throw new Error("Cannot extend "+c+" '"+p+"' again");let w=this[S][p].formals,z=this[S][p].actionDict,ie=Object.create(z);Object.keys(g).forEach(de=>{ie[de]=g[de]}),this[S][p]=c==="operation"?new l7(p,w,ie):new ZV(p,ie),this[S][p].checkActionDict(this.grammar)}assertNewName(c,p){if(BFe(toe.prototype,c))throw new Error("Cannot add "+p+" '"+c+"': that's a reserved name");if(c in this.operations)throw new Error("Cannot add "+p+" '"+c+"': an operation with that name already exists");if(c in this.attributes)throw new Error("Cannot add "+p+" '"+c+"': an attribute with that name already exists")}wrap(c,p,g){let S=g||p;return c instanceof this.Wrapper?c:new this.Wrapper(c,p,S)}};function Llt(_,c){if(!Vv.prototypeGrammar)return M4(_.indexOf("(")===-1),{name:_,formals:[]};let p=Vv.prototypeGrammar.match(_,c==="operation"?"OperationSignature":"AttributeSignature");if(p.failed())throw new Error(p.message);return Vv.prototypeGrammarSemantics(p).parse()}function qor(_,c,p){return function(...g){let w=(this._semantics.operations[c]||this._semantics.attributes[c]).formals.map(z=>this.args[z]);if(!this.isIteration()&&g.length===1)return p.apply(g[0],w);throw Eor(this.ctorName,c,_,XV)}}Vv.createSemantics=function(_,c){let p=new Vv(_,c!==void 0?c:Vv.BuiltInSemantics._getSemantics()),g=function(w){if(!(w instanceof Xae))throw new TypeError("Semantics expected a MatchResult, but got "+JFe(w));if(w.failed())throw new TypeError("cannot apply Semantics to "+w.toString());let z=w._cst;if(z.grammar!==_)throw new Error("Cannot use a MatchResult from grammar '"+z.grammar.name+"' with a semantics for '"+_.name+"'");let ie=new LR(w.input);return p.wrap(z,ie.interval(w._cstOffset,w.input.length))};return g.addOperation=function(S,w){return p.addOperationOrAttribute("operation",S,w),g},g.extendOperation=function(S,w){return p.extendOperationOrAttribute("operation",S,w),g},g.addAttribute=function(S,w){return p.addOperationOrAttribute("attribute",S,w),g},g.extendAttribute=function(S,w){return p.extendOperationOrAttribute("attribute",S,w),g},g._getActionDict=function(S){let w=p.operations[S]||p.attributes[S];if(!w)throw new Error('"'+S+'" is not a valid operation or attribute name in this semantics for "'+_.name+'"');return w.actionDict},g._remove=function(S){let w;return S in p.operations?(w=p.operations[S],delete p.operations[S]):S in p.attributes&&(w=p.attributes[S],delete p.attributes[S]),delete p.Wrapper.prototype[S],w},g.getOperationNames=function(){return Object.keys(p.operations)},g.getAttributeNames=function(){return Object.keys(p.attributes)},g.getGrammar=function(){return p.grammar},g.toRecipe=function(S){return p.toRecipe(S)},g.toString=p.toString.bind(p),g._getSemantics=function(){return p},g};var l7=class{constructor(c,p,g,S){this.name=c,this.formals=p,this.actionDict=g,this.builtInDefault=S}checkActionDict(c){c._checkTopDownActionDict(this.typeName,this.name,this.actionDict)}execute(c,p){try{let{ctorName:g}=p._node,S=this.actionDict[g];return S?(XV.push([this,g]),S.apply(p,p._children())):p.isNonterminal()&&(S=this.actionDict._nonterminal,S)?(XV.push([this,"_nonterminal",g]),S.apply(p,p._children())):(XV.push([this,"default action",g]),this.actionDict._default.apply(p,p._children()))}finally{XV.pop()}}};l7.prototype.typeName="operation";var ZV=class extends l7{constructor(c,p,g){super(c,[],p,g)}execute(c,p){let g=p._node,S=c.attributeKeys[this.name];return BFe(g,S)||(g[S]=l7.prototype.execute.call(this,c,p)),g[S]}};ZV.prototype.typeName="attribute";var Rlt=["_iter","_terminal","_nonterminal","_default"];function Mlt(_){return Object.keys(_.rules).sort().map(c=>_.rules[c])}var zor=_=>_.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"),eft,tft,Gv=class _{constructor(c,p,g,S){if(this.name=c,this.superGrammar=p,this.rules=g,S){if(!(S in g))throw new Error("Invalid start rule: '"+S+"' is not a rule in grammar '"+c+"'");this.defaultStartRule=S}this._matchStateInitializer=void 0,this.supportsIncrementalParsing=!0}matcher(){return new MFe(this)}isBuiltIn(){return this===_.ProtoBuiltInRules||this===_.BuiltInRules}equals(c){if(this===c)return!0;if(c==null||this.name!==c.name||this.defaultStartRule!==c.defaultStartRule||!(this.superGrammar===c.superGrammar||this.superGrammar.equals(c.superGrammar)))return!1;let p=Mlt(this),g=Mlt(c);return p.length===g.length&&p.every((S,w)=>S.description===g[w].description&&S.formals.join(",")===g[w].formals.join(",")&&S.body.toString()===g[w].body.toString())}match(c,p){let g=this.matcher();return g.replaceInputRange(0,0,c),g.match(p)}trace(c,p){let g=this.matcher();return g.replaceInputRange(0,0,c),g.trace(p)}createSemantics(){return Vv.createSemantics(this)}extendSemantics(c){return Vv.createSemantics(this,c._getSemantics())}_checkTopDownActionDict(c,p,g){let S=[];for(let w in g){let z=g[w];if(!Rlt.includes(w)&&!(w in this.rules)){S.push(`'${w}' is not a valid semantic action for '${this.name}'`);continue}if(typeof z!="function"){S.push(`'${w}' must be a function in an action dictionary for '${this.name}'`);continue}let de=z.length,be=this._topDownActionArity(w);if(de!==be){let Ee;w==="_iter"||w==="_nonterminal"?Ee=`it should use a rest parameter, e.g. \`${w}(...children) {}\`. NOTE: this is new in Ohm v16 \u2014 see https://ohmjs.org/d/ati for details.`:Ee=`expected ${be}, got ${de}`,S.push(`Semantic action '${w}' has the wrong arity: ${Ee}`)}}if(S.length>0){let w=S.map(ie=>"- "+ie),z=new Error([`Found errors in the action dictionary of the '${p}' ${c}:`,...w].join(`
35
+ `));throw z.problems=S,z}}_topDownActionArity(c){return Rlt.includes(c)?0:this.rules[c].body.getArity()}_inheritsFrom(c){let p=this.superGrammar;for(;p;){if(p.equals(c,!0))return!0;p=p.superGrammar}return!1}toRecipe(c=void 0){let p={};this.source&&(p.source=this.source.contents);let g=null;this.defaultStartRule&&(g=this.defaultStartRule);let S={};Object.keys(this.rules).forEach(ie=>{let de=this.rules[ie],{body:be}=de,Ee=!this.superGrammar||!this.superGrammar.rules[ie],Oe;Ee?Oe="define":Oe=be instanceof o7?"extend":"override";let Y={};if(de.source&&this.source){let We=de.source.relativeTo(this.source);Y.sourceInterval=[We.startIdx,We.endIdx]}let ut=Ee?de.description:null,Ye=be.outputRecipe(de.formals,this.source);S[ie]=[Oe,Y,ut,de.formals,Ye]});let w="null";c?w=c:this.superGrammar&&!this.superGrammar.isBuiltIn()&&(w=this.superGrammar.toRecipe());let z=[...["grammar",p,this.name].map(JSON.stringify),w,...[g,S].map(JSON.stringify)];return zor(`[${z.join(",")}]`)}toOperationActionDictionaryTemplate(){return this._toOperationOrAttributeActionDictionaryTemplate()}toAttributeActionDictionaryTemplate(){return this._toOperationOrAttributeActionDictionaryTemplate()}_toOperationOrAttributeActionDictionaryTemplate(){let c=new f7;c.append("{");let p=!0;for(let g in this.rules){let{body:S}=this.rules[g];p?p=!1:c.append(","),c.append(`
36
36
  `),c.append(" "),this.addSemanticActionTemplate(g,S,c)}return c.append(`
37
- }`),c.contents()}addSemanticActionTemplate(c,_,g){g.append(c),g.append(": function(");let S=this._topDownActionArity(c);g.append(ioe("_",S).join(", ")),g.append(`) {
38
- `),g.append(" }")}parseApplication(c){let _;if(c.indexOf("<")===-1)_=new pf(c);else{let S=eft.match(c,"Base_application");_=tft(S,{})}if(!(_.ruleName in this.rules))throw $lt(_.ruleName,this.name);let{formals:g}=this.rules[_.ruleName];if(g.length!==_.args.length){let{source:S}=this.rules[_.ruleName];throw Hlt(_.ruleName,g.length,_.args.length,S)}return _}_setUpMatchState(c){this._matchStateInitializer&&this._matchStateInitializer(c)}};Gv.ProtoBuiltInRules=new Gv("ProtoBuiltInRules",void 0,{any:{body:N0,formals:[],description:"any character",primitive:!0},end:{body:O0,formals:[],description:"end of input",primitive:!0},caseInsensitive:{body:new eoe(new eg(0)),formals:["str"],primitive:!0},lower:{body:new ph("Ll"),formals:[],description:"a lowercase letter",primitive:!0},upper:{body:new ph("Lu"),formals:[],description:"an uppercase letter",primitive:!0},unicodeLtmo:{body:new ph("Ltmo"),formals:[],description:"a Unicode character in Lt, Lm, or Lo",primitive:!0},spaces:{body:new TT(new pf("space")),formals:[]},space:{body:new Zh("\0"," "),formals:[],description:"a space"}});Gv.initApplicationParser=function(p,c){eft=p,tft=c};var roe=class{constructor(c){this.name=c}sourceInterval(c,_){return this.source.subInterval(c,_-c)}ensureSuperGrammar(){return this.superGrammar||this.withSuperGrammar(this.name==="BuiltInRules"?Gv.ProtoBuiltInRules:Gv.BuiltInRules),this.superGrammar}ensureSuperGrammarRuleForOverriding(c,_){let g=this.ensureSuperGrammar().rules[c];if(!g)throw por(c,this.superGrammar.name,_);return g}installOverriddenOrExtendedRule(c,_,g,S){let w=IFe(_);if(w.length>0)throw Ilt(c,w,S);let z=this.ensureSuperGrammar().rules[c],ie=z.formals,de=ie?ie.length:0;if(_.length!==de)throw Hlt(c,de,_.length,S);return this.install(c,_,g,z.description,S)}install(c,_,g,S,w,z=!1){return this.rules[c]={body:g.introduceParams(_),formals:_,description:S,source:w,primitive:z},this}withSuperGrammar(c){if(this.superGrammar)throw new Error("the super grammar of a GrammarDecl cannot be set more than once");return this.superGrammar=c,this.rules=Object.create(c.rules),c.isBuiltIn()||(this.defaultStartRule=c.defaultStartRule),this}withDefaultStartRule(c){return this.defaultStartRule=c,this}withSource(c){return this.source=new LR(c).interval(0,c.length),this}build(){let c=new Gv(this.name,this.ensureSuperGrammar(),this.rules,this.defaultStartRule);c._matchStateInitializer=c.superGrammar._matchStateInitializer,c.supportsIncrementalParsing=c.superGrammar.supportsIncrementalParsing;let _=[],g=!1;return Object.keys(c.rules).forEach(S=>{let{body:w}=c.rules[S];try{w.assertChoicesHaveUniformArity(S)}catch(z){_.push(z)}try{w.assertAllApplicationsAreValid(S,c)}catch(z){_.push(z),g=!0}}),g||Object.keys(c.rules).forEach(S=>{let{body:w}=c.rules[S];try{w.assertIteratedExprsAreNotNullable(c,[])}catch(z){_.push(z)}}),_.length>0&&xor(_),this.source&&(c.source=this.source),c}define(c,_,g,S,w,z){if(this.ensureSuperGrammar(),this.superGrammar.rules[c])throw klt(c,this.name,this.superGrammar.name,w);if(this.rules[c])throw klt(c,this.name,this.name,w);let ie=IFe(_);if(ie.length>0)throw Ilt(c,ie,w);return this.install(c,_,g,S,w,z)}override(c,_,g,S,w){return this.ensureSuperGrammarRuleForOverriding(c,w),this.installOverriddenOrExtendedRule(c,_,g,w),this}extend(c,_,g,S,w){if(!this.ensureSuperGrammar().rules[c])throw dor(c,this.superGrammar.name,w);let ie=new o7(this.superGrammar,c,g);return ie.source=g.source,this.installOverriddenOrExtendedRule(c,_,ie,w),this}},MR=class{constructor(){this.currentDecl=null,this.currentRuleName=null}newGrammar(c){return new roe(c)}grammar(c,_,g,S,w){let z=new roe(_);return g&&z.withSuperGrammar(g instanceof Gv?g:this.fromRecipe(g)),S&&z.withDefaultStartRule(S),c&&c.source&&z.withSource(c.source),this.currentDecl=z,Object.keys(w).forEach(ie=>{this.currentRuleName=ie;let de=w[ie],be=de[0],Ee=de[1],Oe=de[2],Y=de[3],ut=this.fromRecipe(de[4]),Ye;z.source&&Ee&&Ee.sourceInterval&&(Ye=z.source.subInterval(Ee.sourceInterval[0],Ee.sourceInterval[1]-Ee.sourceInterval[0])),z[be](ie,Y,ut,Oe,Ye)}),this.currentRuleName=this.currentDecl=null,z.build()}terminal(c){return new dh(c)}range(c,_){return new Zh(c,_)}param(c){return new eg(c)}alt(...c){let _=[];for(let g of c)g instanceof lu||(g=this.fromRecipe(g)),g instanceof um?_=_.concat(g.terms):_.push(g);return _.length===1?_[0]:new um(_)}seq(...c){let _=[];for(let g of c)g instanceof lu||(g=this.fromRecipe(g)),g instanceof qm?_=_.concat(g.factors):_.push(g);return _.length===1?_[0]:new qm(_)}star(c){return c instanceof lu||(c=this.fromRecipe(c)),new TT(c)}plus(c){return c instanceof lu||(c=this.fromRecipe(c)),new Sk(c)}opt(c){return c instanceof lu||(c=this.fromRecipe(c)),new yC(c)}not(c){return c instanceof lu||(c=this.fromRecipe(c)),new Hg(c)}lookahead(c){return c instanceof lu||(c=this.fromRecipe(c)),new Kg(c)}lex(c){return c instanceof lu||(c=this.fromRecipe(c)),new P0(c)}app(c,_){return _&&_.length>0&&(_=_.map(function(g){return g instanceof lu?g:this.fromRecipe(g)},this)),new pf(c,_)}splice(c,_){return new c7(this.currentDecl.superGrammar,this.currentRuleName,c.map(g=>this.fromRecipe(g)),_.map(g=>this.fromRecipe(g)))}fromRecipe(c){let _=c[0]==="grammar"?c.slice(1):c.slice(2),g=this[c[0]](..._),S=c[1];return S&&S.sourceInterval&&this.currentDecl&&g.withSource(this.currentDecl.sourceInterval(...S.sourceInterval)),g}};function soe(p){return typeof p=="function"?p.call(new MR):(typeof p=="string"&&(p=JSON.parse(p)),new MR().fromRecipe(p))}var UFe=soe(["grammar",{source:`BuiltInRules {
37
+ }`),c.contents()}addSemanticActionTemplate(c,p,g){g.append(c),g.append(": function(");let S=this._topDownActionArity(c);g.append(ioe("_",S).join(", ")),g.append(`) {
38
+ `),g.append(" }")}parseApplication(c){let p;if(c.indexOf("<")===-1)p=new pf(c);else{let S=eft.match(c,"Base_application");p=tft(S,{})}if(!(p.ruleName in this.rules))throw $lt(p.ruleName,this.name);let{formals:g}=this.rules[p.ruleName];if(g.length!==p.args.length){let{source:S}=this.rules[p.ruleName];throw Hlt(p.ruleName,g.length,p.args.length,S)}return p}_setUpMatchState(c){this._matchStateInitializer&&this._matchStateInitializer(c)}};Gv.ProtoBuiltInRules=new Gv("ProtoBuiltInRules",void 0,{any:{body:N0,formals:[],description:"any character",primitive:!0},end:{body:O0,formals:[],description:"end of input",primitive:!0},caseInsensitive:{body:new eoe(new eg(0)),formals:["str"],primitive:!0},lower:{body:new ph("Ll"),formals:[],description:"a lowercase letter",primitive:!0},upper:{body:new ph("Lu"),formals:[],description:"an uppercase letter",primitive:!0},unicodeLtmo:{body:new ph("Ltmo"),formals:[],description:"a Unicode character in Lt, Lm, or Lo",primitive:!0},spaces:{body:new TT(new pf("space")),formals:[]},space:{body:new Zh("\0"," "),formals:[],description:"a space"}});Gv.initApplicationParser=function(_,c){eft=_,tft=c};var roe=class{constructor(c){this.name=c}sourceInterval(c,p){return this.source.subInterval(c,p-c)}ensureSuperGrammar(){return this.superGrammar||this.withSuperGrammar(this.name==="BuiltInRules"?Gv.ProtoBuiltInRules:Gv.BuiltInRules),this.superGrammar}ensureSuperGrammarRuleForOverriding(c,p){let g=this.ensureSuperGrammar().rules[c];if(!g)throw por(c,this.superGrammar.name,p);return g}installOverriddenOrExtendedRule(c,p,g,S){let w=IFe(p);if(w.length>0)throw Ilt(c,w,S);let z=this.ensureSuperGrammar().rules[c],ie=z.formals,de=ie?ie.length:0;if(p.length!==de)throw Hlt(c,de,p.length,S);return this.install(c,p,g,z.description,S)}install(c,p,g,S,w,z=!1){return this.rules[c]={body:g.introduceParams(p),formals:p,description:S,source:w,primitive:z},this}withSuperGrammar(c){if(this.superGrammar)throw new Error("the super grammar of a GrammarDecl cannot be set more than once");return this.superGrammar=c,this.rules=Object.create(c.rules),c.isBuiltIn()||(this.defaultStartRule=c.defaultStartRule),this}withDefaultStartRule(c){return this.defaultStartRule=c,this}withSource(c){return this.source=new LR(c).interval(0,c.length),this}build(){let c=new Gv(this.name,this.ensureSuperGrammar(),this.rules,this.defaultStartRule);c._matchStateInitializer=c.superGrammar._matchStateInitializer,c.supportsIncrementalParsing=c.superGrammar.supportsIncrementalParsing;let p=[],g=!1;return Object.keys(c.rules).forEach(S=>{let{body:w}=c.rules[S];try{w.assertChoicesHaveUniformArity(S)}catch(z){p.push(z)}try{w.assertAllApplicationsAreValid(S,c)}catch(z){p.push(z),g=!0}}),g||Object.keys(c.rules).forEach(S=>{let{body:w}=c.rules[S];try{w.assertIteratedExprsAreNotNullable(c,[])}catch(z){p.push(z)}}),p.length>0&&xor(p),this.source&&(c.source=this.source),c}define(c,p,g,S,w,z){if(this.ensureSuperGrammar(),this.superGrammar.rules[c])throw klt(c,this.name,this.superGrammar.name,w);if(this.rules[c])throw klt(c,this.name,this.name,w);let ie=IFe(p);if(ie.length>0)throw Ilt(c,ie,w);return this.install(c,p,g,S,w,z)}override(c,p,g,S,w){return this.ensureSuperGrammarRuleForOverriding(c,w),this.installOverriddenOrExtendedRule(c,p,g,w),this}extend(c,p,g,S,w){if(!this.ensureSuperGrammar().rules[c])throw dor(c,this.superGrammar.name,w);let ie=new o7(this.superGrammar,c,g);return ie.source=g.source,this.installOverriddenOrExtendedRule(c,p,ie,w),this}},MR=class{constructor(){this.currentDecl=null,this.currentRuleName=null}newGrammar(c){return new roe(c)}grammar(c,p,g,S,w){let z=new roe(p);return g&&z.withSuperGrammar(g instanceof Gv?g:this.fromRecipe(g)),S&&z.withDefaultStartRule(S),c&&c.source&&z.withSource(c.source),this.currentDecl=z,Object.keys(w).forEach(ie=>{this.currentRuleName=ie;let de=w[ie],be=de[0],Ee=de[1],Oe=de[2],Y=de[3],ut=this.fromRecipe(de[4]),Ye;z.source&&Ee&&Ee.sourceInterval&&(Ye=z.source.subInterval(Ee.sourceInterval[0],Ee.sourceInterval[1]-Ee.sourceInterval[0])),z[be](ie,Y,ut,Oe,Ye)}),this.currentRuleName=this.currentDecl=null,z.build()}terminal(c){return new dh(c)}range(c,p){return new Zh(c,p)}param(c){return new eg(c)}alt(...c){let p=[];for(let g of c)g instanceof lu||(g=this.fromRecipe(g)),g instanceof um?p=p.concat(g.terms):p.push(g);return p.length===1?p[0]:new um(p)}seq(...c){let p=[];for(let g of c)g instanceof lu||(g=this.fromRecipe(g)),g instanceof qm?p=p.concat(g.factors):p.push(g);return p.length===1?p[0]:new qm(p)}star(c){return c instanceof lu||(c=this.fromRecipe(c)),new TT(c)}plus(c){return c instanceof lu||(c=this.fromRecipe(c)),new Sk(c)}opt(c){return c instanceof lu||(c=this.fromRecipe(c)),new yC(c)}not(c){return c instanceof lu||(c=this.fromRecipe(c)),new Hg(c)}lookahead(c){return c instanceof lu||(c=this.fromRecipe(c)),new Kg(c)}lex(c){return c instanceof lu||(c=this.fromRecipe(c)),new P0(c)}app(c,p){return p&&p.length>0&&(p=p.map(function(g){return g instanceof lu?g:this.fromRecipe(g)},this)),new pf(c,p)}splice(c,p){return new c7(this.currentDecl.superGrammar,this.currentRuleName,c.map(g=>this.fromRecipe(g)),p.map(g=>this.fromRecipe(g)))}fromRecipe(c){let p=c[0]==="grammar"?c.slice(1):c.slice(2),g=this[c[0]](...p),S=c[1];return S&&S.sourceInterval&&this.currentDecl&&g.withSource(this.currentDecl.sourceInterval(...S.sourceInterval)),g}};function soe(_){return typeof _=="function"?_.call(new MR):(typeof _=="string"&&(_=JSON.parse(_)),new MR().fromRecipe(_))}var UFe=soe(["grammar",{source:`BuiltInRules {
39
39
 
40
40
  alnum (an alpha-numeric character)
41
41
  = letter
@@ -205,7 +205,7 @@ NOTE: as of Ohm v16, there is no default action for iteration nodes \u2014 see `
205
205
  `],["lookahead",{sourceInterval:[1333,1337]},["terminal",{sourceInterval:[1334,1337]},"}"]]]]],name:["define",{sourceInterval:[1342,1382]},"a name",[],["seq",{sourceInterval:[1363,1382]},["app",{sourceInterval:[1363,1372]},"nameFirst",[]],["star",{sourceInterval:[1373,1382]},["app",{sourceInterval:[1373,1381]},"nameRest",[]]]]],nameFirst:["define",{sourceInterval:[1386,1418]},null,[],["alt",{sourceInterval:[1402,1418]},["terminal",{sourceInterval:[1402,1405]},"_"],["app",{sourceInterval:[1412,1418]},"letter",[]]]],nameRest:["define",{sourceInterval:[1422,1452]},null,[],["alt",{sourceInterval:[1437,1452]},["terminal",{sourceInterval:[1437,1440]},"_"],["app",{sourceInterval:[1447,1452]},"alnum",[]]]],ident:["define",{sourceInterval:[1456,1489]},"an identifier",[],["app",{sourceInterval:[1485,1489]},"name",[]]],terminal:["define",{sourceInterval:[1493,1531]},null,[],["seq",{sourceInterval:[1508,1531]},["terminal",{sourceInterval:[1508,1512]},'"'],["star",{sourceInterval:[1513,1526]},["app",{sourceInterval:[1513,1525]},"terminalChar",[]]],["terminal",{sourceInterval:[1527,1531]},'"']]],oneCharTerminal:["define",{sourceInterval:[1535,1579]},null,[],["seq",{sourceInterval:[1557,1579]},["terminal",{sourceInterval:[1557,1561]},'"'],["app",{sourceInterval:[1562,1574]},"terminalChar",[]],["terminal",{sourceInterval:[1575,1579]},'"']]],terminalChar:["define",{sourceInterval:[1583,1660]},null,[],["alt",{sourceInterval:[1602,1660]},["app",{sourceInterval:[1602,1612]},"escapeChar",[]],["seq",{sourceInterval:[1621,1660]},["not",{sourceInterval:[1621,1626]},["terminal",{sourceInterval:[1622,1626]},"\\"]],["not",{sourceInterval:[1627,1632]},["terminal",{sourceInterval:[1628,1632]},'"']],["not",{sourceInterval:[1633,1638]},["terminal",{sourceInterval:[1634,1638]},`
206
206
  `]],["range",{sourceInterval:[1639,1660]},"\0","\u{10FFFF}"]]]],escapeChar_backslash:["define",{sourceInterval:[1703,1758]},null,[],["terminal",{sourceInterval:[1703,1709]},"\\\\"]],escapeChar_doubleQuote:["define",{sourceInterval:[1765,1822]},null,[],["terminal",{sourceInterval:[1765,1771]},'\\"']],escapeChar_singleQuote:["define",{sourceInterval:[1829,1886]},null,[],["terminal",{sourceInterval:[1829,1835]},"\\'"]],escapeChar_backspace:["define",{sourceInterval:[1893,1948]},null,[],["terminal",{sourceInterval:[1893,1898]},"\\b"]],escapeChar_lineFeed:["define",{sourceInterval:[1955,2009]},null,[],["terminal",{sourceInterval:[1955,1960]},"\\n"]],escapeChar_carriageReturn:["define",{sourceInterval:[2016,2076]},null,[],["terminal",{sourceInterval:[2016,2021]},"\\r"]],escapeChar_tab:["define",{sourceInterval:[2083,2132]},null,[],["terminal",{sourceInterval:[2083,2088]},"\\t"]],escapeChar_unicodeCodePoint:["define",{sourceInterval:[2139,2243]},null,[],["seq",{sourceInterval:[2139,2221]},["terminal",{sourceInterval:[2139,2145]},"\\u{"],["app",{sourceInterval:[2146,2154]},"hexDigit",[]],["opt",{sourceInterval:[2155,2164]},["app",{sourceInterval:[2155,2163]},"hexDigit",[]]],["opt",{sourceInterval:[2165,2174]},["app",{sourceInterval:[2165,2173]},"hexDigit",[]]],["opt",{sourceInterval:[2188,2197]},["app",{sourceInterval:[2188,2196]},"hexDigit",[]]],["opt",{sourceInterval:[2198,2207]},["app",{sourceInterval:[2198,2206]},"hexDigit",[]]],["opt",{sourceInterval:[2208,2217]},["app",{sourceInterval:[2208,2216]},"hexDigit",[]]],["terminal",{sourceInterval:[2218,2221]},"}"]]],escapeChar_unicodeEscape:["define",{sourceInterval:[2250,2309]},null,[],["seq",{sourceInterval:[2250,2291]},["terminal",{sourceInterval:[2250,2255]},"\\u"],["app",{sourceInterval:[2256,2264]},"hexDigit",[]],["app",{sourceInterval:[2265,2273]},"hexDigit",[]],["app",{sourceInterval:[2274,2282]},"hexDigit",[]],["app",{sourceInterval:[2283,2291]},"hexDigit",[]]]],escapeChar_hexEscape:["define",{sourceInterval:[2316,2371]},null,[],["seq",{sourceInterval:[2316,2339]},["terminal",{sourceInterval:[2316,2321]},"\\x"],["app",{sourceInterval:[2322,2330]},"hexDigit",[]],["app",{sourceInterval:[2331,2339]},"hexDigit",[]]]],escapeChar:["define",{sourceInterval:[1664,2371]},"an escape sequence",[],["alt",{sourceInterval:[1703,2371]},["app",{sourceInterval:[1703,1709]},"escapeChar_backslash",[]],["app",{sourceInterval:[1765,1771]},"escapeChar_doubleQuote",[]],["app",{sourceInterval:[1829,1835]},"escapeChar_singleQuote",[]],["app",{sourceInterval:[1893,1898]},"escapeChar_backspace",[]],["app",{sourceInterval:[1955,1960]},"escapeChar_lineFeed",[]],["app",{sourceInterval:[2016,2021]},"escapeChar_carriageReturn",[]],["app",{sourceInterval:[2083,2088]},"escapeChar_tab",[]],["app",{sourceInterval:[2139,2221]},"escapeChar_unicodeCodePoint",[]],["app",{sourceInterval:[2250,2291]},"escapeChar_unicodeEscape",[]],["app",{sourceInterval:[2316,2339]},"escapeChar_hexEscape",[]]]],space:["extend",{sourceInterval:[2375,2394]},null,[],["app",{sourceInterval:[2387,2394]},"comment",[]]],comment_singleLine:["define",{sourceInterval:[2412,2458]},null,[],["seq",{sourceInterval:[2412,2443]},["terminal",{sourceInterval:[2412,2416]},"//"],["star",{sourceInterval:[2417,2429]},["seq",{sourceInterval:[2418,2427]},["not",{sourceInterval:[2418,2423]},["terminal",{sourceInterval:[2419,2423]},`
207
207
  `]],["app",{sourceInterval:[2424,2427]},"any",[]]]],["lookahead",{sourceInterval:[2430,2443]},["alt",{sourceInterval:[2432,2442]},["terminal",{sourceInterval:[2432,2436]},`
208
- `],["app",{sourceInterval:[2439,2442]},"end",[]]]]]],comment_multiLine:["define",{sourceInterval:[2465,2501]},null,[],["seq",{sourceInterval:[2465,2487]},["terminal",{sourceInterval:[2465,2469]},"/*"],["star",{sourceInterval:[2470,2482]},["seq",{sourceInterval:[2471,2480]},["not",{sourceInterval:[2471,2476]},["terminal",{sourceInterval:[2472,2476]},"*/"]],["app",{sourceInterval:[2477,2480]},"any",[]]]],["terminal",{sourceInterval:[2483,2487]},"*/"]]],comment:["define",{sourceInterval:[2398,2501]},null,[],["alt",{sourceInterval:[2412,2501]},["app",{sourceInterval:[2412,2443]},"comment_singleLine",[]],["app",{sourceInterval:[2465,2487]},"comment_multiLine",[]]]],tokens:["define",{sourceInterval:[2505,2520]},null,[],["star",{sourceInterval:[2514,2520]},["app",{sourceInterval:[2514,2519]},"token",[]]]],token:["define",{sourceInterval:[2524,2600]},null,[],["alt",{sourceInterval:[2532,2600]},["app",{sourceInterval:[2532,2540]},"caseName",[]],["app",{sourceInterval:[2543,2550]},"comment",[]],["app",{sourceInterval:[2553,2558]},"ident",[]],["app",{sourceInterval:[2561,2569]},"operator",[]],["app",{sourceInterval:[2572,2583]},"punctuation",[]],["app",{sourceInterval:[2586,2594]},"terminal",[]],["app",{sourceInterval:[2597,2600]},"any",[]]]],operator:["define",{sourceInterval:[2604,2669]},null,[],["alt",{sourceInterval:[2615,2669]},["terminal",{sourceInterval:[2615,2619]},"<:"],["terminal",{sourceInterval:[2622,2625]},"="],["terminal",{sourceInterval:[2628,2632]},":="],["terminal",{sourceInterval:[2635,2639]},"+="],["terminal",{sourceInterval:[2642,2645]},"*"],["terminal",{sourceInterval:[2648,2651]},"+"],["terminal",{sourceInterval:[2654,2657]},"?"],["terminal",{sourceInterval:[2660,2663]},"~"],["terminal",{sourceInterval:[2666,2669]},"&"]]],punctuation:["define",{sourceInterval:[2673,2709]},null,[],["alt",{sourceInterval:[2687,2709]},["terminal",{sourceInterval:[2687,2690]},"<"],["terminal",{sourceInterval:[2693,2696]},">"],["terminal",{sourceInterval:[2699,2702]},","],["terminal",{sourceInterval:[2705,2709]},"--"]]]}]),FFe=Object.create(lu.prototype);function Blt(p,c){for(let _ in p)if(_===c)return!0;return!1}function VFe(p,c,_){let g=new MR,S,w,z,ie=!1;return(_||aoe).createSemantics().addOperation("visit",{Grammars(Ee){return Ee.children.map(Oe=>Oe.visit())},Grammar(Ee,Oe,Y,ut,Ye){let We=Ee.visit();S=g.newGrammar(We),Oe.child(0)&&Oe.child(0).visit(),ut.children.map(_r=>_r.visit());let Ut=S.build();if(Ut.source=this.source.trimmed(),Blt(c,We))throw lor(Ut);return c[We]=Ut,Ut},SuperGrammar(Ee,Oe){let Y=Oe.visit();if(Y==="null")S.withSuperGrammar(null);else{if(!c||!Blt(c,Y))throw uor(Y,c,Oe.source);S.withSuperGrammar(c[Y])}},Rule_define(Ee,Oe,Y,ut,Ye){w=Ee.visit(),z=Oe.children.map(Hr=>Hr.visit())[0]||[],!S.defaultStartRule&&S.ensureSuperGrammar()!==Gv.ProtoBuiltInRules&&S.withDefaultStartRule(w);let We=Ye.visit(),Ut=Y.children.map(Hr=>Hr.visit())[0],_r=this.source.trimmed();return S.define(w,z,We,Ut,_r)},Rule_override(Ee,Oe,Y,ut){w=Ee.visit(),z=Oe.children.map(Ut=>Ut.visit())[0]||[];let Ye=this.source.trimmed();S.ensureSuperGrammarRuleForOverriding(w,Ye),ie=!0;let We=ut.visit();return ie=!1,S.override(w,z,We,null,Ye)},Rule_extend(Ee,Oe,Y,ut){w=Ee.visit(),z=Oe.children.map(Ut=>Ut.visit())[0]||[];let Ye=ut.visit(),We=this.source.trimmed();return S.extend(w,z,Ye,null,We)},RuleBody(Ee,Oe){return g.alt(...Oe.visit()).withSource(this.source)},OverrideRuleBody(Ee,Oe){let Y=Oe.visit(),ut=Y.indexOf(FFe);if(ut>=0){let Ye=Y.slice(0,ut),We=Y.slice(ut+1);return We.forEach(Ut=>{if(Ut===FFe)throw bor(Ut)}),new c7(S.superGrammar,w,Ye,We).withSource(this.source)}else return g.alt(...Y).withSource(this.source)},Formals(Ee,Oe,Y){return Oe.visit()},Params(Ee,Oe,Y){return Oe.visit()},Alt(Ee){return g.alt(...Ee.visit()).withSource(this.source)},TopLevelTerm_inline(Ee,Oe){let Y=w+"_"+Oe.visit(),ut=Ee.visit(),Ye=this.source.trimmed(),We=!(S.superGrammar&&S.superGrammar.rules[Y]);ie&&!We?S.override(Y,z,ut,null,Ye):S.define(Y,z,ut,null,Ye);let Ut=z.map(_r=>g.app(_r));return g.app(Y,Ut).withSource(ut.source)},OverrideTopLevelTerm_superSplice(Ee){return FFe},Seq(Ee){return g.seq(...Ee.children.map(Oe=>Oe.visit())).withSource(this.source)},Iter_star(Ee,Oe){return g.star(Ee.visit()).withSource(this.source)},Iter_plus(Ee,Oe){return g.plus(Ee.visit()).withSource(this.source)},Iter_opt(Ee,Oe){return g.opt(Ee.visit()).withSource(this.source)},Pred_not(Ee,Oe){return g.not(Oe.visit()).withSource(this.source)},Pred_lookahead(Ee,Oe){return g.lookahead(Oe.visit()).withSource(this.source)},Lex_lex(Ee,Oe){return g.lex(Oe.visit()).withSource(this.source)},Base_application(Ee,Oe){let Y=Oe.children.map(ut=>ut.visit())[0]||[];return g.app(Ee.visit(),Y).withSource(this.source)},Base_range(Ee,Oe,Y){return g.range(Ee.visit(),Y.visit()).withSource(this.source)},Base_terminal(Ee){return g.terminal(Ee.visit()).withSource(this.source)},Base_paren(Ee,Oe,Y){return Oe.visit()},ruleDescr(Ee,Oe,Y){return Oe.visit()},ruleDescrText(Ee){return this.sourceString.trim()},caseName(Ee,Oe,Y,ut,Ye){return Y.visit()},name(Ee,Oe){return this.sourceString},nameFirst(Ee){},nameRest(Ee){},terminal(Ee,Oe,Y){return Oe.children.map(ut=>ut.visit()).join("")},oneCharTerminal(Ee,Oe,Y){return Oe.visit()},escapeChar(Ee){try{return Vlt(this.sourceString)}catch(Oe){throw Oe instanceof RangeError&&Oe.message.startsWith("Invalid code point ")?Cor(Ee):Oe}},NonemptyListOf(Ee,Oe,Y){return[Ee.visit()].concat(Y.children.map(ut=>ut.visit()))},EmptyListOf(){return[]},_terminal(){return this.sourceString}})(p).visit()}var Wor=soe(["grammar",{source:`OperationsAndAttributes {
208
+ `],["app",{sourceInterval:[2439,2442]},"end",[]]]]]],comment_multiLine:["define",{sourceInterval:[2465,2501]},null,[],["seq",{sourceInterval:[2465,2487]},["terminal",{sourceInterval:[2465,2469]},"/*"],["star",{sourceInterval:[2470,2482]},["seq",{sourceInterval:[2471,2480]},["not",{sourceInterval:[2471,2476]},["terminal",{sourceInterval:[2472,2476]},"*/"]],["app",{sourceInterval:[2477,2480]},"any",[]]]],["terminal",{sourceInterval:[2483,2487]},"*/"]]],comment:["define",{sourceInterval:[2398,2501]},null,[],["alt",{sourceInterval:[2412,2501]},["app",{sourceInterval:[2412,2443]},"comment_singleLine",[]],["app",{sourceInterval:[2465,2487]},"comment_multiLine",[]]]],tokens:["define",{sourceInterval:[2505,2520]},null,[],["star",{sourceInterval:[2514,2520]},["app",{sourceInterval:[2514,2519]},"token",[]]]],token:["define",{sourceInterval:[2524,2600]},null,[],["alt",{sourceInterval:[2532,2600]},["app",{sourceInterval:[2532,2540]},"caseName",[]],["app",{sourceInterval:[2543,2550]},"comment",[]],["app",{sourceInterval:[2553,2558]},"ident",[]],["app",{sourceInterval:[2561,2569]},"operator",[]],["app",{sourceInterval:[2572,2583]},"punctuation",[]],["app",{sourceInterval:[2586,2594]},"terminal",[]],["app",{sourceInterval:[2597,2600]},"any",[]]]],operator:["define",{sourceInterval:[2604,2669]},null,[],["alt",{sourceInterval:[2615,2669]},["terminal",{sourceInterval:[2615,2619]},"<:"],["terminal",{sourceInterval:[2622,2625]},"="],["terminal",{sourceInterval:[2628,2632]},":="],["terminal",{sourceInterval:[2635,2639]},"+="],["terminal",{sourceInterval:[2642,2645]},"*"],["terminal",{sourceInterval:[2648,2651]},"+"],["terminal",{sourceInterval:[2654,2657]},"?"],["terminal",{sourceInterval:[2660,2663]},"~"],["terminal",{sourceInterval:[2666,2669]},"&"]]],punctuation:["define",{sourceInterval:[2673,2709]},null,[],["alt",{sourceInterval:[2687,2709]},["terminal",{sourceInterval:[2687,2690]},"<"],["terminal",{sourceInterval:[2693,2696]},">"],["terminal",{sourceInterval:[2699,2702]},","],["terminal",{sourceInterval:[2705,2709]},"--"]]]}]),FFe=Object.create(lu.prototype);function Blt(_,c){for(let p in _)if(p===c)return!0;return!1}function VFe(_,c,p){let g=new MR,S,w,z,ie=!1;return(p||aoe).createSemantics().addOperation("visit",{Grammars(Ee){return Ee.children.map(Oe=>Oe.visit())},Grammar(Ee,Oe,Y,ut,Ye){let We=Ee.visit();S=g.newGrammar(We),Oe.child(0)&&Oe.child(0).visit(),ut.children.map(_r=>_r.visit());let Ut=S.build();if(Ut.source=this.source.trimmed(),Blt(c,We))throw lor(Ut);return c[We]=Ut,Ut},SuperGrammar(Ee,Oe){let Y=Oe.visit();if(Y==="null")S.withSuperGrammar(null);else{if(!c||!Blt(c,Y))throw uor(Y,c,Oe.source);S.withSuperGrammar(c[Y])}},Rule_define(Ee,Oe,Y,ut,Ye){w=Ee.visit(),z=Oe.children.map(Hr=>Hr.visit())[0]||[],!S.defaultStartRule&&S.ensureSuperGrammar()!==Gv.ProtoBuiltInRules&&S.withDefaultStartRule(w);let We=Ye.visit(),Ut=Y.children.map(Hr=>Hr.visit())[0],_r=this.source.trimmed();return S.define(w,z,We,Ut,_r)},Rule_override(Ee,Oe,Y,ut){w=Ee.visit(),z=Oe.children.map(Ut=>Ut.visit())[0]||[];let Ye=this.source.trimmed();S.ensureSuperGrammarRuleForOverriding(w,Ye),ie=!0;let We=ut.visit();return ie=!1,S.override(w,z,We,null,Ye)},Rule_extend(Ee,Oe,Y,ut){w=Ee.visit(),z=Oe.children.map(Ut=>Ut.visit())[0]||[];let Ye=ut.visit(),We=this.source.trimmed();return S.extend(w,z,Ye,null,We)},RuleBody(Ee,Oe){return g.alt(...Oe.visit()).withSource(this.source)},OverrideRuleBody(Ee,Oe){let Y=Oe.visit(),ut=Y.indexOf(FFe);if(ut>=0){let Ye=Y.slice(0,ut),We=Y.slice(ut+1);return We.forEach(Ut=>{if(Ut===FFe)throw bor(Ut)}),new c7(S.superGrammar,w,Ye,We).withSource(this.source)}else return g.alt(...Y).withSource(this.source)},Formals(Ee,Oe,Y){return Oe.visit()},Params(Ee,Oe,Y){return Oe.visit()},Alt(Ee){return g.alt(...Ee.visit()).withSource(this.source)},TopLevelTerm_inline(Ee,Oe){let Y=w+"_"+Oe.visit(),ut=Ee.visit(),Ye=this.source.trimmed(),We=!(S.superGrammar&&S.superGrammar.rules[Y]);ie&&!We?S.override(Y,z,ut,null,Ye):S.define(Y,z,ut,null,Ye);let Ut=z.map(_r=>g.app(_r));return g.app(Y,Ut).withSource(ut.source)},OverrideTopLevelTerm_superSplice(Ee){return FFe},Seq(Ee){return g.seq(...Ee.children.map(Oe=>Oe.visit())).withSource(this.source)},Iter_star(Ee,Oe){return g.star(Ee.visit()).withSource(this.source)},Iter_plus(Ee,Oe){return g.plus(Ee.visit()).withSource(this.source)},Iter_opt(Ee,Oe){return g.opt(Ee.visit()).withSource(this.source)},Pred_not(Ee,Oe){return g.not(Oe.visit()).withSource(this.source)},Pred_lookahead(Ee,Oe){return g.lookahead(Oe.visit()).withSource(this.source)},Lex_lex(Ee,Oe){return g.lex(Oe.visit()).withSource(this.source)},Base_application(Ee,Oe){let Y=Oe.children.map(ut=>ut.visit())[0]||[];return g.app(Ee.visit(),Y).withSource(this.source)},Base_range(Ee,Oe,Y){return g.range(Ee.visit(),Y.visit()).withSource(this.source)},Base_terminal(Ee){return g.terminal(Ee.visit()).withSource(this.source)},Base_paren(Ee,Oe,Y){return Oe.visit()},ruleDescr(Ee,Oe,Y){return Oe.visit()},ruleDescrText(Ee){return this.sourceString.trim()},caseName(Ee,Oe,Y,ut,Ye){return Y.visit()},name(Ee,Oe){return this.sourceString},nameFirst(Ee){},nameRest(Ee){},terminal(Ee,Oe,Y){return Oe.children.map(ut=>ut.visit()).join("")},oneCharTerminal(Ee,Oe,Y){return Oe.visit()},escapeChar(Ee){try{return Vlt(this.sourceString)}catch(Oe){throw Oe instanceof RangeError&&Oe.message.startsWith("Invalid code point ")?Cor(Ee):Oe}},NonemptyListOf(Ee,Oe,Y){return[Ee.visit()].concat(Y.children.map(ut=>ut.visit()))},EmptyListOf(){return[]},_terminal(){return this.sourceString}})(_).visit()}var Wor=soe(["grammar",{source:`OperationsAndAttributes {
209
209
 
210
210
  AttributeSignature =
211
211
  name
@@ -227,7 +227,7 @@ NOTE: as of Ohm v16, there is no default action for iteration nodes \u2014 see `
227
227
  = "_"
228
228
  | alnum
229
229
 
230
- }`},"OperationsAndAttributes",null,"AttributeSignature",{AttributeSignature:["define",{sourceInterval:[29,58]},null,[],["app",{sourceInterval:[54,58]},"name",[]]],OperationSignature:["define",{sourceInterval:[62,100]},null,[],["seq",{sourceInterval:[87,100]},["app",{sourceInterval:[87,91]},"name",[]],["opt",{sourceInterval:[92,100]},["app",{sourceInterval:[92,99]},"Formals",[]]]]],Formals:["define",{sourceInterval:[104,143]},null,[],["seq",{sourceInterval:[118,143]},["terminal",{sourceInterval:[118,121]},"("],["app",{sourceInterval:[122,139]},"ListOf",[["app",{sourceInterval:[129,133]},"name",[]],["terminal",{sourceInterval:[135,138]},","]]],["terminal",{sourceInterval:[140,143]},")"]]],name:["define",{sourceInterval:[147,187]},"a name",[],["seq",{sourceInterval:[168,187]},["app",{sourceInterval:[168,177]},"nameFirst",[]],["star",{sourceInterval:[178,187]},["app",{sourceInterval:[178,186]},"nameRest",[]]]]],nameFirst:["define",{sourceInterval:[191,223]},null,[],["alt",{sourceInterval:[207,223]},["terminal",{sourceInterval:[207,210]},"_"],["app",{sourceInterval:[217,223]},"letter",[]]]],nameRest:["define",{sourceInterval:[227,257]},null,[],["alt",{sourceInterval:[242,257]},["terminal",{sourceInterval:[242,245]},"_"],["app",{sourceInterval:[252,257]},"alnum",[]]]]}]);Uor(Gv.BuiltInRules);Vor(Wor);function Uor(p){let c={empty(){return this.iteration()},nonEmpty(_,g,S){return this.iteration([_].concat(S.children))},self(..._){return this}};Vv.BuiltInSemantics=Vv.createSemantics(p,null).addOperation("asIteration",{emptyListOf:c.empty,nonemptyListOf:c.nonEmpty,EmptyListOf:c.empty,NonemptyListOf:c.nonEmpty,_iter:c.self})}function Vor(p){Vv.prototypeGrammarSemantics=p.createSemantics().addOperation("parse",{AttributeSignature(c){return{name:c.parse(),formals:[]}},OperationSignature(c,_){return{name:c.parse(),formals:_.children.map(g=>g.parse())[0]||[]}},Formals(c,_,g){return _.asIteration().children.map(S=>S.parse())},name(c,_){return this.sourceString}}),Vv.prototypeGrammar=p}function Gor(p){let c=0,_=[0],g=()=>_[_.length-1],S={},w=/( *).*(?:$|\r?\n|\r)/g,z;for(;(z=w.exec(p))!=null;){let[ie,de]=z;if(ie.length===0)break;let be=de.length,Ee=g(),Oe=c+be;if(be>Ee)_.push(be),S[Oe]=1;else if(be<Ee){let Y=_.length;for(;g()!==be;)_.pop();S[Oe]=-1*(Y-_.length)}c+=ie.length}return _.length>1&&(S[c]=1-_.length),S}var rft="an indented block",nft="a dedent",jlt=1114112,jFe=class extends LR{constructor(c){super(c.input),this.state=c}_indentationAt(c){return this.state.userData[c]||0}atEnd(){return super.atEnd()&&this._indentationAt(this.pos)===0}next(){if(this._indentationAt(this.pos)!==0){this.examinedLength=Math.max(this.examinedLength,this.pos);return}return super.next()}nextCharCode(){return this._indentationAt(this.pos)!==0?(this.examinedLength=Math.max(this.examinedLength,this.pos),jlt):super.nextCharCode()}nextCodePoint(){return this._indentationAt(this.pos)!==0?(this.examinedLength=Math.max(this.examinedLength,this.pos),jlt):super.nextCodePoint()}},noe=class extends lu{constructor(c=!0){super(),this.isIndent=c}allowsSkippingPrecedingSpace(){return!0}eval(c){let{inputStream:_}=c,g=c.userData;c.doNotMemoize=!0;let S=_.pos,w=this.isIndent?1:-1;return(g[S]||0)*w>0?(c.userData=Object.create(g),c.userData[S]-=w,c.pushBinding(new Ek(0),S),!0):(c.processFailure(S,this),!1)}getArity(){return 1}_assertAllApplicationsAreValid(c,_){}_isNullable(c,_){return!1}assertChoicesHaveUniformArity(c){}assertIteratedExprsAreNotNullable(c){}introduceParams(c){return this}substituteParams(c){return this}toString(){return this.isIndent?"indent":"dedent"}toDisplayString(){return this.toString()}toFailure(c){let _=this.isIndent?rft:nft;return new $v(this,_,"description")}},$or=new pf("indent"),Hor=new pf("dedent"),Kor=new c7(UFe,"any",[$or,Hor],[]),ift=new MR().newGrammar("IndentationSensitive").withSuperGrammar(UFe).define("indent",[],new noe(!0),rft,void 0,!0).define("dedent",[],new noe(!1),nft,void 0,!0).extend("any",[],Kor,"any character",void 0).build();Object.assign(ift,{_matchStateInitializer(p){p.userData=Gor(p.input),p.inputStream=new jFe(p)},supportsIncrementalParsing:!1});var Qor="17.2.1";Gv.initApplicationParser(aoe,VFe);var Xor=p=>!!p.constructor&&typeof p.constructor.isBuffer=="function"&&p.constructor.isBuffer(p);function Yor(p,c){let _=aoe.match(p,"Grammars");if(_.failed())throw cor(_);return VFe(_,c)}function Zor(p,c){let _=sft(p,c),g=Object.keys(_);if(g.length===0)throw new Error("Missing grammar definition");if(g.length>1){let w=_[g[1]].source;throw new Error(zFe(w.sourceString,w.startIdx)+"Found more than one grammar definition -- use ohm.grammars() instead.")}return _[g[0]]}function sft(p,c){let _=Object.create(c||{});if(typeof p!="string")if(Xor(p))p=p.toString();else throw new TypeError("Expected string as first argument, got "+JFe(p));return Yor(p,_),_}AT.ExperimentalIndentationSensitive=ift;AT._buildGrammar=VFe;AT.grammar=Zor;AT.grammars=sft;AT.makeRecipe=soe;AT.ohmGrammar=aoe;AT.pexprs=Jor;AT.version=Qor});var GFe=jt((L4r,oft)=>{"use strict";var{makeRecipe:ecr}=aft(),tcr=ecr(["grammar",{source:`PEP508 {
230
+ }`},"OperationsAndAttributes",null,"AttributeSignature",{AttributeSignature:["define",{sourceInterval:[29,58]},null,[],["app",{sourceInterval:[54,58]},"name",[]]],OperationSignature:["define",{sourceInterval:[62,100]},null,[],["seq",{sourceInterval:[87,100]},["app",{sourceInterval:[87,91]},"name",[]],["opt",{sourceInterval:[92,100]},["app",{sourceInterval:[92,99]},"Formals",[]]]]],Formals:["define",{sourceInterval:[104,143]},null,[],["seq",{sourceInterval:[118,143]},["terminal",{sourceInterval:[118,121]},"("],["app",{sourceInterval:[122,139]},"ListOf",[["app",{sourceInterval:[129,133]},"name",[]],["terminal",{sourceInterval:[135,138]},","]]],["terminal",{sourceInterval:[140,143]},")"]]],name:["define",{sourceInterval:[147,187]},"a name",[],["seq",{sourceInterval:[168,187]},["app",{sourceInterval:[168,177]},"nameFirst",[]],["star",{sourceInterval:[178,187]},["app",{sourceInterval:[178,186]},"nameRest",[]]]]],nameFirst:["define",{sourceInterval:[191,223]},null,[],["alt",{sourceInterval:[207,223]},["terminal",{sourceInterval:[207,210]},"_"],["app",{sourceInterval:[217,223]},"letter",[]]]],nameRest:["define",{sourceInterval:[227,257]},null,[],["alt",{sourceInterval:[242,257]},["terminal",{sourceInterval:[242,245]},"_"],["app",{sourceInterval:[252,257]},"alnum",[]]]]}]);Uor(Gv.BuiltInRules);Vor(Wor);function Uor(_){let c={empty(){return this.iteration()},nonEmpty(p,g,S){return this.iteration([p].concat(S.children))},self(...p){return this}};Vv.BuiltInSemantics=Vv.createSemantics(_,null).addOperation("asIteration",{emptyListOf:c.empty,nonemptyListOf:c.nonEmpty,EmptyListOf:c.empty,NonemptyListOf:c.nonEmpty,_iter:c.self})}function Vor(_){Vv.prototypeGrammarSemantics=_.createSemantics().addOperation("parse",{AttributeSignature(c){return{name:c.parse(),formals:[]}},OperationSignature(c,p){return{name:c.parse(),formals:p.children.map(g=>g.parse())[0]||[]}},Formals(c,p,g){return p.asIteration().children.map(S=>S.parse())},name(c,p){return this.sourceString}}),Vv.prototypeGrammar=_}function Gor(_){let c=0,p=[0],g=()=>p[p.length-1],S={},w=/( *).*(?:$|\r?\n|\r)/g,z;for(;(z=w.exec(_))!=null;){let[ie,de]=z;if(ie.length===0)break;let be=de.length,Ee=g(),Oe=c+be;if(be>Ee)p.push(be),S[Oe]=1;else if(be<Ee){let Y=p.length;for(;g()!==be;)p.pop();S[Oe]=-1*(Y-p.length)}c+=ie.length}return p.length>1&&(S[c]=1-p.length),S}var rft="an indented block",nft="a dedent",jlt=1114112,jFe=class extends LR{constructor(c){super(c.input),this.state=c}_indentationAt(c){return this.state.userData[c]||0}atEnd(){return super.atEnd()&&this._indentationAt(this.pos)===0}next(){if(this._indentationAt(this.pos)!==0){this.examinedLength=Math.max(this.examinedLength,this.pos);return}return super.next()}nextCharCode(){return this._indentationAt(this.pos)!==0?(this.examinedLength=Math.max(this.examinedLength,this.pos),jlt):super.nextCharCode()}nextCodePoint(){return this._indentationAt(this.pos)!==0?(this.examinedLength=Math.max(this.examinedLength,this.pos),jlt):super.nextCodePoint()}},noe=class extends lu{constructor(c=!0){super(),this.isIndent=c}allowsSkippingPrecedingSpace(){return!0}eval(c){let{inputStream:p}=c,g=c.userData;c.doNotMemoize=!0;let S=p.pos,w=this.isIndent?1:-1;return(g[S]||0)*w>0?(c.userData=Object.create(g),c.userData[S]-=w,c.pushBinding(new Ek(0),S),!0):(c.processFailure(S,this),!1)}getArity(){return 1}_assertAllApplicationsAreValid(c,p){}_isNullable(c,p){return!1}assertChoicesHaveUniformArity(c){}assertIteratedExprsAreNotNullable(c){}introduceParams(c){return this}substituteParams(c){return this}toString(){return this.isIndent?"indent":"dedent"}toDisplayString(){return this.toString()}toFailure(c){let p=this.isIndent?rft:nft;return new $v(this,p,"description")}},$or=new pf("indent"),Hor=new pf("dedent"),Kor=new c7(UFe,"any",[$or,Hor],[]),ift=new MR().newGrammar("IndentationSensitive").withSuperGrammar(UFe).define("indent",[],new noe(!0),rft,void 0,!0).define("dedent",[],new noe(!1),nft,void 0,!0).extend("any",[],Kor,"any character",void 0).build();Object.assign(ift,{_matchStateInitializer(_){_.userData=Gor(_.input),_.inputStream=new jFe(_)},supportsIncrementalParsing:!1});var Qor="17.2.1";Gv.initApplicationParser(aoe,VFe);var Xor=_=>!!_.constructor&&typeof _.constructor.isBuffer=="function"&&_.constructor.isBuffer(_);function Yor(_,c){let p=aoe.match(_,"Grammars");if(p.failed())throw cor(p);return VFe(p,c)}function Zor(_,c){let p=sft(_,c),g=Object.keys(p);if(g.length===0)throw new Error("Missing grammar definition");if(g.length>1){let w=p[g[1]].source;throw new Error(zFe(w.sourceString,w.startIdx)+"Found more than one grammar definition -- use ohm.grammars() instead.")}return p[g[0]]}function sft(_,c){let p=Object.create(c||{});if(typeof _!="string")if(Xor(_))_=_.toString();else throw new TypeError("Expected string as first argument, got "+JFe(_));return Yor(_,p),p}AT.ExperimentalIndentationSensitive=ift;AT._buildGrammar=VFe;AT.grammar=Zor;AT.grammars=sft;AT.makeRecipe=soe;AT.ohmGrammar=aoe;AT.pexprs=Jor;AT.version=Qor});var GFe=jt((L4r,oft)=>{"use strict";var{makeRecipe:ecr}=aft(),tcr=ecr(["grammar",{source:`PEP508 {
231
231
  // Grammar adapted from https://peps.python.org/pep-0508/#complete-grammar
232
232
  // (naming retained, just reordered and camelCased)
233
233
  File = ListOf<Line, "\\n">
@@ -348,10 +348,10 @@ NOTE: as of Ohm v16, there is no default action for iteration nodes \u2014 see `
348
348
  `],["terminal",{sourceInterval:[775,778]},"#"]]],["app",{sourceInterval:[780,783]},"any",[]]]]],UrlSpec:["define",{sourceInterval:[791,822]},null,[],["seq",{sourceInterval:[806,822]},["terminal",{sourceInterval:[806,809]},"@"],["app",{sourceInterval:[810,822]},"uriReference",[]]]],uriReference:["define",{sourceInterval:[827,859]},null,[],["alt",{sourceInterval:[842,859]},["app",{sourceInterval:[842,845]},"uri",[]],["app",{sourceInterval:[848,859]},"relativeRef",[]]]],uri:["define",{sourceInterval:[864,929]},null,[],["seq",{sourceInterval:[879,929]},["app",{sourceInterval:[879,885]},"scheme",[]],["terminal",{sourceInterval:[886,889]},":"],["opt",{sourceInterval:[890,899]},["app",{sourceInterval:[890,898]},"hierPart",[]]],["opt",{sourceInterval:[900,913]},["seq",{sourceInterval:[901,910]},["terminal",{sourceInterval:[901,904]},"?"],["app",{sourceInterval:[905,910]},"query",[]]]],["opt",{sourceInterval:[914,929]},["seq",{sourceInterval:[915,927]},["terminal",{sourceInterval:[915,918]},"#"],["app",{sourceInterval:[919,927]},"fragment",[]]]]]],hierPart_abempty:["define",{sourceInterval:[949,988]},null,[],["seq",{sourceInterval:[949,977]},["terminal",{sourceInterval:[950,954]},"//"],["app",{sourceInterval:[955,964]},"authority",[]],["app",{sourceInterval:[965,976]},"pathAbempty",[]]]],hierPart_absolute:["define",{sourceInterval:[1008,1032]},null,[],["app",{sourceInterval:[1008,1020]},"pathAbsolute",[]]],hierPart_rootless:["define",{sourceInterval:[1052,1076]},null,[],["app",{sourceInterval:[1052,1064]},"pathRootless",[]]],hierPart:["define",{sourceInterval:[934,1076]},null,[],["alt",{sourceInterval:[949,1076]},["app",{sourceInterval:[949,977]},"hierPart_abempty",[]],["app",{sourceInterval:[1008,1020]},"hierPart_absolute",[]],["app",{sourceInterval:[1052,1064]},"hierPart_rootless",[]]]],absoluteUri:["define",{sourceInterval:[1081,1130]},null,[],["seq",{sourceInterval:[1096,1130]},["app",{sourceInterval:[1096,1102]},"scheme",[]],["terminal",{sourceInterval:[1103,1106]},":"],["opt",{sourceInterval:[1107,1116]},["app",{sourceInterval:[1107,1115]},"hierPart",[]]],["opt",{sourceInterval:[1117,1130]},["seq",{sourceInterval:[1118,1127]},["terminal",{sourceInterval:[1118,1121]},"?"],["app",{sourceInterval:[1122,1127]},"query",[]]]]]],relativeRef:["define",{sourceInterval:[1135,1194]},null,[],["seq",{sourceInterval:[1150,1194]},["opt",{sourceInterval:[1150,1163]},["app",{sourceInterval:[1150,1162]},"relativePart",[]]],["opt",{sourceInterval:[1164,1177]},["seq",{sourceInterval:[1165,1174]},["terminal",{sourceInterval:[1165,1168]},"?"],["app",{sourceInterval:[1169,1174]},"query",[]]]],["opt",{sourceInterval:[1178,1194]},["seq",{sourceInterval:[1179,1191]},["terminal",{sourceInterval:[1179,1182]},"#"],["app",{sourceInterval:[1183,1191]},"fragment",[]]]]]],relativePart_abempty:["define",{sourceInterval:[1214,1251]},null,[],["seq",{sourceInterval:[1214,1240]},["terminal",{sourceInterval:[1214,1218]},"//"],["app",{sourceInterval:[1219,1228]},"authority",[]],["app",{sourceInterval:[1229,1240]},"pathAbempty",[]]]],relativePart_absolute:["define",{sourceInterval:[1271,1295]},null,[],["app",{sourceInterval:[1271,1283]},"pathAbsolute",[]]],relativePart_noscheme:["define",{sourceInterval:[1315,1339]},null,[],["app",{sourceInterval:[1315,1327]},"pathNoscheme",[]]],relativePart:["define",{sourceInterval:[1199,1339]},null,[],["alt",{sourceInterval:[1214,1339]},["app",{sourceInterval:[1214,1240]},"relativePart_abempty",[]],["app",{sourceInterval:[1271,1283]},"relativePart_absolute",[]],["app",{sourceInterval:[1315,1327]},"relativePart_noscheme",[]]]],scheme:["define",{sourceInterval:[1344,1392]},null,[],["seq",{sourceInterval:[1359,1392]},["app",{sourceInterval:[1359,1365]},"letter",[]],["star",{sourceInterval:[1366,1392]},["alt",{sourceInterval:[1367,1390]},["app",{sourceInterval:[1367,1372]},"alnum",[]],["terminal",{sourceInterval:[1375,1378]},"+"],["terminal",{sourceInterval:[1381,1384]},"-"],["terminal",{sourceInterval:[1387,1390]},"."]]]]],authority:["define",{sourceInterval:[1397,1446]},null,[],["seq",{sourceInterval:[1412,1446]},["opt",{sourceInterval:[1412,1428]},["seq",{sourceInterval:[1413,1425]},["app",{sourceInterval:[1413,1421]},"userinfo",[]],["terminal",{sourceInterval:[1422,1425]},"@"]]],["app",{sourceInterval:[1429,1433]},"host",[]],["opt",{sourceInterval:[1434,1446]},["seq",{sourceInterval:[1435,1443]},["terminal",{sourceInterval:[1435,1438]},":"],["app",{sourceInterval:[1439,1443]},"port",[]]]]]],userinfo:["define",{sourceInterval:[1451,1510]},null,[],["star",{sourceInterval:[1466,1510]},["alt",{sourceInterval:[1467,1508]},["app",{sourceInterval:[1467,1477]},"unreserved",[]],["app",{sourceInterval:[1480,1490]},"pctEncoded",[]],["app",{sourceInterval:[1493,1502]},"subDelims",[]],["terminal",{sourceInterval:[1505,1508]},":"]]]],host:["define",{sourceInterval:[1515,1563]},null,[],["alt",{sourceInterval:[1530,1563]},["app",{sourceInterval:[1530,1539]},"ipLiteral",[]],["app",{sourceInterval:[1542,1553]},"ipv4Address",[]],["app",{sourceInterval:[1556,1563]},"regName",[]]]],port:["define",{sourceInterval:[1568,1589]},null,[],["star",{sourceInterval:[1583,1589]},["app",{sourceInterval:[1583,1588]},"digit",[]]]],ipLiteral:["define",{sourceInterval:[1594,1642]},null,[],["seq",{sourceInterval:[1609,1642]},["terminal",{sourceInterval:[1609,1612]},"["],["alt",{sourceInterval:[1614,1637]},["app",{sourceInterval:[1614,1625]},"ipv6Address",[]],["app",{sourceInterval:[1628,1637]},"ipvFuture",[]]],["terminal",{sourceInterval:[1639,1642]},"]"]]],ipvFuture:["define",{sourceInterval:[1647,1709]},null,[],["seq",{sourceInterval:[1662,1709]},["terminal",{sourceInterval:[1662,1665]},"v"],["plus",{sourceInterval:[1666,1673]},["app",{sourceInterval:[1666,1672]},"hexdig",[]]],["terminal",{sourceInterval:[1674,1677]},"."],["plus",{sourceInterval:[1678,1709]},["alt",{sourceInterval:[1679,1707]},["app",{sourceInterval:[1679,1689]},"unreserved",[]],["app",{sourceInterval:[1692,1701]},"subDelims",[]],["terminal",{sourceInterval:[1704,1707]},":"]]]]],ipv6Address:["define",{sourceInterval:[1714,1750]},null,[],["plus",{sourceInterval:[1729,1750]},["alt",{sourceInterval:[1730,1748]},["app",{sourceInterval:[1730,1736]},"hexdig",[]],["terminal",{sourceInterval:[1739,1742]},":"],["terminal",{sourceInterval:[1745,1748]},"."]]]],ipv4Address:["define",{sourceInterval:[1825,1887]},null,[],["seq",{sourceInterval:[1840,1887]},["app",{sourceInterval:[1840,1848]},"decOctet",[]],["terminal",{sourceInterval:[1849,1852]},"."],["app",{sourceInterval:[1853,1861]},"decOctet",[]],["terminal",{sourceInterval:[1862,1865]},"."],["app",{sourceInterval:[1866,1874]},"decOctet",[]],["terminal",{sourceInterval:[1875,1878]},"."],["app",{sourceInterval:[1879,1887]},"decOctet",[]]]],nz:["define",{sourceInterval:[1892,1917]},null,[],["seq",{sourceInterval:[1907,1917]},["not",{sourceInterval:[1907,1911]},["terminal",{sourceInterval:[1908,1911]},"0"]],["app",{sourceInterval:[1912,1917]},"digit",[]]]],decOctet_zeroToNine:["define",{sourceInterval:[1937,1956]},null,[],["app",{sourceInterval:[1937,1942]},"digit",[]]],decOctet_tenToNinetyNine:["define",{sourceInterval:[1976,2003]},null,[],["seq",{sourceInterval:[1976,1984]},["app",{sourceInterval:[1976,1978]},"nz",[]],["app",{sourceInterval:[1979,1984]},"digit",[]]]],decOctet_oneHundredToOneNinetyNine:["define",{sourceInterval:[2023,2067]},null,[],["seq",{sourceInterval:[2023,2038]},["terminal",{sourceInterval:[2023,2026]},"1"],["app",{sourceInterval:[2027,2032]},"digit",[]],["app",{sourceInterval:[2033,2038]},"digit",[]]]],decOctet_twoHundredToTwoFortyNine:["define",{sourceInterval:[2087,2154]},null,[],["seq",{sourceInterval:[2087,2126]},["terminal",{sourceInterval:[2087,2090]},"2"],["alt",{sourceInterval:[2092,2119]},["terminal",{sourceInterval:[2092,2095]},"0"],["terminal",{sourceInterval:[2098,2101]},"1"],["terminal",{sourceInterval:[2104,2107]},"2"],["terminal",{sourceInterval:[2110,2113]},"3"],["terminal",{sourceInterval:[2116,2119]},"4"]],["app",{sourceInterval:[2121,2126]},"digit",[]]]],decOctet_twoFiftyToTwoFiftyFive:["define",{sourceInterval:[2174,2240]},null,[],["seq",{sourceInterval:[2174,2214]},["terminal",{sourceInterval:[2174,2178]},"25"],["alt",{sourceInterval:[2180,2213]},["terminal",{sourceInterval:[2180,2183]},"0"],["terminal",{sourceInterval:[2186,2189]},"1"],["terminal",{sourceInterval:[2192,2195]},"2"],["terminal",{sourceInterval:[2198,2201]},"3"],["terminal",{sourceInterval:[2204,2207]},"4"],["terminal",{sourceInterval:[2210,2213]},"5"]]]],decOctet:["define",{sourceInterval:[1922,2240]},null,[],["alt",{sourceInterval:[1937,2240]},["app",{sourceInterval:[1937,1942]},"decOctet_zeroToNine",[]],["app",{sourceInterval:[1976,1984]},"decOctet_tenToNinetyNine",[]],["app",{sourceInterval:[2023,2038]},"decOctet_oneHundredToOneNinetyNine",[]],["app",{sourceInterval:[2087,2126]},"decOctet_twoHundredToTwoFortyNine",[]],["app",{sourceInterval:[2174,2214]},"decOctet_twoFiftyToTwoFiftyFive",[]]]],regName:["define",{sourceInterval:[2245,2298]},null,[],["star",{sourceInterval:[2260,2298]},["alt",{sourceInterval:[2261,2296]},["app",{sourceInterval:[2261,2271]},"unreserved",[]],["app",{sourceInterval:[2274,2284]},"pctEncoded",[]],["app",{sourceInterval:[2287,2296]},"subDelims",[]]]]],path:["define",{sourceInterval:[2303,2523]},null,[],["alt",{sourceInterval:[2318,2523]},["app",{sourceInterval:[2318,2329]},"pathAbempty",[]],["app",{sourceInterval:[2380,2392]},"pathAbsolute",[]],["app",{sourceInterval:[2444,2456]},"pathNoscheme",[]],["app",{sourceInterval:[2511,2523]},"pathRootless",[]]]],pathAbempty:["define",{sourceInterval:[2553,2582]},null,[],["star",{sourceInterval:[2568,2582]},["seq",{sourceInterval:[2569,2580]},["terminal",{sourceInterval:[2569,2572]},"/"],["app",{sourceInterval:[2573,2580]},"segment",[]]]]],pathAbsolute:["define",{sourceInterval:[2587,2634]},null,[],["seq",{sourceInterval:[2602,2634]},["terminal",{sourceInterval:[2602,2605]},"/"],["opt",{sourceInterval:[2606,2634]},["seq",{sourceInterval:[2607,2631]},["app",{sourceInterval:[2607,2616]},"segmentNz",[]],["star",{sourceInterval:[2617,2631]},["seq",{sourceInterval:[2618,2629]},["terminal",{sourceInterval:[2618,2621]},"/"],["app",{sourceInterval:[2622,2629]},"segment",[]]]]]]]],pathNoscheme:["define",{sourceInterval:[2639,2680]},null,[],["seq",{sourceInterval:[2654,2680]},["app",{sourceInterval:[2654,2665]},"segmentNzNc",[]],["star",{sourceInterval:[2666,2680]},["seq",{sourceInterval:[2667,2678]},["terminal",{sourceInterval:[2667,2670]},"/"],["app",{sourceInterval:[2671,2678]},"segment",[]]]]]],pathRootless:["define",{sourceInterval:[2685,2724]},null,[],["seq",{sourceInterval:[2700,2724]},["app",{sourceInterval:[2700,2709]},"segmentNz",[]],["star",{sourceInterval:[2710,2724]},["seq",{sourceInterval:[2711,2722]},["terminal",{sourceInterval:[2711,2714]},"/"],["app",{sourceInterval:[2715,2722]},"segment",[]]]]]],segment:["define",{sourceInterval:[2729,2750]},null,[],["star",{sourceInterval:[2744,2750]},["app",{sourceInterval:[2744,2749]},"pchar",[]]]],segmentNz:["define",{sourceInterval:[2755,2776]},null,[],["plus",{sourceInterval:[2770,2776]},["app",{sourceInterval:[2770,2775]},"pchar",[]]]],segmentNzNc:["define",{sourceInterval:[2781,2840]},null,[],["plus",{sourceInterval:[2796,2840]},["alt",{sourceInterval:[2797,2838]},["app",{sourceInterval:[2797,2807]},"unreserved",[]],["app",{sourceInterval:[2810,2820]},"pctEncoded",[]],["app",{sourceInterval:[2823,2832]},"subDelims",[]],["terminal",{sourceInterval:[2835,2838]},"@"]]]],pchar:["define",{sourceInterval:[2894,2956]},null,[],["alt",{sourceInterval:[2909,2956]},["app",{sourceInterval:[2909,2919]},"unreserved",[]],["app",{sourceInterval:[2922,2932]},"pctEncoded",[]],["app",{sourceInterval:[2935,2944]},"subDelims",[]],["terminal",{sourceInterval:[2947,2950]},":"],["terminal",{sourceInterval:[2953,2956]},"@"]]],query:["define",{sourceInterval:[2961,2996]},null,[],["star",{sourceInterval:[2976,2996]},["alt",{sourceInterval:[2977,2994]},["app",{sourceInterval:[2977,2982]},"pchar",[]],["terminal",{sourceInterval:[2985,2988]},"/"],["terminal",{sourceInterval:[2991,2994]},"?"]]]],fragment:["define",{sourceInterval:[3001,3036]},null,[],["star",{sourceInterval:[3016,3036]},["alt",{sourceInterval:[3017,3034]},["app",{sourceInterval:[3017,3022]},"pchar",[]],["terminal",{sourceInterval:[3025,3028]},"/"],["terminal",{sourceInterval:[3031,3034]},"?"]]]],pctEncoded:["define",{sourceInterval:[3041,3066]},null,[],["seq",{sourceInterval:[3056,3066]},["terminal",{sourceInterval:[3056,3059]},"%"],["app",{sourceInterval:[3060,3066]},"hexdig",[]]]],unreserved:["define",{sourceInterval:[3071,3115]},null,[],["alt",{sourceInterval:[3086,3115]},["app",{sourceInterval:[3086,3091]},"alnum",[]],["terminal",{sourceInterval:[3094,3097]},"-"],["terminal",{sourceInterval:[3100,3103]},"."],["terminal",{sourceInterval:[3106,3109]},"_"],["terminal",{sourceInterval:[3112,3115]},"~"]]],reserved:["define",{sourceInterval:[3120,3156]},null,[],["alt",{sourceInterval:[3135,3156]},["app",{sourceInterval:[3135,3144]},"genDelims",[]],["app",{sourceInterval:[3147,3156]},"subDelims",[]]]],genDelims:["define",{sourceInterval:[3161,3216]},null,[],["alt",{sourceInterval:[3176,3216]},["terminal",{sourceInterval:[3176,3179]},":"],["terminal",{sourceInterval:[3182,3185]},"/"],["terminal",{sourceInterval:[3188,3191]},"?"],["terminal",{sourceInterval:[3194,3197]},"#"],["terminal",{sourceInterval:[3200,3203]},"("],["terminal",{sourceInterval:[3206,3210]},")?"],["terminal",{sourceInterval:[3213,3216]},"@"]]],subDelims:["define",{sourceInterval:[3221,3299]},null,[],["alt",{sourceInterval:[3236,3299]},["terminal",{sourceInterval:[3236,3239]},"!"],["terminal",{sourceInterval:[3242,3245]},"$"],["terminal",{sourceInterval:[3248,3251]},"&"],["terminal",{sourceInterval:[3254,3257]},"'"],["terminal",{sourceInterval:[3260,3263]},"("],["terminal",{sourceInterval:[3266,3269]},")"],["terminal",{sourceInterval:[3272,3275]},"*"],["terminal",{sourceInterval:[3278,3281]},"+"],["terminal",{sourceInterval:[3284,3287]},","],["terminal",{sourceInterval:[3290,3293]},";"],["terminal",{sourceInterval:[3296,3299]},"="]]],hexdig:["define",{sourceInterval:[3304,3396]},null,[],["alt",{sourceInterval:[3319,3396]},["app",{sourceInterval:[3319,3324]},"digit",[]],["terminal",{sourceInterval:[3327,3330]},"a"],["terminal",{sourceInterval:[3333,3336]},"A"],["terminal",{sourceInterval:[3339,3342]},"b"],["terminal",{sourceInterval:[3345,3348]},"B"],["terminal",{sourceInterval:[3351,3354]},"c"],["terminal",{sourceInterval:[3357,3360]},"C"],["terminal",{sourceInterval:[3363,3366]},"d"],["terminal",{sourceInterval:[3369,3372]},"D"],["terminal",{sourceInterval:[3375,3378]},"e"],["terminal",{sourceInterval:[3381,3384]},"E"],["terminal",{sourceInterval:[3387,3390]},"f"],["terminal",{sourceInterval:[3393,3396]},"F"]]],QuotedMarker:["define",{sourceInterval:[3429,3455]},null,[],["seq",{sourceInterval:[3445,3455]},["terminal",{sourceInterval:[3445,3448]},";"],["app",{sourceInterval:[3449,3455]},"Marker",[]]]],Marker:["define",{sourceInterval:[3460,3484]},null,[],["app",{sourceInterval:[3476,3484]},"MarkerOr",[]]],MarkerOr_node:["define",{sourceInterval:[3505,3537]},null,[],["seq",{sourceInterval:[3505,3529]},["app",{sourceInterval:[3505,3514]},"MarkerAnd",[]],["terminal",{sourceInterval:[3515,3519]},"or"],["app",{sourceInterval:[3520,3529]},"MarkerAnd",[]]]],MarkerOr_leaf:["define",{sourceInterval:[3558,3575]},null,[],["app",{sourceInterval:[3558,3567]},"MarkerAnd",[]]],MarkerOr:["define",{sourceInterval:[3489,3575]},null,[],["alt",{sourceInterval:[3505,3575]},["app",{sourceInterval:[3505,3529]},"MarkerOr_node",[]],["app",{sourceInterval:[3558,3567]},"MarkerOr_leaf",[]]]],MarkerAnd_node:["define",{sourceInterval:[3596,3631]},null,[],["seq",{sourceInterval:[3596,3623]},["app",{sourceInterval:[3596,3606]},"MarkerExpr",[]],["terminal",{sourceInterval:[3607,3612]},"and"],["app",{sourceInterval:[3613,3623]},"MarkerExpr",[]]]],MarkerAnd_leaf:["define",{sourceInterval:[3652,3670]},null,[],["app",{sourceInterval:[3652,3662]},"MarkerExpr",[]]],MarkerAnd:["define",{sourceInterval:[3580,3670]},null,[],["alt",{sourceInterval:[3596,3670]},["app",{sourceInterval:[3596,3623]},"MarkerAnd_node",[]],["app",{sourceInterval:[3652,3662]},"MarkerAnd_leaf",[]]]],MarkerExpr_leaf:["define",{sourceInterval:[3691,3727]},null,[],["seq",{sourceInterval:[3691,3719]},["app",{sourceInterval:[3691,3700]},"MarkerVar",[]],["app",{sourceInterval:[3701,3709]},"markerOp",[]],["app",{sourceInterval:[3710,3719]},"MarkerVar",[]]]],MarkerExpr_node:["define",{sourceInterval:[3748,3770]},null,[],["seq",{sourceInterval:[3748,3762]},["terminal",{sourceInterval:[3748,3751]},"("],["app",{sourceInterval:[3752,3758]},"Marker",[]],["terminal",{sourceInterval:[3759,3762]},")"]]],MarkerExpr:["define",{sourceInterval:[3675,3770]},null,[],["alt",{sourceInterval:[3691,3770]},["app",{sourceInterval:[3691,3719]},"MarkerExpr_leaf",[]],["app",{sourceInterval:[3748,3762]},"MarkerExpr_node",[]]]],MarkerVar:["define",{sourceInterval:[3775,3809]},null,[],["alt",{sourceInterval:[3791,3809]},["app",{sourceInterval:[3791,3797]},"envVar",[]],["app",{sourceInterval:[3800,3809]},"pythonStr",[]]]],markerOp_versionCmp:["define",{sourceInterval:[3830,3854]},null,[],["app",{sourceInterval:[3830,3840]},"versionCmp",[]]],markerOp_in:["define",{sourceInterval:[3875,3885]},null,[],["terminal",{sourceInterval:[3875,3879]},"in"]],markerOp_notIn:["define",{sourceInterval:[3906,3934]},null,[],["seq",{sourceInterval:[3906,3925]},["terminal",{sourceInterval:[3907,3912]},"not"],["plus",{sourceInterval:[3913,3919]},["app",{sourceInterval:[3913,3918]},"space",[]]],["terminal",{sourceInterval:[3920,3924]},"in"]]],markerOp:["define",{sourceInterval:[3814,3934]},null,[],["alt",{sourceInterval:[3830,3934]},["app",{sourceInterval:[3830,3840]},"markerOp_versionCmp",[]],["app",{sourceInterval:[3875,3879]},"markerOp_in",[]],["app",{sourceInterval:[3906,3925]},"markerOp_notIn",[]]]],pythonStr:["define",{sourceInterval:[3939,4039]},null,[],["alt",{sourceInterval:[3955,4039]},["seq",{sourceInterval:[3955,3986]},["terminal",{sourceInterval:[3955,3958]},"'"],["star",{sourceInterval:[3959,3982]},["alt",{sourceInterval:[3960,3980]},["app",{sourceInterval:[3960,3973]},"pythonStrChar",[]],["terminal",{sourceInterval:[3976,3980]},'"']]],["terminal",{sourceInterval:[3983,3986]},"'"]],["seq",{sourceInterval:[4007,4039]},["terminal",{sourceInterval:[4007,4011]},'"'],["star",{sourceInterval:[4012,4034]},["alt",{sourceInterval:[4013,4032]},["app",{sourceInterval:[4013,4026]},"pythonStrChar",[]],["terminal",{sourceInterval:[4029,4032]},"'"]]],["terminal",{sourceInterval:[4035,4039]},'"']]]],pythonStrChar:["define",{sourceInterval:[4044,4265]},null,[],["alt",{sourceInterval:[4060,4265]},["app",{sourceInterval:[4060,4065]},"space",[]],["app",{sourceInterval:[4068,4073]},"alnum",[]],["terminal",{sourceInterval:[4076,4079]},"("],["terminal",{sourceInterval:[4082,4085]},")"],["terminal",{sourceInterval:[4088,4091]},"."],["terminal",{sourceInterval:[4094,4097]},"{"],["terminal",{sourceInterval:[4100,4103]},"}"],["terminal",{sourceInterval:[4106,4109]},"-"],["terminal",{sourceInterval:[4112,4115]},"_"],["terminal",{sourceInterval:[4118,4121]},"*"],["terminal",{sourceInterval:[4124,4127]},"#"],["terminal",{sourceInterval:[4130,4133]},":"],["terminal",{sourceInterval:[4136,4139]},";"],["terminal",{sourceInterval:[4142,4145]},","],["terminal",{sourceInterval:[4148,4151]},"/"],["terminal",{sourceInterval:[4154,4157]},"?"],["terminal",{sourceInterval:[4178,4181]},"["],["terminal",{sourceInterval:[4184,4187]},"]"],["terminal",{sourceInterval:[4190,4193]},"!"],["terminal",{sourceInterval:[4196,4199]},"~"],["terminal",{sourceInterval:[4202,4205]},"`"],["terminal",{sourceInterval:[4208,4211]},"@"],["terminal",{sourceInterval:[4214,4217]},"$"],["terminal",{sourceInterval:[4220,4223]},"%"],["terminal",{sourceInterval:[4226,4229]},"^"],["terminal",{sourceInterval:[4232,4235]},"&"],["terminal",{sourceInterval:[4238,4241]},"="],["terminal",{sourceInterval:[4244,4247]},"+"],["terminal",{sourceInterval:[4250,4253]},"|"],["terminal",{sourceInterval:[4256,4259]},"<"],["terminal",{sourceInterval:[4262,4265]},">"]]],envVar:["define",{sourceInterval:[4270,4570]},null,[],["alt",{sourceInterval:[4286,4570]},["terminal",{sourceInterval:[4286,4302]},"python_version"],["terminal",{sourceInterval:[4305,4326]},"python_full_version"],["terminal",{sourceInterval:[4329,4338]},"os_name"],["terminal",{sourceInterval:[4341,4355]},"sys_platform"],["terminal",{sourceInterval:[4358,4376]},"platform_release"],["terminal",{sourceInterval:[4397,4414]},"platform_system"],["terminal",{sourceInterval:[4417,4435]},"platform_version"],["terminal",{sourceInterval:[4438,4456]},"platform_machine"],["terminal",{sourceInterval:[4459,4491]},"platform_python_implementation"],["terminal",{sourceInterval:[4512,4533]},"implementation_name"],["terminal",{sourceInterval:[4536,4560]},"implementation_version"],["terminal",{sourceInterval:[4563,4570]},"extra"]]],VersionSpec_parenthesized:["define",{sourceInterval:[4717,4753]},null,[],["seq",{sourceInterval:[4717,4736]},["terminal",{sourceInterval:[4717,4720]},"("],["app",{sourceInterval:[4721,4732]},"VersionMany",[]],["terminal",{sourceInterval:[4733,4736]},")"]]],VersionSpec_direct:["define",{sourceInterval:[4774,4795]},null,[],["app",{sourceInterval:[4774,4785]},"VersionMany",[]]],VersionSpec:["define",{sourceInterval:[4701,4795]},null,[],["alt",{sourceInterval:[4717,4795]},["app",{sourceInterval:[4717,4736]},"VersionSpec_parenthesized",[]],["app",{sourceInterval:[4774,4785]},"VersionSpec_direct",[]]]],VersionMany:["define",{sourceInterval:[4800,4839]},null,[],["app",{sourceInterval:[4816,4839]},"ListOf",[["app",{sourceInterval:[4823,4833]},"VersionOne",[]],["terminal",{sourceInterval:[4835,4838]},","]]]],VersionOne:["define",{sourceInterval:[4844,4878]},null,[],["seq",{sourceInterval:[4860,4878]},["app",{sourceInterval:[4860,4870]},"versionCmp",[]],["app",{sourceInterval:[4871,4878]},"version",[]]]],versionCmp:["define",{sourceInterval:[4883,4951]},null,[],["alt",{sourceInterval:[4899,4951]},["terminal",{sourceInterval:[4899,4903]},"<="],["terminal",{sourceInterval:[4906,4909]},"<"],["terminal",{sourceInterval:[4912,4916]},"!="],["terminal",{sourceInterval:[4919,4923]},"=="],["terminal",{sourceInterval:[4926,4930]},">="],["terminal",{sourceInterval:[4933,4936]},">"],["terminal",{sourceInterval:[4939,4943]},"~="],["terminal",{sourceInterval:[4946,4951]},"==="]]],version:["define",{sourceInterval:[4956,5017]},null,[],["plus",{sourceInterval:[4972,5017]},["alt",{sourceInterval:[4973,5014]},["app",{sourceInterval:[4973,4978]},"alnum",[]],["terminal",{sourceInterval:[4981,4984]},"-"],["terminal",{sourceInterval:[4987,4990]},"_"],["terminal",{sourceInterval:[4993,4996]},"."],["terminal",{sourceInterval:[4999,5002]},"*"],["terminal",{sourceInterval:[5005,5008]},"+"],["terminal",{sourceInterval:[5011,5014]},"!"]]]],comment:["define",{sourceInterval:[5023,5049]},null,[],["seq",{sourceInterval:[5033,5049]},["terminal",{sourceInterval:[5033,5036]},"#"],["star",{sourceInterval:[5037,5049]},["seq",{sourceInterval:[5038,5047]},["not",{sourceInterval:[5038,5043]},["terminal",{sourceInterval:[5039,5043]},`
349
349
  `]],["app",{sourceInterval:[5044,5047]},"any",[]]]]]],space:["override",{sourceInterval:[5055,5074]},null,[],["alt",{sourceInterval:[5064,5074]},["terminal",{sourceInterval:[5064,5067]}," "],["terminal",{sourceInterval:[5070,5074]}," "]]],LooseFile:["define",{sourceInterval:[5291,5334]},null,[],["app",{sourceInterval:[5311,5334]},"ListOf",[["app",{sourceInterval:[5318,5327]},"LooseLine",[]],["terminal",{sourceInterval:[5329,5333]},`
350
350
  `]]]],LooseLine:["define",{sourceInterval:[5339,5376]},null,[],["seq",{sourceInterval:[5359,5376]},["app",{sourceInterval:[5359,5367]},"LooseReq",[]],["opt",{sourceInterval:[5368,5376]},["app",{sourceInterval:[5368,5375]},"comment",[]]]]],LooseReq:["define",{sourceInterval:[5381,5431]},null,[],["alt",{sourceInterval:[5401,5431]},["app",{sourceInterval:[5401,5416]},"LooseNonNameReq",[]],["app",{sourceInterval:[5419,5431]},"LooseNameReq",[]]]],LooseNameReq:["define",{sourceInterval:[5436,5509]},null,[],["seq",{sourceInterval:[5456,5509]},["app",{sourceInterval:[5456,5460]},"Name",[]],["opt",{sourceInterval:[5461,5473]},["app",{sourceInterval:[5461,5472]},"LooseExtras",[]]],["app",{sourceInterval:[5474,5490]},"LooseVersionSpec",[]],["opt",{sourceInterval:[5491,5509]},["app",{sourceInterval:[5491,5508]},"LooseQuotedMarker",[]]]]],LooseNonNameReq:["define",{sourceInterval:[5514,5569]},null,[],["seq",{sourceInterval:[5534,5569]},["not",{sourceInterval:[5535,5554]},["seq",{sourceInterval:[5537,5553]},["not",{sourceInterval:[5537,5548]},["seq",{sourceInterval:[5539,5547]},["app",{sourceInterval:[5539,5543]},"Name",[]],["terminal",{sourceInterval:[5544,5547]},"@"]]],["app",{sourceInterval:[5549,5553]},"Name",[]]]],["app",{sourceInterval:[5555,5568]},"looseAnything",[]]]],LooseExtras:["define",{sourceInterval:[5634,5689]},null,[],["seq",{sourceInterval:[5654,5689]},["terminal",{sourceInterval:[5654,5657]},"["],["opt",{sourceInterval:[5658,5689]},["seq",{sourceInterval:[5659,5687]},["app",{sourceInterval:[5659,5682]},"ListOf",[["app",{sourceInterval:[5666,5676]},"identifier",[]],["terminal",{sourceInterval:[5678,5681]},","]]],["opt",{sourceInterval:[5683,5687]},["terminal",{sourceInterval:[5683,5686]},"]"]]]]]],LooseQuotedMarker:["define",{sourceInterval:[5694,5731]},null,[],["seq",{sourceInterval:[5714,5731]},["terminal",{sourceInterval:[5714,5717]},";"],["app",{sourceInterval:[5718,5731]},"looseAnything",[]]]],LooseVersionSpec_parenthesized:["define",{sourceInterval:[5756,5801]},null,[],["seq",{sourceInterval:[5756,5784]},["terminal",{sourceInterval:[5756,5759]},"("],["opt",{sourceInterval:[5760,5784]},["seq",{sourceInterval:[5761,5782]},["app",{sourceInterval:[5761,5777]},"LooseVersionMany",[]],["opt",{sourceInterval:[5778,5782]},["terminal",{sourceInterval:[5778,5781]},")"]]]]]],LooseVersionSpec_direct:["define",{sourceInterval:[5826,5852]},null,[],["app",{sourceInterval:[5826,5842]},"LooseVersionMany",[]]],LooseVersionSpec:["define",{sourceInterval:[5736,5852]},null,[],["alt",{sourceInterval:[5756,5852]},["app",{sourceInterval:[5756,5784]},"LooseVersionSpec_parenthesized",[]],["app",{sourceInterval:[5826,5842]},"LooseVersionSpec_direct",[]]]],LooseVersionMany:["define",{sourceInterval:[5857,5910]},null,[],["seq",{sourceInterval:[5877,5910]},["app",{sourceInterval:[5877,5905]},"ListOf",[["app",{sourceInterval:[5884,5899]},"LooseVersionOne",[]],["terminal",{sourceInterval:[5901,5904]},","]]],["opt",{sourceInterval:[5906,5910]},["terminal",{sourceInterval:[5906,5909]},","]]]],LooseVersionOne:["define",{sourceInterval:[5915,5967]},null,[],["opt",{sourceInterval:[5935,5967]},["seq",{sourceInterval:[5936,5965]},["app",{sourceInterval:[5936,5951]},"looseVersionCmp",[]],["opt",{sourceInterval:[5952,5965]},["app",{sourceInterval:[5952,5964]},"looseVersion",[]]]]]],looseVersionCmp:["define",{sourceInterval:[5972,6022]},null,[],["plus",{sourceInterval:[5992,6022]},["alt",{sourceInterval:[5993,6020]},["terminal",{sourceInterval:[5993,5996]},"<"],["terminal",{sourceInterval:[5999,6002]},"="],["terminal",{sourceInterval:[6005,6008]},"!"],["terminal",{sourceInterval:[6011,6014]},">"],["terminal",{sourceInterval:[6017,6020]},"~"]]]],looseVersion:["define",{sourceInterval:[6027,6092]},null,[],["plus",{sourceInterval:[6047,6092]},["alt",{sourceInterval:[6048,6089]},["app",{sourceInterval:[6048,6053]},"alnum",[]],["terminal",{sourceInterval:[6056,6059]},"-"],["terminal",{sourceInterval:[6062,6065]},"_"],["terminal",{sourceInterval:[6068,6071]},"."],["terminal",{sourceInterval:[6074,6077]},"*"],["terminal",{sourceInterval:[6080,6083]},"+"],["terminal",{sourceInterval:[6086,6089]},"!"]]]],looseAnything:["define",{sourceInterval:[6097,6137]},null,[],["star",{sourceInterval:[6117,6137]},["seq",{sourceInterval:[6118,6135]},["not",{sourceInterval:[6118,6131]},["alt",{sourceInterval:[6120,6130]},["terminal",{sourceInterval:[6120,6124]},`
351
- `],["terminal",{sourceInterval:[6127,6130]},"#"]]],["app",{sourceInterval:[6132,6135]},"any",[]]]]]}]);oft.exports=tcr});var HFe=jt(FT=>{"use strict";var rcr=FT&&FT.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(FT,"__esModule",{value:!0});FT.RequirementsSyntaxError=FT.semantics=void 0;var ncr=rcr(GFe());FT.semantics=ncr.default.createSemantics();FT.semantics.addOperation("extract",{File:p=>p.asIteration().children.map(c=>c.extract()).filter(Boolean),Line:(p,c)=>{var _;return((_=p.child(0))===null||_===void 0?void 0:_.extract())||null},NameReq:(p,c,_,g)=>{var S,w;return{type:"ProjectName",name:p.sourceString,versionSpec:_.extract(),extras:(S=c.child(0))===null||S===void 0?void 0:S.extract(),environmentMarkerTree:(w=g.child(0))===null||w===void 0?void 0:w.extract()}},UrlReq:(p,c,_,g,S)=>{var w,z;return{type:"ProjectURL",name:p.sourceString,url:_.extract(),extras:(w=c.child(0))===null||w===void 0?void 0:w.extract(),environmentMarkerTree:(z=S.child(0))===null||z===void 0?void 0:z.extract()}},Extras:(p,c,_)=>c.asIteration().children.map(g=>g.sourceString),RequirementsReq:(p,c)=>({type:"RequirementsFile",path:c.sourceString}),ConstraintsReq:(p,c)=>({type:"ConstraintsFile",path:c.sourceString}),UrlSpec:(p,c)=>c.sourceString,QuotedMarker:(p,c)=>c.extract(),MarkerOr_node:(p,c,_)=>({operator:"or",left:p.extract(),right:_.extract()}),MarkerAnd_node:(p,c,_)=>({operator:"and",left:p.extract(),right:_.extract()}),MarkerExpr_leaf:(p,c,_)=>({left:p.sourceString,operator:c.sourceString,right:_.sourceString}),MarkerExpr_node:(p,c,_)=>c.extract(),VersionSpec_parenthesized:(p,c,_)=>c.extract()||[],VersionMany:p=>{let c=p.asIteration().children;if(c.length!==0)return c.map(_=>_.extract())},VersionOne:(p,c)=>({operator:p.sourceString,version:c.sourceString})});FT.semantics.addOperation("extractLoosely",{LooseFile:p=>p.asIteration().children.map(c=>c.extractLoosely()).filter(Boolean),LooseLine:(p,c)=>{var _;return((_=p.child(0))===null||_===void 0?void 0:_.extractLoosely())||null},LooseNameReq:(p,c,_,g)=>({type:"ProjectName",name:p.sourceString}),LooseNonNameReq:p=>null});var $Fe=class extends Error{};FT.RequirementsSyntaxError=$Fe});var lft=jt(BR=>{"use strict";Object.defineProperty(BR,"__esModule",{value:!0});BR.VersionOperator=BR.EnvironmentMarkerVariable=void 0;var cft;(function(p){p.PythonVersion="python_version",p.PythonFullVersion="python_full_version",p.OsName="os_name",p.SysPlatform="sys_platform",p.PlatformRelease="platform_release",p.PlatformSystem="platform_system",p.PlatformVersion="platform_version",p.PlatformMachine="platform_machine",p.PlatformPythonImplementation="platform_python_implementation",p.ImplementationName="implementation_name",p.ImplementationVersion="implementation_version",p.Extra="extra"})(cft||(BR.EnvironmentMarkerVariable=cft={}));var uft;(function(p){p.CompatibleRelease="~=",p.VersionMatching="==",p.VersionExclusion="!=",p.LessThanOrMatching="<=",p.GreaterThanOrMatching=">=",p.LessThan="<",p.GreaterThan=">",p.ArbitrarilyEqual="==="})(uft||(BR.VersionOperator=uft={}))});var fft=jt(tg=>{"use strict";var icr=tg&&tg.__createBinding||(Object.create?(function(p,c,_,g){g===void 0&&(g=_);var S=Object.getOwnPropertyDescriptor(c,_);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[_]}}),Object.defineProperty(p,g,S)}):(function(p,c,_,g){g===void 0&&(g=_),p[g]=c[_]})),scr=tg&&tg.__exportStar||function(p,c){for(var _ in p)_!=="default"&&!Object.prototype.hasOwnProperty.call(c,_)&&icr(c,p,_)},acr=tg&&tg.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(tg,"__esModule",{value:!0});tg.parsePipRequirementsLineLoosely=tg.parsePipRequirementsFileLoosely=tg.parsePipRequirementsLine=tg.parsePipRequirementsFile=tg.RequirementsSyntaxError=void 0;var ooe=acr(GFe()),B4=HFe(),ocr=HFe();Object.defineProperty(tg,"RequirementsSyntaxError",{enumerable:!0,get:function(){return ocr.RequirementsSyntaxError}});scr(lft(),tg);function ccr(p){let c=ooe.default.match(p,"File");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to parse requirements file. ${c.shortMessage}`);return(0,B4.semantics)(c).extract()}tg.parsePipRequirementsFile=ccr;function ucr(p){let c=ooe.default.match(p,"Line");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to parse requirements line. ${c.shortMessage}`);return(0,B4.semantics)(c).extract()}tg.parsePipRequirementsLine=ucr;function lcr(p){let c=ooe.default.match(p,"LooseFile");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to loosely parse requirements file. ${c.shortMessage}`);return(0,B4.semantics)(c).extractLoosely()}tg.parsePipRequirementsFileLoosely=lcr;function fcr(p){let c=ooe.default.match(p,"LooseLine");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to loosely parse requirements line. ${c.shortMessage}`);return(0,B4.semantics)(c).extractLoosely()}tg.parsePipRequirementsLineLoosely=fcr});var dft=jt(XFe=>{var pft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");XFe.encode=function(p){if(0<=p&&p<pft.length)return pft[p];throw new TypeError("Must be between 0 and 63: "+p)};XFe.decode=function(p){var c=65,_=90,g=97,S=122,w=48,z=57,ie=43,de=47,be=26,Ee=52;return c<=p&&p<=_?p-c:g<=p&&p<=S?p-g+be:w<=p&&p<=z?p-w+Ee:p==ie?62:p==de?63:-1}});var eke=jt(ZFe=>{var mft=dft(),YFe=5,hft=1<<YFe,gft=hft-1,yft=hft;function mcr(p){return p<0?(-p<<1)+1:(p<<1)+0}function hcr(p){var c=(p&1)===1,_=p>>1;return c?-_:_}ZFe.encode=function(c){var _="",g,S=mcr(c);do g=S&gft,S>>>=YFe,S>0&&(g|=yft),_+=mft.encode(g);while(S>0);return _};ZFe.decode=function(c,_,g){var S=c.length,w=0,z=0,ie,de;do{if(_>=S)throw new Error("Expected more digits in base 64 VLQ value.");if(de=mft.decode(c.charCodeAt(_++)),de===-1)throw new Error("Invalid base64 digit: "+c.charAt(_-1));ie=!!(de&yft),de&=gft,w=w+(de<<z),z+=YFe}while(ie);g.value=hcr(w),g.rest=_}});var zR=jt(P1=>{function gcr(p,c,_){if(c in p)return p[c];if(arguments.length===3)return _;throw new Error('"'+c+'" is a required argument.')}P1.getArg=gcr;var vft=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,ycr=/^data:.+\,.+$/;function rG(p){var c=p.match(vft);return c?{scheme:c[1],auth:c[2],host:c[3],port:c[4],path:c[5]}:null}P1.urlParse=rG;function JR(p){var c="";return p.scheme&&(c+=p.scheme+":"),c+="//",p.auth&&(c+=p.auth+"@"),p.host&&(c+=p.host),p.port&&(c+=":"+p.port),p.path&&(c+=p.path),c}P1.urlGenerate=JR;function tke(p){var c=p,_=rG(p);if(_){if(!_.path)return p;c=_.path}for(var g=P1.isAbsolute(c),S=c.split(/\/+/),w,z=0,ie=S.length-1;ie>=0;ie--)w=S[ie],w==="."?S.splice(ie,1):w===".."?z++:z>0&&(w===""?(S.splice(ie+1,z),z=0):(S.splice(ie,2),z--));return c=S.join("/"),c===""&&(c=g?"/":"."),_?(_.path=c,JR(_)):c}P1.normalize=tke;function Dft(p,c){p===""&&(p="."),c===""&&(c=".");var _=rG(c),g=rG(p);if(g&&(p=g.path||"/"),_&&!_.scheme)return g&&(_.scheme=g.scheme),JR(_);if(_||c.match(ycr))return c;if(g&&!g.host&&!g.path)return g.host=c,JR(g);var S=c.charAt(0)==="/"?c:tke(p.replace(/\/+$/,"")+"/"+c);return g?(g.path=S,JR(g)):S}P1.join=Dft;P1.isAbsolute=function(p){return p.charAt(0)==="/"||vft.test(p)};function vcr(p,c){p===""&&(p="."),p=p.replace(/\/$/,"");for(var _=0;c.indexOf(p+"/")!==0;){var g=p.lastIndexOf("/");if(g<0||(p=p.slice(0,g),p.match(/^([^\/]+:\/)?\/*$/)))return c;++_}return Array(_+1).join("../")+c.substr(p.length+1)}P1.relative=vcr;var bft=(function(){var p=Object.create(null);return!("__proto__"in p)})();function Cft(p){return p}function Dcr(p){return Sft(p)?"$"+p:p}P1.toSetString=bft?Cft:Dcr;function bcr(p){return Sft(p)?p.slice(1):p}P1.fromSetString=bft?Cft:bcr;function Sft(p){if(!p)return!1;var c=p.length;if(c<9||p.charCodeAt(c-1)!==95||p.charCodeAt(c-2)!==95||p.charCodeAt(c-3)!==111||p.charCodeAt(c-4)!==116||p.charCodeAt(c-5)!==111||p.charCodeAt(c-6)!==114||p.charCodeAt(c-7)!==112||p.charCodeAt(c-8)!==95||p.charCodeAt(c-9)!==95)return!1;for(var _=c-10;_>=0;_--)if(p.charCodeAt(_)!==36)return!1;return!0}function Ccr(p,c,_){var g=qR(p.source,c.source);return g!==0||(g=p.originalLine-c.originalLine,g!==0)||(g=p.originalColumn-c.originalColumn,g!==0||_)||(g=p.generatedColumn-c.generatedColumn,g!==0)||(g=p.generatedLine-c.generatedLine,g!==0)?g:qR(p.name,c.name)}P1.compareByOriginalPositions=Ccr;function Scr(p,c,_){var g=p.generatedLine-c.generatedLine;return g!==0||(g=p.generatedColumn-c.generatedColumn,g!==0||_)||(g=qR(p.source,c.source),g!==0)||(g=p.originalLine-c.originalLine,g!==0)||(g=p.originalColumn-c.originalColumn,g!==0)?g:qR(p.name,c.name)}P1.compareByGeneratedPositionsDeflated=Scr;function qR(p,c){return p===c?0:p===null?1:c===null?-1:p>c?1:-1}function Ecr(p,c){var _=p.generatedLine-c.generatedLine;return _!==0||(_=p.generatedColumn-c.generatedColumn,_!==0)||(_=qR(p.source,c.source),_!==0)||(_=p.originalLine-c.originalLine,_!==0)||(_=p.originalColumn-c.originalColumn,_!==0)?_:qR(p.name,c.name)}P1.compareByGeneratedPositionsInflated=Ecr;function xcr(p){return JSON.parse(p.replace(/^\)]}'[^\n]*\n/,""))}P1.parseSourceMapInput=xcr;function Tcr(p,c,_){if(c=c||"",p&&(p[p.length-1]!=="/"&&c[0]!=="/"&&(p+="/"),c=p+c),_){var g=rG(_);if(!g)throw new Error("sourceMapURL could not be parsed");if(g.path){var S=g.path.lastIndexOf("/");S>=0&&(g.path=g.path.substring(0,S+1))}c=Dft(JR(g),c)}return tke(c)}P1.computeSourceURL=Tcr});var ike=jt(Eft=>{var rke=zR(),nke=Object.prototype.hasOwnProperty,_7=typeof Map<"u";function xk(){this._array=[],this._set=_7?new Map:Object.create(null)}xk.fromArray=function(c,_){for(var g=new xk,S=0,w=c.length;S<w;S++)g.add(c[S],_);return g};xk.prototype.size=function(){return _7?this._set.size:Object.getOwnPropertyNames(this._set).length};xk.prototype.add=function(c,_){var g=_7?c:rke.toSetString(c),S=_7?this.has(c):nke.call(this._set,g),w=this._array.length;(!S||_)&&this._array.push(c),S||(_7?this._set.set(c,w):this._set[g]=w)};xk.prototype.has=function(c){if(_7)return this._set.has(c);var _=rke.toSetString(c);return nke.call(this._set,_)};xk.prototype.indexOf=function(c){if(_7){var _=this._set.get(c);if(_>=0)return _}else{var g=rke.toSetString(c);if(nke.call(this._set,g))return this._set[g]}throw new Error('"'+c+'" is not in the set.')};xk.prototype.at=function(c){if(c>=0&&c<this._array.length)return this._array[c];throw new Error("No element indexed by "+c)};xk.prototype.toArray=function(){return this._array.slice()};Eft.ArraySet=xk});var Aft=jt(Tft=>{var xft=zR();function Acr(p,c){var _=p.generatedLine,g=c.generatedLine,S=p.generatedColumn,w=c.generatedColumn;return g>_||g==_&&w>=S||xft.compareByGeneratedPositionsInflated(p,c)<=0}function coe(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}coe.prototype.unsortedForEach=function(c,_){this._array.forEach(c,_)};coe.prototype.add=function(c){Acr(this._last,c)?(this._last=c,this._array.push(c)):(this._sorted=!1,this._array.push(c))};coe.prototype.toArray=function(){return this._sorted||(this._array.sort(xft.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Tft.MappingList=coe});var ske=jt(Fft=>{var nG=eke(),mh=zR(),uoe=ike().ArraySet,Fcr=Aft().MappingList;function vC(p){p||(p={}),this._file=mh.getArg(p,"file",null),this._sourceRoot=mh.getArg(p,"sourceRoot",null),this._skipValidation=mh.getArg(p,"skipValidation",!1),this._sources=new uoe,this._names=new uoe,this._mappings=new Fcr,this._sourcesContents=null}vC.prototype._version=3;vC.fromSourceMap=function(c){var _=c.sourceRoot,g=new vC({file:c.file,sourceRoot:_});return c.eachMapping(function(S){var w={generated:{line:S.generatedLine,column:S.generatedColumn}};S.source!=null&&(w.source=S.source,_!=null&&(w.source=mh.relative(_,w.source)),w.original={line:S.originalLine,column:S.originalColumn},S.name!=null&&(w.name=S.name)),g.addMapping(w)}),c.sources.forEach(function(S){var w=S;_!==null&&(w=mh.relative(_,S)),g._sources.has(w)||g._sources.add(w);var z=c.sourceContentFor(S);z!=null&&g.setSourceContent(S,z)}),g};vC.prototype.addMapping=function(c){var _=mh.getArg(c,"generated"),g=mh.getArg(c,"original",null),S=mh.getArg(c,"source",null),w=mh.getArg(c,"name",null);this._skipValidation||this._validateMapping(_,g,S,w),S!=null&&(S=String(S),this._sources.has(S)||this._sources.add(S)),w!=null&&(w=String(w),this._names.has(w)||this._names.add(w)),this._mappings.add({generatedLine:_.line,generatedColumn:_.column,originalLine:g!=null&&g.line,originalColumn:g!=null&&g.column,source:S,name:w})};vC.prototype.setSourceContent=function(c,_){var g=c;this._sourceRoot!=null&&(g=mh.relative(this._sourceRoot,g)),_!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[mh.toSetString(g)]=_):this._sourcesContents&&(delete this._sourcesContents[mh.toSetString(g)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};vC.prototype.applySourceMap=function(c,_,g){var S=_;if(_==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);S=c.file}var w=this._sourceRoot;w!=null&&(S=mh.relative(w,S));var z=new uoe,ie=new uoe;this._mappings.unsortedForEach(function(de){if(de.source===S&&de.originalLine!=null){var be=c.originalPositionFor({line:de.originalLine,column:de.originalColumn});be.source!=null&&(de.source=be.source,g!=null&&(de.source=mh.join(g,de.source)),w!=null&&(de.source=mh.relative(w,de.source)),de.originalLine=be.line,de.originalColumn=be.column,be.name!=null&&(de.name=be.name))}var Ee=de.source;Ee!=null&&!z.has(Ee)&&z.add(Ee);var Oe=de.name;Oe!=null&&!ie.has(Oe)&&ie.add(Oe)},this),this._sources=z,this._names=ie,c.sources.forEach(function(de){var be=c.sourceContentFor(de);be!=null&&(g!=null&&(de=mh.join(g,de)),w!=null&&(de=mh.relative(w,de)),this.setSourceContent(de,be))},this)};vC.prototype._validateMapping=function(c,_,g,S){if(_&&typeof _.line!="number"&&typeof _.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!_&&!g&&!S)){if(c&&"line"in c&&"column"in c&&_&&"line"in _&&"column"in _&&c.line>0&&c.column>=0&&_.line>0&&_.column>=0&&g)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:c,source:g,original:_,name:S}))}};vC.prototype._serializeMappings=function(){for(var c=0,_=1,g=0,S=0,w=0,z=0,ie="",de,be,Ee,Oe,Y=this._mappings.toArray(),ut=0,Ye=Y.length;ut<Ye;ut++){if(be=Y[ut],de="",be.generatedLine!==_)for(c=0;be.generatedLine!==_;)de+=";",_++;else if(ut>0){if(!mh.compareByGeneratedPositionsInflated(be,Y[ut-1]))continue;de+=","}de+=nG.encode(be.generatedColumn-c),c=be.generatedColumn,be.source!=null&&(Oe=this._sources.indexOf(be.source),de+=nG.encode(Oe-z),z=Oe,de+=nG.encode(be.originalLine-1-S),S=be.originalLine-1,de+=nG.encode(be.originalColumn-g),g=be.originalColumn,be.name!=null&&(Ee=this._names.indexOf(be.name),de+=nG.encode(Ee-w),w=Ee)),ie+=de}return ie};vC.prototype._generateSourcesContent=function(c,_){return c.map(function(g){if(!this._sourcesContents)return null;_!=null&&(g=mh.relative(_,g));var S=mh.toSetString(g);return Object.prototype.hasOwnProperty.call(this._sourcesContents,S)?this._sourcesContents[S]:null},this)};vC.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c};vC.prototype.toString=function(){return JSON.stringify(this.toJSON())};Fft.SourceMapGenerator=vC});var kft=jt(p7=>{p7.GREATEST_LOWER_BOUND=1;p7.LEAST_UPPER_BOUND=2;function ake(p,c,_,g,S,w){var z=Math.floor((c-p)/2)+p,ie=S(_,g[z],!0);return ie===0?z:ie>0?c-z>1?ake(z,c,_,g,S,w):w==p7.LEAST_UPPER_BOUND?c<g.length?c:-1:z:z-p>1?ake(p,z,_,g,S,w):w==p7.LEAST_UPPER_BOUND?z:p<0?-1:p}p7.search=function(c,_,g,S){if(_.length===0)return-1;var w=ake(-1,_.length,c,_,g,S||p7.GREATEST_LOWER_BOUND);if(w<0)return-1;for(;w-1>=0&&g(_[w],_[w-1],!0)===0;)--w;return w}});var wft=jt(Ift=>{function oke(p,c,_){var g=p[c];p[c]=p[_],p[_]=g}function kcr(p,c){return Math.round(p+Math.random()*(c-p))}function cke(p,c,_,g){if(_<g){var S=kcr(_,g),w=_-1;oke(p,S,g);for(var z=p[g],ie=_;ie<g;ie++)c(p[ie],z)<=0&&(w+=1,oke(p,w,ie));oke(p,w+1,ie);var de=w+1;cke(p,c,_,de-1),cke(p,c,de+1,g)}}Ift.quickSort=function(p,c){cke(p,c,0,p.length-1)}});var Nft=jt(loe=>{var yo=zR(),uke=kft(),WR=ike().ArraySet,Icr=eke(),iG=wft().quickSort;function Bp(p,c){var _=p;return typeof p=="string"&&(_=yo.parseSourceMapInput(p)),_.sections!=null?new oE(_,c):new L0(_,c)}Bp.fromSourceMap=function(p,c){return L0.fromSourceMap(p,c)};Bp.prototype._version=3;Bp.prototype.__generatedMappings=null;Object.defineProperty(Bp.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Bp.prototype.__originalMappings=null;Object.defineProperty(Bp.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Bp.prototype._charIsMappingSeparator=function(c,_){var g=c.charAt(_);return g===";"||g===","};Bp.prototype._parseMappings=function(c,_){throw new Error("Subclasses must implement _parseMappings")};Bp.GENERATED_ORDER=1;Bp.ORIGINAL_ORDER=2;Bp.GREATEST_LOWER_BOUND=1;Bp.LEAST_UPPER_BOUND=2;Bp.prototype.eachMapping=function(c,_,g){var S=_||null,w=g||Bp.GENERATED_ORDER,z;switch(w){case Bp.GENERATED_ORDER:z=this._generatedMappings;break;case Bp.ORIGINAL_ORDER:z=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;z.map(function(de){var be=de.source===null?null:this._sources.at(de.source);return be=yo.computeSourceURL(ie,be,this._sourceMapURL),{source:be,generatedLine:de.generatedLine,generatedColumn:de.generatedColumn,originalLine:de.originalLine,originalColumn:de.originalColumn,name:de.name===null?null:this._names.at(de.name)}},this).forEach(c,S)};Bp.prototype.allGeneratedPositionsFor=function(c){var _=yo.getArg(c,"line"),g={source:yo.getArg(c,"source"),originalLine:_,originalColumn:yo.getArg(c,"column",0)};if(g.source=this._findSourceIndex(g.source),g.source<0)return[];var S=[],w=this._findMapping(g,this._originalMappings,"originalLine","originalColumn",yo.compareByOriginalPositions,uke.LEAST_UPPER_BOUND);if(w>=0){var z=this._originalMappings[w];if(c.column===void 0)for(var ie=z.originalLine;z&&z.originalLine===ie;)S.push({line:yo.getArg(z,"generatedLine",null),column:yo.getArg(z,"generatedColumn",null),lastColumn:yo.getArg(z,"lastGeneratedColumn",null)}),z=this._originalMappings[++w];else for(var de=z.originalColumn;z&&z.originalLine===_&&z.originalColumn==de;)S.push({line:yo.getArg(z,"generatedLine",null),column:yo.getArg(z,"generatedColumn",null),lastColumn:yo.getArg(z,"lastGeneratedColumn",null)}),z=this._originalMappings[++w]}return S};loe.SourceMapConsumer=Bp;function L0(p,c){var _=p;typeof p=="string"&&(_=yo.parseSourceMapInput(p));var g=yo.getArg(_,"version"),S=yo.getArg(_,"sources"),w=yo.getArg(_,"names",[]),z=yo.getArg(_,"sourceRoot",null),ie=yo.getArg(_,"sourcesContent",null),de=yo.getArg(_,"mappings"),be=yo.getArg(_,"file",null);if(g!=this._version)throw new Error("Unsupported version: "+g);z&&(z=yo.normalize(z)),S=S.map(String).map(yo.normalize).map(function(Ee){return z&&yo.isAbsolute(z)&&yo.isAbsolute(Ee)?yo.relative(z,Ee):Ee}),this._names=WR.fromArray(w.map(String),!0),this._sources=WR.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(Ee){return yo.computeSourceURL(z,Ee,c)}),this.sourceRoot=z,this.sourcesContent=ie,this._mappings=de,this._sourceMapURL=c,this.file=be}L0.prototype=Object.create(Bp.prototype);L0.prototype.consumer=Bp;L0.prototype._findSourceIndex=function(p){var c=p;if(this.sourceRoot!=null&&(c=yo.relative(this.sourceRoot,c)),this._sources.has(c))return this._sources.indexOf(c);var _;for(_=0;_<this._absoluteSources.length;++_)if(this._absoluteSources[_]==p)return _;return-1};L0.fromSourceMap=function(c,_){var g=Object.create(L0.prototype),S=g._names=WR.fromArray(c._names.toArray(),!0),w=g._sources=WR.fromArray(c._sources.toArray(),!0);g.sourceRoot=c._sourceRoot,g.sourcesContent=c._generateSourcesContent(g._sources.toArray(),g.sourceRoot),g.file=c._file,g._sourceMapURL=_,g._absoluteSources=g._sources.toArray().map(function(ut){return yo.computeSourceURL(g.sourceRoot,ut,_)});for(var z=c._mappings.toArray().slice(),ie=g.__generatedMappings=[],de=g.__originalMappings=[],be=0,Ee=z.length;be<Ee;be++){var Oe=z[be],Y=new Pft;Y.generatedLine=Oe.generatedLine,Y.generatedColumn=Oe.generatedColumn,Oe.source&&(Y.source=w.indexOf(Oe.source),Y.originalLine=Oe.originalLine,Y.originalColumn=Oe.originalColumn,Oe.name&&(Y.name=S.indexOf(Oe.name)),de.push(Y)),ie.push(Y)}return iG(g.__originalMappings,yo.compareByOriginalPositions),g};L0.prototype._version=3;Object.defineProperty(L0.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Pft(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}L0.prototype._parseMappings=function(c,_){for(var g=1,S=0,w=0,z=0,ie=0,de=0,be=c.length,Ee=0,Oe={},Y={},ut=[],Ye=[],We,Ut,_r,Hr,On;Ee<be;)if(c.charAt(Ee)===";")g++,Ee++,S=0;else if(c.charAt(Ee)===",")Ee++;else{for(We=new Pft,We.generatedLine=g,Hr=Ee;Hr<be&&!this._charIsMappingSeparator(c,Hr);Hr++);if(Ut=c.slice(Ee,Hr),_r=Oe[Ut],_r)Ee+=Ut.length;else{for(_r=[];Ee<Hr;)Icr.decode(c,Ee,Y),On=Y.value,Ee=Y.rest,_r.push(On);if(_r.length===2)throw new Error("Found a source, but no line and column");if(_r.length===3)throw new Error("Found a source and line, but no column");Oe[Ut]=_r}We.generatedColumn=S+_r[0],S=We.generatedColumn,_r.length>1&&(We.source=ie+_r[1],ie+=_r[1],We.originalLine=w+_r[2],w=We.originalLine,We.originalLine+=1,We.originalColumn=z+_r[3],z=We.originalColumn,_r.length>4&&(We.name=de+_r[4],de+=_r[4])),Ye.push(We),typeof We.originalLine=="number"&&ut.push(We)}iG(Ye,yo.compareByGeneratedPositionsDeflated),this.__generatedMappings=Ye,iG(ut,yo.compareByOriginalPositions),this.__originalMappings=ut};L0.prototype._findMapping=function(c,_,g,S,w,z){if(c[g]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+c[g]);if(c[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+c[S]);return uke.search(c,_,w,z)};L0.prototype.computeColumnSpans=function(){for(var c=0;c<this._generatedMappings.length;++c){var _=this._generatedMappings[c];if(c+1<this._generatedMappings.length){var g=this._generatedMappings[c+1];if(_.generatedLine===g.generatedLine){_.lastGeneratedColumn=g.generatedColumn-1;continue}}_.lastGeneratedColumn=1/0}};L0.prototype.originalPositionFor=function(c){var _={generatedLine:yo.getArg(c,"line"),generatedColumn:yo.getArg(c,"column")},g=this._findMapping(_,this._generatedMappings,"generatedLine","generatedColumn",yo.compareByGeneratedPositionsDeflated,yo.getArg(c,"bias",Bp.GREATEST_LOWER_BOUND));if(g>=0){var S=this._generatedMappings[g];if(S.generatedLine===_.generatedLine){var w=yo.getArg(S,"source",null);w!==null&&(w=this._sources.at(w),w=yo.computeSourceURL(this.sourceRoot,w,this._sourceMapURL));var z=yo.getArg(S,"name",null);return z!==null&&(z=this._names.at(z)),{source:w,line:yo.getArg(S,"originalLine",null),column:yo.getArg(S,"originalColumn",null),name:z}}}return{source:null,line:null,column:null,name:null}};L0.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(c){return c==null}):!1};L0.prototype.sourceContentFor=function(c,_){if(!this.sourcesContent)return null;var g=this._findSourceIndex(c);if(g>=0)return this.sourcesContent[g];var S=c;this.sourceRoot!=null&&(S=yo.relative(this.sourceRoot,S));var w;if(this.sourceRoot!=null&&(w=yo.urlParse(this.sourceRoot))){var z=S.replace(/^file:\/\//,"");if(w.scheme=="file"&&this._sources.has(z))return this.sourcesContent[this._sources.indexOf(z)];if((!w.path||w.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(_)return null;throw new Error('"'+S+'" is not in the SourceMap.')};L0.prototype.generatedPositionFor=function(c){var _=yo.getArg(c,"source");if(_=this._findSourceIndex(_),_<0)return{line:null,column:null,lastColumn:null};var g={source:_,originalLine:yo.getArg(c,"line"),originalColumn:yo.getArg(c,"column")},S=this._findMapping(g,this._originalMappings,"originalLine","originalColumn",yo.compareByOriginalPositions,yo.getArg(c,"bias",Bp.GREATEST_LOWER_BOUND));if(S>=0){var w=this._originalMappings[S];if(w.source===g.source)return{line:yo.getArg(w,"generatedLine",null),column:yo.getArg(w,"generatedColumn",null),lastColumn:yo.getArg(w,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};loe.BasicSourceMapConsumer=L0;function oE(p,c){var _=p;typeof p=="string"&&(_=yo.parseSourceMapInput(p));var g=yo.getArg(_,"version"),S=yo.getArg(_,"sections");if(g!=this._version)throw new Error("Unsupported version: "+g);this._sources=new WR,this._names=new WR;var w={line:-1,column:0};this._sections=S.map(function(z){if(z.url)throw new Error("Support for url field in sections not implemented.");var ie=yo.getArg(z,"offset"),de=yo.getArg(ie,"line"),be=yo.getArg(ie,"column");if(de<w.line||de===w.line&&be<w.column)throw new Error("Section offsets must be ordered and non-overlapping.");return w=ie,{generatedOffset:{generatedLine:de+1,generatedColumn:be+1},consumer:new Bp(yo.getArg(z,"map"),c)}})}oE.prototype=Object.create(Bp.prototype);oE.prototype.constructor=Bp;oE.prototype._version=3;Object.defineProperty(oE.prototype,"sources",{get:function(){for(var p=[],c=0;c<this._sections.length;c++)for(var _=0;_<this._sections[c].consumer.sources.length;_++)p.push(this._sections[c].consumer.sources[_]);return p}});oE.prototype.originalPositionFor=function(c){var _={generatedLine:yo.getArg(c,"line"),generatedColumn:yo.getArg(c,"column")},g=uke.search(_,this._sections,function(w,z){var ie=w.generatedLine-z.generatedOffset.generatedLine;return ie||w.generatedColumn-z.generatedOffset.generatedColumn}),S=this._sections[g];return S?S.consumer.originalPositionFor({line:_.generatedLine-(S.generatedOffset.generatedLine-1),column:_.generatedColumn-(S.generatedOffset.generatedLine===_.generatedLine?S.generatedOffset.generatedColumn-1:0),bias:c.bias}):{source:null,line:null,column:null,name:null}};oE.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(c){return c.consumer.hasContentsOfAllSources()})};oE.prototype.sourceContentFor=function(c,_){for(var g=0;g<this._sections.length;g++){var S=this._sections[g],w=S.consumer.sourceContentFor(c,!0);if(w)return w}if(_)return null;throw new Error('"'+c+'" is not in the SourceMap.')};oE.prototype.generatedPositionFor=function(c){for(var _=0;_<this._sections.length;_++){var g=this._sections[_];if(g.consumer._findSourceIndex(yo.getArg(c,"source"))!==-1){var S=g.consumer.generatedPositionFor(c);if(S){var w={line:S.line+(g.generatedOffset.generatedLine-1),column:S.column+(g.generatedOffset.generatedLine===S.line?g.generatedOffset.generatedColumn-1:0)};return w}}}return{line:null,column:null}};oE.prototype._parseMappings=function(c,_){this.__generatedMappings=[],this.__originalMappings=[];for(var g=0;g<this._sections.length;g++)for(var S=this._sections[g],w=S.consumer._generatedMappings,z=0;z<w.length;z++){var ie=w[z],de=S.consumer._sources.at(ie.source);de=yo.computeSourceURL(S.consumer.sourceRoot,de,this._sourceMapURL),this._sources.add(de),de=this._sources.indexOf(de);var be=null;ie.name&&(be=S.consumer._names.at(ie.name),this._names.add(be),be=this._names.indexOf(be));var Ee={source:de,generatedLine:ie.generatedLine+(S.generatedOffset.generatedLine-1),generatedColumn:ie.generatedColumn+(S.generatedOffset.generatedLine===ie.generatedLine?S.generatedOffset.generatedColumn-1:0),originalLine:ie.originalLine,originalColumn:ie.originalColumn,name:be};this.__generatedMappings.push(Ee),typeof Ee.originalLine=="number"&&this.__originalMappings.push(Ee)}iG(this.__generatedMappings,yo.compareByGeneratedPositionsDeflated),iG(this.__originalMappings,yo.compareByOriginalPositions)};loe.IndexedSourceMapConsumer=oE});var Lft=jt(Oft=>{var wcr=ske().SourceMapGenerator,foe=zR(),Pcr=/(\r?\n)/,Ncr=10,UR="$$$isSourceNode$$$";function A2(p,c,_,g,S){this.children=[],this.sourceContents={},this.line=p??null,this.column=c??null,this.source=_??null,this.name=S??null,this[UR]=!0,g!=null&&this.add(g)}A2.fromStringWithSourceMap=function(c,_,g){var S=new A2,w=c.split(Pcr),z=0,ie=function(){var Y=Ye(),ut=Ye()||"";return Y+ut;function Ye(){return z<w.length?w[z++]:void 0}},de=1,be=0,Ee=null;return _.eachMapping(function(Y){if(Ee!==null)if(de<Y.generatedLine)Oe(Ee,ie()),de++,be=0;else{var ut=w[z]||"",Ye=ut.substr(0,Y.generatedColumn-be);w[z]=ut.substr(Y.generatedColumn-be),be=Y.generatedColumn,Oe(Ee,Ye),Ee=Y;return}for(;de<Y.generatedLine;)S.add(ie()),de++;if(be<Y.generatedColumn){var ut=w[z]||"";S.add(ut.substr(0,Y.generatedColumn)),w[z]=ut.substr(Y.generatedColumn),be=Y.generatedColumn}Ee=Y},this),z<w.length&&(Ee&&Oe(Ee,ie()),S.add(w.splice(z).join(""))),_.sources.forEach(function(Y){var ut=_.sourceContentFor(Y);ut!=null&&(g!=null&&(Y=foe.join(g,Y)),S.setSourceContent(Y,ut))}),S;function Oe(Y,ut){if(Y===null||Y.source===void 0)S.add(ut);else{var Ye=g?foe.join(g,Y.source):Y.source;S.add(new A2(Y.originalLine,Y.originalColumn,Ye,ut,Y.name))}}};A2.prototype.add=function(c){if(Array.isArray(c))c.forEach(function(_){this.add(_)},this);else if(c[UR]||typeof c=="string")c&&this.children.push(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this};A2.prototype.prepend=function(c){if(Array.isArray(c))for(var _=c.length-1;_>=0;_--)this.prepend(c[_]);else if(c[UR]||typeof c=="string")this.children.unshift(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this};A2.prototype.walk=function(c){for(var _,g=0,S=this.children.length;g<S;g++)_=this.children[g],_[UR]?_.walk(c):_!==""&&c(_,{source:this.source,line:this.line,column:this.column,name:this.name})};A2.prototype.join=function(c){var _,g,S=this.children.length;if(S>0){for(_=[],g=0;g<S-1;g++)_.push(this.children[g]),_.push(c);_.push(this.children[g]),this.children=_}return this};A2.prototype.replaceRight=function(c,_){var g=this.children[this.children.length-1];return g[UR]?g.replaceRight(c,_):typeof g=="string"?this.children[this.children.length-1]=g.replace(c,_):this.children.push("".replace(c,_)),this};A2.prototype.setSourceContent=function(c,_){this.sourceContents[foe.toSetString(c)]=_};A2.prototype.walkSourceContents=function(c){for(var _=0,g=this.children.length;_<g;_++)this.children[_][UR]&&this.children[_].walkSourceContents(c);for(var S=Object.keys(this.sourceContents),_=0,g=S.length;_<g;_++)c(foe.fromSetString(S[_]),this.sourceContents[S[_]])};A2.prototype.toString=function(){var c="";return this.walk(function(_){c+=_}),c};A2.prototype.toStringWithSourceMap=function(c){var _={code:"",line:1,column:0},g=new wcr(c),S=!1,w=null,z=null,ie=null,de=null;return this.walk(function(be,Ee){_.code+=be,Ee.source!==null&&Ee.line!==null&&Ee.column!==null?((w!==Ee.source||z!==Ee.line||ie!==Ee.column||de!==Ee.name)&&g.addMapping({source:Ee.source,original:{line:Ee.line,column:Ee.column},generated:{line:_.line,column:_.column},name:Ee.name}),w=Ee.source,z=Ee.line,ie=Ee.column,de=Ee.name,S=!0):S&&(g.addMapping({generated:{line:_.line,column:_.column}}),w=null,S=!1);for(var Oe=0,Y=be.length;Oe<Y;Oe++)be.charCodeAt(Oe)===Ncr?(_.line++,_.column=0,Oe+1===Y?(w=null,S=!1):S&&g.addMapping({source:Ee.source,original:{line:Ee.line,column:Ee.column},generated:{line:_.line,column:_.column},name:Ee.name})):_.column++}),this.walkSourceContents(function(be,Ee){g.setSourceContent(be,Ee)}),{code:_.code,map:g}};Oft.SourceNode=A2});var Rft=jt(_oe=>{_oe.SourceMapGenerator=ske().SourceMapGenerator;_oe.SourceMapConsumer=Nft().SourceMapConsumer;_oe.SourceNode=Lft().SourceNode});var Bft=jt((n8r,Mft)=>{var Ocr=Object.prototype.toString,lke=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function Lcr(p){return Ocr.call(p).slice(8,-1)==="ArrayBuffer"}function Rcr(p,c,_){c>>>=0;var g=p.byteLength-c;if(g<0)throw new RangeError("'offset' is out of bounds");if(_===void 0)_=g;else if(_>>>=0,_>g)throw new RangeError("'length' is out of bounds");return lke?Buffer.from(p.slice(c,c+_)):new Buffer(new Uint8Array(p.slice(c,c+_)))}function Mcr(p,c){if((typeof c!="string"||c==="")&&(c="utf8"),!Buffer.isEncoding(c))throw new TypeError('"encoding" must be a valid string encoding');return lke?Buffer.from(p,c):new Buffer(p,c)}function Bcr(p,c,_){if(typeof p=="number")throw new TypeError('"value" argument must not be a number');return Lcr(p)?Rcr(p,c,_):typeof p=="string"?Mcr(p,c):lke?Buffer.from(p):new Buffer(p)}Mft.exports=Bcr});var Vft=jt(m7=>{var jcr=Rft().SourceMapConsumer,fke=require("path"),kT;try{kT=require("fs"),(!kT.existsSync||!kT.readFileSync)&&(kT=null)}catch{}var Jcr=Bft(),jft=!1,Jft=!1,_ke=!1,sG="auto",d7={},aG={},qcr=/^data:application\/json[^,]+base64,/,j4=[],J4=[];function dke(){return sG==="browser"?!0:sG==="node"?!1:typeof window<"u"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function zcr(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}function poe(p){return function(c){for(var _=0;_<p.length;_++){var g=p[_](c);if(g)return g}return null}}var mke=poe(j4);j4.push(function(p){if(p=p.trim(),/^file:/.test(p)&&(p=p.replace(/file:\/\/\/(\w:)?/,function(g,S){return S?"":"/"})),p in d7)return d7[p];var c="";try{if(kT)kT.existsSync(p)&&(c=kT.readFileSync(p,"utf8"));else{var _=new XMLHttpRequest;_.open("GET",p,!1),_.send(null),_.readyState===4&&_.status===200&&(c=_.responseText)}}catch{}return d7[p]=c});function pke(p,c){if(!p)return c;var _=fke.dirname(p),g=/^\w+:\/\/[^\/]*/.exec(_),S=g?g[0]:"",w=_.slice(S.length);return S&&/^\/\w\:/.test(w)?(S+="/",S+fke.resolve(_.slice(S.length),c).replace(/\\/g,"/")):S+fke.resolve(_.slice(S.length),c)}function Wcr(p){var c;if(dke())try{var _=new XMLHttpRequest;_.open("GET",p,!1),_.send(null),c=_.readyState===4?_.responseText:null;var g=_.getResponseHeader("SourceMap")||_.getResponseHeader("X-SourceMap");if(g)return g}catch{}c=mke(p);for(var S=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,w,z;z=S.exec(c);)w=z;return w?w[1]:null}var hke=poe(J4);J4.push(function(p){var c=Wcr(p);if(!c)return null;var _;if(qcr.test(c)){var g=c.slice(c.indexOf(",")+1);_=Jcr(g,"base64").toString(),c=p}else c=pke(p,c),_=mke(c);return _?{url:c,map:_}:null});function gke(p){var c=aG[p.source];if(!c){var _=hke(p.source);_?(c=aG[p.source]={url:_.url,map:new jcr(_.map)},c.map.sourcesContent&&c.map.sources.forEach(function(S,w){var z=c.map.sourcesContent[w];if(z){var ie=pke(c.url,S);d7[ie]=z}})):c=aG[p.source]={url:null,map:null}}if(c&&c.map&&typeof c.map.originalPositionFor=="function"){var g=c.map.originalPositionFor(p);if(g.source!==null)return g.source=pke(c.url,g.source),g}return p}function zft(p){var c=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(p);if(c){var _=gke({source:c[2],line:+c[3],column:c[4]-1});return"eval at "+c[1]+" ("+_.source+":"+_.line+":"+(_.column+1)+")"}return c=/^eval at ([^(]+) \((.+)\)$/.exec(p),c?"eval at "+c[1]+" ("+zft(c[2])+")":p}function Ucr(){var p,c="";if(this.isNative())c="native";else{p=this.getScriptNameOrSourceURL(),!p&&this.isEval()&&(c=this.getEvalOrigin(),c+=", "),p?c+=p:c+="<anonymous>";var _=this.getLineNumber();if(_!=null){c+=":"+_;var g=this.getColumnNumber();g&&(c+=":"+g)}}var S="",w=this.getFunctionName(),z=!0,ie=this.isConstructor(),de=!(this.isToplevel()||ie);if(de){var be=this.getTypeName();be==="[object Object]"&&(be="null");var Ee=this.getMethodName();w?(be&&w.indexOf(be)!=0&&(S+=be+"."),S+=w,Ee&&w.indexOf("."+Ee)!=w.length-Ee.length-1&&(S+=" [as "+Ee+"]")):S+=be+"."+(Ee||"<anonymous>")}else ie?S+="new "+(w||"<anonymous>"):w?S+=w:(S+=c,z=!1);return z&&(S+=" ("+c+")"),S}function qft(p){var c={};return Object.getOwnPropertyNames(Object.getPrototypeOf(p)).forEach(function(_){c[_]=/^(?:is|get)/.test(_)?function(){return p[_].call(p)}:p[_]}),c.toString=Ucr,c}function Wft(p){if(p.isNative())return p;var c=p.getFileName()||p.getScriptNameOrSourceURL();if(c){var _=p.getLineNumber(),g=p.getColumnNumber()-1,S=62;_===1&&g>S&&!dke()&&!p.isEval()&&(g-=S);var w=gke({source:c,line:_,column:g});p=qft(p);var z=p.getFunctionName;return p.getFunctionName=function(){return w.name||z()},p.getFileName=function(){return w.source},p.getLineNumber=function(){return w.line},p.getColumnNumber=function(){return w.column+1},p.getScriptNameOrSourceURL=function(){return w.source},p}var ie=p.isEval()&&p.getEvalOrigin();return ie&&(ie=zft(ie),p=qft(p),p.getEvalOrigin=function(){return ie}),p}function Vcr(p,c){_ke&&(d7={},aG={});var _=p.name||"Error",g=p.message||"",S=_+": "+g;return S+c.map(function(w){return`
352
- at `+Wft(w)}).join("")}function Uft(p){var c=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(p.stack);if(c){var _=c[1],g=+c[2],S=+c[3],w=d7[_];if(!w&&kT&&kT.existsSync(_))try{w=kT.readFileSync(_,"utf8")}catch{w=""}if(w){var z=w.split(/(?:\r\n|\r|\n)/)[g-1];if(z)return _+":"+g+`
351
+ `],["terminal",{sourceInterval:[6127,6130]},"#"]]],["app",{sourceInterval:[6132,6135]},"any",[]]]]]}]);oft.exports=tcr});var HFe=jt(FT=>{"use strict";var rcr=FT&&FT.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(FT,"__esModule",{value:!0});FT.RequirementsSyntaxError=FT.semantics=void 0;var ncr=rcr(GFe());FT.semantics=ncr.default.createSemantics();FT.semantics.addOperation("extract",{File:_=>_.asIteration().children.map(c=>c.extract()).filter(Boolean),Line:(_,c)=>{var p;return((p=_.child(0))===null||p===void 0?void 0:p.extract())||null},NameReq:(_,c,p,g)=>{var S,w;return{type:"ProjectName",name:_.sourceString,versionSpec:p.extract(),extras:(S=c.child(0))===null||S===void 0?void 0:S.extract(),environmentMarkerTree:(w=g.child(0))===null||w===void 0?void 0:w.extract()}},UrlReq:(_,c,p,g,S)=>{var w,z;return{type:"ProjectURL",name:_.sourceString,url:p.extract(),extras:(w=c.child(0))===null||w===void 0?void 0:w.extract(),environmentMarkerTree:(z=S.child(0))===null||z===void 0?void 0:z.extract()}},Extras:(_,c,p)=>c.asIteration().children.map(g=>g.sourceString),RequirementsReq:(_,c)=>({type:"RequirementsFile",path:c.sourceString}),ConstraintsReq:(_,c)=>({type:"ConstraintsFile",path:c.sourceString}),UrlSpec:(_,c)=>c.sourceString,QuotedMarker:(_,c)=>c.extract(),MarkerOr_node:(_,c,p)=>({operator:"or",left:_.extract(),right:p.extract()}),MarkerAnd_node:(_,c,p)=>({operator:"and",left:_.extract(),right:p.extract()}),MarkerExpr_leaf:(_,c,p)=>({left:_.sourceString,operator:c.sourceString,right:p.sourceString}),MarkerExpr_node:(_,c,p)=>c.extract(),VersionSpec_parenthesized:(_,c,p)=>c.extract()||[],VersionMany:_=>{let c=_.asIteration().children;if(c.length!==0)return c.map(p=>p.extract())},VersionOne:(_,c)=>({operator:_.sourceString,version:c.sourceString})});FT.semantics.addOperation("extractLoosely",{LooseFile:_=>_.asIteration().children.map(c=>c.extractLoosely()).filter(Boolean),LooseLine:(_,c)=>{var p;return((p=_.child(0))===null||p===void 0?void 0:p.extractLoosely())||null},LooseNameReq:(_,c,p,g)=>({type:"ProjectName",name:_.sourceString}),LooseNonNameReq:_=>null});var $Fe=class extends Error{};FT.RequirementsSyntaxError=$Fe});var lft=jt(BR=>{"use strict";Object.defineProperty(BR,"__esModule",{value:!0});BR.VersionOperator=BR.EnvironmentMarkerVariable=void 0;var cft;(function(_){_.PythonVersion="python_version",_.PythonFullVersion="python_full_version",_.OsName="os_name",_.SysPlatform="sys_platform",_.PlatformRelease="platform_release",_.PlatformSystem="platform_system",_.PlatformVersion="platform_version",_.PlatformMachine="platform_machine",_.PlatformPythonImplementation="platform_python_implementation",_.ImplementationName="implementation_name",_.ImplementationVersion="implementation_version",_.Extra="extra"})(cft||(BR.EnvironmentMarkerVariable=cft={}));var uft;(function(_){_.CompatibleRelease="~=",_.VersionMatching="==",_.VersionExclusion="!=",_.LessThanOrMatching="<=",_.GreaterThanOrMatching=">=",_.LessThan="<",_.GreaterThan=">",_.ArbitrarilyEqual="==="})(uft||(BR.VersionOperator=uft={}))});var fft=jt(tg=>{"use strict";var icr=tg&&tg.__createBinding||(Object.create?(function(_,c,p,g){g===void 0&&(g=p);var S=Object.getOwnPropertyDescriptor(c,p);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[p]}}),Object.defineProperty(_,g,S)}):(function(_,c,p,g){g===void 0&&(g=p),_[g]=c[p]})),scr=tg&&tg.__exportStar||function(_,c){for(var p in _)p!=="default"&&!Object.prototype.hasOwnProperty.call(c,p)&&icr(c,_,p)},acr=tg&&tg.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(tg,"__esModule",{value:!0});tg.parsePipRequirementsLineLoosely=tg.parsePipRequirementsFileLoosely=tg.parsePipRequirementsLine=tg.parsePipRequirementsFile=tg.RequirementsSyntaxError=void 0;var ooe=acr(GFe()),B4=HFe(),ocr=HFe();Object.defineProperty(tg,"RequirementsSyntaxError",{enumerable:!0,get:function(){return ocr.RequirementsSyntaxError}});scr(lft(),tg);function ccr(_){let c=ooe.default.match(_,"File");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to parse requirements file. ${c.shortMessage}`);return(0,B4.semantics)(c).extract()}tg.parsePipRequirementsFile=ccr;function ucr(_){let c=ooe.default.match(_,"Line");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to parse requirements line. ${c.shortMessage}`);return(0,B4.semantics)(c).extract()}tg.parsePipRequirementsLine=ucr;function lcr(_){let c=ooe.default.match(_,"LooseFile");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to loosely parse requirements file. ${c.shortMessage}`);return(0,B4.semantics)(c).extractLoosely()}tg.parsePipRequirementsFileLoosely=lcr;function fcr(_){let c=ooe.default.match(_,"LooseLine");if(c.failed())throw new B4.RequirementsSyntaxError(`Failed to loosely parse requirements line. ${c.shortMessage}`);return(0,B4.semantics)(c).extractLoosely()}tg.parsePipRequirementsLineLoosely=fcr});var dft=jt(XFe=>{var pft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");XFe.encode=function(_){if(0<=_&&_<pft.length)return pft[_];throw new TypeError("Must be between 0 and 63: "+_)};XFe.decode=function(_){var c=65,p=90,g=97,S=122,w=48,z=57,ie=43,de=47,be=26,Ee=52;return c<=_&&_<=p?_-c:g<=_&&_<=S?_-g+be:w<=_&&_<=z?_-w+Ee:_==ie?62:_==de?63:-1}});var eke=jt(ZFe=>{var mft=dft(),YFe=5,hft=1<<YFe,gft=hft-1,yft=hft;function mcr(_){return _<0?(-_<<1)+1:(_<<1)+0}function hcr(_){var c=(_&1)===1,p=_>>1;return c?-p:p}ZFe.encode=function(c){var p="",g,S=mcr(c);do g=S&gft,S>>>=YFe,S>0&&(g|=yft),p+=mft.encode(g);while(S>0);return p};ZFe.decode=function(c,p,g){var S=c.length,w=0,z=0,ie,de;do{if(p>=S)throw new Error("Expected more digits in base 64 VLQ value.");if(de=mft.decode(c.charCodeAt(p++)),de===-1)throw new Error("Invalid base64 digit: "+c.charAt(p-1));ie=!!(de&yft),de&=gft,w=w+(de<<z),z+=YFe}while(ie);g.value=hcr(w),g.rest=p}});var zR=jt(P1=>{function gcr(_,c,p){if(c in _)return _[c];if(arguments.length===3)return p;throw new Error('"'+c+'" is a required argument.')}P1.getArg=gcr;var vft=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,ycr=/^data:.+\,.+$/;function rG(_){var c=_.match(vft);return c?{scheme:c[1],auth:c[2],host:c[3],port:c[4],path:c[5]}:null}P1.urlParse=rG;function JR(_){var c="";return _.scheme&&(c+=_.scheme+":"),c+="//",_.auth&&(c+=_.auth+"@"),_.host&&(c+=_.host),_.port&&(c+=":"+_.port),_.path&&(c+=_.path),c}P1.urlGenerate=JR;function tke(_){var c=_,p=rG(_);if(p){if(!p.path)return _;c=p.path}for(var g=P1.isAbsolute(c),S=c.split(/\/+/),w,z=0,ie=S.length-1;ie>=0;ie--)w=S[ie],w==="."?S.splice(ie,1):w===".."?z++:z>0&&(w===""?(S.splice(ie+1,z),z=0):(S.splice(ie,2),z--));return c=S.join("/"),c===""&&(c=g?"/":"."),p?(p.path=c,JR(p)):c}P1.normalize=tke;function Dft(_,c){_===""&&(_="."),c===""&&(c=".");var p=rG(c),g=rG(_);if(g&&(_=g.path||"/"),p&&!p.scheme)return g&&(p.scheme=g.scheme),JR(p);if(p||c.match(ycr))return c;if(g&&!g.host&&!g.path)return g.host=c,JR(g);var S=c.charAt(0)==="/"?c:tke(_.replace(/\/+$/,"")+"/"+c);return g?(g.path=S,JR(g)):S}P1.join=Dft;P1.isAbsolute=function(_){return _.charAt(0)==="/"||vft.test(_)};function vcr(_,c){_===""&&(_="."),_=_.replace(/\/$/,"");for(var p=0;c.indexOf(_+"/")!==0;){var g=_.lastIndexOf("/");if(g<0||(_=_.slice(0,g),_.match(/^([^\/]+:\/)?\/*$/)))return c;++p}return Array(p+1).join("../")+c.substr(_.length+1)}P1.relative=vcr;var bft=(function(){var _=Object.create(null);return!("__proto__"in _)})();function Cft(_){return _}function Dcr(_){return Sft(_)?"$"+_:_}P1.toSetString=bft?Cft:Dcr;function bcr(_){return Sft(_)?_.slice(1):_}P1.fromSetString=bft?Cft:bcr;function Sft(_){if(!_)return!1;var c=_.length;if(c<9||_.charCodeAt(c-1)!==95||_.charCodeAt(c-2)!==95||_.charCodeAt(c-3)!==111||_.charCodeAt(c-4)!==116||_.charCodeAt(c-5)!==111||_.charCodeAt(c-6)!==114||_.charCodeAt(c-7)!==112||_.charCodeAt(c-8)!==95||_.charCodeAt(c-9)!==95)return!1;for(var p=c-10;p>=0;p--)if(_.charCodeAt(p)!==36)return!1;return!0}function Ccr(_,c,p){var g=qR(_.source,c.source);return g!==0||(g=_.originalLine-c.originalLine,g!==0)||(g=_.originalColumn-c.originalColumn,g!==0||p)||(g=_.generatedColumn-c.generatedColumn,g!==0)||(g=_.generatedLine-c.generatedLine,g!==0)?g:qR(_.name,c.name)}P1.compareByOriginalPositions=Ccr;function Scr(_,c,p){var g=_.generatedLine-c.generatedLine;return g!==0||(g=_.generatedColumn-c.generatedColumn,g!==0||p)||(g=qR(_.source,c.source),g!==0)||(g=_.originalLine-c.originalLine,g!==0)||(g=_.originalColumn-c.originalColumn,g!==0)?g:qR(_.name,c.name)}P1.compareByGeneratedPositionsDeflated=Scr;function qR(_,c){return _===c?0:_===null?1:c===null?-1:_>c?1:-1}function Ecr(_,c){var p=_.generatedLine-c.generatedLine;return p!==0||(p=_.generatedColumn-c.generatedColumn,p!==0)||(p=qR(_.source,c.source),p!==0)||(p=_.originalLine-c.originalLine,p!==0)||(p=_.originalColumn-c.originalColumn,p!==0)?p:qR(_.name,c.name)}P1.compareByGeneratedPositionsInflated=Ecr;function xcr(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}P1.parseSourceMapInput=xcr;function Tcr(_,c,p){if(c=c||"",_&&(_[_.length-1]!=="/"&&c[0]!=="/"&&(_+="/"),c=_+c),p){var g=rG(p);if(!g)throw new Error("sourceMapURL could not be parsed");if(g.path){var S=g.path.lastIndexOf("/");S>=0&&(g.path=g.path.substring(0,S+1))}c=Dft(JR(g),c)}return tke(c)}P1.computeSourceURL=Tcr});var ike=jt(Eft=>{var rke=zR(),nke=Object.prototype.hasOwnProperty,_7=typeof Map<"u";function xk(){this._array=[],this._set=_7?new Map:Object.create(null)}xk.fromArray=function(c,p){for(var g=new xk,S=0,w=c.length;S<w;S++)g.add(c[S],p);return g};xk.prototype.size=function(){return _7?this._set.size:Object.getOwnPropertyNames(this._set).length};xk.prototype.add=function(c,p){var g=_7?c:rke.toSetString(c),S=_7?this.has(c):nke.call(this._set,g),w=this._array.length;(!S||p)&&this._array.push(c),S||(_7?this._set.set(c,w):this._set[g]=w)};xk.prototype.has=function(c){if(_7)return this._set.has(c);var p=rke.toSetString(c);return nke.call(this._set,p)};xk.prototype.indexOf=function(c){if(_7){var p=this._set.get(c);if(p>=0)return p}else{var g=rke.toSetString(c);if(nke.call(this._set,g))return this._set[g]}throw new Error('"'+c+'" is not in the set.')};xk.prototype.at=function(c){if(c>=0&&c<this._array.length)return this._array[c];throw new Error("No element indexed by "+c)};xk.prototype.toArray=function(){return this._array.slice()};Eft.ArraySet=xk});var Aft=jt(Tft=>{var xft=zR();function Acr(_,c){var p=_.generatedLine,g=c.generatedLine,S=_.generatedColumn,w=c.generatedColumn;return g>p||g==p&&w>=S||xft.compareByGeneratedPositionsInflated(_,c)<=0}function coe(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}coe.prototype.unsortedForEach=function(c,p){this._array.forEach(c,p)};coe.prototype.add=function(c){Acr(this._last,c)?(this._last=c,this._array.push(c)):(this._sorted=!1,this._array.push(c))};coe.prototype.toArray=function(){return this._sorted||(this._array.sort(xft.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Tft.MappingList=coe});var ske=jt(Fft=>{var nG=eke(),mh=zR(),uoe=ike().ArraySet,Fcr=Aft().MappingList;function vC(_){_||(_={}),this._file=mh.getArg(_,"file",null),this._sourceRoot=mh.getArg(_,"sourceRoot",null),this._skipValidation=mh.getArg(_,"skipValidation",!1),this._sources=new uoe,this._names=new uoe,this._mappings=new Fcr,this._sourcesContents=null}vC.prototype._version=3;vC.fromSourceMap=function(c){var p=c.sourceRoot,g=new vC({file:c.file,sourceRoot:p});return c.eachMapping(function(S){var w={generated:{line:S.generatedLine,column:S.generatedColumn}};S.source!=null&&(w.source=S.source,p!=null&&(w.source=mh.relative(p,w.source)),w.original={line:S.originalLine,column:S.originalColumn},S.name!=null&&(w.name=S.name)),g.addMapping(w)}),c.sources.forEach(function(S){var w=S;p!==null&&(w=mh.relative(p,S)),g._sources.has(w)||g._sources.add(w);var z=c.sourceContentFor(S);z!=null&&g.setSourceContent(S,z)}),g};vC.prototype.addMapping=function(c){var p=mh.getArg(c,"generated"),g=mh.getArg(c,"original",null),S=mh.getArg(c,"source",null),w=mh.getArg(c,"name",null);this._skipValidation||this._validateMapping(p,g,S,w),S!=null&&(S=String(S),this._sources.has(S)||this._sources.add(S)),w!=null&&(w=String(w),this._names.has(w)||this._names.add(w)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:g!=null&&g.line,originalColumn:g!=null&&g.column,source:S,name:w})};vC.prototype.setSourceContent=function(c,p){var g=c;this._sourceRoot!=null&&(g=mh.relative(this._sourceRoot,g)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[mh.toSetString(g)]=p):this._sourcesContents&&(delete this._sourcesContents[mh.toSetString(g)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};vC.prototype.applySourceMap=function(c,p,g){var S=p;if(p==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);S=c.file}var w=this._sourceRoot;w!=null&&(S=mh.relative(w,S));var z=new uoe,ie=new uoe;this._mappings.unsortedForEach(function(de){if(de.source===S&&de.originalLine!=null){var be=c.originalPositionFor({line:de.originalLine,column:de.originalColumn});be.source!=null&&(de.source=be.source,g!=null&&(de.source=mh.join(g,de.source)),w!=null&&(de.source=mh.relative(w,de.source)),de.originalLine=be.line,de.originalColumn=be.column,be.name!=null&&(de.name=be.name))}var Ee=de.source;Ee!=null&&!z.has(Ee)&&z.add(Ee);var Oe=de.name;Oe!=null&&!ie.has(Oe)&&ie.add(Oe)},this),this._sources=z,this._names=ie,c.sources.forEach(function(de){var be=c.sourceContentFor(de);be!=null&&(g!=null&&(de=mh.join(g,de)),w!=null&&(de=mh.relative(w,de)),this.setSourceContent(de,be))},this)};vC.prototype._validateMapping=function(c,p,g,S){if(p&&typeof p.line!="number"&&typeof p.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!p&&!g&&!S)){if(c&&"line"in c&&"column"in c&&p&&"line"in p&&"column"in p&&c.line>0&&c.column>=0&&p.line>0&&p.column>=0&&g)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:c,source:g,original:p,name:S}))}};vC.prototype._serializeMappings=function(){for(var c=0,p=1,g=0,S=0,w=0,z=0,ie="",de,be,Ee,Oe,Y=this._mappings.toArray(),ut=0,Ye=Y.length;ut<Ye;ut++){if(be=Y[ut],de="",be.generatedLine!==p)for(c=0;be.generatedLine!==p;)de+=";",p++;else if(ut>0){if(!mh.compareByGeneratedPositionsInflated(be,Y[ut-1]))continue;de+=","}de+=nG.encode(be.generatedColumn-c),c=be.generatedColumn,be.source!=null&&(Oe=this._sources.indexOf(be.source),de+=nG.encode(Oe-z),z=Oe,de+=nG.encode(be.originalLine-1-S),S=be.originalLine-1,de+=nG.encode(be.originalColumn-g),g=be.originalColumn,be.name!=null&&(Ee=this._names.indexOf(be.name),de+=nG.encode(Ee-w),w=Ee)),ie+=de}return ie};vC.prototype._generateSourcesContent=function(c,p){return c.map(function(g){if(!this._sourcesContents)return null;p!=null&&(g=mh.relative(p,g));var S=mh.toSetString(g);return Object.prototype.hasOwnProperty.call(this._sourcesContents,S)?this._sourcesContents[S]:null},this)};vC.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c};vC.prototype.toString=function(){return JSON.stringify(this.toJSON())};Fft.SourceMapGenerator=vC});var kft=jt(p7=>{p7.GREATEST_LOWER_BOUND=1;p7.LEAST_UPPER_BOUND=2;function ake(_,c,p,g,S,w){var z=Math.floor((c-_)/2)+_,ie=S(p,g[z],!0);return ie===0?z:ie>0?c-z>1?ake(z,c,p,g,S,w):w==p7.LEAST_UPPER_BOUND?c<g.length?c:-1:z:z-_>1?ake(_,z,p,g,S,w):w==p7.LEAST_UPPER_BOUND?z:_<0?-1:_}p7.search=function(c,p,g,S){if(p.length===0)return-1;var w=ake(-1,p.length,c,p,g,S||p7.GREATEST_LOWER_BOUND);if(w<0)return-1;for(;w-1>=0&&g(p[w],p[w-1],!0)===0;)--w;return w}});var wft=jt(Ift=>{function oke(_,c,p){var g=_[c];_[c]=_[p],_[p]=g}function kcr(_,c){return Math.round(_+Math.random()*(c-_))}function cke(_,c,p,g){if(p<g){var S=kcr(p,g),w=p-1;oke(_,S,g);for(var z=_[g],ie=p;ie<g;ie++)c(_[ie],z)<=0&&(w+=1,oke(_,w,ie));oke(_,w+1,ie);var de=w+1;cke(_,c,p,de-1),cke(_,c,de+1,g)}}Ift.quickSort=function(_,c){cke(_,c,0,_.length-1)}});var Nft=jt(loe=>{var yo=zR(),uke=kft(),WR=ike().ArraySet,Icr=eke(),iG=wft().quickSort;function Bp(_,c){var p=_;return typeof _=="string"&&(p=yo.parseSourceMapInput(_)),p.sections!=null?new oE(p,c):new L0(p,c)}Bp.fromSourceMap=function(_,c){return L0.fromSourceMap(_,c)};Bp.prototype._version=3;Bp.prototype.__generatedMappings=null;Object.defineProperty(Bp.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Bp.prototype.__originalMappings=null;Object.defineProperty(Bp.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Bp.prototype._charIsMappingSeparator=function(c,p){var g=c.charAt(p);return g===";"||g===","};Bp.prototype._parseMappings=function(c,p){throw new Error("Subclasses must implement _parseMappings")};Bp.GENERATED_ORDER=1;Bp.ORIGINAL_ORDER=2;Bp.GREATEST_LOWER_BOUND=1;Bp.LEAST_UPPER_BOUND=2;Bp.prototype.eachMapping=function(c,p,g){var S=p||null,w=g||Bp.GENERATED_ORDER,z;switch(w){case Bp.GENERATED_ORDER:z=this._generatedMappings;break;case Bp.ORIGINAL_ORDER:z=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;z.map(function(de){var be=de.source===null?null:this._sources.at(de.source);return be=yo.computeSourceURL(ie,be,this._sourceMapURL),{source:be,generatedLine:de.generatedLine,generatedColumn:de.generatedColumn,originalLine:de.originalLine,originalColumn:de.originalColumn,name:de.name===null?null:this._names.at(de.name)}},this).forEach(c,S)};Bp.prototype.allGeneratedPositionsFor=function(c){var p=yo.getArg(c,"line"),g={source:yo.getArg(c,"source"),originalLine:p,originalColumn:yo.getArg(c,"column",0)};if(g.source=this._findSourceIndex(g.source),g.source<0)return[];var S=[],w=this._findMapping(g,this._originalMappings,"originalLine","originalColumn",yo.compareByOriginalPositions,uke.LEAST_UPPER_BOUND);if(w>=0){var z=this._originalMappings[w];if(c.column===void 0)for(var ie=z.originalLine;z&&z.originalLine===ie;)S.push({line:yo.getArg(z,"generatedLine",null),column:yo.getArg(z,"generatedColumn",null),lastColumn:yo.getArg(z,"lastGeneratedColumn",null)}),z=this._originalMappings[++w];else for(var de=z.originalColumn;z&&z.originalLine===p&&z.originalColumn==de;)S.push({line:yo.getArg(z,"generatedLine",null),column:yo.getArg(z,"generatedColumn",null),lastColumn:yo.getArg(z,"lastGeneratedColumn",null)}),z=this._originalMappings[++w]}return S};loe.SourceMapConsumer=Bp;function L0(_,c){var p=_;typeof _=="string"&&(p=yo.parseSourceMapInput(_));var g=yo.getArg(p,"version"),S=yo.getArg(p,"sources"),w=yo.getArg(p,"names",[]),z=yo.getArg(p,"sourceRoot",null),ie=yo.getArg(p,"sourcesContent",null),de=yo.getArg(p,"mappings"),be=yo.getArg(p,"file",null);if(g!=this._version)throw new Error("Unsupported version: "+g);z&&(z=yo.normalize(z)),S=S.map(String).map(yo.normalize).map(function(Ee){return z&&yo.isAbsolute(z)&&yo.isAbsolute(Ee)?yo.relative(z,Ee):Ee}),this._names=WR.fromArray(w.map(String),!0),this._sources=WR.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(Ee){return yo.computeSourceURL(z,Ee,c)}),this.sourceRoot=z,this.sourcesContent=ie,this._mappings=de,this._sourceMapURL=c,this.file=be}L0.prototype=Object.create(Bp.prototype);L0.prototype.consumer=Bp;L0.prototype._findSourceIndex=function(_){var c=_;if(this.sourceRoot!=null&&(c=yo.relative(this.sourceRoot,c)),this._sources.has(c))return this._sources.indexOf(c);var p;for(p=0;p<this._absoluteSources.length;++p)if(this._absoluteSources[p]==_)return p;return-1};L0.fromSourceMap=function(c,p){var g=Object.create(L0.prototype),S=g._names=WR.fromArray(c._names.toArray(),!0),w=g._sources=WR.fromArray(c._sources.toArray(),!0);g.sourceRoot=c._sourceRoot,g.sourcesContent=c._generateSourcesContent(g._sources.toArray(),g.sourceRoot),g.file=c._file,g._sourceMapURL=p,g._absoluteSources=g._sources.toArray().map(function(ut){return yo.computeSourceURL(g.sourceRoot,ut,p)});for(var z=c._mappings.toArray().slice(),ie=g.__generatedMappings=[],de=g.__originalMappings=[],be=0,Ee=z.length;be<Ee;be++){var Oe=z[be],Y=new Pft;Y.generatedLine=Oe.generatedLine,Y.generatedColumn=Oe.generatedColumn,Oe.source&&(Y.source=w.indexOf(Oe.source),Y.originalLine=Oe.originalLine,Y.originalColumn=Oe.originalColumn,Oe.name&&(Y.name=S.indexOf(Oe.name)),de.push(Y)),ie.push(Y)}return iG(g.__originalMappings,yo.compareByOriginalPositions),g};L0.prototype._version=3;Object.defineProperty(L0.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Pft(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}L0.prototype._parseMappings=function(c,p){for(var g=1,S=0,w=0,z=0,ie=0,de=0,be=c.length,Ee=0,Oe={},Y={},ut=[],Ye=[],We,Ut,_r,Hr,On;Ee<be;)if(c.charAt(Ee)===";")g++,Ee++,S=0;else if(c.charAt(Ee)===",")Ee++;else{for(We=new Pft,We.generatedLine=g,Hr=Ee;Hr<be&&!this._charIsMappingSeparator(c,Hr);Hr++);if(Ut=c.slice(Ee,Hr),_r=Oe[Ut],_r)Ee+=Ut.length;else{for(_r=[];Ee<Hr;)Icr.decode(c,Ee,Y),On=Y.value,Ee=Y.rest,_r.push(On);if(_r.length===2)throw new Error("Found a source, but no line and column");if(_r.length===3)throw new Error("Found a source and line, but no column");Oe[Ut]=_r}We.generatedColumn=S+_r[0],S=We.generatedColumn,_r.length>1&&(We.source=ie+_r[1],ie+=_r[1],We.originalLine=w+_r[2],w=We.originalLine,We.originalLine+=1,We.originalColumn=z+_r[3],z=We.originalColumn,_r.length>4&&(We.name=de+_r[4],de+=_r[4])),Ye.push(We),typeof We.originalLine=="number"&&ut.push(We)}iG(Ye,yo.compareByGeneratedPositionsDeflated),this.__generatedMappings=Ye,iG(ut,yo.compareByOriginalPositions),this.__originalMappings=ut};L0.prototype._findMapping=function(c,p,g,S,w,z){if(c[g]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+c[g]);if(c[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+c[S]);return uke.search(c,p,w,z)};L0.prototype.computeColumnSpans=function(){for(var c=0;c<this._generatedMappings.length;++c){var p=this._generatedMappings[c];if(c+1<this._generatedMappings.length){var g=this._generatedMappings[c+1];if(p.generatedLine===g.generatedLine){p.lastGeneratedColumn=g.generatedColumn-1;continue}}p.lastGeneratedColumn=1/0}};L0.prototype.originalPositionFor=function(c){var p={generatedLine:yo.getArg(c,"line"),generatedColumn:yo.getArg(c,"column")},g=this._findMapping(p,this._generatedMappings,"generatedLine","generatedColumn",yo.compareByGeneratedPositionsDeflated,yo.getArg(c,"bias",Bp.GREATEST_LOWER_BOUND));if(g>=0){var S=this._generatedMappings[g];if(S.generatedLine===p.generatedLine){var w=yo.getArg(S,"source",null);w!==null&&(w=this._sources.at(w),w=yo.computeSourceURL(this.sourceRoot,w,this._sourceMapURL));var z=yo.getArg(S,"name",null);return z!==null&&(z=this._names.at(z)),{source:w,line:yo.getArg(S,"originalLine",null),column:yo.getArg(S,"originalColumn",null),name:z}}}return{source:null,line:null,column:null,name:null}};L0.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(c){return c==null}):!1};L0.prototype.sourceContentFor=function(c,p){if(!this.sourcesContent)return null;var g=this._findSourceIndex(c);if(g>=0)return this.sourcesContent[g];var S=c;this.sourceRoot!=null&&(S=yo.relative(this.sourceRoot,S));var w;if(this.sourceRoot!=null&&(w=yo.urlParse(this.sourceRoot))){var z=S.replace(/^file:\/\//,"");if(w.scheme=="file"&&this._sources.has(z))return this.sourcesContent[this._sources.indexOf(z)];if((!w.path||w.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(p)return null;throw new Error('"'+S+'" is not in the SourceMap.')};L0.prototype.generatedPositionFor=function(c){var p=yo.getArg(c,"source");if(p=this._findSourceIndex(p),p<0)return{line:null,column:null,lastColumn:null};var g={source:p,originalLine:yo.getArg(c,"line"),originalColumn:yo.getArg(c,"column")},S=this._findMapping(g,this._originalMappings,"originalLine","originalColumn",yo.compareByOriginalPositions,yo.getArg(c,"bias",Bp.GREATEST_LOWER_BOUND));if(S>=0){var w=this._originalMappings[S];if(w.source===g.source)return{line:yo.getArg(w,"generatedLine",null),column:yo.getArg(w,"generatedColumn",null),lastColumn:yo.getArg(w,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};loe.BasicSourceMapConsumer=L0;function oE(_,c){var p=_;typeof _=="string"&&(p=yo.parseSourceMapInput(_));var g=yo.getArg(p,"version"),S=yo.getArg(p,"sections");if(g!=this._version)throw new Error("Unsupported version: "+g);this._sources=new WR,this._names=new WR;var w={line:-1,column:0};this._sections=S.map(function(z){if(z.url)throw new Error("Support for url field in sections not implemented.");var ie=yo.getArg(z,"offset"),de=yo.getArg(ie,"line"),be=yo.getArg(ie,"column");if(de<w.line||de===w.line&&be<w.column)throw new Error("Section offsets must be ordered and non-overlapping.");return w=ie,{generatedOffset:{generatedLine:de+1,generatedColumn:be+1},consumer:new Bp(yo.getArg(z,"map"),c)}})}oE.prototype=Object.create(Bp.prototype);oE.prototype.constructor=Bp;oE.prototype._version=3;Object.defineProperty(oE.prototype,"sources",{get:function(){for(var _=[],c=0;c<this._sections.length;c++)for(var p=0;p<this._sections[c].consumer.sources.length;p++)_.push(this._sections[c].consumer.sources[p]);return _}});oE.prototype.originalPositionFor=function(c){var p={generatedLine:yo.getArg(c,"line"),generatedColumn:yo.getArg(c,"column")},g=uke.search(p,this._sections,function(w,z){var ie=w.generatedLine-z.generatedOffset.generatedLine;return ie||w.generatedColumn-z.generatedOffset.generatedColumn}),S=this._sections[g];return S?S.consumer.originalPositionFor({line:p.generatedLine-(S.generatedOffset.generatedLine-1),column:p.generatedColumn-(S.generatedOffset.generatedLine===p.generatedLine?S.generatedOffset.generatedColumn-1:0),bias:c.bias}):{source:null,line:null,column:null,name:null}};oE.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(c){return c.consumer.hasContentsOfAllSources()})};oE.prototype.sourceContentFor=function(c,p){for(var g=0;g<this._sections.length;g++){var S=this._sections[g],w=S.consumer.sourceContentFor(c,!0);if(w)return w}if(p)return null;throw new Error('"'+c+'" is not in the SourceMap.')};oE.prototype.generatedPositionFor=function(c){for(var p=0;p<this._sections.length;p++){var g=this._sections[p];if(g.consumer._findSourceIndex(yo.getArg(c,"source"))!==-1){var S=g.consumer.generatedPositionFor(c);if(S){var w={line:S.line+(g.generatedOffset.generatedLine-1),column:S.column+(g.generatedOffset.generatedLine===S.line?g.generatedOffset.generatedColumn-1:0)};return w}}}return{line:null,column:null}};oE.prototype._parseMappings=function(c,p){this.__generatedMappings=[],this.__originalMappings=[];for(var g=0;g<this._sections.length;g++)for(var S=this._sections[g],w=S.consumer._generatedMappings,z=0;z<w.length;z++){var ie=w[z],de=S.consumer._sources.at(ie.source);de=yo.computeSourceURL(S.consumer.sourceRoot,de,this._sourceMapURL),this._sources.add(de),de=this._sources.indexOf(de);var be=null;ie.name&&(be=S.consumer._names.at(ie.name),this._names.add(be),be=this._names.indexOf(be));var Ee={source:de,generatedLine:ie.generatedLine+(S.generatedOffset.generatedLine-1),generatedColumn:ie.generatedColumn+(S.generatedOffset.generatedLine===ie.generatedLine?S.generatedOffset.generatedColumn-1:0),originalLine:ie.originalLine,originalColumn:ie.originalColumn,name:be};this.__generatedMappings.push(Ee),typeof Ee.originalLine=="number"&&this.__originalMappings.push(Ee)}iG(this.__generatedMappings,yo.compareByGeneratedPositionsDeflated),iG(this.__originalMappings,yo.compareByOriginalPositions)};loe.IndexedSourceMapConsumer=oE});var Lft=jt(Oft=>{var wcr=ske().SourceMapGenerator,foe=zR(),Pcr=/(\r?\n)/,Ncr=10,UR="$$$isSourceNode$$$";function A2(_,c,p,g,S){this.children=[],this.sourceContents={},this.line=_??null,this.column=c??null,this.source=p??null,this.name=S??null,this[UR]=!0,g!=null&&this.add(g)}A2.fromStringWithSourceMap=function(c,p,g){var S=new A2,w=c.split(Pcr),z=0,ie=function(){var Y=Ye(),ut=Ye()||"";return Y+ut;function Ye(){return z<w.length?w[z++]:void 0}},de=1,be=0,Ee=null;return p.eachMapping(function(Y){if(Ee!==null)if(de<Y.generatedLine)Oe(Ee,ie()),de++,be=0;else{var ut=w[z]||"",Ye=ut.substr(0,Y.generatedColumn-be);w[z]=ut.substr(Y.generatedColumn-be),be=Y.generatedColumn,Oe(Ee,Ye),Ee=Y;return}for(;de<Y.generatedLine;)S.add(ie()),de++;if(be<Y.generatedColumn){var ut=w[z]||"";S.add(ut.substr(0,Y.generatedColumn)),w[z]=ut.substr(Y.generatedColumn),be=Y.generatedColumn}Ee=Y},this),z<w.length&&(Ee&&Oe(Ee,ie()),S.add(w.splice(z).join(""))),p.sources.forEach(function(Y){var ut=p.sourceContentFor(Y);ut!=null&&(g!=null&&(Y=foe.join(g,Y)),S.setSourceContent(Y,ut))}),S;function Oe(Y,ut){if(Y===null||Y.source===void 0)S.add(ut);else{var Ye=g?foe.join(g,Y.source):Y.source;S.add(new A2(Y.originalLine,Y.originalColumn,Ye,ut,Y.name))}}};A2.prototype.add=function(c){if(Array.isArray(c))c.forEach(function(p){this.add(p)},this);else if(c[UR]||typeof c=="string")c&&this.children.push(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this};A2.prototype.prepend=function(c){if(Array.isArray(c))for(var p=c.length-1;p>=0;p--)this.prepend(c[p]);else if(c[UR]||typeof c=="string")this.children.unshift(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this};A2.prototype.walk=function(c){for(var p,g=0,S=this.children.length;g<S;g++)p=this.children[g],p[UR]?p.walk(c):p!==""&&c(p,{source:this.source,line:this.line,column:this.column,name:this.name})};A2.prototype.join=function(c){var p,g,S=this.children.length;if(S>0){for(p=[],g=0;g<S-1;g++)p.push(this.children[g]),p.push(c);p.push(this.children[g]),this.children=p}return this};A2.prototype.replaceRight=function(c,p){var g=this.children[this.children.length-1];return g[UR]?g.replaceRight(c,p):typeof g=="string"?this.children[this.children.length-1]=g.replace(c,p):this.children.push("".replace(c,p)),this};A2.prototype.setSourceContent=function(c,p){this.sourceContents[foe.toSetString(c)]=p};A2.prototype.walkSourceContents=function(c){for(var p=0,g=this.children.length;p<g;p++)this.children[p][UR]&&this.children[p].walkSourceContents(c);for(var S=Object.keys(this.sourceContents),p=0,g=S.length;p<g;p++)c(foe.fromSetString(S[p]),this.sourceContents[S[p]])};A2.prototype.toString=function(){var c="";return this.walk(function(p){c+=p}),c};A2.prototype.toStringWithSourceMap=function(c){var p={code:"",line:1,column:0},g=new wcr(c),S=!1,w=null,z=null,ie=null,de=null;return this.walk(function(be,Ee){p.code+=be,Ee.source!==null&&Ee.line!==null&&Ee.column!==null?((w!==Ee.source||z!==Ee.line||ie!==Ee.column||de!==Ee.name)&&g.addMapping({source:Ee.source,original:{line:Ee.line,column:Ee.column},generated:{line:p.line,column:p.column},name:Ee.name}),w=Ee.source,z=Ee.line,ie=Ee.column,de=Ee.name,S=!0):S&&(g.addMapping({generated:{line:p.line,column:p.column}}),w=null,S=!1);for(var Oe=0,Y=be.length;Oe<Y;Oe++)be.charCodeAt(Oe)===Ncr?(p.line++,p.column=0,Oe+1===Y?(w=null,S=!1):S&&g.addMapping({source:Ee.source,original:{line:Ee.line,column:Ee.column},generated:{line:p.line,column:p.column},name:Ee.name})):p.column++}),this.walkSourceContents(function(be,Ee){g.setSourceContent(be,Ee)}),{code:p.code,map:g}};Oft.SourceNode=A2});var Rft=jt(_oe=>{_oe.SourceMapGenerator=ske().SourceMapGenerator;_oe.SourceMapConsumer=Nft().SourceMapConsumer;_oe.SourceNode=Lft().SourceNode});var Bft=jt((n8r,Mft)=>{var Ocr=Object.prototype.toString,lke=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function Lcr(_){return Ocr.call(_).slice(8,-1)==="ArrayBuffer"}function Rcr(_,c,p){c>>>=0;var g=_.byteLength-c;if(g<0)throw new RangeError("'offset' is out of bounds");if(p===void 0)p=g;else if(p>>>=0,p>g)throw new RangeError("'length' is out of bounds");return lke?Buffer.from(_.slice(c,c+p)):new Buffer(new Uint8Array(_.slice(c,c+p)))}function Mcr(_,c){if((typeof c!="string"||c==="")&&(c="utf8"),!Buffer.isEncoding(c))throw new TypeError('"encoding" must be a valid string encoding');return lke?Buffer.from(_,c):new Buffer(_,c)}function Bcr(_,c,p){if(typeof _=="number")throw new TypeError('"value" argument must not be a number');return Lcr(_)?Rcr(_,c,p):typeof _=="string"?Mcr(_,c):lke?Buffer.from(_):new Buffer(_)}Mft.exports=Bcr});var Vft=jt(m7=>{var jcr=Rft().SourceMapConsumer,fke=require("path"),kT;try{kT=require("fs"),(!kT.existsSync||!kT.readFileSync)&&(kT=null)}catch{}var Jcr=Bft(),jft=!1,Jft=!1,_ke=!1,sG="auto",d7={},aG={},qcr=/^data:application\/json[^,]+base64,/,j4=[],J4=[];function dke(){return sG==="browser"?!0:sG==="node"?!1:typeof window<"u"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function zcr(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}function poe(_){return function(c){for(var p=0;p<_.length;p++){var g=_[p](c);if(g)return g}return null}}var mke=poe(j4);j4.push(function(_){if(_=_.trim(),/^file:/.test(_)&&(_=_.replace(/file:\/\/\/(\w:)?/,function(g,S){return S?"":"/"})),_ in d7)return d7[_];var c="";try{if(kT)kT.existsSync(_)&&(c=kT.readFileSync(_,"utf8"));else{var p=new XMLHttpRequest;p.open("GET",_,!1),p.send(null),p.readyState===4&&p.status===200&&(c=p.responseText)}}catch{}return d7[_]=c});function pke(_,c){if(!_)return c;var p=fke.dirname(_),g=/^\w+:\/\/[^\/]*/.exec(p),S=g?g[0]:"",w=p.slice(S.length);return S&&/^\/\w\:/.test(w)?(S+="/",S+fke.resolve(p.slice(S.length),c).replace(/\\/g,"/")):S+fke.resolve(p.slice(S.length),c)}function Wcr(_){var c;if(dke())try{var p=new XMLHttpRequest;p.open("GET",_,!1),p.send(null),c=p.readyState===4?p.responseText:null;var g=p.getResponseHeader("SourceMap")||p.getResponseHeader("X-SourceMap");if(g)return g}catch{}c=mke(_);for(var S=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,w,z;z=S.exec(c);)w=z;return w?w[1]:null}var hke=poe(J4);J4.push(function(_){var c=Wcr(_);if(!c)return null;var p;if(qcr.test(c)){var g=c.slice(c.indexOf(",")+1);p=Jcr(g,"base64").toString(),c=_}else c=pke(_,c),p=mke(c);return p?{url:c,map:p}:null});function gke(_){var c=aG[_.source];if(!c){var p=hke(_.source);p?(c=aG[_.source]={url:p.url,map:new jcr(p.map)},c.map.sourcesContent&&c.map.sources.forEach(function(S,w){var z=c.map.sourcesContent[w];if(z){var ie=pke(c.url,S);d7[ie]=z}})):c=aG[_.source]={url:null,map:null}}if(c&&c.map&&typeof c.map.originalPositionFor=="function"){var g=c.map.originalPositionFor(_);if(g.source!==null)return g.source=pke(c.url,g.source),g}return _}function zft(_){var c=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(_);if(c){var p=gke({source:c[2],line:+c[3],column:c[4]-1});return"eval at "+c[1]+" ("+p.source+":"+p.line+":"+(p.column+1)+")"}return c=/^eval at ([^(]+) \((.+)\)$/.exec(_),c?"eval at "+c[1]+" ("+zft(c[2])+")":_}function Ucr(){var _,c="";if(this.isNative())c="native";else{_=this.getScriptNameOrSourceURL(),!_&&this.isEval()&&(c=this.getEvalOrigin(),c+=", "),_?c+=_:c+="<anonymous>";var p=this.getLineNumber();if(p!=null){c+=":"+p;var g=this.getColumnNumber();g&&(c+=":"+g)}}var S="",w=this.getFunctionName(),z=!0,ie=this.isConstructor(),de=!(this.isToplevel()||ie);if(de){var be=this.getTypeName();be==="[object Object]"&&(be="null");var Ee=this.getMethodName();w?(be&&w.indexOf(be)!=0&&(S+=be+"."),S+=w,Ee&&w.indexOf("."+Ee)!=w.length-Ee.length-1&&(S+=" [as "+Ee+"]")):S+=be+"."+(Ee||"<anonymous>")}else ie?S+="new "+(w||"<anonymous>"):w?S+=w:(S+=c,z=!1);return z&&(S+=" ("+c+")"),S}function qft(_){var c={};return Object.getOwnPropertyNames(Object.getPrototypeOf(_)).forEach(function(p){c[p]=/^(?:is|get)/.test(p)?function(){return _[p].call(_)}:_[p]}),c.toString=Ucr,c}function Wft(_){if(_.isNative())return _;var c=_.getFileName()||_.getScriptNameOrSourceURL();if(c){var p=_.getLineNumber(),g=_.getColumnNumber()-1,S=62;p===1&&g>S&&!dke()&&!_.isEval()&&(g-=S);var w=gke({source:c,line:p,column:g});_=qft(_);var z=_.getFunctionName;return _.getFunctionName=function(){return w.name||z()},_.getFileName=function(){return w.source},_.getLineNumber=function(){return w.line},_.getColumnNumber=function(){return w.column+1},_.getScriptNameOrSourceURL=function(){return w.source},_}var ie=_.isEval()&&_.getEvalOrigin();return ie&&(ie=zft(ie),_=qft(_),_.getEvalOrigin=function(){return ie}),_}function Vcr(_,c){_ke&&(d7={},aG={});var p=_.name||"Error",g=_.message||"",S=p+": "+g;return S+c.map(function(w){return`
352
+ at `+Wft(w)}).join("")}function Uft(_){var c=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(_.stack);if(c){var p=c[1],g=+c[2],S=+c[3],w=d7[p];if(!w&&kT&&kT.existsSync(p))try{w=kT.readFileSync(p,"utf8")}catch{w=""}if(w){var z=w.split(/(?:\r\n|\r|\n)/)[g-1];if(z)return p+":"+g+`
353
353
  `+z+`
354
- `+new Array(S).join(" ")+"^"}}return null}function Gcr(p){var c=Uft(p);process.stderr._handle&&process.stderr._handle.setBlocking&&process.stderr._handle.setBlocking(!0),c&&(console.error(),console.error(c)),console.error(p.stack),process.exit(1)}function $cr(){var p=process.emit;process.emit=function(c){if(c==="uncaughtException"){var _=arguments[1]&&arguments[1].stack,g=this.listeners(c).length>0;if(_&&!g)return Gcr(arguments[1])}return p.apply(this,arguments)}}var Hcr=j4.slice(0),Kcr=J4.slice(0);m7.wrapCallSite=Wft;m7.getErrorSource=Uft;m7.mapSourcePosition=gke;m7.retrieveSourceMap=hke;m7.install=function(p){if(p=p||{},p.environment&&(sG=p.environment,["node","browser","auto"].indexOf(sG)===-1))throw new Error("environment "+sG+" was unknown. Available options are {auto, browser, node}");if(p.retrieveFile&&(p.overrideRetrieveFile&&(j4.length=0),j4.unshift(p.retrieveFile)),p.retrieveSourceMap&&(p.overrideRetrieveSourceMap&&(J4.length=0),J4.unshift(p.retrieveSourceMap)),p.hookRequire&&!dke()){var c;try{c=require("module")}catch{}var _=c.prototype._compile;_.__sourceMapSupport||(c.prototype._compile=function(S,w){return d7[w]=S,aG[w]=void 0,_.call(this,S,w)},c.prototype._compile.__sourceMapSupport=!0)}if(_ke||(_ke="emptyCacheBetweenOperations"in p?p.emptyCacheBetweenOperations:!1),jft||(jft=!0,Error.prepareStackTrace=Vcr),!Jft){var g="handleUncaughtExceptions"in p?p.handleUncaughtExceptions:!0;g&&zcr()&&(Jft=!0,$cr())}};m7.resetRetrieveHandlers=function(){j4.length=0,J4.length=0,j4=Hcr.slice(0),J4=Kcr.slice(0),hke=poe(J4),mke=poe(j4)}});var e_t=jt((s8r,moe)=>{var Gft={};(p=>{"use strict";var c=Object.defineProperty,_=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,S=Object.prototype.hasOwnProperty,w=(e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})},z=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of g(t))!S.call(e,s)&&s!==n&&c(e,s,{get:()=>t[s],enumerable:!(i=_(t,s))||i.enumerable});return e},ie=e=>e,de={};w(de,{ANONYMOUS:()=>zZ,AccessFlags:()=>Nce,AssertionLevel:()=>Woe,AssignmentDeclarationKind:()=>zce,AssignmentKind:()=>dfe,Associativity:()=>Cfe,BreakpointResolver:()=>Jee,BuilderFileEmit:()=>ghe,BuilderProgramKind:()=>xhe,BuilderState:()=>kh,CallHierarchy:()=>rF,CharacterCodes:()=>Zce,CheckFlags:()=>kce,CheckMode:()=>fX,ClassificationType:()=>ZY,ClassificationTypeNames:()=>Age,CommentDirectiveType:()=>dce,Comparison:()=>Oe,CompletionInfoFlags:()=>Dge,CompletionTriggerKind:()=>XY,Completions:()=>oF,ContainerFlags:()=>Xde,ContextFlags:()=>bce,Debug:()=>P,DiagnosticCategory:()=>iM,Diagnostics:()=>h,DocumentHighlights:()=>Yq,ElementFlags:()=>Pce,EmitFlags:()=>HG,EmitHint:()=>nue,EmitOnly:()=>hce,EndOfLineState:()=>Sge,ExitStatus:()=>gce,ExportKind:()=>g0e,Extension:()=>eue,ExternalEmitHelpers:()=>rue,FileIncludeKind:()=>BG,FilePreprocessingDiagnosticsKind:()=>mce,FileSystemEntryKind:()=>_ue,FileWatcherEventKind:()=>uue,FindAllReferences:()=>dc,FlattenLevel:()=>vme,FlowFlags:()=>nM,ForegroundColorEscapeSequences:()=>ohe,FunctionFlags:()=>Dfe,GeneratedIdentifierFlags:()=>MG,GetLiteralTextFlags:()=>wle,GoToDefinition:()=>v3,HighlightSpanKind:()=>yge,IdentifierNameMap:()=>K6,ImportKind:()=>h0e,ImportsNotUsedAsValues:()=>Hce,IndentStyle:()=>vge,IndexFlags:()=>Oce,IndexKind:()=>Mce,InferenceFlags:()=>Jce,InferencePriority:()=>jce,InlayHintKind:()=>gge,InlayHints:()=>wte,InternalEmitFlags:()=>tue,InternalNodeBuilderFlags:()=>Sce,InternalSymbolName:()=>Ice,IntersectionFlags:()=>Dce,InvalidatedProjectKind:()=>Hhe,JSDocParsingMode:()=>cue,JsDoc:()=>yb,JsTyping:()=>jD,JsxEmit:()=>$ce,JsxFlags:()=>lce,JsxReferenceKind:()=>Lce,LanguageFeatureMinimumTarget:()=>El,LanguageServiceMode:()=>mge,LanguageVariant:()=>Xce,LexicalEnvironmentFlags:()=>sue,ListFormat:()=>aue,LogLevel:()=>Zoe,MapCode:()=>Pte,MemberOverrideStatus:()=>yce,ModifierFlags:()=>LG,ModuleDetectionKind:()=>Wce,ModuleInstanceState:()=>Kde,ModuleKind:()=>Rk,ModuleResolutionKind:()=>Lk,ModuleSpecifierEnding:()=>y_e,NavigateTo:()=>q0e,NavigationBar:()=>W0e,NewLineKind:()=>Kce,NodeBuilderFlags:()=>Cce,NodeCheckFlags:()=>qG,NodeFactoryFlags:()=>K_e,NodeFlags:()=>OG,NodeResolutionFeatures:()=>jde,ObjectFlags:()=>WG,OperationCanceledException:()=>Q4,OperatorPrecedence:()=>Sfe,OrganizeImports:()=>vb,OrganizeImportsMode:()=>QY,OuterExpressionKinds:()=>iue,OutliningElementsCollector:()=>Ote,OutliningSpanKind:()=>bge,OutputFileType:()=>Cge,PackageJsonAutoImportPreference:()=>dge,PackageJsonDependencyGroup:()=>pge,PatternMatchKind:()=>oee,PollingInterval:()=>KG,PollingWatchKind:()=>Gce,PragmaKindFlags:()=>oue,PredicateSemantics:()=>fce,PreparePasteEdits:()=>Kte,PrivateIdentifierKind:()=>spe,ProcessLevel:()=>Sme,ProgramUpdateLevel:()=>rhe,QuotePreference:()=>Kge,RegularExpressionFlags:()=>_ce,RelationComparisonResult:()=>RG,Rename:()=>Lz,ScriptElementKind:()=>xge,ScriptElementKindModifier:()=>Tge,ScriptKind:()=>VG,ScriptSnapshot:()=>lq,ScriptTarget:()=>Qce,SemanticClassificationFormat:()=>hge,SemanticMeaning:()=>Fge,SemicolonPreference:()=>YY,SignatureCheckMode:()=>_X,SignatureFlags:()=>UG,SignatureHelp:()=>oO,SignatureInfo:()=>hhe,SignatureKind:()=>Rce,SmartSelectionRange:()=>Mte,SnippetKind:()=>$G,StatisticType:()=>nge,StructureIsReused:()=>jG,SymbolAccessibility:()=>Tce,SymbolDisplay:()=>cv,SymbolDisplayPartKind:()=>_q,SymbolFlags:()=>JG,SymbolFormatFlags:()=>xce,SyntaxKind:()=>NG,Ternary:()=>qce,ThrottledCancellationToken:()=>X1e,TokenClass:()=>Ege,TokenFlags:()=>pce,TransformFlags:()=>GG,TypeFacts:()=>lX,TypeFlags:()=>zG,TypeFormatFlags:()=>Ece,TypeMapKind:()=>Bce,TypePredicateKind:()=>Ace,TypeReferenceSerializationKind:()=>Fce,UnionReduction:()=>vce,UpToDateStatusType:()=>qhe,VarianceFlags:()=>wce,Version:()=>hh,VersionRange:()=>rM,WatchDirectoryFlags:()=>Yce,WatchDirectoryKind:()=>Vce,WatchFileKind:()=>Uce,WatchLogLevel:()=>ihe,WatchType:()=>Pl,accessPrivateIdentifier:()=>yme,addEmitFlags:()=>hg,addEmitHelper:()=>SA,addEmitHelpers:()=>r1,addInternalEmitFlags:()=>BE,addNodeFactoryPatcher:()=>j3e,addObjectAllocatorPatcher:()=>S3e,addRange:()=>ii,addRelatedInfo:()=>pa,addSyntheticLeadingComment:()=>AD,addSyntheticTrailingComment:()=>_I,addToSeen:()=>ym,advancedAsyncSuperHelper:()=>bj,affectsDeclarationPathOptionDeclarations:()=>lde,affectsEmitOptionDeclarations:()=>ude,allKeysStartWithDot:()=>mJ,altDirectorySeparator:()=>cM,and:()=>ZR,append:()=>Gr,appendIfUnique:()=>O1,arrayFrom:()=>As,arrayIsEqualTo:()=>qp,arrayIsHomogeneous:()=>T_e,arrayOf:()=>joe,arrayReverseIterator:()=>_G,arrayToMap:()=>wk,arrayToMultiMap:()=>y7,arrayToNumericMap:()=>qoe,assertType:()=>Zke,assign:()=>lE,asyncSuperHelper:()=>Dj,attachFileToDiagnostics:()=>dA,base64decode:()=>Ufe,base64encode:()=>Wfe,binarySearch:()=>Xv,binarySearchKey:()=>NT,bindSourceFile:()=>Yde,breakIntoCharacterSpans:()=>N0e,breakIntoWordSpans:()=>O0e,buildLinkParts:()=>n0e,buildOpts:()=>O5,buildOverload:()=>xJe,bundlerModuleNameResolver:()=>Jde,canBeConvertedToAsync:()=>pee,canHaveDecorators:()=>iS,canHaveExportModifier:()=>i5,canHaveFlowNode:()=>a6,canHaveIllegalDecorators:()=>DQ,canHaveIllegalModifiers:()=>Upe,canHaveIllegalType:()=>f4e,canHaveIllegalTypeParameters:()=>Wpe,canHaveJSDoc:()=>xN,canHaveLocals:()=>e0,canHaveModifiers:()=>Cm,canHaveModuleSpecifier:()=>ffe,canHaveSymbol:()=>vh,canIncludeBindAndCheckDiagnostics:()=>rI,canJsonReportNoInputFiles:()=>J5,canProduceDiagnostics:()=>Q5,canUsePropertyAccess:()=>EK,canWatchAffectingLocation:()=>Nhe,canWatchAtTypes:()=>Phe,canWatchDirectoryOrFile:()=>pY,canWatchDirectoryOrFilePath:()=>f9,cartesianProduct:()=>Xoe,cast:()=>ha,chainBundle:()=>Fh,chainDiagnosticMessages:()=>$s,changeAnyExtension:()=>x7,changeCompilerHostLikeToUseCache:()=>HI,changeExtension:()=>Ky,changeFullExtension:()=>fM,changesAffectModuleResolution:()=>BM,changesAffectingProgramStructure:()=>Sle,characterCodeToRegularExpressionFlag:()=>a$,childIsDecorated:()=>E8,classElementOrClassElementParameterIsDecorated:()=>sH,classHasClassThisAssignment:()=>AX,classHasDeclaredOrExplicitlyAssignedName:()=>FX,classHasExplicitlyAssignedName:()=>FJ,classOrConstructorParameterIsDecorated:()=>Uy,classicNameResolver:()=>$de,classifier:()=>tye,cleanExtendedConfigCache:()=>OJ,clear:()=>Ro,clearMap:()=>V_,clearSharedExtendedConfigFileWatcher:()=>zX,climbPastPropertyAccess:()=>mq,clone:()=>zoe,cloneCompilerOptions:()=>yZ,closeFileWatcher:()=>$m,closeFileWatcherOf:()=>Ud,codefix:()=>Mf,collapseTextChangeRangesAcrossMultipleVersions:()=>Lue,collectExternalModuleInfo:()=>SX,combine:()=>PT,combinePaths:()=>si,commandLineOptionOfCustomType:()=>pde,commentPragmas:()=>sM,commonOptionsWithBuild:()=>Hj,compact:()=>h7,compareBooleans:()=>I2,compareDataObjects:()=>YH,compareDiagnostics:()=>K8,compareEmitHelpers:()=>ope,compareNumberOfDirectorySeparators:()=>e5,comparePaths:()=>R1,comparePathsCaseInsensitive:()=>S6e,comparePathsCaseSensitive:()=>C6e,comparePatternKeys:()=>nX,compareProperties:()=>$oe,compareStringsCaseInsensitive:()=>D7,compareStringsCaseInsensitiveEslintCompatible:()=>Uoe,compareStringsCaseSensitive:()=>df,compareStringsCaseSensitiveUI:()=>b7,compareTextSpans:()=>XR,compareValues:()=>ac,compilerOptionsAffectDeclarationPath:()=>__e,compilerOptionsAffectEmit:()=>f_e,compilerOptionsAffectSemanticDiagnostics:()=>l_e,compilerOptionsDidYouMeanDiagnostics:()=>Yj,compilerOptionsIndicateEsModules:()=>EZ,computeCommonSourceDirectoryOfFilenames:()=>she,computeLineAndCharacterOfPosition:()=>jk,computeLineOfPosition:()=>t8,computeLineStarts:()=>zT,computePositionOfLineAndCharacter:()=>mM,computeSignatureWithDiagnostics:()=>oY,computeSuggestionDiagnostics:()=>lee,computedOptions:()=>Q8,concatenate:()=>Ht,concatenateDiagnosticMessageChains:()=>n_e,consumesNodeCoreModules:()=>Wq,contains:()=>xn,containsIgnoredPath:()=>sI,containsObjectRestOrSpread:()=>I5,containsParseError:()=>XT,containsPath:()=>wd,convertCompilerOptionsForTelemetry:()=>Fde,convertCompilerOptionsFromJson:()=>D8e,convertJsonOption:()=>ZE,convertToBase64:()=>zfe,convertToJson:()=>M5,convertToObject:()=>Cde,convertToOptionsWithAbsolutePaths:()=>rJ,convertToRelativePath:()=>Z4,convertToTSConfig:()=>JQ,convertTypeAcquisitionFromJson:()=>b8e,copyComments:()=>cx,copyEntries:()=>jM,copyLeadingComments:()=>f3,copyProperties:()=>vG,copyTrailingAsLeadingComments:()=>P9,copyTrailingComments:()=>lw,couldStartTrivia:()=>bue,countWhere:()=>Js,createAbstractBuilder:()=>Awe,createAccessorPropertyBackingField:()=>SQ,createAccessorPropertyGetRedirector:()=>Ype,createAccessorPropertySetRedirector:()=>Zpe,createBaseNodeFactory:()=>U_e,createBinaryExpressionTrampoline:()=>Wj,createBuilderProgram:()=>cY,createBuilderProgramUsingIncrementalBuildInfo:()=>khe,createBuilderStatusReporter:()=>rq,createCacheableExportInfoMap:()=>ZZ,createCachedDirectoryStructureHost:()=>PJ,createClassifier:()=>n7e,createCommentDirectivesMap:()=>kle,createCompilerDiagnostic:()=>Vc,createCompilerDiagnosticForInvalidCustomType:()=>dde,createCompilerDiagnosticFromMessageChain:()=>zB,createCompilerHost:()=>ahe,createCompilerHostFromProgramHost:()=>FY,createCompilerHostWorker:()=>LJ,createDetachedDiagnostic:()=>pA,createDiagnosticCollection:()=>j8,createDiagnosticForFileFromMessageChain:()=>eH,createDiagnosticForNode:()=>Tn,createDiagnosticForNodeArray:()=>Yk,createDiagnosticForNodeArrayFromMessageChain:()=>nN,createDiagnosticForNodeFromMessageChain:()=>$0,createDiagnosticForNodeInSourceFile:()=>Nd,createDiagnosticForRange:()=>Wle,createDiagnosticMessageChainFromDiagnostic:()=>zle,createDiagnosticReporter:()=>HA,createDocumentPositionMapper:()=>pme,createDocumentRegistry:()=>C0e,createDocumentRegistryInternal:()=>iee,createEmitAndSemanticDiagnosticsBuilderProgram:()=>_Y,createEmitHelperFactory:()=>ape,createEmptyExports:()=>C5,createEvaluator:()=>R_e,createExpressionForJsxElement:()=>Mpe,createExpressionForJsxFragment:()=>Bpe,createExpressionForObjectLiteralElementLike:()=>jpe,createExpressionForPropertyName:()=>dQ,createExpressionFromEntityName:()=>S5,createExternalHelpersImportDeclarationIfNeeded:()=>gQ,createFileDiagnostic:()=>al,createFileDiagnosticFromMessageChain:()=>KM,createFlowNode:()=>l0,createForOfBindingStatement:()=>pQ,createFutureSourceFile:()=>Kq,createGetCanonicalFileName:()=>Zl,createGetIsolatedDeclarationErrors:()=>Gme,createGetSourceFile:()=>$X,createGetSymbolAccessibilityDiagnosticForNode:()=>cb,createGetSymbolAccessibilityDiagnosticForNodeName:()=>Vme,createGetSymbolWalker:()=>Zde,createIncrementalCompilerHost:()=>tq,createIncrementalProgram:()=>Jhe,createJsxFactoryExpression:()=>_Q,createLanguageService:()=>Y1e,createLanguageServiceSourceFile:()=>dz,createMemberAccessForPropertyName:()=>XE,createModeAwareCache:()=>U6,createModeAwareCacheKey:()=>NI,createModeMismatchDetails:()=>B$,createModuleNotFoundChain:()=>qM,createModuleResolutionCache:()=>V6,createModuleResolutionLoader:()=>ZX,createModuleResolutionLoaderUsingGlobalCache:()=>Mhe,createModuleSpecifierResolutionHost:()=>_b,createMultiMap:()=>fm,createNameResolver:()=>kK,createNodeConverters:()=>$_e,createNodeFactory:()=>u5,createOptionNameMap:()=>Qj,createOverload:()=>Xte,createPackageJsonImportFilter:()=>_3,createPackageJsonInfo:()=>VZ,createParenthesizerRules:()=>V_e,createPatternMatcher:()=>A0e,createPrinter:()=>MD,createPrinterWithDefaults:()=>ehe,createPrinterWithRemoveComments:()=>cS,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>the,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>qX,createProgram:()=>c9,createProgramDiagnostics:()=>dhe,createProgramHost:()=>kY,createPropertyNameNodeForIdentifierOrLiteral:()=>n5,createQueue:()=>v7,createRange:()=>Rd,createRedirectedBuilderProgram:()=>fY,createResolutionCache:()=>mY,createRuntimeTypeSerializer:()=>Fme,createScanner:()=>q0,createSemanticDiagnosticsBuilderProgram:()=>Twe,createSet:()=>DG,createSolutionBuilder:()=>Vhe,createSolutionBuilderHost:()=>Whe,createSolutionBuilderWithWatch:()=>Ghe,createSolutionBuilderWithWatchHost:()=>Uhe,createSortedArray:()=>bo,createSourceFile:()=>jA,createSourceMapGenerator:()=>cme,createSourceMapSource:()=>W3e,createSuperAccessVariableStatement:()=>IJ,createSymbolTable:()=>fa,createSymlinkCache:()=>cK,createSyntacticTypeNodeBuilder:()=>lge,createSystemWatchFunctions:()=>pue,createTextChange:()=>x9,createTextChangeFromStartLength:()=>Fq,createTextChangeRange:()=>L7,createTextRangeFromNode:()=>bZ,createTextRangeFromSpan:()=>Aq,createTextSpan:()=>ef,createTextSpanFromBounds:()=>Tu,createTextSpanFromNode:()=>d_,createTextSpanFromRange:()=>sv,createTextSpanFromStringLiteralLikeContent:()=>DZ,createTextWriter:()=>RN,createTokenRange:()=>$H,createTypeChecker:()=>ame,createTypeReferenceDirectiveResolutionCache:()=>_J,createTypeReferenceResolutionLoader:()=>BJ,createWatchCompilerHost:()=>Mwe,createWatchCompilerHostOfConfigFile:()=>IY,createWatchCompilerHostOfFilesAndCompilerOptions:()=>wY,createWatchFactory:()=>AY,createWatchHost:()=>TY,createWatchProgram:()=>PY,createWatchStatusReporter:()=>hY,createWriteFileMeasuringIO:()=>HX,declarationNameToString:()=>Yo,decodeMappings:()=>DX,decodedTextSpanIntersectsWith:()=>O7,deduplicate:()=>Ca,defaultHoverMaximumTruncationLength:()=>ble,defaultInitCompilerOptions:()=>J4e,defaultMaximumTruncationLength:()=>g8,diagnosticCategoryName:()=>_E,diagnosticToString:()=>pS,diagnosticsEqualityComparer:()=>WB,directoryProbablyExists:()=>Ch,directorySeparator:()=>fc,displayPart:()=>H_,displayPartsToString:()=>V9,disposeEmitNodes:()=>JK,documentSpansEqual:()=>wZ,dumpTracingLegend:()=>uce,elementAt:()=>Qv,elideNodes:()=>Xpe,emitDetachedComments:()=>Pfe,emitFiles:()=>jX,emitFilesAndReportErrors:()=>XJ,emitFilesAndReportErrorsAndGetExitStatus:()=>xY,emitModuleKindIsNonNodeESM:()=>QN,emitNewLineBeforeLeadingCommentOfPosition:()=>wfe,emitResolverSkipsTypeChecking:()=>BX,emitSkippedWithNoDiagnostics:()=>rY,emptyArray:()=>Y,emptyFileSystemEntries:()=>hK,emptyMap:()=>ut,emptyOptions:()=>Sm,endsWith:()=>yc,ensurePathIsNonModuleName:()=>pE,ensureScriptKind:()=>ZB,ensureTrailingDirectorySeparator:()=>dl,entityNameToString:()=>fp,enumerateInsertsAndDeletes:()=>tM,equalOwnProperties:()=>Joe,equateStringsCaseInsensitive:()=>tD,equateStringsCaseSensitive:()=>EC,equateValues:()=>eD,escapeJsxAttributeString:()=>kH,escapeLeadingUnderscores:()=>Hc,escapeNonAsciiString:()=>CB,escapeSnippetText:()=>HC,escapeString:()=>a0,escapeTemplateSubstitution:()=>AH,evaluatorResult:()=>hl,every:()=>Hn,exclusivelyPrefixedNodeCoreModules:()=>dj,executeCommandLine:()=>hPe,expandPreOrPostfixIncrementOrDecrementExpression:()=>Bj,explainFiles:()=>DY,explainIfFileIsRedirectAndImpliedFormat:()=>bY,exportAssignmentIsAlias:()=>kN,expressionResultIsUnused:()=>F_e,extend:()=>yG,extensionFromPath:()=>eI,extensionIsTS:()=>ij,extensionsNotSupportingExtensionlessResolution:()=>nj,externalHelpersModuleNameText:()=>pD,factory:()=>R,fileExtensionIs:()=>Wc,fileExtensionIsOneOf:()=>vu,fileIncludeReasonToDiagnostics:()=>EY,fileShouldUseJavaScriptRequire:()=>YZ,filter:()=>Rr,filterMutate:()=>wo,filterSemanticDiagnostics:()=>zJ,find:()=>an,findAncestor:()=>Pr,findBestPatternMatch:()=>TG,findChildOfKind:()=>jo,findComputedPropertyNameCacheAssignment:()=>Uj,findConfigFile:()=>VX,findConstructorDeclaration:()=>o5,findContainingList:()=>Dq,findDiagnosticForNode:()=>p0e,findFirstNonJsxWhitespaceToken:()=>Rge,findIndex:()=>ma,findLast:()=>hc,findLastIndex:()=>ic,findListItemInfo:()=>Lge,findModifier:()=>c3,findNextToken:()=>_S,findPackageJson:()=>_0e,findPackageJsons:()=>UZ,findPrecedingMatchingToken:()=>xq,findPrecedingToken:()=>ll,findSuperStatementIndexPath:()=>EJ,findTokenOnLeftOfPosition:()=>nw,findUseStrictPrologue:()=>hQ,first:()=>eo,firstDefined:()=>_r,firstDefinedIterator:()=>Hr,firstIterator:()=>dG,firstOrOnly:()=>HZ,firstOrUndefined:()=>$u,firstOrUndefinedIterator:()=>QR,fixupCompilerOptions:()=>dee,flatMap:()=>Zs,flatMapIterator:()=>By,flatMapToMutable:()=>jp,flatten:()=>Ko,flattenCommaList:()=>ede,flattenDestructuringAssignment:()=>nx,flattenDestructuringBinding:()=>oS,flattenDiagnosticMessageText:()=>xg,forEach:()=>We,forEachAncestor:()=>Ele,forEachAncestorDirectory:()=>e8,forEachAncestorDirectoryStoppingAtGlobalCache:()=>u0,forEachChild:()=>Hs,forEachChildRecursively:()=>BA,forEachDynamicImportOrRequireCall:()=>mj,forEachEmittedFile:()=>OX,forEachEnclosingBlockScopeContainer:()=>jle,forEachEntry:()=>ml,forEachExternalModuleToImportFrom:()=>tee,forEachImportClauseDeclaration:()=>_fe,forEachKey:()=>V0,forEachLeadingCommentRange:()=>F7,forEachNameInAccessChainWalkingLeft:()=>Yfe,forEachNameOfDefaultExport:()=>Xq,forEachOptionsSyntaxByName:()=>LK,forEachProjectReference:()=>lI,forEachPropertyAssignment:()=>t6,forEachResolvedProjectReference:()=>NK,forEachReturnStatement:()=>gD,forEachRight:()=>Ut,forEachTrailingCommentRange:()=>k7,forEachTsConfigPropArray:()=>cN,forEachUnique:()=>NZ,forEachYieldExpression:()=>$le,formatColorAndReset:()=>uS,formatDiagnostic:()=>KX,formatDiagnostics:()=>ewe,formatDiagnosticsWithColorAndContext:()=>lhe,formatGeneratedName:()=>nb,formatGeneratedNamePart:()=>J6,formatLocation:()=>QX,formatMessage:()=>mA,formatStringFromArgs:()=>Y0,formatting:()=>Zu,generateDjb2Hash:()=>X4,generateTSConfig:()=>Sde,getAdjustedReferenceLocation:()=>_Z,getAdjustedRenameLocation:()=>Cq,getAliasDeclarationFromName:()=>gH,getAllAccessorDeclarations:()=>WC,getAllDecoratorsOfClass:()=>xX,getAllDecoratorsOfClassElement:()=>TJ,getAllJSDocTags:()=>CM,getAllJSDocTagsOfKind:()=>G6e,getAllKeys:()=>Kke,getAllProjectOutputs:()=>wJ,getAllSuperTypeNodes:()=>N8,getAllowImportingTsExtensions:()=>s_e,getAllowJSCompilerOption:()=>ED,getAllowSyntheticDefaultImports:()=>hA,getAncestor:()=>z2,getAnyExtensionFromPath:()=>jT,getAreDeclarationMapsEnabled:()=>UB,getAssignedExpandoInitializer:()=>eA,getAssignedName:()=>vM,getAssignmentDeclarationKind:()=>Au,getAssignmentDeclarationPropertyAccessKind:()=>DN,getAssignmentTargetKind:()=>yD,getAutomaticTypeDirectiveNames:()=>lJ,getBaseFileName:()=>Hu,getBinaryOperatorPrecedence:()=>NN,getBuildInfo:()=>JX,getBuildInfoFileVersionMap:()=>lY,getBuildInfoText:()=>Yme,getBuildOrderFromAnyBuildOrder:()=>p9,getBuilderCreationParameters:()=>GJ,getBuilderFileEmit:()=>BD,getCanonicalDiagnostic:()=>Ule,getCheckFlags:()=>nu,getClassExtendsHeritageElement:()=>jC,getClassLikeDeclarationOfSymbol:()=>G1,getCombinedLocalAndExportSymbolFlags:()=>m6,getCombinedModifierFlags:()=>P2,getCombinedNodeFlags:()=>B1,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>_$,getCommentRange:()=>gg,getCommonSourceDirectory:()=>$I,getCommonSourceDirectoryOfConfig:()=>ix,getCompilerOptionValue:()=>$B,getConditions:()=>OD,getConfigFileParsingDiagnostics:()=>lS,getConstantValue:()=>Y_e,getContainerFlags:()=>sX,getContainerNode:()=>ox,getContainingClass:()=>zl,getContainingClassExcludingClassDecorators:()=>nB,getContainingClassStaticBlock:()=>tfe,getContainingFunction:()=>nd,getContainingFunctionDeclaration:()=>efe,getContainingFunctionOrClassStaticBlock:()=>rB,getContainingNodeArray:()=>k_e,getContainingObjectLiteralElement:()=>G9,getContextualTypeFromParent:()=>Mq,getContextualTypeFromParentOrAncestorTypeNode:()=>bq,getDeclarationDiagnostics:()=>$me,getDeclarationEmitExtensionForPath:()=>xB,getDeclarationEmitOutputFilePath:()=>Afe,getDeclarationEmitOutputFilePathWorker:()=>EB,getDeclarationFileExtension:()=>Gj,getDeclarationFromName:()=>P8,getDeclarationModifierFlagsFromSymbol:()=>Bd,getDeclarationOfKind:()=>xc,getDeclarationsOfKind:()=>Cle,getDeclaredExpandoInitializer:()=>F8,getDecorators:()=>aD,getDefaultCompilerOptions:()=>pz,getDefaultFormatCodeSettings:()=>fq,getDefaultLibFileName:()=>w7,getDefaultLibFilePath:()=>Z1e,getDefaultLikeExportInfo:()=>Qq,getDefaultLikeExportNameFromDeclaration:()=>KZ,getDefaultResolutionModeForFileWorker:()=>qJ,getDiagnosticText:()=>P_,getDiagnosticsWithinSpan:()=>d0e,getDirectoryPath:()=>gi,getDirectoryToWatchFailedLookupLocation:()=>dY,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>Lhe,getDocumentPositionMapper:()=>uee,getDocumentSpansEqualityComparer:()=>PZ,getESModuleInterop:()=>mg,getEditsForFileRename:()=>E0e,getEffectiveBaseTypeNode:()=>bh,getEffectiveConstraintOfTypeParameter:()=>Wk,getEffectiveContainerForJSDocTemplateTag:()=>mB,getEffectiveImplementsTypeNodes:()=>c6,getEffectiveInitializer:()=>gN,getEffectiveJSDocHost:()=>q2,getEffectiveModifierFlags:()=>hf,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>Rfe,getEffectiveModifierFlagsNoCache:()=>Mfe,getEffectiveReturnTypeNode:()=>dp,getEffectiveSetAccessorTypeAnnotationNode:()=>MH,getEffectiveTypeAnnotationNode:()=>Ku,getEffectiveTypeParameterDeclarations:()=>oD,getEffectiveTypeRoots:()=>PI,getElementOrPropertyAccessArgumentExpressionOrName:()=>dB,getElementOrPropertyAccessName:()=>q1,getElementsOfBindingOrAssignmentPattern:()=>j6,getEmitDeclarations:()=>G_,getEmitFlags:()=>to,getEmitHelpers:()=>qK,getEmitModuleDetectionKind:()=>a_e,getEmitModuleFormatOfFileWorker:()=>XI,getEmitModuleKind:()=>Qf,getEmitModuleResolutionKind:()=>Pf,getEmitScriptTarget:()=>Va,getEmitStandardClassFields:()=>aK,getEnclosingBlockScopeContainer:()=>Dh,getEnclosingContainer:()=>HM,getEncodedSemanticClassifications:()=>ree,getEncodedSyntacticClassifications:()=>nee,getEndLinePosition:()=>Y7,getEntityNameFromTypeNode:()=>fN,getEntrypointsFromPackageJsonInfo:()=>eX,getErrorCountForSummary:()=>KJ,getErrorSpanForNode:()=>EE,getErrorSummaryText:()=>yY,getEscapedTextOfIdentifierOrLiteral:()=>R8,getEscapedTextOfJsxAttributeName:()=>cI,getEscapedTextOfJsxNamespacedName:()=>DA,getExpandoInitializer:()=>j2,getExportAssignmentExpression:()=>yH,getExportInfoMap:()=>B9,getExportNeedsImportStarHelper:()=>dme,getExpressionAssociativity:()=>xH,getExpressionPrecedence:()=>B8,getExternalHelpersModuleName:()=>x5,getExternalModuleImportEqualsDeclarationExpression:()=>x8,getExternalModuleName:()=>rA,getExternalModuleNameFromDeclaration:()=>xfe,getExternalModuleNameFromPath:()=>PH,getExternalModuleNameLiteral:()=>MA,getExternalModuleRequireArgument:()=>oH,getFallbackOptions:()=>s9,getFileEmitOutput:()=>mhe,getFileMatcherPatterns:()=>YB,getFileNamesFromConfigSpecs:()=>II,getFileWatcherEventKind:()=>YG,getFilesInErrorForSummary:()=>QJ,getFirstConstructorWithBody:()=>Q0,getFirstIdentifier:()=>c_,getFirstNonSpaceCharacterPosition:()=>a0e,getFirstProjectOutput:()=>MX,getFixableErrorSpanExpression:()=>GZ,getFormatCodeSettingsForWriting:()=>$q,getFullWidth:()=>Q7,getFunctionFlags:()=>Pu,getHeritageClause:()=>IN,getHostSignatureFromJSDoc:()=>J2,getIdentifierAutoGenerate:()=>G3e,getIdentifierGeneratedImportReference:()=>ipe,getIdentifierTypeArguments:()=>jE,getImmediatelyInvokedFunctionExpression:()=>M2,getImpliedNodeFormatForEmitWorker:()=>sx,getImpliedNodeFormatForFile:()=>o9,getImpliedNodeFormatForFileWorker:()=>JJ,getImportNeedsImportDefaultHelper:()=>CX,getImportNeedsImportStarHelper:()=>CJ,getIndentString:()=>SB,getInferredLibraryNameResolveFrom:()=>jJ,getInitializedVariables:()=>G8,getInitializerOfBinaryExpression:()=>fH,getInitializerOfBindingOrAssignmentElement:()=>A5,getInterfaceBaseTypeNodes:()=>O8,getInternalEmitFlags:()=>Vm,getInvokedExpression:()=>aB,getIsFileExcluded:()=>v0e,getIsolatedModules:()=>vm,getJSDocAugmentsTag:()=>Vue,getJSDocClassTag:()=>m$,getJSDocCommentRanges:()=>rH,getJSDocCommentsAndTags:()=>_H,getJSDocDeprecatedTag:()=>h$,getJSDocDeprecatedTagNoCache:()=>Yue,getJSDocEnumTag:()=>g$,getJSDocHost:()=>MC,getJSDocImplementsTags:()=>Gue,getJSDocOverloadTags:()=>dH,getJSDocOverrideTagNoCache:()=>Xue,getJSDocParameterTags:()=>zk,getJSDocParameterTagsNoCache:()=>que,getJSDocPrivateTag:()=>z6e,getJSDocPrivateTagNoCache:()=>Hue,getJSDocProtectedTag:()=>W6e,getJSDocProtectedTagNoCache:()=>Kue,getJSDocPublicTag:()=>q6e,getJSDocPublicTagNoCache:()=>$ue,getJSDocReadonlyTag:()=>U6e,getJSDocReadonlyTagNoCache:()=>Que,getJSDocReturnTag:()=>Zue,getJSDocReturnType:()=>M7,getJSDocRoot:()=>o6,getJSDocSatisfiesExpressionType:()=>TK,getJSDocSatisfiesTag:()=>y$,getJSDocTags:()=>O2,getJSDocTemplateTag:()=>V6e,getJSDocThisTag:()=>DM,getJSDocType:()=>Jy,getJSDocTypeAliasName:()=>vQ,getJSDocTypeAssertionType:()=>M6,getJSDocTypeParameterDeclarations:()=>IB,getJSDocTypeParameterTags:()=>zue,getJSDocTypeParameterTagsNoCache:()=>Wue,getJSDocTypeTag:()=>N2,getJSXImplicitImportBase:()=>XN,getJSXRuntimeImport:()=>KB,getJSXTransformEnabled:()=>HB,getKeyForCompilerOptions:()=>KQ,getLanguageVariant:()=>VN,getLastChild:()=>ZH,getLeadingCommentRanges:()=>J0,getLeadingCommentRangesOfNode:()=>tH,getLeftmostAccessExpression:()=>h6,getLeftmostExpression:()=>g6,getLibFileNameFromLibReference:()=>PK,getLibNameFromLibReference:()=>wK,getLibraryNameFromLibFileName:()=>eY,getLineAndCharacterOfPosition:()=>la,getLineInfo:()=>vX,getLineOfLocalPosition:()=>J8,getLineStartPositionForPosition:()=>Em,getLineStarts:()=>B0,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Kfe,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Hfe,getLinesBetweenPositions:()=>r8,getLinesBetweenRangeEndAndRangeStart:()=>HH,getLinesBetweenRangeEndPositions:()=>b3e,getLiteralText:()=>Ple,getLocalNameForExternalImport:()=>B6,getLocalSymbolForExportDefault:()=>U8,getLocaleSpecificMessage:()=>Gs,getLocaleTimeString:()=>_9,getMappedContextSpan:()=>OZ,getMappedDocumentSpan:()=>Oq,getMappedLocation:()=>ow,getMatchedFileSpec:()=>CY,getMatchedIncludeSpec:()=>SY,getMeaningFromDeclaration:()=>pq,getMeaningFromLocation:()=>ax,getMembersOfDeclaration:()=>Hle,getModeForFileReference:()=>fhe,getModeForResolutionAtIndex:()=>awe,getModeForUsageLocation:()=>YX,getModifiedTime:()=>BT,getModifiers:()=>TC,getModuleInstanceState:()=>X1,getModuleNameStringLiteralAt:()=>u9,getModuleSpecifierEndingPreference:()=>v_e,getModuleSpecifierResolverHost:()=>xZ,getNameForExportedSymbol:()=>Uq,getNameFromImportAttribute:()=>fj,getNameFromIndexInfo:()=>Jle,getNameFromPropertyName:()=>A9,getNameOfAccessExpression:()=>tK,getNameOfCompilerOptionValue:()=>tJ,getNameOfDeclaration:()=>Ls,getNameOfExpando:()=>cH,getNameOfJSDocTypedef:()=>Jue,getNameOfScriptTarget:()=>GB,getNameOrArgument:()=>vN,getNameTable:()=>jee,getNamespaceDeclarationNode:()=>s6,getNewLineCharacter:()=>$y,getNewLineKind:()=>M9,getNewLineOrDefaultFromHost:()=>Z1,getNewTargetContainer:()=>nfe,getNextJSDocCommentLocation:()=>pH,getNodeChildren:()=>lQ,getNodeForGeneratedName:()=>k5,getNodeId:()=>ho,getNodeKind:()=>fS,getNodeModifiers:()=>iw,getNodeModulePathParts:()=>cj,getNonAssignedNameOfDeclaration:()=>yM,getNonAssignmentOperatorForCompoundAssignment:()=>JI,getNonAugmentationDeclaration:()=>H$,getNonDecoratorTokenPosOfNode:()=>z$,getNonIncrementalBuildInfoRoots:()=>Ihe,getNonModifierTokenPosOfNode:()=>Ile,getNormalizedAbsolutePath:()=>vs,getNormalizedAbsolutePathWithoutRoot:()=>r$,getNormalizedPathComponents:()=>lM,getObjectFlags:()=>ei,getOperatorAssociativity:()=>TH,getOperatorPrecedence:()=>PN,getOptionFromName:()=>LQ,getOptionsForLibraryResolution:()=>QQ,getOptionsNameMap:()=>z6,getOptionsSyntaxByArrayElementValue:()=>OK,getOptionsSyntaxByValue:()=>q_e,getOrCreateEmitNode:()=>yf,getOrUpdate:()=>fu,getOriginalNode:()=>Bc,getOriginalNodeId:()=>p_,getOutputDeclarationFileName:()=>GI,getOutputDeclarationFileNameWorker:()=>LX,getOutputExtension:()=>r9,getOutputFileNames:()=>YIe,getOutputJSFileNameWorker:()=>RX,getOutputPathsFor:()=>VI,getOwnEmitOutputFilePath:()=>Tfe,getOwnKeys:()=>rg,getOwnValues:()=>OT,getPackageJsonTypesVersionsPaths:()=>uJ,getPackageNameFromTypesPackageName:()=>RI,getPackageScopeForPath:()=>LI,getParameterSymbolFromJSDoc:()=>TN,getParentNodeInSpan:()=>k9,getParseTreeNode:()=>Vs,getParsedCommandLineOfConfigFile:()=>L5,getPathComponents:()=>mf,getPathFromPathComponents:()=>w2,getPathUpdater:()=>aee,getPathsBasePath:()=>TB,getPatternFromSpec:()=>fK,getPendingEmitKindWithSeen:()=>VJ,getPositionOfLineAndCharacter:()=>T7,getPossibleGenericSignatures:()=>dZ,getPossibleOriginalInputExtensionForExtension:()=>NH,getPossibleOriginalInputPathWithoutChangingExt:()=>OH,getPossibleTypeArgumentsInfo:()=>mZ,getPreEmitDiagnostics:()=>ZIe,getPrecedingNonSpaceCharacterPosition:()=>Lq,getPrivateIdentifier:()=>TX,getProperties:()=>EX,getProperty:()=>g7,getPropertyAssignmentAliasLikeExpression:()=>vfe,getPropertyNameForPropertyNameNode:()=>PE,getPropertyNameFromType:()=>Jd,getPropertyNameOfBindingOrAssignmentElement:()=>yQ,getPropertySymbolFromBindingElement:()=>Nq,getPropertySymbolsFromContextualType:()=>mz,getQuoteFromPreference:()=>AZ,getQuotePreference:()=>bp,getRangesWhere:()=>Qg,getRefactorContextSpan:()=>YA,getReferencedFileLocation:()=>QI,getRegexFromPattern:()=>Hy,getRegularExpressionForWildcard:()=>X8,getRegularExpressionsForWildcards:()=>QB,getRelativePathFromDirectory:()=>rd,getRelativePathFromFile:()=>Bk,getRelativePathToDirectoryOrUrl:()=>qT,getRenameLocation:()=>w9,getReplacementSpanForContextToken:()=>vZ,getResolutionDiagnostic:()=>iY,getResolutionModeOverride:()=>X6,getResolveJsonModule:()=>VC,getResolvePackageJsonExports:()=>$N,getResolvePackageJsonImports:()=>HN,getResolvedExternalModuleName:()=>wH,getResolvedModuleFromResolution:()=>QT,getResolvedTypeReferenceDirectiveFromResolution:()=>JM,getRestIndicatorOfBindingOrAssignmentElement:()=>qj,getRestParameterElementType:()=>nH,getRightMostAssignedExpression:()=>yN,getRootDeclaration:()=>fg,getRootDirectoryOfResolutionCache:()=>Rhe,getRootLength:()=>gh,getScriptKind:()=>BZ,getScriptKindFromFileName:()=>ej,getScriptTargetFeatures:()=>W$,getSelectedEffectiveModifierFlags:()=>cA,getSelectedSyntacticModifierFlags:()=>Ofe,getSemanticClassifications:()=>D0e,getSemanticJsxChildren:()=>l6,getSetAccessorTypeAnnotationNode:()=>kfe,getSetAccessorValueParameter:()=>q8,getSetExternalModuleIndicator:()=>GN,getShebang:()=>hM,getSingleVariableOfVariableStatement:()=>sA,getSnapshotText:()=>XA,getSnippetElement:()=>zK,getSourceFileOfModule:()=>X7,getSourceFileOfNode:()=>zr,getSourceFilePathInNewDir:()=>FB,getSourceFileVersionAsHashFromText:()=>YJ,getSourceFilesToEmit:()=>AB,getSourceMapRange:()=>Xy,getSourceMapper:()=>R0e,getSourceTextOfNodeFromSourceFile:()=>wC,getSpanOfTokenAtPosition:()=>og,getSpellingSuggestion:()=>xC,getStartPositionOfLine:()=>dD,getStartPositionOfRange:()=>V8,getStartsOnNewLine:()=>fI,getStaticPropertiesAndClassStaticBlock:()=>xJ,getStrictOptionValue:()=>gf,getStringComparer:()=>Nk,getSubPatternFromSpec:()=>XB,getSuperCallFromStatement:()=>SJ,getSuperContainer:()=>uN,getSupportedCodeFixes:()=>Mee,getSupportedExtensions:()=>Y8,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>ZN,getSwitchedType:()=>qZ,getSymbolId:()=>Sa,getSymbolNameForPrivateIdentifier:()=>wN,getSymbolTarget:()=>jZ,getSyntacticClassifications:()=>b0e,getSyntacticModifierFlags:()=>Vy,getSyntacticModifierFlagsNoCache:()=>JH,getSynthesizedDeepClone:()=>Fo,getSynthesizedDeepCloneWithReplacements:()=>c5,getSynthesizedDeepClones:()=>KC,getSynthesizedDeepClonesWithReplacements:()=>RK,getSyntheticLeadingComments:()=>S6,getSyntheticTrailingComments:()=>p5,getTargetLabel:()=>hq,getTargetOfBindingOrAssignmentElement:()=>PD,getTemporaryModuleResolutionState:()=>OI,getTextOfConstantValue:()=>Nle,getTextOfIdentifierOrLiteral:()=>Ld,getTextOfJSDocComment:()=>B7,getTextOfJsxAttributeName:()=>a5,getTextOfJsxNamespacedName:()=>uI,getTextOfNode:()=>Uc,getTextOfNodeFromSourceText:()=>v8,getTextOfPropertyName:()=>ZT,getThisContainer:()=>Kf,getThisParameter:()=>qC,getTokenAtPosition:()=>Wi,getTokenPosOfNode:()=>mD,getTokenSourceMapRange:()=>U3e,getTouchingPropertyName:()=>N_,getTouchingToken:()=>a3,getTrailingCommentRanges:()=>sD,getTrailingSemicolonDeferringWriter:()=>IH,getTransformers:()=>Kme,getTsBuildInfoEmitOutputFilePath:()=>ub,getTsConfigObjectLiteralExpression:()=>S8,getTsConfigPropArrayElementValue:()=>tB,getTypeAnnotationNode:()=>Ife,getTypeArgumentOrTypeParameterList:()=>Wge,getTypeKeywordOfTypeOnlyImport:()=>IZ,getTypeNode:()=>rpe,getTypeNodeIfAccessible:()=>_w,getTypeParameterFromJsDoc:()=>pfe,getTypeParameterOwner:()=>M6e,getTypesPackageName:()=>hJ,getUILocale:()=>Voe,getUniqueName:()=>ux,getUniqueSymbolId:()=>s0e,getUseDefineForClassFields:()=>KN,getWatchErrorSummaryDiagnosticMessage:()=>gY,getWatchFactory:()=>UX,group:()=>Pk,groupBy:()=>gG,guessIndentation:()=>vle,handleNoEmitOptions:()=>nY,handleWatchOptionsConfigDirTemplateSubstitution:()=>nJ,hasAbstractModifier:()=>UC,hasAccessorModifier:()=>_g,hasAmbientModifier:()=>jH,hasChangesInResolutions:()=>j$,hasContextSensitiveParameters:()=>oj,hasDecorators:()=>sd,hasDocComment:()=>qge,hasDynamicName:()=>z1,hasEffectiveModifier:()=>mp,hasEffectiveModifiers:()=>BH,hasEffectiveReadonlyModifier:()=>OE,hasExtension:()=>Mk,hasImplementationTSFileExtension:()=>g_e,hasIndexSignature:()=>JZ,hasInferredType:()=>pj,hasInitializer:()=>zy,hasInvalidEscape:()=>FH,hasJSDocNodes:()=>Wp,hasJSDocParameterTags:()=>Uue,hasJSFileExtension:()=>Z0,hasJsonModuleEmitEnabled:()=>VB,hasOnlyExpressionInitializer:()=>CE,hasOverrideModifier:()=>wB,hasPossibleExternalModuleReference:()=>Ble,hasProperty:()=>Uo,hasPropertyAccessExpressionWithName:()=>v9,hasQuestionToken:()=>nA,hasRecordedExternalHelpers:()=>zpe,hasResolutionModeOverride:()=>O_e,hasRestParameter:()=>O$,hasScopeMarker:()=>lle,hasStaticModifier:()=>sl,hasSyntacticModifier:()=>yi,hasSyntacticModifiers:()=>Nfe,hasTSFileExtension:()=>RE,hasTabstop:()=>w_e,hasTrailingDirectorySeparator:()=>nD,hasType:()=>LM,hasTypeArguments:()=>f3e,hasZeroOrOneAsteriskCharacter:()=>oK,hostGetCanonicalFileName:()=>W1,hostUsesCaseSensitiveFileNames:()=>NE,idText:()=>Zn,identifierIsThisKeyword:()=>RH,identifierToKeywordKind:()=>hE,identity:()=>sc,identitySourceMapConsumer:()=>bX,ignoreSourceNewlines:()=>UK,ignoredPaths:()=>oM,importFromModuleSpecifier:()=>I8,importSyntaxAffectsModuleResolution:()=>sK,indexOfAnyCharCode:()=>Os,indexOfNode:()=>Qk,indicesOf:()=>qs,inferredTypesContainingFile:()=>KI,injectClassNamedEvaluationHelperBlockIfMissing:()=>kJ,injectClassThisAssignmentIfMissing:()=>Cme,insertImports:()=>kZ,insertSorted:()=>Yl,insertStatementAfterCustomPrologue:()=>SE,insertStatementAfterStandardPrologue:()=>i3e,insertStatementsAfterCustomPrologue:()=>J$,insertStatementsAfterStandardPrologue:()=>G0,intersperse:()=>us,intrinsicTagNameToString:()=>AK,introducesArgumentsExoticObject:()=>Xle,inverseJsxOptionMap:()=>N5,isAbstractConstructorSymbol:()=>Qfe,isAbstractModifier:()=>dpe,isAccessExpression:()=>_c,isAccessibilityModifier:()=>gZ,isAccessor:()=>fD,isAccessorModifier:()=>QK,isAliasableExpression:()=>hB,isAmbientModule:()=>Hf,isAmbientPropertyDeclaration:()=>Q$,isAnyDirectorySeparator:()=>ZG,isAnyImportOrBareOrAccessedRequire:()=>Rle,isAnyImportOrReExport:()=>tN,isAnyImportOrRequireStatement:()=>Mle,isAnyImportSyntax:()=>YT,isAnySupportedFileExtension:()=>L3e,isApplicableVersionedTypesKey:()=>W5,isArgumentExpressionOfElementAccess:()=>aZ,isArray:()=>ks,isArrayBindingElement:()=>kM,isArrayBindingOrAssignmentElement:()=>U7,isArrayBindingOrAssignmentPattern:()=>F$,isArrayBindingPattern:()=>tv,isArrayLiteralExpression:()=>sf,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>iv,isArrayTypeNode:()=>g5,isArrowFunction:()=>pc,isAsExpression:()=>F6,isAssertClause:()=>Cpe,isAssertEntry:()=>t4e,isAssertionExpression:()=>IC,isAssertsKeyword:()=>_pe,isAssignmentDeclaration:()=>A8,isAssignmentExpression:()=>kl,isAssignmentOperator:()=>U1,isAssignmentPattern:()=>m8,isAssignmentTarget:()=>vD,isAsteriskToken:()=>m5,isAsyncFunction:()=>L8,isAsyncModifier:()=>dI,isAutoAccessorPropertyDeclaration:()=>x_,isAwaitExpression:()=>ID,isAwaitKeyword:()=>KK,isBigIntLiteral:()=>E6,isBinaryExpression:()=>Pn,isBinaryLogicalOperator:()=>MN,isBinaryOperatorToken:()=>Qpe,isBindableObjectDefinePropertyCall:()=>FE,isBindableStaticAccessExpression:()=>RC,isBindableStaticElementAccessExpression:()=>pB,isBindableStaticNameExpression:()=>kE,isBindingElement:()=>Ka,isBindingElementOfBareOrAccessedRequire:()=>afe,isBindingName:()=>DE,isBindingOrAssignmentElement:()=>ale,isBindingOrAssignmentPattern:()=>z7,isBindingPattern:()=>ea,isBlock:()=>ra,isBlockLike:()=>ZA,isBlockOrCatchScoped:()=>U$,isBlockScope:()=>X$,isBlockScopedContainerTopLevel:()=>Lle,isBooleanLiteral:()=>d8,isBreakOrContinueStatement:()=>l8,isBreakStatement:()=>Y3e,isBuildCommand:()=>ige,isBuildInfoFile:()=>Qme,isBuilderProgram:()=>vY,isBundle:()=>Tpe,isCallChain:()=>gE,isCallExpression:()=>ta,isCallExpressionTarget:()=>eZ,isCallLikeExpression:()=>kC,isCallLikeOrFunctionLikeExpression:()=>k$,isCallOrNewExpression:()=>sg,isCallOrNewExpressionTarget:()=>tZ,isCallSignatureDeclaration:()=>FA,isCallToHelper:()=>pI,isCaseBlock:()=>bI,isCaseClause:()=>P6,isCaseKeyword:()=>hpe,isCaseOrDefaultClause:()=>NM,isCatchClause:()=>rS,isCatchClauseVariableDeclaration:()=>I_e,isCatchClauseVariableDeclarationOrBindingElement:()=>V$,isCheckJsEnabledForFile:()=>tI,isCircularBuildOrder:()=>KA,isClassDeclaration:()=>Xu,isClassElement:()=>zu,isClassExpression:()=>Nu,isClassInstanceProperty:()=>ile,isClassLike:()=>vi,isClassMemberModifier:()=>x$,isClassNamedEvaluationHelperBlock:()=>GA,isClassOrTypeElement:()=>FM,isClassStaticBlockDeclaration:()=>Du,isClassThisAssignmentBlock:()=>zI,isColonToken:()=>lpe,isCommaExpression:()=>E5,isCommaListExpression:()=>vI,isCommaSequence:()=>TI,isCommaToken:()=>upe,isComment:()=>Tq,isCommonJsExportPropertyAssignment:()=>ZM,isCommonJsExportedExpression:()=>Kle,isCompoundAssignment:()=>jI,isComputedNonLiteralName:()=>rN,isComputedPropertyName:()=>Da,isConciseBody:()=>wM,isConditionalExpression:()=>UE,isConditionalTypeNode:()=>XC,isConstAssertion:()=>FK,isConstTypeReference:()=>Wm,isConstructSignatureDeclaration:()=>gI,isConstructorDeclaration:()=>Qc,isConstructorTypeNode:()=>x6,isContextualKeyword:()=>yB,isContinueStatement:()=>X3e,isCustomPrologue:()=>oN,isDebuggerStatement:()=>Z3e,isDeclaration:()=>Al,isDeclarationBindingElement:()=>q7,isDeclarationFileName:()=>wl,isDeclarationName:()=>s0,isDeclarationNameOfEnumOrNamespace:()=>QH,isDeclarationReadonly:()=>iN,isDeclarationStatement:()=>dle,isDeclarationWithTypeParameterChildren:()=>Z$,isDeclarationWithTypeParameters:()=>Y$,isDecorator:()=>ol,isDecoratorTarget:()=>Ige,isDefaultClause:()=>CI,isDefaultImport:()=>IE,isDefaultModifier:()=>xj,isDefaultedExpandoInitializer:()=>ofe,isDeleteExpression:()=>ype,isDeleteTarget:()=>hH,isDeprecatedDeclaration:()=>Vq,isDestructuringAssignment:()=>Gy,isDiskPathRoot:()=>e$,isDoStatement:()=>Q3e,isDocumentRegistryEntry:()=>j9,isDotDotDotToken:()=>Sj,isDottedName:()=>jN,isDynamicName:()=>DB,isEffectiveExternalModule:()=>Xk,isEffectiveStrictModeSourceFile:()=>K$,isElementAccessChain:()=>v$,isElementAccessExpression:()=>ec,isEmittedFileOfProgram:()=>nhe,isEmptyArrayLiteral:()=>qfe,isEmptyBindingElement:()=>Mue,isEmptyBindingPattern:()=>Rue,isEmptyObjectLiteral:()=>VH,isEmptyStatement:()=>ZK,isEmptyStringLiteral:()=>aH,isEntityName:()=>a_,isEntityNameExpression:()=>Vo,isEnumConst:()=>R2,isEnumDeclaration:()=>Z2,isEnumMember:()=>K1,isEqualityOperatorKind:()=>Bq,isEqualsGreaterThanToken:()=>fpe,isExclamationToken:()=>h5,isExcludedFile:()=>xde,isExclusivelyTypeOnlyImportOrExport:()=>XX,isExpandoPropertyDeclaration:()=>bA,isExportAssignment:()=>Ac,isExportDeclaration:()=>Lu,isExportModifier:()=>TA,isExportName:()=>jj,isExportNamespaceAsDefaultDeclaration:()=>VM,isExportOrDefaultModifier:()=>F5,isExportSpecifier:()=>Nf,isExportsIdentifier:()=>AE,isExportsOrModuleExportsOrAlias:()=>sS,isExpression:()=>xt,isExpressionNode:()=>i0,isExpressionOfExternalModuleImportEqualsDeclaration:()=>Nge,isExpressionOfOptionalChainRoot:()=>EM,isExpressionStatement:()=>Il,isExpressionWithTypeArguments:()=>$1,isExpressionWithTypeArgumentsInClassExtendsClause:()=>NB,isExternalModule:()=>ul,isExternalModuleAugmentation:()=>NC,isExternalModuleImportEqualsDeclaration:()=>B2,isExternalModuleIndicator:()=>G7,isExternalModuleNameRelative:()=>xl,isExternalModuleReference:()=>H1,isExternalModuleSymbol:()=>HT,isExternalOrCommonJsModule:()=>_p,isFileLevelReservedGeneratedIdentifier:()=>J7,isFileLevelUniqueName:()=>WM,isFileProbablyExternalModule:()=>w5,isFirstDeclarationOfSymbolParameter:()=>LZ,isFixablePromiseHandler:()=>_ee,isForInOrOfStatement:()=>bE,isForInStatement:()=>Ij,isForInitializer:()=>Pd,isForOfStatement:()=>v5,isForStatement:()=>Y2,isFullSourceFile:()=>H0,isFunctionBlock:()=>OC,isFunctionBody:()=>w$,isFunctionDeclaration:()=>bu,isFunctionExpression:()=>oc,isFunctionExpressionOrArrowFunction:()=>xD,isFunctionLike:()=>Xs,isFunctionLikeDeclaration:()=>$o,isFunctionLikeKind:()=>UT,isFunctionLikeOrClassStaticBlockDeclaration:()=>Gk,isFunctionOrConstructorTypeNode:()=>sle,isFunctionOrModuleBlock:()=>T$,isFunctionSymbol:()=>lfe,isFunctionTypeNode:()=>o0,isGeneratedIdentifier:()=>Pc,isGeneratedPrivateIdentifier:()=>vE,isGetAccessor:()=>W0,isGetAccessorDeclaration:()=>qd,isGetOrSetAccessorDeclaration:()=>j7,isGlobalScopeAugmentation:()=>n0,isGlobalSourceFile:()=>Wy,isGrammarError:()=>Fle,isHeritageClause:()=>yp,isHoistedFunction:()=>XM,isHoistedVariableStatement:()=>YM,isIdentifier:()=>Ke,isIdentifierANonContextualKeyword:()=>bH,isIdentifierName:()=>yfe,isIdentifierOrThisTypeNode:()=>Gpe,isIdentifierPart:()=>M1,isIdentifierStart:()=>Zg,isIdentifierText:()=>W_,isIdentifierTypePredicate:()=>Yle,isIdentifierTypeReference:()=>x_e,isIfStatement:()=>X2,isIgnoredFileFromWildCardWatching:()=>i9,isImplicitGlob:()=>lK,isImportAttribute:()=>Spe,isImportAttributeName:()=>nle,isImportAttributes:()=>$E,isImportCall:()=>A_,isImportClause:()=>Km,isImportDeclaration:()=>jc,isImportEqualsDeclaration:()=>cl,isImportKeyword:()=>hI,isImportMeta:()=>e6,isImportOrExportSpecifier:()=>uD,isImportOrExportSpecifierName:()=>i0e,isImportSpecifier:()=>Zf,isImportTypeAssertionContainer:()=>e4e,isImportTypeNode:()=>yg,isImportable:()=>eee,isInComment:()=>nv,isInCompoundLikeAssignment:()=>mH,isInExpressionContext:()=>oB,isInJSDoc:()=>T8,isInJSFile:()=>An,isInJSXText:()=>Jge,isInJsonFile:()=>uB,isInNonReferenceComment:()=>Gge,isInReferenceComment:()=>Vge,isInRightSideOfInternalImportEqualsDeclaration:()=>dq,isInString:()=>QA,isInTemplateString:()=>pZ,isInTopLevelContext:()=>iB,isInTypeQuery:()=>oA,isIncrementalBuildInfo:()=>l9,isIncrementalBundleEmitBuildInfo:()=>Ehe,isIncrementalCompilation:()=>GC,isIndexSignatureDeclaration:()=>kD,isIndexedAccessTypeNode:()=>YC,isInferTypeNode:()=>qE,isInfinityOrNaNString:()=>aI,isInitializedProperty:()=>H5,isInitializedVariable:()=>UN,isInsideJsxElement:()=>Eq,isInsideJsxElementOrAttribute:()=>jge,isInsideNodeModules:()=>O9,isInsideTemplateLiteral:()=>E9,isInstanceOfExpression:()=>OB,isInstantiatedModule:()=>dX,isInterfaceDeclaration:()=>Ul,isInternalDeclaration:()=>Dle,isInternalModuleImportEqualsDeclaration:()=>TE,isInternalName:()=>mQ,isIntersectionTypeNode:()=>wA,isIntrinsicJsxName:()=>f6,isIterationStatement:()=>_D,isJSDoc:()=>Ah,isJSDocAllType:()=>kpe,isJSDocAugmentsTag:()=>RA,isJSDocAuthorTag:()=>s4e,isJSDocCallbackTag:()=>nQ,isJSDocClassTag:()=>wpe,isJSDocCommentContainingNode:()=>OM,isJSDocConstructSignature:()=>iA,isJSDocDeprecatedTag:()=>cQ,isJSDocEnumTag:()=>b5,isJSDocFunctionType:()=>O6,isJSDocImplementsTag:()=>Rj,isJSDocImportTag:()=>Sg,isJSDocIndexSignature:()=>fB,isJSDocLikeText:()=>EQ,isJSDocLink:()=>Ape,isJSDocLinkCode:()=>Fpe,isJSDocLinkLike:()=>$T,isJSDocLinkPlain:()=>n4e,isJSDocMemberName:()=>rb,isJSDocNameReference:()=>SI,isJSDocNamepathType:()=>i4e,isJSDocNamespaceBody:()=>X6e,isJSDocNode:()=>$k,isJSDocNonNullableType:()=>Pj,isJSDocNullableType:()=>N6,isJSDocOptionalParameter:()=>uj,isJSDocOptionalType:()=>rQ,isJSDocOverloadTag:()=>L6,isJSDocOverrideTag:()=>Oj,isJSDocParameterTag:()=>od,isJSDocPrivateTag:()=>sQ,isJSDocPropertyLikeTag:()=>f8,isJSDocPropertyTag:()=>Ppe,isJSDocProtectedTag:()=>aQ,isJSDocPublicTag:()=>iQ,isJSDocReadonlyTag:()=>oQ,isJSDocReturnTag:()=>Lj,isJSDocSatisfiesExpression:()=>xK,isJSDocSatisfiesTag:()=>Mj,isJSDocSeeTag:()=>a4e,isJSDocSignature:()=>rv,isJSDocTag:()=>Hk,isJSDocTemplateTag:()=>bm,isJSDocThisTag:()=>uQ,isJSDocThrowsTag:()=>c4e,isJSDocTypeAlias:()=>hm,isJSDocTypeAssertion:()=>nS,isJSDocTypeExpression:()=>tb,isJSDocTypeLiteral:()=>KE,isJSDocTypeTag:()=>EI,isJSDocTypedefTag:()=>QE,isJSDocUnknownTag:()=>o4e,isJSDocUnknownType:()=>Ipe,isJSDocVariadicType:()=>Nj,isJSXTagName:()=>n6,isJsonEqual:()=>sj,isJsonSourceFile:()=>Od,isJsxAttribute:()=>Cg,isJsxAttributeLike:()=>PM,isJsxAttributeName:()=>N_e,isJsxAttributes:()=>tS,isJsxCallLike:()=>yle,isJsxChild:()=>K7,isJsxClosingElement:()=>eS,isJsxClosingFragment:()=>xpe,isJsxElement:()=>bg,isJsxExpression:()=>w6,isJsxFragment:()=>eb,isJsxNamespacedName:()=>Th,isJsxOpeningElement:()=>xh,isJsxOpeningFragment:()=>Qm,isJsxOpeningLikeElement:()=>wf,isJsxOpeningLikeElementTagName:()=>wge,isJsxSelfClosingElement:()=>HE,isJsxSpreadAttribute:()=>LA,isJsxTagNameExpression:()=>h8,isJsxText:()=>EA,isJumpStatementTarget:()=>D9,isKeyword:()=>k_,isKeywordOrPunctuation:()=>gB,isKnownSymbol:()=>M8,isLabelName:()=>iZ,isLabelOfLabeledStatement:()=>nZ,isLabeledStatement:()=>wD,isLateVisibilityPaintedStatement:()=>$M,isLeftHandSideExpression:()=>T_,isLet:()=>QM,isLineBreak:()=>Ff,isLiteralComputedPropertyDeclarationName:()=>FN,isLiteralExpression:()=>yE,isLiteralExpressionOfObject:()=>S$,isLiteralImportTypeNode:()=>J1,isLiteralKind:()=>_8,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>gq,isLiteralTypeLiteral:()=>ule,isLiteralTypeNode:()=>ev,isLocalName:()=>Q1,isLogicalOperator:()=>Bfe,isLogicalOrCoalescingAssignmentExpression:()=>qH,isLogicalOrCoalescingAssignmentOperator:()=>z8,isLogicalOrCoalescingBinaryExpression:()=>BN,isLogicalOrCoalescingBinaryOperator:()=>PB,isMappedTypeNode:()=>WE,isMemberName:()=>z0,isMetaProperty:()=>VE,isMethodDeclaration:()=>Kc,isMethodOrAccessor:()=>VT,isMethodSignature:()=>Hm,isMinusToken:()=>HK,isMissingDeclaration:()=>r4e,isMissingPackageJsonInfo:()=>Rde,isModifier:()=>Aa,isModifierKind:()=>lD,isModifierLike:()=>Nc,isModuleAugmentationExternal:()=>$$,isModuleBlock:()=>vg,isModuleBody:()=>fle,isModuleDeclaration:()=>Ou,isModuleExportName:()=>wj,isModuleExportsAccessExpression:()=>K0,isModuleIdentifier:()=>uH,isModuleName:()=>Kpe,isModuleOrEnumDeclaration:()=>$7,isModuleReference:()=>hle,isModuleSpecifierLike:()=>Pq,isModuleWithStringLiteralName:()=>GM,isNameOfFunctionDeclaration:()=>cZ,isNameOfModuleDeclaration:()=>oZ,isNamedDeclaration:()=>Tl,isNamedEvaluation:()=>pp,isNamedEvaluationSource:()=>CH,isNamedExportBindings:()=>b$,isNamedExports:()=>Wd,isNamedImportBindings:()=>P$,isNamedImports:()=>Dg,isNamedImportsOrExports:()=>JB,isNamedTupleMember:()=>T6,isNamespaceBody:()=>Q6e,isNamespaceExport:()=>c0,isNamespaceExportDeclaration:()=>D5,isNamespaceImport:()=>n1,isNamespaceReexportDeclaration:()=>sfe,isNewExpression:()=>ZC,isNewExpressionTarget:()=>tw,isNewScopeNode:()=>J_e,isNoSubstitutionTemplateLiteral:()=>JE,isNodeArray:()=>AC,isNodeArrayMultiLine:()=>$fe,isNodeDescendantOf:()=>BC,isNodeKind:()=>TM,isNodeLikeSystem:()=>kG,isNodeModulesDirectory:()=>_M,isNodeWithPossibleHoistedDeclaration:()=>hfe,isNonContextualKeyword:()=>DH,isNonGlobalAmbientModule:()=>G$,isNonNullAccess:()=>P_e,isNonNullChain:()=>xM,isNonNullExpression:()=>NA,isNonStaticMethodOrAccessorWithPrivateName:()=>mme,isNotEmittedStatement:()=>Epe,isNullishCoalesce:()=>D$,isNumber:()=>Yv,isNumericLiteral:()=>w_,isNumericLiteralName:()=>t1,isObjectBindingElementWithoutPropertyName:()=>F9,isObjectBindingOrAssignmentElement:()=>W7,isObjectBindingOrAssignmentPattern:()=>A$,isObjectBindingPattern:()=>ad,isObjectLiteralElement:()=>N$,isObjectLiteralElementLike:()=>j1,isObjectLiteralExpression:()=>qa,isObjectLiteralMethod:()=>mm,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>eB,isObjectTypeDeclaration:()=>_A,isOmittedExpression:()=>gl,isOptionalChain:()=>kf,isOptionalChainRoot:()=>c8,isOptionalDeclaration:()=>vA,isOptionalJSDocPropertyLikeTag:()=>s5,isOptionalTypeNode:()=>Tj,isOuterExpression:()=>Jj,isOutermostOptionalChain:()=>u8,isOverrideModifier:()=>mpe,isPackageJsonInfo:()=>fJ,isPackedArrayLiteral:()=>SK,isParameter:()=>is,isParameterPropertyDeclaration:()=>lp,isParameterPropertyModifier:()=>p8,isParenthesizedExpression:()=>f_,isParenthesizedTypeNode:()=>zE,isParseTreeNode:()=>o8,isPartOfParameterDeclaration:()=>W2,isPartOfTypeNode:()=>ug,isPartOfTypeOnlyImportOrExportDeclaration:()=>rle,isPartOfTypeQuery:()=>cB,isPartiallyEmittedExpression:()=>vpe,isPatternMatch:()=>YR,isPinnedComment:()=>UM,isPlainJsFile:()=>y8,isPlusToken:()=>$K,isPossiblyTypeArgumentPosition:()=>S9,isPostfixUnaryExpression:()=>YK,isPrefixUnaryExpression:()=>Q2,isPrimitiveLiteralValue:()=>_j,isPrivateIdentifier:()=>ns,isPrivateIdentifierClassElementDeclaration:()=>If,isPrivateIdentifierPropertyAccessExpression:()=>Vk,isPrivateIdentifierSymbol:()=>bfe,isProgramUptoDate:()=>tY,isPrologueDirective:()=>cg,isPropertyAccessChain:()=>SM,isPropertyAccessEntityNameExpression:()=>JN,isPropertyAccessExpression:()=>ti,isPropertyAccessOrQualifiedName:()=>V7,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>ole,isPropertyAssignment:()=>Yu,isPropertyDeclaration:()=>Is,isPropertyName:()=>qu,isPropertyNameLiteral:()=>lg,isPropertySignature:()=>Yf,isPrototypeAccess:()=>CD,isPrototypePropertyAssignment:()=>bN,isPunctuation:()=>vH,isPushOrUnshiftIdentifier:()=>SH,isQualifiedName:()=>u_,isQuestionDotToken:()=>Ej,isQuestionOrExclamationToken:()=>Vpe,isQuestionOrPlusOrMinusToken:()=>Hpe,isQuestionToken:()=>FD,isReadonlyKeyword:()=>ppe,isReadonlyKeywordOrPlusOrMinusToken:()=>$pe,isRecognizedTripleSlashComment:()=>q$,isReferenceFileLocation:()=>Y6,isReferencedFile:()=>lb,isRegularExpressionLiteral:()=>VK,isRequireCall:()=>F_,isRequireVariableStatement:()=>mN,isRestParameter:()=>t0,isRestTypeNode:()=>Aj,isReturnStatement:()=>Up,isReturnStatementWithFixablePromiseHandler:()=>Zq,isRightSideOfAccessExpression:()=>UH,isRightSideOfInstanceofExpression:()=>Jfe,isRightSideOfPropertyAccess:()=>n3,isRightSideOfQualifiedName:()=>Pge,isRightSideOfQualifiedNameOrPropertyAccess:()=>W8,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>jfe,isRootedDiskPath:()=>up,isSameEntityName:()=>i6,isSatisfiesExpression:()=>k6,isSemicolonClassElement:()=>Dpe,isSetAccessor:()=>ag,isSetAccessorDeclaration:()=>$_,isShiftOperatorOrHigher:()=>bQ,isShorthandAmbientModuleSymbol:()=>eN,isShorthandPropertyAssignment:()=>vf,isSideEffectImport:()=>IK,isSignedNumericLiteral:()=>vB,isSimpleCopiableExpression:()=>aS,isSimpleInlineableExpression:()=>Eg,isSimpleParameterList:()=>K5,isSingleOrDoubleQuote:()=>hN,isSolutionConfig:()=>UQ,isSourceElement:()=>L_e,isSourceFile:()=>es,isSourceFileFromLibrary:()=>p3,isSourceFileJS:()=>o_,isSourceFileNotJson:()=>lB,isSourceMapping:()=>_me,isSpecialPropertyDeclaration:()=>ufe,isSpreadAssignment:()=>i1,isSpreadElement:()=>zd,isStatement:()=>$i,isStatementButNotDeclaration:()=>H7,isStatementOrBlock:()=>mle,isStatementWithLocals:()=>Ale,isStatic:()=>_a,isStaticModifier:()=>AA,isString:()=>zs,isStringANonContextualKeyword:()=>aA,isStringAndEmptyAnonymousObjectIntersection:()=>Uge,isStringDoubleQuoted:()=>_B,isStringLiteral:()=>Ma,isStringLiteralLike:()=>vo,isStringLiteralOrJsxExpression:()=>gle,isStringLiteralOrTemplate:()=>c0e,isStringOrNumericLiteralLike:()=>id,isStringOrRegularExpressionOrTemplateLiteral:()=>hZ,isStringTextContainingNode:()=>E$,isSuperCall:()=>xE,isSuperKeyword:()=>mI,isSuperProperty:()=>U_,isSupportedSourceFileName:()=>mK,isSwitchStatement:()=>DI,isSyntaxList:()=>R6,isSyntheticExpression:()=>K3e,isSyntheticReference:()=>OA,isTagName:()=>sZ,isTaggedTemplateExpression:()=>K2,isTaggedTemplateTag:()=>kge,isTemplateExpression:()=>kj,isTemplateHead:()=>xA,isTemplateLiteral:()=>GT,isTemplateLiteralKind:()=>cD,isTemplateLiteralToken:()=>ele,isTemplateLiteralTypeNode:()=>gpe,isTemplateLiteralTypeSpan:()=>XK,isTemplateMiddle:()=>GK,isTemplateMiddleOrTemplateTail:()=>AM,isTemplateSpan:()=>I6,isTemplateTail:()=>Cj,isTextWhiteSpaceLike:()=>Qge,isThis:()=>i3,isThisContainerOrFunctionBlock:()=>rfe,isThisIdentifier:()=>bD,isThisInTypeQuery:()=>zC,isThisInitializedDeclaration:()=>sB,isThisInitializedObjectBindingExpression:()=>ife,isThisProperty:()=>lN,isThisTypeNode:()=>yI,isThisTypeParameter:()=>oI,isThisTypePredicate:()=>Zle,isThrowStatement:()=>tQ,isToken:()=>WT,isTokenKind:()=>C$,isTraceEnabled:()=>ND,isTransientSymbol:()=>U0,isTrivia:()=>u6,isTryStatement:()=>GE,isTupleTypeNode:()=>IA,isTypeAlias:()=>EN,isTypeAliasDeclaration:()=>Dm,isTypeAssertionExpression:()=>Fj,isTypeDeclaration:()=>yA,isTypeElement:()=>FC,isTypeKeyword:()=>sw,isTypeKeywordTokenOrIdentifier:()=>kq,isTypeLiteralNode:()=>l_,isTypeNode:()=>Li,isTypeNodeKind:()=>eK,isTypeOfExpression:()=>A6,isTypeOnlyExportDeclaration:()=>tle,isTypeOnlyImportDeclaration:()=>Uk,isTypeOnlyImportOrExportDeclaration:()=>qy,isTypeOperatorNode:()=>H2,isTypeParameterDeclaration:()=>Tc,isTypePredicateNode:()=>kA,isTypeQueryNode:()=>QC,isTypeReferenceNode:()=>gp,isTypeReferenceType:()=>RM,isTypeUsableAsPropertyName:()=>jd,isUMDExportSymbol:()=>jB,isUnaryExpression:()=>I$,isUnaryExpressionWithWrite:()=>cle,isUnicodeIdentifierStart:()=>dM,isUnionTypeNode:()=>Zy,isUrl:()=>mue,isValidBigIntString:()=>aj,isValidESSymbolDeclaration:()=>Qle,isValidTypeOnlyAliasUseSite:()=>V2,isValueSignatureDeclaration:()=>wE,isVarAwaitUsing:()=>sN,isVarConst:()=>Zk,isVarConstLike:()=>Gle,isVarUsing:()=>aN,isVariableDeclaration:()=>xi,isVariableDeclarationInVariableStatement:()=>C8,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>LC,isVariableDeclarationInitializedToRequire:()=>dN,isVariableDeclarationList:()=>Wl,isVariableLike:()=>b8,isVariableStatement:()=>Fu,isVoidExpression:()=>PA,isWatchSet:()=>XH,isWhileStatement:()=>eQ,isWhiteSpaceLike:()=>j0,isWhiteSpaceSingleLine:()=>ig,isWithStatement:()=>bpe,isWriteAccess:()=>fA,isWriteOnlyAccess:()=>BB,isYieldExpression:()=>y5,jsxModeNeedsExplicitImport:()=>XZ,keywordPart:()=>Cp,last:()=>Ua,lastOrUndefined:()=>gc,length:()=>Ye,libMap:()=>kQ,libs:()=>$j,lineBreakPart:()=>l3,loadModuleFromGlobalCache:()=>Hde,loadWithModeAwareCache:()=>a9,makeIdentifierFromModuleName:()=>Ole,makeImport:()=>JD,makeStringLiteral:()=>aw,mangleScopedPackageName:()=>$6,map:()=>hr,mapAllOrFail:()=>zm,mapDefined:()=>jn,mapDefinedIterator:()=>Wo,mapEntries:()=>Jp,mapIterator:()=>Sl,mapOneOrMany:()=>$Z,mapToDisplayParts:()=>qD,matchFiles:()=>_K,matchPatternOrExact:()=>gK,matchedText:()=>Qoe,matchesExclude:()=>aJ,matchesExcludeWorker:()=>oJ,maxBy:()=>bG,maybeBind:()=>sa,maybeSetLocalizedDiagnosticMessages:()=>r_e,memoize:()=>$f,memoizeOne:()=>ng,min:()=>CG,minAndMax:()=>C_e,missingFileModifiedTime:()=>cp,modifierToFlag:()=>uA,modifiersToFlags:()=>pg,moduleExportNameIsDefault:()=>r0,moduleExportNameTextEscaped:()=>PC,moduleExportNameTextUnescaped:()=>hD,moduleOptionDeclaration:()=>ode,moduleResolutionIsEqualTo:()=>xle,moduleResolutionNameAndModeGetter:()=>MJ,moduleResolutionOptionDeclarations:()=>wQ,moduleResolutionSupportsPackageJsonExportsAndImports:()=>y6,moduleResolutionUsesNodeModules:()=>Iq,moduleSpecifierToValidIdentifier:()=>R9,moduleSpecifiers:()=>Y1,moduleSupportsImportAttributes:()=>u_e,moduleSymbolToValidIdentifier:()=>L9,moveEmitHelpers:()=>epe,moveRangeEnd:()=>RB,moveRangePastDecorators:()=>V1,moveRangePastModifiers:()=>dg,moveRangePos:()=>U2,moveSyntheticComments:()=>X_e,mutateMap:()=>H8,mutateMapSkippingNewValues:()=>X0,needsParentheses:()=>Rq,needsScopeMarker:()=>IM,newCaseClauseTracker:()=>Hq,newPrivateEnvironment:()=>gme,noEmitNotification:()=>Z5,noEmitSubstitution:()=>UI,noTransformers:()=>Hme,noTruncationMaximumTruncationLength:()=>R$,nodeCanBeDecorated:()=>_N,nodeCoreModules:()=>C6,nodeHasName:()=>R7,nodeIsDecorated:()=>r6,nodeIsMissing:()=>ru,nodeIsPresent:()=>dm,nodeIsSynthesized:()=>Zo,nodeModuleNameResolver:()=>qde,nodeModulesPathPart:()=>s1,nodeNextJsonConfigResolver:()=>zde,nodeOrChildIsDecorated:()=>pN,nodeOverlapsWithStartEnd:()=>yq,nodePosToString:()=>e3e,nodeSeenTracker:()=>o3,nodeStartsNewLexicalEnvironment:()=>EH,noop:()=>ko,noopFileWatcher:()=>t3,normalizePath:()=>va,normalizeSlashes:()=>ql,normalizeSpans:()=>f$,not:()=>eM,notImplemented:()=>ga,notImplementedResolver:()=>Zme,nullNodeConverters:()=>H_e,nullParenthesizerRules:()=>G_e,nullTransformationContext:()=>t9,objectAllocator:()=>rf,operatorPart:()=>cw,optionDeclarations:()=>Xm,optionMapToObject:()=>eJ,optionsAffectingProgramStructure:()=>fde,optionsForBuild:()=>NQ,optionsForWatch:()=>qA,optionsHaveChanges:()=>KT,or:()=>op,orderedRemoveItem:()=>W4,orderedRemoveItemAt:()=>rD,packageIdToPackageName:()=>zM,packageIdToString:()=>L2,parameterIsThisKeyword:()=>DD,parameterNamePart:()=>Yge,parseBaseNodeFactory:()=>tde,parseBigInt:()=>E_e,parseBuildCommand:()=>vde,parseCommandLine:()=>gde,parseCommandLineWorker:()=>OQ,parseConfigFileTextToJson:()=>RQ,parseConfigFileWithSystem:()=>Bhe,parseConfigHostFromCompilerHostLike:()=>WJ,parseCustomTypeOption:()=>Xj,parseIsolatedEntityName:()=>JA,parseIsolatedJSDocComment:()=>nde,parseJSDocTypeExpressionForTests:()=>P4e,parseJsonConfigFileContent:()=>c8e,parseJsonSourceFileConfigFileContent:()=>B5,parseJsonText:()=>P5,parseListTypeOption:()=>mde,parseNodeFactory:()=>ib,parseNodeModuleFromPath:()=>z5,parsePackageName:()=>dJ,parsePseudoBigInt:()=>nI,parseValidBigInt:()=>bK,pasteEdits:()=>Qte,patchWriteFileEnsuringDirectory:()=>due,pathContainsNodeModules:()=>LD,pathIsAbsolute:()=>Y4,pathIsBareSpecifier:()=>t$,pathIsRelative:()=>zp,patternText:()=>Koe,performIncrementalCompilation:()=>jhe,performance:()=>ice,positionBelongsToNode:()=>uZ,positionIsASICandidate:()=>jq,positionIsSynthesized:()=>Sh,positionsAreOnSameLine:()=>Md,preProcessFile:()=>g7e,probablyUsesSemicolons:()=>N9,processCommentPragmas:()=>AQ,processPragmasIntoFields:()=>FQ,processTaggedTemplateExpression:()=>kX,programContainsEsModules:()=>Hge,programContainsModules:()=>$ge,projectReferenceIsEqualTo:()=>M$,propertyNamePart:()=>Zge,pseudoBigIntToString:()=>$C,punctuationPart:()=>Rf,pushIfUnique:()=>kd,quote:()=>fw,quotePreferenceFromString:()=>TZ,rangeContainsPosition:()=>s3,rangeContainsPositionExclusive:()=>b9,rangeContainsRange:()=>I_,rangeContainsRangeExclusive:()=>Oge,rangeContainsStartEnd:()=>C9,rangeEndIsOnSameLineAsRangeStart:()=>WN,rangeEndPositionsAreOnSameLine:()=>Vfe,rangeEquals:()=>pG,rangeIsOnSingleLine:()=>LE,rangeOfNode:()=>vK,rangeOfTypeParameters:()=>DK,rangeOverlapsWithStartEnd:()=>rw,rangeStartIsOnSameLineAsRangeEnd:()=>Gfe,rangeStartPositionsAreOnSameLine:()=>MB,readBuilderProgram:()=>eq,readConfigFile:()=>R5,readJson:()=>d6,readJsonConfigFile:()=>Dde,readJsonOrUndefined:()=>GH,reduceEachLeadingCommentRange:()=>Sue,reduceEachTrailingCommentRange:()=>Eue,reduceLeft:()=>Gf,reduceLeftIterator:()=>On,reducePathComponents:()=>JT,refactor:()=>tF,regExpEscape:()=>k3e,regularExpressionFlagToCharacterCode:()=>F6e,relativeComplement:()=>Moe,removeAllComments:()=>f5,removeEmitHelper:()=>V3e,removeExtension:()=>t5,removeFileExtension:()=>Xf,removeIgnoredPath:()=>$J,removeMinAndVersionNumbers:()=>xG,removePrefix:()=>U4,removeSuffix:()=>Ok,removeTrailingDirectorySeparator:()=>jy,repeatString:()=>T9,replaceElement:()=>hG,replaceFirstStar:()=>ME,resolutionExtensionIsTSOrJson:()=>Z8,resolveConfigFileProjectName:()=>NY,resolveJSModule:()=>Bde,resolveLibrary:()=>pJ,resolveModuleName:()=>ex,resolveModuleNameFromCache:()=>B8e,resolvePackageNameToPackageJson:()=>HQ,resolvePath:()=>iD,resolveProjectReferencePath:()=>$A,resolveTripleslashReference:()=>GX,resolveTypeReferenceDirective:()=>Ode,resolvingEmptyArray:()=>L$,returnFalse:()=>L1,returnNoopFileWatcher:()=>YI,returnTrue:()=>CC,returnUndefined:()=>SC,returnsPromise:()=>fee,rewriteModuleSpecifier:()=>UA,sameFlatMap:()=>zo,sameMap:()=>lc,sameMapping:()=>FIe,scanTokenAtPosition:()=>Vle,scanner:()=>Vl,semanticDiagnosticsOptionDeclarations:()=>cde,serializeCompilerOptions:()=>qQ,server:()=>vqe,servicesVersion:()=>a5e,setCommentRange:()=>Qu,setConfigFileInOptions:()=>zQ,setConstantValue:()=>Z_e,setEmitFlags:()=>wn,setGetSourceFileAsHashVersioned:()=>ZJ,setIdentifierAutoGenerate:()=>d5,setIdentifierGeneratedImportReference:()=>npe,setIdentifierTypeArguments:()=>Yy,setInternalEmitFlags:()=>_5,setLocalizedDiagnosticMessages:()=>t_e,setNodeChildren:()=>Npe,setNodeFlags:()=>A_e,setObjectAllocator:()=>e_e,setOriginalNode:()=>Xn,setParent:()=>Co,setParentRecursive:()=>G2,setPrivateIdentifier:()=>rx,setSnippetElement:()=>WK,setSourceMapRange:()=>Ha,setStackTraceLimit:()=>f6e,setStartsOnNewLine:()=>yj,setSyntheticLeadingComments:()=>$2,setSyntheticTrailingComments:()=>CA,setSys:()=>g6e,setSysLog:()=>fue,setTextRange:()=>St,setTextRangeEnd:()=>b6,setTextRangePos:()=>iI,setTextRangePosEnd:()=>Eh,setTextRangePosWidth:()=>CK,setTokenSourceMapRange:()=>Q_e,setTypeNode:()=>tpe,setUILocale:()=>Goe,setValueDeclaration:()=>k8,shouldAllowImportingTsExtension:()=>H6,shouldPreserveConstEnums:()=>SD,shouldRewriteModuleSpecifier:()=>SN,shouldUseUriStyleNodeCoreModules:()=>Gq,showModuleSpecifier:()=>Xfe,signatureHasRestParameter:()=>Lf,signatureToDisplayParts:()=>MZ,single:()=>mG,singleElementArray:()=>MT,singleIterator:()=>wu,singleOrMany:()=>Xg,singleOrUndefined:()=>M0,skipAlias:()=>tf,skipConstraint:()=>SZ,skipOuterExpressions:()=>_u,skipParentheses:()=>Do,skipPartiallyEmittedExpressions:()=>Um,skipTrivia:()=>Ra,skipTypeChecking:()=>D6,skipTypeCheckingIgnoringNoCheck:()=>S_e,skipTypeParentheses:()=>w8,skipWhile:()=>Yoe,sliceAfter:()=>yK,some:()=>ht,sortAndDeduplicate:()=>td,sortAndDeduplicateDiagnostics:()=>qk,sourceFileAffectingCompilerOptions:()=>PQ,sourceFileMayBeEmitted:()=>JC,sourceMapCommentRegExp:()=>gX,sourceMapCommentRegExpDontCareLineStart:()=>ume,spacePart:()=>su,spanMap:()=>_l,startEndContainsRange:()=>KH,startEndOverlapsWithStartEnd:()=>vq,startOnNewLine:()=>Of,startTracing:()=>cce,startsWith:()=>_s,startsWithDirectory:()=>i$,startsWithUnderscore:()=>QZ,startsWithUseStrict:()=>Jpe,stringContainsAt:()=>m0e,stringToToken:()=>dE,stripQuotes:()=>gm,supportedDeclarationExtensions:()=>rj,supportedJSExtensionsFlat:()=>v6,supportedLocaleDirectories:()=>jue,supportedTSExtensionsFlat:()=>pK,supportedTSImplementationExtensions:()=>YN,suppressLeadingAndTrailingTrivia:()=>hp,suppressLeadingTrivia:()=>MK,suppressTrailingTrivia:()=>z_e,symbolEscapedNameNoDefault:()=>wq,symbolName:()=>tu,symbolNameNoDefault:()=>FZ,symbolToDisplayParts:()=>uw,sys:()=>pl,sysLog:()=>E7,tagNamesAreEquivalent:()=>ab,takeWhile:()=>FG,targetOptionDeclaration:()=>IQ,targetToLibMap:()=>xue,testFormatSettings:()=>jPe,textChangeRangeIsUnchanged:()=>Oue,textChangeRangeNewSpan:()=>a8,textChanges:()=>kn,textOrKeywordPart:()=>RZ,textPart:()=>fd,textRangeContainsPositionInclusive:()=>P7,textRangeContainsTextSpan:()=>Fue,textRangeIntersectsWithTextSpan:()=>Pue,textSpanContainsPosition:()=>u$,textSpanContainsTextRange:()=>l$,textSpanContainsTextSpan:()=>Aue,textSpanEnd:()=>$c,textSpanIntersection:()=>Nue,textSpanIntersectsWith:()=>N7,textSpanIntersectsWithPosition:()=>wue,textSpanIntersectsWithTextSpan:()=>Iue,textSpanIsEmpty:()=>Tue,textSpanOverlap:()=>kue,textSpanOverlapsWith:()=>R6e,textSpansEqual:()=>u3,textToKeywordObj:()=>pM,timestamp:()=>Qo,toArray:()=>LT,toBuilderFileEmit:()=>Ahe,toBuilderStateFileInfoForMultiEmit:()=>The,toEditorSettings:()=>U9,toFileNameLowerCase:()=>Zv,toPath:()=>Xo,toProgramEmitPending:()=>Fhe,toSorted:()=>ap,tokenIsIdentifierOrKeyword:()=>E_,tokenIsIdentifierOrKeywordOrGreaterThan:()=>gue,tokenToString:()=>ya,trace:()=>Cs,tracing:()=>Fn,tracingEnabled:()=>S7,transferSourceFileChildren:()=>Ope,transform:()=>h5e,transformClassFields:()=>Ame,transformDeclarations:()=>NX,transformECMAScriptModule:()=>PX,transformES2015:()=>qme,transformES2016:()=>Jme,transformES2017:()=>wme,transformES2018:()=>Pme,transformES2019:()=>Nme,transformES2020:()=>Ome,transformES2021:()=>Lme,transformESDecorators:()=>Ime,transformESNext:()=>Rme,transformGenerators:()=>zme,transformImpliedNodeFormatDependentModule:()=>Ume,transformJsx:()=>jme,transformLegacyDecorators:()=>kme,transformModule:()=>wX,transformNamedEvaluation:()=>vp,transformNodes:()=>e9,transformSystemModule:()=>Wme,transformTypeScript:()=>Tme,transpile:()=>T7e,transpileDeclaration:()=>E7e,transpileModule:()=>B0e,transpileOptionValueCompilerOptions:()=>_de,tryAddToSet:()=>Mo,tryAndIgnoreErrors:()=>zq,tryCast:()=>li,tryDirectoryExists:()=>qq,tryExtractTSExtension:()=>LB,tryFileExists:()=>pw,tryGetClassExtendingExpressionWithTypeArguments:()=>zH,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>WH,tryGetDirectories:()=>Jq,tryGetExtensionFromPath:()=>e1,tryGetImportFromModuleSpecifier:()=>CN,tryGetJSDocSatisfiesTypeNode:()=>lj,tryGetModuleNameFromFile:()=>T5,tryGetModuleSpecifierFromDeclaration:()=>tA,tryGetNativePerformanceHooks:()=>nce,tryGetPropertyAccessOrIdentifierToString:()=>qN,tryGetPropertyNameOfBindingOrAssignmentElement:()=>zj,tryGetSourceMappingURL:()=>lme,tryGetTextOfPropertyName:()=>D8,tryParseJson:()=>zN,tryParsePattern:()=>gA,tryParsePatterns:()=>r5,tryParseRawSourceMap:()=>fme,tryReadDirectory:()=>WZ,tryReadFile:()=>kI,tryRemoveDirectoryPrefix:()=>uK,tryRemoveExtension:()=>b_e,tryRemovePrefix:()=>AG,tryRemoveSuffix:()=>Hoe,tscBuildOption:()=>YE,typeAcquisitionDeclarations:()=>Kj,typeAliasNamePart:()=>e0e,typeDirectiveIsEqualTo:()=>Tle,typeKeywords:()=>CZ,typeParameterNamePart:()=>t0e,typeToDisplayParts:()=>I9,unchangedPollThresholds:()=>aM,unchangedTextChangeRange:()=>gM,unescapeLeadingUnderscores:()=>Gi,unmangleScopedPackageName:()=>U5,unorderedRemoveItem:()=>RT,unprefixedNodeCoreModules:()=>j_e,unreachableCodeIsError:()=>o_e,unsetNodeChildren:()=>fQ,unusedLabelIsError:()=>c_e,unwrapInnermostStatementOfLabel:()=>iH,unwrapParenthesizedExpression:()=>M_e,updateErrorForNoInputFiles:()=>sJ,updateLanguageServiceSourceFile:()=>Bee,updateMissingFilePathsWatch:()=>WX,updateResolutionField:()=>W6,updateSharedExtendedConfigFileWatcher:()=>NJ,updateSourceFile:()=>xQ,updateWatchingWildcardDirectories:()=>n9,usingSingleLineStringWriter:()=>Kk,utf16EncodeAsString:()=>s8,validateLocaleAndSetLanguage:()=>p$,version:()=>Ee,versionMajorMinor:()=>be,visitArray:()=>MI,visitCommaListElements:()=>$5,visitEachChild:()=>jr,visitFunctionBody:()=>ld,visitIterationBody:()=>__,visitLexicalEnvironment:()=>hX,visitNode:()=>ft,visitNodes:()=>Xr,visitParameterList:()=>iu,walkUpBindingElementsAndPatterns:()=>mE,walkUpOuterExpressions:()=>qpe,walkUpParenthesizedExpressions:()=>Gm,walkUpParenthesizedTypes:()=>AN,walkUpParenthesizedTypesAndGetParentAndChild:()=>gfe,whitespaceOrMapCommentRegExp:()=>yX,writeCommentRange:()=>p6,writeFile:()=>kB,writeFileEnsuringDirectories:()=>LH,zipWith:()=>Hi}),p.exports=ie(de);var be="5.9",Ee="5.9.3",Oe=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(Oe||{}),Y=[],ut=new Map;function Ye(e){return e!==void 0?e.length:0}function We(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){let i=t(e[n],n);if(i)return i}}function Ut(e,t){if(e!==void 0)for(let n=e.length-1;n>=0;n--){let i=t(e[n],n);if(i)return i}}function _r(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){let i=t(e[n],n);if(i!==void 0)return i}}function Hr(e,t){for(let n of e){let i=t(n);if(i!==void 0)return i}}function On(e,t,n){let i=n;if(e){let s=0;for(let o of e)i=t(i,o,s),s++}return i}function Hi(e,t,n){let i=[];P.assertEqual(e.length,t.length);for(let s=0;s<e.length;s++)i.push(n(e[s],t[s],s));return i}function us(e,t){if(e.length<=1)return e;let n=[];for(let i=0,s=e.length;i<s;i++)i!==0&&n.push(t),n.push(e[i]);return n}function Hn(e,t){if(e!==void 0){for(let n=0;n<e.length;n++)if(!t(e[n],n))return!1}return!0}function an(e,t,n){if(e!==void 0)for(let i=n??0;i<e.length;i++){let s=e[i];if(t(s,i))return s}}function hc(e,t,n){if(e!==void 0)for(let i=n??e.length-1;i>=0;i--){let s=e[i];if(t(s,i))return s}}function ma(e,t,n){if(e===void 0)return-1;for(let i=n??0;i<e.length;i++)if(t(e[i],i))return i;return-1}function ic(e,t,n){if(e===void 0)return-1;for(let i=n??e.length-1;i>=0;i--)if(t(e[i],i))return i;return-1}function xn(e,t,n=eD){if(e!==void 0){for(let i=0;i<e.length;i++)if(n(e[i],t))return!0}return!1}function Os(e,t,n){for(let i=n??0;i<e.length;i++)if(xn(t,e.charCodeAt(i)))return i;return-1}function Js(e,t){let n=0;if(e!==void 0)for(let i=0;i<e.length;i++){let s=e[i];t(s,i)&&n++}return n}function Rr(e,t){if(e!==void 0){let n=e.length,i=0;for(;i<n&&t(e[i]);)i++;if(i<n){let s=e.slice(0,i);for(i++;i<n;){let o=e[i];t(o)&&s.push(o),i++}return s}}return e}function wo(e,t){let n=0;for(let i=0;i<e.length;i++)t(e[i],i,e)&&(e[n]=e[i],n++);e.length=n}function Ro(e){e.length=0}function hr(e,t){let n;if(e!==void 0){n=[];for(let i=0;i<e.length;i++)n.push(t(e[i],i))}return n}function*Sl(e,t){for(let n of e)yield t(n)}function lc(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){let i=e[n],s=t(i,n);if(i!==s){let o=e.slice(0,n);for(o.push(s),n++;n<e.length;n++)o.push(t(e[n],n));return o}}return e}function Ko(e){let t=[];for(let n=0;n<e.length;n++){let i=e[n];i&&(ks(i)?ii(t,i):t.push(i))}return t}function Zs(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){let s=t(e[i],i);s&&(ks(s)?n=ii(n,s):n=Gr(n,s))}return n??Y}function jp(e,t){let n=[];if(e!==void 0)for(let i=0;i<e.length;i++){let s=t(e[i],i);s&&(ks(s)?ii(n,s):n.push(s))}return n}function*By(e,t){for(let n of e){let i=t(n);i&&(yield*i)}}function zo(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){let s=e[i],o=t(s,i);(n||s!==o||ks(o))&&(n||(n=e.slice(0,i)),ks(o)?ii(n,o):n.push(o))}return n??e}function zm(e,t){let n=[];for(let i=0;i<e.length;i++){let s=t(e[i],i);if(s===void 0)return;n.push(s)}return n}function jn(e,t){let n=[];if(e!==void 0)for(let i=0;i<e.length;i++){let s=t(e[i],i);s!==void 0&&n.push(s)}return n}function*Wo(e,t){for(let n of e){let i=t(n);i!==void 0&&(yield i)}}function fu(e,t,n){if(e.has(t))return e.get(t);let i=n();return e.set(t,i),i}function Mo(e,t){return e.has(t)?!1:(e.add(t),!0)}function*wu(e){yield e}function _l(e,t,n){let i;if(e!==void 0){i=[];let s=e.length,o,u,d=0,f=0;for(;d<s;){for(;f<s;){let D=e[f];if(u=t(D,f),f===0)o=u;else if(u!==o)break;f++}if(d<f){let D=n(e.slice(d,f),o,d,f);D&&i.push(D),d=f}o=u,f++}}return i}function Jp(e,t){if(e===void 0)return;let n=new Map;return e.forEach((i,s)=>{let[o,u]=t(s,i);n.set(o,u)}),n}function ht(e,t){if(e!==void 0)if(t!==void 0){for(let n=0;n<e.length;n++)if(t(e[n]))return!0}else return e.length>0;return!1}function Qg(e,t,n){let i;for(let s=0;s<e.length;s++)t(e[s])?i=i===void 0?s:i:i!==void 0&&(n(i,s),i=void 0);i!==void 0&&n(i,e.length)}function Ht(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function Ln(e,t){return t}function qs(e){return e.map(Ln)}function Oi(e,t,n){let i=qs(e);Q_t(e,i,n);let s=e[i[0]],o=[i[0]];for(let u=1;u<i.length;u++){let d=i[u],f=e[d];t(s,f)||(o.push(d),s=f)}return o.sort(),o.map(u=>e[u])}function Rn(e,t){let n=[];for(let i=0;i<e.length;i++)kd(n,e[i],t);return n}function Ca(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?Oi(e,t,n):Rn(e,t)}function Ia(e,t){if(e.length===0)return Y;let n=e[0],i=[n];for(let s=1;s<e.length;s++){let o=e[s];switch(t(o,n)){case!0:case 0:continue;case-1:return P.fail("Array is unsorted.")}i.push(n=o)}return i}function bo(){return[]}function Yl(e,t,n,i,s){if(e.length===0)return e.push(t),!0;let o=Xv(e,t,sc,n);if(o<0){if(i&&!s){let u=~o;if(u>0&&i(t,e[u-1]))return!1;if(u<e.length&&i(t,e[u]))return e.splice(u,1,t),!0}return e.splice(~o,0,t),!0}return s?(e.splice(o,0,t),!0):!1}function td(e,t,n){return Ia(ap(e,t),n??t??df)}function qp(e,t,n=eD){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!n(e[i],t[i],i))return!1;return!0}function h7(e){let t;if(e!==void 0)for(let n=0;n<e.length;n++){let i=e[n];(t??!i)&&(t??(t=e.slice(0,n)),i&&t.push(i))}return t??e}function Moe(e,t,n){if(!t||!e||t.length===0||e.length===0)return t;let i=[];e:for(let s=0,o=0;o<t.length;o++){o>0&&P.assertGreaterThanOrEqual(n(t[o],t[o-1]),0);t:for(let u=s;s<e.length;s++)switch(s>u&&P.assertGreaterThanOrEqual(n(e[s],e[s-1]),0),n(t[o],e[s])){case-1:i.push(t[o]);continue e;case 0:continue e;case 1:continue t}}return i}function Gr(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function PT(e,t){return e===void 0?t:t===void 0?e:ks(e)?ks(t)?Ht(e,t):Gr(e,t):ks(t)?Gr(t,e):[e,t]}function Boe(e,t){return t<0?e.length+t:t}function ii(e,t,n,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,i);n=n===void 0?0:Boe(t,n),i=i===void 0?t.length:Boe(t,i);for(let s=n;s<i&&s<t.length;s++)t[s]!==void 0&&e.push(t[s]);return e}function kd(e,t,n){return xn(e,t,n)?!1:(e.push(t),!0)}function O1(e,t,n){return e!==void 0?(kd(e,t,n),e):[t]}function Q_t(e,t,n){t.sort((i,s)=>n(e[i],e[s])||ac(i,s))}function ap(e,t){return e.length===0?Y:e.slice().sort(t)}function*_G(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function pG(e,t,n,i){for(;n<i;){if(e[n]!==t[n])return!1;n++}return!0}var Qv=Array.prototype.at?(e,t)=>e?.at(t):(e,t)=>{if(e!==void 0&&(t=Boe(e,t),t<e.length))return e[t]};function $u(e){return e===void 0||e.length===0?void 0:e[0]}function QR(e){if(e!==void 0)for(let t of e)return t}function eo(e){return P.assert(e.length!==0),e[0]}function dG(e){for(let t of e)return t;P.fail("iterator is empty")}function gc(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function Ua(e){return P.assert(e.length!==0),e[e.length-1]}function M0(e){return e!==void 0&&e.length===1?e[0]:void 0}function mG(e){return P.checkDefined(M0(e))}function Xg(e){return e!==void 0&&e.length===1?e[0]:e}function hG(e,t,n){let i=e.slice(0);return i[t]=n,i}function Xv(e,t,n,i,s){return NT(e,n(t),n,i,s)}function NT(e,t,n,i,s){if(!ht(e))return-1;let o=s??0,u=e.length-1;for(;o<=u;){let d=o+(u-o>>1),f=n(e[d],d);switch(i(f,t)){case-1:o=d+1;break;case 0:return d;case 1:u=d-1;break}}return~o}function Gf(e,t,n,i,s){if(e&&e.length>0){let o=e.length;if(o>0){let u=i===void 0||i<0?0:i,d=s===void 0||u+s>o-1?o-1:u+s,f;for(arguments.length<=2?(f=e[u],u++):f=n;u<=d;)f=t(f,e[u],u),u++;return f}}return n}var k2=Object.prototype.hasOwnProperty;function Uo(e,t){return k2.call(e,t)}function g7(e,t){return k2.call(e,t)?e[t]:void 0}function rg(e){let t=[];for(let n in e)k2.call(e,n)&&t.push(n);return t}function Kke(e){let t=[];do{let n=Object.getOwnPropertyNames(e);for(let i of n)kd(t,i)}while(e=Object.getPrototypeOf(e));return t}function OT(e){let t=[];for(let n in e)k2.call(e,n)&&t.push(e[n]);return t}function joe(e,t){let n=new Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}function As(e,t){let n=[];for(let i of e)n.push(t?t(i):i);return n}function lE(e,...t){for(let n of t)if(n!==void 0)for(let i in n)Uo(n,i)&&(e[i]=n[i]);return e}function Joe(e,t,n=eD){if(e===t)return!0;if(!e||!t)return!1;for(let i in e)if(k2.call(e,i)&&(!k2.call(t,i)||!n(e[i],t[i])))return!1;for(let i in t)if(k2.call(t,i)&&!k2.call(e,i))return!1;return!0}function wk(e,t,n=sc){let i=new Map;for(let s=0;s<e.length;s++){let o=e[s],u=t(o);u!==void 0&&i.set(u,n(o))}return i}function qoe(e,t,n=sc){let i=[];for(let s=0;s<e.length;s++){let o=e[s];i[t(o)]=n(o)}return i}function y7(e,t,n=sc){let i=fm();for(let s=0;s<e.length;s++){let o=e[s];i.add(t(o),n(o))}return i}function Pk(e,t,n=sc){return As(y7(e,t).values(),n)}function gG(e,t){let n={};if(e!==void 0)for(let i=0;i<e.length;i++){let s=e[i],o=`${t(s)}`;(n[o]??(n[o]=[])).push(s)}return n}function zoe(e){let t={};for(let n in e)k2.call(e,n)&&(t[n]=e[n]);return t}function yG(e,t){let n={};for(let i in t)k2.call(t,i)&&(n[i]=t[i]);for(let i in e)k2.call(e,i)&&(n[i]=e[i]);return n}function vG(e,t){for(let n in t)k2.call(t,n)&&(e[n]=t[n])}function sa(e,t){return t?.bind(e)}function fm(){let e=new Map;return e.add=X_t,e.remove=Y_t,e}function X_t(e,t){let n=this.get(e);return n!==void 0?n.push(t):this.set(e,n=[t]),n}function Y_t(e,t){let n=this.get(e);n!==void 0&&(RT(n,t),n.length||this.delete(e))}function v7(e){let t=e?.slice()??[],n=0;function i(){return n===t.length}function s(...u){t.push(...u)}function o(){if(i())throw new Error("Queue is empty");let u=t[n];if(t[n]=void 0,n++,n>100&&n>t.length>>1){let d=t.length-n;t.copyWithin(0,n),t.length=d,n=0}return u}return{enqueue:s,dequeue:o,isEmpty:i}}function DG(e,t){let n=new Map,i=0;function*s(){for(let u of n.values())ks(u)?yield*u:yield u}let o={has(u){let d=e(u);if(!n.has(d))return!1;let f=n.get(d);return ks(f)?xn(f,u,t):t(f,u)},add(u){let d=e(u);if(n.has(d)){let f=n.get(d);if(ks(f))xn(f,u,t)||(f.push(u),i++);else{let D=f;t(D,u)||(n.set(d,[D,u]),i++)}}else n.set(d,u),i++;return this},delete(u){let d=e(u);if(!n.has(d))return!1;let f=n.get(d);if(ks(f)){for(let D=0;D<f.length;D++)if(t(f[D],u))return f.length===1?n.delete(d):f.length===2?n.set(d,f[1-D]):Yke(f,D),i--,!0}else if(t(f,u))return n.delete(d),i--,!0;return!1},clear(){n.clear(),i=0},get size(){return i},forEach(u){for(let d of As(n.values()))if(ks(d))for(let f of d)u(f,f,o);else{let f=d;u(f,f,o)}},keys(){return s()},values(){return s()},*entries(){for(let u of s())yield[u,u]},[Symbol.iterator]:()=>s(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return o}function ks(e){return Array.isArray(e)}function LT(e){return ks(e)?e:[e]}function zs(e){return typeof e=="string"}function Yv(e){return typeof e=="number"}function li(e,t){return e!==void 0&&t(e)?e:void 0}function ha(e,t){return e!==void 0&&t(e)?e:P.fail(`Invalid cast. The supplied value ${e} did not pass the test '${P.getFunctionName(t)}'.`)}function ko(e){}function L1(){return!1}function CC(){return!0}function SC(){}function sc(e){return e}function Z_t(e){return e.toLowerCase()}var Qke=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function Zv(e){return Qke.test(e)?e.replace(Qke,Z_t):e}function ga(){throw new Error("Not implemented")}function $f(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function ng(e){let t=new Map;return n=>{let i=`${typeof n}:${n}`,s=t.get(i);return s===void 0&&!t.has(i)&&(s=e(n),t.set(i,s)),s}}var Woe=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(Woe||{});function eD(e,t){return e===t}function tD(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function EC(e,t){return eD(e,t)}function Xke(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function ac(e,t){return Xke(e,t)}function XR(e,t){return ac(e?.start,t?.start)||ac(e?.length,t?.length)}function bG(e,t,n){for(let i=0;i<e.length;i++)t=Math.max(t,n(e[i]));return t}function CG(e,t){return Gf(e,(n,i)=>t(n,i)===-1?n:i)}function D7(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function Uoe(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function df(e,t){return Xke(e,t)}function Nk(e){return e?D7:df}var ept=(()=>{return t;function e(n,i,s){if(n===i)return 0;if(n===void 0)return-1;if(i===void 0)return 1;let o=s(n,i);return o<0?-1:o>0?1:0}function t(n){let i=new Intl.Collator(n,{usage:"sort",sensitivity:"variant",numeric:!0}).compare;return(s,o)=>e(s,o,i)}})(),SG,EG;function Voe(){return EG}function Goe(e){EG!==e&&(EG=e,SG=void 0)}function b7(e,t){return SG??(SG=ept(EG)),SG(e,t)}function $oe(e,t,n,i){return e===t?0:e===void 0?-1:t===void 0?1:i(e[n],t[n])}function I2(e,t){return ac(e?1:0,t?1:0)}function xC(e,t,n){let i=Math.max(2,Math.floor(e.length*.34)),s=Math.floor(e.length*.4)+1,o;for(let u of t){let d=n(u);if(d!==void 0&&Math.abs(d.length-e.length)<=i){if(d===e||d.length<3&&d.toLowerCase()!==e.toLowerCase())continue;let f=tpt(e,d,s-.1);if(f===void 0)continue;P.assert(f<s),s=f,o=u}}return o}function tpt(e,t,n){let i=new Array(t.length+1),s=new Array(t.length+1),o=n+.01;for(let d=0;d<=t.length;d++)i[d]=d;for(let d=1;d<=e.length;d++){let f=e.charCodeAt(d-1),D=Math.ceil(d>n?d-n:1),y=Math.floor(t.length>n+d?n+d:t.length);s[0]=d;let b=d;for(let A=1;A<D;A++)s[A]=o;for(let A=D;A<=y;A++){let k=e[d-1].toLowerCase()===t[A-1].toLowerCase()?i[A-1]+.1:i[A-1]+2,N=f===t.charCodeAt(A-1)?i[A-1]:Math.min(i[A]+1,s[A-1]+1,k);s[A]=N,b=Math.min(b,N)}for(let A=y+1;A<=t.length;A++)s[A]=o;if(b>n)return;let T=i;i=s,s=T}let u=i[t.length];return u>n?void 0:u}function yc(e,t,n){let i=e.length-t.length;return i>=0&&(n?tD(e.slice(i),t):e.indexOf(t,i)===i)}function Ok(e,t){return yc(e,t)?e.slice(0,e.length-t.length):e}function Hoe(e,t){return yc(e,t)?e.slice(0,e.length-t.length):void 0}function xG(e){let t=e.length;for(let n=t-1;n>0;n--){let i=e.charCodeAt(n);if(i>=48&&i<=57)do--n,i=e.charCodeAt(n);while(n>0&&i>=48&&i<=57);else if(n>4&&(i===110||i===78)){if(--n,i=e.charCodeAt(n),i!==105&&i!==73||(--n,i=e.charCodeAt(n),i!==109&&i!==77))break;--n,i=e.charCodeAt(n)}else break;if(i!==45&&i!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function W4(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return rD(e,n),!0;return!1}function rD(e,t){for(let n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function Yke(e,t){e[t]=e[e.length-1],e.pop()}function RT(e,t){return rpt(e,n=>n===t)}function rpt(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return Yke(e,n),!0;return!1}function Zl(e){return e?sc:Zv}function Koe({prefix:e,suffix:t}){return`${e}*${t}`}function Qoe(e,t){return P.assert(YR(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function TG(e,t,n){let i,s=-1;for(let o=0;o<e.length;o++){let u=e[o],d=t(u);d.prefix.length>s&&YR(d,n)&&(s=d.prefix.length,i=u)}return i}function _s(e,t,n){return n?tD(e.slice(0,t.length),t):e.lastIndexOf(t,0)===0}function U4(e,t){return _s(e,t)?e.substr(t.length):e}function AG(e,t,n=sc){return _s(n(e),n(t))?e.substring(t.length):void 0}function YR({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&_s(n,e)&&yc(n,t)}function ZR(e,t){return n=>e(n)&&t(n)}function op(...e){return(...t)=>{let n;for(let i of e)if(n=i(...t),n)return n;return n}}function eM(e){return(...t)=>!e(...t)}function Zke(e){}function MT(e){return e===void 0?void 0:[e]}function tM(e,t,n,i,s,o){o??(o=ko);let u=0,d=0,f=e.length,D=t.length,y=!1;for(;u<f&&d<D;){let b=e[u],T=t[d],A=n(b,T);A===-1?(i(b),u++,y=!0):A===1?(s(T),d++,y=!0):(o(T,b),u++,d++)}for(;u<f;)i(e[u++]),y=!0;for(;d<D;)s(t[d++]),y=!0;return y}function Xoe(e){let t=[];return e6e(e,t,void 0,0),t}function e6e(e,t,n,i){for(let s of e[i]){let o;n?(o=n.slice(),o.push(s)):o=[s],i===e.length-1?t.push(o):e6e(e,t,o,i+1)}}function FG(e,t){if(e!==void 0){let n=e.length,i=0;for(;i<n&&t(e[i]);)i++;return e.slice(0,i)}}function Yoe(e,t){if(e!==void 0){let n=e.length,i=0;for(;i<n&&t(e[i]);)i++;return e.slice(i)}}function kG(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof require<"u"}var Zoe=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(Zoe||{}),P;(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(tt){return e.currentLogLevel<=tt}e.shouldLog=n;function i(tt,Ft){e.loggingHost&&n(tt)&&e.loggingHost.log(tt,Ft)}function s(tt){i(3,tt)}e.log=s,(tt=>{function Ft(hi){i(1,hi)}tt.error=Ft;function Dr(hi){i(2,hi)}tt.warn=Dr;function dn(hi){i(3,hi)}tt.log=dn;function pi(hi){i(4,hi)}tt.trace=pi})(s=e.log||(e.log={}));let o={};function u(){return t}e.getAssertionLevel=u;function d(tt){let Ft=t;if(t=tt,tt>Ft)for(let Dr of rg(o)){let dn=o[Dr];dn!==void 0&&e[Dr]!==dn.assertion&&tt>=dn.level&&(e[Dr]=dn,o[Dr]=void 0)}}e.setAssertionLevel=d;function f(tt){return t>=tt}e.shouldAssert=f;function D(tt,Ft){return f(tt)?!0:(o[Ft]={level:tt,assertion:e[Ft]},e[Ft]=ko,!1)}function y(tt,Ft){debugger;let Dr=new Error(tt?`Debug Failure. ${tt}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Dr,Ft||y),Dr}e.fail=y;function b(tt,Ft,Dr){return y(`${Ft||"Unexpected node."}\r
354
+ `+new Array(S).join(" ")+"^"}}return null}function Gcr(_){var c=Uft(_);process.stderr._handle&&process.stderr._handle.setBlocking&&process.stderr._handle.setBlocking(!0),c&&(console.error(),console.error(c)),console.error(_.stack),process.exit(1)}function $cr(){var _=process.emit;process.emit=function(c){if(c==="uncaughtException"){var p=arguments[1]&&arguments[1].stack,g=this.listeners(c).length>0;if(p&&!g)return Gcr(arguments[1])}return _.apply(this,arguments)}}var Hcr=j4.slice(0),Kcr=J4.slice(0);m7.wrapCallSite=Wft;m7.getErrorSource=Uft;m7.mapSourcePosition=gke;m7.retrieveSourceMap=hke;m7.install=function(_){if(_=_||{},_.environment&&(sG=_.environment,["node","browser","auto"].indexOf(sG)===-1))throw new Error("environment "+sG+" was unknown. Available options are {auto, browser, node}");if(_.retrieveFile&&(_.overrideRetrieveFile&&(j4.length=0),j4.unshift(_.retrieveFile)),_.retrieveSourceMap&&(_.overrideRetrieveSourceMap&&(J4.length=0),J4.unshift(_.retrieveSourceMap)),_.hookRequire&&!dke()){var c;try{c=require("module")}catch{}var p=c.prototype._compile;p.__sourceMapSupport||(c.prototype._compile=function(S,w){return d7[w]=S,aG[w]=void 0,p.call(this,S,w)},c.prototype._compile.__sourceMapSupport=!0)}if(_ke||(_ke="emptyCacheBetweenOperations"in _?_.emptyCacheBetweenOperations:!1),jft||(jft=!0,Error.prepareStackTrace=Vcr),!Jft){var g="handleUncaughtExceptions"in _?_.handleUncaughtExceptions:!0;g&&zcr()&&(Jft=!0,$cr())}};m7.resetRetrieveHandlers=function(){j4.length=0,J4.length=0,j4=Hcr.slice(0),J4=Kcr.slice(0),hke=poe(J4),mke=poe(j4)}});var e_t=jt((s8r,moe)=>{var Gft={};(_=>{"use strict";var c=Object.defineProperty,p=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,S=Object.prototype.hasOwnProperty,w=(e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})},z=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of g(t))!S.call(e,s)&&s!==n&&c(e,s,{get:()=>t[s],enumerable:!(i=p(t,s))||i.enumerable});return e},ie=e=>e,de={};w(de,{ANONYMOUS:()=>zZ,AccessFlags:()=>Nce,AssertionLevel:()=>Woe,AssignmentDeclarationKind:()=>zce,AssignmentKind:()=>dfe,Associativity:()=>Cfe,BreakpointResolver:()=>Jee,BuilderFileEmit:()=>ghe,BuilderProgramKind:()=>xhe,BuilderState:()=>kh,CallHierarchy:()=>rF,CharacterCodes:()=>Zce,CheckFlags:()=>kce,CheckMode:()=>fX,ClassificationType:()=>ZY,ClassificationTypeNames:()=>Age,CommentDirectiveType:()=>dce,Comparison:()=>Oe,CompletionInfoFlags:()=>Dge,CompletionTriggerKind:()=>XY,Completions:()=>oF,ContainerFlags:()=>Xde,ContextFlags:()=>bce,Debug:()=>P,DiagnosticCategory:()=>iM,Diagnostics:()=>h,DocumentHighlights:()=>Yq,ElementFlags:()=>Pce,EmitFlags:()=>HG,EmitHint:()=>nue,EmitOnly:()=>hce,EndOfLineState:()=>Sge,ExitStatus:()=>gce,ExportKind:()=>g0e,Extension:()=>eue,ExternalEmitHelpers:()=>rue,FileIncludeKind:()=>BG,FilePreprocessingDiagnosticsKind:()=>mce,FileSystemEntryKind:()=>_ue,FileWatcherEventKind:()=>uue,FindAllReferences:()=>dc,FlattenLevel:()=>vme,FlowFlags:()=>nM,ForegroundColorEscapeSequences:()=>ohe,FunctionFlags:()=>Dfe,GeneratedIdentifierFlags:()=>MG,GetLiteralTextFlags:()=>wle,GoToDefinition:()=>v3,HighlightSpanKind:()=>yge,IdentifierNameMap:()=>K6,ImportKind:()=>h0e,ImportsNotUsedAsValues:()=>Hce,IndentStyle:()=>vge,IndexFlags:()=>Oce,IndexKind:()=>Mce,InferenceFlags:()=>Jce,InferencePriority:()=>jce,InlayHintKind:()=>gge,InlayHints:()=>wte,InternalEmitFlags:()=>tue,InternalNodeBuilderFlags:()=>Sce,InternalSymbolName:()=>Ice,IntersectionFlags:()=>Dce,InvalidatedProjectKind:()=>Hhe,JSDocParsingMode:()=>cue,JsDoc:()=>yb,JsTyping:()=>jD,JsxEmit:()=>$ce,JsxFlags:()=>lce,JsxReferenceKind:()=>Lce,LanguageFeatureMinimumTarget:()=>El,LanguageServiceMode:()=>mge,LanguageVariant:()=>Xce,LexicalEnvironmentFlags:()=>sue,ListFormat:()=>aue,LogLevel:()=>Zoe,MapCode:()=>Pte,MemberOverrideStatus:()=>yce,ModifierFlags:()=>LG,ModuleDetectionKind:()=>Wce,ModuleInstanceState:()=>Kde,ModuleKind:()=>Rk,ModuleResolutionKind:()=>Lk,ModuleSpecifierEnding:()=>y_e,NavigateTo:()=>q0e,NavigationBar:()=>W0e,NewLineKind:()=>Kce,NodeBuilderFlags:()=>Cce,NodeCheckFlags:()=>qG,NodeFactoryFlags:()=>K_e,NodeFlags:()=>OG,NodeResolutionFeatures:()=>jde,ObjectFlags:()=>WG,OperationCanceledException:()=>Q4,OperatorPrecedence:()=>Sfe,OrganizeImports:()=>vb,OrganizeImportsMode:()=>QY,OuterExpressionKinds:()=>iue,OutliningElementsCollector:()=>Ote,OutliningSpanKind:()=>bge,OutputFileType:()=>Cge,PackageJsonAutoImportPreference:()=>dge,PackageJsonDependencyGroup:()=>pge,PatternMatchKind:()=>oee,PollingInterval:()=>KG,PollingWatchKind:()=>Gce,PragmaKindFlags:()=>oue,PredicateSemantics:()=>fce,PreparePasteEdits:()=>Kte,PrivateIdentifierKind:()=>spe,ProcessLevel:()=>Sme,ProgramUpdateLevel:()=>rhe,QuotePreference:()=>Kge,RegularExpressionFlags:()=>_ce,RelationComparisonResult:()=>RG,Rename:()=>Lz,ScriptElementKind:()=>xge,ScriptElementKindModifier:()=>Tge,ScriptKind:()=>VG,ScriptSnapshot:()=>lq,ScriptTarget:()=>Qce,SemanticClassificationFormat:()=>hge,SemanticMeaning:()=>Fge,SemicolonPreference:()=>YY,SignatureCheckMode:()=>_X,SignatureFlags:()=>UG,SignatureHelp:()=>oO,SignatureInfo:()=>hhe,SignatureKind:()=>Rce,SmartSelectionRange:()=>Mte,SnippetKind:()=>$G,StatisticType:()=>nge,StructureIsReused:()=>jG,SymbolAccessibility:()=>Tce,SymbolDisplay:()=>cv,SymbolDisplayPartKind:()=>_q,SymbolFlags:()=>JG,SymbolFormatFlags:()=>xce,SyntaxKind:()=>NG,Ternary:()=>qce,ThrottledCancellationToken:()=>X1e,TokenClass:()=>Ege,TokenFlags:()=>pce,TransformFlags:()=>GG,TypeFacts:()=>lX,TypeFlags:()=>zG,TypeFormatFlags:()=>Ece,TypeMapKind:()=>Bce,TypePredicateKind:()=>Ace,TypeReferenceSerializationKind:()=>Fce,UnionReduction:()=>vce,UpToDateStatusType:()=>qhe,VarianceFlags:()=>wce,Version:()=>hh,VersionRange:()=>rM,WatchDirectoryFlags:()=>Yce,WatchDirectoryKind:()=>Vce,WatchFileKind:()=>Uce,WatchLogLevel:()=>ihe,WatchType:()=>Pl,accessPrivateIdentifier:()=>yme,addEmitFlags:()=>hg,addEmitHelper:()=>SA,addEmitHelpers:()=>r1,addInternalEmitFlags:()=>BE,addNodeFactoryPatcher:()=>j3e,addObjectAllocatorPatcher:()=>S3e,addRange:()=>ii,addRelatedInfo:()=>pa,addSyntheticLeadingComment:()=>AD,addSyntheticTrailingComment:()=>_I,addToSeen:()=>ym,advancedAsyncSuperHelper:()=>bj,affectsDeclarationPathOptionDeclarations:()=>lde,affectsEmitOptionDeclarations:()=>ude,allKeysStartWithDot:()=>mJ,altDirectorySeparator:()=>cM,and:()=>ZR,append:()=>Gr,appendIfUnique:()=>O1,arrayFrom:()=>As,arrayIsEqualTo:()=>qp,arrayIsHomogeneous:()=>T_e,arrayOf:()=>joe,arrayReverseIterator:()=>_G,arrayToMap:()=>wk,arrayToMultiMap:()=>y7,arrayToNumericMap:()=>qoe,assertType:()=>Zke,assign:()=>lE,asyncSuperHelper:()=>Dj,attachFileToDiagnostics:()=>dA,base64decode:()=>Ufe,base64encode:()=>Wfe,binarySearch:()=>Xv,binarySearchKey:()=>NT,bindSourceFile:()=>Yde,breakIntoCharacterSpans:()=>N0e,breakIntoWordSpans:()=>O0e,buildLinkParts:()=>n0e,buildOpts:()=>O5,buildOverload:()=>xJe,bundlerModuleNameResolver:()=>Jde,canBeConvertedToAsync:()=>pee,canHaveDecorators:()=>iS,canHaveExportModifier:()=>i5,canHaveFlowNode:()=>a6,canHaveIllegalDecorators:()=>DQ,canHaveIllegalModifiers:()=>Upe,canHaveIllegalType:()=>f4e,canHaveIllegalTypeParameters:()=>Wpe,canHaveJSDoc:()=>xN,canHaveLocals:()=>e0,canHaveModifiers:()=>Cm,canHaveModuleSpecifier:()=>ffe,canHaveSymbol:()=>vh,canIncludeBindAndCheckDiagnostics:()=>rI,canJsonReportNoInputFiles:()=>J5,canProduceDiagnostics:()=>Q5,canUsePropertyAccess:()=>EK,canWatchAffectingLocation:()=>Nhe,canWatchAtTypes:()=>Phe,canWatchDirectoryOrFile:()=>pY,canWatchDirectoryOrFilePath:()=>f9,cartesianProduct:()=>Xoe,cast:()=>ha,chainBundle:()=>Fh,chainDiagnosticMessages:()=>$s,changeAnyExtension:()=>x7,changeCompilerHostLikeToUseCache:()=>HI,changeExtension:()=>Ky,changeFullExtension:()=>fM,changesAffectModuleResolution:()=>BM,changesAffectingProgramStructure:()=>Sle,characterCodeToRegularExpressionFlag:()=>a$,childIsDecorated:()=>E8,classElementOrClassElementParameterIsDecorated:()=>sH,classHasClassThisAssignment:()=>AX,classHasDeclaredOrExplicitlyAssignedName:()=>FX,classHasExplicitlyAssignedName:()=>FJ,classOrConstructorParameterIsDecorated:()=>Uy,classicNameResolver:()=>$de,classifier:()=>tye,cleanExtendedConfigCache:()=>OJ,clear:()=>Ro,clearMap:()=>V_,clearSharedExtendedConfigFileWatcher:()=>zX,climbPastPropertyAccess:()=>mq,clone:()=>zoe,cloneCompilerOptions:()=>yZ,closeFileWatcher:()=>$m,closeFileWatcherOf:()=>Ud,codefix:()=>Mf,collapseTextChangeRangesAcrossMultipleVersions:()=>Lue,collectExternalModuleInfo:()=>SX,combine:()=>PT,combinePaths:()=>si,commandLineOptionOfCustomType:()=>pde,commentPragmas:()=>sM,commonOptionsWithBuild:()=>Hj,compact:()=>h7,compareBooleans:()=>I2,compareDataObjects:()=>YH,compareDiagnostics:()=>K8,compareEmitHelpers:()=>ope,compareNumberOfDirectorySeparators:()=>e5,comparePaths:()=>R1,comparePathsCaseInsensitive:()=>S6e,comparePathsCaseSensitive:()=>C6e,comparePatternKeys:()=>nX,compareProperties:()=>$oe,compareStringsCaseInsensitive:()=>D7,compareStringsCaseInsensitiveEslintCompatible:()=>Uoe,compareStringsCaseSensitive:()=>df,compareStringsCaseSensitiveUI:()=>b7,compareTextSpans:()=>XR,compareValues:()=>ac,compilerOptionsAffectDeclarationPath:()=>__e,compilerOptionsAffectEmit:()=>f_e,compilerOptionsAffectSemanticDiagnostics:()=>l_e,compilerOptionsDidYouMeanDiagnostics:()=>Yj,compilerOptionsIndicateEsModules:()=>EZ,computeCommonSourceDirectoryOfFilenames:()=>she,computeLineAndCharacterOfPosition:()=>jk,computeLineOfPosition:()=>t8,computeLineStarts:()=>zT,computePositionOfLineAndCharacter:()=>mM,computeSignatureWithDiagnostics:()=>oY,computeSuggestionDiagnostics:()=>lee,computedOptions:()=>Q8,concatenate:()=>Ht,concatenateDiagnosticMessageChains:()=>n_e,consumesNodeCoreModules:()=>Wq,contains:()=>xn,containsIgnoredPath:()=>sI,containsObjectRestOrSpread:()=>I5,containsParseError:()=>XT,containsPath:()=>wd,convertCompilerOptionsForTelemetry:()=>Fde,convertCompilerOptionsFromJson:()=>D8e,convertJsonOption:()=>ZE,convertToBase64:()=>zfe,convertToJson:()=>M5,convertToObject:()=>Cde,convertToOptionsWithAbsolutePaths:()=>rJ,convertToRelativePath:()=>Z4,convertToTSConfig:()=>JQ,convertTypeAcquisitionFromJson:()=>b8e,copyComments:()=>cx,copyEntries:()=>jM,copyLeadingComments:()=>f3,copyProperties:()=>vG,copyTrailingAsLeadingComments:()=>P9,copyTrailingComments:()=>lw,couldStartTrivia:()=>bue,countWhere:()=>Js,createAbstractBuilder:()=>Awe,createAccessorPropertyBackingField:()=>SQ,createAccessorPropertyGetRedirector:()=>Ype,createAccessorPropertySetRedirector:()=>Zpe,createBaseNodeFactory:()=>U_e,createBinaryExpressionTrampoline:()=>Wj,createBuilderProgram:()=>cY,createBuilderProgramUsingIncrementalBuildInfo:()=>khe,createBuilderStatusReporter:()=>rq,createCacheableExportInfoMap:()=>ZZ,createCachedDirectoryStructureHost:()=>PJ,createClassifier:()=>n7e,createCommentDirectivesMap:()=>kle,createCompilerDiagnostic:()=>Vc,createCompilerDiagnosticForInvalidCustomType:()=>dde,createCompilerDiagnosticFromMessageChain:()=>zB,createCompilerHost:()=>ahe,createCompilerHostFromProgramHost:()=>FY,createCompilerHostWorker:()=>LJ,createDetachedDiagnostic:()=>pA,createDiagnosticCollection:()=>j8,createDiagnosticForFileFromMessageChain:()=>eH,createDiagnosticForNode:()=>Tn,createDiagnosticForNodeArray:()=>Yk,createDiagnosticForNodeArrayFromMessageChain:()=>nN,createDiagnosticForNodeFromMessageChain:()=>$0,createDiagnosticForNodeInSourceFile:()=>Nd,createDiagnosticForRange:()=>Wle,createDiagnosticMessageChainFromDiagnostic:()=>zle,createDiagnosticReporter:()=>HA,createDocumentPositionMapper:()=>pme,createDocumentRegistry:()=>C0e,createDocumentRegistryInternal:()=>iee,createEmitAndSemanticDiagnosticsBuilderProgram:()=>_Y,createEmitHelperFactory:()=>ape,createEmptyExports:()=>C5,createEvaluator:()=>R_e,createExpressionForJsxElement:()=>Mpe,createExpressionForJsxFragment:()=>Bpe,createExpressionForObjectLiteralElementLike:()=>jpe,createExpressionForPropertyName:()=>dQ,createExpressionFromEntityName:()=>S5,createExternalHelpersImportDeclarationIfNeeded:()=>gQ,createFileDiagnostic:()=>al,createFileDiagnosticFromMessageChain:()=>KM,createFlowNode:()=>l0,createForOfBindingStatement:()=>pQ,createFutureSourceFile:()=>Kq,createGetCanonicalFileName:()=>Zl,createGetIsolatedDeclarationErrors:()=>Gme,createGetSourceFile:()=>$X,createGetSymbolAccessibilityDiagnosticForNode:()=>cb,createGetSymbolAccessibilityDiagnosticForNodeName:()=>Vme,createGetSymbolWalker:()=>Zde,createIncrementalCompilerHost:()=>tq,createIncrementalProgram:()=>Jhe,createJsxFactoryExpression:()=>_Q,createLanguageService:()=>Y1e,createLanguageServiceSourceFile:()=>dz,createMemberAccessForPropertyName:()=>XE,createModeAwareCache:()=>U6,createModeAwareCacheKey:()=>NI,createModeMismatchDetails:()=>B$,createModuleNotFoundChain:()=>qM,createModuleResolutionCache:()=>V6,createModuleResolutionLoader:()=>ZX,createModuleResolutionLoaderUsingGlobalCache:()=>Mhe,createModuleSpecifierResolutionHost:()=>_b,createMultiMap:()=>fm,createNameResolver:()=>kK,createNodeConverters:()=>$_e,createNodeFactory:()=>u5,createOptionNameMap:()=>Qj,createOverload:()=>Xte,createPackageJsonImportFilter:()=>_3,createPackageJsonInfo:()=>VZ,createParenthesizerRules:()=>V_e,createPatternMatcher:()=>A0e,createPrinter:()=>MD,createPrinterWithDefaults:()=>ehe,createPrinterWithRemoveComments:()=>cS,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>the,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>qX,createProgram:()=>c9,createProgramDiagnostics:()=>dhe,createProgramHost:()=>kY,createPropertyNameNodeForIdentifierOrLiteral:()=>n5,createQueue:()=>v7,createRange:()=>Rd,createRedirectedBuilderProgram:()=>fY,createResolutionCache:()=>mY,createRuntimeTypeSerializer:()=>Fme,createScanner:()=>q0,createSemanticDiagnosticsBuilderProgram:()=>Twe,createSet:()=>DG,createSolutionBuilder:()=>Vhe,createSolutionBuilderHost:()=>Whe,createSolutionBuilderWithWatch:()=>Ghe,createSolutionBuilderWithWatchHost:()=>Uhe,createSortedArray:()=>bo,createSourceFile:()=>jA,createSourceMapGenerator:()=>cme,createSourceMapSource:()=>W3e,createSuperAccessVariableStatement:()=>IJ,createSymbolTable:()=>fa,createSymlinkCache:()=>cK,createSyntacticTypeNodeBuilder:()=>lge,createSystemWatchFunctions:()=>pue,createTextChange:()=>x9,createTextChangeFromStartLength:()=>Fq,createTextChangeRange:()=>L7,createTextRangeFromNode:()=>bZ,createTextRangeFromSpan:()=>Aq,createTextSpan:()=>ef,createTextSpanFromBounds:()=>Tu,createTextSpanFromNode:()=>d_,createTextSpanFromRange:()=>sv,createTextSpanFromStringLiteralLikeContent:()=>DZ,createTextWriter:()=>RN,createTokenRange:()=>$H,createTypeChecker:()=>ame,createTypeReferenceDirectiveResolutionCache:()=>_J,createTypeReferenceResolutionLoader:()=>BJ,createWatchCompilerHost:()=>Mwe,createWatchCompilerHostOfConfigFile:()=>IY,createWatchCompilerHostOfFilesAndCompilerOptions:()=>wY,createWatchFactory:()=>AY,createWatchHost:()=>TY,createWatchProgram:()=>PY,createWatchStatusReporter:()=>hY,createWriteFileMeasuringIO:()=>HX,declarationNameToString:()=>Yo,decodeMappings:()=>DX,decodedTextSpanIntersectsWith:()=>O7,deduplicate:()=>Ca,defaultHoverMaximumTruncationLength:()=>ble,defaultInitCompilerOptions:()=>J4e,defaultMaximumTruncationLength:()=>g8,diagnosticCategoryName:()=>_E,diagnosticToString:()=>pS,diagnosticsEqualityComparer:()=>WB,directoryProbablyExists:()=>Ch,directorySeparator:()=>fc,displayPart:()=>H_,displayPartsToString:()=>V9,disposeEmitNodes:()=>JK,documentSpansEqual:()=>wZ,dumpTracingLegend:()=>uce,elementAt:()=>Qv,elideNodes:()=>Xpe,emitDetachedComments:()=>Pfe,emitFiles:()=>jX,emitFilesAndReportErrors:()=>XJ,emitFilesAndReportErrorsAndGetExitStatus:()=>xY,emitModuleKindIsNonNodeESM:()=>QN,emitNewLineBeforeLeadingCommentOfPosition:()=>wfe,emitResolverSkipsTypeChecking:()=>BX,emitSkippedWithNoDiagnostics:()=>rY,emptyArray:()=>Y,emptyFileSystemEntries:()=>hK,emptyMap:()=>ut,emptyOptions:()=>Sm,endsWith:()=>yc,ensurePathIsNonModuleName:()=>pE,ensureScriptKind:()=>ZB,ensureTrailingDirectorySeparator:()=>dl,entityNameToString:()=>fp,enumerateInsertsAndDeletes:()=>tM,equalOwnProperties:()=>Joe,equateStringsCaseInsensitive:()=>tD,equateStringsCaseSensitive:()=>EC,equateValues:()=>eD,escapeJsxAttributeString:()=>kH,escapeLeadingUnderscores:()=>Hc,escapeNonAsciiString:()=>CB,escapeSnippetText:()=>HC,escapeString:()=>a0,escapeTemplateSubstitution:()=>AH,evaluatorResult:()=>hl,every:()=>Hn,exclusivelyPrefixedNodeCoreModules:()=>dj,executeCommandLine:()=>hPe,expandPreOrPostfixIncrementOrDecrementExpression:()=>Bj,explainFiles:()=>DY,explainIfFileIsRedirectAndImpliedFormat:()=>bY,exportAssignmentIsAlias:()=>kN,expressionResultIsUnused:()=>F_e,extend:()=>yG,extensionFromPath:()=>eI,extensionIsTS:()=>ij,extensionsNotSupportingExtensionlessResolution:()=>nj,externalHelpersModuleNameText:()=>pD,factory:()=>R,fileExtensionIs:()=>Wc,fileExtensionIsOneOf:()=>vu,fileIncludeReasonToDiagnostics:()=>EY,fileShouldUseJavaScriptRequire:()=>YZ,filter:()=>Rr,filterMutate:()=>wo,filterSemanticDiagnostics:()=>zJ,find:()=>an,findAncestor:()=>Pr,findBestPatternMatch:()=>TG,findChildOfKind:()=>jo,findComputedPropertyNameCacheAssignment:()=>Uj,findConfigFile:()=>VX,findConstructorDeclaration:()=>o5,findContainingList:()=>Dq,findDiagnosticForNode:()=>p0e,findFirstNonJsxWhitespaceToken:()=>Rge,findIndex:()=>ma,findLast:()=>hc,findLastIndex:()=>ic,findListItemInfo:()=>Lge,findModifier:()=>c3,findNextToken:()=>_S,findPackageJson:()=>_0e,findPackageJsons:()=>UZ,findPrecedingMatchingToken:()=>xq,findPrecedingToken:()=>ll,findSuperStatementIndexPath:()=>EJ,findTokenOnLeftOfPosition:()=>nw,findUseStrictPrologue:()=>hQ,first:()=>eo,firstDefined:()=>_r,firstDefinedIterator:()=>Hr,firstIterator:()=>dG,firstOrOnly:()=>HZ,firstOrUndefined:()=>$u,firstOrUndefinedIterator:()=>QR,fixupCompilerOptions:()=>dee,flatMap:()=>Zs,flatMapIterator:()=>By,flatMapToMutable:()=>jp,flatten:()=>Ko,flattenCommaList:()=>ede,flattenDestructuringAssignment:()=>nx,flattenDestructuringBinding:()=>oS,flattenDiagnosticMessageText:()=>xg,forEach:()=>We,forEachAncestor:()=>Ele,forEachAncestorDirectory:()=>e8,forEachAncestorDirectoryStoppingAtGlobalCache:()=>u0,forEachChild:()=>Hs,forEachChildRecursively:()=>BA,forEachDynamicImportOrRequireCall:()=>mj,forEachEmittedFile:()=>OX,forEachEnclosingBlockScopeContainer:()=>jle,forEachEntry:()=>ml,forEachExternalModuleToImportFrom:()=>tee,forEachImportClauseDeclaration:()=>_fe,forEachKey:()=>V0,forEachLeadingCommentRange:()=>F7,forEachNameInAccessChainWalkingLeft:()=>Yfe,forEachNameOfDefaultExport:()=>Xq,forEachOptionsSyntaxByName:()=>LK,forEachProjectReference:()=>lI,forEachPropertyAssignment:()=>t6,forEachResolvedProjectReference:()=>NK,forEachReturnStatement:()=>gD,forEachRight:()=>Ut,forEachTrailingCommentRange:()=>k7,forEachTsConfigPropArray:()=>cN,forEachUnique:()=>NZ,forEachYieldExpression:()=>$le,formatColorAndReset:()=>uS,formatDiagnostic:()=>KX,formatDiagnostics:()=>ewe,formatDiagnosticsWithColorAndContext:()=>lhe,formatGeneratedName:()=>nb,formatGeneratedNamePart:()=>J6,formatLocation:()=>QX,formatMessage:()=>mA,formatStringFromArgs:()=>Y0,formatting:()=>Zu,generateDjb2Hash:()=>X4,generateTSConfig:()=>Sde,getAdjustedReferenceLocation:()=>_Z,getAdjustedRenameLocation:()=>Cq,getAliasDeclarationFromName:()=>gH,getAllAccessorDeclarations:()=>WC,getAllDecoratorsOfClass:()=>xX,getAllDecoratorsOfClassElement:()=>TJ,getAllJSDocTags:()=>CM,getAllJSDocTagsOfKind:()=>G6e,getAllKeys:()=>Kke,getAllProjectOutputs:()=>wJ,getAllSuperTypeNodes:()=>N8,getAllowImportingTsExtensions:()=>s_e,getAllowJSCompilerOption:()=>ED,getAllowSyntheticDefaultImports:()=>hA,getAncestor:()=>z2,getAnyExtensionFromPath:()=>jT,getAreDeclarationMapsEnabled:()=>UB,getAssignedExpandoInitializer:()=>eA,getAssignedName:()=>vM,getAssignmentDeclarationKind:()=>Au,getAssignmentDeclarationPropertyAccessKind:()=>DN,getAssignmentTargetKind:()=>yD,getAutomaticTypeDirectiveNames:()=>lJ,getBaseFileName:()=>Hu,getBinaryOperatorPrecedence:()=>NN,getBuildInfo:()=>JX,getBuildInfoFileVersionMap:()=>lY,getBuildInfoText:()=>Yme,getBuildOrderFromAnyBuildOrder:()=>p9,getBuilderCreationParameters:()=>GJ,getBuilderFileEmit:()=>BD,getCanonicalDiagnostic:()=>Ule,getCheckFlags:()=>nu,getClassExtendsHeritageElement:()=>jC,getClassLikeDeclarationOfSymbol:()=>G1,getCombinedLocalAndExportSymbolFlags:()=>m6,getCombinedModifierFlags:()=>P2,getCombinedNodeFlags:()=>B1,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>_$,getCommentRange:()=>gg,getCommonSourceDirectory:()=>$I,getCommonSourceDirectoryOfConfig:()=>ix,getCompilerOptionValue:()=>$B,getConditions:()=>OD,getConfigFileParsingDiagnostics:()=>lS,getConstantValue:()=>Y_e,getContainerFlags:()=>sX,getContainerNode:()=>ox,getContainingClass:()=>zl,getContainingClassExcludingClassDecorators:()=>nB,getContainingClassStaticBlock:()=>tfe,getContainingFunction:()=>nd,getContainingFunctionDeclaration:()=>efe,getContainingFunctionOrClassStaticBlock:()=>rB,getContainingNodeArray:()=>k_e,getContainingObjectLiteralElement:()=>G9,getContextualTypeFromParent:()=>Mq,getContextualTypeFromParentOrAncestorTypeNode:()=>bq,getDeclarationDiagnostics:()=>$me,getDeclarationEmitExtensionForPath:()=>xB,getDeclarationEmitOutputFilePath:()=>Afe,getDeclarationEmitOutputFilePathWorker:()=>EB,getDeclarationFileExtension:()=>Gj,getDeclarationFromName:()=>P8,getDeclarationModifierFlagsFromSymbol:()=>Bd,getDeclarationOfKind:()=>xc,getDeclarationsOfKind:()=>Cle,getDeclaredExpandoInitializer:()=>F8,getDecorators:()=>aD,getDefaultCompilerOptions:()=>pz,getDefaultFormatCodeSettings:()=>fq,getDefaultLibFileName:()=>w7,getDefaultLibFilePath:()=>Z1e,getDefaultLikeExportInfo:()=>Qq,getDefaultLikeExportNameFromDeclaration:()=>KZ,getDefaultResolutionModeForFileWorker:()=>qJ,getDiagnosticText:()=>P_,getDiagnosticsWithinSpan:()=>d0e,getDirectoryPath:()=>gi,getDirectoryToWatchFailedLookupLocation:()=>dY,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>Lhe,getDocumentPositionMapper:()=>uee,getDocumentSpansEqualityComparer:()=>PZ,getESModuleInterop:()=>mg,getEditsForFileRename:()=>E0e,getEffectiveBaseTypeNode:()=>bh,getEffectiveConstraintOfTypeParameter:()=>Wk,getEffectiveContainerForJSDocTemplateTag:()=>mB,getEffectiveImplementsTypeNodes:()=>c6,getEffectiveInitializer:()=>gN,getEffectiveJSDocHost:()=>q2,getEffectiveModifierFlags:()=>hf,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>Rfe,getEffectiveModifierFlagsNoCache:()=>Mfe,getEffectiveReturnTypeNode:()=>dp,getEffectiveSetAccessorTypeAnnotationNode:()=>MH,getEffectiveTypeAnnotationNode:()=>Ku,getEffectiveTypeParameterDeclarations:()=>oD,getEffectiveTypeRoots:()=>PI,getElementOrPropertyAccessArgumentExpressionOrName:()=>dB,getElementOrPropertyAccessName:()=>q1,getElementsOfBindingOrAssignmentPattern:()=>j6,getEmitDeclarations:()=>G_,getEmitFlags:()=>to,getEmitHelpers:()=>qK,getEmitModuleDetectionKind:()=>a_e,getEmitModuleFormatOfFileWorker:()=>XI,getEmitModuleKind:()=>Qf,getEmitModuleResolutionKind:()=>Pf,getEmitScriptTarget:()=>Va,getEmitStandardClassFields:()=>aK,getEnclosingBlockScopeContainer:()=>Dh,getEnclosingContainer:()=>HM,getEncodedSemanticClassifications:()=>ree,getEncodedSyntacticClassifications:()=>nee,getEndLinePosition:()=>Y7,getEntityNameFromTypeNode:()=>fN,getEntrypointsFromPackageJsonInfo:()=>eX,getErrorCountForSummary:()=>KJ,getErrorSpanForNode:()=>EE,getErrorSummaryText:()=>yY,getEscapedTextOfIdentifierOrLiteral:()=>R8,getEscapedTextOfJsxAttributeName:()=>cI,getEscapedTextOfJsxNamespacedName:()=>DA,getExpandoInitializer:()=>j2,getExportAssignmentExpression:()=>yH,getExportInfoMap:()=>B9,getExportNeedsImportStarHelper:()=>dme,getExpressionAssociativity:()=>xH,getExpressionPrecedence:()=>B8,getExternalHelpersModuleName:()=>x5,getExternalModuleImportEqualsDeclarationExpression:()=>x8,getExternalModuleName:()=>rA,getExternalModuleNameFromDeclaration:()=>xfe,getExternalModuleNameFromPath:()=>PH,getExternalModuleNameLiteral:()=>MA,getExternalModuleRequireArgument:()=>oH,getFallbackOptions:()=>s9,getFileEmitOutput:()=>mhe,getFileMatcherPatterns:()=>YB,getFileNamesFromConfigSpecs:()=>II,getFileWatcherEventKind:()=>YG,getFilesInErrorForSummary:()=>QJ,getFirstConstructorWithBody:()=>Q0,getFirstIdentifier:()=>c_,getFirstNonSpaceCharacterPosition:()=>a0e,getFirstProjectOutput:()=>MX,getFixableErrorSpanExpression:()=>GZ,getFormatCodeSettingsForWriting:()=>$q,getFullWidth:()=>Q7,getFunctionFlags:()=>Pu,getHeritageClause:()=>IN,getHostSignatureFromJSDoc:()=>J2,getIdentifierAutoGenerate:()=>G3e,getIdentifierGeneratedImportReference:()=>ipe,getIdentifierTypeArguments:()=>jE,getImmediatelyInvokedFunctionExpression:()=>M2,getImpliedNodeFormatForEmitWorker:()=>sx,getImpliedNodeFormatForFile:()=>o9,getImpliedNodeFormatForFileWorker:()=>JJ,getImportNeedsImportDefaultHelper:()=>CX,getImportNeedsImportStarHelper:()=>CJ,getIndentString:()=>SB,getInferredLibraryNameResolveFrom:()=>jJ,getInitializedVariables:()=>G8,getInitializerOfBinaryExpression:()=>fH,getInitializerOfBindingOrAssignmentElement:()=>A5,getInterfaceBaseTypeNodes:()=>O8,getInternalEmitFlags:()=>Vm,getInvokedExpression:()=>aB,getIsFileExcluded:()=>v0e,getIsolatedModules:()=>vm,getJSDocAugmentsTag:()=>Vue,getJSDocClassTag:()=>m$,getJSDocCommentRanges:()=>rH,getJSDocCommentsAndTags:()=>_H,getJSDocDeprecatedTag:()=>h$,getJSDocDeprecatedTagNoCache:()=>Yue,getJSDocEnumTag:()=>g$,getJSDocHost:()=>MC,getJSDocImplementsTags:()=>Gue,getJSDocOverloadTags:()=>dH,getJSDocOverrideTagNoCache:()=>Xue,getJSDocParameterTags:()=>zk,getJSDocParameterTagsNoCache:()=>que,getJSDocPrivateTag:()=>z6e,getJSDocPrivateTagNoCache:()=>Hue,getJSDocProtectedTag:()=>W6e,getJSDocProtectedTagNoCache:()=>Kue,getJSDocPublicTag:()=>q6e,getJSDocPublicTagNoCache:()=>$ue,getJSDocReadonlyTag:()=>U6e,getJSDocReadonlyTagNoCache:()=>Que,getJSDocReturnTag:()=>Zue,getJSDocReturnType:()=>M7,getJSDocRoot:()=>o6,getJSDocSatisfiesExpressionType:()=>TK,getJSDocSatisfiesTag:()=>y$,getJSDocTags:()=>O2,getJSDocTemplateTag:()=>V6e,getJSDocThisTag:()=>DM,getJSDocType:()=>Jy,getJSDocTypeAliasName:()=>vQ,getJSDocTypeAssertionType:()=>M6,getJSDocTypeParameterDeclarations:()=>IB,getJSDocTypeParameterTags:()=>zue,getJSDocTypeParameterTagsNoCache:()=>Wue,getJSDocTypeTag:()=>N2,getJSXImplicitImportBase:()=>XN,getJSXRuntimeImport:()=>KB,getJSXTransformEnabled:()=>HB,getKeyForCompilerOptions:()=>KQ,getLanguageVariant:()=>VN,getLastChild:()=>ZH,getLeadingCommentRanges:()=>J0,getLeadingCommentRangesOfNode:()=>tH,getLeftmostAccessExpression:()=>h6,getLeftmostExpression:()=>g6,getLibFileNameFromLibReference:()=>PK,getLibNameFromLibReference:()=>wK,getLibraryNameFromLibFileName:()=>eY,getLineAndCharacterOfPosition:()=>la,getLineInfo:()=>vX,getLineOfLocalPosition:()=>J8,getLineStartPositionForPosition:()=>Em,getLineStarts:()=>B0,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Kfe,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Hfe,getLinesBetweenPositions:()=>r8,getLinesBetweenRangeEndAndRangeStart:()=>HH,getLinesBetweenRangeEndPositions:()=>b3e,getLiteralText:()=>Ple,getLocalNameForExternalImport:()=>B6,getLocalSymbolForExportDefault:()=>U8,getLocaleSpecificMessage:()=>Gs,getLocaleTimeString:()=>_9,getMappedContextSpan:()=>OZ,getMappedDocumentSpan:()=>Oq,getMappedLocation:()=>ow,getMatchedFileSpec:()=>CY,getMatchedIncludeSpec:()=>SY,getMeaningFromDeclaration:()=>pq,getMeaningFromLocation:()=>ax,getMembersOfDeclaration:()=>Hle,getModeForFileReference:()=>fhe,getModeForResolutionAtIndex:()=>awe,getModeForUsageLocation:()=>YX,getModifiedTime:()=>BT,getModifiers:()=>TC,getModuleInstanceState:()=>X1,getModuleNameStringLiteralAt:()=>u9,getModuleSpecifierEndingPreference:()=>v_e,getModuleSpecifierResolverHost:()=>xZ,getNameForExportedSymbol:()=>Uq,getNameFromImportAttribute:()=>fj,getNameFromIndexInfo:()=>Jle,getNameFromPropertyName:()=>A9,getNameOfAccessExpression:()=>tK,getNameOfCompilerOptionValue:()=>tJ,getNameOfDeclaration:()=>Ls,getNameOfExpando:()=>cH,getNameOfJSDocTypedef:()=>Jue,getNameOfScriptTarget:()=>GB,getNameOrArgument:()=>vN,getNameTable:()=>jee,getNamespaceDeclarationNode:()=>s6,getNewLineCharacter:()=>$y,getNewLineKind:()=>M9,getNewLineOrDefaultFromHost:()=>Z1,getNewTargetContainer:()=>nfe,getNextJSDocCommentLocation:()=>pH,getNodeChildren:()=>lQ,getNodeForGeneratedName:()=>k5,getNodeId:()=>ho,getNodeKind:()=>fS,getNodeModifiers:()=>iw,getNodeModulePathParts:()=>cj,getNonAssignedNameOfDeclaration:()=>yM,getNonAssignmentOperatorForCompoundAssignment:()=>JI,getNonAugmentationDeclaration:()=>H$,getNonDecoratorTokenPosOfNode:()=>z$,getNonIncrementalBuildInfoRoots:()=>Ihe,getNonModifierTokenPosOfNode:()=>Ile,getNormalizedAbsolutePath:()=>vs,getNormalizedAbsolutePathWithoutRoot:()=>r$,getNormalizedPathComponents:()=>lM,getObjectFlags:()=>ei,getOperatorAssociativity:()=>TH,getOperatorPrecedence:()=>PN,getOptionFromName:()=>LQ,getOptionsForLibraryResolution:()=>QQ,getOptionsNameMap:()=>z6,getOptionsSyntaxByArrayElementValue:()=>OK,getOptionsSyntaxByValue:()=>q_e,getOrCreateEmitNode:()=>yf,getOrUpdate:()=>fu,getOriginalNode:()=>Bc,getOriginalNodeId:()=>p_,getOutputDeclarationFileName:()=>GI,getOutputDeclarationFileNameWorker:()=>LX,getOutputExtension:()=>r9,getOutputFileNames:()=>YIe,getOutputJSFileNameWorker:()=>RX,getOutputPathsFor:()=>VI,getOwnEmitOutputFilePath:()=>Tfe,getOwnKeys:()=>rg,getOwnValues:()=>OT,getPackageJsonTypesVersionsPaths:()=>uJ,getPackageNameFromTypesPackageName:()=>RI,getPackageScopeForPath:()=>LI,getParameterSymbolFromJSDoc:()=>TN,getParentNodeInSpan:()=>k9,getParseTreeNode:()=>Vs,getParsedCommandLineOfConfigFile:()=>L5,getPathComponents:()=>mf,getPathFromPathComponents:()=>w2,getPathUpdater:()=>aee,getPathsBasePath:()=>TB,getPatternFromSpec:()=>fK,getPendingEmitKindWithSeen:()=>VJ,getPositionOfLineAndCharacter:()=>T7,getPossibleGenericSignatures:()=>dZ,getPossibleOriginalInputExtensionForExtension:()=>NH,getPossibleOriginalInputPathWithoutChangingExt:()=>OH,getPossibleTypeArgumentsInfo:()=>mZ,getPreEmitDiagnostics:()=>ZIe,getPrecedingNonSpaceCharacterPosition:()=>Lq,getPrivateIdentifier:()=>TX,getProperties:()=>EX,getProperty:()=>g7,getPropertyAssignmentAliasLikeExpression:()=>vfe,getPropertyNameForPropertyNameNode:()=>PE,getPropertyNameFromType:()=>Jd,getPropertyNameOfBindingOrAssignmentElement:()=>yQ,getPropertySymbolFromBindingElement:()=>Nq,getPropertySymbolsFromContextualType:()=>mz,getQuoteFromPreference:()=>AZ,getQuotePreference:()=>bp,getRangesWhere:()=>Qg,getRefactorContextSpan:()=>YA,getReferencedFileLocation:()=>QI,getRegexFromPattern:()=>Hy,getRegularExpressionForWildcard:()=>X8,getRegularExpressionsForWildcards:()=>QB,getRelativePathFromDirectory:()=>rd,getRelativePathFromFile:()=>Bk,getRelativePathToDirectoryOrUrl:()=>qT,getRenameLocation:()=>w9,getReplacementSpanForContextToken:()=>vZ,getResolutionDiagnostic:()=>iY,getResolutionModeOverride:()=>X6,getResolveJsonModule:()=>VC,getResolvePackageJsonExports:()=>$N,getResolvePackageJsonImports:()=>HN,getResolvedExternalModuleName:()=>wH,getResolvedModuleFromResolution:()=>QT,getResolvedTypeReferenceDirectiveFromResolution:()=>JM,getRestIndicatorOfBindingOrAssignmentElement:()=>qj,getRestParameterElementType:()=>nH,getRightMostAssignedExpression:()=>yN,getRootDeclaration:()=>fg,getRootDirectoryOfResolutionCache:()=>Rhe,getRootLength:()=>gh,getScriptKind:()=>BZ,getScriptKindFromFileName:()=>ej,getScriptTargetFeatures:()=>W$,getSelectedEffectiveModifierFlags:()=>cA,getSelectedSyntacticModifierFlags:()=>Ofe,getSemanticClassifications:()=>D0e,getSemanticJsxChildren:()=>l6,getSetAccessorTypeAnnotationNode:()=>kfe,getSetAccessorValueParameter:()=>q8,getSetExternalModuleIndicator:()=>GN,getShebang:()=>hM,getSingleVariableOfVariableStatement:()=>sA,getSnapshotText:()=>XA,getSnippetElement:()=>zK,getSourceFileOfModule:()=>X7,getSourceFileOfNode:()=>zr,getSourceFilePathInNewDir:()=>FB,getSourceFileVersionAsHashFromText:()=>YJ,getSourceFilesToEmit:()=>AB,getSourceMapRange:()=>Xy,getSourceMapper:()=>R0e,getSourceTextOfNodeFromSourceFile:()=>wC,getSpanOfTokenAtPosition:()=>og,getSpellingSuggestion:()=>xC,getStartPositionOfLine:()=>dD,getStartPositionOfRange:()=>V8,getStartsOnNewLine:()=>fI,getStaticPropertiesAndClassStaticBlock:()=>xJ,getStrictOptionValue:()=>gf,getStringComparer:()=>Nk,getSubPatternFromSpec:()=>XB,getSuperCallFromStatement:()=>SJ,getSuperContainer:()=>uN,getSupportedCodeFixes:()=>Mee,getSupportedExtensions:()=>Y8,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>ZN,getSwitchedType:()=>qZ,getSymbolId:()=>Sa,getSymbolNameForPrivateIdentifier:()=>wN,getSymbolTarget:()=>jZ,getSyntacticClassifications:()=>b0e,getSyntacticModifierFlags:()=>Vy,getSyntacticModifierFlagsNoCache:()=>JH,getSynthesizedDeepClone:()=>Fo,getSynthesizedDeepCloneWithReplacements:()=>c5,getSynthesizedDeepClones:()=>KC,getSynthesizedDeepClonesWithReplacements:()=>RK,getSyntheticLeadingComments:()=>S6,getSyntheticTrailingComments:()=>p5,getTargetLabel:()=>hq,getTargetOfBindingOrAssignmentElement:()=>PD,getTemporaryModuleResolutionState:()=>OI,getTextOfConstantValue:()=>Nle,getTextOfIdentifierOrLiteral:()=>Ld,getTextOfJSDocComment:()=>B7,getTextOfJsxAttributeName:()=>a5,getTextOfJsxNamespacedName:()=>uI,getTextOfNode:()=>Uc,getTextOfNodeFromSourceText:()=>v8,getTextOfPropertyName:()=>ZT,getThisContainer:()=>Kf,getThisParameter:()=>qC,getTokenAtPosition:()=>Wi,getTokenPosOfNode:()=>mD,getTokenSourceMapRange:()=>U3e,getTouchingPropertyName:()=>N_,getTouchingToken:()=>a3,getTrailingCommentRanges:()=>sD,getTrailingSemicolonDeferringWriter:()=>IH,getTransformers:()=>Kme,getTsBuildInfoEmitOutputFilePath:()=>ub,getTsConfigObjectLiteralExpression:()=>S8,getTsConfigPropArrayElementValue:()=>tB,getTypeAnnotationNode:()=>Ife,getTypeArgumentOrTypeParameterList:()=>Wge,getTypeKeywordOfTypeOnlyImport:()=>IZ,getTypeNode:()=>rpe,getTypeNodeIfAccessible:()=>_w,getTypeParameterFromJsDoc:()=>pfe,getTypeParameterOwner:()=>M6e,getTypesPackageName:()=>hJ,getUILocale:()=>Voe,getUniqueName:()=>ux,getUniqueSymbolId:()=>s0e,getUseDefineForClassFields:()=>KN,getWatchErrorSummaryDiagnosticMessage:()=>gY,getWatchFactory:()=>UX,group:()=>Pk,groupBy:()=>gG,guessIndentation:()=>vle,handleNoEmitOptions:()=>nY,handleWatchOptionsConfigDirTemplateSubstitution:()=>nJ,hasAbstractModifier:()=>UC,hasAccessorModifier:()=>_g,hasAmbientModifier:()=>jH,hasChangesInResolutions:()=>j$,hasContextSensitiveParameters:()=>oj,hasDecorators:()=>sd,hasDocComment:()=>qge,hasDynamicName:()=>z1,hasEffectiveModifier:()=>mp,hasEffectiveModifiers:()=>BH,hasEffectiveReadonlyModifier:()=>OE,hasExtension:()=>Mk,hasImplementationTSFileExtension:()=>g_e,hasIndexSignature:()=>JZ,hasInferredType:()=>pj,hasInitializer:()=>zy,hasInvalidEscape:()=>FH,hasJSDocNodes:()=>Wp,hasJSDocParameterTags:()=>Uue,hasJSFileExtension:()=>Z0,hasJsonModuleEmitEnabled:()=>VB,hasOnlyExpressionInitializer:()=>CE,hasOverrideModifier:()=>wB,hasPossibleExternalModuleReference:()=>Ble,hasProperty:()=>Uo,hasPropertyAccessExpressionWithName:()=>v9,hasQuestionToken:()=>nA,hasRecordedExternalHelpers:()=>zpe,hasResolutionModeOverride:()=>O_e,hasRestParameter:()=>O$,hasScopeMarker:()=>lle,hasStaticModifier:()=>sl,hasSyntacticModifier:()=>yi,hasSyntacticModifiers:()=>Nfe,hasTSFileExtension:()=>RE,hasTabstop:()=>w_e,hasTrailingDirectorySeparator:()=>nD,hasType:()=>LM,hasTypeArguments:()=>f3e,hasZeroOrOneAsteriskCharacter:()=>oK,hostGetCanonicalFileName:()=>W1,hostUsesCaseSensitiveFileNames:()=>NE,idText:()=>Zn,identifierIsThisKeyword:()=>RH,identifierToKeywordKind:()=>hE,identity:()=>sc,identitySourceMapConsumer:()=>bX,ignoreSourceNewlines:()=>UK,ignoredPaths:()=>oM,importFromModuleSpecifier:()=>I8,importSyntaxAffectsModuleResolution:()=>sK,indexOfAnyCharCode:()=>Os,indexOfNode:()=>Qk,indicesOf:()=>qs,inferredTypesContainingFile:()=>KI,injectClassNamedEvaluationHelperBlockIfMissing:()=>kJ,injectClassThisAssignmentIfMissing:()=>Cme,insertImports:()=>kZ,insertSorted:()=>Yl,insertStatementAfterCustomPrologue:()=>SE,insertStatementAfterStandardPrologue:()=>i3e,insertStatementsAfterCustomPrologue:()=>J$,insertStatementsAfterStandardPrologue:()=>G0,intersperse:()=>us,intrinsicTagNameToString:()=>AK,introducesArgumentsExoticObject:()=>Xle,inverseJsxOptionMap:()=>N5,isAbstractConstructorSymbol:()=>Qfe,isAbstractModifier:()=>dpe,isAccessExpression:()=>_c,isAccessibilityModifier:()=>gZ,isAccessor:()=>fD,isAccessorModifier:()=>QK,isAliasableExpression:()=>hB,isAmbientModule:()=>Hf,isAmbientPropertyDeclaration:()=>Q$,isAnyDirectorySeparator:()=>ZG,isAnyImportOrBareOrAccessedRequire:()=>Rle,isAnyImportOrReExport:()=>tN,isAnyImportOrRequireStatement:()=>Mle,isAnyImportSyntax:()=>YT,isAnySupportedFileExtension:()=>L3e,isApplicableVersionedTypesKey:()=>W5,isArgumentExpressionOfElementAccess:()=>aZ,isArray:()=>ks,isArrayBindingElement:()=>kM,isArrayBindingOrAssignmentElement:()=>U7,isArrayBindingOrAssignmentPattern:()=>F$,isArrayBindingPattern:()=>tv,isArrayLiteralExpression:()=>sf,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>iv,isArrayTypeNode:()=>g5,isArrowFunction:()=>pc,isAsExpression:()=>F6,isAssertClause:()=>Cpe,isAssertEntry:()=>t4e,isAssertionExpression:()=>IC,isAssertsKeyword:()=>_pe,isAssignmentDeclaration:()=>A8,isAssignmentExpression:()=>kl,isAssignmentOperator:()=>U1,isAssignmentPattern:()=>m8,isAssignmentTarget:()=>vD,isAsteriskToken:()=>m5,isAsyncFunction:()=>L8,isAsyncModifier:()=>dI,isAutoAccessorPropertyDeclaration:()=>x_,isAwaitExpression:()=>ID,isAwaitKeyword:()=>KK,isBigIntLiteral:()=>E6,isBinaryExpression:()=>Pn,isBinaryLogicalOperator:()=>MN,isBinaryOperatorToken:()=>Qpe,isBindableObjectDefinePropertyCall:()=>FE,isBindableStaticAccessExpression:()=>RC,isBindableStaticElementAccessExpression:()=>pB,isBindableStaticNameExpression:()=>kE,isBindingElement:()=>Ka,isBindingElementOfBareOrAccessedRequire:()=>afe,isBindingName:()=>DE,isBindingOrAssignmentElement:()=>ale,isBindingOrAssignmentPattern:()=>z7,isBindingPattern:()=>ea,isBlock:()=>ra,isBlockLike:()=>ZA,isBlockOrCatchScoped:()=>U$,isBlockScope:()=>X$,isBlockScopedContainerTopLevel:()=>Lle,isBooleanLiteral:()=>d8,isBreakOrContinueStatement:()=>l8,isBreakStatement:()=>Y3e,isBuildCommand:()=>ige,isBuildInfoFile:()=>Qme,isBuilderProgram:()=>vY,isBundle:()=>Tpe,isCallChain:()=>gE,isCallExpression:()=>ta,isCallExpressionTarget:()=>eZ,isCallLikeExpression:()=>kC,isCallLikeOrFunctionLikeExpression:()=>k$,isCallOrNewExpression:()=>sg,isCallOrNewExpressionTarget:()=>tZ,isCallSignatureDeclaration:()=>FA,isCallToHelper:()=>pI,isCaseBlock:()=>bI,isCaseClause:()=>P6,isCaseKeyword:()=>hpe,isCaseOrDefaultClause:()=>NM,isCatchClause:()=>rS,isCatchClauseVariableDeclaration:()=>I_e,isCatchClauseVariableDeclarationOrBindingElement:()=>V$,isCheckJsEnabledForFile:()=>tI,isCircularBuildOrder:()=>KA,isClassDeclaration:()=>Xu,isClassElement:()=>zu,isClassExpression:()=>Nu,isClassInstanceProperty:()=>ile,isClassLike:()=>vi,isClassMemberModifier:()=>x$,isClassNamedEvaluationHelperBlock:()=>GA,isClassOrTypeElement:()=>FM,isClassStaticBlockDeclaration:()=>Du,isClassThisAssignmentBlock:()=>zI,isColonToken:()=>lpe,isCommaExpression:()=>E5,isCommaListExpression:()=>vI,isCommaSequence:()=>TI,isCommaToken:()=>upe,isComment:()=>Tq,isCommonJsExportPropertyAssignment:()=>ZM,isCommonJsExportedExpression:()=>Kle,isCompoundAssignment:()=>jI,isComputedNonLiteralName:()=>rN,isComputedPropertyName:()=>Da,isConciseBody:()=>wM,isConditionalExpression:()=>UE,isConditionalTypeNode:()=>XC,isConstAssertion:()=>FK,isConstTypeReference:()=>Wm,isConstructSignatureDeclaration:()=>gI,isConstructorDeclaration:()=>Qc,isConstructorTypeNode:()=>x6,isContextualKeyword:()=>yB,isContinueStatement:()=>X3e,isCustomPrologue:()=>oN,isDebuggerStatement:()=>Z3e,isDeclaration:()=>Al,isDeclarationBindingElement:()=>q7,isDeclarationFileName:()=>wl,isDeclarationName:()=>s0,isDeclarationNameOfEnumOrNamespace:()=>QH,isDeclarationReadonly:()=>iN,isDeclarationStatement:()=>dle,isDeclarationWithTypeParameterChildren:()=>Z$,isDeclarationWithTypeParameters:()=>Y$,isDecorator:()=>ol,isDecoratorTarget:()=>Ige,isDefaultClause:()=>CI,isDefaultImport:()=>IE,isDefaultModifier:()=>xj,isDefaultedExpandoInitializer:()=>ofe,isDeleteExpression:()=>ype,isDeleteTarget:()=>hH,isDeprecatedDeclaration:()=>Vq,isDestructuringAssignment:()=>Gy,isDiskPathRoot:()=>e$,isDoStatement:()=>Q3e,isDocumentRegistryEntry:()=>j9,isDotDotDotToken:()=>Sj,isDottedName:()=>jN,isDynamicName:()=>DB,isEffectiveExternalModule:()=>Xk,isEffectiveStrictModeSourceFile:()=>K$,isElementAccessChain:()=>v$,isElementAccessExpression:()=>ec,isEmittedFileOfProgram:()=>nhe,isEmptyArrayLiteral:()=>qfe,isEmptyBindingElement:()=>Mue,isEmptyBindingPattern:()=>Rue,isEmptyObjectLiteral:()=>VH,isEmptyStatement:()=>ZK,isEmptyStringLiteral:()=>aH,isEntityName:()=>a_,isEntityNameExpression:()=>Vo,isEnumConst:()=>R2,isEnumDeclaration:()=>Z2,isEnumMember:()=>K1,isEqualityOperatorKind:()=>Bq,isEqualsGreaterThanToken:()=>fpe,isExclamationToken:()=>h5,isExcludedFile:()=>xde,isExclusivelyTypeOnlyImportOrExport:()=>XX,isExpandoPropertyDeclaration:()=>bA,isExportAssignment:()=>Ac,isExportDeclaration:()=>Lu,isExportModifier:()=>TA,isExportName:()=>jj,isExportNamespaceAsDefaultDeclaration:()=>VM,isExportOrDefaultModifier:()=>F5,isExportSpecifier:()=>Nf,isExportsIdentifier:()=>AE,isExportsOrModuleExportsOrAlias:()=>sS,isExpression:()=>xt,isExpressionNode:()=>i0,isExpressionOfExternalModuleImportEqualsDeclaration:()=>Nge,isExpressionOfOptionalChainRoot:()=>EM,isExpressionStatement:()=>Il,isExpressionWithTypeArguments:()=>$1,isExpressionWithTypeArgumentsInClassExtendsClause:()=>NB,isExternalModule:()=>ul,isExternalModuleAugmentation:()=>NC,isExternalModuleImportEqualsDeclaration:()=>B2,isExternalModuleIndicator:()=>G7,isExternalModuleNameRelative:()=>xl,isExternalModuleReference:()=>H1,isExternalModuleSymbol:()=>HT,isExternalOrCommonJsModule:()=>_p,isFileLevelReservedGeneratedIdentifier:()=>J7,isFileLevelUniqueName:()=>WM,isFileProbablyExternalModule:()=>w5,isFirstDeclarationOfSymbolParameter:()=>LZ,isFixablePromiseHandler:()=>_ee,isForInOrOfStatement:()=>bE,isForInStatement:()=>Ij,isForInitializer:()=>Pd,isForOfStatement:()=>v5,isForStatement:()=>Y2,isFullSourceFile:()=>H0,isFunctionBlock:()=>OC,isFunctionBody:()=>w$,isFunctionDeclaration:()=>bu,isFunctionExpression:()=>oc,isFunctionExpressionOrArrowFunction:()=>xD,isFunctionLike:()=>Xs,isFunctionLikeDeclaration:()=>$o,isFunctionLikeKind:()=>UT,isFunctionLikeOrClassStaticBlockDeclaration:()=>Gk,isFunctionOrConstructorTypeNode:()=>sle,isFunctionOrModuleBlock:()=>T$,isFunctionSymbol:()=>lfe,isFunctionTypeNode:()=>o0,isGeneratedIdentifier:()=>Pc,isGeneratedPrivateIdentifier:()=>vE,isGetAccessor:()=>W0,isGetAccessorDeclaration:()=>qd,isGetOrSetAccessorDeclaration:()=>j7,isGlobalScopeAugmentation:()=>n0,isGlobalSourceFile:()=>Wy,isGrammarError:()=>Fle,isHeritageClause:()=>yp,isHoistedFunction:()=>XM,isHoistedVariableStatement:()=>YM,isIdentifier:()=>Ke,isIdentifierANonContextualKeyword:()=>bH,isIdentifierName:()=>yfe,isIdentifierOrThisTypeNode:()=>Gpe,isIdentifierPart:()=>M1,isIdentifierStart:()=>Zg,isIdentifierText:()=>W_,isIdentifierTypePredicate:()=>Yle,isIdentifierTypeReference:()=>x_e,isIfStatement:()=>X2,isIgnoredFileFromWildCardWatching:()=>i9,isImplicitGlob:()=>lK,isImportAttribute:()=>Spe,isImportAttributeName:()=>nle,isImportAttributes:()=>$E,isImportCall:()=>A_,isImportClause:()=>Km,isImportDeclaration:()=>jc,isImportEqualsDeclaration:()=>cl,isImportKeyword:()=>hI,isImportMeta:()=>e6,isImportOrExportSpecifier:()=>uD,isImportOrExportSpecifierName:()=>i0e,isImportSpecifier:()=>Zf,isImportTypeAssertionContainer:()=>e4e,isImportTypeNode:()=>yg,isImportable:()=>eee,isInComment:()=>nv,isInCompoundLikeAssignment:()=>mH,isInExpressionContext:()=>oB,isInJSDoc:()=>T8,isInJSFile:()=>An,isInJSXText:()=>Jge,isInJsonFile:()=>uB,isInNonReferenceComment:()=>Gge,isInReferenceComment:()=>Vge,isInRightSideOfInternalImportEqualsDeclaration:()=>dq,isInString:()=>QA,isInTemplateString:()=>pZ,isInTopLevelContext:()=>iB,isInTypeQuery:()=>oA,isIncrementalBuildInfo:()=>l9,isIncrementalBundleEmitBuildInfo:()=>Ehe,isIncrementalCompilation:()=>GC,isIndexSignatureDeclaration:()=>kD,isIndexedAccessTypeNode:()=>YC,isInferTypeNode:()=>qE,isInfinityOrNaNString:()=>aI,isInitializedProperty:()=>H5,isInitializedVariable:()=>UN,isInsideJsxElement:()=>Eq,isInsideJsxElementOrAttribute:()=>jge,isInsideNodeModules:()=>O9,isInsideTemplateLiteral:()=>E9,isInstanceOfExpression:()=>OB,isInstantiatedModule:()=>dX,isInterfaceDeclaration:()=>Ul,isInternalDeclaration:()=>Dle,isInternalModuleImportEqualsDeclaration:()=>TE,isInternalName:()=>mQ,isIntersectionTypeNode:()=>wA,isIntrinsicJsxName:()=>f6,isIterationStatement:()=>_D,isJSDoc:()=>Ah,isJSDocAllType:()=>kpe,isJSDocAugmentsTag:()=>RA,isJSDocAuthorTag:()=>s4e,isJSDocCallbackTag:()=>nQ,isJSDocClassTag:()=>wpe,isJSDocCommentContainingNode:()=>OM,isJSDocConstructSignature:()=>iA,isJSDocDeprecatedTag:()=>cQ,isJSDocEnumTag:()=>b5,isJSDocFunctionType:()=>O6,isJSDocImplementsTag:()=>Rj,isJSDocImportTag:()=>Sg,isJSDocIndexSignature:()=>fB,isJSDocLikeText:()=>EQ,isJSDocLink:()=>Ape,isJSDocLinkCode:()=>Fpe,isJSDocLinkLike:()=>$T,isJSDocLinkPlain:()=>n4e,isJSDocMemberName:()=>rb,isJSDocNameReference:()=>SI,isJSDocNamepathType:()=>i4e,isJSDocNamespaceBody:()=>X6e,isJSDocNode:()=>$k,isJSDocNonNullableType:()=>Pj,isJSDocNullableType:()=>N6,isJSDocOptionalParameter:()=>uj,isJSDocOptionalType:()=>rQ,isJSDocOverloadTag:()=>L6,isJSDocOverrideTag:()=>Oj,isJSDocParameterTag:()=>od,isJSDocPrivateTag:()=>sQ,isJSDocPropertyLikeTag:()=>f8,isJSDocPropertyTag:()=>Ppe,isJSDocProtectedTag:()=>aQ,isJSDocPublicTag:()=>iQ,isJSDocReadonlyTag:()=>oQ,isJSDocReturnTag:()=>Lj,isJSDocSatisfiesExpression:()=>xK,isJSDocSatisfiesTag:()=>Mj,isJSDocSeeTag:()=>a4e,isJSDocSignature:()=>rv,isJSDocTag:()=>Hk,isJSDocTemplateTag:()=>bm,isJSDocThisTag:()=>uQ,isJSDocThrowsTag:()=>c4e,isJSDocTypeAlias:()=>hm,isJSDocTypeAssertion:()=>nS,isJSDocTypeExpression:()=>tb,isJSDocTypeLiteral:()=>KE,isJSDocTypeTag:()=>EI,isJSDocTypedefTag:()=>QE,isJSDocUnknownTag:()=>o4e,isJSDocUnknownType:()=>Ipe,isJSDocVariadicType:()=>Nj,isJSXTagName:()=>n6,isJsonEqual:()=>sj,isJsonSourceFile:()=>Od,isJsxAttribute:()=>Cg,isJsxAttributeLike:()=>PM,isJsxAttributeName:()=>N_e,isJsxAttributes:()=>tS,isJsxCallLike:()=>yle,isJsxChild:()=>K7,isJsxClosingElement:()=>eS,isJsxClosingFragment:()=>xpe,isJsxElement:()=>bg,isJsxExpression:()=>w6,isJsxFragment:()=>eb,isJsxNamespacedName:()=>Th,isJsxOpeningElement:()=>xh,isJsxOpeningFragment:()=>Qm,isJsxOpeningLikeElement:()=>wf,isJsxOpeningLikeElementTagName:()=>wge,isJsxSelfClosingElement:()=>HE,isJsxSpreadAttribute:()=>LA,isJsxTagNameExpression:()=>h8,isJsxText:()=>EA,isJumpStatementTarget:()=>D9,isKeyword:()=>k_,isKeywordOrPunctuation:()=>gB,isKnownSymbol:()=>M8,isLabelName:()=>iZ,isLabelOfLabeledStatement:()=>nZ,isLabeledStatement:()=>wD,isLateVisibilityPaintedStatement:()=>$M,isLeftHandSideExpression:()=>T_,isLet:()=>QM,isLineBreak:()=>Ff,isLiteralComputedPropertyDeclarationName:()=>FN,isLiteralExpression:()=>yE,isLiteralExpressionOfObject:()=>S$,isLiteralImportTypeNode:()=>J1,isLiteralKind:()=>_8,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>gq,isLiteralTypeLiteral:()=>ule,isLiteralTypeNode:()=>ev,isLocalName:()=>Q1,isLogicalOperator:()=>Bfe,isLogicalOrCoalescingAssignmentExpression:()=>qH,isLogicalOrCoalescingAssignmentOperator:()=>z8,isLogicalOrCoalescingBinaryExpression:()=>BN,isLogicalOrCoalescingBinaryOperator:()=>PB,isMappedTypeNode:()=>WE,isMemberName:()=>z0,isMetaProperty:()=>VE,isMethodDeclaration:()=>Kc,isMethodOrAccessor:()=>VT,isMethodSignature:()=>Hm,isMinusToken:()=>HK,isMissingDeclaration:()=>r4e,isMissingPackageJsonInfo:()=>Rde,isModifier:()=>Aa,isModifierKind:()=>lD,isModifierLike:()=>Nc,isModuleAugmentationExternal:()=>$$,isModuleBlock:()=>vg,isModuleBody:()=>fle,isModuleDeclaration:()=>Ou,isModuleExportName:()=>wj,isModuleExportsAccessExpression:()=>K0,isModuleIdentifier:()=>uH,isModuleName:()=>Kpe,isModuleOrEnumDeclaration:()=>$7,isModuleReference:()=>hle,isModuleSpecifierLike:()=>Pq,isModuleWithStringLiteralName:()=>GM,isNameOfFunctionDeclaration:()=>cZ,isNameOfModuleDeclaration:()=>oZ,isNamedDeclaration:()=>Tl,isNamedEvaluation:()=>pp,isNamedEvaluationSource:()=>CH,isNamedExportBindings:()=>b$,isNamedExports:()=>Wd,isNamedImportBindings:()=>P$,isNamedImports:()=>Dg,isNamedImportsOrExports:()=>JB,isNamedTupleMember:()=>T6,isNamespaceBody:()=>Q6e,isNamespaceExport:()=>c0,isNamespaceExportDeclaration:()=>D5,isNamespaceImport:()=>n1,isNamespaceReexportDeclaration:()=>sfe,isNewExpression:()=>ZC,isNewExpressionTarget:()=>tw,isNewScopeNode:()=>J_e,isNoSubstitutionTemplateLiteral:()=>JE,isNodeArray:()=>AC,isNodeArrayMultiLine:()=>$fe,isNodeDescendantOf:()=>BC,isNodeKind:()=>TM,isNodeLikeSystem:()=>kG,isNodeModulesDirectory:()=>_M,isNodeWithPossibleHoistedDeclaration:()=>hfe,isNonContextualKeyword:()=>DH,isNonGlobalAmbientModule:()=>G$,isNonNullAccess:()=>P_e,isNonNullChain:()=>xM,isNonNullExpression:()=>NA,isNonStaticMethodOrAccessorWithPrivateName:()=>mme,isNotEmittedStatement:()=>Epe,isNullishCoalesce:()=>D$,isNumber:()=>Yv,isNumericLiteral:()=>w_,isNumericLiteralName:()=>t1,isObjectBindingElementWithoutPropertyName:()=>F9,isObjectBindingOrAssignmentElement:()=>W7,isObjectBindingOrAssignmentPattern:()=>A$,isObjectBindingPattern:()=>ad,isObjectLiteralElement:()=>N$,isObjectLiteralElementLike:()=>j1,isObjectLiteralExpression:()=>qa,isObjectLiteralMethod:()=>mm,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>eB,isObjectTypeDeclaration:()=>_A,isOmittedExpression:()=>gl,isOptionalChain:()=>kf,isOptionalChainRoot:()=>c8,isOptionalDeclaration:()=>vA,isOptionalJSDocPropertyLikeTag:()=>s5,isOptionalTypeNode:()=>Tj,isOuterExpression:()=>Jj,isOutermostOptionalChain:()=>u8,isOverrideModifier:()=>mpe,isPackageJsonInfo:()=>fJ,isPackedArrayLiteral:()=>SK,isParameter:()=>is,isParameterPropertyDeclaration:()=>lp,isParameterPropertyModifier:()=>p8,isParenthesizedExpression:()=>f_,isParenthesizedTypeNode:()=>zE,isParseTreeNode:()=>o8,isPartOfParameterDeclaration:()=>W2,isPartOfTypeNode:()=>ug,isPartOfTypeOnlyImportOrExportDeclaration:()=>rle,isPartOfTypeQuery:()=>cB,isPartiallyEmittedExpression:()=>vpe,isPatternMatch:()=>YR,isPinnedComment:()=>UM,isPlainJsFile:()=>y8,isPlusToken:()=>$K,isPossiblyTypeArgumentPosition:()=>S9,isPostfixUnaryExpression:()=>YK,isPrefixUnaryExpression:()=>Q2,isPrimitiveLiteralValue:()=>_j,isPrivateIdentifier:()=>ns,isPrivateIdentifierClassElementDeclaration:()=>If,isPrivateIdentifierPropertyAccessExpression:()=>Vk,isPrivateIdentifierSymbol:()=>bfe,isProgramUptoDate:()=>tY,isPrologueDirective:()=>cg,isPropertyAccessChain:()=>SM,isPropertyAccessEntityNameExpression:()=>JN,isPropertyAccessExpression:()=>ti,isPropertyAccessOrQualifiedName:()=>V7,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>ole,isPropertyAssignment:()=>Yu,isPropertyDeclaration:()=>Is,isPropertyName:()=>qu,isPropertyNameLiteral:()=>lg,isPropertySignature:()=>Yf,isPrototypeAccess:()=>CD,isPrototypePropertyAssignment:()=>bN,isPunctuation:()=>vH,isPushOrUnshiftIdentifier:()=>SH,isQualifiedName:()=>u_,isQuestionDotToken:()=>Ej,isQuestionOrExclamationToken:()=>Vpe,isQuestionOrPlusOrMinusToken:()=>Hpe,isQuestionToken:()=>FD,isReadonlyKeyword:()=>ppe,isReadonlyKeywordOrPlusOrMinusToken:()=>$pe,isRecognizedTripleSlashComment:()=>q$,isReferenceFileLocation:()=>Y6,isReferencedFile:()=>lb,isRegularExpressionLiteral:()=>VK,isRequireCall:()=>F_,isRequireVariableStatement:()=>mN,isRestParameter:()=>t0,isRestTypeNode:()=>Aj,isReturnStatement:()=>Up,isReturnStatementWithFixablePromiseHandler:()=>Zq,isRightSideOfAccessExpression:()=>UH,isRightSideOfInstanceofExpression:()=>Jfe,isRightSideOfPropertyAccess:()=>n3,isRightSideOfQualifiedName:()=>Pge,isRightSideOfQualifiedNameOrPropertyAccess:()=>W8,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>jfe,isRootedDiskPath:()=>up,isSameEntityName:()=>i6,isSatisfiesExpression:()=>k6,isSemicolonClassElement:()=>Dpe,isSetAccessor:()=>ag,isSetAccessorDeclaration:()=>$_,isShiftOperatorOrHigher:()=>bQ,isShorthandAmbientModuleSymbol:()=>eN,isShorthandPropertyAssignment:()=>vf,isSideEffectImport:()=>IK,isSignedNumericLiteral:()=>vB,isSimpleCopiableExpression:()=>aS,isSimpleInlineableExpression:()=>Eg,isSimpleParameterList:()=>K5,isSingleOrDoubleQuote:()=>hN,isSolutionConfig:()=>UQ,isSourceElement:()=>L_e,isSourceFile:()=>es,isSourceFileFromLibrary:()=>p3,isSourceFileJS:()=>o_,isSourceFileNotJson:()=>lB,isSourceMapping:()=>_me,isSpecialPropertyDeclaration:()=>ufe,isSpreadAssignment:()=>i1,isSpreadElement:()=>zd,isStatement:()=>$i,isStatementButNotDeclaration:()=>H7,isStatementOrBlock:()=>mle,isStatementWithLocals:()=>Ale,isStatic:()=>_a,isStaticModifier:()=>AA,isString:()=>zs,isStringANonContextualKeyword:()=>aA,isStringAndEmptyAnonymousObjectIntersection:()=>Uge,isStringDoubleQuoted:()=>_B,isStringLiteral:()=>Ma,isStringLiteralLike:()=>vo,isStringLiteralOrJsxExpression:()=>gle,isStringLiteralOrTemplate:()=>c0e,isStringOrNumericLiteralLike:()=>id,isStringOrRegularExpressionOrTemplateLiteral:()=>hZ,isStringTextContainingNode:()=>E$,isSuperCall:()=>xE,isSuperKeyword:()=>mI,isSuperProperty:()=>U_,isSupportedSourceFileName:()=>mK,isSwitchStatement:()=>DI,isSyntaxList:()=>R6,isSyntheticExpression:()=>K3e,isSyntheticReference:()=>OA,isTagName:()=>sZ,isTaggedTemplateExpression:()=>K2,isTaggedTemplateTag:()=>kge,isTemplateExpression:()=>kj,isTemplateHead:()=>xA,isTemplateLiteral:()=>GT,isTemplateLiteralKind:()=>cD,isTemplateLiteralToken:()=>ele,isTemplateLiteralTypeNode:()=>gpe,isTemplateLiteralTypeSpan:()=>XK,isTemplateMiddle:()=>GK,isTemplateMiddleOrTemplateTail:()=>AM,isTemplateSpan:()=>I6,isTemplateTail:()=>Cj,isTextWhiteSpaceLike:()=>Qge,isThis:()=>i3,isThisContainerOrFunctionBlock:()=>rfe,isThisIdentifier:()=>bD,isThisInTypeQuery:()=>zC,isThisInitializedDeclaration:()=>sB,isThisInitializedObjectBindingExpression:()=>ife,isThisProperty:()=>lN,isThisTypeNode:()=>yI,isThisTypeParameter:()=>oI,isThisTypePredicate:()=>Zle,isThrowStatement:()=>tQ,isToken:()=>WT,isTokenKind:()=>C$,isTraceEnabled:()=>ND,isTransientSymbol:()=>U0,isTrivia:()=>u6,isTryStatement:()=>GE,isTupleTypeNode:()=>IA,isTypeAlias:()=>EN,isTypeAliasDeclaration:()=>Dm,isTypeAssertionExpression:()=>Fj,isTypeDeclaration:()=>yA,isTypeElement:()=>FC,isTypeKeyword:()=>sw,isTypeKeywordTokenOrIdentifier:()=>kq,isTypeLiteralNode:()=>l_,isTypeNode:()=>Li,isTypeNodeKind:()=>eK,isTypeOfExpression:()=>A6,isTypeOnlyExportDeclaration:()=>tle,isTypeOnlyImportDeclaration:()=>Uk,isTypeOnlyImportOrExportDeclaration:()=>qy,isTypeOperatorNode:()=>H2,isTypeParameterDeclaration:()=>Tc,isTypePredicateNode:()=>kA,isTypeQueryNode:()=>QC,isTypeReferenceNode:()=>gp,isTypeReferenceType:()=>RM,isTypeUsableAsPropertyName:()=>jd,isUMDExportSymbol:()=>jB,isUnaryExpression:()=>I$,isUnaryExpressionWithWrite:()=>cle,isUnicodeIdentifierStart:()=>dM,isUnionTypeNode:()=>Zy,isUrl:()=>mue,isValidBigIntString:()=>aj,isValidESSymbolDeclaration:()=>Qle,isValidTypeOnlyAliasUseSite:()=>V2,isValueSignatureDeclaration:()=>wE,isVarAwaitUsing:()=>sN,isVarConst:()=>Zk,isVarConstLike:()=>Gle,isVarUsing:()=>aN,isVariableDeclaration:()=>xi,isVariableDeclarationInVariableStatement:()=>C8,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>LC,isVariableDeclarationInitializedToRequire:()=>dN,isVariableDeclarationList:()=>Wl,isVariableLike:()=>b8,isVariableStatement:()=>Fu,isVoidExpression:()=>PA,isWatchSet:()=>XH,isWhileStatement:()=>eQ,isWhiteSpaceLike:()=>j0,isWhiteSpaceSingleLine:()=>ig,isWithStatement:()=>bpe,isWriteAccess:()=>fA,isWriteOnlyAccess:()=>BB,isYieldExpression:()=>y5,jsxModeNeedsExplicitImport:()=>XZ,keywordPart:()=>Cp,last:()=>Ua,lastOrUndefined:()=>gc,length:()=>Ye,libMap:()=>kQ,libs:()=>$j,lineBreakPart:()=>l3,loadModuleFromGlobalCache:()=>Hde,loadWithModeAwareCache:()=>a9,makeIdentifierFromModuleName:()=>Ole,makeImport:()=>JD,makeStringLiteral:()=>aw,mangleScopedPackageName:()=>$6,map:()=>hr,mapAllOrFail:()=>zm,mapDefined:()=>jn,mapDefinedIterator:()=>Wo,mapEntries:()=>Jp,mapIterator:()=>Sl,mapOneOrMany:()=>$Z,mapToDisplayParts:()=>qD,matchFiles:()=>_K,matchPatternOrExact:()=>gK,matchedText:()=>Qoe,matchesExclude:()=>aJ,matchesExcludeWorker:()=>oJ,maxBy:()=>bG,maybeBind:()=>sa,maybeSetLocalizedDiagnosticMessages:()=>r_e,memoize:()=>$f,memoizeOne:()=>ng,min:()=>CG,minAndMax:()=>C_e,missingFileModifiedTime:()=>cp,modifierToFlag:()=>uA,modifiersToFlags:()=>pg,moduleExportNameIsDefault:()=>r0,moduleExportNameTextEscaped:()=>PC,moduleExportNameTextUnescaped:()=>hD,moduleOptionDeclaration:()=>ode,moduleResolutionIsEqualTo:()=>xle,moduleResolutionNameAndModeGetter:()=>MJ,moduleResolutionOptionDeclarations:()=>wQ,moduleResolutionSupportsPackageJsonExportsAndImports:()=>y6,moduleResolutionUsesNodeModules:()=>Iq,moduleSpecifierToValidIdentifier:()=>R9,moduleSpecifiers:()=>Y1,moduleSupportsImportAttributes:()=>u_e,moduleSymbolToValidIdentifier:()=>L9,moveEmitHelpers:()=>epe,moveRangeEnd:()=>RB,moveRangePastDecorators:()=>V1,moveRangePastModifiers:()=>dg,moveRangePos:()=>U2,moveSyntheticComments:()=>X_e,mutateMap:()=>H8,mutateMapSkippingNewValues:()=>X0,needsParentheses:()=>Rq,needsScopeMarker:()=>IM,newCaseClauseTracker:()=>Hq,newPrivateEnvironment:()=>gme,noEmitNotification:()=>Z5,noEmitSubstitution:()=>UI,noTransformers:()=>Hme,noTruncationMaximumTruncationLength:()=>R$,nodeCanBeDecorated:()=>_N,nodeCoreModules:()=>C6,nodeHasName:()=>R7,nodeIsDecorated:()=>r6,nodeIsMissing:()=>ru,nodeIsPresent:()=>dm,nodeIsSynthesized:()=>Zo,nodeModuleNameResolver:()=>qde,nodeModulesPathPart:()=>s1,nodeNextJsonConfigResolver:()=>zde,nodeOrChildIsDecorated:()=>pN,nodeOverlapsWithStartEnd:()=>yq,nodePosToString:()=>e3e,nodeSeenTracker:()=>o3,nodeStartsNewLexicalEnvironment:()=>EH,noop:()=>ko,noopFileWatcher:()=>t3,normalizePath:()=>va,normalizeSlashes:()=>ql,normalizeSpans:()=>f$,not:()=>eM,notImplemented:()=>ga,notImplementedResolver:()=>Zme,nullNodeConverters:()=>H_e,nullParenthesizerRules:()=>G_e,nullTransformationContext:()=>t9,objectAllocator:()=>rf,operatorPart:()=>cw,optionDeclarations:()=>Xm,optionMapToObject:()=>eJ,optionsAffectingProgramStructure:()=>fde,optionsForBuild:()=>NQ,optionsForWatch:()=>qA,optionsHaveChanges:()=>KT,or:()=>op,orderedRemoveItem:()=>W4,orderedRemoveItemAt:()=>rD,packageIdToPackageName:()=>zM,packageIdToString:()=>L2,parameterIsThisKeyword:()=>DD,parameterNamePart:()=>Yge,parseBaseNodeFactory:()=>tde,parseBigInt:()=>E_e,parseBuildCommand:()=>vde,parseCommandLine:()=>gde,parseCommandLineWorker:()=>OQ,parseConfigFileTextToJson:()=>RQ,parseConfigFileWithSystem:()=>Bhe,parseConfigHostFromCompilerHostLike:()=>WJ,parseCustomTypeOption:()=>Xj,parseIsolatedEntityName:()=>JA,parseIsolatedJSDocComment:()=>nde,parseJSDocTypeExpressionForTests:()=>P4e,parseJsonConfigFileContent:()=>c8e,parseJsonSourceFileConfigFileContent:()=>B5,parseJsonText:()=>P5,parseListTypeOption:()=>mde,parseNodeFactory:()=>ib,parseNodeModuleFromPath:()=>z5,parsePackageName:()=>dJ,parsePseudoBigInt:()=>nI,parseValidBigInt:()=>bK,pasteEdits:()=>Qte,patchWriteFileEnsuringDirectory:()=>due,pathContainsNodeModules:()=>LD,pathIsAbsolute:()=>Y4,pathIsBareSpecifier:()=>t$,pathIsRelative:()=>zp,patternText:()=>Koe,performIncrementalCompilation:()=>jhe,performance:()=>ice,positionBelongsToNode:()=>uZ,positionIsASICandidate:()=>jq,positionIsSynthesized:()=>Sh,positionsAreOnSameLine:()=>Md,preProcessFile:()=>g7e,probablyUsesSemicolons:()=>N9,processCommentPragmas:()=>AQ,processPragmasIntoFields:()=>FQ,processTaggedTemplateExpression:()=>kX,programContainsEsModules:()=>Hge,programContainsModules:()=>$ge,projectReferenceIsEqualTo:()=>M$,propertyNamePart:()=>Zge,pseudoBigIntToString:()=>$C,punctuationPart:()=>Rf,pushIfUnique:()=>kd,quote:()=>fw,quotePreferenceFromString:()=>TZ,rangeContainsPosition:()=>s3,rangeContainsPositionExclusive:()=>b9,rangeContainsRange:()=>I_,rangeContainsRangeExclusive:()=>Oge,rangeContainsStartEnd:()=>C9,rangeEndIsOnSameLineAsRangeStart:()=>WN,rangeEndPositionsAreOnSameLine:()=>Vfe,rangeEquals:()=>pG,rangeIsOnSingleLine:()=>LE,rangeOfNode:()=>vK,rangeOfTypeParameters:()=>DK,rangeOverlapsWithStartEnd:()=>rw,rangeStartIsOnSameLineAsRangeEnd:()=>Gfe,rangeStartPositionsAreOnSameLine:()=>MB,readBuilderProgram:()=>eq,readConfigFile:()=>R5,readJson:()=>d6,readJsonConfigFile:()=>Dde,readJsonOrUndefined:()=>GH,reduceEachLeadingCommentRange:()=>Sue,reduceEachTrailingCommentRange:()=>Eue,reduceLeft:()=>Gf,reduceLeftIterator:()=>On,reducePathComponents:()=>JT,refactor:()=>tF,regExpEscape:()=>k3e,regularExpressionFlagToCharacterCode:()=>F6e,relativeComplement:()=>Moe,removeAllComments:()=>f5,removeEmitHelper:()=>V3e,removeExtension:()=>t5,removeFileExtension:()=>Xf,removeIgnoredPath:()=>$J,removeMinAndVersionNumbers:()=>xG,removePrefix:()=>U4,removeSuffix:()=>Ok,removeTrailingDirectorySeparator:()=>jy,repeatString:()=>T9,replaceElement:()=>hG,replaceFirstStar:()=>ME,resolutionExtensionIsTSOrJson:()=>Z8,resolveConfigFileProjectName:()=>NY,resolveJSModule:()=>Bde,resolveLibrary:()=>pJ,resolveModuleName:()=>ex,resolveModuleNameFromCache:()=>B8e,resolvePackageNameToPackageJson:()=>HQ,resolvePath:()=>iD,resolveProjectReferencePath:()=>$A,resolveTripleslashReference:()=>GX,resolveTypeReferenceDirective:()=>Ode,resolvingEmptyArray:()=>L$,returnFalse:()=>L1,returnNoopFileWatcher:()=>YI,returnTrue:()=>CC,returnUndefined:()=>SC,returnsPromise:()=>fee,rewriteModuleSpecifier:()=>UA,sameFlatMap:()=>zo,sameMap:()=>lc,sameMapping:()=>FIe,scanTokenAtPosition:()=>Vle,scanner:()=>Vl,semanticDiagnosticsOptionDeclarations:()=>cde,serializeCompilerOptions:()=>qQ,server:()=>vqe,servicesVersion:()=>a5e,setCommentRange:()=>Qu,setConfigFileInOptions:()=>zQ,setConstantValue:()=>Z_e,setEmitFlags:()=>wn,setGetSourceFileAsHashVersioned:()=>ZJ,setIdentifierAutoGenerate:()=>d5,setIdentifierGeneratedImportReference:()=>npe,setIdentifierTypeArguments:()=>Yy,setInternalEmitFlags:()=>_5,setLocalizedDiagnosticMessages:()=>t_e,setNodeChildren:()=>Npe,setNodeFlags:()=>A_e,setObjectAllocator:()=>e_e,setOriginalNode:()=>Xn,setParent:()=>Co,setParentRecursive:()=>G2,setPrivateIdentifier:()=>rx,setSnippetElement:()=>WK,setSourceMapRange:()=>Ha,setStackTraceLimit:()=>f6e,setStartsOnNewLine:()=>yj,setSyntheticLeadingComments:()=>$2,setSyntheticTrailingComments:()=>CA,setSys:()=>g6e,setSysLog:()=>fue,setTextRange:()=>St,setTextRangeEnd:()=>b6,setTextRangePos:()=>iI,setTextRangePosEnd:()=>Eh,setTextRangePosWidth:()=>CK,setTokenSourceMapRange:()=>Q_e,setTypeNode:()=>tpe,setUILocale:()=>Goe,setValueDeclaration:()=>k8,shouldAllowImportingTsExtension:()=>H6,shouldPreserveConstEnums:()=>SD,shouldRewriteModuleSpecifier:()=>SN,shouldUseUriStyleNodeCoreModules:()=>Gq,showModuleSpecifier:()=>Xfe,signatureHasRestParameter:()=>Lf,signatureToDisplayParts:()=>MZ,single:()=>mG,singleElementArray:()=>MT,singleIterator:()=>wu,singleOrMany:()=>Xg,singleOrUndefined:()=>M0,skipAlias:()=>tf,skipConstraint:()=>SZ,skipOuterExpressions:()=>_u,skipParentheses:()=>Do,skipPartiallyEmittedExpressions:()=>Um,skipTrivia:()=>Ra,skipTypeChecking:()=>D6,skipTypeCheckingIgnoringNoCheck:()=>S_e,skipTypeParentheses:()=>w8,skipWhile:()=>Yoe,sliceAfter:()=>yK,some:()=>ht,sortAndDeduplicate:()=>td,sortAndDeduplicateDiagnostics:()=>qk,sourceFileAffectingCompilerOptions:()=>PQ,sourceFileMayBeEmitted:()=>JC,sourceMapCommentRegExp:()=>gX,sourceMapCommentRegExpDontCareLineStart:()=>ume,spacePart:()=>su,spanMap:()=>_l,startEndContainsRange:()=>KH,startEndOverlapsWithStartEnd:()=>vq,startOnNewLine:()=>Of,startTracing:()=>cce,startsWith:()=>_s,startsWithDirectory:()=>i$,startsWithUnderscore:()=>QZ,startsWithUseStrict:()=>Jpe,stringContainsAt:()=>m0e,stringToToken:()=>dE,stripQuotes:()=>gm,supportedDeclarationExtensions:()=>rj,supportedJSExtensionsFlat:()=>v6,supportedLocaleDirectories:()=>jue,supportedTSExtensionsFlat:()=>pK,supportedTSImplementationExtensions:()=>YN,suppressLeadingAndTrailingTrivia:()=>hp,suppressLeadingTrivia:()=>MK,suppressTrailingTrivia:()=>z_e,symbolEscapedNameNoDefault:()=>wq,symbolName:()=>tu,symbolNameNoDefault:()=>FZ,symbolToDisplayParts:()=>uw,sys:()=>pl,sysLog:()=>E7,tagNamesAreEquivalent:()=>ab,takeWhile:()=>FG,targetOptionDeclaration:()=>IQ,targetToLibMap:()=>xue,testFormatSettings:()=>jPe,textChangeRangeIsUnchanged:()=>Oue,textChangeRangeNewSpan:()=>a8,textChanges:()=>kn,textOrKeywordPart:()=>RZ,textPart:()=>fd,textRangeContainsPositionInclusive:()=>P7,textRangeContainsTextSpan:()=>Fue,textRangeIntersectsWithTextSpan:()=>Pue,textSpanContainsPosition:()=>u$,textSpanContainsTextRange:()=>l$,textSpanContainsTextSpan:()=>Aue,textSpanEnd:()=>$c,textSpanIntersection:()=>Nue,textSpanIntersectsWith:()=>N7,textSpanIntersectsWithPosition:()=>wue,textSpanIntersectsWithTextSpan:()=>Iue,textSpanIsEmpty:()=>Tue,textSpanOverlap:()=>kue,textSpanOverlapsWith:()=>R6e,textSpansEqual:()=>u3,textToKeywordObj:()=>pM,timestamp:()=>Qo,toArray:()=>LT,toBuilderFileEmit:()=>Ahe,toBuilderStateFileInfoForMultiEmit:()=>The,toEditorSettings:()=>U9,toFileNameLowerCase:()=>Zv,toPath:()=>Xo,toProgramEmitPending:()=>Fhe,toSorted:()=>ap,tokenIsIdentifierOrKeyword:()=>E_,tokenIsIdentifierOrKeywordOrGreaterThan:()=>gue,tokenToString:()=>ya,trace:()=>Cs,tracing:()=>Fn,tracingEnabled:()=>S7,transferSourceFileChildren:()=>Ope,transform:()=>h5e,transformClassFields:()=>Ame,transformDeclarations:()=>NX,transformECMAScriptModule:()=>PX,transformES2015:()=>qme,transformES2016:()=>Jme,transformES2017:()=>wme,transformES2018:()=>Pme,transformES2019:()=>Nme,transformES2020:()=>Ome,transformES2021:()=>Lme,transformESDecorators:()=>Ime,transformESNext:()=>Rme,transformGenerators:()=>zme,transformImpliedNodeFormatDependentModule:()=>Ume,transformJsx:()=>jme,transformLegacyDecorators:()=>kme,transformModule:()=>wX,transformNamedEvaluation:()=>vp,transformNodes:()=>e9,transformSystemModule:()=>Wme,transformTypeScript:()=>Tme,transpile:()=>T7e,transpileDeclaration:()=>E7e,transpileModule:()=>B0e,transpileOptionValueCompilerOptions:()=>_de,tryAddToSet:()=>Mo,tryAndIgnoreErrors:()=>zq,tryCast:()=>li,tryDirectoryExists:()=>qq,tryExtractTSExtension:()=>LB,tryFileExists:()=>pw,tryGetClassExtendingExpressionWithTypeArguments:()=>zH,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>WH,tryGetDirectories:()=>Jq,tryGetExtensionFromPath:()=>e1,tryGetImportFromModuleSpecifier:()=>CN,tryGetJSDocSatisfiesTypeNode:()=>lj,tryGetModuleNameFromFile:()=>T5,tryGetModuleSpecifierFromDeclaration:()=>tA,tryGetNativePerformanceHooks:()=>nce,tryGetPropertyAccessOrIdentifierToString:()=>qN,tryGetPropertyNameOfBindingOrAssignmentElement:()=>zj,tryGetSourceMappingURL:()=>lme,tryGetTextOfPropertyName:()=>D8,tryParseJson:()=>zN,tryParsePattern:()=>gA,tryParsePatterns:()=>r5,tryParseRawSourceMap:()=>fme,tryReadDirectory:()=>WZ,tryReadFile:()=>kI,tryRemoveDirectoryPrefix:()=>uK,tryRemoveExtension:()=>b_e,tryRemovePrefix:()=>AG,tryRemoveSuffix:()=>Hoe,tscBuildOption:()=>YE,typeAcquisitionDeclarations:()=>Kj,typeAliasNamePart:()=>e0e,typeDirectiveIsEqualTo:()=>Tle,typeKeywords:()=>CZ,typeParameterNamePart:()=>t0e,typeToDisplayParts:()=>I9,unchangedPollThresholds:()=>aM,unchangedTextChangeRange:()=>gM,unescapeLeadingUnderscores:()=>Gi,unmangleScopedPackageName:()=>U5,unorderedRemoveItem:()=>RT,unprefixedNodeCoreModules:()=>j_e,unreachableCodeIsError:()=>o_e,unsetNodeChildren:()=>fQ,unusedLabelIsError:()=>c_e,unwrapInnermostStatementOfLabel:()=>iH,unwrapParenthesizedExpression:()=>M_e,updateErrorForNoInputFiles:()=>sJ,updateLanguageServiceSourceFile:()=>Bee,updateMissingFilePathsWatch:()=>WX,updateResolutionField:()=>W6,updateSharedExtendedConfigFileWatcher:()=>NJ,updateSourceFile:()=>xQ,updateWatchingWildcardDirectories:()=>n9,usingSingleLineStringWriter:()=>Kk,utf16EncodeAsString:()=>s8,validateLocaleAndSetLanguage:()=>p$,version:()=>Ee,versionMajorMinor:()=>be,visitArray:()=>MI,visitCommaListElements:()=>$5,visitEachChild:()=>jr,visitFunctionBody:()=>ld,visitIterationBody:()=>__,visitLexicalEnvironment:()=>hX,visitNode:()=>ft,visitNodes:()=>Xr,visitParameterList:()=>iu,walkUpBindingElementsAndPatterns:()=>mE,walkUpOuterExpressions:()=>qpe,walkUpParenthesizedExpressions:()=>Gm,walkUpParenthesizedTypes:()=>AN,walkUpParenthesizedTypesAndGetParentAndChild:()=>gfe,whitespaceOrMapCommentRegExp:()=>yX,writeCommentRange:()=>p6,writeFile:()=>kB,writeFileEnsuringDirectories:()=>LH,zipWith:()=>Hi}),_.exports=ie(de);var be="5.9",Ee="5.9.3",Oe=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(Oe||{}),Y=[],ut=new Map;function Ye(e){return e!==void 0?e.length:0}function We(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){let i=t(e[n],n);if(i)return i}}function Ut(e,t){if(e!==void 0)for(let n=e.length-1;n>=0;n--){let i=t(e[n],n);if(i)return i}}function _r(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){let i=t(e[n],n);if(i!==void 0)return i}}function Hr(e,t){for(let n of e){let i=t(n);if(i!==void 0)return i}}function On(e,t,n){let i=n;if(e){let s=0;for(let o of e)i=t(i,o,s),s++}return i}function Hi(e,t,n){let i=[];P.assertEqual(e.length,t.length);for(let s=0;s<e.length;s++)i.push(n(e[s],t[s],s));return i}function us(e,t){if(e.length<=1)return e;let n=[];for(let i=0,s=e.length;i<s;i++)i!==0&&n.push(t),n.push(e[i]);return n}function Hn(e,t){if(e!==void 0){for(let n=0;n<e.length;n++)if(!t(e[n],n))return!1}return!0}function an(e,t,n){if(e!==void 0)for(let i=n??0;i<e.length;i++){let s=e[i];if(t(s,i))return s}}function hc(e,t,n){if(e!==void 0)for(let i=n??e.length-1;i>=0;i--){let s=e[i];if(t(s,i))return s}}function ma(e,t,n){if(e===void 0)return-1;for(let i=n??0;i<e.length;i++)if(t(e[i],i))return i;return-1}function ic(e,t,n){if(e===void 0)return-1;for(let i=n??e.length-1;i>=0;i--)if(t(e[i],i))return i;return-1}function xn(e,t,n=eD){if(e!==void 0){for(let i=0;i<e.length;i++)if(n(e[i],t))return!0}return!1}function Os(e,t,n){for(let i=n??0;i<e.length;i++)if(xn(t,e.charCodeAt(i)))return i;return-1}function Js(e,t){let n=0;if(e!==void 0)for(let i=0;i<e.length;i++){let s=e[i];t(s,i)&&n++}return n}function Rr(e,t){if(e!==void 0){let n=e.length,i=0;for(;i<n&&t(e[i]);)i++;if(i<n){let s=e.slice(0,i);for(i++;i<n;){let o=e[i];t(o)&&s.push(o),i++}return s}}return e}function wo(e,t){let n=0;for(let i=0;i<e.length;i++)t(e[i],i,e)&&(e[n]=e[i],n++);e.length=n}function Ro(e){e.length=0}function hr(e,t){let n;if(e!==void 0){n=[];for(let i=0;i<e.length;i++)n.push(t(e[i],i))}return n}function*Sl(e,t){for(let n of e)yield t(n)}function lc(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){let i=e[n],s=t(i,n);if(i!==s){let o=e.slice(0,n);for(o.push(s),n++;n<e.length;n++)o.push(t(e[n],n));return o}}return e}function Ko(e){let t=[];for(let n=0;n<e.length;n++){let i=e[n];i&&(ks(i)?ii(t,i):t.push(i))}return t}function Zs(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){let s=t(e[i],i);s&&(ks(s)?n=ii(n,s):n=Gr(n,s))}return n??Y}function jp(e,t){let n=[];if(e!==void 0)for(let i=0;i<e.length;i++){let s=t(e[i],i);s&&(ks(s)?ii(n,s):n.push(s))}return n}function*By(e,t){for(let n of e){let i=t(n);i&&(yield*i)}}function zo(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){let s=e[i],o=t(s,i);(n||s!==o||ks(o))&&(n||(n=e.slice(0,i)),ks(o)?ii(n,o):n.push(o))}return n??e}function zm(e,t){let n=[];for(let i=0;i<e.length;i++){let s=t(e[i],i);if(s===void 0)return;n.push(s)}return n}function jn(e,t){let n=[];if(e!==void 0)for(let i=0;i<e.length;i++){let s=t(e[i],i);s!==void 0&&n.push(s)}return n}function*Wo(e,t){for(let n of e){let i=t(n);i!==void 0&&(yield i)}}function fu(e,t,n){if(e.has(t))return e.get(t);let i=n();return e.set(t,i),i}function Mo(e,t){return e.has(t)?!1:(e.add(t),!0)}function*wu(e){yield e}function _l(e,t,n){let i;if(e!==void 0){i=[];let s=e.length,o,u,d=0,f=0;for(;d<s;){for(;f<s;){let D=e[f];if(u=t(D,f),f===0)o=u;else if(u!==o)break;f++}if(d<f){let D=n(e.slice(d,f),o,d,f);D&&i.push(D),d=f}o=u,f++}}return i}function Jp(e,t){if(e===void 0)return;let n=new Map;return e.forEach((i,s)=>{let[o,u]=t(s,i);n.set(o,u)}),n}function ht(e,t){if(e!==void 0)if(t!==void 0){for(let n=0;n<e.length;n++)if(t(e[n]))return!0}else return e.length>0;return!1}function Qg(e,t,n){let i;for(let s=0;s<e.length;s++)t(e[s])?i=i===void 0?s:i:i!==void 0&&(n(i,s),i=void 0);i!==void 0&&n(i,e.length)}function Ht(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function Ln(e,t){return t}function qs(e){return e.map(Ln)}function Oi(e,t,n){let i=qs(e);Q_t(e,i,n);let s=e[i[0]],o=[i[0]];for(let u=1;u<i.length;u++){let d=i[u],f=e[d];t(s,f)||(o.push(d),s=f)}return o.sort(),o.map(u=>e[u])}function Rn(e,t){let n=[];for(let i=0;i<e.length;i++)kd(n,e[i],t);return n}function Ca(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?Oi(e,t,n):Rn(e,t)}function Ia(e,t){if(e.length===0)return Y;let n=e[0],i=[n];for(let s=1;s<e.length;s++){let o=e[s];switch(t(o,n)){case!0:case 0:continue;case-1:return P.fail("Array is unsorted.")}i.push(n=o)}return i}function bo(){return[]}function Yl(e,t,n,i,s){if(e.length===0)return e.push(t),!0;let o=Xv(e,t,sc,n);if(o<0){if(i&&!s){let u=~o;if(u>0&&i(t,e[u-1]))return!1;if(u<e.length&&i(t,e[u]))return e.splice(u,1,t),!0}return e.splice(~o,0,t),!0}return s?(e.splice(o,0,t),!0):!1}function td(e,t,n){return Ia(ap(e,t),n??t??df)}function qp(e,t,n=eD){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!n(e[i],t[i],i))return!1;return!0}function h7(e){let t;if(e!==void 0)for(let n=0;n<e.length;n++){let i=e[n];(t??!i)&&(t??(t=e.slice(0,n)),i&&t.push(i))}return t??e}function Moe(e,t,n){if(!t||!e||t.length===0||e.length===0)return t;let i=[];e:for(let s=0,o=0;o<t.length;o++){o>0&&P.assertGreaterThanOrEqual(n(t[o],t[o-1]),0);t:for(let u=s;s<e.length;s++)switch(s>u&&P.assertGreaterThanOrEqual(n(e[s],e[s-1]),0),n(t[o],e[s])){case-1:i.push(t[o]);continue e;case 0:continue e;case 1:continue t}}return i}function Gr(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function PT(e,t){return e===void 0?t:t===void 0?e:ks(e)?ks(t)?Ht(e,t):Gr(e,t):ks(t)?Gr(t,e):[e,t]}function Boe(e,t){return t<0?e.length+t:t}function ii(e,t,n,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,i);n=n===void 0?0:Boe(t,n),i=i===void 0?t.length:Boe(t,i);for(let s=n;s<i&&s<t.length;s++)t[s]!==void 0&&e.push(t[s]);return e}function kd(e,t,n){return xn(e,t,n)?!1:(e.push(t),!0)}function O1(e,t,n){return e!==void 0?(kd(e,t,n),e):[t]}function Q_t(e,t,n){t.sort((i,s)=>n(e[i],e[s])||ac(i,s))}function ap(e,t){return e.length===0?Y:e.slice().sort(t)}function*_G(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function pG(e,t,n,i){for(;n<i;){if(e[n]!==t[n])return!1;n++}return!0}var Qv=Array.prototype.at?(e,t)=>e?.at(t):(e,t)=>{if(e!==void 0&&(t=Boe(e,t),t<e.length))return e[t]};function $u(e){return e===void 0||e.length===0?void 0:e[0]}function QR(e){if(e!==void 0)for(let t of e)return t}function eo(e){return P.assert(e.length!==0),e[0]}function dG(e){for(let t of e)return t;P.fail("iterator is empty")}function gc(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function Ua(e){return P.assert(e.length!==0),e[e.length-1]}function M0(e){return e!==void 0&&e.length===1?e[0]:void 0}function mG(e){return P.checkDefined(M0(e))}function Xg(e){return e!==void 0&&e.length===1?e[0]:e}function hG(e,t,n){let i=e.slice(0);return i[t]=n,i}function Xv(e,t,n,i,s){return NT(e,n(t),n,i,s)}function NT(e,t,n,i,s){if(!ht(e))return-1;let o=s??0,u=e.length-1;for(;o<=u;){let d=o+(u-o>>1),f=n(e[d],d);switch(i(f,t)){case-1:o=d+1;break;case 0:return d;case 1:u=d-1;break}}return~o}function Gf(e,t,n,i,s){if(e&&e.length>0){let o=e.length;if(o>0){let u=i===void 0||i<0?0:i,d=s===void 0||u+s>o-1?o-1:u+s,f;for(arguments.length<=2?(f=e[u],u++):f=n;u<=d;)f=t(f,e[u],u),u++;return f}}return n}var k2=Object.prototype.hasOwnProperty;function Uo(e,t){return k2.call(e,t)}function g7(e,t){return k2.call(e,t)?e[t]:void 0}function rg(e){let t=[];for(let n in e)k2.call(e,n)&&t.push(n);return t}function Kke(e){let t=[];do{let n=Object.getOwnPropertyNames(e);for(let i of n)kd(t,i)}while(e=Object.getPrototypeOf(e));return t}function OT(e){let t=[];for(let n in e)k2.call(e,n)&&t.push(e[n]);return t}function joe(e,t){let n=new Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}function As(e,t){let n=[];for(let i of e)n.push(t?t(i):i);return n}function lE(e,...t){for(let n of t)if(n!==void 0)for(let i in n)Uo(n,i)&&(e[i]=n[i]);return e}function Joe(e,t,n=eD){if(e===t)return!0;if(!e||!t)return!1;for(let i in e)if(k2.call(e,i)&&(!k2.call(t,i)||!n(e[i],t[i])))return!1;for(let i in t)if(k2.call(t,i)&&!k2.call(e,i))return!1;return!0}function wk(e,t,n=sc){let i=new Map;for(let s=0;s<e.length;s++){let o=e[s],u=t(o);u!==void 0&&i.set(u,n(o))}return i}function qoe(e,t,n=sc){let i=[];for(let s=0;s<e.length;s++){let o=e[s];i[t(o)]=n(o)}return i}function y7(e,t,n=sc){let i=fm();for(let s=0;s<e.length;s++){let o=e[s];i.add(t(o),n(o))}return i}function Pk(e,t,n=sc){return As(y7(e,t).values(),n)}function gG(e,t){let n={};if(e!==void 0)for(let i=0;i<e.length;i++){let s=e[i],o=`${t(s)}`;(n[o]??(n[o]=[])).push(s)}return n}function zoe(e){let t={};for(let n in e)k2.call(e,n)&&(t[n]=e[n]);return t}function yG(e,t){let n={};for(let i in t)k2.call(t,i)&&(n[i]=t[i]);for(let i in e)k2.call(e,i)&&(n[i]=e[i]);return n}function vG(e,t){for(let n in t)k2.call(t,n)&&(e[n]=t[n])}function sa(e,t){return t?.bind(e)}function fm(){let e=new Map;return e.add=X_t,e.remove=Y_t,e}function X_t(e,t){let n=this.get(e);return n!==void 0?n.push(t):this.set(e,n=[t]),n}function Y_t(e,t){let n=this.get(e);n!==void 0&&(RT(n,t),n.length||this.delete(e))}function v7(e){let t=e?.slice()??[],n=0;function i(){return n===t.length}function s(...u){t.push(...u)}function o(){if(i())throw new Error("Queue is empty");let u=t[n];if(t[n]=void 0,n++,n>100&&n>t.length>>1){let d=t.length-n;t.copyWithin(0,n),t.length=d,n=0}return u}return{enqueue:s,dequeue:o,isEmpty:i}}function DG(e,t){let n=new Map,i=0;function*s(){for(let u of n.values())ks(u)?yield*u:yield u}let o={has(u){let d=e(u);if(!n.has(d))return!1;let f=n.get(d);return ks(f)?xn(f,u,t):t(f,u)},add(u){let d=e(u);if(n.has(d)){let f=n.get(d);if(ks(f))xn(f,u,t)||(f.push(u),i++);else{let D=f;t(D,u)||(n.set(d,[D,u]),i++)}}else n.set(d,u),i++;return this},delete(u){let d=e(u);if(!n.has(d))return!1;let f=n.get(d);if(ks(f)){for(let D=0;D<f.length;D++)if(t(f[D],u))return f.length===1?n.delete(d):f.length===2?n.set(d,f[1-D]):Yke(f,D),i--,!0}else if(t(f,u))return n.delete(d),i--,!0;return!1},clear(){n.clear(),i=0},get size(){return i},forEach(u){for(let d of As(n.values()))if(ks(d))for(let f of d)u(f,f,o);else{let f=d;u(f,f,o)}},keys(){return s()},values(){return s()},*entries(){for(let u of s())yield[u,u]},[Symbol.iterator]:()=>s(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return o}function ks(e){return Array.isArray(e)}function LT(e){return ks(e)?e:[e]}function zs(e){return typeof e=="string"}function Yv(e){return typeof e=="number"}function li(e,t){return e!==void 0&&t(e)?e:void 0}function ha(e,t){return e!==void 0&&t(e)?e:P.fail(`Invalid cast. The supplied value ${e} did not pass the test '${P.getFunctionName(t)}'.`)}function ko(e){}function L1(){return!1}function CC(){return!0}function SC(){}function sc(e){return e}function Z_t(e){return e.toLowerCase()}var Qke=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function Zv(e){return Qke.test(e)?e.replace(Qke,Z_t):e}function ga(){throw new Error("Not implemented")}function $f(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function ng(e){let t=new Map;return n=>{let i=`${typeof n}:${n}`,s=t.get(i);return s===void 0&&!t.has(i)&&(s=e(n),t.set(i,s)),s}}var Woe=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(Woe||{});function eD(e,t){return e===t}function tD(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function EC(e,t){return eD(e,t)}function Xke(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function ac(e,t){return Xke(e,t)}function XR(e,t){return ac(e?.start,t?.start)||ac(e?.length,t?.length)}function bG(e,t,n){for(let i=0;i<e.length;i++)t=Math.max(t,n(e[i]));return t}function CG(e,t){return Gf(e,(n,i)=>t(n,i)===-1?n:i)}function D7(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function Uoe(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function df(e,t){return Xke(e,t)}function Nk(e){return e?D7:df}var ept=(()=>{return t;function e(n,i,s){if(n===i)return 0;if(n===void 0)return-1;if(i===void 0)return 1;let o=s(n,i);return o<0?-1:o>0?1:0}function t(n){let i=new Intl.Collator(n,{usage:"sort",sensitivity:"variant",numeric:!0}).compare;return(s,o)=>e(s,o,i)}})(),SG,EG;function Voe(){return EG}function Goe(e){EG!==e&&(EG=e,SG=void 0)}function b7(e,t){return SG??(SG=ept(EG)),SG(e,t)}function $oe(e,t,n,i){return e===t?0:e===void 0?-1:t===void 0?1:i(e[n],t[n])}function I2(e,t){return ac(e?1:0,t?1:0)}function xC(e,t,n){let i=Math.max(2,Math.floor(e.length*.34)),s=Math.floor(e.length*.4)+1,o;for(let u of t){let d=n(u);if(d!==void 0&&Math.abs(d.length-e.length)<=i){if(d===e||d.length<3&&d.toLowerCase()!==e.toLowerCase())continue;let f=tpt(e,d,s-.1);if(f===void 0)continue;P.assert(f<s),s=f,o=u}}return o}function tpt(e,t,n){let i=new Array(t.length+1),s=new Array(t.length+1),o=n+.01;for(let d=0;d<=t.length;d++)i[d]=d;for(let d=1;d<=e.length;d++){let f=e.charCodeAt(d-1),D=Math.ceil(d>n?d-n:1),y=Math.floor(t.length>n+d?n+d:t.length);s[0]=d;let b=d;for(let A=1;A<D;A++)s[A]=o;for(let A=D;A<=y;A++){let k=e[d-1].toLowerCase()===t[A-1].toLowerCase()?i[A-1]+.1:i[A-1]+2,N=f===t.charCodeAt(A-1)?i[A-1]:Math.min(i[A]+1,s[A-1]+1,k);s[A]=N,b=Math.min(b,N)}for(let A=y+1;A<=t.length;A++)s[A]=o;if(b>n)return;let T=i;i=s,s=T}let u=i[t.length];return u>n?void 0:u}function yc(e,t,n){let i=e.length-t.length;return i>=0&&(n?tD(e.slice(i),t):e.indexOf(t,i)===i)}function Ok(e,t){return yc(e,t)?e.slice(0,e.length-t.length):e}function Hoe(e,t){return yc(e,t)?e.slice(0,e.length-t.length):void 0}function xG(e){let t=e.length;for(let n=t-1;n>0;n--){let i=e.charCodeAt(n);if(i>=48&&i<=57)do--n,i=e.charCodeAt(n);while(n>0&&i>=48&&i<=57);else if(n>4&&(i===110||i===78)){if(--n,i=e.charCodeAt(n),i!==105&&i!==73||(--n,i=e.charCodeAt(n),i!==109&&i!==77))break;--n,i=e.charCodeAt(n)}else break;if(i!==45&&i!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function W4(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return rD(e,n),!0;return!1}function rD(e,t){for(let n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function Yke(e,t){e[t]=e[e.length-1],e.pop()}function RT(e,t){return rpt(e,n=>n===t)}function rpt(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return Yke(e,n),!0;return!1}function Zl(e){return e?sc:Zv}function Koe({prefix:e,suffix:t}){return`${e}*${t}`}function Qoe(e,t){return P.assert(YR(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function TG(e,t,n){let i,s=-1;for(let o=0;o<e.length;o++){let u=e[o],d=t(u);d.prefix.length>s&&YR(d,n)&&(s=d.prefix.length,i=u)}return i}function _s(e,t,n){return n?tD(e.slice(0,t.length),t):e.lastIndexOf(t,0)===0}function U4(e,t){return _s(e,t)?e.substr(t.length):e}function AG(e,t,n=sc){return _s(n(e),n(t))?e.substring(t.length):void 0}function YR({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&_s(n,e)&&yc(n,t)}function ZR(e,t){return n=>e(n)&&t(n)}function op(...e){return(...t)=>{let n;for(let i of e)if(n=i(...t),n)return n;return n}}function eM(e){return(...t)=>!e(...t)}function Zke(e){}function MT(e){return e===void 0?void 0:[e]}function tM(e,t,n,i,s,o){o??(o=ko);let u=0,d=0,f=e.length,D=t.length,y=!1;for(;u<f&&d<D;){let b=e[u],T=t[d],A=n(b,T);A===-1?(i(b),u++,y=!0):A===1?(s(T),d++,y=!0):(o(T,b),u++,d++)}for(;u<f;)i(e[u++]),y=!0;for(;d<D;)s(t[d++]),y=!0;return y}function Xoe(e){let t=[];return e6e(e,t,void 0,0),t}function e6e(e,t,n,i){for(let s of e[i]){let o;n?(o=n.slice(),o.push(s)):o=[s],i===e.length-1?t.push(o):e6e(e,t,o,i+1)}}function FG(e,t){if(e!==void 0){let n=e.length,i=0;for(;i<n&&t(e[i]);)i++;return e.slice(0,i)}}function Yoe(e,t){if(e!==void 0){let n=e.length,i=0;for(;i<n&&t(e[i]);)i++;return e.slice(i)}}function kG(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof require<"u"}var Zoe=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(Zoe||{}),P;(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(tt){return e.currentLogLevel<=tt}e.shouldLog=n;function i(tt,Ft){e.loggingHost&&n(tt)&&e.loggingHost.log(tt,Ft)}function s(tt){i(3,tt)}e.log=s,(tt=>{function Ft(hi){i(1,hi)}tt.error=Ft;function Dr(hi){i(2,hi)}tt.warn=Dr;function dn(hi){i(3,hi)}tt.log=dn;function pi(hi){i(4,hi)}tt.trace=pi})(s=e.log||(e.log={}));let o={};function u(){return t}e.getAssertionLevel=u;function d(tt){let Ft=t;if(t=tt,tt>Ft)for(let Dr of rg(o)){let dn=o[Dr];dn!==void 0&&e[Dr]!==dn.assertion&&tt>=dn.level&&(e[Dr]=dn,o[Dr]=void 0)}}e.setAssertionLevel=d;function f(tt){return t>=tt}e.shouldAssert=f;function D(tt,Ft){return f(tt)?!0:(o[Ft]={level:tt,assertion:e[Ft]},e[Ft]=ko,!1)}function y(tt,Ft){debugger;let Dr=new Error(tt?`Debug Failure. ${tt}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Dr,Ft||y),Dr}e.fail=y;function b(tt,Ft,Dr){return y(`${Ft||"Unexpected node."}\r
355
355
  Node ${Ie(tt.kind)} was unexpected.`,Dr||b)}e.failBadSyntaxKind=b;function T(tt,Ft,Dr,dn){tt||(Ft=Ft?`False expression: ${Ft}`:"False expression.",Dr&&(Ft+=`\r
356
356
  Verbose Debug Information: `+(typeof Dr=="string"?Dr:Dr())),y(Ft,dn||T))}e.assert=T;function A(tt,Ft,Dr,dn,pi){if(tt!==Ft){let hi=Dr?dn?`${Dr} ${dn}`:Dr:"";y(`Expected ${tt} === ${Ft}. ${hi}`,pi||A)}}e.assertEqual=A;function k(tt,Ft,Dr,dn){tt>=Ft&&y(`Expected ${tt} < ${Ft}. ${Dr||""}`,dn||k)}e.assertLessThan=k;function N(tt,Ft,Dr){tt>Ft&&y(`Expected ${tt} <= ${Ft}`,Dr||N)}e.assertLessThanOrEqual=N;function L(tt,Ft,Dr){tt<Ft&&y(`Expected ${tt} >= ${Ft}`,Dr||L)}e.assertGreaterThanOrEqual=L;function M(tt,Ft,Dr){tt==null&&y(Ft,Dr||M)}e.assertIsDefined=M;function q(tt,Ft,Dr){return M(tt,Ft,Dr||q),tt}e.checkDefined=q;function J(tt,Ft,Dr){for(let dn of tt)M(dn,Ft,Dr||J)}e.assertEachIsDefined=J;function V(tt,Ft,Dr){return J(tt,Ft,Dr||V),tt}e.checkEachDefined=V;function $(tt,Ft="Illegal value:",Dr){let dn=typeof tt=="object"&&Uo(tt,"kind")&&Uo(tt,"pos")?"SyntaxKind: "+Ie(tt.kind):JSON.stringify(tt);return y(`${Ft} ${dn}`,Dr||$)}e.assertNever=$;function ee(tt,Ft,Dr,dn){D(1,"assertEachNode")&&T(Ft===void 0||Hn(tt,Ft),Dr||"Unexpected node.",()=>`Node array did not pass test '${me(Ft)}'.`,dn||ee)}e.assertEachNode=ee;function ne(tt,Ft,Dr,dn){D(1,"assertNode")&&T(tt!==void 0&&(Ft===void 0||Ft(tt)),Dr||"Unexpected node.",()=>`Node ${Ie(tt?.kind)} did not pass test '${me(Ft)}'.`,dn||ne)}e.assertNode=ne;function Q(tt,Ft,Dr,dn){D(1,"assertNotNode")&&T(tt===void 0||Ft===void 0||!Ft(tt),Dr||"Unexpected node.",()=>`Node ${Ie(tt.kind)} should not have passed test '${me(Ft)}'.`,dn||Q)}e.assertNotNode=Q;function Ce(tt,Ft,Dr,dn){D(1,"assertOptionalNode")&&T(Ft===void 0||tt===void 0||Ft(tt),Dr||"Unexpected node.",()=>`Node ${Ie(tt?.kind)} did not pass test '${me(Ft)}'.`,dn||Ce)}e.assertOptionalNode=Ce;function ue(tt,Ft,Dr,dn){D(1,"assertOptionalToken")&&T(Ft===void 0||tt===void 0||tt.kind===Ft,Dr||"Unexpected node.",()=>`Node ${Ie(tt?.kind)} was not a '${Ie(Ft)}' token.`,dn||ue)}e.assertOptionalToken=ue;function X(tt,Ft,Dr){D(1,"assertMissingNode")&&T(tt===void 0,Ft||"Unexpected node.",()=>`Node ${Ie(tt.kind)} was unexpected'.`,Dr||X)}e.assertMissingNode=X;function he(tt){}e.type=he;function me(tt){if(typeof tt!="function")return"";if(Uo(tt,"name"))return tt.name;{let Ft=Function.prototype.toString.call(tt),Dr=/^function\s+([\w$]+)\s*\(/.exec(Ft);return Dr?Dr[1]:""}}e.getFunctionName=me;function ge(tt){return`{ name: ${Gi(tt.escapedName)}; flags: ${pe(tt.flags)}; declarations: ${hr(tt.declarations,Ft=>Ie(Ft.kind))} }`}e.formatSymbol=ge;function Se(tt=0,Ft,Dr){let dn=te(Ft);if(tt===0)return dn.length>0&&dn[0][0]===0?dn[0][1]:"0";if(Dr){let pi=[],hi=tt;for(let[Qi,Ys]of dn){if(Qi>tt)break;Qi!==0&&Qi&tt&&(pi.push(Ys),hi&=~Qi)}if(hi===0)return pi.join("|")}else for(let[pi,hi]of dn)if(pi===tt)return hi;return tt.toString()}e.formatEnum=Se;let Fe=new Map;function te(tt){let Ft=Fe.get(tt);if(Ft)return Ft;let Dr=[];for(let pi in tt){let hi=tt[pi];typeof hi=="number"&&Dr.push([hi,pi])}let dn=ap(Dr,(pi,hi)=>ac(pi[0],hi[0]));return Fe.set(tt,dn),dn}function Ie(tt){return Se(tt,NG,!1)}e.formatSyntaxKind=Ie;function Xe(tt){return Se(tt,$G,!1)}e.formatSnippetKind=Xe;function Ae(tt){return Se(tt,VG,!1)}e.formatScriptKind=Ae;function oe(tt){return Se(tt,OG,!0)}e.formatNodeFlags=oe;function xe(tt){return Se(tt,qG,!0)}e.formatNodeCheckFlags=xe;function we(tt){return Se(tt,LG,!0)}e.formatModifierFlags=we;function Ue(tt){return Se(tt,GG,!0)}e.formatTransformFlags=Ue;function _t(tt){return Se(tt,HG,!0)}e.formatEmitFlags=_t;function pe(tt){return Se(tt,JG,!0)}e.formatSymbolFlags=pe;function Ze(tt){return Se(tt,zG,!0)}e.formatTypeFlags=Ze;function ce(tt){return Se(tt,UG,!0)}e.formatSignatureFlags=ce;function qe(tt){return Se(tt,WG,!0)}e.formatObjectFlags=qe;function Re(tt){return Se(tt,nM,!0)}e.formatFlowFlags=Re;function Pe(tt){return Se(tt,RG,!0)}e.formatRelationComparisonResult=Pe;function it(tt){return Se(tt,fX,!0)}e.formatCheckMode=it;function kt(tt){return Se(tt,_X,!0)}e.formatSignatureCheckMode=kt;function Yt(tt){return Se(tt,lX,!0)}e.formatTypeFacts=Yt;let xr=!1,Wr;function bt(tt){"__debugFlowFlags"in tt||Object.defineProperties(tt,{__tsDebuggerDisplay:{value(){let Ft=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",Dr=this.flags&-2048;return`${Ft}${Dr?` (${Re(Dr)})`:""}`}},__debugFlowFlags:{get(){return Se(this.flags,nM,!0)}},__debugToString:{value(){return ki(this)}}})}function ir(tt){return xr&&(typeof Object.setPrototypeOf=="function"?(Wr||(Wr=Object.create(Object.prototype),bt(Wr)),Object.setPrototypeOf(tt,Wr)):bt(tt)),tt}e.attachFlowNodeDebugInfo=ir;let on;function Ri(tt){"__tsDebuggerDisplay"in tt||Object.defineProperties(tt,{__tsDebuggerDisplay:{value(Ft){return Ft=String(Ft).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]"),`NodeArray ${Ft}`}}})}function Ss(tt){xr&&(typeof Object.setPrototypeOf=="function"?(on||(on=Object.create(Array.prototype),Ri(on)),Object.setPrototypeOf(tt,on)):Ri(tt))}e.attachNodeArrayDebugInfo=Ss;function Bt(){if(xr)return;let tt=new WeakMap,Ft=new WeakMap;Object.defineProperties(rf.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let dn=this.flags&33554432?"TransientSymbol":"Symbol",pi=this.flags&-33554433;return`${dn} '${tu(this)}'${pi?` (${pe(pi)})`:""}`}},__debugFlags:{get(){return pe(this.flags)}}}),Object.defineProperties(rf.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let dn=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",pi=this.flags&524288?this.objectFlags&-1344:0;return`${dn}${this.symbol?` '${tu(this.symbol)}'`:""}${pi?` (${qe(pi)})`:""}`}},__debugFlags:{get(){return Ze(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?qe(this.objectFlags):""}},__debugTypeToString:{value(){let dn=tt.get(this);return dn===void 0&&(dn=this.checker.typeToString(this),tt.set(this,dn)),dn}}}),Object.defineProperties(rf.getSignatureConstructor().prototype,{__debugFlags:{get(){return ce(this.flags)}},__debugSignatureToString:{value(){var dn;return(dn=this.checker)==null?void 0:dn.signatureToString(this)}}});let Dr=[rf.getNodeConstructor(),rf.getIdentifierConstructor(),rf.getTokenConstructor(),rf.getSourceFileConstructor()];for(let dn of Dr)Uo(dn.prototype,"__debugKind")||Object.defineProperties(dn.prototype,{__tsDebuggerDisplay:{value(){return`${Pc(this)?"GeneratedIdentifier":Ke(this)?`Identifier '${Zn(this)}'`:ns(this)?`PrivateIdentifier '${Zn(this)}'`:Ma(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:w_(this)?`NumericLiteral ${this.text}`:E6(this)?`BigIntLiteral ${this.text}n`:Tc(this)?"TypeParameterDeclaration":is(this)?"ParameterDeclaration":Qc(this)?"ConstructorDeclaration":qd(this)?"GetAccessorDeclaration":$_(this)?"SetAccessorDeclaration":FA(this)?"CallSignatureDeclaration":gI(this)?"ConstructSignatureDeclaration":kD(this)?"IndexSignatureDeclaration":kA(this)?"TypePredicateNode":gp(this)?"TypeReferenceNode":o0(this)?"FunctionTypeNode":x6(this)?"ConstructorTypeNode":QC(this)?"TypeQueryNode":l_(this)?"TypeLiteralNode":g5(this)?"ArrayTypeNode":IA(this)?"TupleTypeNode":Tj(this)?"OptionalTypeNode":Aj(this)?"RestTypeNode":Zy(this)?"UnionTypeNode":wA(this)?"IntersectionTypeNode":XC(this)?"ConditionalTypeNode":qE(this)?"InferTypeNode":zE(this)?"ParenthesizedTypeNode":yI(this)?"ThisTypeNode":H2(this)?"TypeOperatorNode":YC(this)?"IndexedAccessTypeNode":WE(this)?"MappedTypeNode":ev(this)?"LiteralTypeNode":T6(this)?"NamedTupleMember":yg(this)?"ImportTypeNode":Ie(this.kind)}${this.flags?` (${oe(this.flags)})`:""}`}},__debugKind:{get(){return Ie(this.kind)}},__debugNodeFlags:{get(){return oe(this.flags)}},__debugModifierFlags:{get(){return we(Mfe(this))}},__debugTransformFlags:{get(){return Ue(this.transformFlags)}},__debugIsParseTreeNode:{get(){return o8(this)}},__debugEmitFlags:{get(){return _t(to(this))}},__debugGetText:{value(pi){if(Zo(this))return"";let hi=Ft.get(this);if(hi===void 0){let Qi=Vs(this),Ys=Qi&&zr(Qi);hi=Ys?wC(Ys,Qi,pi):"",Ft.set(this,hi)}return hi}}});xr=!0}e.enableDebugInfo=Bt;function ai(tt){let Ft=tt&7,Dr=Ft===0?"in out":Ft===3?"[bivariant]":Ft===2?"in":Ft===1?"out":Ft===4?"[independent]":"";return tt&8?Dr+=" (unmeasurable)":tt&16&&(Dr+=" (unreliable)"),Dr}e.formatVariance=ai;class ms{__debugToString(){var Ft;switch(this.kind){case 3:return((Ft=this.debugInfo)==null?void 0:Ft.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return Hi(this.sources,this.targets||hr(this.sources,()=>"any"),(Dr,dn)=>`${Dr.__debugTypeToString()} -> ${typeof dn=="string"?dn:dn.__debugTypeToString()}`).join(", ");case 2:return Hi(this.sources,this.targets,(Dr,dn)=>`${Dr.__debugTypeToString()} -> ${dn().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`
357
357
  `).join(`
@@ -783,30 +783,30 @@ Project '${d.projectName}' (${kw[d.projectKind]}) ${o}
783
783
  `,o++};this.projectService.externalProjects.forEach(u),this.projectService.configuredProjects.forEach(u),this.projectService.inferredProjects.forEach(u)}}this.logger.msg(s,"Err")}send(t){if(t.type==="event"&&!this.canUseEvents){this.logger.hasLevel(3)&&this.logger.info(`Session does not support events: ignored event: ${fb(t)}`);return}this.writeMessage(t)}writeMessage(t){let n=$2e(t,this.logger,this.byteLength,this.host.newLine);this.host.write(n)}event(t,n){this.send(H2e(n,t))}doOutput(t,n,i,s,o,u){let d={seq:0,type:"response",command:n,request_seq:i,success:s,performanceData:o&&pqe(o)};if(s){let f;if(ks(t))d.body=t,f=t.metadata,delete t.metadata;else if(typeof t=="object")if(t.metadata){let{metadata:D,...y}=t;d.body=y,f=D}else d.body=t;else d.body=t;f&&(d.metadata=f)}else P.assert(t===void 0);u&&(d.message=u),this.send(d)}semanticCheck(t,n){var i,s;let o=Qo();(i=Fn)==null||i.push(Fn.Phase.Session,"semanticCheck",{file:t,configFilePath:n.canonicalConfigFilePath});let u=rqe(n,t)?yl:n.getLanguageService().getSemanticDiagnostics(t).filter(d=>!!d.file);this.sendDiagnosticsEvent(t,n,u,"semanticDiag",o),(s=Fn)==null||s.pop()}syntacticCheck(t,n){var i,s;let o=Qo();(i=Fn)==null||i.push(Fn.Phase.Session,"syntacticCheck",{file:t,configFilePath:n.canonicalConfigFilePath}),this.sendDiagnosticsEvent(t,n,n.getLanguageService().getSyntacticDiagnostics(t),"syntaxDiag",o),(s=Fn)==null||s.pop()}suggestionCheck(t,n){var i,s;let o=Qo();(i=Fn)==null||i.push(Fn.Phase.Session,"suggestionCheck",{file:t,configFilePath:n.canonicalConfigFilePath}),this.sendDiagnosticsEvent(t,n,n.getLanguageService().getSuggestionDiagnostics(t),"suggestionDiag",o),(s=Fn)==null||s.pop()}regionSemanticCheck(t,n,i){var s,o,u;let d=Qo();(s=Fn)==null||s.push(Fn.Phase.Session,"regionSemanticCheck",{file:t,configFilePath:n.canonicalConfigFilePath});let f;if(!this.shouldDoRegionCheck(t)||!(f=n.getLanguageService().getRegionSemanticDiagnostics(t,i))){(o=Fn)==null||o.pop();return}this.sendDiagnosticsEvent(t,n,f.diagnostics,"regionSemanticDiag",d,f.spans),(u=Fn)==null||u.pop()}shouldDoRegionCheck(t){var n;let i=(n=this.projectService.getScriptInfoForNormalizedPath(t))==null?void 0:n.textStorage.getLineInfo().getLineCount();return!!(i&&i>=this.regionDiagLineCountThreshold)}sendDiagnosticsEvent(t,n,i,s,o,u){try{let d=P.checkDefined(n.getScriptInfo(t)),f=Qo()-o,D={file:t,diagnostics:i.map(y=>nqe(t,n,y)),spans:u?.map(y=>Ig(y,d))};this.event(D,s),this.addDiagnosticsPerformanceData(t,s,f)}catch(d){this.logError(d,s)}}updateErrorCheck(t,n,i,s=!0){if(n.length===0)return;P.assert(!this.suppressDiagnosticEvents);let o=this.changeSeq,u=Math.min(i,200),d=0,f=()=>{if(d++,n.length>d)return t.delay("checkOne",u,y)},D=(b,T)=>{if(this.semanticCheck(b,T),this.changeSeq===o){if(this.getPreferences(b).disableSuggestions)return f();t.immediate("suggestionCheck",()=>{this.suggestionCheck(b,T),f()})}},y=()=>{if(this.changeSeq!==o)return;let b,T=n[d];if(zs(T)?T=this.toPendingErrorCheck(T):"ranges"in T&&(b=T.ranges,T=this.toPendingErrorCheck(T.file)),!T)return f();let{fileName:A,project:k}=T;if(xm(k),!!k.containsFile(A,s)&&(this.syntacticCheck(A,k),this.changeSeq===o)){if(k.projectService.serverMode!==0)return f();if(b)return t.immediate("regionSemanticCheck",()=>{let N=this.projectService.getScriptInfoForNormalizedPath(A);N&&this.regionSemanticCheck(A,k,b.map(L=>this.getRange({file:A,...L},N))),this.changeSeq===o&&t.immediate("semanticCheck",()=>D(A,k))});t.immediate("semanticCheck",()=>D(A,k))}};n.length>d&&this.changeSeq===o&&t.delay("checkOne",i,y)}cleanProjects(t,n){if(n){this.logger.info(`cleaning ${t}`);for(let i of n)i.getLanguageService(!1).cleanupSemanticCache(),i.cleanupProgram()}}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",As(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t);return i.getEncodedSyntacticClassifications(n,t)}getEncodedSemanticClassifications(t){let{file:n,project:i}=this.getFileAndProject(t),s=t.format==="2020"?"2020":"original";return i.getLanguageService().getEncodedSemanticClassifications(n,t,s)}getProject(t){return t===void 0?void 0:this.projectService.findProject(t)}getConfigFileAndProject(t){let n=this.getProject(t.projectFileName),i=Go(t.file);return{configFile:n&&n.hasConfigFile(i)?i:void 0,project:n}}getConfigFileDiagnostics(t,n,i){let s=n.getAllProjectErrors(),o=n.getLanguageService().getCompilerOptionsDiagnostics(),u=Rr(Ht(s,o),d=>!!d.file&&d.file.fileName===t);return i?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(u):hr(u,d=>bO(d,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(t){return t.map(n=>({message:xg(n.messageText,this.host.newLine),start:n.start,length:n.length,category:_E(n),code:n.code,source:n.source,startLocation:n.file&&E3(la(n.file,n.start)),endLocation:n.file&&E3(la(n.file,n.start+n.length)),reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated,relatedInformation:hr(n.relatedInformation,yre)}))}getCompilerOptionsDiagnostics(t){let n=this.getProject(t.projectFileName);return this.convertToDiagnosticsWithLinePosition(Rr(n.getLanguageService().getCompilerOptionsDiagnostics(),i=>!i.file),void 0)}convertToDiagnosticsWithLinePosition(t,n){return t.map(i=>({message:xg(i.messageText,this.host.newLine),start:i.start,length:i.length,category:_E(i),code:i.code,source:i.source,startLocation:n&&n.positionToLineOffset(i.start),endLocation:n&&n.positionToLineOffset(i.start+i.length),reportsUnnecessary:i.reportsUnnecessary,reportsDeprecated:i.reportsDeprecated,relatedInformation:hr(i.relatedInformation,yre)}))}getDiagnosticsWorker(t,n,i,s){let{project:o,file:u}=this.getFileAndProject(t);if(n&&rqe(o,u))return yl;let d=o.getScriptInfoForNormalizedPath(u),f=i(o,u);return s?this.convertToDiagnosticsWithLinePosition(f,d):f.map(D=>nqe(u,o,D))}getDefinition(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),u=this.mapDefinitionInfoLocations(s.getLanguageService().getDefinitionAtPosition(i,o)||yl,s);return n?this.mapDefinitionInfo(u,s):u.map(doe.mapToOriginalLocation)}mapDefinitionInfoLocations(t,n){return t.map(i=>{let s=lqe(i,n);return s?{...s,containerKind:i.containerKind,containerName:i.containerName,kind:i.kind,name:i.name,failedAliasResolution:i.failedAliasResolution,...i.unverified&&{unverified:i.unverified}}:i})}getDefinitionAndBoundSpan(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),u=P.checkDefined(s.getScriptInfo(i)),d=s.getLanguageService().getDefinitionAndBoundSpan(i,o);if(!d||!d.definitions)return{definitions:yl,textSpan:void 0};let f=this.mapDefinitionInfoLocations(d.definitions,s),{textSpan:D}=d;return n?{definitions:this.mapDefinitionInfo(f,s),textSpan:Ig(D,u)}:{definitions:f.map(doe.mapToOriginalLocation),textSpan:D}}findSourceDefinition(t){var n;let{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),u=s.getLanguageService().getDefinitionAtPosition(i,o),d=this.mapDefinitionInfoLocations(u||yl,s).slice();if(this.projectService.serverMode===0&&(!ht(d,A=>Go(A.fileName)!==i&&!A.isAmbient)||ht(d,A=>!!A.failedAliasResolution))){let A=DG(M=>M.textSpan.start,PZ(this.host.useCaseSensitiveFileNames));d?.forEach(M=>A.add(M));let k=s.getNoDtsResolutionProject(i),N=k.getLanguageService(),L=(n=N.getDefinitionAtPosition(i,o,!0,!1))==null?void 0:n.filter(M=>Go(M.fileName)!==i);if(ht(L))for(let M of L){if(M.unverified){let q=b(M,s.getLanguageService().getProgram(),N.getProgram());if(ht(q)){for(let J of q)A.add(J);continue}}A.add(M)}else{let M=d.filter(q=>Go(q.fileName)!==i&&q.isAmbient);for(let q of ht(M)?M:y()){let J=D(q.fileName,i,k);if(!J)continue;let V=this.projectService.getOrCreateScriptInfoNotOpenedByClient(J,k.currentDirectory,k.directoryStructureHost,!1);if(!V)continue;k.containsScriptInfo(V)||(k.addRoot(V),k.updateGraph());let $=N.getProgram(),ee=P.checkDefined($.getSourceFile(J));for(let ne of T(q.name,ee,$))A.add(ne)}}d=As(A.values())}return d=d.filter(A=>!A.isAmbient&&!A.failedAliasResolution),this.mapDefinitionInfo(d,s);function D(A,k,N){var L,M,q;let J=cj(A);if(J&&A.lastIndexOf(s1)===J.topLevelNodeModulesIndex){let V=A.substring(0,J.packageRootIndex),$=(L=s.getModuleResolutionCache())==null?void 0:L.getPackageJsonInfoCache(),ee=s.getCompilationSettings(),ne=LI(vs(V,s.getCurrentDirectory()),OI($,s,ee));if(!ne)return;let Q=eX(ne,{moduleResolution:2},s,s.getModuleResolutionCache()),Ce=A.substring(J.topLevelPackageNameIndex+1,J.packageRootIndex),ue=RI(U5(Ce)),X=s.toPath(A);if(Q&&ht(Q,he=>s.toPath(he)===X))return(M=N.resolutionCache.resolveSingleModuleNameWithoutWatching(ue,k).resolvedModule)==null?void 0:M.resolvedFileName;{let he=A.substring(J.packageRootIndex+1),me=`${ue}/${Xf(he)}`;return(q=N.resolutionCache.resolveSingleModuleNameWithoutWatching(me,k).resolvedModule)==null?void 0:q.resolvedFileName}}}function y(){let A=s.getLanguageService(),k=A.getProgram(),N=N_(k.getSourceFile(i),o);return(vo(N)||Ke(N))&&_c(N.parent)&&Yfe(N,L=>{var M;if(L===N)return;let q=(M=A.getDefinitionAtPosition(i,L.getStart(),!0,!1))==null?void 0:M.filter(J=>Go(J.fileName)!==i&&J.isAmbient).map(J=>({fileName:J.fileName,name:Ld(N)}));if(ht(q))return q})||yl}function b(A,k,N){var L;let M=N.getSourceFile(A.fileName);if(!M)return;let q=N_(k.getSourceFile(i),o),J=k.getTypeChecker().getSymbolAtLocation(q),V=J&&xc(J,277);if(!V)return;let $=((L=V.propertyName)==null?void 0:L.text)||V.name.text;return T($,M,N)}function T(A,k,N){let L=dc.Core.getTopMostDeclarationNamesInFile(A,k);return jn(L,M=>{let q=N.getTypeChecker().getSymbolAtLocation(M),J=P8(M);if(q&&J)return v3.createDefinitionInfo(J,N.getTypeChecker(),q,J,!0)})}}getEmitOutput(t){let{file:n,project:i}=this.getFileAndProject(t);if(!i.shouldEmitFile(i.getScriptInfo(n)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};let s=i.getLanguageService().getEmitOutput(n);return t.richResponse?{...s,diagnostics:t.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(s.diagnostics):s.diagnostics.map(o=>bO(o,!0))}:s}mapJSDocTagInfo(t,n,i){return t?t.map(s=>{var o;return{...s,text:i?this.mapDisplayParts(s.text,n):(o=s.text)==null?void 0:o.map(u=>u.text).join("")}}):[]}mapDisplayParts(t,n){return t?t.map(i=>i.kind!=="linkName"?i:{...i,target:this.toFileSpan(i.target.fileName,i.target.textSpan,n)}):[]}mapSignatureHelpItems(t,n,i){return t.map(s=>({...s,documentation:this.mapDisplayParts(s.documentation,n),parameters:s.parameters.map(o=>({...o,documentation:this.mapDisplayParts(o.documentation,n)})),tags:this.mapJSDocTagInfo(s.tags,n,i)}))}mapDefinitionInfo(t,n){return t.map(i=>({...this.toFileSpanWithContext(i.fileName,i.textSpan,i.contextSpan,n),...i.unverified&&{unverified:i.unverified}}))}static mapToOriginalLocation(t){return t.originalFileName?(P.assert(t.originalTextSpan!==void 0,"originalTextSpan should be present if originalFileName is"),{...t,fileName:t.originalFileName,textSpan:t.originalTextSpan,targetFileName:t.fileName,targetTextSpan:t.textSpan,contextSpan:t.originalContextSpan,targetContextSpan:t.contextSpan}):t}toFileSpan(t,n,i){let s=i.getLanguageService(),o=s.toLineColumnOffset(t,n.start),u=s.toLineColumnOffset(t,$c(n));return{file:t,start:{line:o.line+1,offset:o.character+1},end:{line:u.line+1,offset:u.character+1}}}toFileSpanWithContext(t,n,i,s){let o=this.toFileSpan(t,n,s),u=i&&this.toFileSpan(t,i,s);return u?{...o,contextStart:u.start,contextEnd:u.end}:o}getTypeDefinition(t){let{file:n,project:i}=this.getFileAndProject(t),s=this.getPositionInFile(t,n),o=this.mapDefinitionInfoLocations(i.getLanguageService().getTypeDefinitionAtPosition(n,s)||yl,i);return this.mapDefinitionInfo(o,i)}mapImplementationLocations(t,n){return t.map(i=>{let s=lqe(i,n);return s?{...s,kind:i.kind,displayParts:i.displayParts}:i})}getImplementation(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),u=this.mapImplementationLocations(s.getLanguageService().getImplementationAtPosition(i,o)||yl,s);return n?u.map(({fileName:d,textSpan:f,contextSpan:D})=>this.toFileSpanWithContext(d,f,D,s)):u.map(doe.mapToOriginalLocation)}getSyntacticDiagnosticsSync(t){let{configFile:n}=this.getConfigFileAndProject(t);return n?yl:this.getDiagnosticsWorker(t,!1,(i,s)=>i.getLanguageService().getSyntacticDiagnostics(s),!!t.includeLinePosition)}getSemanticDiagnosticsSync(t){let{configFile:n,project:i}=this.getConfigFileAndProject(t);return n?this.getConfigFileDiagnostics(n,i,!!t.includeLinePosition):this.getDiagnosticsWorker(t,!0,(s,o)=>s.getLanguageService().getSemanticDiagnostics(o).filter(u=>!!u.file),!!t.includeLinePosition)}getSuggestionDiagnosticsSync(t){let{configFile:n}=this.getConfigFileAndProject(t);return n?yl:this.getDiagnosticsWorker(t,!0,(i,s)=>i.getLanguageService().getSuggestionDiagnostics(s),!!t.includeLinePosition)}getJsxClosingTag(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n),o=i.getJsxClosingTagAtPosition(n,s);return o===void 0?void 0:{newText:o.newText,caretOffset:0}}getLinkedEditingRange(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n),o=i.getLinkedEditingRangeAtPosition(n,s),u=this.projectService.getScriptInfoForNormalizedPath(n);if(!(u===void 0||o===void 0))return i4t(o,u)}getDocumentHighlights(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),u=s.getLanguageService().getDocumentHighlights(i,o,t.filesToSearch);return u?n?u.map(({fileName:d,highlightSpans:f})=>{let D=s.getScriptInfo(d);return{file:d,highlightSpans:f.map(({textSpan:y,kind:b,contextSpan:T})=>({...Q2e(y,T,D),kind:b}))}}):u:yl}provideInlayHints(t){let{file:n,project:i}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(n);return i.getLanguageService().provideInlayHints(n,t,this.getPreferences(n)).map(u=>{let{position:d,displayParts:f}=u;return{...u,position:s.positionToLineOffset(d),displayParts:f?.map(({text:D,span:y,file:b})=>{if(y){P.assertIsDefined(b,"Target file should be defined together with its span.");let T=this.projectService.getScriptInfo(b);return{text:D,span:{start:T.positionToLineOffset(y.start),end:T.positionToLineOffset(y.start+y.length),file:b}}}else return{text:D}})}})}mapCode(t){var n;let i=this.getHostFormatOptions(),s=this.getHostPreferences(),{file:o,languageService:u}=this.getFileAndLanguageServiceForSyntacticOperation(t),d=this.projectService.getScriptInfoForNormalizedPath(o),f=(n=t.mapping.focusLocations)==null?void 0:n.map(y=>y.map(b=>{let T=d.lineOffsetToPosition(b.start.line,b.start.offset),A=d.lineOffsetToPosition(b.end.line,b.end.offset);return{start:T,length:A-T}})),D=u.mapCode(o,t.mapping.contents,f,i,s);return this.mapTextChangesToCodeEdits(D)}getCopilotRelatedInfo(){return{relatedFiles:[]}}setCompilerOptionsForInferredProjects(t){this.projectService.setCompilerOptionsForInferredProjects(t.options,t.projectRootPath)}getProjectInfo(t){return this.getProjectInfoWorker(t.file,t.projectFileName,t.needFileNameList,t.needDefaultConfiguredProjectInfo,!1)}getProjectInfoWorker(t,n,i,s,o){let{project:u}=this.getFileAndProjectWorker(t,n);return xm(u),{configFileName:u.getProjectName(),languageServiceDisabled:!u.languageServiceEnabled,fileNames:i?u.getFileNames(!1,o):void 0,configuredProjectInfo:s?this.getDefaultConfiguredProjectInfo(t):void 0}}getDefaultConfiguredProjectInfo(t){var n;let i=this.projectService.getScriptInfo(t);if(!i)return;let s=this.projectService.findDefaultConfiguredProjectWorker(i,3);if(!s)return;let o,u;return s.seenProjects.forEach((d,f)=>{f!==s.defaultProject&&(d!==3?(o??(o=[])).push(Go(f.getConfigFilePath())):(u??(u=[])).push(Go(f.getConfigFilePath())))}),(n=s.seenConfigs)==null||n.forEach(d=>(o??(o=[])).push(d)),{notMatchedByConfig:o,notInProject:u,defaultProject:s.defaultProject&&Go(s.defaultProject.getConfigFilePath())}}getRenameInfo(t){let{file:n,project:i}=this.getFileAndProject(t),s=this.getPositionInFile(t,n),o=this.getPreferences(n);return i.getLanguageService().getRenameInfo(n,s,o)}getProjects(t,n,i){let s,o;if(t.projectFileName){let u=this.getProject(t.projectFileName);u&&(s=[u])}else{let u=n?this.projectService.getScriptInfoEnsuringProjectsUptoDate(t.file):this.projectService.getScriptInfo(t.file);if(u)n||this.projectService.ensureDefaultProjectForFile(u);else return i?yl:(this.projectService.logErrorForScriptInfoNotFound(t.file),ny.ThrowNoProject());s=u.containingProjects,o=this.projectService.getSymlinkedProjects(u)}return s=Rr(s,u=>u.languageServiceEnabled&&!u.isOrphan()),!i&&(!s||!s.length)&&!o?(this.projectService.logErrorForScriptInfoNotFound(t.file??t.projectFileName),ny.ThrowNoProject()):o?{projects:s,symLinkedProjects:o}:s}getDefaultProject(t){if(t.projectFileName){let i=this.getProject(t.projectFileName);if(i)return i;if(!t.file)return ny.ThrowNoProject()}return this.projectService.getScriptInfo(t.file).getDefaultProject()}getRenameLocations(t,n){let i=Go(t.file),s=this.getPositionInFile(t,i),o=this.getProjects(t),u=this.getDefaultProject(t),d=this.getPreferences(i),f=this.mapRenameInfo(u.getLanguageService().getRenameInfo(i,s,d),P.checkDefined(this.projectService.getScriptInfo(i)));if(!f.canRename)return n?{info:f,locs:[]}:[];let D=Y3t(o,u,{fileName:t.file,pos:s},!!t.findInStrings,!!t.findInComments,d,this.host.useCaseSensitiveFileNames);return n?{info:f,locs:this.toSpanGroups(D)}:D}mapRenameInfo(t,n){if(t.canRename){let{canRename:i,fileToRename:s,displayName:o,fullDisplayName:u,kind:d,kindModifiers:f,triggerSpan:D}=t;return{canRename:i,fileToRename:s,displayName:o,fullDisplayName:u,kind:d,kindModifiers:f,triggerSpan:Ig(D,n)}}else return t}toSpanGroups(t){let n=new Map;for(let{fileName:i,textSpan:s,contextSpan:o,originalContextSpan:u,originalTextSpan:d,originalFileName:f,...D}of t){let y=n.get(i);y||n.set(i,y={file:i,locs:[]});let b=P.checkDefined(this.projectService.getScriptInfo(i));y.locs.push({...Q2e(s,o,b),...D})}return As(n.values())}getReferences(t,n){let i=Go(t.file),s=this.getProjects(t),o=this.getPositionInFile(t,i),u=Z3t(s,this.getDefaultProject(t),{fileName:t.file,pos:o},this.host.useCaseSensitiveFileNames,this.logger);if(!n)return u;let d=this.getPreferences(i),f=this.getDefaultProject(t),D=f.getScriptInfoForNormalizedPath(i),y=f.getLanguageService().getQuickInfoAtPosition(i,o),b=y?V9(y.displayParts):"",T=y&&y.textSpan,A=T?D.positionToLineOffset(T.start).offset:0,k=T?D.getSnapshot().getText(T.start,$c(T)):"";return{refs:Zs(u,L=>L.references.map(M=>mqe(this.projectService,M,d))),symbolName:k,symbolStartOffset:A,symbolDisplayString:b}}getFileReferences(t,n){let i=this.getProjects(t),s=Go(t.file),o=this.getPreferences(s),u={fileName:s,pos:0},d=K2e(i,this.getDefaultProject(t),u,u,oqe,y=>(this.logger.info(`Finding references to file ${s} in project ${y.getProjectName()}`),y.getLanguageService().getFileReferences(s))),f;if(ks(d))f=d;else{f=[];let y=vre(this.host.useCaseSensitiveFileNames);d.forEach(b=>{for(let T of b)y.has(T)||(f.push(T),y.add(T))})}return n?{refs:f.map(y=>mqe(this.projectService,y,o)),symbolName:`"${t.file}"`}:f}openClientFile(t,n,i,s){this.projectService.openClientFileWithNormalizedPath(t,n,i,!1,s)}getPosition(t,n){return t.position!==void 0?t.position:n.lineOffsetToPosition(t.line,t.offset)}getPositionInFile(t,n){let i=this.projectService.getScriptInfoForNormalizedPath(n);return this.getPosition(t,i)}getFileAndProject(t){return this.getFileAndProjectWorker(t.file,t.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(t){let{file:n,project:i}=this.getFileAndProject(t);return{file:n,languageService:i.getLanguageService(!1)}}getFileAndProjectWorker(t,n){let i=Go(t),s=this.getProject(n)||this.projectService.ensureDefaultProjectForFile(i);return{file:i,project:s}}getOutliningSpans(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=s.getOutliningSpans(i);if(n){let u=this.projectService.getScriptInfoForNormalizedPath(i);return o.map(d=>({textSpan:Ig(d.textSpan,u),hintSpan:Ig(d.hintSpan,u),bannerText:d.bannerText,autoCollapse:d.autoCollapse,kind:d.kind}))}else return o}getTodoComments(t){let{file:n,project:i}=this.getFileAndProject(t);return i.getLanguageService().getTodoComments(n,t.descriptors)}getDocCommentTemplate(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.getDocCommentTemplateAtPosition(n,s,this.getPreferences(n),this.getFormatOptions(n))}getSpanOfEnclosingComment(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.onlyMultiLine,o=this.getPositionInFile(t,n);return i.getSpanOfEnclosingComment(n,o,s)}getIndentation(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n),o=t.options?S3(t.options):this.getFormatOptions(n),u=i.getIndentationAtPosition(n,s,o);return{position:s,indentation:u}}getBreakpointStatement(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.getBreakpointStatementAtPosition(n,s)}getNameOrDottedNameSpan(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.getNameOrDottedNameSpan(n,s,s)}isValidBraceCompletion(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.isValidBraceCompletionAtPosition(n,s,t.openingBrace.charCodeAt(0))}getQuickInfoWorker(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getPreferences(i),d=s.getLanguageService().getQuickInfoAtPosition(i,this.getPosition(t,o),u.maximumHoverLength,t.verbosityLevel);if(!d)return;let f=!!u.displayPartsForJSDoc;if(n){let D=V9(d.displayParts);return{kind:d.kind,kindModifiers:d.kindModifiers,start:o.positionToLineOffset(d.textSpan.start),end:o.positionToLineOffset($c(d.textSpan)),displayString:D,documentation:f?this.mapDisplayParts(d.documentation,s):V9(d.documentation),tags:this.mapJSDocTagInfo(d.tags,s,f),canIncreaseVerbosityLevel:d.canIncreaseVerbosityLevel}}else return f?d:{...d,tags:this.mapJSDocTagInfo(d.tags,s,!1)}}getFormattingEditsForRange(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(n),o=s.lineOffsetToPosition(t.line,t.offset),u=s.lineOffsetToPosition(t.endLine,t.endOffset),d=i.getFormattingEditsForRange(n,o,u,this.getFormatOptions(n));if(d)return d.map(f=>this.convertTextChangeToCodeEdit(f,s))}getFormattingEditsForRangeFull(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.options?S3(t.options):this.getFormatOptions(n);return i.getFormattingEditsForRange(n,t.position,t.endPosition,s)}getFormattingEditsForDocumentFull(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.options?S3(t.options):this.getFormatOptions(n);return i.getFormattingEditsForDocument(n,s)}getFormattingEditsAfterKeystrokeFull(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.options?S3(t.options):this.getFormatOptions(n);return i.getFormattingEditsAfterKeystroke(n,t.position,t.key,s)}getFormattingEditsAfterKeystroke(t){let{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(n),o=s.lineOffsetToPosition(t.line,t.offset),u=this.getFormatOptions(n),d=i.getFormattingEditsAfterKeystroke(n,o,t.key,u);if(t.key===`
784
784
  `&&(!d||d.length===0||K3t(d,o))){let{lineText:f,absolutePosition:D}=s.textStorage.getAbsolutePositionAndLineText(t.line);if(f&&f.search("\\S")<0){let y=i.getIndentationAtPosition(n,o,u),b=0,T,A;for(T=0,A=f.length;T<A;T++)if(f.charAt(T)===" ")b++;else if(f.charAt(T)===" ")b+=u.tabSize;else break;if(y!==b){let k=D+T;d.push({span:Tu(D,k),newText:Zu.getIndentationString(y,u)})}}}if(d)return d.map(f=>({start:s.positionToLineOffset(f.span.start),end:s.positionToLineOffset($c(f.span)),newText:f.newText?f.newText:""}))}getCompletions(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getPosition(t,o),d=s.getLanguageService().getCompletionsAtPosition(i,u,{...w2e(this.getPreferences(i)),triggerCharacter:t.triggerCharacter,triggerKind:t.triggerKind,includeExternalModuleExports:t.includeExternalModuleExports,includeInsertTextCompletions:t.includeInsertTextCompletions},s.projectService.getFormatCodeOptions(i));if(d===void 0)return;if(n==="completions-full")return d;let f=t.prefix||"",D=jn(d.entries,b=>{if(d.isMemberCompletion||_s(b.name.toLowerCase(),f.toLowerCase())){let T=b.replacementSpan?Ig(b.replacementSpan,o):void 0;return{...b,replacementSpan:T,hasAction:b.hasAction||void 0,symbol:void 0}}});return n==="completions"?(d.metadata&&(D.metadata=d.metadata),D):{...d,optionalReplacementSpan:d.optionalReplacementSpan&&Ig(d.optionalReplacementSpan,o),entries:D}}getCompletionEntryDetails(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getPosition(t,o),d=s.projectService.getFormatCodeOptions(i),f=!!this.getPreferences(i).displayPartsForJSDoc,D=jn(t.entryNames,y=>{let{name:b,source:T,data:A}=typeof y=="string"?{name:y,source:void 0,data:void 0}:y;return s.getLanguageService().getCompletionEntryDetails(i,u,b,d,T,this.getPreferences(i),A?ha(A,u4t):void 0)});return n?f?D:D.map(y=>({...y,tags:this.mapJSDocTagInfo(y.tags,s,!1)})):D.map(y=>({...y,codeActions:hr(y.codeActions,b=>this.mapCodeAction(b)),documentation:this.mapDisplayParts(y.documentation,s),tags:this.mapJSDocTagInfo(y.tags,s,f)}))}getCompileOnSaveAffectedFileList(t){let n=this.getProjects(t,!0,!0),i=this.projectService.getScriptInfo(t.file);return i?X3t(i,s=>this.projectService.getScriptInfoForPath(s),n,(s,o)=>{if(!s.compileOnSaveEnabled||!s.languageServiceEnabled||s.isOrphan())return;let u=s.getCompilationSettings();if(!(u.noEmit||wl(o.fileName)&&!H3t(u)))return{projectFileName:s.getProjectName(),fileNames:s.getCompileOnSaveAffectedFileList(o),projectUsesOutFile:!!u.outFile}}):yl}emitFile(t){let{file:n,project:i}=this.getFileAndProject(t);if(i||ny.ThrowNoProject(),!i.languageServiceEnabled)return t.richResponse?{emitSkipped:!0,diagnostics:[]}:!1;let s=i.getScriptInfo(n),{emitSkipped:o,diagnostics:u}=i.emitFile(s,(d,f,D)=>this.host.writeFile(d,f,D));return t.richResponse?{emitSkipped:o,diagnostics:t.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(u):u.map(d=>bO(d,!0))}:!o}getSignatureHelpItems(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getPosition(t,o),d=s.getLanguageService().getSignatureHelpItems(i,u,t),f=!!this.getPreferences(i).displayPartsForJSDoc;if(d&&n){let D=d.applicableSpan;return{...d,applicableSpan:{start:o.positionToLineOffset(D.start),end:o.positionToLineOffset(D.start+D.length)},items:this.mapSignatureHelpItems(d.items,s,f)}}else return f||!d?d:{...d,items:d.items.map(D=>({...D,tags:this.mapJSDocTagInfo(D.tags,s,!1)}))}}toPendingErrorCheck(t){let n=Go(t),i=this.projectService.tryGetDefaultProjectForFile(n);return i&&{fileName:n,project:i}}getDiagnostics(t,n,i){this.suppressDiagnosticEvents||i.length>0&&this.updateErrorCheck(t,i,n)}change(t){let n=this.projectService.getScriptInfo(t.file);P.assert(!!n),n.textStorage.switchToScriptVersionCache();let i=n.lineOffsetToPosition(t.line,t.offset),s=n.lineOffsetToPosition(t.endLine,t.endOffset);i>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(n,wu({span:{start:i,length:s-i},newText:t.insertString})))}reload(t){let n=Go(t.file),i=t.tmpfile===void 0?void 0:Go(t.tmpfile),s=this.projectService.getScriptInfoForNormalizedPath(n);s&&(this.changeSeq++,s.reloadFromFile(i))}saveToTmp(t,n){let i=this.projectService.getScriptInfo(t);i&&i.saveTo(n)}closeClientFile(t){if(!t)return;let n=va(t);this.projectService.closeClientFile(n)}mapLocationNavigationBarItems(t,n){return hr(t,i=>({text:i.text,kind:i.kind,kindModifiers:i.kindModifiers,spans:i.spans.map(s=>Ig(s,n)),childItems:this.mapLocationNavigationBarItems(i.childItems,n),indent:i.indent}))}getNavigationBarItems(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=s.getNavigationBarItems(i);return o?n?this.mapLocationNavigationBarItems(o,this.projectService.getScriptInfoForNormalizedPath(i)):o:void 0}toLocationNavigationTree(t,n){return{text:t.text,kind:t.kind,kindModifiers:t.kindModifiers,spans:t.spans.map(i=>Ig(i,n)),nameSpan:t.nameSpan&&Ig(t.nameSpan,n),childItems:hr(t.childItems,i=>this.toLocationNavigationTree(i,n))}}getNavigationTree(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=s.getNavigationTree(i);return o?n?this.toLocationNavigationTree(o,this.projectService.getScriptInfoForNormalizedPath(i)):o:void 0}getNavigateToItems(t,n){let i=this.getFullNavigateToItems(t);return n?Zs(i,({project:s,navigateToItems:o})=>o.map(u=>{let d=s.getScriptInfo(u.fileName),f={name:u.name,kind:u.kind,kindModifiers:u.kindModifiers,isCaseSensitive:u.isCaseSensitive,matchKind:u.matchKind,file:u.fileName,start:d.positionToLineOffset(u.textSpan.start),end:d.positionToLineOffset($c(u.textSpan))};return u.kindModifiers&&u.kindModifiers!==""&&(f.kindModifiers=u.kindModifiers),u.containerName&&u.containerName.length>0&&(f.containerName=u.containerName),u.containerKind&&u.containerKind.length>0&&(f.containerKind=u.containerKind),f})):Zs(i,({navigateToItems:s})=>s)}getFullNavigateToItems(t){let{currentFileOnly:n,searchValue:i,maxResultCount:s,projectFileName:o}=t;if(n){P.assertIsDefined(t.file);let{file:T,project:A}=this.getFileAndProject(t);return[{project:A,navigateToItems:A.getLanguageService().getNavigateToItems(i,s,T)}]}let u=this.getHostPreferences(),d=[],f=new Map;if(!t.file&&!o)this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(T=>D(T));else{let T=this.getProjects(t);aqe(T,void 0,A=>D(A))}return d;function D(T){let A=T.getLanguageService().getNavigateToItems(i,s,void 0,T.isNonTsProject(),u.excludeLibrarySymbolsInNavTo),k=Rr(A,N=>y(N)&&!Dre(Iw(N),T));k.length&&d.push({project:T,navigateToItems:k})}function y(T){let A=T.name;if(!f.has(A))return f.set(A,[T]),!0;let k=f.get(A);for(let N of k)if(b(N,T))return!1;return k.push(T),!0}function b(T,A){return T===A?!0:!T||!A?!1:T.containerKind===A.containerKind&&T.containerName===A.containerName&&T.fileName===A.fileName&&T.isCaseSensitive===A.isCaseSensitive&&T.kind===A.kind&&T.kindModifiers===A.kindModifiers&&T.matchKind===A.matchKind&&T.name===A.name&&T.textSpan.start===A.textSpan.start&&T.textSpan.length===A.textSpan.length}}getSupportedCodeFixes(t){if(!t)return Mee();if(t.file){let{file:i,project:s}=this.getFileAndProject(t);return s.getLanguageService().getSupportedCodeFixes(i)}let n=this.getProject(t.projectFileName);return n||ny.ThrowNoProject(),n.getLanguageService().getSupportedCodeFixes()}isLocation(t){return t.line!==void 0}extractPositionOrRange(t,n){let i,s;return this.isLocation(t)?i=o(t):s=this.getRange(t,n),P.checkDefined(i===void 0?s:i);function o(u){return u.position!==void 0?u.position:n.lineOffsetToPosition(u.line,u.offset)}}getRange(t,n){let{startPosition:i,endPosition:s}=this.getStartAndEndPosition(t,n);return{pos:i,end:s}}getApplicableRefactors(t){let{file:n,project:i}=this.getFileAndProject(t),s=i.getScriptInfoForNormalizedPath(n);return i.getLanguageService().getApplicableRefactors(n,this.extractPositionOrRange(t,s),this.getPreferences(n),t.triggerReason,t.kind,t.includeInteractiveActions).map(u=>({...u,actions:u.actions.map(d=>({...d,range:d.range?{start:E3({line:d.range.start.line,character:d.range.start.offset}),end:E3({line:d.range.end.line,character:d.range.end.offset})}:void 0}))}))}getEditsForRefactor(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=s.getScriptInfoForNormalizedPath(i),u=s.getLanguageService().getEditsForRefactor(i,this.getFormatOptions(i),this.extractPositionOrRange(t,o),t.refactor,t.action,this.getPreferences(i),t.interactiveRefactorArguments);if(u===void 0)return{edits:[]};if(n){let{renameFilename:d,renameLocation:f,edits:D}=u,y;if(d!==void 0&&f!==void 0){let b=s.getScriptInfoForNormalizedPath(Go(d));y=X2e(XA(b.getSnapshot()),d,f,D)}return{renameLocation:y,renameFilename:d,edits:this.mapTextChangesToCodeEdits(D),notApplicableReason:u.notApplicableReason}}return u}getMoveToRefactoringFileSuggestions(t){let{file:n,project:i}=this.getFileAndProject(t),s=i.getScriptInfoForNormalizedPath(n);return i.getLanguageService().getMoveToRefactoringFileSuggestions(n,this.extractPositionOrRange(t,s),this.getPreferences(n))}preparePasteEdits(t){let{file:n,project:i}=this.getFileAndProject(t);return i.getLanguageService().preparePasteEditsForFile(n,t.copiedTextSpan.map(s=>this.getRange({file:n,startLine:s.start.line,startOffset:s.start.offset,endLine:s.end.line,endOffset:s.end.offset},this.projectService.getScriptInfoForNormalizedPath(n))))}getPasteEdits(t){let{file:n,project:i}=this.getFileAndProject(t);if(Fw(n))return;let s=t.copiedFrom?{file:t.copiedFrom.file,range:t.copiedFrom.spans.map(u=>this.getRange({file:t.copiedFrom.file,startLine:u.start.line,startOffset:u.start.offset,endLine:u.end.line,endOffset:u.end.offset},i.getScriptInfoForNormalizedPath(Go(t.copiedFrom.file))))}:void 0,o=i.getLanguageService().getPasteEdits({targetFile:n,pastedText:t.pastedText,pasteLocations:t.pasteLocations.map(u=>this.getRange({file:n,startLine:u.start.line,startOffset:u.start.offset,endLine:u.end.line,endOffset:u.end.offset},i.getScriptInfoForNormalizedPath(n))),copiedFrom:s,preferences:this.getPreferences(n)},this.getFormatOptions(n));return o&&this.mapPasteEditsAction(o)}organizeImports(t,n){P.assert(t.scope.type==="file");let{file:i,project:s}=this.getFileAndProject(t.scope.args),o=s.getLanguageService().organizeImports({fileName:i,mode:t.mode??(t.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(i),this.getPreferences(i));return n?this.mapTextChangesToCodeEdits(o):o}getEditsForFileRename(t,n){let i=Go(t.oldFilePath),s=Go(t.newFilePath),o=this.getHostFormatOptions(),u=this.getHostPreferences(),d=new Set,f=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(D=>{let y=D.getLanguageService().getEditsForFileRename(i,s,o,u),b=[];for(let T of y)d.has(T.fileName)||(f.push(T),b.push(T.fileName));for(let T of b)d.add(T)}),n?f.map(D=>this.mapTextChangeToCodeEdit(D)):f}getCodeFixes(t,n){let{file:i,project:s}=this.getFileAndProject(t),o=s.getScriptInfoForNormalizedPath(i),{startPosition:u,endPosition:d}=this.getStartAndEndPosition(t,o),f;try{f=s.getLanguageService().getCodeFixesAtPosition(i,u,d,t.errorCodes,this.getFormatOptions(i),this.getPreferences(i))}catch(D){let y=D instanceof Error?D:new Error(D),b=s.getLanguageService(),T=[...b.getSyntacticDiagnostics(i),...b.getSemanticDiagnostics(i),...b.getSuggestionDiagnostics(i)].filter(k=>O7(u,d-u,k.start,k.length)).map(k=>k.code),A=t.errorCodes.find(k=>!T.includes(k));throw A!==void 0&&(y.message+=`
785
785
  Additional information: BADCLIENT: Bad error code, ${A} not found in range ${u}..${d} (found: ${T.join(", ")})`),y}return n?f.map(D=>this.mapCodeFixAction(D)):f}getCombinedCodeFix({scope:t,fixId:n},i){P.assert(t.type==="file");let{file:s,project:o}=this.getFileAndProject(t.args),u=o.getLanguageService().getCombinedCodeFix({type:"file",fileName:s},n,this.getFormatOptions(s),this.getPreferences(s));return i?{changes:this.mapTextChangesToCodeEdits(u.changes),commands:u.commands}:u}applyCodeActionCommand(t){let n=t.command;for(let i of LT(n)){let{file:s,project:o}=this.getFileAndProject(i);o.getLanguageService().applyCodeActionCommand(i,this.getFormatOptions(s)).then(u=>{},u=>{})}return{}}getStartAndEndPosition(t,n){let i,s;return t.startPosition!==void 0?i=t.startPosition:(i=n.lineOffsetToPosition(t.startLine,t.startOffset),t.startPosition=i),t.endPosition!==void 0?s=t.endPosition:(s=n.lineOffsetToPosition(t.endLine,t.endOffset),t.endPosition=s),{startPosition:i,endPosition:s}}mapCodeAction({description:t,changes:n,commands:i}){return{description:t,changes:this.mapTextChangesToCodeEdits(n),commands:i}}mapCodeFixAction({fixName:t,description:n,changes:i,commands:s,fixId:o,fixAllDescription:u}){return{fixName:t,description:n,changes:this.mapTextChangesToCodeEdits(i),commands:s,fixId:o,fixAllDescription:u}}mapPasteEditsAction({edits:t,fixId:n}){return{edits:this.mapTextChangesToCodeEdits(t),fixId:n}}mapTextChangesToCodeEdits(t){return t.map(n=>this.mapTextChangeToCodeEdit(n))}mapTextChangeToCodeEdit(t){let n=this.projectService.getScriptInfoOrConfig(t.fileName);return!!t.isNewFile==!!n&&(n||this.projectService.logErrorForScriptInfoNotFound(t.fileName),P.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!t.isNewFile,hasScriptInfo:!!n}))),n?{fileName:t.fileName,textChanges:t.textChanges.map(i=>n4t(i,n))}:a4t(t)}convertTextChangeToCodeEdit(t,n){return{start:n.positionToLineOffset(t.span.start),end:n.positionToLineOffset(t.span.start+t.span.length),newText:t.newText?t.newText:""}}getBraceMatching(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getPosition(t,o),d=s.getBraceMatchingAtPosition(i,u);return d?n?d.map(f=>Ig(f,o)):d:void 0}getDiagnosticsForProject(t,n,i){if(this.suppressDiagnosticEvents)return;let{fileNames:s,languageServiceDisabled:o}=this.getProjectInfoWorker(i,void 0,!0,void 0,!0);if(o)return;let u=s.filter(N=>!N.includes("lib.d.ts"));if(u.length===0)return;let d=[],f=[],D=[],y=[],b=Go(i),T=this.projectService.ensureDefaultProjectForFile(b);for(let N of u)this.getCanonicalFileName(N)===this.getCanonicalFileName(i)?d.push(N):this.projectService.getScriptInfo(N).isScriptOpen()?f.push(N):wl(N)?y.push(N):D.push(N);let k=[...d,...f,...D,...y].map(N=>({fileName:N,project:T}));this.updateErrorCheck(t,k,n,!1)}configurePlugin(t){this.projectService.configurePlugin(t)}getSmartSelectionRange(t,n){let{locations:i}=t,{file:s,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),u=P.checkDefined(this.projectService.getScriptInfo(s));return hr(i,d=>{let f=this.getPosition(d,u),D=o.getSmartSelectionRange(s,f);return n?this.mapSelectionRange(D,u):D})}toggleLineComment(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfo(i),u=this.getRange(t,o),d=s.toggleLineComment(i,u);if(n){let f=this.projectService.getScriptInfoForNormalizedPath(i);return d.map(D=>this.convertTextChangeToCodeEdit(D,f))}return d}toggleMultilineComment(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getRange(t,o),d=s.toggleMultilineComment(i,u);if(n){let f=this.projectService.getScriptInfoForNormalizedPath(i);return d.map(D=>this.convertTextChangeToCodeEdit(D,f))}return d}commentSelection(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getRange(t,o),d=s.commentSelection(i,u);if(n){let f=this.projectService.getScriptInfoForNormalizedPath(i);return d.map(D=>this.convertTextChangeToCodeEdit(D,f))}return d}uncommentSelection(t,n){let{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),u=this.getRange(t,o),d=s.uncommentSelection(i,u);if(n){let f=this.projectService.getScriptInfoForNormalizedPath(i);return d.map(D=>this.convertTextChangeToCodeEdit(D,f))}return d}mapSelectionRange(t,n){let i={textSpan:Ig(t.textSpan,n)};return t.parent&&(i.parent=this.mapSelectionRange(t.parent,n)),i}getScriptInfoFromProjectService(t){let n=Go(t),i=this.projectService.getScriptInfoForNormalizedPath(n);return i||(this.projectService.logErrorForScriptInfoNotFound(n),ny.ThrowNoProject())}toProtocolCallHierarchyItem(t){let n=this.getScriptInfoFromProjectService(t.file);return{name:t.name,kind:t.kind,kindModifiers:t.kindModifiers,file:t.file,containerName:t.containerName,span:Ig(t.span,n),selectionSpan:Ig(t.selectionSpan,n)}}toProtocolCallHierarchyIncomingCall(t){let n=this.getScriptInfoFromProjectService(t.from.file);return{from:this.toProtocolCallHierarchyItem(t.from),fromSpans:t.fromSpans.map(i=>Ig(i,n))}}toProtocolCallHierarchyOutgoingCall(t,n){return{to:this.toProtocolCallHierarchyItem(t.to),fromSpans:t.fromSpans.map(i=>Ig(i,n))}}prepareCallHierarchy(t){let{file:n,project:i}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(n);if(s){let o=this.getPosition(t,s),u=i.getLanguageService().prepareCallHierarchy(n,o);return u&&$Z(u,d=>this.toProtocolCallHierarchyItem(d))}}provideCallHierarchyIncomingCalls(t){let{file:n,project:i}=this.getFileAndProject(t),s=this.getScriptInfoFromProjectService(n);return i.getLanguageService().provideCallHierarchyIncomingCalls(n,this.getPosition(t,s)).map(u=>this.toProtocolCallHierarchyIncomingCall(u))}provideCallHierarchyOutgoingCalls(t){let{file:n,project:i}=this.getFileAndProject(t),s=this.getScriptInfoFromProjectService(n);return i.getLanguageService().provideCallHierarchyOutgoingCalls(n,this.getPosition(t,s)).map(u=>this.toProtocolCallHierarchyOutgoingCall(u,s))}getCanonicalFileName(t){let n=this.host.useCaseSensitiveFileNames?t:Zv(t);return va(n)}exit(){}notRequired(t){return t&&this.doOutput(void 0,t.command,t.seq,!0,this.performanceData),{responseRequired:!1,performanceData:this.performanceData}}requiredResponse(t){return{response:t,responseRequired:!0,performanceData:this.performanceData}}addProtocolHandler(t,n){if(this.handlers.has(t))throw new Error(`Protocol handler already exists for command "${t}"`);this.handlers.set(t,n)}setCurrentRequest(t){P.assert(this.currentRequestId===void 0),this.currentRequestId=t,this.cancellationToken.setRequest(t)}resetCurrentRequest(t){P.assert(this.currentRequestId===t),this.currentRequestId=void 0,this.cancellationToken.resetRequest(t)}executeWithRequestId(t,n,i){let s=this.performanceData;try{return this.performanceData=i,this.setCurrentRequest(t),n()}finally{this.resetCurrentRequest(t),this.performanceData=s}}executeCommand(t){let n=this.handlers.get(t.command);if(n){let i=this.executeWithRequestId(t.seq,()=>n(t),void 0);return this.projectService.enableRequestedPlugins(),i}else return this.logger.msg(`Unrecognized JSON command:${fb(t)}`,"Err"),this.doOutput(void 0,"unknown",t.seq,!1,void 0,`Unrecognized JSON command: ${t.command}`),{responseRequired:!1}}onMessage(t){var n,i,s,o,u,d,f;this.gcTimer.scheduleCollect();let D,y=this.performanceData;this.logger.hasLevel(2)&&(D=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${ew(this.toStringMessage(t))}`));let b,T;try{b=this.parseMessage(t),T=b.arguments&&b.arguments.file?b.arguments:void 0,(n=Fn)==null||n.instant(Fn.Phase.Session,"request",{seq:b.seq,command:b.command}),(i=Fn)==null||i.push(Fn.Phase.Session,"executeCommand",{seq:b.seq,command:b.command},!0);let{response:A,responseRequired:k,performanceData:N}=this.executeCommand(b);if((s=Fn)==null||s.pop(),this.logger.hasLevel(2)){let L=$3t(this.hrtime(D)).toFixed(4);k?this.logger.perftrc(`${b.seq}::${b.command}: elapsed time (in milliseconds) ${L}`):this.logger.perftrc(`${b.seq}::${b.command}: async elapsed time (in milliseconds) ${L}`)}(o=Fn)==null||o.instant(Fn.Phase.Session,"response",{seq:b.seq,command:b.command,success:!!A}),A?this.doOutput(A,b.command,b.seq,!0,N):k&&this.doOutput(void 0,b.command,b.seq,!1,N,"No content available.")}catch(A){if((u=Fn)==null||u.popAll(),A instanceof Q4){(d=Fn)==null||d.instant(Fn.Phase.Session,"commandCanceled",{seq:b?.seq,command:b?.command}),this.doOutput({canceled:!0},b.command,b.seq,!0,this.performanceData);return}this.logErrorWorker(A,this.toStringMessage(t),T),(f=Fn)==null||f.instant(Fn.Phase.Session,"commandError",{seq:b?.seq,command:b?.command,message:A.message}),this.doOutput(void 0,b?b.command:"unknown",b?b.seq:0,!1,this.performanceData,"Error processing request. "+A.message+`
786
- `+A.stack)}finally{this.performanceData=y}}parseMessage(t){return JSON.parse(t)}toStringMessage(t){return t}getFormatOptions(t){return this.projectService.getFormatCodeOptions(t)}getPreferences(t){return this.projectService.getPreferences(t)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function pqe(e){let t=e.diagnosticsDuration&&As(e.diagnosticsDuration,([n,i])=>({...i,file:n}));return{...e,diagnosticsDuration:t}}function Ig(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset($c(e))}}function Q2e(e,t,n){let i=Ig(e,n),s=t&&Ig(t,n);return s?{...i,contextStart:s.start,contextEnd:s.end}:i}function n4t(e,t){return{start:dqe(t,e.span.start),end:dqe(t,$c(e.span)),newText:e.newText}}function dqe(e,t){return W2e(e)?s4t(e.getLineAndCharacterOfPosition(t)):e.positionToLineOffset(t)}function i4t(e,t){let n=e.ranges.map(i=>({start:t.positionToLineOffset(i.start),end:t.positionToLineOffset(i.start+i.length)}));return e.wordPattern?{ranges:n,wordPattern:e.wordPattern}:{ranges:n}}function s4t(e){return{line:e.line+1,offset:e.character+1}}function a4t(e){P.assert(e.textChanges.length===1);let t=eo(e.textChanges);return P.assert(t.span.start===0&&t.span.length===0),{fileName:e.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:t.newText}]}}function X2e(e,t,n,i){let s=o4t(e,t,i),{line:o,character:u}=jk(zT(s),n);return{line:o+1,offset:u+1}}function o4t(e,t,n){for(let{fileName:i,textChanges:s}of n)if(i===t)for(let o=s.length-1;o>=0;o--){let{newText:u,span:{start:d,length:f}}=s[o];e=e.slice(0,d)+u+e.slice(d+f)}return e}function mqe(e,{fileName:t,textSpan:n,contextSpan:i,isWriteAccess:s,isDefinition:o},{disableLineTextInReferences:u}){let d=P.checkDefined(e.getScriptInfo(t)),f=Q2e(n,i,d),D=u?void 0:c4t(d,f);return{file:t,...f,lineText:D,isWriteAccess:s,isDefinition:o}}function c4t(e,t){let n=e.lineToTextSpan(t.start.line-1);return e.getSnapshot().getText(n.start,$c(n)).replace(/\r|\n/g,"")}function u4t(e){return e===void 0||e&&typeof e=="object"&&typeof e.exportName=="string"&&(e.fileName===void 0||typeof e.fileName=="string")&&(e.ambientModuleName===void 0||typeof e.ambientModuleName=="string"&&(e.isPackageJsonImport===void 0||typeof e.isPackageJsonImport=="boolean"))}var x3=4,Y2e=(e=>(e[e.PreStart=0]="PreStart",e[e.Start=1]="Start",e[e.Entire=2]="Entire",e[e.Mid=3]="Mid",e[e.End=4]="End",e[e.PostEnd=5]="PostEnd",e))(Y2e||{}),l4t=class{constructor(){this.goSubtree=!0,this.lineIndex=new CO,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new T3,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){t&&(this.trailingText=""),e?e=this.initialText+e+this.trailingText:e=this.initialText+this.trailingText;let i=CO.linesFromText(e).lines;i.length>1&&i[i.length-1]===""&&i.pop();let s,o;for(let d=this.endBranch.length-1;d>=0;d--)this.endBranch[d].updateCounts(),this.endBranch[d].charCount()===0&&(o=this.endBranch[d],d>0?s=this.endBranch[d-1]:s=this.branchNode);o&&s.remove(o);let u=this.startPath[this.startPath.length-1];if(i.length>0)if(u.text=i[0],i.length>1){let d=new Array(i.length-1),f=u;for(let b=1;b<i.length;b++)d[b-1]=new Uz(i[b]);let D=this.startPath.length-2;for(;D>=0;){let b=this.startPath[D];d=b.insertAt(f,d),D--,f=b}let y=d.length;for(;y>0;){let b=new T3;b.add(this.lineIndex.root),d=b.insertAt(this.lineIndex.root,d),y=d.length,this.lineIndex.root=b}this.lineIndex.root.updateCounts()}else for(let d=this.startPath.length-2;d>=0;d--)this.startPath[d].updateCounts();else{this.startPath[this.startPath.length-2].remove(u);for(let f=this.startPath.length-2;f>=0;f--)this.startPath[f].updateCounts()}return this.lineIndex}post(e,t,n){n===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,n,i,s){let o=this.stack[this.stack.length-1];this.state===2&&s===1&&(this.state=1,this.branchNode=o,this.lineCollectionAtBranch=n);let u;function d(f){return f.isLeaf()?new Uz(""):new T3}switch(s){case 0:this.goSubtree=!1,this.state!==4&&o.add(n);break;case 1:this.state===4?this.goSubtree=!1:(u=d(n),o.add(u),this.startPath.push(u));break;case 2:this.state!==4?(u=d(n),o.add(u),this.startPath.push(u)):n.isLeaf()||(u=d(n),o.add(u),this.endBranch.push(u));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:n.isLeaf()||(u=d(n),o.add(u),this.endBranch.push(u));break;case 5:this.goSubtree=!1,this.state!==1&&o.add(n);break}this.goSubtree&&this.stack.push(u)}leaf(e,t,n){this.state===1?this.initialText=n.text.substring(0,e):this.state===2?(this.initialText=n.text.substring(0,e),this.trailingText=n.text.substring(e+t)):this.trailingText=n.text.substring(e+t)}},f4t=class{constructor(e,t,n){this.pos=e,this.deleteLen=t,this.insertedText=n}getTextChangeRange(){return L7(ef(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},bre=class IT{constructor(){this.changes=[],this.versions=new Array(IT.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(t<this.minVersion||t>this.currentVersion))return t%IT.maxVersions}currentVersionToIndex(){return this.currentVersion%IT.maxVersions}edit(t,n,i){this.changes.push(new f4t(t,n,i)),(this.changes.length>IT.changeNumberThreshold||n>IT.changeLengthThreshold||i&&i.length>IT.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let n=t.index;for(let i of this.changes)n=n.edit(i.pos,i.deleteLen,i.insertedText);t=new hqe(this.currentVersion+1,this,n,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=IT.maxVersions&&(this.minVersion=this.currentVersion-IT.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(t){return this._getSnapshot().index.lineNumberToInfo(t)}lineOffsetToPosition(t,n){return this._getSnapshot().index.absolutePositionOfStartOfLine(t)+(n-1)}positionToLineOffset(t){return this._getSnapshot().index.positionToLineOffset(t)}lineToTextSpan(t){let n=this._getSnapshot().index,{lineText:i,absolutePosition:s}=n.lineNumberToInfo(t+1),o=i!==void 0?i.length:n.absolutePositionOfStartOfLine(t+2)-s;return ef(s,o)}getTextChangesBetweenVersions(t,n){if(t<n)if(t>=this.minVersion){let i=[];for(let s=t+1;s<=n;s++){let o=this.versions[this.versionToIndex(s)];for(let u of o.changesSincePreviousVersion)i.push(u.getTextChangeRange())}return Lue(i)}else return;else return gM}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){let n=new IT,i=new hqe(0,n,new CO);n.versions[n.currentVersion]=i;let s=CO.linesFromText(t);return i.index.load(s.lines),n}};bre.changeNumberThreshold=8,bre.changeLengthThreshold=256,bre.maxVersions=8;var Cre=bre,hqe=class Yft{constructor(t,n,i,s=yl){this.version=t,this.cache=n,this.index=i,this.changesSincePreviousVersion=s}getText(t,n){return this.index.getText(t,n-t)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof Yft&&this.cache===t.cache)return this.version<=t.version?gM:this.cache.getTextChangesBetweenVersions(t.version,this.version)}},CO=class bke{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(t){return this.lineNumberToInfo(t).absolutePosition}positionToLineOffset(t){let{oneBasedLine:n,zeroBasedColumn:i}=this.root.charOffsetToLineInfo(1,t);return{line:n,offset:i+1}}positionToColumnAndLineText(t){return this.root.charOffsetToLineInfo(1,t)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(t){let n=this.getLineCount();if(t<=n){let{position:i,leaf:s}=this.root.lineNumberToInfo(t,0);return{absolutePosition:i,lineText:s&&s.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(t){if(t.length>0){let n=[];for(let i=0;i<t.length;i++)n[i]=new Uz(t[i]);this.root=bke.buildTreeFromBottom(n)}else this.root=new T3}walk(t,n,i){this.root.walk(t,n,i)}getText(t,n){let i="";return n>0&&t<this.root.charCount()&&this.walk(t,n,{goSubtree:!0,done:!1,leaf:(s,o,u)=>{i=i.concat(u.text.substring(s,s+o))}}),i}getLength(){return this.root.charCount()}every(t,n,i){i||(i=this.root.charCount());let s={goSubtree:!0,done:!1,leaf(o,u,d){t(d,o,u)||(this.done=!0)}};return this.walk(n,i-n,s),!s.done}edit(t,n,i){if(this.root.charCount()===0)return P.assert(n===0),i!==void 0?(this.load(bke.linesFromText(i).lines),this):void 0;{let s;if(this.checkEdits){let d=this.getText(0,this.root.charCount());s=d.slice(0,t)+i+d.slice(t+n)}let o=new l4t,u=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;let d=this.getText(t,1);i?i=d+i:i=d,n=0,u=!0}else if(n>0){let d=t+n,{zeroBasedColumn:f,lineText:D}=this.positionToColumnAndLineText(d);f===0&&(n+=D.length,i=i?i+D:D)}if(this.root.walk(t,n,o),o.insertLines(i,u),this.checkEdits){let d=o.lineIndex.getText(0,o.lineIndex.getLength());P.assert(s===d,"buffer edit mismatch")}return o.lineIndex}}static buildTreeFromBottom(t){if(t.length<x3)return new T3(t);let n=new Array(Math.ceil(t.length/x3)),i=0;for(let s=0;s<n.length;s++){let o=Math.min(i+x3,t.length);n[s]=new T3(t.slice(i,o)),i=o}return this.buildTreeFromBottom(n)}static linesFromText(t){let n=zT(t);if(n.length===0)return{lines:[],lineMap:n};let i=new Array(n.length),s=n.length-1;for(let u=0;u<s;u++)i[u]=t.substring(n[u],n[u+1]);let o=t.substring(n[s]);return o.length>0?i[s]=o:i.pop(),{lines:i,lineMap:n}}},T3=class Cke{constructor(t=[]){this.children=t,this.totalChars=0,this.totalLines=0,t.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(let t of this.children)this.totalChars+=t.charCount(),this.totalLines+=t.lineCount()}execWalk(t,n,i,s,o){return i.pre&&i.pre(t,n,this.children[s],this,o),i.goSubtree?(this.children[s].walk(t,n,i),i.post&&i.post(t,n,this.children[s],this,o)):i.goSubtree=!0,i.done}skipChild(t,n,i,s,o){s.pre&&!s.done&&(s.pre(t,n,this.children[i],this,o),s.goSubtree=!0)}walk(t,n,i){if(this.children.length===0)return;let s=0,o=this.children[s].charCount(),u=t;for(;u>=o;)this.skipChild(u,n,s,i,0),u-=o,s++,o=this.children[s].charCount();if(u+n<=o){if(this.execWalk(u,n,i,s,2))return}else{if(this.execWalk(u,o-u,i,s,1))return;let d=n-(o-u);for(s++,o=this.children[s].charCount();d>o;){if(this.execWalk(0,o,i,s,3))return;d-=o,s++,o=this.children[s].charCount()}if(d>0&&this.execWalk(0,d,i,s,4))return}if(i.pre){let d=this.children.length;if(s<d-1)for(let f=s+1;f<d;f++)this.skipChild(0,0,f,i,5)}}charOffsetToLineInfo(t,n){if(this.children.length===0)return{oneBasedLine:t,zeroBasedColumn:n,lineText:void 0};for(let o of this.children){if(o.charCount()>n)return o.isLeaf()?{oneBasedLine:t,zeroBasedColumn:n,lineText:o.text}:o.charOffsetToLineInfo(t,n);n-=o.charCount(),t+=o.lineCount()}let i=this.lineCount();if(i===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};let s=P.checkDefined(this.lineNumberToInfo(i,0).leaf);return{oneBasedLine:i,zeroBasedColumn:s.charCount(),lineText:void 0}}lineNumberToInfo(t,n){for(let i of this.children){let s=i.lineCount();if(s>=t)return i.isLeaf()?{position:n,leaf:i}:i.lineNumberToInfo(t,n);t-=s,n+=i.charCount()}return{position:n,leaf:void 0}}splitAfter(t){let n,i=this.children.length;t++;let s=t;if(t<i){for(n=new Cke;t<i;)n.add(this.children[t]),t++;n.updateCounts()}return this.children.length=s,n}remove(t){let n=this.findChildIndex(t),i=this.children.length;if(n<i-1)for(let s=n;s<i-1;s++)this.children[s]=this.children[s+1];this.children.pop()}findChildIndex(t){let n=this.children.indexOf(t);return P.assert(n!==-1),n}insertAt(t,n){let i=this.findChildIndex(t),s=this.children.length,o=n.length;if(s<x3&&i===s-1&&o===1)return this.add(n[0]),this.updateCounts(),[];{let u=this.splitAfter(i),d=0;for(i++;i<x3&&d<o;)this.children[i]=n[d],i++,d++;let f=[],D=0;if(d<o){D=Math.ceil((o-d)/x3),f=new Array(D);let y=0;for(let T=0;T<D;T++)f[T]=new Cke;let b=f[0];for(;d<o;)b.add(n[d]),d++,b.children.length===x3&&(y++,b=f[y]);for(let T=f.length-1;T>=0;T--)f[T].children.length===0&&f.pop()}u&&f.push(u),this.updateCounts();for(let y=0;y<D;y++)f[y].updateCounts();return f}}add(t){this.children.push(t),P.assert(this.children.length<=x3)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},Uz=class{constructor(e){this.text=e}isLeaf(){return!0}walk(e,t,n){n.leaf(e,t,this)}charCount(){return this.text.length}lineCount(){return 1}},gqe=class Zft{constructor(t,n,i,s,o,u){this.telemetryEnabled=t,this.logger=n,this.host=i,this.globalTypingsCacheLocation=s,this.event=o,this.maxActiveRequestCount=u,this.activeRequestCount=0,this.requestQueue=v7(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(t){var n;return jD.validatePackageName(t)!==jD.NameValidationResult.Ok?!1:(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!((n=this.typesRegistryCache)!=null&&n.has(t)))}installPackage(t){this.packageInstallId++;let n={kind:"installPackage",...t,id:this.packageInstallId},i=new Promise((s,o)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:s,reject:o})});return this.installer.send(n),i}attach(t){this.projectService=t,this.installer=this.createInstallerProcess()}onProjectClosed(t){this.installer.send({projectName:t.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(t,n,i){let s=s2e(t,n,i);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${fb(s)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(s):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${s.projectName}`),this.requestQueue.enqueue(s),this.requestMap.set(s.projectName,s))}handleMessage(t){var n,i;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${fb(t)}`),t.kind){case GY:this.typesRegistryCache=new Map(Object.entries(t.typesRegistry));break;case uq:{let s=(n=this.packageInstalledPromise)==null?void 0:n.get(t.id);P.assertIsDefined(s,"Should find the promise for package install"),(i=this.packageInstalledPromise)==null||i.delete(t.id),t.success?s.resolve({successMessage:t.message}):s.reject(t.message),this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case fge:{let s={message:t.message};this.event(s,"typesInstallerInitializationFailed");break}case $Y:{let s={eventId:t.eventId,packages:t.packagesToInstall};this.event(s,"beginInstallTypes");break}case HY:{if(this.telemetryEnabled){let u={telemetryEventName:"typingsInstalled",payload:{installedPackages:t.packagesToInstall.join(","),installSuccess:t.installSuccess,typingsInstallerVersion:t.typingsInstallerVersion}};this.event(u,"telemetry")}let s={eventId:t.eventId,packages:t.packagesToInstall,success:t.installSuccess};this.event(s,"endInstallTypes");break}case cq:{this.projectService.updateTypingsForProject(t);break}case oq:{for(this.activeRequestCount>0?this.activeRequestCount--:P.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){let s=this.requestQueue.dequeue();if(this.requestMap.get(s.projectName)===s){this.requestMap.delete(s.projectName),this.scheduleRequest(s);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${s.projectName}`)}this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case g9:this.projectService.watchTypingLocations(t);break;default:}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${t.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${fb(t)}`),this.installer.send(t)},Zft.requestDelayMillis,`${t.projectName}::${t.kind}`)}};gqe.requestDelayMillis=100;var yqe=gqe,vqe={};w(vqe,{ActionInvalidate:()=>cq,ActionPackageInstalled:()=>uq,ActionSet:()=>oq,ActionWatchTypingLocations:()=>g9,Arguments:()=>KY,AutoImportProviderProject:()=>T2e,AuxiliaryProject:()=>E2e,CharRangeSection:()=>Y2e,CloseFileWatcherEvent:()=>lre,CommandNames:()=>iqe,ConfigFileDiagEvent:()=>sre,ConfiguredProject:()=>A2e,ConfiguredProjectLoadKind:()=>N2e,CreateDirectoryWatcherEvent:()=>ure,CreateFileWatcherEvent:()=>cre,Errors:()=>ny,EventBeginInstallTypes:()=>$Y,EventEndInstallTypes:()=>HY,EventInitializationFailed:()=>fge,EventTypesRegistry:()=>GY,ExternalProject:()=>Zte,GcTimer:()=>_2e,InferredProject:()=>S2e,LargeFileReferencedEvent:()=>ire,LineIndex:()=>CO,LineLeaf:()=>Uz,LineNode:()=>T3,LogLevel:()=>n2e,Msg:()=>i2e,OpenFileInfoTelemetryEvent:()=>F2e,Project:()=>fF,ProjectInfoTelemetryEvent:()=>ore,ProjectKind:()=>kw,ProjectLanguageServiceStateEvent:()=>are,ProjectLoadingFinishEvent:()=>nre,ProjectLoadingStartEvent:()=>rre,ProjectService:()=>z2e,ProjectsUpdatedInBackgroundEvent:()=>qz,ScriptInfo:()=>h2e,ScriptVersionCache:()=>Cre,Session:()=>_qe,TextStorage:()=>m2e,ThrottledOperations:()=>f2e,TypingsInstallerAdapter:()=>yqe,allFilesAreJsOrDts:()=>D2e,allRootFilesAreJsOrDts:()=>v2e,asNormalizedPath:()=>IJe,convertCompilerOptions:()=>zz,convertFormatOptions:()=>S3,convertScriptKindName:()=>_re,convertTypeAcquisition:()=>I2e,convertUserPreferences:()=>w2e,convertWatchOptions:()=>DO,countEachFileTypes:()=>hO,createInstallTypingsRequest:()=>s2e,createModuleSpecifierCache:()=>V2e,createNormalizedPathMap:()=>wJe,createPackageJsonCache:()=>G2e,createSortedArray:()=>l2e,emptyArray:()=>yl,findArgument:()=>wPe,formatDiagnosticToProtocol:()=>bO,formatMessage:()=>$2e,getBaseConfigFileName:()=>Yte,getDetailWatchInfo:()=>hre,getLocationInNewDocument:()=>X2e,hasArgument:()=>IPe,hasNoTypeScriptSource:()=>b2e,indent:()=>ew,isBackgroundProject:()=>yO,isConfigFile:()=>W2e,isConfiguredProject:()=>uv,isDynamicFileName:()=>Fw,isExternalProject:()=>gO,isInferredProject:()=>C3,isInferredProjectName:()=>a2e,isProjectDeferredClose:()=>vO,makeAutoImportProviderProjectName:()=>c2e,makeAuxiliaryProjectName:()=>u2e,makeInferredProjectName:()=>o2e,maxFileSize:()=>tre,maxProgramSizeForNonTsFiles:()=>ere,normalizedPathToPath:()=>b3,nowString:()=>PPe,nullCancellationToken:()=>tqe,nullTypingsInstaller:()=>Wz,protocol:()=>p2e,scriptInfoIsContainedByBackgroundProject:()=>g2e,scriptInfoIsContainedByDeferredClosedProject:()=>y2e,stringifyIndented:()=>fb,toEvent:()=>H2e,toNormalizedPath:()=>Go,tryConvertScriptKindName:()=>fre,typingsInstaller:()=>r2e,updateProjectIfDirty:()=>xm}),typeof console<"u"&&(P.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:return console.log(t);case 4:return console.log(t)}}})})({get exports(){return Gft},set exports(p){Gft=p,typeof moe<"u"&&moe.exports&&(moe.exports=p)}})});var goe=jt(($8r,u_t)=>{function r_t(p){return Array.isArray(p)?p:[p]}var xke="",n_t=" ",Ske="\\",rur=/^\s+$/,nur=/(?:[^\\]|^)\\$/,iur=/^\\!/,sur=/^\\#/,aur=/\r?\n/g,our=/^\.*\/|^\.+$/,Eke="/",a_t="node-ignore";typeof Symbol<"u"&&(a_t=Symbol.for("node-ignore"));var i_t=a_t,cur=(p,c,_)=>Object.defineProperty(p,c,{value:_}),uur=/([0-z])-([0-z])/g,o_t=()=>!1,lur=p=>p.replace(uur,(c,_,g)=>_.charCodeAt(0)<=g.charCodeAt(0)?c:xke),fur=p=>{let{length:c}=p;return p.slice(0,c-c%2)},_ur=[[/^\uFEFF/,()=>xke],[/((?:\\\\)*?)(\\?\s+)$/,(p,c,_)=>c+(_.indexOf("\\")===0?n_t:xke)],[/(\\+?)\s/g,(p,c)=>{let{length:_}=c;return c.slice(0,_-_%2)+n_t}],[/[\\$.|*+(){^]/g,p=>`\\${p}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(p,c,_)=>c+6<_.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(p,c,_)=>{let g=_.replace(/\\\*/g,"[^\\/]*");return c+g}],[/\\\\\\(?=[$.|*+(){^])/g,()=>Ske],[/\\\\/g,()=>Ske],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(p,c,_,g,S)=>c===Ske?`\\[${_}${fur(g)}${S}`:S==="]"&&g.length%2===0?`[${lur(_)}${g}]`:"[]"],[/(?:[^*])$/,p=>/\/$/.test(p)?`${p}$`:`${p}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(p,c)=>`${c?`${c}[^/]+`:"[^/]*"}(?=$|\\/$)`]],s_t=Object.create(null),pur=(p,c)=>{let _=s_t[p];return _||(_=_ur.reduce((g,[S,w])=>g.replace(S,w.bind(p)),p),s_t[p]=_),c?new RegExp(_,"i"):new RegExp(_)},Fke=p=>typeof p=="string",dur=p=>p&&Fke(p)&&!rur.test(p)&&!nur.test(p)&&p.indexOf("#")!==0,mur=p=>p.split(aur),Tke=class{constructor(c,_,g,S){this.origin=c,this.pattern=_,this.negative=g,this.regex=S}},hur=(p,c)=>{let _=p,g=!1;p.indexOf("!")===0&&(g=!0,p=p.substr(1)),p=p.replace(iur,"!").replace(sur,"#");let S=pur(p,c);return new Tke(_,p,g,S)},gur=(p,c)=>{throw new c(p)},Tk=(p,c,_)=>Fke(p)?p?Tk.isNotRelative(p)?_(`path should be a \`path.relative()\`d string, but got "${c}"`,RangeError):!0:_("path must not be empty",TypeError):_(`path must be a string, but got \`${c}\``,TypeError),c_t=p=>our.test(p);Tk.isNotRelative=c_t;Tk.convert=p=>p;var Ake=class{constructor({ignorecase:c=!0,ignoreCase:_=c,allowRelativePaths:g=!1}={}){cur(this,i_t,!0),this._rules=[],this._ignoreCase=_,this._allowRelativePaths=g,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(c){if(c&&c[i_t]){this._rules=this._rules.concat(c._rules),this._added=!0;return}if(dur(c)){let _=hur(c,this._ignoreCase);this._added=!0,this._rules.push(_)}}add(c){return this._added=!1,r_t(Fke(c)?mur(c):c).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(c){return this.add(c)}_testOne(c,_){let g=!1,S=!1;return this._rules.forEach(w=>{let{negative:z}=w;if(S===z&&g!==S||z&&!g&&!S&&!_)return;w.regex.test(c)&&(g=!z,S=z)}),{ignored:g,unignored:S}}_test(c,_,g,S){let w=c&&Tk.convert(c);return Tk(w,c,this._allowRelativePaths?o_t:gur),this._t(w,_,g,S)}_t(c,_,g,S){if(c in _)return _[c];if(S||(S=c.split(Eke)),S.pop(),!S.length)return _[c]=this._testOne(c,g);let w=this._t(S.join(Eke)+Eke,_,g,S);return _[c]=w.ignored?w:this._testOne(c,g)}ignores(c){return this._test(c,this._ignoreCache,!1).ignored}createFilter(){return c=>!this.ignores(c)}filter(c){return r_t(c).filter(this.createFilter())}test(c){return this._test(c,this._testCache,!0)}},hoe=p=>new Ake(p),yur=p=>Tk(p&&Tk.convert(p),p,o_t);hoe.isPathValid=yur;hoe.default=hoe;u_t.exports=hoe;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let p=_=>/^\\\\\?\\/.test(_)||/["<>|\u0000-\u001F]+/u.test(_)?_:_.replace(/\\/g,"/");Tk.convert=p;let c=/^[a-z]:\//i;Tk.isNotRelative=_=>c.test(_)||c_t(_)}});var l_t=jt(cG=>{"use strict";Object.defineProperty(cG,"__esModule",{value:!0});cG.isError=xur;cG.isString=Tur;cG.isObject=Aur;function xur(p){return p instanceof Error}function Tur(p){return typeof p=="string"}function Aur(p){return typeof p=="object"&&p!==null&&!Array.isArray(p)}});var __t=jt(f_t=>{"use strict";Object.defineProperty(f_t,"__esModule",{value:!0})});var d_t=jt(p_t=>{"use strict";Object.defineProperty(p_t,"__esModule",{value:!0})});var h_t=jt(m_t=>{"use strict";Object.defineProperty(m_t,"__esModule",{value:!0})});var y_t=jt(g_t=>{"use strict";Object.defineProperty(g_t,"__esModule",{value:!0})});var D_t=jt(v_t=>{"use strict";Object.defineProperty(v_t,"__esModule",{value:!0})});var b_t=jt(DC=>{"use strict";var Fur=DC&&DC.__createBinding||(Object.create?(function(p,c,_,g){g===void 0&&(g=_);var S=Object.getOwnPropertyDescriptor(c,_);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[_]}}),Object.defineProperty(p,g,S)}):(function(p,c,_,g){g===void 0&&(g=_),p[g]=c[_]})),GR=DC&&DC.__exportStar||function(p,c){for(var _ in p)_!=="default"&&!Object.prototype.hasOwnProperty.call(c,_)&&Fur(c,p,_)};Object.defineProperty(DC,"__esModule",{value:!0});GR(l_t(),DC);GR(__t(),DC);GR(d_t(),DC);GR(h_t(),DC);GR(y_t(),DC);GR(D_t(),DC)});var Ak=jt(yoe=>{"use strict";Object.defineProperty(yoe,"__esModule",{value:!0});yoe.BaseLens=void 0;var Ike=class{config;executor;options;constructor(c,_={}){this.executor=c,this.options={debug:!1,throwOnError:!1,..._}}configure(c){this.config=c,this.options.debug&&this.debug("Configured with:",c)}setExecutor(c){this.executor=c}async execute(){if(!this.config)throw new Error(`Lens ${this.name} is not configured`);if(!this.executor)throw new Error(`Lens ${this.name} has no executor`);let{tool:c}=this.config;if(!c.available)throw new Error(`Tool ${c.name} is not available`);this.debug(`Executing ${c.command} with args:`,c.args);let _=Date.now();try{let g=await this.executor.execute(c.command,c.args,{cwd:c.cwd||this.config.cwd,env:c.env,timeout:c.timeout||this.options.timeout});if(g.duration=Date.now()-_,this.options.debug&&this.debug("Execution result:",{exitCode:g.exitCode,duration:g.duration,stdoutLength:g.stdout.length,stderrLength:g.stderr.length}),g.exitCode!==0&&this.options.throwOnError)throw new Error(`${c.name} exited with code ${g.exitCode}: ${g.stderr||g.stdout}`);return g}catch(g){let S={stdout:"",stderr:g instanceof Error?g.message:String(g),exitCode:-1,duration:Date.now()-_,error:g instanceof Error?g:new Error(String(g))};if(this.options.throwOnError)throw g;return S}}async run(){try{let c=await this.execute();if(c.error)throw c.error;let _=this.parse(c),g=this.format(_),S={...g,timestamp:Date.now(),raw:{stdout:c.stdout,stderr:c.stderr,exitCode:c.exitCode}};return g.success===void 0&&(S.success=!c.error&&_!==null&&_!==void 0),S}catch(c){return this.createErrorResult(c)}}canHandle(c){return this.supportedTools.includes(c.name)}toRelativePath(c,_){let g=_||this.config?.cwd||process.cwd();return c.startsWith(g)?c.slice(g.length).replace(/^[/\\]/,""):c}createErrorResult(c){let _=c instanceof Error?c.message:String(c),g=c instanceof Error?c.stack:void 0;return{lensName:this.name,tool:this.config?.tool.name||"unknown",timestamp:Date.now(),success:!1,issues:[],error:{message:_,stack:g}}}debug(c,..._){this.options.debug&&console.log(`[${this.name}] ${c}`,..._)}addArgsToNpmScript(c){if(c.length===0||!this.config?.tool)return;this.config.tool.args||(this.config.tool.args=[]);let _=this.config.tool.args,g=this.config.tool.command.toLowerCase();(g==="npm"||g==="yarn")&&_.length>=2&&_[0]==="run"?_.includes("--")?this.config.tool.args=[..._,...c]:this.config.tool.args=[..._,"--",...c]:this.config.tool.args=[..._,...c]}mapSeverity(c){let _=c.toLowerCase();return _.includes("error")||_==="fatal"?"error":_.includes("warn")?"warning":_.includes("info")||_.includes("note")?"info":_.includes("hint")||_.includes("suggest")?"hint":"warning"}buildFileMetrics(c,_={}){let{errorWeight:g=10,warningWeight:S=3,infoWeight:w=1,hintWeight:z=.5,isFixable:ie=Ee=>!!Ee.fix}=_,de=new Map;for(let Ee of c){let Oe=Ee.file;de.has(Oe)||de.set(Oe,{issues:[],errorCount:0,warningCount:0,infoCount:0,hintCount:0,fixableCount:0,categories:new Map});let Y=de.get(Oe);switch(Y.issues.push(Ee),Ee.severity){case"error":Y.errorCount++;break;case"warning":Y.warningCount++;break;case"info":Y.infoCount++;break;case"hint":Y.hintCount++;break}if(ie(Ee)&&Y.fixableCount++,Ee.category){let ut=Y.categories.get(Ee.category)||0;Y.categories.set(Ee.category,ut+1)}}let be=[];for(let[Ee,Oe]of de){let Y=Oe.errorCount*g+Oe.warningCount*S+Oe.infoCount*w+Oe.hintCount*z,ut=Math.max(0,Math.min(100,Math.round(100-Y))),Ye={file:Ee,score:ut,issueCount:Oe.issues.length,errorCount:Oe.errorCount,warningCount:Oe.warningCount,infoCount:Oe.infoCount,hintCount:Oe.hintCount};Oe.fixableCount>0&&(Ye.fixableCount=Oe.fixableCount),Oe.categories.size>0&&(Ye.categories=Object.fromEntries(Oe.categories)),be.push(Ye)}return be.sort((Ee,Oe)=>Ee.score-Oe.score),be}};yoe.BaseLens=Ike});var Fk=jt(cE=>{"use strict";var kur=cE&&cE.__createBinding||(Object.create?(function(p,c,_,g){g===void 0&&(g=_);var S=Object.getOwnPropertyDescriptor(c,_);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[_]}}),Object.defineProperty(p,g,S)}):(function(p,c,_,g){g===void 0&&(g=_),p[g]=c[_]})),Iur=cE&&cE.__setModuleDefault||(Object.create?(function(p,c){Object.defineProperty(p,"default",{enumerable:!0,value:c})}):function(p,c){p.default=c}),wur=cE&&cE.__importStar||(function(){var p=function(c){return p=Object.getOwnPropertyNames||function(_){var g=[];for(var S in _)Object.prototype.hasOwnProperty.call(_,S)&&(g[g.length]=S);return g},p(c)};return function(c){if(c&&c.__esModule)return c;var _={};if(c!=null)for(var g=p(c),S=0;S<g.length;S++)g[S]!=="default"&&kur(_,c,g[S]);return Iur(_,c),_}})();Object.defineProperty(cE,"__esModule",{value:!0});cE.PathMapper=void 0;cE.createPathMapper=Pur;var R0=wur(require("path")),voe=class p{basePath;constructor(c){this.basePath=c||process.cwd(),this.basePath=R0.resolve(this.basePath)}toRelative(c){if(!c)return"";if(!R0.isAbsolute(c))return this.normalizePath(c);let _=R0.resolve(c),g=R0.relative(this.basePath,_);return this.normalizePath(g)}toAbsolute(c){return c?R0.isAbsolute(c)?R0.resolve(c):R0.resolve(this.basePath,c):this.basePath}normalizePath(c){return c?c.split(R0.sep).join("/"):""}isWithinBase(c){return(R0.isAbsolute(c)?R0.resolve(c):R0.resolve(this.basePath,c)).startsWith(this.basePath)}getBasePath(){return this.basePath}setBasePath(c){this.basePath=R0.resolve(c)}getFileName(c){return R0.basename(c)}getDirectory(c){return this.normalizePath(R0.dirname(c))}getExtension(c){return R0.extname(c)}join(...c){return this.normalizePath(R0.join(...c))}mapToRelative(c){return c.map(_=>this.toRelative(_))}mapToAbsolute(c){return c.map(_=>this.toAbsolute(_))}createSubMapper(c){let _=R0.resolve(this.basePath,c);return new p(_)}};cE.PathMapper=voe;function Pur(p){return new voe(p)}});var C_t=jt(Doe=>{"use strict";Object.defineProperty(Doe,"__esModule",{value:!0});Doe.ESLintLens=void 0;var Nur=Ak(),Our=Fk(),wke=class p extends Nur.BaseLens{name="eslint";description="JavaScript/TypeScript linter";languages=["javascript","typescript"];supportedTools=["eslint"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let _=c.metrics;if(!_)return 100;let g=Math.max(_.filesAnalyzed,1),{error:S,warning:w,info:z}=_.issuesBySeverity,ie=S/g*10,de=w/g*2,be=z/g*.5,Ee=ie+de+be,Oe=Math.max(0,Math.min(100,100-Ee));return Math.round(Oe*100)/100}parse(c){if(c.stderr&&!c.stdout)throw new Error(`ESLint execution error: ${c.stderr}`);if(!c.stdout)return[];try{let _=c.stdout,g=_.search(/^\s*[{[]/m);g>0&&(this.debug("Stripping npm script preamble from output"),_=_.substring(g));let S=JSON.parse(_);return Array.isArray(S)?S:(this.debug("ESLint output is not an array, wrapping it"),[S])}catch(_){if(this.debug("Failed to parse ESLint output as JSON:",_),c.stderr)throw new Error(`ESLint execution error: ${c.stderr}`);return[]}}format(c){let _=[],g=[],S=this.getPathMapper();for(let ut of c){let Ye=S.toRelative(ut.filePath);g.push({path:Ye,hasIssues:ut.messages.length>0});for(let We of ut.messages)_.push({file:Ye,line:We.line||1,column:We.column||1,endLine:We.endLine,endColumn:We.endColumn,severity:this.mapESLintSeverity(We.severity),message:We.message,rule:We.ruleId||void 0,source:this.name,category:this.categorizeRule(We.ruleId),fix:We.fix?{text:We.fix.text,range:{start:{line:We.line,column:We.column},end:{line:We.endLine||We.line,column:We.endColumn||We.column}}}:void 0})}let w=c.length,z=c.filter(ut=>ut.messages.length>0).length,ie=c.reduce((ut,Ye)=>ut+Ye.errorCount,0),de=c.reduce((ut,Ye)=>ut+Ye.warningCount,0),be=c.reduce((ut,Ye)=>ut+Ye.fixableErrorCount,0),Ee=c.reduce((ut,Ye)=>ut+Ye.fixableWarningCount,0),Oe=this.buildFileMetrics(_),Y={lensName:this.name,tool:this.config?.tool.name||"eslint",timestamp:Date.now(),success:!0,issues:_,analyzedFiles:g,fileMetrics:Oe,metrics:{filesAnalyzed:w,totalIssues:_.length,issuesBySeverity:{error:ie,warning:de,info:0,hint:0},executionTime:0,custom:{filesWithIssues:z,fixableErrors:be,fixableWarnings:Ee,totalFixable:be+Ee}}};return Y.qualityScore=p.calculateQualityScore(Y),Y}mapESLintSeverity(c){switch(c){case 2:return"error";case 1:return"warning";case 0:default:return"info"}}categorizeRule(c){return c?c.startsWith("@typescript-eslint/")?"typescript":c.startsWith("react/")||c.startsWith("react-hooks/")?"react":c.startsWith("import/")?"imports":c.startsWith("node/")||c.startsWith("n/")?"node":c.includes("security")||c==="no-eval"||c==="no-implied-eval"?"security":c.includes("indent")||c.includes("space")||c.includes("quote")||c.includes("semi")||c.includes("comma")||c.includes("brace")?"style":c.includes("no-unused")||c.includes("no-undef")||c.includes("no-console")||c.includes("prefer-")?"best-practices":"general":"general"}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Our.PathMapper(c)}return this.pathMapper}async execute(){return this.config?.tool&&((this.config.tool.args||[]).some(g=>g.includes("--format")||g.includes("-f"))||this.addArgsToNpmScript(["--format","json"])),super.execute()}};Doe.ESLintLens=wke});var S_t=jt(boe=>{"use strict";Object.defineProperty(boe,"__esModule",{value:!0});boe.JestLens=void 0;var Lur=Ak(),Rur=Fk(),Pke=class p extends Lur.BaseLens{name="jest";description="JavaScript test runner and coverage";languages=["javascript","typescript"];supportedTools=["jest"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let _=c.metrics;if(!_?.custom)return 100;let g=_.custom,S=g.totalTests||0,w=g.passedTests||0,z=g.skippedTests||0;if(S===0)return 0;let de=w/S*100,be=z/S*50;if(de-=be,c.coverage?.line!==void 0){let Ee=c.coverage.line;Ee>80?de+=10:Ee>60&&(de+=5)}return de=Math.max(0,Math.min(100,de)),Math.round(de*100)/100}parse(c){if(!c.stdout&&c.stderr&&!c.stderr.includes("FAIL")&&!c.stderr.includes("Test Suites:"))throw new Error(`Jest execution error: ${c.stderr}`);let _;if(c.stdout){let g=c.stdout.indexOf("{"),S=c.stdout.lastIndexOf("}");g!==-1&&S!==-1&&S>g?_=c.stdout.substring(g,S+1):_=c.stdout}if(!_)return this.debug("No JSON output found in stdout"),this.getEmptyResults();try{let g=JSON.parse(_);return this.normalizeResults(g)}catch(g){if(this.debug("Failed to parse Jest output as JSON:",g),this.debug("Attempted to parse:",_?.substring(0,200)),c.stderr)try{let S=c.stderr.indexOf("{"),w=c.stderr.lastIndexOf("}");if(S!==-1&&w!==-1&&w>S){let z=c.stderr.substring(S,w+1),ie=JSON.parse(z);return this.normalizeResults(ie)}}catch{}return this.debug("Returning empty results due to parse failure"),this.getEmptyResults()}}format(c){let _=[],g=this.getPathMapper();for(let We of c.testResults){let Ut=g.toRelative(We.testFilePath||We.name);We.failureMessage&&_.push({file:Ut,line:1,column:1,severity:"error",message:this.extractErrorMessage(We.failureMessage),rule:"test-failure",source:this.name,category:"test-suite"});for(let _r of We.assertionResults)if(_r.status==="failed"){let Hr=_r.location?.line||1,On=_r.location?.column||1,Hi=_r.failureMessages.join(`
787
- `)||"Test failed";_.push({file:Ut,line:Hr,column:On,severity:"error",message:this.formatTestFailureMessage(_r.fullName,Hi),rule:"test-failed",source:this.name,category:"test-case"})}}if(c.coverageMap){let We=this.processCoverageData(c.coverageMap,g);_.push(...We)}let S=c.numTotalTests||0,w=c.numPassedTests||0,z=c.numFailedTests||0,ie=c.numPendingTests+c.numTodoTests,de=c.numTotalTestSuites||0,be=c.numPassedTestSuites||0,Ee=c.numFailedTestSuites||0,Oe=S>0?w/S*100:0,Y=c.testResults.reduce((We,Ut)=>We+(Ut.perfStats?.runtime||0),0),ut=c.testResults.flatMap(We=>We.assertionResults.map(Ut=>({name:Ut.fullName,duration:Ut.duration||0,file:g.toRelative(We.testFilePath||We.name)}))).filter(We=>We.duration>0).sort((We,Ut)=>Ut.duration-We.duration).slice(0,5),Ye={lensName:this.name,tool:this.config?.tool.name||"jest",timestamp:Date.now(),success:c.success===!0,issues:_,metrics:{filesAnalyzed:de,totalIssues:_.length,issuesBySeverity:{error:_.filter(We=>We.severity==="error").length,warning:_.filter(We=>We.severity==="warning").length,info:_.filter(We=>We.severity==="info").length,hint:0},executionTime:Y,custom:{totalTests:S,passedTests:w,failedTests:z,skippedTests:ie,testSuites:de,passedSuites:be,failedSuites:Ee,passRate:Math.round(Oe*100)/100,duration:Y,slowestTests:ut,snapshot:{total:c.snapshot?.total||0,matched:c.snapshot?.matched||0,unmatched:c.snapshot?.unmatched||0,updated:c.snapshot?.updated||0}}}};return c.coverageMap&&(Ye.coverage=this.buildCoverageData(c.coverageMap,g)),Ye.qualityScore=p.calculateQualityScore(Ye),Ye}buildCoverageData(c,_){let g=[],S=0,w=0,z=0,ie=0,de=0,be=0;for(let[Ee,Oe]of Object.entries(c))if(typeof Oe=="object"&&Oe!==null){let Y=Oe,ut=_.toRelative(Y.path||Ee),Ye=Object.values(Y.s||{}),We=Ye.length,Ut=Ye.filter(xn=>xn>0).length,_r=Object.values(Y.b||{}).flat(),Hr=_r.length,On=_r.filter(xn=>xn>0).length,Hi=Object.values(Y.f||{}),us=Hi.length,Hn=Hi.filter(xn=>xn>0).length,an=We>0?Ut/We*100:100,hc=Hr>0?On/Hr*100:void 0,ma=us>0?Hn/us*100:void 0,ic=this.getUncoveredLines(Y);g.push({file:ut,lines:Math.round(an*100)/100,branches:hc!==void 0?Math.round(hc*100)/100:void 0,functions:ma!==void 0?Math.round(ma*100)/100:void 0,statements:Math.round(an*100)/100,uncoveredLines:ic}),S+=We,w+=Ut,z+=Hr,ie+=On,de+=us,be+=Hn}return{line:S>0?Math.round(w/S*1e4)/100:100,branch:z>0?Math.round(ie/z*1e4)/100:void 0,function:de>0?Math.round(be/de*1e4)/100:void 0,statement:S>0?Math.round(w/S*1e4)/100:void 0,files:g}}getUncoveredLines(c){let _=[],g=c.statementMap||{},S=c.s||{};for(let[w,z]of Object.entries(S))if(z===0){let ie=g[w];ie?.start?.line&&_.push(ie.start.line)}return[...new Set(_)].sort((w,z)=>w-z)}processCoverageData(c,_){let g=[];for(let[S,w]of Object.entries(c))if(typeof w=="object"&&w!==null){let z=w,ie=_.toRelative(z.path||S),de=Object.values(z.s||{}),be=de.filter(Ee=>Ee===0).length;if(be>0){let Ee=de.length,Oe=(Ee-be)/Ee*100;Oe<80&&g.push({file:ie,line:1,column:1,severity:Oe<50?"warning":"info",message:`Low test coverage: ${Math.round(Oe)}% of statements covered`,rule:"low-coverage",source:this.name,category:"coverage"})}}return g}extractErrorMessage(c){let g=c.replace(/\u001b\[[0-9;]*m/g,"").split(`
788
- `)[0];return g.length>200?g.substring(0,197)+"...":g}formatTestFailureMessage(c,_){let S=_.replace(/\u001b\[[0-9;]*m/g,"").split(`
789
- `)[0].substring(0,150);return`Test "${c}" failed: ${S}`}getEmptyResults(){return{numFailedTestSuites:0,numFailedTests:0,numPassedTestSuites:0,numPassedTests:0,numPendingTestSuites:0,numPendingTests:0,numRuntimeErrorTestSuites:0,numTodoTests:0,numTotalTestSuites:0,numTotalTests:0,openHandles:[],snapshot:{added:0,didUpdate:!1,failure:!1,filesAdded:0,filesRemoved:0,filesRemovedList:[],filesUnmatched:0,filesUpdated:0,matched:0,total:0,unchecked:0,uncheckedKeysByFile:[],unmatched:0,updated:0},startTime:Date.now(),success:!0,testResults:[],wasInterrupted:!1}}normalizeResults(c){let _=this.getEmptyResults(),g=c;return{..._,...g,testResults:(g.testResults||[]).map(S=>({...S,assertionResults:S.assertionResults||[],perfStats:S.perfStats||{}}))}}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Rur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[];c.some(g=>g==="--json")||this.addArgsToNpmScript(["--json"]),c.some(g=>g.includes("--no-colors")||g.includes("--colors=false"))||this.addArgsToNpmScript(["--no-colors"])}return super.execute()}};boe.JestLens=Pke});var E_t=jt(Coe=>{"use strict";Object.defineProperty(Coe,"__esModule",{value:!0});Coe.KnipLens=void 0;var Mur=Ak(),Bur=Fk(),Nke=class p extends Mur.BaseLens{name="knip";description="Find unused files, exports, and dependencies";languages=["javascript","typescript"];supportedTools=["knip"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let _=c.metrics;if(!_?.custom)return 100;let g=_.custom,S=(g.unlistedDependencies||0)*15,w=(g.unresolvedImports||0)*10,z=(g.unusedFiles||0)*5,ie=(g.unusedDependencies||0)*2,de=(g.unusedDevDependencies||0)*1,be=(g.unusedExports||0)*1,Ee=(g.unusedTypes||0)*.5,Oe=S+w+z+ie+de+be+Ee,Y=Math.max(0,Math.min(100,100-Oe));return Math.round(Y*100)/100}parse(c){let _=c.stderr||c.stdout;if(!_)return this.getEmptyOutput();try{let g=JSON.parse(_);return this.normalizeOutput(g)}catch(g){this.debug("Failed to parse Knip output as JSON, trying to extract from npm wrapper:",g);let S=_.split(`
790
- `);for(let w of S){let z=w.trim();if(z.startsWith("{"))try{let ie=JSON.parse(z);return this.debug("Successfully extracted JSON from npm wrapper output"),this.normalizeOutput(ie)}catch{this.debug("Line started with { but was not valid JSON:",z.substring(0,50));continue}}if(c.stderr&&!c.stderr.trim().startsWith("{"))throw new Error(`Knip execution error: ${c.stderr}`);return this.debug("No valid JSON found in output, returning empty results"),this.getEmptyOutput()}}format(c){let _=[],g=this.getPathMapper();for(let[be,Ee]of Object.entries(c.files||{})){let Oe=g.toRelative(be);_.push({file:Oe,line:1,column:1,severity:"warning",message:`Unused file: ${Ee.join(", ")||"file not referenced"}`,rule:"unused-file",source:this.name,category:"files"})}for(let[be,Ee]of c.dependencies||[])_.push({file:g.toRelative(be+"/package.json"),line:1,column:1,severity:"warning",message:`Unused dependency: ${Ee}`,rule:"unused-dependency",source:this.name,category:"dependencies"});for(let[be,Ee]of c.devDependencies||[])_.push({file:g.toRelative(be+"/package.json"),line:1,column:1,severity:"info",message:`Unused devDependency: ${Ee}`,rule:"unused-devDependency",source:this.name,category:"dependencies"});for(let[be,Ee]of Object.entries(c.unlisted||{})){let Oe=g.toRelative(be);for(let Y of Ee)_.push({file:Oe,line:1,column:1,severity:"error",message:`Unlisted dependency: ${Y}`,rule:"unlisted-dependency",source:this.name,category:"dependencies"})}for(let[be,Ee]of Object.entries(c.unresolved||{})){let Oe=g.toRelative(be);for(let Y of Ee)_.push({file:Oe,line:1,column:1,severity:"error",message:`Unresolved import: ${Y}`,rule:"unresolved-import",source:this.name,category:"imports"})}for(let[be,Ee]of Object.entries(c.exports||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);_.push({file:Oe,line:ut||1,column:Ye||1,severity:"warning",message:`Unused export: ${We}`,rule:"unused-export",source:this.name,category:"exports"})}}for(let[be,Ee]of Object.entries(c.nsExports||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);_.push({file:Oe,line:ut||1,column:Ye||1,severity:"warning",message:`Unused namespace export: ${We}`,rule:"unused-ns-export",source:this.name,category:"exports"})}}for(let[be,Ee]of Object.entries(c.types||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);_.push({file:Oe,line:ut||1,column:Ye||1,severity:"info",message:`Unused type: ${We}`,rule:"unused-type",source:this.name,category:"types"})}}for(let[be,Ee]of Object.entries(c.classMembers||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);_.push({file:Oe,line:ut||1,column:Ye||1,severity:"info",message:`Unused class member: ${We}`,rule:"unused-class-member",source:this.name,category:"class-members"})}}for(let[be,Ee]of Object.entries(c.enumMembers||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);_.push({file:Oe,line:ut||1,column:Ye||1,severity:"info",message:`Unused enum member: ${We}`,rule:"unused-enum-member",source:this.name,category:"enum-members"})}}for(let[be,Ee]of Object.entries(c.duplicates||{})){let Oe=g.toRelative(be);for(let[Y,ut]of Ee)_.push({file:Oe,line:1,column:1,severity:"warning",message:`Duplicate export: ${ut} (original: ${Y})`,rule:"duplicate-export",source:this.name,category:"duplicates"})}let S=new Set([...Object.keys(c.files||{}),...Object.keys(c.exports||{}),...Object.keys(c.types||{}),...Object.keys(c.classMembers||{})]).size,w={error:_.filter(be=>be.severity==="error").length,warning:_.filter(be=>be.severity==="warning").length,info:_.filter(be=>be.severity==="info").length,hint:_.filter(be=>be.severity==="hint").length},z={};for(let be of _){let Ee=be.category||"uncategorized";z[Ee]=(z[Ee]||0)+1}let ie=this.buildFileMetrics(_),de={lensName:this.name,tool:this.config?.tool.name||"knip",timestamp:Date.now(),success:!0,issues:_,fileMetrics:ie,metrics:{filesAnalyzed:S,totalIssues:_.length,issuesBySeverity:w,executionTime:0,custom:{unusedFiles:Object.keys(c.files||{}).length,unusedDependencies:(c.dependencies||[]).length,unusedDevDependencies:(c.devDependencies||[]).length,unlistedDependencies:Object.values(c.unlisted||{}).flat().length,unresolvedImports:Object.values(c.unresolved||{}).flat().length,unusedExports:Object.values(c.exports||{}).flat().length,unusedTypes:Object.values(c.types||{}).flat().length,issuesByCategory:z}}};return de.qualityScore=p.calculateQualityScore(de),de}parseExportInfo(c){let _=c.match(/^(.+?)\s*\((\d+):(\d+)\)$/);return _?{name:_[1].trim(),line:parseInt(_[2],10),col:parseInt(_[3],10)}:{name:c}}getEmptyOutput(){return{files:{},dependencies:[],devDependencies:[],optionalPeerDependencies:[],unlisted:{},binaries:{},unresolved:{},exports:{},nsExports:{},classMembers:{},types:{},nsTypes:{},enumMembers:{},duplicates:{}}}isV5Format(c){let _=Array.isArray(c.files),g=Array.isArray(c.issues);return _||g}convertV5ToV4(c){let _=this.getEmptyOutput();if(c.files&&Array.isArray(c.files))for(let g of c.files)_.files[g]=[];if(c.issues&&Array.isArray(c.issues))for(let g of c.issues){let{file:S}=g;if(g.dependencies&&Array.isArray(g.dependencies))for(let w of g.dependencies)_.dependencies.push(["",w]);if(g.devDependencies&&Array.isArray(g.devDependencies))for(let w of g.devDependencies)_.devDependencies.push(["",w]);if(g.optionalPeerDependencies&&Array.isArray(g.optionalPeerDependencies))for(let w of g.optionalPeerDependencies)_.optionalPeerDependencies.push(["",w]);if(g.unlisted&&Array.isArray(g.unlisted)&&(_.unlisted[S]||(_.unlisted[S]=[]),_.unlisted[S].push(...g.unlisted)),g.binaries&&Array.isArray(g.binaries)&&(_.binaries[S]||(_.binaries[S]=[]),_.binaries[S].push(...g.binaries)),g.unresolved&&Array.isArray(g.unresolved)&&(_.unresolved[S]||(_.unresolved[S]=[]),_.unresolved[S].push(...g.unresolved)),g.exports&&Array.isArray(g.exports)){_.exports[S]||(_.exports[S]=[]);for(let w of g.exports)_.exports[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.nsExports&&Array.isArray(g.nsExports)){_.nsExports[S]||(_.nsExports[S]=[]);for(let w of g.nsExports)_.nsExports[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.types&&Array.isArray(g.types)){_.types[S]||(_.types[S]=[]);for(let w of g.types)_.types[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.nsTypes&&Array.isArray(g.nsTypes)){_.nsTypes[S]||(_.nsTypes[S]=[]);for(let w of g.nsTypes)_.nsTypes[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.classMembers&&Array.isArray(g.classMembers)){_.classMembers[S]||(_.classMembers[S]=[]);for(let w of g.classMembers)_.classMembers[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.enumMembers&&Array.isArray(g.enumMembers)){_.enumMembers[S]||(_.enumMembers[S]=[]);for(let w of g.enumMembers)_.enumMembers[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.duplicates&&Array.isArray(g.duplicates)){_.duplicates[S]||(_.duplicates[S]=[]);for(let w of g.duplicates)_.duplicates[S].push([w.name,w.name])}}return _}normalizeOutput(c){return this.isV5Format(c)?(this.debug("Detected Knip v5+ format, converting to v4 format"),this.convertV5ToV4(c)):{...this.getEmptyOutput(),...c}}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Bur.PathMapper(c)}return this.pathMapper}async execute(){return this.config?.tool&&((this.config.tool.args||[]).some(g=>g.includes("--reporter")||g==="-r")||this.addArgsToNpmScript(["--reporter","json"])),super.execute()}};Coe.KnipLens=Nke});var x_t=jt(Soe=>{"use strict";Object.defineProperty(Soe,"__esModule",{value:!0});Soe.PrettierLens=void 0;var jur=Ak(),Jur=Fk(),Oke=class p extends jur.BaseLens{name="prettier";description="Code formatter";languages=["javascript","typescript","json","css","html","markdown"];supportedTools=["prettier"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let _=c.metrics;if(!_)return 100;let g=Math.max(_.filesAnalyzed,1),S=_.issuesBySeverity.error;if(S===0)return 100;let w=Math.max(0,100-S/g*100);return Math.round(w*100)/100}parse(c){let _=[],g=0,S=c.stderr||c.stdout||"";if(!S)return{filesNeedingFormatting:_,filesChecked:g};let w=S.split(`
791
- `).map(be=>be.trim()).filter(Boolean);for(let be of w){if(be.startsWith("Checking formatting...")||be.startsWith("All matched files")||be.startsWith("Code style issues found")||be.startsWith("Code style issues")||be.includes("prettier --write")||be.startsWith(">")||be.startsWith("$")||be.match(/^(npm|yarn|pnpm|bun)\s+/)||be==="")continue;let Ee=be.replace(/^\[warn\]\s*/,"");Ee&&!Ee.match(/^\d+.*files?.*checked/i)&&!Ee.match(/Code style issues/)&&_.push(Ee)}let z=S.match(/Code style issues found in (\d+) file/i);if(z){let be=parseInt(z[1],10);be===_.length&&(g=be)}let de=(c.stderr||"").match(/Checked (\d+) files/i)||S.match(/Checked (\d+) files/i);return de&&(g=parseInt(de[1],10)),{filesNeedingFormatting:_,filesChecked:g}}format(c){let _=[],g=[],S=this.getPathMapper();for(let de of c.filesNeedingFormatting){let be=S.toRelative(de);g.push({path:be,hasIssues:!0}),_.push({file:be,line:1,column:1,severity:"error",message:"File is not formatted according to Prettier rules",rule:"prettier",source:this.name,category:"formatting"})}let w=c.filesChecked||c.filesNeedingFormatting.length,z=this.buildFileMetrics(_),ie={lensName:this.name,tool:this.config?.tool.name||"prettier",timestamp:Date.now(),success:!0,issues:_,analyzedFiles:g,fileMetrics:z,metrics:{filesAnalyzed:w,totalIssues:_.length,issuesBySeverity:{error:_.length,warning:0,info:0,hint:0},executionTime:0,custom:{filesNeedingFormatting:c.filesNeedingFormatting.length,formattingCompliance:w>0?Math.round((1-c.filesNeedingFormatting.length/w)*100*100)/100:100}}};return ie.qualityScore=p.calculateQualityScore(ie),ie}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Jur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[];c.some(S=>S==="--check"||S==="-c")||this.addArgsToNpmScript(["--check"]),c.some(S=>S==="--no-error-on-unmatched-pattern")||this.addArgsToNpmScript(["--no-error-on-unmatched-pattern"])}return super.execute()}};Soe.PrettierLens=Oke});var T_t=jt(Eoe=>{"use strict";Object.defineProperty(Eoe,"__esModule",{value:!0});Eoe.TypeScriptLens=void 0;var qur=Ak(),zur=Fk(),F2;(function(p){p[p.Warning=0]="Warning",p[p.Error=1]="Error",p[p.Suggestion=2]="Suggestion",p[p.Message=3]="Message"})(F2||(F2={}));var Lke=class p extends qur.BaseLens{name="typescript";description="TypeScript type checking";languages=["typescript","javascript"];supportedTools=["tsc","typescript"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let _=c.metrics;if(!_)return 100;let g=Math.max(_.custom?.filesWithErrors||_.filesAnalyzed,1),{error:S,warning:w,info:z}=_.issuesBySeverity;if(S===0&&w===0&&z===0)return 100;let ie=S/g*8,de=w/g*2,be=z/g*.5,Ee=ie+de+be,Oe=Math.max(0,Math.min(100,100-Ee));return Math.round(Oe*100)/100}parse(c){let _=[],g=0;c.stdout&&(g=c.stdout.split(`
792
- `).filter(be=>be.trim().length>0).length);let S=c.stderr||"";if(!S)return{errors:_,filesAnalyzed:g};let w=/^(.+?)\((\d+),(\d+)\):\s+(error|warning)\s+(TS\d+):\s+(.+)$/gm,z;for(;(z=w.exec(S))!==null;){let[,de,be,Ee,Oe,Y,ut]=z;_.push({file:de,line:parseInt(be,10),column:parseInt(Ee,10),code:Y,message:ut,category:Oe==="error"?F2.Error:F2.Warning})}let ie=/^([^:]+):(\d+):(\d+)\s+-\s+(error|warning)\s+(TS\d+):\s+(.+)$/gm;for(;(z=ie.exec(S))!==null;){let[,de,be,Ee,Oe,Y,ut]=z;_.some(We=>We.file===de&&We.line===parseInt(be,10)&&We.column===parseInt(Ee,10)&&We.code===Y)||_.push({file:de,line:parseInt(be,10),column:parseInt(Ee,10),code:Y,message:ut,category:Oe==="error"?F2.Error:F2.Warning})}return{errors:_,filesAnalyzed:g}}format(c){let _=[],g=this.getPathMapper();for(let Y of c.errors){let ut=g.toRelative(Y.file);_.push({file:ut,line:Y.line,column:Y.column,severity:this.mapTSSeverity(Y.category),message:Y.message,rule:Y.code,source:this.name,category:this.categorizeError(Y.code)})}let S=new Set(c.errors.map(Y=>Y.file)).size,w=c.errors.filter(Y=>Y.category===F2.Error).length,z=c.errors.filter(Y=>Y.category===F2.Warning).length,ie=c.errors.filter(Y=>Y.category===F2.Suggestion).length,de={};for(let Y of c.errors)de[Y.code]=(de[Y.code]||0)+1;let be=Object.entries(de).sort((Y,ut)=>ut[1]-Y[1]).slice(0,5),Ee=this.buildFileMetrics(_),Oe={lensName:this.name,tool:this.config?.tool.name||"tsc",timestamp:Date.now(),success:!0,issues:_,fileMetrics:Ee,metrics:{filesAnalyzed:c.filesAnalyzed,totalIssues:_.length,issuesBySeverity:{error:w,warning:z,info:ie,hint:0},executionTime:0,custom:{filesWithErrors:S,totalErrors:w,totalWarnings:z,totalSuggestions:ie,uniqueErrorCodes:Object.keys(de).length,topErrors:be.map(([Y,ut])=>({code:Y,count:ut}))}}};return Oe.qualityScore=p.calculateQualityScore(Oe),Oe}mapTSSeverity(c){switch(c){case F2.Error:return"error";case F2.Warning:return"warning";case F2.Suggestion:return"info";case F2.Message:default:return"info"}}categorizeError(c){switch(c){case"TS2307":case"TS2304":case"TS2552":return"resolution";case"TS2322":case"TS2345":case"TS2769":return"type-mismatch";case"TS2339":case"TS2551":return"property-access";case"TS7006":case"TS7031":return"implicit-any"}let _=parseInt(c.replace("TS",""),10);return _>=1e3&&_<2e3?"syntax":_>=2e3&&_<3e3?"semantic":_>=3e3&&_<4e3?"declaration":_>=4e3&&_<5e3?"signature":_>=5e3&&_<6e3?"jsx":_>=6e3&&_<7e3?"messages":_>=7e3&&_<8e3?"noImplicitAny":_>=8e3&&_<9e3?"decorators":_>=17e3&&_<18e3?"jsx-attributes":_>=18e3&&_<19e3?"async":"general"}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new zur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[];!c.some(g=>g==="--noEmit")&&!c.some(g=>g==="--build"||g==="-b")&&this.addArgsToNpmScript(["--noEmit"]),c.some(g=>g.includes("--pretty"))||this.addArgsToNpmScript(["--pretty","false"]),c.some(g=>g==="--listFiles")||this.addArgsToNpmScript(["--listFiles"])}return super.execute()}};Eoe.TypeScriptLens=Lke});var A_t=jt(xoe=>{"use strict";Object.defineProperty(xoe,"__esModule",{value:!0});xoe.GitLens=void 0;var Wur=Ak(),Uur=Fk(),Rke=class p extends Wur.BaseLens{name="git";description="Version control insights from Git";languages=["*"];supportedTools=["git"];pathMapper;includeCommitDetails=!1;static calculateQualityScore(c){if(!c.success||c.error)return 0;let _=c.metrics;if(!_?.custom)return 100;let g=_.custom;if(!g.hasUncommittedChanges)return 100;let S=(g.modified||0)*2,w=(g.deleted||0)*2,z=(g.untracked||0)*1,ie=S+w+z,de=Math.max(0,Math.min(100,100-ie));return Math.round(de*100)/100}configure(c){super.configure(c),this.includeCommitDetails=c.includeCommitDetails??!1}async execute(){if(!this.config)throw new Error(`Lens ${this.name} is not configured`);if(!this.executor)throw new Error(`Lens ${this.name} has no executor`);let c=this.config.tool.cwd||this.config.cwd,_=this.config.tool.command||"git",g={},S=[];try{let w=await this.executor.execute(_,["rev-parse","--abbrev-ref","HEAD"],{cwd:c});w.error?(this.debug("Branch command error:",w.error),S.push("branch retrieval failed")):w.exitCode===0?g.branch=w.stdout.trim():(this.debug("Branch command failed with exit code:",w.exitCode),S.push("branch retrieval failed"))}catch(w){this.debug("Failed to get branch:",w),S.push("branch retrieval failed")}try{let w=await this.executor.execute(_,["rev-parse","HEAD"],{cwd:c});w.error?(this.debug("Commit command error:",w.error),S.push("commit retrieval failed")):w.exitCode===0?g.commit=w.stdout.trim():(this.debug("Commit command failed with exit code:",w.exitCode),S.push("commit retrieval failed"))}catch(w){this.debug("Failed to get commit:",w),S.push("commit retrieval failed")}try{let w=await this.executor.execute(_,["status","--porcelain"],{cwd:c});if(w.error)throw new Error(`Git command not found or failed to execute: ${w.error.message}`);if(w.exitCode===0)g.status=w.stdout;else throw new Error(`Git status failed with exit code ${w.exitCode}: ${w.stderr}`)}catch(w){throw this.debug("Failed to get status:",w),S.push("status retrieval failed"),new Error(`Git status failed: ${w}`)}if(this.includeCommitDetails&&g.commit)try{let w=await this.executor.execute(_,["log","-1",'--format="%H|%h|%an|%ae|%ad|%B"',"--date=iso"],{cwd:c});w.exitCode===0&&(g.commitDetails=w.stdout.trim());let z=await this.executor.execute(_,["show","--stat","--format=","HEAD"],{cwd:c});z.exitCode===0&&(g.commitStats=z.stdout.trim())}catch(w){this.debug("Failed to get commit details:",w)}return{stdout:JSON.stringify(g),stderr:S.join(`
793
- `),exitCode:S.length>0?1:0,duration:0}}parse(c){let _;try{_=JSON.parse(c.stdout)}catch{_={status:c.stdout}}let g=this.parseStatus(_.status||""),S=[],w=[],z=[],ie=[],de=[];for(let Ee of g)Ee.status==="??"&&S.push(Ee.file),(Ee.unstagedStatus==="M"||Ee.stagedStatus==="M")&&w.push(Ee.file),Ee.stagedStatus!==" "&&Ee.stagedStatus!=="?"&&z.push(Ee.file),(Ee.stagedStatus==="D"||Ee.unstagedStatus==="D")&&ie.push(Ee.file),Ee.stagedStatus==="R"&&Ee.originalFile&&de.push({from:Ee.originalFile,to:Ee.file});let be;if(_.commitDetails){let Ee=_.commitDetails.split("|");if(Ee.length>=6){let Oe=Ee.slice(5).join("|");if(be={hash:Ee[0],shortHash:Ee[1],author:Ee[2],authorEmail:Ee[3],date:Ee[4],message:Oe},_.commitStats){let Y=_.commitStats.match(/(\d+)\s+file[s]?\s+changed(?:,\s+(\d+)\s+insertion)?(?:.*,\s+(\d+)\s+deletion)?/);Y&&(be.files=parseInt(Y[1],10),be.insertions=Y[2]?parseInt(Y[2],10):0,be.deletions=Y[3]?parseInt(Y[3],10):0)}}}return{branch:_.branch,commit:_.commit?.substring(0,8),commitDetails:be,status:g,untracked:S,modified:w,staged:z,deleted:ie,renamed:de}}parseStatus(c){let _=c.split(`
794
- `).filter(S=>S.trim()),g=[];for(let S of _){if(S.length<3)continue;let w=S.substring(0,2),z=w[0]||" ",ie=w[1]||" ",de=S.substring(3),be=de,Ee;if(z==="R"&&de.includes(" -> ")){let Oe=de.split(" -> ");Ee=Oe[0],be=Oe[1]}g.push({status:w,stagedStatus:z,unstagedStatus:ie,file:be,originalFile:Ee})}return g}format(c){let _=[],g=this.getPathMapper();for(let ie of c.untracked)_.push({file:g.toRelative(ie),line:1,column:1,severity:"info",message:"Untracked file",source:this.name,category:"vcs"});for(let ie of c.modified)c.staged.includes(ie)||_.push({file:g.toRelative(ie),line:1,column:1,severity:"warning",message:"Modified file with unstaged changes",source:this.name,category:"vcs"});for(let ie of c.deleted)_.push({file:g.toRelative(ie),line:1,column:1,severity:"warning",message:"Deleted file",source:this.name,category:"vcs"});let S=c.status.length,w=S>0,z={lensName:this.name,tool:this.config?.tool.name||"git",timestamp:Date.now(),success:!0,issues:_,metrics:{filesAnalyzed:c.status.length,totalIssues:_.length,issuesBySeverity:{error:0,warning:c.modified.length+c.deleted.length,info:c.untracked.length,hint:0},executionTime:0,custom:{branch:c.branch||"unknown",commit:c.commit||"unknown",untracked:c.untracked.length,modified:c.modified.length,staged:c.staged.length,deleted:c.deleted.length,renamed:c.renamed.length,hasUncommittedChanges:w?1:0,totalChanges:S,...c.commitDetails&&{commitAuthor:c.commitDetails.author,commitDate:c.commitDetails.date,commitMessage:c.commitDetails.message,commitFiles:c.commitDetails.files||0,commitInsertions:c.commitDetails.insertions||0,commitDeletions:c.commitDetails.deletions||0}}}};return z.qualityScore=p.calculateQualityScore(z),z}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Uur.PathMapper(c)}return this.pathMapper}canHandle(c){return c.name==="git"&&c.available}};xoe.GitLens=Rke});var F_t=jt(Toe=>{"use strict";Object.defineProperty(Toe,"__esModule",{value:!0});Toe.AlexandriaLens=void 0;var Vur=Ak(),Gur=Fk(),Mke=class p extends Vur.BaseLens{name="alexandria";description="Documentation quality and context management";languages=["markdown","documentation"];supportedTools=["alexandria"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let _=c.metrics;if(!_)return 100;let{error:g,warning:S,info:w}=_.issuesBySeverity,z=g*10,ie=S*2,de=w*.5,be=0;_.custom?.viewsInvalid&&typeof _.custom.viewsInvalid=="number"&&(be=_.custom.viewsInvalid*5);let Ee=z+ie+de+be,Oe=Math.max(0,Math.min(100,100-Ee));return Math.round(Oe*100)/100}parse(c){if(c.stderr&&!c.stdout)throw new Error(`Alexandria execution error: ${c.stderr}`);if(!c.stdout)return{};try{let _=c.stdout,g=_.search(/^\s*[{[]/m);return g>0&&(this.debug("Stripping npm script preamble from output"),_=_.substring(g)),JSON.parse(_)}catch(_){if(this.debug("Failed to parse Alexandria output as JSON:",_),c.stderr)throw new Error(`Alexandria execution error: ${c.stderr}`);return{}}}format(c){let _=[],g=[],S=this.getPathMapper(),w=new Set;if(c.lintResults?.violations)for(let Y of c.lintResults.violations){let ut=S.toRelative(Y.file);w.add(ut),g.findIndex(We=>We.path===ut)===-1&&g.push({path:ut,hasIssues:!0}),_.push({file:ut,line:Y.line||1,column:void 0,severity:this.mapAlexandriaSeverity(Y.severity),message:Y.message,rule:Y.ruleId,source:this.name,category:Y.impact})}let z=w.size||1,ie=c.lintResults?.errorCount||0,de=c.lintResults?.warningCount||0,be=c.lintResults?.infoCount||0,Ee=this.buildFileMetrics(_),Oe={lensName:this.name,tool:this.config?.tool.name||"alexandria",timestamp:Date.now(),success:!0,issues:_,analyzedFiles:g,fileMetrics:Ee,metrics:{filesAnalyzed:z,totalIssues:_.length,issuesBySeverity:{error:ie,warning:de,info:be,hint:0},executionTime:0,custom:{fixableCount:c.lintResults?.fixableCount||0,viewsTotal:c.viewValidation?.totalViews||0,viewsValid:c.viewValidation?.validViews||0,viewsInvalid:c.viewValidation?.invalidViews||0,viewIssues:c.viewValidation?.totalIssues||0}}};return Oe.qualityScore=p.calculateQualityScore(Oe),Oe}mapAlexandriaSeverity(c){switch(c){case"error":return"error";case"warning":return"warning";case"info":return"info";default:return"info"}}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Gur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[],_=c.includes("--json"),g=c.includes("--errors-only"),S=[];_||S.push("--json"),g||S.push("--errors-only"),S.length>0&&this.addArgsToNpmScript(S)}try{return await super.execute()}catch(c){let _=c instanceof Error?c.message:String(c);if(_.includes("command not found")||_.includes("ENOENT")||_.includes("not found"))return{stdout:"",stderr:"Alexandria CLI not installed",exitCode:-1,duration:0,error:new Error("Alexandria CLI not installed. Install with: npm install -g @a24z/alexandria-cli")};throw c}}};Toe.AlexandriaLens=Mke});var k_t=jt(Aoe=>{"use strict";Object.defineProperty(Aoe,"__esModule",{value:!0});Aoe.NodeExecutor=void 0;var Bke=require("child_process"),jke=class{type="node";async execute(c,_=[],g={}){let S=Date.now();return new Promise(w=>{let{cwd:z=process.cwd(),env:ie=process.env,timeout:de=12e4,maxBuffer:be=10*1024*1024,encoding:Ee="utf8",shell:Oe=!1}=g,Y="",ut="",Ye=!1,We,Ut=(0,Bke.spawn)(c,_,{cwd:z,env:ie,shell:Oe});de>0&&(We=setTimeout(()=>{Ye=!0,Ut.kill("SIGTERM"),setTimeout(()=>{Ut.killed||Ut.kill("SIGKILL")},5e3)},de)),Ut.stdout?.on("data",_r=>{let Hr=_r.toString(Ee);Y.length+Hr.length<=be&&(Y+=Hr)}),Ut.stderr?.on("data",_r=>{let Hr=_r.toString(Ee);ut.length+Hr.length<=be&&(ut+=Hr)}),Ut.on("close",_r=>{We&&clearTimeout(We);let Hr=Date.now()-S;w({stdout:Y,stderr:ut,exitCode:_r??-1,duration:Hr,timedOut:Ye,command:c,args:_})}),Ut.on("error",_r=>{We&&clearTimeout(We);let Hr=Date.now()-S;w({stdout:Y,stderr:ut,exitCode:-1,duration:Hr,error:_r,command:c,args:_})})})}stream(c,_=[],g={}){let{cwd:S=process.cwd(),env:w=process.env,timeout:z=12e4,shell:ie=!1,onStdout:de,onStderr:be}=g,Ee=Date.now(),Oe=!1,Y,ut=(0,Bke.spawn)(c,_,{cwd:S,env:w,shell:ie});z>0&&(Y=setTimeout(()=>{Oe=!0,ut.kill("SIGTERM"),setTimeout(()=>{ut.killed||ut.kill("SIGKILL")},5e3)},z)),de&&ut.stdout&&ut.stdout.on("data",We=>{de(We.toString())}),be&&ut.stderr&&ut.stderr.on("data",We=>{be(We.toString())});let Ye=new Promise(We=>{let Ut="",_r="";ut.stdout?.on("data",Hr=>{Ut+=Hr.toString()}),ut.stderr?.on("data",Hr=>{_r+=Hr.toString()}),ut.on("close",Hr=>{Y&&clearTimeout(Y),We({stdout:Ut,stderr:_r,exitCode:Hr??-1,duration:Date.now()-Ee,timedOut:Oe,command:c,args:_})}),ut.on("error",Hr=>{Y&&clearTimeout(Y),We({stdout:Ut,stderr:_r,exitCode:-1,duration:Date.now()-Ee,error:Hr,command:c,args:_})})});return{stdout:ut.stdout,stderr:ut.stderr,exitPromise:Ye,kill:()=>{ut.kill()}}}async isAvailable(c){try{let _=process.platform==="win32"?"where":"which";return new Promise(g=>{(0,Bke.exec)(`${_} ${c}`,S=>{g(!S)})})}catch{return!1}}async kill(c){try{process.kill(Number(c),"SIGTERM"),await new Promise(_=>setTimeout(_,1e3));try{process.kill(Number(c),0),process.kill(Number(c),"SIGKILL")}catch{}}catch(_){if(_ instanceof Error&&"code"in _&&_.code!=="ESRCH")throw _}}};Aoe.NodeExecutor=jke});var w_t=jt(Foe=>{"use strict";Object.defineProperty(Foe,"__esModule",{value:!0});Foe.MockExecutor=void 0;var I_t=require("stream"),Jke=class{type="mock";responses=new Map;sequentialResponses=new Map;callCounts=new Map;defaultResponse={stdout:"",stderr:"",exitCode:0,duration:10};setResponse(c,_){this.responses.set(c,_)}setMockResponse(c,_,g){if(g!==void 0){this.sequentialResponses.has(c)||this.sequentialResponses.set(c,[]);let S=this.sequentialResponses.get(c);for(;S.length<=g;)S.push(this.defaultResponse);S[g]=_}else this.setResponse(c,_)}setDefaultResponse(c){this.defaultResponse={...this.defaultResponse,...c}}clear(){this.responses.clear(),this.sequentialResponses.clear(),this.callCounts.clear()}async execute(c,_=[],g={}){await new Promise(w=>setTimeout(w,10));let S;if(this.sequentialResponses.has(c)){let w=this.callCounts.get(c)||0;S=this.sequentialResponses.get(c)[w]||this.defaultResponse,this.callCounts.set(c,w+1)}else S=this.responses.get(c)||this.defaultResponse;return S.error?{stdout:S.stdout||"",stderr:S.stderr||S.error.message,exitCode:S.exitCode??-1,duration:S.duration||10,error:S.error,command:c,args:_}:{stdout:S.stdout||"",stderr:S.stderr||"",exitCode:S.exitCode??0,duration:S.duration||10,command:c,args:_}}stream(c,_=[],g={}){let S=this.responses.get(c)||this.defaultResponse,w=new I_t.Readable({read(){this.push(S.stdout||""),this.push(null)}}),z=new I_t.Readable({read(){this.push(S.stderr||""),this.push(null)}});g.onStdout&&S.stdout&&setTimeout(()=>g.onStdout(S.stdout),10),g.onStderr&&S.stderr&&setTimeout(()=>g.onStderr(S.stderr),10);let ie=new Promise(de=>{setTimeout(()=>{de({stdout:S.stdout||"",stderr:S.stderr||"",exitCode:S.exitCode??0,duration:S.duration||10,command:c,args:_})},S.duration||10)});return{stdout:w,stderr:z,exitPromise:ie,kill:()=>{}}}async isAvailable(c){return!0}async kill(c){}setupCommonTools(){this.setResponse("eslint",{stdout:JSON.stringify([{filePath:"src/index.js",messages:[{ruleId:"no-unused-vars",severity:2,message:"'unused' is defined but never used.",line:10,column:7,nodeType:"Identifier"}],errorCount:1,warningCount:0}]),stderr:"",exitCode:1}),this.setResponse("tsc",{stdout:"",stderr:"src/index.ts(5,10): error TS2339: Property 'foo' does not exist on type 'Bar'.",exitCode:1}),this.setResponse("jest",{stdout:JSON.stringify({success:!1,numFailedTests:1,numPassedTests:5,numPendingTests:0,testResults:[{name:"src/utils.test.ts",status:"failed",message:"Expected value to be 5, received 4"}]}),stderr:"",exitCode:1}),this.setResponse("git",{stdout:`On branch main
786
+ `+A.stack)}finally{this.performanceData=y}}parseMessage(t){return JSON.parse(t)}toStringMessage(t){return t}getFormatOptions(t){return this.projectService.getFormatCodeOptions(t)}getPreferences(t){return this.projectService.getPreferences(t)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function pqe(e){let t=e.diagnosticsDuration&&As(e.diagnosticsDuration,([n,i])=>({...i,file:n}));return{...e,diagnosticsDuration:t}}function Ig(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset($c(e))}}function Q2e(e,t,n){let i=Ig(e,n),s=t&&Ig(t,n);return s?{...i,contextStart:s.start,contextEnd:s.end}:i}function n4t(e,t){return{start:dqe(t,e.span.start),end:dqe(t,$c(e.span)),newText:e.newText}}function dqe(e,t){return W2e(e)?s4t(e.getLineAndCharacterOfPosition(t)):e.positionToLineOffset(t)}function i4t(e,t){let n=e.ranges.map(i=>({start:t.positionToLineOffset(i.start),end:t.positionToLineOffset(i.start+i.length)}));return e.wordPattern?{ranges:n,wordPattern:e.wordPattern}:{ranges:n}}function s4t(e){return{line:e.line+1,offset:e.character+1}}function a4t(e){P.assert(e.textChanges.length===1);let t=eo(e.textChanges);return P.assert(t.span.start===0&&t.span.length===0),{fileName:e.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:t.newText}]}}function X2e(e,t,n,i){let s=o4t(e,t,i),{line:o,character:u}=jk(zT(s),n);return{line:o+1,offset:u+1}}function o4t(e,t,n){for(let{fileName:i,textChanges:s}of n)if(i===t)for(let o=s.length-1;o>=0;o--){let{newText:u,span:{start:d,length:f}}=s[o];e=e.slice(0,d)+u+e.slice(d+f)}return e}function mqe(e,{fileName:t,textSpan:n,contextSpan:i,isWriteAccess:s,isDefinition:o},{disableLineTextInReferences:u}){let d=P.checkDefined(e.getScriptInfo(t)),f=Q2e(n,i,d),D=u?void 0:c4t(d,f);return{file:t,...f,lineText:D,isWriteAccess:s,isDefinition:o}}function c4t(e,t){let n=e.lineToTextSpan(t.start.line-1);return e.getSnapshot().getText(n.start,$c(n)).replace(/\r|\n/g,"")}function u4t(e){return e===void 0||e&&typeof e=="object"&&typeof e.exportName=="string"&&(e.fileName===void 0||typeof e.fileName=="string")&&(e.ambientModuleName===void 0||typeof e.ambientModuleName=="string"&&(e.isPackageJsonImport===void 0||typeof e.isPackageJsonImport=="boolean"))}var x3=4,Y2e=(e=>(e[e.PreStart=0]="PreStart",e[e.Start=1]="Start",e[e.Entire=2]="Entire",e[e.Mid=3]="Mid",e[e.End=4]="End",e[e.PostEnd=5]="PostEnd",e))(Y2e||{}),l4t=class{constructor(){this.goSubtree=!0,this.lineIndex=new CO,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new T3,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){t&&(this.trailingText=""),e?e=this.initialText+e+this.trailingText:e=this.initialText+this.trailingText;let i=CO.linesFromText(e).lines;i.length>1&&i[i.length-1]===""&&i.pop();let s,o;for(let d=this.endBranch.length-1;d>=0;d--)this.endBranch[d].updateCounts(),this.endBranch[d].charCount()===0&&(o=this.endBranch[d],d>0?s=this.endBranch[d-1]:s=this.branchNode);o&&s.remove(o);let u=this.startPath[this.startPath.length-1];if(i.length>0)if(u.text=i[0],i.length>1){let d=new Array(i.length-1),f=u;for(let b=1;b<i.length;b++)d[b-1]=new Uz(i[b]);let D=this.startPath.length-2;for(;D>=0;){let b=this.startPath[D];d=b.insertAt(f,d),D--,f=b}let y=d.length;for(;y>0;){let b=new T3;b.add(this.lineIndex.root),d=b.insertAt(this.lineIndex.root,d),y=d.length,this.lineIndex.root=b}this.lineIndex.root.updateCounts()}else for(let d=this.startPath.length-2;d>=0;d--)this.startPath[d].updateCounts();else{this.startPath[this.startPath.length-2].remove(u);for(let f=this.startPath.length-2;f>=0;f--)this.startPath[f].updateCounts()}return this.lineIndex}post(e,t,n){n===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,n,i,s){let o=this.stack[this.stack.length-1];this.state===2&&s===1&&(this.state=1,this.branchNode=o,this.lineCollectionAtBranch=n);let u;function d(f){return f.isLeaf()?new Uz(""):new T3}switch(s){case 0:this.goSubtree=!1,this.state!==4&&o.add(n);break;case 1:this.state===4?this.goSubtree=!1:(u=d(n),o.add(u),this.startPath.push(u));break;case 2:this.state!==4?(u=d(n),o.add(u),this.startPath.push(u)):n.isLeaf()||(u=d(n),o.add(u),this.endBranch.push(u));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:n.isLeaf()||(u=d(n),o.add(u),this.endBranch.push(u));break;case 5:this.goSubtree=!1,this.state!==1&&o.add(n);break}this.goSubtree&&this.stack.push(u)}leaf(e,t,n){this.state===1?this.initialText=n.text.substring(0,e):this.state===2?(this.initialText=n.text.substring(0,e),this.trailingText=n.text.substring(e+t)):this.trailingText=n.text.substring(e+t)}},f4t=class{constructor(e,t,n){this.pos=e,this.deleteLen=t,this.insertedText=n}getTextChangeRange(){return L7(ef(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},bre=class IT{constructor(){this.changes=[],this.versions=new Array(IT.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(t<this.minVersion||t>this.currentVersion))return t%IT.maxVersions}currentVersionToIndex(){return this.currentVersion%IT.maxVersions}edit(t,n,i){this.changes.push(new f4t(t,n,i)),(this.changes.length>IT.changeNumberThreshold||n>IT.changeLengthThreshold||i&&i.length>IT.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let n=t.index;for(let i of this.changes)n=n.edit(i.pos,i.deleteLen,i.insertedText);t=new hqe(this.currentVersion+1,this,n,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=IT.maxVersions&&(this.minVersion=this.currentVersion-IT.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(t){return this._getSnapshot().index.lineNumberToInfo(t)}lineOffsetToPosition(t,n){return this._getSnapshot().index.absolutePositionOfStartOfLine(t)+(n-1)}positionToLineOffset(t){return this._getSnapshot().index.positionToLineOffset(t)}lineToTextSpan(t){let n=this._getSnapshot().index,{lineText:i,absolutePosition:s}=n.lineNumberToInfo(t+1),o=i!==void 0?i.length:n.absolutePositionOfStartOfLine(t+2)-s;return ef(s,o)}getTextChangesBetweenVersions(t,n){if(t<n)if(t>=this.minVersion){let i=[];for(let s=t+1;s<=n;s++){let o=this.versions[this.versionToIndex(s)];for(let u of o.changesSincePreviousVersion)i.push(u.getTextChangeRange())}return Lue(i)}else return;else return gM}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){let n=new IT,i=new hqe(0,n,new CO);n.versions[n.currentVersion]=i;let s=CO.linesFromText(t);return i.index.load(s.lines),n}};bre.changeNumberThreshold=8,bre.changeLengthThreshold=256,bre.maxVersions=8;var Cre=bre,hqe=class Yft{constructor(t,n,i,s=yl){this.version=t,this.cache=n,this.index=i,this.changesSincePreviousVersion=s}getText(t,n){return this.index.getText(t,n-t)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof Yft&&this.cache===t.cache)return this.version<=t.version?gM:this.cache.getTextChangesBetweenVersions(t.version,this.version)}},CO=class bke{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(t){return this.lineNumberToInfo(t).absolutePosition}positionToLineOffset(t){let{oneBasedLine:n,zeroBasedColumn:i}=this.root.charOffsetToLineInfo(1,t);return{line:n,offset:i+1}}positionToColumnAndLineText(t){return this.root.charOffsetToLineInfo(1,t)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(t){let n=this.getLineCount();if(t<=n){let{position:i,leaf:s}=this.root.lineNumberToInfo(t,0);return{absolutePosition:i,lineText:s&&s.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(t){if(t.length>0){let n=[];for(let i=0;i<t.length;i++)n[i]=new Uz(t[i]);this.root=bke.buildTreeFromBottom(n)}else this.root=new T3}walk(t,n,i){this.root.walk(t,n,i)}getText(t,n){let i="";return n>0&&t<this.root.charCount()&&this.walk(t,n,{goSubtree:!0,done:!1,leaf:(s,o,u)=>{i=i.concat(u.text.substring(s,s+o))}}),i}getLength(){return this.root.charCount()}every(t,n,i){i||(i=this.root.charCount());let s={goSubtree:!0,done:!1,leaf(o,u,d){t(d,o,u)||(this.done=!0)}};return this.walk(n,i-n,s),!s.done}edit(t,n,i){if(this.root.charCount()===0)return P.assert(n===0),i!==void 0?(this.load(bke.linesFromText(i).lines),this):void 0;{let s;if(this.checkEdits){let d=this.getText(0,this.root.charCount());s=d.slice(0,t)+i+d.slice(t+n)}let o=new l4t,u=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;let d=this.getText(t,1);i?i=d+i:i=d,n=0,u=!0}else if(n>0){let d=t+n,{zeroBasedColumn:f,lineText:D}=this.positionToColumnAndLineText(d);f===0&&(n+=D.length,i=i?i+D:D)}if(this.root.walk(t,n,o),o.insertLines(i,u),this.checkEdits){let d=o.lineIndex.getText(0,o.lineIndex.getLength());P.assert(s===d,"buffer edit mismatch")}return o.lineIndex}}static buildTreeFromBottom(t){if(t.length<x3)return new T3(t);let n=new Array(Math.ceil(t.length/x3)),i=0;for(let s=0;s<n.length;s++){let o=Math.min(i+x3,t.length);n[s]=new T3(t.slice(i,o)),i=o}return this.buildTreeFromBottom(n)}static linesFromText(t){let n=zT(t);if(n.length===0)return{lines:[],lineMap:n};let i=new Array(n.length),s=n.length-1;for(let u=0;u<s;u++)i[u]=t.substring(n[u],n[u+1]);let o=t.substring(n[s]);return o.length>0?i[s]=o:i.pop(),{lines:i,lineMap:n}}},T3=class Cke{constructor(t=[]){this.children=t,this.totalChars=0,this.totalLines=0,t.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(let t of this.children)this.totalChars+=t.charCount(),this.totalLines+=t.lineCount()}execWalk(t,n,i,s,o){return i.pre&&i.pre(t,n,this.children[s],this,o),i.goSubtree?(this.children[s].walk(t,n,i),i.post&&i.post(t,n,this.children[s],this,o)):i.goSubtree=!0,i.done}skipChild(t,n,i,s,o){s.pre&&!s.done&&(s.pre(t,n,this.children[i],this,o),s.goSubtree=!0)}walk(t,n,i){if(this.children.length===0)return;let s=0,o=this.children[s].charCount(),u=t;for(;u>=o;)this.skipChild(u,n,s,i,0),u-=o,s++,o=this.children[s].charCount();if(u+n<=o){if(this.execWalk(u,n,i,s,2))return}else{if(this.execWalk(u,o-u,i,s,1))return;let d=n-(o-u);for(s++,o=this.children[s].charCount();d>o;){if(this.execWalk(0,o,i,s,3))return;d-=o,s++,o=this.children[s].charCount()}if(d>0&&this.execWalk(0,d,i,s,4))return}if(i.pre){let d=this.children.length;if(s<d-1)for(let f=s+1;f<d;f++)this.skipChild(0,0,f,i,5)}}charOffsetToLineInfo(t,n){if(this.children.length===0)return{oneBasedLine:t,zeroBasedColumn:n,lineText:void 0};for(let o of this.children){if(o.charCount()>n)return o.isLeaf()?{oneBasedLine:t,zeroBasedColumn:n,lineText:o.text}:o.charOffsetToLineInfo(t,n);n-=o.charCount(),t+=o.lineCount()}let i=this.lineCount();if(i===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};let s=P.checkDefined(this.lineNumberToInfo(i,0).leaf);return{oneBasedLine:i,zeroBasedColumn:s.charCount(),lineText:void 0}}lineNumberToInfo(t,n){for(let i of this.children){let s=i.lineCount();if(s>=t)return i.isLeaf()?{position:n,leaf:i}:i.lineNumberToInfo(t,n);t-=s,n+=i.charCount()}return{position:n,leaf:void 0}}splitAfter(t){let n,i=this.children.length;t++;let s=t;if(t<i){for(n=new Cke;t<i;)n.add(this.children[t]),t++;n.updateCounts()}return this.children.length=s,n}remove(t){let n=this.findChildIndex(t),i=this.children.length;if(n<i-1)for(let s=n;s<i-1;s++)this.children[s]=this.children[s+1];this.children.pop()}findChildIndex(t){let n=this.children.indexOf(t);return P.assert(n!==-1),n}insertAt(t,n){let i=this.findChildIndex(t),s=this.children.length,o=n.length;if(s<x3&&i===s-1&&o===1)return this.add(n[0]),this.updateCounts(),[];{let u=this.splitAfter(i),d=0;for(i++;i<x3&&d<o;)this.children[i]=n[d],i++,d++;let f=[],D=0;if(d<o){D=Math.ceil((o-d)/x3),f=new Array(D);let y=0;for(let T=0;T<D;T++)f[T]=new Cke;let b=f[0];for(;d<o;)b.add(n[d]),d++,b.children.length===x3&&(y++,b=f[y]);for(let T=f.length-1;T>=0;T--)f[T].children.length===0&&f.pop()}u&&f.push(u),this.updateCounts();for(let y=0;y<D;y++)f[y].updateCounts();return f}}add(t){this.children.push(t),P.assert(this.children.length<=x3)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},Uz=class{constructor(e){this.text=e}isLeaf(){return!0}walk(e,t,n){n.leaf(e,t,this)}charCount(){return this.text.length}lineCount(){return 1}},gqe=class Zft{constructor(t,n,i,s,o,u){this.telemetryEnabled=t,this.logger=n,this.host=i,this.globalTypingsCacheLocation=s,this.event=o,this.maxActiveRequestCount=u,this.activeRequestCount=0,this.requestQueue=v7(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(t){var n;return jD.validatePackageName(t)!==jD.NameValidationResult.Ok?!1:(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!((n=this.typesRegistryCache)!=null&&n.has(t)))}installPackage(t){this.packageInstallId++;let n={kind:"installPackage",...t,id:this.packageInstallId},i=new Promise((s,o)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:s,reject:o})});return this.installer.send(n),i}attach(t){this.projectService=t,this.installer=this.createInstallerProcess()}onProjectClosed(t){this.installer.send({projectName:t.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(t,n,i){let s=s2e(t,n,i);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${fb(s)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(s):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${s.projectName}`),this.requestQueue.enqueue(s),this.requestMap.set(s.projectName,s))}handleMessage(t){var n,i;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${fb(t)}`),t.kind){case GY:this.typesRegistryCache=new Map(Object.entries(t.typesRegistry));break;case uq:{let s=(n=this.packageInstalledPromise)==null?void 0:n.get(t.id);P.assertIsDefined(s,"Should find the promise for package install"),(i=this.packageInstalledPromise)==null||i.delete(t.id),t.success?s.resolve({successMessage:t.message}):s.reject(t.message),this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case fge:{let s={message:t.message};this.event(s,"typesInstallerInitializationFailed");break}case $Y:{let s={eventId:t.eventId,packages:t.packagesToInstall};this.event(s,"beginInstallTypes");break}case HY:{if(this.telemetryEnabled){let u={telemetryEventName:"typingsInstalled",payload:{installedPackages:t.packagesToInstall.join(","),installSuccess:t.installSuccess,typingsInstallerVersion:t.typingsInstallerVersion}};this.event(u,"telemetry")}let s={eventId:t.eventId,packages:t.packagesToInstall,success:t.installSuccess};this.event(s,"endInstallTypes");break}case cq:{this.projectService.updateTypingsForProject(t);break}case oq:{for(this.activeRequestCount>0?this.activeRequestCount--:P.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){let s=this.requestQueue.dequeue();if(this.requestMap.get(s.projectName)===s){this.requestMap.delete(s.projectName),this.scheduleRequest(s);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${s.projectName}`)}this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case g9:this.projectService.watchTypingLocations(t);break;default:}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${t.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${fb(t)}`),this.installer.send(t)},Zft.requestDelayMillis,`${t.projectName}::${t.kind}`)}};gqe.requestDelayMillis=100;var yqe=gqe,vqe={};w(vqe,{ActionInvalidate:()=>cq,ActionPackageInstalled:()=>uq,ActionSet:()=>oq,ActionWatchTypingLocations:()=>g9,Arguments:()=>KY,AutoImportProviderProject:()=>T2e,AuxiliaryProject:()=>E2e,CharRangeSection:()=>Y2e,CloseFileWatcherEvent:()=>lre,CommandNames:()=>iqe,ConfigFileDiagEvent:()=>sre,ConfiguredProject:()=>A2e,ConfiguredProjectLoadKind:()=>N2e,CreateDirectoryWatcherEvent:()=>ure,CreateFileWatcherEvent:()=>cre,Errors:()=>ny,EventBeginInstallTypes:()=>$Y,EventEndInstallTypes:()=>HY,EventInitializationFailed:()=>fge,EventTypesRegistry:()=>GY,ExternalProject:()=>Zte,GcTimer:()=>_2e,InferredProject:()=>S2e,LargeFileReferencedEvent:()=>ire,LineIndex:()=>CO,LineLeaf:()=>Uz,LineNode:()=>T3,LogLevel:()=>n2e,Msg:()=>i2e,OpenFileInfoTelemetryEvent:()=>F2e,Project:()=>fF,ProjectInfoTelemetryEvent:()=>ore,ProjectKind:()=>kw,ProjectLanguageServiceStateEvent:()=>are,ProjectLoadingFinishEvent:()=>nre,ProjectLoadingStartEvent:()=>rre,ProjectService:()=>z2e,ProjectsUpdatedInBackgroundEvent:()=>qz,ScriptInfo:()=>h2e,ScriptVersionCache:()=>Cre,Session:()=>_qe,TextStorage:()=>m2e,ThrottledOperations:()=>f2e,TypingsInstallerAdapter:()=>yqe,allFilesAreJsOrDts:()=>D2e,allRootFilesAreJsOrDts:()=>v2e,asNormalizedPath:()=>IJe,convertCompilerOptions:()=>zz,convertFormatOptions:()=>S3,convertScriptKindName:()=>_re,convertTypeAcquisition:()=>I2e,convertUserPreferences:()=>w2e,convertWatchOptions:()=>DO,countEachFileTypes:()=>hO,createInstallTypingsRequest:()=>s2e,createModuleSpecifierCache:()=>V2e,createNormalizedPathMap:()=>wJe,createPackageJsonCache:()=>G2e,createSortedArray:()=>l2e,emptyArray:()=>yl,findArgument:()=>wPe,formatDiagnosticToProtocol:()=>bO,formatMessage:()=>$2e,getBaseConfigFileName:()=>Yte,getDetailWatchInfo:()=>hre,getLocationInNewDocument:()=>X2e,hasArgument:()=>IPe,hasNoTypeScriptSource:()=>b2e,indent:()=>ew,isBackgroundProject:()=>yO,isConfigFile:()=>W2e,isConfiguredProject:()=>uv,isDynamicFileName:()=>Fw,isExternalProject:()=>gO,isInferredProject:()=>C3,isInferredProjectName:()=>a2e,isProjectDeferredClose:()=>vO,makeAutoImportProviderProjectName:()=>c2e,makeAuxiliaryProjectName:()=>u2e,makeInferredProjectName:()=>o2e,maxFileSize:()=>tre,maxProgramSizeForNonTsFiles:()=>ere,normalizedPathToPath:()=>b3,nowString:()=>PPe,nullCancellationToken:()=>tqe,nullTypingsInstaller:()=>Wz,protocol:()=>p2e,scriptInfoIsContainedByBackgroundProject:()=>g2e,scriptInfoIsContainedByDeferredClosedProject:()=>y2e,stringifyIndented:()=>fb,toEvent:()=>H2e,toNormalizedPath:()=>Go,tryConvertScriptKindName:()=>fre,typingsInstaller:()=>r2e,updateProjectIfDirty:()=>xm}),typeof console<"u"&&(P.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:return console.log(t);case 4:return console.log(t)}}})})({get exports(){return Gft},set exports(_){Gft=_,typeof moe<"u"&&moe.exports&&(moe.exports=_)}})});var goe=jt(($8r,u_t)=>{function r_t(_){return Array.isArray(_)?_:[_]}var xke="",n_t=" ",Ske="\\",rur=/^\s+$/,nur=/(?:[^\\]|^)\\$/,iur=/^\\!/,sur=/^\\#/,aur=/\r?\n/g,our=/^\.*\/|^\.+$/,Eke="/",a_t="node-ignore";typeof Symbol<"u"&&(a_t=Symbol.for("node-ignore"));var i_t=a_t,cur=(_,c,p)=>Object.defineProperty(_,c,{value:p}),uur=/([0-z])-([0-z])/g,o_t=()=>!1,lur=_=>_.replace(uur,(c,p,g)=>p.charCodeAt(0)<=g.charCodeAt(0)?c:xke),fur=_=>{let{length:c}=_;return _.slice(0,c-c%2)},_ur=[[/^\uFEFF/,()=>xke],[/((?:\\\\)*?)(\\?\s+)$/,(_,c,p)=>c+(p.indexOf("\\")===0?n_t:xke)],[/(\\+?)\s/g,(_,c)=>{let{length:p}=c;return c.slice(0,p-p%2)+n_t}],[/[\\$.|*+(){^]/g,_=>`\\${_}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(_,c,p)=>c+6<p.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(_,c,p)=>{let g=p.replace(/\\\*/g,"[^\\/]*");return c+g}],[/\\\\\\(?=[$.|*+(){^])/g,()=>Ske],[/\\\\/g,()=>Ske],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(_,c,p,g,S)=>c===Ske?`\\[${p}${fur(g)}${S}`:S==="]"&&g.length%2===0?`[${lur(p)}${g}]`:"[]"],[/(?:[^*])$/,_=>/\/$/.test(_)?`${_}$`:`${_}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(_,c)=>`${c?`${c}[^/]+`:"[^/]*"}(?=$|\\/$)`]],s_t=Object.create(null),pur=(_,c)=>{let p=s_t[_];return p||(p=_ur.reduce((g,[S,w])=>g.replace(S,w.bind(_)),_),s_t[_]=p),c?new RegExp(p,"i"):new RegExp(p)},Fke=_=>typeof _=="string",dur=_=>_&&Fke(_)&&!rur.test(_)&&!nur.test(_)&&_.indexOf("#")!==0,mur=_=>_.split(aur),Tke=class{constructor(c,p,g,S){this.origin=c,this.pattern=p,this.negative=g,this.regex=S}},hur=(_,c)=>{let p=_,g=!1;_.indexOf("!")===0&&(g=!0,_=_.substr(1)),_=_.replace(iur,"!").replace(sur,"#");let S=pur(_,c);return new Tke(p,_,g,S)},gur=(_,c)=>{throw new c(_)},Tk=(_,c,p)=>Fke(_)?_?Tk.isNotRelative(_)?p(`path should be a \`path.relative()\`d string, but got "${c}"`,RangeError):!0:p("path must not be empty",TypeError):p(`path must be a string, but got \`${c}\``,TypeError),c_t=_=>our.test(_);Tk.isNotRelative=c_t;Tk.convert=_=>_;var Ake=class{constructor({ignorecase:c=!0,ignoreCase:p=c,allowRelativePaths:g=!1}={}){cur(this,i_t,!0),this._rules=[],this._ignoreCase=p,this._allowRelativePaths=g,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(c){if(c&&c[i_t]){this._rules=this._rules.concat(c._rules),this._added=!0;return}if(dur(c)){let p=hur(c,this._ignoreCase);this._added=!0,this._rules.push(p)}}add(c){return this._added=!1,r_t(Fke(c)?mur(c):c).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(c){return this.add(c)}_testOne(c,p){let g=!1,S=!1;return this._rules.forEach(w=>{let{negative:z}=w;if(S===z&&g!==S||z&&!g&&!S&&!p)return;w.regex.test(c)&&(g=!z,S=z)}),{ignored:g,unignored:S}}_test(c,p,g,S){let w=c&&Tk.convert(c);return Tk(w,c,this._allowRelativePaths?o_t:gur),this._t(w,p,g,S)}_t(c,p,g,S){if(c in p)return p[c];if(S||(S=c.split(Eke)),S.pop(),!S.length)return p[c]=this._testOne(c,g);let w=this._t(S.join(Eke)+Eke,p,g,S);return p[c]=w.ignored?w:this._testOne(c,g)}ignores(c){return this._test(c,this._ignoreCache,!1).ignored}createFilter(){return c=>!this.ignores(c)}filter(c){return r_t(c).filter(this.createFilter())}test(c){return this._test(c,this._testCache,!0)}},hoe=_=>new Ake(_),yur=_=>Tk(_&&Tk.convert(_),_,o_t);hoe.isPathValid=yur;hoe.default=hoe;u_t.exports=hoe;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let _=p=>/^\\\\\?\\/.test(p)||/["<>|\u0000-\u001F]+/u.test(p)?p:p.replace(/\\/g,"/");Tk.convert=_;let c=/^[a-z]:\//i;Tk.isNotRelative=p=>c.test(p)||c_t(p)}});var l_t=jt(cG=>{"use strict";Object.defineProperty(cG,"__esModule",{value:!0});cG.isError=xur;cG.isString=Tur;cG.isObject=Aur;function xur(_){return _ instanceof Error}function Tur(_){return typeof _=="string"}function Aur(_){return typeof _=="object"&&_!==null&&!Array.isArray(_)}});var __t=jt(f_t=>{"use strict";Object.defineProperty(f_t,"__esModule",{value:!0})});var d_t=jt(p_t=>{"use strict";Object.defineProperty(p_t,"__esModule",{value:!0})});var h_t=jt(m_t=>{"use strict";Object.defineProperty(m_t,"__esModule",{value:!0})});var y_t=jt(g_t=>{"use strict";Object.defineProperty(g_t,"__esModule",{value:!0})});var D_t=jt(v_t=>{"use strict";Object.defineProperty(v_t,"__esModule",{value:!0})});var b_t=jt(DC=>{"use strict";var Fur=DC&&DC.__createBinding||(Object.create?(function(_,c,p,g){g===void 0&&(g=p);var S=Object.getOwnPropertyDescriptor(c,p);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[p]}}),Object.defineProperty(_,g,S)}):(function(_,c,p,g){g===void 0&&(g=p),_[g]=c[p]})),GR=DC&&DC.__exportStar||function(_,c){for(var p in _)p!=="default"&&!Object.prototype.hasOwnProperty.call(c,p)&&Fur(c,_,p)};Object.defineProperty(DC,"__esModule",{value:!0});GR(l_t(),DC);GR(__t(),DC);GR(d_t(),DC);GR(h_t(),DC);GR(y_t(),DC);GR(D_t(),DC)});var Ak=jt(yoe=>{"use strict";Object.defineProperty(yoe,"__esModule",{value:!0});yoe.BaseLens=void 0;var Ike=class{config;executor;options;constructor(c,p={}){this.executor=c,this.options={debug:!1,throwOnError:!1,...p}}configure(c){this.config=c,this.options.debug&&this.debug("Configured with:",c)}setExecutor(c){this.executor=c}async execute(){if(!this.config)throw new Error(`Lens ${this.name} is not configured`);if(!this.executor)throw new Error(`Lens ${this.name} has no executor`);let{tool:c}=this.config;if(!c.available)throw new Error(`Tool ${c.name} is not available`);this.debug(`Executing ${c.command} with args:`,c.args);let p=Date.now();try{let g=await this.executor.execute(c.command,c.args,{cwd:c.cwd||this.config.cwd,env:c.env,timeout:c.timeout||this.options.timeout});if(g.duration=Date.now()-p,this.options.debug&&this.debug("Execution result:",{exitCode:g.exitCode,duration:g.duration,stdoutLength:g.stdout.length,stderrLength:g.stderr.length}),g.exitCode!==0&&this.options.throwOnError)throw new Error(`${c.name} exited with code ${g.exitCode}: ${g.stderr||g.stdout}`);return g}catch(g){let S={stdout:"",stderr:g instanceof Error?g.message:String(g),exitCode:-1,duration:Date.now()-p,error:g instanceof Error?g:new Error(String(g))};if(this.options.throwOnError)throw g;return S}}async run(){try{let c=await this.execute();if(c.error)throw c.error;let p=this.parse(c),g=this.format(p),S={...g,timestamp:Date.now(),raw:{stdout:c.stdout,stderr:c.stderr,exitCode:c.exitCode}};return g.success===void 0&&(S.success=!c.error&&p!==null&&p!==void 0),S}catch(c){return this.createErrorResult(c)}}canHandle(c){return this.supportedTools.includes(c.name)}toRelativePath(c,p){let g=p||this.config?.cwd||process.cwd();return c.startsWith(g)?c.slice(g.length).replace(/^[/\\]/,""):c}createErrorResult(c){let p=c instanceof Error?c.message:String(c),g=c instanceof Error?c.stack:void 0;return{lensName:this.name,tool:this.config?.tool.name||"unknown",timestamp:Date.now(),success:!1,issues:[],error:{message:p,stack:g}}}debug(c,...p){this.options.debug&&console.log(`[${this.name}] ${c}`,...p)}addArgsToNpmScript(c){if(c.length===0||!this.config?.tool)return;this.config.tool.args||(this.config.tool.args=[]);let p=this.config.tool.args,g=this.config.tool.command.toLowerCase();(g==="npm"||g==="yarn")&&p.length>=2&&p[0]==="run"?p.includes("--")?this.config.tool.args=[...p,...c]:this.config.tool.args=[...p,"--",...c]:this.config.tool.args=[...p,...c]}mapSeverity(c){let p=c.toLowerCase();return p.includes("error")||p==="fatal"?"error":p.includes("warn")?"warning":p.includes("info")||p.includes("note")?"info":p.includes("hint")||p.includes("suggest")?"hint":"warning"}buildFileMetrics(c,p={}){let{errorWeight:g=10,warningWeight:S=3,infoWeight:w=1,hintWeight:z=.5,isFixable:ie=Ee=>!!Ee.fix}=p,de=new Map;for(let Ee of c){let Oe=Ee.file;de.has(Oe)||de.set(Oe,{issues:[],errorCount:0,warningCount:0,infoCount:0,hintCount:0,fixableCount:0,categories:new Map});let Y=de.get(Oe);switch(Y.issues.push(Ee),Ee.severity){case"error":Y.errorCount++;break;case"warning":Y.warningCount++;break;case"info":Y.infoCount++;break;case"hint":Y.hintCount++;break}if(ie(Ee)&&Y.fixableCount++,Ee.category){let ut=Y.categories.get(Ee.category)||0;Y.categories.set(Ee.category,ut+1)}}let be=[];for(let[Ee,Oe]of de){let Y=Oe.errorCount*g+Oe.warningCount*S+Oe.infoCount*w+Oe.hintCount*z,ut=Math.max(0,Math.min(100,Math.round(100-Y))),Ye={file:Ee,score:ut,issueCount:Oe.issues.length,errorCount:Oe.errorCount,warningCount:Oe.warningCount,infoCount:Oe.infoCount,hintCount:Oe.hintCount};Oe.fixableCount>0&&(Ye.fixableCount=Oe.fixableCount),Oe.categories.size>0&&(Ye.categories=Object.fromEntries(Oe.categories)),be.push(Ye)}return be.sort((Ee,Oe)=>Ee.score-Oe.score),be}};yoe.BaseLens=Ike});var Fk=jt(cE=>{"use strict";var kur=cE&&cE.__createBinding||(Object.create?(function(_,c,p,g){g===void 0&&(g=p);var S=Object.getOwnPropertyDescriptor(c,p);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[p]}}),Object.defineProperty(_,g,S)}):(function(_,c,p,g){g===void 0&&(g=p),_[g]=c[p]})),Iur=cE&&cE.__setModuleDefault||(Object.create?(function(_,c){Object.defineProperty(_,"default",{enumerable:!0,value:c})}):function(_,c){_.default=c}),wur=cE&&cE.__importStar||(function(){var _=function(c){return _=Object.getOwnPropertyNames||function(p){var g=[];for(var S in p)Object.prototype.hasOwnProperty.call(p,S)&&(g[g.length]=S);return g},_(c)};return function(c){if(c&&c.__esModule)return c;var p={};if(c!=null)for(var g=_(c),S=0;S<g.length;S++)g[S]!=="default"&&kur(p,c,g[S]);return Iur(p,c),p}})();Object.defineProperty(cE,"__esModule",{value:!0});cE.PathMapper=void 0;cE.createPathMapper=Pur;var R0=wur(require("path")),voe=class _{basePath;constructor(c){this.basePath=c||process.cwd(),this.basePath=R0.resolve(this.basePath)}toRelative(c){if(!c)return"";if(!R0.isAbsolute(c))return this.normalizePath(c);let p=R0.resolve(c),g=R0.relative(this.basePath,p);return this.normalizePath(g)}toAbsolute(c){return c?R0.isAbsolute(c)?R0.resolve(c):R0.resolve(this.basePath,c):this.basePath}normalizePath(c){return c?c.split(R0.sep).join("/"):""}isWithinBase(c){return(R0.isAbsolute(c)?R0.resolve(c):R0.resolve(this.basePath,c)).startsWith(this.basePath)}getBasePath(){return this.basePath}setBasePath(c){this.basePath=R0.resolve(c)}getFileName(c){return R0.basename(c)}getDirectory(c){return this.normalizePath(R0.dirname(c))}getExtension(c){return R0.extname(c)}join(...c){return this.normalizePath(R0.join(...c))}mapToRelative(c){return c.map(p=>this.toRelative(p))}mapToAbsolute(c){return c.map(p=>this.toAbsolute(p))}createSubMapper(c){let p=R0.resolve(this.basePath,c);return new _(p)}};cE.PathMapper=voe;function Pur(_){return new voe(_)}});var C_t=jt(Doe=>{"use strict";Object.defineProperty(Doe,"__esModule",{value:!0});Doe.ESLintLens=void 0;var Nur=Ak(),Our=Fk(),wke=class _ extends Nur.BaseLens{name="eslint";description="JavaScript/TypeScript linter";languages=["javascript","typescript"];supportedTools=["eslint"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let p=c.metrics;if(!p)return 100;let g=Math.max(p.filesAnalyzed,1),{error:S,warning:w,info:z}=p.issuesBySeverity,ie=S/g*10,de=w/g*2,be=z/g*.5,Ee=ie+de+be,Oe=Math.max(0,Math.min(100,100-Ee));return Math.round(Oe*100)/100}parse(c){if(c.stderr&&!c.stdout)throw new Error(`ESLint execution error: ${c.stderr}`);if(!c.stdout)return[];try{let p=c.stdout,g=p.search(/^\s*[{[]/m);g>0&&(this.debug("Stripping npm script preamble from output"),p=p.substring(g));let S=JSON.parse(p);return Array.isArray(S)?S:(this.debug("ESLint output is not an array, wrapping it"),[S])}catch(p){if(this.debug("Failed to parse ESLint output as JSON:",p),c.stderr)throw new Error(`ESLint execution error: ${c.stderr}`);return[]}}format(c){let p=[],g=[],S=this.getPathMapper();for(let ut of c){let Ye=S.toRelative(ut.filePath);g.push({path:Ye,hasIssues:ut.messages.length>0});for(let We of ut.messages)p.push({file:Ye,line:We.line||1,column:We.column||1,endLine:We.endLine,endColumn:We.endColumn,severity:this.mapESLintSeverity(We.severity),message:We.message,rule:We.ruleId||void 0,source:this.name,category:this.categorizeRule(We.ruleId),fix:We.fix?{text:We.fix.text,range:{start:{line:We.line,column:We.column},end:{line:We.endLine||We.line,column:We.endColumn||We.column}}}:void 0})}let w=c.length,z=c.filter(ut=>ut.messages.length>0).length,ie=c.reduce((ut,Ye)=>ut+Ye.errorCount,0),de=c.reduce((ut,Ye)=>ut+Ye.warningCount,0),be=c.reduce((ut,Ye)=>ut+Ye.fixableErrorCount,0),Ee=c.reduce((ut,Ye)=>ut+Ye.fixableWarningCount,0),Oe=this.buildFileMetrics(p),Y={lensName:this.name,tool:this.config?.tool.name||"eslint",timestamp:Date.now(),success:!0,issues:p,analyzedFiles:g,fileMetrics:Oe,metrics:{filesAnalyzed:w,totalIssues:p.length,issuesBySeverity:{error:ie,warning:de,info:0,hint:0},executionTime:0,custom:{filesWithIssues:z,fixableErrors:be,fixableWarnings:Ee,totalFixable:be+Ee}}};return Y.qualityScore=_.calculateQualityScore(Y),Y}mapESLintSeverity(c){switch(c){case 2:return"error";case 1:return"warning";case 0:default:return"info"}}categorizeRule(c){return c?c.startsWith("@typescript-eslint/")?"typescript":c.startsWith("react/")||c.startsWith("react-hooks/")?"react":c.startsWith("import/")?"imports":c.startsWith("node/")||c.startsWith("n/")?"node":c.includes("security")||c==="no-eval"||c==="no-implied-eval"?"security":c.includes("indent")||c.includes("space")||c.includes("quote")||c.includes("semi")||c.includes("comma")||c.includes("brace")?"style":c.includes("no-unused")||c.includes("no-undef")||c.includes("no-console")||c.includes("prefer-")?"best-practices":"general":"general"}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Our.PathMapper(c)}return this.pathMapper}async execute(){return this.config?.tool&&((this.config.tool.args||[]).some(g=>g.includes("--format")||g.includes("-f"))||this.addArgsToNpmScript(["--format","json"])),super.execute()}};Doe.ESLintLens=wke});var S_t=jt(boe=>{"use strict";Object.defineProperty(boe,"__esModule",{value:!0});boe.JestLens=void 0;var Lur=Ak(),Rur=Fk(),Pke=class _ extends Lur.BaseLens{name="jest";description="JavaScript test runner and coverage";languages=["javascript","typescript"];supportedTools=["jest"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let p=c.metrics;if(!p?.custom)return 100;let g=p.custom,S=g.totalTests||0,w=g.passedTests||0,z=g.skippedTests||0;if(S===0)return 0;let de=w/S*100,be=z/S*50;if(de-=be,c.coverage?.line!==void 0){let Ee=c.coverage.line;Ee>80?de+=10:Ee>60&&(de+=5)}return de=Math.max(0,Math.min(100,de)),Math.round(de*100)/100}parse(c){if(!c.stdout&&c.stderr&&!c.stderr.includes("FAIL")&&!c.stderr.includes("Test Suites:"))throw new Error(`Jest execution error: ${c.stderr}`);let p;if(c.stdout){let g=c.stdout.indexOf("{"),S=c.stdout.lastIndexOf("}");g!==-1&&S!==-1&&S>g?p=c.stdout.substring(g,S+1):p=c.stdout}if(!p)return this.debug("No JSON output found in stdout"),this.getEmptyResults();try{let g=JSON.parse(p);return this.normalizeResults(g)}catch(g){if(this.debug("Failed to parse Jest output as JSON:",g),this.debug("Attempted to parse:",p?.substring(0,200)),c.stderr)try{let S=c.stderr.indexOf("{"),w=c.stderr.lastIndexOf("}");if(S!==-1&&w!==-1&&w>S){let z=c.stderr.substring(S,w+1),ie=JSON.parse(z);return this.normalizeResults(ie)}}catch{}return this.debug("Returning empty results due to parse failure"),this.getEmptyResults()}}format(c){let p=[],g=this.getPathMapper();for(let We of c.testResults){let Ut=g.toRelative(We.testFilePath||We.name);We.failureMessage&&p.push({file:Ut,line:1,column:1,severity:"error",message:this.extractErrorMessage(We.failureMessage),rule:"test-failure",source:this.name,category:"test-suite"});for(let _r of We.assertionResults)if(_r.status==="failed"){let Hr=_r.location?.line||1,On=_r.location?.column||1,Hi=_r.failureMessages.join(`
787
+ `)||"Test failed";p.push({file:Ut,line:Hr,column:On,severity:"error",message:this.formatTestFailureMessage(_r.fullName,Hi),rule:"test-failed",source:this.name,category:"test-case"})}}if(c.coverageMap){let We=this.processCoverageData(c.coverageMap,g);p.push(...We)}let S=c.numTotalTests||0,w=c.numPassedTests||0,z=c.numFailedTests||0,ie=c.numPendingTests+c.numTodoTests,de=c.numTotalTestSuites||0,be=c.numPassedTestSuites||0,Ee=c.numFailedTestSuites||0,Oe=S>0?w/S*100:0,Y=c.testResults.reduce((We,Ut)=>We+(Ut.perfStats?.runtime||0),0),ut=c.testResults.flatMap(We=>We.assertionResults.map(Ut=>({name:Ut.fullName,duration:Ut.duration||0,file:g.toRelative(We.testFilePath||We.name)}))).filter(We=>We.duration>0).sort((We,Ut)=>Ut.duration-We.duration).slice(0,5),Ye={lensName:this.name,tool:this.config?.tool.name||"jest",timestamp:Date.now(),success:c.success===!0,issues:p,metrics:{filesAnalyzed:de,totalIssues:p.length,issuesBySeverity:{error:p.filter(We=>We.severity==="error").length,warning:p.filter(We=>We.severity==="warning").length,info:p.filter(We=>We.severity==="info").length,hint:0},executionTime:Y,custom:{totalTests:S,passedTests:w,failedTests:z,skippedTests:ie,testSuites:de,passedSuites:be,failedSuites:Ee,passRate:Math.round(Oe*100)/100,duration:Y,slowestTests:ut,snapshot:{total:c.snapshot?.total||0,matched:c.snapshot?.matched||0,unmatched:c.snapshot?.unmatched||0,updated:c.snapshot?.updated||0}}}};return c.coverageMap&&(Ye.coverage=this.buildCoverageData(c.coverageMap,g)),Ye.qualityScore=_.calculateQualityScore(Ye),Ye}buildCoverageData(c,p){let g=[],S=0,w=0,z=0,ie=0,de=0,be=0;for(let[Ee,Oe]of Object.entries(c))if(typeof Oe=="object"&&Oe!==null){let Y=Oe,ut=p.toRelative(Y.path||Ee),Ye=Object.values(Y.s||{}),We=Ye.length,Ut=Ye.filter(xn=>xn>0).length,_r=Object.values(Y.b||{}).flat(),Hr=_r.length,On=_r.filter(xn=>xn>0).length,Hi=Object.values(Y.f||{}),us=Hi.length,Hn=Hi.filter(xn=>xn>0).length,an=We>0?Ut/We*100:100,hc=Hr>0?On/Hr*100:void 0,ma=us>0?Hn/us*100:void 0,ic=this.getUncoveredLines(Y);g.push({file:ut,lines:Math.round(an*100)/100,branches:hc!==void 0?Math.round(hc*100)/100:void 0,functions:ma!==void 0?Math.round(ma*100)/100:void 0,statements:Math.round(an*100)/100,uncoveredLines:ic}),S+=We,w+=Ut,z+=Hr,ie+=On,de+=us,be+=Hn}return{line:S>0?Math.round(w/S*1e4)/100:100,branch:z>0?Math.round(ie/z*1e4)/100:void 0,function:de>0?Math.round(be/de*1e4)/100:void 0,statement:S>0?Math.round(w/S*1e4)/100:void 0,files:g}}getUncoveredLines(c){let p=[],g=c.statementMap||{},S=c.s||{};for(let[w,z]of Object.entries(S))if(z===0){let ie=g[w];ie?.start?.line&&p.push(ie.start.line)}return[...new Set(p)].sort((w,z)=>w-z)}processCoverageData(c,p){let g=[];for(let[S,w]of Object.entries(c))if(typeof w=="object"&&w!==null){let z=w,ie=p.toRelative(z.path||S),de=Object.values(z.s||{}),be=de.filter(Ee=>Ee===0).length;if(be>0){let Ee=de.length,Oe=(Ee-be)/Ee*100;Oe<80&&g.push({file:ie,line:1,column:1,severity:Oe<50?"warning":"info",message:`Low test coverage: ${Math.round(Oe)}% of statements covered`,rule:"low-coverage",source:this.name,category:"coverage"})}}return g}extractErrorMessage(c){let g=c.replace(/\u001b\[[0-9;]*m/g,"").split(`
788
+ `)[0];return g.length>200?g.substring(0,197)+"...":g}formatTestFailureMessage(c,p){let S=p.replace(/\u001b\[[0-9;]*m/g,"").split(`
789
+ `)[0].substring(0,150);return`Test "${c}" failed: ${S}`}getEmptyResults(){return{numFailedTestSuites:0,numFailedTests:0,numPassedTestSuites:0,numPassedTests:0,numPendingTestSuites:0,numPendingTests:0,numRuntimeErrorTestSuites:0,numTodoTests:0,numTotalTestSuites:0,numTotalTests:0,openHandles:[],snapshot:{added:0,didUpdate:!1,failure:!1,filesAdded:0,filesRemoved:0,filesRemovedList:[],filesUnmatched:0,filesUpdated:0,matched:0,total:0,unchecked:0,uncheckedKeysByFile:[],unmatched:0,updated:0},startTime:Date.now(),success:!0,testResults:[],wasInterrupted:!1}}normalizeResults(c){let p=this.getEmptyResults(),g=c;return{...p,...g,testResults:(g.testResults||[]).map(S=>({...S,assertionResults:S.assertionResults||[],perfStats:S.perfStats||{}}))}}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Rur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[];c.some(g=>g==="--json")||this.addArgsToNpmScript(["--json"]),c.some(g=>g.includes("--no-colors")||g.includes("--colors=false"))||this.addArgsToNpmScript(["--no-colors"])}return super.execute()}};boe.JestLens=Pke});var E_t=jt(Coe=>{"use strict";Object.defineProperty(Coe,"__esModule",{value:!0});Coe.KnipLens=void 0;var Mur=Ak(),Bur=Fk(),Nke=class _ extends Mur.BaseLens{name="knip";description="Find unused files, exports, and dependencies";languages=["javascript","typescript"];supportedTools=["knip"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let p=c.metrics;if(!p?.custom)return 100;let g=p.custom,S=(g.unlistedDependencies||0)*15,w=(g.unresolvedImports||0)*10,z=(g.unusedFiles||0)*5,ie=(g.unusedDependencies||0)*2,de=(g.unusedDevDependencies||0)*1,be=(g.unusedExports||0)*1,Ee=(g.unusedTypes||0)*.5,Oe=S+w+z+ie+de+be+Ee,Y=Math.max(0,Math.min(100,100-Oe));return Math.round(Y*100)/100}parse(c){let p=c.stderr||c.stdout;if(!p)return this.getEmptyOutput();try{let g=JSON.parse(p);return this.normalizeOutput(g)}catch(g){this.debug("Failed to parse Knip output as JSON, trying to extract from npm wrapper:",g);let S=p.split(`
790
+ `);for(let w of S){let z=w.trim();if(z.startsWith("{"))try{let ie=JSON.parse(z);return this.debug("Successfully extracted JSON from npm wrapper output"),this.normalizeOutput(ie)}catch{this.debug("Line started with { but was not valid JSON:",z.substring(0,50));continue}}if(c.stderr&&!c.stderr.trim().startsWith("{"))throw new Error(`Knip execution error: ${c.stderr}`);return this.debug("No valid JSON found in output, returning empty results"),this.getEmptyOutput()}}format(c){let p=[],g=this.getPathMapper();for(let[be,Ee]of Object.entries(c.files||{})){let Oe=g.toRelative(be);p.push({file:Oe,line:1,column:1,severity:"warning",message:`Unused file: ${Ee.join(", ")||"file not referenced"}`,rule:"unused-file",source:this.name,category:"files"})}for(let[be,Ee]of c.dependencies||[])p.push({file:g.toRelative(be+"/package.json"),line:1,column:1,severity:"warning",message:`Unused dependency: ${Ee}`,rule:"unused-dependency",source:this.name,category:"dependencies"});for(let[be,Ee]of c.devDependencies||[])p.push({file:g.toRelative(be+"/package.json"),line:1,column:1,severity:"info",message:`Unused devDependency: ${Ee}`,rule:"unused-devDependency",source:this.name,category:"dependencies"});for(let[be,Ee]of Object.entries(c.unlisted||{})){let Oe=g.toRelative(be);for(let Y of Ee)p.push({file:Oe,line:1,column:1,severity:"error",message:`Unlisted dependency: ${Y}`,rule:"unlisted-dependency",source:this.name,category:"dependencies"})}for(let[be,Ee]of Object.entries(c.unresolved||{})){let Oe=g.toRelative(be);for(let Y of Ee)p.push({file:Oe,line:1,column:1,severity:"error",message:`Unresolved import: ${Y}`,rule:"unresolved-import",source:this.name,category:"imports"})}for(let[be,Ee]of Object.entries(c.exports||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);p.push({file:Oe,line:ut||1,column:Ye||1,severity:"warning",message:`Unused export: ${We}`,rule:"unused-export",source:this.name,category:"exports"})}}for(let[be,Ee]of Object.entries(c.nsExports||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);p.push({file:Oe,line:ut||1,column:Ye||1,severity:"warning",message:`Unused namespace export: ${We}`,rule:"unused-ns-export",source:this.name,category:"exports"})}}for(let[be,Ee]of Object.entries(c.types||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);p.push({file:Oe,line:ut||1,column:Ye||1,severity:"info",message:`Unused type: ${We}`,rule:"unused-type",source:this.name,category:"types"})}}for(let[be,Ee]of Object.entries(c.classMembers||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);p.push({file:Oe,line:ut||1,column:Ye||1,severity:"info",message:`Unused class member: ${We}`,rule:"unused-class-member",source:this.name,category:"class-members"})}}for(let[be,Ee]of Object.entries(c.enumMembers||{})){let Oe=g.toRelative(be);for(let Y of Ee){let{line:ut,col:Ye,name:We}=this.parseExportInfo(Y);p.push({file:Oe,line:ut||1,column:Ye||1,severity:"info",message:`Unused enum member: ${We}`,rule:"unused-enum-member",source:this.name,category:"enum-members"})}}for(let[be,Ee]of Object.entries(c.duplicates||{})){let Oe=g.toRelative(be);for(let[Y,ut]of Ee)p.push({file:Oe,line:1,column:1,severity:"warning",message:`Duplicate export: ${ut} (original: ${Y})`,rule:"duplicate-export",source:this.name,category:"duplicates"})}let S=new Set([...Object.keys(c.files||{}),...Object.keys(c.exports||{}),...Object.keys(c.types||{}),...Object.keys(c.classMembers||{})]).size,w={error:p.filter(be=>be.severity==="error").length,warning:p.filter(be=>be.severity==="warning").length,info:p.filter(be=>be.severity==="info").length,hint:p.filter(be=>be.severity==="hint").length},z={};for(let be of p){let Ee=be.category||"uncategorized";z[Ee]=(z[Ee]||0)+1}let ie=this.buildFileMetrics(p),de={lensName:this.name,tool:this.config?.tool.name||"knip",timestamp:Date.now(),success:!0,issues:p,fileMetrics:ie,metrics:{filesAnalyzed:S,totalIssues:p.length,issuesBySeverity:w,executionTime:0,custom:{unusedFiles:Object.keys(c.files||{}).length,unusedDependencies:(c.dependencies||[]).length,unusedDevDependencies:(c.devDependencies||[]).length,unlistedDependencies:Object.values(c.unlisted||{}).flat().length,unresolvedImports:Object.values(c.unresolved||{}).flat().length,unusedExports:Object.values(c.exports||{}).flat().length,unusedTypes:Object.values(c.types||{}).flat().length,issuesByCategory:z}}};return de.qualityScore=_.calculateQualityScore(de),de}parseExportInfo(c){let p=c.match(/^(.+?)\s*\((\d+):(\d+)\)$/);return p?{name:p[1].trim(),line:parseInt(p[2],10),col:parseInt(p[3],10)}:{name:c}}getEmptyOutput(){return{files:{},dependencies:[],devDependencies:[],optionalPeerDependencies:[],unlisted:{},binaries:{},unresolved:{},exports:{},nsExports:{},classMembers:{},types:{},nsTypes:{},enumMembers:{},duplicates:{}}}isV5Format(c){let p=Array.isArray(c.files),g=Array.isArray(c.issues);return p||g}convertV5ToV4(c){let p=this.getEmptyOutput();if(c.files&&Array.isArray(c.files))for(let g of c.files)p.files[g]=[];if(c.issues&&Array.isArray(c.issues))for(let g of c.issues){let{file:S}=g;if(g.dependencies&&Array.isArray(g.dependencies))for(let w of g.dependencies)p.dependencies.push(["",w]);if(g.devDependencies&&Array.isArray(g.devDependencies))for(let w of g.devDependencies)p.devDependencies.push(["",w]);if(g.optionalPeerDependencies&&Array.isArray(g.optionalPeerDependencies))for(let w of g.optionalPeerDependencies)p.optionalPeerDependencies.push(["",w]);if(g.unlisted&&Array.isArray(g.unlisted)&&(p.unlisted[S]||(p.unlisted[S]=[]),p.unlisted[S].push(...g.unlisted)),g.binaries&&Array.isArray(g.binaries)&&(p.binaries[S]||(p.binaries[S]=[]),p.binaries[S].push(...g.binaries)),g.unresolved&&Array.isArray(g.unresolved)&&(p.unresolved[S]||(p.unresolved[S]=[]),p.unresolved[S].push(...g.unresolved)),g.exports&&Array.isArray(g.exports)){p.exports[S]||(p.exports[S]=[]);for(let w of g.exports)p.exports[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.nsExports&&Array.isArray(g.nsExports)){p.nsExports[S]||(p.nsExports[S]=[]);for(let w of g.nsExports)p.nsExports[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.types&&Array.isArray(g.types)){p.types[S]||(p.types[S]=[]);for(let w of g.types)p.types[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.nsTypes&&Array.isArray(g.nsTypes)){p.nsTypes[S]||(p.nsTypes[S]=[]);for(let w of g.nsTypes)p.nsTypes[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.classMembers&&Array.isArray(g.classMembers)){p.classMembers[S]||(p.classMembers[S]=[]);for(let w of g.classMembers)p.classMembers[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.enumMembers&&Array.isArray(g.enumMembers)){p.enumMembers[S]||(p.enumMembers[S]=[]);for(let w of g.enumMembers)p.enumMembers[S].push(`${w.name} (${w.line}:${w.col})`)}if(g.duplicates&&Array.isArray(g.duplicates)){p.duplicates[S]||(p.duplicates[S]=[]);for(let w of g.duplicates)p.duplicates[S].push([w.name,w.name])}}return p}normalizeOutput(c){return this.isV5Format(c)?(this.debug("Detected Knip v5+ format, converting to v4 format"),this.convertV5ToV4(c)):{...this.getEmptyOutput(),...c}}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Bur.PathMapper(c)}return this.pathMapper}async execute(){return this.config?.tool&&((this.config.tool.args||[]).some(g=>g.includes("--reporter")||g==="-r")||this.addArgsToNpmScript(["--reporter","json"])),super.execute()}};Coe.KnipLens=Nke});var x_t=jt(Soe=>{"use strict";Object.defineProperty(Soe,"__esModule",{value:!0});Soe.PrettierLens=void 0;var jur=Ak(),Jur=Fk(),Oke=class _ extends jur.BaseLens{name="prettier";description="Code formatter";languages=["javascript","typescript","json","css","html","markdown"];supportedTools=["prettier"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let p=c.metrics;if(!p)return 100;let g=Math.max(p.filesAnalyzed,1),S=p.issuesBySeverity.error;if(S===0)return 100;let w=Math.max(0,100-S/g*100);return Math.round(w*100)/100}parse(c){let p=[],g=0,S=c.stderr||c.stdout||"";if(!S)return{filesNeedingFormatting:p,filesChecked:g};let w=S.split(`
791
+ `).map(be=>be.trim()).filter(Boolean);for(let be of w){if(be.startsWith("Checking formatting...")||be.startsWith("All matched files")||be.startsWith("Code style issues found")||be.startsWith("Code style issues")||be.includes("prettier --write")||be.startsWith(">")||be.startsWith("$")||be.match(/^(npm|yarn|pnpm|bun)\s+/)||be==="")continue;let Ee=be.replace(/^\[warn\]\s*/,"");Ee&&!Ee.match(/^\d+.*files?.*checked/i)&&!Ee.match(/Code style issues/)&&p.push(Ee)}let z=S.match(/Code style issues found in (\d+) file/i);if(z){let be=parseInt(z[1],10);be===p.length&&(g=be)}let de=(c.stderr||"").match(/Checked (\d+) files/i)||S.match(/Checked (\d+) files/i);return de&&(g=parseInt(de[1],10)),{filesNeedingFormatting:p,filesChecked:g}}format(c){let p=[],g=[],S=this.getPathMapper();for(let de of c.filesNeedingFormatting){let be=S.toRelative(de);g.push({path:be,hasIssues:!0}),p.push({file:be,line:1,column:1,severity:"error",message:"File is not formatted according to Prettier rules",rule:"prettier",source:this.name,category:"formatting"})}let w=c.filesChecked||c.filesNeedingFormatting.length,z=this.buildFileMetrics(p),ie={lensName:this.name,tool:this.config?.tool.name||"prettier",timestamp:Date.now(),success:!0,issues:p,analyzedFiles:g,fileMetrics:z,metrics:{filesAnalyzed:w,totalIssues:p.length,issuesBySeverity:{error:p.length,warning:0,info:0,hint:0},executionTime:0,custom:{filesNeedingFormatting:c.filesNeedingFormatting.length,formattingCompliance:w>0?Math.round((1-c.filesNeedingFormatting.length/w)*100*100)/100:100}}};return ie.qualityScore=_.calculateQualityScore(ie),ie}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Jur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[];c.some(S=>S==="--check"||S==="-c")||this.addArgsToNpmScript(["--check"]),c.some(S=>S==="--no-error-on-unmatched-pattern")||this.addArgsToNpmScript(["--no-error-on-unmatched-pattern"])}return super.execute()}};Soe.PrettierLens=Oke});var T_t=jt(Eoe=>{"use strict";Object.defineProperty(Eoe,"__esModule",{value:!0});Eoe.TypeScriptLens=void 0;var qur=Ak(),zur=Fk(),F2;(function(_){_[_.Warning=0]="Warning",_[_.Error=1]="Error",_[_.Suggestion=2]="Suggestion",_[_.Message=3]="Message"})(F2||(F2={}));var Lke=class _ extends qur.BaseLens{name="typescript";description="TypeScript type checking";languages=["typescript","javascript"];supportedTools=["tsc","typescript"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let p=c.metrics;if(!p)return 100;let g=Math.max(p.custom?.filesWithErrors||p.filesAnalyzed,1),{error:S,warning:w,info:z}=p.issuesBySeverity;if(S===0&&w===0&&z===0)return 100;let ie=S/g*8,de=w/g*2,be=z/g*.5,Ee=ie+de+be,Oe=Math.max(0,Math.min(100,100-Ee));return Math.round(Oe*100)/100}parse(c){let p=[],g=0;c.stdout&&(g=c.stdout.split(`
792
+ `).filter(be=>be.trim().length>0).length);let S=c.stderr||"";if(!S)return{errors:p,filesAnalyzed:g};let w=/^(.+?)\((\d+),(\d+)\):\s+(error|warning)\s+(TS\d+):\s+(.+)$/gm,z;for(;(z=w.exec(S))!==null;){let[,de,be,Ee,Oe,Y,ut]=z;p.push({file:de,line:parseInt(be,10),column:parseInt(Ee,10),code:Y,message:ut,category:Oe==="error"?F2.Error:F2.Warning})}let ie=/^([^:]+):(\d+):(\d+)\s+-\s+(error|warning)\s+(TS\d+):\s+(.+)$/gm;for(;(z=ie.exec(S))!==null;){let[,de,be,Ee,Oe,Y,ut]=z;p.some(We=>We.file===de&&We.line===parseInt(be,10)&&We.column===parseInt(Ee,10)&&We.code===Y)||p.push({file:de,line:parseInt(be,10),column:parseInt(Ee,10),code:Y,message:ut,category:Oe==="error"?F2.Error:F2.Warning})}return{errors:p,filesAnalyzed:g}}format(c){let p=[],g=this.getPathMapper();for(let Y of c.errors){let ut=g.toRelative(Y.file);p.push({file:ut,line:Y.line,column:Y.column,severity:this.mapTSSeverity(Y.category),message:Y.message,rule:Y.code,source:this.name,category:this.categorizeError(Y.code)})}let S=new Set(c.errors.map(Y=>Y.file)).size,w=c.errors.filter(Y=>Y.category===F2.Error).length,z=c.errors.filter(Y=>Y.category===F2.Warning).length,ie=c.errors.filter(Y=>Y.category===F2.Suggestion).length,de={};for(let Y of c.errors)de[Y.code]=(de[Y.code]||0)+1;let be=Object.entries(de).sort((Y,ut)=>ut[1]-Y[1]).slice(0,5),Ee=this.buildFileMetrics(p),Oe={lensName:this.name,tool:this.config?.tool.name||"tsc",timestamp:Date.now(),success:!0,issues:p,fileMetrics:Ee,metrics:{filesAnalyzed:c.filesAnalyzed,totalIssues:p.length,issuesBySeverity:{error:w,warning:z,info:ie,hint:0},executionTime:0,custom:{filesWithErrors:S,totalErrors:w,totalWarnings:z,totalSuggestions:ie,uniqueErrorCodes:Object.keys(de).length,topErrors:be.map(([Y,ut])=>({code:Y,count:ut}))}}};return Oe.qualityScore=_.calculateQualityScore(Oe),Oe}mapTSSeverity(c){switch(c){case F2.Error:return"error";case F2.Warning:return"warning";case F2.Suggestion:return"info";case F2.Message:default:return"info"}}categorizeError(c){switch(c){case"TS2307":case"TS2304":case"TS2552":return"resolution";case"TS2322":case"TS2345":case"TS2769":return"type-mismatch";case"TS2339":case"TS2551":return"property-access";case"TS7006":case"TS7031":return"implicit-any"}let p=parseInt(c.replace("TS",""),10);return p>=1e3&&p<2e3?"syntax":p>=2e3&&p<3e3?"semantic":p>=3e3&&p<4e3?"declaration":p>=4e3&&p<5e3?"signature":p>=5e3&&p<6e3?"jsx":p>=6e3&&p<7e3?"messages":p>=7e3&&p<8e3?"noImplicitAny":p>=8e3&&p<9e3?"decorators":p>=17e3&&p<18e3?"jsx-attributes":p>=18e3&&p<19e3?"async":"general"}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new zur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[];!c.some(g=>g==="--noEmit")&&!c.some(g=>g==="--build"||g==="-b")&&this.addArgsToNpmScript(["--noEmit"]),c.some(g=>g.includes("--pretty"))||this.addArgsToNpmScript(["--pretty","false"]),c.some(g=>g==="--listFiles")||this.addArgsToNpmScript(["--listFiles"])}return super.execute()}};Eoe.TypeScriptLens=Lke});var A_t=jt(xoe=>{"use strict";Object.defineProperty(xoe,"__esModule",{value:!0});xoe.GitLens=void 0;var Wur=Ak(),Uur=Fk(),Rke=class _ extends Wur.BaseLens{name="git";description="Version control insights from Git";languages=["*"];supportedTools=["git"];pathMapper;includeCommitDetails=!1;static calculateQualityScore(c){if(!c.success||c.error)return 0;let p=c.metrics;if(!p?.custom)return 100;let g=p.custom;if(!g.hasUncommittedChanges)return 100;let S=(g.modified||0)*2,w=(g.deleted||0)*2,z=(g.untracked||0)*1,ie=S+w+z,de=Math.max(0,Math.min(100,100-ie));return Math.round(de*100)/100}configure(c){super.configure(c),this.includeCommitDetails=c.includeCommitDetails??!1}async execute(){if(!this.config)throw new Error(`Lens ${this.name} is not configured`);if(!this.executor)throw new Error(`Lens ${this.name} has no executor`);let c=this.config.tool.cwd||this.config.cwd,p=this.config.tool.command||"git",g={},S=[];try{let w=await this.executor.execute(p,["rev-parse","--abbrev-ref","HEAD"],{cwd:c});w.error?(this.debug("Branch command error:",w.error),S.push("branch retrieval failed")):w.exitCode===0?g.branch=w.stdout.trim():(this.debug("Branch command failed with exit code:",w.exitCode),S.push("branch retrieval failed"))}catch(w){this.debug("Failed to get branch:",w),S.push("branch retrieval failed")}try{let w=await this.executor.execute(p,["rev-parse","HEAD"],{cwd:c});w.error?(this.debug("Commit command error:",w.error),S.push("commit retrieval failed")):w.exitCode===0?g.commit=w.stdout.trim():(this.debug("Commit command failed with exit code:",w.exitCode),S.push("commit retrieval failed"))}catch(w){this.debug("Failed to get commit:",w),S.push("commit retrieval failed")}try{let w=await this.executor.execute(p,["status","--porcelain"],{cwd:c});if(w.error)throw new Error(`Git command not found or failed to execute: ${w.error.message}`);if(w.exitCode===0)g.status=w.stdout;else throw new Error(`Git status failed with exit code ${w.exitCode}: ${w.stderr}`)}catch(w){throw this.debug("Failed to get status:",w),S.push("status retrieval failed"),new Error(`Git status failed: ${w}`)}if(this.includeCommitDetails&&g.commit)try{let w=await this.executor.execute(p,["log","-1",'--format="%H|%h|%an|%ae|%ad|%B"',"--date=iso"],{cwd:c});w.exitCode===0&&(g.commitDetails=w.stdout.trim());let z=await this.executor.execute(p,["show","--stat","--format=","HEAD"],{cwd:c});z.exitCode===0&&(g.commitStats=z.stdout.trim())}catch(w){this.debug("Failed to get commit details:",w)}return{stdout:JSON.stringify(g),stderr:S.join(`
793
+ `),exitCode:S.length>0?1:0,duration:0}}parse(c){let p;try{p=JSON.parse(c.stdout)}catch{p={status:c.stdout}}let g=this.parseStatus(p.status||""),S=[],w=[],z=[],ie=[],de=[];for(let Ee of g)Ee.status==="??"&&S.push(Ee.file),(Ee.unstagedStatus==="M"||Ee.stagedStatus==="M")&&w.push(Ee.file),Ee.stagedStatus!==" "&&Ee.stagedStatus!=="?"&&z.push(Ee.file),(Ee.stagedStatus==="D"||Ee.unstagedStatus==="D")&&ie.push(Ee.file),Ee.stagedStatus==="R"&&Ee.originalFile&&de.push({from:Ee.originalFile,to:Ee.file});let be;if(p.commitDetails){let Ee=p.commitDetails.split("|");if(Ee.length>=6){let Oe=Ee.slice(5).join("|");if(be={hash:Ee[0],shortHash:Ee[1],author:Ee[2],authorEmail:Ee[3],date:Ee[4],message:Oe},p.commitStats){let Y=p.commitStats.match(/(\d+)\s+file[s]?\s+changed(?:,\s+(\d+)\s+insertion)?(?:.*,\s+(\d+)\s+deletion)?/);Y&&(be.files=parseInt(Y[1],10),be.insertions=Y[2]?parseInt(Y[2],10):0,be.deletions=Y[3]?parseInt(Y[3],10):0)}}}return{branch:p.branch,commit:p.commit?.substring(0,8),commitDetails:be,status:g,untracked:S,modified:w,staged:z,deleted:ie,renamed:de}}parseStatus(c){let p=c.split(`
794
+ `).filter(S=>S.trim()),g=[];for(let S of p){if(S.length<3)continue;let w=S.substring(0,2),z=w[0]||" ",ie=w[1]||" ",de=S.substring(3),be=de,Ee;if(z==="R"&&de.includes(" -> ")){let Oe=de.split(" -> ");Ee=Oe[0],be=Oe[1]}g.push({status:w,stagedStatus:z,unstagedStatus:ie,file:be,originalFile:Ee})}return g}format(c){let p=[],g=this.getPathMapper();for(let ie of c.untracked)p.push({file:g.toRelative(ie),line:1,column:1,severity:"info",message:"Untracked file",source:this.name,category:"vcs"});for(let ie of c.modified)c.staged.includes(ie)||p.push({file:g.toRelative(ie),line:1,column:1,severity:"warning",message:"Modified file with unstaged changes",source:this.name,category:"vcs"});for(let ie of c.deleted)p.push({file:g.toRelative(ie),line:1,column:1,severity:"warning",message:"Deleted file",source:this.name,category:"vcs"});let S=c.status.length,w=S>0,z={lensName:this.name,tool:this.config?.tool.name||"git",timestamp:Date.now(),success:!0,issues:p,metrics:{filesAnalyzed:c.status.length,totalIssues:p.length,issuesBySeverity:{error:0,warning:c.modified.length+c.deleted.length,info:c.untracked.length,hint:0},executionTime:0,custom:{branch:c.branch||"unknown",commit:c.commit||"unknown",untracked:c.untracked.length,modified:c.modified.length,staged:c.staged.length,deleted:c.deleted.length,renamed:c.renamed.length,hasUncommittedChanges:w?1:0,totalChanges:S,...c.commitDetails&&{commitAuthor:c.commitDetails.author,commitDate:c.commitDetails.date,commitMessage:c.commitDetails.message,commitFiles:c.commitDetails.files||0,commitInsertions:c.commitDetails.insertions||0,commitDeletions:c.commitDetails.deletions||0}}}};return z.qualityScore=_.calculateQualityScore(z),z}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Uur.PathMapper(c)}return this.pathMapper}canHandle(c){return c.name==="git"&&c.available}};xoe.GitLens=Rke});var F_t=jt(Toe=>{"use strict";Object.defineProperty(Toe,"__esModule",{value:!0});Toe.AlexandriaLens=void 0;var Vur=Ak(),Gur=Fk(),Mke=class _ extends Vur.BaseLens{name="alexandria";description="Documentation quality and context management";languages=["markdown","documentation"];supportedTools=["alexandria"];pathMapper;static calculateQualityScore(c){if(!c.success||c.error)return 0;let p=c.metrics;if(!p)return 100;let{error:g,warning:S,info:w}=p.issuesBySeverity,z=g*10,ie=S*2,de=w*.5,be=0;p.custom?.viewsInvalid&&typeof p.custom.viewsInvalid=="number"&&(be=p.custom.viewsInvalid*5);let Ee=z+ie+de+be,Oe=Math.max(0,Math.min(100,100-Ee));return Math.round(Oe*100)/100}parse(c){if(c.stderr&&!c.stdout)throw new Error(`Alexandria execution error: ${c.stderr}`);if(!c.stdout)return{};try{let p=c.stdout,g=p.search(/^\s*[{[]/m);return g>0&&(this.debug("Stripping npm script preamble from output"),p=p.substring(g)),JSON.parse(p)}catch(p){if(this.debug("Failed to parse Alexandria output as JSON:",p),c.stderr)throw new Error(`Alexandria execution error: ${c.stderr}`);return{}}}format(c){let p=[],g=[],S=this.getPathMapper(),w=new Set;if(c.lintResults?.violations)for(let Y of c.lintResults.violations){let ut=S.toRelative(Y.file);w.add(ut),g.findIndex(We=>We.path===ut)===-1&&g.push({path:ut,hasIssues:!0}),p.push({file:ut,line:Y.line||1,column:void 0,severity:this.mapAlexandriaSeverity(Y.severity),message:Y.message,rule:Y.ruleId,source:this.name,category:Y.impact})}let z=w.size||1,ie=c.lintResults?.errorCount||0,de=c.lintResults?.warningCount||0,be=c.lintResults?.infoCount||0,Ee=this.buildFileMetrics(p),Oe={lensName:this.name,tool:this.config?.tool.name||"alexandria",timestamp:Date.now(),success:!0,issues:p,analyzedFiles:g,fileMetrics:Ee,metrics:{filesAnalyzed:z,totalIssues:p.length,issuesBySeverity:{error:ie,warning:de,info:be,hint:0},executionTime:0,custom:{fixableCount:c.lintResults?.fixableCount||0,viewsTotal:c.viewValidation?.totalViews||0,viewsValid:c.viewValidation?.validViews||0,viewsInvalid:c.viewValidation?.invalidViews||0,viewIssues:c.viewValidation?.totalIssues||0}}};return Oe.qualityScore=_.calculateQualityScore(Oe),Oe}mapAlexandriaSeverity(c){switch(c){case"error":return"error";case"warning":return"warning";case"info":return"info";default:return"info"}}getPathMapper(){if(!this.pathMapper){let c=this.config?.cwd||process.cwd();this.pathMapper=new Gur.PathMapper(c)}return this.pathMapper}async execute(){if(this.config?.tool){let c=this.config.tool.args||[],p=c.includes("--json"),g=c.includes("--errors-only"),S=[];p||S.push("--json"),g||S.push("--errors-only"),S.length>0&&this.addArgsToNpmScript(S)}try{return await super.execute()}catch(c){let p=c instanceof Error?c.message:String(c);if(p.includes("command not found")||p.includes("ENOENT")||p.includes("not found"))return{stdout:"",stderr:"Alexandria CLI not installed",exitCode:-1,duration:0,error:new Error("Alexandria CLI not installed. Install with: npm install -g @a24z/alexandria-cli")};throw c}}};Toe.AlexandriaLens=Mke});var k_t=jt(Aoe=>{"use strict";Object.defineProperty(Aoe,"__esModule",{value:!0});Aoe.NodeExecutor=void 0;var Bke=require("child_process"),jke=class{type="node";async execute(c,p=[],g={}){let S=Date.now();return new Promise(w=>{let{cwd:z=process.cwd(),env:ie=process.env,timeout:de=12e4,maxBuffer:be=10*1024*1024,encoding:Ee="utf8",shell:Oe=!1}=g,Y="",ut="",Ye=!1,We,Ut=(0,Bke.spawn)(c,p,{cwd:z,env:ie,shell:Oe});de>0&&(We=setTimeout(()=>{Ye=!0,Ut.kill("SIGTERM"),setTimeout(()=>{Ut.killed||Ut.kill("SIGKILL")},5e3)},de)),Ut.stdout?.on("data",_r=>{let Hr=_r.toString(Ee);Y.length+Hr.length<=be&&(Y+=Hr)}),Ut.stderr?.on("data",_r=>{let Hr=_r.toString(Ee);ut.length+Hr.length<=be&&(ut+=Hr)}),Ut.on("close",_r=>{We&&clearTimeout(We);let Hr=Date.now()-S;w({stdout:Y,stderr:ut,exitCode:_r??-1,duration:Hr,timedOut:Ye,command:c,args:p})}),Ut.on("error",_r=>{We&&clearTimeout(We);let Hr=Date.now()-S;w({stdout:Y,stderr:ut,exitCode:-1,duration:Hr,error:_r,command:c,args:p})})})}stream(c,p=[],g={}){let{cwd:S=process.cwd(),env:w=process.env,timeout:z=12e4,shell:ie=!1,onStdout:de,onStderr:be}=g,Ee=Date.now(),Oe=!1,Y,ut=(0,Bke.spawn)(c,p,{cwd:S,env:w,shell:ie});z>0&&(Y=setTimeout(()=>{Oe=!0,ut.kill("SIGTERM"),setTimeout(()=>{ut.killed||ut.kill("SIGKILL")},5e3)},z)),de&&ut.stdout&&ut.stdout.on("data",We=>{de(We.toString())}),be&&ut.stderr&&ut.stderr.on("data",We=>{be(We.toString())});let Ye=new Promise(We=>{let Ut="",_r="";ut.stdout?.on("data",Hr=>{Ut+=Hr.toString()}),ut.stderr?.on("data",Hr=>{_r+=Hr.toString()}),ut.on("close",Hr=>{Y&&clearTimeout(Y),We({stdout:Ut,stderr:_r,exitCode:Hr??-1,duration:Date.now()-Ee,timedOut:Oe,command:c,args:p})}),ut.on("error",Hr=>{Y&&clearTimeout(Y),We({stdout:Ut,stderr:_r,exitCode:-1,duration:Date.now()-Ee,error:Hr,command:c,args:p})})});return{stdout:ut.stdout,stderr:ut.stderr,exitPromise:Ye,kill:()=>{ut.kill()}}}async isAvailable(c){try{let p=process.platform==="win32"?"where":"which";return new Promise(g=>{(0,Bke.exec)(`${p} ${c}`,S=>{g(!S)})})}catch{return!1}}async kill(c){try{process.kill(Number(c),"SIGTERM"),await new Promise(p=>setTimeout(p,1e3));try{process.kill(Number(c),0),process.kill(Number(c),"SIGKILL")}catch{}}catch(p){if(p instanceof Error&&"code"in p&&p.code!=="ESRCH")throw p}}};Aoe.NodeExecutor=jke});var w_t=jt(Foe=>{"use strict";Object.defineProperty(Foe,"__esModule",{value:!0});Foe.MockExecutor=void 0;var I_t=require("stream"),Jke=class{type="mock";responses=new Map;sequentialResponses=new Map;callCounts=new Map;defaultResponse={stdout:"",stderr:"",exitCode:0,duration:10};setResponse(c,p){this.responses.set(c,p)}setMockResponse(c,p,g){if(g!==void 0){this.sequentialResponses.has(c)||this.sequentialResponses.set(c,[]);let S=this.sequentialResponses.get(c);for(;S.length<=g;)S.push(this.defaultResponse);S[g]=p}else this.setResponse(c,p)}setDefaultResponse(c){this.defaultResponse={...this.defaultResponse,...c}}clear(){this.responses.clear(),this.sequentialResponses.clear(),this.callCounts.clear()}async execute(c,p=[],g={}){await new Promise(w=>setTimeout(w,10));let S;if(this.sequentialResponses.has(c)){let w=this.callCounts.get(c)||0;S=this.sequentialResponses.get(c)[w]||this.defaultResponse,this.callCounts.set(c,w+1)}else S=this.responses.get(c)||this.defaultResponse;return S.error?{stdout:S.stdout||"",stderr:S.stderr||S.error.message,exitCode:S.exitCode??-1,duration:S.duration||10,error:S.error,command:c,args:p}:{stdout:S.stdout||"",stderr:S.stderr||"",exitCode:S.exitCode??0,duration:S.duration||10,command:c,args:p}}stream(c,p=[],g={}){let S=this.responses.get(c)||this.defaultResponse,w=new I_t.Readable({read(){this.push(S.stdout||""),this.push(null)}}),z=new I_t.Readable({read(){this.push(S.stderr||""),this.push(null)}});g.onStdout&&S.stdout&&setTimeout(()=>g.onStdout(S.stdout),10),g.onStderr&&S.stderr&&setTimeout(()=>g.onStderr(S.stderr),10);let ie=new Promise(de=>{setTimeout(()=>{de({stdout:S.stdout||"",stderr:S.stderr||"",exitCode:S.exitCode??0,duration:S.duration||10,command:c,args:p})},S.duration||10)});return{stdout:w,stderr:z,exitPromise:ie,kill:()=>{}}}async isAvailable(c){return!0}async kill(c){}setupCommonTools(){this.setResponse("eslint",{stdout:JSON.stringify([{filePath:"src/index.js",messages:[{ruleId:"no-unused-vars",severity:2,message:"'unused' is defined but never used.",line:10,column:7,nodeType:"Identifier"}],errorCount:1,warningCount:0}]),stderr:"",exitCode:1}),this.setResponse("tsc",{stdout:"",stderr:"src/index.ts(5,10): error TS2339: Property 'foo' does not exist on type 'Bar'.",exitCode:1}),this.setResponse("jest",{stdout:JSON.stringify({success:!1,numFailedTests:1,numPassedTests:5,numPendingTests:0,testResults:[{name:"src/utils.test.ts",status:"failed",message:"Expected value to be 5, received 4"}]}),stderr:"",exitCode:1}),this.setResponse("git",{stdout:`On branch main
795
795
  Changes not staged for commit:
796
796
  modified: src/index.ts
797
797
  modified: README.md
798
798
 
799
799
  Untracked files:
800
- test.js`,stderr:"",exitCode:0})}};Foe.MockExecutor=Jke});var P_t=jt($R=>{"use strict";Object.defineProperty($R,"__esModule",{value:!0});$R.MockExecutor=$R.NodeExecutor=void 0;var $ur=k_t();Object.defineProperty($R,"NodeExecutor",{enumerable:!0,get:function(){return $ur.NodeExecutor}});var Hur=w_t();Object.defineProperty($R,"MockExecutor",{enumerable:!0,get:function(){return Hur.MockExecutor}})});var L_t=jt(Xl=>{"use strict";var Kur=Xl&&Xl.__createBinding||(Object.create?(function(p,c,_,g){g===void 0&&(g=_);var S=Object.getOwnPropertyDescriptor(c,_);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[_]}}),Object.defineProperty(p,g,S)}):(function(p,c,_,g){g===void 0&&(g=_),p[g]=c[_]})),Qur=Xl&&Xl.__exportStar||function(p,c){for(var _ in p)_!=="default"&&!Object.prototype.hasOwnProperty.call(c,_)&&Kur(c,p,_)};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.createPathMapper=Xl.PathMapper=Xl.MockExecutor=Xl.NodeExecutor=Xl.AlexandriaLens=Xl.GitLens=Xl.TypeScriptLens=Xl.PrettierLens=Xl.KnipLens=Xl.JestLens=Xl.ESLintLens=Xl.BaseLens=Xl.VERSION=void 0;Xl.VERSION="0.1.18";Qur(b_t(),Xl);var Xur=Ak();Object.defineProperty(Xl,"BaseLens",{enumerable:!0,get:function(){return Xur.BaseLens}});var Yur=C_t();Object.defineProperty(Xl,"ESLintLens",{enumerable:!0,get:function(){return Yur.ESLintLens}});var Zur=S_t();Object.defineProperty(Xl,"JestLens",{enumerable:!0,get:function(){return Zur.JestLens}});var elr=E_t();Object.defineProperty(Xl,"KnipLens",{enumerable:!0,get:function(){return elr.KnipLens}});var tlr=x_t();Object.defineProperty(Xl,"PrettierLens",{enumerable:!0,get:function(){return tlr.PrettierLens}});var rlr=T_t();Object.defineProperty(Xl,"TypeScriptLens",{enumerable:!0,get:function(){return rlr.TypeScriptLens}});var nlr=A_t();Object.defineProperty(Xl,"GitLens",{enumerable:!0,get:function(){return nlr.GitLens}});var ilr=F_t();Object.defineProperty(Xl,"AlexandriaLens",{enumerable:!0,get:function(){return ilr.AlexandriaLens}});var N_t=P_t();Object.defineProperty(Xl,"NodeExecutor",{enumerable:!0,get:function(){return N_t.NodeExecutor}});Object.defineProperty(Xl,"MockExecutor",{enumerable:!0,get:function(){return N_t.MockExecutor}});var O_t=Fk();Object.defineProperty(Xl,"PathMapper",{enumerable:!0,get:function(){return O_t.PathMapper}});Object.defineProperty(Xl,"createPathMapper",{enumerable:!0,get:function(){return O_t.createPathMapper}})});var Mie=require("assert");var iBt={right:uBt,center:lBt},sBt=0,Iie=1,aBt=2,wie=3,JEe=class{constructor(c){var _;this.width=c.width,this.wrap=(_=c.wrap)!==null&&_!==void 0?_:!0,this.rows=[]}span(...c){let _=this.div(...c);_.span=!0}resetOutput(){this.rows=[]}div(...c){if(c.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...c)&&typeof c[0]=="string")return this.applyLayoutDSL(c[0]);let _=c.map(g=>typeof g=="string"?this.colFromString(g):g);return this.rows.push(_),_}shouldApplyLayoutDSL(...c){return c.length===1&&typeof c[0]=="string"&&/[\t\n]/.test(c[0])}applyLayoutDSL(c){let _=c.split(`
801
- `).map(S=>S.split(" ")),g=0;return _.forEach(S=>{S.length>1&&b2.stringWidth(S[0])>g&&(g=Math.min(Math.floor(this.width*.5),b2.stringWidth(S[0])))}),_.forEach(S=>{this.div(...S.map((w,z)=>({text:w.trim(),padding:this.measurePadding(w),width:z===0&&S.length>1?g:void 0})))}),this.rows[this.rows.length-1]}colFromString(c){return{text:c,padding:this.measurePadding(c)}}measurePadding(c){let _=b2.stripAnsi(c);return[0,_.match(/\s*$/)[0].length,0,_.match(/^\s*/)[0].length]}toString(){let c=[];return this.rows.forEach(_=>{this.rowToString(_,c)}),c.filter(_=>!_.hidden).map(_=>_.text).join(`
802
- `)}rowToString(c,_){return this.rasterize(c).forEach((g,S)=>{let w="";g.forEach((z,ie)=>{let{width:de}=c[ie],be=this.negatePadding(c[ie]),Ee=z;if(be>b2.stringWidth(z)&&(Ee+=" ".repeat(be-b2.stringWidth(z))),c[ie].align&&c[ie].align!=="left"&&this.wrap){let Y=iBt[c[ie].align];Ee=Y(Ee,be),b2.stringWidth(Ee)<be&&(Ee+=" ".repeat((de||0)-b2.stringWidth(Ee)-1))}let Oe=c[ie].padding||[0,0,0,0];Oe[wie]&&(w+=" ".repeat(Oe[wie])),w+=_He(c[ie],Ee,"| "),w+=Ee,w+=_He(c[ie],Ee," |"),Oe[Iie]&&(w+=" ".repeat(Oe[Iie])),S===0&&_.length>0&&(w=this.renderInline(w,_[_.length-1]))}),_.push({text:w.replace(/ +$/,""),span:c.span})}),_}renderInline(c,_){let g=c.match(/^ */),S=g?g[0].length:0,w=_.text,z=b2.stringWidth(w.trimRight());return _.span?this.wrap?S<z?c:(_.hidden=!0,w.trimRight()+" ".repeat(S-z)+c.trimLeft()):(_.hidden=!0,w+c):c}rasterize(c){let _=[],g=this.columnWidths(c),S;return c.forEach((w,z)=>{w.width=g[z],this.wrap?S=b2.wrap(w.text,this.negatePadding(w),{hard:!0}).split(`
800
+ test.js`,stderr:"",exitCode:0})}};Foe.MockExecutor=Jke});var P_t=jt($R=>{"use strict";Object.defineProperty($R,"__esModule",{value:!0});$R.MockExecutor=$R.NodeExecutor=void 0;var $ur=k_t();Object.defineProperty($R,"NodeExecutor",{enumerable:!0,get:function(){return $ur.NodeExecutor}});var Hur=w_t();Object.defineProperty($R,"MockExecutor",{enumerable:!0,get:function(){return Hur.MockExecutor}})});var L_t=jt(Xl=>{"use strict";var Kur=Xl&&Xl.__createBinding||(Object.create?(function(_,c,p,g){g===void 0&&(g=p);var S=Object.getOwnPropertyDescriptor(c,p);(!S||("get"in S?!c.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return c[p]}}),Object.defineProperty(_,g,S)}):(function(_,c,p,g){g===void 0&&(g=p),_[g]=c[p]})),Qur=Xl&&Xl.__exportStar||function(_,c){for(var p in _)p!=="default"&&!Object.prototype.hasOwnProperty.call(c,p)&&Kur(c,_,p)};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.createPathMapper=Xl.PathMapper=Xl.MockExecutor=Xl.NodeExecutor=Xl.AlexandriaLens=Xl.GitLens=Xl.TypeScriptLens=Xl.PrettierLens=Xl.KnipLens=Xl.JestLens=Xl.ESLintLens=Xl.BaseLens=Xl.VERSION=void 0;Xl.VERSION="0.1.18";Qur(b_t(),Xl);var Xur=Ak();Object.defineProperty(Xl,"BaseLens",{enumerable:!0,get:function(){return Xur.BaseLens}});var Yur=C_t();Object.defineProperty(Xl,"ESLintLens",{enumerable:!0,get:function(){return Yur.ESLintLens}});var Zur=S_t();Object.defineProperty(Xl,"JestLens",{enumerable:!0,get:function(){return Zur.JestLens}});var elr=E_t();Object.defineProperty(Xl,"KnipLens",{enumerable:!0,get:function(){return elr.KnipLens}});var tlr=x_t();Object.defineProperty(Xl,"PrettierLens",{enumerable:!0,get:function(){return tlr.PrettierLens}});var rlr=T_t();Object.defineProperty(Xl,"TypeScriptLens",{enumerable:!0,get:function(){return rlr.TypeScriptLens}});var nlr=A_t();Object.defineProperty(Xl,"GitLens",{enumerable:!0,get:function(){return nlr.GitLens}});var ilr=F_t();Object.defineProperty(Xl,"AlexandriaLens",{enumerable:!0,get:function(){return ilr.AlexandriaLens}});var N_t=P_t();Object.defineProperty(Xl,"NodeExecutor",{enumerable:!0,get:function(){return N_t.NodeExecutor}});Object.defineProperty(Xl,"MockExecutor",{enumerable:!0,get:function(){return N_t.MockExecutor}});var O_t=Fk();Object.defineProperty(Xl,"PathMapper",{enumerable:!0,get:function(){return O_t.PathMapper}});Object.defineProperty(Xl,"createPathMapper",{enumerable:!0,get:function(){return O_t.createPathMapper}})});var Mie=require("assert");var iBt={right:uBt,center:lBt},sBt=0,Iie=1,aBt=2,wie=3,JEe=class{constructor(c){var p;this.width=c.width,this.wrap=(p=c.wrap)!==null&&p!==void 0?p:!0,this.rows=[]}span(...c){let p=this.div(...c);p.span=!0}resetOutput(){this.rows=[]}div(...c){if(c.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...c)&&typeof c[0]=="string")return this.applyLayoutDSL(c[0]);let p=c.map(g=>typeof g=="string"?this.colFromString(g):g);return this.rows.push(p),p}shouldApplyLayoutDSL(...c){return c.length===1&&typeof c[0]=="string"&&/[\t\n]/.test(c[0])}applyLayoutDSL(c){let p=c.split(`
801
+ `).map(S=>S.split(" ")),g=0;return p.forEach(S=>{S.length>1&&b2.stringWidth(S[0])>g&&(g=Math.min(Math.floor(this.width*.5),b2.stringWidth(S[0])))}),p.forEach(S=>{this.div(...S.map((w,z)=>({text:w.trim(),padding:this.measurePadding(w),width:z===0&&S.length>1?g:void 0})))}),this.rows[this.rows.length-1]}colFromString(c){return{text:c,padding:this.measurePadding(c)}}measurePadding(c){let p=b2.stripAnsi(c);return[0,p.match(/\s*$/)[0].length,0,p.match(/^\s*/)[0].length]}toString(){let c=[];return this.rows.forEach(p=>{this.rowToString(p,c)}),c.filter(p=>!p.hidden).map(p=>p.text).join(`
802
+ `)}rowToString(c,p){return this.rasterize(c).forEach((g,S)=>{let w="";g.forEach((z,ie)=>{let{width:de}=c[ie],be=this.negatePadding(c[ie]),Ee=z;if(be>b2.stringWidth(z)&&(Ee+=" ".repeat(be-b2.stringWidth(z))),c[ie].align&&c[ie].align!=="left"&&this.wrap){let Y=iBt[c[ie].align];Ee=Y(Ee,be),b2.stringWidth(Ee)<be&&(Ee+=" ".repeat((de||0)-b2.stringWidth(Ee)-1))}let Oe=c[ie].padding||[0,0,0,0];Oe[wie]&&(w+=" ".repeat(Oe[wie])),w+=_He(c[ie],Ee,"| "),w+=Ee,w+=_He(c[ie],Ee," |"),Oe[Iie]&&(w+=" ".repeat(Oe[Iie])),S===0&&p.length>0&&(w=this.renderInline(w,p[p.length-1]))}),p.push({text:w.replace(/ +$/,""),span:c.span})}),p}renderInline(c,p){let g=c.match(/^ */),S=g?g[0].length:0,w=p.text,z=b2.stringWidth(w.trimRight());return p.span?this.wrap?S<z?c:(p.hidden=!0,w.trimRight()+" ".repeat(S-z)+c.trimLeft()):(p.hidden=!0,w+c):c}rasterize(c){let p=[],g=this.columnWidths(c),S;return c.forEach((w,z)=>{w.width=g[z],this.wrap?S=b2.wrap(w.text,this.negatePadding(w),{hard:!0}).split(`
803
803
  `):S=w.text.split(`
804
- `),w.border&&(S.unshift("."+"-".repeat(this.negatePadding(w)+2)+"."),S.push("'"+"-".repeat(this.negatePadding(w)+2)+"'")),w.padding&&(S.unshift(...new Array(w.padding[sBt]||0).fill("")),S.push(...new Array(w.padding[aBt]||0).fill(""))),S.forEach((ie,de)=>{_[de]||_.push([]);let be=_[de];for(let Ee=0;Ee<z;Ee++)be[Ee]===void 0&&be.push("");be.push(ie)})}),_}negatePadding(c){let _=c.width||0;return c.padding&&(_-=(c.padding[wie]||0)+(c.padding[Iie]||0)),c.border&&(_-=4),_}columnWidths(c){if(!this.wrap)return c.map(z=>z.width||b2.stringWidth(z.text));let _=c.length,g=this.width,S=c.map(z=>{if(z.width)return _--,g-=z.width,z.width}),w=_?Math.floor(g/_):0;return S.map((z,ie)=>z===void 0?Math.max(w,oBt(c[ie])):z)}};function _He(p,c,_){return p.border?/[.']-+[.']/.test(c)?"":c.trim().length!==0?_:" ":""}function oBt(p){let c=p.padding||[],_=1+(c[wie]||0)+(c[Iie]||0);return p.border?_+4:_}function cBt(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function uBt(p,c){p=p.trim();let _=b2.stringWidth(p);return _<c?" ".repeat(c-_)+p:p}function lBt(p,c){p=p.trim();let _=b2.stringWidth(p);return _>=c?p:" ".repeat(c-_>>1)+p}var b2;function pHe(p,c){return b2=c,new JEe({width:p?.width||cBt(),wrap:p?.wrap})}var dHe=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function qEe(p){return p.replace(dHe,"")}function mHe(p,c){let[_,g]=p.match(dHe)||["",""];p=qEe(p);let S="";for(let w=0;w<p.length;w++)w!==0&&w%c===0&&(S+=`
805
- `),S+=p.charAt(w);return _&&g&&(S=`${_}${S}${g}`),S}function zEe(p){return pHe(p,{stringWidth:c=>[...c].length,stripAnsi:qEe,wrap:mHe})}var TL=require("path"),Pie=require("fs");function hHe(p,c){let _=(0,TL.resolve)(".",p),g;for((0,Pie.statSync)(_).isDirectory()||(_=(0,TL.dirname)(_));;){if(g=c(_,(0,Pie.readdirSync)(_)),g)return(0,TL.resolve)(_,g);if(_=(0,TL.dirname)(g=_),g===_)break}}var PHe=require("util"),NHe=require("fs"),OHe=require("url");var bHe=require("util"),Rie=require("path");function SP(p){if(p!==p.toLowerCase()&&p!==p.toUpperCase()||(p=p.toLowerCase()),p.indexOf("-")===-1&&p.indexOf("_")===-1)return p;{let _="",g=!1,S=p.match(/^-+/);for(let w=S?S[0].length:0;w<p.length;w++){let z=p.charAt(w);g&&(g=!1,z=z.toUpperCase()),w!==0&&(z==="-"||z==="_")?g=!0:z!=="-"&&z!=="_"&&(_+=z)}return _}}function Nie(p,c){let _=p.toLowerCase();c=c||"-";let g="";for(let S=0;S<p.length;S++){let w=_.charAt(S),z=p.charAt(S);w!==z&&S>0?g+=`${c}${_.charAt(S)}`:g+=z}return g}function Oie(p){return p==null?!1:typeof p=="number"||/^0x[0-9a-f]+$/i.test(p)?!0:/^0[^.]/.test(p)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(p)}function gHe(p){if(Array.isArray(p))return p.map(z=>typeof z!="string"?z+"":z);p=p.trim();let c=0,_=null,g=null,S=null,w=[];for(let z=0;z<p.length;z++){if(_=g,g=p.charAt(z),g===" "&&!S){_!==" "&&c++;continue}g===S?S=null:(g==="'"||g==='"')&&!S&&(S=g),w[c]||(w[c]=""),w[c]+=g}return w}var oC;(function(p){p.BOOLEAN="boolean",p.STRING="string",p.NUMBER="number",p.ARRAY="array"})(oC||(oC={}));var rk,Lie=class{constructor(c){rk=c}parse(c,_){let g=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},_),S=gHe(c),w=typeof c=="string",z=fBt(Object.assign(Object.create(null),g.alias)),ie=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},g.configuration),de=Object.assign(Object.create(null),g.default),be=g.configObjects||[],Ee=g.envPrefix,Oe=ie["populate--"],Y=Oe?"--":"_",ut=Object.create(null),Ye=Object.create(null),We=g.__||rk.format,Ut={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},_r=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,Hr=new RegExp("^--"+ie["negation-prefix"]+"(.+)");[].concat(g.array||[]).filter(Boolean).forEach(function(Ht){let Ln=typeof Ht=="object"?Ht.key:Ht,qs=Object.keys(Ht).map(function(Oi){return{boolean:"bools",string:"strings",number:"numbers"}[Oi]}).filter(Boolean).pop();qs&&(Ut[qs][Ln]=!0),Ut.arrays[Ln]=!0,Ut.keys.push(Ln)}),[].concat(g.boolean||[]).filter(Boolean).forEach(function(Ht){Ut.bools[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.string||[]).filter(Boolean).forEach(function(Ht){Ut.strings[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.number||[]).filter(Boolean).forEach(function(Ht){Ut.numbers[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.count||[]).filter(Boolean).forEach(function(Ht){Ut.counts[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.normalize||[]).filter(Boolean).forEach(function(Ht){Ut.normalize[Ht]=!0,Ut.keys.push(Ht)}),typeof g.narg=="object"&&Object.entries(g.narg).forEach(([Ht,Ln])=>{typeof Ln=="number"&&(Ut.nargs[Ht]=Ln,Ut.keys.push(Ht))}),typeof g.coerce=="object"&&Object.entries(g.coerce).forEach(([Ht,Ln])=>{typeof Ln=="function"&&(Ut.coercions[Ht]=Ln,Ut.keys.push(Ht))}),typeof g.config<"u"&&(Array.isArray(g.config)||typeof g.config=="string"?[].concat(g.config).filter(Boolean).forEach(function(Ht){Ut.configs[Ht]=!0}):typeof g.config=="object"&&Object.entries(g.config).forEach(([Ht,Ln])=>{(typeof Ln=="boolean"||typeof Ln=="function")&&(Ut.configs[Ht]=Ln)})),By(g.key,z,g.default,Ut.arrays),Object.keys(de).forEach(function(Ht){(Ut.aliases[Ht]||[]).forEach(function(Ln){de[Ln]=de[Ht]})});let On=null;Qg();let Hi=[],us=Object.assign(Object.create(null),{_:[]}),Hn={};for(let Ht=0;Ht<S.length;Ht++){let Ln=S[Ht],qs=Ln.replace(/^-{3,}/,"---"),Oi,Rn,Ca,Ia,bo,Yl;if(Ln!=="--"&&/^-/.test(Ln)&&fu(Ln))an(Ln);else if(qs.match(/^---+(=|$)/)){an(Ln);continue}else if(Ln.match(/^--.+=/)||!ie["short-option-groups"]&&Ln.match(/^-.+=/))Ia=Ln.match(/^--?([^=]+)=([\s\S]*)$/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=3&&(zo(Ia[1],Ut.arrays)?Ht=ma(Ht,Ia[1],S,Ia[2]):zo(Ia[1],Ut.nargs)!==!1?Ht=hc(Ht,Ia[1],S,Ia[2]):ic(Ia[1],Ia[2],!0));else if(Ln.match(Hr)&&ie["boolean-negation"])Ia=Ln.match(Hr),Ia!==null&&Array.isArray(Ia)&&Ia.length>=2&&(Rn=Ia[1],ic(Rn,zo(Rn,Ut.arrays)?[!1]:!1));else if(Ln.match(/^--.+/)||!ie["short-option-groups"]&&Ln.match(/^-[^-]+/))Ia=Ln.match(/^--?(.+)/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=2&&(Rn=Ia[1],zo(Rn,Ut.arrays)?Ht=ma(Ht,Rn,S):zo(Rn,Ut.nargs)!==!1?Ht=hc(Ht,Rn,S):(bo=S[Ht+1],bo!==void 0&&(!bo.match(/^-/)||bo.match(_r))&&!zo(Rn,Ut.bools)&&!zo(Rn,Ut.counts)||/^(true|false)$/.test(bo)?(ic(Rn,bo),Ht++):ic(Rn,wu(Rn))));else if(Ln.match(/^-.\..+=/))Ia=Ln.match(/^-([^=]+)=([\s\S]*)$/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=3&&ic(Ia[1],Ia[2]);else if(Ln.match(/^-.\..+/)&&!Ln.match(_r))bo=S[Ht+1],Ia=Ln.match(/^-(.\..+)/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=2&&(Rn=Ia[1],bo!==void 0&&!bo.match(/^-/)&&!zo(Rn,Ut.bools)&&!zo(Rn,Ut.counts)?(ic(Rn,bo),Ht++):ic(Rn,wu(Rn)));else if(Ln.match(/^-[^-]+/)&&!Ln.match(_r)){Ca=Ln.slice(1,-1).split(""),Oi=!1;for(let td=0;td<Ca.length;td++){if(bo=Ln.slice(td+2),Ca[td+1]&&Ca[td+1]==="="){Yl=Ln.slice(td+3),Rn=Ca[td],zo(Rn,Ut.arrays)?Ht=ma(Ht,Rn,S,Yl):zo(Rn,Ut.nargs)!==!1?Ht=hc(Ht,Rn,S,Yl):ic(Rn,Yl),Oi=!0;break}if(bo==="-"){ic(Ca[td],bo);continue}if(/[A-Za-z]/.test(Ca[td])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(bo)&&zo(bo,Ut.bools)===!1){ic(Ca[td],bo),Oi=!0;break}if(Ca[td+1]&&Ca[td+1].match(/\W/)){ic(Ca[td],bo),Oi=!0;break}else ic(Ca[td],wu(Ca[td]))}Rn=Ln.slice(-1)[0],!Oi&&Rn!=="-"&&(zo(Rn,Ut.arrays)?Ht=ma(Ht,Rn,S):zo(Rn,Ut.nargs)!==!1?Ht=hc(Ht,Rn,S):(bo=S[Ht+1],bo!==void 0&&(!/^(-|--)[^-]/.test(bo)||bo.match(_r))&&!zo(Rn,Ut.bools)&&!zo(Rn,Ut.counts)||/^(true|false)$/.test(bo)?(ic(Rn,bo),Ht++):ic(Rn,wu(Rn))))}else if(Ln.match(/^-[0-9]$/)&&Ln.match(_r)&&zo(Ln.slice(1),Ut.bools))Rn=Ln.slice(1),ic(Rn,wu(Rn));else if(Ln==="--"){Hi=S.slice(Ht+1);break}else if(ie["halt-at-non-option"]){Hi=S.slice(Ht);break}else an(Ln)}hr(us,!0),hr(us,!1),Rr(us),Ro(),Ko(us,Ut.aliases,de,!0),Sl(us),ie["set-placeholder-key"]&&lc(us),Object.keys(Ut.counts).forEach(function(Ht){Zs(us,Ht.split("."))||ic(Ht,0)}),Oe&&Hi.length&&(us[Y]=[]),Hi.forEach(function(Ht){us[Y].push(Ht)}),ie["camel-case-expansion"]&&ie["strip-dashed"]&&Object.keys(us).filter(Ht=>Ht!=="--"&&Ht.includes("-")).forEach(Ht=>{delete us[Ht]}),ie["strip-aliased"]&&[].concat(...Object.keys(z).map(Ht=>z[Ht])).forEach(Ht=>{ie["camel-case-expansion"]&&Ht.includes("-")&&delete us[Ht.split(".").map(Ln=>SP(Ln)).join(".")],delete us[Ht]});function an(Ht){let Ln=Js("_",Ht);(typeof Ln=="string"||typeof Ln=="number")&&us._.push(Ln)}function hc(Ht,Ln,qs,Oi){let Rn,Ca=zo(Ln,Ut.nargs);if(Ca=typeof Ca!="number"||isNaN(Ca)?1:Ca,Ca===0)return ht(Oi)||(On=Error(We("Argument unexpected for: %s",Ln))),ic(Ln,wu(Ln)),Ht;let Ia=ht(Oi)?0:1;if(ie["nargs-eats-options"])qs.length-(Ht+1)+Ia<Ca&&(On=Error(We("Not enough arguments following: %s",Ln))),Ia=Ca;else{for(Rn=Ht+1;Rn<qs.length&&(!qs[Rn].match(/^-[^0-9]/)||qs[Rn].match(_r)||fu(qs[Rn]));Rn++)Ia++;Ia<Ca&&(On=Error(We("Not enough arguments following: %s",Ln)))}let bo=Math.min(Ia,Ca);for(!ht(Oi)&&bo>0&&(ic(Ln,Oi),bo--),Rn=Ht+1;Rn<bo+Ht+1;Rn++)ic(Ln,qs[Rn]);return Ht+bo}function ma(Ht,Ln,qs,Oi){let Rn=[],Ca=Oi||qs[Ht+1],Ia=zo(Ln,Ut.nargs);if(zo(Ln,Ut.bools)&&!/^(true|false)$/.test(Ca))Rn.push(!0);else if(ht(Ca)||ht(Oi)&&/^-/.test(Ca)&&!_r.test(Ca)&&!fu(Ca)){if(de[Ln]!==void 0){let bo=de[Ln];Rn=Array.isArray(bo)?bo:[bo]}}else{ht(Oi)||Rn.push(Os(Ln,Oi,!0));for(let bo=Ht+1;bo<qs.length&&!(!ie["greedy-arrays"]&&Rn.length>0||Ia&&typeof Ia=="number"&&Rn.length>=Ia||(Ca=qs[bo],/^-/.test(Ca)&&!_r.test(Ca)&&!fu(Ca)));bo++)Ht=bo,Rn.push(Os(Ln,Ca,w))}return typeof Ia=="number"&&(Ia&&Rn.length<Ia||isNaN(Ia)&&Rn.length===0)&&(On=Error(We("Not enough arguments following: %s",Ln))),ic(Ln,Rn),Ht}function ic(Ht,Ln,qs=w){if(/-/.test(Ht)&&ie["camel-case-expansion"]){let Ca=Ht.split(".").map(function(Ia){return SP(Ia)}).join(".");xn(Ht,Ca)}let Oi=Os(Ht,Ln,qs),Rn=Ht.split(".");jp(us,Rn,Oi),Ut.aliases[Ht]&&Ut.aliases[Ht].forEach(function(Ca){let Ia=Ca.split(".");jp(us,Ia,Oi)}),Rn.length>1&&ie["dot-notation"]&&(Ut.aliases[Rn[0]]||[]).forEach(function(Ca){let Ia=Ca.split("."),bo=[].concat(Rn);bo.shift(),Ia=Ia.concat(bo),(Ut.aliases[Ht]||[]).includes(Ia.join("."))||jp(us,Ia,Oi)}),zo(Ht,Ut.normalize)&&!zo(Ht,Ut.arrays)&&[Ht].concat(Ut.aliases[Ht]||[]).forEach(function(Ia){Object.defineProperty(Hn,Ia,{enumerable:!0,get(){return Ln},set(bo){Ln=typeof bo=="string"?rk.normalize(bo):bo}})})}function xn(Ht,Ln){Ut.aliases[Ht]&&Ut.aliases[Ht].length||(Ut.aliases[Ht]=[Ln],ut[Ln]=!0),Ut.aliases[Ln]&&Ut.aliases[Ln].length||xn(Ln,Ht)}function Os(Ht,Ln,qs){qs&&(Ln=_Bt(Ln)),(zo(Ht,Ut.bools)||zo(Ht,Ut.counts))&&typeof Ln=="string"&&(Ln=Ln==="true");let Oi=Array.isArray(Ln)?Ln.map(function(Rn){return Js(Ht,Rn)}):Js(Ht,Ln);return zo(Ht,Ut.counts)&&(ht(Oi)||typeof Oi=="boolean")&&(Oi=WEe()),zo(Ht,Ut.normalize)&&zo(Ht,Ut.arrays)&&(Array.isArray(Ln)?Oi=Ln.map(Rn=>rk.normalize(Rn)):Oi=rk.normalize(Ln)),Oi}function Js(Ht,Ln){return!ie["parse-positional-numbers"]&&Ht==="_"||!zo(Ht,Ut.strings)&&!zo(Ht,Ut.bools)&&!Array.isArray(Ln)&&(Oie(Ln)&&ie["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${Ln}`)))||!ht(Ln)&&zo(Ht,Ut.numbers))&&(Ln=Number(Ln)),Ln}function Rr(Ht){let Ln=Object.create(null);Ko(Ln,Ut.aliases,de),Object.keys(Ut.configs).forEach(function(qs){let Oi=Ht[qs]||Ln[qs];if(Oi)try{let Rn=null,Ca=rk.resolve(rk.cwd(),Oi),Ia=Ut.configs[qs];if(typeof Ia=="function"){try{Rn=Ia(Ca)}catch(bo){Rn=bo}if(Rn instanceof Error){On=Rn;return}}else Rn=rk.require(Ca);wo(Rn)}catch(Rn){Rn.name==="PermissionDenied"?On=Rn:Ht[qs]&&(On=Error(We("Invalid JSON config file: %s",Oi)))}})}function wo(Ht,Ln){Object.keys(Ht).forEach(function(qs){let Oi=Ht[qs],Rn=Ln?Ln+"."+qs:qs;typeof Oi=="object"&&Oi!==null&&!Array.isArray(Oi)&&ie["dot-notation"]?wo(Oi,Rn):(!Zs(us,Rn.split("."))||zo(Rn,Ut.arrays)&&ie["combine-arrays"])&&ic(Rn,Oi)})}function Ro(){typeof be<"u"&&be.forEach(function(Ht){wo(Ht)})}function hr(Ht,Ln){if(typeof Ee>"u")return;let qs=typeof Ee=="string"?Ee:"",Oi=rk.env();Object.keys(Oi).forEach(function(Rn){if(qs===""||Rn.lastIndexOf(qs,0)===0){let Ca=Rn.split("__").map(function(Ia,bo){return bo===0&&(Ia=Ia.substring(qs.length)),SP(Ia)});(Ln&&Ut.configs[Ca.join(".")]||!Ln)&&!Zs(Ht,Ca)&&ic(Ca.join("."),Oi[Rn])}})}function Sl(Ht){let Ln,qs=new Set;Object.keys(Ht).forEach(function(Oi){if(!qs.has(Oi)&&(Ln=zo(Oi,Ut.coercions),typeof Ln=="function"))try{let Rn=Js(Oi,Ln(Ht[Oi]));[].concat(Ut.aliases[Oi]||[],Oi).forEach(Ca=>{qs.add(Ca),Ht[Ca]=Rn})}catch(Rn){On=Rn}})}function lc(Ht){return Ut.keys.forEach(Ln=>{~Ln.indexOf(".")||typeof Ht[Ln]>"u"&&(Ht[Ln]=void 0)}),Ht}function Ko(Ht,Ln,qs,Oi=!1){Object.keys(qs).forEach(function(Rn){Zs(Ht,Rn.split("."))||(jp(Ht,Rn.split("."),qs[Rn]),Oi&&(Ye[Rn]=!0),(Ln[Rn]||[]).forEach(function(Ca){Zs(Ht,Ca.split("."))||jp(Ht,Ca.split("."),qs[Rn])}))})}function Zs(Ht,Ln){let qs=Ht;ie["dot-notation"]||(Ln=[Ln.join(".")]),Ln.slice(0,-1).forEach(function(Rn){qs=qs[Rn]||{}});let Oi=Ln[Ln.length-1];return typeof qs!="object"?!1:Oi in qs}function jp(Ht,Ln,qs){let Oi=Ht;ie["dot-notation"]||(Ln=[Ln.join(".")]),Ln.slice(0,-1).forEach(function(Yl){Yl=yHe(Yl),typeof Oi=="object"&&Oi[Yl]===void 0&&(Oi[Yl]={}),typeof Oi[Yl]!="object"||Array.isArray(Oi[Yl])?(Array.isArray(Oi[Yl])?Oi[Yl].push({}):Oi[Yl]=[Oi[Yl],{}],Oi=Oi[Yl][Oi[Yl].length-1]):Oi=Oi[Yl]});let Rn=yHe(Ln[Ln.length-1]),Ca=zo(Ln.join("."),Ut.arrays),Ia=Array.isArray(qs),bo=ie["duplicate-arguments-array"];!bo&&zo(Rn,Ut.nargs)&&(bo=!0,(!ht(Oi[Rn])&&Ut.nargs[Rn]===1||Array.isArray(Oi[Rn])&&Oi[Rn].length===Ut.nargs[Rn])&&(Oi[Rn]=void 0)),qs===WEe()?Oi[Rn]=WEe(Oi[Rn]):Array.isArray(Oi[Rn])?bo&&Ca&&Ia?Oi[Rn]=ie["flatten-duplicate-arrays"]?Oi[Rn].concat(qs):(Array.isArray(Oi[Rn][0])?Oi[Rn]:[Oi[Rn]]).concat([qs]):!bo&&!!Ca==!!Ia?Oi[Rn]=qs:Oi[Rn]=Oi[Rn].concat([qs]):Oi[Rn]===void 0&&Ca?Oi[Rn]=Ia?qs:[qs]:bo&&!(Oi[Rn]===void 0||zo(Rn,Ut.counts)||zo(Rn,Ut.bools))?Oi[Rn]=[Oi[Rn],qs]:Oi[Rn]=qs}function By(...Ht){Ht.forEach(function(Ln){Object.keys(Ln||{}).forEach(function(qs){Ut.aliases[qs]||(Ut.aliases[qs]=[].concat(z[qs]||[]),Ut.aliases[qs].concat(qs).forEach(function(Oi){if(/-/.test(Oi)&&ie["camel-case-expansion"]){let Rn=SP(Oi);Rn!==qs&&Ut.aliases[qs].indexOf(Rn)===-1&&(Ut.aliases[qs].push(Rn),ut[Rn]=!0)}}),Ut.aliases[qs].concat(qs).forEach(function(Oi){if(Oi.length>1&&/[A-Z]/.test(Oi)&&ie["camel-case-expansion"]){let Rn=Nie(Oi,"-");Rn!==qs&&Ut.aliases[qs].indexOf(Rn)===-1&&(Ut.aliases[qs].push(Rn),ut[Rn]=!0)}}),Ut.aliases[qs].forEach(function(Oi){Ut.aliases[Oi]=[qs].concat(Ut.aliases[qs].filter(function(Rn){return Oi!==Rn}))}))})})}function zo(Ht,Ln){let qs=[].concat(Ut.aliases[Ht]||[],Ht),Oi=Object.keys(Ln),Rn=qs.find(Ca=>Oi.includes(Ca));return Rn?Ln[Rn]:!1}function zm(Ht){let Ln=Object.keys(Ut);return[].concat(Ln.map(Oi=>Ut[Oi])).some(function(Oi){return Array.isArray(Oi)?Oi.includes(Ht):Oi[Ht]})}function jn(Ht,...Ln){return[].concat(...Ln).some(function(Oi){let Rn=Ht.match(Oi);return Rn&&zm(Rn[1])})}function Wo(Ht){if(Ht.match(_r)||!Ht.match(/^-[^-]+/))return!1;let Ln=!0,qs,Oi=Ht.slice(1).split("");for(let Rn=0;Rn<Oi.length;Rn++){if(qs=Ht.slice(Rn+2),!zm(Oi[Rn])){Ln=!1;break}if(Oi[Rn+1]&&Oi[Rn+1]==="="||qs==="-"||/[A-Za-z]/.test(Oi[Rn])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(qs)||Oi[Rn+1]&&Oi[Rn+1].match(/\W/))break}return Ln}function fu(Ht){return ie["unknown-options-as-args"]&&Mo(Ht)}function Mo(Ht){return Ht=Ht.replace(/^-{3,}/,"--"),Ht.match(_r)||Wo(Ht)?!1:!jn(Ht,/^-+([^=]+?)=[\s\S]*$/,Hr,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function wu(Ht){return!zo(Ht,Ut.bools)&&!zo(Ht,Ut.counts)&&`${Ht}`in de?de[Ht]:_l(Jp(Ht))}function _l(Ht){return{[oC.BOOLEAN]:!0,[oC.STRING]:"",[oC.NUMBER]:void 0,[oC.ARRAY]:[]}[Ht]}function Jp(Ht){let Ln=oC.BOOLEAN;return zo(Ht,Ut.strings)?Ln=oC.STRING:zo(Ht,Ut.numbers)?Ln=oC.NUMBER:zo(Ht,Ut.bools)?Ln=oC.BOOLEAN:zo(Ht,Ut.arrays)&&(Ln=oC.ARRAY),Ln}function ht(Ht){return Ht===void 0}function Qg(){Object.keys(Ut.counts).find(Ht=>zo(Ht,Ut.arrays)?(On=Error(We("Invalid configuration: %s, opts.count excludes opts.array.",Ht)),!0):zo(Ht,Ut.nargs)?(On=Error(We("Invalid configuration: %s, opts.count excludes opts.narg.",Ht)),!0):!1)}return{aliases:Object.assign({},Ut.aliases),argv:Object.assign(Hn,us),configuration:ie,defaulted:Object.assign({},Ye),error:On,newAliases:Object.assign({},ut)}}};function fBt(p){let c=[],_=Object.create(null),g=!0;for(Object.keys(p).forEach(function(S){c.push([].concat(p[S],S))});g;){g=!1;for(let S=0;S<c.length;S++)for(let w=S+1;w<c.length;w++)if(c[S].filter(function(ie){return c[w].indexOf(ie)!==-1}).length){c[S]=c[S].concat(c[w]),c.splice(w,1),g=!0;break}}return c.forEach(function(S){S=S.filter(function(z,ie,de){return de.indexOf(z)===ie});let w=S.pop();w!==void 0&&typeof w=="string"&&(_[w]=S)}),_}function WEe(p){return p!==void 0?p+1:1}function yHe(p){return p==="__proto__"?"___proto___":p}function _Bt(p){return typeof p=="string"&&(p[0]==="'"||p[0]==='"')&&p[p.length-1]===p[0]?p.substring(1,p.length-1):p}var CHe=require("fs");var UEe,VEe,GEe,vHe=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,DHe=(VEe=(UEe=process==null?void 0:process.versions)===null||UEe===void 0?void 0:UEe.node)!==null&&VEe!==void 0?VEe:(GEe=process==null?void 0:process.version)===null||GEe===void 0?void 0:GEe.slice(1);if(DHe&&Number(DHe.match(/^([^.]+)/)[1])<vHe)throw Error(`yargs parser supports a minimum Node.js version of ${vHe}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var pBt=process?process.env:{},SHe=new Lie({cwd:process.cwd,env:()=>pBt,format:bHe.format,normalize:Rie.normalize,resolve:Rie.resolve,require:p=>{if(typeof require<"u")return require(p);if(p.match(/\.json$/))return JSON.parse((0,CHe.readFileSync)(p,"utf8"));throw Error("only .json config files are supported in ESM")}}),DU=function(c,_){return SHe.parse(c.slice(),_).argv};DU.detailed=function(p,c){return SHe.parse(p.slice(),c)};DU.camelCase=SP;DU.decamelize=Nie;DU.looksLikeNumber=Oie;var $Ee=DU;var QS=require("path");function EHe(){return dBt()?0:1}function dBt(){return mBt()&&!process.defaultApp}function mBt(){return!!process.versions.electron}function HEe(p){return p.slice(EHe()+1)}function xHe(){return process.argv[EHe()]}var Np=class p extends Error{constructor(c){super(c||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,p)}};var AL=require("fs"),THe=require("util"),AHe=require("path"),FHe={fs:{readFileSync:AL.readFileSync,writeFile:AL.writeFile},format:THe.format,resolve:AHe.resolve,exists:p=>{try{return(0,AL.statSync)(p).isFile()}catch{return!1}}};var KS,KEe=class{constructor(c){c=c||{},this.directory=c.directory||"./locales",this.updateFiles=typeof c.updateFiles=="boolean"?c.updateFiles:!0,this.locale=c.locale||"en",this.fallbackToLanguage=typeof c.fallbackToLanguage=="boolean"?c.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...c){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let _=c.shift(),g=function(){};return typeof c[c.length-1]=="function"&&(g=c.pop()),g=g||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][_]&&this.updateFiles?(this.cache[this.locale][_]=_,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:g})):g(),KS.format.apply(KS.format,[this.cache[this.locale][_]||_].concat(c))}__n(){let c=Array.prototype.slice.call(arguments),_=c.shift(),g=c.shift(),S=c.shift(),w=function(){};typeof c[c.length-1]=="function"&&(w=c.pop()),this.cache[this.locale]||this._readLocaleFile();let z=S===1?_:g;this.cache[this.locale][_]&&(z=this.cache[this.locale][_][S===1?"one":"other"]),!this.cache[this.locale][_]&&this.updateFiles?(this.cache[this.locale][_]={one:_,other:g},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:w})):w();let ie=[z];return~z.indexOf("%d")&&ie.push(S),KS.format.apply(KS.format,ie.concat(c))}setLocale(c){this.locale=c}getLocale(){return this.locale}updateLocale(c){this.cache[this.locale]||this._readLocaleFile();for(let _ in c)Object.prototype.hasOwnProperty.call(c,_)&&(this.cache[this.locale][_]=c[_])}_taggedLiteral(c,..._){let g="";return c.forEach(function(S,w){let z=_[w+1];g+=S,typeof z<"u"&&(g+="%s")}),this.__.apply(this,[g].concat([].slice.call(_,1)))}_enqueueWrite(c){this.writeQueue.push(c),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let c=this,_=this.writeQueue[0],g=_.directory,S=_.locale,w=_.cb,z=this._resolveLocaleFile(g,S),ie=JSON.stringify(this.cache[S],null,2);KS.fs.writeFile(z,ie,"utf-8",function(de){c.writeQueue.shift(),c.writeQueue.length>0&&c._processWriteQueue(),w(de)})}_readLocaleFile(){let c={},_=this._resolveLocaleFile(this.directory,this.locale);try{KS.fs.readFileSync&&(c=JSON.parse(KS.fs.readFileSync(_,"utf-8")))}catch(g){if(g instanceof SyntaxError&&(g.message="syntax error in "+_),g.code==="ENOENT")c={};else throw g}this.cache[this.locale]=c}_resolveLocaleFile(c,_){let g=KS.resolve(c,"./",_+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(g)&&~_.lastIndexOf("_")){let S=KS.resolve(c,"./",_.split("_")[0]+".json");this._fileExistsSync(S)&&(g=S)}return g}_fileExistsSync(c){return KS.exists(c)}};function kHe(p,c){KS=c;let _=new KEe(p);return{__:_.__.bind(_),__n:_.__n.bind(_),setLocale:_.setLocale.bind(_),getLocale:_.getLocale.bind(_),updateLocale:_.updateLocale.bind(_),locale:_.locale}}var hBt=p=>kHe(p,FHe),IHe=hBt;var vBt={},gBt="require is not supported by ESM",wHe="loading a directory of commands is not supported yet for ESM",bU;try{bU=(0,OHe.fileURLToPath)(vBt.url)}catch{bU=process.cwd()}var yBt=bU.substring(0,bU.lastIndexOf("node_modules")),QEe={assert:{notStrictEqual:Mie.notStrictEqual,strictEqual:Mie.strictEqual},cliui:zEe,findUp:hHe,getEnv:p=>process.env[p],inspect:PHe.inspect,getCallerFile:()=>{throw new Np(wHe)},getProcessArgvBin:xHe,mainFilename:yBt||process.cwd(),Parser:$Ee,path:{basename:QS.basename,dirname:QS.dirname,extname:QS.extname,relative:QS.relative,resolve:QS.resolve},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(p,c)=>process.emitWarning(p,c),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:NHe.readFileSync,require:()=>{throw new Np(gBt)},requireDirectory:()=>{throw new Np(wHe)},stringWidth:p=>[...p].length,y18n:IHe({directory:(0,QS.resolve)(bU,"../../../locales"),updateFiles:!1})};function ky(p,c,_,g){_.assert.notStrictEqual(p,c,g)}function XEe(p,c){c.assert.strictEqual(typeof p,"string")}function FL(p){return Object.keys(p)}function Op(p){return!!p&&!!p.then&&typeof p.then=="function"}function l4(p){let _=p.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),g=/\.*[\][<>]/g,S=_.shift();if(!S)throw new Error(`No command found in: ${p}`);let w={cmd:S.replace(g,""),demanded:[],optional:[]};return _.forEach((z,ie)=>{let de=!1;z=z.replace(/\s/g,""),/\.+[\]>]/.test(z)&&ie===_.length-1&&(de=!0),/^\[/.test(z)?w.optional.push({cmd:z.replace(g,"").split("|"),variadic:de}):w.demanded.push({cmd:z.replace(g,"").split("|"),variadic:de})}),w}var DBt=["first","second","third","fourth","fifth","sixth"];function co(p,c,_){function g(){return typeof p=="object"?[{demanded:[],optional:[]},p,c]:[l4(`cmd ${p}`),c,_]}try{let S=0,[w,z,ie]=g(),de=[].slice.call(z);for(;de.length&&de[de.length-1]===void 0;)de.pop();let be=ie||de.length;if(be<w.demanded.length)throw new Np(`Not enough arguments provided. Expected ${w.demanded.length} but received ${de.length}.`);let Ee=w.demanded.length+w.optional.length;if(be>Ee)throw new Np(`Too many arguments provided. Expected max ${Ee} but received ${be}.`);w.demanded.forEach(Oe=>{let Y=de.shift(),ut=LHe(Y);Oe.cmd.filter(We=>We===ut||We==="*").length===0&&RHe(ut,Oe.cmd,S),S+=1}),w.optional.forEach(Oe=>{if(de.length===0)return;let Y=de.shift(),ut=LHe(Y);Oe.cmd.filter(We=>We===ut||We==="*").length===0&&RHe(ut,Oe.cmd,S),S+=1})}catch(S){console.warn(S.stack)}}function LHe(p){return Array.isArray(p)?"array":p===null?"null":typeof p}function RHe(p,c,_){throw new Np(`Invalid ${DBt[_]||"manyith"} argument. Expected ${c.join(" or ")} but received ${p}.`)}var Bie=class{constructor(c){this.globalMiddleware=[],this.frozens=[],this.yargs=c}addMiddleware(c,_,g=!0,S=!1){if(co("<array|function> [boolean] [boolean] [boolean]",[c,_,g],arguments.length),Array.isArray(c)){for(let w=0;w<c.length;w++){if(typeof c[w]!="function")throw Error("middleware must be a function");let z=c[w];z.applyBeforeValidation=_,z.global=g}Array.prototype.push.apply(this.globalMiddleware,c)}else if(typeof c=="function"){let w=c;w.applyBeforeValidation=_,w.global=g,w.mutates=S,this.globalMiddleware.push(c)}return this.yargs}addCoerceMiddleware(c,_){let g=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(S=>{let w=[...g[_]||[],_];return S.option?!w.includes(S.option):!0}),c.option=_,this.addMiddleware(c,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let c=this.frozens.pop();c!==void 0&&(this.globalMiddleware=c)}reset(){this.globalMiddleware=this.globalMiddleware.filter(c=>c.global)}};function MHe(p){return p?p.map(c=>(c.applyBeforeValidation=!1,c)):[]}function EP(p,c,_,g){return _.reduce((S,w)=>{if(w.applyBeforeValidation!==g)return S;if(w.mutates){if(w.applied)return S;w.applied=!0}if(Op(S))return S.then(z=>Promise.all([z,w(z,c)])).then(([z,ie])=>Object.assign(z,ie));{let z=w(S,c);return Op(z)?z.then(ie=>Object.assign(S,ie)):Object.assign(S,z)}},p)}function xP(p,c,_=g=>{throw g}){try{let g=bBt(p)?p():p;return Op(g)?g.then(S=>c(S)):c(g)}catch(g){return _(g)}}function bBt(p){return typeof p=="function"}function YEe(p){if(typeof require>"u")return null;for(let c=0,_=Object.keys(require.cache),g;c<_.length;c++)if(g=require.cache[_[c]],g.exports===p)return g;return null}var kL=/(^\*)|(^\$0)/,ZEe=class{constructor(c,_,g,S){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=S,this.usage=c,this.globalMiddleware=g,this.validation=_}addDirectory(c,_,g,S){S=S||{},typeof S.recurse!="boolean"&&(S.recurse=!1),Array.isArray(S.extensions)||(S.extensions=["js"]);let w=typeof S.visit=="function"?S.visit:z=>z;S.visit=(z,ie,de)=>{let be=w(z,ie,de);if(be){if(this.requireCache.has(ie))return be;this.requireCache.add(ie),this.addHandler(be)}return be},this.shim.requireDirectory({require:_,filename:g},c,S)}addHandler(c,_,g,S,w,z){let ie=[],de=MHe(w);if(S=S||(()=>{}),Array.isArray(c))if(CBt(c))[c,...ie]=c;else for(let be of c)this.addHandler(be);else if(EBt(c)){let be=Array.isArray(c.command)||typeof c.command=="string"?c.command:this.moduleName(c);c.aliases&&(be=[].concat(be).concat(c.aliases)),this.addHandler(be,this.extractDesc(c),c.builder,c.handler,c.middlewares,c.deprecated);return}else if(BHe(g)){this.addHandler([c].concat(ie),_,g.builder,g.handler,g.middlewares,g.deprecated);return}if(typeof c=="string"){let be=l4(c);ie=ie.map(Y=>l4(Y).cmd);let Ee=!1,Oe=[be.cmd].concat(ie).filter(Y=>kL.test(Y)?(Ee=!0,!1):!0);Oe.length===0&&Ee&&Oe.push("$0"),Ee&&(be.cmd=Oe[0],ie=Oe.slice(1),c=c.replace(kL,be.cmd)),ie.forEach(Y=>{this.aliasMap[Y]=be.cmd}),_!==!1&&this.usage.command(c,_,Ee,ie,z),this.handlers[be.cmd]={original:c,description:_,handler:S,builder:g||{},middlewares:de,deprecated:z,demanded:be.demanded,optional:be.optional},Ee&&(this.defaultCommand=this.handlers[be.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(c,_,g,S,w,z){let ie=this.handlers[c]||this.handlers[this.aliasMap[c]]||this.defaultCommand,de=_.getInternalMethods().getContext(),be=de.commands.slice(),Ee=!c;c&&(de.commands.push(c),de.fullCommands.push(ie.original));let Oe=this.applyBuilderUpdateUsageAndParse(Ee,ie,_,g.aliases,be,S,w,z);return Op(Oe)?Oe.then(Y=>this.applyMiddlewareAndGetResult(Ee,ie,Y.innerArgv,de,w,Y.aliases,_)):this.applyMiddlewareAndGetResult(Ee,ie,Oe.innerArgv,de,w,Oe.aliases,_)}applyBuilderUpdateUsageAndParse(c,_,g,S,w,z,ie,de){let be=_.builder,Ee=g;if(jie(be)){g.getInternalMethods().getUsageInstance().freeze();let Oe=be(g.getInternalMethods().reset(S),de);if(Op(Oe))return Oe.then(Y=>(Ee=JHe(Y)?Y:g,this.parseAndUpdateUsage(c,_,Ee,w,z,ie)))}else SBt(be)&&(g.getInternalMethods().getUsageInstance().freeze(),Ee=g.getInternalMethods().reset(S),Object.keys(_.builder).forEach(Oe=>{Ee.option(Oe,be[Oe])}));return this.parseAndUpdateUsage(c,_,Ee,w,z,ie)}parseAndUpdateUsage(c,_,g,S,w,z){c&&g.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(g)&&g.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(S,_),_.description);let ie=g.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,w,z);return Op(ie)?ie.then(de=>({aliases:g.parsed.aliases,innerArgv:de})):{aliases:g.parsed.aliases,innerArgv:ie}}shouldUpdateUsage(c){return!c.getInternalMethods().getUsageInstance().getUsageDisabled()&&c.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(c,_){let g=kL.test(_.original)?_.original.replace(kL,"").trim():_.original,S=c.filter(w=>!kL.test(w));return S.push(g),`$0 ${S.join(" ")}`}handleValidationAndGetResult(c,_,g,S,w,z,ie,de){if(!z.getInternalMethods().getHasOutput()){let be=z.getInternalMethods().runValidation(w,de,z.parsed.error,c);g=xP(g,Ee=>(be(Ee),Ee))}if(_.handler&&!z.getInternalMethods().getHasOutput()){z.getInternalMethods().setHasOutput();let be=!!z.getOptions().configuration["populate--"];z.getInternalMethods().postProcess(g,be,!1,!1),g=EP(g,z,ie,!1),g=xP(g,Ee=>{let Oe=_.handler(Ee);return Op(Oe)?Oe.then(()=>Ee):Ee}),c||z.getInternalMethods().getUsageInstance().cacheHelpMessage(),Op(g)&&!z.getInternalMethods().hasParseCallback()&&g.catch(Ee=>{try{z.getInternalMethods().getUsageInstance().fail(null,Ee)}catch{}})}return c||(S.commands.pop(),S.fullCommands.pop()),g}applyMiddlewareAndGetResult(c,_,g,S,w,z,ie){let de={};if(w)return g;ie.getInternalMethods().getHasOutput()||(de=this.populatePositionals(_,g,S,ie));let be=this.globalMiddleware.getMiddleware().slice(0).concat(_.middlewares),Ee=EP(g,ie,be,!0);return Op(Ee)?Ee.then(Oe=>this.handleValidationAndGetResult(c,_,Oe,S,z,ie,be,de)):this.handleValidationAndGetResult(c,_,Ee,S,z,ie,be,de)}populatePositionals(c,_,g,S){_._=_._.slice(g.commands.length);let w=c.demanded.slice(0),z=c.optional.slice(0),ie={};for(this.validation.positionalCount(w.length,_._.length);w.length;){let de=w.shift();this.populatePositional(de,_,ie)}for(;z.length;){let de=z.shift();this.populatePositional(de,_,ie)}return _._=g.commands.concat(_._.map(de=>""+de)),this.postProcessPositionals(_,ie,this.cmdToParseOptions(c.original),S),ie}populatePositional(c,_,g){let S=c.cmd[0];c.variadic?g[S]=_._.splice(0).map(String):_._.length&&(g[S]=[String(_._.shift())])}cmdToParseOptions(c){let _={array:[],default:{},alias:{},demand:{}},g=l4(c);return g.demanded.forEach(S=>{let[w,...z]=S.cmd;S.variadic&&(_.array.push(w),_.default[w]=[]),_.alias[w]=z,_.demand[w]=!0}),g.optional.forEach(S=>{let[w,...z]=S.cmd;S.variadic&&(_.array.push(w),_.default[w]=[]),_.alias[w]=z}),_}postProcessPositionals(c,_,g,S){let w=Object.assign({},S.getOptions());w.default=Object.assign(g.default,w.default);for(let be of Object.keys(g.alias))w.alias[be]=(w.alias[be]||[]).concat(g.alias[be]);w.array=w.array.concat(g.array),w.config={};let z=[];if(Object.keys(_).forEach(be=>{_[be].map(Ee=>{w.configuration["unknown-options-as-args"]&&(w.key[be]=!0),z.push(`--${be}`),z.push(Ee)})}),!z.length)return;let ie=Object.assign({},w.configuration,{"populate--":!1}),de=this.shim.Parser.detailed(z,Object.assign({},w,{configuration:ie}));if(de.error)S.getInternalMethods().getUsageInstance().fail(de.error.message,de.error);else{let be=Object.keys(_);Object.keys(_).forEach(Ee=>{be.push(...de.aliases[Ee])}),Object.keys(de.argv).forEach(Ee=>{be.includes(Ee)&&(_[Ee]||(_[Ee]=de.argv[Ee]),!this.isInConfigs(S,Ee)&&!this.isDefaulted(S,Ee)&&Object.prototype.hasOwnProperty.call(c,Ee)&&Object.prototype.hasOwnProperty.call(de.argv,Ee)&&(Array.isArray(c[Ee])||Array.isArray(de.argv[Ee]))?c[Ee]=[].concat(c[Ee],de.argv[Ee]):c[Ee]=de.argv[Ee])})}}isDefaulted(c,_){let{default:g}=c.getOptions();return Object.prototype.hasOwnProperty.call(g,_)||Object.prototype.hasOwnProperty.call(g,this.shim.Parser.camelCase(_))}isInConfigs(c,_){let{configObjects:g}=c.getOptions();return g.some(S=>Object.prototype.hasOwnProperty.call(S,_))||g.some(S=>Object.prototype.hasOwnProperty.call(S,this.shim.Parser.camelCase(_)))}runDefaultBuilderOn(c){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(c)){let g=kL.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");c.getInternalMethods().getUsageInstance().usage(g,this.defaultCommand.description)}let _=this.defaultCommand.builder;if(jie(_))return _(c,!0);BHe(_)||Object.keys(_).forEach(g=>{c.option(g,_[g])})}moduleName(c){let _=YEe(c);if(!_)throw new Error(`No command name given for module: ${this.shim.inspect(c)}`);return this.commandFromFilename(_.filename)}commandFromFilename(c){return this.shim.path.basename(c,this.shim.path.extname(c))}extractDesc({describe:c,description:_,desc:g}){for(let S of[c,_,g]){if(typeof S=="string"||S===!1)return S;ky(S,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let c=this.frozens.pop();ky(c,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=c}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}};function jHe(p,c,_,g){return new ZEe(p,c,_,g)}function BHe(p){return typeof p=="object"&&!!p.builder&&typeof p.handler=="function"}function CBt(p){return p.every(c=>typeof c=="string")}function jie(p){return typeof p=="function"}function SBt(p){return typeof p=="object"}function EBt(p){return typeof p=="object"&&!Array.isArray(p)}function f4(p={},c=()=>!0){let _={};return FL(p).forEach(g=>{c(g,p[g])&&(_[g]=p[g])}),_}function _4(p){typeof process>"u"||[process.stdout,process.stderr].forEach(c=>{let _=c;_._handle&&_.isTTY&&typeof _._handle.setBlocking=="function"&&_._handle.setBlocking(p)})}function xBt(p){return typeof p=="boolean"}function zHe(p,c){let _=c.y18n.__,g={},S=[];g.failFn=function(Os){S.push(Os)};let w=null,z=null,ie=!0;g.showHelpOnFail=function(Os=!0,Js){let[Rr,wo]=typeof Os=="string"?[!0,Os]:[Os,Js];return p.getInternalMethods().isGlobalContext()&&(z=wo),w=wo,ie=Rr,g};let de=!1;g.fail=function(Os,Js){let Rr=p.getInternalMethods().getLoggerInstance();if(S.length)for(let wo=S.length-1;wo>=0;--wo){let Ro=S[wo];if(xBt(Ro)){if(Js)throw Js;if(Os)throw Error(Os)}else Ro(Os,Js,g)}else{if(p.getExitProcess()&&_4(!0),!de){de=!0,ie&&(p.showHelp("error"),Rr.error()),(Os||Js)&&Rr.error(Os||Js);let wo=w||z;wo&&((Os||Js)&&Rr.error(""),Rr.error(wo))}if(Js=Js||new Np(Os),p.getExitProcess())return p.exit(1);if(p.getInternalMethods().hasParseCallback())return p.exit(1,Js);throw Js}};let be=[],Ee=!1;g.usage=(xn,Os)=>xn===null?(Ee=!0,be=[],g):(Ee=!1,be.push([xn,Os||""]),g),g.getUsage=()=>be,g.getUsageDisabled=()=>Ee,g.getPositionalGroupName=()=>_("Positionals:");let Oe=[];g.example=(xn,Os)=>{Oe.push([xn,Os||""])};let Y=[];g.command=function(Os,Js,Rr,wo,Ro=!1){Rr&&(Y=Y.map(hr=>(hr[2]=!1,hr))),Y.push([Os,Js||"",Rr,wo,Ro])},g.getCommands=()=>Y;let ut={};g.describe=function(Os,Js){Array.isArray(Os)?Os.forEach(Rr=>{g.describe(Rr,Js)}):typeof Os=="object"?Object.keys(Os).forEach(Rr=>{g.describe(Rr,Os[Rr])}):ut[Os]=Js},g.getDescriptions=()=>ut;let Ye=[];g.epilog=xn=>{Ye.push(xn)};let We=!1,Ut;g.wrap=xn=>{We=!0,Ut=xn},g.getWrap=()=>c.getEnv("YARGS_DISABLE_WRAP")?null:(We||(Ut=hc(),We=!0),Ut);let _r="__yargsString__:";g.deferY18nLookup=xn=>_r+xn,g.help=function(){if(Hi)return Hi;On();let Os=p.customScriptName?p.$0:c.path.basename(p.$0),Js=p.getDemandedOptions(),Rr=p.getDemandedCommands(),wo=p.getDeprecatedOptions(),Ro=p.getGroups(),hr=p.getOptions(),Sl=[];Sl=Sl.concat(Object.keys(ut)),Sl=Sl.concat(Object.keys(Js)),Sl=Sl.concat(Object.keys(Rr)),Sl=Sl.concat(Object.keys(hr.default)),Sl=Sl.filter(Hn),Sl=Object.keys(Sl.reduce((jn,Wo)=>(Wo!=="_"&&(jn[Wo]=!0),jn),{}));let lc=g.getWrap(),Ko=c.cliui({width:lc,wrap:!!lc});if(!Ee){if(be.length)be.forEach(jn=>{Ko.div({text:`${jn[0].replace(/\$0/g,Os)}`}),jn[1]&&Ko.div({text:`${jn[1]}`,padding:[1,0,0,0]})}),Ko.div();else if(Y.length){let jn=null;Rr._?jn=`${Os} <${_("command")}>
806
- `:jn=`${Os} [${_("command")}]
807
- `,Ko.div(`${jn}`)}}if(Y.length>1||Y.length===1&&!Y[0][2]){Ko.div(_("Commands:"));let jn=p.getInternalMethods().getContext(),Wo=jn.commands.length?`${jn.commands.join(" ")} `:"";p.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(Y=Y.sort((Mo,wu)=>Mo[0].localeCompare(wu[0])));let fu=Os?`${Os} `:"";Y.forEach(Mo=>{let wu=`${fu}${Wo}${Mo[0].replace(/^\$0 ?/,"")}`;Ko.span({text:wu,padding:[0,2,0,2],width:Hr(Y,lc,`${Os}${Wo}`)+4},{text:Mo[1]});let _l=[];Mo[2]&&_l.push(`[${_("default")}]`),Mo[3]&&Mo[3].length&&_l.push(`[${_("aliases:")} ${Mo[3].join(", ")}]`),Mo[4]&&(typeof Mo[4]=="string"?_l.push(`[${_("deprecated: %s",Mo[4])}]`):_l.push(`[${_("deprecated")}]`)),_l.length?Ko.div({text:_l.join(" "),padding:[0,0,0,2],align:"right"}):Ko.div()}),Ko.div()}let Zs=(Object.keys(hr.alias)||[]).concat(Object.keys(p.parsed.newAliases)||[]);Sl=Sl.filter(jn=>!p.parsed.newAliases[jn]&&Zs.every(Wo=>(hr.alias[Wo]||[]).indexOf(jn)===-1));let jp=_("Options:");Ro[jp]||(Ro[jp]=[]),us(Sl,hr.alias,Ro,jp);let By=jn=>/^--/.test(Jie(jn)),zo=Object.keys(Ro).filter(jn=>Ro[jn].length>0).map(jn=>{let Wo=Ro[jn].filter(Hn).map(fu=>{if(Zs.includes(fu))return fu;for(let Mo=0,wu;(wu=Zs[Mo])!==void 0;Mo++)if((hr.alias[wu]||[]).includes(fu))return wu;return fu});return{groupName:jn,normalizedKeys:Wo}}).filter(({normalizedKeys:jn})=>jn.length>0).map(({groupName:jn,normalizedKeys:Wo})=>{let fu=Wo.reduce((Mo,wu)=>(Mo[wu]=[wu].concat(hr.alias[wu]||[]).map(_l=>jn===g.getPositionalGroupName()?_l:(/^[0-9]$/.test(_l)?hr.boolean.includes(wu)?"-":"--":_l.length>1?"--":"-")+_l).sort((_l,Jp)=>By(_l)===By(Jp)?0:By(_l)?1:-1).join(", "),Mo),{});return{groupName:jn,normalizedKeys:Wo,switches:fu}});if(zo.filter(({groupName:jn})=>jn!==g.getPositionalGroupName()).some(({normalizedKeys:jn,switches:Wo})=>!jn.every(fu=>By(Wo[fu])))&&zo.filter(({groupName:jn})=>jn!==g.getPositionalGroupName()).forEach(({normalizedKeys:jn,switches:Wo})=>{jn.forEach(fu=>{By(Wo[fu])&&(Wo[fu]=TBt(Wo[fu],4))})}),zo.forEach(({groupName:jn,normalizedKeys:Wo,switches:fu})=>{Ko.div(jn),Wo.forEach(Mo=>{let wu=fu[Mo],_l=ut[Mo]||"",Jp=null;_l.includes(_r)&&(_l=_(_l.substring(_r.length))),hr.boolean.includes(Mo)&&(Jp=`[${_("boolean")}]`),hr.count.includes(Mo)&&(Jp=`[${_("count")}]`),hr.string.includes(Mo)&&(Jp=`[${_("string")}]`),hr.normalize.includes(Mo)&&(Jp=`[${_("string")}]`),hr.array.includes(Mo)&&(Jp=`[${_("array")}]`),hr.number.includes(Mo)&&(Jp=`[${_("number")}]`);let ht=Ln=>typeof Ln=="string"?`[${_("deprecated: %s",Ln)}]`:`[${_("deprecated")}]`,Qg=[Mo in wo?ht(wo[Mo]):null,Jp,Mo in Js?`[${_("required")}]`:null,hr.choices&&hr.choices[Mo]?`[${_("choices:")} ${g.stringifiedValues(hr.choices[Mo])}]`:null,an(hr.default[Mo],hr.defaultDescription[Mo])].filter(Boolean).join(" ");Ko.span({text:Jie(wu),padding:[0,2,0,2+qHe(wu)],width:Hr(fu,lc)+4},_l);let Ht=p.getInternalMethods().getUsageConfiguration()["hide-types"]===!0;Qg&&!Ht?Ko.div({text:Qg,padding:[0,0,0,2],align:"right"}):Ko.div()}),Ko.div()}),Oe.length&&(Ko.div(_("Examples:")),Oe.forEach(jn=>{jn[0]=jn[0].replace(/\$0/g,Os)}),Oe.forEach(jn=>{jn[1]===""?Ko.div({text:jn[0],padding:[0,2,0,2]}):Ko.div({text:jn[0],padding:[0,2,0,2],width:Hr(Oe,lc)+4},{text:jn[1]})}),Ko.div()),Ye.length>0){let jn=Ye.map(Wo=>Wo.replace(/\$0/g,Os)).join(`
804
+ `),w.border&&(S.unshift("."+"-".repeat(this.negatePadding(w)+2)+"."),S.push("'"+"-".repeat(this.negatePadding(w)+2)+"'")),w.padding&&(S.unshift(...new Array(w.padding[sBt]||0).fill("")),S.push(...new Array(w.padding[aBt]||0).fill(""))),S.forEach((ie,de)=>{p[de]||p.push([]);let be=p[de];for(let Ee=0;Ee<z;Ee++)be[Ee]===void 0&&be.push("");be.push(ie)})}),p}negatePadding(c){let p=c.width||0;return c.padding&&(p-=(c.padding[wie]||0)+(c.padding[Iie]||0)),c.border&&(p-=4),p}columnWidths(c){if(!this.wrap)return c.map(z=>z.width||b2.stringWidth(z.text));let p=c.length,g=this.width,S=c.map(z=>{if(z.width)return p--,g-=z.width,z.width}),w=p?Math.floor(g/p):0;return S.map((z,ie)=>z===void 0?Math.max(w,oBt(c[ie])):z)}};function _He(_,c,p){return _.border?/[.']-+[.']/.test(c)?"":c.trim().length!==0?p:" ":""}function oBt(_){let c=_.padding||[],p=1+(c[wie]||0)+(c[Iie]||0);return _.border?p+4:p}function cBt(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function uBt(_,c){_=_.trim();let p=b2.stringWidth(_);return p<c?" ".repeat(c-p)+_:_}function lBt(_,c){_=_.trim();let p=b2.stringWidth(_);return p>=c?_:" ".repeat(c-p>>1)+_}var b2;function pHe(_,c){return b2=c,new JEe({width:_?.width||cBt(),wrap:_?.wrap})}var dHe=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function qEe(_){return _.replace(dHe,"")}function mHe(_,c){let[p,g]=_.match(dHe)||["",""];_=qEe(_);let S="";for(let w=0;w<_.length;w++)w!==0&&w%c===0&&(S+=`
805
+ `),S+=_.charAt(w);return p&&g&&(S=`${p}${S}${g}`),S}function zEe(_){return pHe(_,{stringWidth:c=>[...c].length,stripAnsi:qEe,wrap:mHe})}var TL=require("path"),Pie=require("fs");function hHe(_,c){let p=(0,TL.resolve)(".",_),g;for((0,Pie.statSync)(p).isDirectory()||(p=(0,TL.dirname)(p));;){if(g=c(p,(0,Pie.readdirSync)(p)),g)return(0,TL.resolve)(p,g);if(p=(0,TL.dirname)(g=p),g===p)break}}var PHe=require("util"),NHe=require("fs"),OHe=require("url");var bHe=require("util"),Rie=require("path");function SP(_){if(_!==_.toLowerCase()&&_!==_.toUpperCase()||(_=_.toLowerCase()),_.indexOf("-")===-1&&_.indexOf("_")===-1)return _;{let p="",g=!1,S=_.match(/^-+/);for(let w=S?S[0].length:0;w<_.length;w++){let z=_.charAt(w);g&&(g=!1,z=z.toUpperCase()),w!==0&&(z==="-"||z==="_")?g=!0:z!=="-"&&z!=="_"&&(p+=z)}return p}}function Nie(_,c){let p=_.toLowerCase();c=c||"-";let g="";for(let S=0;S<_.length;S++){let w=p.charAt(S),z=_.charAt(S);w!==z&&S>0?g+=`${c}${p.charAt(S)}`:g+=z}return g}function Oie(_){return _==null?!1:typeof _=="number"||/^0x[0-9a-f]+$/i.test(_)?!0:/^0[^.]/.test(_)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(_)}function gHe(_){if(Array.isArray(_))return _.map(z=>typeof z!="string"?z+"":z);_=_.trim();let c=0,p=null,g=null,S=null,w=[];for(let z=0;z<_.length;z++){if(p=g,g=_.charAt(z),g===" "&&!S){p!==" "&&c++;continue}g===S?S=null:(g==="'"||g==='"')&&!S&&(S=g),w[c]||(w[c]=""),w[c]+=g}return w}var oC;(function(_){_.BOOLEAN="boolean",_.STRING="string",_.NUMBER="number",_.ARRAY="array"})(oC||(oC={}));var rk,Lie=class{constructor(c){rk=c}parse(c,p){let g=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},p),S=gHe(c),w=typeof c=="string",z=fBt(Object.assign(Object.create(null),g.alias)),ie=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},g.configuration),de=Object.assign(Object.create(null),g.default),be=g.configObjects||[],Ee=g.envPrefix,Oe=ie["populate--"],Y=Oe?"--":"_",ut=Object.create(null),Ye=Object.create(null),We=g.__||rk.format,Ut={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},_r=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,Hr=new RegExp("^--"+ie["negation-prefix"]+"(.+)");[].concat(g.array||[]).filter(Boolean).forEach(function(Ht){let Ln=typeof Ht=="object"?Ht.key:Ht,qs=Object.keys(Ht).map(function(Oi){return{boolean:"bools",string:"strings",number:"numbers"}[Oi]}).filter(Boolean).pop();qs&&(Ut[qs][Ln]=!0),Ut.arrays[Ln]=!0,Ut.keys.push(Ln)}),[].concat(g.boolean||[]).filter(Boolean).forEach(function(Ht){Ut.bools[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.string||[]).filter(Boolean).forEach(function(Ht){Ut.strings[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.number||[]).filter(Boolean).forEach(function(Ht){Ut.numbers[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.count||[]).filter(Boolean).forEach(function(Ht){Ut.counts[Ht]=!0,Ut.keys.push(Ht)}),[].concat(g.normalize||[]).filter(Boolean).forEach(function(Ht){Ut.normalize[Ht]=!0,Ut.keys.push(Ht)}),typeof g.narg=="object"&&Object.entries(g.narg).forEach(([Ht,Ln])=>{typeof Ln=="number"&&(Ut.nargs[Ht]=Ln,Ut.keys.push(Ht))}),typeof g.coerce=="object"&&Object.entries(g.coerce).forEach(([Ht,Ln])=>{typeof Ln=="function"&&(Ut.coercions[Ht]=Ln,Ut.keys.push(Ht))}),typeof g.config<"u"&&(Array.isArray(g.config)||typeof g.config=="string"?[].concat(g.config).filter(Boolean).forEach(function(Ht){Ut.configs[Ht]=!0}):typeof g.config=="object"&&Object.entries(g.config).forEach(([Ht,Ln])=>{(typeof Ln=="boolean"||typeof Ln=="function")&&(Ut.configs[Ht]=Ln)})),By(g.key,z,g.default,Ut.arrays),Object.keys(de).forEach(function(Ht){(Ut.aliases[Ht]||[]).forEach(function(Ln){de[Ln]=de[Ht]})});let On=null;Qg();let Hi=[],us=Object.assign(Object.create(null),{_:[]}),Hn={};for(let Ht=0;Ht<S.length;Ht++){let Ln=S[Ht],qs=Ln.replace(/^-{3,}/,"---"),Oi,Rn,Ca,Ia,bo,Yl;if(Ln!=="--"&&/^-/.test(Ln)&&fu(Ln))an(Ln);else if(qs.match(/^---+(=|$)/)){an(Ln);continue}else if(Ln.match(/^--.+=/)||!ie["short-option-groups"]&&Ln.match(/^-.+=/))Ia=Ln.match(/^--?([^=]+)=([\s\S]*)$/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=3&&(zo(Ia[1],Ut.arrays)?Ht=ma(Ht,Ia[1],S,Ia[2]):zo(Ia[1],Ut.nargs)!==!1?Ht=hc(Ht,Ia[1],S,Ia[2]):ic(Ia[1],Ia[2],!0));else if(Ln.match(Hr)&&ie["boolean-negation"])Ia=Ln.match(Hr),Ia!==null&&Array.isArray(Ia)&&Ia.length>=2&&(Rn=Ia[1],ic(Rn,zo(Rn,Ut.arrays)?[!1]:!1));else if(Ln.match(/^--.+/)||!ie["short-option-groups"]&&Ln.match(/^-[^-]+/))Ia=Ln.match(/^--?(.+)/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=2&&(Rn=Ia[1],zo(Rn,Ut.arrays)?Ht=ma(Ht,Rn,S):zo(Rn,Ut.nargs)!==!1?Ht=hc(Ht,Rn,S):(bo=S[Ht+1],bo!==void 0&&(!bo.match(/^-/)||bo.match(_r))&&!zo(Rn,Ut.bools)&&!zo(Rn,Ut.counts)||/^(true|false)$/.test(bo)?(ic(Rn,bo),Ht++):ic(Rn,wu(Rn))));else if(Ln.match(/^-.\..+=/))Ia=Ln.match(/^-([^=]+)=([\s\S]*)$/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=3&&ic(Ia[1],Ia[2]);else if(Ln.match(/^-.\..+/)&&!Ln.match(_r))bo=S[Ht+1],Ia=Ln.match(/^-(.\..+)/),Ia!==null&&Array.isArray(Ia)&&Ia.length>=2&&(Rn=Ia[1],bo!==void 0&&!bo.match(/^-/)&&!zo(Rn,Ut.bools)&&!zo(Rn,Ut.counts)?(ic(Rn,bo),Ht++):ic(Rn,wu(Rn)));else if(Ln.match(/^-[^-]+/)&&!Ln.match(_r)){Ca=Ln.slice(1,-1).split(""),Oi=!1;for(let td=0;td<Ca.length;td++){if(bo=Ln.slice(td+2),Ca[td+1]&&Ca[td+1]==="="){Yl=Ln.slice(td+3),Rn=Ca[td],zo(Rn,Ut.arrays)?Ht=ma(Ht,Rn,S,Yl):zo(Rn,Ut.nargs)!==!1?Ht=hc(Ht,Rn,S,Yl):ic(Rn,Yl),Oi=!0;break}if(bo==="-"){ic(Ca[td],bo);continue}if(/[A-Za-z]/.test(Ca[td])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(bo)&&zo(bo,Ut.bools)===!1){ic(Ca[td],bo),Oi=!0;break}if(Ca[td+1]&&Ca[td+1].match(/\W/)){ic(Ca[td],bo),Oi=!0;break}else ic(Ca[td],wu(Ca[td]))}Rn=Ln.slice(-1)[0],!Oi&&Rn!=="-"&&(zo(Rn,Ut.arrays)?Ht=ma(Ht,Rn,S):zo(Rn,Ut.nargs)!==!1?Ht=hc(Ht,Rn,S):(bo=S[Ht+1],bo!==void 0&&(!/^(-|--)[^-]/.test(bo)||bo.match(_r))&&!zo(Rn,Ut.bools)&&!zo(Rn,Ut.counts)||/^(true|false)$/.test(bo)?(ic(Rn,bo),Ht++):ic(Rn,wu(Rn))))}else if(Ln.match(/^-[0-9]$/)&&Ln.match(_r)&&zo(Ln.slice(1),Ut.bools))Rn=Ln.slice(1),ic(Rn,wu(Rn));else if(Ln==="--"){Hi=S.slice(Ht+1);break}else if(ie["halt-at-non-option"]){Hi=S.slice(Ht);break}else an(Ln)}hr(us,!0),hr(us,!1),Rr(us),Ro(),Ko(us,Ut.aliases,de,!0),Sl(us),ie["set-placeholder-key"]&&lc(us),Object.keys(Ut.counts).forEach(function(Ht){Zs(us,Ht.split("."))||ic(Ht,0)}),Oe&&Hi.length&&(us[Y]=[]),Hi.forEach(function(Ht){us[Y].push(Ht)}),ie["camel-case-expansion"]&&ie["strip-dashed"]&&Object.keys(us).filter(Ht=>Ht!=="--"&&Ht.includes("-")).forEach(Ht=>{delete us[Ht]}),ie["strip-aliased"]&&[].concat(...Object.keys(z).map(Ht=>z[Ht])).forEach(Ht=>{ie["camel-case-expansion"]&&Ht.includes("-")&&delete us[Ht.split(".").map(Ln=>SP(Ln)).join(".")],delete us[Ht]});function an(Ht){let Ln=Js("_",Ht);(typeof Ln=="string"||typeof Ln=="number")&&us._.push(Ln)}function hc(Ht,Ln,qs,Oi){let Rn,Ca=zo(Ln,Ut.nargs);if(Ca=typeof Ca!="number"||isNaN(Ca)?1:Ca,Ca===0)return ht(Oi)||(On=Error(We("Argument unexpected for: %s",Ln))),ic(Ln,wu(Ln)),Ht;let Ia=ht(Oi)?0:1;if(ie["nargs-eats-options"])qs.length-(Ht+1)+Ia<Ca&&(On=Error(We("Not enough arguments following: %s",Ln))),Ia=Ca;else{for(Rn=Ht+1;Rn<qs.length&&(!qs[Rn].match(/^-[^0-9]/)||qs[Rn].match(_r)||fu(qs[Rn]));Rn++)Ia++;Ia<Ca&&(On=Error(We("Not enough arguments following: %s",Ln)))}let bo=Math.min(Ia,Ca);for(!ht(Oi)&&bo>0&&(ic(Ln,Oi),bo--),Rn=Ht+1;Rn<bo+Ht+1;Rn++)ic(Ln,qs[Rn]);return Ht+bo}function ma(Ht,Ln,qs,Oi){let Rn=[],Ca=Oi||qs[Ht+1],Ia=zo(Ln,Ut.nargs);if(zo(Ln,Ut.bools)&&!/^(true|false)$/.test(Ca))Rn.push(!0);else if(ht(Ca)||ht(Oi)&&/^-/.test(Ca)&&!_r.test(Ca)&&!fu(Ca)){if(de[Ln]!==void 0){let bo=de[Ln];Rn=Array.isArray(bo)?bo:[bo]}}else{ht(Oi)||Rn.push(Os(Ln,Oi,!0));for(let bo=Ht+1;bo<qs.length&&!(!ie["greedy-arrays"]&&Rn.length>0||Ia&&typeof Ia=="number"&&Rn.length>=Ia||(Ca=qs[bo],/^-/.test(Ca)&&!_r.test(Ca)&&!fu(Ca)));bo++)Ht=bo,Rn.push(Os(Ln,Ca,w))}return typeof Ia=="number"&&(Ia&&Rn.length<Ia||isNaN(Ia)&&Rn.length===0)&&(On=Error(We("Not enough arguments following: %s",Ln))),ic(Ln,Rn),Ht}function ic(Ht,Ln,qs=w){if(/-/.test(Ht)&&ie["camel-case-expansion"]){let Ca=Ht.split(".").map(function(Ia){return SP(Ia)}).join(".");xn(Ht,Ca)}let Oi=Os(Ht,Ln,qs),Rn=Ht.split(".");jp(us,Rn,Oi),Ut.aliases[Ht]&&Ut.aliases[Ht].forEach(function(Ca){let Ia=Ca.split(".");jp(us,Ia,Oi)}),Rn.length>1&&ie["dot-notation"]&&(Ut.aliases[Rn[0]]||[]).forEach(function(Ca){let Ia=Ca.split("."),bo=[].concat(Rn);bo.shift(),Ia=Ia.concat(bo),(Ut.aliases[Ht]||[]).includes(Ia.join("."))||jp(us,Ia,Oi)}),zo(Ht,Ut.normalize)&&!zo(Ht,Ut.arrays)&&[Ht].concat(Ut.aliases[Ht]||[]).forEach(function(Ia){Object.defineProperty(Hn,Ia,{enumerable:!0,get(){return Ln},set(bo){Ln=typeof bo=="string"?rk.normalize(bo):bo}})})}function xn(Ht,Ln){Ut.aliases[Ht]&&Ut.aliases[Ht].length||(Ut.aliases[Ht]=[Ln],ut[Ln]=!0),Ut.aliases[Ln]&&Ut.aliases[Ln].length||xn(Ln,Ht)}function Os(Ht,Ln,qs){qs&&(Ln=_Bt(Ln)),(zo(Ht,Ut.bools)||zo(Ht,Ut.counts))&&typeof Ln=="string"&&(Ln=Ln==="true");let Oi=Array.isArray(Ln)?Ln.map(function(Rn){return Js(Ht,Rn)}):Js(Ht,Ln);return zo(Ht,Ut.counts)&&(ht(Oi)||typeof Oi=="boolean")&&(Oi=WEe()),zo(Ht,Ut.normalize)&&zo(Ht,Ut.arrays)&&(Array.isArray(Ln)?Oi=Ln.map(Rn=>rk.normalize(Rn)):Oi=rk.normalize(Ln)),Oi}function Js(Ht,Ln){return!ie["parse-positional-numbers"]&&Ht==="_"||!zo(Ht,Ut.strings)&&!zo(Ht,Ut.bools)&&!Array.isArray(Ln)&&(Oie(Ln)&&ie["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${Ln}`)))||!ht(Ln)&&zo(Ht,Ut.numbers))&&(Ln=Number(Ln)),Ln}function Rr(Ht){let Ln=Object.create(null);Ko(Ln,Ut.aliases,de),Object.keys(Ut.configs).forEach(function(qs){let Oi=Ht[qs]||Ln[qs];if(Oi)try{let Rn=null,Ca=rk.resolve(rk.cwd(),Oi),Ia=Ut.configs[qs];if(typeof Ia=="function"){try{Rn=Ia(Ca)}catch(bo){Rn=bo}if(Rn instanceof Error){On=Rn;return}}else Rn=rk.require(Ca);wo(Rn)}catch(Rn){Rn.name==="PermissionDenied"?On=Rn:Ht[qs]&&(On=Error(We("Invalid JSON config file: %s",Oi)))}})}function wo(Ht,Ln){Object.keys(Ht).forEach(function(qs){let Oi=Ht[qs],Rn=Ln?Ln+"."+qs:qs;typeof Oi=="object"&&Oi!==null&&!Array.isArray(Oi)&&ie["dot-notation"]?wo(Oi,Rn):(!Zs(us,Rn.split("."))||zo(Rn,Ut.arrays)&&ie["combine-arrays"])&&ic(Rn,Oi)})}function Ro(){typeof be<"u"&&be.forEach(function(Ht){wo(Ht)})}function hr(Ht,Ln){if(typeof Ee>"u")return;let qs=typeof Ee=="string"?Ee:"",Oi=rk.env();Object.keys(Oi).forEach(function(Rn){if(qs===""||Rn.lastIndexOf(qs,0)===0){let Ca=Rn.split("__").map(function(Ia,bo){return bo===0&&(Ia=Ia.substring(qs.length)),SP(Ia)});(Ln&&Ut.configs[Ca.join(".")]||!Ln)&&!Zs(Ht,Ca)&&ic(Ca.join("."),Oi[Rn])}})}function Sl(Ht){let Ln,qs=new Set;Object.keys(Ht).forEach(function(Oi){if(!qs.has(Oi)&&(Ln=zo(Oi,Ut.coercions),typeof Ln=="function"))try{let Rn=Js(Oi,Ln(Ht[Oi]));[].concat(Ut.aliases[Oi]||[],Oi).forEach(Ca=>{qs.add(Ca),Ht[Ca]=Rn})}catch(Rn){On=Rn}})}function lc(Ht){return Ut.keys.forEach(Ln=>{~Ln.indexOf(".")||typeof Ht[Ln]>"u"&&(Ht[Ln]=void 0)}),Ht}function Ko(Ht,Ln,qs,Oi=!1){Object.keys(qs).forEach(function(Rn){Zs(Ht,Rn.split("."))||(jp(Ht,Rn.split("."),qs[Rn]),Oi&&(Ye[Rn]=!0),(Ln[Rn]||[]).forEach(function(Ca){Zs(Ht,Ca.split("."))||jp(Ht,Ca.split("."),qs[Rn])}))})}function Zs(Ht,Ln){let qs=Ht;ie["dot-notation"]||(Ln=[Ln.join(".")]),Ln.slice(0,-1).forEach(function(Rn){qs=qs[Rn]||{}});let Oi=Ln[Ln.length-1];return typeof qs!="object"?!1:Oi in qs}function jp(Ht,Ln,qs){let Oi=Ht;ie["dot-notation"]||(Ln=[Ln.join(".")]),Ln.slice(0,-1).forEach(function(Yl){Yl=yHe(Yl),typeof Oi=="object"&&Oi[Yl]===void 0&&(Oi[Yl]={}),typeof Oi[Yl]!="object"||Array.isArray(Oi[Yl])?(Array.isArray(Oi[Yl])?Oi[Yl].push({}):Oi[Yl]=[Oi[Yl],{}],Oi=Oi[Yl][Oi[Yl].length-1]):Oi=Oi[Yl]});let Rn=yHe(Ln[Ln.length-1]),Ca=zo(Ln.join("."),Ut.arrays),Ia=Array.isArray(qs),bo=ie["duplicate-arguments-array"];!bo&&zo(Rn,Ut.nargs)&&(bo=!0,(!ht(Oi[Rn])&&Ut.nargs[Rn]===1||Array.isArray(Oi[Rn])&&Oi[Rn].length===Ut.nargs[Rn])&&(Oi[Rn]=void 0)),qs===WEe()?Oi[Rn]=WEe(Oi[Rn]):Array.isArray(Oi[Rn])?bo&&Ca&&Ia?Oi[Rn]=ie["flatten-duplicate-arrays"]?Oi[Rn].concat(qs):(Array.isArray(Oi[Rn][0])?Oi[Rn]:[Oi[Rn]]).concat([qs]):!bo&&!!Ca==!!Ia?Oi[Rn]=qs:Oi[Rn]=Oi[Rn].concat([qs]):Oi[Rn]===void 0&&Ca?Oi[Rn]=Ia?qs:[qs]:bo&&!(Oi[Rn]===void 0||zo(Rn,Ut.counts)||zo(Rn,Ut.bools))?Oi[Rn]=[Oi[Rn],qs]:Oi[Rn]=qs}function By(...Ht){Ht.forEach(function(Ln){Object.keys(Ln||{}).forEach(function(qs){Ut.aliases[qs]||(Ut.aliases[qs]=[].concat(z[qs]||[]),Ut.aliases[qs].concat(qs).forEach(function(Oi){if(/-/.test(Oi)&&ie["camel-case-expansion"]){let Rn=SP(Oi);Rn!==qs&&Ut.aliases[qs].indexOf(Rn)===-1&&(Ut.aliases[qs].push(Rn),ut[Rn]=!0)}}),Ut.aliases[qs].concat(qs).forEach(function(Oi){if(Oi.length>1&&/[A-Z]/.test(Oi)&&ie["camel-case-expansion"]){let Rn=Nie(Oi,"-");Rn!==qs&&Ut.aliases[qs].indexOf(Rn)===-1&&(Ut.aliases[qs].push(Rn),ut[Rn]=!0)}}),Ut.aliases[qs].forEach(function(Oi){Ut.aliases[Oi]=[qs].concat(Ut.aliases[qs].filter(function(Rn){return Oi!==Rn}))}))})})}function zo(Ht,Ln){let qs=[].concat(Ut.aliases[Ht]||[],Ht),Oi=Object.keys(Ln),Rn=qs.find(Ca=>Oi.includes(Ca));return Rn?Ln[Rn]:!1}function zm(Ht){let Ln=Object.keys(Ut);return[].concat(Ln.map(Oi=>Ut[Oi])).some(function(Oi){return Array.isArray(Oi)?Oi.includes(Ht):Oi[Ht]})}function jn(Ht,...Ln){return[].concat(...Ln).some(function(Oi){let Rn=Ht.match(Oi);return Rn&&zm(Rn[1])})}function Wo(Ht){if(Ht.match(_r)||!Ht.match(/^-[^-]+/))return!1;let Ln=!0,qs,Oi=Ht.slice(1).split("");for(let Rn=0;Rn<Oi.length;Rn++){if(qs=Ht.slice(Rn+2),!zm(Oi[Rn])){Ln=!1;break}if(Oi[Rn+1]&&Oi[Rn+1]==="="||qs==="-"||/[A-Za-z]/.test(Oi[Rn])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(qs)||Oi[Rn+1]&&Oi[Rn+1].match(/\W/))break}return Ln}function fu(Ht){return ie["unknown-options-as-args"]&&Mo(Ht)}function Mo(Ht){return Ht=Ht.replace(/^-{3,}/,"--"),Ht.match(_r)||Wo(Ht)?!1:!jn(Ht,/^-+([^=]+?)=[\s\S]*$/,Hr,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function wu(Ht){return!zo(Ht,Ut.bools)&&!zo(Ht,Ut.counts)&&`${Ht}`in de?de[Ht]:_l(Jp(Ht))}function _l(Ht){return{[oC.BOOLEAN]:!0,[oC.STRING]:"",[oC.NUMBER]:void 0,[oC.ARRAY]:[]}[Ht]}function Jp(Ht){let Ln=oC.BOOLEAN;return zo(Ht,Ut.strings)?Ln=oC.STRING:zo(Ht,Ut.numbers)?Ln=oC.NUMBER:zo(Ht,Ut.bools)?Ln=oC.BOOLEAN:zo(Ht,Ut.arrays)&&(Ln=oC.ARRAY),Ln}function ht(Ht){return Ht===void 0}function Qg(){Object.keys(Ut.counts).find(Ht=>zo(Ht,Ut.arrays)?(On=Error(We("Invalid configuration: %s, opts.count excludes opts.array.",Ht)),!0):zo(Ht,Ut.nargs)?(On=Error(We("Invalid configuration: %s, opts.count excludes opts.narg.",Ht)),!0):!1)}return{aliases:Object.assign({},Ut.aliases),argv:Object.assign(Hn,us),configuration:ie,defaulted:Object.assign({},Ye),error:On,newAliases:Object.assign({},ut)}}};function fBt(_){let c=[],p=Object.create(null),g=!0;for(Object.keys(_).forEach(function(S){c.push([].concat(_[S],S))});g;){g=!1;for(let S=0;S<c.length;S++)for(let w=S+1;w<c.length;w++)if(c[S].filter(function(ie){return c[w].indexOf(ie)!==-1}).length){c[S]=c[S].concat(c[w]),c.splice(w,1),g=!0;break}}return c.forEach(function(S){S=S.filter(function(z,ie,de){return de.indexOf(z)===ie});let w=S.pop();w!==void 0&&typeof w=="string"&&(p[w]=S)}),p}function WEe(_){return _!==void 0?_+1:1}function yHe(_){return _==="__proto__"?"___proto___":_}function _Bt(_){return typeof _=="string"&&(_[0]==="'"||_[0]==='"')&&_[_.length-1]===_[0]?_.substring(1,_.length-1):_}var CHe=require("fs");var UEe,VEe,GEe,vHe=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,DHe=(VEe=(UEe=process==null?void 0:process.versions)===null||UEe===void 0?void 0:UEe.node)!==null&&VEe!==void 0?VEe:(GEe=process==null?void 0:process.version)===null||GEe===void 0?void 0:GEe.slice(1);if(DHe&&Number(DHe.match(/^([^.]+)/)[1])<vHe)throw Error(`yargs parser supports a minimum Node.js version of ${vHe}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var pBt=process?process.env:{},SHe=new Lie({cwd:process.cwd,env:()=>pBt,format:bHe.format,normalize:Rie.normalize,resolve:Rie.resolve,require:_=>{if(typeof require<"u")return require(_);if(_.match(/\.json$/))return JSON.parse((0,CHe.readFileSync)(_,"utf8"));throw Error("only .json config files are supported in ESM")}}),DU=function(c,p){return SHe.parse(c.slice(),p).argv};DU.detailed=function(_,c){return SHe.parse(_.slice(),c)};DU.camelCase=SP;DU.decamelize=Nie;DU.looksLikeNumber=Oie;var $Ee=DU;var QS=require("path");function EHe(){return dBt()?0:1}function dBt(){return mBt()&&!process.defaultApp}function mBt(){return!!process.versions.electron}function HEe(_){return _.slice(EHe()+1)}function xHe(){return process.argv[EHe()]}var Np=class _ extends Error{constructor(c){super(c||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,_)}};var AL=require("fs"),THe=require("util"),AHe=require("path"),FHe={fs:{readFileSync:AL.readFileSync,writeFile:AL.writeFile},format:THe.format,resolve:AHe.resolve,exists:_=>{try{return(0,AL.statSync)(_).isFile()}catch{return!1}}};var KS,KEe=class{constructor(c){c=c||{},this.directory=c.directory||"./locales",this.updateFiles=typeof c.updateFiles=="boolean"?c.updateFiles:!0,this.locale=c.locale||"en",this.fallbackToLanguage=typeof c.fallbackToLanguage=="boolean"?c.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...c){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let p=c.shift(),g=function(){};return typeof c[c.length-1]=="function"&&(g=c.pop()),g=g||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][p]&&this.updateFiles?(this.cache[this.locale][p]=p,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:g})):g(),KS.format.apply(KS.format,[this.cache[this.locale][p]||p].concat(c))}__n(){let c=Array.prototype.slice.call(arguments),p=c.shift(),g=c.shift(),S=c.shift(),w=function(){};typeof c[c.length-1]=="function"&&(w=c.pop()),this.cache[this.locale]||this._readLocaleFile();let z=S===1?p:g;this.cache[this.locale][p]&&(z=this.cache[this.locale][p][S===1?"one":"other"]),!this.cache[this.locale][p]&&this.updateFiles?(this.cache[this.locale][p]={one:p,other:g},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:w})):w();let ie=[z];return~z.indexOf("%d")&&ie.push(S),KS.format.apply(KS.format,ie.concat(c))}setLocale(c){this.locale=c}getLocale(){return this.locale}updateLocale(c){this.cache[this.locale]||this._readLocaleFile();for(let p in c)Object.prototype.hasOwnProperty.call(c,p)&&(this.cache[this.locale][p]=c[p])}_taggedLiteral(c,...p){let g="";return c.forEach(function(S,w){let z=p[w+1];g+=S,typeof z<"u"&&(g+="%s")}),this.__.apply(this,[g].concat([].slice.call(p,1)))}_enqueueWrite(c){this.writeQueue.push(c),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let c=this,p=this.writeQueue[0],g=p.directory,S=p.locale,w=p.cb,z=this._resolveLocaleFile(g,S),ie=JSON.stringify(this.cache[S],null,2);KS.fs.writeFile(z,ie,"utf-8",function(de){c.writeQueue.shift(),c.writeQueue.length>0&&c._processWriteQueue(),w(de)})}_readLocaleFile(){let c={},p=this._resolveLocaleFile(this.directory,this.locale);try{KS.fs.readFileSync&&(c=JSON.parse(KS.fs.readFileSync(p,"utf-8")))}catch(g){if(g instanceof SyntaxError&&(g.message="syntax error in "+p),g.code==="ENOENT")c={};else throw g}this.cache[this.locale]=c}_resolveLocaleFile(c,p){let g=KS.resolve(c,"./",p+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(g)&&~p.lastIndexOf("_")){let S=KS.resolve(c,"./",p.split("_")[0]+".json");this._fileExistsSync(S)&&(g=S)}return g}_fileExistsSync(c){return KS.exists(c)}};function kHe(_,c){KS=c;let p=new KEe(_);return{__:p.__.bind(p),__n:p.__n.bind(p),setLocale:p.setLocale.bind(p),getLocale:p.getLocale.bind(p),updateLocale:p.updateLocale.bind(p),locale:p.locale}}var hBt=_=>kHe(_,FHe),IHe=hBt;var vBt={},gBt="require is not supported by ESM",wHe="loading a directory of commands is not supported yet for ESM",bU;try{bU=(0,OHe.fileURLToPath)(vBt.url)}catch{bU=process.cwd()}var yBt=bU.substring(0,bU.lastIndexOf("node_modules")),QEe={assert:{notStrictEqual:Mie.notStrictEqual,strictEqual:Mie.strictEqual},cliui:zEe,findUp:hHe,getEnv:_=>process.env[_],inspect:PHe.inspect,getCallerFile:()=>{throw new Np(wHe)},getProcessArgvBin:xHe,mainFilename:yBt||process.cwd(),Parser:$Ee,path:{basename:QS.basename,dirname:QS.dirname,extname:QS.extname,relative:QS.relative,resolve:QS.resolve},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(_,c)=>process.emitWarning(_,c),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:NHe.readFileSync,require:()=>{throw new Np(gBt)},requireDirectory:()=>{throw new Np(wHe)},stringWidth:_=>[..._].length,y18n:IHe({directory:(0,QS.resolve)(bU,"../../../locales"),updateFiles:!1})};function ky(_,c,p,g){p.assert.notStrictEqual(_,c,g)}function XEe(_,c){c.assert.strictEqual(typeof _,"string")}function FL(_){return Object.keys(_)}function Op(_){return!!_&&!!_.then&&typeof _.then=="function"}function l4(_){let p=_.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),g=/\.*[\][<>]/g,S=p.shift();if(!S)throw new Error(`No command found in: ${_}`);let w={cmd:S.replace(g,""),demanded:[],optional:[]};return p.forEach((z,ie)=>{let de=!1;z=z.replace(/\s/g,""),/\.+[\]>]/.test(z)&&ie===p.length-1&&(de=!0),/^\[/.test(z)?w.optional.push({cmd:z.replace(g,"").split("|"),variadic:de}):w.demanded.push({cmd:z.replace(g,"").split("|"),variadic:de})}),w}var DBt=["first","second","third","fourth","fifth","sixth"];function co(_,c,p){function g(){return typeof _=="object"?[{demanded:[],optional:[]},_,c]:[l4(`cmd ${_}`),c,p]}try{let S=0,[w,z,ie]=g(),de=[].slice.call(z);for(;de.length&&de[de.length-1]===void 0;)de.pop();let be=ie||de.length;if(be<w.demanded.length)throw new Np(`Not enough arguments provided. Expected ${w.demanded.length} but received ${de.length}.`);let Ee=w.demanded.length+w.optional.length;if(be>Ee)throw new Np(`Too many arguments provided. Expected max ${Ee} but received ${be}.`);w.demanded.forEach(Oe=>{let Y=de.shift(),ut=LHe(Y);Oe.cmd.filter(We=>We===ut||We==="*").length===0&&RHe(ut,Oe.cmd,S),S+=1}),w.optional.forEach(Oe=>{if(de.length===0)return;let Y=de.shift(),ut=LHe(Y);Oe.cmd.filter(We=>We===ut||We==="*").length===0&&RHe(ut,Oe.cmd,S),S+=1})}catch(S){console.warn(S.stack)}}function LHe(_){return Array.isArray(_)?"array":_===null?"null":typeof _}function RHe(_,c,p){throw new Np(`Invalid ${DBt[p]||"manyith"} argument. Expected ${c.join(" or ")} but received ${_}.`)}var Bie=class{constructor(c){this.globalMiddleware=[],this.frozens=[],this.yargs=c}addMiddleware(c,p,g=!0,S=!1){if(co("<array|function> [boolean] [boolean] [boolean]",[c,p,g],arguments.length),Array.isArray(c)){for(let w=0;w<c.length;w++){if(typeof c[w]!="function")throw Error("middleware must be a function");let z=c[w];z.applyBeforeValidation=p,z.global=g}Array.prototype.push.apply(this.globalMiddleware,c)}else if(typeof c=="function"){let w=c;w.applyBeforeValidation=p,w.global=g,w.mutates=S,this.globalMiddleware.push(c)}return this.yargs}addCoerceMiddleware(c,p){let g=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(S=>{let w=[...g[p]||[],p];return S.option?!w.includes(S.option):!0}),c.option=p,this.addMiddleware(c,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let c=this.frozens.pop();c!==void 0&&(this.globalMiddleware=c)}reset(){this.globalMiddleware=this.globalMiddleware.filter(c=>c.global)}};function MHe(_){return _?_.map(c=>(c.applyBeforeValidation=!1,c)):[]}function EP(_,c,p,g){return p.reduce((S,w)=>{if(w.applyBeforeValidation!==g)return S;if(w.mutates){if(w.applied)return S;w.applied=!0}if(Op(S))return S.then(z=>Promise.all([z,w(z,c)])).then(([z,ie])=>Object.assign(z,ie));{let z=w(S,c);return Op(z)?z.then(ie=>Object.assign(S,ie)):Object.assign(S,z)}},_)}function xP(_,c,p=g=>{throw g}){try{let g=bBt(_)?_():_;return Op(g)?g.then(S=>c(S)):c(g)}catch(g){return p(g)}}function bBt(_){return typeof _=="function"}function YEe(_){if(typeof require>"u")return null;for(let c=0,p=Object.keys(require.cache),g;c<p.length;c++)if(g=require.cache[p[c]],g.exports===_)return g;return null}var kL=/(^\*)|(^\$0)/,ZEe=class{constructor(c,p,g,S){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=S,this.usage=c,this.globalMiddleware=g,this.validation=p}addDirectory(c,p,g,S){S=S||{},typeof S.recurse!="boolean"&&(S.recurse=!1),Array.isArray(S.extensions)||(S.extensions=["js"]);let w=typeof S.visit=="function"?S.visit:z=>z;S.visit=(z,ie,de)=>{let be=w(z,ie,de);if(be){if(this.requireCache.has(ie))return be;this.requireCache.add(ie),this.addHandler(be)}return be},this.shim.requireDirectory({require:p,filename:g},c,S)}addHandler(c,p,g,S,w,z){let ie=[],de=MHe(w);if(S=S||(()=>{}),Array.isArray(c))if(CBt(c))[c,...ie]=c;else for(let be of c)this.addHandler(be);else if(EBt(c)){let be=Array.isArray(c.command)||typeof c.command=="string"?c.command:this.moduleName(c);c.aliases&&(be=[].concat(be).concat(c.aliases)),this.addHandler(be,this.extractDesc(c),c.builder,c.handler,c.middlewares,c.deprecated);return}else if(BHe(g)){this.addHandler([c].concat(ie),p,g.builder,g.handler,g.middlewares,g.deprecated);return}if(typeof c=="string"){let be=l4(c);ie=ie.map(Y=>l4(Y).cmd);let Ee=!1,Oe=[be.cmd].concat(ie).filter(Y=>kL.test(Y)?(Ee=!0,!1):!0);Oe.length===0&&Ee&&Oe.push("$0"),Ee&&(be.cmd=Oe[0],ie=Oe.slice(1),c=c.replace(kL,be.cmd)),ie.forEach(Y=>{this.aliasMap[Y]=be.cmd}),p!==!1&&this.usage.command(c,p,Ee,ie,z),this.handlers[be.cmd]={original:c,description:p,handler:S,builder:g||{},middlewares:de,deprecated:z,demanded:be.demanded,optional:be.optional},Ee&&(this.defaultCommand=this.handlers[be.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(c,p,g,S,w,z){let ie=this.handlers[c]||this.handlers[this.aliasMap[c]]||this.defaultCommand,de=p.getInternalMethods().getContext(),be=de.commands.slice(),Ee=!c;c&&(de.commands.push(c),de.fullCommands.push(ie.original));let Oe=this.applyBuilderUpdateUsageAndParse(Ee,ie,p,g.aliases,be,S,w,z);return Op(Oe)?Oe.then(Y=>this.applyMiddlewareAndGetResult(Ee,ie,Y.innerArgv,de,w,Y.aliases,p)):this.applyMiddlewareAndGetResult(Ee,ie,Oe.innerArgv,de,w,Oe.aliases,p)}applyBuilderUpdateUsageAndParse(c,p,g,S,w,z,ie,de){let be=p.builder,Ee=g;if(jie(be)){g.getInternalMethods().getUsageInstance().freeze();let Oe=be(g.getInternalMethods().reset(S),de);if(Op(Oe))return Oe.then(Y=>(Ee=JHe(Y)?Y:g,this.parseAndUpdateUsage(c,p,Ee,w,z,ie)))}else SBt(be)&&(g.getInternalMethods().getUsageInstance().freeze(),Ee=g.getInternalMethods().reset(S),Object.keys(p.builder).forEach(Oe=>{Ee.option(Oe,be[Oe])}));return this.parseAndUpdateUsage(c,p,Ee,w,z,ie)}parseAndUpdateUsage(c,p,g,S,w,z){c&&g.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(g)&&g.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(S,p),p.description);let ie=g.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,w,z);return Op(ie)?ie.then(de=>({aliases:g.parsed.aliases,innerArgv:de})):{aliases:g.parsed.aliases,innerArgv:ie}}shouldUpdateUsage(c){return!c.getInternalMethods().getUsageInstance().getUsageDisabled()&&c.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(c,p){let g=kL.test(p.original)?p.original.replace(kL,"").trim():p.original,S=c.filter(w=>!kL.test(w));return S.push(g),`$0 ${S.join(" ")}`}handleValidationAndGetResult(c,p,g,S,w,z,ie,de){if(!z.getInternalMethods().getHasOutput()){let be=z.getInternalMethods().runValidation(w,de,z.parsed.error,c);g=xP(g,Ee=>(be(Ee),Ee))}if(p.handler&&!z.getInternalMethods().getHasOutput()){z.getInternalMethods().setHasOutput();let be=!!z.getOptions().configuration["populate--"];z.getInternalMethods().postProcess(g,be,!1,!1),g=EP(g,z,ie,!1),g=xP(g,Ee=>{let Oe=p.handler(Ee);return Op(Oe)?Oe.then(()=>Ee):Ee}),c||z.getInternalMethods().getUsageInstance().cacheHelpMessage(),Op(g)&&!z.getInternalMethods().hasParseCallback()&&g.catch(Ee=>{try{z.getInternalMethods().getUsageInstance().fail(null,Ee)}catch{}})}return c||(S.commands.pop(),S.fullCommands.pop()),g}applyMiddlewareAndGetResult(c,p,g,S,w,z,ie){let de={};if(w)return g;ie.getInternalMethods().getHasOutput()||(de=this.populatePositionals(p,g,S,ie));let be=this.globalMiddleware.getMiddleware().slice(0).concat(p.middlewares),Ee=EP(g,ie,be,!0);return Op(Ee)?Ee.then(Oe=>this.handleValidationAndGetResult(c,p,Oe,S,z,ie,be,de)):this.handleValidationAndGetResult(c,p,Ee,S,z,ie,be,de)}populatePositionals(c,p,g,S){p._=p._.slice(g.commands.length);let w=c.demanded.slice(0),z=c.optional.slice(0),ie={};for(this.validation.positionalCount(w.length,p._.length);w.length;){let de=w.shift();this.populatePositional(de,p,ie)}for(;z.length;){let de=z.shift();this.populatePositional(de,p,ie)}return p._=g.commands.concat(p._.map(de=>""+de)),this.postProcessPositionals(p,ie,this.cmdToParseOptions(c.original),S),ie}populatePositional(c,p,g){let S=c.cmd[0];c.variadic?g[S]=p._.splice(0).map(String):p._.length&&(g[S]=[String(p._.shift())])}cmdToParseOptions(c){let p={array:[],default:{},alias:{},demand:{}},g=l4(c);return g.demanded.forEach(S=>{let[w,...z]=S.cmd;S.variadic&&(p.array.push(w),p.default[w]=[]),p.alias[w]=z,p.demand[w]=!0}),g.optional.forEach(S=>{let[w,...z]=S.cmd;S.variadic&&(p.array.push(w),p.default[w]=[]),p.alias[w]=z}),p}postProcessPositionals(c,p,g,S){let w=Object.assign({},S.getOptions());w.default=Object.assign(g.default,w.default);for(let be of Object.keys(g.alias))w.alias[be]=(w.alias[be]||[]).concat(g.alias[be]);w.array=w.array.concat(g.array),w.config={};let z=[];if(Object.keys(p).forEach(be=>{p[be].map(Ee=>{w.configuration["unknown-options-as-args"]&&(w.key[be]=!0),z.push(`--${be}`),z.push(Ee)})}),!z.length)return;let ie=Object.assign({},w.configuration,{"populate--":!1}),de=this.shim.Parser.detailed(z,Object.assign({},w,{configuration:ie}));if(de.error)S.getInternalMethods().getUsageInstance().fail(de.error.message,de.error);else{let be=Object.keys(p);Object.keys(p).forEach(Ee=>{be.push(...de.aliases[Ee])}),Object.keys(de.argv).forEach(Ee=>{be.includes(Ee)&&(p[Ee]||(p[Ee]=de.argv[Ee]),!this.isInConfigs(S,Ee)&&!this.isDefaulted(S,Ee)&&Object.prototype.hasOwnProperty.call(c,Ee)&&Object.prototype.hasOwnProperty.call(de.argv,Ee)&&(Array.isArray(c[Ee])||Array.isArray(de.argv[Ee]))?c[Ee]=[].concat(c[Ee],de.argv[Ee]):c[Ee]=de.argv[Ee])})}}isDefaulted(c,p){let{default:g}=c.getOptions();return Object.prototype.hasOwnProperty.call(g,p)||Object.prototype.hasOwnProperty.call(g,this.shim.Parser.camelCase(p))}isInConfigs(c,p){let{configObjects:g}=c.getOptions();return g.some(S=>Object.prototype.hasOwnProperty.call(S,p))||g.some(S=>Object.prototype.hasOwnProperty.call(S,this.shim.Parser.camelCase(p)))}runDefaultBuilderOn(c){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(c)){let g=kL.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");c.getInternalMethods().getUsageInstance().usage(g,this.defaultCommand.description)}let p=this.defaultCommand.builder;if(jie(p))return p(c,!0);BHe(p)||Object.keys(p).forEach(g=>{c.option(g,p[g])})}moduleName(c){let p=YEe(c);if(!p)throw new Error(`No command name given for module: ${this.shim.inspect(c)}`);return this.commandFromFilename(p.filename)}commandFromFilename(c){return this.shim.path.basename(c,this.shim.path.extname(c))}extractDesc({describe:c,description:p,desc:g}){for(let S of[c,p,g]){if(typeof S=="string"||S===!1)return S;ky(S,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let c=this.frozens.pop();ky(c,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=c}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}};function jHe(_,c,p,g){return new ZEe(_,c,p,g)}function BHe(_){return typeof _=="object"&&!!_.builder&&typeof _.handler=="function"}function CBt(_){return _.every(c=>typeof c=="string")}function jie(_){return typeof _=="function"}function SBt(_){return typeof _=="object"}function EBt(_){return typeof _=="object"&&!Array.isArray(_)}function f4(_={},c=()=>!0){let p={};return FL(_).forEach(g=>{c(g,_[g])&&(p[g]=_[g])}),p}function _4(_){typeof process>"u"||[process.stdout,process.stderr].forEach(c=>{let p=c;p._handle&&p.isTTY&&typeof p._handle.setBlocking=="function"&&p._handle.setBlocking(_)})}function xBt(_){return typeof _=="boolean"}function zHe(_,c){let p=c.y18n.__,g={},S=[];g.failFn=function(Os){S.push(Os)};let w=null,z=null,ie=!0;g.showHelpOnFail=function(Os=!0,Js){let[Rr,wo]=typeof Os=="string"?[!0,Os]:[Os,Js];return _.getInternalMethods().isGlobalContext()&&(z=wo),w=wo,ie=Rr,g};let de=!1;g.fail=function(Os,Js){let Rr=_.getInternalMethods().getLoggerInstance();if(S.length)for(let wo=S.length-1;wo>=0;--wo){let Ro=S[wo];if(xBt(Ro)){if(Js)throw Js;if(Os)throw Error(Os)}else Ro(Os,Js,g)}else{if(_.getExitProcess()&&_4(!0),!de){de=!0,ie&&(_.showHelp("error"),Rr.error()),(Os||Js)&&Rr.error(Os||Js);let wo=w||z;wo&&((Os||Js)&&Rr.error(""),Rr.error(wo))}if(Js=Js||new Np(Os),_.getExitProcess())return _.exit(1);if(_.getInternalMethods().hasParseCallback())return _.exit(1,Js);throw Js}};let be=[],Ee=!1;g.usage=(xn,Os)=>xn===null?(Ee=!0,be=[],g):(Ee=!1,be.push([xn,Os||""]),g),g.getUsage=()=>be,g.getUsageDisabled=()=>Ee,g.getPositionalGroupName=()=>p("Positionals:");let Oe=[];g.example=(xn,Os)=>{Oe.push([xn,Os||""])};let Y=[];g.command=function(Os,Js,Rr,wo,Ro=!1){Rr&&(Y=Y.map(hr=>(hr[2]=!1,hr))),Y.push([Os,Js||"",Rr,wo,Ro])},g.getCommands=()=>Y;let ut={};g.describe=function(Os,Js){Array.isArray(Os)?Os.forEach(Rr=>{g.describe(Rr,Js)}):typeof Os=="object"?Object.keys(Os).forEach(Rr=>{g.describe(Rr,Os[Rr])}):ut[Os]=Js},g.getDescriptions=()=>ut;let Ye=[];g.epilog=xn=>{Ye.push(xn)};let We=!1,Ut;g.wrap=xn=>{We=!0,Ut=xn},g.getWrap=()=>c.getEnv("YARGS_DISABLE_WRAP")?null:(We||(Ut=hc(),We=!0),Ut);let _r="__yargsString__:";g.deferY18nLookup=xn=>_r+xn,g.help=function(){if(Hi)return Hi;On();let Os=_.customScriptName?_.$0:c.path.basename(_.$0),Js=_.getDemandedOptions(),Rr=_.getDemandedCommands(),wo=_.getDeprecatedOptions(),Ro=_.getGroups(),hr=_.getOptions(),Sl=[];Sl=Sl.concat(Object.keys(ut)),Sl=Sl.concat(Object.keys(Js)),Sl=Sl.concat(Object.keys(Rr)),Sl=Sl.concat(Object.keys(hr.default)),Sl=Sl.filter(Hn),Sl=Object.keys(Sl.reduce((jn,Wo)=>(Wo!=="_"&&(jn[Wo]=!0),jn),{}));let lc=g.getWrap(),Ko=c.cliui({width:lc,wrap:!!lc});if(!Ee){if(be.length)be.forEach(jn=>{Ko.div({text:`${jn[0].replace(/\$0/g,Os)}`}),jn[1]&&Ko.div({text:`${jn[1]}`,padding:[1,0,0,0]})}),Ko.div();else if(Y.length){let jn=null;Rr._?jn=`${Os} <${p("command")}>
806
+ `:jn=`${Os} [${p("command")}]
807
+ `,Ko.div(`${jn}`)}}if(Y.length>1||Y.length===1&&!Y[0][2]){Ko.div(p("Commands:"));let jn=_.getInternalMethods().getContext(),Wo=jn.commands.length?`${jn.commands.join(" ")} `:"";_.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(Y=Y.sort((Mo,wu)=>Mo[0].localeCompare(wu[0])));let fu=Os?`${Os} `:"";Y.forEach(Mo=>{let wu=`${fu}${Wo}${Mo[0].replace(/^\$0 ?/,"")}`;Ko.span({text:wu,padding:[0,2,0,2],width:Hr(Y,lc,`${Os}${Wo}`)+4},{text:Mo[1]});let _l=[];Mo[2]&&_l.push(`[${p("default")}]`),Mo[3]&&Mo[3].length&&_l.push(`[${p("aliases:")} ${Mo[3].join(", ")}]`),Mo[4]&&(typeof Mo[4]=="string"?_l.push(`[${p("deprecated: %s",Mo[4])}]`):_l.push(`[${p("deprecated")}]`)),_l.length?Ko.div({text:_l.join(" "),padding:[0,0,0,2],align:"right"}):Ko.div()}),Ko.div()}let Zs=(Object.keys(hr.alias)||[]).concat(Object.keys(_.parsed.newAliases)||[]);Sl=Sl.filter(jn=>!_.parsed.newAliases[jn]&&Zs.every(Wo=>(hr.alias[Wo]||[]).indexOf(jn)===-1));let jp=p("Options:");Ro[jp]||(Ro[jp]=[]),us(Sl,hr.alias,Ro,jp);let By=jn=>/^--/.test(Jie(jn)),zo=Object.keys(Ro).filter(jn=>Ro[jn].length>0).map(jn=>{let Wo=Ro[jn].filter(Hn).map(fu=>{if(Zs.includes(fu))return fu;for(let Mo=0,wu;(wu=Zs[Mo])!==void 0;Mo++)if((hr.alias[wu]||[]).includes(fu))return wu;return fu});return{groupName:jn,normalizedKeys:Wo}}).filter(({normalizedKeys:jn})=>jn.length>0).map(({groupName:jn,normalizedKeys:Wo})=>{let fu=Wo.reduce((Mo,wu)=>(Mo[wu]=[wu].concat(hr.alias[wu]||[]).map(_l=>jn===g.getPositionalGroupName()?_l:(/^[0-9]$/.test(_l)?hr.boolean.includes(wu)?"-":"--":_l.length>1?"--":"-")+_l).sort((_l,Jp)=>By(_l)===By(Jp)?0:By(_l)?1:-1).join(", "),Mo),{});return{groupName:jn,normalizedKeys:Wo,switches:fu}});if(zo.filter(({groupName:jn})=>jn!==g.getPositionalGroupName()).some(({normalizedKeys:jn,switches:Wo})=>!jn.every(fu=>By(Wo[fu])))&&zo.filter(({groupName:jn})=>jn!==g.getPositionalGroupName()).forEach(({normalizedKeys:jn,switches:Wo})=>{jn.forEach(fu=>{By(Wo[fu])&&(Wo[fu]=TBt(Wo[fu],4))})}),zo.forEach(({groupName:jn,normalizedKeys:Wo,switches:fu})=>{Ko.div(jn),Wo.forEach(Mo=>{let wu=fu[Mo],_l=ut[Mo]||"",Jp=null;_l.includes(_r)&&(_l=p(_l.substring(_r.length))),hr.boolean.includes(Mo)&&(Jp=`[${p("boolean")}]`),hr.count.includes(Mo)&&(Jp=`[${p("count")}]`),hr.string.includes(Mo)&&(Jp=`[${p("string")}]`),hr.normalize.includes(Mo)&&(Jp=`[${p("string")}]`),hr.array.includes(Mo)&&(Jp=`[${p("array")}]`),hr.number.includes(Mo)&&(Jp=`[${p("number")}]`);let ht=Ln=>typeof Ln=="string"?`[${p("deprecated: %s",Ln)}]`:`[${p("deprecated")}]`,Qg=[Mo in wo?ht(wo[Mo]):null,Jp,Mo in Js?`[${p("required")}]`:null,hr.choices&&hr.choices[Mo]?`[${p("choices:")} ${g.stringifiedValues(hr.choices[Mo])}]`:null,an(hr.default[Mo],hr.defaultDescription[Mo])].filter(Boolean).join(" ");Ko.span({text:Jie(wu),padding:[0,2,0,2+qHe(wu)],width:Hr(fu,lc)+4},_l);let Ht=_.getInternalMethods().getUsageConfiguration()["hide-types"]===!0;Qg&&!Ht?Ko.div({text:Qg,padding:[0,0,0,2],align:"right"}):Ko.div()}),Ko.div()}),Oe.length&&(Ko.div(p("Examples:")),Oe.forEach(jn=>{jn[0]=jn[0].replace(/\$0/g,Os)}),Oe.forEach(jn=>{jn[1]===""?Ko.div({text:jn[0],padding:[0,2,0,2]}):Ko.div({text:jn[0],padding:[0,2,0,2],width:Hr(Oe,lc)+4},{text:jn[1]})}),Ko.div()),Ye.length>0){let jn=Ye.map(Wo=>Wo.replace(/\$0/g,Os)).join(`
808
808
  `);Ko.div(`${jn}
809
- `)}return Ko.toString().replace(/\s*$/,"")};function Hr(xn,Os,Js){let Rr=0;return Array.isArray(xn)||(xn=Object.values(xn).map(wo=>[wo])),xn.forEach(wo=>{Rr=Math.max(c.stringWidth(Js?`${Js} ${Jie(wo[0])}`:Jie(wo[0]))+qHe(wo[0]),Rr)}),Os&&(Rr=Math.min(Rr,parseInt((Os*.5).toString(),10))),Rr}function On(){let xn=p.getDemandedOptions(),Os=p.getOptions();(Object.keys(Os.alias)||[]).forEach(Js=>{Os.alias[Js].forEach(Rr=>{ut[Rr]&&g.describe(Js,ut[Rr]),Rr in xn&&p.demandOption(Js,xn[Rr]),Os.boolean.includes(Rr)&&p.boolean(Js),Os.count.includes(Rr)&&p.count(Js),Os.string.includes(Rr)&&p.string(Js),Os.normalize.includes(Rr)&&p.normalize(Js),Os.array.includes(Rr)&&p.array(Js),Os.number.includes(Rr)&&p.number(Js)})})}let Hi;g.cacheHelpMessage=function(){Hi=this.help()},g.clearCachedHelpMessage=function(){Hi=void 0},g.hasCachedHelpMessage=function(){return!!Hi};function us(xn,Os,Js,Rr){let wo=[],Ro=null;return Object.keys(Js).forEach(hr=>{wo=wo.concat(Js[hr])}),xn.forEach(hr=>{Ro=[hr].concat(Os[hr]),Ro.some(Sl=>wo.indexOf(Sl)!==-1)||Js[Rr].push(hr)}),wo}function Hn(xn){return p.getOptions().hiddenOptions.indexOf(xn)<0||p.parsed.argv[p.getOptions().showHiddenOpt]}g.showHelp=xn=>{let Os=p.getInternalMethods().getLoggerInstance();xn||(xn="error"),(typeof xn=="function"?xn:Os[xn])(g.help())},g.functionDescription=xn=>["(",xn.name?c.Parser.decamelize(xn.name,"-"):_("generated-value"),")"].join(""),g.stringifiedValues=function(Os,Js){let Rr="",wo=Js||", ",Ro=[].concat(Os);return!Os||!Ro.length||Ro.forEach(hr=>{Rr.length&&(Rr+=wo),Rr+=JSON.stringify(hr)}),Rr};function an(xn,Os){let Js=`[${_("default:")} `;if(xn===void 0&&!Os)return null;if(Os)Js+=Os;else switch(typeof xn){case"string":Js+=`"${xn}"`;break;case"object":Js+=JSON.stringify(xn);break;default:Js+=xn}return`${Js}]`}function hc(){return c.process.stdColumns?Math.min(80,c.process.stdColumns):80}let ma=null;g.version=xn=>{ma=xn},g.showVersion=xn=>{let Os=p.getInternalMethods().getLoggerInstance();xn||(xn="error"),(typeof xn=="function"?xn:Os[xn])(ma)},g.reset=function(Os){return w=null,de=!1,be=[],Ee=!1,Ye=[],Oe=[],Y=[],ut=f4(ut,Js=>!Os[Js]),g};let ic=[];return g.freeze=function(){ic.push({failMessage:w,failureOutput:de,usages:be,usageDisabled:Ee,epilogs:Ye,examples:Oe,commands:Y,descriptions:ut})},g.unfreeze=function(Os=!1){let Js=ic.pop();Js&&(Os?(ut={...Js.descriptions,...ut},Y=[...Js.commands,...Y],be=[...Js.usages,...be],Oe=[...Js.examples,...Oe],Ye=[...Js.epilogs,...Ye]):{failMessage:w,failureOutput:de,usages:be,usageDisabled:Ee,epilogs:Ye,examples:Oe,commands:Y,descriptions:ut}=Js)},g}function exe(p){return typeof p=="object"}function TBt(p,c){return exe(p)?{text:p.text,indentation:p.indentation+c}:{text:p,indentation:c}}function qHe(p){return exe(p)?p.indentation:0}function Jie(p){return exe(p)?p.text:p}var WHe=`###-begin-{{app_name}}-completions-###
809
+ `)}return Ko.toString().replace(/\s*$/,"")};function Hr(xn,Os,Js){let Rr=0;return Array.isArray(xn)||(xn=Object.values(xn).map(wo=>[wo])),xn.forEach(wo=>{Rr=Math.max(c.stringWidth(Js?`${Js} ${Jie(wo[0])}`:Jie(wo[0]))+qHe(wo[0]),Rr)}),Os&&(Rr=Math.min(Rr,parseInt((Os*.5).toString(),10))),Rr}function On(){let xn=_.getDemandedOptions(),Os=_.getOptions();(Object.keys(Os.alias)||[]).forEach(Js=>{Os.alias[Js].forEach(Rr=>{ut[Rr]&&g.describe(Js,ut[Rr]),Rr in xn&&_.demandOption(Js,xn[Rr]),Os.boolean.includes(Rr)&&_.boolean(Js),Os.count.includes(Rr)&&_.count(Js),Os.string.includes(Rr)&&_.string(Js),Os.normalize.includes(Rr)&&_.normalize(Js),Os.array.includes(Rr)&&_.array(Js),Os.number.includes(Rr)&&_.number(Js)})})}let Hi;g.cacheHelpMessage=function(){Hi=this.help()},g.clearCachedHelpMessage=function(){Hi=void 0},g.hasCachedHelpMessage=function(){return!!Hi};function us(xn,Os,Js,Rr){let wo=[],Ro=null;return Object.keys(Js).forEach(hr=>{wo=wo.concat(Js[hr])}),xn.forEach(hr=>{Ro=[hr].concat(Os[hr]),Ro.some(Sl=>wo.indexOf(Sl)!==-1)||Js[Rr].push(hr)}),wo}function Hn(xn){return _.getOptions().hiddenOptions.indexOf(xn)<0||_.parsed.argv[_.getOptions().showHiddenOpt]}g.showHelp=xn=>{let Os=_.getInternalMethods().getLoggerInstance();xn||(xn="error"),(typeof xn=="function"?xn:Os[xn])(g.help())},g.functionDescription=xn=>["(",xn.name?c.Parser.decamelize(xn.name,"-"):p("generated-value"),")"].join(""),g.stringifiedValues=function(Os,Js){let Rr="",wo=Js||", ",Ro=[].concat(Os);return!Os||!Ro.length||Ro.forEach(hr=>{Rr.length&&(Rr+=wo),Rr+=JSON.stringify(hr)}),Rr};function an(xn,Os){let Js=`[${p("default:")} `;if(xn===void 0&&!Os)return null;if(Os)Js+=Os;else switch(typeof xn){case"string":Js+=`"${xn}"`;break;case"object":Js+=JSON.stringify(xn);break;default:Js+=xn}return`${Js}]`}function hc(){return c.process.stdColumns?Math.min(80,c.process.stdColumns):80}let ma=null;g.version=xn=>{ma=xn},g.showVersion=xn=>{let Os=_.getInternalMethods().getLoggerInstance();xn||(xn="error"),(typeof xn=="function"?xn:Os[xn])(ma)},g.reset=function(Os){return w=null,de=!1,be=[],Ee=!1,Ye=[],Oe=[],Y=[],ut=f4(ut,Js=>!Os[Js]),g};let ic=[];return g.freeze=function(){ic.push({failMessage:w,failureOutput:de,usages:be,usageDisabled:Ee,epilogs:Ye,examples:Oe,commands:Y,descriptions:ut})},g.unfreeze=function(Os=!1){let Js=ic.pop();Js&&(Os?(ut={...Js.descriptions,...ut},Y=[...Js.commands,...Y],be=[...Js.usages,...be],Oe=[...Js.examples,...Oe],Ye=[...Js.epilogs,...Ye]):{failMessage:w,failureOutput:de,usages:be,usageDisabled:Ee,epilogs:Ye,examples:Oe,commands:Y,descriptions:ut}=Js)},g}function exe(_){return typeof _=="object"}function TBt(_,c){return exe(_)?{text:_.text,indentation:_.indentation+c}:{text:_,indentation:c}}function qHe(_){return exe(_)?_.indentation:0}function Jie(_){return exe(_)?_.text:_}var WHe=`###-begin-{{app_name}}-completions-###
810
810
  #
811
811
  # yargs command completion script
812
812
  #
@@ -853,134 +853,134 @@ _{{app_name}}_yargs_completions()
853
853
  }
854
854
  compdef _{{app_name}}_yargs_completions {{app_name}}
855
855
  ###-end-{{app_name}}-completions-###
856
- `;var txe=class{constructor(c,_,g,S){var w,z,ie;this.yargs=c,this.usage=_,this.command=g,this.shim=S,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=(ie=((w=this.shim.getEnv("SHELL"))===null||w===void 0?void 0:w.includes("zsh"))||((z=this.shim.getEnv("ZSH_NAME"))===null||z===void 0?void 0:z.includes("zsh")))!==null&&ie!==void 0?ie:!1}defaultCompletion(c,_,g,S){let w=this.command.getCommandHandlers();for(let ie=0,de=c.length;ie<de;++ie)if(w[c[ie]]&&w[c[ie]].builder){let be=w[c[ie]].builder;if(jie(be)){this.indexAfterLastReset=ie+1;let Ee=this.yargs.getInternalMethods().reset();return be(Ee,!0),Ee.argv}}let z=[];this.commandCompletions(z,c,g),this.optionCompletions(z,c,_,g),this.choicesFromOptionsCompletions(z,c,_,g),this.choicesFromPositionalsCompletions(z,c,_,g),S(null,z)}commandCompletions(c,_,g){let S=this.yargs.getInternalMethods().getContext().commands;!g.match(/^-/)&&S[S.length-1]!==g&&!this.previousArgHasChoices(_)&&this.usage.getCommands().forEach(w=>{let z=l4(w[0]).cmd;if(_.indexOf(z)===-1)if(!this.zshShell)c.push(z);else{let ie=w[1]||"";c.push(z.replace(/:/g,"\\:")+":"+ie)}})}optionCompletions(c,_,g,S){if((S.match(/^-/)||S===""&&c.length===0)&&!this.previousArgHasChoices(_)){let w=this.yargs.getOptions(),z=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(w.key).forEach(ie=>{let de=!!w.configuration["boolean-negation"]&&w.boolean.includes(ie);!z.includes(ie)&&!w.hiddenOptions.includes(ie)&&!this.argsContainKey(_,ie,de)&&this.completeOptionKey(ie,c,S,de&&!!w.default[ie])})}}choicesFromOptionsCompletions(c,_,g,S){if(this.previousArgHasChoices(_)){let w=this.getPreviousArgChoices(_);w&&w.length>0&&c.push(...w.map(z=>z.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(c,_,g,S){if(S===""&&c.length>0&&this.previousArgHasChoices(_))return;let w=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],z=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),ie=w[g._.length-z-1];if(!ie)return;let de=this.yargs.getOptions().choices[ie]||[];for(let be of de)be.startsWith(S)&&c.push(be.replace(/:/g,"\\:"))}getPreviousArgChoices(c){if(c.length<1)return;let _=c[c.length-1],g="";if(!_.startsWith("-")&&c.length>1&&(g=_,_=c[c.length-2]),!_.startsWith("-"))return;let S=_.replace(/^-+/,""),w=this.yargs.getOptions(),z=[S,...this.yargs.getAliases()[S]||[]],ie;for(let de of z)if(Object.prototype.hasOwnProperty.call(w.key,de)&&Array.isArray(w.choices[de])){ie=w.choices[de];break}if(ie)return ie.filter(de=>!g||de.startsWith(g))}previousArgHasChoices(c){let _=this.getPreviousArgChoices(c);return _!==void 0&&_.length>0}argsContainKey(c,_,g){let S=w=>c.indexOf((/^[^0-9]$/.test(w)?"-":"--")+w)!==-1;if(S(_)||g&&S(`no-${_}`))return!0;if(this.aliases){for(let w of this.aliases[_])if(S(w))return!0}return!1}completeOptionKey(c,_,g,S){var w,z,ie,de;let be=c;if(this.zshShell){let ut=this.usage.getDescriptions(),Ye=(z=(w=this===null||this===void 0?void 0:this.aliases)===null||w===void 0?void 0:w[c])===null||z===void 0?void 0:z.find(_r=>{let Hr=ut[_r];return typeof Hr=="string"&&Hr.length>0}),We=Ye?ut[Ye]:void 0,Ut=(de=(ie=ut[c])!==null&&ie!==void 0?ie:We)!==null&&de!==void 0?de:"";be=`${c.replace(/:/g,"\\:")}:${Ut.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}let Ee=ut=>/^--/.test(ut),Oe=ut=>/^[^0-9]$/.test(ut),Y=!Ee(g)&&Oe(c)?"-":"--";_.push(Y+be),S&&_.push(Y+"no-"+be)}customCompletion(c,_,g,S){if(ky(this.customCompletionFunction,null,this.shim),FBt(this.customCompletionFunction)){let w=this.customCompletionFunction(g,_);return Op(w)?w.then(z=>{this.shim.process.nextTick(()=>{S(null,z)})}).catch(z=>{this.shim.process.nextTick(()=>{S(z,void 0)})}):S(null,w)}else return kBt(this.customCompletionFunction)?this.customCompletionFunction(g,_,(w=S)=>this.defaultCompletion(c,_,g,w),w=>{S(null,w)}):this.customCompletionFunction(g,_,w=>{S(null,w)})}getCompletion(c,_){let g=c.length?c[c.length-1]:"",S=this.yargs.parse(c,!0),w=this.customCompletionFunction?z=>this.customCompletion(c,z,g,_):z=>this.defaultCompletion(c,z,g,_);return Op(S)?S.then(w):w(S)}generateCompletionScript(c,_){let g=this.zshShell?UHe:WHe,S=this.shim.path.basename(c);return c.match(/\.js$/)&&(c=`./${c}`),g=g.replace(/{{app_name}}/g,S),g=g.replace(/{{completion_command}}/g,_),g.replace(/{{app_path}}/g,c)}registerFunction(c){this.customCompletionFunction=c}setParsed(c){this.aliases=c.aliases}};function VHe(p,c,_,g){return new txe(p,c,_,g)}function FBt(p){return p.length<3}function kBt(p){return p.length>3}function GHe(p,c){if(p.length===0)return c.length;if(c.length===0)return p.length;let _=[],g;for(g=0;g<=c.length;g++)_[g]=[g];let S;for(S=0;S<=p.length;S++)_[0][S]=S;for(g=1;g<=c.length;g++)for(S=1;S<=p.length;S++)c.charAt(g-1)===p.charAt(S-1)?_[g][S]=_[g-1][S-1]:g>1&&S>1&&c.charAt(g-2)===p.charAt(S-1)&&c.charAt(g-1)===p.charAt(S-2)?_[g][S]=_[g-2][S-2]+1:_[g][S]=Math.min(_[g-1][S-1]+1,Math.min(_[g][S-1]+1,_[g-1][S]+1));return _[c.length][p.length]}var $He=["$0","--","_"];function HHe(p,c,_){let g=_.y18n.__,S=_.y18n.__n,w={};w.nonOptionCount=function(Oe){let Y=p.getDemandedCommands(),Ye=Oe._.length+(Oe["--"]?Oe["--"].length:0)-p.getInternalMethods().getContext().commands.length;Y._&&(Ye<Y._.min||Ye>Y._.max)&&(Ye<Y._.min?Y._.minMsg!==void 0?c.fail(Y._.minMsg?Y._.minMsg.replace(/\$0/g,Ye.toString()).replace(/\$1/,Y._.min.toString()):null):c.fail(S("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",Ye,Ye.toString(),Y._.min.toString())):Ye>Y._.max&&(Y._.maxMsg!==void 0?c.fail(Y._.maxMsg?Y._.maxMsg.replace(/\$0/g,Ye.toString()).replace(/\$1/,Y._.max.toString()):null):c.fail(S("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",Ye,Ye.toString(),Y._.max.toString()))))},w.positionalCount=function(Oe,Y){Y<Oe&&c.fail(S("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",Y,Y+"",Oe+""))},w.requiredArguments=function(Oe,Y){let ut=null;for(let Ye of Object.keys(Y))(!Object.prototype.hasOwnProperty.call(Oe,Ye)||typeof Oe[Ye]>"u")&&(ut=ut||{},ut[Ye]=Y[Ye]);if(ut){let Ye=[];for(let Ut of Object.keys(ut)){let _r=ut[Ut];_r&&Ye.indexOf(_r)<0&&Ye.push(_r)}let We=Ye.length?`
856
+ `;var txe=class{constructor(c,p,g,S){var w,z,ie;this.yargs=c,this.usage=p,this.command=g,this.shim=S,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=(ie=((w=this.shim.getEnv("SHELL"))===null||w===void 0?void 0:w.includes("zsh"))||((z=this.shim.getEnv("ZSH_NAME"))===null||z===void 0?void 0:z.includes("zsh")))!==null&&ie!==void 0?ie:!1}defaultCompletion(c,p,g,S){let w=this.command.getCommandHandlers();for(let ie=0,de=c.length;ie<de;++ie)if(w[c[ie]]&&w[c[ie]].builder){let be=w[c[ie]].builder;if(jie(be)){this.indexAfterLastReset=ie+1;let Ee=this.yargs.getInternalMethods().reset();return be(Ee,!0),Ee.argv}}let z=[];this.commandCompletions(z,c,g),this.optionCompletions(z,c,p,g),this.choicesFromOptionsCompletions(z,c,p,g),this.choicesFromPositionalsCompletions(z,c,p,g),S(null,z)}commandCompletions(c,p,g){let S=this.yargs.getInternalMethods().getContext().commands;!g.match(/^-/)&&S[S.length-1]!==g&&!this.previousArgHasChoices(p)&&this.usage.getCommands().forEach(w=>{let z=l4(w[0]).cmd;if(p.indexOf(z)===-1)if(!this.zshShell)c.push(z);else{let ie=w[1]||"";c.push(z.replace(/:/g,"\\:")+":"+ie)}})}optionCompletions(c,p,g,S){if((S.match(/^-/)||S===""&&c.length===0)&&!this.previousArgHasChoices(p)){let w=this.yargs.getOptions(),z=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(w.key).forEach(ie=>{let de=!!w.configuration["boolean-negation"]&&w.boolean.includes(ie);!z.includes(ie)&&!w.hiddenOptions.includes(ie)&&!this.argsContainKey(p,ie,de)&&this.completeOptionKey(ie,c,S,de&&!!w.default[ie])})}}choicesFromOptionsCompletions(c,p,g,S){if(this.previousArgHasChoices(p)){let w=this.getPreviousArgChoices(p);w&&w.length>0&&c.push(...w.map(z=>z.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(c,p,g,S){if(S===""&&c.length>0&&this.previousArgHasChoices(p))return;let w=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],z=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),ie=w[g._.length-z-1];if(!ie)return;let de=this.yargs.getOptions().choices[ie]||[];for(let be of de)be.startsWith(S)&&c.push(be.replace(/:/g,"\\:"))}getPreviousArgChoices(c){if(c.length<1)return;let p=c[c.length-1],g="";if(!p.startsWith("-")&&c.length>1&&(g=p,p=c[c.length-2]),!p.startsWith("-"))return;let S=p.replace(/^-+/,""),w=this.yargs.getOptions(),z=[S,...this.yargs.getAliases()[S]||[]],ie;for(let de of z)if(Object.prototype.hasOwnProperty.call(w.key,de)&&Array.isArray(w.choices[de])){ie=w.choices[de];break}if(ie)return ie.filter(de=>!g||de.startsWith(g))}previousArgHasChoices(c){let p=this.getPreviousArgChoices(c);return p!==void 0&&p.length>0}argsContainKey(c,p,g){let S=w=>c.indexOf((/^[^0-9]$/.test(w)?"-":"--")+w)!==-1;if(S(p)||g&&S(`no-${p}`))return!0;if(this.aliases){for(let w of this.aliases[p])if(S(w))return!0}return!1}completeOptionKey(c,p,g,S){var w,z,ie,de;let be=c;if(this.zshShell){let ut=this.usage.getDescriptions(),Ye=(z=(w=this===null||this===void 0?void 0:this.aliases)===null||w===void 0?void 0:w[c])===null||z===void 0?void 0:z.find(_r=>{let Hr=ut[_r];return typeof Hr=="string"&&Hr.length>0}),We=Ye?ut[Ye]:void 0,Ut=(de=(ie=ut[c])!==null&&ie!==void 0?ie:We)!==null&&de!==void 0?de:"";be=`${c.replace(/:/g,"\\:")}:${Ut.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}let Ee=ut=>/^--/.test(ut),Oe=ut=>/^[^0-9]$/.test(ut),Y=!Ee(g)&&Oe(c)?"-":"--";p.push(Y+be),S&&p.push(Y+"no-"+be)}customCompletion(c,p,g,S){if(ky(this.customCompletionFunction,null,this.shim),FBt(this.customCompletionFunction)){let w=this.customCompletionFunction(g,p);return Op(w)?w.then(z=>{this.shim.process.nextTick(()=>{S(null,z)})}).catch(z=>{this.shim.process.nextTick(()=>{S(z,void 0)})}):S(null,w)}else return kBt(this.customCompletionFunction)?this.customCompletionFunction(g,p,(w=S)=>this.defaultCompletion(c,p,g,w),w=>{S(null,w)}):this.customCompletionFunction(g,p,w=>{S(null,w)})}getCompletion(c,p){let g=c.length?c[c.length-1]:"",S=this.yargs.parse(c,!0),w=this.customCompletionFunction?z=>this.customCompletion(c,z,g,p):z=>this.defaultCompletion(c,z,g,p);return Op(S)?S.then(w):w(S)}generateCompletionScript(c,p){let g=this.zshShell?UHe:WHe,S=this.shim.path.basename(c);return c.match(/\.js$/)&&(c=`./${c}`),g=g.replace(/{{app_name}}/g,S),g=g.replace(/{{completion_command}}/g,p),g.replace(/{{app_path}}/g,c)}registerFunction(c){this.customCompletionFunction=c}setParsed(c){this.aliases=c.aliases}};function VHe(_,c,p,g){return new txe(_,c,p,g)}function FBt(_){return _.length<3}function kBt(_){return _.length>3}function GHe(_,c){if(_.length===0)return c.length;if(c.length===0)return _.length;let p=[],g;for(g=0;g<=c.length;g++)p[g]=[g];let S;for(S=0;S<=_.length;S++)p[0][S]=S;for(g=1;g<=c.length;g++)for(S=1;S<=_.length;S++)c.charAt(g-1)===_.charAt(S-1)?p[g][S]=p[g-1][S-1]:g>1&&S>1&&c.charAt(g-2)===_.charAt(S-1)&&c.charAt(g-1)===_.charAt(S-2)?p[g][S]=p[g-2][S-2]+1:p[g][S]=Math.min(p[g-1][S-1]+1,Math.min(p[g][S-1]+1,p[g-1][S]+1));return p[c.length][_.length]}var $He=["$0","--","_"];function HHe(_,c,p){let g=p.y18n.__,S=p.y18n.__n,w={};w.nonOptionCount=function(Oe){let Y=_.getDemandedCommands(),Ye=Oe._.length+(Oe["--"]?Oe["--"].length:0)-_.getInternalMethods().getContext().commands.length;Y._&&(Ye<Y._.min||Ye>Y._.max)&&(Ye<Y._.min?Y._.minMsg!==void 0?c.fail(Y._.minMsg?Y._.minMsg.replace(/\$0/g,Ye.toString()).replace(/\$1/,Y._.min.toString()):null):c.fail(S("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",Ye,Ye.toString(),Y._.min.toString())):Ye>Y._.max&&(Y._.maxMsg!==void 0?c.fail(Y._.maxMsg?Y._.maxMsg.replace(/\$0/g,Ye.toString()).replace(/\$1/,Y._.max.toString()):null):c.fail(S("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",Ye,Ye.toString(),Y._.max.toString()))))},w.positionalCount=function(Oe,Y){Y<Oe&&c.fail(S("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",Y,Y+"",Oe+""))},w.requiredArguments=function(Oe,Y){let ut=null;for(let Ye of Object.keys(Y))(!Object.prototype.hasOwnProperty.call(Oe,Ye)||typeof Oe[Ye]>"u")&&(ut=ut||{},ut[Ye]=Y[Ye]);if(ut){let Ye=[];for(let Ut of Object.keys(ut)){let _r=ut[Ut];_r&&Ye.indexOf(_r)<0&&Ye.push(_r)}let We=Ye.length?`
857
857
  ${Ye.join(`
858
- `)}`:"";c.fail(S("Missing required argument: %s","Missing required arguments: %s",Object.keys(ut).length,Object.keys(ut).join(", ")+We))}},w.unknownArguments=function(Oe,Y,ut,Ye,We=!0){var Ut;let _r=p.getInternalMethods().getCommandInstance().getCommands(),Hr=[],On=p.getInternalMethods().getContext();if(Object.keys(Oe).forEach(Hi=>{!$He.includes(Hi)&&!Object.prototype.hasOwnProperty.call(ut,Hi)&&!Object.prototype.hasOwnProperty.call(p.getInternalMethods().getParseContext(),Hi)&&!w.isValidAndSomeAliasIsNotNew(Hi,Y)&&Hr.push(Hi)}),We&&(On.commands.length>0||_r.length>0||Ye)&&Oe._.slice(On.commands.length).forEach(Hi=>{_r.includes(""+Hi)||Hr.push(""+Hi)}),We){let us=((Ut=p.getDemandedCommands()._)===null||Ut===void 0?void 0:Ut.max)||0,Hn=On.commands.length+us;Hn<Oe._.length&&Oe._.slice(Hn).forEach(an=>{an=String(an),!On.commands.includes(an)&&!Hr.includes(an)&&Hr.push(an)})}Hr.length&&c.fail(S("Unknown argument: %s","Unknown arguments: %s",Hr.length,Hr.map(Hi=>Hi.trim()?Hi:`"${Hi}"`).join(", ")))},w.unknownCommands=function(Oe){let Y=p.getInternalMethods().getCommandInstance().getCommands(),ut=[],Ye=p.getInternalMethods().getContext();return(Ye.commands.length>0||Y.length>0)&&Oe._.slice(Ye.commands.length).forEach(We=>{Y.includes(""+We)||ut.push(""+We)}),ut.length>0?(c.fail(S("Unknown command: %s","Unknown commands: %s",ut.length,ut.join(", "))),!0):!1},w.isValidAndSomeAliasIsNotNew=function(Oe,Y){if(!Object.prototype.hasOwnProperty.call(Y,Oe))return!1;let ut=p.parsed.newAliases;return[Oe,...Y[Oe]].some(Ye=>!Object.prototype.hasOwnProperty.call(ut,Ye)||!ut[Oe])},w.limitedChoices=function(Oe){let Y=p.getOptions(),ut={};if(!Object.keys(Y.choices).length)return;Object.keys(Oe).forEach(Ut=>{$He.indexOf(Ut)===-1&&Object.prototype.hasOwnProperty.call(Y.choices,Ut)&&[].concat(Oe[Ut]).forEach(_r=>{Y.choices[Ut].indexOf(_r)===-1&&_r!==void 0&&(ut[Ut]=(ut[Ut]||[]).concat(_r))})});let Ye=Object.keys(ut);if(!Ye.length)return;let We=g("Invalid values:");Ye.forEach(Ut=>{We+=`
859
- ${g("Argument: %s, Given: %s, Choices: %s",Ut,c.stringifiedValues(ut[Ut]),c.stringifiedValues(Y.choices[Ut]))}`}),c.fail(We)};let z={};w.implies=function(Oe,Y){co("<string|object> [array|number|string]",[Oe,Y],arguments.length),typeof Oe=="object"?Object.keys(Oe).forEach(ut=>{w.implies(ut,Oe[ut])}):(p.global(Oe),z[Oe]||(z[Oe]=[]),Array.isArray(Y)?Y.forEach(ut=>w.implies(Oe,ut)):(ky(Y,void 0,_),z[Oe].push(Y)))},w.getImplied=function(){return z};function ie(Ee,Oe){let Y=Number(Oe);return Oe=isNaN(Y)?Oe:Y,typeof Oe=="number"?Oe=Ee._.length>=Oe:Oe.match(/^--no-.+/)?(Oe=Oe.match(/^--no-(.+)/)[1],Oe=!Object.prototype.hasOwnProperty.call(Ee,Oe)):Oe=Object.prototype.hasOwnProperty.call(Ee,Oe),Oe}w.implications=function(Oe){let Y=[];if(Object.keys(z).forEach(ut=>{let Ye=ut;(z[ut]||[]).forEach(We=>{let Ut=Ye,_r=We;Ut=ie(Oe,Ut),We=ie(Oe,We),Ut&&!We&&Y.push(` ${Ye} -> ${_r}`)})}),Y.length){let ut=`${g("Implications failed:")}
860
- `;Y.forEach(Ye=>{ut+=Ye}),c.fail(ut)}};let de={};w.conflicts=function(Oe,Y){co("<string|object> [array|string]",[Oe,Y],arguments.length),typeof Oe=="object"?Object.keys(Oe).forEach(ut=>{w.conflicts(ut,Oe[ut])}):(p.global(Oe),de[Oe]||(de[Oe]=[]),Array.isArray(Y)?Y.forEach(ut=>w.conflicts(Oe,ut)):de[Oe].push(Y))},w.getConflicting=()=>de,w.conflicting=function(Oe){Object.keys(Oe).forEach(Y=>{de[Y]&&de[Y].forEach(ut=>{ut&&Oe[Y]!==void 0&&Oe[ut]!==void 0&&c.fail(g("Arguments %s and %s are mutually exclusive",Y,ut))})}),p.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(de).forEach(Y=>{de[Y].forEach(ut=>{ut&&Oe[_.Parser.camelCase(Y)]!==void 0&&Oe[_.Parser.camelCase(ut)]!==void 0&&c.fail(g("Arguments %s and %s are mutually exclusive",Y,ut))})})},w.recommendCommands=function(Oe,Y){Y=Y.sort((Ut,_r)=>_r.length-Ut.length);let Ye=null,We=1/0;for(let Ut=0,_r;(_r=Y[Ut])!==void 0;Ut++){let Hr=GHe(Oe,_r);Hr<=3&&Hr<We&&(We=Hr,Ye=_r)}Ye&&c.fail(g("Did you mean %s?",Ye))},w.reset=function(Oe){return z=f4(z,Y=>!Oe[Y]),de=f4(de,Y=>!Oe[Y]),w};let be=[];return w.freeze=function(){be.push({implied:z,conflicting:de})},w.unfreeze=function(){let Oe=be.pop();ky(Oe,void 0,_),{implied:z,conflicting:de}=Oe},w}var rxe=[],CU;function SU(p,c,_,g){CU=g;let S={};if(Object.prototype.hasOwnProperty.call(p,"extends")){if(typeof p.extends!="string")return S;let w=/\.json|\..*rc$/.test(p.extends),z=null;if(w)z=wBt(c,p.extends);else try{z=require.resolve(p.extends)}catch{return p}IBt(z),rxe.push(z),S=w?JSON.parse(CU.readFileSync(z,"utf8")):require(p.extends),delete p.extends,S=SU(S,CU.path.dirname(z),_,CU)}return rxe=[],_?KHe(S,p):Object.assign({},S,p)}function IBt(p){if(rxe.indexOf(p)>-1)throw new Np(`Circular extended configurations: '${p}'.`)}function wBt(p,c){return CU.path.resolve(p,c)}function KHe(p,c){let _={};function g(S){return S&&typeof S=="object"&&!Array.isArray(S)}Object.assign(_,p);for(let S of Object.keys(c))g(c[S])&&g(_[S])?_[S]=KHe(p[S],c[S]):_[S]=c[S];return _}var po=function(p,c,_,g,S){if(g==="m")throw new TypeError("Private method is not writable");if(g==="a"&&!S)throw new TypeError("Private accessor was defined without a setter");if(typeof c=="function"?p!==c||!S:!c.has(p))throw new TypeError("Cannot write private member to an object whose class did not declare it");return g==="a"?S.call(p,_):S?S.value=_:c.set(p,_),_},Qt=function(p,c,_,g){if(_==="a"&&!g)throw new TypeError("Private accessor was defined without a getter");if(typeof c=="function"?p!==c||!g:!c.has(p))throw new TypeError("Cannot read private member from an object whose class did not declare it");return _==="m"?g:_==="a"?g.call(p):g?g.value:c.get(p)},Lm,TP,EU,cC,C2,qie,p4,AP,zie,uC,Wie,lC,lT,S2,fC,Uie,IL,Wg,Lo,Vie,Gie,E2,FP,wL,kP,d4,$ie,Mc,IP,wP,PP,eu,Hie,fT,sm;function mKe(p){return(c=[],_=p.process.cwd(),g)=>{let S=new pxe(c,_,g,p);return Object.defineProperty(S,"argv",{get:()=>S.parse(),enumerable:!0}),S.help(),S.version(),S}}var QHe=Symbol("copyDoubleDash"),XHe=Symbol("copyDoubleDash"),nxe=Symbol("deleteFromParserHintObject"),YHe=Symbol("emitWarning"),ZHe=Symbol("freeze"),eKe=Symbol("getDollarZero"),NP=Symbol("getParserConfiguration"),tKe=Symbol("getUsageConfiguration"),ixe=Symbol("guessLocale"),rKe=Symbol("guessVersion"),nKe=Symbol("parsePositionalNumbers"),sxe=Symbol("pkgUp"),m4=Symbol("populateParserHintArray"),PL=Symbol("populateParserHintSingleValueDictionary"),axe=Symbol("populateParserHintArrayDictionary"),oxe=Symbol("populateParserHintDictionary"),cxe=Symbol("sanitizeKey"),uxe=Symbol("setKey"),lxe=Symbol("unfreeze"),iKe=Symbol("validateAsync"),sKe=Symbol("getCommandInstance"),aKe=Symbol("getContext"),oKe=Symbol("getHasOutput"),cKe=Symbol("getLoggerInstance"),uKe=Symbol("getParseContext"),lKe=Symbol("getUsageInstance"),fKe=Symbol("getValidationInstance"),Kie=Symbol("hasParseCallback"),_Ke=Symbol("isGlobalContext"),OP=Symbol("postProcess"),pKe=Symbol("rebase"),fxe=Symbol("reset"),xU=Symbol("runYargsParserAndExecuteCommands"),_xe=Symbol("runValidation"),dKe=Symbol("setHasOutput"),LP=Symbol("kTrackManuallySetKeys"),pxe=class{constructor(c=[],_,g,S){this.customScriptName=!1,this.parsed=!1,Lm.set(this,void 0),TP.set(this,void 0),EU.set(this,{commands:[],fullCommands:[]}),cC.set(this,null),C2.set(this,null),qie.set(this,"show-hidden"),p4.set(this,null),AP.set(this,!0),zie.set(this,{}),uC.set(this,!0),Wie.set(this,[]),lC.set(this,void 0),lT.set(this,{}),S2.set(this,!1),fC.set(this,null),Uie.set(this,!0),IL.set(this,void 0),Wg.set(this,""),Lo.set(this,void 0),Vie.set(this,void 0),Gie.set(this,{}),E2.set(this,null),FP.set(this,null),wL.set(this,{}),kP.set(this,{}),d4.set(this,void 0),$ie.set(this,!1),Mc.set(this,void 0),IP.set(this,!1),wP.set(this,!1),PP.set(this,!1),eu.set(this,void 0),Hie.set(this,{}),fT.set(this,null),sm.set(this,void 0),po(this,Mc,S,"f"),po(this,d4,c,"f"),po(this,TP,_,"f"),po(this,Vie,g,"f"),po(this,lC,new Bie(this),"f"),this.$0=this[eKe](),this[fxe](),po(this,Lm,Qt(this,Lm,"f"),"f"),po(this,eu,Qt(this,eu,"f"),"f"),po(this,sm,Qt(this,sm,"f"),"f"),po(this,Lo,Qt(this,Lo,"f"),"f"),Qt(this,Lo,"f").showHiddenOpt=Qt(this,qie,"f"),po(this,IL,this[XHe](),"f")}addHelpOpt(c,_){let g="help";return co("[string|boolean] [string]",[c,_],arguments.length),Qt(this,fC,"f")&&(this[nxe](Qt(this,fC,"f")),po(this,fC,null,"f")),c===!1&&_===void 0?this:(po(this,fC,typeof c=="string"?c:g,"f"),this.boolean(Qt(this,fC,"f")),this.describe(Qt(this,fC,"f"),_||Qt(this,eu,"f").deferY18nLookup("Show help")),this)}help(c,_){return this.addHelpOpt(c,_)}addShowHiddenOpt(c,_){if(co("[string|boolean] [string]",[c,_],arguments.length),c===!1&&_===void 0)return this;let g=typeof c=="string"?c:Qt(this,qie,"f");return this.boolean(g),this.describe(g,_||Qt(this,eu,"f").deferY18nLookup("Show hidden options")),Qt(this,Lo,"f").showHiddenOpt=g,this}showHidden(c,_){return this.addShowHiddenOpt(c,_)}alias(c,_){return co("<object|string|array> [string|array]",[c,_],arguments.length),this[axe](this.alias.bind(this),"alias",c,_),this}array(c){return co("<array|string>",[c],arguments.length),this[m4]("array",c),this[LP](c),this}boolean(c){return co("<array|string>",[c],arguments.length),this[m4]("boolean",c),this[LP](c),this}check(c,_){return co("<function> [boolean]",[c,_],arguments.length),this.middleware((g,S)=>xP(()=>c(g,S.getOptions()),w=>(w?(typeof w=="string"||w instanceof Error)&&Qt(this,eu,"f").fail(w.toString(),w):Qt(this,eu,"f").fail(Qt(this,Mc,"f").y18n.__("Argument check failed: %s",c.toString())),g),w=>(Qt(this,eu,"f").fail(w.message?w.message:w.toString(),w),g)),!1,_),this}choices(c,_){return co("<object|string|array> [string|array]",[c,_],arguments.length),this[axe](this.choices.bind(this),"choices",c,_),this}coerce(c,_){if(co("<object|string|array> [function]",[c,_],arguments.length),Array.isArray(c)){if(!_)throw new Np("coerce callback must be provided");for(let g of c)this.coerce(g,_);return this}else if(typeof c=="object"){for(let g of Object.keys(c))this.coerce(g,c[g]);return this}if(!_)throw new Np("coerce callback must be provided");return Qt(this,Lo,"f").key[c]=!0,Qt(this,lC,"f").addCoerceMiddleware((g,S)=>{let w;return Object.prototype.hasOwnProperty.call(g,c)?xP(()=>(w=S.getAliases(),_(g[c])),ie=>{g[c]=ie;let de=S.getInternalMethods().getParserConfiguration()["strip-aliased"];if(w[c]&&de!==!0)for(let be of w[c])g[be]=ie;return g},ie=>{throw new Np(ie.message)}):g},c),this}conflicts(c,_){return co("<string|object> [string|array]",[c,_],arguments.length),Qt(this,sm,"f").conflicts(c,_),this}config(c="config",_,g){return co("[object|string] [string|function] [function]",[c,_,g],arguments.length),typeof c=="object"&&!Array.isArray(c)?(c=SU(c,Qt(this,TP,"f"),this[NP]()["deep-merge-config"]||!1,Qt(this,Mc,"f")),Qt(this,Lo,"f").configObjects=(Qt(this,Lo,"f").configObjects||[]).concat(c),this):(typeof _=="function"&&(g=_,_=void 0),this.describe(c,_||Qt(this,eu,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(c)?c:[c]).forEach(S=>{Qt(this,Lo,"f").config[S]=g||!0}),this)}completion(c,_,g){return co("[string] [string|boolean|function] [function]",[c,_,g],arguments.length),typeof _=="function"&&(g=_,_=void 0),po(this,C2,c||Qt(this,C2,"f")||"completion","f"),!_&&_!==!1&&(_="generate completion script"),this.command(Qt(this,C2,"f"),_),g&&Qt(this,cC,"f").registerFunction(g),this}command(c,_,g,S,w,z){return co("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[c,_,g,S,w,z],arguments.length),Qt(this,Lm,"f").addHandler(c,_,g,S,w,z),this}commands(c,_,g,S,w,z){return this.command(c,_,g,S,w,z)}commandDir(c,_){co("<string> [object]",[c,_],arguments.length);let g=Qt(this,Vie,"f")||Qt(this,Mc,"f").require;return Qt(this,Lm,"f").addDirectory(c,g,Qt(this,Mc,"f").getCallerFile(),_),this}count(c){return co("<array|string>",[c],arguments.length),this[m4]("count",c),this[LP](c),this}default(c,_,g){return co("<object|string|array> [*] [string]",[c,_,g],arguments.length),g&&(XEe(c,Qt(this,Mc,"f")),Qt(this,Lo,"f").defaultDescription[c]=g),typeof _=="function"&&(XEe(c,Qt(this,Mc,"f")),Qt(this,Lo,"f").defaultDescription[c]||(Qt(this,Lo,"f").defaultDescription[c]=Qt(this,eu,"f").functionDescription(_)),_=_.call()),this[PL](this.default.bind(this),"default",c,_),this}defaults(c,_,g){return this.default(c,_,g)}demandCommand(c=1,_,g,S){return co("[number] [number|string] [string|null|undefined] [string|null|undefined]",[c,_,g,S],arguments.length),typeof _!="number"&&(g=_,_=1/0),this.global("_",!1),Qt(this,Lo,"f").demandedCommands._={min:c,max:_,minMsg:g,maxMsg:S},this}demand(c,_,g){return Array.isArray(_)?(_.forEach(S=>{ky(g,!0,Qt(this,Mc,"f")),this.demandOption(S,g)}),_=1/0):typeof _!="number"&&(g=_,_=1/0),typeof c=="number"?(ky(g,!0,Qt(this,Mc,"f")),this.demandCommand(c,_,g,g)):Array.isArray(c)?c.forEach(S=>{ky(g,!0,Qt(this,Mc,"f")),this.demandOption(S,g)}):typeof g=="string"?this.demandOption(c,g):(g===!0||typeof g>"u")&&this.demandOption(c),this}demandOption(c,_){return co("<object|string|array> [string]",[c,_],arguments.length),this[PL](this.demandOption.bind(this),"demandedOptions",c,_),this}deprecateOption(c,_){return co("<string> [string|boolean]",[c,_],arguments.length),Qt(this,Lo,"f").deprecatedOptions[c]=_,this}describe(c,_){return co("<object|string|array> [string]",[c,_],arguments.length),this[uxe](c,!0),Qt(this,eu,"f").describe(c,_),this}detectLocale(c){return co("<boolean>",[c],arguments.length),po(this,AP,c,"f"),this}env(c){return co("[string|boolean]",[c],arguments.length),c===!1?delete Qt(this,Lo,"f").envPrefix:Qt(this,Lo,"f").envPrefix=c||"",this}epilogue(c){return co("<string>",[c],arguments.length),Qt(this,eu,"f").epilog(c),this}epilog(c){return this.epilogue(c)}example(c,_){return co("<string|array> [string]",[c,_],arguments.length),Array.isArray(c)?c.forEach(g=>this.example(...g)):Qt(this,eu,"f").example(c,_),this}exit(c,_){po(this,S2,!0,"f"),po(this,p4,_,"f"),Qt(this,uC,"f")&&Qt(this,Mc,"f").process.exit(c)}exitProcess(c=!0){return co("[boolean]",[c],arguments.length),po(this,uC,c,"f"),this}fail(c){if(co("<function|boolean>",[c],arguments.length),typeof c=="boolean"&&c!==!1)throw new Np("Invalid first argument. Expected function or boolean 'false'");return Qt(this,eu,"f").failFn(c),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(c,_){return co("<array> [function]",[c,_],arguments.length),_?Qt(this,cC,"f").getCompletion(c,_):new Promise((g,S)=>{Qt(this,cC,"f").getCompletion(c,(w,z)=>{w?S(w):g(z)})})}getDemandedOptions(){return co([],0),Qt(this,Lo,"f").demandedOptions}getDemandedCommands(){return co([],0),Qt(this,Lo,"f").demandedCommands}getDeprecatedOptions(){return co([],0),Qt(this,Lo,"f").deprecatedOptions}getDetectLocale(){return Qt(this,AP,"f")}getExitProcess(){return Qt(this,uC,"f")}getGroups(){return Object.assign({},Qt(this,lT,"f"),Qt(this,kP,"f"))}getHelp(){if(po(this,S2,!0,"f"),!Qt(this,eu,"f").hasCachedHelpMessage()){if(!this.parsed){let _=this[xU](Qt(this,d4,"f"),void 0,void 0,0,!0);if(Op(_))return _.then(()=>Qt(this,eu,"f").help())}let c=Qt(this,Lm,"f").runDefaultBuilderOn(this);if(Op(c))return c.then(()=>Qt(this,eu,"f").help())}return Promise.resolve(Qt(this,eu,"f").help())}getOptions(){return Qt(this,Lo,"f")}getStrict(){return Qt(this,IP,"f")}getStrictCommands(){return Qt(this,wP,"f")}getStrictOptions(){return Qt(this,PP,"f")}global(c,_){return co("<string|array> [boolean]",[c,_],arguments.length),c=[].concat(c),_!==!1?Qt(this,Lo,"f").local=Qt(this,Lo,"f").local.filter(g=>c.indexOf(g)===-1):c.forEach(g=>{Qt(this,Lo,"f").local.includes(g)||Qt(this,Lo,"f").local.push(g)}),this}group(c,_){co("<string|array> <string>",[c,_],arguments.length);let g=Qt(this,kP,"f")[_]||Qt(this,lT,"f")[_];Qt(this,kP,"f")[_]&&delete Qt(this,kP,"f")[_];let S={};return Qt(this,lT,"f")[_]=(g||[]).concat(c).filter(w=>S[w]?!1:S[w]=!0),this}hide(c){return co("<string>",[c],arguments.length),Qt(this,Lo,"f").hiddenOptions.push(c),this}implies(c,_){return co("<string|object> [number|string|array]",[c,_],arguments.length),Qt(this,sm,"f").implies(c,_),this}locale(c){return co("[string]",[c],arguments.length),c===void 0?(this[ixe](),Qt(this,Mc,"f").y18n.getLocale()):(po(this,AP,!1,"f"),Qt(this,Mc,"f").y18n.setLocale(c),this)}middleware(c,_,g){return Qt(this,lC,"f").addMiddleware(c,!!_,g)}nargs(c,_){return co("<string|object|array> [number]",[c,_],arguments.length),this[PL](this.nargs.bind(this),"narg",c,_),this}normalize(c){return co("<array|string>",[c],arguments.length),this[m4]("normalize",c),this}number(c){return co("<array|string>",[c],arguments.length),this[m4]("number",c),this[LP](c),this}option(c,_){if(co("<string|object> [object]",[c,_],arguments.length),typeof c=="object")Object.keys(c).forEach(g=>{this.options(g,c[g])});else{typeof _!="object"&&(_={}),this[LP](c),Qt(this,fT,"f")&&(c==="version"||_?.alias==="version")&&this[YHe](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
861
- `),void 0,"versionWarning"),Qt(this,Lo,"f").key[c]=!0,_.alias&&this.alias(c,_.alias);let g=_.deprecate||_.deprecated;g&&this.deprecateOption(c,g);let S=_.demand||_.required||_.require;S&&this.demand(c,S),_.demandOption&&this.demandOption(c,typeof _.demandOption=="string"?_.demandOption:void 0),_.conflicts&&this.conflicts(c,_.conflicts),"default"in _&&this.default(c,_.default),_.implies!==void 0&&this.implies(c,_.implies),_.nargs!==void 0&&this.nargs(c,_.nargs),_.config&&this.config(c,_.configParser),_.normalize&&this.normalize(c),_.choices&&this.choices(c,_.choices),_.coerce&&this.coerce(c,_.coerce),_.group&&this.group(c,_.group),(_.boolean||_.type==="boolean")&&(this.boolean(c),_.alias&&this.boolean(_.alias)),(_.array||_.type==="array")&&(this.array(c),_.alias&&this.array(_.alias)),(_.number||_.type==="number")&&(this.number(c),_.alias&&this.number(_.alias)),(_.string||_.type==="string")&&(this.string(c),_.alias&&this.string(_.alias)),(_.count||_.type==="count")&&this.count(c),typeof _.global=="boolean"&&this.global(c,_.global),_.defaultDescription&&(Qt(this,Lo,"f").defaultDescription[c]=_.defaultDescription),_.skipValidation&&this.skipValidation(c);let w=_.describe||_.description||_.desc,z=Qt(this,eu,"f").getDescriptions();(!Object.prototype.hasOwnProperty.call(z,c)||typeof w=="string")&&this.describe(c,w),_.hidden&&this.hide(c),_.requiresArg&&this.requiresArg(c)}return this}options(c,_){return this.option(c,_)}parse(c,_,g){co("[string|array] [function|boolean|object] [function]",[c,_,g],arguments.length),this[ZHe](),typeof c>"u"&&(c=Qt(this,d4,"f")),typeof _=="object"&&(po(this,FP,_,"f"),_=g),typeof _=="function"&&(po(this,E2,_,"f"),_=!1),_||po(this,d4,c,"f"),Qt(this,E2,"f")&&po(this,uC,!1,"f");let S=this[xU](c,!!_),w=this.parsed;return Qt(this,cC,"f").setParsed(this.parsed),Op(S)?S.then(z=>(Qt(this,E2,"f")&&Qt(this,E2,"f").call(this,Qt(this,p4,"f"),z,Qt(this,Wg,"f")),z)).catch(z=>{throw Qt(this,E2,"f")&&Qt(this,E2,"f")(z,this.parsed.argv,Qt(this,Wg,"f")),z}).finally(()=>{this[lxe](),this.parsed=w}):(Qt(this,E2,"f")&&Qt(this,E2,"f").call(this,Qt(this,p4,"f"),S,Qt(this,Wg,"f")),this[lxe](),this.parsed=w,S)}parseAsync(c,_,g){let S=this.parse(c,_,g);return Op(S)?S:Promise.resolve(S)}parseSync(c,_,g){let S=this.parse(c,_,g);if(Op(S))throw new Np(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return S}parserConfiguration(c){return co("<object>",[c],arguments.length),po(this,Gie,c,"f"),this}pkgConf(c,_){co("<string> [string]",[c,_],arguments.length);let g=null,S=this[sxe](_||Qt(this,TP,"f"));return S[c]&&typeof S[c]=="object"&&(g=SU(S[c],_||Qt(this,TP,"f"),this[NP]()["deep-merge-config"]||!1,Qt(this,Mc,"f")),Qt(this,Lo,"f").configObjects=(Qt(this,Lo,"f").configObjects||[]).concat(g)),this}positional(c,_){co("<string> <object>",[c,_],arguments.length);let g=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];_=f4(_,(z,ie)=>z==="type"&&!["string","number","boolean"].includes(ie)?!1:g.includes(z));let S=Qt(this,EU,"f").fullCommands[Qt(this,EU,"f").fullCommands.length-1],w=S?Qt(this,Lm,"f").cmdToParseOptions(S):{array:[],alias:{},default:{},demand:{}};return FL(w).forEach(z=>{let ie=w[z];Array.isArray(ie)?ie.indexOf(c)!==-1&&(_[z]=!0):ie[c]&&!(z in _)&&(_[z]=ie[c])}),this.group(c,Qt(this,eu,"f").getPositionalGroupName()),this.option(c,_)}recommendCommands(c=!0){return co("[boolean]",[c],arguments.length),po(this,$ie,c,"f"),this}required(c,_,g){return this.demand(c,_,g)}require(c,_,g){return this.demand(c,_,g)}requiresArg(c){return co("<array|string|object> [number]",[c],arguments.length),typeof c=="string"&&Qt(this,Lo,"f").narg[c]?this:(this[PL](this.requiresArg.bind(this),"narg",c,NaN),this)}showCompletionScript(c,_){return co("[string] [string]",[c,_],arguments.length),c=c||this.$0,Qt(this,IL,"f").log(Qt(this,cC,"f").generateCompletionScript(c,_||Qt(this,C2,"f")||"completion")),this}showHelp(c){if(co("[string|function]",[c],arguments.length),po(this,S2,!0,"f"),!Qt(this,eu,"f").hasCachedHelpMessage()){if(!this.parsed){let g=this[xU](Qt(this,d4,"f"),void 0,void 0,0,!0);if(Op(g))return g.then(()=>{Qt(this,eu,"f").showHelp(c)}),this}let _=Qt(this,Lm,"f").runDefaultBuilderOn(this);if(Op(_))return _.then(()=>{Qt(this,eu,"f").showHelp(c)}),this}return Qt(this,eu,"f").showHelp(c),this}scriptName(c){return this.customScriptName=!0,this.$0=c,this}showHelpOnFail(c,_){return co("[boolean|string] [string]",[c,_],arguments.length),Qt(this,eu,"f").showHelpOnFail(c,_),this}showVersion(c){return co("[string|function]",[c],arguments.length),Qt(this,eu,"f").showVersion(c),this}skipValidation(c){return co("<array|string>",[c],arguments.length),this[m4]("skipValidation",c),this}strict(c){return co("[boolean]",[c],arguments.length),po(this,IP,c!==!1,"f"),this}strictCommands(c){return co("[boolean]",[c],arguments.length),po(this,wP,c!==!1,"f"),this}strictOptions(c){return co("[boolean]",[c],arguments.length),po(this,PP,c!==!1,"f"),this}string(c){return co("<array|string>",[c],arguments.length),this[m4]("string",c),this[LP](c),this}terminalWidth(){return co([],0),Qt(this,Mc,"f").process.stdColumns}updateLocale(c){return this.updateStrings(c)}updateStrings(c){return co("<object>",[c],arguments.length),po(this,AP,!1,"f"),Qt(this,Mc,"f").y18n.updateLocale(c),this}usage(c,_,g,S){if(co("<string|null|undefined> [string|boolean] [function|object] [function]",[c,_,g,S],arguments.length),_!==void 0){if(ky(c,null,Qt(this,Mc,"f")),(c||"").match(/^\$0( |$)/))return this.command(c,_,g,S);throw new Np(".usage() description must start with $0 if being used as alias for .command()")}else return Qt(this,eu,"f").usage(c),this}usageConfiguration(c){return co("<object>",[c],arguments.length),po(this,Hie,c,"f"),this}version(c,_,g){let S="version";if(co("[boolean|string] [string] [string]",[c,_,g],arguments.length),Qt(this,fT,"f")&&(this[nxe](Qt(this,fT,"f")),Qt(this,eu,"f").version(void 0),po(this,fT,null,"f")),arguments.length===0)g=this[rKe](),c=S;else if(arguments.length===1){if(c===!1)return this;g=c,c=S}else arguments.length===2&&(g=_,_=void 0);return po(this,fT,typeof c=="string"?c:S,"f"),_=_||Qt(this,eu,"f").deferY18nLookup("Show version number"),Qt(this,eu,"f").version(g||void 0),this.boolean(Qt(this,fT,"f")),this.describe(Qt(this,fT,"f"),_),this}wrap(c){return co("<number|null|undefined>",[c],arguments.length),Qt(this,eu,"f").wrap(c),this}[(Lm=new WeakMap,TP=new WeakMap,EU=new WeakMap,cC=new WeakMap,C2=new WeakMap,qie=new WeakMap,p4=new WeakMap,AP=new WeakMap,zie=new WeakMap,uC=new WeakMap,Wie=new WeakMap,lC=new WeakMap,lT=new WeakMap,S2=new WeakMap,fC=new WeakMap,Uie=new WeakMap,IL=new WeakMap,Wg=new WeakMap,Lo=new WeakMap,Vie=new WeakMap,Gie=new WeakMap,E2=new WeakMap,FP=new WeakMap,wL=new WeakMap,kP=new WeakMap,d4=new WeakMap,$ie=new WeakMap,Mc=new WeakMap,IP=new WeakMap,wP=new WeakMap,PP=new WeakMap,eu=new WeakMap,Hie=new WeakMap,fT=new WeakMap,sm=new WeakMap,QHe)](c){if(!c._||!c["--"])return c;c._.push.apply(c._,c["--"]);try{delete c["--"]}catch{}return c}[XHe](){return{log:(...c)=>{this[Kie]()||console.log(...c),po(this,S2,!0,"f"),Qt(this,Wg,"f").length&&po(this,Wg,Qt(this,Wg,"f")+`
858
+ `)}`:"";c.fail(S("Missing required argument: %s","Missing required arguments: %s",Object.keys(ut).length,Object.keys(ut).join(", ")+We))}},w.unknownArguments=function(Oe,Y,ut,Ye,We=!0){var Ut;let _r=_.getInternalMethods().getCommandInstance().getCommands(),Hr=[],On=_.getInternalMethods().getContext();if(Object.keys(Oe).forEach(Hi=>{!$He.includes(Hi)&&!Object.prototype.hasOwnProperty.call(ut,Hi)&&!Object.prototype.hasOwnProperty.call(_.getInternalMethods().getParseContext(),Hi)&&!w.isValidAndSomeAliasIsNotNew(Hi,Y)&&Hr.push(Hi)}),We&&(On.commands.length>0||_r.length>0||Ye)&&Oe._.slice(On.commands.length).forEach(Hi=>{_r.includes(""+Hi)||Hr.push(""+Hi)}),We){let us=((Ut=_.getDemandedCommands()._)===null||Ut===void 0?void 0:Ut.max)||0,Hn=On.commands.length+us;Hn<Oe._.length&&Oe._.slice(Hn).forEach(an=>{an=String(an),!On.commands.includes(an)&&!Hr.includes(an)&&Hr.push(an)})}Hr.length&&c.fail(S("Unknown argument: %s","Unknown arguments: %s",Hr.length,Hr.map(Hi=>Hi.trim()?Hi:`"${Hi}"`).join(", ")))},w.unknownCommands=function(Oe){let Y=_.getInternalMethods().getCommandInstance().getCommands(),ut=[],Ye=_.getInternalMethods().getContext();return(Ye.commands.length>0||Y.length>0)&&Oe._.slice(Ye.commands.length).forEach(We=>{Y.includes(""+We)||ut.push(""+We)}),ut.length>0?(c.fail(S("Unknown command: %s","Unknown commands: %s",ut.length,ut.join(", "))),!0):!1},w.isValidAndSomeAliasIsNotNew=function(Oe,Y){if(!Object.prototype.hasOwnProperty.call(Y,Oe))return!1;let ut=_.parsed.newAliases;return[Oe,...Y[Oe]].some(Ye=>!Object.prototype.hasOwnProperty.call(ut,Ye)||!ut[Oe])},w.limitedChoices=function(Oe){let Y=_.getOptions(),ut={};if(!Object.keys(Y.choices).length)return;Object.keys(Oe).forEach(Ut=>{$He.indexOf(Ut)===-1&&Object.prototype.hasOwnProperty.call(Y.choices,Ut)&&[].concat(Oe[Ut]).forEach(_r=>{Y.choices[Ut].indexOf(_r)===-1&&_r!==void 0&&(ut[Ut]=(ut[Ut]||[]).concat(_r))})});let Ye=Object.keys(ut);if(!Ye.length)return;let We=g("Invalid values:");Ye.forEach(Ut=>{We+=`
859
+ ${g("Argument: %s, Given: %s, Choices: %s",Ut,c.stringifiedValues(ut[Ut]),c.stringifiedValues(Y.choices[Ut]))}`}),c.fail(We)};let z={};w.implies=function(Oe,Y){co("<string|object> [array|number|string]",[Oe,Y],arguments.length),typeof Oe=="object"?Object.keys(Oe).forEach(ut=>{w.implies(ut,Oe[ut])}):(_.global(Oe),z[Oe]||(z[Oe]=[]),Array.isArray(Y)?Y.forEach(ut=>w.implies(Oe,ut)):(ky(Y,void 0,p),z[Oe].push(Y)))},w.getImplied=function(){return z};function ie(Ee,Oe){let Y=Number(Oe);return Oe=isNaN(Y)?Oe:Y,typeof Oe=="number"?Oe=Ee._.length>=Oe:Oe.match(/^--no-.+/)?(Oe=Oe.match(/^--no-(.+)/)[1],Oe=!Object.prototype.hasOwnProperty.call(Ee,Oe)):Oe=Object.prototype.hasOwnProperty.call(Ee,Oe),Oe}w.implications=function(Oe){let Y=[];if(Object.keys(z).forEach(ut=>{let Ye=ut;(z[ut]||[]).forEach(We=>{let Ut=Ye,_r=We;Ut=ie(Oe,Ut),We=ie(Oe,We),Ut&&!We&&Y.push(` ${Ye} -> ${_r}`)})}),Y.length){let ut=`${g("Implications failed:")}
860
+ `;Y.forEach(Ye=>{ut+=Ye}),c.fail(ut)}};let de={};w.conflicts=function(Oe,Y){co("<string|object> [array|string]",[Oe,Y],arguments.length),typeof Oe=="object"?Object.keys(Oe).forEach(ut=>{w.conflicts(ut,Oe[ut])}):(_.global(Oe),de[Oe]||(de[Oe]=[]),Array.isArray(Y)?Y.forEach(ut=>w.conflicts(Oe,ut)):de[Oe].push(Y))},w.getConflicting=()=>de,w.conflicting=function(Oe){Object.keys(Oe).forEach(Y=>{de[Y]&&de[Y].forEach(ut=>{ut&&Oe[Y]!==void 0&&Oe[ut]!==void 0&&c.fail(g("Arguments %s and %s are mutually exclusive",Y,ut))})}),_.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(de).forEach(Y=>{de[Y].forEach(ut=>{ut&&Oe[p.Parser.camelCase(Y)]!==void 0&&Oe[p.Parser.camelCase(ut)]!==void 0&&c.fail(g("Arguments %s and %s are mutually exclusive",Y,ut))})})},w.recommendCommands=function(Oe,Y){Y=Y.sort((Ut,_r)=>_r.length-Ut.length);let Ye=null,We=1/0;for(let Ut=0,_r;(_r=Y[Ut])!==void 0;Ut++){let Hr=GHe(Oe,_r);Hr<=3&&Hr<We&&(We=Hr,Ye=_r)}Ye&&c.fail(g("Did you mean %s?",Ye))},w.reset=function(Oe){return z=f4(z,Y=>!Oe[Y]),de=f4(de,Y=>!Oe[Y]),w};let be=[];return w.freeze=function(){be.push({implied:z,conflicting:de})},w.unfreeze=function(){let Oe=be.pop();ky(Oe,void 0,p),{implied:z,conflicting:de}=Oe},w}var rxe=[],CU;function SU(_,c,p,g){CU=g;let S={};if(Object.prototype.hasOwnProperty.call(_,"extends")){if(typeof _.extends!="string")return S;let w=/\.json|\..*rc$/.test(_.extends),z=null;if(w)z=wBt(c,_.extends);else try{z=require.resolve(_.extends)}catch{return _}IBt(z),rxe.push(z),S=w?JSON.parse(CU.readFileSync(z,"utf8")):require(_.extends),delete _.extends,S=SU(S,CU.path.dirname(z),p,CU)}return rxe=[],p?KHe(S,_):Object.assign({},S,_)}function IBt(_){if(rxe.indexOf(_)>-1)throw new Np(`Circular extended configurations: '${_}'.`)}function wBt(_,c){return CU.path.resolve(_,c)}function KHe(_,c){let p={};function g(S){return S&&typeof S=="object"&&!Array.isArray(S)}Object.assign(p,_);for(let S of Object.keys(c))g(c[S])&&g(p[S])?p[S]=KHe(_[S],c[S]):p[S]=c[S];return p}var po=function(_,c,p,g,S){if(g==="m")throw new TypeError("Private method is not writable");if(g==="a"&&!S)throw new TypeError("Private accessor was defined without a setter");if(typeof c=="function"?_!==c||!S:!c.has(_))throw new TypeError("Cannot write private member to an object whose class did not declare it");return g==="a"?S.call(_,p):S?S.value=p:c.set(_,p),p},Qt=function(_,c,p,g){if(p==="a"&&!g)throw new TypeError("Private accessor was defined without a getter");if(typeof c=="function"?_!==c||!g:!c.has(_))throw new TypeError("Cannot read private member from an object whose class did not declare it");return p==="m"?g:p==="a"?g.call(_):g?g.value:c.get(_)},Lm,TP,EU,cC,C2,qie,p4,AP,zie,uC,Wie,lC,lT,S2,fC,Uie,IL,Wg,Lo,Vie,Gie,E2,FP,wL,kP,d4,$ie,Mc,IP,wP,PP,eu,Hie,fT,sm;function mKe(_){return(c=[],p=_.process.cwd(),g)=>{let S=new pxe(c,p,g,_);return Object.defineProperty(S,"argv",{get:()=>S.parse(),enumerable:!0}),S.help(),S.version(),S}}var QHe=Symbol("copyDoubleDash"),XHe=Symbol("copyDoubleDash"),nxe=Symbol("deleteFromParserHintObject"),YHe=Symbol("emitWarning"),ZHe=Symbol("freeze"),eKe=Symbol("getDollarZero"),NP=Symbol("getParserConfiguration"),tKe=Symbol("getUsageConfiguration"),ixe=Symbol("guessLocale"),rKe=Symbol("guessVersion"),nKe=Symbol("parsePositionalNumbers"),sxe=Symbol("pkgUp"),m4=Symbol("populateParserHintArray"),PL=Symbol("populateParserHintSingleValueDictionary"),axe=Symbol("populateParserHintArrayDictionary"),oxe=Symbol("populateParserHintDictionary"),cxe=Symbol("sanitizeKey"),uxe=Symbol("setKey"),lxe=Symbol("unfreeze"),iKe=Symbol("validateAsync"),sKe=Symbol("getCommandInstance"),aKe=Symbol("getContext"),oKe=Symbol("getHasOutput"),cKe=Symbol("getLoggerInstance"),uKe=Symbol("getParseContext"),lKe=Symbol("getUsageInstance"),fKe=Symbol("getValidationInstance"),Kie=Symbol("hasParseCallback"),_Ke=Symbol("isGlobalContext"),OP=Symbol("postProcess"),pKe=Symbol("rebase"),fxe=Symbol("reset"),xU=Symbol("runYargsParserAndExecuteCommands"),_xe=Symbol("runValidation"),dKe=Symbol("setHasOutput"),LP=Symbol("kTrackManuallySetKeys"),pxe=class{constructor(c=[],p,g,S){this.customScriptName=!1,this.parsed=!1,Lm.set(this,void 0),TP.set(this,void 0),EU.set(this,{commands:[],fullCommands:[]}),cC.set(this,null),C2.set(this,null),qie.set(this,"show-hidden"),p4.set(this,null),AP.set(this,!0),zie.set(this,{}),uC.set(this,!0),Wie.set(this,[]),lC.set(this,void 0),lT.set(this,{}),S2.set(this,!1),fC.set(this,null),Uie.set(this,!0),IL.set(this,void 0),Wg.set(this,""),Lo.set(this,void 0),Vie.set(this,void 0),Gie.set(this,{}),E2.set(this,null),FP.set(this,null),wL.set(this,{}),kP.set(this,{}),d4.set(this,void 0),$ie.set(this,!1),Mc.set(this,void 0),IP.set(this,!1),wP.set(this,!1),PP.set(this,!1),eu.set(this,void 0),Hie.set(this,{}),fT.set(this,null),sm.set(this,void 0),po(this,Mc,S,"f"),po(this,d4,c,"f"),po(this,TP,p,"f"),po(this,Vie,g,"f"),po(this,lC,new Bie(this),"f"),this.$0=this[eKe](),this[fxe](),po(this,Lm,Qt(this,Lm,"f"),"f"),po(this,eu,Qt(this,eu,"f"),"f"),po(this,sm,Qt(this,sm,"f"),"f"),po(this,Lo,Qt(this,Lo,"f"),"f"),Qt(this,Lo,"f").showHiddenOpt=Qt(this,qie,"f"),po(this,IL,this[XHe](),"f")}addHelpOpt(c,p){let g="help";return co("[string|boolean] [string]",[c,p],arguments.length),Qt(this,fC,"f")&&(this[nxe](Qt(this,fC,"f")),po(this,fC,null,"f")),c===!1&&p===void 0?this:(po(this,fC,typeof c=="string"?c:g,"f"),this.boolean(Qt(this,fC,"f")),this.describe(Qt(this,fC,"f"),p||Qt(this,eu,"f").deferY18nLookup("Show help")),this)}help(c,p){return this.addHelpOpt(c,p)}addShowHiddenOpt(c,p){if(co("[string|boolean] [string]",[c,p],arguments.length),c===!1&&p===void 0)return this;let g=typeof c=="string"?c:Qt(this,qie,"f");return this.boolean(g),this.describe(g,p||Qt(this,eu,"f").deferY18nLookup("Show hidden options")),Qt(this,Lo,"f").showHiddenOpt=g,this}showHidden(c,p){return this.addShowHiddenOpt(c,p)}alias(c,p){return co("<object|string|array> [string|array]",[c,p],arguments.length),this[axe](this.alias.bind(this),"alias",c,p),this}array(c){return co("<array|string>",[c],arguments.length),this[m4]("array",c),this[LP](c),this}boolean(c){return co("<array|string>",[c],arguments.length),this[m4]("boolean",c),this[LP](c),this}check(c,p){return co("<function> [boolean]",[c,p],arguments.length),this.middleware((g,S)=>xP(()=>c(g,S.getOptions()),w=>(w?(typeof w=="string"||w instanceof Error)&&Qt(this,eu,"f").fail(w.toString(),w):Qt(this,eu,"f").fail(Qt(this,Mc,"f").y18n.__("Argument check failed: %s",c.toString())),g),w=>(Qt(this,eu,"f").fail(w.message?w.message:w.toString(),w),g)),!1,p),this}choices(c,p){return co("<object|string|array> [string|array]",[c,p],arguments.length),this[axe](this.choices.bind(this),"choices",c,p),this}coerce(c,p){if(co("<object|string|array> [function]",[c,p],arguments.length),Array.isArray(c)){if(!p)throw new Np("coerce callback must be provided");for(let g of c)this.coerce(g,p);return this}else if(typeof c=="object"){for(let g of Object.keys(c))this.coerce(g,c[g]);return this}if(!p)throw new Np("coerce callback must be provided");return Qt(this,Lo,"f").key[c]=!0,Qt(this,lC,"f").addCoerceMiddleware((g,S)=>{let w;return Object.prototype.hasOwnProperty.call(g,c)?xP(()=>(w=S.getAliases(),p(g[c])),ie=>{g[c]=ie;let de=S.getInternalMethods().getParserConfiguration()["strip-aliased"];if(w[c]&&de!==!0)for(let be of w[c])g[be]=ie;return g},ie=>{throw new Np(ie.message)}):g},c),this}conflicts(c,p){return co("<string|object> [string|array]",[c,p],arguments.length),Qt(this,sm,"f").conflicts(c,p),this}config(c="config",p,g){return co("[object|string] [string|function] [function]",[c,p,g],arguments.length),typeof c=="object"&&!Array.isArray(c)?(c=SU(c,Qt(this,TP,"f"),this[NP]()["deep-merge-config"]||!1,Qt(this,Mc,"f")),Qt(this,Lo,"f").configObjects=(Qt(this,Lo,"f").configObjects||[]).concat(c),this):(typeof p=="function"&&(g=p,p=void 0),this.describe(c,p||Qt(this,eu,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(c)?c:[c]).forEach(S=>{Qt(this,Lo,"f").config[S]=g||!0}),this)}completion(c,p,g){return co("[string] [string|boolean|function] [function]",[c,p,g],arguments.length),typeof p=="function"&&(g=p,p=void 0),po(this,C2,c||Qt(this,C2,"f")||"completion","f"),!p&&p!==!1&&(p="generate completion script"),this.command(Qt(this,C2,"f"),p),g&&Qt(this,cC,"f").registerFunction(g),this}command(c,p,g,S,w,z){return co("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[c,p,g,S,w,z],arguments.length),Qt(this,Lm,"f").addHandler(c,p,g,S,w,z),this}commands(c,p,g,S,w,z){return this.command(c,p,g,S,w,z)}commandDir(c,p){co("<string> [object]",[c,p],arguments.length);let g=Qt(this,Vie,"f")||Qt(this,Mc,"f").require;return Qt(this,Lm,"f").addDirectory(c,g,Qt(this,Mc,"f").getCallerFile(),p),this}count(c){return co("<array|string>",[c],arguments.length),this[m4]("count",c),this[LP](c),this}default(c,p,g){return co("<object|string|array> [*] [string]",[c,p,g],arguments.length),g&&(XEe(c,Qt(this,Mc,"f")),Qt(this,Lo,"f").defaultDescription[c]=g),typeof p=="function"&&(XEe(c,Qt(this,Mc,"f")),Qt(this,Lo,"f").defaultDescription[c]||(Qt(this,Lo,"f").defaultDescription[c]=Qt(this,eu,"f").functionDescription(p)),p=p.call()),this[PL](this.default.bind(this),"default",c,p),this}defaults(c,p,g){return this.default(c,p,g)}demandCommand(c=1,p,g,S){return co("[number] [number|string] [string|null|undefined] [string|null|undefined]",[c,p,g,S],arguments.length),typeof p!="number"&&(g=p,p=1/0),this.global("_",!1),Qt(this,Lo,"f").demandedCommands._={min:c,max:p,minMsg:g,maxMsg:S},this}demand(c,p,g){return Array.isArray(p)?(p.forEach(S=>{ky(g,!0,Qt(this,Mc,"f")),this.demandOption(S,g)}),p=1/0):typeof p!="number"&&(g=p,p=1/0),typeof c=="number"?(ky(g,!0,Qt(this,Mc,"f")),this.demandCommand(c,p,g,g)):Array.isArray(c)?c.forEach(S=>{ky(g,!0,Qt(this,Mc,"f")),this.demandOption(S,g)}):typeof g=="string"?this.demandOption(c,g):(g===!0||typeof g>"u")&&this.demandOption(c),this}demandOption(c,p){return co("<object|string|array> [string]",[c,p],arguments.length),this[PL](this.demandOption.bind(this),"demandedOptions",c,p),this}deprecateOption(c,p){return co("<string> [string|boolean]",[c,p],arguments.length),Qt(this,Lo,"f").deprecatedOptions[c]=p,this}describe(c,p){return co("<object|string|array> [string]",[c,p],arguments.length),this[uxe](c,!0),Qt(this,eu,"f").describe(c,p),this}detectLocale(c){return co("<boolean>",[c],arguments.length),po(this,AP,c,"f"),this}env(c){return co("[string|boolean]",[c],arguments.length),c===!1?delete Qt(this,Lo,"f").envPrefix:Qt(this,Lo,"f").envPrefix=c||"",this}epilogue(c){return co("<string>",[c],arguments.length),Qt(this,eu,"f").epilog(c),this}epilog(c){return this.epilogue(c)}example(c,p){return co("<string|array> [string]",[c,p],arguments.length),Array.isArray(c)?c.forEach(g=>this.example(...g)):Qt(this,eu,"f").example(c,p),this}exit(c,p){po(this,S2,!0,"f"),po(this,p4,p,"f"),Qt(this,uC,"f")&&Qt(this,Mc,"f").process.exit(c)}exitProcess(c=!0){return co("[boolean]",[c],arguments.length),po(this,uC,c,"f"),this}fail(c){if(co("<function|boolean>",[c],arguments.length),typeof c=="boolean"&&c!==!1)throw new Np("Invalid first argument. Expected function or boolean 'false'");return Qt(this,eu,"f").failFn(c),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(c,p){return co("<array> [function]",[c,p],arguments.length),p?Qt(this,cC,"f").getCompletion(c,p):new Promise((g,S)=>{Qt(this,cC,"f").getCompletion(c,(w,z)=>{w?S(w):g(z)})})}getDemandedOptions(){return co([],0),Qt(this,Lo,"f").demandedOptions}getDemandedCommands(){return co([],0),Qt(this,Lo,"f").demandedCommands}getDeprecatedOptions(){return co([],0),Qt(this,Lo,"f").deprecatedOptions}getDetectLocale(){return Qt(this,AP,"f")}getExitProcess(){return Qt(this,uC,"f")}getGroups(){return Object.assign({},Qt(this,lT,"f"),Qt(this,kP,"f"))}getHelp(){if(po(this,S2,!0,"f"),!Qt(this,eu,"f").hasCachedHelpMessage()){if(!this.parsed){let p=this[xU](Qt(this,d4,"f"),void 0,void 0,0,!0);if(Op(p))return p.then(()=>Qt(this,eu,"f").help())}let c=Qt(this,Lm,"f").runDefaultBuilderOn(this);if(Op(c))return c.then(()=>Qt(this,eu,"f").help())}return Promise.resolve(Qt(this,eu,"f").help())}getOptions(){return Qt(this,Lo,"f")}getStrict(){return Qt(this,IP,"f")}getStrictCommands(){return Qt(this,wP,"f")}getStrictOptions(){return Qt(this,PP,"f")}global(c,p){return co("<string|array> [boolean]",[c,p],arguments.length),c=[].concat(c),p!==!1?Qt(this,Lo,"f").local=Qt(this,Lo,"f").local.filter(g=>c.indexOf(g)===-1):c.forEach(g=>{Qt(this,Lo,"f").local.includes(g)||Qt(this,Lo,"f").local.push(g)}),this}group(c,p){co("<string|array> <string>",[c,p],arguments.length);let g=Qt(this,kP,"f")[p]||Qt(this,lT,"f")[p];Qt(this,kP,"f")[p]&&delete Qt(this,kP,"f")[p];let S={};return Qt(this,lT,"f")[p]=(g||[]).concat(c).filter(w=>S[w]?!1:S[w]=!0),this}hide(c){return co("<string>",[c],arguments.length),Qt(this,Lo,"f").hiddenOptions.push(c),this}implies(c,p){return co("<string|object> [number|string|array]",[c,p],arguments.length),Qt(this,sm,"f").implies(c,p),this}locale(c){return co("[string]",[c],arguments.length),c===void 0?(this[ixe](),Qt(this,Mc,"f").y18n.getLocale()):(po(this,AP,!1,"f"),Qt(this,Mc,"f").y18n.setLocale(c),this)}middleware(c,p,g){return Qt(this,lC,"f").addMiddleware(c,!!p,g)}nargs(c,p){return co("<string|object|array> [number]",[c,p],arguments.length),this[PL](this.nargs.bind(this),"narg",c,p),this}normalize(c){return co("<array|string>",[c],arguments.length),this[m4]("normalize",c),this}number(c){return co("<array|string>",[c],arguments.length),this[m4]("number",c),this[LP](c),this}option(c,p){if(co("<string|object> [object]",[c,p],arguments.length),typeof c=="object")Object.keys(c).forEach(g=>{this.options(g,c[g])});else{typeof p!="object"&&(p={}),this[LP](c),Qt(this,fT,"f")&&(c==="version"||p?.alias==="version")&&this[YHe](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
861
+ `),void 0,"versionWarning"),Qt(this,Lo,"f").key[c]=!0,p.alias&&this.alias(c,p.alias);let g=p.deprecate||p.deprecated;g&&this.deprecateOption(c,g);let S=p.demand||p.required||p.require;S&&this.demand(c,S),p.demandOption&&this.demandOption(c,typeof p.demandOption=="string"?p.demandOption:void 0),p.conflicts&&this.conflicts(c,p.conflicts),"default"in p&&this.default(c,p.default),p.implies!==void 0&&this.implies(c,p.implies),p.nargs!==void 0&&this.nargs(c,p.nargs),p.config&&this.config(c,p.configParser),p.normalize&&this.normalize(c),p.choices&&this.choices(c,p.choices),p.coerce&&this.coerce(c,p.coerce),p.group&&this.group(c,p.group),(p.boolean||p.type==="boolean")&&(this.boolean(c),p.alias&&this.boolean(p.alias)),(p.array||p.type==="array")&&(this.array(c),p.alias&&this.array(p.alias)),(p.number||p.type==="number")&&(this.number(c),p.alias&&this.number(p.alias)),(p.string||p.type==="string")&&(this.string(c),p.alias&&this.string(p.alias)),(p.count||p.type==="count")&&this.count(c),typeof p.global=="boolean"&&this.global(c,p.global),p.defaultDescription&&(Qt(this,Lo,"f").defaultDescription[c]=p.defaultDescription),p.skipValidation&&this.skipValidation(c);let w=p.describe||p.description||p.desc,z=Qt(this,eu,"f").getDescriptions();(!Object.prototype.hasOwnProperty.call(z,c)||typeof w=="string")&&this.describe(c,w),p.hidden&&this.hide(c),p.requiresArg&&this.requiresArg(c)}return this}options(c,p){return this.option(c,p)}parse(c,p,g){co("[string|array] [function|boolean|object] [function]",[c,p,g],arguments.length),this[ZHe](),typeof c>"u"&&(c=Qt(this,d4,"f")),typeof p=="object"&&(po(this,FP,p,"f"),p=g),typeof p=="function"&&(po(this,E2,p,"f"),p=!1),p||po(this,d4,c,"f"),Qt(this,E2,"f")&&po(this,uC,!1,"f");let S=this[xU](c,!!p),w=this.parsed;return Qt(this,cC,"f").setParsed(this.parsed),Op(S)?S.then(z=>(Qt(this,E2,"f")&&Qt(this,E2,"f").call(this,Qt(this,p4,"f"),z,Qt(this,Wg,"f")),z)).catch(z=>{throw Qt(this,E2,"f")&&Qt(this,E2,"f")(z,this.parsed.argv,Qt(this,Wg,"f")),z}).finally(()=>{this[lxe](),this.parsed=w}):(Qt(this,E2,"f")&&Qt(this,E2,"f").call(this,Qt(this,p4,"f"),S,Qt(this,Wg,"f")),this[lxe](),this.parsed=w,S)}parseAsync(c,p,g){let S=this.parse(c,p,g);return Op(S)?S:Promise.resolve(S)}parseSync(c,p,g){let S=this.parse(c,p,g);if(Op(S))throw new Np(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return S}parserConfiguration(c){return co("<object>",[c],arguments.length),po(this,Gie,c,"f"),this}pkgConf(c,p){co("<string> [string]",[c,p],arguments.length);let g=null,S=this[sxe](p||Qt(this,TP,"f"));return S[c]&&typeof S[c]=="object"&&(g=SU(S[c],p||Qt(this,TP,"f"),this[NP]()["deep-merge-config"]||!1,Qt(this,Mc,"f")),Qt(this,Lo,"f").configObjects=(Qt(this,Lo,"f").configObjects||[]).concat(g)),this}positional(c,p){co("<string> <object>",[c,p],arguments.length);let g=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];p=f4(p,(z,ie)=>z==="type"&&!["string","number","boolean"].includes(ie)?!1:g.includes(z));let S=Qt(this,EU,"f").fullCommands[Qt(this,EU,"f").fullCommands.length-1],w=S?Qt(this,Lm,"f").cmdToParseOptions(S):{array:[],alias:{},default:{},demand:{}};return FL(w).forEach(z=>{let ie=w[z];Array.isArray(ie)?ie.indexOf(c)!==-1&&(p[z]=!0):ie[c]&&!(z in p)&&(p[z]=ie[c])}),this.group(c,Qt(this,eu,"f").getPositionalGroupName()),this.option(c,p)}recommendCommands(c=!0){return co("[boolean]",[c],arguments.length),po(this,$ie,c,"f"),this}required(c,p,g){return this.demand(c,p,g)}require(c,p,g){return this.demand(c,p,g)}requiresArg(c){return co("<array|string|object> [number]",[c],arguments.length),typeof c=="string"&&Qt(this,Lo,"f").narg[c]?this:(this[PL](this.requiresArg.bind(this),"narg",c,NaN),this)}showCompletionScript(c,p){return co("[string] [string]",[c,p],arguments.length),c=c||this.$0,Qt(this,IL,"f").log(Qt(this,cC,"f").generateCompletionScript(c,p||Qt(this,C2,"f")||"completion")),this}showHelp(c){if(co("[string|function]",[c],arguments.length),po(this,S2,!0,"f"),!Qt(this,eu,"f").hasCachedHelpMessage()){if(!this.parsed){let g=this[xU](Qt(this,d4,"f"),void 0,void 0,0,!0);if(Op(g))return g.then(()=>{Qt(this,eu,"f").showHelp(c)}),this}let p=Qt(this,Lm,"f").runDefaultBuilderOn(this);if(Op(p))return p.then(()=>{Qt(this,eu,"f").showHelp(c)}),this}return Qt(this,eu,"f").showHelp(c),this}scriptName(c){return this.customScriptName=!0,this.$0=c,this}showHelpOnFail(c,p){return co("[boolean|string] [string]",[c,p],arguments.length),Qt(this,eu,"f").showHelpOnFail(c,p),this}showVersion(c){return co("[string|function]",[c],arguments.length),Qt(this,eu,"f").showVersion(c),this}skipValidation(c){return co("<array|string>",[c],arguments.length),this[m4]("skipValidation",c),this}strict(c){return co("[boolean]",[c],arguments.length),po(this,IP,c!==!1,"f"),this}strictCommands(c){return co("[boolean]",[c],arguments.length),po(this,wP,c!==!1,"f"),this}strictOptions(c){return co("[boolean]",[c],arguments.length),po(this,PP,c!==!1,"f"),this}string(c){return co("<array|string>",[c],arguments.length),this[m4]("string",c),this[LP](c),this}terminalWidth(){return co([],0),Qt(this,Mc,"f").process.stdColumns}updateLocale(c){return this.updateStrings(c)}updateStrings(c){return co("<object>",[c],arguments.length),po(this,AP,!1,"f"),Qt(this,Mc,"f").y18n.updateLocale(c),this}usage(c,p,g,S){if(co("<string|null|undefined> [string|boolean] [function|object] [function]",[c,p,g,S],arguments.length),p!==void 0){if(ky(c,null,Qt(this,Mc,"f")),(c||"").match(/^\$0( |$)/))return this.command(c,p,g,S);throw new Np(".usage() description must start with $0 if being used as alias for .command()")}else return Qt(this,eu,"f").usage(c),this}usageConfiguration(c){return co("<object>",[c],arguments.length),po(this,Hie,c,"f"),this}version(c,p,g){let S="version";if(co("[boolean|string] [string] [string]",[c,p,g],arguments.length),Qt(this,fT,"f")&&(this[nxe](Qt(this,fT,"f")),Qt(this,eu,"f").version(void 0),po(this,fT,null,"f")),arguments.length===0)g=this[rKe](),c=S;else if(arguments.length===1){if(c===!1)return this;g=c,c=S}else arguments.length===2&&(g=p,p=void 0);return po(this,fT,typeof c=="string"?c:S,"f"),p=p||Qt(this,eu,"f").deferY18nLookup("Show version number"),Qt(this,eu,"f").version(g||void 0),this.boolean(Qt(this,fT,"f")),this.describe(Qt(this,fT,"f"),p),this}wrap(c){return co("<number|null|undefined>",[c],arguments.length),Qt(this,eu,"f").wrap(c),this}[(Lm=new WeakMap,TP=new WeakMap,EU=new WeakMap,cC=new WeakMap,C2=new WeakMap,qie=new WeakMap,p4=new WeakMap,AP=new WeakMap,zie=new WeakMap,uC=new WeakMap,Wie=new WeakMap,lC=new WeakMap,lT=new WeakMap,S2=new WeakMap,fC=new WeakMap,Uie=new WeakMap,IL=new WeakMap,Wg=new WeakMap,Lo=new WeakMap,Vie=new WeakMap,Gie=new WeakMap,E2=new WeakMap,FP=new WeakMap,wL=new WeakMap,kP=new WeakMap,d4=new WeakMap,$ie=new WeakMap,Mc=new WeakMap,IP=new WeakMap,wP=new WeakMap,PP=new WeakMap,eu=new WeakMap,Hie=new WeakMap,fT=new WeakMap,sm=new WeakMap,QHe)](c){if(!c._||!c["--"])return c;c._.push.apply(c._,c["--"]);try{delete c["--"]}catch{}return c}[XHe](){return{log:(...c)=>{this[Kie]()||console.log(...c),po(this,S2,!0,"f"),Qt(this,Wg,"f").length&&po(this,Wg,Qt(this,Wg,"f")+`
862
862
  `,"f"),po(this,Wg,Qt(this,Wg,"f")+c.join(" "),"f")},error:(...c)=>{this[Kie]()||console.error(...c),po(this,S2,!0,"f"),Qt(this,Wg,"f").length&&po(this,Wg,Qt(this,Wg,"f")+`
863
- `,"f"),po(this,Wg,Qt(this,Wg,"f")+c.join(" "),"f")}}}[nxe](c){FL(Qt(this,Lo,"f")).forEach(_=>{if((S=>S==="configObjects")(_))return;let g=Qt(this,Lo,"f")[_];Array.isArray(g)?g.includes(c)&&g.splice(g.indexOf(c),1):typeof g=="object"&&delete g[c]}),delete Qt(this,eu,"f").getDescriptions()[c]}[YHe](c,_,g){Qt(this,zie,"f")[g]||(Qt(this,Mc,"f").process.emitWarning(c,_),Qt(this,zie,"f")[g]=!0)}[ZHe](){Qt(this,Wie,"f").push({options:Qt(this,Lo,"f"),configObjects:Qt(this,Lo,"f").configObjects.slice(0),exitProcess:Qt(this,uC,"f"),groups:Qt(this,lT,"f"),strict:Qt(this,IP,"f"),strictCommands:Qt(this,wP,"f"),strictOptions:Qt(this,PP,"f"),completionCommand:Qt(this,C2,"f"),output:Qt(this,Wg,"f"),exitError:Qt(this,p4,"f"),hasOutput:Qt(this,S2,"f"),parsed:this.parsed,parseFn:Qt(this,E2,"f"),parseContext:Qt(this,FP,"f")}),Qt(this,eu,"f").freeze(),Qt(this,sm,"f").freeze(),Qt(this,Lm,"f").freeze(),Qt(this,lC,"f").freeze()}[eKe](){let c="",_;return/\b(node|iojs|electron)(\.exe)?$/.test(Qt(this,Mc,"f").process.argv()[0])?_=Qt(this,Mc,"f").process.argv().slice(1,2):_=Qt(this,Mc,"f").process.argv().slice(0,1),c=_.map(g=>{let S=this[pKe](Qt(this,TP,"f"),g);return g.match(/^(\/|([a-zA-Z]:)?\\)/)&&S.length<g.length?S:g}).join(" ").trim(),Qt(this,Mc,"f").getEnv("_")&&Qt(this,Mc,"f").getProcessArgvBin()===Qt(this,Mc,"f").getEnv("_")&&(c=Qt(this,Mc,"f").getEnv("_").replace(`${Qt(this,Mc,"f").path.dirname(Qt(this,Mc,"f").process.execPath())}/`,"")),c}[NP](){return Qt(this,Gie,"f")}[tKe](){return Qt(this,Hie,"f")}[ixe](){if(!Qt(this,AP,"f"))return;let c=Qt(this,Mc,"f").getEnv("LC_ALL")||Qt(this,Mc,"f").getEnv("LC_MESSAGES")||Qt(this,Mc,"f").getEnv("LANG")||Qt(this,Mc,"f").getEnv("LANGUAGE")||"en_US";this.locale(c.replace(/[.:].*/,""))}[rKe](){return this[sxe]().version||"unknown"}[nKe](c){let _=c["--"]?c["--"]:c._;for(let g=0,S;(S=_[g])!==void 0;g++)Qt(this,Mc,"f").Parser.looksLikeNumber(S)&&Number.isSafeInteger(Math.floor(parseFloat(`${S}`)))&&(_[g]=Number(S));return c}[sxe](c){let _=c||"*";if(Qt(this,wL,"f")[_])return Qt(this,wL,"f")[_];let g={};try{let S=c||Qt(this,Mc,"f").mainFilename;!c&&Qt(this,Mc,"f").path.extname(S)&&(S=Qt(this,Mc,"f").path.dirname(S));let w=Qt(this,Mc,"f").findUp(S,(z,ie)=>{if(ie.includes("package.json"))return"package.json"});ky(w,void 0,Qt(this,Mc,"f")),g=JSON.parse(Qt(this,Mc,"f").readFileSync(w,"utf8"))}catch{}return Qt(this,wL,"f")[_]=g||{},Qt(this,wL,"f")[_]}[m4](c,_){_=[].concat(_),_.forEach(g=>{g=this[cxe](g),Qt(this,Lo,"f")[c].push(g)})}[PL](c,_,g,S){this[oxe](c,_,g,S,(w,z,ie)=>{Qt(this,Lo,"f")[w][z]=ie})}[axe](c,_,g,S){this[oxe](c,_,g,S,(w,z,ie)=>{Qt(this,Lo,"f")[w][z]=(Qt(this,Lo,"f")[w][z]||[]).concat(ie)})}[oxe](c,_,g,S,w){if(Array.isArray(g))g.forEach(z=>{c(z,S)});else if((z=>typeof z=="object")(g))for(let z of FL(g))c(z,g[z]);else w(_,this[cxe](g),S)}[cxe](c){return c==="__proto__"?"___proto___":c}[uxe](c,_){return this[PL](this[uxe].bind(this),"key",c,_),this}[lxe](){var c,_,g,S,w,z,ie,de,be,Ee,Oe,Y;let ut=Qt(this,Wie,"f").pop();ky(ut,void 0,Qt(this,Mc,"f"));let Ye;c=this,_=this,g=this,S=this,w=this,z=this,ie=this,de=this,be=this,Ee=this,Oe=this,Y=this,{options:{set value(We){po(c,Lo,We,"f")}}.value,configObjects:Ye,exitProcess:{set value(We){po(_,uC,We,"f")}}.value,groups:{set value(We){po(g,lT,We,"f")}}.value,output:{set value(We){po(S,Wg,We,"f")}}.value,exitError:{set value(We){po(w,p4,We,"f")}}.value,hasOutput:{set value(We){po(z,S2,We,"f")}}.value,parsed:this.parsed,strict:{set value(We){po(ie,IP,We,"f")}}.value,strictCommands:{set value(We){po(de,wP,We,"f")}}.value,strictOptions:{set value(We){po(be,PP,We,"f")}}.value,completionCommand:{set value(We){po(Ee,C2,We,"f")}}.value,parseFn:{set value(We){po(Oe,E2,We,"f")}}.value,parseContext:{set value(We){po(Y,FP,We,"f")}}.value}=ut,Qt(this,Lo,"f").configObjects=Ye,Qt(this,eu,"f").unfreeze(),Qt(this,sm,"f").unfreeze(),Qt(this,Lm,"f").unfreeze(),Qt(this,lC,"f").unfreeze()}[iKe](c,_){return xP(_,g=>(c(g),g))}getInternalMethods(){return{getCommandInstance:this[sKe].bind(this),getContext:this[aKe].bind(this),getHasOutput:this[oKe].bind(this),getLoggerInstance:this[cKe].bind(this),getParseContext:this[uKe].bind(this),getParserConfiguration:this[NP].bind(this),getUsageConfiguration:this[tKe].bind(this),getUsageInstance:this[lKe].bind(this),getValidationInstance:this[fKe].bind(this),hasParseCallback:this[Kie].bind(this),isGlobalContext:this[_Ke].bind(this),postProcess:this[OP].bind(this),reset:this[fxe].bind(this),runValidation:this[_xe].bind(this),runYargsParserAndExecuteCommands:this[xU].bind(this),setHasOutput:this[dKe].bind(this)}}[sKe](){return Qt(this,Lm,"f")}[aKe](){return Qt(this,EU,"f")}[oKe](){return Qt(this,S2,"f")}[cKe](){return Qt(this,IL,"f")}[uKe](){return Qt(this,FP,"f")||{}}[lKe](){return Qt(this,eu,"f")}[fKe](){return Qt(this,sm,"f")}[Kie](){return!!Qt(this,E2,"f")}[_Ke](){return Qt(this,Uie,"f")}[OP](c,_,g,S){return g||Op(c)||(_||(c=this[QHe](c)),(this[NP]()["parse-positional-numbers"]||this[NP]()["parse-positional-numbers"]===void 0)&&(c=this[nKe](c)),S&&(c=EP(c,this,Qt(this,lC,"f").getMiddleware(),!1))),c}[fxe](c={}){po(this,Lo,Qt(this,Lo,"f")||{},"f");let _={};_.local=Qt(this,Lo,"f").local||[],_.configObjects=Qt(this,Lo,"f").configObjects||[];let g={};_.local.forEach(z=>{g[z]=!0,(c[z]||[]).forEach(ie=>{g[ie]=!0})}),Object.assign(Qt(this,kP,"f"),Object.keys(Qt(this,lT,"f")).reduce((z,ie)=>{let de=Qt(this,lT,"f")[ie].filter(be=>!(be in g));return de.length>0&&(z[ie]=de),z},{})),po(this,lT,{},"f");let S=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],w=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return S.forEach(z=>{_[z]=(Qt(this,Lo,"f")[z]||[]).filter(ie=>!g[ie])}),w.forEach(z=>{_[z]=f4(Qt(this,Lo,"f")[z],ie=>!g[ie])}),_.envPrefix=Qt(this,Lo,"f").envPrefix,po(this,Lo,_,"f"),po(this,eu,Qt(this,eu,"f")?Qt(this,eu,"f").reset(g):zHe(this,Qt(this,Mc,"f")),"f"),po(this,sm,Qt(this,sm,"f")?Qt(this,sm,"f").reset(g):HHe(this,Qt(this,eu,"f"),Qt(this,Mc,"f")),"f"),po(this,Lm,Qt(this,Lm,"f")?Qt(this,Lm,"f").reset():jHe(Qt(this,eu,"f"),Qt(this,sm,"f"),Qt(this,lC,"f"),Qt(this,Mc,"f")),"f"),Qt(this,cC,"f")||po(this,cC,VHe(this,Qt(this,eu,"f"),Qt(this,Lm,"f"),Qt(this,Mc,"f")),"f"),Qt(this,lC,"f").reset(),po(this,C2,null,"f"),po(this,Wg,"","f"),po(this,p4,null,"f"),po(this,S2,!1,"f"),this.parsed=!1,this}[pKe](c,_){return Qt(this,Mc,"f").path.relative(c,_)}[xU](c,_,g,S=0,w=!1){let z=!!g||w;c=c||Qt(this,d4,"f"),Qt(this,Lo,"f").__=Qt(this,Mc,"f").y18n.__,Qt(this,Lo,"f").configuration=this[NP]();let ie=!!Qt(this,Lo,"f").configuration["populate--"],de=Object.assign({},Qt(this,Lo,"f").configuration,{"populate--":!0}),be=Qt(this,Mc,"f").Parser.detailed(c,Object.assign({},Qt(this,Lo,"f"),{configuration:{"parse-positional-numbers":!1,...de}})),Ee=Object.assign(be.argv,Qt(this,FP,"f")),Oe,Y=be.aliases,ut=!1,Ye=!1;Object.keys(Ee).forEach(We=>{We===Qt(this,fC,"f")&&Ee[We]?ut=!0:We===Qt(this,fT,"f")&&Ee[We]&&(Ye=!0)}),Ee.$0=this.$0,this.parsed=be,S===0&&Qt(this,eu,"f").clearCachedHelpMessage();try{if(this[ixe](),_)return this[OP](Ee,ie,!!g,!1);Qt(this,fC,"f")&&[Qt(this,fC,"f")].concat(Y[Qt(this,fC,"f")]||[]).filter(On=>On.length>1).includes(""+Ee._[Ee._.length-1])&&(Ee._.pop(),ut=!0),po(this,Uie,!1,"f");let We=Qt(this,Lm,"f").getCommands(),Ut=Qt(this,cC,"f").completionKey in Ee,_r=ut||Ut||w;if(Ee._.length){if(We.length){let Hr;for(let On=S||0,Hi;Ee._[On]!==void 0;On++)if(Hi=String(Ee._[On]),We.includes(Hi)&&Hi!==Qt(this,C2,"f")){let us=Qt(this,Lm,"f").runCommand(Hi,this,be,On+1,w,ut||Ye||w);return this[OP](us,ie,!!g,!1)}else if(!Hr&&Hi!==Qt(this,C2,"f")){Hr=Hi;break}!Qt(this,Lm,"f").hasDefaultCommand()&&Qt(this,$ie,"f")&&Hr&&!_r&&Qt(this,sm,"f").recommendCommands(Hr,We)}Qt(this,C2,"f")&&Ee._.includes(Qt(this,C2,"f"))&&!Ut&&(Qt(this,uC,"f")&&_4(!0),this.showCompletionScript(),this.exit(0))}if(Qt(this,Lm,"f").hasDefaultCommand()&&!_r){let Hr=Qt(this,Lm,"f").runCommand(null,this,be,0,w,ut||Ye||w);return this[OP](Hr,ie,!!g,!1)}if(Ut){Qt(this,uC,"f")&&_4(!0),c=[].concat(c);let Hr=c.slice(c.indexOf(`--${Qt(this,cC,"f").completionKey}`)+1);return Qt(this,cC,"f").getCompletion(Hr,(On,Hi)=>{if(On)throw new Np(On.message);(Hi||[]).forEach(us=>{Qt(this,IL,"f").log(us)}),this.exit(0)}),this[OP](Ee,!ie,!!g,!1)}if(Qt(this,S2,"f")||(ut?(Qt(this,uC,"f")&&_4(!0),z=!0,this.showHelp("log"),this.exit(0)):Ye&&(Qt(this,uC,"f")&&_4(!0),z=!0,Qt(this,eu,"f").showVersion("log"),this.exit(0))),!z&&Qt(this,Lo,"f").skipValidation.length>0&&(z=Object.keys(Ee).some(Hr=>Qt(this,Lo,"f").skipValidation.indexOf(Hr)>=0&&Ee[Hr]===!0)),!z){if(be.error)throw new Np(be.error.message);if(!Ut){let Hr=this[_xe](Y,{},be.error);g||(Oe=EP(Ee,this,Qt(this,lC,"f").getMiddleware(),!0)),Oe=this[iKe](Hr,Oe??Ee),Op(Oe)&&!g&&(Oe=Oe.then(()=>EP(Ee,this,Qt(this,lC,"f").getMiddleware(),!1)))}}}catch(We){if(We instanceof Np)Qt(this,eu,"f").fail(We.message,We);else throw We}return this[OP](Oe??Ee,ie,!!g,!0)}[_xe](c,_,g,S){let w={...this.getDemandedOptions()};return z=>{if(g)throw new Np(g.message);Qt(this,sm,"f").nonOptionCount(z),Qt(this,sm,"f").requiredArguments(z,w);let ie=!1;Qt(this,wP,"f")&&(ie=Qt(this,sm,"f").unknownCommands(z)),Qt(this,IP,"f")&&!ie?Qt(this,sm,"f").unknownArguments(z,c,_,!!S):Qt(this,PP,"f")&&Qt(this,sm,"f").unknownArguments(z,c,{},!1,!1),Qt(this,sm,"f").limitedChoices(z),Qt(this,sm,"f").implications(z),Qt(this,sm,"f").conflicting(z)}}[dKe](){po(this,S2,!0,"f")}[LP](c){if(typeof c=="string")Qt(this,Lo,"f").key[c]=!0;else for(let _ of c)Qt(this,Lo,"f").key[_]=!0}};function JHe(p){return!!p&&typeof p.getInternalMethods=="function"}var PBt=mKe(QEe),hKe=PBt;var NBt=typeof global=="object"&&global&&global.Object===Object&&global,Qie=NBt;var OBt=typeof self=="object"&&self&&self.Object===Object&&self,LBt=Qie||OBt||Function("return this")(),uh=LBt;var RBt=uh.Symbol,Ug=RBt;var gKe=Object.prototype,MBt=gKe.hasOwnProperty,BBt=gKe.toString,TU=Ug?Ug.toStringTag:void 0;function jBt(p){var c=MBt.call(p,TU),_=p[TU];try{p[TU]=void 0;var g=!0}catch{}var S=BBt.call(p);return g&&(c?p[TU]=_:delete p[TU]),S}var yKe=jBt;var JBt=Object.prototype,qBt=JBt.toString;function zBt(p){return qBt.call(p)}var vKe=zBt;var WBt="[object Null]",UBt="[object Undefined]",DKe=Ug?Ug.toStringTag:void 0;function VBt(p){return p==null?p===void 0?UBt:WBt:DKe&&DKe in Object(p)?yKe(p):vKe(p)}var Iy=VBt;function GBt(p){return p!=null&&typeof p=="object"}var Rm=GBt;var $Bt="[object Symbol]";function HBt(p){return typeof p=="symbol"||Rm(p)&&Iy(p)==$Bt}var h4=HBt;function KBt(p,c){for(var _=-1,g=p==null?0:p.length,S=Array(g);++_<g;)S[_]=c(p[_],_,p);return S}var _T=KBt;var QBt=Array.isArray,To=QBt;var XBt=1/0,bKe=Ug?Ug.prototype:void 0,CKe=bKe?bKe.toString:void 0;function SKe(p){if(typeof p=="string")return p;if(To(p))return _T(p,SKe)+"";if(h4(p))return CKe?CKe.call(p):"";var c=p+"";return c=="0"&&1/p==-XBt?"-0":c}var EKe=SKe;var YBt=/\s/;function ZBt(p){for(var c=p.length;c--&&YBt.test(p.charAt(c)););return c}var xKe=ZBt;var ejt=/^\s+/;function tjt(p){return p&&p.slice(0,xKe(p)+1).replace(ejt,"")}var TKe=tjt;function rjt(p){var c=typeof p;return p!=null&&(c=="object"||c=="function")}var Td=rjt;var AKe=NaN,njt=/^[-+]0x[0-9a-f]+$/i,ijt=/^0b[01]+$/i,sjt=/^0o[0-7]+$/i,ajt=parseInt;function ojt(p){if(typeof p=="number")return p;if(h4(p))return AKe;if(Td(p)){var c=typeof p.valueOf=="function"?p.valueOf():p;p=Td(c)?c+"":c}if(typeof p!="string")return p===0?p:+p;p=TKe(p);var _=ijt.test(p);return _||sjt.test(p)?ajt(p.slice(2),_?2:8):njt.test(p)?AKe:+p}var FKe=ojt;var kKe=1/0,cjt=17976931348623157e292;function ujt(p){if(!p)return p===0?p:0;if(p=FKe(p),p===kKe||p===-kKe){var c=p<0?-1:1;return c*cjt}return p===p?p:0}var IKe=ujt;function ljt(p){var c=IKe(p),_=c%1;return c===c?_?c-_:c:0}var pT=ljt;function fjt(p){return p}var _C=fjt;var _jt="[object AsyncFunction]",pjt="[object Function]",djt="[object GeneratorFunction]",mjt="[object Proxy]";function hjt(p){if(!Td(p))return!1;var c=Iy(p);return c==pjt||c==djt||c==_jt||c==mjt}var wy=hjt;var gjt=uh["__core-js_shared__"],Xie=gjt;var wKe=(function(){var p=/[^.]+$/.exec(Xie&&Xie.keys&&Xie.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""})();function yjt(p){return!!wKe&&wKe in p}var PKe=yjt;var vjt=Function.prototype,Djt=vjt.toString;function bjt(p){if(p!=null){try{return Djt.call(p)}catch{}try{return p+""}catch{}}return""}var nk=bjt;var Cjt=/[\\^$.*+?()[\]{}|]/g,Sjt=/^\[object .+?Constructor\]$/,Ejt=Function.prototype,xjt=Object.prototype,Tjt=Ejt.toString,Ajt=xjt.hasOwnProperty,Fjt=RegExp("^"+Tjt.call(Ajt).replace(Cjt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kjt(p){if(!Td(p)||PKe(p))return!1;var c=wy(p)?Fjt:Sjt;return c.test(nk(p))}var NKe=kjt;function Ijt(p,c){return p?.[c]}var OKe=Ijt;function wjt(p,c){var _=OKe(p,c);return NKe(_)?_:void 0}var jv=wjt;var Pjt=jv(uh,"WeakMap"),Yie=Pjt;var LKe=Object.create,Njt=(function(){function p(){}return function(c){if(!Td(c))return{};if(LKe)return LKe(c);p.prototype=c;var _=new p;return p.prototype=void 0,_}})(),RKe=Njt;function Ojt(p,c,_){switch(_.length){case 0:return p.call(c);case 1:return p.call(c,_[0]);case 2:return p.call(c,_[0],_[1]);case 3:return p.call(c,_[0],_[1],_[2])}return p.apply(c,_)}var MKe=Ojt;function Ljt(){}var Ad=Ljt;function Rjt(p,c){var _=-1,g=p.length;for(c||(c=Array(g));++_<g;)c[_]=p[_];return c}var BKe=Rjt;var Mjt=800,Bjt=16,jjt=Date.now;function Jjt(p){var c=0,_=0;return function(){var g=jjt(),S=Bjt-(g-_);if(_=g,S>0){if(++c>=Mjt)return arguments[0]}else c=0;return p.apply(void 0,arguments)}}var jKe=Jjt;function qjt(p){return function(){return p}}var JKe=qjt;var zjt=(function(){try{var p=jv(Object,"defineProperty");return p({},"",{}),p}catch{}})(),NL=zjt;var Wjt=NL?function(p,c){return NL(p,"toString",{configurable:!0,enumerable:!1,value:JKe(c),writable:!0})}:_C,qKe=Wjt;var Ujt=jKe(qKe),zKe=Ujt;function Vjt(p,c){for(var _=-1,g=p==null?0:p.length;++_<g&&c(p[_],_,p)!==!1;);return p}var Zie=Vjt;function Gjt(p,c,_,g){for(var S=p.length,w=_+(g?1:-1);g?w--:++w<S;)if(c(p[w],w,p))return w;return-1}var ese=Gjt;function $jt(p){return p!==p}var WKe=$jt;function Hjt(p,c,_){for(var g=_-1,S=p.length;++g<S;)if(p[g]===c)return g;return-1}var UKe=Hjt;function Kjt(p,c,_){return c===c?UKe(p,c,_):ese(p,WKe,_)}var OL=Kjt;function Qjt(p,c){var _=p==null?0:p.length;return!!_&&OL(p,c,0)>-1}var tse=Qjt;var Xjt=9007199254740991,Yjt=/^(?:0|[1-9]\d*)$/;function Zjt(p,c){var _=typeof p;return c=c??Xjt,!!c&&(_=="number"||_!="symbol"&&Yjt.test(p))&&p>-1&&p%1==0&&p<c}var g4=Zjt;function eJt(p,c,_){c=="__proto__"&&NL?NL(p,c,{configurable:!0,enumerable:!0,value:_,writable:!0}):p[c]=_}var LL=eJt;function tJt(p,c){return p===c||p!==p&&c!==c}var dT=tJt;var rJt=Object.prototype,nJt=rJt.hasOwnProperty;function iJt(p,c,_){var g=p[c];(!(nJt.call(p,c)&&dT(g,_))||_===void 0&&!(c in p))&&LL(p,c,_)}var y4=iJt;function sJt(p,c,_,g){var S=!_;_||(_={});for(var w=-1,z=c.length;++w<z;){var ie=c[w],de=g?g(_[ie],p[ie],ie,_,p):void 0;de===void 0&&(de=p[ie]),S?LL(_,ie,de):y4(_,ie,de)}return _}var mT=sJt;var VKe=Math.max;function aJt(p,c,_){return c=VKe(c===void 0?p.length-1:c,0),function(){for(var g=arguments,S=-1,w=VKe(g.length-c,0),z=Array(w);++S<w;)z[S]=g[c+S];S=-1;for(var ie=Array(c+1);++S<c;)ie[S]=g[S];return ie[c]=_(z),MKe(p,this,ie)}}var GKe=aJt;function oJt(p,c){return zKe(GKe(p,c,_C),p+"")}var RL=oJt;var cJt=9007199254740991;function uJt(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=cJt}var ML=uJt;function lJt(p){return p!=null&&ML(p.length)&&!wy(p)}var lh=lJt;function fJt(p,c,_){if(!Td(_))return!1;var g=typeof c;return(g=="number"?lh(_)&&g4(c,_.length):g=="string"&&c in _)?dT(_[c],p):!1}var v4=fJt;function _Jt(p){return RL(function(c,_){var g=-1,S=_.length,w=S>1?_[S-1]:void 0,z=S>2?_[2]:void 0;for(w=p.length>3&&typeof w=="function"?(S--,w):void 0,z&&v4(_[0],_[1],z)&&(w=S<3?void 0:w,S=1),c=Object(c);++g<S;){var ie=_[g];ie&&p(c,ie,g,w)}return c})}var $Ke=_Jt;var pJt=Object.prototype;function dJt(p){var c=p&&p.constructor,_=typeof c=="function"&&c.prototype||pJt;return p===_}var hT=dJt;function mJt(p,c){for(var _=-1,g=Array(p);++_<p;)g[_]=c(_);return g}var HKe=mJt;var hJt="[object Arguments]";function gJt(p){return Rm(p)&&Iy(p)==hJt}var dxe=gJt;var KKe=Object.prototype,yJt=KKe.hasOwnProperty,vJt=KKe.propertyIsEnumerable,DJt=dxe((function(){return arguments})())?dxe:function(p){return Rm(p)&&yJt.call(p,"callee")&&!vJt.call(p,"callee")},D4=DJt;function bJt(){return!1}var QKe=bJt;var ZKe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,XKe=ZKe&&typeof module=="object"&&module&&!module.nodeType&&module,CJt=XKe&&XKe.exports===ZKe,YKe=CJt?uh.Buffer:void 0,SJt=YKe?YKe.isBuffer:void 0,EJt=SJt||QKe,ik=EJt;var xJt="[object Arguments]",TJt="[object Array]",AJt="[object Boolean]",FJt="[object Date]",kJt="[object Error]",IJt="[object Function]",wJt="[object Map]",PJt="[object Number]",NJt="[object Object]",OJt="[object RegExp]",LJt="[object Set]",RJt="[object String]",MJt="[object WeakMap]",BJt="[object ArrayBuffer]",jJt="[object DataView]",JJt="[object Float32Array]",qJt="[object Float64Array]",zJt="[object Int8Array]",WJt="[object Int16Array]",UJt="[object Int32Array]",VJt="[object Uint8Array]",GJt="[object Uint8ClampedArray]",$Jt="[object Uint16Array]",HJt="[object Uint32Array]",Lp={};Lp[JJt]=Lp[qJt]=Lp[zJt]=Lp[WJt]=Lp[UJt]=Lp[VJt]=Lp[GJt]=Lp[$Jt]=Lp[HJt]=!0;Lp[xJt]=Lp[TJt]=Lp[BJt]=Lp[AJt]=Lp[jJt]=Lp[FJt]=Lp[kJt]=Lp[IJt]=Lp[wJt]=Lp[PJt]=Lp[NJt]=Lp[OJt]=Lp[LJt]=Lp[RJt]=Lp[MJt]=!1;function KJt(p){return Rm(p)&&ML(p.length)&&!!Lp[Iy(p)]}var eQe=KJt;function QJt(p){return function(c){return p(c)}}var gT=QJt;var tQe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,AU=tQe&&typeof module=="object"&&module&&!module.nodeType&&module,XJt=AU&&AU.exports===tQe,mxe=XJt&&Qie.process,YJt=(function(){try{var p=AU&&AU.require&&AU.require("util").types;return p||mxe&&mxe.binding&&mxe.binding("util")}catch{}})(),pC=YJt;var rQe=pC&&pC.isTypedArray,ZJt=rQe?gT(rQe):eQe,BL=ZJt;var eqt=Object.prototype,tqt=eqt.hasOwnProperty;function rqt(p,c){var _=To(p),g=!_&&D4(p),S=!_&&!g&&ik(p),w=!_&&!g&&!S&&BL(p),z=_||g||S||w,ie=z?HKe(p.length,String):[],de=ie.length;for(var be in p)(c||tqt.call(p,be))&&!(z&&(be=="length"||S&&(be=="offset"||be=="parent")||w&&(be=="buffer"||be=="byteLength"||be=="byteOffset")||g4(be,de)))&&ie.push(be);return ie}var rse=rqt;function nqt(p,c){return function(_){return p(c(_))}}var nse=nqt;var iqt=nse(Object.keys,Object),nQe=iqt;var sqt=Object.prototype,aqt=sqt.hasOwnProperty;function oqt(p){if(!hT(p))return nQe(p);var c=[];for(var _ in Object(p))aqt.call(p,_)&&_!="constructor"&&c.push(_);return c}var ise=oqt;function cqt(p){return lh(p)?rse(p):ise(p)}var tp=cqt;var uqt=Object.prototype,lqt=uqt.hasOwnProperty,fqt=$Ke(function(p,c){if(hT(c)||lh(c)){mT(c,tp(c),p);return}for(var _ in c)lqt.call(c,_)&&y4(p,_,c[_])}),I0=fqt;function _qt(p){var c=[];if(p!=null)for(var _ in Object(p))c.push(_);return c}var iQe=_qt;var pqt=Object.prototype,dqt=pqt.hasOwnProperty;function mqt(p){if(!Td(p))return iQe(p);var c=hT(p),_=[];for(var g in p)g=="constructor"&&(c||!dqt.call(p,g))||_.push(g);return _}var sQe=mqt;function hqt(p){return lh(p)?rse(p,!0):sQe(p)}var b4=hqt;var gqt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yqt=/^\w*$/;function vqt(p,c){if(To(p))return!1;var _=typeof p;return _=="number"||_=="symbol"||_=="boolean"||p==null||h4(p)?!0:yqt.test(p)||!gqt.test(p)||c!=null&&p in Object(c)}var jL=vqt;var Dqt=jv(Object,"create"),sk=Dqt;function bqt(){this.__data__=sk?sk(null):{},this.size=0}var aQe=bqt;function Cqt(p){var c=this.has(p)&&delete this.__data__[p];return this.size-=c?1:0,c}var oQe=Cqt;var Sqt="__lodash_hash_undefined__",Eqt=Object.prototype,xqt=Eqt.hasOwnProperty;function Tqt(p){var c=this.__data__;if(sk){var _=c[p];return _===Sqt?void 0:_}return xqt.call(c,p)?c[p]:void 0}var cQe=Tqt;var Aqt=Object.prototype,Fqt=Aqt.hasOwnProperty;function kqt(p){var c=this.__data__;return sk?c[p]!==void 0:Fqt.call(c,p)}var uQe=kqt;var Iqt="__lodash_hash_undefined__";function wqt(p,c){var _=this.__data__;return this.size+=this.has(p)?0:1,_[p]=sk&&c===void 0?Iqt:c,this}var lQe=wqt;function JL(p){var c=-1,_=p==null?0:p.length;for(this.clear();++c<_;){var g=p[c];this.set(g[0],g[1])}}JL.prototype.clear=aQe;JL.prototype.delete=oQe;JL.prototype.get=cQe;JL.prototype.has=uQe;JL.prototype.set=lQe;var hxe=JL;function Pqt(){this.__data__=[],this.size=0}var fQe=Pqt;function Nqt(p,c){for(var _=p.length;_--;)if(dT(p[_][0],c))return _;return-1}var C4=Nqt;var Oqt=Array.prototype,Lqt=Oqt.splice;function Rqt(p){var c=this.__data__,_=C4(c,p);if(_<0)return!1;var g=c.length-1;return _==g?c.pop():Lqt.call(c,_,1),--this.size,!0}var _Qe=Rqt;function Mqt(p){var c=this.__data__,_=C4(c,p);return _<0?void 0:c[_][1]}var pQe=Mqt;function Bqt(p){return C4(this.__data__,p)>-1}var dQe=Bqt;function jqt(p,c){var _=this.__data__,g=C4(_,p);return g<0?(++this.size,_.push([p,c])):_[g][1]=c,this}var mQe=jqt;function qL(p){var c=-1,_=p==null?0:p.length;for(this.clear();++c<_;){var g=p[c];this.set(g[0],g[1])}}qL.prototype.clear=fQe;qL.prototype.delete=_Qe;qL.prototype.get=pQe;qL.prototype.has=dQe;qL.prototype.set=mQe;var S4=qL;var Jqt=jv(uh,"Map"),E4=Jqt;function qqt(){this.size=0,this.__data__={hash:new hxe,map:new(E4||S4),string:new hxe}}var hQe=qqt;function zqt(p){var c=typeof p;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?p!=="__proto__":p===null}var gQe=zqt;function Wqt(p,c){var _=p.__data__;return gQe(c)?_[typeof c=="string"?"string":"hash"]:_.map}var x4=Wqt;function Uqt(p){var c=x4(this,p).delete(p);return this.size-=c?1:0,c}var yQe=Uqt;function Vqt(p){return x4(this,p).get(p)}var vQe=Vqt;function Gqt(p){return x4(this,p).has(p)}var DQe=Gqt;function $qt(p,c){var _=x4(this,p),g=_.size;return _.set(p,c),this.size+=_.size==g?0:1,this}var bQe=$qt;function zL(p){var c=-1,_=p==null?0:p.length;for(this.clear();++c<_;){var g=p[c];this.set(g[0],g[1])}}zL.prototype.clear=hQe;zL.prototype.delete=yQe;zL.prototype.get=vQe;zL.prototype.has=DQe;zL.prototype.set=bQe;var RP=zL;var Hqt="Expected a function";function gxe(p,c){if(typeof p!="function"||c!=null&&typeof c!="function")throw new TypeError(Hqt);var _=function(){var g=arguments,S=c?c.apply(this,g):g[0],w=_.cache;if(w.has(S))return w.get(S);var z=p.apply(this,g);return _.cache=w.set(S,z)||w,z};return _.cache=new(gxe.Cache||RP),_}gxe.Cache=RP;var CQe=gxe;var Kqt=500;function Qqt(p){var c=CQe(p,function(g){return _.size===Kqt&&_.clear(),g}),_=c.cache;return c}var SQe=Qqt;var Xqt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yqt=/\\(\\)?/g,Zqt=SQe(function(p){var c=[];return p.charCodeAt(0)===46&&c.push(""),p.replace(Xqt,function(_,g,S,w){c.push(S?w.replace(Yqt,"$1"):g||_)}),c}),EQe=Zqt;function ezt(p){return p==null?"":EKe(p)}var xQe=ezt;function tzt(p,c){return To(p)?p:jL(p,c)?[p]:EQe(xQe(p))}var T4=tzt;var rzt=1/0;function nzt(p){if(typeof p=="string"||h4(p))return p;var c=p+"";return c=="0"&&1/p==-rzt?"-0":c}var yT=nzt;function izt(p,c){c=T4(c,p);for(var _=0,g=c.length;p!=null&&_<g;)p=p[yT(c[_++])];return _&&_==g?p:void 0}var WL=izt;function szt(p,c,_){var g=p==null?void 0:WL(p,c);return g===void 0?_:g}var TQe=szt;function azt(p,c){for(var _=-1,g=c.length,S=p.length;++_<g;)p[S+_]=c[_];return p}var UL=azt;var AQe=Ug?Ug.isConcatSpreadable:void 0;function ozt(p){return To(p)||D4(p)||!!(AQe&&p&&p[AQe])}var FQe=ozt;function kQe(p,c,_,g,S){var w=-1,z=p.length;for(_||(_=FQe),S||(S=[]);++w<z;){var ie=p[w];c>0&&_(ie)?c>1?kQe(ie,c-1,_,g,S):UL(S,ie):g||(S[S.length]=ie)}return S}var VL=kQe;function czt(p){var c=p==null?0:p.length;return c?VL(p,1):[]}var Hh=czt;var uzt=nse(Object.getPrototypeOf,Object),sse=uzt;function lzt(p,c,_){var g=-1,S=p.length;c<0&&(c=-c>S?0:S+c),_=_>S?S:_,_<0&&(_+=S),S=c>_?0:_-c>>>0,c>>>=0;for(var w=Array(S);++g<S;)w[g]=p[g+c];return w}var ase=lzt;function fzt(p,c,_,g){var S=-1,w=p==null?0:p.length;for(g&&w&&(_=p[++S]);++S<w;)_=c(_,p[S],S,p);return _}var IQe=fzt;function _zt(){this.__data__=new S4,this.size=0}var wQe=_zt;function pzt(p){var c=this.__data__,_=c.delete(p);return this.size=c.size,_}var PQe=pzt;function dzt(p){return this.__data__.get(p)}var NQe=dzt;function mzt(p){return this.__data__.has(p)}var OQe=mzt;var hzt=200;function gzt(p,c){var _=this.__data__;if(_ instanceof S4){var g=_.__data__;if(!E4||g.length<hzt-1)return g.push([p,c]),this.size=++_.size,this;_=this.__data__=new RP(g)}return _.set(p,c),this.size=_.size,this}var LQe=gzt;function GL(p){var c=this.__data__=new S4(p);this.size=c.size}GL.prototype.clear=wQe;GL.prototype.delete=PQe;GL.prototype.get=NQe;GL.prototype.has=OQe;GL.prototype.set=LQe;var A4=GL;function yzt(p,c){return p&&mT(c,tp(c),p)}var RQe=yzt;function vzt(p,c){return p&&mT(c,b4(c),p)}var MQe=vzt;var qQe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,BQe=qQe&&typeof module=="object"&&module&&!module.nodeType&&module,Dzt=BQe&&BQe.exports===qQe,jQe=Dzt?uh.Buffer:void 0,JQe=jQe?jQe.allocUnsafe:void 0;function bzt(p,c){if(c)return p.slice();var _=p.length,g=JQe?JQe(_):new p.constructor(_);return p.copy(g),g}var zQe=bzt;function Czt(p,c){for(var _=-1,g=p==null?0:p.length,S=0,w=[];++_<g;){var z=p[_];c(z,_,p)&&(w[S++]=z)}return w}var $L=Czt;function Szt(){return[]}var ose=Szt;var Ezt=Object.prototype,xzt=Ezt.propertyIsEnumerable,WQe=Object.getOwnPropertySymbols,Tzt=WQe?function(p){return p==null?[]:(p=Object(p),$L(WQe(p),function(c){return xzt.call(p,c)}))}:ose,HL=Tzt;function Azt(p,c){return mT(p,HL(p),c)}var UQe=Azt;var Fzt=Object.getOwnPropertySymbols,kzt=Fzt?function(p){for(var c=[];p;)UL(c,HL(p)),p=sse(p);return c}:ose,cse=kzt;function Izt(p,c){return mT(p,cse(p),c)}var VQe=Izt;function wzt(p,c,_){var g=c(p);return To(p)?g:UL(g,_(p))}var use=wzt;function Pzt(p){return use(p,tp,HL)}var FU=Pzt;function Nzt(p){return use(p,b4,cse)}var lse=Nzt;var Ozt=jv(uh,"DataView"),fse=Ozt;var Lzt=jv(uh,"Promise"),_se=Lzt;var Rzt=jv(uh,"Set"),F4=Rzt;var GQe="[object Map]",Mzt="[object Object]",$Qe="[object Promise]",HQe="[object Set]",KQe="[object WeakMap]",QQe="[object DataView]",Bzt=nk(fse),jzt=nk(E4),Jzt=nk(_se),qzt=nk(F4),zzt=nk(Yie),MP=Iy;(fse&&MP(new fse(new ArrayBuffer(1)))!=QQe||E4&&MP(new E4)!=GQe||_se&&MP(_se.resolve())!=$Qe||F4&&MP(new F4)!=HQe||Yie&&MP(new Yie)!=KQe)&&(MP=function(p){var c=Iy(p),_=c==Mzt?p.constructor:void 0,g=_?nk(_):"";if(g)switch(g){case Bzt:return QQe;case jzt:return GQe;case Jzt:return $Qe;case qzt:return HQe;case zzt:return KQe}return c});var XS=MP;var Wzt=Object.prototype,Uzt=Wzt.hasOwnProperty;function Vzt(p){var c=p.length,_=new p.constructor(c);return c&&typeof p[0]=="string"&&Uzt.call(p,"index")&&(_.index=p.index,_.input=p.input),_}var XQe=Vzt;var Gzt=uh.Uint8Array,KL=Gzt;function $zt(p){var c=new p.constructor(p.byteLength);return new KL(c).set(new KL(p)),c}var QL=$zt;function Hzt(p,c){var _=c?QL(p.buffer):p.buffer;return new p.constructor(_,p.byteOffset,p.byteLength)}var YQe=Hzt;var Kzt=/\w*$/;function Qzt(p){var c=new p.constructor(p.source,Kzt.exec(p));return c.lastIndex=p.lastIndex,c}var ZQe=Qzt;var eXe=Ug?Ug.prototype:void 0,tXe=eXe?eXe.valueOf:void 0;function Xzt(p){return tXe?Object(tXe.call(p)):{}}var rXe=Xzt;function Yzt(p,c){var _=c?QL(p.buffer):p.buffer;return new p.constructor(_,p.byteOffset,p.length)}var nXe=Yzt;var Zzt="[object Boolean]",eWt="[object Date]",tWt="[object Map]",rWt="[object Number]",nWt="[object RegExp]",iWt="[object Set]",sWt="[object String]",aWt="[object Symbol]",oWt="[object ArrayBuffer]",cWt="[object DataView]",uWt="[object Float32Array]",lWt="[object Float64Array]",fWt="[object Int8Array]",_Wt="[object Int16Array]",pWt="[object Int32Array]",dWt="[object Uint8Array]",mWt="[object Uint8ClampedArray]",hWt="[object Uint16Array]",gWt="[object Uint32Array]";function yWt(p,c,_){var g=p.constructor;switch(c){case oWt:return QL(p);case Zzt:case eWt:return new g(+p);case cWt:return YQe(p,_);case uWt:case lWt:case fWt:case _Wt:case pWt:case dWt:case mWt:case hWt:case gWt:return nXe(p,_);case tWt:return new g;case rWt:case sWt:return new g(p);case nWt:return ZQe(p);case iWt:return new g;case aWt:return rXe(p)}}var iXe=yWt;function vWt(p){return typeof p.constructor=="function"&&!hT(p)?RKe(sse(p)):{}}var sXe=vWt;var DWt="[object Map]";function bWt(p){return Rm(p)&&XS(p)==DWt}var aXe=bWt;var oXe=pC&&pC.isMap,CWt=oXe?gT(oXe):aXe,cXe=CWt;var SWt="[object Set]";function EWt(p){return Rm(p)&&XS(p)==SWt}var uXe=EWt;var lXe=pC&&pC.isSet,xWt=lXe?gT(lXe):uXe,fXe=xWt;var TWt=1,AWt=2,FWt=4,_Xe="[object Arguments]",kWt="[object Array]",IWt="[object Boolean]",wWt="[object Date]",PWt="[object Error]",pXe="[object Function]",NWt="[object GeneratorFunction]",OWt="[object Map]",LWt="[object Number]",dXe="[object Object]",RWt="[object RegExp]",MWt="[object Set]",BWt="[object String]",jWt="[object Symbol]",JWt="[object WeakMap]",qWt="[object ArrayBuffer]",zWt="[object DataView]",WWt="[object Float32Array]",UWt="[object Float64Array]",VWt="[object Int8Array]",GWt="[object Int16Array]",$Wt="[object Int32Array]",HWt="[object Uint8Array]",KWt="[object Uint8ClampedArray]",QWt="[object Uint16Array]",XWt="[object Uint32Array]",rp={};rp[_Xe]=rp[kWt]=rp[qWt]=rp[zWt]=rp[IWt]=rp[wWt]=rp[WWt]=rp[UWt]=rp[VWt]=rp[GWt]=rp[$Wt]=rp[OWt]=rp[LWt]=rp[dXe]=rp[RWt]=rp[MWt]=rp[BWt]=rp[jWt]=rp[HWt]=rp[KWt]=rp[QWt]=rp[XWt]=!0;rp[PWt]=rp[pXe]=rp[JWt]=!1;function pse(p,c,_,g,S,w){var z,ie=c&TWt,de=c&AWt,be=c&FWt;if(_&&(z=S?_(p,g,S,w):_(p)),z!==void 0)return z;if(!Td(p))return p;var Ee=To(p);if(Ee){if(z=XQe(p),!ie)return BKe(p,z)}else{var Oe=XS(p),Y=Oe==pXe||Oe==NWt;if(ik(p))return zQe(p,ie);if(Oe==dXe||Oe==_Xe||Y&&!S){if(z=de||Y?{}:sXe(p),!ie)return de?VQe(p,MQe(z,p)):UQe(p,RQe(z,p))}else{if(!rp[Oe])return S?p:{};z=iXe(p,Oe,ie)}}w||(w=new A4);var ut=w.get(p);if(ut)return ut;w.set(p,z),fXe(p)?p.forEach(function(Ut){z.add(pse(Ut,c,_,Ut,p,w))}):cXe(p)&&p.forEach(function(Ut,_r){z.set(_r,pse(Ut,c,_,_r,p,w))});var Ye=be?de?lse:FU:de?b4:tp,We=Ee?void 0:Ye(p);return Zie(We||p,function(Ut,_r){We&&(_r=Ut,Ut=p[_r]),y4(z,_r,pse(Ut,c,_,_r,p,w))}),z}var mXe=pse;var YWt=4;function ZWt(p){return mXe(p,YWt)}var np=ZWt;function eUt(p){for(var c=-1,_=p==null?0:p.length,g=0,S=[];++c<_;){var w=p[c];w&&(S[g++]=w)}return S}var vT=eUt;var tUt="__lodash_hash_undefined__";function rUt(p){return this.__data__.set(p,tUt),this}var hXe=rUt;function nUt(p){return this.__data__.has(p)}var gXe=nUt;function dse(p){var c=-1,_=p==null?0:p.length;for(this.__data__=new RP;++c<_;)this.add(p[c])}dse.prototype.add=dse.prototype.push=hXe;dse.prototype.has=gXe;var XL=dse;function iUt(p,c){for(var _=-1,g=p==null?0:p.length;++_<g;)if(c(p[_],_,p))return!0;return!1}var mse=iUt;function sUt(p,c){return p.has(c)}var YL=sUt;var aUt=1,oUt=2;function cUt(p,c,_,g,S,w){var z=_&aUt,ie=p.length,de=c.length;if(ie!=de&&!(z&&de>ie))return!1;var be=w.get(p),Ee=w.get(c);if(be&&Ee)return be==c&&Ee==p;var Oe=-1,Y=!0,ut=_&oUt?new XL:void 0;for(w.set(p,c),w.set(c,p);++Oe<ie;){var Ye=p[Oe],We=c[Oe];if(g)var Ut=z?g(We,Ye,Oe,c,p,w):g(Ye,We,Oe,p,c,w);if(Ut!==void 0){if(Ut)continue;Y=!1;break}if(ut){if(!mse(c,function(_r,Hr){if(!YL(ut,Hr)&&(Ye===_r||S(Ye,_r,_,g,w)))return ut.push(Hr)})){Y=!1;break}}else if(!(Ye===We||S(Ye,We,_,g,w))){Y=!1;break}}return w.delete(p),w.delete(c),Y}var hse=cUt;function uUt(p){var c=-1,_=Array(p.size);return p.forEach(function(g,S){_[++c]=[S,g]}),_}var yXe=uUt;function lUt(p){var c=-1,_=Array(p.size);return p.forEach(function(g){_[++c]=g}),_}var ZL=lUt;var fUt=1,_Ut=2,pUt="[object Boolean]",dUt="[object Date]",mUt="[object Error]",hUt="[object Map]",gUt="[object Number]",yUt="[object RegExp]",vUt="[object Set]",DUt="[object String]",bUt="[object Symbol]",CUt="[object ArrayBuffer]",SUt="[object DataView]",vXe=Ug?Ug.prototype:void 0,yxe=vXe?vXe.valueOf:void 0;function EUt(p,c,_,g,S,w,z){switch(_){case SUt:if(p.byteLength!=c.byteLength||p.byteOffset!=c.byteOffset)return!1;p=p.buffer,c=c.buffer;case CUt:return!(p.byteLength!=c.byteLength||!w(new KL(p),new KL(c)));case pUt:case dUt:case gUt:return dT(+p,+c);case mUt:return p.name==c.name&&p.message==c.message;case yUt:case DUt:return p==c+"";case hUt:var ie=yXe;case vUt:var de=g&fUt;if(ie||(ie=ZL),p.size!=c.size&&!de)return!1;var be=z.get(p);if(be)return be==c;g|=_Ut,z.set(p,c);var Ee=hse(ie(p),ie(c),g,S,w,z);return z.delete(p),Ee;case bUt:if(yxe)return yxe.call(p)==yxe.call(c)}return!1}var DXe=EUt;var xUt=1,TUt=Object.prototype,AUt=TUt.hasOwnProperty;function FUt(p,c,_,g,S,w){var z=_&xUt,ie=FU(p),de=ie.length,be=FU(c),Ee=be.length;if(de!=Ee&&!z)return!1;for(var Oe=de;Oe--;){var Y=ie[Oe];if(!(z?Y in c:AUt.call(c,Y)))return!1}var ut=w.get(p),Ye=w.get(c);if(ut&&Ye)return ut==c&&Ye==p;var We=!0;w.set(p,c),w.set(c,p);for(var Ut=z;++Oe<de;){Y=ie[Oe];var _r=p[Y],Hr=c[Y];if(g)var On=z?g(Hr,_r,Y,c,p,w):g(_r,Hr,Y,p,c,w);if(!(On===void 0?_r===Hr||S(_r,Hr,_,g,w):On)){We=!1;break}Ut||(Ut=Y=="constructor")}if(We&&!Ut){var Hi=p.constructor,us=c.constructor;Hi!=us&&"constructor"in p&&"constructor"in c&&!(typeof Hi=="function"&&Hi instanceof Hi&&typeof us=="function"&&us instanceof us)&&(We=!1)}return w.delete(p),w.delete(c),We}var bXe=FUt;var kUt=1,CXe="[object Arguments]",SXe="[object Array]",gse="[object Object]",IUt=Object.prototype,EXe=IUt.hasOwnProperty;function wUt(p,c,_,g,S,w){var z=To(p),ie=To(c),de=z?SXe:XS(p),be=ie?SXe:XS(c);de=de==CXe?gse:de,be=be==CXe?gse:be;var Ee=de==gse,Oe=be==gse,Y=de==be;if(Y&&ik(p)){if(!ik(c))return!1;z=!0,Ee=!1}if(Y&&!Ee)return w||(w=new A4),z||BL(p)?hse(p,c,_,g,S,w):DXe(p,c,de,_,g,S,w);if(!(_&kUt)){var ut=Ee&&EXe.call(p,"__wrapped__"),Ye=Oe&&EXe.call(c,"__wrapped__");if(ut||Ye){var We=ut?p.value():p,Ut=Ye?c.value():c;return w||(w=new A4),S(We,Ut,_,g,w)}}return Y?(w||(w=new A4),bXe(p,c,_,g,S,w)):!1}var xXe=wUt;function TXe(p,c,_,g,S){return p===c?!0:p==null||c==null||!Rm(p)&&!Rm(c)?p!==p&&c!==c:xXe(p,c,_,g,TXe,S)}var yse=TXe;var PUt=1,NUt=2;function OUt(p,c,_,g){var S=_.length,w=S,z=!g;if(p==null)return!w;for(p=Object(p);S--;){var ie=_[S];if(z&&ie[2]?ie[1]!==p[ie[0]]:!(ie[0]in p))return!1}for(;++S<w;){ie=_[S];var de=ie[0],be=p[de],Ee=ie[1];if(z&&ie[2]){if(be===void 0&&!(de in p))return!1}else{var Oe=new A4;if(g)var Y=g(be,Ee,de,p,c,Oe);if(!(Y===void 0?yse(Ee,be,PUt|NUt,g,Oe):Y))return!1}}return!0}var AXe=OUt;function LUt(p){return p===p&&!Td(p)}var vse=LUt;function RUt(p){for(var c=tp(p),_=c.length;_--;){var g=c[_],S=p[g];c[_]=[g,S,vse(S)]}return c}var FXe=RUt;function MUt(p,c){return function(_){return _==null?!1:_[p]===c&&(c!==void 0||p in Object(_))}}var Dse=MUt;function BUt(p){var c=FXe(p);return c.length==1&&c[0][2]?Dse(c[0][0],c[0][1]):function(_){return _===p||AXe(_,p,c)}}var kXe=BUt;function jUt(p,c){return p!=null&&c in Object(p)}var IXe=jUt;function JUt(p,c,_){c=T4(c,p);for(var g=-1,S=c.length,w=!1;++g<S;){var z=yT(c[g]);if(!(w=p!=null&&_(p,z)))break;p=p[z]}return w||++g!=S?w:(S=p==null?0:p.length,!!S&&ML(S)&&g4(z,S)&&(To(p)||D4(p)))}var bse=JUt;function qUt(p,c){return p!=null&&bse(p,c,IXe)}var wXe=qUt;var zUt=1,WUt=2;function UUt(p,c){return jL(p)&&vse(c)?Dse(yT(p),c):function(_){var g=TQe(_,p);return g===void 0&&g===c?wXe(_,p):yse(c,g,zUt|WUt)}}var PXe=UUt;function VUt(p){return function(c){return c?.[p]}}var NXe=VUt;function GUt(p){return function(c){return WL(c,p)}}var OXe=GUt;function $Ut(p){return jL(p)?NXe(yT(p)):OXe(p)}var LXe=$Ut;function HUt(p){return typeof p=="function"?p:p==null?_C:typeof p=="object"?To(p)?PXe(p[0],p[1]):kXe(p):LXe(p)}var fh=HUt;function KUt(p,c,_,g){for(var S=-1,w=p==null?0:p.length;++S<w;){var z=p[S];c(g,z,_(z),p)}return g}var RXe=KUt;function QUt(p){return function(c,_,g){for(var S=-1,w=Object(c),z=g(c),ie=z.length;ie--;){var de=z[p?ie:++S];if(_(w[de],de,w)===!1)break}return c}}var MXe=QUt;var XUt=MXe(),BXe=XUt;function YUt(p,c){return p&&BXe(p,c,tp)}var jXe=YUt;function ZUt(p,c){return function(_,g){if(_==null)return _;if(!lh(_))return p(_,g);for(var S=_.length,w=c?S:-1,z=Object(_);(c?w--:++w<S)&&g(z[w],w,z)!==!1;);return _}}var JXe=ZUt;var eVt=JXe(jXe),Jv=eVt;function tVt(p,c,_,g){return Jv(p,function(S,w,z){c(g,S,_(S),z)}),g}var qXe=tVt;function rVt(p,c){return function(_,g){var S=To(_)?RXe:qXe,w=c?c():{};return S(_,p,fh(g,2),w)}}var zXe=rVt;var WXe=Object.prototype,nVt=WXe.hasOwnProperty,iVt=RL(function(p,c){p=Object(p);var _=-1,g=c.length,S=g>2?c[2]:void 0;for(S&&v4(c[0],c[1],S)&&(g=1);++_<g;)for(var w=c[_],z=b4(w),ie=-1,de=z.length;++ie<de;){var be=z[ie],Ee=p[be];(Ee===void 0||dT(Ee,WXe[be])&&!nVt.call(p,be))&&(p[be]=w[be])}return p}),eR=iVt;function sVt(p){return Rm(p)&&lh(p)}var vxe=sVt;function aVt(p,c,_){for(var g=-1,S=p==null?0:p.length;++g<S;)if(_(c,p[g]))return!0;return!1}var Cse=aVt;var oVt=200;function cVt(p,c,_,g){var S=-1,w=tse,z=!0,ie=p.length,de=[],be=c.length;if(!ie)return de;_&&(c=_T(c,gT(_))),g?(w=Cse,z=!1):c.length>=oVt&&(w=YL,z=!1,c=new XL(c));e:for(;++S<ie;){var Ee=p[S],Oe=_==null?Ee:_(Ee);if(Ee=g||Ee!==0?Ee:0,z&&Oe===Oe){for(var Y=be;Y--;)if(c[Y]===Oe)continue e;de.push(Ee)}else w(c,Oe,g)||de.push(Ee)}return de}var UXe=cVt;var uVt=RL(function(p,c){return vxe(p)?UXe(p,VL(c,1,vxe,!0)):[]}),k4=uVt;function lVt(p){var c=p==null?0:p.length;return c?p[c-1]:void 0}var DT=lVt;function fVt(p,c,_){var g=p==null?0:p.length;return g?(c=_||c===void 0?1:pT(c),ase(p,c<0?0:c,g)):[]}var Mm=fVt;function _Vt(p,c,_){var g=p==null?0:p.length;return g?(c=_||c===void 0?1:pT(c),c=g-c,ase(p,0,c<0?0:c)):[]}var ak=_Vt;function pVt(p){return typeof p=="function"?p:_C}var VXe=pVt;function dVt(p,c){var _=To(p)?Zie:Jv;return _(p,VXe(c))}var ao=dVt;function mVt(p,c){for(var _=-1,g=p==null?0:p.length;++_<g;)if(!c(p[_],_,p))return!1;return!0}var GXe=mVt;function hVt(p,c){var _=!0;return Jv(p,function(g,S,w){return _=!!c(g,S,w),_}),_}var $Xe=hVt;function gVt(p,c,_){var g=To(p)?GXe:$Xe;return _&&v4(p,c,_)&&(c=void 0),g(p,fh(c,3))}var F1=gVt;function yVt(p,c){var _=[];return Jv(p,function(g,S,w){c(g,S,w)&&_.push(g)}),_}var Sse=yVt;function vVt(p,c){var _=To(p)?$L:Sse;return _(p,fh(c,3))}var k1=vVt;function DVt(p){return function(c,_,g){var S=Object(c);if(!lh(c)){var w=fh(_,3);c=tp(c),_=function(ie){return w(S[ie],ie,S)}}var z=p(c,_,g);return z>-1?S[w?c[z]:z]:void 0}}var HXe=DVt;var bVt=Math.max;function CVt(p,c,_){var g=p==null?0:p.length;if(!g)return-1;var S=_==null?0:pT(_);return S<0&&(S=bVt(g+S,0)),ese(p,fh(c,3),S)}var KXe=CVt;var SVt=HXe(KXe),bT=SVt;function EVt(p){return p&&p.length?p[0]:void 0}var Vg=EVt;function xVt(p,c){var _=-1,g=lh(p)?Array(p.length):[];return Jv(p,function(S,w,z){g[++_]=c(S,w,z)}),g}var QXe=xVt;function TVt(p,c){var _=To(p)?_T:QXe;return _(p,fh(c,3))}var Ja=TVt;function AVt(p,c){return VL(Ja(p,c),1)}var Py=AVt;var FVt=Object.prototype,kVt=FVt.hasOwnProperty,IVt=zXe(function(p,c,_){kVt.call(p,_)?p[_].push(c):LL(p,_,[c])}),Dxe=IVt;var wVt=Object.prototype,PVt=wVt.hasOwnProperty;function NVt(p,c){return p!=null&&PVt.call(p,c)}var XXe=NVt;function OVt(p,c){return p!=null&&bse(p,c,XXe)}var mo=OVt;var LVt="[object String]";function RVt(p){return typeof p=="string"||!To(p)&&Rm(p)&&Iy(p)==LVt}var Kh=RVt;function MVt(p,c){return _T(c,function(_){return p[_]})}var YXe=MVt;function BVt(p){return p==null?[]:YXe(p,tp(p))}var S_=BVt;var jVt=Math.max;function JVt(p,c,_,g){p=lh(p)?p:S_(p),_=_&&!g?pT(_):0;var S=p.length;return _<0&&(_=jVt(S+_,0)),Kh(p)?_<=S&&p.indexOf(c,_)>-1:!!S&&OL(p,c,_)>-1}var Kp=JVt;var qVt=Math.max;function zVt(p,c,_){var g=p==null?0:p.length;if(!g)return-1;var S=_==null?0:pT(_);return S<0&&(S=qVt(g+S,0)),OL(p,c,S)}var Ese=zVt;var WVt="[object Map]",UVt="[object Set]",VVt=Object.prototype,GVt=VVt.hasOwnProperty;function $Vt(p){if(p==null)return!0;if(lh(p)&&(To(p)||typeof p=="string"||typeof p.splice=="function"||ik(p)||BL(p)||D4(p)))return!p.length;var c=XS(p);if(c==WVt||c==UVt)return!p.size;if(hT(p))return!ise(p).length;for(var _ in p)if(GVt.call(p,_))return!1;return!0}var il=$Vt;var HVt="[object RegExp]";function KVt(p){return Rm(p)&&Iy(p)==HVt}var ZXe=KVt;var eYe=pC&&pC.isRegExp,QVt=eYe?gT(eYe):ZXe,dC=QVt;function XVt(p){return p===void 0}var I1=XVt;var YVt="Expected a function";function ZVt(p){if(typeof p!="function")throw new TypeError(YVt);return function(){var c=arguments;switch(c.length){case 0:return!p.call(this);case 1:return!p.call(this,c[0]);case 2:return!p.call(this,c[0],c[1]);case 3:return!p.call(this,c[0],c[1],c[2])}return!p.apply(this,c)}}var tYe=ZVt;function eGt(p,c,_,g){if(!Td(p))return p;c=T4(c,p);for(var S=-1,w=c.length,z=w-1,ie=p;ie!=null&&++S<w;){var de=yT(c[S]),be=_;if(de==="__proto__"||de==="constructor"||de==="prototype")return p;if(S!=z){var Ee=ie[de];be=g?g(Ee,de,ie):void 0,be===void 0&&(be=Td(Ee)?Ee:g4(c[S+1])?[]:{})}y4(ie,de,be),ie=ie[de]}return p}var rYe=eGt;function tGt(p,c,_){for(var g=-1,S=c.length,w={};++g<S;){var z=c[g],ie=WL(p,z);_(ie,z)&&rYe(w,T4(z,p),ie)}return w}var nYe=tGt;function rGt(p,c){if(p==null)return{};var _=_T(lse(p),function(g){return[g]});return c=fh(c),nYe(p,_,function(g,S){return c(g,S[0])})}var qv=rGt;function nGt(p,c,_,g,S){return S(p,function(w,z,ie){_=g?(g=!1,w):c(_,w,z,ie)}),_}var iYe=nGt;function iGt(p,c,_){var g=To(p)?IQe:iYe,S=arguments.length<3;return g(p,fh(c,4),_,S,Jv)}var _h=iGt;function sGt(p,c){var _=To(p)?$L:Sse;return _(p,tYe(fh(c,3)))}var I4=sGt;function aGt(p,c){var _;return Jv(p,function(g,S,w){return _=c(g,S,w),!_}),!!_}var sYe=aGt;function oGt(p,c,_){var g=To(p)?mse:sYe;return _&&v4(p,c,_)&&(c=void 0),g(p,fh(c,3))}var kU=oGt;var cGt=1/0,uGt=F4&&1/ZL(new F4([,-0]))[1]==cGt?function(p){return new F4(p)}:Ad,aYe=uGt;var lGt=200;function fGt(p,c,_){var g=-1,S=tse,w=p.length,z=!0,ie=[],de=ie;if(_)z=!1,S=Cse;else if(w>=lGt){var be=c?null:aYe(p);if(be)return ZL(be);z=!1,S=YL,de=new XL}else de=c?[]:ie;e:for(;++g<w;){var Ee=p[g],Oe=c?c(Ee):Ee;if(Ee=_||Ee!==0?Ee:0,z&&Oe===Oe){for(var Y=de.length;Y--;)if(de[Y]===Oe)continue e;c&&de.push(Oe),ie.push(Ee)}else S(de,Oe,_)||(de!==ie&&de.push(Oe),ie.push(Ee))}return ie}var oYe=fGt;function _Gt(p){return p&&p.length?oYe(p):[]}var tR=_Gt;function rR(p){console&&console.error&&console.error(`Error: ${p}`)}function IU(p){console&&console.warn&&console.warn(`Warning: ${p}`)}function wU(p){let c=new Date().getTime(),_=p();return{time:new Date().getTime()-c,value:_}}function PU(p){function c(){}c.prototype=p;let _=new c;function g(){return typeof _.bar}return g(),g(),p;(0,eval)(p)}function pGt(p){return dGt(p)?p.LABEL:p.name}function dGt(p){return Kh(p.LABEL)&&p.LABEL!==""}var x2=class{get definition(){return this._definition}set definition(c){this._definition=c}constructor(c){this._definition=c}accept(c){c.visit(this),ao(this.definition,_=>{_.accept(c)})}},ip=class extends x2{constructor(c){super([]),this.idx=1,I0(this,qv(c,_=>_!==void 0))}set definition(c){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(c){c.visit(this)}},Ny=class extends x2{constructor(c){super(c.definition),this.orgText="",I0(this,qv(c,_=>_!==void 0))}},sp=class extends x2{constructor(c){super(c.definition),this.ignoreAmbiguities=!1,I0(this,qv(c,_=>_!==void 0))}},Rp=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,_=>_!==void 0))}},Bm=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,_=>_!==void 0))}},jm=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,_=>_!==void 0))}},Vf=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,_=>_!==void 0))}},am=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,_=>_!==void 0))}},om=class extends x2{get definition(){return this._definition}set definition(c){this._definition=c}constructor(c){super(c.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,I0(this,qv(c,_=>_!==void 0))}},Fl=class{constructor(c){this.idx=1,I0(this,qv(c,_=>_!==void 0))}accept(c){c.visit(this)}};function xse(p){return Ja(p,nR)}function nR(p){function c(_){return Ja(_,nR)}if(p instanceof ip){let _={type:"NonTerminal",name:p.nonTerminalName,idx:p.idx};return Kh(p.label)&&(_.label=p.label),_}else{if(p instanceof sp)return{type:"Alternative",definition:c(p.definition)};if(p instanceof Rp)return{type:"Option",idx:p.idx,definition:c(p.definition)};if(p instanceof Bm)return{type:"RepetitionMandatory",idx:p.idx,definition:c(p.definition)};if(p instanceof jm)return{type:"RepetitionMandatoryWithSeparator",idx:p.idx,separator:nR(new Fl({terminalType:p.separator})),definition:c(p.definition)};if(p instanceof am)return{type:"RepetitionWithSeparator",idx:p.idx,separator:nR(new Fl({terminalType:p.separator})),definition:c(p.definition)};if(p instanceof Vf)return{type:"Repetition",idx:p.idx,definition:c(p.definition)};if(p instanceof om)return{type:"Alternation",idx:p.idx,definition:c(p.definition)};if(p instanceof Fl){let _={type:"Terminal",name:p.terminalType.name,label:pGt(p.terminalType),idx:p.idx};Kh(p.label)&&(_.terminalLabel=p.label);let g=p.terminalType.PATTERN;return p.terminalType.PATTERN&&(_.pattern=dC(g)?g.source:g),_}else{if(p instanceof Ny)return{type:"Rule",name:p.name,orgText:p.orgText,definition:c(p.definition)};throw Error("non exhaustive match")}}}var Oy=class{visit(c){let _=c;switch(_.constructor){case ip:return this.visitNonTerminal(_);case sp:return this.visitAlternative(_);case Rp:return this.visitOption(_);case Bm:return this.visitRepetitionMandatory(_);case jm:return this.visitRepetitionMandatoryWithSeparator(_);case am:return this.visitRepetitionWithSeparator(_);case Vf:return this.visitRepetition(_);case om:return this.visitAlternation(_);case Fl:return this.visitTerminal(_);case Ny:return this.visitRule(_);default:throw Error("non exhaustive match")}}visitNonTerminal(c){}visitAlternative(c){}visitOption(c){}visitRepetition(c){}visitRepetitionMandatory(c){}visitRepetitionMandatoryWithSeparator(c){}visitRepetitionWithSeparator(c){}visitAlternation(c){}visitTerminal(c){}visitRule(c){}};function bxe(p){return p instanceof sp||p instanceof Rp||p instanceof Vf||p instanceof Bm||p instanceof jm||p instanceof am||p instanceof Fl||p instanceof Ny}function BP(p,c=[]){return p instanceof Rp||p instanceof Vf||p instanceof am?!0:p instanceof om?kU(p.definition,g=>BP(g,c)):p instanceof ip&&Kp(c,p)?!1:p instanceof x2?(p instanceof ip&&c.push(p),F1(p.definition,g=>BP(g,c))):!1}function Cxe(p){return p instanceof om}function zv(p){if(p instanceof ip)return"SUBRULE";if(p instanceof Rp)return"OPTION";if(p instanceof om)return"OR";if(p instanceof Bm)return"AT_LEAST_ONE";if(p instanceof jm)return"AT_LEAST_ONE_SEP";if(p instanceof am)return"MANY_SEP";if(p instanceof Vf)return"MANY";if(p instanceof Fl)return"CONSUME";throw Error("non exhaustive match")}var ok=class{walk(c,_=[]){ao(c.definition,(g,S)=>{let w=Mm(c.definition,S+1);if(g instanceof ip)this.walkProdRef(g,w,_);else if(g instanceof Fl)this.walkTerminal(g,w,_);else if(g instanceof sp)this.walkFlat(g,w,_);else if(g instanceof Rp)this.walkOption(g,w,_);else if(g instanceof Bm)this.walkAtLeastOne(g,w,_);else if(g instanceof jm)this.walkAtLeastOneSep(g,w,_);else if(g instanceof am)this.walkManySep(g,w,_);else if(g instanceof Vf)this.walkMany(g,w,_);else if(g instanceof om)this.walkOr(g,w,_);else throw Error("non exhaustive match")})}walkTerminal(c,_,g){}walkProdRef(c,_,g){}walkFlat(c,_,g){let S=_.concat(g);this.walk(c,S)}walkOption(c,_,g){let S=_.concat(g);this.walk(c,S)}walkAtLeastOne(c,_,g){let S=[new Rp({definition:c.definition})].concat(_,g);this.walk(c,S)}walkAtLeastOneSep(c,_,g){let S=cYe(c,_,g);this.walk(c,S)}walkMany(c,_,g){let S=[new Rp({definition:c.definition})].concat(_,g);this.walk(c,S)}walkManySep(c,_,g){let S=cYe(c,_,g);this.walk(c,S)}walkOr(c,_,g){let S=_.concat(g);ao(c.definition,w=>{let z=new sp({definition:[w]});this.walk(z,S)})}};function cYe(p,c,_){return[new Rp({definition:[new Fl({terminalType:p.separator})].concat(p.definition)})].concat(c,_)}function jP(p){if(p instanceof ip)return jP(p.referencedRule);if(p instanceof Fl)return gGt(p);if(bxe(p))return mGt(p);if(Cxe(p))return hGt(p);throw Error("non exhaustive match")}function mGt(p){let c=[],_=p.definition,g=0,S=_.length>g,w,z=!0;for(;S&&z;)w=_[g],z=BP(w),c=c.concat(jP(w)),g=g+1,S=_.length>g;return tR(c)}function hGt(p){let c=Ja(p.definition,_=>jP(_));return tR(Hh(c))}function gGt(p){return[p.terminalType]}var Tse="_~IN~_";var Sxe=class extends ok{constructor(c){super(),this.topProd=c,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(c,_,g){}walkProdRef(c,_,g){let S=yGt(c.referencedRule,c.idx)+this.topProd.name,w=_.concat(g),z=new sp({definition:w}),ie=jP(z);this.follows[S]=ie}};function uYe(p){let c={};return ao(p,_=>{let g=new Sxe(_).startWalking();I0(c,g)}),c}function yGt(p,c){return p.name+c+Tse}function Ec(p){return p.charCodeAt(0)}function Ase(p,c){Array.isArray(p)?p.forEach(function(_){c.push(_)}):c.push(p)}function iR(p,c){if(p[c]===!0)throw"duplicate flag "+c;let _=p[c];p[c]=!0}function JP(p){if(p===void 0)throw Error("Internal Error - Should never get here!");return!0}function NU(){throw Error("Internal Error - Should never get here!")}function Exe(p){return p.type==="Character"}var OU=[];for(let p=Ec("0");p<=Ec("9");p++)OU.push(p);var LU=[Ec("_")].concat(OU);for(let p=Ec("a");p<=Ec("z");p++)LU.push(p);for(let p=Ec("A");p<=Ec("Z");p++)LU.push(p);var xxe=[Ec(" "),Ec("\f"),Ec(`
864
- `),Ec("\r"),Ec(" "),Ec("\v"),Ec(" "),Ec("\xA0"),Ec("\u1680"),Ec("\u2000"),Ec("\u2001"),Ec("\u2002"),Ec("\u2003"),Ec("\u2004"),Ec("\u2005"),Ec("\u2006"),Ec("\u2007"),Ec("\u2008"),Ec("\u2009"),Ec("\u200A"),Ec("\u2028"),Ec("\u2029"),Ec("\u202F"),Ec("\u205F"),Ec("\u3000"),Ec("\uFEFF")];var vGt=/[0-9a-fA-F]/,Fse=/[0-9]/,DGt=/[1-9]/,RU=class{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(c){this.idx=c.idx,this.input=c.input,this.groupIdx=c.groupIdx}pattern(c){this.idx=0,this.input=c,this.groupIdx=0,this.consumeChar("/");let _=this.disjunction();this.consumeChar("/");let g={type:"Flags",loc:{begin:this.idx,end:c.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":iR(g,"global");break;case"i":iR(g,"ignoreCase");break;case"m":iR(g,"multiLine");break;case"u":iR(g,"unicode");break;case"y":iR(g,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:g,value:_,loc:this.loc(0)}}disjunction(){let c=[],_=this.idx;for(c.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),c.push(this.alternative());return{type:"Disjunction",value:c,loc:this.loc(_)}}alternative(){let c=[],_=this.idx;for(;this.isTerm();)c.push(this.term());return{type:"Alternative",value:c,loc:this.loc(_)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let c=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(c)};case"$":return{type:"EndAnchor",loc:this.loc(c)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(c)};case"B":return{type:"NonWordBoundary",loc:this.loc(c)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let _;switch(this.popChar()){case"=":_="Lookahead";break;case"!":_="NegativeLookahead";break}JP(_);let g=this.disjunction();return this.consumeChar(")"),{type:_,value:g,loc:this.loc(c)}}return NU()}quantifier(c=!1){let _,g=this.idx;switch(this.popChar()){case"*":_={atLeast:0,atMost:1/0};break;case"+":_={atLeast:1,atMost:1/0};break;case"?":_={atLeast:0,atMost:1};break;case"{":let S=this.integerIncludingZero();switch(this.popChar()){case"}":_={atLeast:S,atMost:S};break;case",":let w;this.isDigit()?(w=this.integerIncludingZero(),_={atLeast:S,atMost:w}):_={atLeast:S,atMost:1/0},this.consumeChar("}");break}if(c===!0&&_===void 0)return;JP(_);break}if(!(c===!0&&_===void 0)&&JP(_))return this.peekChar(0)==="?"?(this.consumeChar("?"),_.greedy=!1):_.greedy=!0,_.type="Quantifier",_.loc=this.loc(g),_}atom(){let c,_=this.idx;switch(this.peekChar()){case".":c=this.dotAll();break;case"\\":c=this.atomEscape();break;case"[":c=this.characterClass();break;case"(":c=this.group();break}return c===void 0&&this.isPatternCharacter()&&(c=this.patternCharacter()),JP(c)?(c.loc=this.loc(_),this.isQuantifier()&&(c.quantifier=this.quantifier()),c):NU()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[Ec(`
865
- `),Ec("\r"),Ec("\u2028"),Ec("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let c,_=!1;switch(this.popChar()){case"d":c=OU;break;case"D":c=OU,_=!0;break;case"s":c=xxe;break;case"S":c=xxe,_=!0;break;case"w":c=LU;break;case"W":c=LU,_=!0;break}return JP(c)?{type:"Set",value:c,complement:_}:NU()}controlEscapeAtom(){let c;switch(this.popChar()){case"f":c=Ec("\f");break;case"n":c=Ec(`
863
+ `,"f"),po(this,Wg,Qt(this,Wg,"f")+c.join(" "),"f")}}}[nxe](c){FL(Qt(this,Lo,"f")).forEach(p=>{if((S=>S==="configObjects")(p))return;let g=Qt(this,Lo,"f")[p];Array.isArray(g)?g.includes(c)&&g.splice(g.indexOf(c),1):typeof g=="object"&&delete g[c]}),delete Qt(this,eu,"f").getDescriptions()[c]}[YHe](c,p,g){Qt(this,zie,"f")[g]||(Qt(this,Mc,"f").process.emitWarning(c,p),Qt(this,zie,"f")[g]=!0)}[ZHe](){Qt(this,Wie,"f").push({options:Qt(this,Lo,"f"),configObjects:Qt(this,Lo,"f").configObjects.slice(0),exitProcess:Qt(this,uC,"f"),groups:Qt(this,lT,"f"),strict:Qt(this,IP,"f"),strictCommands:Qt(this,wP,"f"),strictOptions:Qt(this,PP,"f"),completionCommand:Qt(this,C2,"f"),output:Qt(this,Wg,"f"),exitError:Qt(this,p4,"f"),hasOutput:Qt(this,S2,"f"),parsed:this.parsed,parseFn:Qt(this,E2,"f"),parseContext:Qt(this,FP,"f")}),Qt(this,eu,"f").freeze(),Qt(this,sm,"f").freeze(),Qt(this,Lm,"f").freeze(),Qt(this,lC,"f").freeze()}[eKe](){let c="",p;return/\b(node|iojs|electron)(\.exe)?$/.test(Qt(this,Mc,"f").process.argv()[0])?p=Qt(this,Mc,"f").process.argv().slice(1,2):p=Qt(this,Mc,"f").process.argv().slice(0,1),c=p.map(g=>{let S=this[pKe](Qt(this,TP,"f"),g);return g.match(/^(\/|([a-zA-Z]:)?\\)/)&&S.length<g.length?S:g}).join(" ").trim(),Qt(this,Mc,"f").getEnv("_")&&Qt(this,Mc,"f").getProcessArgvBin()===Qt(this,Mc,"f").getEnv("_")&&(c=Qt(this,Mc,"f").getEnv("_").replace(`${Qt(this,Mc,"f").path.dirname(Qt(this,Mc,"f").process.execPath())}/`,"")),c}[NP](){return Qt(this,Gie,"f")}[tKe](){return Qt(this,Hie,"f")}[ixe](){if(!Qt(this,AP,"f"))return;let c=Qt(this,Mc,"f").getEnv("LC_ALL")||Qt(this,Mc,"f").getEnv("LC_MESSAGES")||Qt(this,Mc,"f").getEnv("LANG")||Qt(this,Mc,"f").getEnv("LANGUAGE")||"en_US";this.locale(c.replace(/[.:].*/,""))}[rKe](){return this[sxe]().version||"unknown"}[nKe](c){let p=c["--"]?c["--"]:c._;for(let g=0,S;(S=p[g])!==void 0;g++)Qt(this,Mc,"f").Parser.looksLikeNumber(S)&&Number.isSafeInteger(Math.floor(parseFloat(`${S}`)))&&(p[g]=Number(S));return c}[sxe](c){let p=c||"*";if(Qt(this,wL,"f")[p])return Qt(this,wL,"f")[p];let g={};try{let S=c||Qt(this,Mc,"f").mainFilename;!c&&Qt(this,Mc,"f").path.extname(S)&&(S=Qt(this,Mc,"f").path.dirname(S));let w=Qt(this,Mc,"f").findUp(S,(z,ie)=>{if(ie.includes("package.json"))return"package.json"});ky(w,void 0,Qt(this,Mc,"f")),g=JSON.parse(Qt(this,Mc,"f").readFileSync(w,"utf8"))}catch{}return Qt(this,wL,"f")[p]=g||{},Qt(this,wL,"f")[p]}[m4](c,p){p=[].concat(p),p.forEach(g=>{g=this[cxe](g),Qt(this,Lo,"f")[c].push(g)})}[PL](c,p,g,S){this[oxe](c,p,g,S,(w,z,ie)=>{Qt(this,Lo,"f")[w][z]=ie})}[axe](c,p,g,S){this[oxe](c,p,g,S,(w,z,ie)=>{Qt(this,Lo,"f")[w][z]=(Qt(this,Lo,"f")[w][z]||[]).concat(ie)})}[oxe](c,p,g,S,w){if(Array.isArray(g))g.forEach(z=>{c(z,S)});else if((z=>typeof z=="object")(g))for(let z of FL(g))c(z,g[z]);else w(p,this[cxe](g),S)}[cxe](c){return c==="__proto__"?"___proto___":c}[uxe](c,p){return this[PL](this[uxe].bind(this),"key",c,p),this}[lxe](){var c,p,g,S,w,z,ie,de,be,Ee,Oe,Y;let ut=Qt(this,Wie,"f").pop();ky(ut,void 0,Qt(this,Mc,"f"));let Ye;c=this,p=this,g=this,S=this,w=this,z=this,ie=this,de=this,be=this,Ee=this,Oe=this,Y=this,{options:{set value(We){po(c,Lo,We,"f")}}.value,configObjects:Ye,exitProcess:{set value(We){po(p,uC,We,"f")}}.value,groups:{set value(We){po(g,lT,We,"f")}}.value,output:{set value(We){po(S,Wg,We,"f")}}.value,exitError:{set value(We){po(w,p4,We,"f")}}.value,hasOutput:{set value(We){po(z,S2,We,"f")}}.value,parsed:this.parsed,strict:{set value(We){po(ie,IP,We,"f")}}.value,strictCommands:{set value(We){po(de,wP,We,"f")}}.value,strictOptions:{set value(We){po(be,PP,We,"f")}}.value,completionCommand:{set value(We){po(Ee,C2,We,"f")}}.value,parseFn:{set value(We){po(Oe,E2,We,"f")}}.value,parseContext:{set value(We){po(Y,FP,We,"f")}}.value}=ut,Qt(this,Lo,"f").configObjects=Ye,Qt(this,eu,"f").unfreeze(),Qt(this,sm,"f").unfreeze(),Qt(this,Lm,"f").unfreeze(),Qt(this,lC,"f").unfreeze()}[iKe](c,p){return xP(p,g=>(c(g),g))}getInternalMethods(){return{getCommandInstance:this[sKe].bind(this),getContext:this[aKe].bind(this),getHasOutput:this[oKe].bind(this),getLoggerInstance:this[cKe].bind(this),getParseContext:this[uKe].bind(this),getParserConfiguration:this[NP].bind(this),getUsageConfiguration:this[tKe].bind(this),getUsageInstance:this[lKe].bind(this),getValidationInstance:this[fKe].bind(this),hasParseCallback:this[Kie].bind(this),isGlobalContext:this[_Ke].bind(this),postProcess:this[OP].bind(this),reset:this[fxe].bind(this),runValidation:this[_xe].bind(this),runYargsParserAndExecuteCommands:this[xU].bind(this),setHasOutput:this[dKe].bind(this)}}[sKe](){return Qt(this,Lm,"f")}[aKe](){return Qt(this,EU,"f")}[oKe](){return Qt(this,S2,"f")}[cKe](){return Qt(this,IL,"f")}[uKe](){return Qt(this,FP,"f")||{}}[lKe](){return Qt(this,eu,"f")}[fKe](){return Qt(this,sm,"f")}[Kie](){return!!Qt(this,E2,"f")}[_Ke](){return Qt(this,Uie,"f")}[OP](c,p,g,S){return g||Op(c)||(p||(c=this[QHe](c)),(this[NP]()["parse-positional-numbers"]||this[NP]()["parse-positional-numbers"]===void 0)&&(c=this[nKe](c)),S&&(c=EP(c,this,Qt(this,lC,"f").getMiddleware(),!1))),c}[fxe](c={}){po(this,Lo,Qt(this,Lo,"f")||{},"f");let p={};p.local=Qt(this,Lo,"f").local||[],p.configObjects=Qt(this,Lo,"f").configObjects||[];let g={};p.local.forEach(z=>{g[z]=!0,(c[z]||[]).forEach(ie=>{g[ie]=!0})}),Object.assign(Qt(this,kP,"f"),Object.keys(Qt(this,lT,"f")).reduce((z,ie)=>{let de=Qt(this,lT,"f")[ie].filter(be=>!(be in g));return de.length>0&&(z[ie]=de),z},{})),po(this,lT,{},"f");let S=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],w=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return S.forEach(z=>{p[z]=(Qt(this,Lo,"f")[z]||[]).filter(ie=>!g[ie])}),w.forEach(z=>{p[z]=f4(Qt(this,Lo,"f")[z],ie=>!g[ie])}),p.envPrefix=Qt(this,Lo,"f").envPrefix,po(this,Lo,p,"f"),po(this,eu,Qt(this,eu,"f")?Qt(this,eu,"f").reset(g):zHe(this,Qt(this,Mc,"f")),"f"),po(this,sm,Qt(this,sm,"f")?Qt(this,sm,"f").reset(g):HHe(this,Qt(this,eu,"f"),Qt(this,Mc,"f")),"f"),po(this,Lm,Qt(this,Lm,"f")?Qt(this,Lm,"f").reset():jHe(Qt(this,eu,"f"),Qt(this,sm,"f"),Qt(this,lC,"f"),Qt(this,Mc,"f")),"f"),Qt(this,cC,"f")||po(this,cC,VHe(this,Qt(this,eu,"f"),Qt(this,Lm,"f"),Qt(this,Mc,"f")),"f"),Qt(this,lC,"f").reset(),po(this,C2,null,"f"),po(this,Wg,"","f"),po(this,p4,null,"f"),po(this,S2,!1,"f"),this.parsed=!1,this}[pKe](c,p){return Qt(this,Mc,"f").path.relative(c,p)}[xU](c,p,g,S=0,w=!1){let z=!!g||w;c=c||Qt(this,d4,"f"),Qt(this,Lo,"f").__=Qt(this,Mc,"f").y18n.__,Qt(this,Lo,"f").configuration=this[NP]();let ie=!!Qt(this,Lo,"f").configuration["populate--"],de=Object.assign({},Qt(this,Lo,"f").configuration,{"populate--":!0}),be=Qt(this,Mc,"f").Parser.detailed(c,Object.assign({},Qt(this,Lo,"f"),{configuration:{"parse-positional-numbers":!1,...de}})),Ee=Object.assign(be.argv,Qt(this,FP,"f")),Oe,Y=be.aliases,ut=!1,Ye=!1;Object.keys(Ee).forEach(We=>{We===Qt(this,fC,"f")&&Ee[We]?ut=!0:We===Qt(this,fT,"f")&&Ee[We]&&(Ye=!0)}),Ee.$0=this.$0,this.parsed=be,S===0&&Qt(this,eu,"f").clearCachedHelpMessage();try{if(this[ixe](),p)return this[OP](Ee,ie,!!g,!1);Qt(this,fC,"f")&&[Qt(this,fC,"f")].concat(Y[Qt(this,fC,"f")]||[]).filter(On=>On.length>1).includes(""+Ee._[Ee._.length-1])&&(Ee._.pop(),ut=!0),po(this,Uie,!1,"f");let We=Qt(this,Lm,"f").getCommands(),Ut=Qt(this,cC,"f").completionKey in Ee,_r=ut||Ut||w;if(Ee._.length){if(We.length){let Hr;for(let On=S||0,Hi;Ee._[On]!==void 0;On++)if(Hi=String(Ee._[On]),We.includes(Hi)&&Hi!==Qt(this,C2,"f")){let us=Qt(this,Lm,"f").runCommand(Hi,this,be,On+1,w,ut||Ye||w);return this[OP](us,ie,!!g,!1)}else if(!Hr&&Hi!==Qt(this,C2,"f")){Hr=Hi;break}!Qt(this,Lm,"f").hasDefaultCommand()&&Qt(this,$ie,"f")&&Hr&&!_r&&Qt(this,sm,"f").recommendCommands(Hr,We)}Qt(this,C2,"f")&&Ee._.includes(Qt(this,C2,"f"))&&!Ut&&(Qt(this,uC,"f")&&_4(!0),this.showCompletionScript(),this.exit(0))}if(Qt(this,Lm,"f").hasDefaultCommand()&&!_r){let Hr=Qt(this,Lm,"f").runCommand(null,this,be,0,w,ut||Ye||w);return this[OP](Hr,ie,!!g,!1)}if(Ut){Qt(this,uC,"f")&&_4(!0),c=[].concat(c);let Hr=c.slice(c.indexOf(`--${Qt(this,cC,"f").completionKey}`)+1);return Qt(this,cC,"f").getCompletion(Hr,(On,Hi)=>{if(On)throw new Np(On.message);(Hi||[]).forEach(us=>{Qt(this,IL,"f").log(us)}),this.exit(0)}),this[OP](Ee,!ie,!!g,!1)}if(Qt(this,S2,"f")||(ut?(Qt(this,uC,"f")&&_4(!0),z=!0,this.showHelp("log"),this.exit(0)):Ye&&(Qt(this,uC,"f")&&_4(!0),z=!0,Qt(this,eu,"f").showVersion("log"),this.exit(0))),!z&&Qt(this,Lo,"f").skipValidation.length>0&&(z=Object.keys(Ee).some(Hr=>Qt(this,Lo,"f").skipValidation.indexOf(Hr)>=0&&Ee[Hr]===!0)),!z){if(be.error)throw new Np(be.error.message);if(!Ut){let Hr=this[_xe](Y,{},be.error);g||(Oe=EP(Ee,this,Qt(this,lC,"f").getMiddleware(),!0)),Oe=this[iKe](Hr,Oe??Ee),Op(Oe)&&!g&&(Oe=Oe.then(()=>EP(Ee,this,Qt(this,lC,"f").getMiddleware(),!1)))}}}catch(We){if(We instanceof Np)Qt(this,eu,"f").fail(We.message,We);else throw We}return this[OP](Oe??Ee,ie,!!g,!0)}[_xe](c,p,g,S){let w={...this.getDemandedOptions()};return z=>{if(g)throw new Np(g.message);Qt(this,sm,"f").nonOptionCount(z),Qt(this,sm,"f").requiredArguments(z,w);let ie=!1;Qt(this,wP,"f")&&(ie=Qt(this,sm,"f").unknownCommands(z)),Qt(this,IP,"f")&&!ie?Qt(this,sm,"f").unknownArguments(z,c,p,!!S):Qt(this,PP,"f")&&Qt(this,sm,"f").unknownArguments(z,c,{},!1,!1),Qt(this,sm,"f").limitedChoices(z),Qt(this,sm,"f").implications(z),Qt(this,sm,"f").conflicting(z)}}[dKe](){po(this,S2,!0,"f")}[LP](c){if(typeof c=="string")Qt(this,Lo,"f").key[c]=!0;else for(let p of c)Qt(this,Lo,"f").key[p]=!0}};function JHe(_){return!!_&&typeof _.getInternalMethods=="function"}var PBt=mKe(QEe),hKe=PBt;var NBt=typeof global=="object"&&global&&global.Object===Object&&global,Qie=NBt;var OBt=typeof self=="object"&&self&&self.Object===Object&&self,LBt=Qie||OBt||Function("return this")(),uh=LBt;var RBt=uh.Symbol,Ug=RBt;var gKe=Object.prototype,MBt=gKe.hasOwnProperty,BBt=gKe.toString,TU=Ug?Ug.toStringTag:void 0;function jBt(_){var c=MBt.call(_,TU),p=_[TU];try{_[TU]=void 0;var g=!0}catch{}var S=BBt.call(_);return g&&(c?_[TU]=p:delete _[TU]),S}var yKe=jBt;var JBt=Object.prototype,qBt=JBt.toString;function zBt(_){return qBt.call(_)}var vKe=zBt;var WBt="[object Null]",UBt="[object Undefined]",DKe=Ug?Ug.toStringTag:void 0;function VBt(_){return _==null?_===void 0?UBt:WBt:DKe&&DKe in Object(_)?yKe(_):vKe(_)}var Iy=VBt;function GBt(_){return _!=null&&typeof _=="object"}var Rm=GBt;var $Bt="[object Symbol]";function HBt(_){return typeof _=="symbol"||Rm(_)&&Iy(_)==$Bt}var h4=HBt;function KBt(_,c){for(var p=-1,g=_==null?0:_.length,S=Array(g);++p<g;)S[p]=c(_[p],p,_);return S}var _T=KBt;var QBt=Array.isArray,To=QBt;var XBt=1/0,bKe=Ug?Ug.prototype:void 0,CKe=bKe?bKe.toString:void 0;function SKe(_){if(typeof _=="string")return _;if(To(_))return _T(_,SKe)+"";if(h4(_))return CKe?CKe.call(_):"";var c=_+"";return c=="0"&&1/_==-XBt?"-0":c}var EKe=SKe;var YBt=/\s/;function ZBt(_){for(var c=_.length;c--&&YBt.test(_.charAt(c)););return c}var xKe=ZBt;var ejt=/^\s+/;function tjt(_){return _&&_.slice(0,xKe(_)+1).replace(ejt,"")}var TKe=tjt;function rjt(_){var c=typeof _;return _!=null&&(c=="object"||c=="function")}var Td=rjt;var AKe=NaN,njt=/^[-+]0x[0-9a-f]+$/i,ijt=/^0b[01]+$/i,sjt=/^0o[0-7]+$/i,ajt=parseInt;function ojt(_){if(typeof _=="number")return _;if(h4(_))return AKe;if(Td(_)){var c=typeof _.valueOf=="function"?_.valueOf():_;_=Td(c)?c+"":c}if(typeof _!="string")return _===0?_:+_;_=TKe(_);var p=ijt.test(_);return p||sjt.test(_)?ajt(_.slice(2),p?2:8):njt.test(_)?AKe:+_}var FKe=ojt;var kKe=1/0,cjt=17976931348623157e292;function ujt(_){if(!_)return _===0?_:0;if(_=FKe(_),_===kKe||_===-kKe){var c=_<0?-1:1;return c*cjt}return _===_?_:0}var IKe=ujt;function ljt(_){var c=IKe(_),p=c%1;return c===c?p?c-p:c:0}var pT=ljt;function fjt(_){return _}var _C=fjt;var _jt="[object AsyncFunction]",pjt="[object Function]",djt="[object GeneratorFunction]",mjt="[object Proxy]";function hjt(_){if(!Td(_))return!1;var c=Iy(_);return c==pjt||c==djt||c==_jt||c==mjt}var wy=hjt;var gjt=uh["__core-js_shared__"],Xie=gjt;var wKe=(function(){var _=/[^.]+$/.exec(Xie&&Xie.keys&&Xie.keys.IE_PROTO||"");return _?"Symbol(src)_1."+_:""})();function yjt(_){return!!wKe&&wKe in _}var PKe=yjt;var vjt=Function.prototype,Djt=vjt.toString;function bjt(_){if(_!=null){try{return Djt.call(_)}catch{}try{return _+""}catch{}}return""}var nk=bjt;var Cjt=/[\\^$.*+?()[\]{}|]/g,Sjt=/^\[object .+?Constructor\]$/,Ejt=Function.prototype,xjt=Object.prototype,Tjt=Ejt.toString,Ajt=xjt.hasOwnProperty,Fjt=RegExp("^"+Tjt.call(Ajt).replace(Cjt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kjt(_){if(!Td(_)||PKe(_))return!1;var c=wy(_)?Fjt:Sjt;return c.test(nk(_))}var NKe=kjt;function Ijt(_,c){return _?.[c]}var OKe=Ijt;function wjt(_,c){var p=OKe(_,c);return NKe(p)?p:void 0}var jv=wjt;var Pjt=jv(uh,"WeakMap"),Yie=Pjt;var LKe=Object.create,Njt=(function(){function _(){}return function(c){if(!Td(c))return{};if(LKe)return LKe(c);_.prototype=c;var p=new _;return _.prototype=void 0,p}})(),RKe=Njt;function Ojt(_,c,p){switch(p.length){case 0:return _.call(c);case 1:return _.call(c,p[0]);case 2:return _.call(c,p[0],p[1]);case 3:return _.call(c,p[0],p[1],p[2])}return _.apply(c,p)}var MKe=Ojt;function Ljt(){}var Ad=Ljt;function Rjt(_,c){var p=-1,g=_.length;for(c||(c=Array(g));++p<g;)c[p]=_[p];return c}var BKe=Rjt;var Mjt=800,Bjt=16,jjt=Date.now;function Jjt(_){var c=0,p=0;return function(){var g=jjt(),S=Bjt-(g-p);if(p=g,S>0){if(++c>=Mjt)return arguments[0]}else c=0;return _.apply(void 0,arguments)}}var jKe=Jjt;function qjt(_){return function(){return _}}var JKe=qjt;var zjt=(function(){try{var _=jv(Object,"defineProperty");return _({},"",{}),_}catch{}})(),NL=zjt;var Wjt=NL?function(_,c){return NL(_,"toString",{configurable:!0,enumerable:!1,value:JKe(c),writable:!0})}:_C,qKe=Wjt;var Ujt=jKe(qKe),zKe=Ujt;function Vjt(_,c){for(var p=-1,g=_==null?0:_.length;++p<g&&c(_[p],p,_)!==!1;);return _}var Zie=Vjt;function Gjt(_,c,p,g){for(var S=_.length,w=p+(g?1:-1);g?w--:++w<S;)if(c(_[w],w,_))return w;return-1}var ese=Gjt;function $jt(_){return _!==_}var WKe=$jt;function Hjt(_,c,p){for(var g=p-1,S=_.length;++g<S;)if(_[g]===c)return g;return-1}var UKe=Hjt;function Kjt(_,c,p){return c===c?UKe(_,c,p):ese(_,WKe,p)}var OL=Kjt;function Qjt(_,c){var p=_==null?0:_.length;return!!p&&OL(_,c,0)>-1}var tse=Qjt;var Xjt=9007199254740991,Yjt=/^(?:0|[1-9]\d*)$/;function Zjt(_,c){var p=typeof _;return c=c??Xjt,!!c&&(p=="number"||p!="symbol"&&Yjt.test(_))&&_>-1&&_%1==0&&_<c}var g4=Zjt;function eJt(_,c,p){c=="__proto__"&&NL?NL(_,c,{configurable:!0,enumerable:!0,value:p,writable:!0}):_[c]=p}var LL=eJt;function tJt(_,c){return _===c||_!==_&&c!==c}var dT=tJt;var rJt=Object.prototype,nJt=rJt.hasOwnProperty;function iJt(_,c,p){var g=_[c];(!(nJt.call(_,c)&&dT(g,p))||p===void 0&&!(c in _))&&LL(_,c,p)}var y4=iJt;function sJt(_,c,p,g){var S=!p;p||(p={});for(var w=-1,z=c.length;++w<z;){var ie=c[w],de=g?g(p[ie],_[ie],ie,p,_):void 0;de===void 0&&(de=_[ie]),S?LL(p,ie,de):y4(p,ie,de)}return p}var mT=sJt;var VKe=Math.max;function aJt(_,c,p){return c=VKe(c===void 0?_.length-1:c,0),function(){for(var g=arguments,S=-1,w=VKe(g.length-c,0),z=Array(w);++S<w;)z[S]=g[c+S];S=-1;for(var ie=Array(c+1);++S<c;)ie[S]=g[S];return ie[c]=p(z),MKe(_,this,ie)}}var GKe=aJt;function oJt(_,c){return zKe(GKe(_,c,_C),_+"")}var RL=oJt;var cJt=9007199254740991;function uJt(_){return typeof _=="number"&&_>-1&&_%1==0&&_<=cJt}var ML=uJt;function lJt(_){return _!=null&&ML(_.length)&&!wy(_)}var lh=lJt;function fJt(_,c,p){if(!Td(p))return!1;var g=typeof c;return(g=="number"?lh(p)&&g4(c,p.length):g=="string"&&c in p)?dT(p[c],_):!1}var v4=fJt;function _Jt(_){return RL(function(c,p){var g=-1,S=p.length,w=S>1?p[S-1]:void 0,z=S>2?p[2]:void 0;for(w=_.length>3&&typeof w=="function"?(S--,w):void 0,z&&v4(p[0],p[1],z)&&(w=S<3?void 0:w,S=1),c=Object(c);++g<S;){var ie=p[g];ie&&_(c,ie,g,w)}return c})}var $Ke=_Jt;var pJt=Object.prototype;function dJt(_){var c=_&&_.constructor,p=typeof c=="function"&&c.prototype||pJt;return _===p}var hT=dJt;function mJt(_,c){for(var p=-1,g=Array(_);++p<_;)g[p]=c(p);return g}var HKe=mJt;var hJt="[object Arguments]";function gJt(_){return Rm(_)&&Iy(_)==hJt}var dxe=gJt;var KKe=Object.prototype,yJt=KKe.hasOwnProperty,vJt=KKe.propertyIsEnumerable,DJt=dxe((function(){return arguments})())?dxe:function(_){return Rm(_)&&yJt.call(_,"callee")&&!vJt.call(_,"callee")},D4=DJt;function bJt(){return!1}var QKe=bJt;var ZKe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,XKe=ZKe&&typeof module=="object"&&module&&!module.nodeType&&module,CJt=XKe&&XKe.exports===ZKe,YKe=CJt?uh.Buffer:void 0,SJt=YKe?YKe.isBuffer:void 0,EJt=SJt||QKe,ik=EJt;var xJt="[object Arguments]",TJt="[object Array]",AJt="[object Boolean]",FJt="[object Date]",kJt="[object Error]",IJt="[object Function]",wJt="[object Map]",PJt="[object Number]",NJt="[object Object]",OJt="[object RegExp]",LJt="[object Set]",RJt="[object String]",MJt="[object WeakMap]",BJt="[object ArrayBuffer]",jJt="[object DataView]",JJt="[object Float32Array]",qJt="[object Float64Array]",zJt="[object Int8Array]",WJt="[object Int16Array]",UJt="[object Int32Array]",VJt="[object Uint8Array]",GJt="[object Uint8ClampedArray]",$Jt="[object Uint16Array]",HJt="[object Uint32Array]",Lp={};Lp[JJt]=Lp[qJt]=Lp[zJt]=Lp[WJt]=Lp[UJt]=Lp[VJt]=Lp[GJt]=Lp[$Jt]=Lp[HJt]=!0;Lp[xJt]=Lp[TJt]=Lp[BJt]=Lp[AJt]=Lp[jJt]=Lp[FJt]=Lp[kJt]=Lp[IJt]=Lp[wJt]=Lp[PJt]=Lp[NJt]=Lp[OJt]=Lp[LJt]=Lp[RJt]=Lp[MJt]=!1;function KJt(_){return Rm(_)&&ML(_.length)&&!!Lp[Iy(_)]}var eQe=KJt;function QJt(_){return function(c){return _(c)}}var gT=QJt;var tQe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,AU=tQe&&typeof module=="object"&&module&&!module.nodeType&&module,XJt=AU&&AU.exports===tQe,mxe=XJt&&Qie.process,YJt=(function(){try{var _=AU&&AU.require&&AU.require("util").types;return _||mxe&&mxe.binding&&mxe.binding("util")}catch{}})(),pC=YJt;var rQe=pC&&pC.isTypedArray,ZJt=rQe?gT(rQe):eQe,BL=ZJt;var eqt=Object.prototype,tqt=eqt.hasOwnProperty;function rqt(_,c){var p=To(_),g=!p&&D4(_),S=!p&&!g&&ik(_),w=!p&&!g&&!S&&BL(_),z=p||g||S||w,ie=z?HKe(_.length,String):[],de=ie.length;for(var be in _)(c||tqt.call(_,be))&&!(z&&(be=="length"||S&&(be=="offset"||be=="parent")||w&&(be=="buffer"||be=="byteLength"||be=="byteOffset")||g4(be,de)))&&ie.push(be);return ie}var rse=rqt;function nqt(_,c){return function(p){return _(c(p))}}var nse=nqt;var iqt=nse(Object.keys,Object),nQe=iqt;var sqt=Object.prototype,aqt=sqt.hasOwnProperty;function oqt(_){if(!hT(_))return nQe(_);var c=[];for(var p in Object(_))aqt.call(_,p)&&p!="constructor"&&c.push(p);return c}var ise=oqt;function cqt(_){return lh(_)?rse(_):ise(_)}var tp=cqt;var uqt=Object.prototype,lqt=uqt.hasOwnProperty,fqt=$Ke(function(_,c){if(hT(c)||lh(c)){mT(c,tp(c),_);return}for(var p in c)lqt.call(c,p)&&y4(_,p,c[p])}),I0=fqt;function _qt(_){var c=[];if(_!=null)for(var p in Object(_))c.push(p);return c}var iQe=_qt;var pqt=Object.prototype,dqt=pqt.hasOwnProperty;function mqt(_){if(!Td(_))return iQe(_);var c=hT(_),p=[];for(var g in _)g=="constructor"&&(c||!dqt.call(_,g))||p.push(g);return p}var sQe=mqt;function hqt(_){return lh(_)?rse(_,!0):sQe(_)}var b4=hqt;var gqt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yqt=/^\w*$/;function vqt(_,c){if(To(_))return!1;var p=typeof _;return p=="number"||p=="symbol"||p=="boolean"||_==null||h4(_)?!0:yqt.test(_)||!gqt.test(_)||c!=null&&_ in Object(c)}var jL=vqt;var Dqt=jv(Object,"create"),sk=Dqt;function bqt(){this.__data__=sk?sk(null):{},this.size=0}var aQe=bqt;function Cqt(_){var c=this.has(_)&&delete this.__data__[_];return this.size-=c?1:0,c}var oQe=Cqt;var Sqt="__lodash_hash_undefined__",Eqt=Object.prototype,xqt=Eqt.hasOwnProperty;function Tqt(_){var c=this.__data__;if(sk){var p=c[_];return p===Sqt?void 0:p}return xqt.call(c,_)?c[_]:void 0}var cQe=Tqt;var Aqt=Object.prototype,Fqt=Aqt.hasOwnProperty;function kqt(_){var c=this.__data__;return sk?c[_]!==void 0:Fqt.call(c,_)}var uQe=kqt;var Iqt="__lodash_hash_undefined__";function wqt(_,c){var p=this.__data__;return this.size+=this.has(_)?0:1,p[_]=sk&&c===void 0?Iqt:c,this}var lQe=wqt;function JL(_){var c=-1,p=_==null?0:_.length;for(this.clear();++c<p;){var g=_[c];this.set(g[0],g[1])}}JL.prototype.clear=aQe;JL.prototype.delete=oQe;JL.prototype.get=cQe;JL.prototype.has=uQe;JL.prototype.set=lQe;var hxe=JL;function Pqt(){this.__data__=[],this.size=0}var fQe=Pqt;function Nqt(_,c){for(var p=_.length;p--;)if(dT(_[p][0],c))return p;return-1}var C4=Nqt;var Oqt=Array.prototype,Lqt=Oqt.splice;function Rqt(_){var c=this.__data__,p=C4(c,_);if(p<0)return!1;var g=c.length-1;return p==g?c.pop():Lqt.call(c,p,1),--this.size,!0}var _Qe=Rqt;function Mqt(_){var c=this.__data__,p=C4(c,_);return p<0?void 0:c[p][1]}var pQe=Mqt;function Bqt(_){return C4(this.__data__,_)>-1}var dQe=Bqt;function jqt(_,c){var p=this.__data__,g=C4(p,_);return g<0?(++this.size,p.push([_,c])):p[g][1]=c,this}var mQe=jqt;function qL(_){var c=-1,p=_==null?0:_.length;for(this.clear();++c<p;){var g=_[c];this.set(g[0],g[1])}}qL.prototype.clear=fQe;qL.prototype.delete=_Qe;qL.prototype.get=pQe;qL.prototype.has=dQe;qL.prototype.set=mQe;var S4=qL;var Jqt=jv(uh,"Map"),E4=Jqt;function qqt(){this.size=0,this.__data__={hash:new hxe,map:new(E4||S4),string:new hxe}}var hQe=qqt;function zqt(_){var c=typeof _;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?_!=="__proto__":_===null}var gQe=zqt;function Wqt(_,c){var p=_.__data__;return gQe(c)?p[typeof c=="string"?"string":"hash"]:p.map}var x4=Wqt;function Uqt(_){var c=x4(this,_).delete(_);return this.size-=c?1:0,c}var yQe=Uqt;function Vqt(_){return x4(this,_).get(_)}var vQe=Vqt;function Gqt(_){return x4(this,_).has(_)}var DQe=Gqt;function $qt(_,c){var p=x4(this,_),g=p.size;return p.set(_,c),this.size+=p.size==g?0:1,this}var bQe=$qt;function zL(_){var c=-1,p=_==null?0:_.length;for(this.clear();++c<p;){var g=_[c];this.set(g[0],g[1])}}zL.prototype.clear=hQe;zL.prototype.delete=yQe;zL.prototype.get=vQe;zL.prototype.has=DQe;zL.prototype.set=bQe;var RP=zL;var Hqt="Expected a function";function gxe(_,c){if(typeof _!="function"||c!=null&&typeof c!="function")throw new TypeError(Hqt);var p=function(){var g=arguments,S=c?c.apply(this,g):g[0],w=p.cache;if(w.has(S))return w.get(S);var z=_.apply(this,g);return p.cache=w.set(S,z)||w,z};return p.cache=new(gxe.Cache||RP),p}gxe.Cache=RP;var CQe=gxe;var Kqt=500;function Qqt(_){var c=CQe(_,function(g){return p.size===Kqt&&p.clear(),g}),p=c.cache;return c}var SQe=Qqt;var Xqt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yqt=/\\(\\)?/g,Zqt=SQe(function(_){var c=[];return _.charCodeAt(0)===46&&c.push(""),_.replace(Xqt,function(p,g,S,w){c.push(S?w.replace(Yqt,"$1"):g||p)}),c}),EQe=Zqt;function ezt(_){return _==null?"":EKe(_)}var xQe=ezt;function tzt(_,c){return To(_)?_:jL(_,c)?[_]:EQe(xQe(_))}var T4=tzt;var rzt=1/0;function nzt(_){if(typeof _=="string"||h4(_))return _;var c=_+"";return c=="0"&&1/_==-rzt?"-0":c}var yT=nzt;function izt(_,c){c=T4(c,_);for(var p=0,g=c.length;_!=null&&p<g;)_=_[yT(c[p++])];return p&&p==g?_:void 0}var WL=izt;function szt(_,c,p){var g=_==null?void 0:WL(_,c);return g===void 0?p:g}var TQe=szt;function azt(_,c){for(var p=-1,g=c.length,S=_.length;++p<g;)_[S+p]=c[p];return _}var UL=azt;var AQe=Ug?Ug.isConcatSpreadable:void 0;function ozt(_){return To(_)||D4(_)||!!(AQe&&_&&_[AQe])}var FQe=ozt;function kQe(_,c,p,g,S){var w=-1,z=_.length;for(p||(p=FQe),S||(S=[]);++w<z;){var ie=_[w];c>0&&p(ie)?c>1?kQe(ie,c-1,p,g,S):UL(S,ie):g||(S[S.length]=ie)}return S}var VL=kQe;function czt(_){var c=_==null?0:_.length;return c?VL(_,1):[]}var Hh=czt;var uzt=nse(Object.getPrototypeOf,Object),sse=uzt;function lzt(_,c,p){var g=-1,S=_.length;c<0&&(c=-c>S?0:S+c),p=p>S?S:p,p<0&&(p+=S),S=c>p?0:p-c>>>0,c>>>=0;for(var w=Array(S);++g<S;)w[g]=_[g+c];return w}var ase=lzt;function fzt(_,c,p,g){var S=-1,w=_==null?0:_.length;for(g&&w&&(p=_[++S]);++S<w;)p=c(p,_[S],S,_);return p}var IQe=fzt;function _zt(){this.__data__=new S4,this.size=0}var wQe=_zt;function pzt(_){var c=this.__data__,p=c.delete(_);return this.size=c.size,p}var PQe=pzt;function dzt(_){return this.__data__.get(_)}var NQe=dzt;function mzt(_){return this.__data__.has(_)}var OQe=mzt;var hzt=200;function gzt(_,c){var p=this.__data__;if(p instanceof S4){var g=p.__data__;if(!E4||g.length<hzt-1)return g.push([_,c]),this.size=++p.size,this;p=this.__data__=new RP(g)}return p.set(_,c),this.size=p.size,this}var LQe=gzt;function GL(_){var c=this.__data__=new S4(_);this.size=c.size}GL.prototype.clear=wQe;GL.prototype.delete=PQe;GL.prototype.get=NQe;GL.prototype.has=OQe;GL.prototype.set=LQe;var A4=GL;function yzt(_,c){return _&&mT(c,tp(c),_)}var RQe=yzt;function vzt(_,c){return _&&mT(c,b4(c),_)}var MQe=vzt;var qQe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,BQe=qQe&&typeof module=="object"&&module&&!module.nodeType&&module,Dzt=BQe&&BQe.exports===qQe,jQe=Dzt?uh.Buffer:void 0,JQe=jQe?jQe.allocUnsafe:void 0;function bzt(_,c){if(c)return _.slice();var p=_.length,g=JQe?JQe(p):new _.constructor(p);return _.copy(g),g}var zQe=bzt;function Czt(_,c){for(var p=-1,g=_==null?0:_.length,S=0,w=[];++p<g;){var z=_[p];c(z,p,_)&&(w[S++]=z)}return w}var $L=Czt;function Szt(){return[]}var ose=Szt;var Ezt=Object.prototype,xzt=Ezt.propertyIsEnumerable,WQe=Object.getOwnPropertySymbols,Tzt=WQe?function(_){return _==null?[]:(_=Object(_),$L(WQe(_),function(c){return xzt.call(_,c)}))}:ose,HL=Tzt;function Azt(_,c){return mT(_,HL(_),c)}var UQe=Azt;var Fzt=Object.getOwnPropertySymbols,kzt=Fzt?function(_){for(var c=[];_;)UL(c,HL(_)),_=sse(_);return c}:ose,cse=kzt;function Izt(_,c){return mT(_,cse(_),c)}var VQe=Izt;function wzt(_,c,p){var g=c(_);return To(_)?g:UL(g,p(_))}var use=wzt;function Pzt(_){return use(_,tp,HL)}var FU=Pzt;function Nzt(_){return use(_,b4,cse)}var lse=Nzt;var Ozt=jv(uh,"DataView"),fse=Ozt;var Lzt=jv(uh,"Promise"),_se=Lzt;var Rzt=jv(uh,"Set"),F4=Rzt;var GQe="[object Map]",Mzt="[object Object]",$Qe="[object Promise]",HQe="[object Set]",KQe="[object WeakMap]",QQe="[object DataView]",Bzt=nk(fse),jzt=nk(E4),Jzt=nk(_se),qzt=nk(F4),zzt=nk(Yie),MP=Iy;(fse&&MP(new fse(new ArrayBuffer(1)))!=QQe||E4&&MP(new E4)!=GQe||_se&&MP(_se.resolve())!=$Qe||F4&&MP(new F4)!=HQe||Yie&&MP(new Yie)!=KQe)&&(MP=function(_){var c=Iy(_),p=c==Mzt?_.constructor:void 0,g=p?nk(p):"";if(g)switch(g){case Bzt:return QQe;case jzt:return GQe;case Jzt:return $Qe;case qzt:return HQe;case zzt:return KQe}return c});var XS=MP;var Wzt=Object.prototype,Uzt=Wzt.hasOwnProperty;function Vzt(_){var c=_.length,p=new _.constructor(c);return c&&typeof _[0]=="string"&&Uzt.call(_,"index")&&(p.index=_.index,p.input=_.input),p}var XQe=Vzt;var Gzt=uh.Uint8Array,KL=Gzt;function $zt(_){var c=new _.constructor(_.byteLength);return new KL(c).set(new KL(_)),c}var QL=$zt;function Hzt(_,c){var p=c?QL(_.buffer):_.buffer;return new _.constructor(p,_.byteOffset,_.byteLength)}var YQe=Hzt;var Kzt=/\w*$/;function Qzt(_){var c=new _.constructor(_.source,Kzt.exec(_));return c.lastIndex=_.lastIndex,c}var ZQe=Qzt;var eXe=Ug?Ug.prototype:void 0,tXe=eXe?eXe.valueOf:void 0;function Xzt(_){return tXe?Object(tXe.call(_)):{}}var rXe=Xzt;function Yzt(_,c){var p=c?QL(_.buffer):_.buffer;return new _.constructor(p,_.byteOffset,_.length)}var nXe=Yzt;var Zzt="[object Boolean]",eWt="[object Date]",tWt="[object Map]",rWt="[object Number]",nWt="[object RegExp]",iWt="[object Set]",sWt="[object String]",aWt="[object Symbol]",oWt="[object ArrayBuffer]",cWt="[object DataView]",uWt="[object Float32Array]",lWt="[object Float64Array]",fWt="[object Int8Array]",_Wt="[object Int16Array]",pWt="[object Int32Array]",dWt="[object Uint8Array]",mWt="[object Uint8ClampedArray]",hWt="[object Uint16Array]",gWt="[object Uint32Array]";function yWt(_,c,p){var g=_.constructor;switch(c){case oWt:return QL(_);case Zzt:case eWt:return new g(+_);case cWt:return YQe(_,p);case uWt:case lWt:case fWt:case _Wt:case pWt:case dWt:case mWt:case hWt:case gWt:return nXe(_,p);case tWt:return new g;case rWt:case sWt:return new g(_);case nWt:return ZQe(_);case iWt:return new g;case aWt:return rXe(_)}}var iXe=yWt;function vWt(_){return typeof _.constructor=="function"&&!hT(_)?RKe(sse(_)):{}}var sXe=vWt;var DWt="[object Map]";function bWt(_){return Rm(_)&&XS(_)==DWt}var aXe=bWt;var oXe=pC&&pC.isMap,CWt=oXe?gT(oXe):aXe,cXe=CWt;var SWt="[object Set]";function EWt(_){return Rm(_)&&XS(_)==SWt}var uXe=EWt;var lXe=pC&&pC.isSet,xWt=lXe?gT(lXe):uXe,fXe=xWt;var TWt=1,AWt=2,FWt=4,_Xe="[object Arguments]",kWt="[object Array]",IWt="[object Boolean]",wWt="[object Date]",PWt="[object Error]",pXe="[object Function]",NWt="[object GeneratorFunction]",OWt="[object Map]",LWt="[object Number]",dXe="[object Object]",RWt="[object RegExp]",MWt="[object Set]",BWt="[object String]",jWt="[object Symbol]",JWt="[object WeakMap]",qWt="[object ArrayBuffer]",zWt="[object DataView]",WWt="[object Float32Array]",UWt="[object Float64Array]",VWt="[object Int8Array]",GWt="[object Int16Array]",$Wt="[object Int32Array]",HWt="[object Uint8Array]",KWt="[object Uint8ClampedArray]",QWt="[object Uint16Array]",XWt="[object Uint32Array]",rp={};rp[_Xe]=rp[kWt]=rp[qWt]=rp[zWt]=rp[IWt]=rp[wWt]=rp[WWt]=rp[UWt]=rp[VWt]=rp[GWt]=rp[$Wt]=rp[OWt]=rp[LWt]=rp[dXe]=rp[RWt]=rp[MWt]=rp[BWt]=rp[jWt]=rp[HWt]=rp[KWt]=rp[QWt]=rp[XWt]=!0;rp[PWt]=rp[pXe]=rp[JWt]=!1;function pse(_,c,p,g,S,w){var z,ie=c&TWt,de=c&AWt,be=c&FWt;if(p&&(z=S?p(_,g,S,w):p(_)),z!==void 0)return z;if(!Td(_))return _;var Ee=To(_);if(Ee){if(z=XQe(_),!ie)return BKe(_,z)}else{var Oe=XS(_),Y=Oe==pXe||Oe==NWt;if(ik(_))return zQe(_,ie);if(Oe==dXe||Oe==_Xe||Y&&!S){if(z=de||Y?{}:sXe(_),!ie)return de?VQe(_,MQe(z,_)):UQe(_,RQe(z,_))}else{if(!rp[Oe])return S?_:{};z=iXe(_,Oe,ie)}}w||(w=new A4);var ut=w.get(_);if(ut)return ut;w.set(_,z),fXe(_)?_.forEach(function(Ut){z.add(pse(Ut,c,p,Ut,_,w))}):cXe(_)&&_.forEach(function(Ut,_r){z.set(_r,pse(Ut,c,p,_r,_,w))});var Ye=be?de?lse:FU:de?b4:tp,We=Ee?void 0:Ye(_);return Zie(We||_,function(Ut,_r){We&&(_r=Ut,Ut=_[_r]),y4(z,_r,pse(Ut,c,p,_r,_,w))}),z}var mXe=pse;var YWt=4;function ZWt(_){return mXe(_,YWt)}var np=ZWt;function eUt(_){for(var c=-1,p=_==null?0:_.length,g=0,S=[];++c<p;){var w=_[c];w&&(S[g++]=w)}return S}var vT=eUt;var tUt="__lodash_hash_undefined__";function rUt(_){return this.__data__.set(_,tUt),this}var hXe=rUt;function nUt(_){return this.__data__.has(_)}var gXe=nUt;function dse(_){var c=-1,p=_==null?0:_.length;for(this.__data__=new RP;++c<p;)this.add(_[c])}dse.prototype.add=dse.prototype.push=hXe;dse.prototype.has=gXe;var XL=dse;function iUt(_,c){for(var p=-1,g=_==null?0:_.length;++p<g;)if(c(_[p],p,_))return!0;return!1}var mse=iUt;function sUt(_,c){return _.has(c)}var YL=sUt;var aUt=1,oUt=2;function cUt(_,c,p,g,S,w){var z=p&aUt,ie=_.length,de=c.length;if(ie!=de&&!(z&&de>ie))return!1;var be=w.get(_),Ee=w.get(c);if(be&&Ee)return be==c&&Ee==_;var Oe=-1,Y=!0,ut=p&oUt?new XL:void 0;for(w.set(_,c),w.set(c,_);++Oe<ie;){var Ye=_[Oe],We=c[Oe];if(g)var Ut=z?g(We,Ye,Oe,c,_,w):g(Ye,We,Oe,_,c,w);if(Ut!==void 0){if(Ut)continue;Y=!1;break}if(ut){if(!mse(c,function(_r,Hr){if(!YL(ut,Hr)&&(Ye===_r||S(Ye,_r,p,g,w)))return ut.push(Hr)})){Y=!1;break}}else if(!(Ye===We||S(Ye,We,p,g,w))){Y=!1;break}}return w.delete(_),w.delete(c),Y}var hse=cUt;function uUt(_){var c=-1,p=Array(_.size);return _.forEach(function(g,S){p[++c]=[S,g]}),p}var yXe=uUt;function lUt(_){var c=-1,p=Array(_.size);return _.forEach(function(g){p[++c]=g}),p}var ZL=lUt;var fUt=1,_Ut=2,pUt="[object Boolean]",dUt="[object Date]",mUt="[object Error]",hUt="[object Map]",gUt="[object Number]",yUt="[object RegExp]",vUt="[object Set]",DUt="[object String]",bUt="[object Symbol]",CUt="[object ArrayBuffer]",SUt="[object DataView]",vXe=Ug?Ug.prototype:void 0,yxe=vXe?vXe.valueOf:void 0;function EUt(_,c,p,g,S,w,z){switch(p){case SUt:if(_.byteLength!=c.byteLength||_.byteOffset!=c.byteOffset)return!1;_=_.buffer,c=c.buffer;case CUt:return!(_.byteLength!=c.byteLength||!w(new KL(_),new KL(c)));case pUt:case dUt:case gUt:return dT(+_,+c);case mUt:return _.name==c.name&&_.message==c.message;case yUt:case DUt:return _==c+"";case hUt:var ie=yXe;case vUt:var de=g&fUt;if(ie||(ie=ZL),_.size!=c.size&&!de)return!1;var be=z.get(_);if(be)return be==c;g|=_Ut,z.set(_,c);var Ee=hse(ie(_),ie(c),g,S,w,z);return z.delete(_),Ee;case bUt:if(yxe)return yxe.call(_)==yxe.call(c)}return!1}var DXe=EUt;var xUt=1,TUt=Object.prototype,AUt=TUt.hasOwnProperty;function FUt(_,c,p,g,S,w){var z=p&xUt,ie=FU(_),de=ie.length,be=FU(c),Ee=be.length;if(de!=Ee&&!z)return!1;for(var Oe=de;Oe--;){var Y=ie[Oe];if(!(z?Y in c:AUt.call(c,Y)))return!1}var ut=w.get(_),Ye=w.get(c);if(ut&&Ye)return ut==c&&Ye==_;var We=!0;w.set(_,c),w.set(c,_);for(var Ut=z;++Oe<de;){Y=ie[Oe];var _r=_[Y],Hr=c[Y];if(g)var On=z?g(Hr,_r,Y,c,_,w):g(_r,Hr,Y,_,c,w);if(!(On===void 0?_r===Hr||S(_r,Hr,p,g,w):On)){We=!1;break}Ut||(Ut=Y=="constructor")}if(We&&!Ut){var Hi=_.constructor,us=c.constructor;Hi!=us&&"constructor"in _&&"constructor"in c&&!(typeof Hi=="function"&&Hi instanceof Hi&&typeof us=="function"&&us instanceof us)&&(We=!1)}return w.delete(_),w.delete(c),We}var bXe=FUt;var kUt=1,CXe="[object Arguments]",SXe="[object Array]",gse="[object Object]",IUt=Object.prototype,EXe=IUt.hasOwnProperty;function wUt(_,c,p,g,S,w){var z=To(_),ie=To(c),de=z?SXe:XS(_),be=ie?SXe:XS(c);de=de==CXe?gse:de,be=be==CXe?gse:be;var Ee=de==gse,Oe=be==gse,Y=de==be;if(Y&&ik(_)){if(!ik(c))return!1;z=!0,Ee=!1}if(Y&&!Ee)return w||(w=new A4),z||BL(_)?hse(_,c,p,g,S,w):DXe(_,c,de,p,g,S,w);if(!(p&kUt)){var ut=Ee&&EXe.call(_,"__wrapped__"),Ye=Oe&&EXe.call(c,"__wrapped__");if(ut||Ye){var We=ut?_.value():_,Ut=Ye?c.value():c;return w||(w=new A4),S(We,Ut,p,g,w)}}return Y?(w||(w=new A4),bXe(_,c,p,g,S,w)):!1}var xXe=wUt;function TXe(_,c,p,g,S){return _===c?!0:_==null||c==null||!Rm(_)&&!Rm(c)?_!==_&&c!==c:xXe(_,c,p,g,TXe,S)}var yse=TXe;var PUt=1,NUt=2;function OUt(_,c,p,g){var S=p.length,w=S,z=!g;if(_==null)return!w;for(_=Object(_);S--;){var ie=p[S];if(z&&ie[2]?ie[1]!==_[ie[0]]:!(ie[0]in _))return!1}for(;++S<w;){ie=p[S];var de=ie[0],be=_[de],Ee=ie[1];if(z&&ie[2]){if(be===void 0&&!(de in _))return!1}else{var Oe=new A4;if(g)var Y=g(be,Ee,de,_,c,Oe);if(!(Y===void 0?yse(Ee,be,PUt|NUt,g,Oe):Y))return!1}}return!0}var AXe=OUt;function LUt(_){return _===_&&!Td(_)}var vse=LUt;function RUt(_){for(var c=tp(_),p=c.length;p--;){var g=c[p],S=_[g];c[p]=[g,S,vse(S)]}return c}var FXe=RUt;function MUt(_,c){return function(p){return p==null?!1:p[_]===c&&(c!==void 0||_ in Object(p))}}var Dse=MUt;function BUt(_){var c=FXe(_);return c.length==1&&c[0][2]?Dse(c[0][0],c[0][1]):function(p){return p===_||AXe(p,_,c)}}var kXe=BUt;function jUt(_,c){return _!=null&&c in Object(_)}var IXe=jUt;function JUt(_,c,p){c=T4(c,_);for(var g=-1,S=c.length,w=!1;++g<S;){var z=yT(c[g]);if(!(w=_!=null&&p(_,z)))break;_=_[z]}return w||++g!=S?w:(S=_==null?0:_.length,!!S&&ML(S)&&g4(z,S)&&(To(_)||D4(_)))}var bse=JUt;function qUt(_,c){return _!=null&&bse(_,c,IXe)}var wXe=qUt;var zUt=1,WUt=2;function UUt(_,c){return jL(_)&&vse(c)?Dse(yT(_),c):function(p){var g=TQe(p,_);return g===void 0&&g===c?wXe(p,_):yse(c,g,zUt|WUt)}}var PXe=UUt;function VUt(_){return function(c){return c?.[_]}}var NXe=VUt;function GUt(_){return function(c){return WL(c,_)}}var OXe=GUt;function $Ut(_){return jL(_)?NXe(yT(_)):OXe(_)}var LXe=$Ut;function HUt(_){return typeof _=="function"?_:_==null?_C:typeof _=="object"?To(_)?PXe(_[0],_[1]):kXe(_):LXe(_)}var fh=HUt;function KUt(_,c,p,g){for(var S=-1,w=_==null?0:_.length;++S<w;){var z=_[S];c(g,z,p(z),_)}return g}var RXe=KUt;function QUt(_){return function(c,p,g){for(var S=-1,w=Object(c),z=g(c),ie=z.length;ie--;){var de=z[_?ie:++S];if(p(w[de],de,w)===!1)break}return c}}var MXe=QUt;var XUt=MXe(),BXe=XUt;function YUt(_,c){return _&&BXe(_,c,tp)}var jXe=YUt;function ZUt(_,c){return function(p,g){if(p==null)return p;if(!lh(p))return _(p,g);for(var S=p.length,w=c?S:-1,z=Object(p);(c?w--:++w<S)&&g(z[w],w,z)!==!1;);return p}}var JXe=ZUt;var eVt=JXe(jXe),Jv=eVt;function tVt(_,c,p,g){return Jv(_,function(S,w,z){c(g,S,p(S),z)}),g}var qXe=tVt;function rVt(_,c){return function(p,g){var S=To(p)?RXe:qXe,w=c?c():{};return S(p,_,fh(g,2),w)}}var zXe=rVt;var WXe=Object.prototype,nVt=WXe.hasOwnProperty,iVt=RL(function(_,c){_=Object(_);var p=-1,g=c.length,S=g>2?c[2]:void 0;for(S&&v4(c[0],c[1],S)&&(g=1);++p<g;)for(var w=c[p],z=b4(w),ie=-1,de=z.length;++ie<de;){var be=z[ie],Ee=_[be];(Ee===void 0||dT(Ee,WXe[be])&&!nVt.call(_,be))&&(_[be]=w[be])}return _}),eR=iVt;function sVt(_){return Rm(_)&&lh(_)}var vxe=sVt;function aVt(_,c,p){for(var g=-1,S=_==null?0:_.length;++g<S;)if(p(c,_[g]))return!0;return!1}var Cse=aVt;var oVt=200;function cVt(_,c,p,g){var S=-1,w=tse,z=!0,ie=_.length,de=[],be=c.length;if(!ie)return de;p&&(c=_T(c,gT(p))),g?(w=Cse,z=!1):c.length>=oVt&&(w=YL,z=!1,c=new XL(c));e:for(;++S<ie;){var Ee=_[S],Oe=p==null?Ee:p(Ee);if(Ee=g||Ee!==0?Ee:0,z&&Oe===Oe){for(var Y=be;Y--;)if(c[Y]===Oe)continue e;de.push(Ee)}else w(c,Oe,g)||de.push(Ee)}return de}var UXe=cVt;var uVt=RL(function(_,c){return vxe(_)?UXe(_,VL(c,1,vxe,!0)):[]}),k4=uVt;function lVt(_){var c=_==null?0:_.length;return c?_[c-1]:void 0}var DT=lVt;function fVt(_,c,p){var g=_==null?0:_.length;return g?(c=p||c===void 0?1:pT(c),ase(_,c<0?0:c,g)):[]}var Mm=fVt;function _Vt(_,c,p){var g=_==null?0:_.length;return g?(c=p||c===void 0?1:pT(c),c=g-c,ase(_,0,c<0?0:c)):[]}var ak=_Vt;function pVt(_){return typeof _=="function"?_:_C}var VXe=pVt;function dVt(_,c){var p=To(_)?Zie:Jv;return p(_,VXe(c))}var ao=dVt;function mVt(_,c){for(var p=-1,g=_==null?0:_.length;++p<g;)if(!c(_[p],p,_))return!1;return!0}var GXe=mVt;function hVt(_,c){var p=!0;return Jv(_,function(g,S,w){return p=!!c(g,S,w),p}),p}var $Xe=hVt;function gVt(_,c,p){var g=To(_)?GXe:$Xe;return p&&v4(_,c,p)&&(c=void 0),g(_,fh(c,3))}var F1=gVt;function yVt(_,c){var p=[];return Jv(_,function(g,S,w){c(g,S,w)&&p.push(g)}),p}var Sse=yVt;function vVt(_,c){var p=To(_)?$L:Sse;return p(_,fh(c,3))}var k1=vVt;function DVt(_){return function(c,p,g){var S=Object(c);if(!lh(c)){var w=fh(p,3);c=tp(c),p=function(ie){return w(S[ie],ie,S)}}var z=_(c,p,g);return z>-1?S[w?c[z]:z]:void 0}}var HXe=DVt;var bVt=Math.max;function CVt(_,c,p){var g=_==null?0:_.length;if(!g)return-1;var S=p==null?0:pT(p);return S<0&&(S=bVt(g+S,0)),ese(_,fh(c,3),S)}var KXe=CVt;var SVt=HXe(KXe),bT=SVt;function EVt(_){return _&&_.length?_[0]:void 0}var Vg=EVt;function xVt(_,c){var p=-1,g=lh(_)?Array(_.length):[];return Jv(_,function(S,w,z){g[++p]=c(S,w,z)}),g}var QXe=xVt;function TVt(_,c){var p=To(_)?_T:QXe;return p(_,fh(c,3))}var Ja=TVt;function AVt(_,c){return VL(Ja(_,c),1)}var Py=AVt;var FVt=Object.prototype,kVt=FVt.hasOwnProperty,IVt=zXe(function(_,c,p){kVt.call(_,p)?_[p].push(c):LL(_,p,[c])}),Dxe=IVt;var wVt=Object.prototype,PVt=wVt.hasOwnProperty;function NVt(_,c){return _!=null&&PVt.call(_,c)}var XXe=NVt;function OVt(_,c){return _!=null&&bse(_,c,XXe)}var mo=OVt;var LVt="[object String]";function RVt(_){return typeof _=="string"||!To(_)&&Rm(_)&&Iy(_)==LVt}var Kh=RVt;function MVt(_,c){return _T(c,function(p){return _[p]})}var YXe=MVt;function BVt(_){return _==null?[]:YXe(_,tp(_))}var S_=BVt;var jVt=Math.max;function JVt(_,c,p,g){_=lh(_)?_:S_(_),p=p&&!g?pT(p):0;var S=_.length;return p<0&&(p=jVt(S+p,0)),Kh(_)?p<=S&&_.indexOf(c,p)>-1:!!S&&OL(_,c,p)>-1}var Kp=JVt;var qVt=Math.max;function zVt(_,c,p){var g=_==null?0:_.length;if(!g)return-1;var S=p==null?0:pT(p);return S<0&&(S=qVt(g+S,0)),OL(_,c,S)}var Ese=zVt;var WVt="[object Map]",UVt="[object Set]",VVt=Object.prototype,GVt=VVt.hasOwnProperty;function $Vt(_){if(_==null)return!0;if(lh(_)&&(To(_)||typeof _=="string"||typeof _.splice=="function"||ik(_)||BL(_)||D4(_)))return!_.length;var c=XS(_);if(c==WVt||c==UVt)return!_.size;if(hT(_))return!ise(_).length;for(var p in _)if(GVt.call(_,p))return!1;return!0}var il=$Vt;var HVt="[object RegExp]";function KVt(_){return Rm(_)&&Iy(_)==HVt}var ZXe=KVt;var eYe=pC&&pC.isRegExp,QVt=eYe?gT(eYe):ZXe,dC=QVt;function XVt(_){return _===void 0}var I1=XVt;var YVt="Expected a function";function ZVt(_){if(typeof _!="function")throw new TypeError(YVt);return function(){var c=arguments;switch(c.length){case 0:return!_.call(this);case 1:return!_.call(this,c[0]);case 2:return!_.call(this,c[0],c[1]);case 3:return!_.call(this,c[0],c[1],c[2])}return!_.apply(this,c)}}var tYe=ZVt;function eGt(_,c,p,g){if(!Td(_))return _;c=T4(c,_);for(var S=-1,w=c.length,z=w-1,ie=_;ie!=null&&++S<w;){var de=yT(c[S]),be=p;if(de==="__proto__"||de==="constructor"||de==="prototype")return _;if(S!=z){var Ee=ie[de];be=g?g(Ee,de,ie):void 0,be===void 0&&(be=Td(Ee)?Ee:g4(c[S+1])?[]:{})}y4(ie,de,be),ie=ie[de]}return _}var rYe=eGt;function tGt(_,c,p){for(var g=-1,S=c.length,w={};++g<S;){var z=c[g],ie=WL(_,z);p(ie,z)&&rYe(w,T4(z,_),ie)}return w}var nYe=tGt;function rGt(_,c){if(_==null)return{};var p=_T(lse(_),function(g){return[g]});return c=fh(c),nYe(_,p,function(g,S){return c(g,S[0])})}var qv=rGt;function nGt(_,c,p,g,S){return S(_,function(w,z,ie){p=g?(g=!1,w):c(p,w,z,ie)}),p}var iYe=nGt;function iGt(_,c,p){var g=To(_)?IQe:iYe,S=arguments.length<3;return g(_,fh(c,4),p,S,Jv)}var _h=iGt;function sGt(_,c){var p=To(_)?$L:Sse;return p(_,tYe(fh(c,3)))}var I4=sGt;function aGt(_,c){var p;return Jv(_,function(g,S,w){return p=c(g,S,w),!p}),!!p}var sYe=aGt;function oGt(_,c,p){var g=To(_)?mse:sYe;return p&&v4(_,c,p)&&(c=void 0),g(_,fh(c,3))}var kU=oGt;var cGt=1/0,uGt=F4&&1/ZL(new F4([,-0]))[1]==cGt?function(_){return new F4(_)}:Ad,aYe=uGt;var lGt=200;function fGt(_,c,p){var g=-1,S=tse,w=_.length,z=!0,ie=[],de=ie;if(p)z=!1,S=Cse;else if(w>=lGt){var be=c?null:aYe(_);if(be)return ZL(be);z=!1,S=YL,de=new XL}else de=c?[]:ie;e:for(;++g<w;){var Ee=_[g],Oe=c?c(Ee):Ee;if(Ee=p||Ee!==0?Ee:0,z&&Oe===Oe){for(var Y=de.length;Y--;)if(de[Y]===Oe)continue e;c&&de.push(Oe),ie.push(Ee)}else S(de,Oe,p)||(de!==ie&&de.push(Oe),ie.push(Ee))}return ie}var oYe=fGt;function _Gt(_){return _&&_.length?oYe(_):[]}var tR=_Gt;function rR(_){console&&console.error&&console.error(`Error: ${_}`)}function IU(_){console&&console.warn&&console.warn(`Warning: ${_}`)}function wU(_){let c=new Date().getTime(),p=_();return{time:new Date().getTime()-c,value:p}}function PU(_){function c(){}c.prototype=_;let p=new c;function g(){return typeof p.bar}return g(),g(),_;(0,eval)(_)}function pGt(_){return dGt(_)?_.LABEL:_.name}function dGt(_){return Kh(_.LABEL)&&_.LABEL!==""}var x2=class{get definition(){return this._definition}set definition(c){this._definition=c}constructor(c){this._definition=c}accept(c){c.visit(this),ao(this.definition,p=>{p.accept(c)})}},ip=class extends x2{constructor(c){super([]),this.idx=1,I0(this,qv(c,p=>p!==void 0))}set definition(c){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(c){c.visit(this)}},Ny=class extends x2{constructor(c){super(c.definition),this.orgText="",I0(this,qv(c,p=>p!==void 0))}},sp=class extends x2{constructor(c){super(c.definition),this.ignoreAmbiguities=!1,I0(this,qv(c,p=>p!==void 0))}},Rp=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,p=>p!==void 0))}},Bm=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,p=>p!==void 0))}},jm=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,p=>p!==void 0))}},Vf=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,p=>p!==void 0))}},am=class extends x2{constructor(c){super(c.definition),this.idx=1,I0(this,qv(c,p=>p!==void 0))}},om=class extends x2{get definition(){return this._definition}set definition(c){this._definition=c}constructor(c){super(c.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,I0(this,qv(c,p=>p!==void 0))}},Fl=class{constructor(c){this.idx=1,I0(this,qv(c,p=>p!==void 0))}accept(c){c.visit(this)}};function xse(_){return Ja(_,nR)}function nR(_){function c(p){return Ja(p,nR)}if(_ instanceof ip){let p={type:"NonTerminal",name:_.nonTerminalName,idx:_.idx};return Kh(_.label)&&(p.label=_.label),p}else{if(_ instanceof sp)return{type:"Alternative",definition:c(_.definition)};if(_ instanceof Rp)return{type:"Option",idx:_.idx,definition:c(_.definition)};if(_ instanceof Bm)return{type:"RepetitionMandatory",idx:_.idx,definition:c(_.definition)};if(_ instanceof jm)return{type:"RepetitionMandatoryWithSeparator",idx:_.idx,separator:nR(new Fl({terminalType:_.separator})),definition:c(_.definition)};if(_ instanceof am)return{type:"RepetitionWithSeparator",idx:_.idx,separator:nR(new Fl({terminalType:_.separator})),definition:c(_.definition)};if(_ instanceof Vf)return{type:"Repetition",idx:_.idx,definition:c(_.definition)};if(_ instanceof om)return{type:"Alternation",idx:_.idx,definition:c(_.definition)};if(_ instanceof Fl){let p={type:"Terminal",name:_.terminalType.name,label:pGt(_.terminalType),idx:_.idx};Kh(_.label)&&(p.terminalLabel=_.label);let g=_.terminalType.PATTERN;return _.terminalType.PATTERN&&(p.pattern=dC(g)?g.source:g),p}else{if(_ instanceof Ny)return{type:"Rule",name:_.name,orgText:_.orgText,definition:c(_.definition)};throw Error("non exhaustive match")}}}var Oy=class{visit(c){let p=c;switch(p.constructor){case ip:return this.visitNonTerminal(p);case sp:return this.visitAlternative(p);case Rp:return this.visitOption(p);case Bm:return this.visitRepetitionMandatory(p);case jm:return this.visitRepetitionMandatoryWithSeparator(p);case am:return this.visitRepetitionWithSeparator(p);case Vf:return this.visitRepetition(p);case om:return this.visitAlternation(p);case Fl:return this.visitTerminal(p);case Ny:return this.visitRule(p);default:throw Error("non exhaustive match")}}visitNonTerminal(c){}visitAlternative(c){}visitOption(c){}visitRepetition(c){}visitRepetitionMandatory(c){}visitRepetitionMandatoryWithSeparator(c){}visitRepetitionWithSeparator(c){}visitAlternation(c){}visitTerminal(c){}visitRule(c){}};function bxe(_){return _ instanceof sp||_ instanceof Rp||_ instanceof Vf||_ instanceof Bm||_ instanceof jm||_ instanceof am||_ instanceof Fl||_ instanceof Ny}function BP(_,c=[]){return _ instanceof Rp||_ instanceof Vf||_ instanceof am?!0:_ instanceof om?kU(_.definition,g=>BP(g,c)):_ instanceof ip&&Kp(c,_)?!1:_ instanceof x2?(_ instanceof ip&&c.push(_),F1(_.definition,g=>BP(g,c))):!1}function Cxe(_){return _ instanceof om}function zv(_){if(_ instanceof ip)return"SUBRULE";if(_ instanceof Rp)return"OPTION";if(_ instanceof om)return"OR";if(_ instanceof Bm)return"AT_LEAST_ONE";if(_ instanceof jm)return"AT_LEAST_ONE_SEP";if(_ instanceof am)return"MANY_SEP";if(_ instanceof Vf)return"MANY";if(_ instanceof Fl)return"CONSUME";throw Error("non exhaustive match")}var ok=class{walk(c,p=[]){ao(c.definition,(g,S)=>{let w=Mm(c.definition,S+1);if(g instanceof ip)this.walkProdRef(g,w,p);else if(g instanceof Fl)this.walkTerminal(g,w,p);else if(g instanceof sp)this.walkFlat(g,w,p);else if(g instanceof Rp)this.walkOption(g,w,p);else if(g instanceof Bm)this.walkAtLeastOne(g,w,p);else if(g instanceof jm)this.walkAtLeastOneSep(g,w,p);else if(g instanceof am)this.walkManySep(g,w,p);else if(g instanceof Vf)this.walkMany(g,w,p);else if(g instanceof om)this.walkOr(g,w,p);else throw Error("non exhaustive match")})}walkTerminal(c,p,g){}walkProdRef(c,p,g){}walkFlat(c,p,g){let S=p.concat(g);this.walk(c,S)}walkOption(c,p,g){let S=p.concat(g);this.walk(c,S)}walkAtLeastOne(c,p,g){let S=[new Rp({definition:c.definition})].concat(p,g);this.walk(c,S)}walkAtLeastOneSep(c,p,g){let S=cYe(c,p,g);this.walk(c,S)}walkMany(c,p,g){let S=[new Rp({definition:c.definition})].concat(p,g);this.walk(c,S)}walkManySep(c,p,g){let S=cYe(c,p,g);this.walk(c,S)}walkOr(c,p,g){let S=p.concat(g);ao(c.definition,w=>{let z=new sp({definition:[w]});this.walk(z,S)})}};function cYe(_,c,p){return[new Rp({definition:[new Fl({terminalType:_.separator})].concat(_.definition)})].concat(c,p)}function jP(_){if(_ instanceof ip)return jP(_.referencedRule);if(_ instanceof Fl)return gGt(_);if(bxe(_))return mGt(_);if(Cxe(_))return hGt(_);throw Error("non exhaustive match")}function mGt(_){let c=[],p=_.definition,g=0,S=p.length>g,w,z=!0;for(;S&&z;)w=p[g],z=BP(w),c=c.concat(jP(w)),g=g+1,S=p.length>g;return tR(c)}function hGt(_){let c=Ja(_.definition,p=>jP(p));return tR(Hh(c))}function gGt(_){return[_.terminalType]}var Tse="_~IN~_";var Sxe=class extends ok{constructor(c){super(),this.topProd=c,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(c,p,g){}walkProdRef(c,p,g){let S=yGt(c.referencedRule,c.idx)+this.topProd.name,w=p.concat(g),z=new sp({definition:w}),ie=jP(z);this.follows[S]=ie}};function uYe(_){let c={};return ao(_,p=>{let g=new Sxe(p).startWalking();I0(c,g)}),c}function yGt(_,c){return _.name+c+Tse}function Ec(_){return _.charCodeAt(0)}function Ase(_,c){Array.isArray(_)?_.forEach(function(p){c.push(p)}):c.push(_)}function iR(_,c){if(_[c]===!0)throw"duplicate flag "+c;let p=_[c];_[c]=!0}function JP(_){if(_===void 0)throw Error("Internal Error - Should never get here!");return!0}function NU(){throw Error("Internal Error - Should never get here!")}function Exe(_){return _.type==="Character"}var OU=[];for(let _=Ec("0");_<=Ec("9");_++)OU.push(_);var LU=[Ec("_")].concat(OU);for(let _=Ec("a");_<=Ec("z");_++)LU.push(_);for(let _=Ec("A");_<=Ec("Z");_++)LU.push(_);var xxe=[Ec(" "),Ec("\f"),Ec(`
864
+ `),Ec("\r"),Ec(" "),Ec("\v"),Ec(" "),Ec("\xA0"),Ec("\u1680"),Ec("\u2000"),Ec("\u2001"),Ec("\u2002"),Ec("\u2003"),Ec("\u2004"),Ec("\u2005"),Ec("\u2006"),Ec("\u2007"),Ec("\u2008"),Ec("\u2009"),Ec("\u200A"),Ec("\u2028"),Ec("\u2029"),Ec("\u202F"),Ec("\u205F"),Ec("\u3000"),Ec("\uFEFF")];var vGt=/[0-9a-fA-F]/,Fse=/[0-9]/,DGt=/[1-9]/,RU=class{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(c){this.idx=c.idx,this.input=c.input,this.groupIdx=c.groupIdx}pattern(c){this.idx=0,this.input=c,this.groupIdx=0,this.consumeChar("/");let p=this.disjunction();this.consumeChar("/");let g={type:"Flags",loc:{begin:this.idx,end:c.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":iR(g,"global");break;case"i":iR(g,"ignoreCase");break;case"m":iR(g,"multiLine");break;case"u":iR(g,"unicode");break;case"y":iR(g,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:g,value:p,loc:this.loc(0)}}disjunction(){let c=[],p=this.idx;for(c.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),c.push(this.alternative());return{type:"Disjunction",value:c,loc:this.loc(p)}}alternative(){let c=[],p=this.idx;for(;this.isTerm();)c.push(this.term());return{type:"Alternative",value:c,loc:this.loc(p)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let c=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(c)};case"$":return{type:"EndAnchor",loc:this.loc(c)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(c)};case"B":return{type:"NonWordBoundary",loc:this.loc(c)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let p;switch(this.popChar()){case"=":p="Lookahead";break;case"!":p="NegativeLookahead";break}JP(p);let g=this.disjunction();return this.consumeChar(")"),{type:p,value:g,loc:this.loc(c)}}return NU()}quantifier(c=!1){let p,g=this.idx;switch(this.popChar()){case"*":p={atLeast:0,atMost:1/0};break;case"+":p={atLeast:1,atMost:1/0};break;case"?":p={atLeast:0,atMost:1};break;case"{":let S=this.integerIncludingZero();switch(this.popChar()){case"}":p={atLeast:S,atMost:S};break;case",":let w;this.isDigit()?(w=this.integerIncludingZero(),p={atLeast:S,atMost:w}):p={atLeast:S,atMost:1/0},this.consumeChar("}");break}if(c===!0&&p===void 0)return;JP(p);break}if(!(c===!0&&p===void 0)&&JP(p))return this.peekChar(0)==="?"?(this.consumeChar("?"),p.greedy=!1):p.greedy=!0,p.type="Quantifier",p.loc=this.loc(g),p}atom(){let c,p=this.idx;switch(this.peekChar()){case".":c=this.dotAll();break;case"\\":c=this.atomEscape();break;case"[":c=this.characterClass();break;case"(":c=this.group();break}return c===void 0&&this.isPatternCharacter()&&(c=this.patternCharacter()),JP(c)?(c.loc=this.loc(p),this.isQuantifier()&&(c.quantifier=this.quantifier()),c):NU()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[Ec(`
865
+ `),Ec("\r"),Ec("\u2028"),Ec("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let c,p=!1;switch(this.popChar()){case"d":c=OU;break;case"D":c=OU,p=!0;break;case"s":c=xxe;break;case"S":c=xxe,p=!0;break;case"w":c=LU;break;case"W":c=LU,p=!0;break}return JP(c)?{type:"Set",value:c,complement:p}:NU()}controlEscapeAtom(){let c;switch(this.popChar()){case"f":c=Ec("\f");break;case"n":c=Ec(`
866
866
  `);break;case"r":c=Ec("\r");break;case"t":c=Ec(" ");break;case"v":c=Ec("\v");break}return JP(c)?{type:"Character",value:c}:NU()}controlLetterEscapeAtom(){this.consumeChar("c");let c=this.popChar();if(/[a-zA-Z]/.test(c)===!1)throw Error("Invalid ");return{type:"Character",value:c.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:Ec("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){let c=this.popChar();return{type:"Character",value:Ec(c)}}classPatternCharacterAtom(){switch(this.peekChar()){case`
867
- `:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:let c=this.popChar();return{type:"Character",value:Ec(c)}}}characterClass(){let c=[],_=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),_=!0);this.isClassAtom();){let g=this.classAtom(),S=g.type==="Character";if(Exe(g)&&this.isRangeDash()){this.consumeChar("-");let w=this.classAtom(),z=w.type==="Character";if(Exe(w)){if(w.value<g.value)throw Error("Range out of order in character class");c.push({from:g.value,to:w.value})}else Ase(g.value,c),c.push(Ec("-")),Ase(w.value,c)}else Ase(g.value,c)}return this.consumeChar("]"),{type:"Set",complement:_,value:c}}classAtom(){switch(this.peekChar()){case"]":case`
868
- `:case"\r":case"\u2028":case"\u2029":throw Error("TBD");case"\\":return this.classEscape();default:return this.classPatternCharacterAtom()}}classEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"b":return this.consumeChar("b"),{type:"Character",value:Ec("\b")};case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}group(){let c=!0;switch(this.consumeChar("("),this.peekChar(0)){case"?":this.consumeChar("?"),this.consumeChar(":"),c=!1;break;default:this.groupIdx++;break}let _=this.disjunction();this.consumeChar(")");let g={type:"Group",capturing:c,value:_};return c&&(g.idx=this.groupIdx),g}positiveInteger(){let c=this.popChar();if(DGt.test(c)===!1)throw Error("Expecting a positive integer");for(;Fse.test(this.peekChar(0));)c+=this.popChar();return parseInt(c,10)}integerIncludingZero(){let c=this.popChar();if(Fse.test(c)===!1)throw Error("Expecting an integer");for(;Fse.test(this.peekChar(0));)c+=this.popChar();return parseInt(c,10)}patternCharacter(){let c=this.popChar();switch(c){case`
867
+ `:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:let c=this.popChar();return{type:"Character",value:Ec(c)}}}characterClass(){let c=[],p=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),p=!0);this.isClassAtom();){let g=this.classAtom(),S=g.type==="Character";if(Exe(g)&&this.isRangeDash()){this.consumeChar("-");let w=this.classAtom(),z=w.type==="Character";if(Exe(w)){if(w.value<g.value)throw Error("Range out of order in character class");c.push({from:g.value,to:w.value})}else Ase(g.value,c),c.push(Ec("-")),Ase(w.value,c)}else Ase(g.value,c)}return this.consumeChar("]"),{type:"Set",complement:p,value:c}}classAtom(){switch(this.peekChar()){case"]":case`
868
+ `:case"\r":case"\u2028":case"\u2029":throw Error("TBD");case"\\":return this.classEscape();default:return this.classPatternCharacterAtom()}}classEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"b":return this.consumeChar("b"),{type:"Character",value:Ec("\b")};case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}group(){let c=!0;switch(this.consumeChar("("),this.peekChar(0)){case"?":this.consumeChar("?"),this.consumeChar(":"),c=!1;break;default:this.groupIdx++;break}let p=this.disjunction();this.consumeChar(")");let g={type:"Group",capturing:c,value:p};return c&&(g.idx=this.groupIdx),g}positiveInteger(){let c=this.popChar();if(DGt.test(c)===!1)throw Error("Expecting a positive integer");for(;Fse.test(this.peekChar(0));)c+=this.popChar();return parseInt(c,10)}integerIncludingZero(){let c=this.popChar();if(Fse.test(c)===!1)throw Error("Expecting an integer");for(;Fse.test(this.peekChar(0));)c+=this.popChar();return parseInt(c,10)}patternCharacter(){let c=this.popChar();switch(c){case`
869
869
  `:case"\r":case"\u2028":case"\u2029":case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":throw Error("TBD");default:return{type:"Character",value:Ec(c)}}}isRegExpFlag(){switch(this.peekChar(0)){case"g":case"i":case"m":case"u":case"y":return!0;default:return!1}}isRangeDash(){return this.peekChar()==="-"&&this.isClassAtom(1)}isDigit(){return Fse.test(this.peekChar(0))}isClassAtom(c=0){switch(this.peekChar(c)){case"]":case`
870
870
  `:case"\r":case"\u2028":case"\u2029":return!1;default:return!0}}isTerm(){return this.isAtom()||this.isAssertion()}isAtom(){if(this.isPatternCharacter())return!0;switch(this.peekChar(0)){case".":case"\\":case"[":case"(":return!0;default:return!1}}isAssertion(){switch(this.peekChar(0)){case"^":case"$":return!0;case"\\":switch(this.peekChar(1)){case"b":case"B":return!0;default:return!1}case"(":return this.peekChar(1)==="?"&&(this.peekChar(2)==="="||this.peekChar(2)==="!");default:return!1}}isQuantifier(){let c=this.saveState();try{return this.quantifier(!0)!==void 0}catch{return!1}finally{this.restoreState(c)}}isPatternCharacter(){switch(this.peekChar()){case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":case"/":case`
871
- `:case"\r":case"\u2028":case"\u2029":return!1;default:return!0}}parseHexDigits(c){let _="";for(let S=0;S<c;S++){let w=this.popChar();if(vGt.test(w)===!1)throw Error("Expecting a HexDecimal digits");_+=w}return{type:"Character",value:parseInt(_,16)}}peekChar(c=0){return this.input[this.idx+c]}popChar(){let c=this.peekChar(0);return this.consumeChar(void 0),c}consumeChar(c){if(c!==void 0&&this.input[this.idx]!==c)throw Error("Expected: '"+c+"' but found: '"+this.input[this.idx]+"' at offset: "+this.idx);if(this.idx>=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(c){return{begin:c,end:this.idx}}};var w4=class{visitChildren(c){for(let _ in c){let g=c[_];c.hasOwnProperty(_)&&(g.type!==void 0?this.visit(g):Array.isArray(g)&&g.forEach(S=>{this.visit(S)},this))}}visit(c){switch(c.type){case"Pattern":this.visitPattern(c);break;case"Flags":this.visitFlags(c);break;case"Disjunction":this.visitDisjunction(c);break;case"Alternative":this.visitAlternative(c);break;case"StartAnchor":this.visitStartAnchor(c);break;case"EndAnchor":this.visitEndAnchor(c);break;case"WordBoundary":this.visitWordBoundary(c);break;case"NonWordBoundary":this.visitNonWordBoundary(c);break;case"Lookahead":this.visitLookahead(c);break;case"NegativeLookahead":this.visitNegativeLookahead(c);break;case"Character":this.visitCharacter(c);break;case"Set":this.visitSet(c);break;case"Group":this.visitGroup(c);break;case"GroupBackReference":this.visitGroupBackReference(c);break;case"Quantifier":this.visitQuantifier(c);break}this.visitChildren(c)}visitPattern(c){}visitFlags(c){}visitDisjunction(c){}visitAlternative(c){}visitStartAnchor(c){}visitEndAnchor(c){}visitWordBoundary(c){}visitNonWordBoundary(c){}visitLookahead(c){}visitNegativeLookahead(c){}visitCharacter(c){}visitSet(c){}visitGroup(c){}visitGroupBackReference(c){}visitQuantifier(c){}};var kse={},bGt=new RU;function sR(p){let c=p.toString();if(kse.hasOwnProperty(c))return kse[c];{let _=bGt.pattern(c);return kse[c]=_,_}}function lYe(){kse={}}var _Ye="Complement Sets are not supported for first char optimization",MU=`Unable to use "first char" lexer optimizations:
872
- `;function pYe(p,c=!1){try{let _=sR(p);return Txe(_.value,{},_.flags.ignoreCase)}catch(_){if(_.message===_Ye)c&&IU(`${MU} Unable to optimize: < ${p.toString()} >
871
+ `:case"\r":case"\u2028":case"\u2029":return!1;default:return!0}}parseHexDigits(c){let p="";for(let S=0;S<c;S++){let w=this.popChar();if(vGt.test(w)===!1)throw Error("Expecting a HexDecimal digits");p+=w}return{type:"Character",value:parseInt(p,16)}}peekChar(c=0){return this.input[this.idx+c]}popChar(){let c=this.peekChar(0);return this.consumeChar(void 0),c}consumeChar(c){if(c!==void 0&&this.input[this.idx]!==c)throw Error("Expected: '"+c+"' but found: '"+this.input[this.idx]+"' at offset: "+this.idx);if(this.idx>=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(c){return{begin:c,end:this.idx}}};var w4=class{visitChildren(c){for(let p in c){let g=c[p];c.hasOwnProperty(p)&&(g.type!==void 0?this.visit(g):Array.isArray(g)&&g.forEach(S=>{this.visit(S)},this))}}visit(c){switch(c.type){case"Pattern":this.visitPattern(c);break;case"Flags":this.visitFlags(c);break;case"Disjunction":this.visitDisjunction(c);break;case"Alternative":this.visitAlternative(c);break;case"StartAnchor":this.visitStartAnchor(c);break;case"EndAnchor":this.visitEndAnchor(c);break;case"WordBoundary":this.visitWordBoundary(c);break;case"NonWordBoundary":this.visitNonWordBoundary(c);break;case"Lookahead":this.visitLookahead(c);break;case"NegativeLookahead":this.visitNegativeLookahead(c);break;case"Character":this.visitCharacter(c);break;case"Set":this.visitSet(c);break;case"Group":this.visitGroup(c);break;case"GroupBackReference":this.visitGroupBackReference(c);break;case"Quantifier":this.visitQuantifier(c);break}this.visitChildren(c)}visitPattern(c){}visitFlags(c){}visitDisjunction(c){}visitAlternative(c){}visitStartAnchor(c){}visitEndAnchor(c){}visitWordBoundary(c){}visitNonWordBoundary(c){}visitLookahead(c){}visitNegativeLookahead(c){}visitCharacter(c){}visitSet(c){}visitGroup(c){}visitGroupBackReference(c){}visitQuantifier(c){}};var kse={},bGt=new RU;function sR(_){let c=_.toString();if(kse.hasOwnProperty(c))return kse[c];{let p=bGt.pattern(c);return kse[c]=p,p}}function lYe(){kse={}}var _Ye="Complement Sets are not supported for first char optimization",MU=`Unable to use "first char" lexer optimizations:
872
+ `;function pYe(_,c=!1){try{let p=sR(_);return Txe(p.value,{},p.flags.ignoreCase)}catch(p){if(p.message===_Ye)c&&IU(`${MU} Unable to optimize: < ${_.toString()} >
873
873
  Complement Sets cannot be automatically optimized.
874
874
  This will disable the lexer's first char optimizations.
875
875
  See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let g="";c&&(g=`
876
876
  This will disable the lexer's first char optimizations.
877
877
  See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),rR(`${MU}
878
- Failed parsing: < ${p.toString()} >
878
+ Failed parsing: < ${_.toString()} >
879
879
  Using the @chevrotain/regexp-to-ast library
880
- Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+g)}}return[]}function Txe(p,c,_){switch(p.type){case"Disjunction":for(let S=0;S<p.value.length;S++)Txe(p.value[S],c,_);break;case"Alternative":let g=p.value;for(let S=0;S<g.length;S++){let w=g[S];switch(w.type){case"EndAnchor":case"GroupBackReference":case"Lookahead":case"NegativeLookahead":case"StartAnchor":case"WordBoundary":case"NonWordBoundary":continue}let z=w;switch(z.type){case"Character":Ise(z.value,c,_);break;case"Set":if(z.complement===!0)throw Error(_Ye);ao(z.value,de=>{if(typeof de=="number")Ise(de,c,_);else{let be=de;if(_===!0)for(let Ee=be.from;Ee<=be.to;Ee++)Ise(Ee,c,_);else{for(let Ee=be.from;Ee<=be.to&&Ee<aR;Ee++)Ise(Ee,c,_);if(be.to>=aR){let Ee=be.from>=aR?be.from:aR,Oe=be.to,Y=CT(Ee),ut=CT(Oe);for(let Ye=Y;Ye<=ut;Ye++)c[Ye]=Ye}}}});break;case"Group":Txe(z.value,c,_);break;default:throw Error("Non Exhaustive Match")}let ie=z.quantifier!==void 0&&z.quantifier.atLeast===0;if(z.type==="Group"&&Axe(z)===!1||z.type!=="Group"&&ie===!1)break}break;default:throw Error("non exhaustive match!")}return S_(c)}function Ise(p,c,_){let g=CT(p);c[g]=g,_===!0&&CGt(p,c)}function CGt(p,c){let _=String.fromCharCode(p),g=_.toUpperCase();if(g!==_){let S=CT(g.charCodeAt(0));c[S]=S}else{let S=_.toLowerCase();if(S!==_){let w=CT(S.charCodeAt(0));c[w]=w}}}function fYe(p,c){return bT(p.value,_=>{if(typeof _=="number")return Kp(c,_);{let g=_;return bT(c,S=>g.from<=S&&S<=g.to)!==void 0}})}function Axe(p){let c=p.quantifier;return c&&c.atLeast===0?!0:p.value?To(p.value)?F1(p.value,Axe):Axe(p.value):!1}var Fxe=class extends w4{constructor(c){super(),this.targetCharCodes=c,this.found=!1}visitChildren(c){if(this.found!==!0){switch(c.type){case"Lookahead":this.visitLookahead(c);return;case"NegativeLookahead":this.visitNegativeLookahead(c);return}super.visitChildren(c)}}visitCharacter(c){Kp(this.targetCharCodes,c.value)&&(this.found=!0)}visitSet(c){c.complement?fYe(c,this.targetCharCodes)===void 0&&(this.found=!0):fYe(c,this.targetCharCodes)!==void 0&&(this.found=!0)}};function wse(p,c){if(c instanceof RegExp){let _=sR(c),g=new Fxe(p);return g.visit(_),g.found}else return bT(c,_=>Kp(p,_.charCodeAt(0)))!==void 0}var qP="PATTERN",oR="defaultMode",Pse="modes",Ixe=typeof new RegExp("(?:)").sticky=="boolean";function hYe(p,c){c=eR(c,{useSticky:Ixe,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",`
881
- `],tracer:(Hr,On)=>On()});let _=c.tracer;_("initCharCodeToOptimizedIndexMap",()=>{JGt()});let g;_("Reject Lexer.NA",()=>{g=I4(p,Hr=>Hr[qP]===z_.NA)});let S=!1,w;_("Transform Patterns",()=>{S=!1,w=Ja(g,Hr=>{let On=Hr[qP];if(dC(On)){let Hi=On.source;return Hi.length===1&&Hi!=="^"&&Hi!=="$"&&Hi!=="."&&!On.ignoreCase?Hi:Hi.length===2&&Hi[0]==="\\"&&!Kp(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],Hi[1])?Hi[1]:c.useSticky?mYe(On):dYe(On)}else{if(wy(On))return S=!0,{exec:On};if(typeof On=="object")return S=!0,On;if(typeof On=="string"){if(On.length===1)return On;{let Hi=On.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),us=new RegExp(Hi);return c.useSticky?mYe(us):dYe(us)}}else throw Error("non exhaustive match")}})});let z,ie,de,be,Ee;_("misc mapping",()=>{z=Ja(g,Hr=>Hr.tokenTypeIdx),ie=Ja(g,Hr=>{let On=Hr.GROUP;if(On!==z_.SKIPPED){if(Kh(On))return On;if(I1(On))return!1;throw Error("non exhaustive match")}}),de=Ja(g,Hr=>{let On=Hr.LONGER_ALT;if(On)return To(On)?Ja(On,us=>Ese(g,us)):[Ese(g,On)]}),be=Ja(g,Hr=>Hr.PUSH_MODE),Ee=Ja(g,Hr=>mo(Hr,"POP_MODE"))});let Oe;_("Line Terminator Handling",()=>{let Hr=EYe(c.lineTerminatorCharacters);Oe=Ja(g,On=>!1),c.positionTracking!=="onlyOffset"&&(Oe=Ja(g,On=>mo(On,"LINE_BREAKS")?!!On.LINE_BREAKS:SYe(On,Hr)===!1&&wse(Hr,On.PATTERN)))});let Y,ut,Ye,We;_("Misc Mapping #2",()=>{Y=Ja(g,bYe),ut=Ja(w,BGt),Ye=_h(g,(Hr,On)=>{let Hi=On.GROUP;return Kh(Hi)&&Hi!==z_.SKIPPED&&(Hr[Hi]=[]),Hr},{}),We=Ja(w,(Hr,On)=>({pattern:w[On],longerAlt:de[On],canLineTerminator:Oe[On],isCustom:Y[On],short:ut[On],group:ie[On],push:be[On],pop:Ee[On],tokenTypeIdx:z[On],tokenType:g[On]}))});let Ut=!0,_r=[];return c.safeMode||_("First Char Optimization",()=>{_r=_h(g,(Hr,On,Hi)=>{if(typeof On.PATTERN=="string"){let us=On.PATTERN.charCodeAt(0),Hn=CT(us);kxe(Hr,Hn,We[Hi])}else if(To(On.START_CHARS_HINT)){let us;ao(On.START_CHARS_HINT,Hn=>{let an=typeof Hn=="string"?Hn.charCodeAt(0):Hn,hc=CT(an);us!==hc&&(us=hc,kxe(Hr,hc,We[Hi]))})}else if(dC(On.PATTERN))if(On.PATTERN.unicode)Ut=!1,c.ensureOptimizations&&rR(`${MU} Unable to analyze < ${On.PATTERN.toString()} > pattern.
880
+ Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+g)}}return[]}function Txe(_,c,p){switch(_.type){case"Disjunction":for(let S=0;S<_.value.length;S++)Txe(_.value[S],c,p);break;case"Alternative":let g=_.value;for(let S=0;S<g.length;S++){let w=g[S];switch(w.type){case"EndAnchor":case"GroupBackReference":case"Lookahead":case"NegativeLookahead":case"StartAnchor":case"WordBoundary":case"NonWordBoundary":continue}let z=w;switch(z.type){case"Character":Ise(z.value,c,p);break;case"Set":if(z.complement===!0)throw Error(_Ye);ao(z.value,de=>{if(typeof de=="number")Ise(de,c,p);else{let be=de;if(p===!0)for(let Ee=be.from;Ee<=be.to;Ee++)Ise(Ee,c,p);else{for(let Ee=be.from;Ee<=be.to&&Ee<aR;Ee++)Ise(Ee,c,p);if(be.to>=aR){let Ee=be.from>=aR?be.from:aR,Oe=be.to,Y=CT(Ee),ut=CT(Oe);for(let Ye=Y;Ye<=ut;Ye++)c[Ye]=Ye}}}});break;case"Group":Txe(z.value,c,p);break;default:throw Error("Non Exhaustive Match")}let ie=z.quantifier!==void 0&&z.quantifier.atLeast===0;if(z.type==="Group"&&Axe(z)===!1||z.type!=="Group"&&ie===!1)break}break;default:throw Error("non exhaustive match!")}return S_(c)}function Ise(_,c,p){let g=CT(_);c[g]=g,p===!0&&CGt(_,c)}function CGt(_,c){let p=String.fromCharCode(_),g=p.toUpperCase();if(g!==p){let S=CT(g.charCodeAt(0));c[S]=S}else{let S=p.toLowerCase();if(S!==p){let w=CT(S.charCodeAt(0));c[w]=w}}}function fYe(_,c){return bT(_.value,p=>{if(typeof p=="number")return Kp(c,p);{let g=p;return bT(c,S=>g.from<=S&&S<=g.to)!==void 0}})}function Axe(_){let c=_.quantifier;return c&&c.atLeast===0?!0:_.value?To(_.value)?F1(_.value,Axe):Axe(_.value):!1}var Fxe=class extends w4{constructor(c){super(),this.targetCharCodes=c,this.found=!1}visitChildren(c){if(this.found!==!0){switch(c.type){case"Lookahead":this.visitLookahead(c);return;case"NegativeLookahead":this.visitNegativeLookahead(c);return}super.visitChildren(c)}}visitCharacter(c){Kp(this.targetCharCodes,c.value)&&(this.found=!0)}visitSet(c){c.complement?fYe(c,this.targetCharCodes)===void 0&&(this.found=!0):fYe(c,this.targetCharCodes)!==void 0&&(this.found=!0)}};function wse(_,c){if(c instanceof RegExp){let p=sR(c),g=new Fxe(_);return g.visit(p),g.found}else return bT(c,p=>Kp(_,p.charCodeAt(0)))!==void 0}var qP="PATTERN",oR="defaultMode",Pse="modes",Ixe=typeof new RegExp("(?:)").sticky=="boolean";function hYe(_,c){c=eR(c,{useSticky:Ixe,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",`
881
+ `],tracer:(Hr,On)=>On()});let p=c.tracer;p("initCharCodeToOptimizedIndexMap",()=>{JGt()});let g;p("Reject Lexer.NA",()=>{g=I4(_,Hr=>Hr[qP]===z_.NA)});let S=!1,w;p("Transform Patterns",()=>{S=!1,w=Ja(g,Hr=>{let On=Hr[qP];if(dC(On)){let Hi=On.source;return Hi.length===1&&Hi!=="^"&&Hi!=="$"&&Hi!=="."&&!On.ignoreCase?Hi:Hi.length===2&&Hi[0]==="\\"&&!Kp(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],Hi[1])?Hi[1]:c.useSticky?mYe(On):dYe(On)}else{if(wy(On))return S=!0,{exec:On};if(typeof On=="object")return S=!0,On;if(typeof On=="string"){if(On.length===1)return On;{let Hi=On.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),us=new RegExp(Hi);return c.useSticky?mYe(us):dYe(us)}}else throw Error("non exhaustive match")}})});let z,ie,de,be,Ee;p("misc mapping",()=>{z=Ja(g,Hr=>Hr.tokenTypeIdx),ie=Ja(g,Hr=>{let On=Hr.GROUP;if(On!==z_.SKIPPED){if(Kh(On))return On;if(I1(On))return!1;throw Error("non exhaustive match")}}),de=Ja(g,Hr=>{let On=Hr.LONGER_ALT;if(On)return To(On)?Ja(On,us=>Ese(g,us)):[Ese(g,On)]}),be=Ja(g,Hr=>Hr.PUSH_MODE),Ee=Ja(g,Hr=>mo(Hr,"POP_MODE"))});let Oe;p("Line Terminator Handling",()=>{let Hr=EYe(c.lineTerminatorCharacters);Oe=Ja(g,On=>!1),c.positionTracking!=="onlyOffset"&&(Oe=Ja(g,On=>mo(On,"LINE_BREAKS")?!!On.LINE_BREAKS:SYe(On,Hr)===!1&&wse(Hr,On.PATTERN)))});let Y,ut,Ye,We;p("Misc Mapping #2",()=>{Y=Ja(g,bYe),ut=Ja(w,BGt),Ye=_h(g,(Hr,On)=>{let Hi=On.GROUP;return Kh(Hi)&&Hi!==z_.SKIPPED&&(Hr[Hi]=[]),Hr},{}),We=Ja(w,(Hr,On)=>({pattern:w[On],longerAlt:de[On],canLineTerminator:Oe[On],isCustom:Y[On],short:ut[On],group:ie[On],push:be[On],pop:Ee[On],tokenTypeIdx:z[On],tokenType:g[On]}))});let Ut=!0,_r=[];return c.safeMode||p("First Char Optimization",()=>{_r=_h(g,(Hr,On,Hi)=>{if(typeof On.PATTERN=="string"){let us=On.PATTERN.charCodeAt(0),Hn=CT(us);kxe(Hr,Hn,We[Hi])}else if(To(On.START_CHARS_HINT)){let us;ao(On.START_CHARS_HINT,Hn=>{let an=typeof Hn=="string"?Hn.charCodeAt(0):Hn,hc=CT(an);us!==hc&&(us=hc,kxe(Hr,hc,We[Hi]))})}else if(dC(On.PATTERN))if(On.PATTERN.unicode)Ut=!1,c.ensureOptimizations&&rR(`${MU} Unable to analyze < ${On.PATTERN.toString()} > pattern.
882
882
  The regexp unicode flag is not currently supported by the regexp-to-ast library.
883
883
  This will disable the lexer's first char optimizations.
884
884
  For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let us=pYe(On.PATTERN,c.ensureOptimizations);il(us)&&(Ut=!1),ao(us,Hn=>{kxe(Hr,Hn,We[Hi])})}else c.ensureOptimizations&&rR(`${MU} TokenType: <${On.name}> is using a custom token pattern without providing <start_chars_hint> parameter.
885
885
  This will disable the lexer's first char optimizations.
886
- For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),Ut=!1;return Hr},[])}),{emptyGroups:Ye,patternIdxToConfig:We,charCodeToPatternIdxToConfig:_r,hasCustom:S,canBeOptimized:Ut}}function gYe(p,c){let _=[],g=EGt(p);_=_.concat(g.errors);let S=xGt(g.valid),w=S.valid;return _=_.concat(S.errors),_=_.concat(SGt(w)),_=_.concat(NGt(w)),_=_.concat(OGt(w,c)),_=_.concat(LGt(w)),_}function SGt(p){let c=[],_=k1(p,g=>dC(g[qP]));return c=c.concat(AGt(_)),c=c.concat(IGt(_)),c=c.concat(wGt(_)),c=c.concat(PGt(_)),c=c.concat(FGt(_)),c}function EGt(p){let c=k1(p,S=>!mo(S,qP)),_=Ja(c,S=>({message:"Token Type: ->"+S.name+"<- missing static 'PATTERN' property",type:Qp.MISSING_PATTERN,tokenTypes:[S]})),g=k4(p,c);return{errors:_,valid:g}}function xGt(p){let c=k1(p,S=>{let w=S[qP];return!dC(w)&&!wy(w)&&!mo(w,"exec")&&!Kh(w)}),_=Ja(c,S=>({message:"Token Type: ->"+S.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Qp.INVALID_PATTERN,tokenTypes:[S]})),g=k4(p,c);return{errors:_,valid:g}}var TGt=/[^\\][$]/;function AGt(p){class c extends w4{constructor(){super(...arguments),this.found=!1}visitEndAnchor(w){this.found=!0}}let _=k1(p,S=>{let w=S.PATTERN;try{let z=sR(w),ie=new c;return ie.visit(z),ie.found}catch{return TGt.test(w.source)}});return Ja(_,S=>({message:`Unexpected RegExp Anchor Error:
886
+ For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),Ut=!1;return Hr},[])}),{emptyGroups:Ye,patternIdxToConfig:We,charCodeToPatternIdxToConfig:_r,hasCustom:S,canBeOptimized:Ut}}function gYe(_,c){let p=[],g=EGt(_);p=p.concat(g.errors);let S=xGt(g.valid),w=S.valid;return p=p.concat(S.errors),p=p.concat(SGt(w)),p=p.concat(NGt(w)),p=p.concat(OGt(w,c)),p=p.concat(LGt(w)),p}function SGt(_){let c=[],p=k1(_,g=>dC(g[qP]));return c=c.concat(AGt(p)),c=c.concat(IGt(p)),c=c.concat(wGt(p)),c=c.concat(PGt(p)),c=c.concat(FGt(p)),c}function EGt(_){let c=k1(_,S=>!mo(S,qP)),p=Ja(c,S=>({message:"Token Type: ->"+S.name+"<- missing static 'PATTERN' property",type:Qp.MISSING_PATTERN,tokenTypes:[S]})),g=k4(_,c);return{errors:p,valid:g}}function xGt(_){let c=k1(_,S=>{let w=S[qP];return!dC(w)&&!wy(w)&&!mo(w,"exec")&&!Kh(w)}),p=Ja(c,S=>({message:"Token Type: ->"+S.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Qp.INVALID_PATTERN,tokenTypes:[S]})),g=k4(_,c);return{errors:p,valid:g}}var TGt=/[^\\][$]/;function AGt(_){class c extends w4{constructor(){super(...arguments),this.found=!1}visitEndAnchor(w){this.found=!0}}let p=k1(_,S=>{let w=S.PATTERN;try{let z=sR(w),ie=new c;return ie.visit(z),ie.found}catch{return TGt.test(w.source)}});return Ja(p,S=>({message:`Unexpected RegExp Anchor Error:
887
887
  Token Type: ->`+S.name+`<- static 'PATTERN' cannot contain end of input anchor '$'
888
- See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Qp.EOI_ANCHOR_FOUND,tokenTypes:[S]}))}function FGt(p){let c=k1(p,g=>g.PATTERN.test(""));return Ja(c,g=>({message:"Token Type: ->"+g.name+"<- static 'PATTERN' must not match an empty string",type:Qp.EMPTY_MATCH_PATTERN,tokenTypes:[g]}))}var kGt=/[^\\[][\^]|^\^/;function IGt(p){class c extends w4{constructor(){super(...arguments),this.found=!1}visitStartAnchor(w){this.found=!0}}let _=k1(p,S=>{let w=S.PATTERN;try{let z=sR(w),ie=new c;return ie.visit(z),ie.found}catch{return kGt.test(w.source)}});return Ja(_,S=>({message:`Unexpected RegExp Anchor Error:
888
+ See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Qp.EOI_ANCHOR_FOUND,tokenTypes:[S]}))}function FGt(_){let c=k1(_,g=>g.PATTERN.test(""));return Ja(c,g=>({message:"Token Type: ->"+g.name+"<- static 'PATTERN' must not match an empty string",type:Qp.EMPTY_MATCH_PATTERN,tokenTypes:[g]}))}var kGt=/[^\\[][\^]|^\^/;function IGt(_){class c extends w4{constructor(){super(...arguments),this.found=!1}visitStartAnchor(w){this.found=!0}}let p=k1(_,S=>{let w=S.PATTERN;try{let z=sR(w),ie=new c;return ie.visit(z),ie.found}catch{return kGt.test(w.source)}});return Ja(p,S=>({message:`Unexpected RegExp Anchor Error:
889
889
  Token Type: ->`+S.name+`<- static 'PATTERN' cannot contain start of input anchor '^'
890
- See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Qp.SOI_ANCHOR_FOUND,tokenTypes:[S]}))}function wGt(p){let c=k1(p,g=>{let S=g[qP];return S instanceof RegExp&&(S.multiline||S.global)});return Ja(c,g=>({message:"Token Type: ->"+g.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Qp.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[g]}))}function PGt(p){let c=[],_=Ja(p,w=>_h(p,(z,ie)=>(w.PATTERN.source===ie.PATTERN.source&&!Kp(c,ie)&&ie.PATTERN!==z_.NA&&(c.push(ie),z.push(ie)),z),[]));_=vT(_);let g=k1(_,w=>w.length>1);return Ja(g,w=>{let z=Ja(w,de=>de.name);return{message:`The same RegExp pattern ->${Vg(w).PATTERN}<-has been used in all of the following Token Types: ${z.join(", ")} <-`,type:Qp.DUPLICATE_PATTERNS_FOUND,tokenTypes:w}})}function NGt(p){let c=k1(p,g=>{if(!mo(g,"GROUP"))return!1;let S=g.GROUP;return S!==z_.SKIPPED&&S!==z_.NA&&!Kh(S)});return Ja(c,g=>({message:"Token Type: ->"+g.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Qp.INVALID_GROUP_TYPE_FOUND,tokenTypes:[g]}))}function OGt(p,c){let _=k1(p,S=>S.PUSH_MODE!==void 0&&!Kp(c,S.PUSH_MODE));return Ja(_,S=>({message:`Token Type: ->${S.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${S.PUSH_MODE}<-which does not exist`,type:Qp.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[S]}))}function LGt(p){let c=[],_=_h(p,(g,S,w)=>{let z=S.PATTERN;return z===z_.NA||(Kh(z)?g.push({str:z,idx:w,tokenType:S}):dC(z)&&MGt(z)&&g.push({str:z.source,idx:w,tokenType:S})),g},[]);return ao(p,(g,S)=>{ao(_,({str:w,idx:z,tokenType:ie})=>{if(S<z&&RGt(w,g.PATTERN)){let de=`Token: ->${ie.name}<- can never be matched.
890
+ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Qp.SOI_ANCHOR_FOUND,tokenTypes:[S]}))}function wGt(_){let c=k1(_,g=>{let S=g[qP];return S instanceof RegExp&&(S.multiline||S.global)});return Ja(c,g=>({message:"Token Type: ->"+g.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Qp.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[g]}))}function PGt(_){let c=[],p=Ja(_,w=>_h(_,(z,ie)=>(w.PATTERN.source===ie.PATTERN.source&&!Kp(c,ie)&&ie.PATTERN!==z_.NA&&(c.push(ie),z.push(ie)),z),[]));p=vT(p);let g=k1(p,w=>w.length>1);return Ja(g,w=>{let z=Ja(w,de=>de.name);return{message:`The same RegExp pattern ->${Vg(w).PATTERN}<-has been used in all of the following Token Types: ${z.join(", ")} <-`,type:Qp.DUPLICATE_PATTERNS_FOUND,tokenTypes:w}})}function NGt(_){let c=k1(_,g=>{if(!mo(g,"GROUP"))return!1;let S=g.GROUP;return S!==z_.SKIPPED&&S!==z_.NA&&!Kh(S)});return Ja(c,g=>({message:"Token Type: ->"+g.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Qp.INVALID_GROUP_TYPE_FOUND,tokenTypes:[g]}))}function OGt(_,c){let p=k1(_,S=>S.PUSH_MODE!==void 0&&!Kp(c,S.PUSH_MODE));return Ja(p,S=>({message:`Token Type: ->${S.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${S.PUSH_MODE}<-which does not exist`,type:Qp.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[S]}))}function LGt(_){let c=[],p=_h(_,(g,S,w)=>{let z=S.PATTERN;return z===z_.NA||(Kh(z)?g.push({str:z,idx:w,tokenType:S}):dC(z)&&MGt(z)&&g.push({str:z.source,idx:w,tokenType:S})),g},[]);return ao(_,(g,S)=>{ao(p,({str:w,idx:z,tokenType:ie})=>{if(S<z&&RGt(w,g.PATTERN)){let de=`Token: ->${ie.name}<- can never be matched.
891
891
  Because it appears AFTER the Token Type ->${g.name}<-in the lexer's definition.
892
- See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;c.push({message:de,type:Qp.UNREACHABLE_PATTERN,tokenTypes:[g,ie]})}})}),c}function RGt(p,c){if(dC(c)){let _=c.exec(p);return _!==null&&_.index===0}else{if(wy(c))return c(p,0,[],{});if(mo(c,"exec"))return c.exec(p,0,[],{});if(typeof c=="string")return c===p;throw Error("non exhaustive match")}}function MGt(p){return bT([".","\\","[","]","|","^","$","(",")","?","*","+","{"],_=>p.source.indexOf(_)!==-1)===void 0}function dYe(p){let c=p.ignoreCase?"i":"";return new RegExp(`^(?:${p.source})`,c)}function mYe(p){let c=p.ignoreCase?"iy":"y";return new RegExp(`${p.source}`,c)}function yYe(p,c,_){let g=[];return mo(p,oR)||g.push({message:"A MultiMode Lexer cannot be initialized without a <"+oR+`> property in its definition
893
- `,type:Qp.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),mo(p,Pse)||g.push({message:"A MultiMode Lexer cannot be initialized without a <"+Pse+`> property in its definition
894
- `,type:Qp.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),mo(p,Pse)&&mo(p,oR)&&!mo(p.modes,p.defaultMode)&&g.push({message:`A MultiMode Lexer cannot be initialized with a ${oR}: <${p.defaultMode}>which does not exist
895
- `,type:Qp.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),mo(p,Pse)&&ao(p.modes,(S,w)=>{ao(S,(z,ie)=>{if(I1(z))g.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${w}> at index: <${ie}>
892
+ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;c.push({message:de,type:Qp.UNREACHABLE_PATTERN,tokenTypes:[g,ie]})}})}),c}function RGt(_,c){if(dC(c)){let p=c.exec(_);return p!==null&&p.index===0}else{if(wy(c))return c(_,0,[],{});if(mo(c,"exec"))return c.exec(_,0,[],{});if(typeof c=="string")return c===_;throw Error("non exhaustive match")}}function MGt(_){return bT([".","\\","[","]","|","^","$","(",")","?","*","+","{"],p=>_.source.indexOf(p)!==-1)===void 0}function dYe(_){let c=_.ignoreCase?"i":"";return new RegExp(`^(?:${_.source})`,c)}function mYe(_){let c=_.ignoreCase?"iy":"y";return new RegExp(`${_.source}`,c)}function yYe(_,c,p){let g=[];return mo(_,oR)||g.push({message:"A MultiMode Lexer cannot be initialized without a <"+oR+`> property in its definition
893
+ `,type:Qp.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),mo(_,Pse)||g.push({message:"A MultiMode Lexer cannot be initialized without a <"+Pse+`> property in its definition
894
+ `,type:Qp.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),mo(_,Pse)&&mo(_,oR)&&!mo(_.modes,_.defaultMode)&&g.push({message:`A MultiMode Lexer cannot be initialized with a ${oR}: <${_.defaultMode}>which does not exist
895
+ `,type:Qp.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),mo(_,Pse)&&ao(_.modes,(S,w)=>{ao(S,(z,ie)=>{if(I1(z))g.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${w}> at index: <${ie}>
896
896
  `,type:Qp.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if(mo(z,"LONGER_ALT")){let de=To(z.LONGER_ALT)?z.LONGER_ALT:[z.LONGER_ALT];ao(de,be=>{!I1(be)&&!Kp(S,be)&&g.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${be.name}> on token <${z.name}> outside of mode <${w}>
897
- `,type:Qp.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})}})}),g}function vYe(p,c,_){let g=[],S=!1,w=vT(Hh(S_(p.modes))),z=I4(w,de=>de[qP]===z_.NA),ie=EYe(_);return c&&ao(z,de=>{let be=SYe(de,ie);if(be!==!1){let Oe={message:jGt(de,be),type:be.issue,tokenType:de};g.push(Oe)}else mo(de,"LINE_BREAKS")?de.LINE_BREAKS===!0&&(S=!0):wse(ie,de.PATTERN)&&(S=!0)}),c&&!S&&g.push({message:`Warning: No LINE_BREAKS Found.
897
+ `,type:Qp.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})}})}),g}function vYe(_,c,p){let g=[],S=!1,w=vT(Hh(S_(_.modes))),z=I4(w,de=>de[qP]===z_.NA),ie=EYe(p);return c&&ao(z,de=>{let be=SYe(de,ie);if(be!==!1){let Oe={message:jGt(de,be),type:be.issue,tokenType:de};g.push(Oe)}else mo(de,"LINE_BREAKS")?de.LINE_BREAKS===!0&&(S=!0):wse(ie,de.PATTERN)&&(S=!0)}),c&&!S&&g.push({message:`Warning: No LINE_BREAKS Found.
898
898
  This Lexer has been defined to track line and column information,
899
899
  But none of the Token Types can be identified as matching a line terminator.
900
900
  See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS
901
- for details.`,type:Qp.NO_LINE_BREAKS_FLAGS}),g}function DYe(p){let c={},_=tp(p);return ao(_,g=>{let S=p[g];if(To(S))c[g]=[];else throw Error("non exhaustive match")}),c}function bYe(p){let c=p.PATTERN;if(dC(c))return!1;if(wy(c))return!0;if(mo(c,"exec"))return!0;if(Kh(c))return!1;throw Error("non exhaustive match")}function BGt(p){return Kh(p)&&p.length===1?p.charCodeAt(0):!1}var CYe={test:function(p){let c=p.length;for(let _=this.lastIndex;_<c;_++){let g=p.charCodeAt(_);if(g===10)return this.lastIndex=_+1,!0;if(g===13)return p.charCodeAt(_+1)===10?this.lastIndex=_+2:this.lastIndex=_+1,!0}return!1},lastIndex:0};function SYe(p,c){if(mo(p,"LINE_BREAKS"))return!1;if(dC(p.PATTERN)){try{wse(c,p.PATTERN)}catch(_){return{issue:Qp.IDENTIFY_TERMINATOR,errMsg:_.message}}return!1}else{if(Kh(p.PATTERN))return!1;if(bYe(p))return{issue:Qp.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}}function jGt(p,c){if(c.issue===Qp.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern.
902
- The problem is in the <${p.name}> Token Type
901
+ for details.`,type:Qp.NO_LINE_BREAKS_FLAGS}),g}function DYe(_){let c={},p=tp(_);return ao(p,g=>{let S=_[g];if(To(S))c[g]=[];else throw Error("non exhaustive match")}),c}function bYe(_){let c=_.PATTERN;if(dC(c))return!1;if(wy(c))return!0;if(mo(c,"exec"))return!0;if(Kh(c))return!1;throw Error("non exhaustive match")}function BGt(_){return Kh(_)&&_.length===1?_.charCodeAt(0):!1}var CYe={test:function(_){let c=_.length;for(let p=this.lastIndex;p<c;p++){let g=_.charCodeAt(p);if(g===10)return this.lastIndex=p+1,!0;if(g===13)return _.charCodeAt(p+1)===10?this.lastIndex=p+2:this.lastIndex=p+1,!0}return!1},lastIndex:0};function SYe(_,c){if(mo(_,"LINE_BREAKS"))return!1;if(dC(_.PATTERN)){try{wse(c,_.PATTERN)}catch(p){return{issue:Qp.IDENTIFY_TERMINATOR,errMsg:p.message}}return!1}else{if(Kh(_.PATTERN))return!1;if(bYe(_))return{issue:Qp.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}}function jGt(_,c){if(c.issue===Qp.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern.
902
+ The problem is in the <${_.name}> Token Type
903
903
  Root cause: ${c.errMsg}.
904
904
  For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(c.issue===Qp.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the <line_breaks> option.
905
- The problem is in the <${p.name}> Token Type
906
- For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}function EYe(p){return Ja(p,_=>Kh(_)?_.charCodeAt(0):_)}function kxe(p,c,_){p[c]===void 0?p[c]=[_]:p[c].push(_)}var aR=256,Nse=[];function CT(p){return p<aR?p:Nse[p]}function JGt(){if(il(Nse)){Nse=new Array(65536);for(let p=0;p<65536;p++)Nse[p]=p>255?255+~~(p/255):p}}function ck(p,c){let _=p.tokenTypeIdx;return _===c.tokenTypeIdx?!0:c.isParent===!0&&c.categoryMatchesMap[_]===!0}function cR(p,c){return p.tokenTypeIdx===c.tokenTypeIdx}var xYe=1,AYe={};function uk(p){let c=qGt(p);zGt(c),UGt(c),WGt(c),ao(c,_=>{_.isParent=_.categoryMatches.length>0})}function qGt(p){let c=np(p),_=p,g=!0;for(;g;){_=vT(Hh(Ja(_,w=>w.CATEGORIES)));let S=k4(_,c);c=c.concat(S),il(S)?g=!1:_=S}return c}function zGt(p){ao(p,c=>{wxe(c)||(AYe[xYe]=c,c.tokenTypeIdx=xYe++),TYe(c)&&!To(c.CATEGORIES)&&(c.CATEGORIES=[c.CATEGORIES]),TYe(c)||(c.CATEGORIES=[]),VGt(c)||(c.categoryMatches=[]),GGt(c)||(c.categoryMatchesMap={})})}function WGt(p){ao(p,c=>{c.categoryMatches=[],ao(c.categoryMatchesMap,(_,g)=>{c.categoryMatches.push(AYe[g].tokenTypeIdx)})})}function UGt(p){ao(p,c=>{FYe([],c)})}function FYe(p,c){ao(p,_=>{c.categoryMatchesMap[_.tokenTypeIdx]=!0}),ao(c.CATEGORIES,_=>{let g=p.concat(c);Kp(g,_)||FYe(g,_)})}function wxe(p){return mo(p,"tokenTypeIdx")}function TYe(p){return mo(p,"CATEGORIES")}function VGt(p){return mo(p,"categoryMatches")}function GGt(p){return mo(p,"categoryMatchesMap")}function kYe(p){return mo(p,"tokenTypeIdx")}var Pxe={buildUnableToPopLexerModeMessage(p){return`Unable to pop Lexer Mode after encountering Token ->${p.image}<- The Mode Stack is empty`},buildUnexpectedCharactersMessage(p,c,_,g,S){return`unexpected character: ->${p.charAt(c)}<- at offset: ${c}, skipped ${_} characters.`}};var Qp;(function(p){p[p.MISSING_PATTERN=0]="MISSING_PATTERN",p[p.INVALID_PATTERN=1]="INVALID_PATTERN",p[p.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",p[p.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",p[p.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",p[p.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",p[p.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",p[p.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",p[p.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",p[p.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",p[p.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",p[p.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",p[p.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",p[p.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",p[p.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",p[p.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",p[p.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",p[p.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"})(Qp||(Qp={}));var BU={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[`
907
- `,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:Pxe,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(BU);var z_=class{constructor(c,_=BU){if(this.lexerDefinition=c,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(S,w)=>{if(this.traceInitPerf===!0){this.traceInitIndent++;let z=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent<this.traceInitMaxIdent&&console.log(`${z}--> <${S}>`);let{time:ie,value:de}=wU(w),be=ie>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&be(`${z}<-- <${S}> time: ${ie}ms`),this.traceInitIndent--,de}else return w()},typeof _=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object.
908
- a boolean 2nd argument is no longer supported`);this.config=I0({},BU,_);let g=this.config.traceInitPerf;g===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof g=="number"&&(this.traceInitMaxIdent=g,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let S,w=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===BU.lineTerminatorsPattern)this.config.lineTerminatorsPattern=CYe;else if(this.config.lineTerminatorCharacters===BU.lineTerminatorCharacters)throw Error(`Error: Missing <lineTerminatorCharacters> property on the Lexer config.
909
- For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(_.safeMode&&_.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),To(c)?S={modes:{defaultMode:np(c)},defaultMode:oR}:(w=!1,S=np(c))}),this.config.skipValidations===!1&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(yYe(S,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(vYe(S,this.trackStartLines,this.config.lineTerminatorCharacters))})),S.modes=S.modes?S.modes:{},ao(S.modes,(ie,de)=>{S.modes[de]=I4(ie,be=>I1(be))});let z=tp(S.modes);if(ao(S.modes,(ie,de)=>{this.TRACE_INIT(`Mode: <${de}> processing`,()=>{if(this.modes.push(de),this.config.skipValidations===!1&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(gYe(ie,z))}),il(this.lexerDefinitionErrors)){uk(ie);let be;this.TRACE_INIT("analyzeTokenTypes",()=>{be=hYe(ie,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:_.positionTracking,ensureOptimizations:_.ensureOptimizations,safeMode:_.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[de]=be.patternIdxToConfig,this.charCodeToPatternIdxToConfig[de]=be.charCodeToPatternIdxToConfig,this.emptyGroups=I0({},this.emptyGroups,be.emptyGroups),this.hasCustom=be.hasCustom||this.hasCustom,this.canModeBeOptimized[de]=be.canBeOptimized}})}),this.defaultMode=S.defaultMode,!il(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling){let de=Ja(this.lexerDefinitionErrors,be=>be.message).join(`-----------------------
905
+ The problem is in the <${_.name}> Token Type
906
+ For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}function EYe(_){return Ja(_,p=>Kh(p)?p.charCodeAt(0):p)}function kxe(_,c,p){_[c]===void 0?_[c]=[p]:_[c].push(p)}var aR=256,Nse=[];function CT(_){return _<aR?_:Nse[_]}function JGt(){if(il(Nse)){Nse=new Array(65536);for(let _=0;_<65536;_++)Nse[_]=_>255?255+~~(_/255):_}}function ck(_,c){let p=_.tokenTypeIdx;return p===c.tokenTypeIdx?!0:c.isParent===!0&&c.categoryMatchesMap[p]===!0}function cR(_,c){return _.tokenTypeIdx===c.tokenTypeIdx}var xYe=1,AYe={};function uk(_){let c=qGt(_);zGt(c),UGt(c),WGt(c),ao(c,p=>{p.isParent=p.categoryMatches.length>0})}function qGt(_){let c=np(_),p=_,g=!0;for(;g;){p=vT(Hh(Ja(p,w=>w.CATEGORIES)));let S=k4(p,c);c=c.concat(S),il(S)?g=!1:p=S}return c}function zGt(_){ao(_,c=>{wxe(c)||(AYe[xYe]=c,c.tokenTypeIdx=xYe++),TYe(c)&&!To(c.CATEGORIES)&&(c.CATEGORIES=[c.CATEGORIES]),TYe(c)||(c.CATEGORIES=[]),VGt(c)||(c.categoryMatches=[]),GGt(c)||(c.categoryMatchesMap={})})}function WGt(_){ao(_,c=>{c.categoryMatches=[],ao(c.categoryMatchesMap,(p,g)=>{c.categoryMatches.push(AYe[g].tokenTypeIdx)})})}function UGt(_){ao(_,c=>{FYe([],c)})}function FYe(_,c){ao(_,p=>{c.categoryMatchesMap[p.tokenTypeIdx]=!0}),ao(c.CATEGORIES,p=>{let g=_.concat(c);Kp(g,p)||FYe(g,p)})}function wxe(_){return mo(_,"tokenTypeIdx")}function TYe(_){return mo(_,"CATEGORIES")}function VGt(_){return mo(_,"categoryMatches")}function GGt(_){return mo(_,"categoryMatchesMap")}function kYe(_){return mo(_,"tokenTypeIdx")}var Pxe={buildUnableToPopLexerModeMessage(_){return`Unable to pop Lexer Mode after encountering Token ->${_.image}<- The Mode Stack is empty`},buildUnexpectedCharactersMessage(_,c,p,g,S){return`unexpected character: ->${_.charAt(c)}<- at offset: ${c}, skipped ${p} characters.`}};var Qp;(function(_){_[_.MISSING_PATTERN=0]="MISSING_PATTERN",_[_.INVALID_PATTERN=1]="INVALID_PATTERN",_[_.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",_[_.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",_[_.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",_[_.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",_[_.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",_[_.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",_[_.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",_[_.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",_[_.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",_[_.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",_[_.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",_[_.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",_[_.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",_[_.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",_[_.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",_[_.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"})(Qp||(Qp={}));var BU={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[`
907
+ `,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:Pxe,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(BU);var z_=class{constructor(c,p=BU){if(this.lexerDefinition=c,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(S,w)=>{if(this.traceInitPerf===!0){this.traceInitIndent++;let z=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent<this.traceInitMaxIdent&&console.log(`${z}--> <${S}>`);let{time:ie,value:de}=wU(w),be=ie>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&be(`${z}<-- <${S}> time: ${ie}ms`),this.traceInitIndent--,de}else return w()},typeof p=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object.
908
+ a boolean 2nd argument is no longer supported`);this.config=I0({},BU,p);let g=this.config.traceInitPerf;g===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof g=="number"&&(this.traceInitMaxIdent=g,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let S,w=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===BU.lineTerminatorsPattern)this.config.lineTerminatorsPattern=CYe;else if(this.config.lineTerminatorCharacters===BU.lineTerminatorCharacters)throw Error(`Error: Missing <lineTerminatorCharacters> property on the Lexer config.
909
+ For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(p.safeMode&&p.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),To(c)?S={modes:{defaultMode:np(c)},defaultMode:oR}:(w=!1,S=np(c))}),this.config.skipValidations===!1&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(yYe(S,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(vYe(S,this.trackStartLines,this.config.lineTerminatorCharacters))})),S.modes=S.modes?S.modes:{},ao(S.modes,(ie,de)=>{S.modes[de]=I4(ie,be=>I1(be))});let z=tp(S.modes);if(ao(S.modes,(ie,de)=>{this.TRACE_INIT(`Mode: <${de}> processing`,()=>{if(this.modes.push(de),this.config.skipValidations===!1&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(gYe(ie,z))}),il(this.lexerDefinitionErrors)){uk(ie);let be;this.TRACE_INIT("analyzeTokenTypes",()=>{be=hYe(ie,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:p.positionTracking,ensureOptimizations:p.ensureOptimizations,safeMode:p.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[de]=be.patternIdxToConfig,this.charCodeToPatternIdxToConfig[de]=be.charCodeToPatternIdxToConfig,this.emptyGroups=I0({},this.emptyGroups,be.emptyGroups),this.hasCustom=be.hasCustom||this.hasCustom,this.canModeBeOptimized[de]=be.canBeOptimized}})}),this.defaultMode=S.defaultMode,!il(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling){let de=Ja(this.lexerDefinitionErrors,be=>be.message).join(`-----------------------
910
910
  `);throw new Error(`Errors detected in definition of Lexer:
911
- `+de)}ao(this.lexerDefinitionWarning,ie=>{IU(ie.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(Ixe?(this.chopInput=_C,this.match=this.matchWithTest):(this.updateLastIndex=Ad,this.match=this.matchWithExec),w&&(this.handleModes=Ad),this.trackStartLines===!1&&(this.computeNewColumn=_C),this.trackEndLines===!1&&(this.updateTokenEndLineColumnLocation=Ad),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid <positionTracking> config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let ie=_h(this.canModeBeOptimized,(de,be,Ee)=>(be===!1&&de.push(Ee),de),[]);if(_.ensureOptimizations&&!il(ie))throw Error(`Lexer Modes: < ${ie.join(", ")} > cannot be optimized.
911
+ `+de)}ao(this.lexerDefinitionWarning,ie=>{IU(ie.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(Ixe?(this.chopInput=_C,this.match=this.matchWithTest):(this.updateLastIndex=Ad,this.match=this.matchWithExec),w&&(this.handleModes=Ad),this.trackStartLines===!1&&(this.computeNewColumn=_C),this.trackEndLines===!1&&(this.updateTokenEndLineColumnLocation=Ad),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid <positionTracking> config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let ie=_h(this.canModeBeOptimized,(de,be,Ee)=>(be===!1&&de.push(Ee),de),[]);if(p.ensureOptimizations&&!il(ie))throw Error(`Lexer Modes: < ${ie.join(", ")} > cannot be optimized.
912
912
  Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.
913
- Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{lYe()}),this.TRACE_INIT("toFastProperties",()=>{PU(this)})})}tokenize(c,_=this.defaultMode){if(!il(this.lexerDefinitionErrors)){let S=Ja(this.lexerDefinitionErrors,w=>w.message).join(`-----------------------
913
+ Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{lYe()}),this.TRACE_INIT("toFastProperties",()=>{PU(this)})})}tokenize(c,p=this.defaultMode){if(!il(this.lexerDefinitionErrors)){let S=Ja(this.lexerDefinitionErrors,w=>w.message).join(`-----------------------
914
914
  `);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer:
915
- `+S)}return this.tokenizeInternal(c,_)}tokenizeInternal(c,_){let g,S,w,z,ie,de,be,Ee,Oe,Y,ut,Ye,We,Ut,_r,Hr,On=c,Hi=On.length,us=0,Hn=0,an=this.hasCustom?0:Math.floor(c.length/10),hc=new Array(an),ma=[],ic=this.trackStartLines?1:void 0,xn=this.trackStartLines?1:void 0,Os=DYe(this.emptyGroups),Js=this.trackStartLines,Rr=this.config.lineTerminatorsPattern,wo=0,Ro=[],hr=[],Sl=[],lc=[];Object.freeze(lc);let Ko;function Zs(){return Ro}function jp(Wo){let fu=CT(Wo),Mo=hr[fu];return Mo===void 0?lc:Mo}let By=Wo=>{if(Sl.length===1&&Wo.tokenType.PUSH_MODE===void 0){let fu=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(Wo);ma.push({offset:Wo.startOffset,line:Wo.startLine,column:Wo.startColumn,length:Wo.image.length,message:fu})}else{Sl.pop();let fu=DT(Sl);Ro=this.patternIdxToConfig[fu],hr=this.charCodeToPatternIdxToConfig[fu],wo=Ro.length;let Mo=this.canModeBeOptimized[fu]&&this.config.safeMode===!1;hr&&Mo?Ko=jp:Ko=Zs}};function zo(Wo){Sl.push(Wo),hr=this.charCodeToPatternIdxToConfig[Wo],Ro=this.patternIdxToConfig[Wo],wo=Ro.length,wo=Ro.length;let fu=this.canModeBeOptimized[Wo]&&this.config.safeMode===!1;hr&&fu?Ko=jp:Ko=Zs}zo.call(this,_);let zm,jn=this.config.recoveryEnabled;for(;us<Hi;){de=null;let Wo=On.charCodeAt(us),fu=Ko(Wo),Mo=fu.length;for(g=0;g<Mo;g++){zm=fu[g];let wu=zm.pattern;be=null;let _l=zm.short;if(_l!==!1?Wo===_l&&(de=wu):zm.isCustom===!0?(Hr=wu.exec(On,us,hc,Os),Hr!==null?(de=Hr[0],Hr.payload!==void 0&&(be=Hr.payload)):de=null):(this.updateLastIndex(wu,us),de=this.match(wu,c,us)),de!==null){if(ie=zm.longerAlt,ie!==void 0){let Jp=ie.length;for(w=0;w<Jp;w++){let ht=Ro[ie[w]],Qg=ht.pattern;if(Ee=null,ht.isCustom===!0?(Hr=Qg.exec(On,us,hc,Os),Hr!==null?(z=Hr[0],Hr.payload!==void 0&&(Ee=Hr.payload)):z=null):(this.updateLastIndex(Qg,us),z=this.match(Qg,c,us)),z&&z.length>de.length){de=z,be=Ee,zm=ht;break}}}break}}if(de!==null){if(Oe=de.length,Y=zm.group,Y!==void 0&&(ut=zm.tokenTypeIdx,Ye=this.createTokenInstance(de,us,ut,zm.tokenType,ic,xn,Oe),this.handlePayload(Ye,be),Y===!1?Hn=this.addToken(hc,Hn,Ye):Os[Y].push(Ye)),c=this.chopInput(c,Oe),us=us+Oe,xn=this.computeNewColumn(xn,Oe),Js===!0&&zm.canLineTerminator===!0){let wu=0,_l,Jp;Rr.lastIndex=0;do _l=Rr.test(de),_l===!0&&(Jp=Rr.lastIndex-1,wu++);while(_l===!0);wu!==0&&(ic=ic+wu,xn=Oe-Jp,this.updateTokenEndLineColumnLocation(Ye,Y,Jp,wu,ic,xn,Oe))}this.handleModes(zm,By,zo,Ye)}else{let wu=us,_l=ic,Jp=xn,ht=jn===!1;for(;ht===!1&&us<Hi;)for(c=this.chopInput(c,1),us++,S=0;S<wo;S++){let Qg=Ro[S],Ht=Qg.pattern,Ln=Qg.short;if(Ln!==!1?On.charCodeAt(us)===Ln&&(ht=!0):Qg.isCustom===!0?ht=Ht.exec(On,us,hc,Os)!==null:(this.updateLastIndex(Ht,us),ht=Ht.exec(c)!==null),ht===!0)break}if(We=us-wu,xn=this.computeNewColumn(xn,We),_r=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(On,wu,We,_l,Jp),ma.push({offset:wu,line:_l,column:Jp,length:We,message:_r}),jn===!1)break}}return this.hasCustom||(hc.length=Hn),{tokens:hc,groups:Os,errors:ma}}handleModes(c,_,g,S){if(c.pop===!0){let w=c.push;_(S),w!==void 0&&g.call(this,w)}else c.push!==void 0&&g.call(this,c.push)}chopInput(c,_){return c.substring(_)}updateLastIndex(c,_){c.lastIndex=_}updateTokenEndLineColumnLocation(c,_,g,S,w,z,ie){let de,be;_!==void 0&&(de=g===ie-1,be=de?-1:0,S===1&&de===!0||(c.endLine=w+be,c.endColumn=z-1+-be))}computeNewColumn(c,_){return c+_}createOffsetOnlyToken(c,_,g,S){return{image:c,startOffset:_,tokenTypeIdx:g,tokenType:S}}createStartOnlyToken(c,_,g,S,w,z){return{image:c,startOffset:_,startLine:w,startColumn:z,tokenTypeIdx:g,tokenType:S}}createFullToken(c,_,g,S,w,z,ie){return{image:c,startOffset:_,endOffset:_+ie-1,startLine:w,endLine:w,startColumn:z,endColumn:z+ie-1,tokenTypeIdx:g,tokenType:S}}addTokenUsingPush(c,_,g){return c.push(g),_}addTokenUsingMemberAccess(c,_,g){return c[_]=g,_++,_}handlePayloadNoCustom(c,_){}handlePayloadWithCustom(c,_){_!==null&&(c.payload=_)}matchWithTest(c,_,g){return c.test(_)===!0?_.substring(g,c.lastIndex):null}matchWithExec(c,_){let g=c.exec(_);return g!==null?g[0]:null}};z_.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.";z_.NA=/NOT_APPLICABLE/;function zP(p){return Nxe(p)?p.LABEL:p.name}function Nxe(p){return Kh(p.LABEL)&&p.LABEL!==""}var $Gt="parent",IYe="categories",wYe="label",PYe="group",NYe="push_mode",OYe="pop_mode",LYe="longer_alt",RYe="line_breaks",MYe="start_chars_hint";function Gu(p){return HGt(p)}function HGt(p){let c=p.pattern,_={};if(_.name=p.name,I1(c)||(_.PATTERN=c),mo(p,$Gt))throw`The parent property is no longer supported.
916
- See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return mo(p,IYe)&&(_.CATEGORIES=p[IYe]),uk([_]),mo(p,wYe)&&(_.LABEL=p[wYe]),mo(p,PYe)&&(_.GROUP=p[PYe]),mo(p,OYe)&&(_.POP_MODE=p[OYe]),mo(p,NYe)&&(_.PUSH_MODE=p[NYe]),mo(p,LYe)&&(_.LONGER_ALT=p[LYe]),mo(p,RYe)&&(_.LINE_BREAKS=p[RYe]),mo(p,MYe)&&(_.START_CHARS_HINT=p[MYe]),_}var YS=Gu({name:"EOF",pattern:z_.NA});uk([YS]);function WP(p,c,_,g,S,w,z,ie){return{image:c,startOffset:_,endOffset:g,startLine:S,endLine:w,startColumn:z,endColumn:ie,tokenTypeIdx:p.tokenTypeIdx,tokenType:p}}function Oxe(p,c){return ck(p,c)}var Ose={buildMismatchTokenMessage({expected:p,actual:c,previous:_,ruleName:g}){return`Expecting ${Nxe(p)?`--> ${zP(p)} <--`:`token of type --> ${p.name} <--`} but found --> '${c.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:p,ruleName:c}){return"Redundant input, expecting EOF but found: "+p.image},buildNoViableAltMessage({expectedPathsPerAlt:p,actual:c,previous:_,customUserDescription:g,ruleName:S}){let w="Expecting: ",ie=`
917
- but found: '`+Vg(c).image+"'";if(g)return w+g+ie;{let de=_h(p,(Y,ut)=>Y.concat(ut),[]),be=Ja(de,Y=>`[${Ja(Y,ut=>zP(ut)).join(", ")}]`),Oe=`one of these possible Token sequences:
915
+ `+S)}return this.tokenizeInternal(c,p)}tokenizeInternal(c,p){let g,S,w,z,ie,de,be,Ee,Oe,Y,ut,Ye,We,Ut,_r,Hr,On=c,Hi=On.length,us=0,Hn=0,an=this.hasCustom?0:Math.floor(c.length/10),hc=new Array(an),ma=[],ic=this.trackStartLines?1:void 0,xn=this.trackStartLines?1:void 0,Os=DYe(this.emptyGroups),Js=this.trackStartLines,Rr=this.config.lineTerminatorsPattern,wo=0,Ro=[],hr=[],Sl=[],lc=[];Object.freeze(lc);let Ko;function Zs(){return Ro}function jp(Wo){let fu=CT(Wo),Mo=hr[fu];return Mo===void 0?lc:Mo}let By=Wo=>{if(Sl.length===1&&Wo.tokenType.PUSH_MODE===void 0){let fu=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(Wo);ma.push({offset:Wo.startOffset,line:Wo.startLine,column:Wo.startColumn,length:Wo.image.length,message:fu})}else{Sl.pop();let fu=DT(Sl);Ro=this.patternIdxToConfig[fu],hr=this.charCodeToPatternIdxToConfig[fu],wo=Ro.length;let Mo=this.canModeBeOptimized[fu]&&this.config.safeMode===!1;hr&&Mo?Ko=jp:Ko=Zs}};function zo(Wo){Sl.push(Wo),hr=this.charCodeToPatternIdxToConfig[Wo],Ro=this.patternIdxToConfig[Wo],wo=Ro.length,wo=Ro.length;let fu=this.canModeBeOptimized[Wo]&&this.config.safeMode===!1;hr&&fu?Ko=jp:Ko=Zs}zo.call(this,p);let zm,jn=this.config.recoveryEnabled;for(;us<Hi;){de=null;let Wo=On.charCodeAt(us),fu=Ko(Wo),Mo=fu.length;for(g=0;g<Mo;g++){zm=fu[g];let wu=zm.pattern;be=null;let _l=zm.short;if(_l!==!1?Wo===_l&&(de=wu):zm.isCustom===!0?(Hr=wu.exec(On,us,hc,Os),Hr!==null?(de=Hr[0],Hr.payload!==void 0&&(be=Hr.payload)):de=null):(this.updateLastIndex(wu,us),de=this.match(wu,c,us)),de!==null){if(ie=zm.longerAlt,ie!==void 0){let Jp=ie.length;for(w=0;w<Jp;w++){let ht=Ro[ie[w]],Qg=ht.pattern;if(Ee=null,ht.isCustom===!0?(Hr=Qg.exec(On,us,hc,Os),Hr!==null?(z=Hr[0],Hr.payload!==void 0&&(Ee=Hr.payload)):z=null):(this.updateLastIndex(Qg,us),z=this.match(Qg,c,us)),z&&z.length>de.length){de=z,be=Ee,zm=ht;break}}}break}}if(de!==null){if(Oe=de.length,Y=zm.group,Y!==void 0&&(ut=zm.tokenTypeIdx,Ye=this.createTokenInstance(de,us,ut,zm.tokenType,ic,xn,Oe),this.handlePayload(Ye,be),Y===!1?Hn=this.addToken(hc,Hn,Ye):Os[Y].push(Ye)),c=this.chopInput(c,Oe),us=us+Oe,xn=this.computeNewColumn(xn,Oe),Js===!0&&zm.canLineTerminator===!0){let wu=0,_l,Jp;Rr.lastIndex=0;do _l=Rr.test(de),_l===!0&&(Jp=Rr.lastIndex-1,wu++);while(_l===!0);wu!==0&&(ic=ic+wu,xn=Oe-Jp,this.updateTokenEndLineColumnLocation(Ye,Y,Jp,wu,ic,xn,Oe))}this.handleModes(zm,By,zo,Ye)}else{let wu=us,_l=ic,Jp=xn,ht=jn===!1;for(;ht===!1&&us<Hi;)for(c=this.chopInput(c,1),us++,S=0;S<wo;S++){let Qg=Ro[S],Ht=Qg.pattern,Ln=Qg.short;if(Ln!==!1?On.charCodeAt(us)===Ln&&(ht=!0):Qg.isCustom===!0?ht=Ht.exec(On,us,hc,Os)!==null:(this.updateLastIndex(Ht,us),ht=Ht.exec(c)!==null),ht===!0)break}if(We=us-wu,xn=this.computeNewColumn(xn,We),_r=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(On,wu,We,_l,Jp),ma.push({offset:wu,line:_l,column:Jp,length:We,message:_r}),jn===!1)break}}return this.hasCustom||(hc.length=Hn),{tokens:hc,groups:Os,errors:ma}}handleModes(c,p,g,S){if(c.pop===!0){let w=c.push;p(S),w!==void 0&&g.call(this,w)}else c.push!==void 0&&g.call(this,c.push)}chopInput(c,p){return c.substring(p)}updateLastIndex(c,p){c.lastIndex=p}updateTokenEndLineColumnLocation(c,p,g,S,w,z,ie){let de,be;p!==void 0&&(de=g===ie-1,be=de?-1:0,S===1&&de===!0||(c.endLine=w+be,c.endColumn=z-1+-be))}computeNewColumn(c,p){return c+p}createOffsetOnlyToken(c,p,g,S){return{image:c,startOffset:p,tokenTypeIdx:g,tokenType:S}}createStartOnlyToken(c,p,g,S,w,z){return{image:c,startOffset:p,startLine:w,startColumn:z,tokenTypeIdx:g,tokenType:S}}createFullToken(c,p,g,S,w,z,ie){return{image:c,startOffset:p,endOffset:p+ie-1,startLine:w,endLine:w,startColumn:z,endColumn:z+ie-1,tokenTypeIdx:g,tokenType:S}}addTokenUsingPush(c,p,g){return c.push(g),p}addTokenUsingMemberAccess(c,p,g){return c[p]=g,p++,p}handlePayloadNoCustom(c,p){}handlePayloadWithCustom(c,p){p!==null&&(c.payload=p)}matchWithTest(c,p,g){return c.test(p)===!0?p.substring(g,c.lastIndex):null}matchWithExec(c,p){let g=c.exec(p);return g!==null?g[0]:null}};z_.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.";z_.NA=/NOT_APPLICABLE/;function zP(_){return Nxe(_)?_.LABEL:_.name}function Nxe(_){return Kh(_.LABEL)&&_.LABEL!==""}var $Gt="parent",IYe="categories",wYe="label",PYe="group",NYe="push_mode",OYe="pop_mode",LYe="longer_alt",RYe="line_breaks",MYe="start_chars_hint";function Gu(_){return HGt(_)}function HGt(_){let c=_.pattern,p={};if(p.name=_.name,I1(c)||(p.PATTERN=c),mo(_,$Gt))throw`The parent property is no longer supported.
916
+ See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return mo(_,IYe)&&(p.CATEGORIES=_[IYe]),uk([p]),mo(_,wYe)&&(p.LABEL=_[wYe]),mo(_,PYe)&&(p.GROUP=_[PYe]),mo(_,OYe)&&(p.POP_MODE=_[OYe]),mo(_,NYe)&&(p.PUSH_MODE=_[NYe]),mo(_,LYe)&&(p.LONGER_ALT=_[LYe]),mo(_,RYe)&&(p.LINE_BREAKS=_[RYe]),mo(_,MYe)&&(p.START_CHARS_HINT=_[MYe]),p}var YS=Gu({name:"EOF",pattern:z_.NA});uk([YS]);function WP(_,c,p,g,S,w,z,ie){return{image:c,startOffset:p,endOffset:g,startLine:S,endLine:w,startColumn:z,endColumn:ie,tokenTypeIdx:_.tokenTypeIdx,tokenType:_}}function Oxe(_,c){return ck(_,c)}var Ose={buildMismatchTokenMessage({expected:_,actual:c,previous:p,ruleName:g}){return`Expecting ${Nxe(_)?`--> ${zP(_)} <--`:`token of type --> ${_.name} <--`} but found --> '${c.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:_,ruleName:c}){return"Redundant input, expecting EOF but found: "+_.image},buildNoViableAltMessage({expectedPathsPerAlt:_,actual:c,previous:p,customUserDescription:g,ruleName:S}){let w="Expecting: ",ie=`
917
+ but found: '`+Vg(c).image+"'";if(g)return w+g+ie;{let de=_h(_,(Y,ut)=>Y.concat(ut),[]),be=Ja(de,Y=>`[${Ja(Y,ut=>zP(ut)).join(", ")}]`),Oe=`one of these possible Token sequences:
918
918
  ${Ja(be,(Y,ut)=>` ${ut+1}. ${Y}`).join(`
919
- `)}`;return w+Oe+ie}},buildEarlyExitMessage({expectedIterationPaths:p,actual:c,customUserDescription:_,ruleName:g}){let S="Expecting: ",z=`
920
- but found: '`+Vg(c).image+"'";if(_)return S+_+z;{let de=`expecting at least one iteration which starts with one of these possible Token sequences::
921
- <${Ja(p,be=>`[${Ja(be,Ee=>zP(Ee)).join(",")}]`).join(" ,")}>`;return S+de+z}}};Object.freeze(Ose);var BYe={buildRuleNotFoundError(p,c){return"Invalid grammar, reference to a rule which is not defined: ->"+c.nonTerminalName+`<-
922
- inside top level rule: ->`+p.name+"<-"}},ZS={buildDuplicateFoundError(p,c){function _(Ee){return Ee instanceof Fl?Ee.terminalType.name:Ee instanceof ip?Ee.nonTerminalName:""}let g=p.name,S=Vg(c),w=S.idx,z=zv(S),ie=_(S),de=w>0,be=`->${z}${de?w:""}<- ${ie?`with argument: ->${ie}<-`:""}
919
+ `)}`;return w+Oe+ie}},buildEarlyExitMessage({expectedIterationPaths:_,actual:c,customUserDescription:p,ruleName:g}){let S="Expecting: ",z=`
920
+ but found: '`+Vg(c).image+"'";if(p)return S+p+z;{let de=`expecting at least one iteration which starts with one of these possible Token sequences::
921
+ <${Ja(_,be=>`[${Ja(be,Ee=>zP(Ee)).join(",")}]`).join(" ,")}>`;return S+de+z}}};Object.freeze(Ose);var BYe={buildRuleNotFoundError(_,c){return"Invalid grammar, reference to a rule which is not defined: ->"+c.nonTerminalName+`<-
922
+ inside top level rule: ->`+_.name+"<-"}},ZS={buildDuplicateFoundError(_,c){function p(Ee){return Ee instanceof Fl?Ee.terminalType.name:Ee instanceof ip?Ee.nonTerminalName:""}let g=_.name,S=Vg(c),w=S.idx,z=zv(S),ie=p(S),de=w>0,be=`->${z}${de?w:""}<- ${ie?`with argument: ->${ie}<-`:""}
923
923
  appears more than once (${c.length} times) in the top level rule: ->${g}<-.
924
924
  For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES
925
925
  `;return be=be.replace(/[ \t]+/g," "),be=be.replace(/\s\s+/g,`
926
- `),be},buildNamespaceConflictError(p){return`Namespace conflict found in grammar.
927
- The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${p.name}>.
926
+ `),be},buildNamespaceConflictError(_){return`Namespace conflict found in grammar.
927
+ The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${_.name}>.
928
928
  To resolve this make sure each Terminal and Non-Terminal names are unique
929
929
  This is easy to accomplish by using the convention that Terminal names start with an uppercase letter
930
- and Non-Terminal names start with a lower case letter.`},buildAlternationPrefixAmbiguityError(p){let c=Ja(p.prefixPath,S=>zP(S)).join(", "),_=p.alternation.idx===0?"":p.alternation.idx;return`Ambiguous alternatives: <${p.ambiguityIndices.join(" ,")}> due to common lookahead prefix
931
- in <OR${_}> inside <${p.topLevelRule.name}> Rule,
930
+ and Non-Terminal names start with a lower case letter.`},buildAlternationPrefixAmbiguityError(_){let c=Ja(_.prefixPath,S=>zP(S)).join(", "),p=_.alternation.idx===0?"":_.alternation.idx;return`Ambiguous alternatives: <${_.ambiguityIndices.join(" ,")}> due to common lookahead prefix
931
+ in <OR${p}> inside <${_.topLevelRule.name}> Rule,
932
932
  <${c}> may appears as a prefix path in all these alternatives.
933
933
  See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX
934
- For Further details.`},buildAlternationAmbiguityError(p){let c=Ja(p.prefixPath,S=>zP(S)).join(", "),_=p.alternation.idx===0?"":p.alternation.idx,g=`Ambiguous Alternatives Detected: <${p.ambiguityIndices.join(" ,")}> in <OR${_}> inside <${p.topLevelRule.name}> Rule,
934
+ For Further details.`},buildAlternationAmbiguityError(_){let c=Ja(_.prefixPath,S=>zP(S)).join(", "),p=_.alternation.idx===0?"":_.alternation.idx,g=`Ambiguous Alternatives Detected: <${_.ambiguityIndices.join(" ,")}> in <OR${p}> inside <${_.topLevelRule.name}> Rule,
935
935
  <${c}> may appears as a prefix path in all these alternatives.
936
936
  `;return g=g+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES
937
- For Further details.`,g},buildEmptyRepetitionError(p){let c=zv(p.repetition);return p.repetition.idx!==0&&(c+=p.repetition.idx),`The repetition <${c}> within Rule <${p.topLevelRule.name}> can never consume any tokens.
938
- This could lead to an infinite loop.`},buildTokenNameError(p){return"deprecated"},buildEmptyAlternationError(p){return`Ambiguous empty alternative: <${p.emptyChoiceIdx+1}> in <OR${p.alternation.idx}> inside <${p.topLevelRule.name}> Rule.
939
- Only the last alternative may be an empty alternative.`},buildTooManyAlternativesError(p){return`An Alternation cannot have more than 256 alternatives:
940
- <OR${p.alternation.idx}> inside <${p.topLevelRule.name}> Rule.
941
- has ${p.alternation.definition.length+1} alternatives.`},buildLeftRecursionError(p){let c=p.topLevelRule.name,_=Ja(p.leftRecursionPath,w=>w.name),g=`${c} --> ${_.concat([c]).join(" --> ")}`;return`Left Recursion found in grammar.
937
+ For Further details.`,g},buildEmptyRepetitionError(_){let c=zv(_.repetition);return _.repetition.idx!==0&&(c+=_.repetition.idx),`The repetition <${c}> within Rule <${_.topLevelRule.name}> can never consume any tokens.
938
+ This could lead to an infinite loop.`},buildTokenNameError(_){return"deprecated"},buildEmptyAlternationError(_){return`Ambiguous empty alternative: <${_.emptyChoiceIdx+1}> in <OR${_.alternation.idx}> inside <${_.topLevelRule.name}> Rule.
939
+ Only the last alternative may be an empty alternative.`},buildTooManyAlternativesError(_){return`An Alternation cannot have more than 256 alternatives:
940
+ <OR${_.alternation.idx}> inside <${_.topLevelRule.name}> Rule.
941
+ has ${_.alternation.definition.length+1} alternatives.`},buildLeftRecursionError(_){let c=_.topLevelRule.name,p=Ja(_.leftRecursionPath,w=>w.name),g=`${c} --> ${p.concat([c]).join(" --> ")}`;return`Left Recursion found in grammar.
942
942
  rule: <${c}> can be invoked from itself (directly or indirectly)
943
943
  without consuming any Tokens. The grammar path that causes this is:
944
944
  ${g}
945
945
  To fix this refactor your grammar to remove the left recursion.
946
- see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError(p){return"deprecated"},buildDuplicateRuleNameError(p){let c;return p.topLevelRule instanceof Ny?c=p.topLevelRule.name:c=p.topLevelRule,`Duplicate definition, rule: ->${c}<- is already defined in the grammar: ->${p.grammarName}<-`}};function jYe(p,c){let _=new Lxe(p,c);return _.resolveRefs(),_.errors}var Lxe=class extends Oy{constructor(c,_){super(),this.nameToTopRule=c,this.errMsgProvider=_,this.errors=[]}resolveRefs(){ao(S_(this.nameToTopRule),c=>{this.currTopLevel=c,c.accept(this)})}visitNonTerminal(c){let _=this.nameToTopRule[c.nonTerminalName];if(_)c.referencedRule=_;else{let g=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,c);this.errors.push({message:g,type:Qh.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:c.nonTerminalName})}}};var Rxe=class extends ok{constructor(c,_){super(),this.topProd=c,this.path=_,this.possibleTokTypes=[],this.nextProductionName="",this.nextProductionOccurrence=0,this.found=!1,this.isAtEndOfPath=!1}startWalking(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=np(this.path.ruleStack).reverse(),this.occurrenceStack=np(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes}walk(c,_=[]){this.found||super.walk(c,_)}walkProdRef(c,_,g){if(c.referencedRule.name===this.nextProductionName&&c.idx===this.nextProductionOccurrence){let S=_.concat(g);this.updateExpectedNext(),this.walk(c.referencedRule,S)}}updateExpectedNext(){il(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())}},Lse=class extends Rxe{constructor(c,_){super(c,_),this.path=_,this.nextTerminalName="",this.nextTerminalOccurrence=0,this.nextTerminalName=this.path.lastTok.name,this.nextTerminalOccurrence=this.path.lastTokOccurrence}walkTerminal(c,_,g){if(this.isAtEndOfPath&&c.terminalType.name===this.nextTerminalName&&c.idx===this.nextTerminalOccurrence&&!this.found){let S=_.concat(g),w=new sp({definition:S});this.possibleTokTypes=jP(w),this.found=!0}}},uR=class extends ok{constructor(c,_){super(),this.topRule=c,this.occurrence=_,this.result={token:void 0,occurrence:void 0,isEndOfRule:void 0}}startWalking(){return this.walk(this.topRule),this.result}},Rse=class extends uR{walkMany(c,_,g){if(c.idx===this.occurrence){let S=Vg(_.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkMany(c,_,g)}},jU=class extends uR{walkManySep(c,_,g){if(c.idx===this.occurrence){let S=Vg(_.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkManySep(c,_,g)}},Mse=class extends uR{walkAtLeastOne(c,_,g){if(c.idx===this.occurrence){let S=Vg(_.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkAtLeastOne(c,_,g)}},JU=class extends uR{walkAtLeastOneSep(c,_,g){if(c.idx===this.occurrence){let S=Vg(_.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkAtLeastOneSep(c,_,g)}};function Bse(p,c,_=[]){_=np(_);let g=[],S=0;function w(ie){return ie.concat(Mm(p,S+1))}function z(ie){let de=Bse(w(ie),c,_);return g.concat(de)}for(;_.length<c&&S<p.length;){let ie=p[S];if(ie instanceof sp)return z(ie.definition);if(ie instanceof ip)return z(ie.definition);if(ie instanceof Rp)g=z(ie.definition);else if(ie instanceof Bm){let de=ie.definition.concat([new Vf({definition:ie.definition})]);return z(de)}else if(ie instanceof jm){let de=[new sp({definition:ie.definition}),new Vf({definition:[new Fl({terminalType:ie.separator})].concat(ie.definition)})];return z(de)}else if(ie instanceof am){let de=ie.definition.concat([new Vf({definition:[new Fl({terminalType:ie.separator})].concat(ie.definition)})]);g=z(de)}else if(ie instanceof Vf){let de=ie.definition.concat([new Vf({definition:ie.definition})]);g=z(de)}else{if(ie instanceof om)return ao(ie.definition,de=>{il(de.definition)===!1&&(g=z(de.definition))}),g;if(ie instanceof Fl)_.push(ie.terminalType);else throw Error("non exhaustive match")}S++}return g.push({partialPath:_,suffixDef:Mm(p,S)}),g}function jse(p,c,_,g){let S="EXIT_NONE_TERMINAL",w=[S],z="EXIT_ALTERNATIVE",ie=!1,de=c.length,be=de-g-1,Ee=[],Oe=[];for(Oe.push({idx:-1,def:p,ruleStack:[],occurrenceStack:[]});!il(Oe);){let Y=Oe.pop();if(Y===z){ie&&DT(Oe).idx<=be&&Oe.pop();continue}let ut=Y.def,Ye=Y.idx,We=Y.ruleStack,Ut=Y.occurrenceStack;if(il(ut))continue;let _r=ut[0];if(_r===S){let Hr={idx:Ye,def:Mm(ut),ruleStack:ak(We),occurrenceStack:ak(Ut)};Oe.push(Hr)}else if(_r instanceof Fl)if(Ye<de-1){let Hr=Ye+1,On=c[Hr];if(_(On,_r.terminalType)){let Hi={idx:Hr,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hi)}}else if(Ye===de-1)Ee.push({nextTokenType:_r.terminalType,nextTokenOccurrence:_r.idx,ruleStack:We,occurrenceStack:Ut}),ie=!0;else throw Error("non exhaustive match");else if(_r instanceof ip){let Hr=np(We);Hr.push(_r.nonTerminalName);let On=np(Ut);On.push(_r.idx);let Hi={idx:Ye,def:_r.definition.concat(w,Mm(ut)),ruleStack:Hr,occurrenceStack:On};Oe.push(Hi)}else if(_r instanceof Rp){let Hr={idx:Ye,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hr),Oe.push(z);let On={idx:Ye,def:_r.definition.concat(Mm(ut)),ruleStack:We,occurrenceStack:Ut};Oe.push(On)}else if(_r instanceof Bm){let Hr=new Vf({definition:_r.definition,idx:_r.idx}),On=_r.definition.concat([Hr],Mm(ut)),Hi={idx:Ye,def:On,ruleStack:We,occurrenceStack:Ut};Oe.push(Hi)}else if(_r instanceof jm){let Hr=new Fl({terminalType:_r.separator}),On=new Vf({definition:[Hr].concat(_r.definition),idx:_r.idx}),Hi=_r.definition.concat([On],Mm(ut)),us={idx:Ye,def:Hi,ruleStack:We,occurrenceStack:Ut};Oe.push(us)}else if(_r instanceof am){let Hr={idx:Ye,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hr),Oe.push(z);let On=new Fl({terminalType:_r.separator}),Hi=new Vf({definition:[On].concat(_r.definition),idx:_r.idx}),us=_r.definition.concat([Hi],Mm(ut)),Hn={idx:Ye,def:us,ruleStack:We,occurrenceStack:Ut};Oe.push(Hn)}else if(_r instanceof Vf){let Hr={idx:Ye,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hr),Oe.push(z);let On=new Vf({definition:_r.definition,idx:_r.idx}),Hi=_r.definition.concat([On],Mm(ut)),us={idx:Ye,def:Hi,ruleStack:We,occurrenceStack:Ut};Oe.push(us)}else if(_r instanceof om)for(let Hr=_r.definition.length-1;Hr>=0;Hr--){let On=_r.definition[Hr],Hi={idx:Ye,def:On.definition.concat(Mm(ut)),ruleStack:We,occurrenceStack:Ut};Oe.push(Hi),Oe.push(z)}else if(_r instanceof sp)Oe.push({idx:Ye,def:_r.definition.concat(Mm(ut)),ruleStack:We,occurrenceStack:Ut});else if(_r instanceof Ny)Oe.push(KGt(_r,Ye,We,Ut));else throw Error("non exhaustive match")}return Ee}function KGt(p,c,_,g){let S=np(_);S.push(p.name);let w=np(g);return w.push(1),{idx:c,def:p.definition,ruleStack:S,occurrenceStack:w}}var Fd;(function(p){p[p.OPTION=0]="OPTION",p[p.REPETITION=1]="REPETITION",p[p.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",p[p.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",p[p.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",p[p.ALTERNATION=5]="ALTERNATION"})(Fd||(Fd={}));function qse(p){if(p instanceof Rp||p==="Option")return Fd.OPTION;if(p instanceof Vf||p==="Repetition")return Fd.REPETITION;if(p instanceof Bm||p==="RepetitionMandatory")return Fd.REPETITION_MANDATORY;if(p instanceof jm||p==="RepetitionMandatoryWithSeparator")return Fd.REPETITION_MANDATORY_WITH_SEPARATOR;if(p instanceof am||p==="RepetitionWithSeparator")return Fd.REPETITION_WITH_SEPARATOR;if(p instanceof om||p==="Alternation")return Fd.ALTERNATION;throw Error("non exhaustive match")}function qYe(p,c,_,g,S,w){let z=qU(p,c,_),ie=$Ye(z)?cR:ck;return w(z,g,ie,S)}function zYe(p,c,_,g,S,w){let z=zU(p,c,S,_),ie=$Ye(z)?cR:ck;return w(z[0],ie,g)}function WYe(p,c,_,g){let S=p.length,w=F1(p,z=>F1(z,ie=>ie.length===1));if(c)return function(z){let ie=Ja(z,de=>de.GATE);for(let de=0;de<S;de++){let be=p[de],Ee=be.length,Oe=ie[de];if(!(Oe!==void 0&&Oe.call(this)===!1))e:for(let Y=0;Y<Ee;Y++){let ut=be[Y],Ye=ut.length;for(let We=0;We<Ye;We++){let Ut=this.LA(We+1);if(_(Ut,ut[We])===!1)continue e}return de}}};if(w&&!g){let z=Ja(p,de=>Hh(de)),ie=_h(z,(de,be,Ee)=>(ao(be,Oe=>{mo(de,Oe.tokenTypeIdx)||(de[Oe.tokenTypeIdx]=Ee),ao(Oe.categoryMatches,Y=>{mo(de,Y)||(de[Y]=Ee)})}),de),{});return function(){let de=this.LA(1);return ie[de.tokenTypeIdx]}}else return function(){for(let z=0;z<S;z++){let ie=p[z],de=ie.length;e:for(let be=0;be<de;be++){let Ee=ie[be],Oe=Ee.length;for(let Y=0;Y<Oe;Y++){let ut=this.LA(Y+1);if(_(ut,Ee[Y])===!1)continue e}return z}}}}function UYe(p,c,_){let g=F1(p,w=>w.length===1),S=p.length;if(g&&!_){let w=Hh(p);if(w.length===1&&il(w[0].categoryMatches)){let ie=w[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===ie}}else{let z=_h(w,(ie,de,be)=>(ie[de.tokenTypeIdx]=!0,ao(de.categoryMatches,Ee=>{ie[Ee]=!0}),ie),[]);return function(){let ie=this.LA(1);return z[ie.tokenTypeIdx]===!0}}}else return function(){e:for(let w=0;w<S;w++){let z=p[w],ie=z.length;for(let de=0;de<ie;de++){let be=this.LA(de+1);if(c(be,z[de])===!1)continue e}return!0}return!1}}var Bxe=class extends ok{constructor(c,_,g){super(),this.topProd=c,this.targetOccurrence=_,this.targetProdType=g}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(c,_,g,S){return c.idx===this.targetOccurrence&&this.targetProdType===_?(this.restDef=g.concat(S),!0):!1}walkOption(c,_,g){this.checkIsTarget(c,Fd.OPTION,_,g)||super.walkOption(c,_,g)}walkAtLeastOne(c,_,g){this.checkIsTarget(c,Fd.REPETITION_MANDATORY,_,g)||super.walkOption(c,_,g)}walkAtLeastOneSep(c,_,g){this.checkIsTarget(c,Fd.REPETITION_MANDATORY_WITH_SEPARATOR,_,g)||super.walkOption(c,_,g)}walkMany(c,_,g){this.checkIsTarget(c,Fd.REPETITION,_,g)||super.walkOption(c,_,g)}walkManySep(c,_,g){this.checkIsTarget(c,Fd.REPETITION_WITH_SEPARATOR,_,g)||super.walkOption(c,_,g)}},Jse=class extends Oy{constructor(c,_,g){super(),this.targetOccurrence=c,this.targetProdType=_,this.targetRef=g,this.result=[]}checkIsTarget(c,_){c.idx===this.targetOccurrence&&this.targetProdType===_&&(this.targetRef===void 0||c===this.targetRef)&&(this.result=c.definition)}visitOption(c){this.checkIsTarget(c,Fd.OPTION)}visitRepetition(c){this.checkIsTarget(c,Fd.REPETITION)}visitRepetitionMandatory(c){this.checkIsTarget(c,Fd.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(c){this.checkIsTarget(c,Fd.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(c){this.checkIsTarget(c,Fd.REPETITION_WITH_SEPARATOR)}visitAlternation(c){this.checkIsTarget(c,Fd.ALTERNATION)}};function JYe(p){let c=new Array(p);for(let _=0;_<p;_++)c[_]=[];return c}function Mxe(p){let c=[""];for(let _=0;_<p.length;_++){let g=p[_],S=[];for(let w=0;w<c.length;w++){let z=c[w];S.push(z+"_"+g.tokenTypeIdx);for(let ie=0;ie<g.categoryMatches.length;ie++){let de="_"+g.categoryMatches[ie];S.push(z+de)}}c=S}return c}function QGt(p,c,_){for(let g=0;g<p.length;g++){if(g===_)continue;let S=p[g];for(let w=0;w<c.length;w++){let z=c[w];if(S[z]===!0)return!1}}return!0}function VYe(p,c){let _=Ja(p,z=>Bse([z],1)),g=JYe(_.length),S=Ja(_,z=>{let ie={};return ao(z,de=>{let be=Mxe(de.partialPath);ao(be,Ee=>{ie[Ee]=!0})}),ie}),w=_;for(let z=1;z<=c;z++){let ie=w;w=JYe(ie.length);for(let de=0;de<ie.length;de++){let be=ie[de];for(let Ee=0;Ee<be.length;Ee++){let Oe=be[Ee].partialPath,Y=be[Ee].suffixDef,ut=Mxe(Oe);if(QGt(S,ut,de)||il(Y)||Oe.length===c){let We=g[de];if(zse(We,Oe)===!1){We.push(Oe);for(let Ut=0;Ut<ut.length;Ut++){let _r=ut[Ut];S[de][_r]=!0}}}else{let We=Bse(Y,z+1,Oe);w[de]=w[de].concat(We),ao(We,Ut=>{let _r=Mxe(Ut.partialPath);ao(_r,Hr=>{S[de][Hr]=!0})})}}}}return g}function qU(p,c,_,g){let S=new Jse(p,Fd.ALTERNATION,g);return c.accept(S),VYe(S.result,_)}function zU(p,c,_,g){let S=new Jse(p,_);c.accept(S);let w=S.result,ie=new Bxe(c,p,_).startWalking(),de=new sp({definition:w}),be=new sp({definition:ie});return VYe([de,be],g)}function zse(p,c){e:for(let _=0;_<p.length;_++){let g=p[_];if(g.length===c.length){for(let S=0;S<g.length;S++){let w=c[S],z=g[S];if((w===z||z.categoryMatchesMap[w.tokenTypeIdx]!==void 0)===!1)continue e}return!0}}return!1}function GYe(p,c){return p.length<c.length&&F1(p,(_,g)=>{let S=c[g];return _===S||S.categoryMatchesMap[_.tokenTypeIdx]})}function $Ye(p){return F1(p,c=>F1(c,_=>F1(_,g=>il(g.categoryMatches))))}function HYe(p){let c=p.lookaheadStrategy.validate({rules:p.rules,tokenTypes:p.tokenTypes,grammarName:p.grammarName});return Ja(c,_=>Object.assign({type:Qh.CUSTOM_LOOKAHEAD_VALIDATION},_))}function KYe(p,c,_,g){let S=Py(p,de=>XGt(de,_)),w=n$t(p,c,_),z=Py(p,de=>e$t(de,_)),ie=Py(p,de=>ZGt(de,p,g,_));return S.concat(w,z,ie)}function XGt(p,c){let _=new jxe;p.accept(_);let g=_.allProductions,S=Dxe(g,YGt),w=qv(S,ie=>ie.length>1);return Ja(S_(w),ie=>{let de=Vg(ie),be=c.buildDuplicateFoundError(p,ie),Ee=zv(de),Oe={message:be,type:Qh.DUPLICATE_PRODUCTIONS,ruleName:p.name,dslName:Ee,occurrence:de.idx},Y=QYe(de);return Y&&(Oe.parameter=Y),Oe})}function YGt(p){return`${zv(p)}_#_${p.idx}_#_${QYe(p)}`}function QYe(p){return p instanceof Fl?p.terminalType.name:p instanceof ip?p.nonTerminalName:""}var jxe=class extends Oy{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(c){this.allProductions.push(c)}visitOption(c){this.allProductions.push(c)}visitRepetitionWithSeparator(c){this.allProductions.push(c)}visitRepetitionMandatory(c){this.allProductions.push(c)}visitRepetitionMandatoryWithSeparator(c){this.allProductions.push(c)}visitRepetition(c){this.allProductions.push(c)}visitAlternation(c){this.allProductions.push(c)}visitTerminal(c){this.allProductions.push(c)}};function ZGt(p,c,_,g){let S=[];if(_h(c,(z,ie)=>ie.name===p.name?z+1:z,0)>1){let z=g.buildDuplicateRuleNameError({topLevelRule:p,grammarName:_});S.push({message:z,type:Qh.DUPLICATE_RULE_NAME,ruleName:p.name})}return S}function XYe(p,c,_){let g=[],S;return Kp(c,p)||(S=`Invalid rule override, rule: ->${p}<- cannot be overridden in the grammar: ->${_}<-as it is not defined in any of the super grammars `,g.push({message:S,type:Qh.INVALID_RULE_OVERRIDE,ruleName:p})),g}function qxe(p,c,_,g=[]){let S=[],w=Wse(c.definition);if(il(w))return[];{let z=p.name;Kp(w,p)&&S.push({message:_.buildLeftRecursionError({topLevelRule:p,leftRecursionPath:g}),type:Qh.LEFT_RECURSION,ruleName:z});let de=k4(w,g.concat([p])),be=Py(de,Ee=>{let Oe=np(g);return Oe.push(Ee),qxe(p,Ee,_,Oe)});return S.concat(be)}}function Wse(p){let c=[];if(il(p))return c;let _=Vg(p);if(_ instanceof ip)c.push(_.referencedRule);else if(_ instanceof sp||_ instanceof Rp||_ instanceof Bm||_ instanceof jm||_ instanceof am||_ instanceof Vf)c=c.concat(Wse(_.definition));else if(_ instanceof om)c=Hh(Ja(_.definition,w=>Wse(w.definition)));else if(!(_ instanceof Fl))throw Error("non exhaustive match");let g=BP(_),S=p.length>1;if(g&&S){let w=Mm(p);return c.concat(Wse(w))}else return c}var WU=class extends Oy{constructor(){super(...arguments),this.alternations=[]}visitAlternation(c){this.alternations.push(c)}};function YYe(p,c){let _=new WU;p.accept(_);let g=_.alternations;return Py(g,w=>{let z=ak(w.definition);return Py(z,(ie,de)=>{let be=jse([ie],[],ck,1);return il(be)?[{message:c.buildEmptyAlternationError({topLevelRule:p,alternation:w,emptyChoiceIdx:de}),type:Qh.NONE_LAST_EMPTY_ALT,ruleName:p.name,occurrence:w.idx,alternative:de+1}]:[]})})}function ZYe(p,c,_){let g=new WU;p.accept(g);let S=g.alternations;return S=I4(S,z=>z.ignoreAmbiguities===!0),Py(S,z=>{let ie=z.idx,de=z.maxLookahead||c,be=qU(ie,p,de,z),Ee=t$t(be,z,p,_),Oe=r$t(be,z,p,_);return Ee.concat(Oe)})}var Jxe=class extends Oy{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(c){this.allProductions.push(c)}visitRepetitionMandatory(c){this.allProductions.push(c)}visitRepetitionMandatoryWithSeparator(c){this.allProductions.push(c)}visitRepetition(c){this.allProductions.push(c)}};function e$t(p,c){let _=new WU;p.accept(_);let g=_.alternations;return Py(g,w=>w.definition.length>255?[{message:c.buildTooManyAlternativesError({topLevelRule:p,alternation:w}),type:Qh.TOO_MANY_ALTS,ruleName:p.name,occurrence:w.idx}]:[])}function eZe(p,c,_){let g=[];return ao(p,S=>{let w=new Jxe;S.accept(w);let z=w.allProductions;ao(z,ie=>{let de=qse(ie),be=ie.maxLookahead||c,Ee=ie.idx,Y=zU(Ee,S,de,be)[0];if(il(Hh(Y))){let ut=_.buildEmptyRepetitionError({topLevelRule:S,repetition:ie});g.push({message:ut,type:Qh.NO_NON_EMPTY_LOOKAHEAD,ruleName:S.name})}})}),g}function t$t(p,c,_,g){let S=[],w=_h(p,(ie,de,be)=>(c.definition[be].ignoreAmbiguities===!0||ao(de,Ee=>{let Oe=[be];ao(p,(Y,ut)=>{be!==ut&&zse(Y,Ee)&&c.definition[ut].ignoreAmbiguities!==!0&&Oe.push(ut)}),Oe.length>1&&!zse(S,Ee)&&(S.push(Ee),ie.push({alts:Oe,path:Ee}))}),ie),[]);return Ja(w,ie=>{let de=Ja(ie.alts,Ee=>Ee+1);return{message:g.buildAlternationAmbiguityError({topLevelRule:_,alternation:c,ambiguityIndices:de,prefixPath:ie.path}),type:Qh.AMBIGUOUS_ALTS,ruleName:_.name,occurrence:c.idx,alternatives:ie.alts}})}function r$t(p,c,_,g){let S=_h(p,(z,ie,de)=>{let be=Ja(ie,Ee=>({idx:de,path:Ee}));return z.concat(be)},[]);return vT(Py(S,z=>{if(c.definition[z.idx].ignoreAmbiguities===!0)return[];let de=z.idx,be=z.path,Ee=k1(S,Y=>c.definition[Y.idx].ignoreAmbiguities!==!0&&Y.idx<de&&GYe(Y.path,be));return Ja(Ee,Y=>{let ut=[Y.idx+1,de+1],Ye=c.idx===0?"":c.idx;return{message:g.buildAlternationPrefixAmbiguityError({topLevelRule:_,alternation:c,ambiguityIndices:ut,prefixPath:Y.path}),type:Qh.AMBIGUOUS_PREFIX_ALTS,ruleName:_.name,occurrence:Ye,alternatives:ut}})}))}function n$t(p,c,_){let g=[],S=Ja(c,w=>w.name);return ao(p,w=>{let z=w.name;if(Kp(S,z)){let ie=_.buildNamespaceConflictError(w);g.push({message:ie,type:Qh.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:z})}}),g}function tZe(p){let c=eR(p,{errMsgProvider:BYe}),_={};return ao(p.rules,g=>{_[g.name]=g}),jYe(_,c.errMsgProvider)}function rZe(p){return p=eR(p,{errMsgProvider:ZS}),KYe(p.rules,p.tokenTypes,p.errMsgProvider,p.grammarName)}var nZe="MismatchedTokenException",iZe="NoViableAltException",sZe="EarlyExitException",aZe="NotAllInputParsedException",oZe=[nZe,iZe,sZe,aZe];Object.freeze(oZe);function P4(p){return Kp(oZe,p.name)}var lR=class extends Error{constructor(c,_){super(c),this.token=_,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},UP=class extends lR{constructor(c,_,g){super(c,_),this.previousToken=g,this.name=nZe}},UU=class extends lR{constructor(c,_,g){super(c,_),this.previousToken=g,this.name=iZe}},VU=class extends lR{constructor(c,_){super(c,_),this.name=aZe}},GU=class extends lR{constructor(c,_,g){super(c,_),this.previousToken=g,this.name=sZe}};var zxe={},Uxe="InRuleRecoveryException",Wxe=class extends Error{constructor(c){super(c),this.name=Uxe}},Use=class{initRecoverable(c){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=mo(c,"recoveryEnabled")?c.recoveryEnabled:Ly.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=i$t)}getTokenToInsert(c){let _=WP(c,"",NaN,NaN,NaN,NaN,NaN,NaN);return _.isInsertedInRecovery=!0,_}canTokenTypeBeInsertedInRecovery(c){return!0}canTokenTypeBeDeletedInRecovery(c){return!0}tryInRepetitionRecovery(c,_,g,S){let w=this.findReSyncTokenType(),z=this.exportLexerState(),ie=[],de=!1,be=this.LA(1),Ee=this.LA(1),Oe=()=>{let Y=this.LA(0),ut=this.errorMessageProvider.buildMismatchTokenMessage({expected:S,actual:be,previous:Y,ruleName:this.getCurrRuleFullName()}),Ye=new UP(ut,be,this.LA(0));Ye.resyncedTokens=ak(ie),this.SAVE_ERROR(Ye)};for(;!de;)if(this.tokenMatcher(Ee,S)){Oe();return}else if(g.call(this)){Oe(),c.apply(this,_);return}else this.tokenMatcher(Ee,w)?de=!0:(Ee=this.SKIP_TOKEN(),this.addToResyncTokens(Ee,ie));this.importLexerState(z)}shouldInRepetitionRecoveryBeTried(c,_,g){return!(g===!1||this.tokenMatcher(this.LA(1),c)||this.isBackTracking()||this.canPerformInRuleRecovery(c,this.getFollowsForInRuleRecovery(c,_)))}getFollowsForInRuleRecovery(c,_){let g=this.getCurrentGrammarPath(c,_);return this.getNextPossibleTokenTypes(g)}tryInRuleRecovery(c,_){if(this.canRecoverWithSingleTokenInsertion(c,_))return this.getTokenToInsert(c);if(this.canRecoverWithSingleTokenDeletion(c)){let g=this.SKIP_TOKEN();return this.consumeToken(),g}throw new Wxe("sad sad panda")}canPerformInRuleRecovery(c,_){return this.canRecoverWithSingleTokenInsertion(c,_)||this.canRecoverWithSingleTokenDeletion(c)}canRecoverWithSingleTokenInsertion(c,_){if(!this.canTokenTypeBeInsertedInRecovery(c)||il(_))return!1;let g=this.LA(1);return bT(_,w=>this.tokenMatcher(g,w))!==void 0}canRecoverWithSingleTokenDeletion(c){return this.canTokenTypeBeDeletedInRecovery(c)?this.tokenMatcher(this.LA(2),c):!1}isInCurrentRuleReSyncSet(c){let _=this.getCurrFollowKey(),g=this.getFollowSetFromFollowKey(_);return Kp(g,c)}findReSyncTokenType(){let c=this.flattenFollowSet(),_=this.LA(1),g=2;for(;;){let S=bT(c,w=>Oxe(_,w));if(S!==void 0)return S;_=this.LA(g),g++}}getCurrFollowKey(){if(this.RULE_STACK.length===1)return zxe;let c=this.getLastExplicitRuleShortName(),_=this.getLastExplicitRuleOccurrenceIndex(),g=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(c),idxInCallingRule:_,inRule:this.shortRuleNameToFullName(g)}}buildFullFollowKeyStack(){let c=this.RULE_STACK,_=this.RULE_OCCURRENCE_STACK;return Ja(c,(g,S)=>S===0?zxe:{ruleName:this.shortRuleNameToFullName(g),idxInCallingRule:_[S],inRule:this.shortRuleNameToFullName(c[S-1])})}flattenFollowSet(){let c=Ja(this.buildFullFollowKeyStack(),_=>this.getFollowSetFromFollowKey(_));return Hh(c)}getFollowSetFromFollowKey(c){if(c===zxe)return[YS];let _=c.ruleName+c.idxInCallingRule+Tse+c.inRule;return this.resyncFollows[_]}addToResyncTokens(c,_){return this.tokenMatcher(c,YS)||_.push(c),_}reSyncTo(c){let _=[],g=this.LA(1);for(;this.tokenMatcher(g,c)===!1;)g=this.SKIP_TOKEN(),this.addToResyncTokens(g,_);return ak(_)}attemptInRepetitionRecovery(c,_,g,S,w,z,ie){}getCurrentGrammarPath(c,_){let g=this.getHumanReadableRuleStack(),S=np(this.RULE_OCCURRENCE_STACK);return{ruleStack:g,occurrenceStack:S,lastTok:c,lastTokOccurrence:_}}getHumanReadableRuleStack(){return Ja(this.RULE_STACK,c=>this.shortRuleNameToFullName(c))}};function i$t(p,c,_,g,S,w,z){let ie=this.getKeyForAutomaticLookahead(g,S),de=this.firstAfterRepMap[ie];if(de===void 0){let Y=this.getCurrRuleFullName(),ut=this.getGAstProductions()[Y];de=new w(ut,S).startWalking(),this.firstAfterRepMap[ie]=de}let be=de.token,Ee=de.occurrence,Oe=de.isEndOfRule;this.RULE_STACK.length===1&&Oe&&be===void 0&&(be=YS,Ee=1),!(be===void 0||Ee===void 0)&&this.shouldInRepetitionRecoveryBeTried(be,Ee,z)&&this.tryInRepetitionRecovery(p,c,_,be)}function Vse(p,c,_){return _|c|p}var $U=class{constructor(c){var _;this.maxLookahead=(_=c?.maxLookahead)!==null&&_!==void 0?_:Ly.maxLookahead}validate(c){let _=this.validateNoLeftRecursion(c.rules);if(il(_)){let g=this.validateEmptyOrAlternatives(c.rules),S=this.validateAmbiguousAlternationAlternatives(c.rules,this.maxLookahead),w=this.validateSomeNonEmptyLookaheadPath(c.rules,this.maxLookahead);return[..._,...g,...S,...w]}return _}validateNoLeftRecursion(c){return Py(c,_=>qxe(_,_,ZS))}validateEmptyOrAlternatives(c){return Py(c,_=>YYe(_,ZS))}validateAmbiguousAlternationAlternatives(c,_){return Py(c,g=>ZYe(g,_,ZS))}validateSomeNonEmptyLookaheadPath(c,_){return eZe(c,_,ZS)}buildLookaheadForAlternation(c){return qYe(c.prodOccurrence,c.rule,c.maxLookahead,c.hasPredicates,c.dynamicTokensEnabled,WYe)}buildLookaheadForOptional(c){return zYe(c.prodOccurrence,c.rule,c.maxLookahead,c.dynamicTokensEnabled,qse(c.prodType),UYe)}};var $se=class{initLooksAhead(c){this.dynamicTokensEnabled=mo(c,"dynamicTokensEnabled")?c.dynamicTokensEnabled:Ly.dynamicTokensEnabled,this.maxLookahead=mo(c,"maxLookahead")?c.maxLookahead:Ly.maxLookahead,this.lookaheadStrategy=mo(c,"lookaheadStrategy")?c.lookaheadStrategy:new $U({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(c){ao(c,_=>{this.TRACE_INIT(`${_.name} Rule Lookahead`,()=>{let{alternation:g,repetition:S,option:w,repetitionMandatory:z,repetitionMandatoryWithSeparator:ie,repetitionWithSeparator:de}=s$t(_);ao(g,be=>{let Ee=be.idx===0?"":be.idx;this.TRACE_INIT(`${zv(be)}${Ee}`,()=>{let Oe=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:be.idx,rule:_,maxLookahead:be.maxLookahead||this.maxLookahead,hasPredicates:be.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled}),Y=Vse(this.fullRuleNameToShort[_.name],256,be.idx);this.setLaFuncCache(Y,Oe)})}),ao(S,be=>{this.computeLookaheadFunc(_,be.idx,768,"Repetition",be.maxLookahead,zv(be))}),ao(w,be=>{this.computeLookaheadFunc(_,be.idx,512,"Option",be.maxLookahead,zv(be))}),ao(z,be=>{this.computeLookaheadFunc(_,be.idx,1024,"RepetitionMandatory",be.maxLookahead,zv(be))}),ao(ie,be=>{this.computeLookaheadFunc(_,be.idx,1536,"RepetitionMandatoryWithSeparator",be.maxLookahead,zv(be))}),ao(de,be=>{this.computeLookaheadFunc(_,be.idx,1280,"RepetitionWithSeparator",be.maxLookahead,zv(be))})})})}computeLookaheadFunc(c,_,g,S,w,z){this.TRACE_INIT(`${z}${_===0?"":_}`,()=>{let ie=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:_,rule:c,maxLookahead:w||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:S}),de=Vse(this.fullRuleNameToShort[c.name],g,_);this.setLaFuncCache(de,ie)})}getKeyForAutomaticLookahead(c,_){let g=this.getLastExplicitRuleShortName();return Vse(g,c,_)}getLaFuncFromCache(c){return this.lookAheadFuncsCache.get(c)}setLaFuncCache(c,_){this.lookAheadFuncsCache.set(c,_)}},Vxe=class extends Oy{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(c){this.dslMethods.option.push(c)}visitRepetitionWithSeparator(c){this.dslMethods.repetitionWithSeparator.push(c)}visitRepetitionMandatory(c){this.dslMethods.repetitionMandatory.push(c)}visitRepetitionMandatoryWithSeparator(c){this.dslMethods.repetitionMandatoryWithSeparator.push(c)}visitRepetition(c){this.dslMethods.repetition.push(c)}visitAlternation(c){this.dslMethods.alternation.push(c)}},Gse=new Vxe;function s$t(p){Gse.reset(),p.accept(Gse);let c=Gse.dslMethods;return Gse.reset(),c}function Hxe(p,c){isNaN(p.startOffset)===!0?(p.startOffset=c.startOffset,p.endOffset=c.endOffset):p.endOffset<c.endOffset&&(p.endOffset=c.endOffset)}function Kxe(p,c){isNaN(p.startOffset)===!0?(p.startOffset=c.startOffset,p.startColumn=c.startColumn,p.startLine=c.startLine,p.endOffset=c.endOffset,p.endColumn=c.endColumn,p.endLine=c.endLine):p.endOffset<c.endOffset&&(p.endOffset=c.endOffset,p.endColumn=c.endColumn,p.endLine=c.endLine)}function cZe(p,c,_){p.children[_]===void 0?p.children[_]=[c]:p.children[_].push(c)}function uZe(p,c,_){p.children[c]===void 0?p.children[c]=[_]:p.children[c].push(_)}var a$t="name";function Qxe(p,c){Object.defineProperty(p,a$t,{enumerable:!1,configurable:!0,writable:!1,value:c})}function o$t(p,c){let _=tp(p),g=_.length;for(let S=0;S<g;S++){let w=_[S],z=p[w],ie=z.length;for(let de=0;de<ie;de++){let be=z[de];be.tokenTypeIdx===void 0&&this[be.name](be.children,c)}}}function lZe(p,c){let _=function(){};Qxe(_,p+"BaseSemantics");let g={visit:function(S,w){if(To(S)&&(S=S[0]),!I1(S))return this[S.name](S.children,w)},validateVisitor:function(){let S=c$t(this,c);if(!il(S)){let w=Ja(S,z=>z.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>:
946
+ see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError(_){return"deprecated"},buildDuplicateRuleNameError(_){let c;return _.topLevelRule instanceof Ny?c=_.topLevelRule.name:c=_.topLevelRule,`Duplicate definition, rule: ->${c}<- is already defined in the grammar: ->${_.grammarName}<-`}};function jYe(_,c){let p=new Lxe(_,c);return p.resolveRefs(),p.errors}var Lxe=class extends Oy{constructor(c,p){super(),this.nameToTopRule=c,this.errMsgProvider=p,this.errors=[]}resolveRefs(){ao(S_(this.nameToTopRule),c=>{this.currTopLevel=c,c.accept(this)})}visitNonTerminal(c){let p=this.nameToTopRule[c.nonTerminalName];if(p)c.referencedRule=p;else{let g=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,c);this.errors.push({message:g,type:Qh.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:c.nonTerminalName})}}};var Rxe=class extends ok{constructor(c,p){super(),this.topProd=c,this.path=p,this.possibleTokTypes=[],this.nextProductionName="",this.nextProductionOccurrence=0,this.found=!1,this.isAtEndOfPath=!1}startWalking(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=np(this.path.ruleStack).reverse(),this.occurrenceStack=np(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes}walk(c,p=[]){this.found||super.walk(c,p)}walkProdRef(c,p,g){if(c.referencedRule.name===this.nextProductionName&&c.idx===this.nextProductionOccurrence){let S=p.concat(g);this.updateExpectedNext(),this.walk(c.referencedRule,S)}}updateExpectedNext(){il(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())}},Lse=class extends Rxe{constructor(c,p){super(c,p),this.path=p,this.nextTerminalName="",this.nextTerminalOccurrence=0,this.nextTerminalName=this.path.lastTok.name,this.nextTerminalOccurrence=this.path.lastTokOccurrence}walkTerminal(c,p,g){if(this.isAtEndOfPath&&c.terminalType.name===this.nextTerminalName&&c.idx===this.nextTerminalOccurrence&&!this.found){let S=p.concat(g),w=new sp({definition:S});this.possibleTokTypes=jP(w),this.found=!0}}},uR=class extends ok{constructor(c,p){super(),this.topRule=c,this.occurrence=p,this.result={token:void 0,occurrence:void 0,isEndOfRule:void 0}}startWalking(){return this.walk(this.topRule),this.result}},Rse=class extends uR{walkMany(c,p,g){if(c.idx===this.occurrence){let S=Vg(p.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkMany(c,p,g)}},jU=class extends uR{walkManySep(c,p,g){if(c.idx===this.occurrence){let S=Vg(p.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkManySep(c,p,g)}},Mse=class extends uR{walkAtLeastOne(c,p,g){if(c.idx===this.occurrence){let S=Vg(p.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkAtLeastOne(c,p,g)}},JU=class extends uR{walkAtLeastOneSep(c,p,g){if(c.idx===this.occurrence){let S=Vg(p.concat(g));this.result.isEndOfRule=S===void 0,S instanceof Fl&&(this.result.token=S.terminalType,this.result.occurrence=S.idx)}else super.walkAtLeastOneSep(c,p,g)}};function Bse(_,c,p=[]){p=np(p);let g=[],S=0;function w(ie){return ie.concat(Mm(_,S+1))}function z(ie){let de=Bse(w(ie),c,p);return g.concat(de)}for(;p.length<c&&S<_.length;){let ie=_[S];if(ie instanceof sp)return z(ie.definition);if(ie instanceof ip)return z(ie.definition);if(ie instanceof Rp)g=z(ie.definition);else if(ie instanceof Bm){let de=ie.definition.concat([new Vf({definition:ie.definition})]);return z(de)}else if(ie instanceof jm){let de=[new sp({definition:ie.definition}),new Vf({definition:[new Fl({terminalType:ie.separator})].concat(ie.definition)})];return z(de)}else if(ie instanceof am){let de=ie.definition.concat([new Vf({definition:[new Fl({terminalType:ie.separator})].concat(ie.definition)})]);g=z(de)}else if(ie instanceof Vf){let de=ie.definition.concat([new Vf({definition:ie.definition})]);g=z(de)}else{if(ie instanceof om)return ao(ie.definition,de=>{il(de.definition)===!1&&(g=z(de.definition))}),g;if(ie instanceof Fl)p.push(ie.terminalType);else throw Error("non exhaustive match")}S++}return g.push({partialPath:p,suffixDef:Mm(_,S)}),g}function jse(_,c,p,g){let S="EXIT_NONE_TERMINAL",w=[S],z="EXIT_ALTERNATIVE",ie=!1,de=c.length,be=de-g-1,Ee=[],Oe=[];for(Oe.push({idx:-1,def:_,ruleStack:[],occurrenceStack:[]});!il(Oe);){let Y=Oe.pop();if(Y===z){ie&&DT(Oe).idx<=be&&Oe.pop();continue}let ut=Y.def,Ye=Y.idx,We=Y.ruleStack,Ut=Y.occurrenceStack;if(il(ut))continue;let _r=ut[0];if(_r===S){let Hr={idx:Ye,def:Mm(ut),ruleStack:ak(We),occurrenceStack:ak(Ut)};Oe.push(Hr)}else if(_r instanceof Fl)if(Ye<de-1){let Hr=Ye+1,On=c[Hr];if(p(On,_r.terminalType)){let Hi={idx:Hr,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hi)}}else if(Ye===de-1)Ee.push({nextTokenType:_r.terminalType,nextTokenOccurrence:_r.idx,ruleStack:We,occurrenceStack:Ut}),ie=!0;else throw Error("non exhaustive match");else if(_r instanceof ip){let Hr=np(We);Hr.push(_r.nonTerminalName);let On=np(Ut);On.push(_r.idx);let Hi={idx:Ye,def:_r.definition.concat(w,Mm(ut)),ruleStack:Hr,occurrenceStack:On};Oe.push(Hi)}else if(_r instanceof Rp){let Hr={idx:Ye,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hr),Oe.push(z);let On={idx:Ye,def:_r.definition.concat(Mm(ut)),ruleStack:We,occurrenceStack:Ut};Oe.push(On)}else if(_r instanceof Bm){let Hr=new Vf({definition:_r.definition,idx:_r.idx}),On=_r.definition.concat([Hr],Mm(ut)),Hi={idx:Ye,def:On,ruleStack:We,occurrenceStack:Ut};Oe.push(Hi)}else if(_r instanceof jm){let Hr=new Fl({terminalType:_r.separator}),On=new Vf({definition:[Hr].concat(_r.definition),idx:_r.idx}),Hi=_r.definition.concat([On],Mm(ut)),us={idx:Ye,def:Hi,ruleStack:We,occurrenceStack:Ut};Oe.push(us)}else if(_r instanceof am){let Hr={idx:Ye,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hr),Oe.push(z);let On=new Fl({terminalType:_r.separator}),Hi=new Vf({definition:[On].concat(_r.definition),idx:_r.idx}),us=_r.definition.concat([Hi],Mm(ut)),Hn={idx:Ye,def:us,ruleStack:We,occurrenceStack:Ut};Oe.push(Hn)}else if(_r instanceof Vf){let Hr={idx:Ye,def:Mm(ut),ruleStack:We,occurrenceStack:Ut};Oe.push(Hr),Oe.push(z);let On=new Vf({definition:_r.definition,idx:_r.idx}),Hi=_r.definition.concat([On],Mm(ut)),us={idx:Ye,def:Hi,ruleStack:We,occurrenceStack:Ut};Oe.push(us)}else if(_r instanceof om)for(let Hr=_r.definition.length-1;Hr>=0;Hr--){let On=_r.definition[Hr],Hi={idx:Ye,def:On.definition.concat(Mm(ut)),ruleStack:We,occurrenceStack:Ut};Oe.push(Hi),Oe.push(z)}else if(_r instanceof sp)Oe.push({idx:Ye,def:_r.definition.concat(Mm(ut)),ruleStack:We,occurrenceStack:Ut});else if(_r instanceof Ny)Oe.push(KGt(_r,Ye,We,Ut));else throw Error("non exhaustive match")}return Ee}function KGt(_,c,p,g){let S=np(p);S.push(_.name);let w=np(g);return w.push(1),{idx:c,def:_.definition,ruleStack:S,occurrenceStack:w}}var Fd;(function(_){_[_.OPTION=0]="OPTION",_[_.REPETITION=1]="REPETITION",_[_.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",_[_.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",_[_.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",_[_.ALTERNATION=5]="ALTERNATION"})(Fd||(Fd={}));function qse(_){if(_ instanceof Rp||_==="Option")return Fd.OPTION;if(_ instanceof Vf||_==="Repetition")return Fd.REPETITION;if(_ instanceof Bm||_==="RepetitionMandatory")return Fd.REPETITION_MANDATORY;if(_ instanceof jm||_==="RepetitionMandatoryWithSeparator")return Fd.REPETITION_MANDATORY_WITH_SEPARATOR;if(_ instanceof am||_==="RepetitionWithSeparator")return Fd.REPETITION_WITH_SEPARATOR;if(_ instanceof om||_==="Alternation")return Fd.ALTERNATION;throw Error("non exhaustive match")}function qYe(_,c,p,g,S,w){let z=qU(_,c,p),ie=$Ye(z)?cR:ck;return w(z,g,ie,S)}function zYe(_,c,p,g,S,w){let z=zU(_,c,S,p),ie=$Ye(z)?cR:ck;return w(z[0],ie,g)}function WYe(_,c,p,g){let S=_.length,w=F1(_,z=>F1(z,ie=>ie.length===1));if(c)return function(z){let ie=Ja(z,de=>de.GATE);for(let de=0;de<S;de++){let be=_[de],Ee=be.length,Oe=ie[de];if(!(Oe!==void 0&&Oe.call(this)===!1))e:for(let Y=0;Y<Ee;Y++){let ut=be[Y],Ye=ut.length;for(let We=0;We<Ye;We++){let Ut=this.LA(We+1);if(p(Ut,ut[We])===!1)continue e}return de}}};if(w&&!g){let z=Ja(_,de=>Hh(de)),ie=_h(z,(de,be,Ee)=>(ao(be,Oe=>{mo(de,Oe.tokenTypeIdx)||(de[Oe.tokenTypeIdx]=Ee),ao(Oe.categoryMatches,Y=>{mo(de,Y)||(de[Y]=Ee)})}),de),{});return function(){let de=this.LA(1);return ie[de.tokenTypeIdx]}}else return function(){for(let z=0;z<S;z++){let ie=_[z],de=ie.length;e:for(let be=0;be<de;be++){let Ee=ie[be],Oe=Ee.length;for(let Y=0;Y<Oe;Y++){let ut=this.LA(Y+1);if(p(ut,Ee[Y])===!1)continue e}return z}}}}function UYe(_,c,p){let g=F1(_,w=>w.length===1),S=_.length;if(g&&!p){let w=Hh(_);if(w.length===1&&il(w[0].categoryMatches)){let ie=w[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===ie}}else{let z=_h(w,(ie,de,be)=>(ie[de.tokenTypeIdx]=!0,ao(de.categoryMatches,Ee=>{ie[Ee]=!0}),ie),[]);return function(){let ie=this.LA(1);return z[ie.tokenTypeIdx]===!0}}}else return function(){e:for(let w=0;w<S;w++){let z=_[w],ie=z.length;for(let de=0;de<ie;de++){let be=this.LA(de+1);if(c(be,z[de])===!1)continue e}return!0}return!1}}var Bxe=class extends ok{constructor(c,p,g){super(),this.topProd=c,this.targetOccurrence=p,this.targetProdType=g}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(c,p,g,S){return c.idx===this.targetOccurrence&&this.targetProdType===p?(this.restDef=g.concat(S),!0):!1}walkOption(c,p,g){this.checkIsTarget(c,Fd.OPTION,p,g)||super.walkOption(c,p,g)}walkAtLeastOne(c,p,g){this.checkIsTarget(c,Fd.REPETITION_MANDATORY,p,g)||super.walkOption(c,p,g)}walkAtLeastOneSep(c,p,g){this.checkIsTarget(c,Fd.REPETITION_MANDATORY_WITH_SEPARATOR,p,g)||super.walkOption(c,p,g)}walkMany(c,p,g){this.checkIsTarget(c,Fd.REPETITION,p,g)||super.walkOption(c,p,g)}walkManySep(c,p,g){this.checkIsTarget(c,Fd.REPETITION_WITH_SEPARATOR,p,g)||super.walkOption(c,p,g)}},Jse=class extends Oy{constructor(c,p,g){super(),this.targetOccurrence=c,this.targetProdType=p,this.targetRef=g,this.result=[]}checkIsTarget(c,p){c.idx===this.targetOccurrence&&this.targetProdType===p&&(this.targetRef===void 0||c===this.targetRef)&&(this.result=c.definition)}visitOption(c){this.checkIsTarget(c,Fd.OPTION)}visitRepetition(c){this.checkIsTarget(c,Fd.REPETITION)}visitRepetitionMandatory(c){this.checkIsTarget(c,Fd.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(c){this.checkIsTarget(c,Fd.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(c){this.checkIsTarget(c,Fd.REPETITION_WITH_SEPARATOR)}visitAlternation(c){this.checkIsTarget(c,Fd.ALTERNATION)}};function JYe(_){let c=new Array(_);for(let p=0;p<_;p++)c[p]=[];return c}function Mxe(_){let c=[""];for(let p=0;p<_.length;p++){let g=_[p],S=[];for(let w=0;w<c.length;w++){let z=c[w];S.push(z+"_"+g.tokenTypeIdx);for(let ie=0;ie<g.categoryMatches.length;ie++){let de="_"+g.categoryMatches[ie];S.push(z+de)}}c=S}return c}function QGt(_,c,p){for(let g=0;g<_.length;g++){if(g===p)continue;let S=_[g];for(let w=0;w<c.length;w++){let z=c[w];if(S[z]===!0)return!1}}return!0}function VYe(_,c){let p=Ja(_,z=>Bse([z],1)),g=JYe(p.length),S=Ja(p,z=>{let ie={};return ao(z,de=>{let be=Mxe(de.partialPath);ao(be,Ee=>{ie[Ee]=!0})}),ie}),w=p;for(let z=1;z<=c;z++){let ie=w;w=JYe(ie.length);for(let de=0;de<ie.length;de++){let be=ie[de];for(let Ee=0;Ee<be.length;Ee++){let Oe=be[Ee].partialPath,Y=be[Ee].suffixDef,ut=Mxe(Oe);if(QGt(S,ut,de)||il(Y)||Oe.length===c){let We=g[de];if(zse(We,Oe)===!1){We.push(Oe);for(let Ut=0;Ut<ut.length;Ut++){let _r=ut[Ut];S[de][_r]=!0}}}else{let We=Bse(Y,z+1,Oe);w[de]=w[de].concat(We),ao(We,Ut=>{let _r=Mxe(Ut.partialPath);ao(_r,Hr=>{S[de][Hr]=!0})})}}}}return g}function qU(_,c,p,g){let S=new Jse(_,Fd.ALTERNATION,g);return c.accept(S),VYe(S.result,p)}function zU(_,c,p,g){let S=new Jse(_,p);c.accept(S);let w=S.result,ie=new Bxe(c,_,p).startWalking(),de=new sp({definition:w}),be=new sp({definition:ie});return VYe([de,be],g)}function zse(_,c){e:for(let p=0;p<_.length;p++){let g=_[p];if(g.length===c.length){for(let S=0;S<g.length;S++){let w=c[S],z=g[S];if((w===z||z.categoryMatchesMap[w.tokenTypeIdx]!==void 0)===!1)continue e}return!0}}return!1}function GYe(_,c){return _.length<c.length&&F1(_,(p,g)=>{let S=c[g];return p===S||S.categoryMatchesMap[p.tokenTypeIdx]})}function $Ye(_){return F1(_,c=>F1(c,p=>F1(p,g=>il(g.categoryMatches))))}function HYe(_){let c=_.lookaheadStrategy.validate({rules:_.rules,tokenTypes:_.tokenTypes,grammarName:_.grammarName});return Ja(c,p=>Object.assign({type:Qh.CUSTOM_LOOKAHEAD_VALIDATION},p))}function KYe(_,c,p,g){let S=Py(_,de=>XGt(de,p)),w=n$t(_,c,p),z=Py(_,de=>e$t(de,p)),ie=Py(_,de=>ZGt(de,_,g,p));return S.concat(w,z,ie)}function XGt(_,c){let p=new jxe;_.accept(p);let g=p.allProductions,S=Dxe(g,YGt),w=qv(S,ie=>ie.length>1);return Ja(S_(w),ie=>{let de=Vg(ie),be=c.buildDuplicateFoundError(_,ie),Ee=zv(de),Oe={message:be,type:Qh.DUPLICATE_PRODUCTIONS,ruleName:_.name,dslName:Ee,occurrence:de.idx},Y=QYe(de);return Y&&(Oe.parameter=Y),Oe})}function YGt(_){return`${zv(_)}_#_${_.idx}_#_${QYe(_)}`}function QYe(_){return _ instanceof Fl?_.terminalType.name:_ instanceof ip?_.nonTerminalName:""}var jxe=class extends Oy{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(c){this.allProductions.push(c)}visitOption(c){this.allProductions.push(c)}visitRepetitionWithSeparator(c){this.allProductions.push(c)}visitRepetitionMandatory(c){this.allProductions.push(c)}visitRepetitionMandatoryWithSeparator(c){this.allProductions.push(c)}visitRepetition(c){this.allProductions.push(c)}visitAlternation(c){this.allProductions.push(c)}visitTerminal(c){this.allProductions.push(c)}};function ZGt(_,c,p,g){let S=[];if(_h(c,(z,ie)=>ie.name===_.name?z+1:z,0)>1){let z=g.buildDuplicateRuleNameError({topLevelRule:_,grammarName:p});S.push({message:z,type:Qh.DUPLICATE_RULE_NAME,ruleName:_.name})}return S}function XYe(_,c,p){let g=[],S;return Kp(c,_)||(S=`Invalid rule override, rule: ->${_}<- cannot be overridden in the grammar: ->${p}<-as it is not defined in any of the super grammars `,g.push({message:S,type:Qh.INVALID_RULE_OVERRIDE,ruleName:_})),g}function qxe(_,c,p,g=[]){let S=[],w=Wse(c.definition);if(il(w))return[];{let z=_.name;Kp(w,_)&&S.push({message:p.buildLeftRecursionError({topLevelRule:_,leftRecursionPath:g}),type:Qh.LEFT_RECURSION,ruleName:z});let de=k4(w,g.concat([_])),be=Py(de,Ee=>{let Oe=np(g);return Oe.push(Ee),qxe(_,Ee,p,Oe)});return S.concat(be)}}function Wse(_){let c=[];if(il(_))return c;let p=Vg(_);if(p instanceof ip)c.push(p.referencedRule);else if(p instanceof sp||p instanceof Rp||p instanceof Bm||p instanceof jm||p instanceof am||p instanceof Vf)c=c.concat(Wse(p.definition));else if(p instanceof om)c=Hh(Ja(p.definition,w=>Wse(w.definition)));else if(!(p instanceof Fl))throw Error("non exhaustive match");let g=BP(p),S=_.length>1;if(g&&S){let w=Mm(_);return c.concat(Wse(w))}else return c}var WU=class extends Oy{constructor(){super(...arguments),this.alternations=[]}visitAlternation(c){this.alternations.push(c)}};function YYe(_,c){let p=new WU;_.accept(p);let g=p.alternations;return Py(g,w=>{let z=ak(w.definition);return Py(z,(ie,de)=>{let be=jse([ie],[],ck,1);return il(be)?[{message:c.buildEmptyAlternationError({topLevelRule:_,alternation:w,emptyChoiceIdx:de}),type:Qh.NONE_LAST_EMPTY_ALT,ruleName:_.name,occurrence:w.idx,alternative:de+1}]:[]})})}function ZYe(_,c,p){let g=new WU;_.accept(g);let S=g.alternations;return S=I4(S,z=>z.ignoreAmbiguities===!0),Py(S,z=>{let ie=z.idx,de=z.maxLookahead||c,be=qU(ie,_,de,z),Ee=t$t(be,z,_,p),Oe=r$t(be,z,_,p);return Ee.concat(Oe)})}var Jxe=class extends Oy{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(c){this.allProductions.push(c)}visitRepetitionMandatory(c){this.allProductions.push(c)}visitRepetitionMandatoryWithSeparator(c){this.allProductions.push(c)}visitRepetition(c){this.allProductions.push(c)}};function e$t(_,c){let p=new WU;_.accept(p);let g=p.alternations;return Py(g,w=>w.definition.length>255?[{message:c.buildTooManyAlternativesError({topLevelRule:_,alternation:w}),type:Qh.TOO_MANY_ALTS,ruleName:_.name,occurrence:w.idx}]:[])}function eZe(_,c,p){let g=[];return ao(_,S=>{let w=new Jxe;S.accept(w);let z=w.allProductions;ao(z,ie=>{let de=qse(ie),be=ie.maxLookahead||c,Ee=ie.idx,Y=zU(Ee,S,de,be)[0];if(il(Hh(Y))){let ut=p.buildEmptyRepetitionError({topLevelRule:S,repetition:ie});g.push({message:ut,type:Qh.NO_NON_EMPTY_LOOKAHEAD,ruleName:S.name})}})}),g}function t$t(_,c,p,g){let S=[],w=_h(_,(ie,de,be)=>(c.definition[be].ignoreAmbiguities===!0||ao(de,Ee=>{let Oe=[be];ao(_,(Y,ut)=>{be!==ut&&zse(Y,Ee)&&c.definition[ut].ignoreAmbiguities!==!0&&Oe.push(ut)}),Oe.length>1&&!zse(S,Ee)&&(S.push(Ee),ie.push({alts:Oe,path:Ee}))}),ie),[]);return Ja(w,ie=>{let de=Ja(ie.alts,Ee=>Ee+1);return{message:g.buildAlternationAmbiguityError({topLevelRule:p,alternation:c,ambiguityIndices:de,prefixPath:ie.path}),type:Qh.AMBIGUOUS_ALTS,ruleName:p.name,occurrence:c.idx,alternatives:ie.alts}})}function r$t(_,c,p,g){let S=_h(_,(z,ie,de)=>{let be=Ja(ie,Ee=>({idx:de,path:Ee}));return z.concat(be)},[]);return vT(Py(S,z=>{if(c.definition[z.idx].ignoreAmbiguities===!0)return[];let de=z.idx,be=z.path,Ee=k1(S,Y=>c.definition[Y.idx].ignoreAmbiguities!==!0&&Y.idx<de&&GYe(Y.path,be));return Ja(Ee,Y=>{let ut=[Y.idx+1,de+1],Ye=c.idx===0?"":c.idx;return{message:g.buildAlternationPrefixAmbiguityError({topLevelRule:p,alternation:c,ambiguityIndices:ut,prefixPath:Y.path}),type:Qh.AMBIGUOUS_PREFIX_ALTS,ruleName:p.name,occurrence:Ye,alternatives:ut}})}))}function n$t(_,c,p){let g=[],S=Ja(c,w=>w.name);return ao(_,w=>{let z=w.name;if(Kp(S,z)){let ie=p.buildNamespaceConflictError(w);g.push({message:ie,type:Qh.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:z})}}),g}function tZe(_){let c=eR(_,{errMsgProvider:BYe}),p={};return ao(_.rules,g=>{p[g.name]=g}),jYe(p,c.errMsgProvider)}function rZe(_){return _=eR(_,{errMsgProvider:ZS}),KYe(_.rules,_.tokenTypes,_.errMsgProvider,_.grammarName)}var nZe="MismatchedTokenException",iZe="NoViableAltException",sZe="EarlyExitException",aZe="NotAllInputParsedException",oZe=[nZe,iZe,sZe,aZe];Object.freeze(oZe);function P4(_){return Kp(oZe,_.name)}var lR=class extends Error{constructor(c,p){super(c),this.token=p,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},UP=class extends lR{constructor(c,p,g){super(c,p),this.previousToken=g,this.name=nZe}},UU=class extends lR{constructor(c,p,g){super(c,p),this.previousToken=g,this.name=iZe}},VU=class extends lR{constructor(c,p){super(c,p),this.name=aZe}},GU=class extends lR{constructor(c,p,g){super(c,p),this.previousToken=g,this.name=sZe}};var zxe={},Uxe="InRuleRecoveryException",Wxe=class extends Error{constructor(c){super(c),this.name=Uxe}},Use=class{initRecoverable(c){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=mo(c,"recoveryEnabled")?c.recoveryEnabled:Ly.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=i$t)}getTokenToInsert(c){let p=WP(c,"",NaN,NaN,NaN,NaN,NaN,NaN);return p.isInsertedInRecovery=!0,p}canTokenTypeBeInsertedInRecovery(c){return!0}canTokenTypeBeDeletedInRecovery(c){return!0}tryInRepetitionRecovery(c,p,g,S){let w=this.findReSyncTokenType(),z=this.exportLexerState(),ie=[],de=!1,be=this.LA(1),Ee=this.LA(1),Oe=()=>{let Y=this.LA(0),ut=this.errorMessageProvider.buildMismatchTokenMessage({expected:S,actual:be,previous:Y,ruleName:this.getCurrRuleFullName()}),Ye=new UP(ut,be,this.LA(0));Ye.resyncedTokens=ak(ie),this.SAVE_ERROR(Ye)};for(;!de;)if(this.tokenMatcher(Ee,S)){Oe();return}else if(g.call(this)){Oe(),c.apply(this,p);return}else this.tokenMatcher(Ee,w)?de=!0:(Ee=this.SKIP_TOKEN(),this.addToResyncTokens(Ee,ie));this.importLexerState(z)}shouldInRepetitionRecoveryBeTried(c,p,g){return!(g===!1||this.tokenMatcher(this.LA(1),c)||this.isBackTracking()||this.canPerformInRuleRecovery(c,this.getFollowsForInRuleRecovery(c,p)))}getFollowsForInRuleRecovery(c,p){let g=this.getCurrentGrammarPath(c,p);return this.getNextPossibleTokenTypes(g)}tryInRuleRecovery(c,p){if(this.canRecoverWithSingleTokenInsertion(c,p))return this.getTokenToInsert(c);if(this.canRecoverWithSingleTokenDeletion(c)){let g=this.SKIP_TOKEN();return this.consumeToken(),g}throw new Wxe("sad sad panda")}canPerformInRuleRecovery(c,p){return this.canRecoverWithSingleTokenInsertion(c,p)||this.canRecoverWithSingleTokenDeletion(c)}canRecoverWithSingleTokenInsertion(c,p){if(!this.canTokenTypeBeInsertedInRecovery(c)||il(p))return!1;let g=this.LA(1);return bT(p,w=>this.tokenMatcher(g,w))!==void 0}canRecoverWithSingleTokenDeletion(c){return this.canTokenTypeBeDeletedInRecovery(c)?this.tokenMatcher(this.LA(2),c):!1}isInCurrentRuleReSyncSet(c){let p=this.getCurrFollowKey(),g=this.getFollowSetFromFollowKey(p);return Kp(g,c)}findReSyncTokenType(){let c=this.flattenFollowSet(),p=this.LA(1),g=2;for(;;){let S=bT(c,w=>Oxe(p,w));if(S!==void 0)return S;p=this.LA(g),g++}}getCurrFollowKey(){if(this.RULE_STACK.length===1)return zxe;let c=this.getLastExplicitRuleShortName(),p=this.getLastExplicitRuleOccurrenceIndex(),g=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(c),idxInCallingRule:p,inRule:this.shortRuleNameToFullName(g)}}buildFullFollowKeyStack(){let c=this.RULE_STACK,p=this.RULE_OCCURRENCE_STACK;return Ja(c,(g,S)=>S===0?zxe:{ruleName:this.shortRuleNameToFullName(g),idxInCallingRule:p[S],inRule:this.shortRuleNameToFullName(c[S-1])})}flattenFollowSet(){let c=Ja(this.buildFullFollowKeyStack(),p=>this.getFollowSetFromFollowKey(p));return Hh(c)}getFollowSetFromFollowKey(c){if(c===zxe)return[YS];let p=c.ruleName+c.idxInCallingRule+Tse+c.inRule;return this.resyncFollows[p]}addToResyncTokens(c,p){return this.tokenMatcher(c,YS)||p.push(c),p}reSyncTo(c){let p=[],g=this.LA(1);for(;this.tokenMatcher(g,c)===!1;)g=this.SKIP_TOKEN(),this.addToResyncTokens(g,p);return ak(p)}attemptInRepetitionRecovery(c,p,g,S,w,z,ie){}getCurrentGrammarPath(c,p){let g=this.getHumanReadableRuleStack(),S=np(this.RULE_OCCURRENCE_STACK);return{ruleStack:g,occurrenceStack:S,lastTok:c,lastTokOccurrence:p}}getHumanReadableRuleStack(){return Ja(this.RULE_STACK,c=>this.shortRuleNameToFullName(c))}};function i$t(_,c,p,g,S,w,z){let ie=this.getKeyForAutomaticLookahead(g,S),de=this.firstAfterRepMap[ie];if(de===void 0){let Y=this.getCurrRuleFullName(),ut=this.getGAstProductions()[Y];de=new w(ut,S).startWalking(),this.firstAfterRepMap[ie]=de}let be=de.token,Ee=de.occurrence,Oe=de.isEndOfRule;this.RULE_STACK.length===1&&Oe&&be===void 0&&(be=YS,Ee=1),!(be===void 0||Ee===void 0)&&this.shouldInRepetitionRecoveryBeTried(be,Ee,z)&&this.tryInRepetitionRecovery(_,c,p,be)}function Vse(_,c,p){return p|c|_}var $U=class{constructor(c){var p;this.maxLookahead=(p=c?.maxLookahead)!==null&&p!==void 0?p:Ly.maxLookahead}validate(c){let p=this.validateNoLeftRecursion(c.rules);if(il(p)){let g=this.validateEmptyOrAlternatives(c.rules),S=this.validateAmbiguousAlternationAlternatives(c.rules,this.maxLookahead),w=this.validateSomeNonEmptyLookaheadPath(c.rules,this.maxLookahead);return[...p,...g,...S,...w]}return p}validateNoLeftRecursion(c){return Py(c,p=>qxe(p,p,ZS))}validateEmptyOrAlternatives(c){return Py(c,p=>YYe(p,ZS))}validateAmbiguousAlternationAlternatives(c,p){return Py(c,g=>ZYe(g,p,ZS))}validateSomeNonEmptyLookaheadPath(c,p){return eZe(c,p,ZS)}buildLookaheadForAlternation(c){return qYe(c.prodOccurrence,c.rule,c.maxLookahead,c.hasPredicates,c.dynamicTokensEnabled,WYe)}buildLookaheadForOptional(c){return zYe(c.prodOccurrence,c.rule,c.maxLookahead,c.dynamicTokensEnabled,qse(c.prodType),UYe)}};var $se=class{initLooksAhead(c){this.dynamicTokensEnabled=mo(c,"dynamicTokensEnabled")?c.dynamicTokensEnabled:Ly.dynamicTokensEnabled,this.maxLookahead=mo(c,"maxLookahead")?c.maxLookahead:Ly.maxLookahead,this.lookaheadStrategy=mo(c,"lookaheadStrategy")?c.lookaheadStrategy:new $U({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(c){ao(c,p=>{this.TRACE_INIT(`${p.name} Rule Lookahead`,()=>{let{alternation:g,repetition:S,option:w,repetitionMandatory:z,repetitionMandatoryWithSeparator:ie,repetitionWithSeparator:de}=s$t(p);ao(g,be=>{let Ee=be.idx===0?"":be.idx;this.TRACE_INIT(`${zv(be)}${Ee}`,()=>{let Oe=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:be.idx,rule:p,maxLookahead:be.maxLookahead||this.maxLookahead,hasPredicates:be.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled}),Y=Vse(this.fullRuleNameToShort[p.name],256,be.idx);this.setLaFuncCache(Y,Oe)})}),ao(S,be=>{this.computeLookaheadFunc(p,be.idx,768,"Repetition",be.maxLookahead,zv(be))}),ao(w,be=>{this.computeLookaheadFunc(p,be.idx,512,"Option",be.maxLookahead,zv(be))}),ao(z,be=>{this.computeLookaheadFunc(p,be.idx,1024,"RepetitionMandatory",be.maxLookahead,zv(be))}),ao(ie,be=>{this.computeLookaheadFunc(p,be.idx,1536,"RepetitionMandatoryWithSeparator",be.maxLookahead,zv(be))}),ao(de,be=>{this.computeLookaheadFunc(p,be.idx,1280,"RepetitionWithSeparator",be.maxLookahead,zv(be))})})})}computeLookaheadFunc(c,p,g,S,w,z){this.TRACE_INIT(`${z}${p===0?"":p}`,()=>{let ie=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:p,rule:c,maxLookahead:w||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:S}),de=Vse(this.fullRuleNameToShort[c.name],g,p);this.setLaFuncCache(de,ie)})}getKeyForAutomaticLookahead(c,p){let g=this.getLastExplicitRuleShortName();return Vse(g,c,p)}getLaFuncFromCache(c){return this.lookAheadFuncsCache.get(c)}setLaFuncCache(c,p){this.lookAheadFuncsCache.set(c,p)}},Vxe=class extends Oy{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(c){this.dslMethods.option.push(c)}visitRepetitionWithSeparator(c){this.dslMethods.repetitionWithSeparator.push(c)}visitRepetitionMandatory(c){this.dslMethods.repetitionMandatory.push(c)}visitRepetitionMandatoryWithSeparator(c){this.dslMethods.repetitionMandatoryWithSeparator.push(c)}visitRepetition(c){this.dslMethods.repetition.push(c)}visitAlternation(c){this.dslMethods.alternation.push(c)}},Gse=new Vxe;function s$t(_){Gse.reset(),_.accept(Gse);let c=Gse.dslMethods;return Gse.reset(),c}function Hxe(_,c){isNaN(_.startOffset)===!0?(_.startOffset=c.startOffset,_.endOffset=c.endOffset):_.endOffset<c.endOffset&&(_.endOffset=c.endOffset)}function Kxe(_,c){isNaN(_.startOffset)===!0?(_.startOffset=c.startOffset,_.startColumn=c.startColumn,_.startLine=c.startLine,_.endOffset=c.endOffset,_.endColumn=c.endColumn,_.endLine=c.endLine):_.endOffset<c.endOffset&&(_.endOffset=c.endOffset,_.endColumn=c.endColumn,_.endLine=c.endLine)}function cZe(_,c,p){_.children[p]===void 0?_.children[p]=[c]:_.children[p].push(c)}function uZe(_,c,p){_.children[c]===void 0?_.children[c]=[p]:_.children[c].push(p)}var a$t="name";function Qxe(_,c){Object.defineProperty(_,a$t,{enumerable:!1,configurable:!0,writable:!1,value:c})}function o$t(_,c){let p=tp(_),g=p.length;for(let S=0;S<g;S++){let w=p[S],z=_[w],ie=z.length;for(let de=0;de<ie;de++){let be=z[de];be.tokenTypeIdx===void 0&&this[be.name](be.children,c)}}}function lZe(_,c){let p=function(){};Qxe(p,_+"BaseSemantics");let g={visit:function(S,w){if(To(S)&&(S=S[0]),!I1(S))return this[S.name](S.children,w)},validateVisitor:function(){let S=c$t(this,c);if(!il(S)){let w=Ja(S,z=>z.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>:
947
947
  ${w.join(`
948
948
 
949
949
  `).replace(/\n/g,`
950
- `)}`)}}};return _.prototype=g,_.prototype.constructor=_,_._RULE_NAMES=c,_}function fZe(p,c,_){let g=function(){};Qxe(g,p+"BaseSemanticsWithDefaults");let S=Object.create(_.prototype);return ao(c,w=>{S[w]=o$t}),g.prototype=S,g.prototype.constructor=g,g}var Xxe;(function(p){p[p.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",p[p.MISSING_METHOD=1]="MISSING_METHOD"})(Xxe||(Xxe={}));function c$t(p,c){return u$t(p,c)}function u$t(p,c){let _=k1(c,S=>wy(p[S])===!1),g=Ja(_,S=>({msg:`Missing visitor method: <${S}> on ${p.constructor.name} CST Visitor.`,type:Xxe.MISSING_METHOD,methodName:S}));return vT(g)}var Xse=class{initTreeBuilder(c){if(this.CST_STACK=[],this.outputCst=c.outputCst,this.nodeLocationTracking=mo(c,"nodeLocationTracking")?c.nodeLocationTracking:Ly.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=Ad,this.cstFinallyStateUpdate=Ad,this.cstPostTerminal=Ad,this.cstPostNonTerminal=Ad,this.cstPostRule=Ad;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Kxe,this.setNodeLocationFromNode=Kxe,this.cstPostRule=Ad,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=Ad,this.setNodeLocationFromNode=Ad,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Hxe,this.setNodeLocationFromNode=Hxe,this.cstPostRule=Ad,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=Ad,this.setNodeLocationFromNode=Ad,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=Ad,this.setNodeLocationFromNode=Ad,this.cstPostRule=Ad,this.setInitialNodeLocation=Ad;else throw Error(`Invalid <nodeLocationTracking> config option: "${c.nodeLocationTracking}"`)}setInitialNodeLocationOnlyOffsetRecovery(c){c.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(c){c.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(c){c.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(c){let _=this.LA(1);c.location={startOffset:_.startOffset,startLine:_.startLine,startColumn:_.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(c){let _={name:c,children:Object.create(null)};this.setInitialNodeLocation(_),this.CST_STACK.push(_)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(c){let _=this.LA(0),g=c.location;g.startOffset<=_.startOffset?(g.endOffset=_.endOffset,g.endLine=_.endLine,g.endColumn=_.endColumn):(g.startOffset=NaN,g.startLine=NaN,g.startColumn=NaN)}cstPostRuleOnlyOffset(c){let _=this.LA(0),g=c.location;g.startOffset<=_.startOffset?g.endOffset=_.endOffset:g.startOffset=NaN}cstPostTerminal(c,_){let g=this.CST_STACK[this.CST_STACK.length-1];cZe(g,_,c),this.setNodeLocationFromToken(g.location,_)}cstPostNonTerminal(c,_){let g=this.CST_STACK[this.CST_STACK.length-1];uZe(g,_,c),this.setNodeLocationFromNode(g.location,c.location)}getBaseCstVisitorConstructor(){if(I1(this.baseCstVisitorConstructor)){let c=lZe(this.className,tp(this.gastProductionsCache));return this.baseCstVisitorConstructor=c,c}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(I1(this.baseCstVisitorWithDefaultsConstructor)){let c=fZe(this.className,tp(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=c,c}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){let c=this.RULE_STACK;return c[c.length-1]}getPreviousExplicitRuleShortName(){let c=this.RULE_STACK;return c[c.length-2]}getLastExplicitRuleOccurrenceIndex(){let c=this.RULE_OCCURRENCE_STACK;return c[c.length-1]}};var Yse=class{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(c){if(this.selfAnalysisDone!==!0)throw Error("Missing <performSelfAnalysis> invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=c,this.tokVectorLength=c.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):fR}LA(c){let _=this.currIdx+c;return _<0||this.tokVectorLength<=_?fR:this.tokVector[_]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(c){this.currIdx=c}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}};var Zse=class{ACTION(c){return c.call(this)}consume(c,_,g){return this.consumeInternal(_,c,g)}subrule(c,_,g){return this.subruleInternal(_,c,g)}option(c,_){return this.optionInternal(_,c)}or(c,_){return this.orInternal(_,c)}many(c,_){return this.manyInternal(c,_)}atLeastOne(c,_){return this.atLeastOneInternal(c,_)}CONSUME(c,_){return this.consumeInternal(c,0,_)}CONSUME1(c,_){return this.consumeInternal(c,1,_)}CONSUME2(c,_){return this.consumeInternal(c,2,_)}CONSUME3(c,_){return this.consumeInternal(c,3,_)}CONSUME4(c,_){return this.consumeInternal(c,4,_)}CONSUME5(c,_){return this.consumeInternal(c,5,_)}CONSUME6(c,_){return this.consumeInternal(c,6,_)}CONSUME7(c,_){return this.consumeInternal(c,7,_)}CONSUME8(c,_){return this.consumeInternal(c,8,_)}CONSUME9(c,_){return this.consumeInternal(c,9,_)}SUBRULE(c,_){return this.subruleInternal(c,0,_)}SUBRULE1(c,_){return this.subruleInternal(c,1,_)}SUBRULE2(c,_){return this.subruleInternal(c,2,_)}SUBRULE3(c,_){return this.subruleInternal(c,3,_)}SUBRULE4(c,_){return this.subruleInternal(c,4,_)}SUBRULE5(c,_){return this.subruleInternal(c,5,_)}SUBRULE6(c,_){return this.subruleInternal(c,6,_)}SUBRULE7(c,_){return this.subruleInternal(c,7,_)}SUBRULE8(c,_){return this.subruleInternal(c,8,_)}SUBRULE9(c,_){return this.subruleInternal(c,9,_)}OPTION(c){return this.optionInternal(c,0)}OPTION1(c){return this.optionInternal(c,1)}OPTION2(c){return this.optionInternal(c,2)}OPTION3(c){return this.optionInternal(c,3)}OPTION4(c){return this.optionInternal(c,4)}OPTION5(c){return this.optionInternal(c,5)}OPTION6(c){return this.optionInternal(c,6)}OPTION7(c){return this.optionInternal(c,7)}OPTION8(c){return this.optionInternal(c,8)}OPTION9(c){return this.optionInternal(c,9)}OR(c){return this.orInternal(c,0)}OR1(c){return this.orInternal(c,1)}OR2(c){return this.orInternal(c,2)}OR3(c){return this.orInternal(c,3)}OR4(c){return this.orInternal(c,4)}OR5(c){return this.orInternal(c,5)}OR6(c){return this.orInternal(c,6)}OR7(c){return this.orInternal(c,7)}OR8(c){return this.orInternal(c,8)}OR9(c){return this.orInternal(c,9)}MANY(c){this.manyInternal(0,c)}MANY1(c){this.manyInternal(1,c)}MANY2(c){this.manyInternal(2,c)}MANY3(c){this.manyInternal(3,c)}MANY4(c){this.manyInternal(4,c)}MANY5(c){this.manyInternal(5,c)}MANY6(c){this.manyInternal(6,c)}MANY7(c){this.manyInternal(7,c)}MANY8(c){this.manyInternal(8,c)}MANY9(c){this.manyInternal(9,c)}MANY_SEP(c){this.manySepFirstInternal(0,c)}MANY_SEP1(c){this.manySepFirstInternal(1,c)}MANY_SEP2(c){this.manySepFirstInternal(2,c)}MANY_SEP3(c){this.manySepFirstInternal(3,c)}MANY_SEP4(c){this.manySepFirstInternal(4,c)}MANY_SEP5(c){this.manySepFirstInternal(5,c)}MANY_SEP6(c){this.manySepFirstInternal(6,c)}MANY_SEP7(c){this.manySepFirstInternal(7,c)}MANY_SEP8(c){this.manySepFirstInternal(8,c)}MANY_SEP9(c){this.manySepFirstInternal(9,c)}AT_LEAST_ONE(c){this.atLeastOneInternal(0,c)}AT_LEAST_ONE1(c){return this.atLeastOneInternal(1,c)}AT_LEAST_ONE2(c){this.atLeastOneInternal(2,c)}AT_LEAST_ONE3(c){this.atLeastOneInternal(3,c)}AT_LEAST_ONE4(c){this.atLeastOneInternal(4,c)}AT_LEAST_ONE5(c){this.atLeastOneInternal(5,c)}AT_LEAST_ONE6(c){this.atLeastOneInternal(6,c)}AT_LEAST_ONE7(c){this.atLeastOneInternal(7,c)}AT_LEAST_ONE8(c){this.atLeastOneInternal(8,c)}AT_LEAST_ONE9(c){this.atLeastOneInternal(9,c)}AT_LEAST_ONE_SEP(c){this.atLeastOneSepFirstInternal(0,c)}AT_LEAST_ONE_SEP1(c){this.atLeastOneSepFirstInternal(1,c)}AT_LEAST_ONE_SEP2(c){this.atLeastOneSepFirstInternal(2,c)}AT_LEAST_ONE_SEP3(c){this.atLeastOneSepFirstInternal(3,c)}AT_LEAST_ONE_SEP4(c){this.atLeastOneSepFirstInternal(4,c)}AT_LEAST_ONE_SEP5(c){this.atLeastOneSepFirstInternal(5,c)}AT_LEAST_ONE_SEP6(c){this.atLeastOneSepFirstInternal(6,c)}AT_LEAST_ONE_SEP7(c){this.atLeastOneSepFirstInternal(7,c)}AT_LEAST_ONE_SEP8(c){this.atLeastOneSepFirstInternal(8,c)}AT_LEAST_ONE_SEP9(c){this.atLeastOneSepFirstInternal(9,c)}RULE(c,_,g=_R){if(Kp(this.definedRulesNames,c)){let z={message:ZS.buildDuplicateRuleNameError({topLevelRule:c,grammarName:this.className}),type:Qh.DUPLICATE_RULE_NAME,ruleName:c};this.definitionErrors.push(z)}this.definedRulesNames.push(c);let S=this.defineRule(c,_,g);return this[c]=S,S}OVERRIDE_RULE(c,_,g=_R){let S=XYe(c,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(S);let w=this.defineRule(c,_,g);return this[c]=w,w}BACKTRACK(c,_){return function(){this.isBackTrackingStack.push(1);let g=this.saveRecogState();try{return c.apply(this,_),!0}catch(S){if(P4(S))return!1;throw S}finally{this.reloadRecogState(g),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return xse(S_(this.gastProductionsCache))}};var eae=class{initRecognizerEngine(c,_){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=cR,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},mo(_,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a <serializedGrammar> property.
950
+ `)}`)}}};return p.prototype=g,p.prototype.constructor=p,p._RULE_NAMES=c,p}function fZe(_,c,p){let g=function(){};Qxe(g,_+"BaseSemanticsWithDefaults");let S=Object.create(p.prototype);return ao(c,w=>{S[w]=o$t}),g.prototype=S,g.prototype.constructor=g,g}var Xxe;(function(_){_[_.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",_[_.MISSING_METHOD=1]="MISSING_METHOD"})(Xxe||(Xxe={}));function c$t(_,c){return u$t(_,c)}function u$t(_,c){let p=k1(c,S=>wy(_[S])===!1),g=Ja(p,S=>({msg:`Missing visitor method: <${S}> on ${_.constructor.name} CST Visitor.`,type:Xxe.MISSING_METHOD,methodName:S}));return vT(g)}var Xse=class{initTreeBuilder(c){if(this.CST_STACK=[],this.outputCst=c.outputCst,this.nodeLocationTracking=mo(c,"nodeLocationTracking")?c.nodeLocationTracking:Ly.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=Ad,this.cstFinallyStateUpdate=Ad,this.cstPostTerminal=Ad,this.cstPostNonTerminal=Ad,this.cstPostRule=Ad;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Kxe,this.setNodeLocationFromNode=Kxe,this.cstPostRule=Ad,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=Ad,this.setNodeLocationFromNode=Ad,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Hxe,this.setNodeLocationFromNode=Hxe,this.cstPostRule=Ad,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=Ad,this.setNodeLocationFromNode=Ad,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=Ad,this.setNodeLocationFromNode=Ad,this.cstPostRule=Ad,this.setInitialNodeLocation=Ad;else throw Error(`Invalid <nodeLocationTracking> config option: "${c.nodeLocationTracking}"`)}setInitialNodeLocationOnlyOffsetRecovery(c){c.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(c){c.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(c){c.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(c){let p=this.LA(1);c.location={startOffset:p.startOffset,startLine:p.startLine,startColumn:p.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(c){let p={name:c,children:Object.create(null)};this.setInitialNodeLocation(p),this.CST_STACK.push(p)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(c){let p=this.LA(0),g=c.location;g.startOffset<=p.startOffset?(g.endOffset=p.endOffset,g.endLine=p.endLine,g.endColumn=p.endColumn):(g.startOffset=NaN,g.startLine=NaN,g.startColumn=NaN)}cstPostRuleOnlyOffset(c){let p=this.LA(0),g=c.location;g.startOffset<=p.startOffset?g.endOffset=p.endOffset:g.startOffset=NaN}cstPostTerminal(c,p){let g=this.CST_STACK[this.CST_STACK.length-1];cZe(g,p,c),this.setNodeLocationFromToken(g.location,p)}cstPostNonTerminal(c,p){let g=this.CST_STACK[this.CST_STACK.length-1];uZe(g,p,c),this.setNodeLocationFromNode(g.location,c.location)}getBaseCstVisitorConstructor(){if(I1(this.baseCstVisitorConstructor)){let c=lZe(this.className,tp(this.gastProductionsCache));return this.baseCstVisitorConstructor=c,c}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(I1(this.baseCstVisitorWithDefaultsConstructor)){let c=fZe(this.className,tp(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=c,c}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){let c=this.RULE_STACK;return c[c.length-1]}getPreviousExplicitRuleShortName(){let c=this.RULE_STACK;return c[c.length-2]}getLastExplicitRuleOccurrenceIndex(){let c=this.RULE_OCCURRENCE_STACK;return c[c.length-1]}};var Yse=class{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(c){if(this.selfAnalysisDone!==!0)throw Error("Missing <performSelfAnalysis> invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=c,this.tokVectorLength=c.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):fR}LA(c){let p=this.currIdx+c;return p<0||this.tokVectorLength<=p?fR:this.tokVector[p]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(c){this.currIdx=c}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}};var Zse=class{ACTION(c){return c.call(this)}consume(c,p,g){return this.consumeInternal(p,c,g)}subrule(c,p,g){return this.subruleInternal(p,c,g)}option(c,p){return this.optionInternal(p,c)}or(c,p){return this.orInternal(p,c)}many(c,p){return this.manyInternal(c,p)}atLeastOne(c,p){return this.atLeastOneInternal(c,p)}CONSUME(c,p){return this.consumeInternal(c,0,p)}CONSUME1(c,p){return this.consumeInternal(c,1,p)}CONSUME2(c,p){return this.consumeInternal(c,2,p)}CONSUME3(c,p){return this.consumeInternal(c,3,p)}CONSUME4(c,p){return this.consumeInternal(c,4,p)}CONSUME5(c,p){return this.consumeInternal(c,5,p)}CONSUME6(c,p){return this.consumeInternal(c,6,p)}CONSUME7(c,p){return this.consumeInternal(c,7,p)}CONSUME8(c,p){return this.consumeInternal(c,8,p)}CONSUME9(c,p){return this.consumeInternal(c,9,p)}SUBRULE(c,p){return this.subruleInternal(c,0,p)}SUBRULE1(c,p){return this.subruleInternal(c,1,p)}SUBRULE2(c,p){return this.subruleInternal(c,2,p)}SUBRULE3(c,p){return this.subruleInternal(c,3,p)}SUBRULE4(c,p){return this.subruleInternal(c,4,p)}SUBRULE5(c,p){return this.subruleInternal(c,5,p)}SUBRULE6(c,p){return this.subruleInternal(c,6,p)}SUBRULE7(c,p){return this.subruleInternal(c,7,p)}SUBRULE8(c,p){return this.subruleInternal(c,8,p)}SUBRULE9(c,p){return this.subruleInternal(c,9,p)}OPTION(c){return this.optionInternal(c,0)}OPTION1(c){return this.optionInternal(c,1)}OPTION2(c){return this.optionInternal(c,2)}OPTION3(c){return this.optionInternal(c,3)}OPTION4(c){return this.optionInternal(c,4)}OPTION5(c){return this.optionInternal(c,5)}OPTION6(c){return this.optionInternal(c,6)}OPTION7(c){return this.optionInternal(c,7)}OPTION8(c){return this.optionInternal(c,8)}OPTION9(c){return this.optionInternal(c,9)}OR(c){return this.orInternal(c,0)}OR1(c){return this.orInternal(c,1)}OR2(c){return this.orInternal(c,2)}OR3(c){return this.orInternal(c,3)}OR4(c){return this.orInternal(c,4)}OR5(c){return this.orInternal(c,5)}OR6(c){return this.orInternal(c,6)}OR7(c){return this.orInternal(c,7)}OR8(c){return this.orInternal(c,8)}OR9(c){return this.orInternal(c,9)}MANY(c){this.manyInternal(0,c)}MANY1(c){this.manyInternal(1,c)}MANY2(c){this.manyInternal(2,c)}MANY3(c){this.manyInternal(3,c)}MANY4(c){this.manyInternal(4,c)}MANY5(c){this.manyInternal(5,c)}MANY6(c){this.manyInternal(6,c)}MANY7(c){this.manyInternal(7,c)}MANY8(c){this.manyInternal(8,c)}MANY9(c){this.manyInternal(9,c)}MANY_SEP(c){this.manySepFirstInternal(0,c)}MANY_SEP1(c){this.manySepFirstInternal(1,c)}MANY_SEP2(c){this.manySepFirstInternal(2,c)}MANY_SEP3(c){this.manySepFirstInternal(3,c)}MANY_SEP4(c){this.manySepFirstInternal(4,c)}MANY_SEP5(c){this.manySepFirstInternal(5,c)}MANY_SEP6(c){this.manySepFirstInternal(6,c)}MANY_SEP7(c){this.manySepFirstInternal(7,c)}MANY_SEP8(c){this.manySepFirstInternal(8,c)}MANY_SEP9(c){this.manySepFirstInternal(9,c)}AT_LEAST_ONE(c){this.atLeastOneInternal(0,c)}AT_LEAST_ONE1(c){return this.atLeastOneInternal(1,c)}AT_LEAST_ONE2(c){this.atLeastOneInternal(2,c)}AT_LEAST_ONE3(c){this.atLeastOneInternal(3,c)}AT_LEAST_ONE4(c){this.atLeastOneInternal(4,c)}AT_LEAST_ONE5(c){this.atLeastOneInternal(5,c)}AT_LEAST_ONE6(c){this.atLeastOneInternal(6,c)}AT_LEAST_ONE7(c){this.atLeastOneInternal(7,c)}AT_LEAST_ONE8(c){this.atLeastOneInternal(8,c)}AT_LEAST_ONE9(c){this.atLeastOneInternal(9,c)}AT_LEAST_ONE_SEP(c){this.atLeastOneSepFirstInternal(0,c)}AT_LEAST_ONE_SEP1(c){this.atLeastOneSepFirstInternal(1,c)}AT_LEAST_ONE_SEP2(c){this.atLeastOneSepFirstInternal(2,c)}AT_LEAST_ONE_SEP3(c){this.atLeastOneSepFirstInternal(3,c)}AT_LEAST_ONE_SEP4(c){this.atLeastOneSepFirstInternal(4,c)}AT_LEAST_ONE_SEP5(c){this.atLeastOneSepFirstInternal(5,c)}AT_LEAST_ONE_SEP6(c){this.atLeastOneSepFirstInternal(6,c)}AT_LEAST_ONE_SEP7(c){this.atLeastOneSepFirstInternal(7,c)}AT_LEAST_ONE_SEP8(c){this.atLeastOneSepFirstInternal(8,c)}AT_LEAST_ONE_SEP9(c){this.atLeastOneSepFirstInternal(9,c)}RULE(c,p,g=_R){if(Kp(this.definedRulesNames,c)){let z={message:ZS.buildDuplicateRuleNameError({topLevelRule:c,grammarName:this.className}),type:Qh.DUPLICATE_RULE_NAME,ruleName:c};this.definitionErrors.push(z)}this.definedRulesNames.push(c);let S=this.defineRule(c,p,g);return this[c]=S,S}OVERRIDE_RULE(c,p,g=_R){let S=XYe(c,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(S);let w=this.defineRule(c,p,g);return this[c]=w,w}BACKTRACK(c,p){return function(){this.isBackTrackingStack.push(1);let g=this.saveRecogState();try{return c.apply(this,p),!0}catch(S){if(P4(S))return!1;throw S}finally{this.reloadRecogState(g),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return xse(S_(this.gastProductionsCache))}};var eae=class{initRecognizerEngine(c,p){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=cR,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},mo(p,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a <serializedGrammar> property.
951
951
  See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0
952
952
  For Further details.`);if(To(c)){if(il(c))throw Error(`A Token Vocabulary cannot be empty.
953
953
  Note that the first argument for the parser constructor
954
954
  is no longer a Token vector (since v4.0).`);if(typeof c[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument.
955
955
  See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0
956
- For Further details.`)}if(To(c))this.tokensMap=_h(c,(w,z)=>(w[z.name]=z,w),{});else if(mo(c,"modes")&&F1(Hh(S_(c.modes)),kYe)){let w=Hh(S_(c.modes)),z=tR(w);this.tokensMap=_h(z,(ie,de)=>(ie[de.name]=de,ie),{})}else if(Td(c))this.tokensMap=np(c);else throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=YS;let g=mo(c,"modes")?Hh(S_(c.modes)):S_(c),S=F1(g,w=>il(w.categoryMatches));this.tokenMatcher=S?cR:ck,uk(S_(this.tokensMap))}defineRule(c,_,g){if(this.selfAnalysisDone)throw Error(`Grammar rule <${c}> may not be defined after the 'performSelfAnalysis' method has been called'
957
- Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let S=mo(g,"resyncEnabled")?g.resyncEnabled:_R.resyncEnabled,w=mo(g,"recoveryValueFunc")?g.recoveryValueFunc:_R.recoveryValueFunc,z=this.ruleShortNameIdx<<12;this.ruleShortNameIdx++,this.shortRuleNameToFull[z]=c,this.fullRuleNameToShort[c]=z;let ie;return this.outputCst===!0?ie=function(...Ee){try{this.ruleInvocationStateUpdate(z,c,this.subruleIdx),_.apply(this,Ee);let Oe=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(Oe),Oe}catch(Oe){return this.invokeRuleCatch(Oe,S,w)}finally{this.ruleFinallyStateUpdate()}}:ie=function(...Ee){try{return this.ruleInvocationStateUpdate(z,c,this.subruleIdx),_.apply(this,Ee)}catch(Oe){return this.invokeRuleCatch(Oe,S,w)}finally{this.ruleFinallyStateUpdate()}},Object.assign(ie,{ruleName:c,originalGrammarAction:_})}invokeRuleCatch(c,_,g){let S=this.RULE_STACK.length===1,w=_&&!this.isBackTracking()&&this.recoveryEnabled;if(P4(c)){let z=c;if(w){let ie=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(ie))if(z.resyncedTokens=this.reSyncTo(ie),this.outputCst){let de=this.CST_STACK[this.CST_STACK.length-1];return de.recoveredNode=!0,de}else return g(c);else{if(this.outputCst){let de=this.CST_STACK[this.CST_STACK.length-1];de.recoveredNode=!0,z.partialCstResult=de}throw z}}else{if(S)return this.moveToTerminatedState(),g(c);throw z}}else throw c}optionInternal(c,_){let g=this.getKeyForAutomaticLookahead(512,_);return this.optionInternalLogic(c,_,g)}optionInternalLogic(c,_,g){let S=this.getLaFuncFromCache(g),w;if(typeof c!="function"){w=c.DEF;let z=c.GATE;if(z!==void 0){let ie=S;S=()=>z.call(this)&&ie.call(this)}}else w=c;if(S.call(this)===!0)return w.call(this)}atLeastOneInternal(c,_){let g=this.getKeyForAutomaticLookahead(1024,c);return this.atLeastOneInternalLogic(c,_,g)}atLeastOneInternalLogic(c,_,g){let S=this.getLaFuncFromCache(g),w;if(typeof _!="function"){w=_.DEF;let z=_.GATE;if(z!==void 0){let ie=S;S=()=>z.call(this)&&ie.call(this)}}else w=_;if(S.call(this)===!0){let z=this.doSingleRepetition(w);for(;S.call(this)===!0&&z===!0;)z=this.doSingleRepetition(w)}else throw this.raiseEarlyExitException(c,Fd.REPETITION_MANDATORY,_.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[c,_],S,1024,c,Mse)}atLeastOneSepFirstInternal(c,_){let g=this.getKeyForAutomaticLookahead(1536,c);this.atLeastOneSepFirstInternalLogic(c,_,g)}atLeastOneSepFirstInternalLogic(c,_,g){let S=_.DEF,w=_.SEP;if(this.getLaFuncFromCache(g).call(this)===!0){S.call(this);let ie=()=>this.tokenMatcher(this.LA(1),w);for(;this.tokenMatcher(this.LA(1),w)===!0;)this.CONSUME(w),S.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[c,w,ie,S,JU],ie,1536,c,JU)}else throw this.raiseEarlyExitException(c,Fd.REPETITION_MANDATORY_WITH_SEPARATOR,_.ERR_MSG)}manyInternal(c,_){let g=this.getKeyForAutomaticLookahead(768,c);return this.manyInternalLogic(c,_,g)}manyInternalLogic(c,_,g){let S=this.getLaFuncFromCache(g),w;if(typeof _!="function"){w=_.DEF;let ie=_.GATE;if(ie!==void 0){let de=S;S=()=>ie.call(this)&&de.call(this)}}else w=_;let z=!0;for(;S.call(this)===!0&&z===!0;)z=this.doSingleRepetition(w);this.attemptInRepetitionRecovery(this.manyInternal,[c,_],S,768,c,Rse,z)}manySepFirstInternal(c,_){let g=this.getKeyForAutomaticLookahead(1280,c);this.manySepFirstInternalLogic(c,_,g)}manySepFirstInternalLogic(c,_,g){let S=_.DEF,w=_.SEP;if(this.getLaFuncFromCache(g).call(this)===!0){S.call(this);let ie=()=>this.tokenMatcher(this.LA(1),w);for(;this.tokenMatcher(this.LA(1),w)===!0;)this.CONSUME(w),S.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[c,w,ie,S,jU],ie,1280,c,jU)}}repetitionSepSecondInternal(c,_,g,S,w){for(;g();)this.CONSUME(_),S.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[c,_,g,S,w],g,1536,c,w)}doSingleRepetition(c){let _=this.getLexerPosition();return c.call(this),this.getLexerPosition()>_}orInternal(c,_){let g=this.getKeyForAutomaticLookahead(256,_),S=To(c)?c:c.DEF,z=this.getLaFuncFromCache(g).call(this,S);if(z!==void 0)return S[z].ALT.call(this);this.raiseNoAltException(_,c.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){let c=this.LA(1),_=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:c,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new VU(_,c))}}subruleInternal(c,_,g){let S;try{let w=g!==void 0?g.ARGS:void 0;return this.subruleIdx=_,S=c.apply(this,w),this.cstPostNonTerminal(S,g!==void 0&&g.LABEL!==void 0?g.LABEL:c.ruleName),S}catch(w){throw this.subruleInternalError(w,g,c.ruleName)}}subruleInternalError(c,_,g){throw P4(c)&&c.partialCstResult!==void 0&&(this.cstPostNonTerminal(c.partialCstResult,_!==void 0&&_.LABEL!==void 0?_.LABEL:g),delete c.partialCstResult),c}consumeInternal(c,_,g){let S;try{let w=this.LA(1);this.tokenMatcher(w,c)===!0?(this.consumeToken(),S=w):this.consumeInternalError(c,w,g)}catch(w){S=this.consumeInternalRecovery(c,_,w)}return this.cstPostTerminal(g!==void 0&&g.LABEL!==void 0?g.LABEL:c.name,S),S}consumeInternalError(c,_,g){let S,w=this.LA(0);throw g!==void 0&&g.ERR_MSG?S=g.ERR_MSG:S=this.errorMessageProvider.buildMismatchTokenMessage({expected:c,actual:_,previous:w,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new UP(S,_,w))}consumeInternalRecovery(c,_,g){if(this.recoveryEnabled&&g.name==="MismatchedTokenException"&&!this.isBackTracking()){let S=this.getFollowsForInRuleRecovery(c,_);try{return this.tryInRuleRecovery(c,S)}catch(w){throw w.name===Uxe?g:w}}else throw g}saveRecogState(){let c=this.errors,_=np(this.RULE_STACK);return{errors:c,lexerState:this.exportLexerState(),RULE_STACK:_,CST_STACK:this.CST_STACK}}reloadRecogState(c){this.errors=c.errors,this.importLexerState(c.lexerState),this.RULE_STACK=c.RULE_STACK}ruleInvocationStateUpdate(c,_,g){this.RULE_OCCURRENCE_STACK.push(g),this.RULE_STACK.push(c),this.cstInvocationStateUpdate(_)}isBackTracking(){return this.isBackTrackingStack.length!==0}getCurrRuleFullName(){let c=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[c]}shortRuleNameToFullName(c){return this.shortRuleNameToFull[c]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),YS)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}};var tae=class{initErrorHandler(c){this._errors=[],this.errorMessageProvider=mo(c,"errorMessageProvider")?c.errorMessageProvider:Ly.errorMessageProvider}SAVE_ERROR(c){if(P4(c))return c.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:np(this.RULE_OCCURRENCE_STACK)},this._errors.push(c),c;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return np(this._errors)}set errors(c){this._errors=c}raiseEarlyExitException(c,_,g){let S=this.getCurrRuleFullName(),w=this.getGAstProductions()[S],ie=zU(c,w,_,this.maxLookahead)[0],de=[];for(let Ee=1;Ee<=this.maxLookahead;Ee++)de.push(this.LA(Ee));let be=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:ie,actual:de,previous:this.LA(0),customUserDescription:g,ruleName:S});throw this.SAVE_ERROR(new GU(be,this.LA(1),this.LA(0)))}raiseNoAltException(c,_){let g=this.getCurrRuleFullName(),S=this.getGAstProductions()[g],w=qU(c,S,this.maxLookahead),z=[];for(let be=1;be<=this.maxLookahead;be++)z.push(this.LA(be));let ie=this.LA(0),de=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:w,actual:z,previous:ie,customUserDescription:_,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new UU(de,this.LA(1),ie))}};var rae=class{initContentAssist(){}computeContentAssist(c,_){let g=this.gastProductionsCache[c];if(I1(g))throw Error(`Rule ->${c}<- does not exist in this grammar.`);return jse([g],_,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(c){let _=Vg(c.ruleStack),S=this.getGAstProductions()[_];return new Lse(S,c).startWalking()}};var sae={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(sae);var _Ze=!0,pZe=Math.pow(2,8)-1,mZe=Gu({name:"RECORDING_PHASE_TOKEN",pattern:z_.NA});uk([mZe]);var hZe=WP(mZe,`This IToken indicates the Parser is in Recording Phase
956
+ For Further details.`)}if(To(c))this.tokensMap=_h(c,(w,z)=>(w[z.name]=z,w),{});else if(mo(c,"modes")&&F1(Hh(S_(c.modes)),kYe)){let w=Hh(S_(c.modes)),z=tR(w);this.tokensMap=_h(z,(ie,de)=>(ie[de.name]=de,ie),{})}else if(Td(c))this.tokensMap=np(c);else throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=YS;let g=mo(c,"modes")?Hh(S_(c.modes)):S_(c),S=F1(g,w=>il(w.categoryMatches));this.tokenMatcher=S?cR:ck,uk(S_(this.tokensMap))}defineRule(c,p,g){if(this.selfAnalysisDone)throw Error(`Grammar rule <${c}> may not be defined after the 'performSelfAnalysis' method has been called'
957
+ Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let S=mo(g,"resyncEnabled")?g.resyncEnabled:_R.resyncEnabled,w=mo(g,"recoveryValueFunc")?g.recoveryValueFunc:_R.recoveryValueFunc,z=this.ruleShortNameIdx<<12;this.ruleShortNameIdx++,this.shortRuleNameToFull[z]=c,this.fullRuleNameToShort[c]=z;let ie;return this.outputCst===!0?ie=function(...Ee){try{this.ruleInvocationStateUpdate(z,c,this.subruleIdx),p.apply(this,Ee);let Oe=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(Oe),Oe}catch(Oe){return this.invokeRuleCatch(Oe,S,w)}finally{this.ruleFinallyStateUpdate()}}:ie=function(...Ee){try{return this.ruleInvocationStateUpdate(z,c,this.subruleIdx),p.apply(this,Ee)}catch(Oe){return this.invokeRuleCatch(Oe,S,w)}finally{this.ruleFinallyStateUpdate()}},Object.assign(ie,{ruleName:c,originalGrammarAction:p})}invokeRuleCatch(c,p,g){let S=this.RULE_STACK.length===1,w=p&&!this.isBackTracking()&&this.recoveryEnabled;if(P4(c)){let z=c;if(w){let ie=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(ie))if(z.resyncedTokens=this.reSyncTo(ie),this.outputCst){let de=this.CST_STACK[this.CST_STACK.length-1];return de.recoveredNode=!0,de}else return g(c);else{if(this.outputCst){let de=this.CST_STACK[this.CST_STACK.length-1];de.recoveredNode=!0,z.partialCstResult=de}throw z}}else{if(S)return this.moveToTerminatedState(),g(c);throw z}}else throw c}optionInternal(c,p){let g=this.getKeyForAutomaticLookahead(512,p);return this.optionInternalLogic(c,p,g)}optionInternalLogic(c,p,g){let S=this.getLaFuncFromCache(g),w;if(typeof c!="function"){w=c.DEF;let z=c.GATE;if(z!==void 0){let ie=S;S=()=>z.call(this)&&ie.call(this)}}else w=c;if(S.call(this)===!0)return w.call(this)}atLeastOneInternal(c,p){let g=this.getKeyForAutomaticLookahead(1024,c);return this.atLeastOneInternalLogic(c,p,g)}atLeastOneInternalLogic(c,p,g){let S=this.getLaFuncFromCache(g),w;if(typeof p!="function"){w=p.DEF;let z=p.GATE;if(z!==void 0){let ie=S;S=()=>z.call(this)&&ie.call(this)}}else w=p;if(S.call(this)===!0){let z=this.doSingleRepetition(w);for(;S.call(this)===!0&&z===!0;)z=this.doSingleRepetition(w)}else throw this.raiseEarlyExitException(c,Fd.REPETITION_MANDATORY,p.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[c,p],S,1024,c,Mse)}atLeastOneSepFirstInternal(c,p){let g=this.getKeyForAutomaticLookahead(1536,c);this.atLeastOneSepFirstInternalLogic(c,p,g)}atLeastOneSepFirstInternalLogic(c,p,g){let S=p.DEF,w=p.SEP;if(this.getLaFuncFromCache(g).call(this)===!0){S.call(this);let ie=()=>this.tokenMatcher(this.LA(1),w);for(;this.tokenMatcher(this.LA(1),w)===!0;)this.CONSUME(w),S.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[c,w,ie,S,JU],ie,1536,c,JU)}else throw this.raiseEarlyExitException(c,Fd.REPETITION_MANDATORY_WITH_SEPARATOR,p.ERR_MSG)}manyInternal(c,p){let g=this.getKeyForAutomaticLookahead(768,c);return this.manyInternalLogic(c,p,g)}manyInternalLogic(c,p,g){let S=this.getLaFuncFromCache(g),w;if(typeof p!="function"){w=p.DEF;let ie=p.GATE;if(ie!==void 0){let de=S;S=()=>ie.call(this)&&de.call(this)}}else w=p;let z=!0;for(;S.call(this)===!0&&z===!0;)z=this.doSingleRepetition(w);this.attemptInRepetitionRecovery(this.manyInternal,[c,p],S,768,c,Rse,z)}manySepFirstInternal(c,p){let g=this.getKeyForAutomaticLookahead(1280,c);this.manySepFirstInternalLogic(c,p,g)}manySepFirstInternalLogic(c,p,g){let S=p.DEF,w=p.SEP;if(this.getLaFuncFromCache(g).call(this)===!0){S.call(this);let ie=()=>this.tokenMatcher(this.LA(1),w);for(;this.tokenMatcher(this.LA(1),w)===!0;)this.CONSUME(w),S.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[c,w,ie,S,jU],ie,1280,c,jU)}}repetitionSepSecondInternal(c,p,g,S,w){for(;g();)this.CONSUME(p),S.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[c,p,g,S,w],g,1536,c,w)}doSingleRepetition(c){let p=this.getLexerPosition();return c.call(this),this.getLexerPosition()>p}orInternal(c,p){let g=this.getKeyForAutomaticLookahead(256,p),S=To(c)?c:c.DEF,z=this.getLaFuncFromCache(g).call(this,S);if(z!==void 0)return S[z].ALT.call(this);this.raiseNoAltException(p,c.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){let c=this.LA(1),p=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:c,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new VU(p,c))}}subruleInternal(c,p,g){let S;try{let w=g!==void 0?g.ARGS:void 0;return this.subruleIdx=p,S=c.apply(this,w),this.cstPostNonTerminal(S,g!==void 0&&g.LABEL!==void 0?g.LABEL:c.ruleName),S}catch(w){throw this.subruleInternalError(w,g,c.ruleName)}}subruleInternalError(c,p,g){throw P4(c)&&c.partialCstResult!==void 0&&(this.cstPostNonTerminal(c.partialCstResult,p!==void 0&&p.LABEL!==void 0?p.LABEL:g),delete c.partialCstResult),c}consumeInternal(c,p,g){let S;try{let w=this.LA(1);this.tokenMatcher(w,c)===!0?(this.consumeToken(),S=w):this.consumeInternalError(c,w,g)}catch(w){S=this.consumeInternalRecovery(c,p,w)}return this.cstPostTerminal(g!==void 0&&g.LABEL!==void 0?g.LABEL:c.name,S),S}consumeInternalError(c,p,g){let S,w=this.LA(0);throw g!==void 0&&g.ERR_MSG?S=g.ERR_MSG:S=this.errorMessageProvider.buildMismatchTokenMessage({expected:c,actual:p,previous:w,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new UP(S,p,w))}consumeInternalRecovery(c,p,g){if(this.recoveryEnabled&&g.name==="MismatchedTokenException"&&!this.isBackTracking()){let S=this.getFollowsForInRuleRecovery(c,p);try{return this.tryInRuleRecovery(c,S)}catch(w){throw w.name===Uxe?g:w}}else throw g}saveRecogState(){let c=this.errors,p=np(this.RULE_STACK);return{errors:c,lexerState:this.exportLexerState(),RULE_STACK:p,CST_STACK:this.CST_STACK}}reloadRecogState(c){this.errors=c.errors,this.importLexerState(c.lexerState),this.RULE_STACK=c.RULE_STACK}ruleInvocationStateUpdate(c,p,g){this.RULE_OCCURRENCE_STACK.push(g),this.RULE_STACK.push(c),this.cstInvocationStateUpdate(p)}isBackTracking(){return this.isBackTrackingStack.length!==0}getCurrRuleFullName(){let c=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[c]}shortRuleNameToFullName(c){return this.shortRuleNameToFull[c]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),YS)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}};var tae=class{initErrorHandler(c){this._errors=[],this.errorMessageProvider=mo(c,"errorMessageProvider")?c.errorMessageProvider:Ly.errorMessageProvider}SAVE_ERROR(c){if(P4(c))return c.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:np(this.RULE_OCCURRENCE_STACK)},this._errors.push(c),c;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return np(this._errors)}set errors(c){this._errors=c}raiseEarlyExitException(c,p,g){let S=this.getCurrRuleFullName(),w=this.getGAstProductions()[S],ie=zU(c,w,p,this.maxLookahead)[0],de=[];for(let Ee=1;Ee<=this.maxLookahead;Ee++)de.push(this.LA(Ee));let be=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:ie,actual:de,previous:this.LA(0),customUserDescription:g,ruleName:S});throw this.SAVE_ERROR(new GU(be,this.LA(1),this.LA(0)))}raiseNoAltException(c,p){let g=this.getCurrRuleFullName(),S=this.getGAstProductions()[g],w=qU(c,S,this.maxLookahead),z=[];for(let be=1;be<=this.maxLookahead;be++)z.push(this.LA(be));let ie=this.LA(0),de=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:w,actual:z,previous:ie,customUserDescription:p,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new UU(de,this.LA(1),ie))}};var rae=class{initContentAssist(){}computeContentAssist(c,p){let g=this.gastProductionsCache[c];if(I1(g))throw Error(`Rule ->${c}<- does not exist in this grammar.`);return jse([g],p,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(c){let p=Vg(c.ruleStack),S=this.getGAstProductions()[p];return new Lse(S,c).startWalking()}};var sae={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(sae);var _Ze=!0,pZe=Math.pow(2,8)-1,mZe=Gu({name:"RECORDING_PHASE_TOKEN",pattern:z_.NA});uk([mZe]);var hZe=WP(mZe,`This IToken indicates the Parser is in Recording Phase
958
958
  See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(hZe);var f$t={name:`This CSTNode indicates the Parser is in Recording Phase
959
- See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},nae=class{initGastRecorder(c){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let c=0;c<10;c++){let _=c>0?c:"";this[`CONSUME${_}`]=function(g,S){return this.consumeInternalRecord(g,c,S)},this[`SUBRULE${_}`]=function(g,S){return this.subruleInternalRecord(g,c,S)},this[`OPTION${_}`]=function(g){return this.optionInternalRecord(g,c)},this[`OR${_}`]=function(g){return this.orInternalRecord(g,c)},this[`MANY${_}`]=function(g){this.manyInternalRecord(c,g)},this[`MANY_SEP${_}`]=function(g){this.manySepFirstInternalRecord(c,g)},this[`AT_LEAST_ONE${_}`]=function(g){this.atLeastOneInternalRecord(c,g)},this[`AT_LEAST_ONE_SEP${_}`]=function(g){this.atLeastOneSepFirstInternalRecord(c,g)}}this.consume=function(c,_,g){return this.consumeInternalRecord(_,c,g)},this.subrule=function(c,_,g){return this.subruleInternalRecord(_,c,g)},this.option=function(c,_){return this.optionInternalRecord(_,c)},this.or=function(c,_){return this.orInternalRecord(_,c)},this.many=function(c,_){this.manyInternalRecord(c,_)},this.atLeastOne=function(c,_){this.atLeastOneInternalRecord(c,_)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{let c=this;for(let _=0;_<10;_++){let g=_>0?_:"";delete c[`CONSUME${g}`],delete c[`SUBRULE${g}`],delete c[`OPTION${g}`],delete c[`OR${g}`],delete c[`MANY${g}`],delete c[`MANY_SEP${g}`],delete c[`AT_LEAST_ONE${g}`],delete c[`AT_LEAST_ONE_SEP${g}`]}delete c.consume,delete c.subrule,delete c.option,delete c.or,delete c.many,delete c.atLeastOne,delete c.ACTION,delete c.BACKTRACK,delete c.LA})}ACTION_RECORD(c){}BACKTRACK_RECORD(c,_){return()=>!0}LA_RECORD(c){return fR}topLevelRuleRecord(c,_){try{let g=new Ny({definition:[],name:c});return g.name=c,this.recordingProdStack.push(g),_.call(this),this.recordingProdStack.pop(),g}catch(g){if(g.KNOWN_RECORDER_ERROR!==!0)try{g.message=g.message+`
959
+ See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},nae=class{initGastRecorder(c){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let c=0;c<10;c++){let p=c>0?c:"";this[`CONSUME${p}`]=function(g,S){return this.consumeInternalRecord(g,c,S)},this[`SUBRULE${p}`]=function(g,S){return this.subruleInternalRecord(g,c,S)},this[`OPTION${p}`]=function(g){return this.optionInternalRecord(g,c)},this[`OR${p}`]=function(g){return this.orInternalRecord(g,c)},this[`MANY${p}`]=function(g){this.manyInternalRecord(c,g)},this[`MANY_SEP${p}`]=function(g){this.manySepFirstInternalRecord(c,g)},this[`AT_LEAST_ONE${p}`]=function(g){this.atLeastOneInternalRecord(c,g)},this[`AT_LEAST_ONE_SEP${p}`]=function(g){this.atLeastOneSepFirstInternalRecord(c,g)}}this.consume=function(c,p,g){return this.consumeInternalRecord(p,c,g)},this.subrule=function(c,p,g){return this.subruleInternalRecord(p,c,g)},this.option=function(c,p){return this.optionInternalRecord(p,c)},this.or=function(c,p){return this.orInternalRecord(p,c)},this.many=function(c,p){this.manyInternalRecord(c,p)},this.atLeastOne=function(c,p){this.atLeastOneInternalRecord(c,p)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{let c=this;for(let p=0;p<10;p++){let g=p>0?p:"";delete c[`CONSUME${g}`],delete c[`SUBRULE${g}`],delete c[`OPTION${g}`],delete c[`OR${g}`],delete c[`MANY${g}`],delete c[`MANY_SEP${g}`],delete c[`AT_LEAST_ONE${g}`],delete c[`AT_LEAST_ONE_SEP${g}`]}delete c.consume,delete c.subrule,delete c.option,delete c.or,delete c.many,delete c.atLeastOne,delete c.ACTION,delete c.BACKTRACK,delete c.LA})}ACTION_RECORD(c){}BACKTRACK_RECORD(c,p){return()=>!0}LA_RECORD(c){return fR}topLevelRuleRecord(c,p){try{let g=new Ny({definition:[],name:c});return g.name=c,this.recordingProdStack.push(g),p.call(this),this.recordingProdStack.pop(),g}catch(g){if(g.KNOWN_RECORDER_ERROR!==!0)try{g.message=g.message+`
960
960
  This error was thrown during the "grammar recording phase" For more info see:
961
- https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw g}throw g}}optionInternalRecord(c,_){return KU.call(this,Rp,c,_)}atLeastOneInternalRecord(c,_){KU.call(this,Bm,_,c)}atLeastOneSepFirstInternalRecord(c,_){KU.call(this,jm,_,c,_Ze)}manyInternalRecord(c,_){KU.call(this,Vf,_,c)}manySepFirstInternalRecord(c,_){KU.call(this,am,_,c,_Ze)}orInternalRecord(c,_){return _$t.call(this,c,_)}subruleInternalRecord(c,_,g){if(iae(_),!c||mo(c,"ruleName")===!1){let ie=new Error(`<SUBRULE${dZe(_)}> argument is invalid expecting a Parser method reference but got: <${JSON.stringify(c)}>
962
- inside top level rule: <${this.recordingProdStack[0].name}>`);throw ie.KNOWN_RECORDER_ERROR=!0,ie}let S=DT(this.recordingProdStack),w=c.ruleName,z=new ip({idx:_,nonTerminalName:w,label:g?.LABEL,referencedRule:void 0});return S.definition.push(z),this.outputCst?f$t:sae}consumeInternalRecord(c,_,g){if(iae(_),!wxe(c)){let z=new Error(`<CONSUME${dZe(_)}> argument is invalid expecting a TokenType reference but got: <${JSON.stringify(c)}>
963
- inside top level rule: <${this.recordingProdStack[0].name}>`);throw z.KNOWN_RECORDER_ERROR=!0,z}let S=DT(this.recordingProdStack),w=new Fl({idx:_,terminalType:c,label:g?.LABEL});return S.definition.push(w),hZe}};function KU(p,c,_,g=!1){iae(_);let S=DT(this.recordingProdStack),w=wy(c)?c:c.DEF,z=new p({definition:[],idx:_});return g&&(z.separator=c.SEP),mo(c,"MAX_LOOKAHEAD")&&(z.maxLookahead=c.MAX_LOOKAHEAD),this.recordingProdStack.push(z),w.call(this),S.definition.push(z),this.recordingProdStack.pop(),sae}function _$t(p,c){iae(c);let _=DT(this.recordingProdStack),g=To(p)===!1,S=g===!1?p:p.DEF,w=new om({definition:[],idx:c,ignoreAmbiguities:g&&p.IGNORE_AMBIGUITIES===!0});mo(p,"MAX_LOOKAHEAD")&&(w.maxLookahead=p.MAX_LOOKAHEAD);let z=kU(S,ie=>wy(ie.GATE));return w.hasPredicates=z,_.definition.push(w),ao(S,ie=>{let de=new sp({definition:[]});w.definition.push(de),mo(ie,"IGNORE_AMBIGUITIES")?de.ignoreAmbiguities=ie.IGNORE_AMBIGUITIES:mo(ie,"GATE")&&(de.ignoreAmbiguities=!0),this.recordingProdStack.push(de),ie.ALT.call(this),this.recordingProdStack.pop()}),sae}function dZe(p){return p===0?"":`${p}`}function iae(p){if(p<0||p>pZe){let c=new Error(`Invalid DSL Method idx value: <${p}>
964
- Idx value must be a none negative value smaller than ${pZe+1}`);throw c.KNOWN_RECORDER_ERROR=!0,c}}var aae=class{initPerformanceTracer(c){if(mo(c,"traceInitPerf")){let _=c.traceInitPerf,g=typeof _=="number";this.traceInitMaxIdent=g?_:1/0,this.traceInitPerf=g?_>0:_}else this.traceInitMaxIdent=0,this.traceInitPerf=Ly.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(c,_){if(this.traceInitPerf===!0){this.traceInitIndent++;let g=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent<this.traceInitMaxIdent&&console.log(`${g}--> <${c}>`);let{time:S,value:w}=wU(_),z=S>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&z(`${g}<-- <${c}> time: ${S}ms`),this.traceInitIndent--,w}else return _()}};function gZe(p,c){c.forEach(_=>{let g=_.prototype;Object.getOwnPropertyNames(g).forEach(S=>{if(S==="constructor")return;let w=Object.getOwnPropertyDescriptor(g,S);w&&(w.get||w.set)?Object.defineProperty(p.prototype,S,w):p.prototype[S]=_.prototype[S]})})}var fR=WP(YS,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(fR);var Ly=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:Ose,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),_R=Object.freeze({recoveryValueFunc:()=>{},resyncEnabled:!0}),Qh;(function(p){p[p.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",p[p.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",p[p.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",p[p.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",p[p.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",p[p.LEFT_RECURSION=5]="LEFT_RECURSION",p[p.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",p[p.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",p[p.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",p[p.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",p[p.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",p[p.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",p[p.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",p[p.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"})(Qh||(Qh={}));var QU=class p{static performSelfAnalysis(c){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let c;this.selfAnalysisDone=!0;let _=this.className;this.TRACE_INIT("toFastProps",()=>{PU(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),ao(this.definedRulesNames,S=>{let z=this[S].originalGrammarAction,ie;this.TRACE_INIT(`${S} Rule`,()=>{ie=this.topLevelRuleRecord(S,z)}),this.gastProductionsCache[S]=ie})}finally{this.disableRecording()}});let g=[];if(this.TRACE_INIT("Grammar Resolving",()=>{g=tZe({rules:S_(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(g)}),this.TRACE_INIT("Grammar Validations",()=>{if(il(g)&&this.skipValidations===!1){let S=rZe({rules:S_(this.gastProductionsCache),tokenTypes:S_(this.tokensMap),errMsgProvider:ZS,grammarName:_}),w=HYe({lookaheadStrategy:this.lookaheadStrategy,rules:S_(this.gastProductionsCache),tokenTypes:S_(this.tokensMap),grammarName:_});this.definitionErrors=this.definitionErrors.concat(S,w)}}),il(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let S=uYe(S_(this.gastProductionsCache));this.resyncFollows=S}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var S,w;(w=(S=this.lookaheadStrategy).initialize)===null||w===void 0||w.call(S,{rules:S_(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(S_(this.gastProductionsCache))})),!p.DEFER_DEFINITION_ERRORS_HANDLING&&!il(this.definitionErrors))throw c=Ja(this.definitionErrors,S=>S.message),new Error(`Parser Definition Errors detected:
961
+ https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw g}throw g}}optionInternalRecord(c,p){return KU.call(this,Rp,c,p)}atLeastOneInternalRecord(c,p){KU.call(this,Bm,p,c)}atLeastOneSepFirstInternalRecord(c,p){KU.call(this,jm,p,c,_Ze)}manyInternalRecord(c,p){KU.call(this,Vf,p,c)}manySepFirstInternalRecord(c,p){KU.call(this,am,p,c,_Ze)}orInternalRecord(c,p){return _$t.call(this,c,p)}subruleInternalRecord(c,p,g){if(iae(p),!c||mo(c,"ruleName")===!1){let ie=new Error(`<SUBRULE${dZe(p)}> argument is invalid expecting a Parser method reference but got: <${JSON.stringify(c)}>
962
+ inside top level rule: <${this.recordingProdStack[0].name}>`);throw ie.KNOWN_RECORDER_ERROR=!0,ie}let S=DT(this.recordingProdStack),w=c.ruleName,z=new ip({idx:p,nonTerminalName:w,label:g?.LABEL,referencedRule:void 0});return S.definition.push(z),this.outputCst?f$t:sae}consumeInternalRecord(c,p,g){if(iae(p),!wxe(c)){let z=new Error(`<CONSUME${dZe(p)}> argument is invalid expecting a TokenType reference but got: <${JSON.stringify(c)}>
963
+ inside top level rule: <${this.recordingProdStack[0].name}>`);throw z.KNOWN_RECORDER_ERROR=!0,z}let S=DT(this.recordingProdStack),w=new Fl({idx:p,terminalType:c,label:g?.LABEL});return S.definition.push(w),hZe}};function KU(_,c,p,g=!1){iae(p);let S=DT(this.recordingProdStack),w=wy(c)?c:c.DEF,z=new _({definition:[],idx:p});return g&&(z.separator=c.SEP),mo(c,"MAX_LOOKAHEAD")&&(z.maxLookahead=c.MAX_LOOKAHEAD),this.recordingProdStack.push(z),w.call(this),S.definition.push(z),this.recordingProdStack.pop(),sae}function _$t(_,c){iae(c);let p=DT(this.recordingProdStack),g=To(_)===!1,S=g===!1?_:_.DEF,w=new om({definition:[],idx:c,ignoreAmbiguities:g&&_.IGNORE_AMBIGUITIES===!0});mo(_,"MAX_LOOKAHEAD")&&(w.maxLookahead=_.MAX_LOOKAHEAD);let z=kU(S,ie=>wy(ie.GATE));return w.hasPredicates=z,p.definition.push(w),ao(S,ie=>{let de=new sp({definition:[]});w.definition.push(de),mo(ie,"IGNORE_AMBIGUITIES")?de.ignoreAmbiguities=ie.IGNORE_AMBIGUITIES:mo(ie,"GATE")&&(de.ignoreAmbiguities=!0),this.recordingProdStack.push(de),ie.ALT.call(this),this.recordingProdStack.pop()}),sae}function dZe(_){return _===0?"":`${_}`}function iae(_){if(_<0||_>pZe){let c=new Error(`Invalid DSL Method idx value: <${_}>
964
+ Idx value must be a none negative value smaller than ${pZe+1}`);throw c.KNOWN_RECORDER_ERROR=!0,c}}var aae=class{initPerformanceTracer(c){if(mo(c,"traceInitPerf")){let p=c.traceInitPerf,g=typeof p=="number";this.traceInitMaxIdent=g?p:1/0,this.traceInitPerf=g?p>0:p}else this.traceInitMaxIdent=0,this.traceInitPerf=Ly.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(c,p){if(this.traceInitPerf===!0){this.traceInitIndent++;let g=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent<this.traceInitMaxIdent&&console.log(`${g}--> <${c}>`);let{time:S,value:w}=wU(p),z=S>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&z(`${g}<-- <${c}> time: ${S}ms`),this.traceInitIndent--,w}else return p()}};function gZe(_,c){c.forEach(p=>{let g=p.prototype;Object.getOwnPropertyNames(g).forEach(S=>{if(S==="constructor")return;let w=Object.getOwnPropertyDescriptor(g,S);w&&(w.get||w.set)?Object.defineProperty(_.prototype,S,w):_.prototype[S]=p.prototype[S]})})}var fR=WP(YS,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(fR);var Ly=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:Ose,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),_R=Object.freeze({recoveryValueFunc:()=>{},resyncEnabled:!0}),Qh;(function(_){_[_.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",_[_.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",_[_.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",_[_.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",_[_.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",_[_.LEFT_RECURSION=5]="LEFT_RECURSION",_[_.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",_[_.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",_[_.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",_[_.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",_[_.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",_[_.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",_[_.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",_[_.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"})(Qh||(Qh={}));var QU=class _{static performSelfAnalysis(c){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let c;this.selfAnalysisDone=!0;let p=this.className;this.TRACE_INIT("toFastProps",()=>{PU(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),ao(this.definedRulesNames,S=>{let z=this[S].originalGrammarAction,ie;this.TRACE_INIT(`${S} Rule`,()=>{ie=this.topLevelRuleRecord(S,z)}),this.gastProductionsCache[S]=ie})}finally{this.disableRecording()}});let g=[];if(this.TRACE_INIT("Grammar Resolving",()=>{g=tZe({rules:S_(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(g)}),this.TRACE_INIT("Grammar Validations",()=>{if(il(g)&&this.skipValidations===!1){let S=rZe({rules:S_(this.gastProductionsCache),tokenTypes:S_(this.tokensMap),errMsgProvider:ZS,grammarName:p}),w=HYe({lookaheadStrategy:this.lookaheadStrategy,rules:S_(this.gastProductionsCache),tokenTypes:S_(this.tokensMap),grammarName:p});this.definitionErrors=this.definitionErrors.concat(S,w)}}),il(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let S=uYe(S_(this.gastProductionsCache));this.resyncFollows=S}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var S,w;(w=(S=this.lookaheadStrategy).initialize)===null||w===void 0||w.call(S,{rules:S_(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(S_(this.gastProductionsCache))})),!_.DEFER_DEFINITION_ERRORS_HANDLING&&!il(this.definitionErrors))throw c=Ja(this.definitionErrors,S=>S.message),new Error(`Parser Definition Errors detected:
965
965
  ${c.join(`
966
966
  -------------------------------
967
- `)}`)})}constructor(c,_){this.definitionErrors=[],this.selfAnalysisDone=!1;let g=this;if(g.initErrorHandler(_),g.initLexerAdapter(),g.initLooksAhead(_),g.initRecognizerEngine(c,_),g.initRecoverable(_),g.initTreeBuilder(_),g.initContentAssist(),g.initGastRecorder(_),g.initPerformanceTracer(_),mo(_,"ignoredIssues"))throw new Error(`The <ignoredIssues> IParserConfig property has been deprecated.
967
+ `)}`)})}constructor(c,p){this.definitionErrors=[],this.selfAnalysisDone=!1;let g=this;if(g.initErrorHandler(p),g.initLexerAdapter(),g.initLooksAhead(p),g.initRecognizerEngine(c,p),g.initRecoverable(p),g.initTreeBuilder(p),g.initContentAssist(),g.initGastRecorder(p),g.initPerformanceTracer(p),mo(p,"ignoredIssues"))throw new Error(`The <ignoredIssues> IParserConfig property has been deprecated.
968
968
  Please use the <IGNORE_AMBIGUITIES> flag on the relevant DSL method instead.
969
969
  See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES
970
- For further details.`);this.skipValidations=mo(_,"skipValidations")?_.skipValidations:Ly.skipValidations}};QU.DEFER_DEFINITION_ERRORS_HANDLING=!1;gZe(QU,[Use,$se,Xse,Yse,eae,Zse,tae,rae,nae,aae]);var XU=class extends QU{constructor(c,_=Ly){let g=np(_);g.outputCst=!0,super(c,g)}};var Ao=Bv(Uut(),1),Nsr=class{debug=!1;enableDebug(){this.debug=!0}isDebug(){return this.debug}},Hae=new Nsr,Osr=/]/,Kut=Gu({name:"ArrayClose",pattern:Osr,label:"]",pop_mode:!0}),Lsr=/\[/,Qut=Gu({name:"ArrayOpen",pattern:Lsr,label:"[",push_mode:"Array"}),Rsr=/,/,Xut=Gu({name:"Comma",pattern:Rsr,label:","}),Yut=Gu({name:"ArrayTableClose",pattern:/]]/,label:"]]",push_mode:"Value"}),Zut=Gu({name:"ArrayTableOpen",pattern:/\[\[/,label:"[["}),_Fe=new Map,VV=(p,c,_)=>{let g=_Fe[c.tokenType.name];if(g)return g(p,c,_)},w1=(p,c)=>{_Fe[p.name]=c},GV=Gu({name:"Boolean",pattern:z_.NA});w1(GV,VV);var OR=/[ \t]/,$V=/[\x80-\uD7FF]|[\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/,Ck=/\r\n|\n/,pFe=/"/,elt=/\\/,sE=/[0-9]/,tlt=Ao.default.build("{{digit}}|[A-Fa-f]",{digit:sE}),Msr=Ao.default.build('["\\\\bfnrt]|u{{hexDigit}}{4}|U{{hexDigit}}{8}',{hexDigit:tlt}),rlt=Ao.default.build("{{escape}}{{escapeSeqChar}}",{escape:elt,escapeSeqChar:Msr}),dFe=/'/,HV=/_/,mFe=/-/,hFe=/\+/,Bsr=/[1-9]/,jsr=Ao.default.build("{{digit1_9}}({{digit}}|{{underscore}}{{digit}})+|{{digit}}",{digit1_9:Bsr,digit:sE,underscore:HV}),nlt=Ao.default.build("({{minus}}|{{plus}})?{{unsignedDecimalInteger}}",{minus:mFe,plus:hFe,unsignedDecimalInteger:jsr}),NR=class extends Error{constructor(p){super(p),this.name="SyntaxParseError"}},Jsr=class extends NR{errors;constructor(p){super(`Syntax error
971
- `+p.map(c=>c.message).join(`
972
- `)),this.errors=p}},qsr=class extends NR{errors;constructor(p){super(`Syntax error
973
- `+p.map(c=>c.message).join(`
974
- `)),this.errors=p}},zsr=class extends NR{constructor(p){super(p)}},ilt=Ao.default.build("{{digit}}{4}",{digit:sE}),slt=Ao.default.build("{{digit}}{2}",{digit:sE}),alt=Ao.default.build("{{digit}}{2}",{digit:sE}),olt=/[Tt ]/,gFe=Ao.default.build("{{digit}}{2}",{digit:sE}),yFe=Ao.default.build("{{digit}}{2}",{digit:sE}),clt=Ao.default.build("{{digit}}{2}",{digit:sE}),Wsr=Ao.default.build("\\.{{digit}}+",{digit:sE}),Usr=Ao.default.build("[+-]{{timeHour}}:{{timeMinute}}",{timeHour:gFe,timeMinute:yFe}),Vsr=Ao.default.build("[Zz]|{{timeNumOffset}}",{timeNumOffset:Usr}),vFe=Ao.default.build("{{timeHour}}:{{timeMinute}}:{{timeSecond}}{{timeSecFrac}}?",{timeHour:gFe,timeMinute:yFe,timeSecond:clt,timeSecFrac:Wsr}),DFe=Ao.default.build("{{dateFullYear}}-{{dateMonth}}-{{dateMDay}}",{dateFullYear:ilt,dateMonth:slt,dateMDay:alt}),Gsr=Ao.default.build("{{partialTime}}{{timeOffset}}",{partialTime:vFe,timeOffset:Vsr}),$sr=Ao.default.build("{{fullDate}}{{timeDelim}}{{fullTime}}",{fullDate:DFe,timeDelim:olt,fullTime:Gsr}),Hsr=Ao.default.build("{{fullDate}}{{timeDelim}}{{partialTime}}",{fullDate:DFe,timeDelim:olt,partialTime:vFe}),Ksr=DFe,ult=vFe,Qsr=Ao.default.build("{{offsetDateTime}}|{{localDateTime}}|{{localDate}}|{{localTime}}",{offsetDateTime:$sr,localDateTime:Hsr,localDate:Ksr,localTime:ult}),Kae=Gu({name:"DateTime",pattern:Qsr}),Xsr=p=>{let c=Ao.default.build("({{dateFullYear}})-({{dateMonth}})-({{dateMDay}})",{dateFullYear:ilt,dateMonth:slt,dateMDay:alt}),_=Ao.default.exec(p,c);if(_){let g=Number(_[1]),S=Number(_[2]),w=Number(_[3]),z=new Date(g,S-1,w);return z.getFullYear()===g&&z.getMonth()+1===S&&z.getDate()===w}return!0},Ysr=p=>{let c=Ao.default.build("({{timeHour}}):({{timeMinute}}):({{timeSecond}})",{timeHour:gFe,timeMinute:yFe,timeSecond:clt}),_=Ao.default.exec(p,c);if(_){let g=Number(_[1]),S=Number(_[2]),w=Number(_[3]),z=new Date(0,0,0,g,S,w);return z.getHours()===g&&z.getMinutes()===S&&z.getSeconds()===w}return!0},Zsr=p=>Xsr(p)&&Ysr(p);w1(Kae,p=>{var c;if(!Zsr(p))throw new NR(`Invalid date time: ${p}`);return((c=p.match(ult))==null?void 0:c.index)===0?p:new Date(p)});var llt=Gu({name:"DotSeparator",pattern:/\./,label:"."}),lFe=Gu({name:"ExpressionNewLine",pattern:Ck}),ear=nlt,flt=Ao.default.build("{{digit}}({{digit}}|{{underscore}}{{digit}})*",{digit:sE,underscore:HV}),tar=Ao.default.build("({{minus}}|{{plus}})?{{zeroPrefixableInt}}",{minus:mFe,plus:hFe,zeroPrefixableInt:flt}),rar=Ao.default.build("[Ee]{{floatExpPart}}",{floatExpPart:tar}),nar=/\./,iar=Ao.default.build("{{decimalPoint}}{{zeroPrefixableInt}}",{decimalPoint:nar,zeroPrefixableInt:flt}),sar=/inf/,aar=/nan/,oar=Ao.default.build("({{minus}}|{{plus}})?({{inf}}|{{nan}})",{minus:mFe,plus:hFe,inf:sar,nan:aar}),car=Ao.default.build("{{floatIntPart}}({{exp}}|{{frac}}{{exp}}?)|{{specialFloat}}",{floatIntPart:ear,exp:rar,frac:iar,specialFloat:oar}),Qae=Gu({name:"Float",pattern:car}),uar=p=>p==="inf"||p==="+inf"?1/0:p==="-inf"?-1/0:p==="nan"||p==="+nan"||p==="-nan"?NaN:null;w1(Qae,p=>{let c=uar(p);if(c!==null)return c;let _=p.replace(/_/g,"");return parseFloat(_)});var lar=/}/,fFe=Gu({name:"InlineTableClose",pattern:lar,label:"}",pop_mode:!0}),far=/{/,_lt=Gu({name:"InlineTableOpen",pattern:far,label:"{",push_mode:"InlineTable"}),_ar=/,/,plt=Gu({name:"InlineTableSep",pattern:_ar,label:",",pop_mode:!0,push_mode:"InlineTable"}),KV=Gu({name:"Integer",pattern:z_.NA});w1(KV,VV);var bFe=Gu({name:"KeyValueSeparator",pattern:/=/,label:"=",push_mode:"Value"}),dlt=Gu({name:"Newline",pattern:Ck,pop_mode:!0}),bk=Gu({name:"SimpleKey",pattern:z_.NA});w1(bk,VV);var mlt=Gu({name:"StdTableClose",pattern:/]/,label:"]",push_mode:"Value"}),hlt=Gu({name:"StdTableOpen",pattern:/\[/,label:"["}),s7=Gu({name:"String",pattern:z_.NA});w1(s7,VV);var par=Ao.default.build("{{whiteSpaceChar}}+",{whiteSpaceChar:OR}),glt=Gu({name:"WhiteSpace",pattern:par,group:z_.SKIPPED}),dar=Ao.default.build("^{{whiteSpaceChar}}*{{newline}}(?:{{whiteSpaceChar}}|{{newline}})*",{whiteSpaceChar:OR,newline:Ck}),mar=p=>{let c=Ao.default.exec(p,dar);return c?c[0].length:0},ylt=p=>{let c="";for(let _=0;_<p.length;_++){let g=p[_];if(g==="\\"){_++;let S=mar(p.slice(_));if(S>0){_+=S-1;continue}switch(p[_]){case"b":c+="\b";break;case"t":c+=" ";break;case"n":c+=`
975
- `;break;case"f":c+="\f";break;case"r":c+="\r";break;case'"':c+='"';break;case"\\":c+="\\";break;case"u":{let w=p.slice(_+1,_+5),z=parseInt(w,16);if(z>55295&&z<57344)throw new NR(`Invalid Unicode code point: \\u${w}`);c+=String.fromCodePoint(z),_+=4;break}case"U":{let w=p.slice(_+1,_+9),z=parseInt(w,16);if(z>1114111)throw new NR(`Invalid Unicode code point: \\U${w}`);c+=String.fromCodePoint(z),_+=8;break}case p.match(/^[0-7]{1,3}$/):}}else c+=g}return c},vlt=p=>p.substring(3,p.length-3).replace(/^(\r\n|\n)/,""),har=Ao.default.build("{{quotationMark}}{3}",{quotationMark:pFe}),gar=Ao.default.build("{{whiteSpaceChar}}|!|[#-\\x5B]|[\\x5D-~]|{{nonAscii}}",{whiteSpaceChar:OR,nonAscii:$V}),yar=Ao.default.build("{{multiLineBasicUnescaped}}|{{escaped}}",{multiLineBasicUnescaped:gar,escaped:rlt}),Dar=Ao.default.build("{{whiteSpaceChar}}*",{whiteSpaceChar:OR}),bar=Ao.default.build("{{escape}}{{whiteSpace}}{{newline}}({{whiteSpaceChar}}|{{newline}})*",{escape:elt,whiteSpace:Dar,newline:Ck,whiteSpaceChar:OR}),Car=Ao.default.build("{{multiLineBasicChar}}|{{newline}}|{{multiLineBasicEscapedNewline}}",{multiLineBasicChar:yar,newline:Ck,multiLineBasicEscapedNewline:bar}),Sar=Ao.default.build("{{quotationMark}}{1,2}",{quotationMark:pFe}),Ear=Ao.default.build("{{multiLineBasicContent}}*({{multiLineBasicQuotes}}{{multiLineBasicContent}}+)*{{multiLineBasicQuotes}}?",{multiLineBasicContent:Car,multiLineBasicQuotes:Sar}),Dlt=Gu({name:"MultiLineBasicString",pattern:Ao.default.build("{{multiLineBasicStringDelimiter}}{{newline}}?{{multiLineBasicBody}}{{multiLineBasicStringDelimiter}}",{multiLineBasicStringDelimiter:har,newline:Ck,multiLineBasicBody:Ear}),label:'"""MultiLineBasicString"""',categories:[s7],line_breaks:!0});w1(Dlt,p=>{let c=vlt(p);return ylt(c)});var xar=Ao.default.build("{{apostrophe}}{3}",{apostrophe:dFe}),Tar=Ao.default.build(" |[ -&]|[\\x28-~]|{{nonAscii}}",{nonAscii:$V}),Aar=Ao.default.build("{{multiLineLiteralChar}}|{{newline}}",{multiLineLiteralChar:Tar,newline:Ck}),Far=Ao.default.build("{{apostrophe}}{1,2}",{apostrophe:dFe}),kar=Ao.default.build("{{multiLineLiteralContent}}*({{multiLineLiteralQuotes}}{{multiLineLiteralContent}}+)*{{multiLineLiteralQuotes}}?",{multiLineLiteralContent:Aar,multiLineLiteralQuotes:Far}),blt=Gu({name:"MultiLineLiteralString",pattern:Ao.default.build("{{multiLineLiteralStringDelimiter}}{{newline}}?{{multiLineLiteralBody}}{{multiLineLiteralStringDelimiter}}",{multiLineLiteralStringDelimiter:xar,newline:Ck,multiLineLiteralBody:kar}),label:"'''MultiLineLiteralString'''",categories:[s7],line_breaks:!0});w1(blt,vlt);var CFe=Gu({name:"QuotedKey",pattern:z_.NA,categories:[bk]});w1(CFe,VV);var Iar=Ao.default.build("{{whiteSpaceChar}}|!|[#-\\x5B]|[\\x5D-~]|{{nonAscii}}",{whiteSpaceChar:OR,nonAscii:$V}),war=Ao.default.build("{{basicUnescaped}}|{{escaped}}",{basicUnescaped:Iar,escaped:rlt}),SFe=Gu({name:"BasicString",pattern:Ao.default.build("{{quotationMark}}{{basicChar}}*{{quotationMark}}",{quotationMark:pFe,basicChar:war}),label:'"BasicString"',categories:[CFe,s7]});w1(SFe,p=>{let c=p.slice(1,-1);return ylt(c)});var Par=Ao.default.build(" |[ -&]|[\\x28-~]|{{nonAscii}}",{nonAscii:$V}),EFe=Gu({name:"LiteralString",pattern:Ao.default.build("{{apostrophe}}{{literalChar}}*{{apostrophe}}",{apostrophe:dFe,literalChar:Par}),label:"'LiteralString'",categories:[CFe,s7]});w1(EFe,p=>p.slice(1,-1));var Nar=/0x/,Oar=/0o/,Lar=/0b/,Rar=/[0-7]/,Mar=/[01]/,Bar=Ao.default.build("{{hexPrefix}}{{hexDigit}}({{hexDigit}}|{{underscore}}{{hexDigit}})*",{hexPrefix:Nar,hexDigit:tlt,underscore:HV}),jar=Ao.default.build("{{octPrefix}}{{digit0_7}}({{digit0_7}}|{{underscore}}{{digit0_7}})*",{octPrefix:Oar,digit0_7:Rar,underscore:HV}),Jar=Ao.default.build("{{binPrefix}}{{digit0_1}}({{digit0_1}}|{{underscore}}{{digit0_1}})*",{binPrefix:Lar,digit0_1:Mar,underscore:HV}),qar=Ao.default.build("{{hexInteger}}|{{octalInteger}}|{{binaryInteger}}",{hexInteger:Bar,octalInteger:jar,binaryInteger:Jar}),Clt=Gu({name:"NonDecimalInteger",pattern:qar,categories:[KV]}),zar=(p,c)=>{let _=BigInt(0);for(let g=0;g<p.length;g++){let S=p[g],w=parseInt(S,c);_=_*BigInt(c)+BigInt(w)}return _},War=p=>{if(p.startsWith("0x"))return 16;if(p.startsWith("0o"))return 8;if(p.startsWith("0b"))return 2};w1(Clt,p=>{let c=p.replace(/_/g,"").slice(2),_=War(p),g=parseInt(c,_);return Number.isSafeInteger(g)?g:zar(c,_)});var Slt=Gu({name:"DecimalInteger",pattern:nlt,categories:[KV]});w1(Slt,p=>{let c=p.replace(/_/g,""),_=parseInt(c);return Number.isSafeInteger(_)?_||0:BigInt(c)});var Uar=/[a-zA-Z]/,Var=Ao.default.build("({{alpha}}|{{digit}}|-|_)+",{alpha:Uar,digit:sE}),Elt=Gu({name:"UnquotedKey",pattern:Var,categories:[bk]});w1(Elt,p=>p);var Gar=/#/,$ar=Ao.default.build(" |[ -~]|{{nonAscii}}",{nonAscii:$V}),Har=Ao.default.build("{{commentStartChar}}{{nonEol}}*",{commentStartChar:Gar,nonEol:$ar}),xlt=Gu({name:"Comment",pattern:Har,group:"comment"}),Kar=/true/,Tlt=Gu({name:"True",pattern:Kar,label:"true",categories:[GV]});w1(Tlt,()=>!0);var Qar=/false/,Alt=Gu({name:"False",pattern:Qar,label:"false",categories:[GV]});w1(Alt,()=>!1);var Xar=Gu({name:"IgnoredNewline",pattern:Ck,group:z_.SKIPPED}),Yar=Gu({name:"InlineTableKeyValSep",pattern:/=/,label:"=",push_mode:"Value",pop_mode:!0,categories:[bFe]}),Vut=[glt,SFe,EFe,Elt,llt,bk],Gut=[glt,Dlt,blt,SFe,EFe,Tlt,Alt,Kae,Qae,Clt,Slt,Qut,_lt,xlt],Flt={modes:{Key:[xlt,lFe,bFe,Zut,Yut,hlt,mlt,...Vut],Value:[...Gut,dlt,plt,fFe],Array:[...Gut,Xar,Xut,Kut],InlineTable:[...Vut,Yar,fFe]},defaultMode:"Key"},Zar=new z_(Flt,{ensureOptimizations:!0,skipValidations:!Hae.isDebug(),traceInitPerf:Hae.isDebug()}),eor=class extends XU{toml=this.RULE("toml",()=>{this.MANY(()=>this.CONSUME(lFe)),this.MANY1(()=>{this.SUBRULE1(this.expression),this.OPTION2(()=>{this.CONSUME1(dlt),this.MANY3(()=>this.CONSUME2(lFe))})})});valueCache;dottedKey=this.RULE("dottedKey",()=>{this.CONSUME(bk),this.AT_LEAST_ONE(()=>{this.CONSUME(llt),this.CONSUME1(bk)})});key=this.RULE("key",()=>{this.OR({MAX_LOOKAHEAD:2,DEF:[{ALT:()=>this.SUBRULE(this.dottedKey)},{ALT:()=>this.CONSUME(bk)}]})});inlineTableKeyValues=this.RULE("inlineTableKeyValues",()=>{this.MANY_SEP({SEP:plt,DEF:()=>this.SUBRULE(this.keyValue)})});inlineTable=this.RULE("inlineTable",()=>{this.CONSUME(_lt),this.OPTION(()=>this.SUBRULE(this.inlineTableKeyValues)),this.CONSUME(fFe)});array=this.RULE("array",()=>{this.CONSUME(Qut),this.OPTION(()=>this.SUBRULE(this.arrayValues)),this.CONSUME(Kut)});value=this.RULE("value",()=>{this.OR(this.valueCache||(this.valueCache=[{ALT:()=>this.CONSUME(s7)},{ALT:()=>this.CONSUME(GV)},{ALT:()=>this.SUBRULE(this.array)},{ALT:()=>this.SUBRULE(this.inlineTable)},{ALT:()=>this.CONSUME(Kae)},{ALT:()=>this.CONSUME(Qae)},{ALT:()=>this.CONSUME(KV)}]))});keyValue=this.RULE("keyValue",()=>{this.SUBRULE(this.key),this.CONSUME(bFe),this.SUBRULE(this.value)});arrayValues=this.RULE("arrayValues",()=>{this.SUBRULE(this.value);let p=!0;this.MANY({GATE:()=>p,DEF:()=>{this.CONSUME(Xut),this.OPTION(()=>this.SUBRULE1(this.value))||(p=!1)}})});stdTable=this.RULE("stdTable",()=>{this.CONSUME(hlt),this.SUBRULE(this.key),this.CONSUME(mlt)});arrayTable=this.RULE("arrayTable",()=>{this.CONSUME(Zut),this.SUBRULE(this.key),this.CONSUME(Yut)});table=this.RULE("table",()=>{this.OR([{ALT:()=>this.SUBRULE(this.stdTable)},{ALT:()=>this.SUBRULE(this.arrayTable)}])});expression=this.RULE("expression",()=>{this.OR([{ALT:()=>this.SUBRULE(this.keyValue)},{ALT:()=>this.SUBRULE(this.table)}])});constructor(){super(Flt,{traceInitPerf:Hae.isDebug(),maxLookahead:1,skipValidations:!Hae.isDebug()}),this.performSelfAnalysis()}},UV=new eor,$ut=p=>p&&(p.constructor===Object||p.constructor===void 0),$ae=()=>Object.create(null),cFe=(p,c)=>{try{return p()}catch(_){if(_ instanceof PR)throw new zsr(c)}},PR=class extends Error{},tor=UV.getBaseCstVisitorConstructor(),uFe=Symbol("explicitlyDeclared"),Hut=Symbol("implicitlyDeclared"),WV=Symbol("notEditable"),ror=class extends tor{constructor(){super(),this.validateVisitor()}toml(p){var c;let _=$ae(),g=_;return(c=p.expression)==null||c.forEach(S=>g=this.visit(S,{current:g,root:_})),this.cleanInternalProperties(_),_}expression(p,{current:c,root:_}){if(p.keyValue)return this.visit(p.keyValue,c),c;if(p.table)return this.visit(p.table,_)}keyValue(p,c){let _=this.visit(p.key),g=this.visit(p.value);cFe(()=>this.assignValue(_,g,c),`Cannot assign value to '${_.join(".")}'`)}key(p){return p.dottedKey?this.visit(p.dottedKey):[this.interpret(p,bk)]}dottedKey(p){return this.interpret(p,bk)}inlineTableKeyValues(p,c){p.keyValue&&p.keyValue.forEach(_=>this.visit(_,c))}inlineTable(p){let c=$ae();return c[WV]=!0,p.inlineTableKeyValues&&this.visit(p.inlineTableKeyValues,c),c}value(p){return p.array?this.visit(p.array):p.inlineTable?this.visit(p.inlineTable):this.interpret(p,s7,Qae,GV,Kae,KV)}arrayValues(p,c){return p.value.forEach(_=>c.push(this.visit(_))),c}array(p){let c=[];return c[WV]=!0,p.arrayValues?this.visit(p.arrayValues,c):c}table(p,c){if(p.stdTable)return this.visit(p.stdTable,c);if(p.arrayTable)return this.visit(p.arrayTable,c)}stdTable(p,c){let _=this.visit(p.key);return cFe(()=>this.createTable(_,c),`Cannot create table '${_.join(".")}'`)}arrayTable(p,c){let _=this.visit(p.key);return cFe(()=>{let g=this.getOrCreateArray(_,c);if(g[WV])throw new PR;let S=$ae();return g.push(S),S},`Cannot create array table '${_.join(".")}'`)}cleanInternalProperties(p){for(let c of Object.getOwnPropertySymbols(p))delete p[c];for(let c in p)typeof p[c]=="object"&&this.cleanInternalProperties(p[c]),Array.isArray(p[c])&&p[c].forEach(_=>this.cleanInternalProperties(_))}interpret(p,...c){for(let _ of c)if(p[_.name]){let g=p[_.name].map(S=>_Fe[_.name](S.image,S,_.name));return g.length===1?g[0]:g}}assignPrimitiveValue(p,c,_){if(p in _)throw new PR;return $ut(c)&&(c[uFe]=!0),_[p]=c,_}tryCreatingObject(p,c,_,g,S){if(c[p]){if(!$ut(c[p])||!S&&c[p][uFe]||!g&&c[p][Hut]||c[p][WV])throw new PR}else c[p]=$ae(),_&&(c[p][_]=!0);return c[p]}assignValue(p,c,_){let[g,...S]=p;return S.length>0?(this.tryCreatingObject(g,_,Hut,!0,!1),this.assignValue(S,c,_[g])):this.assignPrimitiveValue(g,c,_)}createTable(p,c){let[_,...g]=p;if(g.length>0){if(Array.isArray(c[_])){if(c[_][WV])throw new PR;let S=c[_][c[_].length-1];return this.createTable(g,S)}return this.tryCreatingObject(_,c,null,!0,!0),this.createTable(g,c[_])}return this.tryCreatingObject(_,c,uFe,!1,!1)}getOrCreateArray(p,c){let[_,...g]=p;if(g.length>0){if(Array.isArray(c[_])){let S=c[_][c[_].length-1];return this.getOrCreateArray(g,S)}return this.tryCreatingObject(_,c,null,!0,!0),this.getOrCreateArray(g,c[_])}if(c[_]&&!Array.isArray(c[_]))throw new PR;return c[_]=c[_]||[],c[_]}},nor=new ror,xFe=p=>{let c=Zar.tokenize(p);if(c.errors.length>0)throw new Jsr(c.errors);UV.input=c.tokens;let _=UV.toml();if(UV.errors.length>0)throw new qsr(UV.errors);return nor.visit(_)};var _ft=Bv(fft(),1);var _cr={eslint:"linting",biome:"linting",oxlint:"linting",typescript:"types",flow:"types",test:"tests",jest:"tests",vitest:"tests",mocha:"tests",playwright:"tests",cypress:"tests",prettier:"formatting",knip:"deadCode",depcheck:"deadCode",typedoc:"documentation",jsdoc:"documentation",alexandria:"documentation"},pcr=["eslint","typescript","test","prettier","knip","typedoc","alexandria"],dcr={lint:"eslint",eslint:"eslint",typecheck:"typescript","type-check":"typescript",tsc:"typescript",test:"test",jest:"jest",vitest:"vitest",format:"prettier",prettier:"prettier",knip:"knip",unused:"knip",docs:"alexandria",alexandria:"alexandria",typedoc:"typedoc"},eG=class{static detectLensCommands(c){let _=new Map;for(let g of c)if(g.name.startsWith("lens:")){let S=g.name.split(":");if(S.length>=3){let w=S[1],z=S[2];_.has(w)||_.set(w,{lensId:w,operations:new Set}),_.get(w).operations.add(z),g.isLensCommand=!0,g.lensId=w,g.lensOperation=z}}return _.size===0&&this.applyFallbackDetection(c,_),_}static applyFallbackDetection(c,_){for(let g of c){let S=dcr[g.name];if(S){_.has(S)||_.set(S,{lensId:S,operations:new Set});let w=g.name.includes("coverage")?"coverage":"check";_.get(S).operations.add(w),g.isLensCommand=!0,g.lensId=S,g.lensOperation=w}}}static calculateMetrics(c,_){let g={};for(let[S]of c){let w=_cr[S];if(w){let z=_?.get(S);z!==void 0&&(g[w]=z)}}return g}static getAvailableLenses(c){return Array.from(c.keys())}static getMissingLenses(c){let _=new Set(c.keys());return pcr.filter(g=>!_.has(g))}static calculateQualityProfile(c,_){let g=this.detectLensCommands(c),S=this.calculateMetrics(g,_),w=this.getAvailableLenses(g),z=this.getMissingLenses(g);return{hexagon:S,availableLenses:w,missingLenses:z}}};var tG=class{manifestFileName="package.json";packageType="node";canParse(c){return c.endsWith("package.json")}parseContent(c){try{return JSON.parse(c)}catch{return null}}extractPackageData(c,_){let g;_==="package.json"?g="":_.endsWith("/package.json")?g=_.slice(0,-13):g=_;let S=this.extractCommands(c,g);return{name:c.name||"unnamed",version:c.version,path:g,manifestPath:_,packageManager:"unknown",dependencies:c.dependencies||{},devDependencies:c.devDependencies||{},peerDependencies:c.peerDependencies||{},isMonorepoRoot:!!c.workspaces,isWorkspace:!1,parentPackage:void 0,availableCommands:S}}extractCommands(c,_){let g=[];return c.scripts&&Object.entries(c.scripts).forEach(([w,z])=>{g.push({name:w,command:`npm run ${w}`,description:z.length>50?z.substring(0,47)+"...":z,type:"script",workingDirectory:_})}),[{name:"install",command:"npm install",description:"Install dependencies"},{name:"ci",command:"npm ci",description:"Clean install dependencies"},{name:"update",command:"npm update",description:"Update dependencies"}].forEach(w=>{g.push({...w,type:"standard",workingDirectory:_})}),g}detectWorkspaces(c){return Array.isArray(c.workspaces)?c.workspaces:c.workspaces&&typeof c.workspaces=="object"&&"packages"in c.workspaces&&c.workspaces.packages||null}detectPackageManager(c,_){if(c.packageManager){let g=c.packageManager.split("@")[0];if(["npm","yarn","pnpm"].includes(g))return g}return _.some(g=>g.endsWith("yarn.lock"))?"yarn":_.some(g=>g.endsWith("pnpm-lock.yaml"))?"pnpm":(_.some(g=>g.endsWith("package-lock.json")),"npm")}detectConfigs(c,_,g){let S={},w={knip:["knip.json","knip.jsonc",".knip.json","knip.config.js","knip.config.ts","knip.config.mjs"],eslint:[".eslintrc",".eslintrc.js",".eslintrc.json",".eslintrc.yml",".eslintrc.yaml","eslint.config.js","eslint.config.mjs",".eslintrc.cjs"],prettier:[".prettierrc",".prettierrc.js",".prettierrc.json",".prettierrc.yml",".prettierrc.yaml","prettier.config.js",".prettierrc.toml"],typescript:["tsconfig.json","tsconfig.base.json"],jest:["jest.config.js","jest.config.ts","jest.config.mjs","jest.config.cjs","jest.config.json"],vitest:["vitest.config.js","vitest.config.ts","vitest.config.mjs"],webpack:["webpack.config.js","webpack.config.ts","webpack.config.mjs"],vite:["vite.config.js","vite.config.ts","vite.config.mjs"],rollup:["rollup.config.js","rollup.config.ts","rollup.config.mjs"],babel:[".babelrc",".babelrc.js",".babelrc.json","babel.config.js","babel.config.json"],dockerfile:["Dockerfile","dockerfile","Dockerfile.dev","Dockerfile.prod"],gitignore:[".gitignore"],editorconfig:[".editorconfig"]},z=c==="."||c===""?"":c.endsWith("/")?c:c+"/";if(_.allFiles)for(let[ie,de]of Object.entries(w))for(let be of de){let Ee=z+be;if(_.allFiles.some(Y=>Y.path===Ee||Y.relativePath===Ee)){S[ie]={path:Ee,exists:!0,type:this.getConfigFileType(be)};break}}return g&&(g.eslintConfig&&(S.eslint={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"eslintConfig"}),g.prettier&&(S.prettier={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"prettier"}),g.jest&&(S.jest={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"jest"}),g.babel&&(S.babel={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"babel"})),S}getConfigFileType(c){return c.endsWith(".json")||c.endsWith(".jsonc")?"json":c.endsWith(".yml")||c.endsWith(".yaml")?"yaml":c.endsWith(".toml")?"toml":c.endsWith(".js")||c.endsWith(".mjs")||c.endsWith(".cjs")?"js":c.endsWith(".ts")||c.endsWith(".mts")||c.endsWith(".cts")?"ts":c.endsWith(".ini")?"ini":"custom"}detectDocsFolder(c,_,g){let S=["docs","documentation","doc"],w=c==="."||c===""?"":c;if(w&&!w.endsWith("/")&&(w+="/"),!_.allFiles)return;for(let be of S){let Ee=w+be;if(_.allFiles.some(Y=>Y.path?.toLowerCase().startsWith(Ee.toLowerCase()+"/"))){let Y=_.allFiles.find(ut=>ut.path?.toLowerCase().startsWith(Ee.toLowerCase()+"/"))?.path;return Y?Y.substring(0,Y.indexOf("/",w.length)).substring(w.length):be}}let z=new Map;for(let be of _.allFiles){if(!be.path||w!==""&&!be.path.startsWith(w))continue;let Oe=(w===""?be.path:be.path.substring(w.length)).split("/");if(Oe.length===2){let Y=Oe[0],ut=Oe[1];z.has(Y)||z.set(Y,{docFiles:0,totalFiles:0});let Ye=z.get(Y);Ye.totalFiles++,this.isDocumentationFile(ut)&&Ye.docFiles++}}let ie,de=.5;for(let[be,Ee]of Array.from(z.entries()))if(Ee.docFiles>=2){let Oe=Ee.docFiles/Ee.totalFiles;Oe>de&&(de=Oe,ie=be)}return ie}isDocumentationFile(c){let _=c.toLowerCase();return[".md",".mdx",".rst",".txt",".adoc",".asciidoc"].some(z=>_.endsWith(z))?!0:[/^readme/i,/^changelog/i,/^changes/i,/^history/i,/^license/i,/^copying/i,/^install/i,/^usage/i,/^guide/i,/^tutorial/i,/^manual/i,/^faq/i,/^api/i,/^reference/i,/^spec/i,/^specification/i].some(z=>z.test(c))}},KFe=class{manifestFileName="pyproject.toml";packageType="python";canParse(c){return c.endsWith("pyproject.toml")||c.endsWith("setup.py")||c.endsWith("requirements.txt")}parseContent(c){try{return xFe(c)}catch{return null}}extractPackageData(c,_){let g,S=_.split("/").pop()||"";_===S?g="":g=_.substring(0,_.lastIndexOf("/"));let w=c.tool?.poetry,z=c.project,ie=w?.name||z?.name||"unnamed",de=w?.version||z?.version,be={},Ee={};if(w?.dependencies&&Object.entries(w.dependencies).forEach(([Y,ut])=>{Y!=="python"&&(be[Y]=typeof ut=="string"?ut:JSON.stringify(ut))}),w?.["dev-dependencies"]&&Object.entries(w["dev-dependencies"]).forEach(([Y,ut])=>{Ee[Y]=typeof ut=="string"?ut:JSON.stringify(ut)}),z?.dependencies&&Array.isArray(z.dependencies))try{let Y=z.dependencies.join(`
976
- `);(0,_ft.parsePipRequirementsFile)(Y).forEach(Ye=>{if(Ye.type==="ProjectName"&&Ye.name){let We="*";Ye.versionSpec&&Ye.versionSpec.length>0&&(We=Ye.versionSpec[0].version||"*"),be[Ye.name]=We}})}catch(Y){console.warn("Failed to parse PEP 621 dependencies with pip-requirements-js, falling back to simple parsing:",Y),z.dependencies.forEach(ut=>{let Ye=ut.trim(),We=Ye.indexOf(" ");We>0?be[Ye.substring(0,We)]="*":be[Ye]="*"})}let Oe=this.detectPythonPackageManager(c);return{name:ie,version:de,path:g,manifestPath:_,packageManager:Oe,dependencies:be,devDependencies:Ee,peerDependencies:{},isMonorepoRoot:!1,isWorkspace:!1,parentPackage:void 0,availableCommands:[]}}detectWorkspaces(c){return null}detectPackageManager(c,_){return this.detectPythonPackageManager(c)}detectPythonPackageManager(c){return c.tool?.poetry?"poetry":"pip"}detectDocsFolder(c,_,g){return new tG().detectDocsFolder(c,_,{})}},QFe=class{manifestFileName="Cargo.toml";packageType="cargo";canParse(c){return c.endsWith("Cargo.toml")}parseContent(c){try{return xFe(c)}catch{return null}}extractPackageData(c,_){let g=c.package;if(!g)return null;let S;_==="Cargo.toml"?S="":_.endsWith("/Cargo.toml")?S=_.slice(0,-11):S=_;let w={},z={};return c.dependencies&&Object.entries(c.dependencies).forEach(([ie,de])=>{w[ie]=typeof de=="string"?de:JSON.stringify(de)}),c["dev-dependencies"]&&Object.entries(c["dev-dependencies"]).forEach(([ie,de])=>{z[ie]=typeof de=="string"?de:JSON.stringify(de)}),{name:g.name||"unnamed",version:g.version,path:S,manifestPath:_,packageManager:"cargo",dependencies:w,devDependencies:z,peerDependencies:{},isMonorepoRoot:!!c.workspace,isWorkspace:!1,parentPackage:void 0,availableCommands:[]}}detectWorkspaces(c){return c.workspace?.members||null}detectPackageManager(){return"cargo"}detectDocsFolder(c,_,g){return new tG().detectDocsFolder(c,_,{})}},jR=class{parsers=[new tG,new KFe,new QFe];async discoverPackages(c,_){let g=[];if(!c.allFiles)return g;let S=c.allFiles.filter(z=>z.path?this.parsers.some(ie=>ie.canParse(z.path)):!1),w=c.allFiles.map(z=>z.path).filter(Boolean);for(let z of S){if(!z.path)continue;let ie=this.parsers.find(_r=>_r.canParse(z.path));if(!ie)continue;let de=null;if(_)try{let _r=await _(z.path);_r&&(de=ie.parseContent(_r))}catch(_r){console.warn(`Could not read or parse ${z.path}:`,_r);continue}else{let _r=z.path.split("/").slice(-2,-1)[0]||"unnamed";de=this.createMinimalManifest(ie.packageType,_r)}if(!de)continue;let be=ie.extractPackageData(de,z.path);if(!be){console.warn(`[PackageLayerModule] extractPackageData returned null for ${z.path}`,{content:de,parser:ie.packageType});continue}let Ee=z.path.substring(0,z.path.lastIndexOf("/")),Oe=w.filter(_r=>_r.startsWith(Ee)&&this.isLockFile(_r));be.packageManager=ie.detectPackageManager(de,Oe),ie.packageType==="node"&&be.availableCommands&&be.packageManager&&be.packageManager!=="unknown"&&be.packageManager!=="npm"&&(be.availableCommands=be.availableCommands.map(_r=>{if(_r.command.includes("npm ")){let Hr=_r.command;return be.packageManager==="yarn"?Hr=Hr.replace("npm run","yarn").replace("npm install","yarn install").replace("npm ci","yarn install --frozen-lockfile").replace("npm update","yarn upgrade"):be.packageManager==="pnpm"&&(Hr=Hr.replace("npm","pnpm")),{..._r,command:Hr}}return _r}));let Y={id:`package-manifest-${be.path}`,name:ie.manifestFileName,patterns:[{type:"exact",pattern:z.path,description:`${ie.packageType} package manifest`}],matchedFiles:[z.path],fileCount:1},ut;ie.detectConfigs&&(ut=ie.detectConfigs(be.path,c,de));let Ye;ie.detectDocsFolder&&(Ye=ie.detectDocsFolder(be.path,c,de));let We=be.availableCommands?eG.calculateQualityProfile(be.availableCommands):void 0,Ut={id:`package-${ie.packageType}-${be.path.replace(/[^a-zA-Z0-9-]/g,"-")}`,name:be.name,type:ie.packageType,enabled:!0,derivedFrom:{fileSets:[Y],derivationType:"content",description:`${ie.packageType} package defined in ${ie.manifestFileName}`,contentExtraction:{method:"parse",parser:{format:ie.manifestFileName.endsWith(".json")?"json":"toml",paths:ie.packageType==="node"?[""]:ie.packageType==="python"?["tool.poetry","project"]:["package"]}}},packageData:be,configFiles:ut,docsFolder:Ye,qualityMetrics:We,pillar:"foundationHealth"};g.push(Ut)}return this.resolveWorkspaceRelationships(g),g}createPackageLayersFromBoundaries(c){return c.map(_=>{let g={id:`package-manifest-${_.rootPath||"root"}`,name:"package.json",patterns:[{type:"exact",pattern:_.packageJsonPath,description:"Node.js package manifest"}],matchedFiles:[_.packageJsonPath],fileCount:1},S={name:_.packageData?.name||_.name,version:_.packageData?.version,path:_.rootPath||".",manifestPath:_.packageJsonPath,packageManager:"unknown",dependencies:{},devDependencies:{},peerDependencies:{},isMonorepoRoot:!!_.packageData?.workspaces,isWorkspace:!_.isRoot&&c.length>1,parentPackage:_.isRoot?void 0:"root"};return{id:`package-node-${_.id}`,name:S.name,type:"node",enabled:!0,derivedFrom:{fileSets:[g],derivationType:"content",description:"Node.js package defined in package.json"},packageData:S,pillar:"foundationHealth"}})}isLockFile(c){return["package-lock.json","yarn.lock","pnpm-lock.yaml","poetry.lock","Pipfile.lock","Cargo.lock"].some(g=>c.endsWith(g))}resolveWorkspaceRelationships(c){let _=c.filter(g=>g.packageData.path==="."||g.packageData.path==="");c.forEach(g=>{if(g.packageData.path!=="."&&g.packageData.path!==""){g.packageData.isWorkspace=!0;let S=g.packageData.path.includes("/")?g.packageData.path.substring(0,g.packageData.path.lastIndexOf("/")):".",w=c.find(z=>z.packageData.path===S);w&&(g.packageData.parentPackage=w.packageData.name)}})}createMinimalManifest(c,_){switch(c){case"node":return{name:_,version:"0.0.0",dependencies:{},devDependencies:{}};case"python":return{project:{name:_,version:"0.0.0"}};case"cargo":return{package:{name:_,version:"0.0.0"}};default:return{}}}};var N1=Bv(e_t(),1);var vur=Bv(goe(),1);var bur=Bv(goe(),1);var Cur=Bv(goe(),1);var wT=Bv(require("path")),z4=Bv(require("fs/promises")),kke=class{constructor(c){this.basePath=c}async readFile(c){try{let _=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return{content:await z4.readFile(_,"utf-8")}}catch(_){return console.error(`[CLIFileSystemAdapter] Failed to read ${c}:`,_),null}}async fileExists(c){try{let _=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return await z4.access(_),!0}catch{return!1}}async readDirectory(c){try{let _=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return await z4.readdir(_)}catch(_){return console.error(`[CLIFileSystemAdapter] Failed to read directory ${c}:`,_),[]}}async isDirectory(c){try{let _=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return(await z4.stat(_)).isDirectory()}catch{return!1}}async buildFilteredFileTree(c,_,g){return{paths:[]}}},oG=class{constructor(){this.packageModule=new jR}async extractPackages(c,_){try{let g=new kke(_),S=async z=>(await g.readFile(z))?.content||"",w=await this.packageModule.discoverPackages(c,S);return console.info(`[RepositoryScanner] Found ${w.length} packages in ${_}`),w}catch(g){return console.error("[RepositoryScanner] Failed to extract packages:",g),[]}}};var Hv=Bv(L_t());var qke=require("child_process"),zke=require("stream"),koe=class{constructor(){this.type="node"}async execute(c,_=[],g={}){let S=Date.now();return new Promise(w=>{let z="",ie="",be={...g.env||process.env};delete be.NODE_OPTIONS,delete be.TS_NODE_PROJECT,delete be.TS_NODE_TRANSPILE_ONLY;let Ee=(0,qke.spawn)(c,_,{cwd:g.cwd,env:be,shell:!0});Ee.stdout&&Ee.stdout.on("data",Y=>{z+=Y.toString()}),Ee.stderr&&Ee.stderr.on("data",Y=>{ie+=Y.toString()});let Oe;g.timeout&&(Oe=setTimeout(()=>{Ee.kill("SIGTERM")},g.timeout)),Ee.on("error",Y=>{Oe&&clearTimeout(Oe),w({stdout:z,stderr:ie||Y.message,exitCode:1,duration:Date.now()-S,command:c,args:_,error:Y})}),Ee.on("close",Y=>{Oe&&clearTimeout(Oe),w({stdout:z,stderr:ie,exitCode:Y??0,duration:Date.now()-S,command:c,args:_})})})}stream(c,_=[],g={}){let w={...g.env||process.env};delete w.NODE_OPTIONS,delete w.TS_NODE_PROJECT,delete w.TS_NODE_TRANSPILE_ONLY;let z=(0,qke.spawn)(c,_,{cwd:g.cwd,env:w,shell:!0}),ie=new Promise(de=>{let be="",Ee="",Oe=Date.now();z.stdout&&z.stdout.on("data",Y=>{be+=Y.toString()}),z.stderr&&z.stderr.on("data",Y=>{Ee+=Y.toString()}),z.on("close",Y=>{de({stdout:be,stderr:Ee,exitCode:Y??0,duration:Date.now()-Oe,command:c,args:_})}),z.on("error",Y=>{de({stdout:be,stderr:Ee||Y.message,exitCode:1,duration:Date.now()-Oe,command:c,args:_,error:Y})})});return{stdout:z.stdout||new zke.Readable({read(){}}),stderr:z.stderr||new zke.Readable({read(){}}),exitPromise:ie,kill:()=>{z.kill("SIGTERM")}}}async isAvailable(c){try{let _=["--version"];return(await this.execute(c,_,{timeout:5e3})).exitCode===0}catch{return!1}}};var Ioe=class{constructor(){this.executor=new koe,this.lenses=new Map,this.initializeLenses()}initializeLenses(){console.log("[QualityLensService] Initializing lenses...");let c=new Hv.ESLintLens(this.executor);this.lenses.set("eslint",c),this.lenses.set("lint",c);let _=new Hv.JestLens(this.executor);this.lenses.set("jest",_),this.lenses.set("test",_);let g=new Hv.TypeScriptLens(this.executor);this.lenses.set("typescript",g),this.lenses.set("typecheck",g),this.lenses.set("tsc",g);let S=new Hv.KnipLens(this.executor);this.lenses.set("knip",S),this.lenses.set("deadcode",S);let w=new Hv.PrettierLens(this.executor);this.lenses.set("prettier",w),this.lenses.set("format",w);let z=new Hv.GitLens(this.executor);this.lenses.set("git",z);let ie=new Hv.AlexandriaLens(this.executor);this.lenses.set("alexandria",ie),this.lenses.set("docs",ie)}async executeTool(c){let _=Date.now();if(!c.packageLayer||!c.packageCommand)throw new Error("packageLayer and packageCommand are required. Legacy execution has been removed.");return this.executeWithPackageLayer(c,_)}async executeWithPackageLayer(c,_){let{repoPath:g,packageLayer:S,packageCommand:w}=c;if(!S||!w)throw new Error("packageLayer and packageCommand are required for new execution path");let z=S.packageData.path||"",ie=z?`${g}/${z}`:g;if(!w.isLensCommand||!w.lensId)return console.log(`[QualityLensService] Not a lens command, executing directly: ${w.name}`),this.executeNonLensCommand(c,w,ie,_);let de=this.lenses.get(w.lensId);if(!de)return console.warn(`[QualityLensService] No lens registered for: ${w.lensId}`),this.executeNonLensCommand(c,w,ie,_);console.log(`[QualityLensService] Using ${de.name} for command: ${w.name} (lensId: ${w.lensId})`);try{let{command:be,args:Ee}=this.parseCommandString(w.command);de.configure({cwd:ie,tool:{name:w.lensId,command:be,args:Ee,cwd:ie,available:!0}});let Oe=await de.run(),{success:Y,exitCode:ut}=this.determineLensSuccess(Oe);return{success:Y,toolName:w.lensId,command:w.command,packagePath:z,exitCode:ut,duration:Date.now()-_,stdout:Oe.raw?.stdout||"",stderr:Oe.raw?.stderr||Oe.error?.message||"",lensResult:Oe,qualityContext:{lensId:w.lensId,operation:w.lensOperation,availableLenses:S.qualityMetrics?.availableLenses,missingLenses:S.qualityMetrics?.missingLenses}}}catch(be){return console.error("[QualityLensService] Error:",be),this.createErrorResponse(w.lensId||w.name,w.command,z,be,_)}}async executeNonLensCommand(c,_,g,S){let{command:w,args:z}=this.parseCommandString(_.command);try{let ie=await this.executor.execute(w,z,{cwd:g});return{success:ie.exitCode===0,toolName:_.name,command:_.command,packagePath:c.packageLayer?.packageData.path,exitCode:ie.exitCode,duration:Date.now()-S,stdout:ie.stdout,stderr:ie.stderr}}catch(ie){return this.createErrorResponse(_.name,_.command,c.packageLayer?.packageData.path,ie,S)}}parseCommandString(c){if(c.startsWith("npm run "))return{command:"npm",args:["run",...c.split(" ").slice(2)]};if(c.startsWith("yarn "))return{command:"yarn",args:c.split(" ").slice(1)};if(c.startsWith("pnpm "))return{command:"pnpm",args:c.split(" ").slice(1)};let _=c.split(" ");return{command:_[0]||"",args:_.slice(1)}}determineLensSuccess(c){let _=0,g=!0;return c.raw?.exitCode!==void 0?(_=c.raw.exitCode,g=_===0):c.error||c.metrics?.issuesBySeverity?.error&&c.metrics.issuesBySeverity.error>0?(_=1,g=!1):(g=c.success!==!1,_=g?0:1),{success:g,exitCode:_}}createErrorResponse(c,_,g,S,w){return{success:!1,toolName:c,command:_,packagePath:g,exitCode:1,duration:Date.now()-w,stdout:"",stderr:S.message||"Tool execution failed",error:S.message}}getAvailableLenses(){return Array.from(this.lenses.keys())}hasLensForTool(c){return this.lenses.has(c.toLowerCase())}};var woe=class{mapLensToHexagonDimension(c){return{jest:"tests",test:"tests",knip:"deadCode",deadcode:"deadCode",prettier:"formatting",format:"formatting",eslint:"linting",lint:"linting",typescript:"types",typecheck:"types",tsc:"types",alexandria:"documentation"}[c.toLowerCase()]||null}extractQualityScore(c){if(c.result?.lensResult?.qualityScore!==void 0&&c.result.lensResult.qualityScore!==null)return c.result.lensResult.qualityScore;let _=c.result?.lensResult?.metrics;if(_){if(!c.result?.success)return 0;let g=_.totalIssues||0,S=_.filesAnalyzed||1;if(g===0)return 100;let w=_.issuesBySeverity||{},z=(w.error||0)*3,ie=(w.warning||0)*2,de=(w.info||0)*1,be=(w.hint||0)*.5,Oe=(z+ie+de+be)/S,Y=Math.max(0,100-Oe*10);return Math.round(Y)}return 0}calculateHexagonMetrics(c){let _={tests:0,deadCode:0,formatting:0,linting:0,types:0,documentation:0};for(let g of c){let S=this.mapLensToHexagonDimension(g.lens);if(S){let w=this.extractQualityScore(g);_[S]=Math.max(_[S],w)}}return _}getGitMetadata(){let c={};if(process.env.GITHUB_SHA&&(c.commit=process.env.GITHUB_SHA),process.env.GITHUB_REF){let _=process.env.GITHUB_REF;_.startsWith("refs/heads/")?c.branch=_.replace("refs/heads/",""):_.startsWith("refs/pull/")&&(c.branch=_)}if(process.env.GITHUB_REPOSITORY&&(c.repository=process.env.GITHUB_REPOSITORY),Object.keys(c).length!==0)return c}format(c){let _=this.getGitMetadata(),g={metadata:{timestamp:new Date().toISOString(),version:"1.0.0",totalPackages:new Set(c.map(S=>S.package)).size,totalLenses:c.length,..._&&{git:_}},results:c.map(S=>({package:{name:S.package,path:S.packagePath},lens:{id:S.lens,command:S.command},execution:{success:S.result?.success??!1,exitCode:S.result?.exitCode,duration:S.result?.duration,timestamp:S.timestamp},issues:S.result?.lensResult?.issues||[],metrics:S.result?.lensResult?.metrics||{},coverage:S.result?.lensResult?.coverage,fileMetrics:S.result?.lensResult?.fileMetrics,qualityContext:S.result?.qualityContext||{},error:S.error}))};return c.length>0&&(g.qualityMetrics={hexagon:this.calculateHexagonMetrics(c)}),JSON.stringify(g,null,2)}};var R_t=(p=0)=>c=>`\x1B[${c+p}m`,M_t=(p=0)=>c=>`\x1B[${38+p};5;${c}m`,B_t=(p=0)=>(c,_,g)=>`\x1B[${38+p};2;${c};${_};${g}m`,Zp={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},$Ir=Object.keys(Zp.modifier),slr=Object.keys(Zp.color),alr=Object.keys(Zp.bgColor),HIr=[...slr,...alr];function olr(){let p=new Map;for(let[c,_]of Object.entries(Zp)){for(let[g,S]of Object.entries(_))Zp[g]={open:`\x1B[${S[0]}m`,close:`\x1B[${S[1]}m`},_[g]=Zp[g],p.set(S[0],S[1]);Object.defineProperty(Zp,c,{value:_,enumerable:!1})}return Object.defineProperty(Zp,"codes",{value:p,enumerable:!1}),Zp.color.close="\x1B[39m",Zp.bgColor.close="\x1B[49m",Zp.color.ansi=R_t(),Zp.color.ansi256=M_t(),Zp.color.ansi16m=B_t(),Zp.bgColor.ansi=R_t(10),Zp.bgColor.ansi256=M_t(10),Zp.bgColor.ansi16m=B_t(10),Object.defineProperties(Zp,{rgbToAnsi256:{value(c,_,g){return c===_&&_===g?c<8?16:c>248?231:Math.round((c-8)/247*24)+232:16+36*Math.round(c/255*5)+6*Math.round(_/255*5)+Math.round(g/255*5)},enumerable:!1},hexToRgb:{value(c){let _=/[a-f\d]{6}|[a-f\d]{3}/i.exec(c.toString(16));if(!_)return[0,0,0];let[g]=_;g.length===3&&(g=[...g].map(w=>w+w).join(""));let S=Number.parseInt(g,16);return[S>>16&255,S>>8&255,S&255]},enumerable:!1},hexToAnsi256:{value:c=>Zp.rgbToAnsi256(...Zp.hexToRgb(c)),enumerable:!1},ansi256ToAnsi:{value(c){if(c<8)return 30+c;if(c<16)return 90+(c-8);let _,g,S;if(c>=232)_=((c-232)*10+8)/255,g=_,S=_;else{c-=16;let ie=c%36;_=Math.floor(c/36)/5,g=Math.floor(ie/6)/5,S=ie%6/5}let w=Math.max(_,g,S)*2;if(w===0)return 30;let z=30+(Math.round(S)<<2|Math.round(g)<<1|Math.round(_));return w===2&&(z+=60),z},enumerable:!1},rgbToAnsi:{value:(c,_,g)=>Zp.ansi256ToAnsi(Zp.rgbToAnsi256(c,_,g)),enumerable:!1},hexToAnsi:{value:c=>Zp.ansi256ToAnsi(Zp.hexToAnsi256(c)),enumerable:!1}}),Zp}var clr=olr(),uE=clr;var Noe=Bv(require("node:process"),1),J_t=Bv(require("node:os"),1),Wke=Bv(require("node:tty"),1);function bC(p,c=globalThis.Deno?globalThis.Deno.args:Noe.default.argv){let _=p.startsWith("-")?"":p.length===1?"-":"--",g=c.indexOf(_+p),S=c.indexOf("--");return g!==-1&&(S===-1||g<S)}var{env:ed}=Noe.default,Poe;bC("no-color")||bC("no-colors")||bC("color=false")||bC("color=never")?Poe=0:(bC("color")||bC("colors")||bC("color=true")||bC("color=always"))&&(Poe=1);function ulr(){if("FORCE_COLOR"in ed)return ed.FORCE_COLOR==="true"?1:ed.FORCE_COLOR==="false"?0:ed.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(ed.FORCE_COLOR,10),3)}function llr(p){return p===0?!1:{level:p,hasBasic:!0,has256:p>=2,has16m:p>=3}}function flr(p,{streamIsTTY:c,sniffFlags:_=!0}={}){let g=ulr();g!==void 0&&(Poe=g);let S=_?Poe:g;if(S===0)return 0;if(_){if(bC("color=16m")||bC("color=full")||bC("color=truecolor"))return 3;if(bC("color=256"))return 2}if("TF_BUILD"in ed&&"AGENT_NAME"in ed)return 1;if(p&&!c&&S===void 0)return 0;let w=S||0;if(ed.TERM==="dumb")return w;if(Noe.default.platform==="win32"){let z=J_t.default.release().split(".");return Number(z[0])>=10&&Number(z[2])>=10586?Number(z[2])>=14931?3:2:1}if("CI"in ed)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(z=>z in ed)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(z=>z in ed)||ed.CI_NAME==="codeship"?1:w;if("TEAMCITY_VERSION"in ed)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ed.TEAMCITY_VERSION)?1:0;if(ed.COLORTERM==="truecolor"||ed.TERM==="xterm-kitty"||ed.TERM==="xterm-ghostty"||ed.TERM==="wezterm")return 3;if("TERM_PROGRAM"in ed){let z=Number.parseInt((ed.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ed.TERM_PROGRAM){case"iTerm.app":return z>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ed.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ed.TERM)||"COLORTERM"in ed?1:w}function j_t(p,c={}){let _=flr(p,{streamIsTTY:p&&p.isTTY,...c});return llr(_)}var _lr={stdout:j_t({isTTY:Wke.default.isatty(1)}),stderr:j_t({isTTY:Wke.default.isatty(2)})},q_t=_lr;function z_t(p,c,_){let g=p.indexOf(c);if(g===-1)return p;let S=c.length,w=0,z="";do z+=p.slice(w,g)+c+_,w=g+S,g=p.indexOf(c,w);while(g!==-1);return z+=p.slice(w),z}function W_t(p,c,_,g){let S=0,w="";do{let z=p[g-1]==="\r";w+=p.slice(S,z?g-1:g)+c+(z?`\r
970
+ For further details.`);this.skipValidations=mo(p,"skipValidations")?p.skipValidations:Ly.skipValidations}};QU.DEFER_DEFINITION_ERRORS_HANDLING=!1;gZe(QU,[Use,$se,Xse,Yse,eae,Zse,tae,rae,nae,aae]);var XU=class extends QU{constructor(c,p=Ly){let g=np(p);g.outputCst=!0,super(c,g)}};var Ao=Bv(Uut(),1),Nsr=class{debug=!1;enableDebug(){this.debug=!0}isDebug(){return this.debug}},Hae=new Nsr,Osr=/]/,Kut=Gu({name:"ArrayClose",pattern:Osr,label:"]",pop_mode:!0}),Lsr=/\[/,Qut=Gu({name:"ArrayOpen",pattern:Lsr,label:"[",push_mode:"Array"}),Rsr=/,/,Xut=Gu({name:"Comma",pattern:Rsr,label:","}),Yut=Gu({name:"ArrayTableClose",pattern:/]]/,label:"]]",push_mode:"Value"}),Zut=Gu({name:"ArrayTableOpen",pattern:/\[\[/,label:"[["}),_Fe=new Map,VV=(_,c,p)=>{let g=_Fe[c.tokenType.name];if(g)return g(_,c,p)},w1=(_,c)=>{_Fe[_.name]=c},GV=Gu({name:"Boolean",pattern:z_.NA});w1(GV,VV);var OR=/[ \t]/,$V=/[\x80-\uD7FF]|[\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/,Ck=/\r\n|\n/,pFe=/"/,elt=/\\/,sE=/[0-9]/,tlt=Ao.default.build("{{digit}}|[A-Fa-f]",{digit:sE}),Msr=Ao.default.build('["\\\\bfnrt]|u{{hexDigit}}{4}|U{{hexDigit}}{8}',{hexDigit:tlt}),rlt=Ao.default.build("{{escape}}{{escapeSeqChar}}",{escape:elt,escapeSeqChar:Msr}),dFe=/'/,HV=/_/,mFe=/-/,hFe=/\+/,Bsr=/[1-9]/,jsr=Ao.default.build("{{digit1_9}}({{digit}}|{{underscore}}{{digit}})+|{{digit}}",{digit1_9:Bsr,digit:sE,underscore:HV}),nlt=Ao.default.build("({{minus}}|{{plus}})?{{unsignedDecimalInteger}}",{minus:mFe,plus:hFe,unsignedDecimalInteger:jsr}),NR=class extends Error{constructor(_){super(_),this.name="SyntaxParseError"}},Jsr=class extends NR{errors;constructor(_){super(`Syntax error
971
+ `+_.map(c=>c.message).join(`
972
+ `)),this.errors=_}},qsr=class extends NR{errors;constructor(_){super(`Syntax error
973
+ `+_.map(c=>c.message).join(`
974
+ `)),this.errors=_}},zsr=class extends NR{constructor(_){super(_)}},ilt=Ao.default.build("{{digit}}{4}",{digit:sE}),slt=Ao.default.build("{{digit}}{2}",{digit:sE}),alt=Ao.default.build("{{digit}}{2}",{digit:sE}),olt=/[Tt ]/,gFe=Ao.default.build("{{digit}}{2}",{digit:sE}),yFe=Ao.default.build("{{digit}}{2}",{digit:sE}),clt=Ao.default.build("{{digit}}{2}",{digit:sE}),Wsr=Ao.default.build("\\.{{digit}}+",{digit:sE}),Usr=Ao.default.build("[+-]{{timeHour}}:{{timeMinute}}",{timeHour:gFe,timeMinute:yFe}),Vsr=Ao.default.build("[Zz]|{{timeNumOffset}}",{timeNumOffset:Usr}),vFe=Ao.default.build("{{timeHour}}:{{timeMinute}}:{{timeSecond}}{{timeSecFrac}}?",{timeHour:gFe,timeMinute:yFe,timeSecond:clt,timeSecFrac:Wsr}),DFe=Ao.default.build("{{dateFullYear}}-{{dateMonth}}-{{dateMDay}}",{dateFullYear:ilt,dateMonth:slt,dateMDay:alt}),Gsr=Ao.default.build("{{partialTime}}{{timeOffset}}",{partialTime:vFe,timeOffset:Vsr}),$sr=Ao.default.build("{{fullDate}}{{timeDelim}}{{fullTime}}",{fullDate:DFe,timeDelim:olt,fullTime:Gsr}),Hsr=Ao.default.build("{{fullDate}}{{timeDelim}}{{partialTime}}",{fullDate:DFe,timeDelim:olt,partialTime:vFe}),Ksr=DFe,ult=vFe,Qsr=Ao.default.build("{{offsetDateTime}}|{{localDateTime}}|{{localDate}}|{{localTime}}",{offsetDateTime:$sr,localDateTime:Hsr,localDate:Ksr,localTime:ult}),Kae=Gu({name:"DateTime",pattern:Qsr}),Xsr=_=>{let c=Ao.default.build("({{dateFullYear}})-({{dateMonth}})-({{dateMDay}})",{dateFullYear:ilt,dateMonth:slt,dateMDay:alt}),p=Ao.default.exec(_,c);if(p){let g=Number(p[1]),S=Number(p[2]),w=Number(p[3]),z=new Date(g,S-1,w);return z.getFullYear()===g&&z.getMonth()+1===S&&z.getDate()===w}return!0},Ysr=_=>{let c=Ao.default.build("({{timeHour}}):({{timeMinute}}):({{timeSecond}})",{timeHour:gFe,timeMinute:yFe,timeSecond:clt}),p=Ao.default.exec(_,c);if(p){let g=Number(p[1]),S=Number(p[2]),w=Number(p[3]),z=new Date(0,0,0,g,S,w);return z.getHours()===g&&z.getMinutes()===S&&z.getSeconds()===w}return!0},Zsr=_=>Xsr(_)&&Ysr(_);w1(Kae,_=>{var c;if(!Zsr(_))throw new NR(`Invalid date time: ${_}`);return((c=_.match(ult))==null?void 0:c.index)===0?_:new Date(_)});var llt=Gu({name:"DotSeparator",pattern:/\./,label:"."}),lFe=Gu({name:"ExpressionNewLine",pattern:Ck}),ear=nlt,flt=Ao.default.build("{{digit}}({{digit}}|{{underscore}}{{digit}})*",{digit:sE,underscore:HV}),tar=Ao.default.build("({{minus}}|{{plus}})?{{zeroPrefixableInt}}",{minus:mFe,plus:hFe,zeroPrefixableInt:flt}),rar=Ao.default.build("[Ee]{{floatExpPart}}",{floatExpPart:tar}),nar=/\./,iar=Ao.default.build("{{decimalPoint}}{{zeroPrefixableInt}}",{decimalPoint:nar,zeroPrefixableInt:flt}),sar=/inf/,aar=/nan/,oar=Ao.default.build("({{minus}}|{{plus}})?({{inf}}|{{nan}})",{minus:mFe,plus:hFe,inf:sar,nan:aar}),car=Ao.default.build("{{floatIntPart}}({{exp}}|{{frac}}{{exp}}?)|{{specialFloat}}",{floatIntPart:ear,exp:rar,frac:iar,specialFloat:oar}),Qae=Gu({name:"Float",pattern:car}),uar=_=>_==="inf"||_==="+inf"?1/0:_==="-inf"?-1/0:_==="nan"||_==="+nan"||_==="-nan"?NaN:null;w1(Qae,_=>{let c=uar(_);if(c!==null)return c;let p=_.replace(/_/g,"");return parseFloat(p)});var lar=/}/,fFe=Gu({name:"InlineTableClose",pattern:lar,label:"}",pop_mode:!0}),far=/{/,_lt=Gu({name:"InlineTableOpen",pattern:far,label:"{",push_mode:"InlineTable"}),_ar=/,/,plt=Gu({name:"InlineTableSep",pattern:_ar,label:",",pop_mode:!0,push_mode:"InlineTable"}),KV=Gu({name:"Integer",pattern:z_.NA});w1(KV,VV);var bFe=Gu({name:"KeyValueSeparator",pattern:/=/,label:"=",push_mode:"Value"}),dlt=Gu({name:"Newline",pattern:Ck,pop_mode:!0}),bk=Gu({name:"SimpleKey",pattern:z_.NA});w1(bk,VV);var mlt=Gu({name:"StdTableClose",pattern:/]/,label:"]",push_mode:"Value"}),hlt=Gu({name:"StdTableOpen",pattern:/\[/,label:"["}),s7=Gu({name:"String",pattern:z_.NA});w1(s7,VV);var par=Ao.default.build("{{whiteSpaceChar}}+",{whiteSpaceChar:OR}),glt=Gu({name:"WhiteSpace",pattern:par,group:z_.SKIPPED}),dar=Ao.default.build("^{{whiteSpaceChar}}*{{newline}}(?:{{whiteSpaceChar}}|{{newline}})*",{whiteSpaceChar:OR,newline:Ck}),mar=_=>{let c=Ao.default.exec(_,dar);return c?c[0].length:0},ylt=_=>{let c="";for(let p=0;p<_.length;p++){let g=_[p];if(g==="\\"){p++;let S=mar(_.slice(p));if(S>0){p+=S-1;continue}switch(_[p]){case"b":c+="\b";break;case"t":c+=" ";break;case"n":c+=`
975
+ `;break;case"f":c+="\f";break;case"r":c+="\r";break;case'"':c+='"';break;case"\\":c+="\\";break;case"u":{let w=_.slice(p+1,p+5),z=parseInt(w,16);if(z>55295&&z<57344)throw new NR(`Invalid Unicode code point: \\u${w}`);c+=String.fromCodePoint(z),p+=4;break}case"U":{let w=_.slice(p+1,p+9),z=parseInt(w,16);if(z>1114111)throw new NR(`Invalid Unicode code point: \\U${w}`);c+=String.fromCodePoint(z),p+=8;break}case _.match(/^[0-7]{1,3}$/):}}else c+=g}return c},vlt=_=>_.substring(3,_.length-3).replace(/^(\r\n|\n)/,""),har=Ao.default.build("{{quotationMark}}{3}",{quotationMark:pFe}),gar=Ao.default.build("{{whiteSpaceChar}}|!|[#-\\x5B]|[\\x5D-~]|{{nonAscii}}",{whiteSpaceChar:OR,nonAscii:$V}),yar=Ao.default.build("{{multiLineBasicUnescaped}}|{{escaped}}",{multiLineBasicUnescaped:gar,escaped:rlt}),Dar=Ao.default.build("{{whiteSpaceChar}}*",{whiteSpaceChar:OR}),bar=Ao.default.build("{{escape}}{{whiteSpace}}{{newline}}({{whiteSpaceChar}}|{{newline}})*",{escape:elt,whiteSpace:Dar,newline:Ck,whiteSpaceChar:OR}),Car=Ao.default.build("{{multiLineBasicChar}}|{{newline}}|{{multiLineBasicEscapedNewline}}",{multiLineBasicChar:yar,newline:Ck,multiLineBasicEscapedNewline:bar}),Sar=Ao.default.build("{{quotationMark}}{1,2}",{quotationMark:pFe}),Ear=Ao.default.build("{{multiLineBasicContent}}*({{multiLineBasicQuotes}}{{multiLineBasicContent}}+)*{{multiLineBasicQuotes}}?",{multiLineBasicContent:Car,multiLineBasicQuotes:Sar}),Dlt=Gu({name:"MultiLineBasicString",pattern:Ao.default.build("{{multiLineBasicStringDelimiter}}{{newline}}?{{multiLineBasicBody}}{{multiLineBasicStringDelimiter}}",{multiLineBasicStringDelimiter:har,newline:Ck,multiLineBasicBody:Ear}),label:'"""MultiLineBasicString"""',categories:[s7],line_breaks:!0});w1(Dlt,_=>{let c=vlt(_);return ylt(c)});var xar=Ao.default.build("{{apostrophe}}{3}",{apostrophe:dFe}),Tar=Ao.default.build(" |[ -&]|[\\x28-~]|{{nonAscii}}",{nonAscii:$V}),Aar=Ao.default.build("{{multiLineLiteralChar}}|{{newline}}",{multiLineLiteralChar:Tar,newline:Ck}),Far=Ao.default.build("{{apostrophe}}{1,2}",{apostrophe:dFe}),kar=Ao.default.build("{{multiLineLiteralContent}}*({{multiLineLiteralQuotes}}{{multiLineLiteralContent}}+)*{{multiLineLiteralQuotes}}?",{multiLineLiteralContent:Aar,multiLineLiteralQuotes:Far}),blt=Gu({name:"MultiLineLiteralString",pattern:Ao.default.build("{{multiLineLiteralStringDelimiter}}{{newline}}?{{multiLineLiteralBody}}{{multiLineLiteralStringDelimiter}}",{multiLineLiteralStringDelimiter:xar,newline:Ck,multiLineLiteralBody:kar}),label:"'''MultiLineLiteralString'''",categories:[s7],line_breaks:!0});w1(blt,vlt);var CFe=Gu({name:"QuotedKey",pattern:z_.NA,categories:[bk]});w1(CFe,VV);var Iar=Ao.default.build("{{whiteSpaceChar}}|!|[#-\\x5B]|[\\x5D-~]|{{nonAscii}}",{whiteSpaceChar:OR,nonAscii:$V}),war=Ao.default.build("{{basicUnescaped}}|{{escaped}}",{basicUnescaped:Iar,escaped:rlt}),SFe=Gu({name:"BasicString",pattern:Ao.default.build("{{quotationMark}}{{basicChar}}*{{quotationMark}}",{quotationMark:pFe,basicChar:war}),label:'"BasicString"',categories:[CFe,s7]});w1(SFe,_=>{let c=_.slice(1,-1);return ylt(c)});var Par=Ao.default.build(" |[ -&]|[\\x28-~]|{{nonAscii}}",{nonAscii:$V}),EFe=Gu({name:"LiteralString",pattern:Ao.default.build("{{apostrophe}}{{literalChar}}*{{apostrophe}}",{apostrophe:dFe,literalChar:Par}),label:"'LiteralString'",categories:[CFe,s7]});w1(EFe,_=>_.slice(1,-1));var Nar=/0x/,Oar=/0o/,Lar=/0b/,Rar=/[0-7]/,Mar=/[01]/,Bar=Ao.default.build("{{hexPrefix}}{{hexDigit}}({{hexDigit}}|{{underscore}}{{hexDigit}})*",{hexPrefix:Nar,hexDigit:tlt,underscore:HV}),jar=Ao.default.build("{{octPrefix}}{{digit0_7}}({{digit0_7}}|{{underscore}}{{digit0_7}})*",{octPrefix:Oar,digit0_7:Rar,underscore:HV}),Jar=Ao.default.build("{{binPrefix}}{{digit0_1}}({{digit0_1}}|{{underscore}}{{digit0_1}})*",{binPrefix:Lar,digit0_1:Mar,underscore:HV}),qar=Ao.default.build("{{hexInteger}}|{{octalInteger}}|{{binaryInteger}}",{hexInteger:Bar,octalInteger:jar,binaryInteger:Jar}),Clt=Gu({name:"NonDecimalInteger",pattern:qar,categories:[KV]}),zar=(_,c)=>{let p=BigInt(0);for(let g=0;g<_.length;g++){let S=_[g],w=parseInt(S,c);p=p*BigInt(c)+BigInt(w)}return p},War=_=>{if(_.startsWith("0x"))return 16;if(_.startsWith("0o"))return 8;if(_.startsWith("0b"))return 2};w1(Clt,_=>{let c=_.replace(/_/g,"").slice(2),p=War(_),g=parseInt(c,p);return Number.isSafeInteger(g)?g:zar(c,p)});var Slt=Gu({name:"DecimalInteger",pattern:nlt,categories:[KV]});w1(Slt,_=>{let c=_.replace(/_/g,""),p=parseInt(c);return Number.isSafeInteger(p)?p||0:BigInt(c)});var Uar=/[a-zA-Z]/,Var=Ao.default.build("({{alpha}}|{{digit}}|-|_)+",{alpha:Uar,digit:sE}),Elt=Gu({name:"UnquotedKey",pattern:Var,categories:[bk]});w1(Elt,_=>_);var Gar=/#/,$ar=Ao.default.build(" |[ -~]|{{nonAscii}}",{nonAscii:$V}),Har=Ao.default.build("{{commentStartChar}}{{nonEol}}*",{commentStartChar:Gar,nonEol:$ar}),xlt=Gu({name:"Comment",pattern:Har,group:"comment"}),Kar=/true/,Tlt=Gu({name:"True",pattern:Kar,label:"true",categories:[GV]});w1(Tlt,()=>!0);var Qar=/false/,Alt=Gu({name:"False",pattern:Qar,label:"false",categories:[GV]});w1(Alt,()=>!1);var Xar=Gu({name:"IgnoredNewline",pattern:Ck,group:z_.SKIPPED}),Yar=Gu({name:"InlineTableKeyValSep",pattern:/=/,label:"=",push_mode:"Value",pop_mode:!0,categories:[bFe]}),Vut=[glt,SFe,EFe,Elt,llt,bk],Gut=[glt,Dlt,blt,SFe,EFe,Tlt,Alt,Kae,Qae,Clt,Slt,Qut,_lt,xlt],Flt={modes:{Key:[xlt,lFe,bFe,Zut,Yut,hlt,mlt,...Vut],Value:[...Gut,dlt,plt,fFe],Array:[...Gut,Xar,Xut,Kut],InlineTable:[...Vut,Yar,fFe]},defaultMode:"Key"},Zar=new z_(Flt,{ensureOptimizations:!0,skipValidations:!Hae.isDebug(),traceInitPerf:Hae.isDebug()}),eor=class extends XU{toml=this.RULE("toml",()=>{this.MANY(()=>this.CONSUME(lFe)),this.MANY1(()=>{this.SUBRULE1(this.expression),this.OPTION2(()=>{this.CONSUME1(dlt),this.MANY3(()=>this.CONSUME2(lFe))})})});valueCache;dottedKey=this.RULE("dottedKey",()=>{this.CONSUME(bk),this.AT_LEAST_ONE(()=>{this.CONSUME(llt),this.CONSUME1(bk)})});key=this.RULE("key",()=>{this.OR({MAX_LOOKAHEAD:2,DEF:[{ALT:()=>this.SUBRULE(this.dottedKey)},{ALT:()=>this.CONSUME(bk)}]})});inlineTableKeyValues=this.RULE("inlineTableKeyValues",()=>{this.MANY_SEP({SEP:plt,DEF:()=>this.SUBRULE(this.keyValue)})});inlineTable=this.RULE("inlineTable",()=>{this.CONSUME(_lt),this.OPTION(()=>this.SUBRULE(this.inlineTableKeyValues)),this.CONSUME(fFe)});array=this.RULE("array",()=>{this.CONSUME(Qut),this.OPTION(()=>this.SUBRULE(this.arrayValues)),this.CONSUME(Kut)});value=this.RULE("value",()=>{this.OR(this.valueCache||(this.valueCache=[{ALT:()=>this.CONSUME(s7)},{ALT:()=>this.CONSUME(GV)},{ALT:()=>this.SUBRULE(this.array)},{ALT:()=>this.SUBRULE(this.inlineTable)},{ALT:()=>this.CONSUME(Kae)},{ALT:()=>this.CONSUME(Qae)},{ALT:()=>this.CONSUME(KV)}]))});keyValue=this.RULE("keyValue",()=>{this.SUBRULE(this.key),this.CONSUME(bFe),this.SUBRULE(this.value)});arrayValues=this.RULE("arrayValues",()=>{this.SUBRULE(this.value);let _=!0;this.MANY({GATE:()=>_,DEF:()=>{this.CONSUME(Xut),this.OPTION(()=>this.SUBRULE1(this.value))||(_=!1)}})});stdTable=this.RULE("stdTable",()=>{this.CONSUME(hlt),this.SUBRULE(this.key),this.CONSUME(mlt)});arrayTable=this.RULE("arrayTable",()=>{this.CONSUME(Zut),this.SUBRULE(this.key),this.CONSUME(Yut)});table=this.RULE("table",()=>{this.OR([{ALT:()=>this.SUBRULE(this.stdTable)},{ALT:()=>this.SUBRULE(this.arrayTable)}])});expression=this.RULE("expression",()=>{this.OR([{ALT:()=>this.SUBRULE(this.keyValue)},{ALT:()=>this.SUBRULE(this.table)}])});constructor(){super(Flt,{traceInitPerf:Hae.isDebug(),maxLookahead:1,skipValidations:!Hae.isDebug()}),this.performSelfAnalysis()}},UV=new eor,$ut=_=>_&&(_.constructor===Object||_.constructor===void 0),$ae=()=>Object.create(null),cFe=(_,c)=>{try{return _()}catch(p){if(p instanceof PR)throw new zsr(c)}},PR=class extends Error{},tor=UV.getBaseCstVisitorConstructor(),uFe=Symbol("explicitlyDeclared"),Hut=Symbol("implicitlyDeclared"),WV=Symbol("notEditable"),ror=class extends tor{constructor(){super(),this.validateVisitor()}toml(_){var c;let p=$ae(),g=p;return(c=_.expression)==null||c.forEach(S=>g=this.visit(S,{current:g,root:p})),this.cleanInternalProperties(p),p}expression(_,{current:c,root:p}){if(_.keyValue)return this.visit(_.keyValue,c),c;if(_.table)return this.visit(_.table,p)}keyValue(_,c){let p=this.visit(_.key),g=this.visit(_.value);cFe(()=>this.assignValue(p,g,c),`Cannot assign value to '${p.join(".")}'`)}key(_){return _.dottedKey?this.visit(_.dottedKey):[this.interpret(_,bk)]}dottedKey(_){return this.interpret(_,bk)}inlineTableKeyValues(_,c){_.keyValue&&_.keyValue.forEach(p=>this.visit(p,c))}inlineTable(_){let c=$ae();return c[WV]=!0,_.inlineTableKeyValues&&this.visit(_.inlineTableKeyValues,c),c}value(_){return _.array?this.visit(_.array):_.inlineTable?this.visit(_.inlineTable):this.interpret(_,s7,Qae,GV,Kae,KV)}arrayValues(_,c){return _.value.forEach(p=>c.push(this.visit(p))),c}array(_){let c=[];return c[WV]=!0,_.arrayValues?this.visit(_.arrayValues,c):c}table(_,c){if(_.stdTable)return this.visit(_.stdTable,c);if(_.arrayTable)return this.visit(_.arrayTable,c)}stdTable(_,c){let p=this.visit(_.key);return cFe(()=>this.createTable(p,c),`Cannot create table '${p.join(".")}'`)}arrayTable(_,c){let p=this.visit(_.key);return cFe(()=>{let g=this.getOrCreateArray(p,c);if(g[WV])throw new PR;let S=$ae();return g.push(S),S},`Cannot create array table '${p.join(".")}'`)}cleanInternalProperties(_){for(let c of Object.getOwnPropertySymbols(_))delete _[c];for(let c in _)typeof _[c]=="object"&&this.cleanInternalProperties(_[c]),Array.isArray(_[c])&&_[c].forEach(p=>this.cleanInternalProperties(p))}interpret(_,...c){for(let p of c)if(_[p.name]){let g=_[p.name].map(S=>_Fe[p.name](S.image,S,p.name));return g.length===1?g[0]:g}}assignPrimitiveValue(_,c,p){if(_ in p)throw new PR;return $ut(c)&&(c[uFe]=!0),p[_]=c,p}tryCreatingObject(_,c,p,g,S){if(c[_]){if(!$ut(c[_])||!S&&c[_][uFe]||!g&&c[_][Hut]||c[_][WV])throw new PR}else c[_]=$ae(),p&&(c[_][p]=!0);return c[_]}assignValue(_,c,p){let[g,...S]=_;return S.length>0?(this.tryCreatingObject(g,p,Hut,!0,!1),this.assignValue(S,c,p[g])):this.assignPrimitiveValue(g,c,p)}createTable(_,c){let[p,...g]=_;if(g.length>0){if(Array.isArray(c[p])){if(c[p][WV])throw new PR;let S=c[p][c[p].length-1];return this.createTable(g,S)}return this.tryCreatingObject(p,c,null,!0,!0),this.createTable(g,c[p])}return this.tryCreatingObject(p,c,uFe,!1,!1)}getOrCreateArray(_,c){let[p,...g]=_;if(g.length>0){if(Array.isArray(c[p])){let S=c[p][c[p].length-1];return this.getOrCreateArray(g,S)}return this.tryCreatingObject(p,c,null,!0,!0),this.getOrCreateArray(g,c[p])}if(c[p]&&!Array.isArray(c[p]))throw new PR;return c[p]=c[p]||[],c[p]}},nor=new ror,xFe=_=>{let c=Zar.tokenize(_);if(c.errors.length>0)throw new Jsr(c.errors);UV.input=c.tokens;let p=UV.toml();if(UV.errors.length>0)throw new qsr(UV.errors);return nor.visit(p)};var _ft=Bv(fft(),1);var _cr={eslint:"linting",biome:"linting",oxlint:"linting",typescript:"types",flow:"types",test:"tests",jest:"tests",vitest:"tests",mocha:"tests",playwright:"tests",cypress:"tests",prettier:"formatting",knip:"deadCode",depcheck:"deadCode",typedoc:"documentation",jsdoc:"documentation",alexandria:"documentation"},pcr=["eslint","typescript","test","prettier","knip","typedoc","alexandria"],dcr={lint:"eslint",eslint:"eslint",typecheck:"typescript","type-check":"typescript",tsc:"typescript",test:"test",jest:"jest",vitest:"vitest",format:"prettier",prettier:"prettier",knip:"knip",unused:"knip",docs:"alexandria",alexandria:"alexandria",typedoc:"typedoc"},eG=class{static detectLensCommands(c){let p=new Map;for(let g of c)if(g.name.startsWith("lens:")){let S=g.name.split(":");if(S.length>=3){let w=S[1],z=S[2];p.has(w)||p.set(w,{lensId:w,operations:new Set}),p.get(w).operations.add(z),g.isLensCommand=!0,g.lensId=w,g.lensOperation=z}}return p.size===0&&this.applyFallbackDetection(c,p),p}static applyFallbackDetection(c,p){for(let g of c){let S=dcr[g.name];if(S){p.has(S)||p.set(S,{lensId:S,operations:new Set});let w=g.name.includes("coverage")?"coverage":"check";p.get(S).operations.add(w),g.isLensCommand=!0,g.lensId=S,g.lensOperation=w}}}static calculateMetrics(c,p){let g={};for(let[S]of c){let w=_cr[S];if(w){let z=p?.get(S);z!==void 0&&(g[w]=z)}}return g}static getAvailableLenses(c){return Array.from(c.keys())}static getMissingLenses(c){let p=new Set(c.keys());return pcr.filter(g=>!p.has(g))}static calculateQualityProfile(c,p){let g=this.detectLensCommands(c),S=this.calculateMetrics(g,p),w=this.getAvailableLenses(g),z=this.getMissingLenses(g);return{hexagon:S,availableLenses:w,missingLenses:z}}};var tG=class{manifestFileName="package.json";packageType="node";canParse(c){return c.endsWith("package.json")}parseContent(c){try{return JSON.parse(c)}catch{return null}}extractPackageData(c,p){let g;p==="package.json"?g="":p.endsWith("/package.json")?g=p.slice(0,-13):g=p;let S=this.extractCommands(c,g);return{name:c.name||"unnamed",version:c.version,path:g,manifestPath:p,packageManager:"unknown",dependencies:c.dependencies||{},devDependencies:c.devDependencies||{},peerDependencies:c.peerDependencies||{},isMonorepoRoot:!!c.workspaces,isWorkspace:!1,parentPackage:void 0,availableCommands:S}}extractCommands(c,p){let g=[];return c.scripts&&Object.entries(c.scripts).forEach(([w,z])=>{g.push({name:w,command:`npm run ${w}`,description:z.length>50?z.substring(0,47)+"...":z,type:"script",workingDirectory:p})}),[{name:"install",command:"npm install",description:"Install dependencies"},{name:"ci",command:"npm ci",description:"Clean install dependencies"},{name:"update",command:"npm update",description:"Update dependencies"}].forEach(w=>{g.push({...w,type:"standard",workingDirectory:p})}),g}detectWorkspaces(c){return Array.isArray(c.workspaces)?c.workspaces:c.workspaces&&typeof c.workspaces=="object"&&"packages"in c.workspaces&&c.workspaces.packages||null}detectPackageManager(c,p){if(c.packageManager){let g=c.packageManager.split("@")[0];if(["npm","yarn","pnpm"].includes(g))return g}return p.some(g=>g.endsWith("yarn.lock"))?"yarn":p.some(g=>g.endsWith("pnpm-lock.yaml"))?"pnpm":(p.some(g=>g.endsWith("package-lock.json")),"npm")}detectConfigs(c,p,g){let S={},w={knip:["knip.json","knip.jsonc",".knip.json","knip.config.js","knip.config.ts","knip.config.mjs"],eslint:[".eslintrc",".eslintrc.js",".eslintrc.json",".eslintrc.yml",".eslintrc.yaml","eslint.config.js","eslint.config.mjs",".eslintrc.cjs"],prettier:[".prettierrc",".prettierrc.js",".prettierrc.json",".prettierrc.yml",".prettierrc.yaml","prettier.config.js",".prettierrc.toml"],typescript:["tsconfig.json","tsconfig.base.json"],jest:["jest.config.js","jest.config.ts","jest.config.mjs","jest.config.cjs","jest.config.json"],vitest:["vitest.config.js","vitest.config.ts","vitest.config.mjs"],webpack:["webpack.config.js","webpack.config.ts","webpack.config.mjs"],vite:["vite.config.js","vite.config.ts","vite.config.mjs"],rollup:["rollup.config.js","rollup.config.ts","rollup.config.mjs"],babel:[".babelrc",".babelrc.js",".babelrc.json","babel.config.js","babel.config.json"],dockerfile:["Dockerfile","dockerfile","Dockerfile.dev","Dockerfile.prod"],gitignore:[".gitignore"],editorconfig:[".editorconfig"]},z=c==="."||c===""?"":c.endsWith("/")?c:c+"/";if(p.allFiles)for(let[ie,de]of Object.entries(w))for(let be of de){let Ee=z+be;if(p.allFiles.some(Y=>Y.path===Ee||Y.relativePath===Ee)){S[ie]={path:Ee,exists:!0,type:this.getConfigFileType(be)};break}}return g&&(g.eslintConfig&&(S.eslint={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"eslintConfig"}),g.prettier&&(S.prettier={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"prettier"}),g.jest&&(S.jest={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"jest"}),g.babel&&(S.babel={path:z+"package.json",exists:!0,type:"json",isInline:!0,inlineField:"babel"})),S}getConfigFileType(c){return c.endsWith(".json")||c.endsWith(".jsonc")?"json":c.endsWith(".yml")||c.endsWith(".yaml")?"yaml":c.endsWith(".toml")?"toml":c.endsWith(".js")||c.endsWith(".mjs")||c.endsWith(".cjs")?"js":c.endsWith(".ts")||c.endsWith(".mts")||c.endsWith(".cts")?"ts":c.endsWith(".ini")?"ini":"custom"}detectDocsFolder(c,p,g){let S=["docs","documentation","doc"],w=c==="."||c===""?"":c;if(w&&!w.endsWith("/")&&(w+="/"),!p.allFiles)return;for(let be of S){let Ee=w+be;if(p.allFiles.some(Y=>Y.path?.toLowerCase().startsWith(Ee.toLowerCase()+"/"))){let Y=p.allFiles.find(ut=>ut.path?.toLowerCase().startsWith(Ee.toLowerCase()+"/"))?.path;return Y?Y.substring(0,Y.indexOf("/",w.length)).substring(w.length):be}}let z=new Map;for(let be of p.allFiles){if(!be.path||w!==""&&!be.path.startsWith(w))continue;let Oe=(w===""?be.path:be.path.substring(w.length)).split("/");if(Oe.length===2){let Y=Oe[0],ut=Oe[1];z.has(Y)||z.set(Y,{docFiles:0,totalFiles:0});let Ye=z.get(Y);Ye.totalFiles++,this.isDocumentationFile(ut)&&Ye.docFiles++}}let ie,de=.5;for(let[be,Ee]of Array.from(z.entries()))if(Ee.docFiles>=2){let Oe=Ee.docFiles/Ee.totalFiles;Oe>de&&(de=Oe,ie=be)}return ie}isDocumentationFile(c){let p=c.toLowerCase();return[".md",".mdx",".rst",".txt",".adoc",".asciidoc"].some(z=>p.endsWith(z))?!0:[/^readme/i,/^changelog/i,/^changes/i,/^history/i,/^license/i,/^copying/i,/^install/i,/^usage/i,/^guide/i,/^tutorial/i,/^manual/i,/^faq/i,/^api/i,/^reference/i,/^spec/i,/^specification/i].some(z=>z.test(c))}},KFe=class{manifestFileName="pyproject.toml";packageType="python";canParse(c){return c.endsWith("pyproject.toml")||c.endsWith("setup.py")||c.endsWith("requirements.txt")}parseContent(c){try{return xFe(c)}catch{return null}}extractPackageData(c,p){let g,S=p.split("/").pop()||"";p===S?g="":g=p.substring(0,p.lastIndexOf("/"));let w=c.tool?.poetry,z=c.project,ie=w?.name||z?.name||"unnamed",de=w?.version||z?.version,be={},Ee={};if(w?.dependencies&&Object.entries(w.dependencies).forEach(([Y,ut])=>{Y!=="python"&&(be[Y]=typeof ut=="string"?ut:JSON.stringify(ut))}),w?.["dev-dependencies"]&&Object.entries(w["dev-dependencies"]).forEach(([Y,ut])=>{Ee[Y]=typeof ut=="string"?ut:JSON.stringify(ut)}),z?.dependencies&&Array.isArray(z.dependencies))try{let Y=z.dependencies.join(`
976
+ `);(0,_ft.parsePipRequirementsFile)(Y).forEach(Ye=>{if(Ye.type==="ProjectName"&&Ye.name){let We="*";Ye.versionSpec&&Ye.versionSpec.length>0&&(We=Ye.versionSpec[0].version||"*"),be[Ye.name]=We}})}catch(Y){console.warn("Failed to parse PEP 621 dependencies with pip-requirements-js, falling back to simple parsing:",Y),z.dependencies.forEach(ut=>{let Ye=ut.trim(),We=Ye.indexOf(" ");We>0?be[Ye.substring(0,We)]="*":be[Ye]="*"})}let Oe=this.detectPythonPackageManager(c);return{name:ie,version:de,path:g,manifestPath:p,packageManager:Oe,dependencies:be,devDependencies:Ee,peerDependencies:{},isMonorepoRoot:!1,isWorkspace:!1,parentPackage:void 0,availableCommands:[]}}detectWorkspaces(c){return null}detectPackageManager(c,p){return this.detectPythonPackageManager(c)}detectPythonPackageManager(c){return c.tool?.poetry?"poetry":"pip"}detectDocsFolder(c,p,g){return new tG().detectDocsFolder(c,p,{})}},QFe=class{manifestFileName="Cargo.toml";packageType="cargo";canParse(c){return c.endsWith("Cargo.toml")}parseContent(c){try{return xFe(c)}catch{return null}}extractPackageData(c,p){let g=c.package;if(!g)return null;let S;p==="Cargo.toml"?S="":p.endsWith("/Cargo.toml")?S=p.slice(0,-11):S=p;let w={},z={};return c.dependencies&&Object.entries(c.dependencies).forEach(([ie,de])=>{w[ie]=typeof de=="string"?de:JSON.stringify(de)}),c["dev-dependencies"]&&Object.entries(c["dev-dependencies"]).forEach(([ie,de])=>{z[ie]=typeof de=="string"?de:JSON.stringify(de)}),{name:g.name||"unnamed",version:g.version,path:S,manifestPath:p,packageManager:"cargo",dependencies:w,devDependencies:z,peerDependencies:{},isMonorepoRoot:!!c.workspace,isWorkspace:!1,parentPackage:void 0,availableCommands:[]}}detectWorkspaces(c){return c.workspace?.members||null}detectPackageManager(){return"cargo"}detectDocsFolder(c,p,g){return new tG().detectDocsFolder(c,p,{})}},jR=class{parsers=[new tG,new KFe,new QFe];async discoverPackages(c,p){let g=[];if(!c.allFiles)return g;let S=c.allFiles.filter(z=>z.path?this.parsers.some(ie=>ie.canParse(z.path)):!1),w=c.allFiles.map(z=>z.path).filter(Boolean);for(let z of S){if(!z.path)continue;let ie=this.parsers.find(_r=>_r.canParse(z.path));if(!ie)continue;let de=null;if(p)try{let _r=await p(z.path);_r&&(de=ie.parseContent(_r))}catch(_r){console.warn(`Could not read or parse ${z.path}:`,_r);continue}else{let _r=z.path.split("/").slice(-2,-1)[0]||"unnamed";de=this.createMinimalManifest(ie.packageType,_r)}if(!de)continue;let be=ie.extractPackageData(de,z.path);if(!be){console.warn(`[PackageLayerModule] extractPackageData returned null for ${z.path}`,{content:de,parser:ie.packageType});continue}let Ee=z.path.substring(0,z.path.lastIndexOf("/")),Oe=w.filter(_r=>_r.startsWith(Ee)&&this.isLockFile(_r));be.packageManager=ie.detectPackageManager(de,Oe),ie.packageType==="node"&&be.availableCommands&&be.packageManager&&be.packageManager!=="unknown"&&be.packageManager!=="npm"&&(be.availableCommands=be.availableCommands.map(_r=>{if(_r.command.includes("npm ")){let Hr=_r.command;return be.packageManager==="yarn"?Hr=Hr.replace("npm run","yarn").replace("npm install","yarn install").replace("npm ci","yarn install --frozen-lockfile").replace("npm update","yarn upgrade"):be.packageManager==="pnpm"&&(Hr=Hr.replace("npm","pnpm")),{..._r,command:Hr}}return _r}));let Y={id:`package-manifest-${be.path}`,name:ie.manifestFileName,patterns:[{type:"exact",pattern:z.path,description:`${ie.packageType} package manifest`}],matchedFiles:[z.path],fileCount:1},ut;ie.detectConfigs&&(ut=ie.detectConfigs(be.path,c,de));let Ye;ie.detectDocsFolder&&(Ye=ie.detectDocsFolder(be.path,c,de));let We=be.availableCommands?eG.calculateQualityProfile(be.availableCommands):void 0,Ut={id:`package-${ie.packageType}-${be.path.replace(/[^a-zA-Z0-9-]/g,"-")}`,name:be.name,type:ie.packageType,enabled:!0,derivedFrom:{fileSets:[Y],derivationType:"content",description:`${ie.packageType} package defined in ${ie.manifestFileName}`,contentExtraction:{method:"parse",parser:{format:ie.manifestFileName.endsWith(".json")?"json":"toml",paths:ie.packageType==="node"?[""]:ie.packageType==="python"?["tool.poetry","project"]:["package"]}}},packageData:be,configFiles:ut,docsFolder:Ye,qualityMetrics:We,pillar:"foundationHealth"};g.push(Ut)}return this.resolveWorkspaceRelationships(g),g}createPackageLayersFromBoundaries(c){return c.map(p=>{let g={id:`package-manifest-${p.rootPath||"root"}`,name:"package.json",patterns:[{type:"exact",pattern:p.packageJsonPath,description:"Node.js package manifest"}],matchedFiles:[p.packageJsonPath],fileCount:1},S={name:p.packageData?.name||p.name,version:p.packageData?.version,path:p.rootPath||".",manifestPath:p.packageJsonPath,packageManager:"unknown",dependencies:{},devDependencies:{},peerDependencies:{},isMonorepoRoot:!!p.packageData?.workspaces,isWorkspace:!p.isRoot&&c.length>1,parentPackage:p.isRoot?void 0:"root"};return{id:`package-node-${p.id}`,name:S.name,type:"node",enabled:!0,derivedFrom:{fileSets:[g],derivationType:"content",description:"Node.js package defined in package.json"},packageData:S,pillar:"foundationHealth"}})}isLockFile(c){return["package-lock.json","yarn.lock","pnpm-lock.yaml","poetry.lock","Pipfile.lock","Cargo.lock"].some(g=>c.endsWith(g))}resolveWorkspaceRelationships(c){let p=c.filter(g=>g.packageData.path==="."||g.packageData.path==="");c.forEach(g=>{if(g.packageData.path!=="."&&g.packageData.path!==""){g.packageData.isWorkspace=!0;let S=g.packageData.path.includes("/")?g.packageData.path.substring(0,g.packageData.path.lastIndexOf("/")):".",w=c.find(z=>z.packageData.path===S);w&&(g.packageData.parentPackage=w.packageData.name)}})}createMinimalManifest(c,p){switch(c){case"node":return{name:p,version:"0.0.0",dependencies:{},devDependencies:{}};case"python":return{project:{name:p,version:"0.0.0"}};case"cargo":return{package:{name:p,version:"0.0.0"}};default:return{}}}};var N1=Bv(e_t(),1);var vur=Bv(goe(),1);var bur=Bv(goe(),1);var Cur=Bv(goe(),1);var wT=Bv(require("path")),z4=Bv(require("fs/promises")),kke=class{constructor(c){this.basePath=c}async readFile(c){try{let p=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return{content:await z4.readFile(p,"utf-8")}}catch(p){return console.error(`[CLIFileSystemAdapter] Failed to read ${c}:`,p),null}}async fileExists(c){try{let p=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return await z4.access(p),!0}catch{return!1}}async readDirectory(c){try{let p=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return await z4.readdir(p)}catch(p){return console.error(`[CLIFileSystemAdapter] Failed to read directory ${c}:`,p),[]}}async isDirectory(c){try{let p=wT.isAbsolute(c)?c:wT.join(this.basePath,c);return(await z4.stat(p)).isDirectory()}catch{return!1}}async buildFilteredFileTree(c,p,g){return{paths:[]}}},oG=class{constructor(){this.packageModule=new jR}async extractPackages(c,p){try{let g=new kke(p),S=async z=>(await g.readFile(z))?.content||"",w=await this.packageModule.discoverPackages(c,S);return console.info(`[RepositoryScanner] Found ${w.length} packages in ${p}`),w}catch(g){return console.error("[RepositoryScanner] Failed to extract packages:",g),[]}}};var Hv=Bv(L_t());var qke=require("child_process"),zke=require("stream"),koe=class{constructor(){this.type="node"}async execute(c,p=[],g={}){let S=Date.now();return new Promise(w=>{let z="",ie="",be={...g.env||process.env};delete be.NODE_OPTIONS,delete be.TS_NODE_PROJECT,delete be.TS_NODE_TRANSPILE_ONLY;let Ee=(0,qke.spawn)(c,p,{cwd:g.cwd,env:be,shell:!0});Ee.stdout&&Ee.stdout.on("data",Y=>{z+=Y.toString()}),Ee.stderr&&Ee.stderr.on("data",Y=>{ie+=Y.toString()});let Oe;g.timeout&&(Oe=setTimeout(()=>{Ee.kill("SIGTERM")},g.timeout)),Ee.on("error",Y=>{Oe&&clearTimeout(Oe),w({stdout:z,stderr:ie||Y.message,exitCode:1,duration:Date.now()-S,command:c,args:p,error:Y})}),Ee.on("close",Y=>{Oe&&clearTimeout(Oe),w({stdout:z,stderr:ie,exitCode:Y??0,duration:Date.now()-S,command:c,args:p})})})}stream(c,p=[],g={}){let w={...g.env||process.env};delete w.NODE_OPTIONS,delete w.TS_NODE_PROJECT,delete w.TS_NODE_TRANSPILE_ONLY;let z=(0,qke.spawn)(c,p,{cwd:g.cwd,env:w,shell:!0}),ie=new Promise(de=>{let be="",Ee="",Oe=Date.now();z.stdout&&z.stdout.on("data",Y=>{be+=Y.toString()}),z.stderr&&z.stderr.on("data",Y=>{Ee+=Y.toString()}),z.on("close",Y=>{de({stdout:be,stderr:Ee,exitCode:Y??0,duration:Date.now()-Oe,command:c,args:p})}),z.on("error",Y=>{de({stdout:be,stderr:Ee||Y.message,exitCode:1,duration:Date.now()-Oe,command:c,args:p,error:Y})})});return{stdout:z.stdout||new zke.Readable({read(){}}),stderr:z.stderr||new zke.Readable({read(){}}),exitPromise:ie,kill:()=>{z.kill("SIGTERM")}}}async isAvailable(c){try{let p=["--version"];return(await this.execute(c,p,{timeout:5e3})).exitCode===0}catch{return!1}}};var Ioe=class{constructor(){this.executor=new koe,this.lenses=new Map,this.initializeLenses()}initializeLenses(){console.log("[QualityLensService] Initializing lenses...");let c=new Hv.ESLintLens(this.executor);this.lenses.set("eslint",c),this.lenses.set("lint",c);let p=new Hv.JestLens(this.executor);this.lenses.set("jest",p),this.lenses.set("test",p);let g=new Hv.TypeScriptLens(this.executor);this.lenses.set("typescript",g),this.lenses.set("typecheck",g),this.lenses.set("tsc",g);let S=new Hv.KnipLens(this.executor);this.lenses.set("knip",S),this.lenses.set("deadcode",S);let w=new Hv.PrettierLens(this.executor);this.lenses.set("prettier",w),this.lenses.set("format",w);let z=new Hv.GitLens(this.executor);this.lenses.set("git",z);let ie=new Hv.AlexandriaLens(this.executor);this.lenses.set("alexandria",ie),this.lenses.set("docs",ie)}async executeTool(c){let p=Date.now();if(!c.packageLayer||!c.packageCommand)throw new Error("packageLayer and packageCommand are required. Legacy execution has been removed.");return this.executeWithPackageLayer(c,p)}async executeWithPackageLayer(c,p){let{repoPath:g,packageLayer:S,packageCommand:w}=c;if(!S||!w)throw new Error("packageLayer and packageCommand are required for new execution path");let z=S.packageData.path||"",ie=z?`${g}/${z}`:g;if(!w.isLensCommand||!w.lensId)return console.log(`[QualityLensService] Not a lens command, executing directly: ${w.name}`),this.executeNonLensCommand(c,w,ie,p);let de=this.lenses.get(w.lensId);if(!de)return console.warn(`[QualityLensService] No lens registered for: ${w.lensId}`),this.executeNonLensCommand(c,w,ie,p);console.log(`[QualityLensService] Using ${de.name} for command: ${w.name} (lensId: ${w.lensId})`);try{let{command:be,args:Ee}=this.parseCommandString(w.command);de.configure({cwd:ie,tool:{name:w.lensId,command:be,args:Ee,cwd:ie,available:!0}});let Oe=await de.run(),{success:Y,exitCode:ut}=this.determineLensSuccess(Oe);return{success:Y,toolName:w.lensId,command:w.command,packagePath:z,exitCode:ut,duration:Date.now()-p,stdout:Oe.raw?.stdout||"",stderr:Oe.raw?.stderr||Oe.error?.message||"",lensResult:Oe,qualityContext:{lensId:w.lensId,operation:w.lensOperation,availableLenses:S.qualityMetrics?.availableLenses,missingLenses:S.qualityMetrics?.missingLenses}}}catch(be){return console.error("[QualityLensService] Error:",be),this.createErrorResponse(w.lensId||w.name,w.command,z,be,p)}}async executeNonLensCommand(c,p,g,S){let{command:w,args:z}=this.parseCommandString(p.command);try{let ie=await this.executor.execute(w,z,{cwd:g});return{success:ie.exitCode===0,toolName:p.name,command:p.command,packagePath:c.packageLayer?.packageData.path,exitCode:ie.exitCode,duration:Date.now()-S,stdout:ie.stdout,stderr:ie.stderr}}catch(ie){return this.createErrorResponse(p.name,p.command,c.packageLayer?.packageData.path,ie,S)}}parseCommandString(c){if(c.startsWith("npm run "))return{command:"npm",args:["run",...c.split(" ").slice(2)]};if(c.startsWith("yarn "))return{command:"yarn",args:c.split(" ").slice(1)};if(c.startsWith("pnpm "))return{command:"pnpm",args:c.split(" ").slice(1)};let p=c.split(" ");return{command:p[0]||"",args:p.slice(1)}}determineLensSuccess(c){let p=0;return c.raw?.exitCode!==void 0?p=c.raw.exitCode:(c.error||c.metrics?.issuesBySeverity?.error&&c.metrics.issuesBySeverity.error>0)&&(p=1),{success:p!==127,exitCode:p}}createErrorResponse(c,p,g,S,w){return{success:!1,toolName:c,command:p,packagePath:g,exitCode:1,duration:Date.now()-w,stdout:"",stderr:S.message||"Tool execution failed",error:S.message}}getAvailableLenses(){return Array.from(this.lenses.keys())}hasLensForTool(c){return this.lenses.has(c.toLowerCase())}};var woe=class{mapLensToHexagonDimension(c){return{jest:"tests",test:"tests",knip:"deadCode",deadcode:"deadCode",prettier:"formatting",format:"formatting",eslint:"linting",lint:"linting",typescript:"types",typecheck:"types",tsc:"types",alexandria:"documentation"}[c.toLowerCase()]||null}extractQualityScore(c){if(c.result?.lensResult?.qualityScore!==void 0&&c.result.lensResult.qualityScore!==null)return c.result.lensResult.qualityScore;let p=c.result?.lensResult?.metrics;if(p){if(!c.result?.success)return 0;let g=p.totalIssues||0,S=p.filesAnalyzed||1;if(g===0)return 100;let w=p.issuesBySeverity||{},z=(w.error||0)*3,ie=(w.warning||0)*2,de=(w.info||0)*1,be=(w.hint||0)*.5,Oe=(z+ie+de+be)/S,Y=Math.max(0,100-Oe*10);return Math.round(Y)}return 0}calculateHexagonMetrics(c){let p={tests:0,deadCode:0,formatting:0,linting:0,types:0,documentation:0};for(let g of c){let S=this.mapLensToHexagonDimension(g.lens);if(S){let w=this.extractQualityScore(g);p[S]=Math.max(p[S],w)}}return p}getGitMetadata(){let c={};if(process.env.GITHUB_SHA&&(c.commit=process.env.GITHUB_SHA),process.env.GITHUB_REF){let p=process.env.GITHUB_REF;p.startsWith("refs/heads/")?c.branch=p.replace("refs/heads/",""):p.startsWith("refs/pull/")&&(c.branch=p)}if(process.env.GITHUB_REPOSITORY&&(c.repository=process.env.GITHUB_REPOSITORY),Object.keys(c).length!==0)return c}format(c){let p=this.getGitMetadata(),g={metadata:{timestamp:new Date().toISOString(),version:"1.0.0",totalPackages:new Set(c.map(S=>S.package)).size,totalLenses:c.length,...p&&{git:p}},results:c.map(S=>({package:{name:S.package,path:S.packagePath},lens:{id:S.lens,command:S.command},execution:{success:S.result?.success??!1,exitCode:S.result?.exitCode,duration:S.result?.duration,timestamp:S.timestamp},issues:S.result?.lensResult?.issues||[],metrics:S.result?.lensResult?.metrics||{},coverage:S.result?.lensResult?.coverage,fileMetrics:S.result?.lensResult?.fileMetrics,qualityContext:S.result?.qualityContext||{},error:S.error}))};return c.length>0&&(g.qualityMetrics={hexagon:this.calculateHexagonMetrics(c)}),JSON.stringify(g,null,2)}};var R_t=(_=0)=>c=>`\x1B[${c+_}m`,M_t=(_=0)=>c=>`\x1B[${38+_};5;${c}m`,B_t=(_=0)=>(c,p,g)=>`\x1B[${38+_};2;${c};${p};${g}m`,Zp={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},$Ir=Object.keys(Zp.modifier),slr=Object.keys(Zp.color),alr=Object.keys(Zp.bgColor),HIr=[...slr,...alr];function olr(){let _=new Map;for(let[c,p]of Object.entries(Zp)){for(let[g,S]of Object.entries(p))Zp[g]={open:`\x1B[${S[0]}m`,close:`\x1B[${S[1]}m`},p[g]=Zp[g],_.set(S[0],S[1]);Object.defineProperty(Zp,c,{value:p,enumerable:!1})}return Object.defineProperty(Zp,"codes",{value:_,enumerable:!1}),Zp.color.close="\x1B[39m",Zp.bgColor.close="\x1B[49m",Zp.color.ansi=R_t(),Zp.color.ansi256=M_t(),Zp.color.ansi16m=B_t(),Zp.bgColor.ansi=R_t(10),Zp.bgColor.ansi256=M_t(10),Zp.bgColor.ansi16m=B_t(10),Object.defineProperties(Zp,{rgbToAnsi256:{value(c,p,g){return c===p&&p===g?c<8?16:c>248?231:Math.round((c-8)/247*24)+232:16+36*Math.round(c/255*5)+6*Math.round(p/255*5)+Math.round(g/255*5)},enumerable:!1},hexToRgb:{value(c){let p=/[a-f\d]{6}|[a-f\d]{3}/i.exec(c.toString(16));if(!p)return[0,0,0];let[g]=p;g.length===3&&(g=[...g].map(w=>w+w).join(""));let S=Number.parseInt(g,16);return[S>>16&255,S>>8&255,S&255]},enumerable:!1},hexToAnsi256:{value:c=>Zp.rgbToAnsi256(...Zp.hexToRgb(c)),enumerable:!1},ansi256ToAnsi:{value(c){if(c<8)return 30+c;if(c<16)return 90+(c-8);let p,g,S;if(c>=232)p=((c-232)*10+8)/255,g=p,S=p;else{c-=16;let ie=c%36;p=Math.floor(c/36)/5,g=Math.floor(ie/6)/5,S=ie%6/5}let w=Math.max(p,g,S)*2;if(w===0)return 30;let z=30+(Math.round(S)<<2|Math.round(g)<<1|Math.round(p));return w===2&&(z+=60),z},enumerable:!1},rgbToAnsi:{value:(c,p,g)=>Zp.ansi256ToAnsi(Zp.rgbToAnsi256(c,p,g)),enumerable:!1},hexToAnsi:{value:c=>Zp.ansi256ToAnsi(Zp.hexToAnsi256(c)),enumerable:!1}}),Zp}var clr=olr(),uE=clr;var Noe=Bv(require("node:process"),1),J_t=Bv(require("node:os"),1),Wke=Bv(require("node:tty"),1);function bC(_,c=globalThis.Deno?globalThis.Deno.args:Noe.default.argv){let p=_.startsWith("-")?"":_.length===1?"-":"--",g=c.indexOf(p+_),S=c.indexOf("--");return g!==-1&&(S===-1||g<S)}var{env:ed}=Noe.default,Poe;bC("no-color")||bC("no-colors")||bC("color=false")||bC("color=never")?Poe=0:(bC("color")||bC("colors")||bC("color=true")||bC("color=always"))&&(Poe=1);function ulr(){if("FORCE_COLOR"in ed)return ed.FORCE_COLOR==="true"?1:ed.FORCE_COLOR==="false"?0:ed.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(ed.FORCE_COLOR,10),3)}function llr(_){return _===0?!1:{level:_,hasBasic:!0,has256:_>=2,has16m:_>=3}}function flr(_,{streamIsTTY:c,sniffFlags:p=!0}={}){let g=ulr();g!==void 0&&(Poe=g);let S=p?Poe:g;if(S===0)return 0;if(p){if(bC("color=16m")||bC("color=full")||bC("color=truecolor"))return 3;if(bC("color=256"))return 2}if("TF_BUILD"in ed&&"AGENT_NAME"in ed)return 1;if(_&&!c&&S===void 0)return 0;let w=S||0;if(ed.TERM==="dumb")return w;if(Noe.default.platform==="win32"){let z=J_t.default.release().split(".");return Number(z[0])>=10&&Number(z[2])>=10586?Number(z[2])>=14931?3:2:1}if("CI"in ed)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(z=>z in ed)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(z=>z in ed)||ed.CI_NAME==="codeship"?1:w;if("TEAMCITY_VERSION"in ed)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ed.TEAMCITY_VERSION)?1:0;if(ed.COLORTERM==="truecolor"||ed.TERM==="xterm-kitty"||ed.TERM==="xterm-ghostty"||ed.TERM==="wezterm")return 3;if("TERM_PROGRAM"in ed){let z=Number.parseInt((ed.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ed.TERM_PROGRAM){case"iTerm.app":return z>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ed.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ed.TERM)||"COLORTERM"in ed?1:w}function j_t(_,c={}){let p=flr(_,{streamIsTTY:_&&_.isTTY,...c});return llr(p)}var _lr={stdout:j_t({isTTY:Wke.default.isatty(1)}),stderr:j_t({isTTY:Wke.default.isatty(2)})},q_t=_lr;function z_t(_,c,p){let g=_.indexOf(c);if(g===-1)return _;let S=c.length,w=0,z="";do z+=_.slice(w,g)+c+p,w=g+S,g=_.indexOf(c,w);while(g!==-1);return z+=_.slice(w),z}function W_t(_,c,p,g){let S=0,w="";do{let z=_[g-1]==="\r";w+=_.slice(S,z?g-1:g)+c+(z?`\r
977
977
  `:`
978
- `)+_,S=g+1,g=p.indexOf(`
979
- `,S)}while(g!==-1);return w+=p.slice(S),w}var{stdout:U_t,stderr:V_t}=q_t,Uke=Symbol("GENERATOR"),HR=Symbol("STYLER"),uG=Symbol("IS_EMPTY"),G_t=["ansi","ansi","ansi256","ansi16m"],KR=Object.create(null),plr=(p,c={})=>{if(c.level&&!(Number.isInteger(c.level)&&c.level>=0&&c.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let _=U_t?U_t.level:0;p.level=c.level===void 0?_:c.level};var dlr=p=>{let c=(..._)=>_.join(" ");return plr(c,p),Object.setPrototypeOf(c,lG.prototype),c};function lG(p){return dlr(p)}Object.setPrototypeOf(lG.prototype,Function.prototype);for(let[p,c]of Object.entries(uE))KR[p]={get(){let _=Ooe(this,Gke(c.open,c.close,this[HR]),this[uG]);return Object.defineProperty(this,p,{value:_}),_}};KR.visible={get(){let p=Ooe(this,this[HR],!0);return Object.defineProperty(this,"visible",{value:p}),p}};var Vke=(p,c,_,...g)=>p==="rgb"?c==="ansi16m"?uE[_].ansi16m(...g):c==="ansi256"?uE[_].ansi256(uE.rgbToAnsi256(...g)):uE[_].ansi(uE.rgbToAnsi(...g)):p==="hex"?Vke("rgb",c,_,...uE.hexToRgb(...g)):uE[_][p](...g),mlr=["rgb","hex","ansi256"];for(let p of mlr){KR[p]={get(){let{level:_}=this;return function(...g){let S=Gke(Vke(p,G_t[_],"color",...g),uE.color.close,this[HR]);return Ooe(this,S,this[uG])}}};let c="bg"+p[0].toUpperCase()+p.slice(1);KR[c]={get(){let{level:_}=this;return function(...g){let S=Gke(Vke(p,G_t[_],"bgColor",...g),uE.bgColor.close,this[HR]);return Ooe(this,S,this[uG])}}}}var hlr=Object.defineProperties(()=>{},{...KR,level:{enumerable:!0,get(){return this[Uke].level},set(p){this[Uke].level=p}}}),Gke=(p,c,_)=>{let g,S;return _===void 0?(g=p,S=c):(g=_.openAll+p,S=c+_.closeAll),{open:p,close:c,openAll:g,closeAll:S,parent:_}},Ooe=(p,c,_)=>{let g=(...S)=>glr(g,S.length===1?""+S[0]:S.join(" "));return Object.setPrototypeOf(g,hlr),g[Uke]=p,g[HR]=c,g[uG]=_,g},glr=(p,c)=>{if(p.level<=0||!c)return p[uG]?"":c;let _=p[HR];if(_===void 0)return c;let{openAll:g,closeAll:S}=_;if(c.includes("\x1B"))for(;_!==void 0;)c=z_t(c,_.close,_.open),_=_.parent;let w=c.indexOf(`
978
+ `)+p,S=g+1,g=_.indexOf(`
979
+ `,S)}while(g!==-1);return w+=_.slice(S),w}var{stdout:U_t,stderr:V_t}=q_t,Uke=Symbol("GENERATOR"),HR=Symbol("STYLER"),uG=Symbol("IS_EMPTY"),G_t=["ansi","ansi","ansi256","ansi16m"],KR=Object.create(null),plr=(_,c={})=>{if(c.level&&!(Number.isInteger(c.level)&&c.level>=0&&c.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let p=U_t?U_t.level:0;_.level=c.level===void 0?p:c.level};var dlr=_=>{let c=(...p)=>p.join(" ");return plr(c,_),Object.setPrototypeOf(c,lG.prototype),c};function lG(_){return dlr(_)}Object.setPrototypeOf(lG.prototype,Function.prototype);for(let[_,c]of Object.entries(uE))KR[_]={get(){let p=Ooe(this,Gke(c.open,c.close,this[HR]),this[uG]);return Object.defineProperty(this,_,{value:p}),p}};KR.visible={get(){let _=Ooe(this,this[HR],!0);return Object.defineProperty(this,"visible",{value:_}),_}};var Vke=(_,c,p,...g)=>_==="rgb"?c==="ansi16m"?uE[p].ansi16m(...g):c==="ansi256"?uE[p].ansi256(uE.rgbToAnsi256(...g)):uE[p].ansi(uE.rgbToAnsi(...g)):_==="hex"?Vke("rgb",c,p,...uE.hexToRgb(...g)):uE[p][_](...g),mlr=["rgb","hex","ansi256"];for(let _ of mlr){KR[_]={get(){let{level:p}=this;return function(...g){let S=Gke(Vke(_,G_t[p],"color",...g),uE.color.close,this[HR]);return Ooe(this,S,this[uG])}}};let c="bg"+_[0].toUpperCase()+_.slice(1);KR[c]={get(){let{level:p}=this;return function(...g){let S=Gke(Vke(_,G_t[p],"bgColor",...g),uE.bgColor.close,this[HR]);return Ooe(this,S,this[uG])}}}}var hlr=Object.defineProperties(()=>{},{...KR,level:{enumerable:!0,get(){return this[Uke].level},set(_){this[Uke].level=_}}}),Gke=(_,c,p)=>{let g,S;return p===void 0?(g=_,S=c):(g=p.openAll+_,S=c+p.closeAll),{open:_,close:c,openAll:g,closeAll:S,parent:p}},Ooe=(_,c,p)=>{let g=(...S)=>glr(g,S.length===1?""+S[0]:S.join(" "));return Object.setPrototypeOf(g,hlr),g[Uke]=_,g[HR]=c,g[uG]=p,g},glr=(_,c)=>{if(_.level<=0||!c)return _[uG]?"":c;let p=_[HR];if(p===void 0)return c;let{openAll:g,closeAll:S}=p;if(c.includes("\x1B"))for(;p!==void 0;)c=z_t(c,p.close,p.open),p=p.parent;let w=c.indexOf(`
980
980
  `);return w!==-1&&(c=W_t(c,S,g,w)),g+c+S};Object.defineProperties(lG.prototype,KR);var ylr=lG(),twr=lG({level:V_t?V_t.level:0});var Kv=ylr;var Loe=class{report(c){console.log(Kv.bold(`
981
981
  \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501`)),console.log(Kv.bold("Quality Lens Results")),console.log(Kv.bold(`\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501
982
- `));let _=this.groupByPackage(c);Object.entries(_).forEach(([z,ie])=>{console.log(Kv.bold.blue(`\u{1F4E6} ${z}`)),ie.forEach(de=>{let be=de.result?.success?"\u2713":"\u2717",Ee=de.result?.success?Kv.green:Kv.red,Oe=de.result?.duration?`(${de.result.duration}ms)`:"";if(console.log(` ${Ee(be)} ${de.lens}: ${de.command} ${Kv.gray(Oe)}`),de.result?.lensResult?.issues&&de.result.lensResult.issues.length>0){let Y=de.result.lensResult.issues.filter(Ye=>Ye.severity==="error").length,ut=de.result.lensResult.issues.filter(Ye=>Ye.severity==="warning").length;Y>0&&console.log(` ${Kv.red(`${Y} error(s)`)}`),ut>0&&console.log(` ${Kv.yellow(`${ut} warning(s)`)}`)}de.error&&console.log(` ${Kv.red("Error:")} ${de.error}`)}),console.log("")});let g=c.length,S=c.filter(z=>z.result?.success).length,w=g-S;console.log(Kv.bold("Summary:")),console.log(` Total: ${g}`),console.log(` ${Kv.green("Passed:")} ${S}`),console.log(` ${Kv.red("Failed:")} ${w}`),console.log("")}groupByPackage(c){return c.reduce((_,g)=>(_[g.package]||(_[g.package]=[]),_[g.package].push(g),_),{})}};var fG=class{static buildTreeFromPaths(c,_=""){let g=_.endsWith("/")?_.slice(0,-1):_,S=new Map,w=[],z=[],ie=new Set;c.forEach(Ee=>{let Oe=Ee.split("/");for(let Y=1;Y<Oe.length;Y++)ie.add(Oe.slice(0,Y).join("/"))}),Array.from(ie).forEach(Ee=>{let Oe=Ee.split("/"),Y=Oe[Oe.length-1]||"",ut=Oe.length-1,Ye={path:Ee,name:Y,children:[],fileCount:0,totalSize:0,depth:ut,relativePath:this.calculateRelativePath(Ee,g)};S.set(Ee,Ye),z.push(Ye)}),c.forEach(Ee=>{let Oe=Ee.split("/"),Y=Oe[Oe.length-1]||"",ut=this.extractExtension(Y),Ye=Oe.slice(0,-1).join("/"),We={path:Ee,name:Y,extension:ut,size:0,lastModified:new Date,isDirectory:!1,relativePath:this.calculateRelativePath(Ee,g)};w.push(We);let Ut=S.get(Ye);Ut&&"children"in Ut&&(Ut.children.push(We),Ut.fileCount++)}),Array.from(ie).sort((Ee,Oe)=>Oe.length-Ee.length).forEach(Ee=>{let Oe=Ee.split("/");if(Oe.length>1){let Y=Oe.slice(0,-1).join("/"),ut=S.get(Y),Ye=S.get(Ee);ut&&Ye&&"children"in ut&&ut.children.push(Ye)}});let de=g&&g.split("/").pop()||"root",be=[];return z.forEach(Ee=>{Ee.path.split("/").length===1&&be.push(Ee)}),w.forEach(Ee=>{Ee.path.split("/").length===1&&be.push(Ee)}),{root:{path:g||".",name:de,children:be,fileCount:w.length,totalSize:0,depth:0,relativePath:""},allFiles:w,allDirectories:z}}static buildTreeFromFileInfos(c,_=""){let g=_.endsWith("/")?_.slice(0,-1):_,S=new Map,w=[],z=new Set;c.forEach(be=>{let Ee=be.path.split("/");for(let Oe=1;Oe<Ee.length;Oe++)z.add(Ee.slice(0,Oe).join("/"))}),Array.from(z).forEach(be=>{let Ee=be.split("/"),Oe=Ee[Ee.length-1]||"",Y={path:be,name:Oe,children:[],fileCount:0,totalSize:0,depth:Ee.length-1,relativePath:this.calculateRelativePath(be,g)};S.set(be,Y),w.push(Y)}),c.forEach(be=>{let Ee=be.path.split("/").slice(0,-1).join("/"),Oe=S.get(Ee);Oe&&(Oe.children.push(be),Oe.fileCount++,Oe.totalSize+=be.size||0)}),Array.from(z).sort((be,Ee)=>Ee.length-be.length).forEach(be=>{let Ee=be.split("/");if(Ee.length>1){let Oe=Ee.slice(0,-1).join("/"),Y=S.get(Oe),ut=S.get(be);Y&&ut&&(Y.children.push(ut),Y.fileCount+=ut.fileCount,Y.totalSize+=ut.totalSize)}});let ie=g&&g.split("/").pop()||"root",de=[];return w.forEach(be=>{be.path.split("/").length===1&&de.push(be)}),c.forEach(be=>{be.path.split("/").length===1&&de.push(be)}),{root:{path:g||".",name:ie,children:de,fileCount:c.length,totalSize:c.reduce((be,Ee)=>be+(Ee.size||0),0),depth:0,relativePath:""},allFiles:c,allDirectories:w}}static calculateStats(c,_){return{totalFiles:c.length,totalDirectories:_.length,totalSize:c.reduce((g,S)=>g+(S.size||0),0),maxDepth:this.calculateMaxDepth(_)}}static calculateMaxDepth(c){return c.length===0?0:Math.max(...c.map(_=>_.depth||0))}static extractExtension(c){if(!c.includes("."))return"";let _=c.split(".");return"."+_[_.length-1].toLowerCase()}static calculateRelativePath(c,_){if(!_||_===""||_===".")return c;if(c===_)return"";if(c.startsWith(_)){let g=c.substring(_.length);return g.startsWith("/")?g.substring(1):g}return c}static hashPaths(c){let _=[...c].sort().join(`
983
- `),g=0;for(let S=0;S<_.length;S++){let w=_.charCodeAt(S);g=(g<<5)-g+w,g=g&g}return`paths-${Math.abs(g).toString(36)}`}static simpleHash(c){let _=0;for(let g=0;g<c.length;g++){let S=c.charCodeAt(g);_=(_<<5)-_+S,_=_&_}return Math.abs(_).toString(36)}},$ke=class{generateTimestampId(){return Date.now().toString(36)}simpleHash(c){let _=0;for(let g=0;g<c.length;g++){let S=c.charCodeAt(g);_=(_<<5)-_+S,_=_&_}return Math.abs(_).toString(36)}},Roe=class extends $ke{build(c){let{files:_,rootPath:g=""}=c,{root:S,allFiles:w,allDirectories:z}=fG.buildTreeFromPaths(_,g),ie=fG.calculateStats(w,z);return{sha:this.calculateSha(c),metadata:this.generateMetadata(c),root:S,allFiles:w,allDirectories:z,stats:ie}}generateMetadata(c){let{files:_,rootPath:g=""}=c,S=this.calculateSha(c);return{id:`paths-${S}-${this.generateTimestampId()}`,timestamp:new Date,sourceType:"paths",sourceSha:S,sourceInfo:{fileCount:_.length,rootPath:g||"."}}}calculateSha(c){return fG.hashPaths(c.files)}};var Ik=Bv(require("fs/promises")),kk=Bv(require("path")),$_t=require("child_process"),vlr=`name: Quality Lens Analysis
982
+ `));let p=this.groupByPackage(c);Object.entries(p).forEach(([z,ie])=>{console.log(Kv.bold.blue(`\u{1F4E6} ${z}`)),ie.forEach(de=>{let be=de.result?.success?"\u2713":"\u2717",Ee=de.result?.success?Kv.green:Kv.red,Oe=de.result?.duration?`(${de.result.duration}ms)`:"";if(console.log(` ${Ee(be)} ${de.lens}: ${de.command} ${Kv.gray(Oe)}`),de.result?.lensResult?.issues&&de.result.lensResult.issues.length>0){let Y=de.result.lensResult.issues.filter(Ye=>Ye.severity==="error").length,ut=de.result.lensResult.issues.filter(Ye=>Ye.severity==="warning").length;Y>0&&console.log(` ${Kv.red(`${Y} error(s)`)}`),ut>0&&console.log(` ${Kv.yellow(`${ut} warning(s)`)}`)}de.error&&console.log(` ${Kv.red("Error:")} ${de.error}`)}),console.log("")});let g=c.length,S=c.filter(z=>z.result?.success).length,w=g-S;console.log(Kv.bold("Summary:")),console.log(` Total: ${g}`),console.log(` ${Kv.green("Passed:")} ${S}`),console.log(` ${Kv.red("Failed:")} ${w}`),console.log("")}groupByPackage(c){return c.reduce((p,g)=>(p[g.package]||(p[g.package]=[]),p[g.package].push(g),p),{})}};var fG=class{static buildTreeFromPaths(c,p=""){let g=p.endsWith("/")?p.slice(0,-1):p,S=new Map,w=[],z=[],ie=new Set;c.forEach(Ee=>{let Oe=Ee.split("/");for(let Y=1;Y<Oe.length;Y++)ie.add(Oe.slice(0,Y).join("/"))}),Array.from(ie).forEach(Ee=>{let Oe=Ee.split("/"),Y=Oe[Oe.length-1]||"",ut=Oe.length-1,Ye={path:Ee,name:Y,children:[],fileCount:0,totalSize:0,depth:ut,relativePath:this.calculateRelativePath(Ee,g)};S.set(Ee,Ye),z.push(Ye)}),c.forEach(Ee=>{let Oe=Ee.split("/"),Y=Oe[Oe.length-1]||"",ut=this.extractExtension(Y),Ye=Oe.slice(0,-1).join("/"),We={path:Ee,name:Y,extension:ut,size:0,lastModified:new Date,isDirectory:!1,relativePath:this.calculateRelativePath(Ee,g)};w.push(We);let Ut=S.get(Ye);Ut&&"children"in Ut&&(Ut.children.push(We),Ut.fileCount++)}),Array.from(ie).sort((Ee,Oe)=>Oe.length-Ee.length).forEach(Ee=>{let Oe=Ee.split("/");if(Oe.length>1){let Y=Oe.slice(0,-1).join("/"),ut=S.get(Y),Ye=S.get(Ee);ut&&Ye&&"children"in ut&&ut.children.push(Ye)}});let de=g&&g.split("/").pop()||"root",be=[];return z.forEach(Ee=>{Ee.path.split("/").length===1&&be.push(Ee)}),w.forEach(Ee=>{Ee.path.split("/").length===1&&be.push(Ee)}),{root:{path:g||".",name:de,children:be,fileCount:w.length,totalSize:0,depth:0,relativePath:""},allFiles:w,allDirectories:z}}static buildTreeFromFileInfos(c,p=""){let g=p.endsWith("/")?p.slice(0,-1):p,S=new Map,w=[],z=new Set;c.forEach(be=>{let Ee=be.path.split("/");for(let Oe=1;Oe<Ee.length;Oe++)z.add(Ee.slice(0,Oe).join("/"))}),Array.from(z).forEach(be=>{let Ee=be.split("/"),Oe=Ee[Ee.length-1]||"",Y={path:be,name:Oe,children:[],fileCount:0,totalSize:0,depth:Ee.length-1,relativePath:this.calculateRelativePath(be,g)};S.set(be,Y),w.push(Y)}),c.forEach(be=>{let Ee=be.path.split("/").slice(0,-1).join("/"),Oe=S.get(Ee);Oe&&(Oe.children.push(be),Oe.fileCount++,Oe.totalSize+=be.size||0)}),Array.from(z).sort((be,Ee)=>Ee.length-be.length).forEach(be=>{let Ee=be.split("/");if(Ee.length>1){let Oe=Ee.slice(0,-1).join("/"),Y=S.get(Oe),ut=S.get(be);Y&&ut&&(Y.children.push(ut),Y.fileCount+=ut.fileCount,Y.totalSize+=ut.totalSize)}});let ie=g&&g.split("/").pop()||"root",de=[];return w.forEach(be=>{be.path.split("/").length===1&&de.push(be)}),c.forEach(be=>{be.path.split("/").length===1&&de.push(be)}),{root:{path:g||".",name:ie,children:de,fileCount:c.length,totalSize:c.reduce((be,Ee)=>be+(Ee.size||0),0),depth:0,relativePath:""},allFiles:c,allDirectories:w}}static calculateStats(c,p){return{totalFiles:c.length,totalDirectories:p.length,totalSize:c.reduce((g,S)=>g+(S.size||0),0),maxDepth:this.calculateMaxDepth(p)}}static calculateMaxDepth(c){return c.length===0?0:Math.max(...c.map(p=>p.depth||0))}static extractExtension(c){if(!c.includes("."))return"";let p=c.split(".");return"."+p[p.length-1].toLowerCase()}static calculateRelativePath(c,p){if(!p||p===""||p===".")return c;if(c===p)return"";if(c.startsWith(p)){let g=c.substring(p.length);return g.startsWith("/")?g.substring(1):g}return c}static hashPaths(c){let p=[...c].sort().join(`
983
+ `),g=0;for(let S=0;S<p.length;S++){let w=p.charCodeAt(S);g=(g<<5)-g+w,g=g&g}return`paths-${Math.abs(g).toString(36)}`}static simpleHash(c){let p=0;for(let g=0;g<c.length;g++){let S=c.charCodeAt(g);p=(p<<5)-p+S,p=p&p}return Math.abs(p).toString(36)}},$ke=class{generateTimestampId(){return Date.now().toString(36)}simpleHash(c){let p=0;for(let g=0;g<c.length;g++){let S=c.charCodeAt(g);p=(p<<5)-p+S,p=p&p}return Math.abs(p).toString(36)}},Roe=class extends $ke{build(c){let{files:p,rootPath:g=""}=c,{root:S,allFiles:w,allDirectories:z}=fG.buildTreeFromPaths(p,g),ie=fG.calculateStats(w,z);return{sha:this.calculateSha(c),metadata:this.generateMetadata(c),root:S,allFiles:w,allDirectories:z,stats:ie}}generateMetadata(c){let{files:p,rootPath:g=""}=c,S=this.calculateSha(c);return{id:`paths-${S}-${this.generateTimestampId()}`,timestamp:new Date,sourceType:"paths",sourceSha:S,sourceInfo:{fileCount:p.length,rootPath:g||"."}}}calculateSha(c){return fG.hashPaths(c.files)}};var Ik=Bv(require("fs/promises")),kk=Bv(require("path")),$_t=require("child_process"),vlr=`name: Quality Lens Analysis
984
984
 
985
985
  on:
986
986
  push:
@@ -1030,11 +1030,11 @@ jobs:
1030
1030
  name: quality-lens-results-\${{ github.sha }}
1031
1031
  path: results.json
1032
1032
  if-no-files-found: warn
1033
- `,Hke={eslint:["npx","--yes","eslint",".","--ext",".ts,.tsx,.js,.jsx"],lint:["npx","--yes","eslint",".","--ext",".ts,.tsx,.js,.jsx"],typescript:["npx","--yes","tsc","--noEmit"],typecheck:["npx","--yes","tsc","--noEmit"],jest:["npx","--yes","jest","--passWithNoTests"],test:["npx","--yes","jest","--passWithNoTests"],prettier:["npx","--yes","prettier","--check","."],format:["npx","--yes","prettier","--check","."],knip:["npx","--yes","knip"],alexandria:["npx","--yes","@principal-ai/alexandria-cli","lint"],docs:["npx","--yes","@principal-ai/alexandria-cli","lint"]};function Dlr(p,c){let _=Date.now(),g=Hke[p];return g?new Promise(S=>{let w="",z="",ie=g.join(" "),de=(0,$_t.spawn)(ie,[],{cwd:c,shell:!0});de.stdout&&de.stdout.on("data",be=>{w+=be.toString()}),de.stderr&&de.stderr.on("data",be=>{z+=be.toString()}),de.on("close",be=>{S({success:be===0,stdout:w,stderr:z,duration:Date.now()-_})}),de.on("error",be=>{S({success:!1,stdout:w,stderr:z||be.message,duration:Date.now()-_})})}):Promise.resolve({success:!1,stdout:"",stderr:`No npx command defined for lens: ${p}`,duration:Date.now()-_})}async function H_t(p){let c=await K_t(p,"");return new Roe().build({files:c,rootPath:p})}async function K_t(p,c){let _=[],g=await Ik.readdir(p,{withFileTypes:!0});for(let S of g){if(blr(S.name))continue;let w=kk.join(p,S.name),z=c?`${c}/${S.name}`:S.name;if(S.isDirectory()){let ie=await K_t(w,z);_.push(...ie)}else S.isFile()&&_.push(z)}return _}function blr(p){return["node_modules",".git",".next",".nuxt","dist","build","coverage",".turbo",".cache"].includes(p)||p.startsWith(".")}async function Clr(p){let c=new oG,_=new Ioe,g=new woe,S=new Loe;try{let w=kk.resolve(p.path);console.log(`Scanning repository: ${w}`);let z=await H_t(w),ie=await c.extractPackages(z,w);ie.length===0&&(console.warn("No packages found in repository"),process.exit(1)),console.log(`Found ${ie.length} package(s)`);let de=p.lenses?p.lenses.split(",").map(Oe=>Oe.trim()):null,be=[];for(let Oe of ie){let Y=Oe.packageData.availableCommands?.filter(We=>!(!We.isLensCommand||de&&!de.includes(We.lensId||"")));if(!Y||Y.length===0){console.log(`Skipping ${Oe.packageData.name} (no lens commands)`);continue}console.log(`
1034
- Running lenses for ${Oe.packageData.name}...`);let ut=Oe.packageData.path||"",Ye=ut?kk.join(w,ut):w;for(let We of Y){let Ut=We.lensId||"unknown";console.log(` - ${Ut}: ${We.name}`);try{let _r;if(p.install&&Hke[Ut]){let Hr=await Dlr(Ut,Ye);_r={success:Hr.success,toolName:Ut,command:Hke[Ut].join(" "),packagePath:ut,exitCode:Hr.success?0:1,duration:Hr.duration,stdout:Hr.stdout,stderr:Hr.stderr}}else _r=await _.executeTool({repoPath:w,packageLayer:Oe,packageCommand:We});be.push({package:Oe.packageData.name,packagePath:Oe.packageData.path,lens:Ut,command:We.name,result:_r,timestamp:Date.now()}),console.log(` ${_r.success?"\u2713":"\u2717"} ${_r.success?"Success":"Failed"} (${_r.duration}ms)`)}catch(_r){console.error(` \u2717 Error: ${_r.message}`),be.push({package:Oe.packageData.name,packagePath:Oe.packageData.path,lens:Ut,command:We.name,error:_r.message,timestamp:Date.now()})}}}if(p.format==="json"){let Oe=g.format(be);p.output?(await Ik.writeFile(p.output,Oe,"utf-8"),console.log(`
1035
- Results written to: ${p.output}`)):console.log(`
1036
- `+Oe)}else S.report(be);let Ee=be.some(Oe=>Oe.error||!Oe.result?.success);process.exit(Ee?1:0)}catch(w){console.error("Fatal error:",w.message),process.exit(1)}}hKe(HEe(process.argv)).command("run [path]","Run quality lenses on repository",p=>p.positional("path",{describe:"Repository path",type:"string",default:process.cwd()}).option("output",{alias:"o",describe:"Output file for results",type:"string"}).option("lenses",{describe:"Specific lenses to run (comma-separated)",type:"string",example:"eslint,jest,typescript"}).option("format",{describe:"Output format",choices:["json","console"],default:"console"}).option("install",{alias:"i",describe:"Run tools via npx (no local dependencies required)",type:"boolean",default:!1}),p=>Clr(p)).command("list [path]","List available lenses in repository",p=>p.positional("path",{describe:"Repository path",type:"string",default:process.cwd()}),async p=>{let c=kk.resolve(p.path),_=new oG;console.log(`Scanning repository: ${c}`);let g=await H_t(c);(await _.extractPackages(g,c)).forEach(w=>{console.log(`
1037
- ${w.packageData.name}:`),console.log(` Available: ${w.qualityMetrics?.availableLenses?.join(", ")||"none"}`),console.log(` Missing: ${w.qualityMetrics?.missingLenses?.join(", ")||"none"}`)})}).command("init [path]","Initialize Quality Lens GitHub Action in repository",p=>p.positional("path",{describe:"Repository path",type:"string",default:process.cwd()}).option("force",{alias:"f",describe:"Overwrite existing workflow file",type:"boolean",default:!1}),async p=>{let c=kk.resolve(p.path),_=kk.join(c,".github","workflows"),g=kk.join(_,"quality-lens.yml");try{try{await Ik.access(g),p.force||(console.log(`Workflow already exists at ${g}`),console.log("Use --force to overwrite"),process.exit(1))}catch{}await Ik.mkdir(_,{recursive:!0}),await Ik.writeFile(g,vlr,"utf-8"),console.log("Quality Lens GitHub Action initialized!"),console.log(`
1033
+ `,Hke={eslint:["npx","--yes","eslint",".","--ext",".ts,.tsx,.js,.jsx"],lint:["npx","--yes","eslint",".","--ext",".ts,.tsx,.js,.jsx"],typescript:["npx","--yes","tsc","--noEmit"],typecheck:["npx","--yes","tsc","--noEmit"],jest:["npx","--yes","jest","--passWithNoTests"],test:["npx","--yes","jest","--passWithNoTests"],prettier:["npx","--yes","prettier","--check","."],format:["npx","--yes","prettier","--check","."],knip:["npx","--yes","knip"],alexandria:["npx","--yes","@principal-ai/alexandria-cli","lint"],docs:["npx","--yes","@principal-ai/alexandria-cli","lint"]};function Dlr(_,c){let p=Date.now(),g=Hke[_];return g?new Promise(S=>{let w="",z="",ie=g.join(" "),de=(0,$_t.spawn)(ie,[],{cwd:c,shell:!0});de.stdout&&de.stdout.on("data",be=>{w+=be.toString()}),de.stderr&&de.stderr.on("data",be=>{z+=be.toString()}),de.on("close",be=>{S({success:be!==null&&be!==127,stdout:w,stderr:z,duration:Date.now()-p,exitCode:be??1})}),de.on("error",be=>{S({success:!1,stdout:w,stderr:z||be.message,duration:Date.now()-p,exitCode:1})})}):Promise.resolve({success:!1,stdout:"",stderr:`No npx command defined for lens: ${_}`,duration:Date.now()-p,exitCode:1})}async function H_t(_){let c=await K_t(_,"");return new Roe().build({files:c,rootPath:_})}async function K_t(_,c){let p=[],g=await Ik.readdir(_,{withFileTypes:!0});for(let S of g){if(blr(S.name))continue;let w=kk.join(_,S.name),z=c?`${c}/${S.name}`:S.name;if(S.isDirectory()){let ie=await K_t(w,z);p.push(...ie)}else S.isFile()&&p.push(z)}return p}function blr(_){return["node_modules",".git",".next",".nuxt","dist","build","coverage",".turbo",".cache"].includes(_)||_.startsWith(".")}async function Clr(_){let c=new oG,p=new Ioe,g=new woe,S=new Loe;try{let w=kk.resolve(_.path);console.log(`Scanning repository: ${w}`);let z=await H_t(w),ie=await c.extractPackages(z,w);ie.length===0&&(console.warn("No packages found in repository"),process.exit(1)),console.log(`Found ${ie.length} package(s)`);let de=_.lenses?_.lenses.split(",").map(Oe=>Oe.trim()):null,be=[];for(let Oe of ie){let Y=Oe.packageData.availableCommands?.filter(We=>!(!We.isLensCommand||de&&!de.includes(We.lensId||"")));if(!Y||Y.length===0){console.log(`Skipping ${Oe.packageData.name} (no lens commands)`);continue}console.log(`
1034
+ Running lenses for ${Oe.packageData.name}...`);let ut=Oe.packageData.path||"",Ye=ut?kk.join(w,ut):w;for(let We of Y){let Ut=We.lensId||"unknown";console.log(` - ${Ut}: ${We.name}`);try{let _r;if(_.install&&Hke[Ut]){let Hr=await Dlr(Ut,Ye);_r={success:Hr.success,toolName:Ut,command:Hke[Ut].join(" "),packagePath:ut,exitCode:Hr.exitCode,duration:Hr.duration,stdout:Hr.stdout,stderr:Hr.stderr}}else _r=await p.executeTool({repoPath:w,packageLayer:Oe,packageCommand:We});be.push({package:Oe.packageData.name,packagePath:Oe.packageData.path,lens:Ut,command:We.name,result:_r,timestamp:Date.now()}),console.log(` ${_r.success?"\u2713":"\u2717"} ${_r.success?"Success":"Failed"} (${_r.duration}ms)`)}catch(_r){console.error(` \u2717 Error: ${_r.message}`),be.push({package:Oe.packageData.name,packagePath:Oe.packageData.path,lens:Ut,command:We.name,error:_r.message,timestamp:Date.now()})}}}if(_.format==="json"){let Oe=g.format(be);_.output?(await Ik.writeFile(_.output,Oe,"utf-8"),console.log(`
1035
+ Results written to: ${_.output}`)):console.log(`
1036
+ `+Oe)}else S.report(be);let Ee=be.some(Oe=>Oe.error||!Oe.result?.success);process.exit(Ee?1:0)}catch(w){console.error("Fatal error:",w.message),process.exit(1)}}hKe(HEe(process.argv)).command("run [path]","Run quality lenses on repository",_=>_.positional("path",{describe:"Repository path",type:"string",default:process.cwd()}).option("output",{alias:"o",describe:"Output file for results",type:"string"}).option("lenses",{describe:"Specific lenses to run (comma-separated)",type:"string",example:"eslint,jest,typescript"}).option("format",{describe:"Output format",choices:["json","console"],default:"console"}).option("install",{alias:"i",describe:"Run tools via npx (no local dependencies required)",type:"boolean",default:!1}),_=>Clr(_)).command("list [path]","List available lenses in repository",_=>_.positional("path",{describe:"Repository path",type:"string",default:process.cwd()}),async _=>{let c=kk.resolve(_.path),p=new oG;console.log(`Scanning repository: ${c}`);let g=await H_t(c);(await p.extractPackages(g,c)).forEach(w=>{console.log(`
1037
+ ${w.packageData.name}:`),console.log(` Available: ${w.qualityMetrics?.availableLenses?.join(", ")||"none"}`),console.log(` Missing: ${w.qualityMetrics?.missingLenses?.join(", ")||"none"}`)})}).command("init [path]","Initialize Quality Lens GitHub Action in repository",_=>_.positional("path",{describe:"Repository path",type:"string",default:process.cwd()}).option("force",{alias:"f",describe:"Overwrite existing workflow file",type:"boolean",default:!1}),async _=>{let c=kk.resolve(_.path),p=kk.join(c,".github","workflows"),g=kk.join(p,"quality-lens.yml");try{try{await Ik.access(g),_.force||(console.log(`Workflow already exists at ${g}`),console.log("Use --force to overwrite"),process.exit(1))}catch{}await Ik.mkdir(p,{recursive:!0}),await Ik.writeFile(g,vlr,"utf-8"),console.log("Quality Lens GitHub Action initialized!"),console.log(`
1038
1038
  Created: ${g}`),console.log(`
1039
1039
  Next steps:`),console.log(' 1. Run "quality-lens list" to see available lenses'),console.log(" 2. Commit and push to trigger the workflow"),console.log(" 3. Check the Actions tab in GitHub for results")}catch(S){console.error("Failed to initialize workflow:",S.message),process.exit(1)}}).demandCommand().help().argv;
1040
1040
  /*! Bundled license information: