@pandacss/language-server 0.0.0-dev-20230927131248 → 0.0.0-dev-20230927144111

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.
Files changed (2) hide show
  1. package/dist/index.js +57 -48
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -30771,7 +30771,7 @@ ${qt}`}gn.exports={isPragma:Kt,hasPragma:E,insertPragma:B}}}),RS=ms({"src/langua
30771
30771
  `+Yn.replace(/^Error(:[^\n]*)?\n/,""))});return Ps.prototype=Object.create(Br.prototype),Ps.prototype.constructor=Ps,Ps.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},Ps}var Gs=void 0;function Ec(Co){throw new Gs(Co)}var ic=Co=>(Co||Ec("Cannot use deleted val. handle = "+Co),Ai[Co].value),cf=Co=>{switch(Co){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var Br=Sa.length?Sa.pop():Ai.length;return Ai[Br]={fa:1,value:Co},Br}},Mt=void 0,Xp=void 0;function ls(Co){for(var Br="";un[Co];)Br+=Xp[un[Co++]];return Br}var Od=[];function $m(){for(;Od.length;){var Co=Od.pop();Co.L.Z=!1,Co.delete()}}var Zy=void 0,Kg={};function RB(Co,Br){for(Br===void 0&&Ec("ptr should not be undefined");Co.P;)Br=Co.aa(Br),Co=Co.P;return Br}var Xg={};function lC(Co){var Br=ls(Co=hp(Co));return $_(Co),Br}function HB(Co,Br){var Ps=Xg[Co];return Ps===void 0&&Ec(Br+" has unknown type "+lC(Co)),Ps}function Q0(){}var b1=!1;function Qv(Co){--Co.count.value,Co.count.value===0&&(Co.S?Co.T.V(Co.S):Co.O.M.V(Co.N))}var og={},mx=void 0;function aE(Co){throw new mx(Co)}function vi(Co,Br){return Br.O&&Br.N||aE("makeClassHandle requires ptr and ptrType"),!!Br.T!=!!Br.S&&aE("Both smartPtrType and smartPtr must be specified"),Br.count={value:1},Us(Object.create(Co,{L:{value:Br}}))}function Us(Co){return typeof FinalizationRegistry>"u"?(Us=Br=>Br,Co):(b1=new FinalizationRegistry(Br=>{Qv(Br.L)}),Us=Br=>{var Ps=Br.L;return Ps.S&&b1.register(Br,{L:Ps},Br),Br},Q0=Br=>{b1.unregister(Br)},Us(Co))}var Ku={};function xo(Co){for(;Co.length;){var Br=Co.pop();Co.pop()(Br)}}function Ep(Co){return this.fromWireType(mn[Co>>2])}var Y_={},_p={};function Ca(Co,Br,Ps){function Yn(Vo){(Vo=Ps(Vo)).length!==Co.length&&aE("Mismatched type converter count");for(var uf=0;uf<Co.length;++uf)ma(Co[uf],Vo[uf])}Co.forEach(function(Vo){_p[Vo]=Br});var Ua=Array(Br.length),mi=[],Os=0;Br.forEach((Vo,uf)=>{Xg.hasOwnProperty(Vo)?Ua[uf]=Xg[Vo]:(mi.push(Vo),Y_.hasOwnProperty(Vo)||(Y_[Vo]=[]),Y_[Vo].push(()=>{Ua[uf]=Xg[Vo],++Os===mi.length&&Yn(Ua)}))}),mi.length===0&&Yn(Ua)}function Ha(Co){switch(Co){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw TypeError("Unknown type size: "+Co)}}function ma(Co,Br,Ps={}){if(!("argPackAdvance"in Br))throw TypeError("registerType registeredInstance requires argPackAdvance");var Yn=Br.name;if(Co||Ec('type "'+Yn+'" must have a positive integer typeid pointer'),Xg.hasOwnProperty(Co)){if(Ps.ta)return;Ec("Cannot register type '"+Yn+"' twice")}Xg[Co]=Br,delete _p[Co],Y_.hasOwnProperty(Co)&&(Br=Y_[Co],delete Y_[Co],Br.forEach(Ua=>Ua()))}function bl(Co){Ec(Co.L.O.M.name+" instance already deleted")}function ta(){}function gu(Co,Br,Ps){if(Co[Br].R===void 0){var Yn=Co[Br];Co[Br]=function(){return Co[Br].R.hasOwnProperty(arguments.length)||Ec("Function '"+Ps+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+Co[Br].R+")!"),Co[Br].R[arguments.length].apply(this,arguments)},Co[Br].R=[],Co[Br].R[Yn.Y]=Yn}}function Ao(Co,Br,Ps,Yn,Ua,mi,Os,Vo){this.name=Co,this.constructor=Br,this.W=Ps,this.V=Yn,this.P=Ua,this.oa=mi,this.aa=Os,this.ma=Vo,this.ia=[]}function Yp(Co,Br,Ps){for(;Br!==Ps;)Br.aa||Ec("Expected null or instance of "+Ps.name+", got an instance of "+Br.name),Co=Br.aa(Co),Br=Br.P;return Co}function Ul(Co,Br){return Br===null?(this.da&&Ec("null is not a valid "+this.name),0):(Br.L||Ec('Cannot pass "'+F0(Br)+'" as a '+this.name),Br.L.N||Ec("Cannot pass deleted object as a pointer of type "+this.name),Yp(Br.L.N,Br.L.O.M,this.M))}function Bl(Co,Br){if(Br===null){if(this.da&&Ec("null is not a valid "+this.name),this.ca){var Ps=this.ea();return Co!==null&&Co.push(this.V,Ps),Ps}return 0}if(Br.L||Ec('Cannot pass "'+F0(Br)+'" as a '+this.name),Br.L.N||Ec("Cannot pass deleted object as a pointer of type "+this.name),!this.ba&&Br.L.O.ba&&Ec("Cannot convert argument of type "+(Br.L.T?Br.L.T.name:Br.L.O.name)+" to parameter type "+this.name),Ps=Yp(Br.L.N,Br.L.O.M,this.M),this.ca)switch(Br.L.S===void 0&&Ec("Passing raw pointer to smart pointer is illegal"),this.Aa){case 0:Br.L.T===this?Ps=Br.L.S:Ec("Cannot convert argument of type "+(Br.L.T?Br.L.T.name:Br.L.O.name)+" to parameter type "+this.name);break;case 1:Ps=Br.L.S;break;case 2:if(Br.L.T===this)Ps=Br.L.S;else{var Yn=Br.clone();Ps=this.wa(Ps,cf(function(){Yn.delete()})),Co!==null&&Co.push(this.V,Ps)}break;default:Ec("Unsupporting sharing policy")}return Ps}function xa(Co,Br){return Br===null?(this.da&&Ec("null is not a valid "+this.name),0):(Br.L||Ec('Cannot pass "'+F0(Br)+'" as a '+this.name),Br.L.N||Ec("Cannot pass deleted object as a pointer of type "+this.name),Br.L.O.ba&&Ec("Cannot convert argument of type "+Br.L.O.name+" to parameter type "+this.name),Yp(Br.L.N,Br.L.O.M,this.M))}function Vm(Co,Br,Ps,Yn){this.name=Co,this.M=Br,this.da=Ps,this.ba=Yn,this.ca=!1,this.V=this.wa=this.ea=this.ja=this.Aa=this.va=void 0,Br.P!==void 0?this.toWireType=Bl:(this.toWireType=Yn?Ul:xa,this.U=null)}function Rd(Co,Br){var Ps,Yn,Ua=(Co=ls(Co)).includes("j")?(Ps=Co,Yn=[],function(){if(Yn.length=0,Object.assign(Yn,arguments),Ps.includes("j")){var mi=q["dynCall_"+Ps];mi=Yn&&Yn.length?mi.apply(null,[Br].concat(Yn)):mi.call(null,Br)}else mi=ha.get(Br).apply(null,Yn);return mi}):ha.get(Br);return typeof Ua!="function"&&Ec("unknown function pointer with signature "+Co+": "+Br),Ua}var uy=void 0;function fh(Co,Br){var Ps=[],Yn={};throw Br.forEach(function Ua(mi){Yn[mi]||Xg[mi]||(_p[mi]?_p[mi].forEach(Ua):(Ps.push(mi),Yn[mi]=!0))}),new uy(Co+": "+Ps.map(lC).join([", "]))}function Eg(Co,Br,Ps,Yn,Ua){var mi=Br.length;2>mi&&Ec("argTypes array size mismatch! Must at least get return value and 'this' types!");var Os=Br[1]!==null&&Ps!==null,Vo=!1;for(Ps=1;Ps<Br.length;++Ps)if(Br[Ps]!==null&&Br[Ps].U===void 0){Vo=!0;break}var uf=Br[0].name!=="void",fu=mi-2,Xu=Array(fu),ku=[],fd=[];return function(){if(arguments.length!==fu&&Ec("function "+Co+" called with "+arguments.length+" arguments, expected "+fu+" args!"),fd.length=0,ku.length=Os?2:1,ku[0]=Ua,Os){var Zm=Br[1].toWireType(fd,this);ku[1]=Zm}for(var rl=0;rl<fu;++rl)Xu[rl]=Br[rl+2].toWireType(fd,arguments[rl]),ku.push(Xu[rl]);if(rl=Yn.apply(null,ku),Vo)xo(fd);else for(var Rf=Os?1:2;Rf<Br.length;Rf++){var cB=Rf===1?Zm:Xu[Rf-2];Br[Rf].U!==null&&Br[Rf].U(cB)}return uf?Br[0].fromWireType(rl):void 0}}function ld(Co,Br){for(var Ps=[],Yn=0;Yn<Co;Yn++)Ps.push(qn[Br+4*Yn>>2]);return Ps}function Su(Co){4<Co&&--Ai[Co].fa==0&&(Ai[Co]=void 0,Sa.push(Co))}function F0(Co){if(Co===null)return"null";var Br=typeof Co;return Br==="object"||Br==="array"||Br==="function"?Co.toString():""+Co}function eB(Co,Br){for(var Ps="",Yn=0;!(Yn>=Br/2);++Yn){var Ua=Jn[Co+2*Yn>>1];if(Ua==0)break;Ps+=String.fromCharCode(Ua)}return Ps}function _x(Co,Br,Ps){if(Ps===void 0&&(Ps=2147483647),2>Ps)return 0;Ps-=2;var Yn=Br;Ps=Ps<2*Co.length?Ps/2:Co.length;for(var Ua=0;Ua<Ps;++Ua)Jn[Br>>1]=Co.charCodeAt(Ua),Br+=2;return Jn[Br>>1]=0,Br-Yn}function Dv(Co){return 2*Co.length}function jf(Co,Br){for(var Ps=0,Yn="";!(Ps>=Br/4);){var Ua=mn[Co+4*Ps>>2];if(Ua==0)break;++Ps,65536<=Ua?(Ua-=65536,Yn+=String.fromCharCode(55296|Ua>>10,56320|1023&Ua)):Yn+=String.fromCharCode(Ua)}return Yn}function To(Co,Br,Ps){if(Ps===void 0&&(Ps=2147483647),4>Ps)return 0;var Yn=Br;Ps=Yn+Ps-4;for(var Ua=0;Ua<Co.length;++Ua){var mi=Co.charCodeAt(Ua);if(55296<=mi&&57343>=mi&&(mi=65536+((1023&mi)<<10)|1023&Co.charCodeAt(++Ua)),mn[Br>>2]=mi,(Br+=4)+4>Ps)break}return mn[Br>>2]=0,Br-Yn}function Oa(Co){for(var Br=0,Ps=0;Ps<Co.length;++Ps){var Yn=Co.charCodeAt(Ps);55296<=Yn&&57343>=Yn&&++Ps,Br+=4}return Br}var Dl={};function ja(Co){var Br=Dl[Co];return Br===void 0?ls(Co):Br}var Sc=[],Nu=[],Vf=[null,[],[]];Gs=q.BindingError=as("BindingError"),q.count_emval_handles=function(){for(var Co=0,Br=5;Br<Ai.length;++Br)Ai[Br]!==void 0&&++Co;return Co},q.get_first_emval=function(){for(var Co=5;Co<Ai.length;++Co)if(Ai[Co]!==void 0)return Ai[Co];return null},Mt=q.PureVirtualError=as("PureVirtualError");for(var Uf=Array(256),up=0;256>up;++up)Uf[up]=String.fromCharCode(up);Xp=Uf,q.getInheritedInstanceCount=function(){return Object.keys(Kg).length},q.getLiveInheritedInstances=function(){var Co,Br=[];for(Co in Kg)Kg.hasOwnProperty(Co)&&Br.push(Kg[Co]);return Br},q.flushPendingDeletes=$m,q.setDelayFunction=function(Co){Zy=Co,Od.length&&Zy&&Zy($m)},mx=q.InternalError=as("InternalError"),ta.prototype.isAliasOf=function(Co){if(!(this instanceof ta&&Co instanceof ta))return!1;var Br=this.L.O.M,Ps=this.L.N,Yn=Co.L.O.M;for(Co=Co.L.N;Br.P;)Ps=Br.aa(Ps),Br=Br.P;for(;Yn.P;)Co=Yn.aa(Co),Yn=Yn.P;return Br===Yn&&Ps===Co},ta.prototype.clone=function(){if(this.L.N||bl(this),this.L.$)return this.L.count.value+=1,this;var Co=Us,Br=Object,Ps=Br.create,Yn=Object.getPrototypeOf(this),Ua=this.L;return Co=Co(Ps.call(Br,Yn,{L:{value:{count:Ua.count,Z:Ua.Z,$:Ua.$,N:Ua.N,O:Ua.O,S:Ua.S,T:Ua.T}}})),Co.L.count.value+=1,Co.L.Z=!1,Co},ta.prototype.delete=function(){this.L.N||bl(this),this.L.Z&&!this.L.$&&Ec("Object already scheduled for deletion"),Q0(this),Qv(this.L),this.L.$||(this.L.S=void 0,this.L.N=void 0)},ta.prototype.isDeleted=function(){return!this.L.N},ta.prototype.deleteLater=function(){return this.L.N||bl(this),this.L.Z&&!this.L.$&&Ec("Object already scheduled for deletion"),Od.push(this),Od.length===1&&Zy&&Zy($m),this.L.Z=!0,this},Vm.prototype.pa=function(Co){return this.ja&&(Co=this.ja(Co)),Co},Vm.prototype.ga=function(Co){this.V&&this.V(Co)},Vm.prototype.argPackAdvance=8,Vm.prototype.readValueFromPointer=Ep,Vm.prototype.deleteObject=function(Co){Co!==null&&Co.delete()},Vm.prototype.fromWireType=function(Co){function Br(){return this.ca?vi(this.M.W,{O:this.va,N:Yn,T:this,S:Co}):vi(this.M.W,{O:this,N:Co})}var Ps,Yn=this.pa(Co);if(!Yn)return this.ga(Co),null;var Ua=Kg[RB(this.M,Yn)];if(Ua!==void 0)return Ua.L.count.value===0?(Ua.L.N=Yn,Ua.L.S=Co,Ua.clone()):(Ua=Ua.clone(),this.ga(Co),Ua);if(!(Ua=og[Ua=this.M.oa(Yn)]))return Br.call(this);Ua=this.ba?Ua.ka:Ua.pointerType;var mi=function Os(Vo,uf,fu){return uf===fu?Vo:fu.P===void 0||(Vo=Os(Vo,uf,fu.P))===null?null:fu.ma(Vo)}(Yn,this.M,Ua.M);return mi===null?Br.call(this):this.ca?vi(Ua.M.W,{O:Ua,N:mi,T:this,S:Co}):vi(Ua.M.W,{O:Ua,N:mi})},uy=q.UnboundTypeError=as("UnboundTypeError");var Am=typeof atob=="function"?atob:function(Co){var Br="",Ps=0;Co=Co.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var Yn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(Co.charAt(Ps++)),Ua="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(Co.charAt(Ps++)),mi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(Co.charAt(Ps++)),Os="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(Co.charAt(Ps++));Yn=Yn<<2|Ua>>4,Ua=(15&Ua)<<4|mi>>2;var Vo=(3&mi)<<6|Os;Br+=String.fromCharCode(Yn),mi!==64&&(Br+=String.fromCharCode(Ua)),Os!==64&&(Br+=String.fromCharCode(Vo))}while(Ps<Co.length);return Br},l_={q:function(Co,Br,Ps){Co=ls(Co),Br=HB(Br,"wrapper"),Ps=ic(Ps);var Yn=[].slice,Ua=Br.M,mi=Ua.W,Os=Ua.P.W,Vo=Ua.P.constructor;for(var uf in Co=ri(Co,function(){Ua.P.ia.forEach(function(fu){if(this[fu]===Os[fu])throw new Mt("Pure virtual function "+fu+" must be implemented in JavaScript")}.bind(this)),Object.defineProperty(this,"__parent",{value:mi}),this.__construct.apply(this,Yn.call(arguments))}),mi.__construct=function(){this===mi&&Ec("Pass correct 'this' to __construct");var fu=Vo.implement.apply(void 0,[this].concat(Yn.call(arguments)));Q0(fu);var Xu=fu.L;fu.notifyOnDestruction(),Xu.$=!0,Object.defineProperties(this,{L:{value:Xu}}),Us(this),fu=RB(Ua,fu=Xu.N),Kg.hasOwnProperty(fu)?Ec("Tried to register registered instance: "+fu):Kg[fu]=this},mi.__destruct=function(){this===mi&&Ec("Pass correct 'this' to __destruct"),Q0(this);var fu=this.L.N;fu=RB(Ua,fu),Kg.hasOwnProperty(fu)?delete Kg[fu]:Ec("Tried to unregister unregistered instance: "+fu)},Co.prototype=Object.create(mi),Ps)Co.prototype[uf]=Ps[uf];return cf(Co)},k:function(Co){var Br=Ku[Co];delete Ku[Co];var Ps=Br.ea,Yn=Br.V,Ua=Br.ha;Ca([Co],Ua.map(mi=>mi.sa).concat(Ua.map(mi=>mi.ya)),mi=>{var Os={};return Ua.forEach((Vo,uf)=>{var fu=mi[uf],Xu=Vo.qa,ku=Vo.ra,fd=mi[uf+Ua.length],Zm=Vo.xa,rl=Vo.za;Os[Vo.na]={read:Rf=>fu.fromWireType(Xu(ku,Rf)),write:(Rf,cB)=>{var aS=[];Zm(rl,Rf,fd.toWireType(aS,cB)),xo(aS)}}}),[{name:Br.name,fromWireType:function(Vo){var uf,fu={};for(uf in Os)fu[uf]=Os[uf].read(Vo);return Yn(Vo),fu},toWireType:function(Vo,uf){for(var fu in Os)if(!(fu in uf))throw TypeError('Missing field: "'+fu+'"');var Xu=Ps();for(fu in Os)Os[fu].write(Xu,uf[fu]);return Vo!==null&&Vo.push(Yn,Xu),Xu},argPackAdvance:8,readValueFromPointer:Ep,U:Yn}]})},w:function(){},C:function(Co,Br,Ps,Yn,Ua){var mi=Ha(Ps);ma(Co,{name:Br=ls(Br),fromWireType:function(Os){return!!Os},toWireType:function(Os,Vo){return Vo?Yn:Ua},argPackAdvance:8,readValueFromPointer:function(Os){if(Ps===1)var Vo=Vt;else if(Ps===2)Vo=Jn;else if(Ps===4)Vo=mn;else throw TypeError("Unknown boolean type size: "+Br);return this.fromWireType(Vo[Os>>mi])},U:null})},f:function(Co,Br,Ps,Yn,Ua,mi,Os,Vo,uf,fu,Xu,ku,fd){Xu=ls(Xu),mi=Rd(Ua,mi),Vo&&(Vo=Rd(Os,Vo)),fu&&(fu=Rd(uf,fu)),fd=Rd(ku,fd);var Zm,rl=Rs(Xu);Zm=function(){fh("Cannot construct "+Xu+" due to unbound types",[Yn])},q.hasOwnProperty(rl)?(Ec("Cannot register public name '"+rl+"' twice"),gu(q,rl,rl),q.hasOwnProperty(void 0)&&Ec("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),q[rl].R[void 0]=Zm):q[rl]=Zm,Ca([Co,Br,Ps],Yn?[Yn]:[],function(Rf){if(Rf=Rf[0],Yn)var cB,aS=Rf.M,pu=aS.W;else pu=ta.prototype;Rf=ri(rl,function(){if(Object.getPrototypeOf(this)!==S1)throw new Gs("Use 'new' to construct "+Xu);if(le.X===void 0)throw new Gs(Xu+" has no accessible constructor");var lS=le.X[arguments.length];if(lS===void 0)throw new Gs("Tried to invoke ctor of "+Xu+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(le.X).toString()+") parameters instead!");return lS.apply(this,arguments)});var S1=Object.create(pu,{constructor:{value:Rf}});Rf.prototype=S1;var le=new Ao(Xu,Rf,S1,fd,aS,mi,Vo,fu);aS=new Vm(Xu,le,!0,!1),pu=new Vm(Xu+"*",le,!1,!1);var Ou=new Vm(Xu+" const*",le,!1,!0);return og[Co]={pointerType:pu,ka:Ou},cB=Rf,q.hasOwnProperty(rl)||aE("Replacing nonexistant public symbol"),q[rl]=cB,q[rl].Y=void 0,[aS,pu,Ou]})},d:function(Co,Br,Ps,Yn,Ua,mi,Os){var Vo=ld(Ps,Yn);Br=ls(Br),mi=Rd(Ua,mi),Ca([],[Co],function(uf){function fu(){fh("Cannot call "+Xu+" due to unbound types",Vo)}var Xu=(uf=uf[0]).name+"."+Br;Br.startsWith("@@")&&(Br=Symbol[Br.substring(2)]);var ku=uf.M.constructor;return ku[Br]===void 0?(fu.Y=Ps-1,ku[Br]=fu):(gu(ku,Br,Xu),ku[Br].R[Ps-1]=fu),Ca([],Vo,function(fd){return fd=Eg(Xu,[fd[0],null].concat(fd.slice(1)),null,mi,Os),ku[Br].R===void 0?(fd.Y=Ps-1,ku[Br]=fd):ku[Br].R[Ps-1]=fd,[]}),[]})},p:function(Co,Br,Ps,Yn,Ua,mi){0<Br||Oi();var Os=ld(Br,Ps);Ua=Rd(Yn,Ua),Ca([],[Co],function(Vo){var uf="constructor "+(Vo=Vo[0]).name;if(Vo.M.X===void 0&&(Vo.M.X=[]),Vo.M.X[Br-1]!==void 0)throw new Gs("Cannot register multiple constructors with identical number of parameters ("+(Br-1)+") for class '"+Vo.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return Vo.M.X[Br-1]=()=>{fh("Cannot construct "+Vo.name+" due to unbound types",Os)},Ca([],Os,function(fu){return fu.splice(1,0,null),Vo.M.X[Br-1]=Eg(uf,fu,null,Ua,mi),[]}),[]})},b:function(Co,Br,Ps,Yn,Ua,mi,Os,Vo){var uf=ld(Ps,Yn);Br=ls(Br),mi=Rd(Ua,mi),Ca([],[Co],function(fu){function Xu(){fh("Cannot call "+ku+" due to unbound types",uf)}var ku=(fu=fu[0]).name+"."+Br;Br.startsWith("@@")&&(Br=Symbol[Br.substring(2)]),Vo&&fu.M.ia.push(Br);var fd=fu.M.W,Zm=fd[Br];return Zm===void 0||Zm.R===void 0&&Zm.className!==fu.name&&Zm.Y===Ps-2?(Xu.Y=Ps-2,Xu.className=fu.name,fd[Br]=Xu):(gu(fd,Br,ku),fd[Br].R[Ps-2]=Xu),Ca([],uf,function(rl){return rl=Eg(ku,rl,fu,mi,Os),fd[Br].R===void 0?(rl.Y=Ps-2,fd[Br]=rl):fd[Br].R[Ps-2]=rl,[]}),[]})},B:function(Co,Br){ma(Co,{name:Br=ls(Br),fromWireType:function(Ps){var Yn=ic(Ps);return Su(Ps),Yn},toWireType:function(Ps,Yn){return cf(Yn)},argPackAdvance:8,readValueFromPointer:Ep,U:null})},n:function(Co,Br,Ps){Ps=Ha(Ps),ma(Co,{name:Br=ls(Br),fromWireType:function(Yn){return Yn},toWireType:function(Yn,Ua){return Ua},argPackAdvance:8,readValueFromPointer:function(Yn,Ua){switch(Ua){case 2:return function(mi){return this.fromWireType(ur[mi>>2])};case 3:return function(mi){return this.fromWireType(nn[mi>>3])};default:throw TypeError("Unknown float type: "+Yn)}}(Br,Ps),U:null})},e:function(Co,Br,Ps,Yn,Ua){Br=ls(Br),Ua===-1&&(Ua=4294967295),Ua=Ha(Ps);var mi=Vo=>Vo;if(Yn===0){var Os=32-8*Ps;mi=Vo=>Vo<<Os>>>Os}Ps=Br.includes("unsigned")?function(Vo,uf){return uf>>>0}:function(Vo,uf){return uf},ma(Co,{name:Br,fromWireType:mi,toWireType:Ps,argPackAdvance:8,readValueFromPointer:function(Vo,uf,fu){switch(uf){case 0:return fu?function(Xu){return Vt[Xu]}:function(Xu){return un[Xu]};case 1:return fu?function(Xu){return Jn[Xu>>1]}:function(Xu){return Dn[Xu>>1]};case 2:return fu?function(Xu){return mn[Xu>>2]}:function(Xu){return qn[Xu>>2]};default:throw TypeError("Unknown integer type: "+Vo)}}(Br,Ua,Yn!==0),U:null})},c:function(Co,Br,Ps){function Yn(mi){mi>>=2;var Os=qn;return new Ua(Os.buffer,Os[mi+1],Os[mi])}var Ua=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][Br];ma(Co,{name:Ps=ls(Ps),fromWireType:Yn,argPackAdvance:8,readValueFromPointer:Yn},{ta:!0})},o:function(Co,Br){var Ps=(Br=ls(Br))==="std::string";ma(Co,{name:Br,fromWireType:function(Yn){var Ua=qn[Yn>>2],mi=Yn+4;if(Ps)for(var Os=mi,Vo=0;Vo<=Ua;++Vo){var uf=mi+Vo;if(Vo==Ua||un[uf]==0){if(Os=Os?Fe(un,Os,uf-Os):"",fu===void 0)var fu=Os;else fu+="\0"+Os;Os=uf+1}}else{for(Vo=0,fu=Array(Ua);Vo<Ua;++Vo)fu[Vo]=String.fromCharCode(un[mi+Vo]);fu=fu.join("")}return $_(Yn),fu},toWireType:function(Yn,Ua){Ua instanceof ArrayBuffer&&(Ua=new Uint8Array(Ua));var mi,Os=typeof Ua=="string";if(Os||Ua instanceof Uint8Array||Ua instanceof Uint8ClampedArray||Ua instanceof Int8Array||Ec("Cannot pass non-string to std::string"),Ps&&Os){var Vo=0;for(mi=0;mi<Ua.length;++mi){var uf=Ua.charCodeAt(mi);127>=uf?Vo++:2047>=uf?Vo+=2:55296<=uf&&57343>=uf?(Vo+=4,++mi):Vo+=3}mi=Vo}else mi=Ua.length;if(uf=(Vo=ms(4+mi+1))+4,qn[Vo>>2]=mi,Ps&&Os){if(Os=uf,uf=mi+1,mi=un,0<uf){uf=Os+uf-1;for(var fu=0;fu<Ua.length;++fu){var Xu=Ua.charCodeAt(fu);if(55296<=Xu&&57343>=Xu&&(Xu=65536+((1023&Xu)<<10)|1023&Ua.charCodeAt(++fu)),127>=Xu){if(Os>=uf)break;mi[Os++]=Xu}else{if(2047>=Xu){if(Os+1>=uf)break;mi[Os++]=192|Xu>>6}else{if(65535>=Xu){if(Os+2>=uf)break;mi[Os++]=224|Xu>>12}else{if(Os+3>=uf)break;mi[Os++]=240|Xu>>18,mi[Os++]=128|Xu>>12&63}mi[Os++]=128|Xu>>6&63}mi[Os++]=128|63&Xu}}mi[Os]=0}}else if(Os)for(Os=0;Os<mi;++Os)255<(fu=Ua.charCodeAt(Os))&&($_(uf),Ec("String has UTF-16 code units that do not fit in 8 bits")),un[uf+Os]=fu;else for(Os=0;Os<mi;++Os)un[uf+Os]=Ua[Os];return Yn!==null&&Yn.push($_,Vo),Vo},argPackAdvance:8,readValueFromPointer:Ep,U:function(Yn){$_(Yn)}})},j:function(Co,Br,Ps){if(Ps=ls(Ps),Br===2)var Yn=eB,Ua=_x,mi=Dv,Os=()=>Dn,Vo=1;else Br===4&&(Yn=jf,Ua=To,mi=Oa,Os=()=>qn,Vo=2);ma(Co,{name:Ps,fromWireType:function(uf){for(var fu,Xu=qn[uf>>2],ku=Os(),fd=uf+4,Zm=0;Zm<=Xu;++Zm){var rl=uf+4+Zm*Br;(Zm==Xu||ku[rl>>Vo]==0)&&(fd=Yn(fd,rl-fd),fu===void 0?fu=fd:fu+="\0"+fd,fd=rl+Br)}return $_(uf),fu},toWireType:function(uf,fu){typeof fu!="string"&&Ec("Cannot pass non-string to C++ string type "+Ps);var Xu=mi(fu),ku=ms(4+Xu+Br);return qn[ku>>2]=Xu>>Vo,Ua(fu,ku+4,Xu+Br),uf!==null&&uf.push($_,ku),ku},argPackAdvance:8,readValueFromPointer:Ep,U:function(uf){$_(uf)}})},l:function(Co,Br,Ps,Yn,Ua,mi){Ku[Co]={name:ls(Br),ea:Rd(Ps,Yn),V:Rd(Ua,mi),ha:[]}},i:function(Co,Br,Ps,Yn,Ua,mi,Os,Vo,uf,fu){Ku[Co].ha.push({na:ls(Br),sa:Ps,qa:Rd(Yn,Ua),ra:mi,ya:Os,xa:Rd(Vo,uf),za:fu})},D:function(Co,Br){ma(Co,{ua:!0,name:Br=ls(Br),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},t:function(Co,Br,Ps,Yn,Ua){Co=Sc[Co],Br=ic(Br),Ps=ja(Ps);var mi=[];return qn[Yn>>2]=cf(mi),Co(Br,Ps,mi,Ua)},u:function(Co,Br,Ps,Yn){Co=Sc[Co],Co(Br=ic(Br),Ps=ja(Ps),null,Yn)},h:Su,m:function(Co,Br){var Ps,Yn,Ua=function(uf,fu){for(var Xu=Array(uf),ku=0;ku<uf;++ku)Xu[ku]=HB(qn[fu+4*ku>>2],"parameter "+ku);return Xu}(Co,Br),mi=Ua[0],Os=Nu[Br=mi.name+"_$"+Ua.slice(1).map(function(uf){return uf.name}).join("_")+"$"];if(Os!==void 0)return Os;var Vo=Array(Co-1);return Ps=(uf,fu,Xu,ku)=>{for(var fd=0,Zm=0;Zm<Co-1;++Zm)Vo[Zm]=Ua[Zm+1].readValueFromPointer(ku+fd),fd+=Ua[Zm+1].argPackAdvance;for(Zm=0,uf=uf[fu].apply(uf,Vo);Zm<Co-1;++Zm)Ua[Zm+1].la&&Ua[Zm+1].la(Vo[Zm]);if(!mi.ua)return mi.toWireType(Xu,uf)},Yn=Sc.length,Sc.push(Ps),Os=Yn,Nu[Br]=Os},r:function(Co){4<Co&&(Ai[Co].fa+=1)},s:function(Co){xo(ic(Co)),Su(Co)},g:function(){Oi("")},y:function(Co,Br,Ps){un.copyWithin(Co,Br,Br+Ps)},x:function(Co){var Br=un.length;if(2147483648<(Co>>>=0))return!1;for(var Ps=1;4>=Ps;Ps*=2){var Yn=Br*(1+.2/Ps);Yn=Math.min(Yn,Co+100663296);var Ua=Math,mi=Ua.min;Yn=Math.max(Co,Yn),Yn+=(65536-Yn%65536)%65536;e:{var Os=ke.buffer;try{ke.grow(mi.call(Ua,2147483648,Yn)-Os.byteLength+65535>>>16),We();var Vo=1;break e}catch{}Vo=void 0}if(Vo)return!0}return!1},A:function(){return 52},v:function(){return 70},z:function(Co,Br,Ps,Yn){for(var Ua=0,mi=0;mi<Ps;mi++){var Os=qn[Br>>2],Vo=qn[Br+4>>2];Br+=8;for(var uf=0;uf<Vo;uf++){var fu=un[Os+uf],Xu=Vf[Co];fu===0||fu===10?((Co===1?h:b)(Fe(Xu,0)),Xu.length=0):Xu.push(fu)}Ua+=Vo}return qn[Yn>>2]=Ua,0},a:ke},Qa=function(){function Co(Ps){q.asm=Ps.exports,ha=q.asm.I,cn.unshift(q.asm.E),tr--,q.monitorRunDependencies&&q.monitorRunDependencies(tr),tr==0&&ao&&(Ps=ao,ao=null,Ps())}var Br={a:l_};if(tr++,q.monitorRunDependencies&&q.monitorRunDependencies(tr),q.instantiateWasm)try{return q.instantiateWasm(Br,Co)}catch(Ps){b("Module.instantiateWasm callback failed with error: "+Ps),me(Ps)}return Br=function(Ps){var Yn=i;try{try{if(Yn==i&&Ee)new Uint8Array(Ee);else{if(Ka(Yn)){try{var Ua=Am(Yn.slice(37)),mi=new Uint8Array(Ua.length);for(Yn=0;Yn<Ua.length;++Yn)mi[Yn]=Ua.charCodeAt(Yn);var Os=mi}catch{throw Error("Converting base64 string to bytes failed.")}var Vo=Os}else Vo=void 0;if(!Vo)throw"sync fetching of the wasm failed: you can preload it to Module['wasmBinary'] manually, or emcc.py will do that for you when generating HTML (but not JS)"}}catch(Xu){Oi(Xu)}var uf=new x,fu=new w(Ps)}catch(Xu){throw b("failed to compile wasm module: "+(Ps=Xu.toString())),(Ps.includes("imported Memory")||Ps.includes("memory import"))&&b("Memory size incompatibility issues may be due to changing INITIAL_MEMORY at runtime to something too large. Use ALLOW_MEMORY_GROWTH to allow any size memory (and also make sure not to set INITIAL_MEMORY at runtime to something smaller than it was at compile time)."),Xu}return[fu,uf]}(Br),Co(Br[0]),q.asm}(),hp=q.___getTypeName=Qa.F;q.__embind_initialize_bindings=Qa.G;var ms=Qa.H,$_=Qa.J;function JB(){function Co(){if(!a&&(a=!0,q.calledRun=!0,!Ue)){if(fs(cn),te(q),q.onRuntimeInitialized&&q.onRuntimeInitialized(),q.postRun)for(typeof q.postRun=="function"&&(q.postRun=[q.postRun]);q.postRun.length;){var Br=q.postRun.shift();Yi.unshift(Br)}fs(Yi)}}if(!(0<tr)){if(q.preRun)for(typeof q.preRun=="function"&&(q.preRun=[q.preRun]);q.preRun.length;)(function(){var Br=q.preRun.shift();wa.unshift(Br)})();fs(wa),0<tr||(q.setStatus?(q.setStatus("Running..."),setTimeout(function(){setTimeout(function(){q.setStatus("")},1),Co()},1)):Co())}}if(q.dynCall_jiji=Qa.K,ao=function Co(){a||JB(),a||(ao=Co)},q.preInit)for(typeof q.preInit=="function"&&(q.preInit=[q.preInit]);0<q.preInit.length;)q.preInit.pop()();return JB(),e}})()});var dVr={};module.exports=eKe(dVr);ae();var sMe=b_(PQt());ae();var Uqn=function(r,e,i){if(i||arguments.length===2)for(var a=0,u=e.length,d;a<u;a++)(d||!(a in e))&&(d||(d=Array.prototype.slice.call(e,0,a)),d[a]=e[a]);return r.concat(d||Array.prototype.slice.call(e))},NQt=function(){function r(e,i,a,u){this._uri=e,this._languageId=i,this._version=a,this._content=u,this._lineOffsets=void 0}return Object.defineProperty(r.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),r.prototype.getText=function(e){if(e){var i=this.offsetAt(e.start),a=this.offsetAt(e.end);return this._content.substring(i,a)}return this._content},r.prototype.update=function(e,i){for(var a=0,u=e;a<u.length;a++){var d=u[a];if(r.isIncremental(d)){var h=LQt(d.range),b=this.offsetAt(h.start),x=this.offsetAt(h.end);this._content=this._content.substring(0,b)+d.text+this._content.substring(x,this._content.length);var w=Math.max(h.start.line,0),L=Math.max(h.end.line,0),q=this._lineOffsets,te=RQt(d.text,!1,b);if(L-w===te.length)for(var me=0,Ee=te.length;me<Ee;me++)q[me+w+1]=te[me];else te.length<1e4?q.splice.apply(q,Uqn([w+1,L-w],te,!1)):this._lineOffsets=q=q.slice(0,w+1).concat(te,q.slice(L+1));var ke=d.text.length-(x-b);if(ke!==0)for(var me=w+1+te.length,Ee=q.length;me<Ee;me++)q[me]=q[me]+ke}else if(r.isFull(d))this._content=d.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received")}this._version=i},r.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=RQt(this._content,!0)),this._lineOffsets},r.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var i=this.getLineOffsets(),a=0,u=i.length;if(u===0)return{line:0,character:e};for(;a<u;){var d=Math.floor((a+u)/2);i[d]>e?u=d:a=d+1}var h=a-1;return{line:h,character:e-i[h]}},r.prototype.offsetAt=function(e){var i=this.getLineOffsets();if(e.line>=i.length)return this._content.length;if(e.line<0)return 0;var a=i[e.line],u=e.line+1<i.length?i[e.line+1]:this._content.length;return Math.max(Math.min(a+e.character,u),a)},Object.defineProperty(r.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),r.isIncremental=function(e){var i=e;return i!=null&&typeof i.text=="string"&&i.range!==void 0&&(i.rangeLength===void 0||typeof i.rangeLength=="number")},r.isFull=function(e){var i=e;return i!=null&&typeof i.text=="string"&&i.range===void 0&&i.rangeLength===void 0},r}(),yht;(function(r){function e(u,d,h,b){return new NQt(u,d,h,b)}r.create=e;function i(u,d,h){if(u instanceof NQt)return u.update(d,h),u;throw new Error("TextDocument.update: document must be created by TextDocument.create")}r.update=i;function a(u,d){for(var h=u.getText(),b=lFt(d.map(Hqn),function(Ee,ke){var Ue=Ee.range.start.line-ke.range.start.line;return Ue===0?Ee.range.start.character-ke.range.start.character:Ue}),x=0,w=[],L=0,q=b;L<q.length;L++){var te=q[L],me=u.offsetAt(te.range.start);if(me<x)throw new Error("Overlapping edit");me>x&&w.push(h.substring(x,me)),te.newText.length&&w.push(te.newText),x=u.offsetAt(te.range.end)}return w.push(h.substr(x)),w.join("")}r.applyEdits=a})(yht||(yht={}));function lFt(r,e){if(r.length<=1)return r;var i=r.length/2|0,a=r.slice(0,i),u=r.slice(i);lFt(a,e),lFt(u,e);for(var d=0,h=0,b=0;d<a.length&&h<u.length;){var x=e(a[d],u[h]);x<=0?r[b++]=a[d++]:r[b++]=u[h++]}for(;d<a.length;)r[b++]=a[d++];for(;h<u.length;)r[b++]=u[h++];return r}function RQt(r,e,i){i===void 0&&(i=0);for(var a=e?[i]:[],u=0;u<r.length;u++){var d=r.charCodeAt(u);(d===13||d===10)&&(d===13&&u+1<r.length&&r.charCodeAt(u+1)===10&&u++,a.push(i+u+1))}return a}function LQt(r){var e=r.start,i=r.end;return e.line>i.line||e.line===i.line&&e.character>i.character?{start:i,end:e}:r}function Hqn(r){var e=LQt(r.range);return e!==r.range?{newText:r.newText,range:e}:r}ae();ae();ae();fx();ae();var BT=b_(tOt(),1),s0=BT.default,Nqr=BT.default.stringify,Rqr=BT.default.fromJSON,Lqr=BT.default.plugin,Mqr=BT.default.parse,Fqr=BT.default.list,Oqr=BT.default.document,Wqr=BT.default.comment,Gqr=BT.default.atRule,zqr=BT.default.rule,jqr=BT.default.decl,Vqr=BT.default.root,WZt=BT.default.CssSyntaxError,Uqr=BT.default.Declaration,Hqr=BT.default.Container,Jqr=BT.default.Processor,qqr=BT.default.Document,Kqr=BT.default.Comment,Xqr=BT.default.Warning,Yqr=BT.default.AtRule,Qqr=BT.default.Result,$qr=BT.default.Input,Zqr=BT.default.Rule,eKr=BT.default.Root,tKr=BT.default.Node;var uxn=b_(e7t(),1);fx();fx();fx();fx();fx();fx();var A5t=b_(f7t(),1);ae();ae();var p7t,Ttn,Atn,ktn,Itn=!0;typeof process<"u"&&({FORCE_COLOR:p7t,NODE_DISABLE_COLORS:Ttn,NO_COLOR:Atn,TERM:ktn}=process.env||{},Itn=process.stdout&&process.stdout.isTTY);var tE={enabled:!Ttn&&Atn==null&&ktn!=="dumb"&&(p7t!=null&&p7t!=="0"||Itn),reset:CT(0,0),bold:CT(1,22),dim:CT(2,22),italic:CT(3,23),underline:CT(4,24),inverse:CT(7,27),hidden:CT(8,28),strikethrough:CT(9,29),black:CT(30,39),red:CT(31,39),green:CT(32,39),yellow:CT(33,39),blue:CT(34,39),magenta:CT(35,39),cyan:CT(36,39),white:CT(37,39),gray:CT(90,39),grey:CT(90,39),bgBlack:CT(40,49),bgRed:CT(41,49),bgGreen:CT(42,49),bgYellow:CT(43,49),bgBlue:CT(44,49),bgMagenta:CT(45,49),bgCyan:CT(46,49),bgWhite:CT(47,49)};function Dtn(r,e){let i=0,a,u="",d="";for(;i<r.length;i++)a=r[i],u+=a.open,d+=a.close,~e.indexOf(a.close)&&(e=e.replace(a.rgx,a.close+a.open));return u+e+d}function Cnr(r,e){let i={has:r,keys:e};return i.reset=tE.reset.bind(i),i.bold=tE.bold.bind(i),i.dim=tE.dim.bind(i),i.italic=tE.italic.bind(i),i.underline=tE.underline.bind(i),i.inverse=tE.inverse.bind(i),i.hidden=tE.hidden.bind(i),i.strikethrough=tE.strikethrough.bind(i),i.black=tE.black.bind(i),i.red=tE.red.bind(i),i.green=tE.green.bind(i),i.yellow=tE.yellow.bind(i),i.blue=tE.blue.bind(i),i.magenta=tE.magenta.bind(i),i.cyan=tE.cyan.bind(i),i.white=tE.white.bind(i),i.gray=tE.gray.bind(i),i.grey=tE.grey.bind(i),i.bgBlack=tE.bgBlack.bind(i),i.bgRed=tE.bgRed.bind(i),i.bgGreen=tE.bgGreen.bind(i),i.bgYellow=tE.bgYellow.bind(i),i.bgBlue=tE.bgBlue.bind(i),i.bgMagenta=tE.bgMagenta.bind(i),i.bgCyan=tE.bgCyan.bind(i),i.bgWhite=tE.bgWhite.bind(i),i}function CT(r,e){let i={open:`\x1B[${r}m`,close:`\x1B[${e}m`,rgx:new RegExp(`\\x1b\\[${e}m`,"g")};return function(a){return this!==void 0&&this.has!==void 0?(~this.has.indexOf(r)||(this.has.push(r),this.keys.push(i)),a===void 0?this:tE.enabled?Dtn(this.keys,a+""):a+""):a===void 0?Cnr([r],[i]):tE.enabled?Dtn([i],a+""):a+""}}var fR=tE;ae();ae();ae();var vnr=Object.defineProperty,Kfe=(r,e)=>{for(var i in e)vnr(r,i,{get:e[i],enumerable:!0})};var Aj={};Kfe(Aj,{at:()=>Pnr,compact:()=>Onr,concat:()=>Fnr,every:()=>Lnr,filter:()=>Snr,filterMap:()=>Dnr,flat:()=>Wnr,forEach:()=>Tnr,from:()=>bnr,has:()=>Mnr,head:()=>Inr,map:()=>xnr,next:()=>Anr,prev:()=>knr,reduce:()=>Enr,some:()=>Rnr,tail:()=>wnr,uniq:()=>Nnr});var bnr=r=>Array.from(r),Snr=r=>e=>e.filter(r),xnr=r=>e=>e.map(r),Enr=(r,e)=>i=>i.reduce(r,e),Dnr=r=>e=>e.reduce((i,a,u,d)=>{let h=r(a,u,d);return h==null?i:[...i,h]},[]),Tnr=r=>e=>e.forEach(r),Anr=(r,e)=>i=>i[(r+1)%(e?i.length:i.length-1)],knr=(r,e)=>i=>i[(r-1+(e?i.length:0))%i.length],Inr=r=>r[0],wnr=r=>r[r.length-1],Pnr=r=>e=>e.at(r),Nnr=r=>[...new Set(r)],Rnr=r=>e=>e.some(r),Lnr=r=>e=>e.every(r),Mnr=r=>e=>e.includes(r),Fnr=(...r)=>e=>e.concat(...r),Onr=r=>r.filter(e=>e!=null),Wnr=()=>r=>r.flat();ae();var Z3={};Kfe(Z3,{and:()=>jnr,not:()=>znr,or:()=>Gnr});function Gnr(...r){return e=>r.some(i=>i(e))}var znr=r=>e=>!r(e);function jnr(...r){return e=>r.every(i=>i(e))}ae();var PXe=(...r)=>e=>{for(let i of r){let a=i(e);if(a!=null)return a}};function qve(r,e){return i=>{if(r(i))return e(i)}}var d7t=r=>e=>qve(()=>!0,r)(e);ae();ae();function GN(r,...e){return e.reduce((i,a)=>a(i),r)}function mre(r){return e=>(r(e),e)}var dQ=r=>r,BBt=()=>{};var g4=(r,e)=>i=>{try{return r(i)}catch(a){return dQ(e?.(a,i))}};ae();var gBt=r=>typeof r=="boolean";var yBt=r=>typeof r=="string",wtn=r=>Array.isArray(r),CBt=r=>r!==null&&typeof r=="object"&&!wtn(r),m7t=r=>typeof r=="function";var e6={};Kfe(e6,{assign:()=>Hnr,assignTo:()=>Jnr,bind:()=>qnr,compact:()=>Xnr,defaults:()=>Znr,entries:()=>Unr,filter:()=>Ptn,fromEntries:()=>vBt,get:()=>trr,keys:()=>Knr,map:()=>Vnr,merge:()=>Ntn,omit:()=>Qnr,pick:()=>$nr,split:()=>Ynr});var vBt=r=>Object.fromEntries(r),Vnr=r=>e=>vBt(Object.entries(e).map(([i,a])=>r(i,a))),Unr=r=>Object.entries(r);function Hnr(r){return e=>({...e,...m7t(r)?r(e):r})}var Jnr=r=>e=>vBt([[r,e]]),qnr=(r,e)=>i=>dQ({...i,[r]:e(i)}),Knr=r=>Object.keys(r),Ptn=r=>e=>vBt(Object.entries(e).filter(([i,a])=>r(i,a))),Xnr=r=>Ptn((e,i)=>i!=null)(r),Ynr=(...r)=>e=>{let i=Object.getOwnPropertyDescriptors(e),a=Object.keys(i),u=h=>{let b={};for(let x=0;x<h.length;x++){let w=h[x];i[w]&&(Object.defineProperty(b,w,i[w]),delete i[w])}return b},d=h=>u(Array.isArray(h)?h:a.filter(h));return r.map(d).concat(u(a))};function Ntn(...r){return e=>{if(!r.length)return e;for(let i=1;i<r.length;i++){let a={...r[i]};for(let u in a){let d=e[u],h=a[u];CBt(d)&&CBt(h)?e[u]=Ntn(h)(d):e[u]=h}}return e}}var Qnr=r=>e=>{let i={...e};for(let a=0;a<r.length;a++)delete i[r[a]];return i},$nr=r=>e=>{let i={};for(let a=0;a<r.length;a++)i[r[a]]=e[r[a]];return i},Znr=r=>e=>dQ({...r,...e}),err=r=>r!=="__proto__"&&r!=="prototype"&&r!=="constructor",trr=(r,e)=>i=>{let a=Array.isArray(r)?r:r.split(".");for(let u=0;u<a.length;u++){let d=a[u];if(!i||!Object.prototype.hasOwnProperty.call(i,d)||!err(d)){i=void 0;break}i=i[d]}return dQ(i??e)};ae();var NXe={};Kfe(NXe,{filter:()=>prr,flatMap:()=>srr,fromExecution:()=>rrr,fromNullable:()=>Rtn,fromPredicate:()=>nrr,getOrElse:()=>arr,getOrThrow:()=>lrr,isNone:()=>_re,isSome:()=>Ltn,map:()=>orr,match:()=>crr,none:()=>Xfe,orElse:()=>urr,some:()=>RXe,tap:()=>frr});var Xfe=Object.freeze({_tag:"None"}),RXe=r=>Object.freeze({_tag:"Some",value:r});function nrr(r){return e=>r(e)?RXe(e):Xfe}var Rtn=r=>r==null?Xfe:RXe(r),rrr=r=>{try{return Rtn(r())}catch{return Xfe}},_re=r=>r._tag==="None",Ltn=r=>r._tag==="Some",irr=r=>r._tag==="None"||r._tag==="Some",orr=r=>e=>_re(e)?Xfe:RXe(r(e.value)),srr=r=>e=>_re(e)?Xfe:r(e.value),arr=r=>e=>_re(e)?r():e.value,lrr=r=>e=>{if(_re(e))throw new Error(r);return e.value},crr=(r,e)=>i=>_re(i)?e():r(i.value),urr=r=>e=>{let i=r();return irr(i)?_re(e)?i:e:_re(e)?RXe(i):e},frr=r=>e=>(Ltn(e)&&r(e.value),e),prr=r=>e=>_re(e)?Xfe:r(e.value)?e:Xfe;function Brr(r){if(typeof r!="string")throw new TypeError("Expected a string");return r.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _7t=new Map,Mtn=(r,e)=>{if(!Array.isArray(r))switch(typeof r){case"string":r=[r];break;case"undefined":r=[];break;default:throw new TypeError(`Expected '${e}' to be a string or an array, but got a type of '${typeof r}'`)}return r.filter(i=>{if(typeof i!="string"){if(typeof i>"u")return!1;throw new TypeError(`Expected '${e}' to be an array of strings, but found a type of '${typeof i}' in the array`)}return!0})},grr=(r,e)=>{e={caseSensitive:!1,...e};let i=r+JSON.stringify(e);if(_7t.has(i))return _7t.get(i);let a=r[0]==="!";a&&(r=r.slice(1)),r=Brr(r).replace(/\\\*/g,"[\\s\\S]*");let u=new RegExp(`^${r}$`,e.caseSensitive?"":"i");return u.negated=a,_7t.set(i,u),u},yrr=(r,e,i,a)=>{if(r=Mtn(r,"inputs"),e=Mtn(e,"patterns"),e.length===0)return[];e=e.map(h=>grr(h,i));let{allPatterns:u}=i||{},d=[];for(let h of r){let b,x=[...e].fill(!1);for(let[w,L]of e.entries())if(L.test(h)&&(x[w]=!0,b=!L.negated,!b))break;if(!(b===!1||b===void 0&&e.some(w=>!w.negated)||u&&x.some((w,L)=>!w&&!e[L].negated))&&(d.push(h),a))break}return d};function Crr(r,e,i){return yrr(r,e,i,!0).length>0}var h7t={debug:{weight:0,color:fR.magenta},info:{weight:1,color:fR.blue},warn:{weight:2,color:fR.yellow},error:{weight:3,color:fR.red},silent:{weight:4,color:fR.white}},vrr=r=>GN({entry:r},e6.assign(({entry:e})=>({uword:e.type?fR.gray(`[${e.type}]`):""})),PXe(qve(({entry:e})=>e.level!=null,({entry:e,uword:i})=>{let{msg:a,level:u}=e,d=h7t[u].color;return{label:["\u{1F43C}",fR.bold(d(`${u}`)),i].filter(Boolean).join(" "),msg:a}}),d7t(({entry:e,uword:i})=>{let{msg:a}=e;return{label:i??"",msg:a}}))),brr=(r,e,i)=>{let a=i instanceof Error?fR.red(i.message):i;return{type:e,level:r,msg:a}},Srr=(r,e)=>r.some(i=>Crr(e,i)),xrr=(r={})=>{let e=r.level??"info",{stdout:i,timing:a}=GN(r,({filter:u})=>({getLevel:()=>u?"debug":e,filter:u!=="*"?u?.split(/[\s,]+/)??[]:[]}),e6.assignTo("config"),e6.assign(({config:u})=>({isValid(d,h){let b=h7t[u.getLevel()].weight>h7t[d].weight;return!(u.filter.length>0&&!Srr(u.filter,h)||b)}})),e6.assign(({isValid:u,config:d})=>({stdout(h){return(b,x)=>{GN(brr(h,b,x),PXe(qve(({level:w,type:L})=>w!=null&&u(w,L),w=>{let{msg:L,label:q}=vrr(w)??{};console.log(q,L)}),qve(({level:w})=>d.getLevel()!=="silent"&&w==null,()=>{console.log(...[b,x].filter(Boolean))})))}}})),e6.assign(({stdout:u})=>({timing:d=>h=>{let b=performance.now();return()=>{let w=performance.now()-b;u(d)("hrtime",`${h} ${fR.gray(`(${w.toFixed(2)}ms)`)}`)}}})));return{get level(){return e},set level(u){e=u},warn:i("warn"),info:i("info"),debug:i("debug"),error:i("error"),log:u=>i(null)("",u),time:{info:a("info"),debug:a("debug")},isDebug:!!r.isDebug}};var hre=(...r)=>fR.cyan(`\`${r.join("")}\``),Ftn=process.env.PANDA_DEBUG,v2=xrr({filter:typeof process<"u"?Ftn:void 0,isDebug:!!Ftn});fx();ae();var P7=Symbol.for("@ts-pattern/matcher"),Otn=Symbol.for("@ts-pattern/isVariadic"),SBt="@ts-pattern/anonymous-select-key",B7t=r=>!!(r&&typeof r=="object"),bBt=r=>r&&!!r[P7],HL=(r,e,i)=>{if(bBt(r)){let a=r[P7](),{matched:u,selections:d}=a.match(e);return u&&d&&Object.keys(d).forEach(h=>i(h,d[h])),u}if(B7t(r)){if(!B7t(e))return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;let a=[],u=[],d=[];for(let h of r.keys()){let b=r[h];bBt(b)&&b[Otn]?d.push(b):d.length?u.push(b):a.push(b)}if(d.length){if(d.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+u.length)return!1;let h=e.slice(0,a.length),b=u.length===0?[]:e.slice(-u.length),x=e.slice(a.length,u.length===0?1/0:-u.length);return a.every((w,L)=>HL(w,h[L],i))&&u.every((w,L)=>HL(w,b[L],i))&&(d.length===0||HL(d[0],x,i))}return r.length===e.length&&r.every((h,b)=>HL(h,e[b],i))}return Object.keys(r).every(a=>{let u=r[a];return(a in e||bBt(d=u)&&d[P7]().matcherType==="optional")&&HL(u,e[a],i);var d})}return Object.is(e,r)},TW=r=>{var e,i,a;return B7t(r)?bBt(r)?(e=(i=(a=r[P7]()).getSelectionKeys)==null?void 0:i.call(a))!=null?e:[]:Array.isArray(r)?LXe(r,TW):LXe(Object.values(r),TW):[]},LXe=(r,e)=>r.reduce((i,a)=>i.concat(e(a)),[]);function $fe(...r){if(r.length===1){let[e]=r;return i=>HL(e,i,()=>{})}if(r.length===2){let[e,i]=r;return HL(e,i,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${r.length}.`)}function y4(r){return Object.assign(r,{optional:()=>v7t(r),and:e=>uk(r,e),or:e=>Wtn(r,e),select:e=>e===void 0?MXe(r):MXe(e,r)})}function g7t(r){return Object.assign((e=>Object.assign(e,{*[Symbol.iterator](){yield Object.assign(e,{[Otn]:!0})}}))(r),{optional:()=>g7t(v7t(r)),select:e=>g7t(e===void 0?MXe(r):MXe(e,r))})}function v7t(r){return y4({[P7]:()=>({match:e=>{let i={},a=(u,d)=>{i[u]=d};return e===void 0?(TW(r).forEach(u=>a(u,void 0)),{matched:!0,selections:i}):{matched:HL(r,e,a),selections:i}},getSelectionKeys:()=>TW(r),matcherType:"optional"})})}var Err=(r,e)=>{for(let i of r)if(!e(i))return!1;return!0},Drr=(r,e)=>{for(let[i,a]of r.entries())if(!e(a,i))return!1;return!0};function uk(...r){return y4({[P7]:()=>({match:e=>{let i={},a=(u,d)=>{i[u]=d};return{matched:r.every(u=>HL(u,e,a)),selections:i}},getSelectionKeys:()=>LXe(r,TW),matcherType:"and"})})}function Wtn(...r){return y4({[P7]:()=>({match:e=>{let i={},a=(u,d)=>{i[u]=d};return LXe(r,TW).forEach(u=>a(u,void 0)),{matched:r.some(u=>HL(u,e,a)),selections:i}},getSelectionKeys:()=>LXe(r,TW),matcherType:"or"})})}function px(r){return{[P7]:()=>({match:e=>({matched:!!r(e)})})}}function MXe(...r){let e=typeof r[0]=="string"?r[0]:void 0,i=r.length===2?r[1]:typeof r[0]=="string"?void 0:r[0];return y4({[P7]:()=>({match:a=>{let u={[e??SBt]:a};return{matched:i===void 0||HL(i,a,(d,h)=>{u[d]=h}),selections:u}},getSelectionKeys:()=>[e??SBt].concat(i===void 0?[]:TW(i))})})}function mQ(r){return typeof r=="number"}function Kve(r){return typeof r=="string"}function Yfe(r){return typeof r=="bigint"}var Gtn=y4(px(function(r){return!0})),Trr=Gtn,Xve=r=>Object.assign(y4(r),{startsWith:e=>{return Xve(uk(r,(i=e,px(a=>Kve(a)&&a.startsWith(i)))));var i},endsWith:e=>{return Xve(uk(r,(i=e,px(a=>Kve(a)&&a.endsWith(i)))));var i},minLength:e=>Xve(uk(r,(i=>px(a=>Kve(a)&&a.length>=i))(e))),maxLength:e=>Xve(uk(r,(i=>px(a=>Kve(a)&&a.length<=i))(e))),includes:e=>{return Xve(uk(r,(i=e,px(a=>Kve(a)&&a.includes(i)))));var i},regex:e=>{return Xve(uk(r,(i=e,px(a=>Kve(a)&&!!a.match(i)))));var i}}),Arr=Xve(px(Kve)),_Q=r=>Object.assign(y4(r),{between:(e,i)=>_Q(uk(r,((a,u)=>px(d=>mQ(d)&&a<=d&&u>=d))(e,i))),lt:e=>_Q(uk(r,(i=>px(a=>mQ(a)&&a<i))(e))),gt:e=>_Q(uk(r,(i=>px(a=>mQ(a)&&a>i))(e))),lte:e=>_Q(uk(r,(i=>px(a=>mQ(a)&&a<=i))(e))),gte:e=>_Q(uk(r,(i=>px(a=>mQ(a)&&a>=i))(e))),int:()=>_Q(uk(r,px(e=>mQ(e)&&Number.isInteger(e)))),finite:()=>_Q(uk(r,px(e=>mQ(e)&&Number.isFinite(e)))),positive:()=>_Q(uk(r,px(e=>mQ(e)&&e>0))),negative:()=>_Q(uk(r,px(e=>mQ(e)&&e<0)))}),krr=_Q(px(mQ)),Qfe=r=>Object.assign(y4(r),{between:(e,i)=>Qfe(uk(r,((a,u)=>px(d=>Yfe(d)&&a<=d&&u>=d))(e,i))),lt:e=>Qfe(uk(r,(i=>px(a=>Yfe(a)&&a<i))(e))),gt:e=>Qfe(uk(r,(i=>px(a=>Yfe(a)&&a>i))(e))),lte:e=>Qfe(uk(r,(i=>px(a=>Yfe(a)&&a<=i))(e))),gte:e=>Qfe(uk(r,(i=>px(a=>Yfe(a)&&a>=i))(e))),positive:()=>Qfe(uk(r,px(e=>Yfe(e)&&e>0))),negative:()=>Qfe(uk(r,px(e=>Yfe(e)&&e<0)))}),Irr=Qfe(px(Yfe)),wrr=y4(px(function(r){return typeof r=="boolean"})),Prr=y4(px(function(r){return typeof r=="symbol"})),Nrr=y4(px(function(r){return r==null})),xD={__proto__:null,matcher:P7,optional:v7t,array:function(...r){return g7t({[P7]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(r.length===0)return{matched:!0};let i=r[0],a={};if(e.length===0)return TW(i).forEach(d=>{a[d]=[]}),{matched:!0,selections:a};let u=(d,h)=>{a[d]=(a[d]||[]).concat([h])};return{matched:e.every(d=>HL(i,d,u)),selections:a}},getSelectionKeys:()=>r.length===0?[]:TW(r[0])})})},set:function(...r){return y4({[P7]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};if(r.length===0)return{matched:!0};let a=(d,h)=>{i[d]=(i[d]||[]).concat([h])},u=r[0];return{matched:Err(e,d=>HL(u,d,a)),selections:i}},getSelectionKeys:()=>r.length===0?[]:TW(r[0])})})},map:function(...r){return y4({[P7]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};let a=(b,x)=>{i[b]=(i[b]||[]).concat([x])};if(r.length===0)return{matched:!0};var u;if(r.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(u=r[0])==null?void 0:u.toString()}`);let[d,h]=r;return{matched:Drr(e,(b,x)=>{let w=HL(d,x,a),L=HL(h,b,a);return w&&L}),selections:i}},getSelectionKeys:()=>r.length===0?[]:[...TW(r[0]),...TW(r[1])]})})},intersection:uk,union:Wtn,not:function(r){return y4({[P7]:()=>({match:e=>({matched:!HL(r,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:px,select:MXe,any:Gtn,_:Trr,string:Arr,number:krr,bigint:Irr,boolean:wrr,symbol:Prr,nullish:Nrr,instanceOf:function(r){return y4(px(function(e){return i=>i instanceof e}(r)))},shape:function(r){return y4(px($fe(r)))}},y7t={matched:!1,value:void 0};function Sg(r){return new C7t(r,y7t)}var C7t=class r{constructor(e,i){this.input=void 0,this.state=void 0,this.input=e,this.state=i}with(...e){if(this.state.matched)return this;let i=e[e.length-1],a=[e[0]],u;e.length===3&&typeof e[1]=="function"?(a.push(e[0]),u=e[1]):e.length>2&&a.push(...e.slice(1,e.length-1));let d=!1,h={},b=(w,L)=>{d=!0,h[w]=L},x=!a.some(w=>HL(w,this.input,b))||u&&!u(this.input)?y7t:{matched:!0,value:i(d?SBt in h?h[SBt]:h:this.input,this.input)};return new r(this.input,x)}when(e,i){if(this.state.matched)return this;let a=!!e(this.input);return new r(this.input,a?{matched:!0,value:i(this.input,this.input)}:y7t)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(){return this.run()}run(){if(this.state.matched)return this.state.value;let e;try{e=JSON.stringify(this.input)}catch{e=this.input}throw new Error(`Pattern matching error: no pattern matches value ${e}`)}returnType(){return this}};var I5t=b_(Jtn(),1),w5t=b_(Ytn(),1),P5t=b_(CSn(),1),N5t=b_(ASn(),1),ugt=b_(e7t(),1),R5t=b_(KSn(),1);fx();fx();var Sxn=b_(f7t(),1),xxn=b_(DXe(),1);ae();function g5t(r,e={},i){for(let a in r){let u=r[a],d=i?`${i}:${a}`:a;typeof u=="object"&&u!==null?g5t(u,e,d):typeof u=="function"&&(e[d]=u)}return e}var uar={run:r=>r()},far=()=>uar,YSn=typeof console.createTask<"u"?console.createTask:far;function par(r,e){let i=e.shift(),a=YSn(i);return r.reduce((u,d)=>u.then(()=>a.run(()=>d(...e))),Promise.resolve())}function dar(r,e){let i=e.shift(),a=YSn(i);return Promise.all(r.map(u=>a.run(()=>u(...e))))}function B5t(r,e){for(let i of[...r])i(e)}var y5t=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,i,a={}){if(!e||typeof i!="function")return()=>{};let u=e,d;for(;this._deprecatedHooks[e];)d=this._deprecatedHooks[e],e=d.to;if(d&&!a.allowDeprecated){let h=d.message;h||(h=`${u} hook has been deprecated`+(d.to?`, please use ${d.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(h)||(console.warn(h),this._deprecatedMessages.add(h))}if(!i.name)try{Object.defineProperty(i,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(i),()=>{i&&(this.removeHook(e,i),i=void 0)}}hookOnce(e,i){let a,u=(...d)=>(typeof a=="function"&&a(),a=void 0,u=void 0,i(...d));return a=this.hook(e,u),a}removeHook(e,i){if(this._hooks[e]){let a=this._hooks[e].indexOf(i);a!==-1&&this._hooks[e].splice(a,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,i){this._deprecatedHooks[e]=typeof i=="string"?{to:i}:i;let a=this._hooks[e]||[];delete this._hooks[e];for(let u of a)this.hook(e,u)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(let i in e)this.deprecateHook(i,e[i])}addHooks(e){let i=g5t(e),a=Object.keys(i).map(u=>this.hook(u,i[u]));return()=>{for(let u of a.splice(0,a.length))u()}}removeHooks(e){let i=g5t(e);for(let a in i)this.removeHook(a,i[a])}removeAllHooks(){for(let e in this._hooks)delete this._hooks[e]}callHook(e,...i){return i.unshift(e),this.callHookWith(par,e,...i)}callHookParallel(e,...i){return i.unshift(e),this.callHookWith(dar,e,...i)}callHookWith(e,i,...a){let u=this._before||this._after?{name:i,args:a,context:{}}:void 0;this._before&&B5t(this._before,u);let d=e(i in this._hooks?[...this._hooks[i]]:[],a);return d instanceof Promise?d.finally(()=>{this._after&&u&&B5t(this._after,u)}):(this._after&&u&&B5t(this._after,u),d)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let i=this._before.indexOf(e);i!==-1&&this._before.splice(i,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let i=this._after.indexOf(e);i!==-1&&this._after.splice(i,1)}}}};function agt(){return new y5t}var XSn=typeof window<"u";function QSn(r,e={}){let i={inspect:XSn,group:XSn,filter:()=>!0,...e},a=i.filter,u=typeof a=="string"?L=>L.startsWith(a):a,d=i.tag?`[${i.tag}] `:"",h=L=>d+L.name+"".padEnd(L._id,"\0"),b={},x=r.beforeEach(L=>{u!==void 0&&!u(L.name)||(b[L.name]=b[L.name]||0,L._id=b[L.name]++,console.time(h(L)))}),w=r.afterEach(L=>{u!==void 0&&!u(L.name)||(i.group&&console.groupCollapsed(L.name),i.inspect?console.timeLog(h(L),L.args):console.timeEnd(h(L)),i.group&&console.groupEnd(),b[L.name]--)});return{close:()=>{x(),w()}}}fx();fx();var mar={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,msGridRow:!0,msGridRowSpan:!0,msGridColumn:!0,msGridColumnSpan:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,WebkitLineClamp:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},lgt=new Set;Object.keys(mar).forEach(r=>{lgt.add(r),lgt.add(Fve(r))});function C5t(r){return typeof r.nodes>"u"?!0:D5t(r)}function D5t(r){let e,i={};return r.each(a=>{if(a.type==="atrule")e="@"+a.name,a.params&&(e+=" "+a.params),typeof i[e]>"u"?i[e]=C5t(a):Array.isArray(i[e])?i[e].push(C5t(a)):i[e]=[i[e],C5t(a)];else if(a.type==="rule"){let u=D5t(a);if(i[a.selector])for(let d in u)i[a.selector][d]=u[d];else i[a.selector]=u}else if(a.type==="decl"){a.prop[0]==="-"&&a.prop[1]==="-"?e=a.prop:e=fFt(a.prop);let u=a.value;!isNaN(Number(u))&&lgt.has(e)&&(u=parseFloat(a.value)),a.important&&(u+=" !important"),typeof i[e]>"u"?i[e]=u:Array.isArray(i[e])?i[e].push(u):i[e]=[i[e],u]}}),i}var $Sn=/\s*!important\s*$/i;function ZSn(r,e,i){if(i===!1||i==null)return;let a=e.startsWith("--");a||(e=Fve(e)),typeof i=="number"&&(i===0||lgt.has(e)||a?i=i.toString():i=`${i}px`),e==="css-float"&&(e="float"),$Sn.test(i)?(i=i.replace($Sn,""),r.push(s0.decl({prop:e,value:i,important:!0}))):r.push(s0.decl({prop:e,value:i}))}function exn(r,e,i){if(!e)return;let a=s0.atRule({name:e[1],params:e[3]||""});typeof i=="object"&&(a.nodes=[],T5t(i,a)),r.push(a)}var _ar=/@(\S+)(\s+([\W\w]*)\s*)?/;function T5t(r,e){let i,a,u;for(i in r)if(a=r[i],!(a===null||typeof a>"u"))if(i[0]==="@"){let d=i.match(_ar);if(Array.isArray(a))for(let h of a)exn(e,d,h);else exn(e,d,a)}else if(Array.isArray(a))for(let d of a)ZSn(e,i,d);else typeof a=="object"?(u=s0.rule({selector:i}),T5t(a,u),e.push(u)):ZSn(e,i,a)}var har=r=>{let e=s0.root();return T5t(r,e),e},Bar=har,fxn={parser:Bar,objectify:D5t};function UXe(r){try{return s0.parse(r)}catch{return s0.root()}}function kj(r,{important:e}={}){let i=s0([(0,uxn.default)({bubble:["breakpoint"]})]).process(r,{parser:fxn.parser});return e&&i.root.walkDecls(a=>{a.important=!0}),i}function txn(r){return fxn.objectify(UXe(r))}var cgt=class{constructor(r){this.context=r,this.root=s0.root(),this.layer=r.layers.utilities}root;layer;hashFn=(r,e)=>{let{conditions:i,hash:a,utility:u}=this.context,d;if(a){let h=[...i.finalize(r),e];d=u.formatClassName(Rve(h.join(":")))}else d=[...i.finalize(r),u.formatClassName(e)].join(":");return RKe(d)};get rule(){return this.context.conditions.rule()}get transform(){return this.context?.transform??this.context.utility.transform}process=r=>{let{styles:e}=r,{conditions:i}=this.context,a=vht(e,this.context);if(typeof a!="object")return;let u=this.rule;if(jL(a,(h,b)=>{if(h==null)return;let x=I6e(h),[w,...L]=i.shift(b),q=k6e(L),te=this.transform(w,w6e(h)),me=kj(te.styles,{important:x});if(u.nodes=me.root.nodes,u.isEmpty)return;let Ee=this.hashFn(q,te.className);if(u.selector=x?`.${Ee}\\!`:`.${Ee}`,u.update(),u.applyConditions(q),te.layer){let ke=s0.atRule({name:"layer",params:te.layer,nodes:[u.rule]});this.root.append(ke)}else this.root.append(u.rule)}),this.root.nodes.length===0)return;let d=s0.atRule({name:"layer",params:this.layer,nodes:[this.root]});this.context.root.append(d)};toCss=()=>this.context.root.toString()},gar=class{constructor(r){this.breakpoints=r}get sorted(){return yar(this.breakpoints)}get values(){return Object.fromEntries(this.sorted)}get keys(){return["base",...Object.keys(this.values)]}get=r=>this.values[r];build=({min:r,max:e})=>r==null&&e==null?"":["screen",r&&`(min-width: ${r})`,e&&`(max-width: ${e})`].filter(Boolean).join(" and ");only=r=>{let{min:e,max:i}=this.get(r);return this.build({min:e,max:i})};get ranges(){let r=Object.keys(this.values),e=bar(r),i=r.flatMap(a=>{let u=this.get(a),d=[`${a}Down`,this.build({max:u.min})],h=[a,this.build({min:u.min})],b=[`${a}Only`,this.only(a)];return[h,b,d]}).filter(([a,u])=>u!=="").concat(e.map(([a,u])=>{let d=this.get(a),h=this.get(u);return[`${a}To${B4(u)}`,this.build({min:d.min,max:pxn(h.min)})]}));return Object.fromEntries(i)}get conditions(){let r=Object.entries(this.ranges).map(([e,i])=>[e,Car(e,i)]);return Object.fromEntries(r)}getCondition=r=>this.conditions[r];expandScreenAtRule=r=>{r.walkAtRules("breakpoint",e=>{let i=this.getCondition(e.params);if(!i)throw e.error(`No \`${e.params}\` screen found.`);e.name="media",e.params=i.params})}};function pxn(r){let e=parseFloat(Mve(r)??"")-.05;return Sht(`${e}px`)}function yar(r){return Object.entries(r).sort(([,e],[,i])=>parseInt(e,10)<parseInt(i,10)?-1:1).map(([e,i],a,u)=>{let d=null;return a<=u.length-1&&(d=u[a+1]?.[1]),d!=null&&(d=pxn(d)),[e,{name:e,min:Sht(i),max:d}]})}var Car=(r,e)=>({type:"at-rule",name:"breakpoint",value:r,raw:r,rawValue:`@media ${e}`,params:e});function bar(r){let e=[];return r.forEach((i,a)=>{let u=a;u++;let d=r[u];for(;d;)e.push([i,d]),u++,d=r[u]}),e}function k5t(r,e){let{utility:i,conditions:a}=e,u=a.rule(),d={};return jL(r,(h,b)=>{let x=I6e(h),[w,...L]=a.shift(b),q=k6e(L),te=q.length>0,{styles:me}=i.transform(w,w6e(h)),Ee=kj(me,{important:x});if(te){let ke=a.segment(q);u.nodes=Ee.root.nodes,u.selector=ke.selector.length>0?ke.selector[0]:"&",u.update(),u.applyConditions(ke.condition),me=txn(u.toString())}else me=txn(Ee.css);(0,A5t.default)(d,me)}),d}function Sar(r,e){let i={};for(let[a,u]of Object.entries(r))i[a]||={},(0,A5t.default)(i[a],k5t(u,e));return kj(i).root}function dxn(r,e){for(let[i,a]of Object.entries(r)){let u=mFt(a??{}),d={layer:"compositions",className:i,values:Object.keys(u),transform:h=>k5t(u[h],e)};e.utility.register(i,d)}}var xar=class{constructor(r){this.conditionsMap=r}rule;selector="";nodes=[];get isEmpty(){return this.nodes.length===0}update=()=>{this.rule=s0.rule({selector:this.selector,nodes:this.nodes})};applyConditions=r=>{let e=this.conditionsMap.sort(r),i=s0.rule({selector:this.selector});e.forEach(a=>{if(!a)return;let u=a.rawValue??a.value;(b5t(i)??i).append(s0.rule({selector:u}))}),b5t(i)?.append(this.nodes),this.rule=i};toString(){return this.rule.toString()}};function b5t(r){return r.nodes&&r.nodes.length?b5t(r.nodes[r.nodes.length-1]):r}function Ear(r){let i=UXe(r).nodes[0];return{type:"at-rule",name:i.name,value:i.params,raw:r,rawValue:r}}function S5t(r){if(r.startsWith("@"))return Ear(r);let e;if(r.startsWith("&")?e="self-nesting":r.endsWith(" &")?e="parent-nesting":r.includes("&")&&(e="combinator-nesting"),e)return{type:e,value:r,raw:r}}var nxn=["self-nesting","combinator-nesting","parent-nesting","at-rule"],Dar=/^_/,Tar=/&|@/,mxn=class{constructor(r){this.options=r;let{breakpoints:e={},conditions:i={}}=this.options,a=new gar(e);this.breakpoints=a;let u=Object.entries(i).map(([d,h])=>[`_${d}`,S5t(h)]);this.values={...Object.fromEntries(u),...a.conditions}}values;breakpoints;finalize=r=>r.map(e=>this.has(e)?e.replace(Dar,""):Tar.test(e)?`[${NKe(e.trim())}]`:e);shift=r=>r.map(e=>e.trim()).sort((e,i)=>{let a=this.isCondition(e),u=this.isCondition(i);return a&&!u?1:!a&&u||!a&&!u?-1:0});segment=r=>{let e=[],i=[];for(let a of r)this.isCondition(a)?e.push(a):i.push(a);return{condition:e,selector:i}};has=r=>Object.prototype.hasOwnProperty.call(this.values,r);isCondition=r=>this.has(r)||!!this.getRaw(r)||A6e(r);isEmpty=()=>Object.keys(this.values).length===0;get=r=>{let e=this.values[r];return e?.rawValue??e?.value};getRaw=r=>{try{return this.values[r]??S5t(r)}catch(e){v2.error("core:condition",e)}};sort=r=>r.map(this.getRaw).filter(Boolean).sort((i,a)=>nxn.indexOf(i.type)-nxn.indexOf(a.type));normalize=r=>typeof r=="string"?this.getRaw(r):r;keys=()=>Object.keys(this.values);rule=()=>new xar(this)},aRe=r=>"slots"in r&&Array.isArray(r.slots)&&r.slots.length>0;var Aar=/token\(([^)]+)\)/g,kar=/\)$/,rxn=(r,e,i)=>r.replace(Aar,(u,d)=>{let[h,b]=d.split(",").map(w=>w.trim()),x=[h,b].filter(Boolean).map(w=>i?.(w)??RKe(w));if(x.length>1){let[w,L]=x;return e(w,L)}return e(x[0])}),Iar=(r,e)=>e?r.endsWith(")")?r.replace(kar,`, ${e})`):`var(${r}, ${e})`:r,war=(r,e)=>r??e;function _xn(r,e){return i=>{i.walk(a=>{if(a.type==="decl"&&a.value.includes("token(")){a.value=rxn(a.value,Iar,r);return}a.type==="atrule"&&a.params.includes("token(")&&(a.params=rxn(a.params,war,u=>e?.(u)?.value))})}}_xn.postcssPlugin="panda:expand-token-fn";var Par=_xn;function L5t(){return r=>{let e=new Map;r.walkAtRules("layer",i=>{let a=e.get(i.params);a?(i.remove(),a.append(i.nodes)):e.set(i.params,i)})}}L5t.postcssPlugin="panda-merge-layers";function hxn(r,e=0){r.each&&r.each((i,a)=>{(!i.raws.before||!i.raws.before.trim()||i.raws.before.includes(`
30772
30772
  `))&&(i.raws.before=`
30773
30773
  ${r.type!=="rule"&&a>0?`
30774
- `:""}${" ".repeat(e)}`),hxn(i,e+1)})}function HXe(){return r=>{hxn(r),r.first&&(r.first.raws.before="")}}HXe.postcssPlugin="panda-prettify";var Nar=[":link",":visited",":focus-within",":focus",":focus-visible",":hover",":active"],ixn=r=>Nar.findIndex(i=>r.trim().includes(i))+1;function M5t(){let r=e=>{let i=[],a=[],u=[];e.each(d=>{switch(d.type){case"rule":{d.first?.type==="atrule"?u.push(d):a.push(d);break}case"atrule":{u.push(d);break}default:i.push(d)}}),a.sort((d,h)=>{let b=d.selectors.length?d.selectors[0]:d.selector,x=h.selectors.length?h.selectors[0]:h.selector;return ixn(b)-ixn(x)}),e.nodes=[...i,...a,...u],e.nodes.forEach(d=>{"nodes"in d&&r(d)})};return r}M5t.postcssPlugin="panda-sort-css";var Bxn=/(!?\(\s*min(-device-)?-width)(.|\n)+\(\s*max(-device)?-width/i,Rar=/\(\s*min(-device)?-width/i,gxn=/(!?\(\s*max(-device)?-width)(.|\n)+\(\s*min(-device)?-width/i,Lar=/\(\s*max(-device)?-width/i,x5t=fgt(Bxn,gxn,Rar),oxn=fgt(gxn,Bxn,Lar),yxn=/(!?\(\s*min(-device)?-height)(.|\n)+\(\s*max(-device)?-height/i,Mar=/\(\s*min(-device)?-height/i,Cxn=/(!?\(\s*max(-device)?-height)(.|\n)+\(\s*min(-device)?-height/i,Far=/\(\s*max(-device)?-height/i,E5t=fgt(yxn,Cxn,Mar),sxn=fgt(Cxn,yxn,Far),axn=/print/i,lxn=/^print$/i,VXe=Number.MAX_VALUE;function cxn(r){let e=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/.exec(r);if(e===null&&(x5t(r)||E5t(r))&&(e=/(\d)/.exec(r)),e==="0")return 0;if(e===null)return VXe;let i=e[1];switch(e[2]){case"ch":i=parseFloat(i)*8.8984375;break;case"em":case"rem":i=parseFloat(i)*16;break;case"ex":i=parseFloat(i)*8.296875;break;case"px":i=parseFloat(i);break}return+i}function fgt(r,e,i){return function(a){return r.test(a)?!0:e.test(a)?!1:i.test(a)}}function Oar(r,e){let i=axn.test(r),a=lxn.test(r),u=axn.test(e),d=lxn.test(e);return i&&u?!a&&d?1:a&&!d?-1:r.localeCompare(e):i?1:u?-1:null}function War(r={}){let{unitlessMqAlwaysFirst:e}=r;return function(a,u){let d=Oar(a,u);if(d!==null)return d;let h=x5t(a)||E5t(a),b=oxn(a)||sxn(a),x=x5t(u)||E5t(u),w=oxn(u)||sxn(u);if(e&&(!h&&!b||!x&&!w))return!h&&!b&&!x&&!w?a.localeCompare(u):!x&&!w?1:-1;{if(h&&w)return-1;if(b&&x)return 1;let L=cxn(a),q=cxn(u);return L===VXe&&q===VXe?a.localeCompare(u):L===VXe?1:q===VXe?-1:L>q?b?-1:1:L<q?b?1:-1:a.localeCompare(u)}}}var Gar=War();function F5t(){let r=e=>{e.nodes.sort((i,a)=>Sg({a:i,b:a}).with({a:{type:"atrule",name:"media"},b:{type:"atrule",name:"media"}},({a:u,b:d})=>Gar(u.params,d.params)).with({a:{type:"atrule",name:"media"},b:xD.any},()=>1).with({a:xD.any,b:{type:"atrule",name:"media"}},()=>-1).otherwise(()=>0)),e.nodes.forEach(i=>{"nodes"in i&&r(i)})};return r}F5t.postcssPlugin="panda-sort-mq";function pgt(r,e={}){let{minify:i=!1}=e,a=[(0,ugt.default)(),L5t(),F5t(),(0,I5t.default)(),(0,P5t.default)(),M5t(),(0,w5t.default)()];i?a.push((0,R5t.default)(),(0,N5t.default)()):a.push(HXe());let{css:u}=s0(a).process(r);return u}function zar(r,e={}){let{token:i,raw:a}=e,{css:u}=s0([Par(i,a)]).process(r);return u}function dgt(r,e={}){let{minify:i=!1}=e,a=[(0,ugt.default)(),L5t(),F5t(),(0,I5t.default)(),(0,P5t.default)(),M5t(),(0,w5t.default)()];i?a.push((0,R5t.default)(),(0,N5t.default)()):a.push(HXe());let{css:u}=s0(a).process(r);return u}function vxn(r){let{css:e}=s0([(0,ugt.default)(),HXe()]).process(r);return e}function bxn(r){let{css:e}=s0([HXe()]).process(r);return e}function mgt(r,e){let i=UXe(r),a=UXe(e),u=i.nodes.filter($fe({type:"atrule",name:"layer",params:"utilities"}));return a.walkAtRules("layer",d=>{d.params==="utilities"&&u.forEach(h=>{d.append(h.nodes)})}),dgt(a)}var L7={classNames:new Map,styles:new Map,nodes:new Map,slots:new Map},O5t=class{constructor(r={},e){this.recipes=r,this.context=e,this.assignRules()}rules=new Map;getPropKey=(r,e,i)=>`${r} (${e} = ${i})`;get separator(){return this.context.utility.separator??"_"}getClassName=(r,e,i)=>`${r}--${e}${this.separator}${i}`;save=()=>{for(let[r,e]of Object.entries(this.recipes))if(aRe(e)){let i=MKe(e),a=new Map;Object.entries(i).forEach(([u,d])=>{let h=this.getSlotKey(r,u);this.normalize(h,d),a.set(h,d)}),this.assignRecipe(r,e),L7.slots.set(r,a)}else this.assignRecipe(r,this.normalize(r,e))};assignRecipe=(r,e)=>{let i=Object.keys(e.variants??{}),a=e.jsx??[B4(r)],u=LKe(a);L7.nodes.set(r,{...this.getNames(r),jsx:a,type:"recipe",variantKeys:i,variantKeyMap:Object.fromEntries(Object.entries(e.variants??{}).map(([d,h])=>[d,Object.keys(h)])),match:u,config:e,splitProps:d=>_Ft(d,i),props:i})};getSlotKey=(r,e)=>`${r}__${e}`;assignRules=()=>{if(this.context)for(let[r,e]of Object.entries(this.recipes))aRe(e)?e.slots.forEach(i=>{let a=this.getSlotKey(r,i);this.rules.set(a,this.createRule(a,!0))}):this.rules.set(r,this.createRule(r))};isEmpty=()=>L7.nodes.size===0;getNames=zE(r=>({baseName:r,upperName:B4(r),dashName:PKe(r),jsxName:B4(r)}));getRecipe=zE(r=>L7.nodes.get(r));getConfig=zE(r=>this.recipes[r]);find=zE(r=>this.details.find(e=>e.match.test(r)));filter=zE(r=>this.details.filter(e=>e.match.test(r)));get details(){return Array.from(L7.nodes.values())}splitProps=(r,e)=>{let i=this.details.find(a=>a.baseName===r);return i?i.splitProps(e):[{},e]};normalize=(r,e)=>{let{className:i,jsx:a=[B4(r)],base:u={},variants:d={},defaultVariants:h={},description:b="",compoundVariants:x=[]}=e,w={...e,jsx:a,className:i,description:b,base:{},variants:{},defaultVariants:h,compoundVariants:x};w.base=this.serialize(u),L7.styles.set(r,w.base),L7.classNames.set(r,i);for(let[L,q]of Object.entries(d))for(let[te,me]of Object.entries(q)){let Ee=this.getPropKey(r,L,te),ke=this.getClassName(e.className,L,te),Ue=this.serialize(me);L7.styles.set(Ee,Ue),L7.classNames.set(Ee,ke),(0,Sxn.default)(w.variants,{[L]:{[te]:Ue}})}return w};serialize=r=>this.context?k5t(r,this.context):r;getTransform=r=>(e,i)=>{if(i==="__ignore__")return{layer:"_base",className:L7.classNames.get(r),styles:L7.styles.get(r)??{}};let a=this.getPropKey(r,e,i);return{className:L7.classNames.get(a),styles:L7.styles.get(a)??{}}};createRule=(r,e)=>{if(!this.context)throw new Error("Can't create a rule without a context");let i=new cgt({...this.context,transform:this.getTransform(r)}),a=this.context.layers.recipes;return i.layer=e?`${a}.slots`:a,i};check=(r,e,i)=>{let{defaultVariants:a={},base:u={}}=r,d=Object.assign({[e]:"__ignore__"},a,i),h=Object.keys(d);return{styles:d,isEmpty:h.length===1&&Object.keys(u).length===0}};process=(r,e)=>{let{styles:i}=e,a=this.getRecipe(r);if(!a)return;let u=L7.slots.get(r);if(u)u.forEach((d,h)=>{let{isEmpty:b,styles:x}=this.check(d,h,i);if(b)return;this.rules.get(h)?.process({styles:x})});else{let{isEmpty:d,styles:h}=this.check(a.config,a.config.className,i);if(d)return;this.rules.get(r)?.process({styles:h})}};toCss=()=>this.context?this.context.root.toString():""},jar=/\s&/g;function Exn(r){let e=new Set;(0,xxn.default)(a=>{a.each(u=>{let d=S5t(u.toString());Sg(d).with({type:"parent-nesting"},()=>{e.add(u.toString().replace(jar,"").trim())}).otherwise(()=>{})})}).processSync(r);let i=Array.from(e).join(", ").trim();return e.size>1?`:where(${i})`:i}var Fgi=agt(),v5t=(r,e)=>r.breakpoints.includes(e)?e:`_${e}`;function Dxn(r){let{css:e=[],recipes:i={}}=r,a={css:[],recipes:[]};return u=>(e.forEach(d=>{let h=d.conditions||[];d.responsive&&h.push(...u.breakpoints),Object.entries(d.properties).forEach(([b,x])=>{x.flatMap(L=>L==="*"?u.getPropertyKeys(b):L).forEach(L=>{let q=h.reduce((te,me)=>({base:L,...te,[v5t(u,me)]:L}),{});a.css.push({[b]:h.length?q:L})})})}),Object.entries(i).forEach(([d,h])=>{h.forEach(b=>{let{__base:x,...w}=u.getRecipeKeys(d),L=b==="*",{conditions:q=[],responsive:te=L,...me}=L?w:b;if(te&&q.push(...u.breakpoints),x){let Ee=q.reduce((ke,Ue)=>({base:x,...ke,[v5t(u,Ue)]:x}),{});a.recipes.push({[d]:q.length?Ee:x})}Object.entries(me).forEach(([Ee,ke])=>{if(!Array.isArray(ke))return;ke.flatMap(Fe=>Fe==="*"?w[Ee]:Fe).forEach(Fe=>{let We=q.reduce((Tt,Vt)=>({base:Fe,...Tt,[v5t(u,Vt)]:Fe}),{});a.recipes.push({[d]:{[Ee]:q.length?We:Fe}})})})})}),a)}var Txn=class{constructor(r,e){this.context=r,this.options=e;let{recipes:i={},slotRecipes:a={}}=e??{},u=Object.assign({},i,a);this.recipes=new O5t(u,r)}recipes;processGlobalCss=r=>{let{conditions:e,utility:i}=this.context,a=Sar(r,{conditions:e,utility:i}),u=s0.atRule({name:"layer",params:this.context.layers.base,nodes:[a]});this.context.root.append(u)};processSelectorObject(r,e){let i=kj(e),{nodes:a}=UXe(i);if(a.length===0)return;let u=s0.rule({selector:r,nodes:i.root.nodes});this.context.root.append(u)}processObject(r){let i=kj(r).root;this.context.root.append(i)}processAtomic=(...r)=>{let e=new cgt(this.context);r.forEach(i=>{i&&e.process({styles:i})})};processStyleProps=r=>{let{css:e,...i}=r;this.processAtomic(i,e)};processCompoundVariants=r=>{r.compoundVariants?.forEach(e=>{if(aRe(r))for(let i of Object.values(e.css))this.processAtomic(i);else this.processAtomic(e.css)})};processRecipe=(r,e,i)=>{this.recipes.process(r,{styles:i}),this.processCompoundVariants(e)};processAtomicSlotRecipe=r=>{let e=MKe(r);for(let i of Object.values(e))this.processAtomicRecipe(i)};processAtomicRecipe=r=>{let{base:e={},variants:i={},compoundVariants:a=[]}=r;this.processAtomic(e);for(let u of Object.values(i))for(let d of Object.values(u))this.processAtomic(d);a.forEach(u=>{this.processAtomic(u.css)})};toCss=({optimize:r=!1,minify:e}={})=>{try{let{conditions:{breakpoints:i},utility:a}=this.context;i.expandScreenAtRule(this.context.root),zar(this.context.root,{token:a.getToken,raw:this.context.utility.tokens.getByName});let u=this.context.root.toString();return r&&(u=pgt(u,{minify:e})),this.options?.content&&(u=`${this.options.content}
30774
+ `:""}${" ".repeat(e)}`),hxn(i,e+1)})}function HXe(){return r=>{hxn(r),r.first&&(r.first.raws.before="")}}HXe.postcssPlugin="panda-prettify";var Nar=[":link",":visited",":focus-within",":focus",":focus-visible",":hover",":active"],ixn=r=>Nar.findIndex(i=>r.trim().includes(i))+1;function M5t(){let r=e=>{let i=[],a=[],u=[];e.each(d=>{switch(d.type){case"rule":{d.first?.type==="atrule"?u.push(d):a.push(d);break}case"atrule":{u.push(d);break}default:i.push(d)}}),a.sort((d,h)=>{let b=d.selectors.length?d.selectors[0]:d.selector,x=h.selectors.length?h.selectors[0]:h.selector;return ixn(b)-ixn(x)}),e.nodes=[...i,...a,...u],e.nodes.forEach(d=>{"nodes"in d&&r(d)})};return r}M5t.postcssPlugin="panda-sort-css";var Bxn=/(!?\(\s*min(-device-)?-width)(.|\n)+\(\s*max(-device)?-width/i,Rar=/\(\s*min(-device)?-width/i,gxn=/(!?\(\s*max(-device)?-width)(.|\n)+\(\s*min(-device)?-width/i,Lar=/\(\s*max(-device)?-width/i,x5t=fgt(Bxn,gxn,Rar),oxn=fgt(gxn,Bxn,Lar),yxn=/(!?\(\s*min(-device)?-height)(.|\n)+\(\s*max(-device)?-height/i,Mar=/\(\s*min(-device)?-height/i,Cxn=/(!?\(\s*max(-device)?-height)(.|\n)+\(\s*min(-device)?-height/i,Far=/\(\s*max(-device)?-height/i,E5t=fgt(yxn,Cxn,Mar),sxn=fgt(Cxn,yxn,Far),axn=/print/i,lxn=/^print$/i,VXe=Number.MAX_VALUE;function cxn(r){let e=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/.exec(r);if(e===null&&(x5t(r)||E5t(r))&&(e=/(\d)/.exec(r)),e==="0")return 0;if(e===null)return VXe;let i=e[1];switch(e[2]){case"ch":i=parseFloat(i)*8.8984375;break;case"em":case"rem":i=parseFloat(i)*16;break;case"ex":i=parseFloat(i)*8.296875;break;case"px":i=parseFloat(i);break}return+i}function fgt(r,e,i){return function(a){return r.test(a)?!0:e.test(a)?!1:i.test(a)}}function Oar(r,e){let i=axn.test(r),a=lxn.test(r),u=axn.test(e),d=lxn.test(e);return i&&u?!a&&d?1:a&&!d?-1:r.localeCompare(e):i?1:u?-1:null}function War(r={}){let{unitlessMqAlwaysFirst:e}=r;return function(a,u){let d=Oar(a,u);if(d!==null)return d;let h=x5t(a)||E5t(a),b=oxn(a)||sxn(a),x=x5t(u)||E5t(u),w=oxn(u)||sxn(u);if(e&&(!h&&!b||!x&&!w))return!h&&!b&&!x&&!w?a.localeCompare(u):!x&&!w?1:-1;{if(h&&w)return-1;if(b&&x)return 1;let L=cxn(a),q=cxn(u);return L===VXe&&q===VXe?a.localeCompare(u):L===VXe?1:q===VXe?-1:L>q?b?-1:1:L<q?b?1:-1:a.localeCompare(u)}}}var Gar=War();function F5t(){let r=e=>{e.nodes.sort((i,a)=>Sg({a:i,b:a}).with({a:{type:"atrule",name:"media"},b:{type:"atrule",name:"media"}},({a:u,b:d})=>Gar(u.params,d.params)).with({a:{type:"atrule",name:"media"},b:xD.any},()=>1).with({a:xD.any,b:{type:"atrule",name:"media"}},()=>-1).otherwise(()=>0)),e.nodes.forEach(i=>{"nodes"in i&&r(i)})};return r}F5t.postcssPlugin="panda-sort-mq";function pgt(r,e={}){let{minify:i=!1}=e,a=[(0,ugt.default)(),L5t(),F5t(),(0,I5t.default)(),(0,P5t.default)(),M5t(),(0,w5t.default)()];i?a.push((0,R5t.default)(),(0,N5t.default)()):a.push(HXe());let{css:u}=s0(a).process(r);return u}function zar(r,e={}){let{token:i,raw:a}=e,{css:u}=s0([Par(i,a)]).process(r);return u}function dgt(r,e={}){let{minify:i=!1}=e,a=[(0,ugt.default)(),L5t(),F5t(),(0,I5t.default)(),(0,P5t.default)(),M5t(),(0,w5t.default)()];i?a.push((0,R5t.default)(),(0,N5t.default)()):a.push(HXe());let{css:u}=s0(a).process(r);return u}function vxn(r){let{css:e}=s0([(0,ugt.default)(),HXe()]).process(r);return e}function bxn(r){let{css:e}=s0([HXe()]).process(r);return e}function mgt(r,e){let i=UXe(r),a=UXe(e),u=i.nodes.filter($fe({type:"atrule",name:"layer",params:"utilities"}));return a.walkAtRules("layer",d=>{d.params==="utilities"&&u.forEach(h=>{d.append(h.nodes)})}),dgt(a)}var L7={classNames:new Map,styles:new Map,nodes:new Map,slots:new Map},O5t=class{constructor(r={},e){this.recipes=r,this.context=e,this.assignRules()}rules=new Map;keys=[];getPropKey=(r,e,i)=>`${r} (${e} = ${i})`;get separator(){return this.context.utility.separator??"_"}getClassName=(r,e,i)=>`${r}--${e}${this.separator}${i}`;save=()=>{for(let[r,e]of Object.entries(this.recipes))if(aRe(e)){let i=MKe(e),a=new Map;Object.entries(i).forEach(([u,d])=>{let h=this.getSlotKey(r,u);this.normalize(h,d),a.set(h,d)}),this.assignRecipe(r,e),L7.slots.set(r,a)}else this.assignRecipe(r,this.normalize(r,e))};assignRecipe=(r,e)=>{let i=Object.keys(e.variants??{}),a=e.jsx??[B4(r)],u=LKe(a);L7.nodes.set(r,{...this.getNames(r),jsx:a,type:"recipe",variantKeys:i,variantKeyMap:Object.fromEntries(Object.entries(e.variants??{}).map(([d,h])=>[d,Object.keys(h)])),match:u,config:e,splitProps:d=>_Ft(d,i),props:i})};getSlotKey=(r,e)=>`${r}__${e}`;assignRules=()=>{if(this.context)for(let[r,e]of Object.entries(this.recipes))aRe(e)?e.slots.forEach(i=>{let a=this.getSlotKey(r,i);this.rules.set(a,this.createRule(a,!0))}):this.rules.set(r,this.createRule(r)),this.keys.push(r)};isEmpty=()=>L7.nodes.size===0;getNames=zE(r=>({baseName:r,upperName:B4(r),dashName:PKe(r),jsxName:B4(r)}));getRecipe=zE(r=>L7.nodes.get(r));getConfig=zE(r=>this.recipes[r]);find=zE(r=>this.details.find(e=>e.match.test(r)));filter=zE(r=>this.details.filter(e=>e.match.test(r)));get details(){return Array.from(L7.nodes.values())}splitProps=(r,e)=>{let i=this.details.find(a=>a.baseName===r);return i?i.splitProps(e):[{},e]};normalize=(r,e)=>{let{className:i,jsx:a=[B4(r)],base:u={},variants:d={},defaultVariants:h={},description:b="",compoundVariants:x=[]}=e,w={...e,jsx:a,className:i,description:b,base:{},variants:{},defaultVariants:h,compoundVariants:x};w.base=this.serialize(u),L7.styles.set(r,w.base),L7.classNames.set(r,i);for(let[L,q]of Object.entries(d))for(let[te,me]of Object.entries(q)){let Ee=this.getPropKey(r,L,te),ke=this.getClassName(e.className,L,te),Ue=this.serialize(me);L7.styles.set(Ee,Ue),L7.classNames.set(Ee,ke),(0,Sxn.default)(w.variants,{[L]:{[te]:Ue}})}return w};serialize=r=>this.context?k5t(r,this.context):r;getTransform=r=>(e,i)=>{if(i==="__ignore__")return{layer:"_base",className:L7.classNames.get(r),styles:L7.styles.get(r)??{}};let a=this.getPropKey(r,e,i);return{className:L7.classNames.get(a),styles:L7.styles.get(a)??{}}};createRule=(r,e)=>{if(!this.context)throw new Error("Can't create a rule without a context");let i=new cgt({...this.context,transform:this.getTransform(r)}),a=this.context.layers.recipes;return i.layer=e?`${a}.slots`:a,i};check=(r,e,i)=>{let{defaultVariants:a={},base:u={}}=r,d=Object.assign({[e]:"__ignore__"},a,i),h=Object.keys(d);return{styles:d,isEmpty:h.length===1&&Object.keys(u).length===0}};process=(r,e)=>{let{styles:i}=e,a=this.getRecipe(r);if(!a)return;let u=L7.slots.get(r);if(u)u.forEach((d,h)=>{let{isEmpty:b,styles:x}=this.check(d,h,i);if(b)return;this.rules.get(h)?.process({styles:x})});else{let{isEmpty:d,styles:h}=this.check(a.config,a.config.className,i);if(d)return;this.rules.get(r)?.process({styles:h})}};toCss=()=>this.context?this.context.root.toString():""},jar=/\s&/g;function Exn(r){let e=new Set;(0,xxn.default)(a=>{a.each(u=>{let d=S5t(u.toString());Sg(d).with({type:"parent-nesting"},()=>{e.add(u.toString().replace(jar,"").trim())}).otherwise(()=>{})})}).processSync(r);let i=Array.from(e).join(", ").trim();return e.size>1?`:where(${i})`:i}var Fgi=agt(),v5t=(r,e)=>r.breakpoints.includes(e)?e:`_${e}`;function Dxn(r){let{css:e=[],recipes:i={}}=r,a={css:[],recipes:[]};return u=>(e.forEach(d=>{let h=d.conditions||[];d.responsive&&h.push(...u.breakpoints),Object.entries(d.properties).forEach(([b,x])=>{x.flatMap(L=>L==="*"?u.getPropertyKeys(b):L).forEach(L=>{let q=h.reduce((te,me)=>({base:L,...te,[v5t(u,me)]:L}),{});a.css.push({[b]:h.length?q:L})})})}),Object.entries(i).forEach(([d,h])=>{h.forEach(b=>{let{__base:x,...w}=u.getRecipeKeys(d),L=b==="*",{conditions:q=[],responsive:te=L,...me}=L?w:b;if(te&&q.push(...u.breakpoints),x){let Ee=q.reduce((ke,Ue)=>({base:x,...ke,[v5t(u,Ue)]:x}),{});a.recipes.push({[d]:q.length?Ee:x})}Object.entries(me).forEach(([Ee,ke])=>{if(!Array.isArray(ke))return;ke.flatMap(Fe=>Fe==="*"?w[Ee]:Fe).forEach(Fe=>{let We=q.reduce((Tt,Vt)=>({base:Fe,...Tt,[v5t(u,Vt)]:Fe}),{});a.recipes.push({[d]:{[Ee]:q.length?We:Fe}})})})})}),a)}var Txn=class{constructor(r,e){this.context=r,this.options=e;let{recipes:i={},slotRecipes:a={}}=e??{},u=Object.assign({},i,a);this.recipes=new O5t(u,r)}recipes;processGlobalCss=r=>{let{conditions:e,utility:i}=this.context,a=Sar(r,{conditions:e,utility:i}),u=s0.atRule({name:"layer",params:this.context.layers.base,nodes:[a]});this.context.root.append(u)};processSelectorObject(r,e){let i=kj(e),{nodes:a}=UXe(i);if(a.length===0)return;let u=s0.rule({selector:r,nodes:i.root.nodes});this.context.root.append(u)}processObject(r){let i=kj(r).root;this.context.root.append(i)}processAtomic=(...r)=>{let e=new cgt(this.context);r.forEach(i=>{i&&e.process({styles:i})})};processStyleProps=r=>{let{css:e,...i}=r;this.processAtomic(i,e)};processCompoundVariants=r=>{r.compoundVariants?.forEach(e=>{if(aRe(r))for(let i of Object.values(e.css))this.processAtomic(i);else this.processAtomic(e.css)})};processRecipe=(r,e,i)=>{this.recipes.process(r,{styles:i}),this.processCompoundVariants(e)};processAtomicSlotRecipe=r=>{let e=MKe(r);for(let i of Object.values(e))this.processAtomicRecipe(i)};processAtomicRecipe=r=>{let{base:e={},variants:i={},compoundVariants:a=[]}=r;this.processAtomic(e);for(let u of Object.values(i))for(let d of Object.values(u))this.processAtomic(d);a.forEach(u=>{this.processAtomic(u.css)})};toCss=({optimize:r=!1,minify:e}={})=>{try{let{conditions:{breakpoints:i},utility:a}=this.context;i.expandScreenAtRule(this.context.root),zar(this.context.root,{token:a.getToken,raw:this.context.utility.tokens.getByName});let u=this.context.root.toString();return r&&(u=pgt(u,{minify:e})),this.options?.content&&(u=`${this.options.content}
30775
30775
 
30776
30776
  ${u}`),r?dgt(u,{minify:e}):u}catch(i){throw i instanceof WZt&&(v2.error("sheet",i.message),i.plugin&&v2.error("sheet",`By plugin: ${i.plugin}:`),i.source&&(v2.error("sheet",`Line ${i.line}:${i.column}, in:`),v2.error("sheet",i.source))),i}};append=(...r)=>{this.context.root.append(...r)};prepend=(...r)=>{this.context.root.prepend(...r)}},Axn=class{tokens;classNames=new Map;styles=new Map;shorthands=new Map;types=new Map;propertyKeys=new Map;config={};customValues=new Map;transforms=new Map;configs=new Map;separator="_";prefix="";strictTokens=!1;constructor(r){let{tokens:e,config:i={},separator:a,prefix:u,shorthands:d,strictTokens:h}=r;this.tokens=e,this.config=i,a&&(this.separator=a),u&&(this.prefix=u),h&&(this.strictTokens=h),d&&this.assignShorthands(),this.assignColorPaletteProperty(),this.assignProperties(),this.assignPropertyTypes()}register=(r,e)=>{this.assignProperty(r,e),this.assignPropertyType(r,e),this.config[r]=e};assignShorthands=()=>{for(let[r,e]of Object.entries(this.config)){let{shorthand:i}=this.normalize(e)??{};if(!i)continue;(Array.isArray(i)?i:[i]).forEach(u=>{this.shorthands.set(u,r)})}};assignColorPaletteProperty=()=>{let r=this.tokens.colorPalettes;this.config.colorPalette={values:Object.keys(r),transform(e){return r[e]}}};resolveShorthand=r=>this.shorthands.get(r)??r;get hasShorthand(){return this.shorthands.size>0}get isEmpty(){return Object.keys(this.config).length===0}entries=()=>Object.entries(this.config).filter(([,e])=>!!e?.className).map(([e,i])=>[e,i.className]);getPropKey=(r,e)=>`(${r} = ${e})`;hash=(r,e)=>`${r}${this.separator}${e}`;getPropertyValues=(r,e)=>{let{values:i}=r,a=u=>{let d=e?.(u);return d?{[d]:d}:void 0};return bj(i)?a?.(i)??this.tokens.getValue(i)??{}:Array.isArray(i)?i.reduce((u,d)=>(u[d]=d,u),{}):cFt(i)?i(e?a:this.getToken.bind(this)):i};getToken=r=>this.tokens.get(r);normalize=r=>r;assignProperty=(r,e)=>{let i=this.normalize(e);if(this.setTransform(r,i?.transform),!i)return;this.configs.set(r,i);let a=this.getPropertyValues(i);if(a)for(let[u,d]of Object.entries(a)){let h=this.getPropKey(r,u);this.setStyles(r,d,u,h),this.setClassName(r,u)}};assignProperties=()=>{for(let[r,e]of Object.entries(this.config))e&&this.assignProperty(r,e)};getPropertyKeys=r=>{let e=this.propertyKeys.get(r);return e?Array.from(e):[]};assignPropertyType=(r,e)=>{let i=this.normalize(e);if(!i)return;let a=this.getPropertyValues(i,d=>`type:Tokens["${d}"]`);if(typeof a=="object"&&a.type){this.types.set(r,new Set([`type:${a.type}`]));return}if(a){let d=new Set(Object.keys(a));this.types.set(r,d),this.propertyKeys.set(r,d)}let u=this.types.get(r)??new Set;!this.strictTokens&&i.property&&this.types.set(r,u.add(`CssProperties["${i.property}"]`))};assignPropertyTypes=()=>{for(let[r,e]of Object.entries(this.config))e&&this.assignPropertyType(r,e)};getTypes=()=>{let r=new Map;for(let[e,i]of this.types.entries()){if(i.size===0){r.set(e,["string"]);continue}let a=Array.from(i).map(u=>u.startsWith("CssProperties")?u:u.startsWith("type:")?u.replace("type:",""):JSON.stringify(u));r.set(e,a)}return r};defaultTransform=zE((r,e)=>{if(e.startsWith("--")){let a=this.tokens.getTokenVar(r);r=typeof a=="string"?a:r}return{[e]:r}});setTransform=(r,e)=>{let a=e??(u=>this.defaultTransform(u,r));return this.transforms.set(r,a),this};setStyles=(r,e,i,a)=>{a=a??this.getPropKey(r,e);let u=x=>this.defaultTransform(x,r),d=this.transforms.get(r)??u,h=Object.assign(this.getToken.bind(this),{raw:x=>this.tokens.getByName(x)}),b=d(e,{token:h,raw:i});return this.styles.set(a,b??{}),this};formatClassName=r=>[this.prefix,r].filter(Boolean).join("-");setClassName=(r,e)=>{let i=this.getPropKey(r,e),a=this.configs.get(r),u;return!a||!a.className?u=this.hash(Fve(r),e):u=this.hash(a.className,e),this.classNames.set(i,u),this};isProperty=r=>this.configs.has(r);getOrCreateClassName=(r,e)=>((a,u)=>{let d=this.getPropKey(a,u);return this.classNames.has(d)||(this.isProperty(a)&&this.customValues.set(a,u),this.setClassName(a,u)),this.classNames.get(d)})(r,e);getOrCreateStyle=(r,e)=>{let i=this.getPropKey(r,e);return this.styles.get(i)??this.setStyles(r,e,e,i),this.styles.get(i)};transform=(r,e)=>{if(e==null)return{className:"",styles:{}};let i=this.resolveShorthand(r);return Ufe({layer:this.configs.get(i)?.layer,className:this.getOrCreateClassName(i,NKe(e)),styles:this.getOrCreateStyle(i,e)})};keys=()=>{let r=Array.from(this.shorthands.keys()),e=Object.keys(this.config);return[...r,...e]};getPropShorthandsMap=()=>{let r=new Map;return this.shorthands.forEach((e,i)=>{let a=r.get(e)??[];a.push(i),r.set(e,a)}),r};getPropShorthands=r=>this.getPropShorthandsMap().get(r)??[]};ae();ae();var FRe=b_(NW(),1);var tm=b_(NW(),1);ae();var Odr=b_(nzt(),1),RW=b_(YAn(),1);ae();var Mj=b_(require("path"),1),$An=b_(require("os"),1),Bdr=/(^\/\w:\/)|(^\/\w:\\)/,QAn=Mj.default.parse(process.cwd()).root,ZAn=/^\w:/,gdr=$An.default.platform();function ydr(r){return/\\/.test(r)||ZAn.test(r)}function ekn(r){let e=/^\\\\\?\\/.test(r),i=/[^\u0000-\u0080]+/.test(r);return e||i?r:r.replace(/\\/g,"/")}function Cdr(r){let e=typeof r=="string"?r:r.pathname;return e.startsWith("file:")&&(e.startsWith("file://")&&(e=e.slice(7)),Bdr.test(e)&&(e=e.slice(1))),rzt(e)}function tkn(r){return[...r].some(e=>typeof e=="string"&&ydr(e))?Mj.default.win32:Mj.default}function Spe(r,e){return ekn(tkn(e)[r](...e))}function nkn(r,e){return Mj.default.posix[r](...[...e].map(i=>typeof i=="string"?ekn(i):i))}function vdr(r){return nkn("parse",arguments)}function bdr(r){return nkn("extname",arguments)}function Sdr(r){return tkn(arguments).isAbsolute(r)}function xdr(...r){return Spe("join",arguments)}function rzt(r){let e=Spe("normalize",arguments);return r.startsWith("./")&&!e.startsWith("./")?"./"+e:e}function Edr(r,e){return Spe("relative",arguments)}function Ddr(...r){return Spe("resolve",arguments)}function Tdr(r){return Spe("dirname",arguments)}function Adr(r,e){return Spe("basename",arguments)}function kdr(r){return Spe("format",arguments)}function Idr(r){return Spe("toNamespacedPath",arguments)}function wdr(r){return gdr!=="win32"||ZAn.test(r)||r.startsWith(QAn)||!Mj.default.win32.isAbsolute(Mj.default.win32.normalize(r))?r:Mj.default.win32.join(QAn,r)}var izt={sep:Mj.default.posix.sep,delimiter:Mj.default.posix.delimiter,parse:vdr,isAbsolute:Sdr,join:xdr,extname:bdr,normalize:rzt,relative:Edr,resolve:Ddr,dirname:Tdr,basename:Adr,format:kdr,toNamespacedPath:Idr,get posix(){return this},get win32(){return rkn}},rkn={...Mj.default.win32,get posix(){return izt},get win32(){return this}},Pdr=Mj.default,D1e={...izt,posix:izt,win32:rkn,native:Pdr,includeDriveLetter:wdr,urlToFilename:Cdr};var hkn=require("module"),Bkn=require("util"),gkn=b_(ckn(),1),sbt=()=>{let r={Infinity:1/0,NaN:NaN,undefined:void 0,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Array,Boolean,Date,Error,EvalError,Number,Object,RangeError,ReferenceError,RegExp,String,SyntaxError,TypeError,URIError,JSON,Math,escape,unescape,eval,Function};try{r.AggregateError=AggregateError}catch{}try{r.FinalizationRegistry=FinalizationRegistry}catch{}try{r.WeakRef=WeakRef}catch{}try{r.BigInt=BigInt}catch{}try{r.Reflect=Reflect}catch{}try{r.WeakMap=WeakMap}catch{}try{r.WeakSet=WeakSet}catch{}try{r.Set=Set}catch{}try{r.Map=Map}catch{}try{r.Uint8Array=Uint8Array}catch{}try{r.BigUint64Array=BigUint64Array}catch{}try{r.BigInt64Array=BigInt64Array}catch{}try{r.Atomics=Atomics}catch{}try{r.SharedArrayBuffer=SharedArrayBuffer}catch{}try{r.WebAssembly=WebAssembly}catch{}try{r.Uint8ClampedArray=Uint8ClampedArray}catch{}try{r.Uint16Array=Uint16Array}catch{}try{r.Uint32Array=Uint32Array}catch{}try{r.Intl=Intl}catch{}try{r.Int8Array=Int8Array}catch{}try{r.Int16Array=Int16Array}catch{}try{r.Int32Array=Int32Array}catch{}try{r.Float32Array=Float32Array}catch{}try{r.Float64Array=Float64Array}catch{}try{r.ArrayBuffer=ArrayBuffer}catch{}try{r.DataView=DataView}catch{}try{r.isFinite=isFinite}catch{}try{r.Promise=Promise}catch{}try{r.Proxy=Proxy}catch{}try{r.Symbol=Symbol}catch{}return r};function Epe(r,e,i){let a={};return[r,e??{},i??{}].forEach(h=>Object.defineProperties(a,Object.getOwnPropertyDescriptors(h))),a}function $1t(r,e){let i={};return Object.getOwnPropertyNames(r).forEach(a=>{a in e||Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(r,a))}),i}var ykn=(0,hkn.createRequire)(dt),Wdr=()=>{let r=sbt(),e=Epe($1t(global,r),r,{require:ykn,process,__dirname:i=>D1e.native.normalize(D1e.native.dirname(i)),__filename:i=>D1e.native.normalize(i)});return Object.defineProperties(e,{global:{get(){return e}},globalThis:{get(){return e}}}),e};function Gdr(r){let e=0;return{requestAnimationFrame:function(d){let h=new Date().getTime(),b=Math.max(0,16-(h-e)),x=r.setTimeout(function(){d(h+b)},b);return e=h+b,x},cancelAnimationFrame:function(d){clearTimeout(d)}}}var X1t;function zdr(r=!1){return X1t??(X1t=jdr("evaluate against a browser environment",r,"jsdom"))}function jdr(r,e,i=r){try{return ykn(i)}catch{if(e)throw new ReferenceError(`You must install the peer dependency '${i}' in order to ${r} with ts-evaluator`);return}}var Vdr=()=>{let{JSDOM:r}=zdr(!0),{window:e}=new r("",{url:"https://example.com"}),i=sbt(),a=Gdr(e),u=Epe($1t(e,i),$1t(a,e),i);return Object.defineProperties(u,{window:{get(){return u}},globalThis:{get(){return u}}}),u},Vx="[return]",uF="[break]",G7="[continue]",z7="this",T1e="super",Udr=()=>{let r=sbt(),e=Epe($1t(global,r),r,{import:{meta:{url:i=>{let a=D1e.normalize(i);return`file:///${a.startsWith("/")?a.slice(1):a}`}}},process});return Object.defineProperties(e,{global:{get(){return e}},globalThis:{get(){return e}}}),e};function Ckn(r,e){return e.isDeclaration(r)}function Hdr(r,e){return e.isPropertyAccessExpression(r)?!1:"name"in r&&r.name!=null}function vkn(r,e){return r.flags!==e.NodeFlags.Const&&r.flags!==e.NodeFlags.Let}var j7=class extends Error{constructor({node:e,environment:i,message:a}){super(a),Error.captureStackTrace(this,this.constructor),this.node=e,this.environment=i}};function Ire(r){return typeof r=="object"&&r!=null&&r instanceof j7}var Z1t=class extends j7{constructor({path:e,node:i,environment:a,message:u=`Module '${e}' could not be resolved'`}){super({message:u,environment:a,node:i}),this.path=e}},mR=class extends j7{constructor({node:e,environment:i,typescript:a,message:u=`Unexpected Node: '${a.SyntaxKind[e.kind]}'`}){super({message:u,node:e,environment:i})}};function Jdr(r){var e;let{node:i,evaluate:a,environment:u,typescript:d,throwError:h}=r,b=d.getNameOfDeclaration(i);if(b!=null)return d.isIdentifier(b)||!((e=d.isPrivateIdentifier)===null||e===void 0)&&e.call(d,b)||d.isStringLiteralLike(b)?b.text:d.isNumericLiteral(b)?Number(b.text):d.isComputedPropertyName(b)?a.expression(b.expression,r):h(new mR({node:b,environment:u,typescript:d}))}function bkn(r,e){let{node:i,typescript:a}=e;if(!a.isExternalModuleNameRelative(r))return r;let u=i.getSourceFile().fileName;return D1e.join(D1e.dirname(u),r)}function ebt(r){var e,i,a,u,d;let{node:h,typescript:b,throwError:x,environment:w}=r,L=Jdr(r);if(Ire(L))return L;if(L==null)return x(new mR({node:h,environment:w,typescript:b}));let q=BI(h,r.environment,L);if(q!=null&&q.literal!=null)return q.literal;let te=BI(h,r.environment,"require").literal,me=b.isModuleDeclaration(h)?h:qdr(h,b.SyntaxKind.ModuleDeclaration,b);if(me==null)return x(new mR({node:h,environment:w,typescript:b}));let Ee=me.name.text,ke=bkn(Ee,r);try{let Ue=(u=(i=(e=r.moduleOverrides)===null||e===void 0?void 0:e[Ee])!==null&&i!==void 0?i:(a=r.moduleOverrides)===null||a===void 0?void 0:a[ke])!==null&&u!==void 0?u:te(ke);return b.isModuleDeclaration(h)?Ue:(d=Ue[L])!==null&&d!==void 0?d:Ue}catch(Ue){return Ire(Ue)?Ue:x(new Z1t({node:me,environment:w,path:ke}))}}function Y1t(r,e,i){var a,u,d,h,b,x;let{node:w,throwError:L,environment:q}=i,te=BI(w,i.environment,"require").literal,me=bkn(e,i);try{let Ee=(h=(u=(a=i.moduleOverrides)===null||a===void 0?void 0:a[e])!==null&&u!==void 0?u:(d=i.moduleOverrides)===null||d===void 0?void 0:d[me])!==null&&h!==void 0?h:te(me);return(x=(b=Ee[r])!==null&&b!==void 0?b:Ee.default)!==null&&x!==void 0?x:Ee}catch(Ee){return Ire(Ee)?Ee:L(new Z1t({node:w,environment:q,path:me}))}}function qdr(r,e,i){let a=r;for(;;){if(a=a.parent,a==null)return;if(a.kind===e){let u=i.getCombinedNodeFlags(a);if(!((u&i.NodeFlags.Namespace)!==0||(u&i.NodeFlags.NestedNamespace)!==0))return a}if(i.isSourceFile(a))return}}function yzt(r,e,i,a=new WeakSet){let{typescript:u}=i,d;function h(x,w=0){var L,q,te,me,Ee;if(a.has(x))return!1;if(a.add(x),u.isIdentifier(x)){if(x.text===e)return d=x,!0}else{if(u.isShorthandPropertyAssignment(x))return!1;if(u.isPropertyAssignment(x))return!1;if(u.isImportDeclaration(x)){if(x.importClause!=null){if(x.importClause.name!=null&&h(x.importClause.name)){let ke=x.moduleSpecifier;if(ke!=null&&u.isStringLiteralLike(ke))return d=Y1t(e,ke.text,i),!0}else if(x.importClause.namedBindings!=null&&h(x.importClause.namedBindings))return!0}return!1}else if(u.isImportEqualsDeclaration(x)){if(x.name!=null&&h(x.name)){if(u.isIdentifier(x.moduleReference))return d=yzt(x.parent,x.moduleReference.text,i,a),d!=null;if(u.isQualifiedName(x.moduleReference))return!1;{let ke=x.moduleReference.expression;if(ke!=null&&u.isStringLiteralLike(ke))return d=Y1t(e,ke.text,i),!0}}return!1}else if(u.isNamespaceImport(x)){if(h(x.name)){let ke=(q=(L=x.parent)===null||L===void 0?void 0:L.parent)===null||q===void 0?void 0:q.moduleSpecifier;return ke==null||!u.isStringLiteralLike(ke)?!1:(d=Y1t(e,ke.text,i),!0)}}else if(u.isNamedImports(x)){for(let ke of x.elements)if(h(ke))return!0}else if(u.isImportSpecifier(x)){if(h(x.name)){let ke=(Ee=(me=(te=x.parent)===null||te===void 0?void 0:te.parent)===null||me===void 0?void 0:me.parent)===null||Ee===void 0?void 0:Ee.moduleSpecifier;return ke==null||!u.isStringLiteralLike(ke)?!1:(d=Y1t(e,ke.text,i),!0)}}else if(u.isSourceFile(x)){for(let ke of x.statements)if(h(ke))return!0}else if(u.isVariableStatement(x)){for(let ke of x.declarationList.declarations)if(h(ke)&&(vkn(x.declarationList,u)||w<1))return!0}else if(u.isBlock(x)){for(let ke of x.statements)if(h(ke,w+1))return!0}else if(Hdr(x,u)&&x.name!=null&&h(x.name))return d=x,!0}return!1}return u.findAncestor(r,x=>h(x))?d:void 0}function ukn(r,e){let i=r;for(;;){if(i=i.parent,i==null)return;if(Ckn(i,e)||e.isSourceFile(i))return i}}function Kdr(r){return r!=null&&(typeof r=="function"||typeof r=="object")}function fkn(r){return Kdr(r)}function Czt(r,e){switch(r){case Function.prototype.bind:case Function.prototype.call:case Function.prototype.apply:return!0}if(e!=null){let i=BI(void 0,e,"Function").literal;switch(r){case i.prototype.bind:case i.prototype.call:case i.prototype.apply:return!0}}return!1}var kre=class{constructor(e){this.intent=e}construct(e,i){return this.intent(e,i)}};function Skn(r){return typeof r=="object"&&r!=null&&r instanceof kre}function abt(r,e,i){return Skn(i)?e.throwError(i.construct(r,e)):i}function azt(r){return r.map(e=>typeof e=="symbol"?e.description:e).join(".")}function pkn({hook:r,item:e,scope:i,policy:a}){function u(d,h){let b=(x,w)=>{if(x!==!1)return Skn(x)||Ire(x)?x:w()};return!fkn(h)||Czt(h)?h:new Proxy(h,{construct(x,w,L){return b(r({kind:"__$$_PROXY_CONSTRUCT",policy:a,newTarget:L,argArray:w,target:x,path:azt(d)}),()=>Reflect.construct(x,w,L))},apply(x,w,L=[]){return b(r({kind:"__$$_PROXY_APPLY",policy:a,thisArg:w,argArray:L,target:x,path:azt(d)}),()=>Reflect.apply(x,w,L))},get(x,w,L){let q=[...d,w];return b(r({kind:"__$$_PROXY_GET",policy:a,path:azt(q),target:x}),()=>{let te=Reflect.get(x,w,L),me=Reflect.getOwnPropertyDescriptor(h,w);return me!=null&&me.configurable===!1&&me.writable===!1?h[w]:u(q,te)})}})}return fkn(e)?u([i],e):e}function dkn(r,e){switch(r){case"__$$_PROXY_GET":return`get ${e}`;case"__$$_PROXY_APPLY":return`${e}(...)`;case"__$$_PROXY_CONSTRUCT":return`new ${e}(...)`}}var xkn={"node:http2":"http2",http2:{connect:{__$$_PROXY_APPLY:!0},createSecureServer:{__$$_PROXY_APPLY:!0},createServer:{__$$_PROXY_APPLY:!0}},"node:https":"https",https:{createServer:{__$$_PROXY_APPLY:!0},request:{__$$_PROXY_APPLY:!0},get:{__$$_PROXY_APPLY:!0},Server:{__$$_PROXY_CONSTRUCT:!0},globalAgent:{destroy:{__$$_PROXY_APPLY:!0}},Agent:{__$$_PROXY_CONSTRUCT:!0}},"node:http":"http",http:{createServer:{__$$_PROXY_APPLY:!0},request:{__$$_PROXY_APPLY:!0},get:{__$$_PROXY_APPLY:!0},Server:{__$$_PROXY_CONSTRUCT:!0},ClientRequest:{__$$_PROXY_CONSTRUCT:!0},globalAgent:{destroy:{__$$_PROXY_APPLY:!0}},Agent:{__$$_PROXY_CONSTRUCT:!0}},"node:dgram":"dgram",dgram:{createSocket:{__$$_PROXY_APPLY:!0}},"node:dns":"dns",dns:{lookup:{__$$_PROXY_APPLY:!0},lookupService:{__$$_PROXY_APPLY:!0},resolve:{__$$_PROXY_APPLY:!0},resolve4:{__$$_PROXY_APPLY:!0},resolve6:{__$$_PROXY_APPLY:!0},resolveAny:{__$$_PROXY_APPLY:!0},resolveCname:{__$$_PROXY_APPLY:!0},resolveMx:{__$$_PROXY_APPLY:!0},resolveNaptr:{__$$_PROXY_APPLY:!0},resolveNs:{__$$_PROXY_APPLY:!0},resolvePtr:{__$$_PROXY_APPLY:!0},resolveSoa:{__$$_PROXY_APPLY:!0},resolveSrv:{__$$_PROXY_APPLY:!0},resolveTxt:{__$$_PROXY_APPLY:!0},reverse:{__$$_PROXY_APPLY:!0},Resolver:{__$$_PROXY_CONSTRUCT:!0}},"node:net":"net",net:{createServer:{__$$_PROXY_APPLY:!0},createConnection:{__$$_PROXY_APPLY:!0},connect:{__$$_PROXY_APPLY:!0},Server:{__$$_PROXY_CONSTRUCT:!0}},"node:tls":"tls",tls:{createServer:{__$$_PROXY_APPLY:!0},createSecureContext:{__$$_PROXY_APPLY:!0},connect:{__$$_PROXY_APPLY:!0},Server:{__$$_PROXY_CONSTRUCT:!0},TLSSocket:{__$$_PROXY_CONSTRUCT:!0}}},Xdr={...xkn,Math:{random:{__$$_PROXY_APPLY:!0}},Date:{now:{__$$_PROXY_APPLY:!0},__$$_PROXY_CONSTRUCT:(...r)=>r.length===0&&!(r[0]instanceof Date)}};function Ydr(r,e){return typeof r==typeof e||typeof r=="function"}function Qdr(r){return typeof r=="function"}function A1e(r,e,i){let a=i.path.split(".");return czt(r,e,i,a)}function czt(r,e,i,a){let[u,...d]=a;if(u==null)return!1;let h=r[u];if(h==null)return!1;if(typeof h=="string")return czt(r,e,i,[h,...d]);if(Ydr(h,e))return mkn(h,e,i);{let b=h[i.kind];return b!=null?mkn(b,e,i):czt(h,e,i,d)}}function mkn(r,e,i){if(Qdr(r)){let a=i;return a.argArray!=null&&r(...a.argArray)===e}else return r===e}function $dr(r){return A1e(Xdr,!0,r)}var Dpe=class extends j7{constructor({violation:e,node:i,environment:a,message:u}){super({node:i,environment:a,message:`[${e}]: ${u}`}),this.violation=e}},uzt=class extends Dpe{constructor({operation:e,node:i,environment:a,message:u=`The operation: '${e}' is nondeterministic. That is in violation of the policy`}){super({violation:"deterministic",message:u,node:i,environment:a}),this.operation=e}},Ekn={"node:fs":"fs",fs:{readFile:{__$$_PROXY_APPLY:"read"},readFileSync:{__$$_PROXY_APPLY:"read"},readdir:{__$$_PROXY_APPLY:"read"},readdirSync:{__$$_PROXY_APPLY:"read"},read:{__$$_PROXY_APPLY:"read"},readSync:{__$$_PROXY_APPLY:"read"},exists:{__$$_PROXY_APPLY:"read"},existsSync:{__$$_PROXY_APPLY:"read"},access:{__$$_PROXY_APPLY:"read"},accessSync:{__$$_PROXY_APPLY:"read"},close:{__$$_PROXY_APPLY:"read"},closeSync:{__$$_PROXY_APPLY:"read"},createReadStream:{__$$_PROXY_APPLY:"read"},stat:{__$$_PROXY_APPLY:"read"},statSync:{__$$_PROXY_APPLY:"read"},watch:{__$$_PROXY_APPLY:"read"},watchFile:{__$$_PROXY_APPLY:"read"},unwatchFile:{__$$_PROXY_APPLY:"read"},realpath:{__$$_PROXY_APPLY:"read"},realpathSync:{__$$_PROXY_APPLY:"read"},fstat:{__$$_PROXY_APPLY:"read"},fstatSync:{__$$_PROXY_APPLY:"read"},createWriteStream:{__$$_PROXY_APPLY:"write"},copyFile:{__$$_PROXY_APPLY:"write"},copyFileSync:{__$$_PROXY_APPLY:"write"},unlink:{__$$_PROXY_APPLY:"write"},unlinkSync:{__$$_PROXY_APPLY:"write"},rmdir:{__$$_PROXY_APPLY:"write"},rmdirSync:{__$$_PROXY_APPLY:"write"},symlink:{__$$_PROXY_APPLY:"write"},symlinkSync:{__$$_PROXY_APPLY:"write"},truncate:{__$$_PROXY_APPLY:"write"},truncateSync:{__$$_PROXY_APPLY:"write"},utimes:{__$$_PROXY_APPLY:"write"},utimesSync:{__$$_PROXY_APPLY:"write"},appendFile:{__$$_PROXY_APPLY:"write"},appendFileSync:{__$$_PROXY_APPLY:"write"},write:{__$$_PROXY_APPLY:"write"},writeSync:{__$$_PROXY_APPLY:"write"},writeFile:{__$$_PROXY_APPLY:"write"},writeFileSync:{__$$_PROXY_APPLY:"write"},chmod:{__$$_PROXY_APPLY:"write"},chmodSync:{__$$_PROXY_APPLY:"write"},chown:{__$$_PROXY_APPLY:"write"},chownSync:{__$$_PROXY_APPLY:"write"},mkdir:{__$$_PROXY_APPLY:"write"},mkdirSync:{__$$_PROXY_APPLY:"write"},rename:{__$$_PROXY_APPLY:"write"},renameSync:{__$$_PROXY_APPLY:"write"},futimes:{__$$_PROXY_APPLY:"write"},futimesSync:{__$$_PROXY_APPLY:"write"},link:{__$$_PROXY_APPLY:"write"},linkSync:{__$$_PROXY_APPLY:"write"},mkdtemp:{__$$_PROXY_APPLY:"write"},open:{__$$_PROXY_APPLY:"write"},openSync:{__$$_PROXY_APPLY:"write"},fchmod:{__$$_PROXY_APPLY:"write"},fchmodSync:{__$$_PROXY_APPLY:"write"},fchown:{__$$_PROXY_APPLY:"write"},fchownSync:{__$$_PROXY_APPLY:"write"},ftruncate:{__$$_PROXY_APPLY:"write"},ftruncateSync:{__$$_PROXY_APPLY:"write"},fsync:{__$$_PROXY_APPLY:"write"},fsyncSync:{__$$_PROXY_APPLY:"write"},fdatasync:{__$$_PROXY_APPLY:"write"},fdatasyncSync:{__$$_PROXY_APPLY:"write"},lchmod:{__$$_PROXY_APPLY:"write"},lchmodSync:{__$$_PROXY_APPLY:"write"}}};function Zdr(r){return A1e(Ekn,"read",r)}var tbt=class extends Dpe{constructor({node:e,environment:i,kind:a,message:u=`${a} operations are in violation of the policy`}){super({violation:"io",message:u,environment:i,node:e}),this.kind=a}};function emr(r){return A1e(Ekn,"write",r)}function tmr(r){return A1e(xkn,!0,r)}var fzt=class extends Dpe{constructor({operation:e,node:i,environment:a,message:u=`The operation: '${e}' is performing network activity. That is in violation of the policy`}){super({violation:"deterministic",message:u,node:i,environment:a}),this.operation=e}},Dkn={"node:process":"process",process:{exit:{__$$_PROXY_APPLY:"exit"}},"node:child_process":"child_process",child_process:{__$$_PROXY_APPLY:"spawnChild"},"node:cluster":"cluster",cluster:{Worker:{__$$_PROXY_CONSTRUCT:"spawnChild"}}};function nmr(r){return A1e(Dkn,"exit",r)}var nbt=class extends Dpe{constructor({kind:e,node:i,environment:a,message:u=`${e} operations are in violation of the policy`}){super({violation:"process",message:u,node:i,environment:a}),this.kind=e}};function rmr(r){return A1e(Dkn,"spawnChild",r)}var imr={"node:console":"console",console:{__$$_PROXY_APPLY:!0}};function omr(r){return A1e(imr,!0,r)}function smr({policy:r,env:e}){let i=h=>!r.console&&omr(h)?!1:!r.io.read&&Zdr(h)?new kre((b,x)=>new tbt({...x,node:b,kind:"read"})):!r.io.write&&emr(h)?new kre((b,x)=>new tbt({...x,node:b,kind:"write"})):!r.process.exit&&nmr(h)?new kre((b,x)=>new nbt({...x,node:b,kind:"exit"})):!r.process.exit&&rmr(h)?new kre((b,x)=>new nbt({...x,node:b,kind:"spawnChild"})):!r.network&&tmr(h)?new kre((b,x)=>new fzt({...x,node:b,operation:dkn(h.kind,h.path)})):r.deterministic&&$dr(h)?new kre((b,x)=>new uzt({...x,node:b,operation:dkn(h.kind,h.path)})):!0,a=Object.entries(Object.getOwnPropertyDescriptors(e)),u=Object.assign({},...a.filter(([,h])=>!("value"in h)).map(([h,b])=>({[h]:b}))),d=Object.assign({},...a.filter(([,h])=>"value"in h).map(([h,b])=>({[h]:h==="require"?new Proxy(b.value,{apply(x,w,L=[]){let[q]=L;return pkn({policy:r,item:Reflect.apply(x,w,L),scope:q,hook:i})}}):pkn({policy:r,item:b.value,scope:h,hook:i})})));return Object.defineProperties(d,{...u})}function MYe(r,e){let[i]=e.split(".");if(RW.default.has(r.env,i))return r.env;if(r.parentEnv!=null)return MYe(r.parentEnv,e)}function pzt(r){return r.preset!=null?r.preset:r.parentEnv!=null?pzt(r.parentEnv):"NONE"}function Tkn(r,e,i){let a=ukn(r.startingNode,i),u=ukn(e,i);if(a?.pos===u?.pos)return r;if(r.parentEnv!=null)return Tkn(r.parentEnv,e,i)}function BI(r,e,i){let[a]=i.split(".");if(RW.default.has(e.env,a)){let u=RW.default.get(e.env,i);switch(i){case"__dirname":case"__filename":{let d=pzt(e);return(d==="NODE"||d==="NODE_CJS")&&typeof u=="function"&&r!=null?{literal:u(r.getSourceFile().fileName)}:{literal:u}}case"import.meta":{let d=pzt(e);return(d==="NODE_ESM"||d==="BROWSER"||d==="ECMA")&&typeof u=="object"&&u!=null&&typeof u.url=="function"&&r!=null?{literal:{url:u.url(r.getSourceFile().fileName)}}:{literal:u}}default:return{literal:u}}}if(e.parentEnv!=null)return BI(r,e.parentEnv,i)}function ST(r,e,i,...a){return a.some(u=>{let d=BI(r,e,u);return d==null?!1:d.literal===i})}function lzt(r){switch(r){case Vx:case uF:case G7:case z7:case T1e:return!0;default:return!1}}function IB({environment:r,path:e,value:i,reporting:a,node:u,newBinding:d=!1}){let[h]=e.split(".");if(RW.default.has(r.env,h)||d||r.parentEnv==null){if(RW.default.has(r.env,e)&&RW.default.get(r.env,e)===i)return;RW.default.set(r.env,e,i),a.reportBindings!=null&&!lzt(e)&&a.reportBindings({path:e,value:i,node:u})}else{let b=r.parentEnv;for(;b!=null;)if(RW.default.has(b.env,h)){if(RW.default.has(b.env,e)&&RW.default.get(b.env,e)===i)return;RW.default.set(b.env,e,i),a.reportBindings!=null&&!lzt(e)&&a.reportBindings({path:e,value:i,node:u});return}else b.parentEnv==null?(RW.default.set(b.env,e,i),a.reportBindings!=null&&!lzt(e)&&a.reportBindings({path:e,value:i,node:u})):b=b.parentEnv}}function amr({inputEnvironment:{extra:r,preset:e},startingNode:i,policy:a}){let u;switch(e){case"NONE":u=Epe(r);break;case"ECMA":u=Epe(sbt(),r);break;case"NODE":case"NODE_CJS":u=Epe(Wdr(),r);break;case"NODE_ESM":u=Epe(Udr(),r);break;case"BROWSER":u=Epe(Vdr(),r);break;default:u={};break}return{parentEnv:void 0,preset:e,startingNode:i,env:smr({policy:a,env:u})}}function Akn(r,e){return r.kind===e.SyntaxKind.TrueKeyword||r.kind===e.SyntaxKind.FalseKeyword}function kkn(r,e){return r.kind===e.SyntaxKind.NullKeyword}function lmr(r,e){var i;return e.isStringLiteralLike(r)?{success:!0,value:r.text}:Akn(r,e)?{success:!0,value:r.kind===e.SyntaxKind.TrueKeyword}:e.isRegularExpressionLiteral(r)?{success:!0,value:new Function(`return ${r.text}`)()}:e.isNumericLiteral(r)?{success:!0,value:Number(r.text)}:!((i=e.isBigIntLiteral)===null||i===void 0)&&i.call(e,r)?{success:!0,value:BigInt(r.text)}:e.isIdentifier(r)&&r.text==="Infinity"?{success:!0,value:1/0}:e.isIdentifier(r)&&r.text==="NaN"?{success:!0,value:NaN}:e.isIdentifier(r)&&r.text==="null"?{success:!0,value:null}:e.isIdentifier(r)&&r.text==="undefined"?{success:!0,value:void 0}:kkn(r,e)?{success:!0,value:null}:{success:!1}}var dzt=class extends Dpe{constructor({ops:e,node:i,environment:a,message:u=`Maximum ops exceeded: ${e}`}){super({violation:"maxOps",message:u,node:i,environment:a}),this.ops=e}};function Ikn(r,e){let{node:i,environment:a,evaluate:u,stack:d,typescript:h,throwError:b,getCurrentError:x}=r,w=e??(i.initializer==null?void 0:u.expression(i.initializer,r));if(x()==null){if(w==null&&!h.isIdentifier(i.name))return b(new j7({node:i,environment:a}));u.nodeWithArgument(i.name,w,r),x()==null&&d.push(w)}}function wkn(r,e){return r.kind===e.SyntaxKind.ThisKeyword}function lbt(r,e){return r.kind===e.SyntaxKind.SuperKeyword}function MRe(r){var e,i;let{node:a,evaluate:u,typescript:d}=r;if(d.isIdentifier(a))return a.text;if(!((e=d.isPrivateIdentifier)===null||e===void 0)&&e.call(d,a))return a.text;if(wkn(a,d))return z7;if(lbt(a,d))return T1e;if(d.isParenthesizedExpression(a))return MRe({...r,node:a.expression});if(!((i=d.isTypeAssertionExpression)===null||i===void 0)&&i.call(d,a)||!("isTypeAssertionExpression"in d)&&d.isTypeAssertion(a))return MRe({...r,node:a.expression});if(d.isPropertyAccessExpression(a)){let h=MRe({...r,node:a.expression});h==null&&(h=u.expression(a.expression,r));let b=MRe({...r,node:a.name});return b==null&&(b=u.expression(a.name,r)),h==null||b==null?void 0:`${h}.${b}`}else if(d.isElementAccessExpression(a)){let h=MRe({...r,node:a.expression});h==null&&(h=u.expression(a.expression,r));let b=u.expression(a.argumentExpression,r);return h==null||b==null?void 0:`${h}.${b}`}else if(d.isFunctionDeclaration(a))return a.name==null?void 0:a.name.text}var mzt=class extends j7{constructor({node:e,environment:i,message:a="'No leftValue could be determined'"}){super({message:a,environment:i,node:e})}};function Q1t(r,e){var i;return e.isParenthesizedExpression(r)||e.isAsExpression(r)||!((i=e.isTypeAssertionExpression)===null||i===void 0)&&i.call(e,r)||!("isTypeAssertionExpression"in e)&&e.isTypeAssertion(r)?Q1t(r.expression,e):r}function Pkn(r){return r!=null&&typeof r=="object"&&"kind"in r&&"flags"in r&&"pos"in r&&"end"in r}function cmr(r){var e;let{node:i,environment:a,evaluate:u,logger:d,throwError:h,typeChecker:b,typescript:x,getCurrentError:w}=r,L=u.expression(i.left,r);if(w()!=null)return;let q=u.expression(i.right,r);if(w()!=null)return;let te=MRe({...r,node:i.left}),me=i.operatorToken.kind;switch(me){case x.SyntaxKind.AmpersandToken:return L&q;case x.SyntaxKind.AmpersandAmpersandToken:return L&&q;case x.SyntaxKind.AmpersandEqualsToken:case x.SyntaxKind.CaretEqualsToken:case x.SyntaxKind.BarEqualsToken:case x.SyntaxKind.MinusEqualsToken:case x.SyntaxKind.PlusEqualsToken:case x.SyntaxKind.PercentEqualsToken:case x.SyntaxKind.SlashEqualsToken:case x.SyntaxKind.AsteriskEqualsToken:case x.SyntaxKind.AsteriskAsteriskEqualsToken:case x.SyntaxKind.LessThanLessThanEqualsToken:case x.SyntaxKind.GreaterThanGreaterThanEqualsToken:case x.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken:case x.SyntaxKind.QuestionQuestionEqualsToken:case x.SyntaxKind.BarBarEqualsToken:case x.SyntaxKind.AmpersandAmpersandEqualsToken:{let Ee=L;switch(me){case x.SyntaxKind.AmpersandEqualsToken:Ee&=q;break;case x.SyntaxKind.CaretEqualsToken:Ee^=q;break;case x.SyntaxKind.BarEqualsToken:Ee|=q;break;case x.SyntaxKind.AsteriskEqualsToken:Ee*=q;break;case x.SyntaxKind.AsteriskAsteriskEqualsToken:Ee**=q;break;case x.SyntaxKind.LessThanLessThanEqualsToken:Ee<<=q;break;case x.SyntaxKind.GreaterThanGreaterThanEqualsToken:Ee>>=q;break;case x.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken:Ee>>>=q;break;case x.SyntaxKind.MinusEqualsToken:Ee-=q;break;case x.SyntaxKind.PlusEqualsToken:Ee+=q;break;case x.SyntaxKind.PercentEqualsToken:Ee%=q;break;case x.SyntaxKind.SlashEqualsToken:Ee/=q;break;case x.SyntaxKind.QuestionQuestionEqualsToken:Ee=L??q;break;case x.SyntaxKind.BarBarEqualsToken:L||(Ee=q);break;case x.SyntaxKind.AmpersandAmpersandEqualsToken:L&&(Ee=q);break}return te!=null&&IB({...r,path:te,value:Ee}),Ee}case x.SyntaxKind.AsteriskToken:return L*q;case x.SyntaxKind.AsteriskAsteriskToken:return L**q;case x.SyntaxKind.BarToken:return L|q;case x.SyntaxKind.BarBarToken:return L||q;case x.SyntaxKind.CaretToken:return L^q;case x.SyntaxKind.CommaToken:return q;case x.SyntaxKind.MinusToken:return L-q;case x.SyntaxKind.PlusToken:return d.logResult(L+q,"BinaryExpression (PlusToken)"),L+q;case x.SyntaxKind.PercentToken:return L%q;case x.SyntaxKind.SlashToken:return L/q;case x.SyntaxKind.EqualsToken:{if(te!=null){let Ee=Q1t(i.left,x),ke=b?.getSymbolAtLocation(Ee),Ue=ke?.valueDeclaration;if(Ue==null&&b==null&&x.isIdentifier(Ee)){let We=yzt(Ee.parent,Ee.text,r);Pkn(We)&&(Ue=We)}let Fe=Ue==null?a:(e=Tkn(a,Ue,x))!==null&&e!==void 0?e:a;IB({...r,environment:Fe,path:te,value:q}),d.logBinding(te,q,"Assignment")}else return h(new mzt({node:i.left,environment:a}));return q}case x.SyntaxKind.EqualsEqualsToken:return L==q;case x.SyntaxKind.EqualsEqualsEqualsToken:return L===q;case x.SyntaxKind.ExclamationEqualsToken:return L!=q;case x.SyntaxKind.ExclamationEqualsEqualsToken:return L!==q;case x.SyntaxKind.GreaterThanToken:return L>q;case x.SyntaxKind.GreaterThanEqualsToken:return L>=q;case x.SyntaxKind.LessThanToken:return L<q;case x.SyntaxKind.LessThanEqualsToken:return L<=q;case x.SyntaxKind.InKeyword:return L in q;case x.SyntaxKind.QuestionQuestionToken:return L??q;case x.SyntaxKind.InstanceOfKeyword:return L instanceof q}return h(new mR({node:i.operatorToken,typescript:x,environment:a}))}var vzt="___lazyCallFlag";function umr(r){return r!=null&&typeof r=="object"&&vzt in r}function bzt(r){return r===void 0?"undefined":r===null?"null":typeof r=="string"?`"${r}"`:r.toString()}var rbt=class extends j7{constructor({value:e,node:i,environment:a,message:u=`${bzt(e)} is not a function'`}){super({message:u,environment:a,node:i}),this.value=e}};function xpe(r,e){var i;return lbt(r,e)?!0:e.isPropertyAccessExpression(r)?xpe(r.expression,e)||xpe(r.name,e):e.isElementAccessExpression(r)?xpe(r.expression,e)||xpe(r.argumentExpression,e):e.isParenthesizedExpression(r)||e.isAsExpression(r)||!((i=e.isTypeAssertionExpression)===null||i===void 0)&&i.call(e,r)||!("isTypeAssertionExpression"in e)&&e.isTypeAssertion(r)?xpe(r.expression,e):!1}function fmr(r){let{node:e,environment:i,evaluate:a,throwError:u,typescript:d,logger:h,getCurrentError:b}=r,x=[];for(let L=0;L<e.arguments.length;L++)if(x[L]=a.expression(e.arguments[L],r),b()!=null)return;let w=a.expression(e.expression,r);if(b()==null)if(umr(w)){let L=xpe(e.expression,d)?BI(e,i,z7):void 0,q=w.invoke(L?.literal,...x);return b()!=null?void 0:(h.logResult(q,"CallExpression"),q)}else{if(e.questionDotToken==null&&typeof w!="function")return u(new rbt({value:w,node:e.expression,environment:i}));let L=typeof w!="function"?void 0:abt(e,r,w(...x));return b()!=null?void 0:(h.logResult(L,"CallExpression"),L)}}function pmr({node:r,evaluate:e,...i}){return e.expression(r.expression,i)}function i6(r,e){return{parentEnv:r,startingNode:e,env:{}}}function NQ(r,e){let i=Array.isArray(r)?r:r.modifiers;return i!=null&&i.some(a=>a.kind===e)}function RQ(r,e,i){let{node:a,evaluate:u,environment:d,typescript:h,getCurrentError:b}=r,x=a.filter(w=>!(h.isIdentifier(w.name)&&w.name.text==="this"));for(let w=0;w<x.length;w++){let L=x[w];if(L.dotDotDotToken!=null){if(u.nodeWithArgument(L,e.slice(w),r),b()!=null)return;break}else{if(u.nodeWithArgument(L,e[w],r),b()!=null)return;if(i!=null&&h.isIdentifier(L.name)&&(NQ(L,h.SyntaxKind.PublicKeyword)||NQ(L,h.SyntaxKind.ProtectedKeyword)||NQ(L,h.SyntaxKind.PrivateKeyword))){let q=BI(L,d,L.name.text);q!=null&&(i[L.name.text]=q.literal)}}}}function dmr(r){let{node:e,environment:i,evaluate:a,stack:u,typescript:d,getCurrentError:h}=r,b=NQ(e,d.SyntaxKind.AsyncKeyword)?async(...x)=>{let w=i6(i,e),L={...r,environment:w};if(IB({...L,path:Vx,value:!1,newBinding:!0}),IB({...L,path:"arguments",value:arguments,newBinding:!0}),RQ({...r,node:e.parameters,environment:w},x),h()==null)return d.isBlock(e.body)?(a.statement(e.body,L),h()!=null?void 0:ST(e,w,!0,Vx)?u.pop():void 0):a.expression(e.body,L)}:(...x)=>{let w=i6(i,e),L={...r,environment:w};if(IB({...L,path:Vx,value:!1,newBinding:!0}),IB({...L,path:"arguments",value:arguments,newBinding:!0}),RQ({...r,node:e.parameters,environment:w},x),h()==null)return d.isBlock(e.body)?(a.statement(e.body,L),h()!=null?void 0:ST(e,w,!0,Vx)?u.pop():void 0):a.expression(e.body,L)};return b.toString=()=>"[Function: anonymous]",Object.setPrototypeOf(b,BI(e,i,"Function").literal),b}function mmr({node:r}){return r.text}function _mr({node:r}){return Number(r.text)}function hmr({node:r,typescript:e}){return r.kind===e.SyntaxKind.TrueKeyword}function Bmr({node:r,environment:e}){let i=BI(r,e,"Function").literal;return new i(`return ${r.text}`)()}function gmr(r){let{node:e,evaluate:i,environment:a,getCurrentError:u}=r,d=BI(e,a,"Object").literal,h=d.create(d.prototype);IB({...r,path:z7,value:h,newBinding:!0});for(let b of e.properties)if(i.nodeWithArgument(b,h,r),u()!=null)return;return h}function ymr(r){return r!=null&&r[Symbol.iterator]!=null}function Cmr(r){let{node:e,environment:i,evaluate:a,typescript:u,getCurrentError:d}=r,b=BI(e,i,"Array").literal.of();for(let x of e.elements){let w=a.expression(x,r);if(d()!=null)return;u.isSpreadElement(x)&&ymr(w)?b.push(...w):b.push(w)}return b}var ibt=class extends j7{constructor({node:e,environment:i,message:a=`'${e.text}' is not defined'`}){super({message:a,environment:i,node:e})}};function _kn(r){let{node:e,environment:i,typeChecker:a,evaluate:u,stack:d,logger:h,reporting:b,typescript:x,throwError:w,getCurrentError:L}=r,q=BI(e,i,e.text);if(q!=null)return h.logBinding(e.text,q.literal,"Lexical Environment match"),q.literal;let te=x.isShorthandPropertyAssignment(e.parent)?a?.getShorthandAssignmentValueSymbol(e.parent):a?.getSymbolAtLocation(e),me=te?.valueDeclaration;if(te!=null&&me==null)try{let Ee=a?.getAliasedSymbol(te);me=Ee?.valueDeclaration}catch{}if(me==null){let Ee=yzt(e.parent,e.text,r);if(L()!=null)return;if(Pkn(Ee)&&!x.isIdentifier(Ee))me=Ee;else if(Ee!=null)return IB({...r,path:e.text,value:Ee}),h.logBinding(e.text,Ee,"Discovered declaration value"),Ee}if(me!=null){if(me.getSourceFile().isDeclarationFile){let ke=ebt({...r,node:me});return L()!=null?void 0:(IB({environment:i,path:e.text,value:ke,reporting:b,node:me}),h.logBinding(e.text,ke,`Discovered declaration value${me.getSourceFile()===e.getSourceFile()?"":` (imported into '${e.getSourceFile().fileName}' from '${me.getSourceFile().fileName}')`}`),ke)}if(x.isVariableDeclaration(me)&&me.getSourceFile().fileName===e.getSourceFile().fileName&&me.pos>e.pos)if(x.isVariableDeclarationList(me.parent)&&vkn(me.parent,x)){IB({...r,path:e.text,value:void 0,newBinding:!0,node:me}),h.logBinding(e.text,void 0,"Hoisted var declaration");return}else return w(new ibt({node:e,environment:i}));if(u.declaration(me,r),L()!=null)return;let Ee=d.pop();return IB({...r,path:e.text,value:Ee,node:me}),h.logBinding(e.text,Ee,`Discovered declaration value${me.getSourceFile()===e.getSourceFile()?"":` (imported into '${e.getSourceFile().fileName}' from '${me.getSourceFile().fileName}')`}`),Ee}return w(new ibt({node:e,environment:i}))}function vmr(r){let{node:e,environment:i,typescript:a,evaluate:u,getCurrentError:d}=r,h=i6(i,e);for(let b=0;b<e.statements.length;b++){let x=e.statements[b];if(!(a.isConstructorDeclaration(e.parent)&&b===0&&a.isExpressionStatement(x)&&a.isCallExpression(x.expression)&&lbt(x.expression.expression,a))&&(u.statement(x,{...r,environment:h}),d()!=null||ST(e,h,!0,uF,G7,Vx)))break}}function bmr({node:r,evaluate:e,stack:i,...a}){let{getCurrentError:u}=a;if(IB({...a,environment:a.environment,path:Vx,value:!0,node:r}),r.expression==null)i.push(void 0);else{let d=e.expression(r.expression,a);if(u()!=null)return;i.push(d)}}function Nkn({node:r,evaluate:e,...i}){for(let a of r.declarations)if(e.declaration(a,i),i.getCurrentError()!=null)return}function Smr({node:r,...e}){Nkn({node:r.declarationList,...e})}function xmr(r){var e,i;let{node:a,environment:u,evaluate:d,reporting:h,typescript:b,throwError:x,getCurrentError:w}=r,L=d.expression(a.operand,r);if(w()==null)switch(a.operator){case b.SyntaxKind.PlusToken:return+L;case b.SyntaxKind.MinusToken:return-L;case b.SyntaxKind.TildeToken:return~L;case b.SyntaxKind.ExclamationToken:return!L;case b.SyntaxKind.PlusPlusToken:{if(!b.isIdentifier(a.operand)&&!(!((e=b.isPrivateIdentifier)===null||e===void 0)&&e.call(b,a.operand)))return x(new mR({node:a.operand,environment:u,typescript:b}));let q=MYe(u,a.operand.text),te=++q[a.operand.text];return h.reportBindings!=null&&h.reportBindings({path:a.operand.text,value:te,node:a}),te}case b.SyntaxKind.MinusMinusToken:{if(!b.isIdentifier(a.operand)&&!(!((i=b.isPrivateIdentifier)===null||i===void 0)&&i.call(b,a.operand)))return x(new mR({node:a.operand,environment:u,typescript:b}));let q=MYe(u,a.operand.text),te=--q[a.operand.text];return h.reportBindings!=null&&h.reportBindings({path:a.operand.text,value:te,node:a}),te}}}function Emr(r){let{evaluate:e,node:i,statementTraversalStack:a,environment:u,typescript:d,getCurrentError:h}=r,b=e.expression(i.expression,r);if(b==null||h()!=null)return;let x=i.questionDotToken!=null&&b==null?void 0:b[i.name.text];return typeof x=="function"&&a.includes(d.SyntaxKind.CallExpression)?{[vzt]:0,invoke:(w,...L)=>abt(i,r,w!=null&&!Czt(x,u)?b[i.name.text].call(w,...L):b[i.name.text](...L))}:x}function Dmr(r){let{node:e,environment:i,evaluate:a,statementTraversalStack:u,typescript:d,getCurrentError:h}=r,b=a.expression(e.expression,r);if(h()!=null)return;let x=a.expression(e.argumentExpression,r);if(h()!=null)return;let w=e.questionDotToken!=null&&b==null?void 0:b[x];return typeof w=="function"&&u.includes(d.SyntaxKind.CallExpression)?{[vzt]:0,invoke:(L,...q)=>abt(e,r,L!=null&&!Czt(w,i)?b[x].call(L,...q):b[x](...q))}:w}function Tmr({node:r,evaluate:e,...i}){return e.expression(r.expression,i)}function Amr(r){let{node:e,environment:i,evaluate:a,stack:u,typescript:d,getCurrentError:h}=r,b=e.name==null?void 0:e.name.text,x=NQ(e,d.SyntaxKind.AsyncKeyword)?async function(...L){let q=i6(i,e),te={...r,environment:q};if(IB({...te,path:Vx,value:!1,newBinding:!0}),IB({...te,path:"arguments",value:arguments,newBinding:!0}),this!=null&&IB({...te,path:z7,value:this,newBinding:!0}),RQ({...r,node:e.parameters,environment:q},L),h()!=null)return;let me=e.getSourceFile();if(b!=null&&me.isDeclarationFile)return ebt(r)(...L);if(e.body!=null&&(a.statement(e.body,te),h()==null&&ST(e,q,!0,Vx)))return u.pop()}:function(...L){let q=i6(i,e),te={...r,environment:q};if(IB({...te,path:Vx,value:!1,newBinding:!0}),IB({...te,path:"arguments",value:arguments,newBinding:!0}),this!=null&&IB({...te,path:z7,value:this,newBinding:!0}),RQ({...te,node:e.parameters},L),h()!=null)return;let me=e.getSourceFile();if(b!=null&&me.isDeclarationFile)return ebt(r)(...L);if(e.body!=null&&(a.statement(e.body,te),h()==null&&ST(e,q,!0,Vx)))return u.pop()};b!=null&&IB({...r,path:b,value:x.bind(x)}),x.toString=()=>`[Function${b==null?"":`: ${b}`}]`,Object.setPrototypeOf(x,BI(e,i,"Function").literal),u.push(x)}function kmr({node:r,evaluate:e,...i}){let{getCurrentError:a}=i,u=e.expression(r.expression,i);if(a()==null){if(u){if(e.statement(r.thenStatement,i),a()!=null)return}else if(r.elseStatement!=null)return e.statement(r.elseStatement,i)}}function Imr({node:r,evaluate:e,stack:i,...a}){let u=e.expression(r.expression,a);a.getCurrentError()==null&&i.push(u)}function wmr({node:r,evaluate:e,...i}){let a="";a+=r.head.text;for(let u of r.templateSpans){let d=e.expression(u.expression,i);if(i.getCurrentError()!=null)return;a+=d,a+=u.literal.text}return a}function Pmr({node:r,evaluate:e,...i}){return e.expression(r.expression,i)}function Nmr(r){var e,i;let{evaluate:a,node:u,environment:d,typescript:h,throwError:b,reporting:x}=r;switch(a.expression(u.operand,r),u.operator){case h.SyntaxKind.PlusPlusToken:{if(!h.isIdentifier(u.operand)&&!(!((e=h.isPrivateIdentifier)===null||e===void 0)&&e.call(h,u.operand)))return b(new mR({node:u.operand,environment:d,typescript:h}));let w=MYe(d,u.operand.text)[u.operand.text]++;return x.reportBindings!=null&&x.reportBindings({path:u.operand.text,value:w,node:u}),w}case h.SyntaxKind.MinusMinusToken:{if(!h.isIdentifier(u.operand)&&!(!((i=h.isPrivateIdentifier)===null||i===void 0)&&i.call(h,u.operand)))return b(new mR({node:u.operand,environment:d,typescript:h}));let w=MYe(d,u.operand.text)[u.operand.text]--;return x.reportBindings!=null&&x.reportBindings({path:u.operand.text,value:w,node:u}),w}}}function Rmr({node:r,evaluate:e,...i}){let{getCurrentError:a}=i,u=[];if(r.arguments!=null){for(let h=0;h<r.arguments.length;h++)if(u[h]=e.expression(r.arguments[h],i),a()!=null)return}let d=e.expression(r.expression,i);if(a()==null)return typeof d=="function"&&IB({...i,node:r,path:"[[NewTarget]]",value:d,newBinding:!0}),abt(r,i,new d(...u))}function Lmr({node:r,evaluate:e,...i}){return e.expression(r.expression,i)}function Mmr({node:r,evaluate:e,...i}){return e.expression(r.expression,i)}function Fmr({node:r,evaluate:e,...i}){let a=e.expression(r.expression,i);i.getCurrentError()==null&&e.nodeWithArgument(r.caseBlock,a,i)}var _zt=class extends j7{constructor({message:e="It is not possible to evaluate an async iterator'",typescript:i,environment:a}){var u,d;super({message:e,environment:a,node:(d=(u=i.factory)===null||u===void 0?void 0:u.createEmptyStatement())!==null&&d!==void 0?d:i.createEmptyStatement()})}};function Omr(r){let{node:e,environment:i,evaluate:a,logger:u,typescript:d,throwError:h,getCurrentError:b}=r,x=a.expression(e.expression,r);if(b()==null){if(d.isVariableDeclarationList(e.initializer)){if(e.initializer.declarations.length>1)return h(new mR({node:e.initializer.declarations[1],environment:i,typescript:d}))}else return h(new mR({node:e.initializer,environment:i,typescript:d}));if(e.awaitModifier!=null)return h(new _zt({typescript:d,environment:i}));for(let w of x){let L=i6(i,e),q={...r,environment:L};if(IB({...q,path:uF,value:!1,newBinding:!0}),IB({...q,path:G7,value:!1,newBinding:!0}),a.nodeWithArgument(e.initializer.declarations[0],w,q),b()!=null||(a.statement(e.statement,q),b()!=null))return;if(ST(e,L,!0,uF)){u.logBreak(e,d);break}else if(ST(e,L,!0,G7)){u.logContinue(e,d);continue}else if(ST(e,L,!0,Vx)){u.logReturn(e,d);return}}}}function Wmr({node:r,environment:e}){let i=BI(r,e,z7);return i?.literal}function Gmr(r){IB({...r,path:uF,value:!0})}function zmr(r){IB({...r,path:G7,value:!0})}function jmr({environment:r,evaluate:e,typescript:i,...a}){let{node:u,getCurrentError:d}=a,h=i6(r,u),b={...a,environment:h};if(u.initializer!==void 0){if(i.isVariableDeclarationList(u.initializer)){for(let x of u.initializer.declarations)if(e.declaration(x,b),d()!=null)return}else if(e.expression(u.initializer,b),d()!=null)return}for(;;){let x=i6(h,u),w={...a,environment:x};if(IB({...w,path:uF,value:!1,newBinding:!0}),IB({...w,path:G7,value:!1,newBinding:!0}),!(u.condition==null?!0:e.expression(u.condition,b))||d()!=null||(e.statement(u.statement,w),d()!=null))return;if(ST(u,x,!0,uF))break;if(ST(u,x,!0,Vx))return;if(u.incrementor!=null){if(e.expression(u.incrementor,b),d()!=null)return}else if(ST(u,x,!0,G7))continue}}function Vmr(r){let{node:e,environment:i,evaluate:a,logger:u,typescript:d,getCurrentError:h}=r,b=a.expression(e.expression,r);if(h()==null)for(;b;){let x=i6(i,e),w={...r,environment:x};if(IB({...w,path:uF,value:!1,newBinding:!0}),IB({...w,path:G7,value:!1,newBinding:!0}),a.statement(e.statement,w),h()!=null)return;if(ST(e,x,!0,uF)){u.logBreak(e,d);break}else if(ST(e,x,!0,Vx)){u.logReturn(e,d);return}if(b=a.expression(e.expression,r),h()!=null)return;if(ST(e,x,!0,G7)){u.logContinue(e,d);continue}}}function Umr(r){let{node:e,environment:i,evaluate:a,logger:u,typescript:d,throwError:h,getCurrentError:b}=r,x=a.expression(e.expression,r);if(b()==null){if(d.isVariableDeclarationList(e.initializer)){if(e.initializer.declarations.length>1)return h(new mR({node:e.initializer.declarations[1],environment:i,typescript:d}))}else return h(new mR({node:e.initializer,environment:i,typescript:d}));for(let w in x){let L=i6(i,e),q={...r,environment:L};if(IB({...q,path:uF,value:!1,newBinding:!0}),IB({...q,path:G7,value:!1,newBinding:!0}),a.nodeWithArgument(e.initializer.declarations[0],w,q),b()!=null||(a.statement(e.statement,q),b()!=null))return;if(ST(e,L,!0,uF)){u.logBreak(e,d);break}else if(ST(e,L,!0,G7)){u.logContinue(e,d);continue}else if(ST(e,L,!0,Vx)){u.logReturn(e,d);return}}}}function Hmr(r){let{node:e,environment:i,evaluate:a,stack:u,typescript:d,getCurrentError:h}=r,b=e.name==null?void 0:e.name.text,x=NQ(e,d.SyntaxKind.AsyncKeyword)?async function(...L){let q=i6(i,e),te={...r,environment:q};if(IB({...te,path:Vx,value:!1,newBinding:!0}),IB({...te,path:"arguments",value:arguments,newBinding:!0}),this!=null&&IB({...te,path:z7,value:this,newBinding:!0}),RQ({...te,node:e.parameters},L),!(e.body==null||h()!=null)&&(a.statement(e.body,te),h()==null&&ST(e,q,!0,Vx)))return u.pop()}:function(...L){let q=i6(i,e),te={...r,environment:q};if(IB({...te,path:Vx,value:!1,newBinding:!0}),IB({...te,path:"arguments",value:arguments,newBinding:!0}),this!=null&&IB({...te,path:z7,value:this,newBinding:!0}),RQ({...te,node:e.parameters},L),!(e.body==null||h()!=null)&&(a.statement(e.body,te),h()==null&&ST(e,q,!0,Vx)))return u.pop()};return b!=null&&IB({...r,path:b,value:x.bind(x)}),x.toString=()=>`[Function${b==null?"":`: ${b}`}]`,Object.setPrototypeOf(x,BI(e,i,"Function").literal),x}var hzt=class extends j7{constructor({node:e,environment:i,message:a="Missing catch or finally after try"}){super({node:e,environment:i,message:a})}};function Jmr(r){let{node:e,evaluate:i,environment:a,throwError:u}=r,d,h=()=>{try{return i.statement(e.tryBlock,{...r,throwError:w=>(d=w,w),getCurrentError:()=>d})}catch(w){d=w}},b=w=>{i.nodeWithArgument(e.catchClause,w,r)},x=()=>{let w;i.statement(e.finallyBlock,{...r,throwError:L=>(w=L,r.throwError(L),L),getCurrentError:()=>w})};if(e.catchClause==null&&e.finallyBlock==null)return u(new hzt({node:e,environment:a}));e.catchClause!=null&&e.finallyBlock==null?(h(),d!=null&&b(d)):e.catchClause!=null&&e.finallyBlock!=null?(h(),d!=null&&b(d),x()):e.catchClause==null&&e.finallyBlock!=null&&(h(),d!=null&&u(d),x())}function Rkn({name:r,extendedType:e,ctor:i=()=>{}}){return e==null?new Function("ctor",`return class ${r??""} {constructor () {const ctorReturnValue = ctor.call(this, ...arguments); if (ctorReturnValue != null) return ctorReturnValue;}}`)(i):new Function("extendedType","ctor",`return class ${r??""} extends extendedType {constructor () {super(...arguments); const ctorReturnValue = ctor.call(this, ...arguments); if (ctorReturnValue != null) return ctorReturnValue;}}`)(e,i)}function FYe(r,e){return"canHaveDecorators"in e?e.canHaveDecorators(r):!0}function OYe(r,e){var i;if("getDecorators"in e)return e.getDecorators(r);{let a="decorators"in r&&Array.isArray(r.decorators)?r.decorators:void 0,u=(i=r.modifiers)===null||i===void 0?void 0:i.filter(d=>"expression"in d);return[...a??[],...u??[]]}}function qmr(r){var e;let{node:i,evaluate:a,stack:u,logger:d,typescript:h,getCurrentError:b}=r,x,w=i.members.find(h.isConstructorDeclaration),L=i.members.filter(Ee=>!h.isConstructorDeclaration(Ee)),q;if(w!=null){if(a.declaration(w,r),b()!=null)return;q=u.pop()}if(i.heritageClauses!=null){let Ee=i.heritageClauses.find(ke=>ke.token===h.SyntaxKind.ExtendsKeyword);if(Ee!=null){let[ke]=Ee.types;if(ke!=null&&(x=a.expression(ke.expression,r),b()!=null))return}}let te=i.name==null?void 0:i.name.text,me=Rkn({name:te,extendedType:x,ctor:q});if(FYe(i,h))for(let Ee of(e=OYe(i,h))!==null&&e!==void 0?e:[]){if(a.nodeWithArgument(Ee,[me],r),b()!=null)return;me=u.pop()}me.toString=()=>`[Class${te==null?"":`: ${te}`}]`,te!=null&&IB({...r,path:te,value:me,newBinding:!0});for(let Ee of L)if(a.nodeWithArgument(Ee,NQ(Ee,h.SyntaxKind.StaticKeyword)?me:me.prototype,r),b()!=null)return;d.logHeritage(me),u.push(me),d.logStack(u)}function Kmr(r){let{node:e,environment:i,evaluate:a,stack:u,getCurrentError:d}=r;function h(...b){let x=i6(i,e),w={...r,environment:x};if(IB({...w,path:Vx,value:!1,newBinding:!0}),IB({...w,path:"arguments",value:arguments,newBinding:!0}),this!=null&&IB({...w,path:z7,value:this,newBinding:!0}),RQ({...w,node:e.parameters},b,this),!(e.body==null||d()!=null)&&(a.statement(e.body,w),d()==null&&ST(e,x,!0,Vx)))return u.pop()}h.toString=()=>"[Function: constructor]",u.push(h)}function Xmr({node:r,environment:e}){let i=BI(r,e,T1e);return i?.literal}function Ymr({node:r,evaluate:e,...i}){return e.expression(r.expression,i)}function Qmr(r){var e;let{node:i,evaluate:a,stack:u,logger:d,typescript:h,getCurrentError:b}=r,x,w=i.members.find(h.isConstructorDeclaration),L=i.members.filter(Ee=>!h.isConstructorDeclaration(Ee)),q;if(w!=null){if(a.declaration(w,r),b()!=null)return;q=u.pop()}if(i.heritageClauses!=null){let Ee=i.heritageClauses.find(ke=>ke.token===h.SyntaxKind.ExtendsKeyword);if(Ee!=null){let[ke]=Ee.types;if(ke!=null&&(x=a.expression(ke.expression,r),b()!=null))return}}let te=i.name==null?void 0:i.name.text,me=Rkn({name:te,extendedType:x,ctor:q});if(FYe(i,h))for(let Ee of(e=OYe(i,h))!==null&&e!==void 0?e:[]){if(a.nodeWithArgument(Ee,[me],r),b()!=null)return;me=u.pop()}me.toString=()=>`[Class${te==null?"":`: ${te}`}]`,te!=null&&IB({...r,path:te,value:me,newBinding:!0});for(let Ee of L)if(a.nodeWithArgument(Ee,NQ(Ee,h.SyntaxKind.StaticKeyword)?me:me.prototype,r),b()!=null)return;return d.logHeritage(me),me}function $mr(r){return null}function Zmr({node:r,evaluate:e,...i}){e.expression(r.expression,i)}function e_r({evaluate:r,node:e,...i}){let a=r.expression(e.expression,i);if(i.getCurrentError()==null)return typeof a}function t_r({node:r,environment:e}){let i=BI(r,e,"BigInt").literal;return i(r.text.endsWith("n")?r.text.slice(0,-1):r.text)}function n_r(r){let{node:e,environment:i,evaluate:a,stack:u,getCurrentError:d}=r,h=BI(e,i,"Object").literal,b=h.create(h.prototype),x=e.name.text;IB({...r,path:x,value:b,newBinding:!0});for(let w of e.members)if(a.nodeWithArgument(w,b,r),d()!=null)return;b.toString=()=>`[Enum: ${x}]`,u.push(b)}function r_r(r){let{node:e,evaluate:i,environment:a,typeChecker:u,stack:d,getCurrentError:h}=r,b=BI(e,a,"Object").literal,x=b.create(b.prototype),w=u?.getSymbolAtLocation(e);if(w!=null){let L=w.exports;if(L!=null)for(let[q,te]of L.entries()){let me=te.valueDeclaration;if(me==null||(i.declaration(me,r),h()!=null))return;x[q]=d.pop()}}d.push(x)}function i_r(r){let{getCurrentError:e,stack:i}=r,a=ebt(r);e()==null&&i.push(a)}function o_r({node:r,evaluate:e,...i}){r.importClause!=null&&e.declaration(r.importClause,i)}function s_r({node:r,evaluate:e,...i}){let{getCurrentError:a,throwError:u}=i,d=e.expression(r.expression,i);if(a()==null)return u(d)}var Bzt=class extends Dpe{constructor({duration:e,environment:i,node:a,message:u=`Maximum operation duration exceeded: ${e}`}){super({violation:"maxOpDuration",message:u,node:a,environment:i}),this.duration=e}};async function a_r(r){let{node:e,environment:i,evaluate:a,policy:u,throwError:d,getCurrentError:h}=r,b=u.maxOpDuration===1/0?void 0:setTimeout(()=>{d(new Bzt({duration:u.maxOpDuration,node:e,environment:i}))},u.maxOpDuration),x=a.expression(e.expression,r);if(b!=null&&clearTimeout(b),h()==null)return x}function l_r({node:r,evaluate:e,...i}){let{getCurrentError:a}=i,u=e.expression(r.condition,i);if(a()==null)return u?e.expression(r.whenTrue,i):e.expression(r.whenFalse,i)}function cbt(r,e){let i=r;for(;i!=null&&!e.isSourceFile(i);){if(NQ(i,e.SyntaxKind.StaticKeyword))return!0;i=i.parent}return!1}function Lkn(r,e){var i,a;let{node:u,environment:d,evaluate:h,stack:b,typescript:x,getCurrentError:w}=r,L=h.nodeWithValue(u.name,r);if(w()!=null)return;let q=cbt(u,x);if(e==null){let me;if(x.isClassLike(u.parent)){if(h.declaration(u.parent,r),w()!=null)return;me=b.pop()}else if(me=h.expression(u.parent,r),w()!=null)return;b.push(q?me[L]:me.prototype[L]);return}let te=NQ(u,x.SyntaxKind.AsyncKeyword)?async function(...Ee){let ke=i6(d,u),Ue={...r,environment:ke};if(IB({...Ue,path:Vx,value:!1,newBinding:!0}),IB({...Ue,path:"arguments",value:arguments,newBinding:!0}),this!=null&&(IB({...Ue,path:z7,value:this,newBinding:!0}),IB({...Ue,path:T1e,value:q?Object.getPrototypeOf(this):Object.getPrototypeOf(this.constructor).prototype,newBinding:!0})),RQ({...r,node:u.parameters,environment:ke},Ee),!(u.body==null||w()!=null)&&(h.statement(u.body,Ue),w()==null&&ST(u,ke,!0,Vx)))return b.pop()}:function(...Ee){let ke=i6(d,u),Ue={...r,environment:ke};if(IB({...Ue,path:Vx,value:!1,newBinding:!0}),IB({...Ue,path:"arguments",value:arguments,newBinding:!0}),this!=null&&(IB({...Ue,path:z7,value:this,newBinding:!0}),IB({...Ue,path:T1e,value:q?Object.getPrototypeOf(this):Object.getPrototypeOf(this.constructor).prototype,newBinding:!0})),RQ({...r,node:u.parameters,environment:ke},Ee),!(u.body==null||w()!=null)&&(h.statement(u.body,Ue),w()==null&&ST(u,ke,!0,Vx)))return b.pop()};if(te.toString=()=>`[Method: ${L}]`,Object.setPrototypeOf(te,BI(u,d,"Function").literal),e[L]=te,FYe(u,x))for(let me of(i=OYe(u,x))!==null&&i!==void 0?i:[]){if(h.nodeWithArgument(me,[e,L],r),w()!=null)return;b.pop()}if(u.parameters!=null){let me=u.parameters.filter(Ee=>!(x.isIdentifier(Ee.name)&&Ee.name.text==="this"));for(let Ee=0;Ee<me.length;Ee++){let ke=me[Ee];if(FYe(ke,x))for(let Ue of(a=OYe(ke,x))!==null&&a!==void 0?a:[]){if(h.nodeWithArgument(Ue,[e,L,Ee],r),w()!=null)return;b.pop()}}}}function Mkn({node:r,evaluate:e,typescript:i,stack:a,...u},d){var h;let{getCurrentError:b}=u,x=e.nodeWithValue(r.name,u);if(b()==null){if(d==null){if(e.declaration(r.parent,u),b()!=null)return;let w=a.pop(),L=cbt(r,i);a.push(L?w[x]:w.prototype[x]);return}if(d[x]=r.initializer==null?void 0:e.expression(r.initializer,u),b()==null&&FYe(r,i))for(let w of(h=OYe(r,i))!==null&&h!==void 0?h:[]){if(e.nodeWithArgument(w,[d,x],u),b()!=null)return;a.pop()}}}function Fkn(r,e){let{node:i,environment:a,evaluate:u,stack:d,typescript:h,getCurrentError:b}=r;if(h.isTypeLiteralNode(i.parent)||h.isInterfaceDeclaration(i.parent))return;let x=u.nodeWithValue(i.name,r);if(b()!=null)return;let w=cbt(i,h);if(e==null){let te;if(h.isClassLike(i.parent)){if(u.declaration(i.parent,r),b()!=null)return;te=d.pop()}else if(te=u.expression(i.parent,r),b()!=null)return;d.push(w?te[x]:te.prototype[x]);return}function L(){let te=i6(a,i),me={...r,environment:te};if(IB({...me,path:Vx,value:!1,newBinding:!0}),IB({...me,path:"arguments",value:arguments,newBinding:!0}),this!=null&&(IB({...me,path:z7,value:this,newBinding:!0}),IB({...me,path:T1e,value:w?Object.getPrototypeOf(this):Object.getPrototypeOf(this.constructor).prototype,newBinding:!0})),i.body!=null&&(u.statement(i.body,me),b()==null&&ST(i,te,!0,Vx)))return d.pop()}L.toString=()=>`[Get: ${x}]`;let q=Object.getOwnPropertyDescriptor(e,x);q==null&&(q={}),Object.defineProperty(e,x,{...q,configurable:!0,get:L})}function c_r({node:r,evaluate:e,...i}){let{getCurrentError:a}=i;if(!(r.name!=null&&(e.declaration(r.name,i),a()!=null))&&r.namedBindings!=null)if("elements"in r.namedBindings){for(let u of r.namedBindings.elements)if(e.declaration(u,i),a()!=null)return}else e.declaration(r.namedBindings.name,i)}function u_r({node:r,evaluate:e,...i}){var a;e.declaration((a=r.propertyName)!==null&&a!==void 0?a:r.name,i)}function f_r({node:r,evaluate:e,...i}){e.declaration(r.name,i)}var obt=class extends j7{constructor({node:e,environment:i,message:a="'SyntaxError'"}){super({message:a,environment:i,node:e})}};function p_r({node:r,typescript:e,throwError:i,environment:a}){var u,d;switch(r.keywordToken){case e.SyntaxKind.NewKeyword:switch(r.name.text){case"target":return(u=BI(r,a,"[[NewTarget]]"))===null||u===void 0?void 0:u.literal;default:return i(new obt({node:r.name,environment:a}))}case e.SyntaxKind.ImportKeyword:switch(r.name.text){case"meta":return(d=BI(r,a,"import.meta"))===null||d===void 0?void 0:d.literal;default:return i(new obt({node:r.name,environment:a}))}}}function Szt({node:r,...e}){var i,a,u,d,h,b;return e.typescript.isIdentifier(r)?_kn({node:r,...e}):!((a=(i=e.typescript).isPrivateIdentifier)===null||a===void 0)&&a.call(i,r)?_kn({node:r,...e}):e.typescript.isStringLiteralLike(r)?mmr({node:r,...e}):e.typescript.isNumericLiteral(r)?_mr({node:r,...e}):Akn(r,e.typescript)?hmr({node:r,...e}):e.typescript.isForOfStatement(r)?Omr({node:r,...e}):e.typescript.isForInStatement(r)?Umr({node:r,...e}):e.typescript.isForStatement(r)?jmr({node:r,...e}):e.typescript.isWhileStatement(r)?Vmr({node:r,...e}):e.typescript.isRegularExpressionLiteral(r)?Bmr({node:r,...e}):e.typescript.isObjectLiteralExpression(r)?gmr({node:r,...e}):e.typescript.isAwaitExpression(r)?a_r({node:r,...e}):!((d=(u=e.typescript).isTypeAssertionExpression)===null||d===void 0)&&d.call(u,r)||!("isTypeAssertionExpression"in e.typescript)&&e.typescript.isTypeAssertion(r)?Pmr({node:r,...e}):e.typescript.isTemplateExpression(r)?wmr({node:r,...e}):e.typescript.isMethodDeclaration(r)?Lkn({node:r,...e}):e.typescript.isPropertyDeclaration(r)?Mkn({node:r,...e}):e.typescript.isGetAccessorDeclaration(r)?Fkn({node:r,...e}):e.typescript.isArrayLiteralExpression(r)?Cmr({node:r,...e}):e.typescript.isSourceFile(r)?r_r({node:r,...e}):e.typescript.isModuleDeclaration(r)?i_r({node:r,...e}):e.typescript.isPrefixUnaryExpression(r)?xmr({node:r,...e}):e.typescript.isPostfixUnaryExpression(r)?Nmr({node:r,...e}):e.typescript.isVariableStatement(r)?Smr({node:r,...e}):e.typescript.isComputedPropertyName(r)?Tmr({node:r,...e}):e.typescript.isVariableDeclarationList(r)?Nkn({node:r,...e}):e.typescript.isImportDeclaration(r)?o_r({node:r,...e}):e.typescript.isImportClause(r)?c_r({node:r,...e}):e.typescript.isImportSpecifier(r)?u_r({node:r,...e}):e.typescript.isNamespaceImport(r)?f_r({node:r,...e}):e.typescript.isImportEqualsDeclaration(r)?({...e},void 0):e.typescript.isMetaProperty(r)?p_r({node:r,...e}):e.typescript.isThrowStatement(r)?s_r({node:r,...e}):e.typescript.isVariableDeclaration(r)?Ikn({node:r,...e}):e.typescript.isEnumDeclaration(r)?n_r({node:r,...e}):e.typescript.isConstructorDeclaration(r)?Kmr({node:r,...e}):e.typescript.isBinaryExpression(r)?cmr({node:r,...e}):e.typescript.isParenthesizedExpression(r)?pmr({node:r,...e}):e.typescript.isExpressionStatement(r)?Imr({node:r,...e}):e.typescript.isArrowFunction(r)?dmr({node:r,...e}):e.typescript.isFunctionDeclaration(r)?Amr({node:r,...e}):e.typescript.isFunctionExpression(r)?Hmr({node:r,...e}):e.typescript.isClassDeclaration(r)?qmr({node:r,...e}):e.typescript.isIfStatement(r)?kmr({node:r,...e}):e.typescript.isConditionalExpression(r)?l_r({node:r,...e}):e.typescript.isPropertyAccessExpression(r)?Emr({node:r,...e}):e.typescript.isElementAccessExpression(r)?Dmr({node:r,...e}):e.typescript.isCallExpression(r)?fmr({node:r,...e}):e.typescript.isSwitchStatement(r)?Fmr({node:r,...e}):e.typescript.isNewExpression(r)?Rmr({node:r,...e}):e.typescript.isNonNullExpression(r)?Lmr({node:r,...e}):e.typescript.isAsExpression(r)?Mmr({node:r,...e}):e.typescript.isBlock(r)?vmr({node:r,...e}):e.typescript.isClassExpression(r)?Qmr({node:r,...e}):e.typescript.isSpreadElement(r)?Ymr({node:r,...e}):e.typescript.isTryStatement(r)?Jmr({node:r,...e}):e.typescript.isReturnStatement(r)?bmr({node:r,...e}):wkn(r,e.typescript)?Wmr({node:r,...e}):e.typescript.isVoidExpression(r)?Zmr({node:r,...e}):e.typescript.isTypeOfExpression(r)?e_r({node:r,...e}):lbt(r,e.typescript)?Xmr({node:r,...e}):kkn(r,e.typescript)?$mr({node:r,...e}):!((b=(h=e.typescript).isBigIntLiteral)===null||b===void 0)&&b.call(h,r)?t_r({node:r,...e}):e.typescript.isBreakStatement(r)?Gmr({node:r,...e}):e.typescript.isContinueStatement(r)?zmr({node:r,...e}):e.typescript.isTypeAliasDeclaration(r)?({...e},void 0):e.typescript.isInterfaceDeclaration(r)?({...e},void 0):e.getCurrentError()!=null?void 0:e.throwError(new mR({node:r,environment:e.environment,typescript:e.typescript}))}function xzt(){return[]}function d_r(r){r.logger.logNode(r.node,r.typescript),r.statementTraversalStack=xzt(),Szt(r)}function m_r(r){let{getCurrentError:e}=r;r.logger.logNode(r.node,r.typescript);let i=Szt(r);if(e()==null)return r.reporting.reportIntermediateResults!=null&&r.reporting.reportIntermediateResults({node:r.node,value:i}),i}function __r(r){r.logger.logNode(r.node,r.typescript),Szt(r)}function h_r({node:r,evaluate:e,typescript:i,logger:a,...u},d){var h;i.isIdentifier(r)||!((h=i.isPrivateIdentifier)===null||h===void 0)&&h.call(i,r)?(IB({...u,node:r,path:r.text,value:d,newBinding:!0}),a.logBinding(r.text,d,"evaluateBindingName")):e.nodeWithArgument(r,d,u)}function B_r(r,e){let{node:i,environment:a,evaluate:u,typescript:d,getCurrentError:h}=r,b=u.nodeWithValue(i.name,r);if(h()!=null)return;let x=cbt(i,d);function w(...q){let te=i6(a,i),me={...r,environment:te};IB({...me,path:Vx,value:!1,newBinding:!0}),IB({...me,path:"arguments",value:arguments,newBinding:!0}),this!=null&&(IB({...me,path:z7,value:this,newBinding:!0}),IB({...me,path:T1e,value:x?Object.getPrototypeOf(this):Object.getPrototypeOf(this.constructor).prototype,newBinding:!0})),RQ({...me,node:i.parameters},q),!(i.body==null||h()!=null)&&(u.statement(i.body,me),h()==null)}w.toString=()=>`[Set: ${b}]`;let L=Object.getOwnPropertyDescriptor(e,b);L==null&&(L={}),Object.defineProperty(e,b,{...L,configurable:!0,set:w})}function g_r({node:r,evaluate:e,...i},a){let u=e.expression(r.initializer,i);if(i.getCurrentError()!=null)return;let d=e.nodeWithValue(r.name,i);i.getCurrentError()==null&&(a[d]=u)}function y_r({node:r,evaluate:e,logger:i,...a},u){let d=u!=null||r.initializer===void 0?u:e.expression(r.initializer,a);a.getCurrentError()==null&&(i.logBinding(r.name.getText(),d,"evaluateParameterDeclaration"),e.nodeWithArgument(r.name,d,a))}function C_r({node:r,evaluate:e,...i},a){let{getCurrentError:u}=i,d=r.name.text,h=e.expression(r.name,i);u()==null&&(a[d]=h)}function v_r({node:r,evaluate:e,...i},a){let u=e.expression(r.expression,i);i.getCurrentError()==null&&Object.assign(a,u)}function b_r({node:r,evaluate:e,...i},a){let u=a[Symbol.iterator](),d=0;for(;d<r.elements.length;){let{done:h,value:b}=u.next();if(h===!0)break;if(e.nodeWithArgument(r.elements[d++],b,i),i.getCurrentError()!=null)return}}function S_r(r,e){var i,a,u,d;let{node:h,evaluate:b,logger:x,typescript:w,getCurrentError:L}=r,q=h.initializer==null?void 0:b.expression(h.initializer,r);if(L()==null){if((w.isIdentifier(h.name)||!((i=w.isPrivateIdentifier)===null||i===void 0)&&i.call(w,h.name))&&h.propertyName!=null){let te=h.name.text,me=b.nodeWithValue(h.propertyName,r);if(L()!=null)return;let Ee=w.isArrayBindingPattern(h.parent)?e:e[me];IB({...r,path:te,value:Ee??q,newBinding:!0})}else if((w.isIdentifier(h.name)||!((a=w.isPrivateIdentifier)===null||a===void 0)&&a.call(w,h.name))&&h.propertyName==null){let te=h.name.text,me=w.isArrayBindingPattern(h.parent)?e:e[te],Ee=me??q;x.logBinding(h.name.text,Ee),IB({...r,path:h.name.text,value:Ee,newBinding:!0})}else if(!w.isIdentifier(h.name)&&!(!((u=w.isPrivateIdentifier)===null||u===void 0)&&u.call(w,h.name))&&h.propertyName!=null){let te=b.nodeWithValue(h.propertyName,r);if(L()!=null)return;let me=w.isArrayBindingPattern(h.parent)?e:e[te],Ee=me??q;if(b.nodeWithArgument(h.name,Ee,r),L()!=null)return}else if(!w.isIdentifier(h.name)&&!(!((d=w.isPrivateIdentifier)===null||d===void 0)&&d.call(w,h.name))&&h.propertyName==null){let te=e??q;if(b.nodeWithArgument(h.name,te,r),L()!=null)return}}}function x_r({node:r,evaluate:e,...i},a){for(let u of r.elements)if(e.nodeWithArgument(u,a,i),i.getCurrentError()!=null)return}function E_r(r,e){let{node:i,evaluate:a,environment:u,getCurrentError:d}=r,h=i6(u,i),b={...r,environment:h};IB({...b,path:uF,value:!1,newBinding:!0});for(let x of i.clauses){if(a.nodeWithArgument(x,e,b),d()!=null)return;if(ST(i,h,!0,uF,G7,Vx))break}}function D_r({node:r,evaluate:e,...i},a){let{getCurrentError:u}=i;if(!(e.expression(r.expression,i)!==a||u()!=null))for(let h of r.statements){if(e.statement(h,i),u()!=null)return;if(ST(r,i.environment,!0,uF,G7,Vx))break}}function T_r(r){let{node:e,evaluate:i,environment:a,getCurrentError:u}=r;for(let d of e.statements){if(i.statement(d,r),u()!=null)return;if(ST(e,a,!0,uF,G7,Vx))break}}function A_r(r,e){let{node:i,evaluate:a,environment:u,getCurrentError:d}=r,h=i.variableDeclaration==null?u:i6(u,i),b={...r,environment:h};i.variableDeclaration!=null&&(a.nodeWithArgument(i.variableDeclaration,e,b),d()!=null)||a.statement(i.block,b)}function k_r(r,e,i,a){let u=arguments.length,d=u<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,i):a,h;for(let b=r.length-1;b>=0;b--)(h=r[b])&&(d=(u<3?h(d):u>3?h(e,i,d):h(e,i))||d);return u>3&&d&&Object.defineProperty(e,i,d),d}function I_r(r,e){return function(i,a){e(i,a,r)}}function w_r(r,[e,i,a]){let{node:u,evaluate:d,environment:h,throwError:b,stack:x,getCurrentError:w}=r,L=d.expression(u.expression,r);if(w()==null){if(typeof L!="function")return b(new rbt({node:u,environment:h,value:L,message:`${bzt(L)} is not a valid decorator implementation'`}));x.push(k_r([a!=null?I_r(a,L):L],e,i))}}function P_r(r,e){let{node:i,typeChecker:a,evaluate:u,getCurrentError:d}=r,h=a?.getConstantValue(i);if(h==null)if(i.initializer!=null){if(h=u.expression(i.initializer,r),d()!=null)return}else{let x=i.parent.members,w=x.findIndex(te=>te===i),L=x.slice(0,w),q=0;for(let te of[...L].reverse())if(q++,te.initializer!=null){let me=u.expression(te.initializer,r);if(d()!=null)return;if(typeof me=="number"){h=me+q;break}}h==null&&(h=w)}let b=u.nodeWithValue(i.name,r);d()==null&&(typeof h=="string"?e[b]=h:e[e[b]=h??0]=b)}function N_r(r,e){r.logger.logNode(r.node,r.typescript,"nodeWithArgument");let{node:i,...a}=r;if(a.typescript.isGetAccessorDeclaration(i))Fkn({node:i,...a},e);else if(a.typescript.isSetAccessorDeclaration(i))B_r({node:i,...a},e);else if(a.typescript.isPropertyAssignment(i))g_r({node:i,...a},e);else if(a.typescript.isPropertyDeclaration(i))Mkn({node:i,...a},e);else if(a.typescript.isParameter(i))y_r({node:i,...a},e);else if(a.typescript.isEnumMember(i))P_r({node:i,...a},e);else if(a.typescript.isShorthandPropertyAssignment(i))C_r({node:i,...a},e);else if(a.typescript.isDecorator(i))w_r({node:i,...a},e);else if(a.typescript.isSpreadAssignment(i))v_r({node:i,...a},e);else if(a.typescript.isMethodDeclaration(i))Lkn({node:i,...a},e);else if(a.typescript.isArrayBindingPattern(i))b_r({node:i,...a},e);else if(a.typescript.isBindingElement(i))S_r({node:i,...a},e);else if(a.typescript.isObjectBindingPattern(i))x_r({node:i,...a},e);else if(a.typescript.isVariableDeclaration(i))Ikn({node:i,...a},e);else if(a.typescript.isCaseBlock(i))E_r({node:i,...a},e);else if(a.typescript.isCaseClause(i))D_r({node:i,...a},e);else if(a.typescript.isDefaultClause(i))T_r({node:i,...a});else if(a.typescript.isCatchClause(i))A_r({node:i,...a},e);else if(a.typescript.isBindingName(i))h_r({node:i,...a},e);else if(a.typescript.isOmittedExpression(i))({...a});else{if(r.getCurrentError()!=null)return;a.throwError(new mR({node:i,environment:a.environment,typescript:a.typescript}))}}function R_r({node:r,evaluate:e,typescript:i,...a}){var u;return i.isComputedPropertyName(r)?e.expression(r.expression,a):i.isIdentifier(r)||!((u=i.isPrivateIdentifier)===null||u===void 0)&&u.call(i,r)?r.text:e.expression(r,a)}function L_r(r){r.logger.logNode(r.node,r.typescript,"nodeWithValue");let{node:e,...i}=r;return r.typescript.isPropertyName(e)||r.typescript.isPrivateIdentifier(e)?R_r({node:e,...i}):r.throwError(new mR({node:e,environment:r.environment,typescript:r.typescript}))}function M_r(r){let e=0,{policy:i,reporting:a}=r,u=(b,x)=>{let{environment:w=r.environment,statementTraversalStack:L=r.statementTraversalStack,getCurrentError:q=r.getCurrentError,throwError:te=r.throwError}=x??{},me=q();if(me!=null)return me;if(e++,e>=i.maxOps)return te(new dzt({ops:e,environment:w,node:b}));L.push(b.kind),a.reportTraversal!=null&&a.reportTraversal({node:b})},d={statement:(b,x)=>{let w={...x,statementTraversalStack:xzt()},L=u(b,w);if(!Ire(L))return d_r(h(b,w))},declaration:(b,x)=>{let w=u(b,x);if(!Ire(w))return __r(h(b,x))},nodeWithArgument:(b,x,w)=>{let L=u(b,w);if(!Ire(L))return N_r(h(b,w),x)},expression:(b,x)=>{let w=u(b,x);return Ire(w)?w:m_r(h(b,x))},nodeWithValue:(b,x)=>{let w=u(b,x);return Ire(w)?w:L_r(h(b,x))}};function h(b,x){return{...r,...x,evaluate:d,node:b}}return d}function LYe(r,e){return r===e.SyntaxKind.NumericLiteral?"NumericLiteral":e.SyntaxKind[r]}var gzt=class{constructor(e={}){let{logLevel:i=0,color:{info:a="white",verbose:u="yellow",debug:d="magenta"}={}}=typeof e=="object"?e:{logLevel:e};this.options={logLevel:i,color:{info:a,verbose:u,debug:d}}}logInfo(e){this.options.logLevel<1||console.log(this.formatWithColor(this.options.color.info,e))}logVerbose(e){this.options.logLevel<2||console.log(this.formatWithColor(this.options.color.verbose,e))}logDebug(e){this.options.logLevel<3||console.log(this.formatWithColor(this.options.color.debug,e))}logContinue(e,i){this.options.logLevel<3||console.log(`${this.formatWithColor(this.options.color.debug,"continue")} encountered within ${this.formatWithColor(this.options.color.debug,LYe(e.kind,i))}`)}logBreak(e,i){this.options.logLevel<3||console.log(`${this.formatWithColor(this.options.color.debug,"break")} encountered within ${this.formatWithColor(this.options.color.debug,LYe(e.kind,i))}`)}logReturn(e,i){this.options.logLevel<3||console.log(`${this.formatWithColor(this.options.color.debug,"return")} encountered within ${this.formatWithColor(this.options.color.debug,LYe(e.kind,i))}`)}logResult(e,i){this.options.logLevel<1||(i!=null?console.log(this.formatWithColor(this.options.color.info,`(intermediate value from context '${i}'):`),this.formatWithColor(this.options.color.info,"[RESULT]:"),this.compactValue(e)):console.log(this.formatWithColor(this.options.color.info,"[RESULT]:"),e))}logNode(e,i,a){if(this.options.logLevel<3)return;let u=`[${LYe(e.kind,i)}]`.padEnd(25);a!=null&&(u+=this.formatWithColor(this.options.color.debug,`(${a})`));let d=e.getText(),h=this.formatWithColor(this.options.color.debug,u),b=this.formatWithColor(this.options.color.debug,d);console.log(h),console.log(b)}logBinding(e,i,a){this.options.logLevel<2||console.log(`${a==null?"":this.formatWithColor(this.options.color.verbose,`(${a}): `)}${this.formatWithColor(this.options.color.verbose,`${e} ->`)}`,this.formatWithColor(this.options.color.verbose,this.compactValue(i)))}logHeritage(e){if(this.options.logLevel<3)return;let i=Object.getPrototypeOf(e);i.toString().includes("[Class")&&console.log(`${this.formatWithColor(this.options.color.debug,e.toString())} ${this.formatWithColor(this.options.color.debug,"extends")} ${this.formatWithColor(this.options.color.debug,i.toString())}`)}logStack(e){this.options.logLevel<3||console.log(this.formatWithColor(this.options.color.debug,`Stack value: ${bzt(this.compactValue(e.lastItem))}`))}logStatementTraversalStack(e,i){this.options.logLevel<3||console.log(this.formatWithColor(this.options.color.debug,`[${e.map(a=>LYe(a,i)).join(", ")}]`))}compactValue(e){return(0,Bkn.inspect)(e,{depth:0,colors:!0,compact:!0,maxArrayLength:5})}formatWithColor(e,i){return gkn.default[e](i)}};function F_r(r,e){var i;return e.isExpressionNode(r)||e.isIdentifier(r)||((i=e.isPrivateIdentifier)===null||i===void 0?void 0:i.call(e,r))}function O_r(r,e){return e.isStatementButNotDeclaration(r)}function W_r(){let r=[];return{[Symbol.iterator](){return r[Symbol.iterator]()},get length(){return r.length},get lastItem(){return r[r.length-1]},push(...e){return r.push(...e)},pop(){return r.pop()}}}function G_r(r,e,i){r.reportErrors!=null&&!r.reportedErrorSet.has(e)&&(r.reportedErrorSet.add(e),r.reportErrors({error:e,node:e instanceof j7?e.node:i}))}function z_r(){return new WeakSet}function Okn({typeChecker:r,node:e,environment:{preset:i="NODE",extra:a={}}={},moduleOverrides:u={},typescript:d=Odr,logLevel:h=0,policy:{deterministic:b=!1,network:x=!1,console:w=!1,maxOps:L=1/0,maxOpDuration:q=1/0,io:te={read:!0,write:!1},process:me={exit:!1,spawnChild:!1}}={},reporting:Ee={}}){let ke=lmr(e,d);if(ke.success)return ke;let Ue={deterministic:b,maxOps:L,maxOpDuration:q,network:x,console:w,io:{read:typeof te=="boolean"?te:te.read,write:typeof te=="boolean"?te:te.write},process:{exit:typeof me=="boolean"?me:me.exit,spawnChild:typeof me=="boolean"?me:me.spawnChild}},Fe={...Ee,reportedErrorSet:z_r()},We,Tt=new gzt(h),Vt=ur=>(G_r(Fe,ur,ur.node),We=ur,We),un=amr({inputEnvironment:{preset:i,extra:a},startingNode:e,policy:Ue}),Jn=W_r(),Dn=xzt(),mn={policy:Ue,typeChecker:r,typescript:d,logger:Tt,stack:Jn,moduleOverrides:u,reporting:Fe,throwError:Vt,environment:un,statementTraversalStack:Dn,getCurrentError:()=>We},qn=M_r(mn);try{let ur;return F_r(e,d)?ur=qn.expression(e,mn):O_r(e,d)?(qn.statement(e,mn),ur=Jn.pop()):Ckn(e,d)?(qn.declaration(e,mn),ur=Jn.pop()):Vt(new mR({node:e,environment:un,typescript:d})),We!=null?{success:!1,reason:We}:(Tt.logResult(ur),{success:!0,value:ur})}catch(ur){return Vt(ur),{success:!1,reason:ur}}}var Jkn=b_(NW(),1),V7=b_(NW(),1),GYe=b_(NW(),1);var I1e=b_(NW(),1);var FJ=b_(NW(),1);var Tzt=b_(NW(),1);var Azt=b_(NW(),1);var j_r=r=>{if(Array.isArray(r))return"array";if(typeof r=="string")return"string";if(typeof r=="number")return"number";if(typeof r=="boolean")return"boolean";if(r===null)return"null";if(r===void 0)return"undefined";throw new Error(`Unexpected literal type: ${r}`)},o6=r=>r!=null,Vkn=r=>r==null,Ukn=r=>r!=null&&typeof r=="object",V_r=r=>Array.isArray(r),U_r=r=>{let e=typeof r;return e==="string"||e==="number"||e==="boolean"||r===null||r===void 0},Ux=r=>FRe.Node.isAsExpression(r)||FRe.Node.isParenthesizedExpression(r)||FRe.Node.isNonNullExpression(r)||FRe.Node.isTypeAssertion(r)||FRe.Node.isSatisfiesExpression(r)?Ux(r.getExpression()):r,H_r=r=>r.getTagNameNode().getText(),J_r=/\s+/g,Hkn=r=>r.replaceAll(J_r," "),q_r=r=>{let e=r.getSourceFile(),[i,a]=[r.getStart(),r.getEnd()],u=e.getLineAndColumnAtPos(i),d=e.getLineAndColumnAtPos(a);return{startPosition:i,startLineNumber:u.line,startColumn:u.column,endPosition:a,endLineNumber:d.line,endColumn:d.column}},Ape=class{type;stack=[];node;constructor(r){this.type=r.type,this.node=r.node,this.stack=[...r.stack??[]]}getNode(){return this.node}getStack(){return this.stack}getRange=()=>q_r(this.node);toJSON(){let r=this.getRange();return{type:this.type,value:this.value,node:this.node.getKindName(),line:r.startLineNumber,column:r.startColumn}}toString(){return JSON.stringify(this.toJSON(),null,2)}},Wkn=class extends Ape{value;isEmpty;constructor(r){super(r),this.value=r.value,this.isEmpty=r.isEmpty}},K_r=class extends Ape{value;kind;constructor(r){super(r),this.value=r.value,this.kind=r.kind}},X_r=class extends Ape{value;spreadConditions;constructor(r){super(r),this.value=r.value}},Y_r=class extends Ape{value;constructor(r){super(r),this.value=r.value}},Q_r=class extends Ape{},$_r=class extends Ape{whenTrue;whenFalse;constructor(r){super(r),this.whenTrue=r.whenTrue,this.whenFalse=r.whenFalse}},Z_r=class extends Ape{},ORe=r=>r instanceof Ape;function Dzt(r,e,i){return Sg(r).when(Vkn,()=>{}).when(ORe,a=>a).when(Ukn,a=>hf.object(a,e,i)).when(V_r,a=>a.length===1?Dzt(a[0],e,i):a.map(u=>Dzt(u,e,i))).when(U_r,a=>hf.literal(a,e,i)).otherwise(()=>{})}var hf={object(r,e,i){return new Wkn({type:"object",value:r,node:e,stack:i})},literal(r,e,i){return new K_r({type:"literal",value:r,kind:j_r(r),node:e,stack:i})},map(r,e,i){return new X_r({type:"map",value:r,node:e,stack:i})},array(r,e,i){return new Y_r({type:"array",value:r,node:e,stack:i})},conditional(r,e,i,a){return new $_r({type:"conditional",whenTrue:r,whenFalse:e,node:i,stack:a})},from:Dzt,emptyObject:(r,e)=>new Wkn({type:"object",value:{},isEmpty:!0,node:r,stack:e}),emptyInitializer:(r,e)=>new Z_r({type:"empty-initializer",node:r,stack:e}),unresolvable:(r,e)=>new Q_r({type:"unresolvable",node:r,stack:e}),isObject(r){return r?.type==="object"},isLiteral(r){return r?.type==="literal"},isMap(r){return r?.type==="map"},isArray(r){return r?.type==="array"},isUnresolvable(r){return r?.type==="unresolvable"},isConditional(r){return r?.type==="conditional"},isEmptyInitializer(r){return r?.type==="empty-initializer"},isNumberLiteral(r){return hf.isLiteral(r)&&r.kind==="number"},hasValue:r=>hf.isObject(r)||hf.isLiteral(r)||hf.isMap(r)||hf.isArray(r)},qkn=Symbol("EvalError"),Ezt=new WeakMap,ehr=(r,e,i)=>{if(i.flags?.skipEvaluate||i.canEval&&!i.canEval?.(r,e))return;if(Ezt.has(r))return Ezt.get(r);let a=Okn({policy:{deterministic:!0,network:!1,console:!1,maxOps:Number.POSITIVE_INFINITY,maxOpDuration:1e3,io:{read:!0,write:!1},process:{exit:!1,spawnChild:!1}},...i.getEvaluateOptions?.(r,e),node:r.compilerNode,typescript:Jkn.ts}),u=a.success?a.value:qkn;return Ezt.set(r,u),u},ubt=(r,e,i)=>{let a=ehr(r,e,i);if(a!==qkn)return a};function thr(r){return V7.Node.isFunctionDeclaration(r)||V7.Node.isFunctionExpression(r)||V7.Node.isArrowFunction(r)||V7.Node.isSourceFile(r)}function nhr(r,e,i){let a=r.getParent();if(!a)return;let u=[],d;if((V7.Node.isVariableDeclaration(a)||V7.Node.isParameterDeclaration(a)||V7.Node.isFunctionDeclaration(a)||V7.Node.isBindingElement(a))&&a.getNameNode()==r)u.push(a),d=a;else if(V7.Node.isImportSpecifier(a)&&a.getNameNode()==r){if(i.flags?.skipTraverseFiles)return;let h=Zkn(a.getImportDeclaration());if(h){let b=[a,h],x=$kn(r.getText(),h,b,i);x&&(u.push(...b.concat(x)),d=x)}}return d&&e.push(...u),d}var rhr=r=>{let e=r.getParent();for(;e&&!thr(e);)e=e.getParent();return e};function mbt(r,e,i,a=new Map){let u=r,d,h=!1,b=0,x=[];do{if(u=rhr(u),b++,!u)return;let w=r.getText();if(u.forEachDescendant((L,q)=>{if(a.has(L)){q.skip(),x.push(...a.get(L));return}if(L!=r&&(a.set(L,x),V7.Node.isIdentifier(L)&&L.getText()==w)){let te=[L],me=nhr(L,te,i);if(me){if(V7.Node.isParameterDeclaration(me)){let Ee=me.getInitializer(),ke=me.getTypeNode();Ee?(x.push(...te.concat(Ee)),d=me):ke&&V7.Node.isTypeLiteral(ke)?(x.push(...te.concat(ke)),d=me):h=!0,q.stop();return}x.push(...te),d=me,q.stop()}}}),d||h)return d&&e.push(...x),d}while(u&&!V7.Node.isSourceFile(u)&&!d&&!h&&b<100)}var ihr=(r,e,i)=>Sg(r).when(I1e.Node.isPropertyAssignment,a=>{let u=Ux(a.getNameNode());return Sg(u).when(I1e.Node.isIdentifier,d=>hf.from(d.getText(),d,e)).when(I1e.Node.isComputedPropertyName,d=>{let h=d.getExpression();return e.push(h),MQ(h,e,i)}).when(Z3.or(I1e.Node.isStringLiteral,I1e.Node.isNumericLiteral),d=>hf.from(d.getLiteralText(),d,e)).otherwise(()=>{})}).when(I1e.Node.isShorthandPropertyAssignment,a=>{let u=a.getName();if(u!=null)return hf.from(u,a,e)}).otherwise(()=>{}),ohr=(r,e,i,a)=>{let u=r.getProperties();if(u.length===0)return hf.emptyObject(r,e);let d=[],h=[];u.forEach(w=>{let L=[...e];if(L.push(w),GYe.Node.isPropertyAssignment(w)||GYe.Node.isShorthandPropertyAssignment(w)){let q=ihr(w,L,i);if(!q)return;let te=q.value;if(Vkn(te)||a&&!a?.({propName:te,propNode:w}))return;if(GYe.Node.isShorthandPropertyAssignment(w)){let Ue=w.getNameNode();L.push(Ue);let Fe=rE(Ue,L,i);if(Fe){d.push([te.toString(),Fe]);return}}let me=w.getInitializer();if(!me)return;let Ee=Ux(me);L.push(Ee);let ke=rE(Ee,L,i);if(ke){d.push([te.toString(),ke]);return}}if(GYe.Node.isSpreadAssignment(w)){let q=Ux(w.getExpression());L.push(q);let te=rE(q,L,i,a);if(!te)return;if(hf.isObject(te)){Object.entries(te.value).forEach(([me,Ee])=>{let ke=hf.from(Ee,q,L);ke&&d.push([me,ke])});return}if(hf.isMap(te)){te.value.forEach((me,Ee)=>{d.push([Ee,me])});return}hf.isConditional(te)&&h.push(te)}});let b=new Map;d.forEach(([w,L])=>{b.has(w)&&b.delete(w),b.set(w,L)});let x=hf.map(b,r,e);return h.length>0&&(x.spreadConditions=h),x},kzt=new WeakMap,shr=r=>kzt.has(r),ahr=r=>kzt.get(r),lhr=r=>r===tm.ts.SyntaxKind.PlusToken,chr=r=>r===tm.ts.SyntaxKind.BarBarToken||r===tm.ts.SyntaxKind.QuestionQuestionToken||r===tm.ts.SyntaxKind.AmpersandAmpersandToken||r===tm.ts.SyntaxKind.EqualsEqualsEqualsToken||r===tm.ts.SyntaxKind.EqualsEqualsToken||r===tm.ts.SyntaxKind.ExclamationEqualsEqualsToken||r===tm.ts.SyntaxKind.ExclamationEqualsToken||r===tm.ts.SyntaxKind.GreaterThanEqualsToken||r===tm.ts.SyntaxKind.GreaterThanToken||r===tm.ts.SyntaxKind.LessThanEqualsToken||r===tm.ts.SyntaxKind.LessThanToken||r===tm.ts.SyntaxKind.InstanceOfKeyword||r===tm.ts.SyntaxKind.InKeyword,uhr=r=>r===tm.ts.SyntaxKind.AsteriskToken||r===tm.ts.SyntaxKind.SlashToken||r===tm.ts.SyntaxKind.PercentToken||r===tm.ts.SyntaxKind.AsteriskAsteriskToken||r===tm.ts.SyntaxKind.MinusToken,fhr=r=>r===tm.ts.SyntaxKind.BarBarToken||r===tm.ts.SyntaxKind.QuestionQuestionToken;function rE(r,e,i,a){let u=d=>(kzt.set(r,d),d);return Sg(r).when(shr,ahr).when(Z3.or(tm.Node.isStringLiteral,tm.Node.isNoSubstitutionTemplateLiteral),d=>{let h=Hkn(d.getLiteralValue());return u(hf.literal(h,d,e))}).when(tm.Node.isObjectLiteralExpression,d=>u(ohr(d,e,i,a))).when(Z3.or(tm.Node.isTrueLiteral,tm.Node.isFalseLiteral),d=>{let h=d.getLiteralValue();return u(hf.literal(h,d,e))}).when(tm.Node.isNumericLiteral,d=>{let h=d.getLiteralValue();return u(hf.literal(h,d,e))}).when(tm.Node.isNullLiteral,d=>u(hf.literal(null,d,e))).when(tm.Node.isPrefixUnaryExpression,d=>{let h=d.getOperand(),b=d.getOperatorToken(),x=rE(h,e,i);if(hf.isNumberLiteral(x))return u(b===tm.ts.SyntaxKind.MinusToken?hf.literal(-Number(x.value),d,e):x)}).when(tm.Node.isArrayLiteralExpression,d=>{let h=d.getElements().map(b=>rE(b,e,i)??u(hf.unresolvable(b,e)));return u(hf.array(h,d,e))}).when(tm.Node.isIdentifier,d=>Sg(d.getText()).with("undefined",()=>u(hf.literal(void 0,d,e))).otherwise(()=>u(Chr(d,e,i)))).when(tm.Node.isTemplateHead,d=>u(hf.literal(d.getLiteralText(),d,e))).when(tm.Node.isTemplateExpression,d=>{let h=Xkn(d,e,i);return u(hf.literal(h,d,e))}).when(tm.Node.isTaggedTemplateExpression,d=>u(rE(d.getTemplate(),e,i))).when(tm.Node.isElementAccessExpression,d=>u(pbt(d,e,i))).when(tm.Node.isPropertyAccessExpression,d=>u(dbt(d,[],e,i))).when(tm.Node.isConditionalExpression,d=>{if(i.flags?.skipConditions)return u(hf.unresolvable(d,e));let h=Ux(d.getCondition()),b=(tm.Node.isIdentifier(h)?rE(h,[],i):ubt(h,e,i))??hf.unresolvable(h,e),x=ORe(b)?b:hf.from(b,d,e);if(hf.isEmptyInitializer(x))return;let w=x.getStack().some(me=>tm.Node.isBindingElement(me));if(hf.isUnresolvable(x)||hf.isConditional(x)||w){let me=Ux(d.getWhenTrue()),Ee=Ux(d.getWhenFalse());return u(Gkn({whenTrueExpr:me,whenFalseExpr:Ee,node:d,stack:e},i))}if(x.value){let me=Ux(d.getWhenTrue()),Ee=[...e],ke=rE(me,Ee,i);return u(ke??hf.unresolvable(me,e))}let L=Ux(d.getWhenFalse()),q=[...e],te=rE(L,q,i);return u(te??hf.unresolvable(d,e))}).when(tm.Node.isCallExpression,d=>{let h=ubt(d,e,i);if(h)return u(hf.from(h,d,e))}).when(tm.Node.isBinaryExpression,d=>{let h=d.getOperatorToken().getKind();return Sg(h).when(lhr,()=>{let b=eIn(d,e,i)??ubt(d,e,i);if(b)return u(hf.from(b,d,e))}).when(chr,b=>{let x=Ux(d.getLeft()),w=Ux(d.getRight()),L={whenTrueExpr:x,whenFalseExpr:w,node:d,stack:e,canReturnWhenTrue:fhr(b)};return u(Gkn(L,i))}).when(uhr,()=>u(hf.literal(ubt(d,e,i),d,e))).otherwise(()=>{})}).otherwise(()=>{})}var Kkn=r=>{if(r&&ORe(r)&&hf.isLiteral(r)&&typeof r.value=="string")return r},phr=r=>{if(r&&ORe(r)&&hf.isLiteral(r)&&typeof r.value=="number")return r},dhr=(r,e,i)=>Kkn(rE(r,e,i)),MQ=(r,e,i)=>{let a=rE(r,e,i),u=Kkn(a);if(u)return u;let d=phr(a);if(d)return d},Gkn=({whenTrueExpr:r,whenFalseExpr:e,node:i,stack:a,canReturnWhenTrue:u},d)=>{let h=rE(r,a,d),b=rE(e,a,d);if(u&&h&&!hf.isUnresolvable(h))return h;if(tm.Node.isBinaryExpression(i)&&i.getOperatorToken().getKind()===tm.ts.SyntaxKind.AmpersandAmpersandToken&&h&&b&&hf.isLiteral(h)&&h.value===!0)return b;if(!h&&!b)return;if(h&&!b)return h;if(!h&&b)return b;let x=h,w=b;return hf.isLiteral(x)&&hf.isLiteral(w)&&x.value===w.value?x:hf.conditional(x,w,i,a)},mhr=(r,e,i,a)=>{let u=[...i];if(tm.Node.isPropertyAssignment(r)){let d=r.getNameNode();if(tm.Node.isIdentifier(d)&&d.getText()===e)return u.push(d),r;if(tm.Node.isStringLiteral(d)&&d.getLiteralText()===e)return u.push(d),d.getLiteralText();if(tm.Node.isComputedPropertyName(d)){let h=Ux(d.getExpression()),b=MQ(h,u,a);if(!b)return;if(String(b.value)===e)return u.push(d,h),r}}if(tm.Node.isShorthandPropertyAssignment(r)){let d=r.getNameNode();if(tm.Node.isIdentifier(d)&&d.getText()===e)return u.push(d),r}},Izt=(r,e,i,a)=>{let u=[...i],d=e.pop(),h=r.getProperty(d)??r.getProperties().find(b=>mhr(b,d,u,a));if(h){if(u.push(h),tm.Node.isPropertyAssignment(h)){let b=h.getInitializer();if(!b)return;if(tm.Node.isObjectLiteralExpression(b))return e.length>0?Izt(b,e,u,a):rE(b,u,a);let x=rE(b,u,a);if(x)return x}if(tm.Node.isShorthandPropertyAssignment(h)){let b=h.getNameNode();if(e.length>0)return LQ(b,e,u,a);let x=rE(b,u,a);if(x)return x}}},Xkn=(r,e,i)=>{let a=r.getHead(),u=r.getTemplateSpans(),d=dhr(a,e,i);if(!d)return;let h=u.map(b=>{let x=b.getExpression(),w=MQ(x,e,i);if(!w)return;let L=b.getLiteral();return w.value+L.getLiteralText()});if(h.every(o6))return d.value+h.join("")},Ykn=(r,e,i,a)=>{let u=r.getParent();if(!u)return;let d=u.getParent();if(d){if(tm.Node.isArrayBindingPattern(u)){let h=u.getChildIndex();if(Number.isNaN(h))return;if(tm.Node.isVariableDeclaration(d)){let b=d.getInitializer();if(!b)return;let x=Ux(b);if(!tm.Node.isArrayLiteralExpression(x))return;let w=x.getElements()[h+1];if(!w)return;let L=[...e,x,w],q=rE(w,L,a);if(!q)return;if(hf.isObject(q)){let me=q.value[i];return hf.from(me,w,L)}if(!hf.isMap(q))return q;let te=q.value.get(i);return te||void 0}}tm.Node.isObjectBindingPattern(u)}};function _hr(r,e,i,a){let u=e.at(-1);if(tm.Node.isVariableDeclaration(r)){let d=r.getInitializer();if(!d){let w=r.getTypeNode();if(!w)return;if(tm.Node.isTypeLiteral(w)){if(e.length>0){let q=[...i];q.push(w);let te=e.pop(),me=w.getProperty(te),Ee=me?.getTypeNode();for(;me&&e.length>0&&Ee&&tm.Node.isTypeLiteral(Ee);)q.push(me,Ee),te=e.pop(),me=Ee.getProperty(te),Ee=me?.getTypeNode();if(!Ee)return;let ke=wzt(Ee,q,a);return hf.from(ke,Ee,q)}let L=Qkn(w,u,i,a);return i.push(w),hf.from(L,w,i)}return}let h=Ux(d);if(tm.Node.isObjectLiteralExpression(h)){let w=Izt(h,e,i,a);return w?(i.push(h),w):void 0}if(tm.Node.isArrayLiteralExpression(h)){let w=Number(u);if(Number.isNaN(w))return;let L=h.getElements()[w];if(!L)return;i.push(h);let q=rE(L,i,a);if(q&&ORe(q)&&hf.isLiteral(q))return q}let b=[...i,h],x=rE(h,b,a);if(x)return x}if(tm.Node.isBindingElement(r)){let d=Ykn(r,i,u,a);if(d)return d}}var LQ=(r,e,i,a)=>{let u=mbt(r,i,a);if(!u)return hf.unresolvable(r,i);let d=_hr(u,e,i,a);return d||hf.unresolvable(r,i)},k1e=new WeakMap,Qkn=(r,e,i,a)=>{if(k1e.has(r)){let h=k1e.get(r);if(h===null)return;if(h?.has(e))return h.get(e)}let d=r.getMembers().find(h=>tm.Node.isPropertySignature(h)&&h.getName()===e);if(tm.Node.isPropertySignature(d)&&d.isReadonly()){let h=d.getTypeNode();if(!h){k1e.set(r,null);return}let b=wzt(h,i,a);if(o6(b))return k1e.has(r)||k1e.set(r,new Map),k1e.get(r).set(e,b),b}k1e.set(r,null)};function hhr(r){return tm.Node.isStringLiteral(r)?r.getLiteralText():r.getText()}var WYe=new WeakMap,wzt=(r,e,i)=>{if(WYe.has(r))return WYe.get(r);if(tm.Node.isLiteralTypeNode(r)){let a=r.getLiteral();if(tm.Node.isStringLiteral(a)){let u=a.getLiteralText();return WYe.set(r,u),u}}if(tm.Node.isTypeLiteral(r)){let a=r.getMembers();if(!a.some(u=>!tm.Node.isPropertySignature(u)||!u.isReadonly())){let d=a.map(b=>{let x=b.getNameNode(),w=x.getText(),L=hhr(x);if(!L)return;let q=Qkn(r,w,e,i);return[L,q]}).filter(o6),h=Object.fromEntries(d);return WYe.set(r,h),h}}WYe.set(r,void 0)},Bhr=(r,e,i)=>{if(tm.Node.isShorthandPropertyAssignment(r)){let a=r.getNameNode();return LQ(a,[a.getText()],e,i)}if(tm.Node.isVariableDeclaration(r)){let a=r.getInitializer();if(!a){let b=r.getTypeNode();if(!b)return;if(tm.Node.isTypeLiteral(b)){e.push(b);let x=wzt(b,e,i);if(o6(x))return hf.from(x,r,e)}return hf.unresolvable(r,e)}let u=Ux(a),d=[...e,u],h=rE(u,d,i);if(h)return h}if(tm.Node.isBindingElement(r)){let a=r.getInitializer();if(!a){let b=r.getPropertyNameNode()??r.getNameNode(),x=b.getText(),w=[...e,b],L=Ykn(r,w,x,i);return L||hf.unresolvable(r,e)}let u=Ux(a),d=[...e,u],h=rE(u,d,i);if(h)return h}},$kn=(r,e,i,a)=>{let u=e.getVariableDeclaration(r);if(u)return u;let d=yhr(r,e,i,a);if(d)return d},ghr=(r,e)=>{let i=e.getNamedExports();if(i.length===0)return!0;for(let a of i)if(a.getNameNode().getText()===r)return!0},Zkn=r=>{let e=r.getProject(),i=r.getModuleSpecifierValue();if(!i)return;let a=r.getSourceFile().getFilePath(),u=tm.ts.resolveModuleName(i,a,e.getCompilerOptions(),e.getModuleResolutionHost());return u.resolvedModule?e.addSourceFileAtPath(u.resolvedModule.resolvedFileName):void 0};function yhr(r,e,i,a){for(let u of e.getExportDeclarations()){let d=[u];if(!ghr(r,u))continue;let h=Zkn(u);if(!h)continue;d.push(h);let b=$kn(r,h,i,a);if(b)return i.push(...d.concat(b)),b}}var Chr=(r,e,i)=>{let a=mbt(r,e,i);if(!a)return hf.unresolvable(r,e);let u=Ux(a),d=[...e],h=Bhr(u,d,i);return h||hf.unresolvable(r,d)},eIn=(r,e,i)=>{let a=Ux(r.getLeft()),u=Ux(r.getRight()),d=MQ(a,e,i),h=MQ(u,e,i);if(!(!d||!h)&&o6(d.value)&&o6(h.value))return hf.literal(String(d.value)+String(h.value),r,e)},pbt=(r,e,i)=>{let a=Ux(r.getExpression()),u=r.getArgumentExpression();if(!u)return;let d=Ux(u),h=[...e,a,d],b=MQ(d,h,i);if(tm.Node.isIdentifier(a)&&b)return o6(b.value)?LQ(a,[b.value.toString()],h,i):void 0;if(tm.Node.isBinaryExpression(d)){if(d.getOperatorToken().getKind()!==tm.ts.SyntaxKind.PlusToken)return;let x=eIn(d,h,i)??MQ(d,h,i);if(x&&tm.Node.isIdentifier(a))return o6(x.value)?LQ(a,[x.value.toString()],h,i):void 0}if(tm.Node.isTemplateExpression(d)){let x=Xkn(d,h,i);if(x&&tm.Node.isIdentifier(a))return LQ(a,[x],h,i)}if(tm.Node.isObjectLiteralExpression(a)&&b)return o6(b.value)?Izt(a,[b.value.toString()],h,i):void 0;if(tm.Node.isPropertyAccessExpression(d))return dbt(d,[],h,i);if(tm.Node.isPropertyAccessExpression(a)&&b&&o6(b.value)){let x=dbt(a,[],h,i);if(!x)return hf.unresolvable(a,h);let w=b.value.toString();if(hf.isObject(x)){let L=x.value[w];return hf.from(L,d,h)}if(hf.isMap(x)){let L=x.value.get(w);return hf.from(L,d,h)}if(hf.isArray(x)){let L=x.value[Number(w)];return hf.from(L,d,h)}return hf.unresolvable(a,h)}if(tm.Node.isIdentifier(a)&&tm.Node.isElementAccessExpression(d)){let x=pbt(d,h,i);if(typeof x=="string"&&o6(x))return LQ(a,[x],h,i)}if(tm.Node.isElementAccessExpression(a)&&b&&o6(b.value)){let x=pbt(a,h,i);if(Ukn(x)){let w=b.value.toString();if(hf.isMap(x))return x.value.get(w);if(hf.isObject(x)){let L=x.value[w];return L?hf.from(L,r,h):void 0}}}if(tm.Node.isArrayLiteralExpression(a)&&b)return vhr(a,Number(b.value),h,i);if(tm.Node.isConditionalExpression(d)){if(i.flags?.skipConditions)return hf.unresolvable(d,h);let x=MQ(d,h,i);if(o6(x)&&o6(x.value)&&tm.Node.isIdentifier(a))return LQ(a,[x.value.toString()],h,i);let w=Ux(d.getWhenTrue()),L=Ux(d.getWhenFalse()),q=MQ(w,h,i),te=MQ(L,h,i);if(tm.Node.isIdentifier(a)){let me=q&&o6(q.value)?LQ(a,[q.value.toString()],h,i):void 0,Ee=te&&o6(te.value)?LQ(a,[te.value.toString()],h,i):void 0;return!me&&!Ee?void 0:me&&!Ee?me:!me&&Ee?Ee:hf.conditional(me,Ee,d,h)}}},vhr=(r,e,i,a)=>{let u=r.getElements()[e];if(!u)return;let d=rE(u,i,a);if(o6(d))return d},dbt=(r,e,i,a)=>{let u=r.getName(),d=Ux(r.getExpression()),h=e.concat(u);if(i.push(d),tm.Node.isIdentifier(d))return LQ(d,h,i,a);if(tm.Node.isPropertyAccessExpression(d))return dbt(d,h,i,a);if(tm.Node.isElementAccessExpression(d)){let b=pbt(d,i,a);if(!b)return;if(hf.isObject(b)){let x=b.value[u];return hf.from(x,r,i)}if(hf.isMap(b)){let x=b.value.get(u);return hf.from(x,r,i)}}},zkn=()=>!0,_bt=(r,e,i=zkn,a=zkn)=>{let u=r.getArguments(),d=r.getExpression().getText();return u.length===0?hf.array([],r,[]):hf.array(u.map((h,b)=>{let x=Ux(h),w=[r,x];return Sg(x).when(L=>a({fnNode:r,fnName:d,argNode:L,index:b}),L=>rE(L,w,e,i)??hf.unresolvable(L,w)).otherwise(()=>hf.unresolvable(x,w))}),r,[])},hbt=(r,e)=>{let i=r.getInitializer(),a=[r,i];return Sg(i).with(xD.nullish,()=>{let u=r.getNameNode();return hf.emptyInitializer(u,a)}).when(Tzt.Node.isStringLiteral,u=>{let d=u.getLiteralText();return hf.literal(Hkn(d),u,a)}).when(Tzt.Node.isJsxExpression,u=>{let d=u.getExpression();if(!d)return;let h=Ux(d);if(!h)return;a.push(h);let b=rE(h,a,e);if(b)return b}).otherwise(()=>{})},tIn=(r,e,i)=>{let a=Ux(r.getExpression());return rE(a,[],e,i)},jkn=(r,e)=>r?ORe(r)?hf.isUnresolvable(r)||hf.isConditional(r)?new Map:hf.isMap(r)?r.value:new Map(Object.entries(r.value).map(([i,a])=>{let u=hf.from(a,r.getNode()??e,r.getStack()??[]);return[i,u||null]}).filter(([,i])=>i!==null)):new Map(Object.entries(r)):new Map,bhr=Z3.or(FJ.Node.isImportDeclaration,FJ.Node.isExportDeclaration),nIn=({ast:r,...e})=>{let{components:i,functions:a,taggedTemplates:u}=e,d=new Map,h=new Map,b,x,w,L,q;return r.forEachDescendant((te,me)=>{if(bhr(te)){me.skip();return}if(i){if(FJ.Node.isJsxOpeningElement(te)||FJ.Node.isJsxSelfClosingElement(te)){if(b=te,x=H_r(b),w=x.includes("."),!i.matchTag({tagNode:b,tagName:x,isFactory:w})){b=void 0;return}d.has(x)||d.set(x,{kind:"component",nodesByProp:new Map,queryList:[]}),L=d.get(x).nodesByProp,h.has(b)||h.set(b,{name:x,props:new Map,conditionals:[]}),q=h.get(b)}if(FJ.Node.isJsxSpreadAttribute(te)){if(!b||!q)return;let Ee=({propName:We,propNode:Tt})=>i.matchProp({tagNode:b,tagName:x,propName:We,propNode:Tt}),ke=tIn(te,e,dQ(Ee));if(!ke)return;let Ue=We=>{let Tt=jkn(We,te),Vt=hf.isMap(We),un=hf.map(Tt,te,[b]);Vt&&We.spreadConditions?.length&&(un.spreadConditions=We.spreadConditions),Tt.forEach((Jn,Dn)=>{Ee({propName:Dn,propNode:te})&&(q.props.set(Dn,Jn),L.set(Dn,(L.get(Dn)??[]).concat(Jn)))})};(We=>Sg(We).when(hf.isConditional,Tt=>{q.conditionals.push(Tt)}).when(Z3.or(hf.isObject,hf.isMap),Tt=>Ue(Tt)).otherwise(BBt))(ke);return}if(FJ.Node.isJsxAttribute(te)){if(!b||!q)return;let Ee=te.getNameNode().getText();if(!i.matchProp({tagNode:b,tagName:x,propName:Ee,propNode:te}))return;GN(hbt(te,e),NXe.fromNullable,NXe.tap(ke=>{q.props.set(Ee,ke),L.set(Ee,(L.get(Ee)??[]).concat(ke))}))}}if(a&&FJ.Node.isCallExpression(te)){let Ee=te.getExpression(),ke=FJ.Node.isCallExpression(Ee)?Ee.getExpression().getText():Ee.getText();if(!a.matchFn({fnNode:te,fnName:ke}))return;let Ue=({propName:Jn,propNode:Dn})=>a.matchProp({fnNode:te,fnName:ke,propName:Jn,propNode:Dn});d.has(ke)||d.set(ke,{kind:"function",nodesByProp:new Map,queryList:[]});let Fe=d.get(ke),We=Fe.nodesByProp,Tt=_bt(te,e,Ue,a.matchArg),Vt=GN(Tt.value,Aj.map(Jn=>Sg(Jn).when(Z3.or(hf.isObject,hf.isMap),Dn=>{let mn=jkn(Dn,te),qn=hf.isMap(Dn);mn.forEach((nn,ha)=>{(qn||Ue({propName:ha,propNode:te}))&&We.set(ha,(We.get(ha)??[]).concat(nn))});let ur=hf.map(mn,te,Dn.getStack());return hf.isMap(Dn)&&Dn.spreadConditions?.length&&(ur.spreadConditions=Dn.spreadConditions),ur}).otherwise(Dn=>Dn))),un={kind:"call-expression",name:ke,box:hf.array(Vt,te,[])};Fe.queryList.push(un)}if(u&&FJ.Node.isTaggedTemplateExpression(te)){let Ee=te.getTag(),ke=FJ.Node.isCallExpression(Ee)?Ee.getExpression().getText():Ee.getText();if(!u.matchTaggedTemplate({taggedTemplateNode:te,fnName:ke}))return;d.has(ke)||d.set(ke,{kind:"function",nodesByProp:new Map,queryList:[]});let Ue=d.get(ke),Fe={kind:"tagged-template",name:ke,box:rE(te,[],e)};Ue.queryList.push(Fe)}}),h.forEach((te,me)=>{let Ee=h.get(me);if(!Ee)return;let ke=dQ({name:te.name,box:hf.map(Ee.props,me,[])});Ee.conditionals?.length&&(ke.box.spreadConditions=Ee.conditionals);let Ue=te.name;d.get(Ue).queryList.push(ke)}),d},Shr=Z3.or(hf.isObject,hf.isMap),rIn=(r,e)=>{let i=r.getTagNameNode().getText(),a=r.getAttributes(),u=new Map;return a.forEach(d=>{if(Azt.Node.isJsxAttribute(d)){let h=d.getNameNode(),b=hbt(d,e);if(!b)return;u.set(h.getText(),b);return}if(Azt.Node.isJsxSpreadAttribute(d)){let h=tIn(d,e,()=>!0);if(!Shr(h))return;hf.isMap(h)&&h.value.forEach((b,x)=>{u.set(x,b)}),hf.isObject(h)&&Object.entries(h.value).forEach(([b,x])=>{u.set(b,hf.literal(x,r,[]))})}}),{name:i,props:u}},fbt=(r,e)=>{if(!r.length)return e;let i={};return r.reduce((a,u,d)=>{let h=d===r.length-1;return a[u]=h?e:{},h?i:a[u]},i),i},Tpe=(r,e)=>Sg(r).with(xD.nullish,()=>{}).when(hf.isConditional,i=>{let a=e.path,u=Tpe(i.whenTrue,Object.assign({},e,{path:a,parent:i})),d=Tpe(i.whenFalse,Object.assign({},e,{path:a,parent:i}));u&&e.conditions.push(fbt(a,u)),d&&e.conditions.push(fbt(a,d))}).when(Z3.or(hf.isLiteral,hf.isObject),i=>i.value).when(hf.isEmptyInitializer,()=>!0).when(hf.isMap,i=>{if(i.spreadConditions){let a=e.path;i.spreadConditions.forEach(u=>{let d=Tpe(u.whenTrue,Object.assign({},e,{path:a,parent:i})),h=Tpe(u.whenFalse,Object.assign({},e,{path:a,parent:i}));d&&e.spreadConditions.push(fbt(a,d)),h&&e.spreadConditions.push(fbt(a,h))})}return GN(Aj.from(i.value.entries()),Aj.map(([a,u])=>[a,Tpe(u,Object.assign({},e,{path:e.path.concat(a),parent:i}))]),Aj.filter(([,a])=>o6(a)),Object.fromEntries)}).when(hf.isArray,i=>{let a=0;return GN(i.value,Aj.map(u=>Tpe(u,Object.assign({},e,{path:e.path.concat(String(a++)),parent:i}))),u=>u.flat())}).otherwise(()=>{}),xhr=new WeakMap,Ehr=r=>({value:r,has:e=>r.has(e),get:e=>r.get(e),set:(e,i)=>r.set(e,i)}),OJ=(r,e)=>{let i={cache:e?.cache??xhr,...e,path:[],parent:void 0,conditions:[],spreadConditions:[]},a=Ehr(i.cache);return{raw:Sg(r).with(xD.nullish,()=>{}).when(a.has,a.get).when(Array.isArray,d=>{let h=GN(d,Aj.map(b=>Tpe(b,i)),Aj.filter(o6),Aj.head);return a.set(d,h),h}).otherwise(d=>{let h=Tpe(d,i);return a.set(d,h),h})??{},conditions:i.conditions,spreadConditions:i.spreadConditions}};ae();ae();ae();ae();function zYe(r){return Object.prototype.toString.call(r).slice(8,-1)}function Dhr(r){return zYe(r)==="Undefined"}function Thr(r){return zYe(r)==="Null"}function jYe(r){if(zYe(r)!=="Object")return!1;let e=Object.getPrototypeOf(r);return e.constructor===Object&&e===Object.prototype}function Pzt(r){return zYe(r)==="Array"}function Nzt(r){return zYe(r)==="Symbol"}var Xvi=Ahr(Thr,Dhr);function Ahr(r,e,i,a,u){return d=>r(d)||e(d)||!!i&&i(d)||!!a&&a(d)||!!u&&u(d)}function khr(r,e){return Pzt(r)&&Pzt(e)?r.concat(e):e}function iIn(r,e,i,a){let u={}.propertyIsEnumerable.call(a,e)?"enumerable":"nonenumerable";u==="enumerable"&&(r[e]=i),u==="nonenumerable"&&Object.defineProperty(r,e,{value:i,enumerable:!1,writable:!0,configurable:!0})}function oIn(r,e,i){if(!jYe(e))return e;let a={};if(jYe(r)){let b=Object.getOwnPropertyNames(r),x=Object.getOwnPropertySymbols(r);a=[...b,...x].reduce((w,L)=>{let q=r[L];return(!Nzt(L)&&!Object.getOwnPropertyNames(e).includes(L)||Nzt(L)&&!Object.getOwnPropertySymbols(e).includes(L))&&iIn(w,L,q,r),w},{})}let u=Object.getOwnPropertyNames(e),d=Object.getOwnPropertySymbols(e);return[...u,...d].reduce((b,x)=>{let w=e[x],L=jYe(r)?r[x]:void 0;L!==void 0&&jYe(w)&&(w=oIn(L,w,i));let q=i?i(L,w,x):w;return iIn(b,x,q,e),b},a)}function sIn(r,...e){return e.reduce((i,a)=>oIn(i,a,khr),r)}var aIn=r=>Object.prototype.toString.call(r)==="[object Object]";function Rzt(r,...e){let i=e.pop();for(let a of e)for(let u in a){let d=i(r[u],a[u]);d===void 0?aIn(r[u])&&aIn(a[u])?r[u]=Rzt({},r[u],a[u],i):r[u]=a[u]:r[u]=d}return r}function lIn(r,...e){for(let i of e)for(let a in i)r?.hasOwnProperty?.(a)||(r[a]=i[a]);return r}function Ihr(r){return r.reduce((e,{extend:i})=>i?Rzt(e,i,(a,u)=>u===void 0?a??[]:a===void 0?[u]:Array.isArray(a)?[u,...a]:[u,a]):e,{})}function whr(r){return{...r.reduce((e,i)=>lIn(e,i),{}),extend:Ihr(r)}}function VYe(r){let{extend:e=[],...i}=whr(r);return Rzt(i,e,(a,u)=>sIn({},a,...u))}var Phr=r=>typeof r=="object"&&Object.keys(r).length===0,Nhr=r=>Object.keys(r).reduce((e,i)=>(r[i]!==void 0&&!Phr(r[i])&&(e[i]=r[i]),e),{});function cIn(r){let e=lIn({conditions:VYe(r.map(i=>i.conditions??{})),theme:VYe(r.map(i=>i.theme??{})),patterns:VYe(r.map(i=>i.patterns??{})),utilities:VYe(r.map(i=>i.utilities??{})),globalCss:VYe(r.map(i=>i.globalCss??{}))},...r);return Nhr(e)}ae();var Bbt=require("path"),UYe=(r,e)=>{for(let i of r){let a=e.match(i.pattern);if(a)for(let u of i.paths){let d=0;return u.replace(/\*/g,()=>{let b=Math.min(++d,a.length-1);return a[b]}).split(Bbt.sep).join(Bbt.posix.sep)}}};ae();var WRe=require("path"),gbt=require("fs");function uIn(r,e){let i=(0,WRe.resolve)(".",r),a;for((0,gbt.statSync)(i).isDirectory()||(i=(0,WRe.dirname)(i));;){if(a=e(i,(0,gbt.readdirSync)(i)),a)return(0,WRe.resolve)(i,a);if(i=(0,WRe.dirname)(a=i),a===i)break}}var BIn=require("path"),HYe=b_(require("fs"),1),GRe=b_(require("path"),1),gIn=require("path"),Lzt=b_(nzt(),1);ae();var fIn=require("esbuild"),pIn=b_(require("path"),1),ybt=b_(require("fs"),1),FQ=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,i)=>(typeof require<"u"?require:e)[i]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});function Rhr(r){let e=ybt.default.realpathSync(r);delete FQ.cache[r];let i=FQ(e);return{mod:i.default??i,dependencies:[e],code:ybt.default.readFileSync(e,"utf-8")}}async function Lhr(r,e){let i=await(0,fIn.build)({absWorkingDir:e,entryPoints:[r],outfile:"out.js",write:!1,platform:"node",bundle:!0,format:"cjs",sourcemap:!1,metafile:!0,mainFields:["module","main"]}),{text:a}=i.outputFiles[0];return{code:a,dependencies:i.metafile?Object.keys(i.metafile.inputs):[]}}function Mhr(r,e){let i=pIn.default.extname(r),a=ybt.default.realpathSync(r),u=FQ.extensions[i];FQ.extensions[i]=(b,x)=>{x===a?b._compile(e,x):u(b,x)},delete FQ.cache[FQ.resolve(r)];let d=FQ(r),h=d.default??d;return FQ.extensions[i]=u,h}async function dIn(r,e={}){let{cwd:i=process.cwd()}=e,a=FQ.resolve(r,{paths:[i]});try{return Rhr(a)}catch{let u=await Lhr(a,i);try{u.mod=await Mhr(a,u.code)}catch{u.mod=FQ("node-eval")(u.code).default}return u}}ae();var mIn=class extends Error{code;hint;constructor(r,e,i){super(e),this.code=`ERR_PANDA_${r}`,this.hint=i?.hint}};var Cbt=class extends mIn{constructor(){let r="Cannot find config file: panda.config.ts or panda.config.js/cjs/mjs/mts/cts. Did you forget to run `panda init`?";super("NO_CONFIG",r)}},_In=class extends mIn{constructor(r){super("CONFIG_ERROR",r)}};var Mzt=require("@pandacss/preset-base"),bbt=require("@pandacss/preset-panda"),Fhr=[".ts",".js",".mts",".mjs",".cts",".cjs"],Ohr=new RegExp(`panda.config(${Fhr.join("|")})$`),Whr=r=>Ohr.test(r);function Ghr({cwd:r,file:e}){return e?(0,BIn.resolve)(r,e):uIn(r,(i,a)=>a.find(Whr))}function yIn(r,e){let i=Object.keys(r).sort((u,d)=>hIn(d)-hIn(u)),a=[];for(let u of i){let d=r[u];u=zhr(u).replace(/\*/g,"(.+)"),a.push({pattern:new RegExp("^"+u+"$"),paths:d.map(h=>(0,gIn.resolve)(e,h))})}return a}function hIn(r){let e=r.indexOf("*");return r.substr(0,e).length}function zhr(r){return r.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/-/g,"\\x2d")}var jhr=[".js",".cjs",".mjs"],Vhr=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],Uhr=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];function Hhr(r,e){for(let i of e){let a=`${r}${i}`;if(HYe.default.existsSync(a)&&HYe.default.statSync(a).isFile())return a}for(let i of e){let a=`${r}/index${i}`;if(HYe.default.existsSync(a))return a}return null}var Jhr=/import[\s\S]*?['"](.{3,}?)['"]/gi,qhr=/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,Khr=/require\(['"`](.+)['"`]\)/gi,Xhr=/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi;function vbt(r,e){let{filename:i,seen:a}=r,{moduleResolution:u,...d}=r.compilerOptions??{},h=Hhr(GRe.default.resolve(r.cwd,i),jhr.includes(r.ext)?Vhr:Uhr);if(h===null||(e&&r.foundModuleAliases.set(e,h),a.size>1&&a.has(h)))return;a.add(h);let b=HYe.default.readFileSync(h,"utf-8"),x=[...b.matchAll(Jhr),...b.matchAll(qhr),...b.matchAll(Khr),...b.matchAll(Xhr)];if(!x.length)return;let w={cwd:GRe.default.dirname(h),ext:GRe.default.extname(h),seen:a,baseUrl:r.baseUrl,pathMappings:r.pathMappings,foundModuleAliases:r.foundModuleAliases};x.forEach(L=>{let q=L[1];if(q[0]==="."){vbt(Object.assign({},w,{filename:q}));return}try{let te=Lzt.default.resolveModuleName(q,h,d,Lzt.default.sys).resolvedModule;if(te&&te.extension===".ts"){vbt(Object.assign({},w,{filename:te.resolvedFileName}));return}if(!r.pathMappings)return;let me=UYe(r.pathMappings,q);if(!me)return;vbt(Object.assign({},w,{filename:me}),q)}catch{}})}function CIn(r,e={pathMappings:[]},i){if(r===null)return{deps:new Set,aliases:new Map};let a=new Map,u=new Set;return u.add(r),vbt({filename:r,ext:GRe.default.extname(r),cwd:GRe.default.dirname(r),seen:u,baseUrl:e.baseUrl,pathMappings:e.pathMappings??[],foundModuleAliases:a,compilerOptions:i}),{deps:u,aliases:a}}async function vIn(r,e){let{mod:i,dependencies:a}=await dIn(r,{cwd:e,interopDefault:!0});return{config:i?.default??i,dependencies:a}}async function Yhr(r,e){let i=r.presets??[],a=[r];for(;i.length>0;){let u=await i.shift();if(typeof u=="string"){let d=await vIn(u,e);a.unshift(await d.config),i.unshift(...await d.config.presets??[])}else a.unshift(u),i.unshift(...u.presets??[])}return cIn(a)}var bIn={"@pandacss/preset-base":Mzt.preset,"@pandacss/preset-panda":bbt.preset,"@pandacss/dev/presets":bbt.preset},Qhr=Object.keys(bIn),$hr=r=>Qhr.includes(r);async function SIn(r){let e=await eBr(r);return Zhr(e,r.cwd)}async function Zhr(r,e){let i=new Set;r.config.eject||i.add(Mzt.preset),r.config.presets?r.config.presets.forEach(u=>{typeof u=="string"&&$hr(u)?i.add(bIn[u]):i.add(u)}):r.config.eject||i.add(bbt.preset),r.config.presets=Array.from(i);let a=await Yhr(r.config,e);return{...r,config:a}}async function eBr(r){let{cwd:e,file:i}=r,a=Ghr({cwd:e,file:i});if(!a)throw new Cbt;v2.debug("config:path",a);let u=await vIn(a,e);if(typeof u.config!="object")throw new _In("\u{1F4A5} Config must export or return an object.");return{...u,config:u.config,path:a}}var g5n=require("fs"),kqt=b_(ejt(),1),F2t=require("path");ae();var HRe=require("path"),tjt=require("fs");var vPn=r=>r===(0,HRe.dirname)(r),ayr=Symbol("stop"),lyr=r=>r===ayr;var Rbt=(r,e=process.cwd())=>{if(typeof r=="function"&&r(e)instanceof Promise)throw new Error("Async matcher can not be used in 'lookItUpSync'");if(typeof r=="string"){let a=(0,HRe.join)(e,r);return(0,tjt.existsSync)(a)?a:vPn(e)?null:Rbt(r,(0,HRe.dirname)(e))}let i=r(e);return lyr(i)?null:i??(vPn(e)?null:Rbt(r,(0,HRe.dirname)(e)))};ae();var JRe=b_(require("path"),1),kPn=require("fs"),IPn=b_(require("path"),1);var zJ=b_(require("path"),1),PPn=require("fs"),sjt=require("module"),Ew=b_(require("path"),1),NPn=require("fs");async function bPn(r,e){let i=JRe.default.dirname(JRe.default.resolve(r)),a=e?.root?JRe.default.resolve(e.root):null;for(;i;){let u=await cyr(i,e);if(u)return u;{if(a===i)break;let d=JRe.default.dirname(i);if(d===i)break;i=d}}throw new Error(`no tsconfig file found for ${r}`)}async function cyr(r,e){let i=JRe.default.join(r,"tsconfig.json");if(e?.tsConfigPaths)return e.tsConfigPaths.has(i)?i:void 0;try{let a=await kPn.promises.stat(i);if(a.isFile()||a.isFIFO())return i}catch(a){if(a.code!=="ENOENT")throw a}}var Wbi=IPn.default.sep;function uyr(r){let e=fyr(pyr(dyr(r)));return e.trim()===""?"{}":e}function fyr(r){let e=!1,i=0,a="",u=null;for(let d=0;d<r.length;d++){let h=r[d];if(h==='"'&&(wPn(r,d)||(e=!e)),e){u=null;continue}if(h===","){u=d;continue}u&&(h==="}"||h==="]"?(a+=r.slice(i,u)+" ",i=u+1,u=null):h.match(/\s/)||(u=null))}return a+r.substring(i)}function wPn(r,e){let i=e-1,a=0;for(;r[i]==="\\";)i-=1,a+=1;return!!(a%2)}function Lbt(r,e,i){return r.slice(e,i).replace(/\S/g," ")}var njt=Symbol("singleComment"),SPn=Symbol("multiComment");function pyr(r){let e=!1,i=!1,a=0,u="";for(let d=0;d<r.length;d++){let h=r[d],b=r[d+1];!i&&h==='"'&&(wPn(r,d)||(e=!e)),!e&&(!i&&h+b==="//"?(u+=r.slice(a,d),a=d,i=njt,d++):i===njt&&h+b===`\r
30777
30777
  `?(d++,i=!1,u+=Lbt(r,a,d),a=d):i===njt&&h===`
@@ -31684,7 +31684,15 @@ transform`)}
31684
31684
  ${r.file.import("compact, createCss, withoutSpace","../helpers")}
31685
31685
 
31686
31686
  export const createRecipe = (name, defaultVariants, compoundVariants) => {
31687
- return (variants) => {
31687
+ const getRecipeStyles = (variants) => {
31688
+ return {
31689
+ [name]: '__ignore__',
31690
+ ...defaultVariants,
31691
+ ...compact(variants),
31692
+ };
31693
+ };
31694
+
31695
+ const recipeFn = (variants, withCompoundVariants = true) => {
31688
31696
  const transform = (prop, value) => {
31689
31697
  assertCompoundVariant(name, compoundVariants, variants, prop)
31690
31698
 
@@ -31704,16 +31712,21 @@ transform`)}
31704
31712
  }
31705
31713
  })
31706
31714
 
31707
- const recipeStyles = {
31708
- [name]: '__ignore__',
31709
- ...defaultVariants,
31710
- ...compact(variants),
31711
- }
31715
+ const recipeStyles = getRecipeStyles(variants)
31712
31716
 
31713
- const compoundVariantStyles = getCompoundVariantCss(compoundVariants, recipeStyles)
31717
+ if (withCompoundVariants) {
31718
+ const compoundVariantStyles = getCompoundVariantCss(compoundVariants, recipeStyles)
31719
+ return cx(recipeCss(recipeStyles), css(compoundVariantStyles))
31720
+ }
31714
31721
 
31715
- return cx(recipeCss(recipeStyles), css(compoundVariantStyles))
31722
+ return recipeCss(recipeStyles)
31716
31723
  }
31724
+
31725
+ return Object.assign(recipeFn, {
31726
+ __getCompoundVariantCss__: (variants) => {
31727
+ return getCompoundVariantCss(compoundVariants, getRecipeStyles(variants));
31728
+ },
31729
+ })
31717
31730
  }
31718
31731
  `},...r.recipes.details.map(h=>{let{baseName:b,config:x,upperName:w,variantKeyMap:L,dashName:q}=h,{description:te,defaultVariants:me,compoundVariants:Ee}=x,ke=Sg(x).when(aRe,Ue=>pf`
31719
31732
  ${r.file.import("splitProps, getSlotCompoundVariant","../helpers")}
@@ -31851,7 +31864,7 @@ transform`)}
31851
31864
  import { h } from 'preact'
31852
31865
  import { forwardRef } from 'preact/compat'
31853
31866
  import { useMemo } from 'preact/hooks'
31854
- ${r.file.import("css, cx, cva, assignCss","../css/index")}
31867
+ ${r.file.import("css, cx, cva","../css/index")}
31855
31868
  ${r.file.import("splitProps, normalizeHTMLProps","../helpers")}
31856
31869
  ${r.file.import("isCssProperty","./is-valid-prop")}
31857
31870
 
@@ -31867,15 +31880,14 @@ transform`)}
31867
31880
 
31868
31881
  function recipeClass() {
31869
31882
  const { css: cssStyles, ...propStyles } = styleProps
31870
- const styles = assignCss(propStyles, cssStyles)
31871
- return cx(cvaFn(variantProps), css(styles), elementProps.className, elementProps.class)
31883
+ const compoundVariantStyles = cvaFn.__getCompoundVariantCss__?.(variantProps);
31884
+ return cx(cvaFn(variantProps, false), css(compoundVariantStyles, propStyles, cssStyles), elementProps.className, elementProps.class)
31872
31885
  }
31873
31886
 
31874
31887
  function cvaClass() {
31875
31888
  const { css: cssStyles, ...propStyles } = styleProps
31876
31889
  const cvaStyles = cvaFn.raw(variantProps)
31877
- const styles = assignCss(cvaStyles, propStyles, cssStyles)
31878
- return cx(css(styles), elementProps.className, elementProps.class)
31890
+ return cx(css(cvaStyles, propStyles, cssStyles), elementProps.className, elementProps.class)
31879
31891
  }
31880
31892
 
31881
31893
  const classes = configOrCva.__recipe__ ? recipeClass : cvaClass
@@ -32037,7 +32049,7 @@ export type ${u} = JsxFactory ${i==="none"?"":"& JsxElements"}
32037
32049
  export type ${d}<T extends ElementType> = ComponentProps<T>
32038
32050
  `}}function B0r(r){let{factoryName:e,componentName:i}=r.jsx;return{js:pf`
32039
32051
  import { h } from '@builder.io/qwik'
32040
- ${r.file.import("css, cx, cva, assignCss","../css/index")}
32052
+ ${r.file.import("css, cx, cva","../css/index")}
32041
32053
  ${r.file.import("splitProps, normalizeHTMLProps","../helpers")}
32042
32054
  ${r.file.import("isCssProperty","./is-valid-prop")}
32043
32055
 
@@ -32053,14 +32065,13 @@ export type ${d}<T extends ElementType> = ComponentProps<T>
32053
32065
  const { css: cssStyles, ...propStyles } = styleProps
32054
32066
 
32055
32067
  function recipeClass() {
32056
- const styles = assignCss(propStyles, cssStyles)
32057
- return cx(cvaFn(variantProps), css(styles), elementProps.class)
32068
+ const compoundVariantStyles = cvaFn.__getCompoundVariantCss__?.(variantProps);
32069
+ return cx(cvaFn(variantProps, false), css(compoundVariantStyles, propStyles, cssStyles), elementProps.class)
32058
32070
  }
32059
32071
 
32060
32072
  function cvaClass() {
32061
32073
  const cvaStyles = cvaFn.raw(variantProps)
32062
- const styles = assignCss(cvaStyles, propStyles, cssStyles)
32063
- return cx(css(styles), elementProps.class)
32074
+ return cx(css(cvaStyles, propStyles, cssStyles), elementProps.class)
32064
32075
  }
32065
32076
 
32066
32077
  const classes = configOrCva.__recipe__ ? recipeClass : cvaClass
@@ -32228,7 +32239,7 @@ export type ${u} = JsxFactory ${i==="none"?"":"& JsxElements"}
32228
32239
  export type ${d}<T extends ElementType> = ComponentProps<T>
32229
32240
  `}}function b0r(r){let{factoryName:e,componentName:i}=r.jsx;return{js:pf`
32230
32241
  import { createElement, forwardRef, useMemo } from 'react'
32231
- ${r.file.import("css, cx, cva, assignCss","../css/index")}
32242
+ ${r.file.import("css, cx, cva","../css/index")}
32232
32243
  ${r.file.import("splitProps, normalizeHTMLProps","../helpers")}
32233
32244
  ${r.jsx.styleProps==="all"?r.file.import("isCssProperty","./is-valid-prop"):""}
32234
32245
 
@@ -32245,41 +32256,40 @@ export type ${d}<T extends ElementType> = ComponentProps<T>
32245
32256
 
32246
32257
  function recipeClass() {
32247
32258
  const { css: cssStyles, ...propStyles } = styleProps
32248
- const styles = assignCss(propStyles, cssStyles)
32249
- return cx(cvaFn(variantProps), css(styles), elementProps.className)
32259
+ const compoundVariantStyles = cvaFn.__getCompoundVariantCss__?.(variantProps);
32260
+ return cx(cvaFn(variantProps, false), css(compoundVariantStyles, propStyles, cssStyles), elementProps.className)
32250
32261
  }
32251
32262
 
32252
32263
  function cvaClass() {
32253
32264
  const { css: cssStyles, ...propStyles } = styleProps
32254
32265
  const cvaStyles = cvaFn.raw(variantProps)
32255
- const styles = assignCss(cvaStyles, propStyles, cssStyles)
32256
- return cx(css(styles), elementProps.className)
32266
+ return cx(css(cvaStyles, propStyles, cssStyles), elementProps.className)
32257
32267
  }`).with("minimal",()=>pf`
32258
32268
  const [variantProps, htmlProps, elementProps] = useMemo(() => {
32259
32269
  return splitProps(restProps, cvaFn.variantKeys, normalizeHTMLProps.keys)
32260
32270
  }, [restProps])
32261
32271
 
32262
32272
  function recipeClass() {
32263
- return cx(cvaFn(variantProps), css(assignCss(elementProps.css)), elementProps.className)
32273
+ const compoundVariantStyles = cvaFn.__getCompoundVariantCss__?.(variantProps);
32274
+ return cx(cvaFn(variantProps, false), css(compoundVariantStyles, elementProps.css), elementProps.className)
32264
32275
  }
32265
32276
 
32266
32277
  function cvaClass() {
32267
32278
  const cvaStyles = cvaFn.raw(variantProps)
32268
- const styles = assignCss(cvaStyles, elementProps.css)
32269
- return cx(css(styles), elementProps.className)
32279
+ return cx(css(cvaStyles, elementProps.css), elementProps.className)
32270
32280
  }`).with("none",()=>pf`
32271
32281
  const [variantProps, htmlProps, elementProps] = useMemo(() => {
32272
32282
  return splitProps(restProps, cvaFn.variantKeys, normalizeHTMLProps.keys)
32273
32283
  }, [restProps])
32274
32284
 
32275
32285
  function recipeClass() {
32276
- return cx(cvaFn(variantProps), elementProps.className)
32286
+ const compoundVariantStyles = cvaFn.__getCompoundVariantCss__?.(variantProps);
32287
+ return cx(cvaFn(variantProps, false), elementProps.className)
32277
32288
  }
32278
32289
 
32279
32290
  function cvaClass() {
32280
32291
  const cvaStyles = cvaFn.raw(variantProps)
32281
- const styles = assignCss(cvaStyles)
32282
- return cx(css(styles), elementProps.className)
32292
+ return cx(css(cvaStyles), elementProps.className)
32283
32293
  }`).run()}
32284
32294
 
32285
32295
 
@@ -32469,15 +32479,13 @@ export type ${d}<T extends ElementType> = ComponentProps<T>
32469
32479
 
32470
32480
  function recipeClass() {
32471
32481
  const { css: cssStyles, ...propStyles } = styleProps
32472
- const styles = assignCss(propStyles, cssStyles)
32473
- return cx(cvaFn(variantProps), css(styles), localProps.class)
32482
+ return cx(cvaFn(variantProps, false), css(compoundVariantStyles, propStyles, cssStyles), localProps.class)
32474
32483
  }
32475
32484
 
32476
32485
  function cvaClass() {
32477
32486
  const { css: cssStyles, ...propStyles } = styleProps
32478
32487
  const cvaStyles = cvaFn.raw(variantProps)
32479
- const styles = assignCss(cvaStyles, propStyles, cssStyles)
32480
- return cx(css(styles), localProps.class)
32488
+ return cx(css(cvaStyles, propStyles, cssStyles), localProps.class)
32481
32489
  }
32482
32490
 
32483
32491
  const classes = configOrCva.__recipe__ ? recipeClass : cvaClass
@@ -32669,15 +32677,14 @@ export type ${d}<T extends ElementType> = ComponentProps<T>
32669
32677
  const recipeClass = computed(() => {
32670
32678
  const [variantProps, styleProps, _htmlProps, elementProps] = splittedProps.value
32671
32679
  const { css: cssStyles, ...propStyles } = styleProps
32672
- const styles = assignCss(propStyles, cssStyles)
32673
- return cx(cvaFn(variantProps), css(styles), elementProps.className)
32680
+ const compoundVariantStyles = cvaFn.__getCompoundVariantCss__?.(variantProps);
32681
+ return cx(cvaFn(variantProps, false), css(compoundVariantStyles, propStyles, cssStyles), elementProps.className)
32674
32682
  })
32675
32683
 
32676
32684
  const cvaClass = computed(() => {
32677
32685
  const [variantProps, styleProps, _htmlProps, elementProps] = splittedProps.value
32678
32686
  const { css: cssStyles, ...propStyles } = styleProps
32679
- const styles = assignCss(propStyles, cssStyles)
32680
- return cx(cvaFn(variantProps), css(styles), elementProps.className)
32687
+ return cx(cvaFn(variantProps), css(propStyles, cssStyles), elementProps.className)
32681
32688
  })
32682
32689
 
32683
32690
  const classes = configOrCva.__recipe__ ? recipeClass : cvaClass
@@ -53839,11 +53846,13 @@ export interface RecipeRuntimeFn<T extends RecipeVariantRecord> extends RecipeVa
53839
53846
  ): [RecipeSelection<T>, Pretty<DistributiveOmit<Props, keyof T>>]
53840
53847
  }
53841
53848
 
53842
- export type RecipeCompoundSelection<T extends RecipeVariantRecord> = {
53843
- [K in keyof T]?: StringToBoolean<keyof T[K]> | Array<StringToBoolean<keyof T[K]>>
53849
+ type OneOrMore<T> = T | Array<T>
53850
+
53851
+ export type RecipeCompoundSelection<T> = {
53852
+ [K in keyof T]?: OneOrMore<StringToBoolean<keyof T[K]>>
53844
53853
  }
53845
53854
 
53846
- export type RecipeCompoundVariant<T extends RecipeVariantRecord> = RecipeCompoundSelection<T> & {
53855
+ export type RecipeCompoundVariant<T> = T & {
53847
53856
  css: SystemStyleObject
53848
53857
  }
53849
53858
 
@@ -53855,7 +53864,7 @@ export interface RecipeDefinition<T extends RecipeVariantRecord> {
53855
53864
  /**
53856
53865
  * The multi-variant styles of the recipe.
53857
53866
  */
53858
- variants?: T | RecipeVariantRecord
53867
+ variants?: T
53859
53868
  /**
53860
53869
  * The default variants of the recipe.
53861
53870
  */
@@ -53863,7 +53872,7 @@ export interface RecipeDefinition<T extends RecipeVariantRecord> {
53863
53872
  /**
53864
53873
  * The styles to apply when a combination of variants is selected.
53865
53874
  */
53866
- compoundVariants?: Array<RecipeCompoundVariant<T>>
53875
+ compoundVariants?: Pretty<RecipeCompoundVariant<RecipeCompoundSelection<T>>>[]
53867
53876
  }
53868
53877
 
53869
53878
  export type RecipeCreatorFn = <T extends RecipeVariantRecord>(config: RecipeDefinition<T>) => RecipeRuntimeFn<T>
@@ -53910,7 +53919,7 @@ export interface SlotRecipeRuntimeFn<S extends string, T extends SlotRecipeVaria
53910
53919
  splitVariantProps<Props extends RecipeSelection<T>>(props: Props): [RecipeSelection<T>, Pretty<Omit<Props, keyof T>>]
53911
53920
  }
53912
53921
 
53913
- export type SlotRecipeCompoundVariant<S extends string, T extends RecipeVariantRecord> = RecipeCompoundSelection<T> & {
53922
+ export type SlotRecipeCompoundVariant<S extends string, T> = T & {
53914
53923
  css: SlotRecord<S, SystemStyleObject>
53915
53924
  }
53916
53925
 
@@ -53926,7 +53935,7 @@ export interface SlotRecipeDefinition<S extends string, T extends SlotRecipeVari
53926
53935
  /**
53927
53936
  * The multi-variant styles of the recipe.
53928
53937
  */
53929
- variants?: T | SlotRecipeVariantRecord<S>
53938
+ variants?: T
53930
53939
  /**
53931
53940
  * The default variants of the recipe.
53932
53941
  */
@@ -53934,7 +53943,7 @@ export interface SlotRecipeDefinition<S extends string, T extends SlotRecipeVari
53934
53943
  /**
53935
53944
  * The styles to apply when a combination of variants is selected.
53936
53945
  */
53937
- compoundVariants?: Array<SlotRecipeCompoundVariant<S, T>>
53946
+ compoundVariants?: Pretty<SlotRecipeCompoundVariant<S, RecipeCompoundSelection<T>>>[]
53938
53947
  }
53939
53948
 
53940
53949
  export type SlotRecipeCreatorFn = <S extends string, T extends SlotRecipeVariantRecord<S>>(
@@ -54168,7 +54177,7 @@ ${a.code}`)}),e)),yvr=r=>e=>{let{files:i,resolve:a}=e,{theme:{keyframes:u}={},pr
54168
54177
 
54169
54178
  `),w=r.createSheet({content:a?[dNn(r),b&&hNn(r),d&&_Nn(r),!r.tokens.isEmpty&&BNn(r),u&&mNn(r)].filter(Boolean).join(`
54170
54179
 
54171
- `):x});w.append(...i);let L=w.toCss({optimize:!0,minify:h});return r.hooks.callHook("generator:css","styles.css",L),L},Cvr=r=>e=>GN({...r,sheet:r.createSheet(),result:e},mre(({sheet:i,result:a,patterns:u,recipes:d})=>{a.css.forEach(h=>{h.data.forEach(b=>{i.processAtomic(b)})}),a.cva.forEach(h=>{h.data.forEach(b=>{i.processAtomicRecipe(b)})}),a.sva.forEach(h=>{h.data.forEach(b=>{i.processAtomicSlotRecipe(b)})}),a.jsx.forEach(h=>{h.data.forEach(b=>{i.processStyleProps(Djt(r,b))})}),a.recipe.forEach((h,b)=>{try{for(let x of h){let w=d.getConfig(b);w&&Sg(x).with({type:"jsx-recipe"},()=>{x.data.forEach(L=>{let[q,te]=d.splitProps(b,L);i.processStyleProps(Djt(r,te)),i.processRecipe(b,w,q)})}).otherwise(()=>{x.data.forEach(L=>{i.processRecipe(b,w,L)})})}}catch(x){v2.error("serializer:recipe",x)}}),a.pattern.forEach((h,b)=>{try{for(let x of h)Sg(x).with({type:"jsx-pattern",name:xD.string},({name:w})=>{x.data.forEach(L=>{let q=u.find(w),te=u.transform(q,L);i.processStyleProps(Djt(r,te))})}).otherwise(()=>{x.data.forEach(w=>{let L=u.transform(b,w);i.processAtomic(L)})})}catch(x){v2.error("serializer:pattern",x)}})}),g4(({sheet:i,result:a,config:{minify:u,optimize:d}})=>{let h=a.isEmpty()?void 0:i.toCss({minify:u,optimize:d});return r.hooks.callHook("parser:css",a.filePath??"",h),h},i=>{v2.error("serializer:css","Failed to serialize CSS: "+i)})),Djt=(r,e)=>{let i={};for(let[a,u]of Object.entries(e))r.isValidProperty(a)&&(i[a]=u);return i},vvr={map:Lve},bvr=r=>{let{config:e}=r,i=e.theme??{},a=e.syntax==="template-literal",u={tokens:gBt(e.hash)?e.hash:e.hash?.cssVar,className:gBt(e.hash)?e.hash:e.hash?.className},d={tokens:yBt(e.prefix)?e.prefix:e.prefix?.cssVar,className:yBt(e.prefix)?e.prefix:e.prefix?.className},h=new tNn({breakpoints:i.breakpoints,tokens:i.tokens,semanticTokens:i.semanticTokens,prefix:d.tokens,hash:u.tokens}),b=new Axn({prefix:d.className,tokens:h,config:a?{}:e.utilities,separator:e.separator,shorthands:e.shorthands,strictTokens:e.strictTokens}),x=new mxn({conditions:a?{}:e.conditions,breakpoints:e.theme?.breakpoints}),{textStyles:w,layerStyles:L}=i,q=Ufe({textStyle:w,layerStyle:L});dxn(q,{conditions:x,utility:b});let me=e.layers,Ee=Object.values(me),ke=zE(ur=>{let nn=new Set(ur.split(",").map(ha=>ha.trim()));return nn.size>=5&&Ee.every(ha=>nn.has(ha))}),Ue=`@layer ${Ee.join(", ")};`,Fe=()=>({root:s0.root(),conditions:x,utility:b,hash:u.className,helpers:vvr,layers:me}),We=ur=>{let nn=Fe();return new Txn(nn,{content:ur?.content,recipes:i?.recipes,slotRecipes:i?.slotRecipes})},Tt=Fe(),Vt=Object.assign({},i.recipes??{},i.slotRecipes??{}),un=new O5t(Vt,Tt);un.save();let Jn=Array.from(new Set(["css",...b.keys(),...x.keys()])),Dn=new Map(Jn.map(ur=>[ur,!0])),mn=zE(ur=>Dn.has(ur)||XPn(ur)),qn={outdir:`${e.outdir}-studio`,...r.config.studio};return{...r,isTemplateLiteralSyntax:a,studio:qn,hash:u,prefix:d,tokens:h,utility:b,properties:Jn,isValidProperty:mn,recipes:un,conditions:x,createSheetContext:Fe,createSheet:We,layers:me,isValidLayerRule:ke,layerString:Ue,layerNames:Ee}},Svr=r=>{let{jsxFactory:e,jsxFramework:i,jsxStyleProps:a}=r;return{factoryName:e,upperName:B4(e),typeName:`HTML${B4(e)}Props`,componentName:`${B4(e)}Component`,framework:i,styleProps:a??"all"}},xvr=({cwd:r,emitPackage:e,outdir:i})=>{let a=u=>[r,e?"node_modules":void 0,i,u].filter(Boolean);return{get:a,root:a(),css:a("css"),token:a("tokens"),types:a("types"),recipe:a("recipes"),pattern:a("patterns"),chunk:a("chunks"),outCss:a("styles.css"),jsx:a("jsx")}},Evr={map:Lve},Dvr=r=>{let e=r.patterns??{},i=u=>{let d=B4(u);return{upperName:d,baseName:u,dashName:PKe(u),styleFnName:`get${d}Style`,jsxName:e[u]?.jsxName??d}},a=Object.entries(e).map(([u,d])=>{let h=i(u),b=(d.jsx??[]).concat([h.jsxName]);return{...h,props:Object.keys(d?.properties??{}),blocklistType:d?.blocklist?`| '${d.blocklist.join("' | '")}'`:"",config:d,type:"pattern",match:LKe(b),jsx:b}});return{getConfig:u=>e[u],transform:(u,d)=>e[u]?.transform?.(d,Evr)??{},getNames:i,details:a,find:zE(u=>a.find(d=>d.match.test(u))?.baseName??pFt(u)),filter:zE(u=>a.filter(d=>d.match.test(u))),isEmpty:()=>Object.keys(e).length===0}},Tvr=r=>{let{config:e}=r,{forceConsistentTypeExtension:i,outExtension:a}=e;return{...bvr(r),patterns:Dvr(e),jsx:Svr(e),paths:xvr(e),file:{ext(u){return`${u}.${a}`},extDts(u){return`${u}.${a==="mjs"&&i?"d.mts":"d.ts"}`},__extDts(u){return i?this.extDts(u):u},import(u,d){return`import { ${u} } from '${this.ext(d)}';`},importType(u,d){return`import type { ${u} } from '${this.__extDts(d)}';`},exportType(u,d){return`export type { ${u} } from '${this.__extDts(d)}';`},exportStar(u){return`export * from '${this.ext(u)}';`},exportTypeStar(u){return`export * from '${this.__extDts(u)}';`},isTypeFile(u){return u.endsWith(".d.ts")||u.endsWith(".d.mts")}}}},Avr=r=>({...r,config:{cssVarRoot:":where(:root, :host)",jsxFactory:"styled",jsxStyleProps:"all",outExtension:"mjs",shorthands:!0,syntax:"object-literal",...r.config,layers:{reset:"reset",base:"base",tokens:"tokens",recipes:"recipes",utilities:"utilities",...r.config.layers}}}),kvr=r=>({css:[r,"css"],recipe:[r,"recipes"],pattern:[r,"patterns"],jsx:[r,"jsx"]}),bNn=r=>{let e=Tvr(Avr(r)),{config:i,jsx:a,isValidProperty:u,patterns:d,recipes:h}=e,b=r.tsconfig?.compilerOptions??{},x=b.baseUrl??"",w=r.config.cwd,L=x!==w?x.replace(w,"").slice(1):w;return{...e,getArtifacts:gvr(e),getCss:yvr(e),getParserCss:Cvr(e),messages:pNn(e),parserOptions:{importMap:kvr(i.outdir.replace(L,"")),jsx:{factory:a.factoryName,styleProps:a.styleProps,isStyleProp:u,nodes:[...d.details,...h.details]},getRecipesByJsxName:h.filter,getPatternsByJsxName:d.filter,compilerOptions:b,tsOptions:r.tsOptions}}};ae();var _$e=b_(NW(),1);fx();var Jxt=b_(NW(),1);fx();ae();ae();function YL(r,e){let i=Object.create(null),a=r.split(",");for(let u=0;u<a.length;u++)i[a[u]]=!0;return e?u=>!!i[u.toLowerCase()]:u=>!!i[u]}var Ivr=Object.freeze({}),SNn=()=>{},Ajt=()=>!1,wvr=/^on[^a-z]/,t6n=r=>wvr.test(r),jre=Object.assign,Pvr=Object.prototype.hasOwnProperty,Nvr=(r,e)=>Pvr.call(r,e),Wj=Array.isArray,Rvr=r=>QVt(r)==="[object Map]",Lvr=r=>QVt(r)==="[object Set]",Mvr=r=>typeof r=="function",Jx=r=>typeof r=="string",i$e=r=>typeof r=="symbol",vLe=r=>r!==null&&typeof r=="object",n6n=Object.prototype.toString,QVt=r=>n6n.call(r),Fvr=r=>QVt(r)==="[object Object]",xNn=YL(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),r6n=YL("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ZSt=r=>{let e=Object.create(null);return i=>e[i]||(e[i]=r(i))},Ovr=/-(\w)/g,VJ=ZSt(r=>r.replace(Ovr,(e,i)=>i?i.toUpperCase():"")),Wvr=/\B([A-Z])/g,i6n=ZSt(r=>r.replace(Wvr,"-$1").toLowerCase()),J1e=ZSt(r=>r.charAt(0).toUpperCase()+r.slice(1)),Gvr=ZSt(r=>r?`on${J1e(r)}`:""),zvr=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function ENn(r){return zvr.test(r)?`__props.${r}`:`__props[${JSON.stringify(r)}]`}var VQ={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},jvr={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Vvr="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",o6n=YL(Vvr),DNn=2;function Uvr(r,e=0,i=r.length){let a=r.split(/(\r?\n)/),u=a.filter((b,x)=>x%2===1);a=a.filter((b,x)=>x%2===0);let d=0,h=[];for(let b=0;b<a.length;b++)if(d+=a[b].length+(u[b]&&u[b].length||0),d>=e){for(let x=b-DNn;x<=b+DNn||i>d;x++){if(x<0||x>=a.length)continue;let w=x+1;h.push(`${w}${" ".repeat(Math.max(3-String(w).length,0))}| ${a[x]}`);let L=a[x].length,q=u[x]&&u[x].length||0;if(x===b){let te=e-(d-(L+q)),me=Math.max(1,i>d?L-te:i-e);h.push(" | "+" ".repeat(te)+"^".repeat(me))}else if(x>b){if(i>d){let te=Math.max(Math.min(i-d,L),1);h.push(" | "+"^".repeat(te))}d+=L+q}}break}return h.join(`
54180
+ `):x});w.append(...i);let L=w.toCss({optimize:!0,minify:h});return r.hooks.callHook("generator:css","styles.css",L),L},Cvr=r=>e=>GN({...r,sheet:r.createSheet(),result:e},mre(({sheet:i,result:a,patterns:u,recipes:d})=>{a.css.forEach(h=>{h.data.forEach(b=>{i.processAtomic(b)})}),a.cva.forEach(h=>{h.data.forEach(b=>{i.processAtomicRecipe(b)})}),a.sva.forEach(h=>{h.data.forEach(b=>{i.processAtomicSlotRecipe(b)})}),a.jsx.forEach(h=>{h.data.forEach(b=>{i.processStyleProps(Djt(r,b))})}),a.recipe.forEach((h,b)=>{try{for(let x of h){let w=d.getConfig(b);w&&Sg(x).with({type:"jsx-recipe"},()=>{x.data.forEach(L=>{let[q,te]=d.splitProps(b,L);i.processStyleProps(Djt(r,te)),i.processRecipe(b,w,q)})}).otherwise(()=>{x.data.forEach(L=>{i.processRecipe(b,w,L)})})}}catch(x){v2.error("serializer:recipe",x)}}),a.pattern.forEach((h,b)=>{try{for(let x of h)Sg(x).with({type:"jsx-pattern",name:xD.string},({name:w})=>{x.data.forEach(L=>{let q=u.find(w),te=u.transform(q,L);i.processStyleProps(Djt(r,te))})}).otherwise(()=>{x.data.forEach(w=>{let L=u.transform(b,w);i.processAtomic(L)})})}catch(x){v2.error("serializer:pattern",x)}})}),g4(({sheet:i,result:a,config:{minify:u,optimize:d}})=>{let h=a.isEmpty()?void 0:i.toCss({minify:u,optimize:d});return r.hooks.callHook("parser:css",a.filePath??"",h),h},i=>{v2.error("serializer:css","Failed to serialize CSS: "+i)})),Djt=(r,e)=>{let i={};for(let[a,u]of Object.entries(e))r.isValidProperty(a)&&(i[a]=u);return i},vvr={map:Lve},bvr=r=>{let{config:e}=r,i=e.theme??{},a=e.syntax==="template-literal",u={tokens:gBt(e.hash)?e.hash:e.hash?.cssVar,className:gBt(e.hash)?e.hash:e.hash?.className},d={tokens:yBt(e.prefix)?e.prefix:e.prefix?.cssVar,className:yBt(e.prefix)?e.prefix:e.prefix?.className},h=new tNn({breakpoints:i.breakpoints,tokens:i.tokens,semanticTokens:i.semanticTokens,prefix:d.tokens,hash:u.tokens}),b=new Axn({prefix:d.className,tokens:h,config:a?{}:e.utilities,separator:e.separator,shorthands:e.shorthands,strictTokens:e.strictTokens}),x=new mxn({conditions:a?{}:e.conditions,breakpoints:e.theme?.breakpoints}),{textStyles:w,layerStyles:L}=i,q=Ufe({textStyle:w,layerStyle:L});dxn(q,{conditions:x,utility:b});let me=e.layers,Ee=Object.values(me),ke=zE(ur=>{let nn=new Set(ur.split(",").map(ha=>ha.trim()));return nn.size>=5&&Ee.every(ha=>nn.has(ha))}),Ue=`@layer ${Ee.join(", ")};`,Fe=()=>({root:s0.root(),conditions:x,utility:b,hash:u.className,helpers:vvr,layers:me}),We=ur=>{let nn=Fe();return new Txn(nn,{content:ur?.content,recipes:i?.recipes,slotRecipes:i?.slotRecipes})},Tt=Fe(),Vt=Object.assign({},i.recipes??{},i.slotRecipes??{}),un=new O5t(Vt,Tt);un.save();let Jn=Array.from(new Set(["css",...b.keys(),...x.keys()])),Dn=new Map(Jn.map(ur=>[ur,!0])),mn=zE(ur=>Dn.has(ur)||XPn(ur)),qn={outdir:`${e.outdir}-studio`,...r.config.studio};return{...r,isTemplateLiteralSyntax:a,studio:qn,hash:u,prefix:d,tokens:h,utility:b,properties:Jn,isValidProperty:mn,recipes:un,conditions:x,createSheetContext:Fe,createSheet:We,layers:me,isValidLayerRule:ke,layerString:Ue,layerNames:Ee}},Svr=r=>{let{jsxFactory:e,jsxFramework:i,jsxStyleProps:a}=r;return{factoryName:e,upperName:B4(e),typeName:`HTML${B4(e)}Props`,componentName:`${B4(e)}Component`,framework:i,styleProps:a??"all"}},xvr=({cwd:r,emitPackage:e,outdir:i})=>{let a=u=>[r,e?"node_modules":void 0,i,u].filter(Boolean);return{get:a,root:a(),css:a("css"),token:a("tokens"),types:a("types"),recipe:a("recipes"),pattern:a("patterns"),chunk:a("chunks"),outCss:a("styles.css"),jsx:a("jsx")}},Evr={map:Lve},Dvr=r=>{let e=r.patterns??{},i=u=>{let d=B4(u);return{upperName:d,baseName:u,dashName:PKe(u),styleFnName:`get${d}Style`,jsxName:e[u]?.jsxName??d}},a=Object.entries(e).map(([u,d])=>{let h=i(u),b=(d.jsx??[]).concat([h.jsxName]);return{...h,props:Object.keys(d?.properties??{}),blocklistType:d?.blocklist?`| '${d.blocklist.join("' | '")}'`:"",config:d,type:"pattern",match:LKe(b),jsx:b}});return{keys:Object.keys(e),getConfig:u=>e[u],transform:(u,d)=>e[u]?.transform?.(d,Evr)??{},getNames:i,details:a,find:zE(u=>a.find(d=>d.match.test(u))?.baseName??pFt(u)),filter:zE(u=>a.filter(d=>d.match.test(u))),isEmpty:()=>Object.keys(e).length===0}},Tvr=r=>{let{config:e}=r,{forceConsistentTypeExtension:i,outExtension:a}=e;return{...bvr(r),patterns:Dvr(e),jsx:Svr(e),paths:xvr(e),file:{ext(u){return`${u}.${a}`},extDts(u){return`${u}.${a==="mjs"&&i?"d.mts":"d.ts"}`},__extDts(u){return i?this.extDts(u):u},import(u,d){return`import { ${u} } from '${this.ext(d)}';`},importType(u,d){return`import type { ${u} } from '${this.__extDts(d)}';`},exportType(u,d){return`export type { ${u} } from '${this.__extDts(d)}';`},exportStar(u){return`export * from '${this.ext(u)}';`},exportTypeStar(u){return`export * from '${this.__extDts(u)}';`},isTypeFile(u){return u.endsWith(".d.ts")||u.endsWith(".d.mts")}}}},Avr=r=>({...r,config:{cssVarRoot:":where(:root, :host)",jsxFactory:"styled",jsxStyleProps:"all",outExtension:"mjs",shorthands:!0,syntax:"object-literal",...r.config,layers:{reset:"reset",base:"base",tokens:"tokens",recipes:"recipes",utilities:"utilities",...r.config.layers}}}),kvr=(r,e)=>({css:e?.css?[e.css]:[r,"css"],recipe:e?.recipes?[e.recipes]:[r,"recipes"],pattern:e?.patterns?[e.patterns]:[r,"patterns"],jsx:e?.jsx?[e.jsx]:[r,"jsx"]}),bNn=r=>{let e=Tvr(Avr(r)),{config:i,jsx:a,isValidProperty:u,patterns:d,recipes:h}=e,b=r.tsconfig?.compilerOptions??{},x=b.baseUrl??"",w=r.config.cwd,L=x!==w?x.replace(w,"").slice(1):w;return{...e,getArtifacts:gvr(e),getCss:yvr(e),getParserCss:Cvr(e),messages:pNn(e),parserOptions:{importMap:kvr(i.outdir.replace(L,""),i.importMap),jsx:{framework:a.framework,factory:a.factoryName,styleProps:a.styleProps,isStyleProp:u,nodes:[...d.details,...h.details]},patternKeys:d.keys,recipeKeys:h.keys,getRecipesByJsxName:h.filter,getPatternsByJsxName:d.filter,compilerOptions:b,tsOptions:r.tsOptions}}};ae();var _$e=b_(NW(),1);fx();var Jxt=b_(NW(),1);fx();ae();ae();function YL(r,e){let i=Object.create(null),a=r.split(",");for(let u=0;u<a.length;u++)i[a[u]]=!0;return e?u=>!!i[u.toLowerCase()]:u=>!!i[u]}var Ivr=Object.freeze({}),SNn=()=>{},Ajt=()=>!1,wvr=/^on[^a-z]/,t6n=r=>wvr.test(r),jre=Object.assign,Pvr=Object.prototype.hasOwnProperty,Nvr=(r,e)=>Pvr.call(r,e),Wj=Array.isArray,Rvr=r=>QVt(r)==="[object Map]",Lvr=r=>QVt(r)==="[object Set]",Mvr=r=>typeof r=="function",Jx=r=>typeof r=="string",i$e=r=>typeof r=="symbol",vLe=r=>r!==null&&typeof r=="object",n6n=Object.prototype.toString,QVt=r=>n6n.call(r),Fvr=r=>QVt(r)==="[object Object]",xNn=YL(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),r6n=YL("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ZSt=r=>{let e=Object.create(null);return i=>e[i]||(e[i]=r(i))},Ovr=/-(\w)/g,VJ=ZSt(r=>r.replace(Ovr,(e,i)=>i?i.toUpperCase():"")),Wvr=/\B([A-Z])/g,i6n=ZSt(r=>r.replace(Wvr,"-$1").toLowerCase()),J1e=ZSt(r=>r.charAt(0).toUpperCase()+r.slice(1)),Gvr=ZSt(r=>r?`on${J1e(r)}`:""),zvr=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function ENn(r){return zvr.test(r)?`__props.${r}`:`__props[${JSON.stringify(r)}]`}var VQ={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},jvr={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Vvr="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",o6n=YL(Vvr),DNn=2;function Uvr(r,e=0,i=r.length){let a=r.split(/(\r?\n)/),u=a.filter((b,x)=>x%2===1);a=a.filter((b,x)=>x%2===0);let d=0,h=[];for(let b=0;b<a.length;b++)if(d+=a[b].length+(u[b]&&u[b].length||0),d>=e){for(let x=b-DNn;x<=b+DNn||i>d;x++){if(x<0||x>=a.length)continue;let w=x+1;h.push(`${w}${" ".repeat(Math.max(3-String(w).length,0))}| ${a[x]}`);let L=a[x].length,q=u[x]&&u[x].length||0;if(x===b){let te=e-(d-(L+q)),me=Math.max(1,i>d?L-te:i-e);h.push(" | "+" ".repeat(te)+"^".repeat(me))}else if(x>b){if(i>d){let te=Math.max(Math.min(i-d,L),1);h.push(" | "+"^".repeat(te))}d+=L+q}}break}return h.join(`
54172
54181
  `)}function s6n(r){if(Wj(r)){let e={};for(let i=0;i<r.length;i++){let a=r[i],u=Jx(a)?a6n(a):s6n(a);if(u)for(let d in u)e[d]=u[d]}return e}else{if(Jx(r))return r;if(vLe(r))return r}}var Hvr=/;(?![^(]*\))/g,Jvr=/:([^]+)/,qvr=/\/\*[^]*?\*\//g;function a6n(r){let e={};return r.replace(qvr,"").split(Hvr).forEach(i=>{if(i){let a=i.split(Jvr);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e}function Kvr(r){let e="";if(!r||Jx(r))return e;for(let i in r){let a=r[i],u=i.startsWith("--")?i:i6n(i);(Jx(a)||typeof a=="number")&&(e+=`${u}:${a};`)}return e}function l6n(r){let e="";if(Jx(r))e=r;else if(Wj(r))for(let i=0;i<r.length;i++){let a=l6n(r[i]);a&&(e+=a+" ")}else if(vLe(r))for(let i in r)r[i]&&(e+=i+" ");return e.trim()}var Xvr="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Yvr="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Qvr="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",$vr=YL(Xvr),Zvr=YL(Yvr),c6n=YL(Qvr),e1r="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",t1r=YL(e1r+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");var n1r=YL("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),r1r=YL("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),i1r=/["'&<>]/;function F1e(r){let e=""+r,i=i1r.exec(e);if(!i)return e;let a="",u,d,h=0;for(d=i.index;d<e.length;d++){switch(e.charCodeAt(d)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#39;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}h!==d&&(a+=e.slice(h,d)),h=d+1,a+=u}return h!==d?a+e.slice(h,d):a}var $Vt=r=>Jx(r)?r:r==null?"":Wj(r)||vLe(r)&&(r.toString===n6n||!Mvr(r.toString))?JSON.stringify(r,u6n,2):String(r),u6n=(r,e)=>e&&e.__v_isRef?u6n(r,e.value):Rvr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[a,u])=>(i[`${a} =>`]=u,i),{})}:Lvr(e)?{[`Set(${e.size})`]:[...e.values()]}:vLe(e)&&!Wj(e)&&!Fvr(e)?String(e):e;function ZVt(r){throw r}function f6n(r){console.warn(`[Vue warn] ${r.message}`)}function b2(r,e,i,a){let u=(i||o1r)[r]+(a||""),d=new SyntaxError(String(u));return d.code=r,d.loc=e,d}var o1r={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
54173
54182
  Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",52:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',53:""},aLe=Symbol("Fragment"),ZRe=Symbol("Teleport"),ext=Symbol("Suspense"),SQe=Symbol("KeepAlive"),eUt=Symbol("BaseTransition"),Upe=Symbol("openBlock"),tUt=Symbol("createBlock"),nUt=Symbol("createElementBlock"),txt=Symbol("createVNode"),nxt=Symbol("createElementVNode"),bLe=Symbol("createCommentVNode"),rxt=Symbol("createTextVNode"),ixt=Symbol("createStaticVNode"),xQe=Symbol("resolveComponent"),EQe=Symbol("resolveDynamicComponent"),oxt=Symbol("resolveDirective"),p6n=Symbol("resolveFilter"),sxt=Symbol("withDirectives"),axt=Symbol("renderList"),rUt=Symbol("renderSlot"),iUt=Symbol("createSlots"),o$e=Symbol("toDisplayString"),DQe=Symbol("mergeProps"),lxt=Symbol("normalizeClass"),cxt=Symbol("normalizeStyle"),lLe=Symbol("normalizeProps"),SLe=Symbol("guardReactiveProps"),uxt=Symbol("toHandlers"),hSt=Symbol("camelize"),d6n=Symbol("capitalize"),BSt=Symbol("toHandlerKey"),TQe=Symbol("setBlockTracking"),fxt=Symbol("pushScopeId"),pxt=Symbol("popScopeId"),dxt=Symbol("withCtx"),AQe=Symbol("unref"),kQe=Symbol("isRef"),mxt=Symbol("withMemo"),oUt=Symbol("isMemoSame"),K7={[aLe]:"Fragment",[ZRe]:"Teleport",[ext]:"Suspense",[SQe]:"KeepAlive",[eUt]:"BaseTransition",[Upe]:"openBlock",[tUt]:"createBlock",[nUt]:"createElementBlock",[txt]:"createVNode",[nxt]:"createElementVNode",[bLe]:"createCommentVNode",[rxt]:"createTextVNode",[ixt]:"createStaticVNode",[xQe]:"resolveComponent",[EQe]:"resolveDynamicComponent",[oxt]:"resolveDirective",[p6n]:"resolveFilter",[sxt]:"withDirectives",[axt]:"renderList",[rUt]:"renderSlot",[iUt]:"createSlots",[o$e]:"toDisplayString",[DQe]:"mergeProps",[lxt]:"normalizeClass",[cxt]:"normalizeStyle",[lLe]:"normalizeProps",[SLe]:"guardReactiveProps",[uxt]:"toHandlers",[hSt]:"camelize",[d6n]:"capitalize",[BSt]:"toHandlerKey",[TQe]:"setBlockTracking",[fxt]:"pushScopeId",[pxt]:"popScopeId",[dxt]:"withCtx",[AQe]:"unref",[kQe]:"isRef",[mxt]:"withMemo",[oUt]:"isMemoSame"};function sUt(r){Object.getOwnPropertySymbols(r).forEach(e=>{K7[e]=r[e]})}var qN={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function aUt(r,e=qN){return{type:0,children:r,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function cLe(r,e,i,a,u,d,h,b=!1,x=!1,w=!1,L=qN){return r&&(b?(r.helper(Upe),r.helper(X1e(r.inSSR,w))):r.helper(K1e(r.inSSR,w)),h&&r.helper(sxt)),{type:13,tag:e,props:i,children:a,patchFlag:u,dynamicProps:d,directives:h,isBlock:b,disableTracking:x,isComponent:w,loc:L}}function xLe(r,e=qN){return{type:17,loc:e,elements:r}}function MW(r,e=qN){return{type:15,loc:e,properties:r}}function dk(r,e){return{type:16,loc:qN,key:Jx(r)?FC(r,!0):r,value:e}}function FC(r,e=!1,i=qN,a=0){return{type:4,loc:i,content:r,isStatic:e,constType:e?3:a}}function s1r(r,e){return{type:5,loc:e,content:Jx(r)?FC(r,!1,e):r}}function BF(r,e=qN){return{type:8,loc:e,children:r}}function Dw(r,e=[],i=qN){return{type:14,loc:i,callee:r,arguments:e}}function q1e(r,e=void 0,i=!1,a=!1,u=qN){return{type:18,params:r,returns:e,newline:i,isSlot:a,loc:u}}function gSt(r,e,i,a=!0){return{type:19,test:r,consequent:e,alternate:i,newline:a,loc:qN}}function m6n(r,e,i=!1){return{type:20,index:r,value:e,isVNode:i,loc:qN}}function _6n(r){return{type:21,body:r,loc:qN}}function a1r(r){return{type:22,elements:r,loc:qN}}function l1r(r,e,i){return{type:23,test:r,consequent:e,alternate:i,loc:qN}}function c1r(r,e){return{type:24,left:r,right:e,loc:qN}}function u1r(r){return{type:25,expressions:r,loc:qN}}function f1r(r){return{type:26,returns:r,loc:qN}}function K1e(r,e){return r||e?txt:nxt}function X1e(r,e){return r||e?tUt:nUt}function _xt(r,{helper:e,removeHelper:i,inSSR:a}){r.isBlock||(r.isBlock=!0,i(K1e(a,r.isComponent)),e(Upe),e(X1e(a,r.isComponent)))}function p1r(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function s$e(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var i=function a(){if(this instanceof a){var u=[null];u.push.apply(u,arguments);var d=Function.bind.apply(e,u);return new d}return e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var u=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,u.get?u:{enumerable:!0,get:function(){return r[a]}})}),i}var hxt={};Object.defineProperty(hxt,"__esModule",{value:!0});var TNn={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function d1r(r){if(r&&r.annexB!=null&&r.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let e={};for(let i of Object.keys(TNn))e[i]=r&&r[i]!=null?r[i]:TNn[i];return e}var O1e=class{constructor(e,i){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!i}},jE={brace:new O1e("{"),j_oTag:new O1e("<tag"),j_cTag:new O1e("</tag"),j_expr:new O1e("<tag>...</tag>",!0)};jE.template=new O1e("`",!0);var Mv=!0,j_=!0,kjt=!0,rQe=!0,Lpe=!0,m1r=!0,ySt=class{constructor(e,i={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.rightAssociative=!!i.rightAssociative,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop!=null?i.binop:null,this.updateContext=null}},lUt=new Map;function Tb(r,e={}){e.keyword=r;let i=xg(r,e);return lUt.set(r,i),i}function _F(r,e){return xg(r,{beforeExpr:Mv,binop:e})}var _Qe=-1,Lre=[],cUt=[],uUt=[],fUt=[],pUt=[],dUt=[];function xg(r,e={}){var i,a,u,d;return++_Qe,cUt.push(r),uUt.push((i=e.binop)!=null?i:-1),fUt.push((a=e.beforeExpr)!=null?a:!1),pUt.push((u=e.startsExpr)!=null?u:!1),dUt.push((d=e.prefix)!=null?d:!1),Lre.push(new ySt(r,e)),_Qe}function v1(r,e={}){var i,a,u,d;return++_Qe,lUt.set(r,_Qe),cUt.push(r),uUt.push((i=e.binop)!=null?i:-1),fUt.push((a=e.beforeExpr)!=null?a:!1),pUt.push((u=e.startsExpr)!=null?u:!1),dUt.push((d=e.prefix)!=null?d:!1),Lre.push(new ySt("name",e)),_Qe}var _1r={bracketL:xg("[",{beforeExpr:Mv,startsExpr:j_}),bracketHashL:xg("#[",{beforeExpr:Mv,startsExpr:j_}),bracketBarL:xg("[|",{beforeExpr:Mv,startsExpr:j_}),bracketR:xg("]"),bracketBarR:xg("|]"),braceL:xg("{",{beforeExpr:Mv,startsExpr:j_}),braceBarL:xg("{|",{beforeExpr:Mv,startsExpr:j_}),braceHashL:xg("#{",{beforeExpr:Mv,startsExpr:j_}),braceR:xg("}"),braceBarR:xg("|}"),parenL:xg("(",{beforeExpr:Mv,startsExpr:j_}),parenR:xg(")"),comma:xg(",",{beforeExpr:Mv}),semi:xg(";",{beforeExpr:Mv}),colon:xg(":",{beforeExpr:Mv}),doubleColon:xg("::",{beforeExpr:Mv}),dot:xg("."),question:xg("?",{beforeExpr:Mv}),questionDot:xg("?."),arrow:xg("=>",{beforeExpr:Mv}),template:xg("template"),ellipsis:xg("...",{beforeExpr:Mv}),backQuote:xg("`",{startsExpr:j_}),dollarBraceL:xg("${",{beforeExpr:Mv,startsExpr:j_}),templateTail:xg("...`",{startsExpr:j_}),templateNonTail:xg("...${",{beforeExpr:Mv,startsExpr:j_}),at:xg("@"),hash:xg("#",{startsExpr:j_}),interpreterDirective:xg("#!..."),eq:xg("=",{beforeExpr:Mv,isAssign:rQe}),assign:xg("_=",{beforeExpr:Mv,isAssign:rQe}),slashAssign:xg("_=",{beforeExpr:Mv,isAssign:rQe}),xorAssign:xg("_=",{beforeExpr:Mv,isAssign:rQe}),moduloAssign:xg("_=",{beforeExpr:Mv,isAssign:rQe}),incDec:xg("++/--",{prefix:Lpe,postfix:m1r,startsExpr:j_}),bang:xg("!",{beforeExpr:Mv,prefix:Lpe,startsExpr:j_}),tilde:xg("~",{beforeExpr:Mv,prefix:Lpe,startsExpr:j_}),doubleCaret:xg("^^",{startsExpr:j_}),doubleAt:xg("@@",{startsExpr:j_}),pipeline:_F("|>",0),nullishCoalescing:_F("??",1),logicalOR:_F("||",1),logicalAND:_F("&&",2),bitwiseOR:_F("|",3),bitwiseXOR:_F("^",4),bitwiseAND:_F("&",5),equality:_F("==/!=/===/!==",6),lt:_F("</>/<=/>=",7),gt:_F("</>/<=/>=",7),relational:_F("</>/<=/>=",7),bitShift:_F("<</>>/>>>",8),bitShiftL:_F("<</>>/>>>",8),bitShiftR:_F("<</>>/>>>",8),plusMin:xg("+/-",{beforeExpr:Mv,binop:9,prefix:Lpe,startsExpr:j_}),modulo:xg("%",{binop:10,startsExpr:j_}),star:xg("*",{binop:10}),slash:_F("/",10),exponent:xg("**",{beforeExpr:Mv,binop:11,rightAssociative:!0}),_in:Tb("in",{beforeExpr:Mv,binop:7}),_instanceof:Tb("instanceof",{beforeExpr:Mv,binop:7}),_break:Tb("break"),_case:Tb("case",{beforeExpr:Mv}),_catch:Tb("catch"),_continue:Tb("continue"),_debugger:Tb("debugger"),_default:Tb("default",{beforeExpr:Mv}),_else:Tb("else",{beforeExpr:Mv}),_finally:Tb("finally"),_function:Tb("function",{startsExpr:j_}),_if:Tb("if"),_return:Tb("return",{beforeExpr:Mv}),_switch:Tb("switch"),_throw:Tb("throw",{beforeExpr:Mv,prefix:Lpe,startsExpr:j_}),_try:Tb("try"),_var:Tb("var"),_const:Tb("const"),_with:Tb("with"),_new:Tb("new",{beforeExpr:Mv,startsExpr:j_}),_this:Tb("this",{startsExpr:j_}),_super:Tb("super",{startsExpr:j_}),_class:Tb("class",{startsExpr:j_}),_extends:Tb("extends",{beforeExpr:Mv}),_export:Tb("export"),_import:Tb("import",{startsExpr:j_}),_null:Tb("null",{startsExpr:j_}),_true:Tb("true",{startsExpr:j_}),_false:Tb("false",{startsExpr:j_}),_typeof:Tb("typeof",{beforeExpr:Mv,prefix:Lpe,startsExpr:j_}),_void:Tb("void",{beforeExpr:Mv,prefix:Lpe,startsExpr:j_}),_delete:Tb("delete",{beforeExpr:Mv,prefix:Lpe,startsExpr:j_}),_do:Tb("do",{isLoop:kjt,beforeExpr:Mv}),_for:Tb("for",{isLoop:kjt}),_while:Tb("while",{isLoop:kjt}),_as:v1("as",{startsExpr:j_}),_assert:v1("assert",{startsExpr:j_}),_async:v1("async",{startsExpr:j_}),_await:v1("await",{startsExpr:j_}),_from:v1("from",{startsExpr:j_}),_get:v1("get",{startsExpr:j_}),_let:v1("let",{startsExpr:j_}),_meta:v1("meta",{startsExpr:j_}),_of:v1("of",{startsExpr:j_}),_sent:v1("sent",{startsExpr:j_}),_set:v1("set",{startsExpr:j_}),_static:v1("static",{startsExpr:j_}),_using:v1("using",{startsExpr:j_}),_yield:v1("yield",{startsExpr:j_}),_asserts:v1("asserts",{startsExpr:j_}),_checks:v1("checks",{startsExpr:j_}),_exports:v1("exports",{startsExpr:j_}),_global:v1("global",{startsExpr:j_}),_implements:v1("implements",{startsExpr:j_}),_intrinsic:v1("intrinsic",{startsExpr:j_}),_infer:v1("infer",{startsExpr:j_}),_is:v1("is",{startsExpr:j_}),_mixins:v1("mixins",{startsExpr:j_}),_proto:v1("proto",{startsExpr:j_}),_require:v1("require",{startsExpr:j_}),_satisfies:v1("satisfies",{startsExpr:j_}),_keyof:v1("keyof",{startsExpr:j_}),_readonly:v1("readonly",{startsExpr:j_}),_unique:v1("unique",{startsExpr:j_}),_abstract:v1("abstract",{startsExpr:j_}),_declare:v1("declare",{startsExpr:j_}),_enum:v1("enum",{startsExpr:j_}),_module:v1("module",{startsExpr:j_}),_namespace:v1("namespace",{startsExpr:j_}),_interface:v1("interface",{startsExpr:j_}),_type:v1("type",{startsExpr:j_}),_opaque:v1("opaque",{startsExpr:j_}),name:xg("name",{startsExpr:j_}),string:xg("string",{startsExpr:j_}),num:xg("num",{startsExpr:j_}),bigint:xg("bigint",{startsExpr:j_}),decimal:xg("decimal",{startsExpr:j_}),regexp:xg("regexp",{startsExpr:j_}),privateName:xg("#name",{startsExpr:j_}),eof:xg("eof"),jsxName:xg("jsxName"),jsxText:xg("jsxText",{beforeExpr:!0}),jsxTagStart:xg("jsxTagStart",{startsExpr:!0}),jsxTagEnd:xg("jsxTagEnd"),placeholder:xg("%%",{startsExpr:!0})};function NS(r){return r>=93&&r<=130}function h1r(r){return r<=92}function zQ(r){return r>=58&&r<=130}function h6n(r){return r>=58&&r<=134}function B1r(r){return fUt[r]}function Xjt(r){return pUt[r]}function g1r(r){return r>=29&&r<=33}function ANn(r){return r>=127&&r<=129}function y1r(r){return r>=90&&r<=92}function mUt(r){return r>=58&&r<=92}function C1r(r){return r>=39&&r<=59}function v1r(r){return r===34}function b1r(r){return dUt[r]}function S1r(r){return r>=119&&r<=121}function x1r(r){return r>=122&&r<=128}function Vpe(r){return cUt[r]}function oSt(r){return uUt[r]}function E1r(r){return r===57}function CSt(r){return r>=24&&r<=25}function Rre(r){return Lre[r]}Lre[8].updateContext=r=>{r.pop()},Lre[5].updateContext=Lre[7].updateContext=Lre[23].updateContext=r=>{r.push(jE.brace)},Lre[22].updateContext=r=>{r[r.length-1]===jE.template?r.pop():r.push(jE.template)},Lre[140].updateContext=r=>{r.push(jE.j_expr,jE.j_oTag)};function vSt(r,e){if(r==null)return{};var i={},a=Object.keys(r),u,d;for(d=0;d<a.length;d++)u=a[d],!(e.indexOf(u)>=0)&&(i[u]=r[u]);return i}var UQ=class{constructor(e,i,a){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=i,this.index=a}},uLe=class{constructor(e,i){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=i}};function gF(r,e){let{line:i,column:a,index:u}=r;return new UQ(i,a+e,u+e)}var Yjt={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},D1r=(r,e=r.length-1)=>({get(){return r.reduce((i,a)=>i[a],this)},set(i){r.reduce((a,u,d)=>d===e?a[u]=i:a[u],this)}}),T1r=(r,e,i)=>Object.keys(i).map(a=>[a,i[a]]).filter(([,a])=>!!a).map(([a,u])=>[a,typeof u=="function"?{value:u,enumerable:!1}:typeof u.reflect=="string"?Object.assign({},u,D1r(u.reflect.split("."))):u]).reduce((a,[u,d])=>Object.defineProperty(a,u,Object.assign({configurable:!0},d)),Object.assign(new r,e)),A1r={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Yjt.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Yjt.SourceTypeModuleError}},kNn={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Qjt=({type:r,prefix:e})=>r==="UpdateExpression"?kNn.UpdateExpression[String(e)]:kNn[r],k1r={AccessorIsGenerator:({kind:r})=>`A ${r}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:r})=>`Missing initializer in ${r} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:r})=>`\`${r}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:r,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.
54174
54183
  - Did you mean \`export { '${r}' as '${e}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:r})=>`'${r==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:r})=>`Unsyntactic ${r==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:r})=>`A string literal cannot be used as an imported binding.
@@ -54251,7 +54260,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
54251
54260
  `);if(i.length>1){for(let a=0;a<i.length-1;a++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=i[i.length-1].length}},m$e=`
54252
54261
  `,wLe={insertLeft:!1,insertRight:!1,storeName:!1},tbe=class r{constructor(e,i={}){let a=new Vxt(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:a},lastChunk:{writable:!0,value:a},lastSearchedChunk:{writable:!0,value:a},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:i.filename},indentExclusionRanges:{writable:!0,value:i.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new jxt},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:i.ignoreList}}),this.byStart[0]=a,this.byEnd[e.length]=a}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,i){if(typeof i!="string")throw new TypeError("inserted content must be a string");this._split(e);let a=this.byEnd[e];return a?a.appendLeft(i):this.intro+=i,this}appendRight(e,i){if(typeof i!="string")throw new TypeError("inserted content must be a string");this._split(e);let a=this.byStart[e];return a?a.appendRight(i):this.outro+=i,this}clone(){let e=new r(this.original,{filename:this.filename}),i=this.firstChunk,a=e.firstChunk=e.lastSearchedChunk=i.clone();for(;i;){e.byStart[a.start]=a,e.byEnd[a.end]=a;let u=i.next,d=u&&u.clone();d&&(a.next=d,d.previous=a,a=d),i=u}return e.lastChunk=a,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new jxt(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let i=0,a=Object.keys(this.storedNames),u=new HHt(e.hires),d=XMn(this.original);return this.intro&&u.advance(this.intro),this.firstChunk.eachNext(h=>{let b=d(h.start);h.intro.length&&u.advance(h.intro),h.edited?u.addEdit(i,h.content,b,h.storeName?a.indexOf(h.original):-1):u.addUneditedChunk(i,h,this.original,b,this.sourcemapLocations),h.outro.length&&u.advance(h.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?awr(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:a,mappings:u.raw,x_google_ignoreList:this.ignoreList?[i]:void 0}}generateMap(e){return new UHt(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=swr(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,i){let a=/^[^\r\n]/gm;if(cwr(e)&&(i=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;i=i||{};let u={};i.exclude&&(typeof i.exclude[0]=="number"?[i.exclude]:i.exclude).forEach(L=>{for(let q=L[0];q<L[1];q+=1)u[q]=!0});let d=i.indentStart!==!1,h=w=>d?`${e}${w}`:(d=!0,w);this.intro=this.intro.replace(a,h);let b=0,x=this.firstChunk;for(;x;){let w=x.end;if(x.edited)u[b]||(x.content=x.content.replace(a,h),x.content.length&&(d=x.content[x.content.length-1]===`
54253
54262
  `));else for(b=x.start;b<w;){if(!u[b]){let L=this.original[b];L===`
54254
- `?d=!0:L!=="\r"&&d&&(d=!1,b===x.start||(this._splitChunk(x,b),x=x.next),x.prependRight(e))}b+=1}b=x.end,x=x.next}return this.outro=this.outro.replace(a,h),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,i){return wLe.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),wLe.insertLeft=!0),this.appendLeft(e,i)}insertRight(e,i){return wLe.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),wLe.insertRight=!0),this.prependRight(e,i)}move(e,i,a){if(a>=e&&a<=i)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(i),this._split(a);let u=this.byStart[e],d=this.byEnd[i],h=u.previous,b=d.next,x=this.byStart[a];if(!x&&d===this.lastChunk)return this;let w=x?x.previous:this.lastChunk;return h&&(h.next=b),b&&(b.previous=h),w&&(w.next=u),x&&(x.previous=d),u.previous||(this.firstChunk=d.next),d.next||(this.lastChunk=u.previous,this.lastChunk.next=null),u.previous=w,d.next=x||null,w||(this.firstChunk=u),x||(this.lastChunk=d),this}overwrite(e,i,a,u){return u=u||{},this.update(e,i,a,{...u,overwrite:!u.contentOnly})}update(e,i,a,u){if(typeof a!="string")throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;i<0;)i+=this.original.length;if(i>this.original.length)throw new Error("end is out of bounds");if(e===i)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(i),u===!0&&(wLe.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),wLe.storeName=!0),u={storeName:!0});let d=u!==void 0?u.storeName:!1,h=u!==void 0?u.overwrite:!1;if(d){let w=this.original.slice(e,i);Object.defineProperty(this.storedNames,w,{writable:!0,value:!0,enumerable:!0})}let b=this.byStart[e],x=this.byEnd[i];if(b){let w=b;for(;w!==x;){if(w.next!==this.byStart[w.end])throw new Error("Cannot overwrite across a split point");w=w.next,w.edit("",!1)}b.edit(a,d,!h)}else{let w=new Vxt(e,i,"").edit(a,d);x.next=w,w.previous=x}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,i){if(typeof i!="string")throw new TypeError("inserted content must be a string");this._split(e);let a=this.byEnd[e];return a?a.prependLeft(i):this.intro=i+this.intro,this}prependRight(e,i){if(typeof i!="string")throw new TypeError("inserted content must be a string");this._split(e);let a=this.byStart[e];return a?a.prependRight(i):this.outro=i+this.outro,this}remove(e,i){for(;e<0;)e+=this.original.length;for(;i<0;)i+=this.original.length;if(e===i)return this;if(e<0||i>this.original.length)throw new Error("Character is out of bounds");if(e>i)throw new Error("end must be greater than start");this._split(e),this._split(i);let a=this.byStart[e];for(;a;)a.intro="",a.outro="",a.edit(""),a=i>a.end?this.byStart[a.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(m$e);if(e!==-1)return this.outro.substr(e+1);let i=this.outro,a=this.lastChunk;do{if(a.outro.length>0){if(e=a.outro.lastIndexOf(m$e),e!==-1)return a.outro.substr(e+1)+i;i=a.outro+i}if(a.content.length>0){if(e=a.content.lastIndexOf(m$e),e!==-1)return a.content.substr(e+1)+i;i=a.content+i}if(a.intro.length>0){if(e=a.intro.lastIndexOf(m$e),e!==-1)return a.intro.substr(e+1)+i;i=a.intro+i}}while(a=a.previous);return e=this.intro.lastIndexOf(m$e),e!==-1?this.intro.substr(e+1)+i:this.intro+i}slice(e=0,i=this.original.length){for(;e<0;)e+=this.original.length;for(;i<0;)i+=this.original.length;let a="",u=this.firstChunk;for(;u&&(u.start>e||u.end<=e);){if(u.start<i&&u.end>=i)return a;u=u.next}if(u&&u.edited&&u.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let d=u;for(;u;){u.intro&&(d!==u||u.start===e)&&(a+=u.intro);let h=u.start<i&&u.end>=i;if(h&&u.edited&&u.end!==i)throw new Error(`Cannot use replaced character ${i} as slice end anchor.`);let b=d===u?e-u.start:0,x=h?u.content.length+i-u.end:u.content.length;if(a+=u.content.slice(b,x),u.outro&&(!h||u.end===i)&&(a+=u.outro),h)break;u=u.next}return a}snip(e,i){let a=this.clone();return a.remove(0,e),a.remove(i,a.original.length),a}_split(e){if(this.byStart[e]||this.byEnd[e])return;let i=this.lastSearchedChunk,a=e>i.end;for(;i;){if(i.contains(e))return this._splitChunk(i,e);i=a?this.byStart[i.end]:this.byEnd[i.start]}}_splitChunk(e,i){if(e.edited&&e.content.length){let u=XMn(this.original)(i);throw new Error(`Cannot split a chunk that has already been edited (${u.line}:${u.column} \u2013 "${e.original}")`)}let a=e.split(i);return this.byEnd[i]=e,this.byStart[i]=a,this.byEnd[a.end]=a,e===this.lastChunk&&(this.lastChunk=a),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,i=this.firstChunk;for(;i;)e+=i.toString(),i=i.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,i=0;do i+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return i}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let i=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(i,""),this.outro.length)return!0;let a=this.lastChunk;do{let u=a.end,d=a.trimEnd(i);if(a.end!==u&&(this.lastChunk===a&&(this.lastChunk=a.next),this.byEnd[a.end]=a,this.byStart[a.next.start]=a.next,this.byEnd[a.next.end]=a.next),d)return!0;a=a.previous}while(a);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let i=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(i,""),this.intro.length)return!0;let a=this.firstChunk;do{let u=a.end,d=a.trimStart(i);if(a.end!==u&&(a===this.lastChunk&&(this.lastChunk=a.next),this.byEnd[a.end]=a,this.byStart[a.next.start]=a.next,this.byEnd[a.next.end]=a.next),d)return!0;a=a.next}while(a);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,i){function a(d,h){return typeof i=="string"?i.replace(/\$(\$|&|\d+)/g,(b,x)=>x==="$"?"$":x==="&"?d[0]:+x<d.length?d[+x]:`$${x}`):i(...d,d.index,h,d.groups)}function u(d,h){let b,x=[];for(;b=d.exec(h);)x.push(b);return x}if(e.global)u(e,this.original).forEach(h=>{h.index!=null&&this.overwrite(h.index,h.index+h[0].length,a(h,this.original))});else{let d=this.original.match(e);d&&d.index!=null&&this.overwrite(d.index,d.index+d[0].length,a(d,this.original))}return this}_replaceString(e,i){let{original:a}=this,u=a.indexOf(e);return u!==-1&&this.overwrite(u,u+e.length,i),this}replace(e,i){return typeof e=="string"?this._replaceString(e,i):this._replaceRegexp(e,i)}_replaceAllString(e,i){let{original:a}=this,u=e.length;for(let d=a.indexOf(e);d!==-1;d=a.indexOf(e,d+u))this.overwrite(d,d+u,i);return this}replaceAll(e,i){if(typeof e=="string")return this._replaceAllString(e,i);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,i)}};var fwr=r=>{try{return r.getModuleSpecifierValue()}catch{return}};function pwr(r,e){let{match:i}=e,a=[];return r.getImportDeclarations().forEach(u=>{let d=fwr(u);if(!d)return;u.getNamedImports().forEach(b=>{let x=b.getNameNode().getText(),w=b.getAliasNode()?.getText()||x,L=i({name:x,alias:w,mod:d});L&&a.push({name:x,alias:w,mod:d,importMapValue:L})})}),{value:a,toString(){return a.map(u=>u.alias).join(", ")},find(u){return a.find(d=>d.alias===u)},createMatch(u){let d=a.filter(h=>h.mod.includes(u)||h.importMapValue===u);return zE(h=>!!d.find(b=>b.alias===h||b.name===h))},match(u){return!!this.find(u)},getName(u){return this.find(u)?.name||u},getAlias(u){return a.find(d=>d.name===u)?.alias||u}}}var $Mn=class ZMn{jsx=new Set;css=new Set;cva=new Set;sva=new Set;recipe=new Map;pattern=new Map;filePath;set(e,i){this[e].add({type:"object",...i})}setCva(e){this.cva.add({type:"cva",...e})}setSva(e){this.sva.add({type:"sva",...e})}setJsx(e){this.jsx.add({type:"jsx",...e})}setPattern(e,i){this.pattern.get(e)??this.pattern.set(e,new Set),this.pattern.get(e)?.add({type:"pattern",name:e,...i})}setRecipe(e,i){this.recipe.get(e)??this.recipe.set(e,new Set),this.recipe.get(e)?.add({type:"recipe",...i})}isEmpty(){return this.css.size===0&&this.cva.size===0&&this.sva.size===0&&this.recipe.size===0&&this.pattern.size===0&&this.jsx.size===0}setFilePath(e){return this.filePath=e,this}toArray(){let e=[];return this.css.forEach(i=>e.push(i)),this.cva.forEach(i=>e.push(i)),this.sva.forEach(i=>e.push(i)),this.jsx.forEach(i=>e.push(i)),this.recipe.forEach(i=>i.forEach(a=>e.push(a))),this.pattern.forEach(i=>i.forEach(a=>e.push(a))),e}toJSON(){return{css:Array.from(this.css),cva:Array.from(this.cva),sva:Array.from(this.sva),jsx:Array.from(this.jsx),recipe:Object.fromEntries(Array.from(this.recipe.entries()).map(([e,i])=>[e,Array.from(i)])),pattern:Object.fromEntries(Array.from(this.pattern.entries()).map(([e,i])=>[e,Array.from(i)]))}}merge(e){return e.css.forEach(i=>this.css.add(i)),e.cva.forEach(i=>this.cva.add(i)),e.sva.forEach(i=>this.sva.add(i)),e.jsx.forEach(i=>this.jsx.add(i)),e.recipe.forEach((i,a)=>{this.recipe.get(a)??this.recipe.set(a,new Set),i.forEach(u=>this.recipe.get(a)?.add(u))}),e.pattern.forEach((i,a)=>{this.pattern.get(a)??this.pattern.set(a,new Set),i.forEach(u=>this.pattern.get(a)?.add(u))}),this}static fromJSON(e){let i=JSON.parse(e),a=new ZMn;return a.css=new Set(i.css),a.cva=new Set(i.cva),a.sva=new Set(i.sva),a.jsx=new Set(i.jsx),a.recipe=new Map(Object.entries(i.recipe)),a.pattern=new Map(Object.entries(i.pattern)),a}},dwr=()=>new $Mn,mwr=r=>r.type==="recipe",_wr=r=>r.type==="pattern",hwr=["compoundVariants","defaultVariants","variants","base"],YMn=r=>hwr.some(e=>r.has(e));function Uxt(r,e){let i=e?new RegExp(`^(${e.join("|")})$`):/.*/;return{mod:r,regex:i,match(a){return i.test(a)}}}var nbe=r=>[...r.conditions,r.raw,...r.spreadConditions],Kpe=r=>({value:void 0,getNode:()=>r.getNode(),getStack:()=>r.getStack()}),e4n={preset:"ECMA"},Bwr=r=>r,JHt={environment:e4n};function gwr(r){let{jsx:e,getRecipesByJsxName:i,getPatternsByJsxName:a,tsOptions:u,join:d}=r,h=Object.fromEntries(Object.entries(r.importMap).map(([x,w])=>[x,d(...w)])),b=[Uxt(h.css,["css","cva","sva"]),Uxt(h.recipe),Uxt(h.pattern)];return e&&b.push(Uxt(h.jsx,[e.factory,...e.nodes.map(x=>x.jsxName)])),function(w){if(!w)return;let L=w.getFilePath(),q=pwr(w,{match(Ai){let Sa=!1;for(let{regex:as,mod:Gs}of b)if(as.test(Ai.name)){if(Ai.mod.includes(Gs)){Sa=!0;break}if(u?.pathMappings&&UYe(u.pathMappings,Ai.mod)?.includes(Gs)){Sa=Gs;break}}return Sa}}),te=dwr();v2.debug("ast:import",q.value.length?`Found import { ${q} } in ${L}`:`No import found in ${L}`);let[me]=b,Ee=e?q.getAlias(e.factory):"styled",ke=q.createMatch(h.pattern),Ue=q.createMatch(h.recipe),Fe=Ai=>Ai===e?.factory,We=Ai=>!!(e&&Ai.startsWith(Ee)),Tt=Ai=>{let Sa=Ai.split(".raw")[0]??"";return Sa==="css"||ke(Sa)||Ue(Sa)},Vt=new Map,un=(e?.nodes??[]).filter(_wr).reduce((Ai,Sa)=>(Vt.set(Sa.jsxName,new Set(Sa.props??[])),Sa.jsx?.forEach(as=>{typeof as=="string"?Ai.string.add(as):as&&Ai.regex.push(as)}),Ai),{string:new Set,regex:[]}),Jn=new Set,Dn=new Set;q.value.forEach(Ai=>{let{alias:Sa}=Ai;Ue(Sa)&&Jn.add(Sa),ke(Sa)&&Dn.add(Sa)});let mn=new Map,qn=new Map,ur=new Map,nn=new Map,ha=(e?.nodes??[]).filter(mwr).reduce((Ai,Sa)=>(nn.set(Sa.jsxName,new Set(Sa.props??[])),Sa.jsx?.forEach(as=>{typeof as=="string"?Ai.string.add(as):Ai.regex.push(as)}),Ai),{string:new Set,regex:[]}),wa=q.getAlias("cva"),cn=q.getAlias("css"),Yi=q.getAlias("sva");r.jsx&&r.jsx.nodes.forEach(Ai=>{let Sa=q.getAlias(Ai.jsxName);Ai.props?.forEach(as=>ur.set(as,!0)),mn.set(Ai.baseName,ur),mn.set(Sa,ur),qn.set(Sa,ur)});let tr=zE(Ai=>ha.string.has(Ai)||ha.regex.some(Sa=>Sa.test(Ai))),ao=zE(Ai=>un.string.has(Ai)||un.regex.some(Sa=>Sa.test(Ai))),Oi=zE(Ai=>Ai?qn.has(Ai)||ywr(Ai)||We(Ai)||tr(Ai)||ao(Ai):!1),Ka=zE((Ai,Sa)=>tr(Ai)?i(Ai).some(Gs=>nn.get(Gs.baseName)?.has(Sa)):ao(Ai)?a(Ai).some(Gs=>Vt.get(Gs.baseName)?.has(Sa)):!1),ru=Sg(e?.styleProps).with("all",()=>zE((Ai,Sa)=>!!qn.get(Ai)?.has(Sa)||r.jsx?.isStyleProp(Sa)||ur.has(Sa)||Ka(Ai,Sa))).with("minimal",()=>(Ai,Sa)=>Sa==="css"||Ka(Ai,Sa)).otherwise(()=>(Ai,Sa)=>Ka(Ai,Sa)),fs=zE(Ai=>Jn.has(Ai)||Dn.has(Ai)||Ai===wa||Ai===cn||Ai===Yi||Tt(Ai)||We(Ai)?!0:mn.has(Ai)),Rs=v2.time.debug(`Tokens extracted from ${L}`),ri=nIn({ast:w,components:{matchTag:Ai=>Oi(Ai.tagName),matchProp:Ai=>ru(Ai.tagName,Ai.propName)},functions:{matchFn:Ai=>fs(Ai.fnName),matchProp:()=>!0,matchArg:Ai=>!(Ai.fnName===Ee&&Ai.index===1&&Jxt.Node.isIdentifier(Ai.argNode))},taggedTemplates:{matchTaggedTemplate:Ai=>fs(Ai.fnName)},getEvaluateOptions:Ai=>{if(!Jxt.Node.isCallExpression(Ai))return JHt;let Sa=Ai.getExpression();if(!Jxt.Node.isPropertyAccessExpression(Sa))return JHt;let as=Sa.getText();return Tt(as)?(as=as.replace(".raw",""),{environment:Object.assign({},e4n,{extra:{[as]:{raw:Bwr}}})}):JHt},flags:{skipTraverseFiles:!0}});return Rs(),ri.forEach((Ai,Sa)=>{let as=q.getName(Sa);Tt(as)&&(as=as.replace(".raw","")),v2.debug(`ast:${as}`,as!==Sa?{kind:Ai.kind,alias:Sa}:{kind:Ai.kind}),Ai.kind==="function"?Sg(as).when(me.match,Gs=>{Ai.queryList.forEach(Ec=>{if(Ec.kind==="call-expression")Ec.box.value.length>1?te.set(Gs,{name:Gs,box:Ec.box,data:Ec.box.value.reduce((ic,cf)=>[...ic,...nbe(OJ(cf))],[])}):te.set(Gs,{name:Gs,box:Ec.box.value[0]??Kpe(Ec.box),data:nbe(OJ(Ec.box.value[0]))});else if(Ec.kind==="tagged-template"){let ic=T6e(Ec.box.value);te.set(Gs,{name:Gs,box:Ec.box??Kpe(Ec.box),data:[ic]})}})}).when(ke,Gs=>{Ai.queryList.forEach(Ec=>{Ec.kind==="call-expression"&&te.setPattern(Gs,{name:Gs,box:Ec.box.value[0]??Kpe(Ec.box),data:nbe(OJ(Ec.box.value[0]))})})}).when(Ue,Gs=>{Ai.queryList.forEach(Ec=>{Ec.kind==="call-expression"&&te.setRecipe(Gs,{name:Gs,box:Ec.box.value[0]??Kpe(Ec.box),data:nbe(OJ(Ec.box.value[0]))})})}).when(Fe,()=>{Ai.queryList.forEach(Gs=>{if(Gs.kind==="call-expression"&&Gs.box.value[1]){let Ec=Gs.box.value[1],ic=hf.isMap(Ec)?Ec:Kpe(Gs.box),cf={name:as,box:ic,data:nbe(OJ(ic))};hf.isMap(Ec)&&YMn(Ec.value)?te.setCva(cf):te.set("css",cf)}else if(Gs.kind==="tagged-template"){let Ec=T6e(Gs.box.value);te.set("css",{name:as,box:Gs.box??Kpe(Gs.box),data:[Ec]})}})}).when(We,Gs=>{Ai.queryList.forEach(Ec=>{if(Ec.kind==="call-expression"){let ic=Ec.box.value[0],cf=hf.isMap(ic)?ic:Kpe(Ec.box),Mt={name:Gs,box:cf,data:nbe(OJ(cf))};hf.isMap(ic)&&YMn(ic.value)?te.setCva(Mt):te.set("css",Mt)}else if(Ec.kind==="tagged-template"){let ic=T6e(Ec.box.value);te.set("css",{name:Gs,box:Ec.box??Kpe(Ec.box),data:[ic]})}})}).otherwise(()=>{}):Ai.kind==="component"&&Ai.queryList.forEach(Gs=>{let Ec=nbe(OJ(Gs.box));Sg(as).when(We,ic=>{te.setJsx({name:ic,box:Gs.box,type:"jsx-factory",data:Ec})}).when(ao,ic=>{te.setPattern(ic,{type:"jsx-pattern",name:ic,box:Gs.box,data:Ec})}).when(tr,ic=>{i(ic).map(Mt=>{te.setRecipe(Mt.baseName,{type:"jsx-recipe",name:ic,box:Gs.box,data:Ec})})}).otherwise(()=>{te.setJsx({name:as,box:Gs.box,type:"jsx",data:Ec})})})}),te}}var ywr=r=>r[0]===r[0]?.toUpperCase(),Hxt={ROOT:0,ELEMENT:1,TEXT:2,COMMENT:3,SIMPLE_EXPRESSION:4,INTERPOLATION:5,ATTRIBUTE:6,DIRECTIVE:7,COMPOUND_EXPRESSION:8,IF:9,IF_BRANCH:10,FOR:11,TEXT_CALL:12,VNODE_CALL:13,JS_CALL_EXPRESSION:14,JS_OBJECT_EXPRESSION:15,JS_PROPERTY:16,JS_ARRAY_EXPRESSION:17,JS_FUNCTION_EXPRESSION:18,JS_CONDITIONAL_EXPRESSION:19,JS_CACHE_EXPRESSION:20,JS_BLOCK_STATEMENT:21,JS_TEMPLATE_LITERAL:22,JS_IF_STATEMENT:23,JS_ASSIGNMENT_EXPRESSION:24,JS_SEQUENCE_EXPRESSION:25,JS_RETURN_STATEMENT:26},Cwr=r=>{try{let e=YRn(r),i=new tbe(`<template>${e.descriptor.template?.content}</template>`??""),a=b=>{b.type===Hxt.DIRECTIVE&&b.exp?.type===Hxt.SIMPLE_EXPRESSION&&b.arg?.type===Hxt.SIMPLE_EXPRESSION&&i.replace(b.loc.source,`${b.arg.content}={${b.exp.content}}`)},u=[...e.descriptor.template.ast.children];for(;u.length;){let b=u.pop();b&&b.type===Hxt.ELEMENT&&(b.props.forEach(a),b.children.forEach(x=>u.push(x)))}let d=(e.descriptor.scriptSetup??e.descriptor.script)?.content+`
54263
+ `?d=!0:L!=="\r"&&d&&(d=!1,b===x.start||(this._splitChunk(x,b),x=x.next),x.prependRight(e))}b+=1}b=x.end,x=x.next}return this.outro=this.outro.replace(a,h),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,i){return wLe.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),wLe.insertLeft=!0),this.appendLeft(e,i)}insertRight(e,i){return wLe.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),wLe.insertRight=!0),this.prependRight(e,i)}move(e,i,a){if(a>=e&&a<=i)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(i),this._split(a);let u=this.byStart[e],d=this.byEnd[i],h=u.previous,b=d.next,x=this.byStart[a];if(!x&&d===this.lastChunk)return this;let w=x?x.previous:this.lastChunk;return h&&(h.next=b),b&&(b.previous=h),w&&(w.next=u),x&&(x.previous=d),u.previous||(this.firstChunk=d.next),d.next||(this.lastChunk=u.previous,this.lastChunk.next=null),u.previous=w,d.next=x||null,w||(this.firstChunk=u),x||(this.lastChunk=d),this}overwrite(e,i,a,u){return u=u||{},this.update(e,i,a,{...u,overwrite:!u.contentOnly})}update(e,i,a,u){if(typeof a!="string")throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;i<0;)i+=this.original.length;if(i>this.original.length)throw new Error("end is out of bounds");if(e===i)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(i),u===!0&&(wLe.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),wLe.storeName=!0),u={storeName:!0});let d=u!==void 0?u.storeName:!1,h=u!==void 0?u.overwrite:!1;if(d){let w=this.original.slice(e,i);Object.defineProperty(this.storedNames,w,{writable:!0,value:!0,enumerable:!0})}let b=this.byStart[e],x=this.byEnd[i];if(b){let w=b;for(;w!==x;){if(w.next!==this.byStart[w.end])throw new Error("Cannot overwrite across a split point");w=w.next,w.edit("",!1)}b.edit(a,d,!h)}else{let w=new Vxt(e,i,"").edit(a,d);x.next=w,w.previous=x}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,i){if(typeof i!="string")throw new TypeError("inserted content must be a string");this._split(e);let a=this.byEnd[e];return a?a.prependLeft(i):this.intro=i+this.intro,this}prependRight(e,i){if(typeof i!="string")throw new TypeError("inserted content must be a string");this._split(e);let a=this.byStart[e];return a?a.prependRight(i):this.outro=i+this.outro,this}remove(e,i){for(;e<0;)e+=this.original.length;for(;i<0;)i+=this.original.length;if(e===i)return this;if(e<0||i>this.original.length)throw new Error("Character is out of bounds");if(e>i)throw new Error("end must be greater than start");this._split(e),this._split(i);let a=this.byStart[e];for(;a;)a.intro="",a.outro="",a.edit(""),a=i>a.end?this.byStart[a.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(m$e);if(e!==-1)return this.outro.substr(e+1);let i=this.outro,a=this.lastChunk;do{if(a.outro.length>0){if(e=a.outro.lastIndexOf(m$e),e!==-1)return a.outro.substr(e+1)+i;i=a.outro+i}if(a.content.length>0){if(e=a.content.lastIndexOf(m$e),e!==-1)return a.content.substr(e+1)+i;i=a.content+i}if(a.intro.length>0){if(e=a.intro.lastIndexOf(m$e),e!==-1)return a.intro.substr(e+1)+i;i=a.intro+i}}while(a=a.previous);return e=this.intro.lastIndexOf(m$e),e!==-1?this.intro.substr(e+1)+i:this.intro+i}slice(e=0,i=this.original.length){for(;e<0;)e+=this.original.length;for(;i<0;)i+=this.original.length;let a="",u=this.firstChunk;for(;u&&(u.start>e||u.end<=e);){if(u.start<i&&u.end>=i)return a;u=u.next}if(u&&u.edited&&u.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let d=u;for(;u;){u.intro&&(d!==u||u.start===e)&&(a+=u.intro);let h=u.start<i&&u.end>=i;if(h&&u.edited&&u.end!==i)throw new Error(`Cannot use replaced character ${i} as slice end anchor.`);let b=d===u?e-u.start:0,x=h?u.content.length+i-u.end:u.content.length;if(a+=u.content.slice(b,x),u.outro&&(!h||u.end===i)&&(a+=u.outro),h)break;u=u.next}return a}snip(e,i){let a=this.clone();return a.remove(0,e),a.remove(i,a.original.length),a}_split(e){if(this.byStart[e]||this.byEnd[e])return;let i=this.lastSearchedChunk,a=e>i.end;for(;i;){if(i.contains(e))return this._splitChunk(i,e);i=a?this.byStart[i.end]:this.byEnd[i.start]}}_splitChunk(e,i){if(e.edited&&e.content.length){let u=XMn(this.original)(i);throw new Error(`Cannot split a chunk that has already been edited (${u.line}:${u.column} \u2013 "${e.original}")`)}let a=e.split(i);return this.byEnd[i]=e,this.byStart[i]=a,this.byEnd[a.end]=a,e===this.lastChunk&&(this.lastChunk=a),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,i=this.firstChunk;for(;i;)e+=i.toString(),i=i.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,i=0;do i+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return i}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let i=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(i,""),this.outro.length)return!0;let a=this.lastChunk;do{let u=a.end,d=a.trimEnd(i);if(a.end!==u&&(this.lastChunk===a&&(this.lastChunk=a.next),this.byEnd[a.end]=a,this.byStart[a.next.start]=a.next,this.byEnd[a.next.end]=a.next),d)return!0;a=a.previous}while(a);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let i=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(i,""),this.intro.length)return!0;let a=this.firstChunk;do{let u=a.end,d=a.trimStart(i);if(a.end!==u&&(a===this.lastChunk&&(this.lastChunk=a.next),this.byEnd[a.end]=a,this.byStart[a.next.start]=a.next,this.byEnd[a.next.end]=a.next),d)return!0;a=a.next}while(a);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,i){function a(d,h){return typeof i=="string"?i.replace(/\$(\$|&|\d+)/g,(b,x)=>x==="$"?"$":x==="&"?d[0]:+x<d.length?d[+x]:`$${x}`):i(...d,d.index,h,d.groups)}function u(d,h){let b,x=[];for(;b=d.exec(h);)x.push(b);return x}if(e.global)u(e,this.original).forEach(h=>{h.index!=null&&this.overwrite(h.index,h.index+h[0].length,a(h,this.original))});else{let d=this.original.match(e);d&&d.index!=null&&this.overwrite(d.index,d.index+d[0].length,a(d,this.original))}return this}_replaceString(e,i){let{original:a}=this,u=a.indexOf(e);return u!==-1&&this.overwrite(u,u+e.length,i),this}replace(e,i){return typeof e=="string"?this._replaceString(e,i):this._replaceRegexp(e,i)}_replaceAllString(e,i){let{original:a}=this,u=e.length;for(let d=a.indexOf(e);d!==-1;d=a.indexOf(e,d+u))this.overwrite(d,d+u,i);return this}replaceAll(e,i){if(typeof e=="string")return this._replaceAllString(e,i);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,i)}};var fwr=r=>{try{return r.getModuleSpecifierValue()}catch{return}};function pwr(r,e){let{match:i}=e,a=[];return r.getImportDeclarations().forEach(u=>{let d=fwr(u);if(!d)return;u.getNamedImports().forEach(b=>{let x=b.getNameNode().getText(),w=b.getAliasNode()?.getText()||x,L=i({name:x,alias:w,mod:d});L&&a.push({name:x,alias:w,mod:d,importMapValue:L})})}),{value:a,toString(){return a.map(u=>u.alias).join(", ")},find(u){return a.find(d=>d.alias===u)},createMatch(u,d){let h=a.filter(b=>{let x=b.mod.includes(u)||b.importMapValue===u,w=d.includes(b.name);return x&&w});return zE(b=>!!h.find(x=>x.alias===b||x.name===b))},match(u){return!!this.find(u)},getName(u){return this.find(u)?.name||u},getAlias(u){return a.find(d=>d.name===u)?.alias||u}}}var $Mn=class ZMn{jsx=new Set;css=new Set;cva=new Set;sva=new Set;recipe=new Map;pattern=new Map;filePath;set(e,i){this[e].add({type:"object",...i})}setCva(e){this.cva.add({type:"cva",...e})}setSva(e){this.sva.add({type:"sva",...e})}setJsx(e){this.jsx.add({type:"jsx",...e})}setPattern(e,i){this.pattern.get(e)??this.pattern.set(e,new Set),this.pattern.get(e)?.add({type:"pattern",name:e,...i})}setRecipe(e,i){this.recipe.get(e)??this.recipe.set(e,new Set),this.recipe.get(e)?.add({type:"recipe",...i})}isEmpty(){return this.css.size===0&&this.cva.size===0&&this.sva.size===0&&this.recipe.size===0&&this.pattern.size===0&&this.jsx.size===0}setFilePath(e){return this.filePath=e,this}toArray(){let e=[];return this.css.forEach(i=>e.push(i)),this.cva.forEach(i=>e.push(i)),this.sva.forEach(i=>e.push(i)),this.jsx.forEach(i=>e.push(i)),this.recipe.forEach(i=>i.forEach(a=>e.push(a))),this.pattern.forEach(i=>i.forEach(a=>e.push(a))),e}toJSON(){return{css:Array.from(this.css),cva:Array.from(this.cva),sva:Array.from(this.sva),jsx:Array.from(this.jsx),recipe:Object.fromEntries(Array.from(this.recipe.entries()).map(([e,i])=>[e,Array.from(i)])),pattern:Object.fromEntries(Array.from(this.pattern.entries()).map(([e,i])=>[e,Array.from(i)]))}}merge(e){return e.css.forEach(i=>this.css.add(i)),e.cva.forEach(i=>this.cva.add(i)),e.sva.forEach(i=>this.sva.add(i)),e.jsx.forEach(i=>this.jsx.add(i)),e.recipe.forEach((i,a)=>{this.recipe.get(a)??this.recipe.set(a,new Set),i.forEach(u=>this.recipe.get(a)?.add(u))}),e.pattern.forEach((i,a)=>{this.pattern.get(a)??this.pattern.set(a,new Set),i.forEach(u=>this.pattern.get(a)?.add(u))}),this}static fromJSON(e){let i=JSON.parse(e),a=new ZMn;return a.css=new Set(i.css),a.cva=new Set(i.cva),a.sva=new Set(i.sva),a.jsx=new Set(i.jsx),a.recipe=new Map(Object.entries(i.recipe)),a.pattern=new Map(Object.entries(i.pattern)),a}},dwr=()=>new $Mn,mwr=r=>r.type==="recipe",_wr=r=>r.type==="pattern",hwr=["compoundVariants","defaultVariants","variants","base"],YMn=r=>hwr.some(e=>r.has(e));function Uxt(r,e){let i=e?new RegExp(`^(${e.join("|")})$`):/.*/;return{mod:r,regex:i,match(a){return i.test(a)}}}var nbe=r=>[...r.conditions,r.raw,...r.spreadConditions],Kpe=r=>({value:void 0,getNode:()=>r.getNode(),getStack:()=>r.getStack()}),e4n={preset:"ECMA"},Bwr=r=>r,JHt={environment:e4n};function gwr(r){let{jsx:e,getRecipesByJsxName:i,getPatternsByJsxName:a,tsOptions:u,join:d}=r,h=Object.fromEntries(Object.entries(r.importMap).map(([x,w])=>[x,d(...w)])),b=[Uxt(h.css,["css","cva","sva"]),Uxt(h.recipe),Uxt(h.pattern)];return e.framework&&b.push(Uxt(h.jsx,[e.factory,...e.nodes.map(x=>x.jsxName)])),function(w){if(!w)return;let L=w.getFilePath(),q=pwr(w,{match(Ai){let Sa=!1;for(let{regex:as,mod:Gs}of b)if(as.test(Ai.name)){if(Ai.mod.includes(Gs)){Sa=!0;break}if(u?.pathMappings&&UYe(u.pathMappings,Ai.mod)?.includes(Gs)){Sa=Gs;break}}return Sa}}),te=dwr();v2.debug("ast:import",q.value.length?`Found import { ${q} } in ${L}`:`No import found in ${L}`);let[me]=b,Ee=e?q.getAlias(e.factory):"styled",ke=q.createMatch(h.pattern,r.patternKeys),Ue=q.createMatch(h.recipe,r.recipeKeys),Fe=Ai=>Ai===e?.factory,We=Ai=>!!(e&&Ai.startsWith(Ee)),Tt=Ai=>{let Sa=Ai.split(".raw")[0]??"";return Sa==="css"||ke(Sa)||Ue(Sa)},Vt=new Map,un=(e?.nodes??[]).filter(_wr).reduce((Ai,Sa)=>(Vt.set(Sa.jsxName,new Set(Sa.props??[])),Sa.jsx?.forEach(as=>{typeof as=="string"?Ai.string.add(as):as&&Ai.regex.push(as)}),Ai),{string:new Set,regex:[]}),Jn=new Set,Dn=new Set;q.value.forEach(Ai=>{let{alias:Sa}=Ai;Ue(Sa)&&Jn.add(Sa),ke(Sa)&&Dn.add(Sa)});let mn=new Map,qn=new Map,ur=new Map,nn=new Map,ha=(e?.nodes??[]).filter(mwr).reduce((Ai,Sa)=>(nn.set(Sa.jsxName,new Set(Sa.props??[])),Sa.jsx?.forEach(as=>{typeof as=="string"?Ai.string.add(as):Ai.regex.push(as)}),Ai),{string:new Set,regex:[]}),wa=q.getAlias("cva"),cn=q.getAlias("css"),Yi=q.getAlias("sva");r.jsx&&r.jsx.nodes.forEach(Ai=>{let Sa=q.getAlias(Ai.jsxName);Ai.props?.forEach(as=>ur.set(as,!0)),mn.set(Ai.baseName,ur),mn.set(Sa,ur),qn.set(Sa,ur)});let tr=zE(Ai=>ha.string.has(Ai)||ha.regex.some(Sa=>Sa.test(Ai))),ao=zE(Ai=>un.string.has(Ai)||un.regex.some(Sa=>Sa.test(Ai))),Oi=zE(Ai=>Ai?qn.has(Ai)||ywr(Ai)||We(Ai)||tr(Ai)||ao(Ai):!1),Ka=zE((Ai,Sa)=>tr(Ai)?i(Ai).some(Gs=>nn.get(Gs.baseName)?.has(Sa)):ao(Ai)?a(Ai).some(Gs=>Vt.get(Gs.baseName)?.has(Sa)):!1),ru=Sg(e?.styleProps).with("all",()=>zE((Ai,Sa)=>!!qn.get(Ai)?.has(Sa)||r.jsx?.isStyleProp(Sa)||ur.has(Sa)||Ka(Ai,Sa))).with("minimal",()=>(Ai,Sa)=>Sa==="css"||Ka(Ai,Sa)).otherwise(()=>(Ai,Sa)=>Ka(Ai,Sa)),fs=zE(Ai=>Jn.has(Ai)||Dn.has(Ai)||Ai===wa||Ai===cn||Ai===Yi||Tt(Ai)||We(Ai)?!0:mn.has(Ai)),Rs=v2.time.debug(`Tokens extracted from ${L}`),ri=nIn({ast:w,components:{matchTag:Ai=>Oi(Ai.tagName),matchProp:Ai=>ru(Ai.tagName,Ai.propName)},functions:{matchFn:Ai=>fs(Ai.fnName),matchProp:()=>!0,matchArg:Ai=>!(Ai.fnName===Ee&&Ai.index===1&&Jxt.Node.isIdentifier(Ai.argNode))},taggedTemplates:{matchTaggedTemplate:Ai=>fs(Ai.fnName)},getEvaluateOptions:Ai=>{if(!Jxt.Node.isCallExpression(Ai))return JHt;let Sa=Ai.getExpression();if(!Jxt.Node.isPropertyAccessExpression(Sa))return JHt;let as=Sa.getText();return Tt(as)?(as=as.replace(".raw",""),{environment:Object.assign({},e4n,{extra:{[as]:{raw:Bwr}}})}):JHt},flags:{skipTraverseFiles:!0}});return Rs(),ri.forEach((Ai,Sa)=>{let as=q.getName(Sa);Tt(as)&&(as=as.replace(".raw","")),v2.debug(`ast:${as}`,as!==Sa?{kind:Ai.kind,alias:Sa}:{kind:Ai.kind}),Ai.kind==="function"?Sg(as).when(me.match,Gs=>{Ai.queryList.forEach(Ec=>{if(Ec.kind==="call-expression")Ec.box.value.length>1?te.set(Gs,{name:Gs,box:Ec.box,data:Ec.box.value.reduce((ic,cf)=>[...ic,...nbe(OJ(cf))],[])}):te.set(Gs,{name:Gs,box:Ec.box.value[0]??Kpe(Ec.box),data:nbe(OJ(Ec.box.value[0]))});else if(Ec.kind==="tagged-template"){let ic=T6e(Ec.box.value);te.set(Gs,{name:Gs,box:Ec.box??Kpe(Ec.box),data:[ic]})}})}).when(ke,Gs=>{Ai.queryList.forEach(Ec=>{Ec.kind==="call-expression"&&te.setPattern(Gs,{name:Gs,box:Ec.box.value[0]??Kpe(Ec.box),data:nbe(OJ(Ec.box.value[0]))})})}).when(Ue,Gs=>{Ai.queryList.forEach(Ec=>{Ec.kind==="call-expression"&&te.setRecipe(Gs,{name:Gs,box:Ec.box.value[0]??Kpe(Ec.box),data:nbe(OJ(Ec.box.value[0]))})})}).when(Fe,()=>{Ai.queryList.forEach(Gs=>{if(Gs.kind==="call-expression"&&Gs.box.value[1]){let Ec=Gs.box.value[1],ic=hf.isMap(Ec)?Ec:Kpe(Gs.box),cf={name:as,box:ic,data:nbe(OJ(ic))};hf.isMap(Ec)&&YMn(Ec.value)?te.setCva(cf):te.set("css",cf)}else if(Gs.kind==="tagged-template"){let Ec=T6e(Gs.box.value);te.set("css",{name:as,box:Gs.box??Kpe(Gs.box),data:[Ec]})}})}).when(We,Gs=>{Ai.queryList.forEach(Ec=>{if(Ec.kind==="call-expression"){let ic=Ec.box.value[0],cf=hf.isMap(ic)?ic:Kpe(Ec.box),Mt={name:Gs,box:cf,data:nbe(OJ(cf))};hf.isMap(ic)&&YMn(ic.value)?te.setCva(Mt):te.set("css",Mt)}else if(Ec.kind==="tagged-template"){let ic=T6e(Ec.box.value);te.set("css",{name:Gs,box:Ec.box??Kpe(Ec.box),data:[ic]})}})}).otherwise(()=>{}):Ai.kind==="component"&&Ai.queryList.forEach(Gs=>{let Ec=nbe(OJ(Gs.box));Sg(as).when(We,ic=>{te.setJsx({name:ic,box:Gs.box,type:"jsx-factory",data:Ec})}).when(ao,ic=>{te.setPattern(ic,{type:"jsx-pattern",name:ic,box:Gs.box,data:Ec})}).when(tr,ic=>{i(ic).map(Mt=>{te.setRecipe(Mt.baseName,{type:"jsx-recipe",name:ic,box:Gs.box,data:Ec})})}).otherwise(()=>{te.setJsx({name:as,box:Gs.box,type:"jsx",data:Ec})})})}),te}}var ywr=r=>r[0]===r[0]?.toUpperCase(),Hxt={ROOT:0,ELEMENT:1,TEXT:2,COMMENT:3,SIMPLE_EXPRESSION:4,INTERPOLATION:5,ATTRIBUTE:6,DIRECTIVE:7,COMPOUND_EXPRESSION:8,IF:9,IF_BRANCH:10,FOR:11,TEXT_CALL:12,VNODE_CALL:13,JS_CALL_EXPRESSION:14,JS_OBJECT_EXPRESSION:15,JS_PROPERTY:16,JS_ARRAY_EXPRESSION:17,JS_FUNCTION_EXPRESSION:18,JS_CONDITIONAL_EXPRESSION:19,JS_CACHE_EXPRESSION:20,JS_BLOCK_STATEMENT:21,JS_TEMPLATE_LITERAL:22,JS_IF_STATEMENT:23,JS_ASSIGNMENT_EXPRESSION:24,JS_SEQUENCE_EXPRESSION:25,JS_RETURN_STATEMENT:26},Cwr=r=>{try{let e=YRn(r),i=new tbe(`<template>${e.descriptor.template?.content}</template>`??""),a=b=>{b.type===Hxt.DIRECTIVE&&b.exp?.type===Hxt.SIMPLE_EXPRESSION&&b.arg?.type===Hxt.SIMPLE_EXPRESSION&&i.replace(b.loc.source,`${b.arg.content}={${b.exp.content}}`)},u=[...e.descriptor.template.ast.children];for(;u.length;){let b=u.pop();b&&b.type===Hxt.ELEMENT&&(b.props.forEach(a),b.children.forEach(x=>u.push(x)))}let d=(e.descriptor.scriptSetup??e.descriptor.script)?.content+`
54255
54264
  `;return new tbe(`${d}
54256
54265
  const render = ${i.toString()}`).toString()}catch{return""}},QMn=/<!--[^]*?-->|<style(\s[^]*?)?(?:>([^]*?)<\/style>|\/>)/gi,vwr=/<!--[^]*?-->|<script(\s[^]*?)?(?:>([^]*?)<\/script>|\/>)/gi,bwr=r=>{try{let e=[],i=new tbe(r),a;for(;(a=vwr.exec(r))!=null;){let[h,b,x]=a;x&&(e.push(x),i.remove(a.index,a.index+h.length))}let u=i.toString().trimStart().replace(QMn,"").replace(QMn,"");return`${e.join("")}
54257
54266
  const render = <div>${u}</div>`.toString().trim()}catch{return""}},Swr=r=>new _$e.Project({skipAddingFilesFromTsConfig:!0,skipFileDependencyResolution:!0,skipLoadingLibFiles:!0,...r,compilerOptions:{allowJs:!0,strictNullChecks:!1,skipLibCheck:!0,...r.compilerOptions}}),t4n=({getFiles:r,readFile:e,parserOptions:i,hooks:a,...u})=>GN({project:Swr(u),parser:gwr(i)},e6.assign(({project:d,parser:h})=>({getSourceFile:b=>d.getSourceFile(b),removeSourceFile:b=>{let x=d.getSourceFile(b);x&&d.removeSourceFile(x)},createSourceFile:b=>d.createSourceFile(b,e(b),{overwrite:!0,scriptKind:_$e.ScriptKind.TSX}),addSourceFile:(b,x)=>d.createSourceFile(b,x,{overwrite:!0,scriptKind:_$e.ScriptKind.TSX}),parseSourceFile:b=>{if(b.endsWith(".json")){let te=e(b);a.callHook("parser:before",b,te);let me=$Mn.fromJSON(te).setFilePath(b);return a.callHook("parser:after",b,me),me}let x=d.getSourceFile(b);if(!x)return;let w=x.getText(),L=xwr(b,w);w!==L&&x.replaceWithText(L),a.callHook("parser:before",b,w);let q=h(x)?.setFilePath(b);return a.callHook("parser:after",b,q),q}})),mre(({createSourceFile:d})=>{let h=r();for(let b of h)d(b)}),e6.assign(({getSourceFile:d,project:h})=>({reloadSourceFile:b=>d(b)?.refreshFromFileSystemSync(),reloadSourceFiles:()=>{let b=r();for(let x of b)d(x)?.refreshFromFileSystemSync()??h.addSourceFileAtPath(x)}})),e6.omit(["project","parser"])),xwr=(r,e)=>r.endsWith(".vue")?Cwr(e):r.endsWith(".svelte")?bwr(e):e;var y5n=b_($8n(),1),C5n=b_(require("fast-glob"),1),w4=b_(ejt(),1);ae();ae();function p2t(r=""){return!r||!r.includes("\\")?r:r.replace(/\\/g,"/")}var N3r=/^[/\\]{2}/,R3r=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Z8n=/^[A-Za-z]:$/,UJt="/";var eFn=function(r){if(r.length===0)return".";r=p2t(r);let e=r.match(N3r),i=Yre(r),a=r[r.length-1]==="/";return r=HJt(r,!i),r.length===0?i?"/":a?"./":".":(a&&(r+="/"),Z8n.test(r)&&(r+="/"),e?i?`//${r}`:`//./${r}`:i&&!Yre(r)?`/${r}`:r)},d2t=function(...r){if(r.length===0)return".";let e;for(let i of r)i&&i.length>0&&(e===void 0?e=i:e+=`/${i}`);return e===void 0?".":eFn(e.replace(/\/\/+/g,"/"))};function L3r(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}var VJt=function(...r){r=r.map(a=>p2t(a));let e="",i=!1;for(let a=r.length-1;a>=-1&&!i;a--){let u=a>=0?r[a]:L3r();!u||u.length===0||(e=`${u}/${e}`,i=Yre(u))}return e=HJt(e,!i),i&&!Yre(e)?`/${e}`:e.length>0?e:"."};function HJt(r,e){let i="",a=0,u=-1,d=0,h=null;for(let b=0;b<=r.length;++b){if(b<r.length)h=r[b];else{if(h==="/")break;h="/"}if(h==="/"){if(!(u===b-1||d===1))if(d===2){if(i.length<2||a!==2||i[i.length-1]!=="."||i[i.length-2]!=="."){if(i.length>2){let x=i.lastIndexOf("/");x===-1?(i="",a=0):(i=i.slice(0,x),a=i.length-1-i.lastIndexOf("/")),u=b,d=0;continue}else if(i.length>0){i="",a=0,u=b,d=0;continue}}e&&(i+=i.length>0?"/..":"..",a=2)}else i.length>0?i+=`/${r.slice(u+1,b)}`:i=r.slice(u+1,b),a=b-u-1;u=b,d=0}else h==="."&&d!==-1?++d:d=-1}return i}var Yre=function(r){return R3r.test(r)};var M3r=/.(\.[^./]+)$/,JJt=function(r){let e=M3r.exec(p2t(r));return e&&e[1]||""},qJt=function(r,e){let i=VJt(r).split("/"),a=VJt(e).split("/"),u=[...i];for(let d of u){if(a[0]!==d)break;i.shift(),a.shift()}return[...i.map(()=>".."),...a].join("/")},KJt=function(r){let e=p2t(r).replace(/\/$/,"").split("/").slice(0,-1);return e.length===1&&Z8n.test(e[0])&&(e[0]+="/"),e.join("/")||(Yre(r)?"/":".")};var M$e=b_(require("process"),1),G2t=b_(require("process"),1),b5n=b_(require("os"),1),Iqt=b_(require("tty"),1);var k5n=b_(v$e(),1),Rqt=require("path"),I5n=b_(nFn(),1);var h4r=b_(bqt(),1);var B4r=b_(bqt(),1);var qLr=Object.create,h5n=Object.defineProperty,KLr=Object.getOwnPropertyDescriptor,Lqt=Object.getOwnPropertyNames,XLr=Object.getPrototypeOf,YLr=Object.prototype.hasOwnProperty,QLr=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,i)=>(typeof require<"u"?require:e)[i]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')}),$Lr=(r,e)=>function(){return r&&(e=(0,r[Lqt(r)[0]])(r=0)),e},$Q=(r,e)=>function(){return e||(0,r[Lqt(r)[0]])((e={exports:{}}).exports,e),e.exports},ZLr=(r,e,i,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of Lqt(e))!YLr.call(r,u)&&u!==i&&h5n(r,u,{get:()=>e[u],enumerable:!(a=KLr(e,u))||a.enumerable});return r},G$e=(r,e,i)=>(i=r!=null?qLr(XLr(r)):{},ZLr(e||!r||!r.__esModule?h5n(i,"default",{value:r,enumerable:!0}):i,r)),_v=$Lr({"../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.2.2/node_modules/tsup/assets/esm_shims.js"(){"use strict"}}),eMr=$Q({"../../node_modules/.pnpm/eastasianwidth@0.2.0/node_modules/eastasianwidth/eastasianwidth.js"(r,e){"use strict";_v();var i={};typeof e>"u"?window.eastasianwidth=i:e.exports=i,i.eastAsianWidth=function(u){var d=u.charCodeAt(0),h=u.length==2?u.charCodeAt(1):0,b=d;return 55296<=d&&d<=56319&&56320<=h&&h<=57343&&(d&=1023,h&=1023,b=d<<10|h,b+=65536),b==12288||65281<=b&&b<=65376||65504<=b&&b<=65510?"F":b==8361||65377<=b&&b<=65470||65474<=b&&b<=65479||65482<=b&&b<=65487||65490<=b&&b<=65495||65498<=b&&b<=65500||65512<=b&&b<=65518?"H":4352<=b&&b<=4447||4515<=b&&b<=4519||4602<=b&&b<=4607||9001<=b&&b<=9002||11904<=b&&b<=11929||11931<=b&&b<=12019||12032<=b&&b<=12245||12272<=b&&b<=12283||12289<=b&&b<=12350||12353<=b&&b<=12438||12441<=b&&b<=12543||12549<=b&&b<=12589||12593<=b&&b<=12686||12688<=b&&b<=12730||12736<=b&&b<=12771||12784<=b&&b<=12830||12832<=b&&b<=12871||12880<=b&&b<=13054||13056<=b&&b<=19903||19968<=b&&b<=42124||42128<=b&&b<=42182||43360<=b&&b<=43388||44032<=b&&b<=55203||55216<=b&&b<=55238||55243<=b&&b<=55291||63744<=b&&b<=64255||65040<=b&&b<=65049||65072<=b&&b<=65106||65108<=b&&b<=65126||65128<=b&&b<=65131||110592<=b&&b<=110593||127488<=b&&b<=127490||127504<=b&&b<=127546||127552<=b&&b<=127560||127568<=b&&b<=127569||131072<=b&&b<=194367||177984<=b&&b<=196605||196608<=b&&b<=262141?"W":32<=b&&b<=126||162<=b&&b<=163||165<=b&&b<=166||b==172||b==175||10214<=b&&b<=10221||10629<=b&&b<=10630?"Na":b==161||b==164||167<=b&&b<=168||b==170||173<=b&&b<=174||176<=b&&b<=180||182<=b&&b<=186||188<=b&&b<=191||b==198||b==208||215<=b&&b<=216||222<=b&&b<=225||b==230||232<=b&&b<=234||236<=b&&b<=237||b==240||242<=b&&b<=243||247<=b&&b<=250||b==252||b==254||b==257||b==273||b==275||b==283||294<=b&&b<=295||b==299||305<=b&&b<=307||b==312||319<=b&&b<=322||b==324||328<=b&&b<=331||b==333||338<=b&&b<=339||358<=b&&b<=359||b==363||b==462||b==464||b==466||b==468||b==470||b==472||b==474||b==476||b==593||b==609||b==708||b==711||713<=b&&b<=715||b==717||b==720||728<=b&&b<=731||b==733||b==735||768<=b&&b<=879||913<=b&&b<=929||931<=b&&b<=937||945<=b&&b<=961||963<=b&&b<=969||b==1025||1040<=b&&b<=1103||b==1105||b==8208||8211<=b&&b<=8214||8216<=b&&b<=8217||8220<=b&&b<=8221||8224<=b&&b<=8226||8228<=b&&b<=8231||b==8240||8242<=b&&b<=8243||b==8245||b==8251||b==8254||b==8308||b==8319||8321<=b&&b<=8324||b==8364||b==8451||b==8453||b==8457||b==8467||b==8470||8481<=b&&b<=8482||b==8486||b==8491||8531<=b&&b<=8532||8539<=b&&b<=8542||8544<=b&&b<=8555||8560<=b&&b<=8569||b==8585||8592<=b&&b<=8601||8632<=b&&b<=8633||b==8658||b==8660||b==8679||b==8704||8706<=b&&b<=8707||8711<=b&&b<=8712||b==8715||b==8719||b==8721||b==8725||b==8730||8733<=b&&b<=8736||b==8739||b==8741||8743<=b&&b<=8748||b==8750||8756<=b&&b<=8759||8764<=b&&b<=8765||b==8776||b==8780||b==8786||8800<=b&&b<=8801||8804<=b&&b<=8807||8810<=b&&b<=8811||8814<=b&&b<=8815||8834<=b&&b<=8835||8838<=b&&b<=8839||b==8853||b==8857||b==8869||b==8895||b==8978||9312<=b&&b<=9449||9451<=b&&b<=9547||9552<=b&&b<=9587||9600<=b&&b<=9615||9618<=b&&b<=9621||9632<=b&&b<=9633||9635<=b&&b<=9641||9650<=b&&b<=9651||9654<=b&&b<=9655||9660<=b&&b<=9661||9664<=b&&b<=9665||9670<=b&&b<=9672||b==9675||9678<=b&&b<=9681||9698<=b&&b<=9701||b==9711||9733<=b&&b<=9734||b==9737||9742<=b&&b<=9743||9748<=b&&b<=9749||b==9756||b==9758||b==9792||b==9794||9824<=b&&b<=9825||9827<=b&&b<=9829||9831<=b&&b<=9834||9836<=b&&b<=9837||b==9839||9886<=b&&b<=9887||9918<=b&&b<=9919||9924<=b&&b<=9933||9935<=b&&b<=9953||b==9955||9960<=b&&b<=9983||b==10045||b==10071||10102<=b&&b<=10111||11093<=b&&b<=11097||12872<=b&&b<=12879||57344<=b&&b<=63743||65024<=b&&b<=65039||b==65533||127232<=b&&b<=127242||127248<=b&&b<=127277||127280<=b&&b<=127337||127344<=b&&b<=127386||917760<=b&&b<=917999||983040<=b&&b<=1048573||1048576<=b&&b<=1114109?"A":"N"},i.characterLength=function(u){var d=this.eastAsianWidth(u);return d=="F"||d=="W"||d=="A"?2:1};function a(u){return u.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}i.length=function(u){for(var d=a(u),h=0,b=0;b<d.length;b++)h=h+this.characterLength(d[b]);return h},i.slice=function(u,d,h){textLen=i.length(u),d=d||0,h=h||1,d<0&&(d=textLen+d),h<0&&(h=textLen+h);for(var b="",x=0,w=a(u),L=0;L<w.length;L++){var q=w[L],te=i.length(q);if(x>=d-(te==2?1:0))if(x+te<=h)b+=q;else break;x+=te}return b}}}),tMr=$Q({"../../node_modules/.pnpm/emoji-regex@9.2.2/node_modules/emoji-regex/index.js"(r,e){"use strict";_v(),e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),nMr=$Q({"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json"(r,e){e.exports={single:{topLeft:"\u250C",top:"\u2500",topRight:"\u2510",right:"\u2502",bottomRight:"\u2518",bottom:"\u2500",bottomLeft:"\u2514",left:"\u2502"},double:{topLeft:"\u2554",top:"\u2550",topRight:"\u2557",right:"\u2551",bottomRight:"\u255D",bottom:"\u2550",bottomLeft:"\u255A",left:"\u2551"},round:{topLeft:"\u256D",top:"\u2500",topRight:"\u256E",right:"\u2502",bottomRight:"\u256F",bottom:"\u2500",bottomLeft:"\u2570",left:"\u2502"},bold:{topLeft:"\u250F",top:"\u2501",topRight:"\u2513",right:"\u2503",bottomRight:"\u251B",bottom:"\u2501",bottomLeft:"\u2517",left:"\u2503"},singleDouble:{topLeft:"\u2553",top:"\u2500",topRight:"\u2556",right:"\u2551",bottomRight:"\u255C",bottom:"\u2500",bottomLeft:"\u2559",left:"\u2551"},doubleSingle:{topLeft:"\u2552",top:"\u2550",topRight:"\u2555",right:"\u2502",bottomRight:"\u255B",bottom:"\u2550",bottomLeft:"\u2558",left:"\u2502"},classic:{topLeft:"+",top:"-",topRight:"+",right:"|",bottomRight:"+",bottom:"-",bottomLeft:"+",left:"|"},arrow:{topLeft:"\u2198",top:"\u2193",topRight:"\u2199",right:"\u2190",bottomRight:"\u2196",bottom:"\u2191",bottomLeft:"\u2197",left:"\u2192"}}}}),B5n=$Q({"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js"(r,e){"use strict";_v();var i=nMr();e.exports=i,e.exports.default=i}}),rMr=$Q({"../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(r,e){"use strict";_v(),e.exports=({onlyFirst:i=!1}={})=>{let a=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(a,i?void 0:"g")}}}),iMr=$Q({"../../node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js"(r,e){"use strict";_v();var i=rMr();e.exports=a=>typeof a=="string"?a.replace(i(),""):a}}),oMr=$Q({"../../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js"(r,e){"use strict";_v();var i=a=>Number.isNaN(a)?!1:a>=4352&&(a<=4447||a===9001||a===9002||11904<=a&&a<=12871&&a!==12351||12880<=a&&a<=19903||19968<=a&&a<=42182||43360<=a&&a<=43388||44032<=a&&a<=55203||63744<=a&&a<=64255||65040<=a&&a<=65049||65072<=a&&a<=65131||65281<=a&&a<=65376||65504<=a&&a<=65510||110592<=a&&a<=110593||127488<=a&&a<=127569||131072<=a&&a<=262141);e.exports=i,e.exports.default=i}}),sMr=$Q({"../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(r,e){"use strict";_v(),e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),aMr=$Q({"../../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js"(r,e){"use strict";_v();var i=iMr(),a=oMr(),u=sMr(),d=h=>{if(typeof h!="string"||h.length===0||(h=i(h),h.length===0))return 0;h=h.replace(u()," ");let b=0;for(let x=0;x<h.length;x++){let w=h.codePointAt(x);w<=31||w>=127&&w<=159||w>=768&&w<=879||(w>65535&&x++,b+=a(w)?2:1)}return b};e.exports=d,e.exports.default=d}}),lMr=$Q({"../../node_modules/.pnpm/ansi-align@3.0.1/node_modules/ansi-align/index.js"(r,e){"use strict";_v();var i=aMr();function a(h,b){if(!h)return h;b=b||{};let x=b.align||"center";if(x==="left")return h;let w=b.split||`
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pandacss/language-server",
3
3
  "displayName": "Panda CSS",
4
4
  "description": "🐼 The official Panda language server",
5
- "version": "0.0.0-dev-20230927131248",
5
+ "version": "0.0.0-dev-20230927144111",
6
6
  "main": "dist/index.js",
7
7
  "repository": {
8
8
  "url": "https://github.com/chakra-ui/panda",
@@ -32,14 +32,14 @@
32
32
  "vscode-languageserver": "^8.1.0",
33
33
  "vscode-languageserver-textdocument": "^1.0.8",
34
34
  "vscode-uri": "^3.0.7",
35
- "@pandacss/core": "0.0.0-dev-20230927131248",
36
- "@pandacss/extension-shared": "0.0.0-dev-20230927131248",
37
- "@pandacss/extractor": "0.0.0-dev-20230927131248",
38
- "@pandacss/node": "0.0.0-dev-20230927131248",
39
- "@pandacss/parser": "0.0.0-dev-20230927131248",
40
- "@pandacss/shared": "0.0.0-dev-20230927131248",
41
- "@pandacss/token-dictionary": "0.0.0-dev-20230927131248",
42
- "@pandacss/types": "0.0.0-dev-20230927131248"
35
+ "@pandacss/core": "0.0.0-dev-20230927144111",
36
+ "@pandacss/extension-shared": "0.0.0-dev-20230927144111",
37
+ "@pandacss/extractor": "0.0.0-dev-20230927144111",
38
+ "@pandacss/node": "0.0.0-dev-20230927144111",
39
+ "@pandacss/parser": "0.0.0-dev-20230927144111",
40
+ "@pandacss/shared": "0.0.0-dev-20230927144111",
41
+ "@pandacss/token-dictionary": "0.0.0-dev-20230927144111",
42
+ "@pandacss/types": "0.0.0-dev-20230927144111"
43
43
  },
44
44
  "dependencies": {
45
45
  "fast-glob": "^3.3.1"